2023-03-31 19:11:10 +00:00
|
|
|
#pragma once
|
2016-12-14 06:21:21 +00:00
|
|
|
|
|
|
|
#include <gdk/gdk.h>
|
|
|
|
#include <graphene.h>
|
2018-01-06 14:36:55 +00:00
|
|
|
#include "gskvulkanclipprivate.h"
|
2016-12-14 06:21:21 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
const VkPushConstantRange *
|
2017-09-23 17:15:30 +00:00
|
|
|
gsk_vulkan_push_constants_get_ranges (void) G_GNUC_PURE;
|
|
|
|
uint32_t gsk_vulkan_push_constants_get_range_count (void) G_GNUC_PURE;
|
2016-12-14 06:21:21 +00:00
|
|
|
|
2023-05-11 19:36:44 +00:00
|
|
|
void gsk_vulkan_push_constants_push (VkCommandBuffer command_buffer,
|
|
|
|
VkPipelineLayout pipeline_layout,
|
2023-05-12 01:59:44 +00:00
|
|
|
const graphene_vec2_t *scale,
|
2023-05-11 19:36:44 +00:00
|
|
|
const graphene_matrix_t *mvp,
|
|
|
|
const GskRoundedRect *clip);
|
2016-12-14 06:21:21 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|