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:
committed by
Matthias Clasen
parent
62a26eb3c8
commit
236d08c3c5
@ -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
|
||||
|
||||
Reference in New Issue
Block a user