gsk: Export the colorize op class

This is going to be used in the future to check whether the previous
op was a colorize one.
This commit is contained in:
Matthias Clasen
2024-03-05 09:06:09 -05:00
committed by Christian Hergert
parent f65387de99
commit 6ad68ed755
2 changed files with 3 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ gsk_gpu_colorize_op_print (GskGpuOp *op,
gsk_gpu_print_newline (string);
}
static const GskGpuShaderOpClass GSK_GPU_COLORIZE_OP_CLASS = {
const GskGpuShaderOpClass GSK_GPU_COLORIZE_OP_CLASS = {
{
GSK_GPU_OP_SIZE (GskGpuColorizeOp),
GSK_GPU_STAGE_SHADER,

View File

@@ -6,6 +6,8 @@
G_BEGIN_DECLS
extern const GskGpuShaderOpClass GSK_GPU_COLORIZE_OP_CLASS;
void gsk_gpu_colorize_op (GskGpuFrame *frame,
GskGpuShaderClip clip,
GskGpuDescriptors *desc,