xserver/hw/xfree86/dri2
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
..
pci_ids Remove autotools support 2021-10-27 13:15:40 +03:00
dri2.c dri2: Protect against dri2ClientPrivate assertion failures 2024-09-19 15:03:01 +02:00
dri2.h (submit/cleanup-api-xfree86) xfree86: move private definitions out of dri2.h 2024-09-18 17:23:11 +02:00
dri2_priv.h (submit/cleanup-api-xfree86) xfree86: move private definitions out of dri2.h 2024-09-18 17:23:11 +02:00
dri2ext.c (submit/rename-panoramix-sym) rename old symbol PANORAMIX to XINERAMA 2024-09-18 17:23:12 +02:00
dri2int.h Move DRI2 from external module to built-in 2012-07-10 00:31:01 -07:00
meson.build meson: Make driprotos and libdrm optional 2017-05-10 14:43:13 -04:00