egl/glx: don't load non-sw zink without dri3 support
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 9 Oct 2023 19:23:04 +0000 (15:23 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 19 Oct 2023 17:41:42 +0000 (17:41 +0000)
commitcedb534a1763b6bd3c733d439e5d145ae6f1270e
treeb1ffe2dccc6ef7557168b32043110f9d54109d54
parentee04799d8218c790f34bbb3ab86a6d9011da4809
egl/glx: don't load non-sw zink without dri3 support

this is going to be broken, so don't bother trying

also add LIBGL_KOPPER_DRI2 so people can continue to footgun if they
really really want to

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25640>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/platform_x11_dri3.c
src/glx/drisw_glx.c