mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
7cb7e0ab35
Make GdkGLTexture determine if the texture has a mipmap, and provide private API to query this information. This check is done in gdkgltexture.c instead of gskgldriver.c, since we're already binding the texture here for other reasons, so it is easy to query a few more things.
17 lines
469 B
C
17 lines
469 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);
|
|
gboolean gdk_gl_texture_has_mipmap (GdkGLTexture *self);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GDK_GL_TEXTURE_PRIVATE_H__ */
|