From: Emil Velikov <emil.veli...@collabora.com>

Otherwise, we get no entrypoint which seems to break the world.

Note: there's a follow-up fix needed to our GLVND code, to make piglit
happy.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108635
Fixes: 7552fcb7b9b ("egl: add base EGL_EXT_device_base implementation")
Reported-by: kyle.de...@mykolab.com
Cc: kyle.de...@mykolab.com
Cc: Eric Engestrom <e...@engestrom.ch>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
---
Kyle, I'm not 100% sure it addresses the problem you're seeing.
It's the only possible issue that I could spot.
---
 src/egl/generate/eglFunctionList.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/egl/generate/eglFunctionList.py 
b/src/egl/generate/eglFunctionList.py
index fb5b3c30bdf..667704eb2cb 100644
--- a/src/egl/generate/eglFunctionList.py
+++ b/src/egl/generate/eglFunctionList.py
@@ -199,5 +199,12 @@ EGL_FUNCTIONS = (
     # EGL_EXT_image_dma_buf_import_modifiers
     _eglFunc("eglQueryDmaBufFormatsEXT",             "display"),
     _eglFunc("eglQueryDmaBufModifiersEXT",           "display"),
+
+    # EGL_EXT_device_base
+    _eglFunc("eglQueryDeviceAttribEXT",              "device"),
+    _eglFunc("eglQueryDeviceStringEXT",              "device"),
+    _eglFunc("eglQueryDevicesEXT",                   "none"),
+    _eglFunc("eglQueryDisplayAttribEXT",             "display"),
+
 )
 
-- 
2.19.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to