diff options
author | Danny Rawlins <contact@romster.me> | 2021-11-02 00:31:52 +1100 |
---|---|---|
committer | Danny Rawlins <contact@romster.me> | 2021-11-02 00:31:52 +1100 |
commit | 99f71d8546663347f663187aedac5e20ae9195c9 (patch) | |
tree | 691d3fb13e091e12b9242aafa2c05352838a9145 /libglvnd | |
parent | eb2d35c813ec661f109767080ba6045cf40ea734 (diff) | |
download | xorg-99f71d8546663347f663187aedac5e20ae9195c9.tar.gz xorg-99f71d8546663347f663187aedac5e20ae9195c9.tar.xz |
libglvnd: remove old patche
Diffstat (limited to 'libglvnd')
-rw-r--r-- | libglvnd/egl-use-device-dispatch-if-at-least-one-vendor-suceeds.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/libglvnd/egl-use-device-dispatch-if-at-least-one-vendor-suceeds.patch b/libglvnd/egl-use-device-dispatch-if-at-least-one-vendor-suceeds.patch deleted file mode 100644 index 529e8955..00000000 --- a/libglvnd/egl-use-device-dispatch-if-at-least-one-vendor-suceeds.patch +++ /dev/null @@ -1,37 +0,0 @@ -From a527411da713b2068974c46d7129326520dc5923 Mon Sep 17 00:00:00 2001 -From: Ronan Pigott <rpigott@berkeley.edu> -Date: Wed, 18 Nov 2020 11:05:59 -0700 -Subject: [PATCH] egl: use device dispatch if at least one vendor suceeds - -Currently, in InitDeviceListInternal if any egl vendor fails to list -its devices for any reason the construction of the device list is -abandoned. That means that even if we have one vendor successfully -serving the application, the failure of another vendor library will -break any api calls related to egl devices. - -Instead, if a vendor fails queryDevicesEXT the device mapping logic -should proceed as if it listed no devices. If the relevant device -belongs to the failed vendor then the dispatch will still fail with -EGL_BAD_DEVICE. ---- - src/EGL/libeglmapping.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/EGL/libeglmapping.c b/src/EGL/libeglmapping.c -index c736172..7cf5a87 100644 ---- a/src/EGL/libeglmapping.c -+++ b/src/EGL/libeglmapping.c -@@ -276,7 +276,9 @@ static EGLBoolean AddVendorDevices(__EGLvendorInfo *vendor) - } - - if (!vendor->staticDispatch.queryDevicesEXT(0, NULL, &count)) { -- return EGL_FALSE; -+ // Even if this vendor fails, we can still return the devices from any -+ // other vendors -+ return EGL_TRUE; - } - if (count <= 0) { - return EGL_TRUE; --- -GitLab - |