summaryrefslogtreecommitdiff
path: root/gdk/gdkglcontext.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-01-28 14:37:26 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2015-02-09 19:10:30 +0000
commit6aaa6c337bc85913f0f898239cd678fef2a89b20 (patch)
tree5f13a24b09259fa5bc8239d3e8ec15359469ea84 /gdk/gdkglcontext.h
parentf7497daee933cbfa328225eb318449054bab81f3 (diff)
downloadgtk+-6aaa6c337bc85913f0f898239cd678fef2a89b20.tar.gz
gl: Move getters for context options to the public API
They can be useful for third party code as well. https://bugzilla.gnome.org/show_bug.cgi?id=741946
Diffstat (limited to 'gdk/gdkglcontext.h')
-rw-r--r--gdk/gdkglcontext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdk/gdkglcontext.h b/gdk/gdkglcontext.h
index 05003178c6..dda70682ac 100644
--- a/gdk/gdkglcontext.h
+++ b/gdk/gdkglcontext.h
@@ -56,11 +56,19 @@ void gdk_gl_context_set_required_version (GdkGLContext *
int major,
int minor);
GDK_AVAILABLE_IN_3_16
+void gdk_gl_context_get_required_version (GdkGLContext *context,
+ int *major,
+ int *minor);
+GDK_AVAILABLE_IN_3_16
void gdk_gl_context_set_debug_enabled (GdkGLContext *context,
gboolean enabled);
GDK_AVAILABLE_IN_3_16
+gboolean gdk_gl_context_get_debug_enabled (GdkGLContext *context);
+GDK_AVAILABLE_IN_3_16
void gdk_gl_context_set_forward_compatible (GdkGLContext *context,
gboolean compatible);
+GDK_AVAILABLE_IN_3_16
+gboolean gdk_gl_context_get_forward_compatible (GdkGLContext *context);
GDK_AVAILABLE_IN_3_16
gboolean gdk_gl_context_realize (GdkGLContext *context,