gtk/gsk/vulkan/gskvulkanmaskopprivate.h
Benjamin Otte a8ff291a12 vulkan: Make clip type an enum
and add gsk_vulkan_shader_op_alloc() that sets it properly.
2023-07-16 13:16:43 +02:00

21 lines
1.2 KiB
C

#pragma once
#include "gskvulkanopprivate.h"
G_BEGIN_DECLS
void gsk_vulkan_mask_op (GskVulkanRender *render,
GskVulkanShaderClip clip,
const graphene_point_t *offset,
GskVulkanImage *source,
const graphene_rect_t *source_rect,
const graphene_rect_t *source_tex_rect,
GskVulkanImage *mask,
const graphene_rect_t *mask_rect,
const graphene_rect_t *mask_tex_rect,
GskMaskMode mask_mode);
G_END_DECLS