2023-06-25 21:04:43 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2023-07-09 18:28:12 +00:00
|
|
|
void gsk_vulkan_color_matrix_op (GskVulkanRender *render,
|
2023-07-15 10:47:35 +00:00
|
|
|
GskVulkanShaderClip clip,
|
2023-06-25 21:04:43 +00:00
|
|
|
GskVulkanImage *image,
|
|
|
|
const graphene_rect_t *rect,
|
|
|
|
const graphene_point_t *offset,
|
|
|
|
const graphene_rect_t *tex_rect,
|
|
|
|
const graphene_matrix_t *color_matrix,
|
|
|
|
const graphene_vec4_t *color_offset);
|
|
|
|
|
2023-07-09 18:28:12 +00:00
|
|
|
void gsk_vulkan_color_matrix_op_opacity (GskVulkanRender *render,
|
2023-07-15 10:47:35 +00:00
|
|
|
GskVulkanShaderClip clip,
|
2023-06-29 19:43:26 +00:00
|
|
|
GskVulkanImage *image,
|
|
|
|
const graphene_rect_t *rect,
|
|
|
|
const graphene_point_t *offset,
|
|
|
|
const graphene_rect_t *tex_rect,
|
|
|
|
float opacity);
|
|
|
|
|
2023-06-25 21:04:43 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|