gtk/gsk/gpu
Benjamin Otte c29237c75d gpu: Add support for texture-scale nodes
This adds GSK_GPU_IMAGE_CAN_MIPMAP and GSK_GPU_IMAGE_MIPMAP flags and
support to ensure_image() and image creation functions for creating a
mipmapped image.

Mipmaps are created using the new mipmap op that uses
glGenerateMipmap() on GL and equivalent blit ops on Vulkan.

This is then used to ensure the image is mipmapped when rendering it
with a texture-scale node.
2024-01-07 07:22:51 +01:00
..
shaders gpu: Add straight alpha support 2024-01-07 07:22:51 +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 support for texture-scale nodes 2024-01-07 07:22:51 +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 support for texture-scale nodes 2024-01-07 07:22:51 +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 blitting support 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: 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
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: 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 support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskgpudeviceprivate.h gpu: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskgpudownloadop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +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 GskVulkanPipelineLayout 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: Add support for texture-scale nodes 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: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskgpunodeprocessorprivate.h
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 support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskgpurenderer.h
gskgpurendererprivate.h gpu: Add a GL optimization 2024-01-07 07:22:50 +01:00
gskgpurenderpassop.c gpu: Add support for texture-scale nodes 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 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: Add GskVulkanPipelineLayout 2024-01-07 07:22:51 +01:00
gskgpushaderopprivate.h gpu: Refactor image handling 2024-01-07 07:22:50 +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: Add support for texture-scale nodes 2024-01-07 07:22:51 +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 support for texture-scale nodes 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: 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 support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskvulkandeviceprivate.h gpu: Add dmabuf import for Vulkan 2024-01-07 07:22:51 +01:00
gskvulkanframe.c gpu: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskvulkanframeprivate.h gpu: Add GskVulkanPipelineLayout 2024-01-07 07:22:51 +01:00
gskvulkanimage.c gpu: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskvulkanimageprivate.h gpu: Add support for texture-scale nodes 2024-01-07 07:22:51 +01:00
gskvulkanmemory.c gpu: Add an "external" allocator to Vulkan 2024-01-07 07:22:51 +01:00
gskvulkanmemoryprivate.h gpu: Add an "external" allocator to Vulkan 2024-01-07 07:22:51 +01:00
gskvulkanrenderer.c gpu: Add a GL optimization 2024-01-07 07:22:50 +01:00