mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
30 lines
2.0 KiB
C
30 lines
2.0 KiB
C
|
#pragma once
|
||
|
|
||
|
#include "gskgpushaderopprivate.h"
|
||
|
|
||
|
#include <graphene.h>
|
||
|
|
||
|
G_BEGIN_DECLS
|
||
|
|
||
|
void gsk_gpu_color_matrix_op (GskGpuFrame *frame,
|
||
|
GskGpuShaderClip clip,
|
||
|
GskGpuDescriptors *desc,
|
||
|
guint32 descriptor,
|
||
|
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_gpu_color_matrix_op_opacity (GskGpuFrame *frame,
|
||
|
GskGpuShaderClip clip,
|
||
|
GskGpuDescriptors *desc,
|
||
|
guint32 descriptor,
|
||
|
const graphene_rect_t *rect,
|
||
|
const graphene_point_t *offset,
|
||
|
const graphene_rect_t *tex_rect,
|
||
|
float opacity);
|
||
|
|
||
|
G_END_DECLS
|
||
|
|