xserver/hw
Doug Brown 4898415c6b dri2: Protect against dri2ClientPrivate assertion failures
If DRI2ScreenInit hasn't been called yet, DRI2Authenticate and
DRI2CreateDrawable2 cause the X server to crash. This has been observed
to happen on multiple modern Linux distros in various conditions,
including QEMU and VMware VMs. Make these functions more robust in order
to prevent the crash.

This patch was originally provided by Bernhard Übelacker and expanded
upon by Mark Wagner.

Signed-off-by: Doug Brown <doug@schmorgal.com>
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1053
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1534
2024-09-19 15:03:01 +02:00
..
kdrive (!1688) os: directly set console verbosity level, instead of using LogSetParameter() 2024-09-18 17:23:12 +02:00
vfb (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-09-18 17:23:12 +02:00
xfree86 dri2: Protect against dri2ClientPrivate assertion failures 2024-09-19 15:03:01 +02:00
xnest xnest: add pixmap depths to global depth list 2024-09-19 15:03:01 +02:00
xquartz (!1688) os: unexport internal logging functions 2024-09-18 17:23:12 +02:00
xwayland (!1691) os: log: replace VErrorF() by LogVMessageVerb() 2024-09-19 15:03:01 +02:00
xwin (!1691) xwin: drop duplicate OsVendorVErrorF() 2024-09-19 15:03:01 +02:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00