GtkGLArea: Add profile property

This lets you force a core 3.2 context if you want
This commit is contained in:
Alexander Larsson
2014-10-30 19:18:05 +01:00
parent b519b642bd
commit 969b9c6552
2 changed files with 82 additions and 1 deletions

View File

@ -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);