mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-02-19 15:10:42 +00:00
Generate Sources of master updated at Tue Aug 24 00:01:50 GMT 2021
This commit is contained in:
parent
b832da25bc
commit
7c5c9d5f6b
@ -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;
|
||||
|
11
src/glew.c
11
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))
|
||||
{
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user