egl: Add dma_buf_import_modifiers for glvnd
authorDaniel Stone <daniels@collabora.com>
Mon, 31 Jul 2017 14:09:16 +0000 (15:09 +0100)
committerDaniel Stone <daniels@collabora.com>
Mon, 21 Aug 2017 11:13:50 +0000 (12:13 +0100)
Make sure we advertise the new entrypoints to libglvnd's EGL dispatch.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reported-by: Emmanuel Gil Peyrot <emmanuel.peyrot@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

index 80cb83437c0c856ff3726a1e5740940b4c59edc7..fb5b3c30bdf1806b6ae54d53cd31405bf26ab8e7 100644 (file)
@@ -195,5 +195,9 @@ EGL_FUNCTIONS = (
 
     # EGL_ANDROID_native_fence_sync
     _eglFunc("eglDupNativeFenceFDANDROID",           "display"),
 
     # EGL_ANDROID_native_fence_sync
     _eglFunc("eglDupNativeFenceFDANDROID",           "display"),
+
+    # EGL_EXT_image_dma_buf_import_modifiers
+    _eglFunc("eglQueryDmaBufFormatsEXT",             "display"),
+    _eglFunc("eglQueryDmaBufModifiersEXT",           "display"),
 )
 
 )