mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
ef20b706e2
Carry an n_external_textures variable around when selecting programs and compile different programs for different amounts of external textures. For now, this code is unused, but dmabufs will need it.
20 lines
597 B
C
20 lines
597 B
C
#pragma once
|
|
|
|
#include "gskgpudescriptorsprivate.h"
|
|
|
|
#include "gskgldeviceprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GSK_TYPE_GL_DESCRIPTORS (gsk_gl_descriptors_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (GskGLDescriptors, gsk_gl_descriptors, GSK, GL_DESCRIPTORS, GskGpuDescriptors)
|
|
|
|
GskGpuDescriptors * gsk_gl_descriptors_new (GskGLDevice *device);
|
|
|
|
guint gsk_gl_descriptors_get_n_external (GskGLDescriptors *self);
|
|
void gsk_gl_descriptors_use (GskGLDescriptors *self);
|
|
|
|
G_END_DECLS
|
|
|