summaryrefslogtreecommitdiff
path: root/gdk/gdkdrawingcontext.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-11-22 04:12:51 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-05 15:02:47 +0100
commit332ed7be5b9a973e58711cb63f80265ad17b95a6 (patch)
treee97b3443e7225174998fe4cc3b3caf3f08885d88 /gdk/gdkdrawingcontext.h
parent9c041f6bcc8155436b5b325de16abb575e803196 (diff)
downloadgtk+-332ed7be5b9a973e58711cb63f80265ad17b95a6.tar.gz
API: Require passing a GLContext to begin_draw_frame()
This is in preparation for requiring explicit passing of GL contexts when drawing.
Diffstat (limited to 'gdk/gdkdrawingcontext.h')
-rw-r--r--gdk/gdkdrawingcontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkdrawingcontext.h b/gdk/gdkdrawingcontext.h
index d754fce79d..4f9980f90b 100644
--- a/gdk/gdkdrawingcontext.h
+++ b/gdk/gdkdrawingcontext.h
@@ -38,6 +38,8 @@ GType gdk_drawing_context_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_3_22
GdkWindow * gdk_drawing_context_get_window (GdkDrawingContext *context);
+GDK_AVAILABLE_IN_3_90
+GdkGLContext* gdk_drawing_context_get_paint_context (GdkDrawingContext *context);
GDK_AVAILABLE_IN_3_22
cairo_region_t *gdk_drawing_context_get_clip (GdkDrawingContext *context);