summaryrefslogtreecommitdiff
path: root/gdk/gdkglcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkglcontext.h')
-rw-r--r--gdk/gdkglcontext.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/gdk/gdkglcontext.h b/gdk/gdkglcontext.h
index be71ae4382..3155948017 100644
--- a/gdk/gdkglcontext.h
+++ b/gdk/gdkglcontext.h
@@ -43,18 +43,24 @@ GDK_AVAILABLE_IN_3_16
GType gdk_gl_context_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_3_16
-GdkDisplay * gdk_gl_context_get_display (GdkGLContext *context);
+GdkDisplay * gdk_gl_context_get_display (GdkGLContext *context);
GDK_AVAILABLE_IN_3_16
-GdkWindow * gdk_gl_context_get_window (GdkGLContext *context);
+GdkWindow * gdk_gl_context_get_window (GdkGLContext *context);
GDK_AVAILABLE_IN_3_16
-GdkGLProfile gdk_gl_context_get_profile (GdkGLContext *context);
+GdkGLProfile gdk_gl_context_get_profile (GdkGLContext *context);
+GDK_AVAILABLE_IN_3_16
+GdkGLContext * gdk_gl_context_get_shared_context (GdkGLContext *context);
+
+GDK_AVAILABLE_IN_3_16
+gboolean gdk_gl_context_realize (GdkGLContext *context,
+ GError **error);
GDK_AVAILABLE_IN_3_16
-void gdk_gl_context_make_current (GdkGLContext *context);
+void gdk_gl_context_make_current (GdkGLContext *context);
GDK_AVAILABLE_IN_3_16
-GdkGLContext * gdk_gl_context_get_current (void);
+GdkGLContext * gdk_gl_context_get_current (void);
GDK_AVAILABLE_IN_3_16
-void gdk_gl_context_clear_current (void);
+void gdk_gl_context_clear_current (void);
G_END_DECLS