gtk/gsk/vulkan
Benjamin Otte 2b0ad09423 vulkan: Make projection matrix match GL
Vulkan has a different initial coordinate system to GL.

GL:
(-1, 1, -1) +------+.
            |`.    | `.
            |  `·--|---·
            |   :  |   :
            +------+.  :
             `. :    `.:
               `·------· (1, -1, 1)

Vulkan:
(-1, -1, 0) +------+.
            |`.    | `.
            |  `·--|---·
            |   :  |   :
            +------+.  :
             `. :    `.:
               `·------· (1, 1, 1)

so adjust the near and far plane we pass to
graphene_matrix_init_ortho() to make it end up with the same
projection as the GL renderer.
2023-05-16 18:53:27 +02:00
..
resources build: Make shaders depend on their includes 2023-05-16 18:53:27 +02:00
gskvulkanblendmodepipeline.c
gskvulkanblendmodepipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanblurpipeline.c
gskvulkanblurpipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanborderpipeline.c
gskvulkanborderpipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanboxshadowpipeline.c
gskvulkanboxshadowpipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanbuffer.c gsk/vulkan/buffer: Pass aligned memory value 2023-04-03 10:59:45 -03:00
gskvulkanbufferprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanclip.c vulkan: Fix typo in clipping code 2023-05-16 18:53:27 +02:00
gskvulkanclipprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkancolorpipeline.c
gskvulkancolorpipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkancolortextpipeline.c gsk/vulkan: Use default blend factors 2023-04-08 20:13:13 -03:00
gskvulkancolortextpipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkancommandpool.c gsk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gskvulkancommandpoolprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkancrossfadepipeline.c
gskvulkancrossfadepipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkaneffectpipeline.c
gskvulkaneffectpipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanglyphcache.c gsk/vulkan/glyphcache: Rework glyphs 2023-04-08 20:13:13 -03:00
gskvulkanglyphcacheprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanimage.c gsk/vulkanimage: Set buffer row length and height 2023-04-03 10:59:45 -03:00
gskvulkanimageprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanlineargradientpipeline.c
gskvulkanlineargradientpipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanmemory.c gsk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gskvulkanmemoryprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanpipeline.c gsk/vulkan/pipeline: Simplify pipeline creation 2023-04-08 20:13:13 -03:00
gskvulkanpipelineprivate.h gsk/vulkan/pipeline: Simplify pipeline creation 2023-04-08 20:13:13 -03:00
gskvulkanpushconstants.c vulkan: Handle simple transforms in the clipping code 2021-03-05 19:36:36 -05:00
gskvulkanpushconstantsprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanrender.c gsk/vulkan/render: Download image before reset 2023-04-14 16:43:04 -03:00
gskvulkanrenderer.c vulkan: Support fractional scaling 2023-04-03 11:10:27 -03:00
gskvulkanrenderer.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanrendererprivate.h gsk/vulkan/glyphcache: Rework glyphs 2023-04-08 20:13:13 -03:00
gskvulkanrenderpass.c vulkan: Make projection matrix match GL 2023-05-16 18:53:27 +02:00
gskvulkanrenderpassprivate.h Merge branch 'gbsneto/mildly-mid-vulkan-fixes' into 'main' 2023-04-01 18:23:12 +00:00
gskvulkanrenderprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkanshader.c gsk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gskvulkanshaderprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkantextpipeline.c gsk/vulkan: Use default blend factors 2023-04-08 20:13:13 -03:00
gskvulkantextpipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskvulkantexturepipeline.c
gskvulkantexturepipelineprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00