x11: Remove DRI2 support

DRI2 was hidden behind a legacy-x11 build option back in the 24.2
release. It's now been a year, so let's get on with removing it so we
can simplify our winsys interactions.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35885>
This commit is contained in:
Daniel Stone
2025-07-02 13:21:28 +01:00
committed by Marge Bot
parent b0624f4034
commit 08c6ba223b
23 changed files with 22 additions and 2682 deletions

View File

@@ -153,8 +153,7 @@ EGL Drivers
This driver supports several platforms: ``android``, ``device``,
``drm``, ``surfaceless``, ``wayland`` and ``x11``. It functions as
a DRI driver loader. For ``x11`` support, it talks to the X server
directly using (XCB-)DRI3 protocol when available, and falls back to
DRI2 if necessary (can be forced with ``LIBGL_DRI3_DISABLE``).
directly using (XCB-)DRI3 protocol when available.
This driver can share DRI drivers with ``libGL``.