gtk/gsk/gpu/gskgpucolorizeopprivate.h
Matthias Clasen 60f5d4c93e gpu: Add a variant of gsk_gpu_colorize_op
This variant takes the color_states, instead of computing it
anew from the ccs and the color state of the color. This will
be used to pull this work out of the loop in add_glyph_node.
2024-09-08 12:41:48 -04:00

28 lines
1.6 KiB
C

#pragma once
#include "gskgpushaderopprivate.h"
#include <graphene.h>
G_BEGIN_DECLS
void gsk_gpu_colorize_op (GskGpuFrame *frame,
GskGpuShaderClip clip,
GdkColorState *ccs,
float opacity,
const graphene_point_t *offset,
const GskGpuShaderImage *image,
const GdkColor *color);
void gsk_gpu_colorize_op2 (GskGpuFrame *frame,
GskGpuShaderClip clip,
GskGpuColorStates color_states,
float opacity,
const graphene_point_t *offset,
const GskGpuShaderImage *image,
const GdkColor *color);
G_END_DECLS