mesa/src/egl
Gert Wollny 3a6b85aa2b egl,glx,X11: Handle case when PlatformDisplay is EGL_DEFAULT_DISPLAY
If the PlatformDisplay is initialized to EGL_DEFAULt_DEVICE (i.e. 0)
acquire a connection to the display to query the thread savety.

v2: rework after getting a better understanding of what is ging on.

v3: check whether XOpenDisplay was successfull (Yonggang Luo)

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13740
Fixes: ecbe35d878 ("egl,glx: allow OpenGL with old libx11, but disable glthread if it's unsafe")

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37006>
2025-09-04 14:35:53 +00:00
..
drivers egl,glx,X11: Handle case when PlatformDisplay is EGL_DEFAULT_DISPLAY 2025-09-04 14:35:53 +00:00
generate mesa: move src/mapi to src/mesa/glapi 2025-08-06 20:35:26 +00:00
main perfetto: unify init 2025-08-12 13:17:43 +00:00
wayland egl/wayland: Remove support for non-dmabuf wl_drm 2025-07-09 17:49:58 +00:00
.clang-format clang-format: Disable formatting by default 2023-08-13 16:48:49 +02:00
egl-entrypoint-check.py egl: Apply autopep8. 2025-02-21 02:50:56 +00:00
egl-glvnd-symbols.txt egl: export GL-CL interop functions from libEGL_mesa.so 2025-06-08 13:20:47 -04:00
egl-glvnd.sym egl: export GL-CL interop functions from libEGL_mesa.so 2025-06-08 13:20:47 -04:00
egl-symbols.txt egl/dri2: Implement the new flush method 2022-11-02 18:11:41 +00:00
egl.sym egl/meson: Specify which symbols to export 2025-01-15 23:18:36 +00:00
meson.build mesa: remove inc_mapi 2025-08-06 20:35:26 +00:00