mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
external: Update EGL with another extension
This commit is contained in:
parent
8992f79257
commit
7d51bbef27
1
src/external/glad/command.sh
vendored
1
src/external/glad/command.sh
vendored
|
@ -35,6 +35,7 @@ EGL_KHR_wait_sync,\
|
|||
EGL_KHR_image,\
|
||||
EGL_KHR_image_base,\
|
||||
EGL_KHR_platform_android,\
|
||||
EGL_KHR_no_config_context,\
|
||||
EGL_EXT_image_gl_colorspace,\
|
||||
EGL_EXT_image_dma_buf_import,\
|
||||
EGL_EXT_image_dma_buf_import_modifiers,\
|
||||
|
|
11
src/external/glad/include/glad/egl.h
vendored
11
src/external/glad/include/glad/egl.h
vendored
|
@ -1,9 +1,9 @@
|
|||
/**
|
||||
* Loader generated by glad 2.0.0-beta on Fri Dec 18 17:45:30 2020
|
||||
* Loader generated by glad 2.0.0-beta on Wed Mar 3 17:01:11 2021
|
||||
*
|
||||
* Generator: C/C++
|
||||
* Specification: egl
|
||||
* Extensions: 16
|
||||
* Extensions: 17
|
||||
*
|
||||
* APIs:
|
||||
* - egl=1.4
|
||||
|
@ -18,10 +18,10 @@
|
|||
* - ON_DEMAND = False
|
||||
*
|
||||
* Commandline:
|
||||
* --merge --api='egl=1.4' --extensions='EGL_ANDROID_front_buffer_auto_refresh,EGL_ANDROID_get_native_client_buffer,EGL_ANDROID_image_native_buffer,EGL_ANDROID_native_fence_sync,EGL_EXT_image_dma_buf_import,EGL_EXT_image_dma_buf_import_modifiers,EGL_EXT_image_gl_colorspace,EGL_IMG_context_priority,EGL_KHR_create_context,EGL_KHR_fence_sync,EGL_KHR_gl_colorspace,EGL_KHR_image,EGL_KHR_image_base,EGL_KHR_platform_android,EGL_KHR_reusable_sync,EGL_KHR_wait_sync' c
|
||||
* --merge --api='egl=1.4' --extensions='EGL_ANDROID_front_buffer_auto_refresh,EGL_ANDROID_get_native_client_buffer,EGL_ANDROID_image_native_buffer,EGL_ANDROID_native_fence_sync,EGL_EXT_image_dma_buf_import,EGL_EXT_image_dma_buf_import_modifiers,EGL_EXT_image_gl_colorspace,EGL_IMG_context_priority,EGL_KHR_create_context,EGL_KHR_fence_sync,EGL_KHR_gl_colorspace,EGL_KHR_image,EGL_KHR_image_base,EGL_KHR_no_config_context,EGL_KHR_platform_android,EGL_KHR_reusable_sync,EGL_KHR_wait_sync' c
|
||||
*
|
||||
* Online:
|
||||
* http://glad.sh/#api=egl%3D1.4&extensions=EGL_ANDROID_front_buffer_auto_refresh%2CEGL_ANDROID_get_native_client_buffer%2CEGL_ANDROID_image_native_buffer%2CEGL_ANDROID_native_fence_sync%2CEGL_EXT_image_dma_buf_import%2CEGL_EXT_image_dma_buf_import_modifiers%2CEGL_EXT_image_gl_colorspace%2CEGL_IMG_context_priority%2CEGL_KHR_create_context%2CEGL_KHR_fence_sync%2CEGL_KHR_gl_colorspace%2CEGL_KHR_image%2CEGL_KHR_image_base%2CEGL_KHR_platform_android%2CEGL_KHR_reusable_sync%2CEGL_KHR_wait_sync&generator=c&options=MERGE
|
||||
* http://glad.sh/#api=egl%3D1.4&extensions=EGL_ANDROID_front_buffer_auto_refresh%2CEGL_ANDROID_get_native_client_buffer%2CEGL_ANDROID_image_native_buffer%2CEGL_ANDROID_native_fence_sync%2CEGL_EXT_image_dma_buf_import%2CEGL_EXT_image_dma_buf_import_modifiers%2CEGL_EXT_image_gl_colorspace%2CEGL_IMG_context_priority%2CEGL_KHR_create_context%2CEGL_KHR_fence_sync%2CEGL_KHR_gl_colorspace%2CEGL_KHR_image%2CEGL_KHR_image_base%2CEGL_KHR_no_config_context%2CEGL_KHR_platform_android%2CEGL_KHR_reusable_sync%2CEGL_KHR_wait_sync&generator=c&options=MERGE
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -276,6 +276,7 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro
|
|||
#define EGL_NONE 0x3038
|
||||
#define EGL_NON_CONFORMANT_CONFIG 0x3051
|
||||
#define EGL_NOT_INITIALIZED 0x3001
|
||||
#define EGL_NO_CONFIG_KHR EGL_CAST(EGLConfig,0)
|
||||
#define EGL_NO_CONTEXT EGL_CAST(EGLContext,0)
|
||||
#define EGL_NO_DISPLAY EGL_CAST(EGLDisplay,0)
|
||||
#define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0)
|
||||
|
@ -512,6 +513,8 @@ GLAD_API_CALL int GLAD_EGL_KHR_gl_colorspace;
|
|||
GLAD_API_CALL int GLAD_EGL_KHR_image;
|
||||
#define EGL_KHR_image_base 1
|
||||
GLAD_API_CALL int GLAD_EGL_KHR_image_base;
|
||||
#define EGL_KHR_no_config_context 1
|
||||
GLAD_API_CALL int GLAD_EGL_KHR_no_config_context;
|
||||
#define EGL_KHR_platform_android 1
|
||||
GLAD_API_CALL int GLAD_EGL_KHR_platform_android;
|
||||
#define EGL_KHR_reusable_sync 1
|
||||
|
|
2
src/external/glad/include/glad/gl.h
vendored
2
src/external/glad/include/glad/gl.h
vendored
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Loader generated by glad 2.0.0-beta on Fri Dec 18 17:45:30 2020
|
||||
* Loader generated by glad 2.0.0-beta on Wed Mar 3 17:01:11 2021
|
||||
*
|
||||
* Generator: C/C++
|
||||
* Specification: gl
|
||||
|
|
2
src/external/glad/src/egl.c
vendored
2
src/external/glad/src/egl.c
vendored
|
@ -38,6 +38,7 @@ int GLAD_EGL_KHR_fence_sync = 0;
|
|||
int GLAD_EGL_KHR_gl_colorspace = 0;
|
||||
int GLAD_EGL_KHR_image = 0;
|
||||
int GLAD_EGL_KHR_image_base = 0;
|
||||
int GLAD_EGL_KHR_no_config_context = 0;
|
||||
int GLAD_EGL_KHR_platform_android = 0;
|
||||
int GLAD_EGL_KHR_reusable_sync = 0;
|
||||
int GLAD_EGL_KHR_wait_sync = 0;
|
||||
|
@ -230,6 +231,7 @@ static int glad_egl_find_extensions_egl(EGLDisplay display) {
|
|||
GLAD_EGL_KHR_gl_colorspace = glad_egl_has_extension(extensions, "EGL_KHR_gl_colorspace");
|
||||
GLAD_EGL_KHR_image = glad_egl_has_extension(extensions, "EGL_KHR_image");
|
||||
GLAD_EGL_KHR_image_base = glad_egl_has_extension(extensions, "EGL_KHR_image_base");
|
||||
GLAD_EGL_KHR_no_config_context = glad_egl_has_extension(extensions, "EGL_KHR_no_config_context");
|
||||
GLAD_EGL_KHR_platform_android = glad_egl_has_extension(extensions, "EGL_KHR_platform_android");
|
||||
GLAD_EGL_KHR_reusable_sync = glad_egl_has_extension(extensions, "EGL_KHR_reusable_sync");
|
||||
GLAD_EGL_KHR_wait_sync = glad_egl_has_extension(extensions, "EGL_KHR_wait_sync");
|
||||
|
|
Loading…
Reference in a new issue