mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
Generate Sources of origin/master updated at Wed Mar 23 17:45:13 GMT 2016
This commit is contained in:
parent
f2d45b6f53
commit
91666953f0
@ -1311,6 +1311,17 @@ typedef EGLBoolean ( * PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurfac
|
||||
|
||||
#endif /* EGL_KHR_lock_surface3 */
|
||||
|
||||
/* --------------------- EGL_KHR_mutable_render_buffer --------------------- */
|
||||
|
||||
#ifndef EGL_KHR_mutable_render_buffer
|
||||
#define EGL_KHR_mutable_render_buffer 1
|
||||
|
||||
#define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR 0x1000
|
||||
|
||||
#define EGLEW_KHR_mutable_render_buffer EGLEW_GET_VAR(__EGLEW_KHR_mutable_render_buffer)
|
||||
|
||||
#endif /* EGL_KHR_mutable_render_buffer */
|
||||
|
||||
/* ------------------------- EGL_KHR_partial_update ------------------------ */
|
||||
|
||||
#ifndef EGL_KHR_partial_update
|
||||
@ -2120,6 +2131,7 @@ EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_image_pixmap;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_lock_surface;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_lock_surface2;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_lock_surface3;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_mutable_render_buffer;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_partial_update;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_android;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_gbm;
|
||||
|
11
src/glew.c
11
src/glew.c
@ -14427,6 +14427,7 @@ GLboolean __EGLEW_KHR_image_pixmap = GL_FALSE;
|
||||
GLboolean __EGLEW_KHR_lock_surface = GL_FALSE;
|
||||
GLboolean __EGLEW_KHR_lock_surface2 = GL_FALSE;
|
||||
GLboolean __EGLEW_KHR_lock_surface3 = GL_FALSE;
|
||||
GLboolean __EGLEW_KHR_mutable_render_buffer = GL_FALSE;
|
||||
GLboolean __EGLEW_KHR_partial_update = GL_FALSE;
|
||||
GLboolean __EGLEW_KHR_platform_android = GL_FALSE;
|
||||
GLboolean __EGLEW_KHR_platform_gbm = GL_FALSE;
|
||||
@ -15304,6 +15305,9 @@ GLenum eglewInit (EGLDisplay display)
|
||||
EGLEW_KHR_lock_surface3 = _glewSearchExtension("EGL_KHR_lock_surface3", extStart, extEnd);
|
||||
if (glewExperimental || EGLEW_KHR_lock_surface3) EGLEW_KHR_lock_surface3 = !_glewInit_EGL_KHR_lock_surface3();
|
||||
#endif /* EGL_KHR_lock_surface3 */
|
||||
#ifdef EGL_KHR_mutable_render_buffer
|
||||
EGLEW_KHR_mutable_render_buffer = _glewSearchExtension("EGL_KHR_mutable_render_buffer", extStart, extEnd);
|
||||
#endif /* EGL_KHR_mutable_render_buffer */
|
||||
#ifdef EGL_KHR_partial_update
|
||||
EGLEW_KHR_partial_update = _glewSearchExtension("EGL_KHR_partial_update", extStart, extEnd);
|
||||
if (glewExperimental || EGLEW_KHR_partial_update) EGLEW_KHR_partial_update = !_glewInit_EGL_KHR_partial_update();
|
||||
@ -23159,6 +23163,13 @@ GLboolean eglewIsSupported (const char* name)
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef EGL_KHR_mutable_render_buffer
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"mutable_render_buffer", 21))
|
||||
{
|
||||
ret = EGLEW_KHR_mutable_render_buffer;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef EGL_KHR_partial_update
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"partial_update", 14))
|
||||
{
|
||||
|
@ -8736,6 +8736,15 @@ static void _glewInfo_EGL_KHR_lock_surface3 (void)
|
||||
|
||||
#endif /* EGL_KHR_lock_surface3 */
|
||||
|
||||
#ifdef EGL_KHR_mutable_render_buffer
|
||||
|
||||
static void _glewInfo_EGL_KHR_mutable_render_buffer (void)
|
||||
{
|
||||
glewPrintExt("EGL_KHR_mutable_render_buffer", EGLEW_KHR_mutable_render_buffer, eglewIsSupported("EGL_KHR_mutable_render_buffer"), eglewGetExtension("EGL_KHR_mutable_render_buffer"));
|
||||
}
|
||||
|
||||
#endif /* EGL_KHR_mutable_render_buffer */
|
||||
|
||||
#ifdef EGL_KHR_partial_update
|
||||
|
||||
static void _glewInfo_EGL_KHR_partial_update (void)
|
||||
@ -12889,6 +12898,9 @@ static void eglewInfo ()
|
||||
#ifdef EGL_KHR_lock_surface3
|
||||
_glewInfo_EGL_KHR_lock_surface3();
|
||||
#endif /* EGL_KHR_lock_surface3 */
|
||||
#ifdef EGL_KHR_mutable_render_buffer
|
||||
_glewInfo_EGL_KHR_mutable_render_buffer();
|
||||
#endif /* EGL_KHR_mutable_render_buffer */
|
||||
#ifdef EGL_KHR_partial_update
|
||||
_glewInfo_EGL_KHR_partial_update();
|
||||
#endif /* EGL_KHR_partial_update */
|
||||
|
Loading…
Reference in New Issue
Block a user