summaryrefslogtreecommitdiff
path: root/gtk/gtkglarea.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2014-10-30 19:18:05 +0100
committerAlexander Larsson <alexl@redhat.com>2014-10-30 21:04:29 +0100
commit969b9c65520d388ea9e5c4a9eb42cf928a7debd5 (patch)
treece058958eac3a7b09ccb2e2ef3b479c7a7b08ae3 /gtk/gtkglarea.h
parentb519b642bd053e669b4925a9da0dfeaaa8504c35 (diff)
downloadgtk+-969b9c65520d388ea9e5c4a9eb42cf928a7debd5.tar.gz
GtkGLArea: Add profile property
This lets you force a core 3.2 context if you want
Diffstat (limited to 'gtk/gtkglarea.h')
-rw-r--r--gtk/gtkglarea.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkglarea.h b/gtk/gtkglarea.h
index 511cede12e..87fb453c72 100644
--- a/gtk/gtkglarea.h
+++ b/gtk/gtkglarea.h
@@ -79,6 +79,11 @@ GType gtk_gl_area_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_3_16
GtkWidget * gtk_gl_area_new (void);
+GDK_AVAILABLE_IN_3_16
+GdkGLProfile gtk_gl_area_get_profile (GtkGLArea *area);
+GDK_AVAILABLE_IN_3_16
+void gtk_gl_area_set_profile (GtkGLArea *area,
+ GdkGLProfile profile);
GDK_AVAILABLE_IN_3_16
gboolean gtk_gl_area_get_has_alpha (GtkGLArea *area);