gtk/gsk/vulkan
Benjamin Otte 1bd820fc60 vulkan: Clean up renderpass/offscreen creation
Instead of scale and whatnot, pass:
1. The image size
2. The viewport to map to that image size
and compute everything else from there.

In particular, we set the Vulkan viewport to the image dimensions
instead of the viewport size.

All of this makes things a lot simpler while keeping the required
functionality.
2023-07-22 23:30:15 +02:00
..
resources vulkan: Add premultiply step to texture upload 2023-07-19 21:30:35 +02:00
gskvulkanblendmodeop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkanblendmodeopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanblurop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkanbluropprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanborderop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkanborderopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanbuffer.c vulkan: Put the vertex buffer into the render object 2023-07-16 12:13:00 +02:00
gskvulkanbufferprivate.h vulkan: Put the vertex buffer into the render object 2023-07-16 12:13:00 +02:00
gskvulkanclearop.c vulkan: Introduce GskVulkanShaderOp 2023-07-16 13:16:43 +02:00
gskvulkanclearopprivate.h vulkan: Add a clear op 2023-07-16 13:16:15 +02:00
gskvulkanclip.c gsk: Add gskrectprivate.h 2023-07-22 01:33:44 +02:00
gskvulkanclipprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkancolormatrixop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkancolormatrixopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkancolorop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkancoloropprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkancommandpool.c vulkan: Add gskvulkanprivate.h 2023-07-16 12:13:00 +02:00
gskvulkancommandpoolprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanconvertop.c vulkan: Add premultiply step to texture upload 2023-07-19 21:30:35 +02:00
gskvulkanconvertopprivate.h vulkan: Add premultiply step to texture upload 2023-07-19 21:30:35 +02:00
gskvulkancrossfadeop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkancrossfadeopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkandownloadop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkandownloadopprivate.h vulkan: Add GskVulkanDownloadOp 2023-07-16 13:16:43 +02:00
gskvulkanglyphcache.c vulkan: Add an UploadGlyphOp 2023-07-16 13:16:43 +02:00
gskvulkanglyphcacheprivate.h vulkan: Add an UploadGlyphOp 2023-07-16 13:16:43 +02:00
gskvulkanglyphop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkanglyphopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanimage.c gdk: Add A16_FLOAT and A32_FLOAT formats 2023-07-22 01:33:44 +02:00
gskvulkanimageprivate.h vulkan: Remove unused struct 2023-07-22 01:33:44 +02:00
gskvulkaninsetshadowop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkaninsetshadowopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanlineargradientop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkanlineargradientopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanmaskop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkanmaskopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanmemory.c vulkan: Add gskvulkanprivate.h 2023-07-16 12:13:00 +02:00
gskvulkanmemoryprivate.h vulkan: Add gsk_vulkan_memory_can_map() 2023-06-14 03:34:07 +02:00
gskvulkanop.c vulkan: Introduce GskVulkanShaderOp 2023-07-16 13:16:43 +02:00
gskvulkanopprivate.h vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkanoutsetshadowop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkanoutsetshadowopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanprivate.h vulkan: Move the render ops to the Render 2023-07-16 12:13:00 +02:00
gskvulkanpushconstantsop.c vulkan: Introduce GskVulkanShaderOp 2023-07-16 13:16:43 +02:00
gskvulkanpushconstantsopprivate.h vulkan: Move the render ops to the Render 2023-07-16 12:13:00 +02:00
gskvulkanrender.c vulkan: Clean up renderpass/offscreen creation 2023-07-22 23:30:15 +02:00
gskvulkanrenderer.c vulkan: Clean up renderpass/offscreen creation 2023-07-22 23:30:15 +02:00
gskvulkanrenderer.h vulkan: Renaming fix 2023-06-19 14:13:03 +02:00
gskvulkanrendererprivate.h vulkan: Add an UploadGlyphOp 2023-07-16 13:16:43 +02:00
gskvulkanrenderpass.c vulkan: Clean up renderpass/offscreen creation 2023-07-22 23:30:15 +02:00
gskvulkanrenderpassop.c vulkan: Clean up renderpass/offscreen creation 2023-07-22 23:30:15 +02:00
gskvulkanrenderpassopprivate.h vulkan: Clean up renderpass/offscreen creation 2023-07-22 23:30:15 +02:00
gskvulkanrenderpassprivate.h vulkan: Clean up renderpass/offscreen creation 2023-07-22 23:30:15 +02:00
gskvulkanrenderprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanscissorop.c vulkan: Introduce GskVulkanShaderOp 2023-07-16 13:16:43 +02:00
gskvulkanscissoropprivate.h vulkan: Move the render ops to the Render 2023-07-16 12:13:00 +02:00
gskvulkanshaderop.c vulkan: Handle images in the ShaderOp 2023-07-16 13:16:43 +02:00
gskvulkanshaderopprivate.h vulkan: Handle images in the ShaderOp 2023-07-16 13:16:43 +02:00
gskvulkantextureop.c vulkan: Redo barriers 2023-07-16 13:16:43 +02:00
gskvulkantextureopprivate.h vulkan: Make clip type an enum 2023-07-16 13:16:43 +02:00
gskvulkanuploadop.c vulkan: Add premultiply step to texture upload 2023-07-19 21:30:35 +02:00
gskvulkanuploadopprivate.h vulkan: Stop keeping the context around 2023-07-19 21:30:35 +02:00