mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 15:01:23 +00:00
82a99a3643
This is necessary so that bidnings work properly and don't make gdk_gl_texture_release() a function on GdkTexture. It also allows code to identify what type of texture they are dealing with. Finally, we can now decide to add getters later without screwing anything up, if we want to allow people to access GL textures directly.
16 lines
381 B
C
16 lines
381 B
C
#ifndef __GDK_GL_TEXTURE_PRIVATE_H__
|
|
#define __GDK_GL_TEXTURE_PRIVATE_H__
|
|
|
|
#include "gdkgltexture.h"
|
|
|
|
#include "gdktextureprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
GdkGLContext * gdk_gl_texture_get_context (GdkGLTexture *self);
|
|
guint gdk_gl_texture_get_id (GdkGLTexture *self);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GDK_GL_TEXTURE_PRIVATE_H__ */
|