From 7c5c9d5f6b9cad2b0dfae5d281c005ff557d09a7 Mon Sep 17 00:00:00 2001 From: Gyusun Date: Tue, 24 Aug 2021 00:01:50 +0000 Subject: [PATCH] Generate Sources of master updated at Tue Aug 24 00:01:50 GMT 2021 --- include/GL/eglew.h | 12 ++++++++++++ src/glew.c | 11 +++++++++++ src/glewinfo.c | 12 ++++++++++++ 3 files changed, 35 insertions(+) diff --git a/include/GL/eglew.h b/include/GL/eglew.h index 64fe1e5..9b33dfc 100644 --- a/include/GL/eglew.h +++ b/include/GL/eglew.h @@ -1266,6 +1266,17 @@ typedef EGLDisplay ( * PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void* #endif /* EGL_EXT_platform_xcb */ +/* ------------------------- EGL_EXT_present_opaque ------------------------ */ + +#ifndef EGL_EXT_present_opaque +#define EGL_EXT_present_opaque 1 + +#define EGL_PRESENT_OPAQUE_EXT 0x31DF + +#define EGLEW_EXT_present_opaque EGLEW_GET_VAR(__EGLEW_EXT_present_opaque) + +#endif /* EGL_EXT_present_opaque */ + /* ----------------------- EGL_EXT_protected_content ----------------------- */ #ifndef EGL_EXT_protected_content @@ -3054,6 +3065,7 @@ EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_device; EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_wayland; EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_x11; EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_xcb; +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_present_opaque; EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_protected_content; EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_protected_surface; EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_stream_consumer_egloutput; diff --git a/src/glew.c b/src/glew.c index 69f1365..0335955 100644 --- a/src/glew.c +++ b/src/glew.c @@ -19761,6 +19761,7 @@ GLboolean __EGLEW_EXT_platform_device = GL_FALSE; GLboolean __EGLEW_EXT_platform_wayland = GL_FALSE; GLboolean __EGLEW_EXT_platform_x11 = GL_FALSE; GLboolean __EGLEW_EXT_platform_xcb = GL_FALSE; +GLboolean __EGLEW_EXT_present_opaque = GL_FALSE; GLboolean __EGLEW_EXT_protected_content = GL_FALSE; GLboolean __EGLEW_EXT_protected_surface = GL_FALSE; GLboolean __EGLEW_EXT_stream_consumer_egloutput = GL_FALSE; @@ -20956,6 +20957,9 @@ GLenum eglewInit (EGLDisplay display) #ifdef EGL_EXT_platform_xcb EGLEW_EXT_platform_xcb = _glewSearchExtension("EGL_EXT_platform_xcb", extStart, extEnd); #endif /* EGL_EXT_platform_xcb */ +#ifdef EGL_EXT_present_opaque + EGLEW_EXT_present_opaque = _glewSearchExtension("EGL_EXT_present_opaque", extStart, extEnd); +#endif /* EGL_EXT_present_opaque */ #ifdef EGL_EXT_protected_content EGLEW_EXT_protected_content = _glewSearchExtension("EGL_EXT_protected_content", extStart, extEnd); #endif /* EGL_EXT_protected_content */ @@ -31620,6 +31624,13 @@ GLboolean eglewIsSupported (const char* name) continue; } #endif +#ifdef EGL_EXT_present_opaque + if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_opaque", 14)) + { + ret = EGLEW_EXT_present_opaque; + continue; + } +#endif #ifdef EGL_EXT_protected_content if (_glewStrSame3(&pos, &len, (const GLubyte*)"protected_content", 17)) { diff --git a/src/glewinfo.c b/src/glewinfo.c index 358056e..e45a947 100644 --- a/src/glewinfo.c +++ b/src/glewinfo.c @@ -12432,6 +12432,15 @@ static void _glewInfo_EGL_EXT_platform_xcb (void) #endif /* EGL_EXT_platform_xcb */ +#ifdef EGL_EXT_present_opaque + +static void _glewInfo_EGL_EXT_present_opaque (void) +{ + glewPrintExt("EGL_EXT_present_opaque", EGLEW_EXT_present_opaque, eglewIsSupported("EGL_EXT_present_opaque"), eglewGetExtension("EGL_EXT_present_opaque")); +} + +#endif /* EGL_EXT_present_opaque */ + #ifdef EGL_EXT_protected_content static void _glewInfo_EGL_EXT_protected_content (void) @@ -18374,6 +18383,9 @@ static void eglewInfo () #ifdef EGL_EXT_platform_xcb _glewInfo_EGL_EXT_platform_xcb(); #endif /* EGL_EXT_platform_xcb */ +#ifdef EGL_EXT_present_opaque + _glewInfo_EGL_EXT_present_opaque(); +#endif /* EGL_EXT_present_opaque */ #ifdef EGL_EXT_protected_content _glewInfo_EGL_EXT_protected_content(); #endif /* EGL_EXT_protected_content */