mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
27 lines
726 B
C
27 lines
726 B
C
|
#pragma once
|
||
|
|
||
|
#include "gskgpuopprivate.h"
|
||
|
|
||
|
#include <gsk/gskroundedrect.h>
|
||
|
#include <graphene.h>
|
||
|
|
||
|
G_BEGIN_DECLS
|
||
|
|
||
|
typedef struct _GskGpuGlobalsInstance GskGpuGlobalsInstance;
|
||
|
|
||
|
struct _GskGpuGlobalsInstance
|
||
|
{
|
||
|
float mvp[16];
|
||
|
float clip[12];
|
||
|
float scale[2];
|
||
|
};
|
||
|
|
||
|
void gsk_gpu_globals_op (GskGpuFrame *frame,
|
||
|
const graphene_vec2_t *scale,
|
||
|
const graphene_matrix_t *mvp,
|
||
|
const GskRoundedRect *clip);
|
||
|
|
||
|
|
||
|
G_END_DECLS
|
||
|
|