gtk/gsk/gpu
Benjamin Otte 2a5fe8cd0c gpu: Only run uber shaders if beneficial
If we have the choice between running the ubershader or a normal shader
with offscreens, make the choice depend on if the ubershader would
offscreen anyway.
If so, just run the normal shader.

This really gets rid of all ubershader invocations in Adwaita
widget-factory.
2024-01-07 07:22:52 +01:00
..
shaders gpu: Add a color matrix shader 2024-01-07 07:22:52 +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: Prepare GL rendering for samplerExternalEOS 2024-01-07 07:22:51 +01:00
gskgldescriptorsprivate.h gpu: Prepare GL rendering for samplerExternalEOS 2024-01-07 07:22:51 +01:00
gskgldevice.c gpu: Prepare GL rendering for samplerExternalEOS 2024-01-07 07:22:51 +01:00
gskgldeviceprivate.h gpu: Prepare GL rendering for samplerExternalEOS 2024-01-07 07:22:51 +01:00
gskglframe.c gpu: Add a CommandState struct to the command vfuncs 2024-01-07 07:22:51 +01:00
gskglframeprivate.h gpu: Prepare GL rendering for samplerExternalEOS 2024-01-07 07:22:51 +01:00
gskglimage.c gpu: Prepare GL rendering for samplerExternalEOS 2024-01-07 07:22:51 +01:00
gskglimageprivate.h gpu: Add importing of GL textures to the GL renderer 2024-01-07 07:22:51 +01:00
gskgpublitop.c gpu: Add a CommandState struct to the command vfuncs 2024-01-07 07:22:51 +01:00
gskgpublitopprivate.h
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: Add a CommandState struct to the command vfuncs 2024-01-07 07:22:51 +01:00
gskgpuborderopprivate.h gpu: Make border shader usable for inset/outset 2024-01-07 07:22:50 +01:00
gskgpuboxshadowop.c gpu: Add a box shadow shader 2024-01-07 07:22:51 +01:00
gskgpuboxshadowopprivate.h gpu: Add a box shadow shader 2024-01-07 07:22:51 +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: Add a CommandState struct to the command vfuncs 2024-01-07 07:22:51 +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
gskgpucolormatrixop.c gpu: Add a color matrix shader 2024-01-07 07:22:52 +01:00
gskgpucolormatrixopprivate.h gpu: Add a color matrix shader 2024-01-07 07:22:52 +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: Rework caching layer 2024-01-07 07:22:52 +01:00
gskgpudeviceprivate.h gpu: Make descriptor-indexing optional 2024-01-07 07:22:51 +01:00
gskgpudownloadop.c gpu: Add a CommandState struct to the command vfuncs 2024-01-07 07:22:51 +01:00
gskgpudownloadopprivate.h
gskgpuframe.c gpu: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskgpuframeprivate.h gpu: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskgpuglobalsop.c gpu: Add back single descriptors set usage with descriptor indexing 2024-01-07 07:22:51 +01:00
gskgpuglobalsopprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpuimage.c gpu: Add dmabuf import for Vulkan 2024-01-07 07:22:51 +01:00
gskgpuimageprivate.h gpu: Add dmabuf import for Vulkan 2024-01-07 07:22:51 +01:00
gskgpumipmapop.c gpu: Cache GL state 2024-01-07 07:22:51 +01:00
gskgpumipmapopprivate.h gpu: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskgpunodeprocessor.c gpu: Only run uber shaders if beneficial 2024-01-07 07:22:52 +01:00
gskgpunodeprocessorprivate.h
gskgpuop.c gpu: Add a CommandState struct to the command vfuncs 2024-01-07 07:22:51 +01:00
gskgpuopprivate.h gpu: Handle multiple image descriptors 2024-01-07 07:22:51 +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 support for subsurfaces 2024-01-07 07:22:52 +01:00
gskgpurenderer.h
gskgpurendererprivate.h gpu: Add a GL optimization 2024-01-07 07:22:50 +01:00
gskgpurenderpassop.c gpu: Add back single descriptors set usage with descriptor indexing 2024-01-07 07:22:51 +01:00
gskgpurenderpassopprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpuroundedcolorop.c gpu: Add a rounded color shader 2024-01-07 07:22:50 +01:00
gskgpuroundedcoloropprivate.h gpu: Add a rounded color shader 2024-01-07 07:22:50 +01:00
gskgpuscissorop.c gpu: Add a CommandState struct to the command vfuncs 2024-01-07 07:22:51 +01:00
gskgpuscissoropprivate.h gpu: Add scissor operation 2024-01-07 07:22:49 +01:00
gskgpushaderop.c gpu: Add back single descriptors set usage with descriptor indexing 2024-01-07 07:22:51 +01:00
gskgpushaderopprivate.h gpu: Add a CommandState struct to the command vfuncs 2024-01-07 07:22:51 +01:00
gskgpustraightalphaop.c gpu: Add straight alpha support 2024-01-07 07:22:51 +01:00
gskgpustraightalphaopprivate.h gpu: Add straight alpha support 2024-01-07 07:22:51 +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: Make the uber shader handle affine transforms 2024-01-07 07:22:52 +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 a CommandState struct to the command vfuncs 2024-01-07 07:22:51 +01:00
gskgpuuploadopprivate.h gpu: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gsknglrenderer.c gpu: Add a GL optimization 2024-01-07 07:22:50 +01:00
gsknglrendererprivate.h
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: Add back single descriptors set usage with descriptor indexing 2024-01-07 07:22:51 +01:00
gskvulkandescriptorsprivate.h gpu: Add back single descriptors set usage with descriptor indexing 2024-01-07 07:22:51 +01:00
gskvulkandevice.c gpu: Be stricter about texture units 2024-01-07 07:22:52 +01:00
gskvulkandeviceprivate.h gpu: Make descriptor-indexing optional 2024-01-07 07:22:51 +01:00
gskvulkanframe.c gpu: Add back single descriptors set usage with descriptor indexing 2024-01-07 07:22:51 +01:00
gskvulkanframeprivate.h gpu: Handle multiple image descriptors 2024-01-07 07:22:51 +01:00
gskvulkanimage.c gpu: Improve memory handling on Vulkan 2024-01-07 07:22:52 +01:00
gskvulkanimageprivate.h gpu: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskvulkanmemory.c gpu: Improve memory handling on Vulkan 2024-01-07 07:22:52 +01:00
gskvulkanmemoryprivate.h gpu: Improve memory handling on Vulkan 2024-01-07 07:22:52 +01:00
gskvulkanrealdescriptors.c gpu: Be stricter about texture units 2024-01-07 07:22:52 +01:00
gskvulkanrealdescriptorsprivate.h gpu: Add back single descriptors set usage with descriptor indexing 2024-01-07 07:22:51 +01:00
gskvulkanrenderer.c gpu: Add a GL optimization 2024-01-07 07:22:50 +01:00
gskvulkansubdescriptors.c gpu: Add back single descriptors set usage with descriptor indexing 2024-01-07 07:22:51 +01:00
gskvulkansubdescriptorsprivate.h gpu: Add back single descriptors set usage with descriptor indexing 2024-01-07 07:22:51 +01:00