drisw: Port the MIT-SHM check to XCB
authorAdam Jackson <ajax@redhat.com>
Wed, 12 Aug 2020 17:54:46 +0000 (13:54 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Aug 2020 16:17:50 +0000 (16:17 +0000)
commitaeba69deaa536776452ec8b22a3131f187e82cac
tree3a494594c6bebebffb837e6e0aaeb1b2973f3633
parentee905aa3a014191cfa68160256622fcecb7a66c5
drisw: Port the MIT-SHM check to XCB

The old version isn't thread-safe, and xlib makes it unreasonably
difficult to write thread-safely.

Fixes: mesa/mesa#3398
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6294>
.gitlab-ci.yml
.gitlab-ci/container/x86_test-gl.sh
meson.build
src/glx/drisw_glx.c
src/glx/meson.build