mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
1e00ff268e
Similar to commit 2c0cfdefbb9d1 for the SDL2 winsys, the GLX and EGL window systems need to bind the dummy surface or drawable when the currently bound onscreen is destroyed so that there will always be a valid context bound. Previously I got the idea that this would not be necessary on GLX because the documentation for glXDestroyDrawable states that the drawable won't actually be destroyed if it is currently bound until it becomes unbound. However it doesn't say what happens if the underlying X window is also destroyed and after testing it seems this causes a segfault in Mesa in GLX and an XError for EGLX. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 4a464eec8c5b5832b9fd6b69746ab4ab36229182) |
||
---|---|---|
.. | ||
cogl-texture-pixmap-x11-private.h | ||
cogl-texture-pixmap-x11.c | ||
cogl-texture-pixmap-x11.h | ||
cogl-winsys-egl-android-private.h | ||
cogl-winsys-egl-android.c | ||
cogl-winsys-egl-feature-functions.h | ||
cogl-winsys-egl-gdl-private.h | ||
cogl-winsys-egl-gdl.c | ||
cogl-winsys-egl-kms-private.h | ||
cogl-winsys-egl-kms.c | ||
cogl-winsys-egl-null-private.h | ||
cogl-winsys-egl-null.c | ||
cogl-winsys-egl-private.h | ||
cogl-winsys-egl-wayland-private.h | ||
cogl-winsys-egl-wayland.c | ||
cogl-winsys-egl-x11-private.h | ||
cogl-winsys-egl-x11.c | ||
cogl-winsys-egl.c | ||
cogl-winsys-glx-feature-functions.h | ||
cogl-winsys-glx-private.h | ||
cogl-winsys-glx.c | ||
cogl-winsys-private.h | ||
cogl-winsys-sdl2.c | ||
cogl-winsys-sdl-private.h | ||
cogl-winsys-sdl.c | ||
cogl-winsys-stub-private.h | ||
cogl-winsys-stub.c | ||
cogl-winsys-wgl-feature-functions.h | ||
cogl-winsys-wgl-private.h | ||
cogl-winsys-wgl.c | ||
cogl-winsys.c |