gtk/gsk/vulkan/gskvulkanmaskopprivate.h
Benjamin Otte 73f1dfc762 vulkan: Repurpose mask shader
Use if for mask nodes to do the generic source image + mask image
operation with the 4 available mask modes.
2023-07-16 12:13:00 +02:00

21 lines
1.2 KiB
C

#pragma once
#include "gskvulkanopprivate.h"
G_BEGIN_DECLS
void gsk_vulkan_mask_op (GskVulkanRenderPass *render_pass,
const char *clip_type,
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