diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-05 14:38:38 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-07 16:17:15 +0100 |
commit | 160e6ad6f6fcc9c2819b2f8378763771f14c5320 (patch) | |
tree | baae8cfcc076c83939a10ca50dfb17fa8cb828fa /gdk/gdkgltextureprivate.h | |
parent | b49c6cdcb1f6673744c5778638857b18a45f0500 (diff) | |
download | gtk+-160e6ad6f6fcc9c2819b2f8378763771f14c5320.tar.gz |
gdk: Split out GL texture
Put GdkGLTexture into its own file and rename the API to
gdk_gl_texture_foo() instead of gdk_texture_foo_for_gl().
Apart from naming, no actual code changes.
Diffstat (limited to 'gdk/gdkgltextureprivate.h')
-rw-r--r-- | gdk/gdkgltextureprivate.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gdk/gdkgltextureprivate.h b/gdk/gdkgltextureprivate.h new file mode 100644 index 0000000000..180a99d064 --- /dev/null +++ b/gdk/gdkgltextureprivate.h @@ -0,0 +1,19 @@ +#ifndef __GDK_GL_TEXTURE_PRIVATE_H__ +#define __GDK_GL_TEXTURE_PRIVATE_H__ + +#include "gdkgltexture.h" + +#include "gdktextureprivate.h" + +G_BEGIN_DECLS + +#define GDK_TYPE_GL_TEXTURE (gdk_gl_texture_get_type ()) + +G_DECLARE_FINAL_TYPE (GdkGLTexture, gdk_gl_texture, GDK, GL_TEXTURE, GdkTexture) + +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__ */ |