mesa/src/egl
Pierre-Eric Pelloux-Prayer 6d111ffba6 yegl/wayland: fix glthread deadlocks
We need to make sure that glthread is idle before using wl_*
functions or they might be used from 2 threads at the same
time.

Thanks to @deltib for the investigation of this issue.

Fixes: 58f90fd03f ("egl/wayland: fix glthread crashes")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7624
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8136
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20887>
(cherry picked from commit a98e4195f5)
2023-03-27 14:06:54 -07:00
..
drivers yegl/wayland: fix glthread deadlocks 2023-03-27 14:06:54 -07:00
generate EGL: sync headers with Khronos 2022-10-12 19:26:01 +00:00
main egl: const display & config pointers in eglGetConfigAttrib() 2023-01-10 22:23:06 +00:00
wayland egl/wayland: add a NULL guard for the authenticate callback 2020-12-16 13:48:48 +00:00
egl-entrypoint-check.py python: explicitly require python3 2021-08-14 21:44:31 +00:00
egl-glvnd-symbols.txt egl: add glvnd symbols check 2019-07-10 11:27:51 +00:00
egl-symbols.txt egl/dri2: Implement the new flush method 2022-11-02 18:11:41 +00:00
meson.build gallium: remove st_context_iface, use st_context directly 2022-12-09 13:14:03 +00:00