mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
53821da4d6
Introduce a new GskGpuImageDescriptors object that tracks descriptors for a set of images that can be managed by the GPU. Then have each GskGpuShaderOp just reference the descriptors object they are using, so that the coe can set things up properly. To reference an image, the ops now just reference their descriptor - which is the uint32 we've been sending to the shaders since forever.
19 lines
779 B
C
19 lines
779 B
C
#pragma once
|
|
|
|
#include "gskgpushaderopprivate.h"
|
|
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_uber_op (GskGpuFrame *frame,
|
|
GskGpuShaderClip clip,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *offset,
|
|
GskGpuDescriptors *desc,
|
|
guint32 pattern_id);
|
|
|
|
|
|
G_END_DECLS
|
|
|