Upgrade GLEW to version 1.5.7:
New extension: GL_NVX_gpu_memory_info Bug fixes: Improved mingw32 build support Improved cygwin build support glGetPointervEXT fix Add GLEW_VERSION_1_2_1 Fixes issue 3798. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6689 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
469e81e2fd
commit
613b0f4c51
|
@ -149,7 +149,7 @@ typedef unsigned short wchar_t;
|
|||
# define _W64
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_)
|
||||
#if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) && !defined(__MINGW64__)
|
||||
# ifdef _WIN64
|
||||
typedef __int64 ptrdiff_t;
|
||||
# else
|
||||
|
@ -1233,6 +1233,15 @@ typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level,
|
|||
|
||||
#endif /* GL_VERSION_1_2 */
|
||||
|
||||
/* ---------------------------- GL_VERSION_1_2_1 --------------------------- */
|
||||
|
||||
#ifndef GL_VERSION_1_2_1
|
||||
#define GL_VERSION_1_2_1 1
|
||||
|
||||
#define GLEW_VERSION_1_2_1 GLEW_GET_VAR(__GLEW_VERSION_1_2_1)
|
||||
|
||||
#endif /* GL_VERSION_1_2_1 */
|
||||
|
||||
/* ----------------------------- GL_VERSION_1_3 ---------------------------- */
|
||||
|
||||
#ifndef GL_VERSION_1_3
|
||||
|
@ -8964,7 +8973,6 @@ typedef void (GLAPIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i);
|
|||
typedef void (GLAPIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer);
|
||||
typedef void (GLAPIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
|
||||
typedef void (GLAPIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean* pointer);
|
||||
typedef void (GLAPIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, void** params);
|
||||
typedef void (GLAPIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void* pointer);
|
||||
typedef void (GLAPIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void* pointer);
|
||||
typedef void (GLAPIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer);
|
||||
|
@ -8974,7 +8982,6 @@ typedef void (GLAPIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type,
|
|||
#define glColorPointerEXT GLEW_GET_FUN(__glewColorPointerEXT)
|
||||
#define glDrawArraysEXT GLEW_GET_FUN(__glewDrawArraysEXT)
|
||||
#define glEdgeFlagPointerEXT GLEW_GET_FUN(__glewEdgeFlagPointerEXT)
|
||||
#define glGetPointervEXT GLEW_GET_FUN(__glewGetPointervEXT)
|
||||
#define glIndexPointerEXT GLEW_GET_FUN(__glewIndexPointerEXT)
|
||||
#define glNormalPointerEXT GLEW_GET_FUN(__glewNormalPointerEXT)
|
||||
#define glTexCoordPointerEXT GLEW_GET_FUN(__glewTexCoordPointerEXT)
|
||||
|
@ -9662,6 +9669,21 @@ typedef void (GLAPIENTRY * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort* p);
|
|||
|
||||
#endif /* GL_MESA_ycbcr_texture */
|
||||
|
||||
/* ------------------------- GL_NVX_gpu_memory_info ------------------------ */
|
||||
|
||||
#ifndef GL_NVX_gpu_memory_info
|
||||
#define GL_NVX_gpu_memory_info 1
|
||||
|
||||
#define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
|
||||
#define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
|
||||
#define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
|
||||
#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
|
||||
#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
|
||||
|
||||
#define GLEW_NVX_gpu_memory_info GLEW_GET_VAR(__GLEW_NVX_gpu_memory_info)
|
||||
|
||||
#endif /* GL_NVX_gpu_memory_info */
|
||||
|
||||
/* --------------------------- GL_NV_blend_square -------------------------- */
|
||||
|
||||
#ifndef GL_NV_blend_square
|
||||
|
@ -11280,8 +11302,8 @@ typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint
|
|||
typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble* params);
|
||||
typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
||||
typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat* params);
|
||||
typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint num, const GLdouble* params);
|
||||
typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint num, const GLfloat* params);
|
||||
typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei num, const GLdouble* params);
|
||||
typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei num, const GLfloat* params);
|
||||
typedef void (GLAPIENTRY * PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, GLuint* ids);
|
||||
typedef void (GLAPIENTRY * PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
|
||||
typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
|
||||
|
@ -14188,7 +14210,6 @@ GLEW_FUN_EXPORT PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT;
|
|||
GLEW_FUN_EXPORT PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT;
|
||||
GLEW_FUN_EXPORT PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT;
|
||||
GLEW_FUN_EXPORT PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT;
|
||||
GLEW_FUN_EXPORT PFNGLGETPOINTERVEXTPROC __glewGetPointervEXT;
|
||||
GLEW_FUN_EXPORT PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT;
|
||||
GLEW_FUN_EXPORT PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT;
|
||||
GLEW_FUN_EXPORT PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT;
|
||||
|
@ -14793,6 +14814,7 @@ struct GLEWContextStruct
|
|||
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_1;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_2;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_2_1;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_3;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_4;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_5;
|
||||
|
@ -15067,6 +15089,7 @@ GLEW_VAR_EXPORT GLboolean __GLEW_MESA_pack_invert;
|
|||
GLEW_VAR_EXPORT GLboolean __GLEW_MESA_resize_buffers;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_MESA_window_pos;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_MESA_ycbcr_texture;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NVX_gpu_memory_info;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_blend_square;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_conditional_render;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_copy_depth_to_color;
|
||||
|
|
|
@ -1756,7 +1756,6 @@ PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT = NULL;
|
|||
PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT = NULL;
|
||||
PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT = NULL;
|
||||
PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT = NULL;
|
||||
PFNGLGETPOINTERVEXTPROC __glewGetPointervEXT = NULL;
|
||||
PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT = NULL;
|
||||
PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT = NULL;
|
||||
PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL;
|
||||
|
@ -2360,6 +2359,7 @@ PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN = NULL;
|
|||
|
||||
GLboolean __GLEW_VERSION_1_1 = GL_FALSE;
|
||||
GLboolean __GLEW_VERSION_1_2 = GL_FALSE;
|
||||
GLboolean __GLEW_VERSION_1_2_1 = GL_FALSE;
|
||||
GLboolean __GLEW_VERSION_1_3 = GL_FALSE;
|
||||
GLboolean __GLEW_VERSION_1_4 = GL_FALSE;
|
||||
GLboolean __GLEW_VERSION_1_5 = GL_FALSE;
|
||||
|
@ -2634,6 +2634,7 @@ GLboolean __GLEW_MESA_pack_invert = GL_FALSE;
|
|||
GLboolean __GLEW_MESA_resize_buffers = GL_FALSE;
|
||||
GLboolean __GLEW_MESA_window_pos = GL_FALSE;
|
||||
GLboolean __GLEW_MESA_ycbcr_texture = GL_FALSE;
|
||||
GLboolean __GLEW_NVX_gpu_memory_info = GL_FALSE;
|
||||
GLboolean __GLEW_NV_blend_square = GL_FALSE;
|
||||
GLboolean __GLEW_NV_conditional_render = GL_FALSE;
|
||||
GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE;
|
||||
|
@ -2786,6 +2787,10 @@ static GLboolean _glewInit_GL_VERSION_1_2 (GLEW_CONTEXT_ARG_DEF_INIT)
|
|||
|
||||
#endif /* GL_VERSION_1_2 */
|
||||
|
||||
#ifdef GL_VERSION_1_2_1
|
||||
|
||||
#endif /* GL_VERSION_1_2_1 */
|
||||
|
||||
#ifdef GL_VERSION_1_3
|
||||
|
||||
static GLboolean _glewInit_GL_VERSION_1_3 (GLEW_CONTEXT_ARG_DEF_INIT)
|
||||
|
@ -6217,7 +6222,6 @@ static GLboolean _glewInit_GL_EXT_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT)
|
|||
r = ((glColorPointerEXT = (PFNGLCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glColorPointerEXT")) == NULL) || r;
|
||||
r = ((glDrawArraysEXT = (PFNGLDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysEXT")) == NULL) || r;
|
||||
r = ((glEdgeFlagPointerEXT = (PFNGLEDGEFLAGPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerEXT")) == NULL) || r;
|
||||
r = ((glGetPointervEXT = (PFNGLGETPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointervEXT")) == NULL) || r;
|
||||
r = ((glIndexPointerEXT = (PFNGLINDEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerEXT")) == NULL) || r;
|
||||
r = ((glNormalPointerEXT = (PFNGLNORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerEXT")) == NULL) || r;
|
||||
r = ((glTexCoordPointerEXT = (PFNGLTEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerEXT")) == NULL) || r;
|
||||
|
@ -6546,6 +6550,10 @@ static GLboolean _glewInit_GL_MESA_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)
|
|||
|
||||
#endif /* GL_MESA_ycbcr_texture */
|
||||
|
||||
#ifdef GL_NVX_gpu_memory_info
|
||||
|
||||
#endif /* GL_NVX_gpu_memory_info */
|
||||
|
||||
#ifdef GL_NV_blend_square
|
||||
|
||||
#endif /* GL_NV_blend_square */
|
||||
|
@ -7967,24 +7975,27 @@ GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
|
|||
}
|
||||
else
|
||||
{
|
||||
CONST_CAST(GLEW_VERSION_4_1) = ( major > 4 ) || ( major == 4 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_4_0) = GLEW_VERSION_4_1 == GL_TRUE || ( major == 4 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_3_3) = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_3_2) = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_3_1) = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_3_0) = GLEW_VERSION_3_1 == GL_TRUE || ( major == 3 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_2_1) = GLEW_VERSION_3_0 == GL_TRUE || ( major == 2 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_2_0) = GLEW_VERSION_2_1 == GL_TRUE || ( major == 2 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_5) = GLEW_VERSION_2_0 == GL_TRUE || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_4) = GLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_3) = GLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_2) = GLEW_VERSION_1_3 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_1) = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_4_1) = ( major > 4 ) || ( major == 4 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_4_0) = GLEW_VERSION_4_1 == GL_TRUE || ( major == 4 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_3_3) = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_3_2) = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_3_1) = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_3_0) = GLEW_VERSION_3_1 == GL_TRUE || ( major == 3 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_2_1) = GLEW_VERSION_3_0 == GL_TRUE || ( major == 2 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_2_0) = GLEW_VERSION_2_1 == GL_TRUE || ( major == 2 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_5) = GLEW_VERSION_2_0 == GL_TRUE || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_4) = GLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_3) = GLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_2_1) = GLEW_VERSION_1_3 == GL_TRUE ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_2) = GLEW_VERSION_1_2_1 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
|
||||
CONST_CAST(GLEW_VERSION_1_1) = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||
}
|
||||
/* initialize extensions */
|
||||
#ifdef GL_VERSION_1_2
|
||||
if (glewExperimental || GLEW_VERSION_1_2) CONST_CAST(GLEW_VERSION_1_2) = !_glewInit_GL_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT);
|
||||
#endif /* GL_VERSION_1_2 */
|
||||
#ifdef GL_VERSION_1_2_1
|
||||
#endif /* GL_VERSION_1_2_1 */
|
||||
#ifdef GL_VERSION_1_3
|
||||
if (glewExperimental || GLEW_VERSION_1_3) CONST_CAST(GLEW_VERSION_1_3) = !_glewInit_GL_VERSION_1_3(GLEW_CONTEXT_ARG_VAR_INIT);
|
||||
#endif /* GL_VERSION_1_3 */
|
||||
|
@ -8942,6 +8953,9 @@ GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
|
|||
#ifdef GL_MESA_ycbcr_texture
|
||||
CONST_CAST(GLEW_MESA_ycbcr_texture) = glewGetExtension("GL_MESA_ycbcr_texture");
|
||||
#endif /* GL_MESA_ycbcr_texture */
|
||||
#ifdef GL_NVX_gpu_memory_info
|
||||
CONST_CAST(GLEW_NVX_gpu_memory_info) = glewGetExtension("GL_NVX_gpu_memory_info");
|
||||
#endif /* GL_NVX_gpu_memory_info */
|
||||
#ifdef GL_NV_blend_square
|
||||
CONST_CAST(GLEW_NV_blend_square) = glewGetExtension("GL_NV_blend_square");
|
||||
#endif /* GL_NV_blend_square */
|
||||
|
@ -11312,10 +11326,10 @@ const GLubyte* glewGetString (GLenum name)
|
|||
static const GLubyte* _glewString[] =
|
||||
{
|
||||
(const GLubyte*)NULL,
|
||||
(const GLubyte*)"1.5.6",
|
||||
(const GLubyte*)"1.5.7",
|
||||
(const GLubyte*)"1",
|
||||
(const GLubyte*)"5",
|
||||
(const GLubyte*)"6"
|
||||
(const GLubyte*)"7"
|
||||
};
|
||||
const int max_string = sizeof(_glewString)/sizeof(*_glewString) - 1;
|
||||
return _glewString[(int)name > max_string ? 0 : (int)name];
|
||||
|
@ -11369,6 +11383,13 @@ GLboolean glewIsSupported (const char* name)
|
|||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_VERSION_1_2_1
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2_1", 5))
|
||||
{
|
||||
ret = GLEW_VERSION_1_2_1;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_VERSION_1_3
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
|
||||
{
|
||||
|
@ -13331,6 +13352,16 @@ GLboolean glewIsSupported (const char* name)
|
|||
ret = GLEW_MESA_ycbcr_texture;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
if (_glewStrSame2(&pos, &len, (const GLubyte*)"NVX_", 4))
|
||||
{
|
||||
#ifdef GL_NVX_gpu_memory_info
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_memory_info", 15))
|
||||
{
|
||||
ret = GLEW_NVX_gpu_memory_info;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
|
||||
|
|
|
@ -120,6 +120,15 @@ static void _glewInfo_GL_VERSION_1_2 (void)
|
|||
|
||||
#endif /* GL_VERSION_1_2 */
|
||||
|
||||
#ifdef GL_VERSION_1_2_1
|
||||
|
||||
static void _glewInfo_GL_VERSION_1_2_1 (void)
|
||||
{
|
||||
glewPrintExt("GL_VERSION_1_2_1", GLEW_VERSION_1_2_1, GLEW_VERSION_1_2_1, GLEW_VERSION_1_2_1);
|
||||
}
|
||||
|
||||
#endif /* GL_VERSION_1_2_1 */
|
||||
|
||||
#ifdef GL_VERSION_1_3
|
||||
|
||||
static void _glewInfo_GL_VERSION_1_3 (void)
|
||||
|
@ -3862,7 +3871,6 @@ static void _glewInfo_GL_EXT_vertex_array (void)
|
|||
glewInfoFunc("glColorPointerEXT", glColorPointerEXT == NULL);
|
||||
glewInfoFunc("glDrawArraysEXT", glDrawArraysEXT == NULL);
|
||||
glewInfoFunc("glEdgeFlagPointerEXT", glEdgeFlagPointerEXT == NULL);
|
||||
glewInfoFunc("glGetPointervEXT", glGetPointervEXT == NULL);
|
||||
glewInfoFunc("glIndexPointerEXT", glIndexPointerEXT == NULL);
|
||||
glewInfoFunc("glNormalPointerEXT", glNormalPointerEXT == NULL);
|
||||
glewInfoFunc("glTexCoordPointerEXT", glTexCoordPointerEXT == NULL);
|
||||
|
@ -4228,6 +4236,15 @@ static void _glewInfo_GL_MESA_ycbcr_texture (void)
|
|||
|
||||
#endif /* GL_MESA_ycbcr_texture */
|
||||
|
||||
#ifdef GL_NVX_gpu_memory_info
|
||||
|
||||
static void _glewInfo_GL_NVX_gpu_memory_info (void)
|
||||
{
|
||||
glewPrintExt("GL_NVX_gpu_memory_info", GLEW_NVX_gpu_memory_info, glewIsSupported("GL_NVX_gpu_memory_info"), glewGetExtension("GL_NVX_gpu_memory_info"));
|
||||
}
|
||||
|
||||
#endif /* GL_NVX_gpu_memory_info */
|
||||
|
||||
#ifdef GL_NV_blend_square
|
||||
|
||||
static void _glewInfo_GL_NV_blend_square (void)
|
||||
|
@ -7075,6 +7092,9 @@ static void glewInfo (void)
|
|||
#ifdef GL_VERSION_1_2
|
||||
_glewInfo_GL_VERSION_1_2();
|
||||
#endif /* GL_VERSION_1_2 */
|
||||
#ifdef GL_VERSION_1_2_1
|
||||
_glewInfo_GL_VERSION_1_2_1();
|
||||
#endif /* GL_VERSION_1_2_1 */
|
||||
#ifdef GL_VERSION_1_3
|
||||
_glewInfo_GL_VERSION_1_3();
|
||||
#endif /* GL_VERSION_1_3 */
|
||||
|
@ -7897,6 +7917,9 @@ static void glewInfo (void)
|
|||
#ifdef GL_MESA_ycbcr_texture
|
||||
_glewInfo_GL_MESA_ycbcr_texture();
|
||||
#endif /* GL_MESA_ycbcr_texture */
|
||||
#ifdef GL_NVX_gpu_memory_info
|
||||
_glewInfo_GL_NVX_gpu_memory_info();
|
||||
#endif /* GL_NVX_gpu_memory_info */
|
||||
#ifdef GL_NV_blend_square
|
||||
_glewInfo_GL_NV_blend_square();
|
||||
#endif /* GL_NV_blend_square */
|
||||
|
|
Loading…
Reference in New Issue