mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
6e4a526ddf
I'm a bit unsure about using the zero rect in the fallback situtation where one image doesn't exist, but it seems to work. This removes the last pattern-only rendernode and with that the last fallback usage with disabled ubershader.
24 lines
1.3 KiB
C
24 lines
1.3 KiB
C
#pragma once
|
|
|
|
#include "gskgpushaderopprivate.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_blend_mode_op (GskGpuFrame *frame,
|
|
GskGpuShaderClip clip,
|
|
GskGpuDescriptors *desc,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *offset,
|
|
float opacity,
|
|
GskBlendMode blend_mode,
|
|
guint32 start_descriptor,
|
|
const graphene_rect_t *start_rect,
|
|
guint32 end_descriptor,
|
|
const graphene_rect_t *end_rect);
|
|
|
|
|
|
G_END_DECLS
|
|
|