mesa/src/egl
GKraats c196a64471 EGL: legacy-x11=dri2 should support hardware driver
Since MR !33891 EGL only supports a software driver (LLVM).
Routine dri3_x11_connect at
src/egl/drivers/dri2/platform_x11.c fails if DRI3 is not
available. So at that location variable *allow_dri2 should be set.

Looking at the major codition, we see it is not executed
if LIBGL_DRI3_DISABLE is set. In that case the hardware driver
is activated as desired. Previously this was not needed.
Also it is not practical, and not necessary.

I do not understand the major condition, so I did not change it.
This causes some duplicate coding.

Fixes: 323bad6b18 ("egl/x11: split out dri2 init entirely")
Signed-off-by: GKraats <vd.kraats@hccnet.nl>
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34530>
(cherry picked from commit 995dc61bf5)
2025-04-22 01:24:45 +02:00
..
drivers EGL: legacy-x11=dri2 should support hardware driver 2025-04-22 01:24:45 +02:00
generate egl: Retire NV_post_sub_buffer support. 2025-02-21 02:50:56 +00:00
main egl: Remove FallbackZink config item entirely 2025-03-29 09:18:47 +00:00
wayland vulkan/wsi: implement the Wayland color management protocol 2025-02-25 21:24:11 +00:00
.clang-format clang-format: Disable formatting by default 2023-08-13 16:48:49 +02:00
egl-entrypoint-check.py egl: Apply autopep8. 2025-02-21 02:50:56 +00:00
egl-glvnd-symbols.txt
egl-glvnd.sym egl/meson: Specify which symbols to export 2025-01-15 23:18:36 +00:00
egl-symbols.txt egl/dri2: Implement the new flush method 2022-11-02 18:11:41 +00:00
egl.sym egl/meson: Specify which symbols to export 2025-01-15 23:18:36 +00:00
meson.build meson: support building with system libgbm 2025-04-09 12:15:33 +00:00