mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-27 00:51:55 +00:00
Generate Sources of origin/master updated at Wed May 11 17:45:53 GMT 2016
This commit is contained in:
parent
bc1a01e903
commit
6f3f61c68e
@ -858,6 +858,17 @@ typedef EGLDisplay ( * PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, voi
|
||||
|
||||
#endif /* EGL_EXT_platform_x11 */
|
||||
|
||||
/* ----------------------- EGL_EXT_protected_content ----------------------- */
|
||||
|
||||
#ifndef EGL_EXT_protected_content
|
||||
#define EGL_EXT_protected_content 1
|
||||
|
||||
#define EGL_PROTECTED_CONTENT_EXT 0x32C0
|
||||
|
||||
#define EGLEW_EXT_protected_content EGLEW_GET_VAR(__EGLEW_EXT_protected_content)
|
||||
|
||||
#endif /* EGL_EXT_protected_content */
|
||||
|
||||
/* ----------------------- EGL_EXT_protected_surface ----------------------- */
|
||||
|
||||
#ifndef EGL_EXT_protected_surface
|
||||
@ -2103,6 +2114,7 @@ EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_base;
|
||||
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_protected_content;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_protected_surface;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_stream_consumer_egloutput;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_swap_buffers_with_damage;
|
||||
|
11
src/glew.c
11
src/glew.c
@ -14442,6 +14442,7 @@ GLboolean __EGLEW_EXT_platform_base = GL_FALSE;
|
||||
GLboolean __EGLEW_EXT_platform_device = GL_FALSE;
|
||||
GLboolean __EGLEW_EXT_platform_wayland = GL_FALSE;
|
||||
GLboolean __EGLEW_EXT_platform_x11 = GL_FALSE;
|
||||
GLboolean __EGLEW_EXT_protected_content = GL_FALSE;
|
||||
GLboolean __EGLEW_EXT_protected_surface = GL_FALSE;
|
||||
GLboolean __EGLEW_EXT_stream_consumer_egloutput = GL_FALSE;
|
||||
GLboolean __EGLEW_EXT_swap_buffers_with_damage = GL_FALSE;
|
||||
@ -15256,6 +15257,9 @@ GLenum eglewInit (EGLDisplay display)
|
||||
#ifdef EGL_EXT_platform_x11
|
||||
EGLEW_EXT_platform_x11 = _glewSearchExtension("EGL_EXT_platform_x11", extStart, extEnd);
|
||||
#endif /* EGL_EXT_platform_x11 */
|
||||
#ifdef EGL_EXT_protected_content
|
||||
EGLEW_EXT_protected_content = _glewSearchExtension("EGL_EXT_protected_content", extStart, extEnd);
|
||||
#endif /* EGL_EXT_protected_content */
|
||||
#ifdef EGL_EXT_protected_surface
|
||||
EGLEW_EXT_protected_surface = _glewSearchExtension("EGL_EXT_protected_surface", extStart, extEnd);
|
||||
#endif /* EGL_EXT_protected_surface */
|
||||
@ -23019,6 +23023,13 @@ GLboolean eglewIsSupported (const char* name)
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef EGL_EXT_protected_content
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"protected_content", 17))
|
||||
{
|
||||
ret = EGLEW_EXT_protected_content;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef EGL_EXT_protected_surface
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"protected_surface", 17))
|
||||
{
|
||||
|
@ -8479,6 +8479,15 @@ static void _glewInfo_EGL_EXT_platform_x11 (void)
|
||||
|
||||
#endif /* EGL_EXT_platform_x11 */
|
||||
|
||||
#ifdef EGL_EXT_protected_content
|
||||
|
||||
static void _glewInfo_EGL_EXT_protected_content (void)
|
||||
{
|
||||
glewPrintExt("EGL_EXT_protected_content", EGLEW_EXT_protected_content, eglewIsSupported("EGL_EXT_protected_content"), eglewGetExtension("EGL_EXT_protected_content"));
|
||||
}
|
||||
|
||||
#endif /* EGL_EXT_protected_content */
|
||||
|
||||
#ifdef EGL_EXT_protected_surface
|
||||
|
||||
static void _glewInfo_EGL_EXT_protected_surface (void)
|
||||
@ -12844,6 +12853,9 @@ static void eglewInfo ()
|
||||
#ifdef EGL_EXT_platform_x11
|
||||
_glewInfo_EGL_EXT_platform_x11();
|
||||
#endif /* EGL_EXT_platform_x11 */
|
||||
#ifdef EGL_EXT_protected_content
|
||||
_glewInfo_EGL_EXT_protected_content();
|
||||
#endif /* EGL_EXT_protected_content */
|
||||
#ifdef EGL_EXT_protected_surface
|
||||
_glewInfo_EGL_EXT_protected_surface();
|
||||
#endif /* EGL_EXT_protected_surface */
|
||||
|
Loading…
Reference in New Issue
Block a user