mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
60f5d4c93e
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.
28 lines
1.6 KiB
C
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
|
|
|