mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 06:40:08 +00:00
8109e8e3b6
This is just blowing up GskGpuShaderClip to hold more information so that we don't need even more specialization constants.
21 lines
966 B
C
21 lines
966 B
C
#pragma once
|
|
|
|
#include "gskgpuframeprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GSK_TYPE_GL_FRAME (gsk_gl_frame_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (GskGLFrame, gsk_gl_frame, GSK, GL_FRAME, GskGpuFrame)
|
|
|
|
void gsk_gl_frame_use_program (GskGLFrame *self,
|
|
const GskGpuShaderOpClass *op_class,
|
|
GskGpuShaderFlags flags,
|
|
GskGpuColorStates color_states,
|
|
guint32 variation,
|
|
guint n_external_textures);
|
|
|
|
void gsk_gl_frame_bind_globals (GskGLFrame *self);
|
|
|
|
G_END_DECLS
|