egl: sync eglext.h & egl.xml from Khronos

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Simon Ser <contact@emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12373>
This commit is contained in:
Eric Engestrom 2021-08-18 18:58:36 +01:00 committed by Marge Bot
parent d071a241f4
commit fe46280748
2 changed files with 38 additions and 4 deletions

View File

@ -14,12 +14,12 @@ extern "C" {
** 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
@ -651,6 +651,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSwapPolicyEXT (EGLint external_win_id
#endif
#endif /* EGL_EXT_compositor */
#ifndef EGL_EXT_config_select_group
#define EGL_EXT_config_select_group 1
#define EGL_CONFIG_SELECT_GROUP_EXT 0x34C0
#endif /* EGL_EXT_config_select_group */
#ifndef EGL_EXT_create_context_robustness
#define EGL_EXT_create_context_robustness 1
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF
@ -702,6 +707,10 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a
#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
@ -895,6 +904,11 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy,
#define EGL_PLATFORM_XCB_SCREEN_EXT 0x31DE
#endif /* EGL_EXT_platform_xcb */
#ifndef EGL_EXT_present_opaque
#define EGL_EXT_present_opaque 1
#define EGL_PRESENT_OPAQUE_EXT 0x31DF
#endif /* EGL_EXT_present_opaque */
#ifndef EGL_EXT_protected_content
#define EGL_EXT_protected_content 1
#define EGL_PROTECTED_CONTENT_EXT 0x32C0

View File

@ -575,7 +575,7 @@
<enum value="0x31DC" name="EGL_PLATFORM_XCB_EXT"/>
<enum value="0x31DD" name="EGL_PLATFORM_SURFACELESS_MESA"/>
<enum value="0x31DE" name="EGL_PLATFORM_XCB_SCREEN_EXT"/>
<unused start="0x31DF" end="0x31DF"/>
<enum value="0x31DF" name="EGL_PRESENT_OPAQUE_EXT"/>
</enums>
<!-- Due to an oversight in development, these enums alias the above MESA
@ -1030,7 +1030,8 @@
</enums>
<enums namespace="EGL" start="0x34C0" end="0x34CF" vendor="EXT" comment="Reserved for Robert Mader (PR 124)">
<unused start="0x34C0" end="0x34CF"/>
<enum value="0x34C0" name="EGL_CONFIG_SELECT_GROUP_EXT"/>
<unused start="0x34C1" end="0x34CF"/>
</enums>
<!-- Please remember that new enumerant allocations must be obtained by
@ -1989,6 +1990,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. -->
@ -2388,6 +2397,11 @@
<command name="eglClientSignalSyncEXT"/>
</require>
</extension>
<extension name="EGL_EXT_config_select_group" supported="egl">
<require>
<enum name="EGL_CONFIG_SELECT_GROUP_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_create_context_robustness" supported="egl">
<require>
<enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT"/>
@ -2590,6 +2604,11 @@
<enum name="EGL_PLATFORM_XCB_SCREEN_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_present_opaque" supported="egl">
<require>
<enum name="EGL_PRESENT_OPAQUE_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_protected_content" supported="egl">
<require>
<enum name="EGL_PROTECTED_CONTENT_EXT"/>
@ -3430,6 +3449,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">