mesa/src
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
..
amd aco: combine VALU lanemask hazard into VALUMaskWriteHazard 2025-04-22 01:24:39 +02:00
android_stub
asahi hk: fix underbinding scratch 2025-04-17 02:28:16 +02:00
broadcom v3dv: avoid TFU reading unmapped pages beyond the end of the buffers 2025-04-15 00:17:11 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/algebraic: Allow fmin(a,a) optimization when flush denorm to zero is not set 2025-04-15 23:59:31 +00:00
drm-shim
egl EGL: legacy-x11=dri2 should support hardware driver 2025-04-22 01:24:45 +02:00
etnaviv etnaviv: Add multi-planar YUV support 2025-03-31 17:41:04 +00:00
freedreno ir3/a7xx: Add post-RA pass to track liveness and insert (last) 2025-04-16 07:40:50 +00:00
gallium iris: make sure to not mix compressed vs non-compressed 2025-04-22 00:04:17 +02:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: update code generator for simplified dep graph 2025-04-09 18:29:57 +00:00
glx glx: stop exporting EXT_texture_object functions from libGLX_mesa.so 2025-03-27 05:46:35 +00:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel anv: re enable compression for CPS surfaces on platforms other than Xe 2025-04-22 01:24:32 +02:00
loader loader: Stop looking in ${libdir}/tls/ 2025-03-13 19:45:45 +00:00
mapi glapi: import noop_array and public stubs earlier. 2025-04-04 00:18:28 +00:00
mesa mesa: Add CPU traces 2025-04-15 10:37:39 +00:00
microsoft ci/microsoft: Add job timeouts and pin Piglit to GSt 2025-04-01 12:21:01 +00:00
nouveau nak: Handle idp4 ureg latencies 2025-04-22 01:24:38 +02:00
panfrost panvk: shaderStorageImageWriteWithoutFormat support 2025-04-15 21:30:41 +00:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util mesa: Add CPU traces 2025-04-15 10:37:39 +00:00
virtio virtio/vdrm: Add vtest backend 2025-04-08 15:38:39 +00:00
vulkan vk/sync: Fix execution only barriers 2025-04-10 15:28:22 +00:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: support building with system libgbm 2025-04-09 12:15:33 +00:00