mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
a8ff291a12
and add gsk_vulkan_shader_op_alloc() that sets it properly.
27 lines
1.7 KiB
C
27 lines
1.7 KiB
C
#pragma once
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_vulkan_color_matrix_op (GskVulkanRender *render,
|
|
GskVulkanShaderClip clip,
|
|
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);
|
|
|
|
void gsk_vulkan_color_matrix_op_opacity (GskVulkanRender *render,
|
|
GskVulkanShaderClip clip,
|
|
GskVulkanImage *image,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *offset,
|
|
const graphene_rect_t *tex_rect,
|
|
float opacity);
|
|
|
|
|
|
G_END_DECLS
|
|
|