[Mesa-dev] [PATCH 1/2] egl: add EGL_EXT_device_base entrypoints

Emil Velikov emil.l.velikov at gmail.com
Fri Nov 2 19:06:13 UTC 2018


From: Emil Velikov <emil.velikov at 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.devir at mykolab.com
Cc: kyle.devir at mykolab.com
Cc: Eric Engestrom <eric at engestrom.ch>
Signed-off-by: Emil Velikov <emil.velikov at 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



More information about the mesa-dev mailing list