mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
73f1dfc762
Use if for mask nodes to do the generic source image + mask image operation with the 4 available mask modes.
21 lines
1.2 KiB
C
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
|
|
|