mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
57222cc64c
This way, it can be pushed to the shaders
21 lines
911 B
C
21 lines
911 B
C
#pragma once
|
|
|
|
#include <gdk/gdk.h>
|
|
#include <graphene.h>
|
|
#include "gskvulkanclipprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
const VkPushConstantRange *
|
|
gsk_vulkan_push_constants_get_ranges (void) G_GNUC_PURE;
|
|
uint32_t gsk_vulkan_push_constants_get_range_count (void) G_GNUC_PURE;
|
|
|
|
void gsk_vulkan_push_constants_push (VkCommandBuffer command_buffer,
|
|
VkPipelineLayout pipeline_layout,
|
|
const graphene_vec2_t *scale,
|
|
const graphene_matrix_t *mvp,
|
|
const GskRoundedRect *clip);
|
|
|
|
G_END_DECLS
|
|
|