mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
5ab8fde0bc
... and use it for glyphs. The name is a slight variation of the "coloring" name from the GL renderer. The functionality is exactly what the "glyph" shader from the Vulkan renderer does.
20 lines
890 B
C
20 lines
890 B
C
#pragma once
|
|
|
|
#include "gskgpushaderopprivate.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_colorize_op (GskGpuFrame *frame,
|
|
GskGpuShaderClip clip,
|
|
GskGpuImage *image,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *offset,
|
|
const graphene_rect_t *tex_rect,
|
|
const GdkRGBA *color);
|
|
|
|
|
|
G_END_DECLS
|
|
|