[Mesa-dev] [PATCH 2/2] egl: Add dma_buf_import_modifiers for glvnd

Daniel Stone daniels at collabora.com
Mon Jul 31 14:15:14 UTC 2017


Make sure we advertise the new entrypoints to libglvnd's EGL dispatch.

Signed-off-by: Daniel Stone <daniels at collabora.com>
Reported-by: Emmanuel Gil Peyrot <emmanuel.peyrot at collabora.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101982
Fixes: 4c412293d0e ("egl: advertise EGL_EXT_image_dma_buf_import_modifiers")
---
 src/egl/generate/eglFunctionList.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/egl/generate/eglFunctionList.py b/src/egl/generate/eglFunctionList.py
index 80cb83437c..fb5b3c30bd 100644
--- a/src/egl/generate/eglFunctionList.py
+++ b/src/egl/generate/eglFunctionList.py
@@ -195,5 +195,9 @@ EGL_FUNCTIONS = (
 
     # EGL_ANDROID_native_fence_sync
     _eglFunc("eglDupNativeFenceFDANDROID",           "display"),
+
+    # EGL_EXT_image_dma_buf_import_modifiers
+    _eglFunc("eglQueryDmaBufFormatsEXT",             "display"),
+    _eglFunc("eglQueryDmaBufModifiersEXT",           "display"),
 )
 
-- 
2.13.3



More information about the mesa-dev mailing list