summaryrefslogtreecommitdiff
path: root/gdk/gdkglcontext.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-11-07 07:10:49 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-11-07 07:10:49 -0500
commit7e405c286f348182c0e376ea2d9bf63033346ce6 (patch)
tree5c8ad16e07f5bb31db8fa136142dd2eb8497309e /gdk/gdkglcontext.h
parent41e9eaf64fdabf49679db193778b15c44e3d0b52 (diff)
downloadgtk+-7e405c286f348182c0e376ea2d9bf63033346ce6.tar.gz
Don't make the gl flags API
We need to export the symbols so they can be used in the inspector, but we don't really want to make this supported public API, so keep them out of installed headers.
Diffstat (limited to 'gdk/gdkglcontext.h')
-rw-r--r--gdk/gdkglcontext.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/gdk/gdkglcontext.h b/gdk/gdkglcontext.h
index 73660d2c83..be71ae4382 100644
--- a/gdk/gdkglcontext.h
+++ b/gdk/gdkglcontext.h
@@ -56,34 +56,6 @@ GdkGLContext * gdk_gl_context_get_current (void);
GDK_AVAILABLE_IN_3_16
void gdk_gl_context_clear_current (void);
-/**
- * GdkGLFlags:
- * @GDK_GL_DISABLE: Disable creating new windows with GL rendering
- * @GDK_GL_ALWAYS: Make all newly created windows use GL rendering
- * @GDK_GL_SOFTWARE_DRAW_GL: Always use software fallback for drawing
- * GL content to a cairo_t. This disables the fast paths that exist for
- * drawing directly to a window and instead reads back the pixels into
- * a cairo image surface.
- * @GDK_GL_SOFTWARE_DRAW_SURFACE: Always use software fallback for
- * drawing cairo surfaces onto a GL-using window. This disables e.g.
- * texture-from-pixmap on X11.
- * @GDK_GL_TEXTURE_RECTANGLE: Use the GL_ARB_texture_rectangle extension
- *
- * Flags that influence the OpenGL rendering used by GDK.
- */
-typedef enum {
- GDK_GL_DISABLE = 1 << 0,
- GDK_GL_ALWAYS = 1 << 1,
- GDK_GL_SOFTWARE_DRAW_GL = 1 << 2,
- GDK_GL_SOFTWARE_DRAW_SURFACE = 1 << 3,
- GDK_GL_TEXTURE_RECTANGLE = 1 << 4
-} GdkGLFlags;
-
-GDK_AVAILABLE_IN_3_16
-GdkGLFlags gdk_gl_get_flags (void);
-GDK_AVAILABLE_IN_3_16
-void gdk_gl_set_flags (GdkGLFlags flags);
-
G_END_DECLS
#endif /* __GDK_GL_CONTEXT_H__ */