mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
48012a1ce4
We don't want to use the pattern shader for simple colors, slow GPUs do not like this at all.
18 lines
660 B
C
18 lines
660 B
C
#pragma once
|
|
|
|
#include "gskgputypesprivate.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_color_op (GskGpuFrame *frame,
|
|
GskGpuShaderClip clip,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *offset,
|
|
const GdkRGBA *color);
|
|
|
|
|
|
G_END_DECLS
|
|
|