Add eglQueryDeviceBinaryEXT to egl.xml. (#129)
Add the missing eglQueryDeviceBinaryEXT function for the
EGL_EXT_device_persistent_id extension to egl.xml.
diff --git a/api/EGL/eglext.h b/api/EGL/eglext.h
index a7ca1f3..0f4d8f2 100644
--- a/api/EGL/eglext.h
+++ b/api/EGL/eglext.h
@@ -14,12 +14,12 @@
** used to make the header, and the header can be found at
** http://www.khronos.org/registry/egl
**
-** Khronos $Git commit SHA1: e8baa0bf39 $ on $Git commit date: 2021-04-26 17:56:26 -0600 $
+** Khronos $Git commit SHA1: dc0b58dca5 $ on $Git commit date: 2021-06-25 01:58:50 +0200 $
*/
#include <EGL/eglplatform.h>
-#define EGL_EGLEXT_VERSION 20210604
+#define EGL_EGLEXT_VERSION 20210629
/* Generated C header for:
* API: egl
@@ -702,6 +702,10 @@
#define EGL_DEVICE_UUID_EXT 0x335C
#define EGL_DRIVER_UUID_EXT 0x335D
#define EGL_DRIVER_NAME_EXT 0x335E
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEBINARYEXTPROC) (EGLDeviceEXT device, EGLint name, EGLint max_size, void *value, EGLint *size);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceBinaryEXT (EGLDeviceEXT device, EGLint name, EGLint max_size, void *value, EGLint *size);
+#endif
#endif /* EGL_EXT_device_persistent_id */
#ifndef EGL_EXT_device_query
diff --git a/api/egl.xml b/api/egl.xml
index 77c0546..b5f7370 100644
--- a/api/egl.xml
+++ b/api/egl.xml
@@ -1989,6 +1989,14 @@
<param><ptype>EGLImage</ptype> <name>image</name></param>
<param><ptype>EGLSync</ptype> <name>sync</name></param>
</command>
+ <command>
+ <proto><ptype>EGLBoolean</ptype> <name>eglQueryDeviceBinaryEXT</name></proto>
+ <param><ptype>EGLDeviceEXT</ptype> <name>device</name></param>
+ <param><ptype>EGLint</ptype> <name>name</name></param>
+ <param><ptype>EGLint</ptype> <name>max_size</name></param>
+ <param>void *<name>value</name></param>
+ <param>EGLint *<name>size</name></param>
+ </command>
</commands>
<!-- SECTION: EGL API interface definitions. -->
@@ -3430,6 +3438,7 @@
<enum name="EGL_DEVICE_UUID_EXT"/>
<enum name="EGL_DRIVER_UUID_EXT"/>
<enum name="EGL_DRIVER_NAME_EXT"/>
+ <command name="eglQueryDeviceBinaryEXT"/>
</require>
</extension>
<extension name="EGL_EXT_device_drm_render_node" supported="egl">