gl: Make all user GdkGLContexts not attached to any window

We make user facing gl contexts not attached to a surface if possible,
or attached to dummy surfaces. This means nothing can accidentally
read/write to the toplevel back buffer.
This commit is contained in:
Alexander Larsson
2014-10-09 16:09:05 +02:00
committed by Matthias Clasen
parent 62a26eb3c8
commit 236d08c3c5
10 changed files with 162 additions and 59 deletions

View File

@ -89,6 +89,7 @@ struct _GdkWaylandDisplay
guint have_egl_khr_create_context : 1;
guint have_egl_buffer_age : 1;
guint have_egl_swap_buffers_with_damage : 1;
guint have_egl_surfaceless_context : 1;
};
struct _GdkWaylandDisplayClass