mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-22 06:35:07 +00:00
Generate Sources of master updated at Fri Jun 23 00:01:47 GMT 2023
This commit is contained in:
parent
4ed6aac84b
commit
61ff0a2a04
@ -2791,6 +2791,17 @@ typedef EGLuint64NV ( * PFNEGLGETSYSTEMTIMENVPROC) (void);
|
||||
|
||||
#endif /* EGL_NV_triple_buffer */
|
||||
|
||||
/* ---------------------- EGL_QNX_image_native_buffer ---------------------- */
|
||||
|
||||
#ifndef EGL_QNX_image_native_buffer
|
||||
#define EGL_QNX_image_native_buffer 1
|
||||
|
||||
#define EGL_NATIVE_BUFFER_QNX 0x3551
|
||||
|
||||
#define EGLEW_QNX_image_native_buffer EGLEW_GET_VAR(__EGLEW_QNX_image_native_buffer)
|
||||
|
||||
#endif /* EGL_QNX_image_native_buffer */
|
||||
|
||||
/* ------------------------ EGL_QNX_platform_screen ------------------------ */
|
||||
|
||||
#ifndef EGL_QNX_platform_screen
|
||||
@ -3244,6 +3255,7 @@ EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_sync;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_sync;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_system_time;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_triple_buffer;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_QNX_image_native_buffer;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_QNX_platform_screen;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_TIZEN_image_native_buffer;
|
||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_TIZEN_image_native_surface;
|
||||
|
11
src/glew.c
11
src/glew.c
@ -19982,6 +19982,7 @@ GLboolean __EGLEW_NV_stream_sync = GL_FALSE;
|
||||
GLboolean __EGLEW_NV_sync = GL_FALSE;
|
||||
GLboolean __EGLEW_NV_system_time = GL_FALSE;
|
||||
GLboolean __EGLEW_NV_triple_buffer = GL_FALSE;
|
||||
GLboolean __EGLEW_QNX_image_native_buffer = GL_FALSE;
|
||||
GLboolean __EGLEW_QNX_platform_screen = GL_FALSE;
|
||||
GLboolean __EGLEW_TIZEN_image_native_buffer = GL_FALSE;
|
||||
GLboolean __EGLEW_TIZEN_image_native_surface = GL_FALSE;
|
||||
@ -21434,6 +21435,9 @@ GLenum eglewInit (EGLDisplay display)
|
||||
#ifdef EGL_NV_triple_buffer
|
||||
EGLEW_NV_triple_buffer = _glewSearchExtension("EGL_NV_triple_buffer", extStart, extEnd);
|
||||
#endif /* EGL_NV_triple_buffer */
|
||||
#ifdef EGL_QNX_image_native_buffer
|
||||
EGLEW_QNX_image_native_buffer = _glewSearchExtension("EGL_QNX_image_native_buffer", extStart, extEnd);
|
||||
#endif /* EGL_QNX_image_native_buffer */
|
||||
#ifdef EGL_QNX_platform_screen
|
||||
EGLEW_QNX_platform_screen = _glewSearchExtension("EGL_QNX_platform_screen", extStart, extEnd);
|
||||
#endif /* EGL_QNX_platform_screen */
|
||||
@ -32556,6 +32560,13 @@ GLboolean eglewIsSupported (const char* name)
|
||||
}
|
||||
if (_glewStrSame2(&pos, &len, (const GLubyte*)"QNX_", 4))
|
||||
{
|
||||
#ifdef EGL_QNX_image_native_buffer
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_native_buffer", 19))
|
||||
{
|
||||
ret = EGLEW_QNX_image_native_buffer;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef EGL_QNX_platform_screen
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_screen", 15))
|
||||
{
|
||||
|
@ -13523,6 +13523,15 @@ static void _glewInfo_EGL_NV_triple_buffer (void)
|
||||
|
||||
#endif /* EGL_NV_triple_buffer */
|
||||
|
||||
#ifdef EGL_QNX_image_native_buffer
|
||||
|
||||
static void _glewInfo_EGL_QNX_image_native_buffer (void)
|
||||
{
|
||||
glewPrintExt("EGL_QNX_image_native_buffer", EGLEW_QNX_image_native_buffer, eglewIsSupported("EGL_QNX_image_native_buffer"), eglewGetExtension("EGL_QNX_image_native_buffer"));
|
||||
}
|
||||
|
||||
#endif /* EGL_QNX_image_native_buffer */
|
||||
|
||||
#ifdef EGL_QNX_platform_screen
|
||||
|
||||
static void _glewInfo_EGL_QNX_platform_screen (void)
|
||||
@ -18829,6 +18838,9 @@ static void eglewInfo ()
|
||||
#ifdef EGL_NV_triple_buffer
|
||||
_glewInfo_EGL_NV_triple_buffer();
|
||||
#endif /* EGL_NV_triple_buffer */
|
||||
#ifdef EGL_QNX_image_native_buffer
|
||||
_glewInfo_EGL_QNX_image_native_buffer();
|
||||
#endif /* EGL_QNX_image_native_buffer */
|
||||
#ifdef EGL_QNX_platform_screen
|
||||
_glewInfo_EGL_QNX_platform_screen();
|
||||
#endif /* EGL_QNX_platform_screen */
|
||||
|
Loading…
Reference in New Issue
Block a user