gtk/gsk/gpu
Benjamin Otte 74ac95dc32 gpu: Don't try to be smart
Don't try to use all those fancy GL features like glMapBuffer() and
such. Just malloc() some buffer memory and glBufferSubData() it later.

That works everywhere and is faster than (almost?) any combination of
fancy new buffer APIs. And yes I'm frustrated because I played with
those flags and none of them were better than this.

Doubles the framerate on my discrete AMD GPU.
2024-01-07 07:22:50 +01:00
..
shaders gpu: Make border shader usable for inset/outset 2024-01-07 07:22:50 +01:00
gskglbuffer.c gpu: Don't try to be smart 2024-01-07 07:22:50 +01:00
gskglbufferprivate.h gpu: Add float array to shaders and add an ubershader 2024-01-07 07:22:50 +01:00
gskgldescriptors.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgldescriptorsprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgldevice.c gpu: Add atlas support 2024-01-07 07:22:50 +01:00
gskgldeviceprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskglframe.c gpu: Use GL_STREAM_DRAW for the push constants buffer 2024-01-07 07:22:50 +01:00
gskglframeprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskglimage.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskglimageprivate.h gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpublitop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpublitopprivate.h gpu: Add outline of new GPU renderer 2024-01-07 07:22:49 +01:00
gskgpublurop.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpubluropprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpuborderop.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpuborderopprivate.h gpu: Make border shader usable for inset/outset 2024-01-07 07:22:50 +01:00
gskgpubuffer.c gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpubufferprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpubufferwriter.c gpu: Handle nested buffer writes 2024-01-07 07:22:50 +01:00
gskgpubufferwriterprivate.h gpu: Handle nested buffer writes 2024-01-07 07:22:50 +01:00
gskgpuclearop.c gpu: Copy the clear trick from the Vulkan shader 2024-01-07 07:22:50 +01:00
gskgpuclearopprivate.h gpu: Copy the clear trick from the Vulkan shader 2024-01-07 07:22:50 +01:00
gskgpuclip.c gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpuclipprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpucolorizeop.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpucolorizeopprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpucolorop.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpucoloropprivate.h gpu: Add a color shader 2024-01-07 07:22:50 +01:00
gskgpudescriptors.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpudescriptorsprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpudevice.c gpu: Add atlas support 2024-01-07 07:22:50 +01:00
gskgpudeviceprivate.h gpu: Add atlas support 2024-01-07 07:22:50 +01:00
gskgpudownloadop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpudownloadopprivate.h gpu: Add outline of new GPU renderer 2024-01-07 07:22:49 +01:00
gskgpuframe.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpuframeprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpuglobalsop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpuglobalsopprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpuimage.c gpu: Add gsk_gpu_image_get_projection_matrix() 2024-01-07 07:22:49 +01:00
gskgpuimageprivate.h gpu: Add gsk_gpu_image_get_projection_matrix() 2024-01-07 07:22:49 +01:00
gskgpunodeprocessor.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpunodeprocessorprivate.h gpu: Add outline of new GPU renderer 2024-01-07 07:22:49 +01:00
gskgpuop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpuopprivate.h gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpuprint.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpuprintprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpurenderer.c gpu: Add a GL optimization 2024-01-07 07:22:50 +01:00
gskgpurenderer.h gpu: Add outline of new GPU renderer 2024-01-07 07:22:49 +01:00
gskgpurendererprivate.h gpu: Add a GL optimization 2024-01-07 07:22:50 +01:00
gskgpurenderpassop.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpurenderpassopprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpuscissorop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpuscissoropprivate.h gpu: Add scissor operation 2024-01-07 07:22:49 +01:00
gskgpushaderop.c gpu: Merge ops on GL, too 2024-01-07 07:22:50 +01:00
gskgpushaderopprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgputextureop.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgputextureopprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgputypesprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpuuberop.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpuuberopprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskgpuuploadop.c gpu: Add atlas support 2024-01-07 07:22:50 +01:00
gskgpuuploadopprivate.h gpu: Add glyphs support 2024-01-07 07:22:50 +01:00
gsknglrenderer.c gpu: Add a GL optimization 2024-01-07 07:22:50 +01:00
gsknglrendererprivate.h gpu: Add outline of new GPU renderer 2024-01-07 07:22:49 +01:00
gskvulkanbuffer.c gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskvulkanbufferprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskvulkandescriptors.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskvulkandescriptorsprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskvulkandevice.c gpu: Add atlas support 2024-01-07 07:22:50 +01:00
gskvulkandeviceprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskvulkanframe.c gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskvulkanframeprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +01:00
gskvulkanimage.c gpu: Add gsk_gpu_image_get_projection_matrix() 2024-01-07 07:22:49 +01:00
gskvulkanimageprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskvulkanmemory.c gpu: Add outline of new GPU renderer 2024-01-07 07:22:49 +01:00
gskvulkanmemoryprivate.h gpu: Add outline of new GPU renderer 2024-01-07 07:22:49 +01:00
gskvulkanrenderer.c gpu: Add a GL optimization 2024-01-07 07:22:50 +01:00