summaryrefslogtreecommitdiff
path: root/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2023-05-10 16:40:22 +0200
committerBenjamin Otte <otte@redhat.com>2023-05-17 02:25:32 +0200
commit3ba4d5f124ed49b3179434f70ab47bafdf28223a (patch)
treec175fd919cac74c3c1f0493d122bb0b798270130 /gsk/vulkan/gskvulkanboxshadowpipelineprivate.h
parentb14c0678e5f4010a923cecf3c6958b1a674a0de2 (diff)
downloadgtk+-3ba4d5f124ed49b3179434f70ab47bafdf28223a.tar.gz
vulkan: Track offset in the renderpass
This avoids emitting lots of push constant updates as most of the transforms we have are simple translations to adjust drawing for the next widget.
Diffstat (limited to 'gsk/vulkan/gskvulkanboxshadowpipelineprivate.h')
-rw-r--r--gsk/vulkan/gskvulkanboxshadowpipelineprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h b/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h
index c8a55c1204..7db8d1f9eb 100644
--- a/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h
+++ b/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h
@@ -21,6 +21,7 @@ GskVulkanPipeline * gsk_vulkan_box_shadow_pipeline_new (GdkVulk
gsize gsk_vulkan_box_shadow_pipeline_count_vertex_data (GskVulkanBoxShadowPipeline *pipeline);
void gsk_vulkan_box_shadow_pipeline_collect_vertex_data (GskVulkanBoxShadowPipeline *pipeline,
guchar *data,
+ const graphene_point_t *offset,
const GskRoundedRect *outline,
const GdkRGBA *color,
float dx,