00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #include "glew/glew.H"
00033 #if defined(_WIN32)
00034 # include "glew/wglew.H"
00035 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
00036 # include "glew/glxew.H"
00037 #endif
00038
00039
00040
00041
00042 #ifdef GLEW_MX
00043 # define glewGetContext() ctx
00044 # ifdef _WIN32
00045 # define GLEW_CONTEXT_ARG_DEF_INIT GLEWContext* ctx
00046 # define GLEW_CONTEXT_ARG_VAR_INIT ctx
00047 # define wglewGetContext() ctx
00048 # define WGLEW_CONTEXT_ARG_DEF_INIT WGLEWContext* ctx
00049 # define WGLEW_CONTEXT_ARG_DEF_LIST WGLEWContext* ctx
00050 # else
00051 # define GLEW_CONTEXT_ARG_DEF_INIT void
00052 # define GLEW_CONTEXT_ARG_VAR_INIT
00053 # define glxewGetContext() ctx
00054 # define GLXEW_CONTEXT_ARG_DEF_INIT void
00055 # define GLXEW_CONTEXT_ARG_DEF_LIST GLXEWContext* ctx
00056 # endif
00057 # define GLEW_CONTEXT_ARG_DEF_LIST GLEWContext* ctx
00058 #else
00059 # define GLEW_CONTEXT_ARG_DEF_INIT void
00060 # define GLEW_CONTEXT_ARG_VAR_INIT
00061 # define GLEW_CONTEXT_ARG_DEF_LIST void
00062 # define WGLEW_CONTEXT_ARG_DEF_INIT void
00063 # define WGLEW_CONTEXT_ARG_DEF_LIST void
00064 # define GLXEW_CONTEXT_ARG_DEF_INIT void
00065 # define GLXEW_CONTEXT_ARG_DEF_LIST void
00066 #endif
00067
00068 #if defined(__APPLE__)
00069 #include <mach-o/dyld.h>
00070 #include <stdlib.h>
00071 #include <string.h>
00072
00073 void* NSGLGetProcAddress (const GLubyte *name)
00074 {
00075 NSSymbol symbol;
00076 char* symbolName;
00077
00078 symbolName = (char*) malloc(strlen((const char*)name) + 2);
00079 strcpy(symbolName+1, (const char*)name);
00080 symbolName[0] = '_';
00081 symbol = NULL;
00082 if (NSIsSymbolNameDefined(symbolName))
00083 symbol = NSLookupAndBindSymbol(symbolName);
00084 free(symbolName);
00085 return symbol ? NSAddressOfSymbol(symbol) : NULL;
00086 }
00087 #endif
00088
00089 #if defined(__sgi) || defined (__sun)
00090 #include <dlfcn.h>
00091 #include <stdio.h>
00092 #include <stdlib.h>
00093
00094 void* dlGetProcAddress (const GLubyte* name)
00095 {
00096 static void* h = NULL;
00097 static void* gpa;
00098
00099 if (h == NULL)
00100 {
00101 if ((h = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL)) == NULL) return NULL;
00102 gpa = dlsym(h, "glXGetProcAddress");
00103 }
00104
00105 if (gpa != NULL)
00106 return ((void*(*)(const GLubyte*))gpa)(name);
00107 else
00108 return dlsym(h, (const char*)name);
00109 }
00110 #endif
00111
00112
00113
00114
00115 #if defined(_WIN32)
00116 # define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name)
00117 #else
00118 # if defined(__APPLE__)
00119 # define glewGetProcAddress(name) NSGLGetProcAddress(name)
00120 # else
00121 # if defined(__sgi) || defined(__sun)
00122 # define glewGetProcAddress(name) dlGetProcAddress(name)
00123 # else
00124 # define glewGetProcAddress(name) (*glXGetProcAddressARB)(name)
00125 # endif
00126 # endif
00127 #endif
00128
00129
00130
00131
00132
00133
00134 static GLuint _glewStrLen (const GLubyte* s)
00135 {
00136 GLuint i=0;
00137 if (s == NULL) return 0;
00138 while (s[i] != '\0') i++;
00139 return i;
00140 }
00141
00142 static GLuint _glewStrCLen (const GLubyte* s, GLubyte c)
00143 {
00144 GLuint i=0;
00145 if (s == NULL) return 0;
00146 while (s[i] != '\0' && s[i] != c) i++;
00147 return s[i] == c ? i : 0;
00148 }
00149
00150 static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n)
00151 {
00152 GLuint i=0;
00153 if(a == NULL || b == NULL)
00154 return (a == NULL && b == NULL && n == 0) ? GL_TRUE : GL_FALSE;
00155 while (i < n && a[i] != '\0' && b[i] != '\0' && a[i] == b[i]) i++;
00156 return i == n ? GL_TRUE : GL_FALSE;
00157 }
00158
00159 static GLboolean _glewStrSame1 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
00160 {
00161 while (*na > 0 && (**a == ' ' || **a == '\n' || **a == '\r' || **a == '\t'))
00162 {
00163 (*a)++;
00164 (*na)--;
00165 }
00166 if(*na >= nb)
00167 {
00168 GLuint i=0;
00169 while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
00170 if(i == nb)
00171 {
00172 *a = *a + nb;
00173 *na = *na - nb;
00174 return GL_TRUE;
00175 }
00176 }
00177 return GL_FALSE;
00178 }
00179
00180 static GLboolean _glewStrSame2 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
00181 {
00182 if(*na >= nb)
00183 {
00184 GLuint i=0;
00185 while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
00186 if(i == nb)
00187 {
00188 *a = *a + nb;
00189 *na = *na - nb;
00190 return GL_TRUE;
00191 }
00192 }
00193 return GL_FALSE;
00194 }
00195
00196 static GLboolean _glewStrSame3 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
00197 {
00198 if(*na >= nb)
00199 {
00200 GLuint i=0;
00201 while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
00202 if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t'))
00203 {
00204 *a = *a + nb;
00205 *na = *na - nb;
00206 return GL_TRUE;
00207 }
00208 }
00209 return GL_FALSE;
00210 }
00211
00212 #if !defined(_WIN32) || !defined(GLEW_MX)
00213
00214 PFNGLCOPYTEXSUBIMAGE3DPROC __glewCopyTexSubImage3D = NULL;
00215 PFNGLDRAWRANGEELEMENTSPROC __glewDrawRangeElements = NULL;
00216 PFNGLTEXIMAGE3DPROC __glewTexImage3D = NULL;
00217 PFNGLTEXSUBIMAGE3DPROC __glewTexSubImage3D = NULL;
00218
00219 PFNGLACTIVETEXTUREPROC __glewActiveTexture = NULL;
00220 PFNGLCLIENTACTIVETEXTUREPROC __glewClientActiveTexture = NULL;
00221 PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D = NULL;
00222 PFNGLCOMPRESSEDTEXIMAGE2DPROC __glewCompressedTexImage2D = NULL;
00223 PFNGLCOMPRESSEDTEXIMAGE3DPROC __glewCompressedTexImage3D = NULL;
00224 PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D = NULL;
00225 PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC __glewCompressedTexSubImage2D = NULL;
00226 PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC __glewCompressedTexSubImage3D = NULL;
00227 PFNGLGETCOMPRESSEDTEXIMAGEPROC __glewGetCompressedTexImage = NULL;
00228 PFNGLLOADTRANSPOSEMATRIXDPROC __glewLoadTransposeMatrixd = NULL;
00229 PFNGLLOADTRANSPOSEMATRIXFPROC __glewLoadTransposeMatrixf = NULL;
00230 PFNGLMULTTRANSPOSEMATRIXDPROC __glewMultTransposeMatrixd = NULL;
00231 PFNGLMULTTRANSPOSEMATRIXFPROC __glewMultTransposeMatrixf = NULL;
00232 PFNGLMULTITEXCOORD1DPROC __glewMultiTexCoord1d = NULL;
00233 PFNGLMULTITEXCOORD1DVPROC __glewMultiTexCoord1dv = NULL;
00234 PFNGLMULTITEXCOORD1FPROC __glewMultiTexCoord1f = NULL;
00235 PFNGLMULTITEXCOORD1FVPROC __glewMultiTexCoord1fv = NULL;
00236 PFNGLMULTITEXCOORD1IPROC __glewMultiTexCoord1i = NULL;
00237 PFNGLMULTITEXCOORD1IVPROC __glewMultiTexCoord1iv = NULL;
00238 PFNGLMULTITEXCOORD1SPROC __glewMultiTexCoord1s = NULL;
00239 PFNGLMULTITEXCOORD1SVPROC __glewMultiTexCoord1sv = NULL;
00240 PFNGLMULTITEXCOORD2DPROC __glewMultiTexCoord2d = NULL;
00241 PFNGLMULTITEXCOORD2DVPROC __glewMultiTexCoord2dv = NULL;
00242 PFNGLMULTITEXCOORD2FPROC __glewMultiTexCoord2f = NULL;
00243 PFNGLMULTITEXCOORD2FVPROC __glewMultiTexCoord2fv = NULL;
00244 PFNGLMULTITEXCOORD2IPROC __glewMultiTexCoord2i = NULL;
00245 PFNGLMULTITEXCOORD2IVPROC __glewMultiTexCoord2iv = NULL;
00246 PFNGLMULTITEXCOORD2SPROC __glewMultiTexCoord2s = NULL;
00247 PFNGLMULTITEXCOORD2SVPROC __glewMultiTexCoord2sv = NULL;
00248 PFNGLMULTITEXCOORD3DPROC __glewMultiTexCoord3d = NULL;
00249 PFNGLMULTITEXCOORD3DVPROC __glewMultiTexCoord3dv = NULL;
00250 PFNGLMULTITEXCOORD3FPROC __glewMultiTexCoord3f = NULL;
00251 PFNGLMULTITEXCOORD3FVPROC __glewMultiTexCoord3fv = NULL;
00252 PFNGLMULTITEXCOORD3IPROC __glewMultiTexCoord3i = NULL;
00253 PFNGLMULTITEXCOORD3IVPROC __glewMultiTexCoord3iv = NULL;
00254 PFNGLMULTITEXCOORD3SPROC __glewMultiTexCoord3s = NULL;
00255 PFNGLMULTITEXCOORD3SVPROC __glewMultiTexCoord3sv = NULL;
00256 PFNGLMULTITEXCOORD4DPROC __glewMultiTexCoord4d = NULL;
00257 PFNGLMULTITEXCOORD4DVPROC __glewMultiTexCoord4dv = NULL;
00258 PFNGLMULTITEXCOORD4FPROC __glewMultiTexCoord4f = NULL;
00259 PFNGLMULTITEXCOORD4FVPROC __glewMultiTexCoord4fv = NULL;
00260 PFNGLMULTITEXCOORD4IPROC __glewMultiTexCoord4i = NULL;
00261 PFNGLMULTITEXCOORD4IVPROC __glewMultiTexCoord4iv = NULL;
00262 PFNGLMULTITEXCOORD4SPROC __glewMultiTexCoord4s = NULL;
00263 PFNGLMULTITEXCOORD4SVPROC __glewMultiTexCoord4sv = NULL;
00264 PFNGLSAMPLECOVERAGEPROC __glewSampleCoverage = NULL;
00265
00266 PFNGLBLENDCOLORPROC __glewBlendColor = NULL;
00267 PFNGLBLENDEQUATIONPROC __glewBlendEquation = NULL;
00268 PFNGLBLENDFUNCSEPARATEPROC __glewBlendFuncSeparate = NULL;
00269 PFNGLFOGCOORDPOINTERPROC __glewFogCoordPointer = NULL;
00270 PFNGLFOGCOORDDPROC __glewFogCoordd = NULL;
00271 PFNGLFOGCOORDDVPROC __glewFogCoorddv = NULL;
00272 PFNGLFOGCOORDFPROC __glewFogCoordf = NULL;
00273 PFNGLFOGCOORDFVPROC __glewFogCoordfv = NULL;
00274 PFNGLMULTIDRAWARRAYSPROC __glewMultiDrawArrays = NULL;
00275 PFNGLMULTIDRAWELEMENTSPROC __glewMultiDrawElements = NULL;
00276 PFNGLPOINTPARAMETERFPROC __glewPointParameterf = NULL;
00277 PFNGLPOINTPARAMETERFVPROC __glewPointParameterfv = NULL;
00278 PFNGLSECONDARYCOLOR3BPROC __glewSecondaryColor3b = NULL;
00279 PFNGLSECONDARYCOLOR3BVPROC __glewSecondaryColor3bv = NULL;
00280 PFNGLSECONDARYCOLOR3DPROC __glewSecondaryColor3d = NULL;
00281 PFNGLSECONDARYCOLOR3DVPROC __glewSecondaryColor3dv = NULL;
00282 PFNGLSECONDARYCOLOR3FPROC __glewSecondaryColor3f = NULL;
00283 PFNGLSECONDARYCOLOR3FVPROC __glewSecondaryColor3fv = NULL;
00284 PFNGLSECONDARYCOLOR3IPROC __glewSecondaryColor3i = NULL;
00285 PFNGLSECONDARYCOLOR3IVPROC __glewSecondaryColor3iv = NULL;
00286 PFNGLSECONDARYCOLOR3SPROC __glewSecondaryColor3s = NULL;
00287 PFNGLSECONDARYCOLOR3SVPROC __glewSecondaryColor3sv = NULL;
00288 PFNGLSECONDARYCOLOR3UBPROC __glewSecondaryColor3ub = NULL;
00289 PFNGLSECONDARYCOLOR3UBVPROC __glewSecondaryColor3ubv = NULL;
00290 PFNGLSECONDARYCOLOR3UIPROC __glewSecondaryColor3ui = NULL;
00291 PFNGLSECONDARYCOLOR3UIVPROC __glewSecondaryColor3uiv = NULL;
00292 PFNGLSECONDARYCOLOR3USPROC __glewSecondaryColor3us = NULL;
00293 PFNGLSECONDARYCOLOR3USVPROC __glewSecondaryColor3usv = NULL;
00294 PFNGLSECONDARYCOLORPOINTERPROC __glewSecondaryColorPointer = NULL;
00295 PFNGLWINDOWPOS2DPROC __glewWindowPos2d = NULL;
00296 PFNGLWINDOWPOS2DVPROC __glewWindowPos2dv = NULL;
00297 PFNGLWINDOWPOS2FPROC __glewWindowPos2f = NULL;
00298 PFNGLWINDOWPOS2FVPROC __glewWindowPos2fv = NULL;
00299 PFNGLWINDOWPOS2IPROC __glewWindowPos2i = NULL;
00300 PFNGLWINDOWPOS2IVPROC __glewWindowPos2iv = NULL;
00301 PFNGLWINDOWPOS2SPROC __glewWindowPos2s = NULL;
00302 PFNGLWINDOWPOS2SVPROC __glewWindowPos2sv = NULL;
00303 PFNGLWINDOWPOS3DPROC __glewWindowPos3d = NULL;
00304 PFNGLWINDOWPOS3DVPROC __glewWindowPos3dv = NULL;
00305 PFNGLWINDOWPOS3FPROC __glewWindowPos3f = NULL;
00306 PFNGLWINDOWPOS3FVPROC __glewWindowPos3fv = NULL;
00307 PFNGLWINDOWPOS3IPROC __glewWindowPos3i = NULL;
00308 PFNGLWINDOWPOS3IVPROC __glewWindowPos3iv = NULL;
00309 PFNGLWINDOWPOS3SPROC __glewWindowPos3s = NULL;
00310 PFNGLWINDOWPOS3SVPROC __glewWindowPos3sv = NULL;
00311
00312 PFNGLBEGINQUERYPROC __glewBeginQuery = NULL;
00313 PFNGLBINDBUFFERPROC __glewBindBuffer = NULL;
00314 PFNGLBUFFERDATAPROC __glewBufferData = NULL;
00315 PFNGLBUFFERSUBDATAPROC __glewBufferSubData = NULL;
00316 PFNGLDELETEBUFFERSPROC __glewDeleteBuffers = NULL;
00317 PFNGLDELETEQUERIESPROC __glewDeleteQueries = NULL;
00318 PFNGLENDQUERYPROC __glewEndQuery = NULL;
00319 PFNGLGENBUFFERSPROC __glewGenBuffers = NULL;
00320 PFNGLGENQUERIESPROC __glewGenQueries = NULL;
00321 PFNGLGETBUFFERPARAMETERIVPROC __glewGetBufferParameteriv = NULL;
00322 PFNGLGETBUFFERPOINTERVPROC __glewGetBufferPointerv = NULL;
00323 PFNGLGETBUFFERSUBDATAPROC __glewGetBufferSubData = NULL;
00324 PFNGLGETQUERYOBJECTIVPROC __glewGetQueryObjectiv = NULL;
00325 PFNGLGETQUERYOBJECTUIVPROC __glewGetQueryObjectuiv = NULL;
00326 PFNGLGETQUERYIVPROC __glewGetQueryiv = NULL;
00327 PFNGLISBUFFERPROC __glewIsBuffer = NULL;
00328 PFNGLISQUERYPROC __glewIsQuery = NULL;
00329 PFNGLMAPBUFFERPROC __glewMapBuffer = NULL;
00330 PFNGLUNMAPBUFFERPROC __glewUnmapBuffer = NULL;
00331
00332 PFNGLATTACHSHADERPROC __glewAttachShader = NULL;
00333 PFNGLBINDATTRIBLOCATIONPROC __glewBindAttribLocation = NULL;
00334 PFNGLBLENDEQUATIONSEPARATEPROC __glewBlendEquationSeparate = NULL;
00335 PFNGLCOMPILESHADERPROC __glewCompileShader = NULL;
00336 PFNGLCREATEPROGRAMPROC __glewCreateProgram = NULL;
00337 PFNGLCREATESHADERPROC __glewCreateShader = NULL;
00338 PFNGLDELETEPROGRAMPROC __glewDeleteProgram = NULL;
00339 PFNGLDELETESHADERPROC __glewDeleteShader = NULL;
00340 PFNGLDETACHSHADERPROC __glewDetachShader = NULL;
00341 PFNGLDISABLEVERTEXATTRIBARRAYPROC __glewDisableVertexAttribArray = NULL;
00342 PFNGLDRAWBUFFERSPROC __glewDrawBuffers = NULL;
00343 PFNGLENABLEVERTEXATTRIBARRAYPROC __glewEnableVertexAttribArray = NULL;
00344 PFNGLGETACTIVEATTRIBPROC __glewGetActiveAttrib = NULL;
00345 PFNGLGETACTIVEUNIFORMPROC __glewGetActiveUniform = NULL;
00346 PFNGLGETATTACHEDSHADERSPROC __glewGetAttachedShaders = NULL;
00347 PFNGLGETATTRIBLOCATIONPROC __glewGetAttribLocation = NULL;
00348 PFNGLGETPROGRAMINFOLOGPROC __glewGetProgramInfoLog = NULL;
00349 PFNGLGETPROGRAMIVPROC __glewGetProgramiv = NULL;
00350 PFNGLGETSHADERINFOLOGPROC __glewGetShaderInfoLog = NULL;
00351 PFNGLGETSHADERSOURCEPROC __glewGetShaderSource = NULL;
00352 PFNGLGETSHADERIVPROC __glewGetShaderiv = NULL;
00353 PFNGLGETUNIFORMLOCATIONPROC __glewGetUniformLocation = NULL;
00354 PFNGLGETUNIFORMFVPROC __glewGetUniformfv = NULL;
00355 PFNGLGETUNIFORMIVPROC __glewGetUniformiv = NULL;
00356 PFNGLGETVERTEXATTRIBPOINTERVPROC __glewGetVertexAttribPointerv = NULL;
00357 PFNGLGETVERTEXATTRIBDVPROC __glewGetVertexAttribdv = NULL;
00358 PFNGLGETVERTEXATTRIBFVPROC __glewGetVertexAttribfv = NULL;
00359 PFNGLGETVERTEXATTRIBIVPROC __glewGetVertexAttribiv = NULL;
00360 PFNGLISPROGRAMPROC __glewIsProgram = NULL;
00361 PFNGLISSHADERPROC __glewIsShader = NULL;
00362 PFNGLLINKPROGRAMPROC __glewLinkProgram = NULL;
00363 PFNGLSHADERSOURCEPROC __glewShaderSource = NULL;
00364 PFNGLSTENCILFUNCSEPARATEPROC __glewStencilFuncSeparate = NULL;
00365 PFNGLSTENCILMASKSEPARATEPROC __glewStencilMaskSeparate = NULL;
00366 PFNGLSTENCILOPSEPARATEPROC __glewStencilOpSeparate = NULL;
00367 PFNGLUNIFORM1FPROC __glewUniform1f = NULL;
00368 PFNGLUNIFORM1FVPROC __glewUniform1fv = NULL;
00369 PFNGLUNIFORM1IPROC __glewUniform1i = NULL;
00370 PFNGLUNIFORM1IVPROC __glewUniform1iv = NULL;
00371 PFNGLUNIFORM2FPROC __glewUniform2f = NULL;
00372 PFNGLUNIFORM2FVPROC __glewUniform2fv = NULL;
00373 PFNGLUNIFORM2IPROC __glewUniform2i = NULL;
00374 PFNGLUNIFORM2IVPROC __glewUniform2iv = NULL;
00375 PFNGLUNIFORM3FPROC __glewUniform3f = NULL;
00376 PFNGLUNIFORM3FVPROC __glewUniform3fv = NULL;
00377 PFNGLUNIFORM3IPROC __glewUniform3i = NULL;
00378 PFNGLUNIFORM3IVPROC __glewUniform3iv = NULL;
00379 PFNGLUNIFORM4FPROC __glewUniform4f = NULL;
00380 PFNGLUNIFORM4FVPROC __glewUniform4fv = NULL;
00381 PFNGLUNIFORM4IPROC __glewUniform4i = NULL;
00382 PFNGLUNIFORM4IVPROC __glewUniform4iv = NULL;
00383 PFNGLUNIFORMMATRIX2FVPROC __glewUniformMatrix2fv = NULL;
00384 PFNGLUNIFORMMATRIX3FVPROC __glewUniformMatrix3fv = NULL;
00385 PFNGLUNIFORMMATRIX4FVPROC __glewUniformMatrix4fv = NULL;
00386 PFNGLUSEPROGRAMPROC __glewUseProgram = NULL;
00387 PFNGLVALIDATEPROGRAMPROC __glewValidateProgram = NULL;
00388 PFNGLVERTEXATTRIB1DPROC __glewVertexAttrib1d = NULL;
00389 PFNGLVERTEXATTRIB1DVPROC __glewVertexAttrib1dv = NULL;
00390 PFNGLVERTEXATTRIB1FPROC __glewVertexAttrib1f = NULL;
00391 PFNGLVERTEXATTRIB1FVPROC __glewVertexAttrib1fv = NULL;
00392 PFNGLVERTEXATTRIB1SPROC __glewVertexAttrib1s = NULL;
00393 PFNGLVERTEXATTRIB1SVPROC __glewVertexAttrib1sv = NULL;
00394 PFNGLVERTEXATTRIB2DPROC __glewVertexAttrib2d = NULL;
00395 PFNGLVERTEXATTRIB2DVPROC __glewVertexAttrib2dv = NULL;
00396 PFNGLVERTEXATTRIB2FPROC __glewVertexAttrib2f = NULL;
00397 PFNGLVERTEXATTRIB2FVPROC __glewVertexAttrib2fv = NULL;
00398 PFNGLVERTEXATTRIB2SPROC __glewVertexAttrib2s = NULL;
00399 PFNGLVERTEXATTRIB2SVPROC __glewVertexAttrib2sv = NULL;
00400 PFNGLVERTEXATTRIB3DPROC __glewVertexAttrib3d = NULL;
00401 PFNGLVERTEXATTRIB3DVPROC __glewVertexAttrib3dv = NULL;
00402 PFNGLVERTEXATTRIB3FPROC __glewVertexAttrib3f = NULL;
00403 PFNGLVERTEXATTRIB3FVPROC __glewVertexAttrib3fv = NULL;
00404 PFNGLVERTEXATTRIB3SPROC __glewVertexAttrib3s = NULL;
00405 PFNGLVERTEXATTRIB3SVPROC __glewVertexAttrib3sv = NULL;
00406 PFNGLVERTEXATTRIB4NBVPROC __glewVertexAttrib4Nbv = NULL;
00407 PFNGLVERTEXATTRIB4NIVPROC __glewVertexAttrib4Niv = NULL;
00408 PFNGLVERTEXATTRIB4NSVPROC __glewVertexAttrib4Nsv = NULL;
00409 PFNGLVERTEXATTRIB4NUBPROC __glewVertexAttrib4Nub = NULL;
00410 PFNGLVERTEXATTRIB4NUBVPROC __glewVertexAttrib4Nubv = NULL;
00411 PFNGLVERTEXATTRIB4NUIVPROC __glewVertexAttrib4Nuiv = NULL;
00412 PFNGLVERTEXATTRIB4NUSVPROC __glewVertexAttrib4Nusv = NULL;
00413 PFNGLVERTEXATTRIB4BVPROC __glewVertexAttrib4bv = NULL;
00414 PFNGLVERTEXATTRIB4DPROC __glewVertexAttrib4d = NULL;
00415 PFNGLVERTEXATTRIB4DVPROC __glewVertexAttrib4dv = NULL;
00416 PFNGLVERTEXATTRIB4FPROC __glewVertexAttrib4f = NULL;
00417 PFNGLVERTEXATTRIB4FVPROC __glewVertexAttrib4fv = NULL;
00418 PFNGLVERTEXATTRIB4IVPROC __glewVertexAttrib4iv = NULL;
00419 PFNGLVERTEXATTRIB4SPROC __glewVertexAttrib4s = NULL;
00420 PFNGLVERTEXATTRIB4SVPROC __glewVertexAttrib4sv = NULL;
00421 PFNGLVERTEXATTRIB4UBVPROC __glewVertexAttrib4ubv = NULL;
00422 PFNGLVERTEXATTRIB4UIVPROC __glewVertexAttrib4uiv = NULL;
00423 PFNGLVERTEXATTRIB4USVPROC __glewVertexAttrib4usv = NULL;
00424 PFNGLVERTEXATTRIBPOINTERPROC __glewVertexAttribPointer = NULL;
00425
00426 PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL;
00427
00428 PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE = NULL;
00429 PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE = NULL;
00430 PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE = NULL;
00431 PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC __glewMultiDrawElementArrayAPPLE = NULL;
00432 PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC __glewMultiDrawRangeElementArrayAPPLE = NULL;
00433
00434 PFNGLDELETEFENCESAPPLEPROC __glewDeleteFencesAPPLE = NULL;
00435 PFNGLFINISHFENCEAPPLEPROC __glewFinishFenceAPPLE = NULL;
00436 PFNGLFINISHOBJECTAPPLEPROC __glewFinishObjectAPPLE = NULL;
00437 PFNGLGENFENCESAPPLEPROC __glewGenFencesAPPLE = NULL;
00438 PFNGLISFENCEAPPLEPROC __glewIsFenceAPPLE = NULL;
00439 PFNGLSETFENCEAPPLEPROC __glewSetFenceAPPLE = NULL;
00440 PFNGLTESTFENCEAPPLEPROC __glewTestFenceAPPLE = NULL;
00441 PFNGLTESTOBJECTAPPLEPROC __glewTestObjectAPPLE = NULL;
00442
00443 PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE = NULL;
00444 PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE = NULL;
00445
00446 PFNGLBINDVERTEXARRAYAPPLEPROC __glewBindVertexArrayAPPLE = NULL;
00447 PFNGLDELETEVERTEXARRAYSAPPLEPROC __glewDeleteVertexArraysAPPLE = NULL;
00448 PFNGLGENVERTEXARRAYSAPPLEPROC __glewGenVertexArraysAPPLE = NULL;
00449 PFNGLISVERTEXARRAYAPPLEPROC __glewIsVertexArrayAPPLE = NULL;
00450
00451 PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __glewFlushVertexArrayRangeAPPLE = NULL;
00452 PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE = NULL;
00453 PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE = NULL;
00454
00455 PFNGLCLAMPCOLORARBPROC __glewClampColorARB = NULL;
00456
00457 PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB = NULL;
00458
00459 PFNGLCOLORSUBTABLEPROC __glewColorSubTable = NULL;
00460 PFNGLCOLORTABLEPROC __glewColorTable = NULL;
00461 PFNGLCOLORTABLEPARAMETERFVPROC __glewColorTableParameterfv = NULL;
00462 PFNGLCOLORTABLEPARAMETERIVPROC __glewColorTableParameteriv = NULL;
00463 PFNGLCONVOLUTIONFILTER1DPROC __glewConvolutionFilter1D = NULL;
00464 PFNGLCONVOLUTIONFILTER2DPROC __glewConvolutionFilter2D = NULL;
00465 PFNGLCONVOLUTIONPARAMETERFPROC __glewConvolutionParameterf = NULL;
00466 PFNGLCONVOLUTIONPARAMETERFVPROC __glewConvolutionParameterfv = NULL;
00467 PFNGLCONVOLUTIONPARAMETERIPROC __glewConvolutionParameteri = NULL;
00468 PFNGLCONVOLUTIONPARAMETERIVPROC __glewConvolutionParameteriv = NULL;
00469 PFNGLCOPYCOLORSUBTABLEPROC __glewCopyColorSubTable = NULL;
00470 PFNGLCOPYCOLORTABLEPROC __glewCopyColorTable = NULL;
00471 PFNGLCOPYCONVOLUTIONFILTER1DPROC __glewCopyConvolutionFilter1D = NULL;
00472 PFNGLCOPYCONVOLUTIONFILTER2DPROC __glewCopyConvolutionFilter2D = NULL;
00473 PFNGLGETCOLORTABLEPROC __glewGetColorTable = NULL;
00474 PFNGLGETCOLORTABLEPARAMETERFVPROC __glewGetColorTableParameterfv = NULL;
00475 PFNGLGETCOLORTABLEPARAMETERIVPROC __glewGetColorTableParameteriv = NULL;
00476 PFNGLGETCONVOLUTIONFILTERPROC __glewGetConvolutionFilter = NULL;
00477 PFNGLGETCONVOLUTIONPARAMETERFVPROC __glewGetConvolutionParameterfv = NULL;
00478 PFNGLGETCONVOLUTIONPARAMETERIVPROC __glewGetConvolutionParameteriv = NULL;
00479 PFNGLGETHISTOGRAMPROC __glewGetHistogram = NULL;
00480 PFNGLGETHISTOGRAMPARAMETERFVPROC __glewGetHistogramParameterfv = NULL;
00481 PFNGLGETHISTOGRAMPARAMETERIVPROC __glewGetHistogramParameteriv = NULL;
00482 PFNGLGETMINMAXPROC __glewGetMinmax = NULL;
00483 PFNGLGETMINMAXPARAMETERFVPROC __glewGetMinmaxParameterfv = NULL;
00484 PFNGLGETMINMAXPARAMETERIVPROC __glewGetMinmaxParameteriv = NULL;
00485 PFNGLGETSEPARABLEFILTERPROC __glewGetSeparableFilter = NULL;
00486 PFNGLHISTOGRAMPROC __glewHistogram = NULL;
00487 PFNGLMINMAXPROC __glewMinmax = NULL;
00488 PFNGLRESETHISTOGRAMPROC __glewResetHistogram = NULL;
00489 PFNGLRESETMINMAXPROC __glewResetMinmax = NULL;
00490 PFNGLSEPARABLEFILTER2DPROC __glewSeparableFilter2D = NULL;
00491
00492 PFNGLCURRENTPALETTEMATRIXARBPROC __glewCurrentPaletteMatrixARB = NULL;
00493 PFNGLMATRIXINDEXPOINTERARBPROC __glewMatrixIndexPointerARB = NULL;
00494 PFNGLMATRIXINDEXUBVARBPROC __glewMatrixIndexubvARB = NULL;
00495 PFNGLMATRIXINDEXUIVARBPROC __glewMatrixIndexuivARB = NULL;
00496 PFNGLMATRIXINDEXUSVARBPROC __glewMatrixIndexusvARB = NULL;
00497
00498 PFNGLSAMPLECOVERAGEARBPROC __glewSampleCoverageARB = NULL;
00499
00500 PFNGLACTIVETEXTUREARBPROC __glewActiveTextureARB = NULL;
00501 PFNGLCLIENTACTIVETEXTUREARBPROC __glewClientActiveTextureARB = NULL;
00502 PFNGLMULTITEXCOORD1DARBPROC __glewMultiTexCoord1dARB = NULL;
00503 PFNGLMULTITEXCOORD1DVARBPROC __glewMultiTexCoord1dvARB = NULL;
00504 PFNGLMULTITEXCOORD1FARBPROC __glewMultiTexCoord1fARB = NULL;
00505 PFNGLMULTITEXCOORD1FVARBPROC __glewMultiTexCoord1fvARB = NULL;
00506 PFNGLMULTITEXCOORD1IARBPROC __glewMultiTexCoord1iARB = NULL;
00507 PFNGLMULTITEXCOORD1IVARBPROC __glewMultiTexCoord1ivARB = NULL;
00508 PFNGLMULTITEXCOORD1SARBPROC __glewMultiTexCoord1sARB = NULL;
00509 PFNGLMULTITEXCOORD1SVARBPROC __glewMultiTexCoord1svARB = NULL;
00510 PFNGLMULTITEXCOORD2DARBPROC __glewMultiTexCoord2dARB = NULL;
00511 PFNGLMULTITEXCOORD2DVARBPROC __glewMultiTexCoord2dvARB = NULL;
00512 PFNGLMULTITEXCOORD2FARBPROC __glewMultiTexCoord2fARB = NULL;
00513 PFNGLMULTITEXCOORD2FVARBPROC __glewMultiTexCoord2fvARB = NULL;
00514 PFNGLMULTITEXCOORD2IARBPROC __glewMultiTexCoord2iARB = NULL;
00515 PFNGLMULTITEXCOORD2IVARBPROC __glewMultiTexCoord2ivARB = NULL;
00516 PFNGLMULTITEXCOORD2SARBPROC __glewMultiTexCoord2sARB = NULL;
00517 PFNGLMULTITEXCOORD2SVARBPROC __glewMultiTexCoord2svARB = NULL;
00518 PFNGLMULTITEXCOORD3DARBPROC __glewMultiTexCoord3dARB = NULL;
00519 PFNGLMULTITEXCOORD3DVARBPROC __glewMultiTexCoord3dvARB = NULL;
00520 PFNGLMULTITEXCOORD3FARBPROC __glewMultiTexCoord3fARB = NULL;
00521 PFNGLMULTITEXCOORD3FVARBPROC __glewMultiTexCoord3fvARB = NULL;
00522 PFNGLMULTITEXCOORD3IARBPROC __glewMultiTexCoord3iARB = NULL;
00523 PFNGLMULTITEXCOORD3IVARBPROC __glewMultiTexCoord3ivARB = NULL;
00524 PFNGLMULTITEXCOORD3SARBPROC __glewMultiTexCoord3sARB = NULL;
00525 PFNGLMULTITEXCOORD3SVARBPROC __glewMultiTexCoord3svARB = NULL;
00526 PFNGLMULTITEXCOORD4DARBPROC __glewMultiTexCoord4dARB = NULL;
00527 PFNGLMULTITEXCOORD4DVARBPROC __glewMultiTexCoord4dvARB = NULL;
00528 PFNGLMULTITEXCOORD4FARBPROC __glewMultiTexCoord4fARB = NULL;
00529 PFNGLMULTITEXCOORD4FVARBPROC __glewMultiTexCoord4fvARB = NULL;
00530 PFNGLMULTITEXCOORD4IARBPROC __glewMultiTexCoord4iARB = NULL;
00531 PFNGLMULTITEXCOORD4IVARBPROC __glewMultiTexCoord4ivARB = NULL;
00532 PFNGLMULTITEXCOORD4SARBPROC __glewMultiTexCoord4sARB = NULL;
00533 PFNGLMULTITEXCOORD4SVARBPROC __glewMultiTexCoord4svARB = NULL;
00534
00535 PFNGLBEGINQUERYARBPROC __glewBeginQueryARB = NULL;
00536 PFNGLDELETEQUERIESARBPROC __glewDeleteQueriesARB = NULL;
00537 PFNGLENDQUERYARBPROC __glewEndQueryARB = NULL;
00538 PFNGLGENQUERIESARBPROC __glewGenQueriesARB = NULL;
00539 PFNGLGETQUERYOBJECTIVARBPROC __glewGetQueryObjectivARB = NULL;
00540 PFNGLGETQUERYOBJECTUIVARBPROC __glewGetQueryObjectuivARB = NULL;
00541 PFNGLGETQUERYIVARBPROC __glewGetQueryivARB = NULL;
00542 PFNGLISQUERYARBPROC __glewIsQueryARB = NULL;
00543
00544 PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB = NULL;
00545 PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB = NULL;
00546
00547 PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB = NULL;
00548 PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB = NULL;
00549 PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB = NULL;
00550 PFNGLCREATESHADEROBJECTARBPROC __glewCreateShaderObjectARB = NULL;
00551 PFNGLDELETEOBJECTARBPROC __glewDeleteObjectARB = NULL;
00552 PFNGLDETACHOBJECTARBPROC __glewDetachObjectARB = NULL;
00553 PFNGLGETACTIVEUNIFORMARBPROC __glewGetActiveUniformARB = NULL;
00554 PFNGLGETATTACHEDOBJECTSARBPROC __glewGetAttachedObjectsARB = NULL;
00555 PFNGLGETHANDLEARBPROC __glewGetHandleARB = NULL;
00556 PFNGLGETINFOLOGARBPROC __glewGetInfoLogARB = NULL;
00557 PFNGLGETOBJECTPARAMETERFVARBPROC __glewGetObjectParameterfvARB = NULL;
00558 PFNGLGETOBJECTPARAMETERIVARBPROC __glewGetObjectParameterivARB = NULL;
00559 PFNGLGETSHADERSOURCEARBPROC __glewGetShaderSourceARB = NULL;
00560 PFNGLGETUNIFORMLOCATIONARBPROC __glewGetUniformLocationARB = NULL;
00561 PFNGLGETUNIFORMFVARBPROC __glewGetUniformfvARB = NULL;
00562 PFNGLGETUNIFORMIVARBPROC __glewGetUniformivARB = NULL;
00563 PFNGLLINKPROGRAMARBPROC __glewLinkProgramARB = NULL;
00564 PFNGLSHADERSOURCEARBPROC __glewShaderSourceARB = NULL;
00565 PFNGLUNIFORM1FARBPROC __glewUniform1fARB = NULL;
00566 PFNGLUNIFORM1FVARBPROC __glewUniform1fvARB = NULL;
00567 PFNGLUNIFORM1IARBPROC __glewUniform1iARB = NULL;
00568 PFNGLUNIFORM1IVARBPROC __glewUniform1ivARB = NULL;
00569 PFNGLUNIFORM2FARBPROC __glewUniform2fARB = NULL;
00570 PFNGLUNIFORM2FVARBPROC __glewUniform2fvARB = NULL;
00571 PFNGLUNIFORM2IARBPROC __glewUniform2iARB = NULL;
00572 PFNGLUNIFORM2IVARBPROC __glewUniform2ivARB = NULL;
00573 PFNGLUNIFORM3FARBPROC __glewUniform3fARB = NULL;
00574 PFNGLUNIFORM3FVARBPROC __glewUniform3fvARB = NULL;
00575 PFNGLUNIFORM3IARBPROC __glewUniform3iARB = NULL;
00576 PFNGLUNIFORM3IVARBPROC __glewUniform3ivARB = NULL;
00577 PFNGLUNIFORM4FARBPROC __glewUniform4fARB = NULL;
00578 PFNGLUNIFORM4FVARBPROC __glewUniform4fvARB = NULL;
00579 PFNGLUNIFORM4IARBPROC __glewUniform4iARB = NULL;
00580 PFNGLUNIFORM4IVARBPROC __glewUniform4ivARB = NULL;
00581 PFNGLUNIFORMMATRIX2FVARBPROC __glewUniformMatrix2fvARB = NULL;
00582 PFNGLUNIFORMMATRIX3FVARBPROC __glewUniformMatrix3fvARB = NULL;
00583 PFNGLUNIFORMMATRIX4FVARBPROC __glewUniformMatrix4fvARB = NULL;
00584 PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB = NULL;
00585 PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB = NULL;
00586
00587 PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB = NULL;
00588 PFNGLCOMPRESSEDTEXIMAGE2DARBPROC __glewCompressedTexImage2DARB = NULL;
00589 PFNGLCOMPRESSEDTEXIMAGE3DARBPROC __glewCompressedTexImage3DARB = NULL;
00590 PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC __glewCompressedTexSubImage1DARB = NULL;
00591 PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __glewCompressedTexSubImage2DARB = NULL;
00592 PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB = NULL;
00593 PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB = NULL;
00594
00595 PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB = NULL;
00596 PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB = NULL;
00597 PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB = NULL;
00598 PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB = NULL;
00599
00600 PFNGLVERTEXBLENDARBPROC __glewVertexBlendARB = NULL;
00601 PFNGLWEIGHTPOINTERARBPROC __glewWeightPointerARB = NULL;
00602 PFNGLWEIGHTBVARBPROC __glewWeightbvARB = NULL;
00603 PFNGLWEIGHTDVARBPROC __glewWeightdvARB = NULL;
00604 PFNGLWEIGHTFVARBPROC __glewWeightfvARB = NULL;
00605 PFNGLWEIGHTIVARBPROC __glewWeightivARB = NULL;
00606 PFNGLWEIGHTSVARBPROC __glewWeightsvARB = NULL;
00607 PFNGLWEIGHTUBVARBPROC __glewWeightubvARB = NULL;
00608 PFNGLWEIGHTUIVARBPROC __glewWeightuivARB = NULL;
00609 PFNGLWEIGHTUSVARBPROC __glewWeightusvARB = NULL;
00610
00611 PFNGLBINDBUFFERARBPROC __glewBindBufferARB = NULL;
00612 PFNGLBUFFERDATAARBPROC __glewBufferDataARB = NULL;
00613 PFNGLBUFFERSUBDATAARBPROC __glewBufferSubDataARB = NULL;
00614 PFNGLDELETEBUFFERSARBPROC __glewDeleteBuffersARB = NULL;
00615 PFNGLGENBUFFERSARBPROC __glewGenBuffersARB = NULL;
00616 PFNGLGETBUFFERPARAMETERIVARBPROC __glewGetBufferParameterivARB = NULL;
00617 PFNGLGETBUFFERPOINTERVARBPROC __glewGetBufferPointervARB = NULL;
00618 PFNGLGETBUFFERSUBDATAARBPROC __glewGetBufferSubDataARB = NULL;
00619 PFNGLISBUFFERARBPROC __glewIsBufferARB = NULL;
00620 PFNGLMAPBUFFERARBPROC __glewMapBufferARB = NULL;
00621 PFNGLUNMAPBUFFERARBPROC __glewUnmapBufferARB = NULL;
00622
00623 PFNGLBINDPROGRAMARBPROC __glewBindProgramARB = NULL;
00624 PFNGLDELETEPROGRAMSARBPROC __glewDeleteProgramsARB = NULL;
00625 PFNGLDISABLEVERTEXATTRIBARRAYARBPROC __glewDisableVertexAttribArrayARB = NULL;
00626 PFNGLENABLEVERTEXATTRIBARRAYARBPROC __glewEnableVertexAttribArrayARB = NULL;
00627 PFNGLGENPROGRAMSARBPROC __glewGenProgramsARB = NULL;
00628 PFNGLGETPROGRAMENVPARAMETERDVARBPROC __glewGetProgramEnvParameterdvARB = NULL;
00629 PFNGLGETPROGRAMENVPARAMETERFVARBPROC __glewGetProgramEnvParameterfvARB = NULL;
00630 PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC __glewGetProgramLocalParameterdvARB = NULL;
00631 PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC __glewGetProgramLocalParameterfvARB = NULL;
00632 PFNGLGETPROGRAMSTRINGARBPROC __glewGetProgramStringARB = NULL;
00633 PFNGLGETPROGRAMIVARBPROC __glewGetProgramivARB = NULL;
00634 PFNGLGETVERTEXATTRIBPOINTERVARBPROC __glewGetVertexAttribPointervARB = NULL;
00635 PFNGLGETVERTEXATTRIBDVARBPROC __glewGetVertexAttribdvARB = NULL;
00636 PFNGLGETVERTEXATTRIBFVARBPROC __glewGetVertexAttribfvARB = NULL;
00637 PFNGLGETVERTEXATTRIBIVARBPROC __glewGetVertexAttribivARB = NULL;
00638 PFNGLISPROGRAMARBPROC __glewIsProgramARB = NULL;
00639 PFNGLPROGRAMENVPARAMETER4DARBPROC __glewProgramEnvParameter4dARB = NULL;
00640 PFNGLPROGRAMENVPARAMETER4DVARBPROC __glewProgramEnvParameter4dvARB = NULL;
00641 PFNGLPROGRAMENVPARAMETER4FARBPROC __glewProgramEnvParameter4fARB = NULL;
00642 PFNGLPROGRAMENVPARAMETER4FVARBPROC __glewProgramEnvParameter4fvARB = NULL;
00643 PFNGLPROGRAMLOCALPARAMETER4DARBPROC __glewProgramLocalParameter4dARB = NULL;
00644 PFNGLPROGRAMLOCALPARAMETER4DVARBPROC __glewProgramLocalParameter4dvARB = NULL;
00645 PFNGLPROGRAMLOCALPARAMETER4FARBPROC __glewProgramLocalParameter4fARB = NULL;
00646 PFNGLPROGRAMLOCALPARAMETER4FVARBPROC __glewProgramLocalParameter4fvARB = NULL;
00647 PFNGLPROGRAMSTRINGARBPROC __glewProgramStringARB = NULL;
00648 PFNGLVERTEXATTRIB1DARBPROC __glewVertexAttrib1dARB = NULL;
00649 PFNGLVERTEXATTRIB1DVARBPROC __glewVertexAttrib1dvARB = NULL;
00650 PFNGLVERTEXATTRIB1FARBPROC __glewVertexAttrib1fARB = NULL;
00651 PFNGLVERTEXATTRIB1FVARBPROC __glewVertexAttrib1fvARB = NULL;
00652 PFNGLVERTEXATTRIB1SARBPROC __glewVertexAttrib1sARB = NULL;
00653 PFNGLVERTEXATTRIB1SVARBPROC __glewVertexAttrib1svARB = NULL;
00654 PFNGLVERTEXATTRIB2DARBPROC __glewVertexAttrib2dARB = NULL;
00655 PFNGLVERTEXATTRIB2DVARBPROC __glewVertexAttrib2dvARB = NULL;
00656 PFNGLVERTEXATTRIB2FARBPROC __glewVertexAttrib2fARB = NULL;
00657 PFNGLVERTEXATTRIB2FVARBPROC __glewVertexAttrib2fvARB = NULL;
00658 PFNGLVERTEXATTRIB2SARBPROC __glewVertexAttrib2sARB = NULL;
00659 PFNGLVERTEXATTRIB2SVARBPROC __glewVertexAttrib2svARB = NULL;
00660 PFNGLVERTEXATTRIB3DARBPROC __glewVertexAttrib3dARB = NULL;
00661 PFNGLVERTEXATTRIB3DVARBPROC __glewVertexAttrib3dvARB = NULL;
00662 PFNGLVERTEXATTRIB3FARBPROC __glewVertexAttrib3fARB = NULL;
00663 PFNGLVERTEXATTRIB3FVARBPROC __glewVertexAttrib3fvARB = NULL;
00664 PFNGLVERTEXATTRIB3SARBPROC __glewVertexAttrib3sARB = NULL;
00665 PFNGLVERTEXATTRIB3SVARBPROC __glewVertexAttrib3svARB = NULL;
00666 PFNGLVERTEXATTRIB4NBVARBPROC __glewVertexAttrib4NbvARB = NULL;
00667 PFNGLVERTEXATTRIB4NIVARBPROC __glewVertexAttrib4NivARB = NULL;
00668 PFNGLVERTEXATTRIB4NSVARBPROC __glewVertexAttrib4NsvARB = NULL;
00669 PFNGLVERTEXATTRIB4NUBARBPROC __glewVertexAttrib4NubARB = NULL;
00670 PFNGLVERTEXATTRIB4NUBVARBPROC __glewVertexAttrib4NubvARB = NULL;
00671 PFNGLVERTEXATTRIB4NUIVARBPROC __glewVertexAttrib4NuivARB = NULL;
00672 PFNGLVERTEXATTRIB4NUSVARBPROC __glewVertexAttrib4NusvARB = NULL;
00673 PFNGLVERTEXATTRIB4BVARBPROC __glewVertexAttrib4bvARB = NULL;
00674 PFNGLVERTEXATTRIB4DARBPROC __glewVertexAttrib4dARB = NULL;
00675 PFNGLVERTEXATTRIB4DVARBPROC __glewVertexAttrib4dvARB = NULL;
00676 PFNGLVERTEXATTRIB4FARBPROC __glewVertexAttrib4fARB = NULL;
00677 PFNGLVERTEXATTRIB4FVARBPROC __glewVertexAttrib4fvARB = NULL;
00678 PFNGLVERTEXATTRIB4IVARBPROC __glewVertexAttrib4ivARB = NULL;
00679 PFNGLVERTEXATTRIB4SARBPROC __glewVertexAttrib4sARB = NULL;
00680 PFNGLVERTEXATTRIB4SVARBPROC __glewVertexAttrib4svARB = NULL;
00681 PFNGLVERTEXATTRIB4UBVARBPROC __glewVertexAttrib4ubvARB = NULL;
00682 PFNGLVERTEXATTRIB4UIVARBPROC __glewVertexAttrib4uivARB = NULL;
00683 PFNGLVERTEXATTRIB4USVARBPROC __glewVertexAttrib4usvARB = NULL;
00684 PFNGLVERTEXATTRIBPOINTERARBPROC __glewVertexAttribPointerARB = NULL;
00685
00686 PFNGLBINDATTRIBLOCATIONARBPROC __glewBindAttribLocationARB = NULL;
00687 PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB = NULL;
00688 PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB = NULL;
00689
00690 PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB = NULL;
00691 PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB = NULL;
00692 PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB = NULL;
00693 PFNGLWINDOWPOS2FVARBPROC __glewWindowPos2fvARB = NULL;
00694 PFNGLWINDOWPOS2IARBPROC __glewWindowPos2iARB = NULL;
00695 PFNGLWINDOWPOS2IVARBPROC __glewWindowPos2ivARB = NULL;
00696 PFNGLWINDOWPOS2SARBPROC __glewWindowPos2sARB = NULL;
00697 PFNGLWINDOWPOS2SVARBPROC __glewWindowPos2svARB = NULL;
00698 PFNGLWINDOWPOS3DARBPROC __glewWindowPos3dARB = NULL;
00699 PFNGLWINDOWPOS3DVARBPROC __glewWindowPos3dvARB = NULL;
00700 PFNGLWINDOWPOS3FARBPROC __glewWindowPos3fARB = NULL;
00701 PFNGLWINDOWPOS3FVARBPROC __glewWindowPos3fvARB = NULL;
00702 PFNGLWINDOWPOS3IARBPROC __glewWindowPos3iARB = NULL;
00703 PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB = NULL;
00704 PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB = NULL;
00705 PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB = NULL;
00706
00707 PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI = NULL;
00708
00709 PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI = NULL;
00710 PFNGLDRAWRANGEELEMENTARRAYATIPROC __glewDrawRangeElementArrayATI = NULL;
00711 PFNGLELEMENTPOINTERATIPROC __glewElementPointerATI = NULL;
00712
00713 PFNGLGETTEXBUMPPARAMETERFVATIPROC __glewGetTexBumpParameterfvATI = NULL;
00714 PFNGLGETTEXBUMPPARAMETERIVATIPROC __glewGetTexBumpParameterivATI = NULL;
00715 PFNGLTEXBUMPPARAMETERFVATIPROC __glewTexBumpParameterfvATI = NULL;
00716 PFNGLTEXBUMPPARAMETERIVATIPROC __glewTexBumpParameterivATI = NULL;
00717
00718 PFNGLALPHAFRAGMENTOP1ATIPROC __glewAlphaFragmentOp1ATI = NULL;
00719 PFNGLALPHAFRAGMENTOP2ATIPROC __glewAlphaFragmentOp2ATI = NULL;
00720 PFNGLALPHAFRAGMENTOP3ATIPROC __glewAlphaFragmentOp3ATI = NULL;
00721 PFNGLBEGINFRAGMENTSHADERATIPROC __glewBeginFragmentShaderATI = NULL;
00722 PFNGLBINDFRAGMENTSHADERATIPROC __glewBindFragmentShaderATI = NULL;
00723 PFNGLCOLORFRAGMENTOP1ATIPROC __glewColorFragmentOp1ATI = NULL;
00724 PFNGLCOLORFRAGMENTOP2ATIPROC __glewColorFragmentOp2ATI = NULL;
00725 PFNGLCOLORFRAGMENTOP3ATIPROC __glewColorFragmentOp3ATI = NULL;
00726 PFNGLDELETEFRAGMENTSHADERATIPROC __glewDeleteFragmentShaderATI = NULL;
00727 PFNGLENDFRAGMENTSHADERATIPROC __glewEndFragmentShaderATI = NULL;
00728 PFNGLGENFRAGMENTSHADERSATIPROC __glewGenFragmentShadersATI = NULL;
00729 PFNGLPASSTEXCOORDATIPROC __glewPassTexCoordATI = NULL;
00730 PFNGLSAMPLEMAPATIPROC __glewSampleMapATI = NULL;
00731 PFNGLSETFRAGMENTSHADERCONSTANTATIPROC __glewSetFragmentShaderConstantATI = NULL;
00732
00733 PFNGLMAPOBJECTBUFFERATIPROC __glewMapObjectBufferATI = NULL;
00734 PFNGLUNMAPOBJECTBUFFERATIPROC __glewUnmapObjectBufferATI = NULL;
00735
00736 PFNGLPNTRIANGLESFATIPROC __glPNTrianglewesfATI = NULL;
00737 PFNGLPNTRIANGLESIATIPROC __glPNTrianglewesiATI = NULL;
00738
00739 PFNGLSTENCILFUNCSEPARATEATIPROC __glewStencilFuncSeparateATI = NULL;
00740 PFNGLSTENCILOPSEPARATEATIPROC __glewStencilOpSeparateATI = NULL;
00741
00742 PFNGLARRAYOBJECTATIPROC __glewArrayObjectATI = NULL;
00743 PFNGLFREEOBJECTBUFFERATIPROC __glewFreeObjectBufferATI = NULL;
00744 PFNGLGETARRAYOBJECTFVATIPROC __glewGetArrayObjectfvATI = NULL;
00745 PFNGLGETARRAYOBJECTIVATIPROC __glewGetArrayObjectivATI = NULL;
00746 PFNGLGETOBJECTBUFFERFVATIPROC __glewGetObjectBufferfvATI = NULL;
00747 PFNGLGETOBJECTBUFFERIVATIPROC __glewGetObjectBufferivATI = NULL;
00748 PFNGLGETVARIANTARRAYOBJECTFVATIPROC __glewGetVariantArrayObjectfvATI = NULL;
00749 PFNGLGETVARIANTARRAYOBJECTIVATIPROC __glewGetVariantArrayObjectivATI = NULL;
00750 PFNGLISOBJECTBUFFERATIPROC __glewIsObjectBufferATI = NULL;
00751 PFNGLNEWOBJECTBUFFERATIPROC __glewNewObjectBufferATI = NULL;
00752 PFNGLUPDATEOBJECTBUFFERATIPROC __glewUpdateObjectBufferATI = NULL;
00753 PFNGLVARIANTARRAYOBJECTATIPROC __glewVariantArrayObjectATI = NULL;
00754
00755 PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC __glewGetVertexAttribArrayObjectfvATI = NULL;
00756 PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC __glewGetVertexAttribArrayObjectivATI = NULL;
00757 PFNGLVERTEXATTRIBARRAYOBJECTATIPROC __glewVertexAttribArrayObjectATI = NULL;
00758
00759 PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC __glewClientActiveVertexStreamATI = NULL;
00760 PFNGLNORMALSTREAM3BATIPROC __glewNormalStream3bATI = NULL;
00761 PFNGLNORMALSTREAM3BVATIPROC __glewNormalStream3bvATI = NULL;
00762 PFNGLNORMALSTREAM3DATIPROC __glewNormalStream3dATI = NULL;
00763 PFNGLNORMALSTREAM3DVATIPROC __glewNormalStream3dvATI = NULL;
00764 PFNGLNORMALSTREAM3FATIPROC __glewNormalStream3fATI = NULL;
00765 PFNGLNORMALSTREAM3FVATIPROC __glewNormalStream3fvATI = NULL;
00766 PFNGLNORMALSTREAM3IATIPROC __glewNormalStream3iATI = NULL;
00767 PFNGLNORMALSTREAM3IVATIPROC __glewNormalStream3ivATI = NULL;
00768 PFNGLNORMALSTREAM3SATIPROC __glewNormalStream3sATI = NULL;
00769 PFNGLNORMALSTREAM3SVATIPROC __glewNormalStream3svATI = NULL;
00770 PFNGLVERTEXBLENDENVFATIPROC __glewVertexBlendEnvfATI = NULL;
00771 PFNGLVERTEXBLENDENVIATIPROC __glewVertexBlendEnviATI = NULL;
00772 PFNGLVERTEXSTREAM2DATIPROC __glewVertexStream2dATI = NULL;
00773 PFNGLVERTEXSTREAM2DVATIPROC __glewVertexStream2dvATI = NULL;
00774 PFNGLVERTEXSTREAM2FATIPROC __glewVertexStream2fATI = NULL;
00775 PFNGLVERTEXSTREAM2FVATIPROC __glewVertexStream2fvATI = NULL;
00776 PFNGLVERTEXSTREAM2IATIPROC __glewVertexStream2iATI = NULL;
00777 PFNGLVERTEXSTREAM2IVATIPROC __glewVertexStream2ivATI = NULL;
00778 PFNGLVERTEXSTREAM2SATIPROC __glewVertexStream2sATI = NULL;
00779 PFNGLVERTEXSTREAM2SVATIPROC __glewVertexStream2svATI = NULL;
00780 PFNGLVERTEXSTREAM3DATIPROC __glewVertexStream3dATI = NULL;
00781 PFNGLVERTEXSTREAM3DVATIPROC __glewVertexStream3dvATI = NULL;
00782 PFNGLVERTEXSTREAM3FATIPROC __glewVertexStream3fATI = NULL;
00783 PFNGLVERTEXSTREAM3FVATIPROC __glewVertexStream3fvATI = NULL;
00784 PFNGLVERTEXSTREAM3IATIPROC __glewVertexStream3iATI = NULL;
00785 PFNGLVERTEXSTREAM3IVATIPROC __glewVertexStream3ivATI = NULL;
00786 PFNGLVERTEXSTREAM3SATIPROC __glewVertexStream3sATI = NULL;
00787 PFNGLVERTEXSTREAM3SVATIPROC __glewVertexStream3svATI = NULL;
00788 PFNGLVERTEXSTREAM4DATIPROC __glewVertexStream4dATI = NULL;
00789 PFNGLVERTEXSTREAM4DVATIPROC __glewVertexStream4dvATI = NULL;
00790 PFNGLVERTEXSTREAM4FATIPROC __glewVertexStream4fATI = NULL;
00791 PFNGLVERTEXSTREAM4FVATIPROC __glewVertexStream4fvATI = NULL;
00792 PFNGLVERTEXSTREAM4IATIPROC __glewVertexStream4iATI = NULL;
00793 PFNGLVERTEXSTREAM4IVATIPROC __glewVertexStream4ivATI = NULL;
00794 PFNGLVERTEXSTREAM4SATIPROC __glewVertexStream4sATI = NULL;
00795 PFNGLVERTEXSTREAM4SVATIPROC __glewVertexStream4svATI = NULL;
00796
00797 PFNGLBLENDCOLOREXTPROC __glewBlendColorEXT = NULL;
00798
00799 PFNGLBLENDEQUATIONSEPARATEEXTPROC __glewBlendEquationSeparateEXT = NULL;
00800
00801 PFNGLBLENDFUNCSEPARATEEXTPROC __glewBlendFuncSeparateEXT = NULL;
00802
00803 PFNGLBLENDEQUATIONEXTPROC __glewBlendEquationEXT = NULL;
00804
00805 PFNGLCOLORSUBTABLEEXTPROC __glewColorSubTableEXT = NULL;
00806 PFNGLCOPYCOLORSUBTABLEEXTPROC __glewCopyColorSubTableEXT = NULL;
00807
00808 PFNGLLOCKARRAYSEXTPROC __glewLockArraysEXT = NULL;
00809 PFNGLUNLOCKARRAYSEXTPROC __glewUnlockArraysEXT = NULL;
00810
00811 PFNGLCONVOLUTIONFILTER1DEXTPROC __glewConvolutionFilter1DEXT = NULL;
00812 PFNGLCONVOLUTIONFILTER2DEXTPROC __glewConvolutionFilter2DEXT = NULL;
00813 PFNGLCONVOLUTIONPARAMETERFEXTPROC __glewConvolutionParameterfEXT = NULL;
00814 PFNGLCONVOLUTIONPARAMETERFVEXTPROC __glewConvolutionParameterfvEXT = NULL;
00815 PFNGLCONVOLUTIONPARAMETERIEXTPROC __glewConvolutionParameteriEXT = NULL;
00816 PFNGLCONVOLUTIONPARAMETERIVEXTPROC __glewConvolutionParameterivEXT = NULL;
00817 PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC __glewCopyConvolutionFilter1DEXT = NULL;
00818 PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC __glewCopyConvolutionFilter2DEXT = NULL;
00819 PFNGLGETCONVOLUTIONFILTEREXTPROC __glewGetConvolutionFilterEXT = NULL;
00820 PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC __glewGetConvolutionParameterfvEXT = NULL;
00821 PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC __glewGetConvolutionParameterivEXT = NULL;
00822 PFNGLGETSEPARABLEFILTEREXTPROC __glewGetSeparableFilterEXT = NULL;
00823 PFNGLSEPARABLEFILTER2DEXTPROC __glewSeparableFilter2DEXT = NULL;
00824
00825 PFNGLBINORMALPOINTEREXTPROC __glewBinormalPointerEXT = NULL;
00826 PFNGLTANGENTPOINTEREXTPROC __glewTangentPointerEXT = NULL;
00827
00828 PFNGLCOPYTEXIMAGE1DEXTPROC __glewCopyTexImage1DEXT = NULL;
00829 PFNGLCOPYTEXIMAGE2DEXTPROC __glewCopyTexImage2DEXT = NULL;
00830 PFNGLCOPYTEXSUBIMAGE1DEXTPROC __glewCopyTexSubImage1DEXT = NULL;
00831 PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT = NULL;
00832 PFNGLCOPYTEXSUBIMAGE3DEXTPROC __glewCopyTexSubImage3DEXT = NULL;
00833
00834 PFNGLCULLPARAMETERDVEXTPROC __glewCullParameterdvEXT = NULL;
00835 PFNGLCULLPARAMETERFVEXTPROC __glewCullParameterfvEXT = NULL;
00836
00837 PFNGLDEPTHBOUNDSEXTPROC __glewDepthBoundsEXT = NULL;
00838
00839 PFNGLDRAWRANGEELEMENTSEXTPROC __glewDrawRangeElementsEXT = NULL;
00840
00841 PFNGLFOGCOORDPOINTEREXTPROC __glewFogCoordPointerEXT = NULL;
00842 PFNGLFOGCOORDDEXTPROC __glewFogCoorddEXT = NULL;
00843 PFNGLFOGCOORDDVEXTPROC __glewFogCoorddvEXT = NULL;
00844 PFNGLFOGCOORDFEXTPROC __glewFogCoordfEXT = NULL;
00845 PFNGLFOGCOORDFVEXTPROC __glewFogCoordfvEXT = NULL;
00846
00847 PFNGLFRAGMENTCOLORMATERIALEXTPROC __glewFragmentColorMaterialEXT = NULL;
00848 PFNGLFRAGMENTLIGHTMODELFEXTPROC __glewFragmentLightModelfEXT = NULL;
00849 PFNGLFRAGMENTLIGHTMODELFVEXTPROC __glewFragmentLightModelfvEXT = NULL;
00850 PFNGLFRAGMENTLIGHTMODELIEXTPROC __glewFragmentLightModeliEXT = NULL;
00851 PFNGLFRAGMENTLIGHTMODELIVEXTPROC __glewFragmentLightModelivEXT = NULL;
00852 PFNGLFRAGMENTLIGHTFEXTPROC __glewFragmentLightfEXT = NULL;
00853 PFNGLFRAGMENTLIGHTFVEXTPROC __glewFragmentLightfvEXT = NULL;
00854 PFNGLFRAGMENTLIGHTIEXTPROC __glewFragmentLightiEXT = NULL;
00855 PFNGLFRAGMENTLIGHTIVEXTPROC __glewFragmentLightivEXT = NULL;
00856 PFNGLFRAGMENTMATERIALFEXTPROC __glewFragmentMaterialfEXT = NULL;
00857 PFNGLFRAGMENTMATERIALFVEXTPROC __glewFragmentMaterialfvEXT = NULL;
00858 PFNGLFRAGMENTMATERIALIEXTPROC __glewFragmentMaterialiEXT = NULL;
00859 PFNGLFRAGMENTMATERIALIVEXTPROC __glewFragmentMaterialivEXT = NULL;
00860 PFNGLGETFRAGMENTLIGHTFVEXTPROC __glewGetFragmentLightfvEXT = NULL;
00861 PFNGLGETFRAGMENTLIGHTIVEXTPROC __glewGetFragmentLightivEXT = NULL;
00862 PFNGLGETFRAGMENTMATERIALFVEXTPROC __glewGetFragmentMaterialfvEXT = NULL;
00863 PFNGLGETFRAGMENTMATERIALIVEXTPROC __glewGetFragmentMaterialivEXT = NULL;
00864 PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT = NULL;
00865
00866 PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT = NULL;
00867
00868 PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT = NULL;
00869
00870 PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT = NULL;
00871 PFNGLBINDRENDERBUFFEREXTPROC __glewBindRenderbufferEXT = NULL;
00872 PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC __glewCheckFramebufferStatusEXT = NULL;
00873 PFNGLDELETEFRAMEBUFFERSEXTPROC __glewDeleteFramebuffersEXT = NULL;
00874 PFNGLDELETERENDERBUFFERSEXTPROC __glewDeleteRenderbuffersEXT = NULL;
00875 PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC __glewFramebufferRenderbufferEXT = NULL;
00876 PFNGLFRAMEBUFFERTEXTURE1DEXTPROC __glewFramebufferTexture1DEXT = NULL;
00877 PFNGLFRAMEBUFFERTEXTURE2DEXTPROC __glewFramebufferTexture2DEXT = NULL;
00878 PFNGLFRAMEBUFFERTEXTURE3DEXTPROC __glewFramebufferTexture3DEXT = NULL;
00879 PFNGLGENFRAMEBUFFERSEXTPROC __glewGenFramebuffersEXT = NULL;
00880 PFNGLGENRENDERBUFFERSEXTPROC __glewGenRenderbuffersEXT = NULL;
00881 PFNGLGENERATEMIPMAPEXTPROC __glewGenerateMipmapEXT = NULL;
00882 PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetFramebufferAttachmentParameterivEXT = NULL;
00883 PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC __glewGetRenderbufferParameterivEXT = NULL;
00884 PFNGLISFRAMEBUFFEREXTPROC __glewIsFramebufferEXT = NULL;
00885 PFNGLISRENDERBUFFEREXTPROC __glewIsRenderbufferEXT = NULL;
00886 PFNGLRENDERBUFFERSTORAGEEXTPROC __glewRenderbufferStorageEXT = NULL;
00887
00888 PFNGLGETHISTOGRAMEXTPROC __glewGetHistogramEXT = NULL;
00889 PFNGLGETHISTOGRAMPARAMETERFVEXTPROC __glewGetHistogramParameterfvEXT = NULL;
00890 PFNGLGETHISTOGRAMPARAMETERIVEXTPROC __glewGetHistogramParameterivEXT = NULL;
00891 PFNGLGETMINMAXEXTPROC __glewGetMinmaxEXT = NULL;
00892 PFNGLGETMINMAXPARAMETERFVEXTPROC __glewGetMinmaxParameterfvEXT = NULL;
00893 PFNGLGETMINMAXPARAMETERIVEXTPROC __glewGetMinmaxParameterivEXT = NULL;
00894 PFNGLHISTOGRAMEXTPROC __glewHistogramEXT = NULL;
00895 PFNGLMINMAXEXTPROC __glewMinmaxEXT = NULL;
00896 PFNGLRESETHISTOGRAMEXTPROC __glewResetHistogramEXT = NULL;
00897 PFNGLRESETMINMAXEXTPROC __glewResetMinmaxEXT = NULL;
00898
00899 PFNGLINDEXFUNCEXTPROC __glewIndexFuncEXT = NULL;
00900
00901 PFNGLINDEXMATERIALEXTPROC __glewIndexMaterialEXT = NULL;
00902
00903 PFNGLAPPLYTEXTUREEXTPROC __glewApplyTextureEXT = NULL;
00904 PFNGLTEXTURELIGHTEXTPROC __glewTextureLightEXT = NULL;
00905 PFNGLTEXTUREMATERIALEXTPROC __glewTextureMaterialEXT = NULL;
00906
00907 PFNGLMULTIDRAWARRAYSEXTPROC __glewMultiDrawArraysEXT = NULL;
00908 PFNGLMULTIDRAWELEMENTSEXTPROC __glewMultiDrawElementsEXT = NULL;
00909
00910 PFNGLSAMPLEMASKEXTPROC __glewSampleMaskEXT = NULL;
00911 PFNGLSAMPLEPATTERNEXTPROC __glewSamplePatternEXT = NULL;
00912
00913 PFNGLCOLORTABLEEXTPROC __glewColorTableEXT = NULL;
00914 PFNGLGETCOLORTABLEEXTPROC __glewGetColorTableEXT = NULL;
00915 PFNGLGETCOLORTABLEPARAMETERFVEXTPROC __glewGetColorTableParameterfvEXT = NULL;
00916 PFNGLGETCOLORTABLEPARAMETERIVEXTPROC __glewGetColorTableParameterivEXT = NULL;
00917
00918 PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC __glewGetPixelTransformParameterfvEXT = NULL;
00919 PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC __glewGetPixelTransformParameterivEXT = NULL;
00920 PFNGLPIXELTRANSFORMPARAMETERFEXTPROC __glewPixelTransformParameterfEXT = NULL;
00921 PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC __glewPixelTransformParameterfvEXT = NULL;
00922 PFNGLPIXELTRANSFORMPARAMETERIEXTPROC __glewPixelTransformParameteriEXT = NULL;
00923 PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC __glewPixelTransformParameterivEXT = NULL;
00924
00925 PFNGLPOINTPARAMETERFEXTPROC __glewPointParameterfEXT = NULL;
00926 PFNGLPOINTPARAMETERFVEXTPROC __glewPointParameterfvEXT = NULL;
00927
00928 PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL;
00929
00930 PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT = NULL;
00931 PFNGLENDSCENEEXTPROC __glewEndSceneEXT = NULL;
00932
00933 PFNGLSECONDARYCOLOR3BEXTPROC __glewSecondaryColor3bEXT = NULL;
00934 PFNGLSECONDARYCOLOR3BVEXTPROC __glewSecondaryColor3bvEXT = NULL;
00935 PFNGLSECONDARYCOLOR3DEXTPROC __glewSecondaryColor3dEXT = NULL;
00936 PFNGLSECONDARYCOLOR3DVEXTPROC __glewSecondaryColor3dvEXT = NULL;
00937 PFNGLSECONDARYCOLOR3FEXTPROC __glewSecondaryColor3fEXT = NULL;
00938 PFNGLSECONDARYCOLOR3FVEXTPROC __glewSecondaryColor3fvEXT = NULL;
00939 PFNGLSECONDARYCOLOR3IEXTPROC __glewSecondaryColor3iEXT = NULL;
00940 PFNGLSECONDARYCOLOR3IVEXTPROC __glewSecondaryColor3ivEXT = NULL;
00941 PFNGLSECONDARYCOLOR3SEXTPROC __glewSecondaryColor3sEXT = NULL;
00942 PFNGLSECONDARYCOLOR3SVEXTPROC __glewSecondaryColor3svEXT = NULL;
00943 PFNGLSECONDARYCOLOR3UBEXTPROC __glewSecondaryColor3ubEXT = NULL;
00944 PFNGLSECONDARYCOLOR3UBVEXTPROC __glewSecondaryColor3ubvEXT = NULL;
00945 PFNGLSECONDARYCOLOR3UIEXTPROC __glewSecondaryColor3uiEXT = NULL;
00946 PFNGLSECONDARYCOLOR3UIVEXTPROC __glewSecondaryColor3uivEXT = NULL;
00947 PFNGLSECONDARYCOLOR3USEXTPROC __glewSecondaryColor3usEXT = NULL;
00948 PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT = NULL;
00949 PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT = NULL;
00950
00951 PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT = NULL;
00952
00953 PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT = NULL;
00954 PFNGLTEXSUBIMAGE2DEXTPROC __glewTexSubImage2DEXT = NULL;
00955 PFNGLTEXSUBIMAGE3DEXTPROC __glewTexSubImage3DEXT = NULL;
00956
00957 PFNGLTEXIMAGE3DEXTPROC __glewTexImage3DEXT = NULL;
00958
00959 PFNGLARETEXTURESRESIDENTEXTPROC __glewAreTexturesResidentEXT = NULL;
00960 PFNGLBINDTEXTUREEXTPROC __glewBindTextureEXT = NULL;
00961 PFNGLDELETETEXTURESEXTPROC __glewDeleteTexturesEXT = NULL;
00962 PFNGLGENTEXTURESEXTPROC __glewGenTexturesEXT = NULL;
00963 PFNGLISTEXTUREEXTPROC __glewIsTextureEXT = NULL;
00964 PFNGLPRIORITIZETEXTURESEXTPROC __glewPrioritizeTexturesEXT = NULL;
00965
00966 PFNGLTEXTURENORMALEXTPROC __glewTextureNormalEXT = NULL;
00967
00968 PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT = NULL;
00969 PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT = NULL;
00970 PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT = NULL;
00971 PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT = NULL;
00972 PFNGLGETPOINTERVEXTPROC __glewGetPointervEXT = NULL;
00973 PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT = NULL;
00974 PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT = NULL;
00975 PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL;
00976 PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT = NULL;
00977
00978 PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT = NULL;
00979 PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT = NULL;
00980 PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT = NULL;
00981 PFNGLBINDPARAMETEREXTPROC __glewBindParameterEXT = NULL;
00982 PFNGLBINDTEXGENPARAMETEREXTPROC __glewBindTexGenParameterEXT = NULL;
00983 PFNGLBINDTEXTUREUNITPARAMETEREXTPROC __glewBindTextureUnitParameterEXT = NULL;
00984 PFNGLBINDVERTEXSHADEREXTPROC __glewBindVertexShaderEXT = NULL;
00985 PFNGLDELETEVERTEXSHADEREXTPROC __glewDeleteVertexShaderEXT = NULL;
00986 PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC __glewDisableVariantClientStateEXT = NULL;
00987 PFNGLENABLEVARIANTCLIENTSTATEEXTPROC __glewEnableVariantClientStateEXT = NULL;
00988 PFNGLENDVERTEXSHADEREXTPROC __glewEndVertexShaderEXT = NULL;
00989 PFNGLEXTRACTCOMPONENTEXTPROC __glewExtractComponentEXT = NULL;
00990 PFNGLGENSYMBOLSEXTPROC __glewGenSymbolsEXT = NULL;
00991 PFNGLGENVERTEXSHADERSEXTPROC __glewGenVertexShadersEXT = NULL;
00992 PFNGLGETINVARIANTBOOLEANVEXTPROC __glewGetInvariantBooleanvEXT = NULL;
00993 PFNGLGETINVARIANTFLOATVEXTPROC __glewGetInvariantFloatvEXT = NULL;
00994 PFNGLGETINVARIANTINTEGERVEXTPROC __glewGetInvariantIntegervEXT = NULL;
00995 PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC __glewGetLocalConstantBooleanvEXT = NULL;
00996 PFNGLGETLOCALCONSTANTFLOATVEXTPROC __glewGetLocalConstantFloatvEXT = NULL;
00997 PFNGLGETLOCALCONSTANTINTEGERVEXTPROC __glewGetLocalConstantIntegervEXT = NULL;
00998 PFNGLGETVARIANTBOOLEANVEXTPROC __glewGetVariantBooleanvEXT = NULL;
00999 PFNGLGETVARIANTFLOATVEXTPROC __glewGetVariantFloatvEXT = NULL;
01000 PFNGLGETVARIANTINTEGERVEXTPROC __glewGetVariantIntegervEXT = NULL;
01001 PFNGLGETVARIANTPOINTERVEXTPROC __glewGetVariantPointervEXT = NULL;
01002 PFNGLINSERTCOMPONENTEXTPROC __glewInsertComponentEXT = NULL;
01003 PFNGLISVARIANTENABLEDEXTPROC __glewIsVariantEnabledEXT = NULL;
01004 PFNGLSETINVARIANTEXTPROC __glewSetInvariantEXT = NULL;
01005 PFNGLSETLOCALCONSTANTEXTPROC __glewSetLocalConstantEXT = NULL;
01006 PFNGLSHADEROP1EXTPROC __glewShaderOp1EXT = NULL;
01007 PFNGLSHADEROP2EXTPROC __glewShaderOp2EXT = NULL;
01008 PFNGLSHADEROP3EXTPROC __glewShaderOp3EXT = NULL;
01009 PFNGLSWIZZLEEXTPROC __glewSwizzleEXT = NULL;
01010 PFNGLVARIANTPOINTEREXTPROC __glewVariantPointerEXT = NULL;
01011 PFNGLVARIANTBVEXTPROC __glewVariantbvEXT = NULL;
01012 PFNGLVARIANTDVEXTPROC __glewVariantdvEXT = NULL;
01013 PFNGLVARIANTFVEXTPROC __glewVariantfvEXT = NULL;
01014 PFNGLVARIANTIVEXTPROC __glewVariantivEXT = NULL;
01015 PFNGLVARIANTSVEXTPROC __glewVariantsvEXT = NULL;
01016 PFNGLVARIANTUBVEXTPROC __glewVariantubvEXT = NULL;
01017 PFNGLVARIANTUIVEXTPROC __glewVariantuivEXT = NULL;
01018 PFNGLVARIANTUSVEXTPROC __glewVariantusvEXT = NULL;
01019 PFNGLWRITEMASKEXTPROC __glewWriteMaskEXT = NULL;
01020
01021 PFNGLVERTEXWEIGHTPOINTEREXTPROC __glewVertexWeightPointerEXT = NULL;
01022 PFNGLVERTEXWEIGHTFEXTPROC __glewVertexWeightfEXT = NULL;
01023 PFNGLVERTEXWEIGHTFVEXTPROC __glewVertexWeightfvEXT = NULL;
01024
01025 PFNGLSTRINGMARKERGREMEDYPROC __glewStringMarkerGREMEDY = NULL;
01026
01027 PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC __glewGetImageTransformParameterfvHP = NULL;
01028 PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC __glewGetImageTransformParameterivHP = NULL;
01029 PFNGLIMAGETRANSFORMPARAMETERFHPPROC __glewImageTransformParameterfHP = NULL;
01030 PFNGLIMAGETRANSFORMPARAMETERFVHPPROC __glewImageTransformParameterfvHP = NULL;
01031 PFNGLIMAGETRANSFORMPARAMETERIHPPROC __glewImageTransformParameteriHP = NULL;
01032 PFNGLIMAGETRANSFORMPARAMETERIVHPPROC __glewImageTransformParameterivHP = NULL;
01033
01034 PFNGLMULTIMODEDRAWARRAYSIBMPROC __glewMultiModeDrawArraysIBM = NULL;
01035 PFNGLMULTIMODEDRAWELEMENTSIBMPROC __glewMultiModeDrawElementsIBM = NULL;
01036
01037 PFNGLCOLORPOINTERLISTIBMPROC __glewColorPointerListIBM = NULL;
01038 PFNGLEDGEFLAGPOINTERLISTIBMPROC __glewEdgeFlagPointerListIBM = NULL;
01039 PFNGLFOGCOORDPOINTERLISTIBMPROC __glewFogCoordPointerListIBM = NULL;
01040 PFNGLINDEXPOINTERLISTIBMPROC __glewIndexPointerListIBM = NULL;
01041 PFNGLNORMALPOINTERLISTIBMPROC __glewNormalPointerListIBM = NULL;
01042 PFNGLSECONDARYCOLORPOINTERLISTIBMPROC __glewSecondaryColorPointerListIBM = NULL;
01043 PFNGLTEXCOORDPOINTERLISTIBMPROC __glewTexCoordPointerListIBM = NULL;
01044 PFNGLVERTEXPOINTERLISTIBMPROC __glewVertexPointerListIBM = NULL;
01045
01046 PFNGLCOLORPOINTERVINTELPROC __glewColorPointervINTEL = NULL;
01047 PFNGLNORMALPOINTERVINTELPROC __glewNormalPointervINTEL = NULL;
01048 PFNGLTEXCOORDPOINTERVINTELPROC __glewTexCoordPointervINTEL = NULL;
01049 PFNGLVERTEXPOINTERVINTELPROC __glewVertexPointervINTEL = NULL;
01050
01051 PFNGLTEXSCISSORFUNCINTELPROC __glewTexScissorFuncINTEL = NULL;
01052 PFNGLTEXSCISSORINTELPROC __glewTexScissorINTEL = NULL;
01053
01054 PFNGLBUFFERREGIONENABLEDEXTPROC __glewBufferRegionEnabledEXT = NULL;
01055 PFNGLDELETEBUFFERREGIONEXTPROC __glewDeleteBufferRegionEXT = NULL;
01056 PFNGLDRAWBUFFERREGIONEXTPROC __glewDrawBufferRegionEXT = NULL;
01057 PFNGLNEWBUFFERREGIONEXTPROC __glewNewBufferRegionEXT = NULL;
01058 PFNGLREADBUFFERREGIONEXTPROC __glewReadBufferRegionEXT = NULL;
01059
01060 PFNGLRESIZEBUFFERSMESAPROC __glewResizeBuffersMESA = NULL;
01061
01062 PFNGLWINDOWPOS2DMESAPROC __glewWindowPos2dMESA = NULL;
01063 PFNGLWINDOWPOS2DVMESAPROC __glewWindowPos2dvMESA = NULL;
01064 PFNGLWINDOWPOS2FMESAPROC __glewWindowPos2fMESA = NULL;
01065 PFNGLWINDOWPOS2FVMESAPROC __glewWindowPos2fvMESA = NULL;
01066 PFNGLWINDOWPOS2IMESAPROC __glewWindowPos2iMESA = NULL;
01067 PFNGLWINDOWPOS2IVMESAPROC __glewWindowPos2ivMESA = NULL;
01068 PFNGLWINDOWPOS2SMESAPROC __glewWindowPos2sMESA = NULL;
01069 PFNGLWINDOWPOS2SVMESAPROC __glewWindowPos2svMESA = NULL;
01070 PFNGLWINDOWPOS3DMESAPROC __glewWindowPos3dMESA = NULL;
01071 PFNGLWINDOWPOS3DVMESAPROC __glewWindowPos3dvMESA = NULL;
01072 PFNGLWINDOWPOS3FMESAPROC __glewWindowPos3fMESA = NULL;
01073 PFNGLWINDOWPOS3FVMESAPROC __glewWindowPos3fvMESA = NULL;
01074 PFNGLWINDOWPOS3IMESAPROC __glewWindowPos3iMESA = NULL;
01075 PFNGLWINDOWPOS3IVMESAPROC __glewWindowPos3ivMESA = NULL;
01076 PFNGLWINDOWPOS3SMESAPROC __glewWindowPos3sMESA = NULL;
01077 PFNGLWINDOWPOS3SVMESAPROC __glewWindowPos3svMESA = NULL;
01078 PFNGLWINDOWPOS4DMESAPROC __glewWindowPos4dMESA = NULL;
01079 PFNGLWINDOWPOS4DVMESAPROC __glewWindowPos4dvMESA = NULL;
01080 PFNGLWINDOWPOS4FMESAPROC __glewWindowPos4fMESA = NULL;
01081 PFNGLWINDOWPOS4FVMESAPROC __glewWindowPos4fvMESA = NULL;
01082 PFNGLWINDOWPOS4IMESAPROC __glewWindowPos4iMESA = NULL;
01083 PFNGLWINDOWPOS4IVMESAPROC __glewWindowPos4ivMESA = NULL;
01084 PFNGLWINDOWPOS4SMESAPROC __glewWindowPos4sMESA = NULL;
01085 PFNGLWINDOWPOS4SVMESAPROC __glewWindowPos4svMESA = NULL;
01086
01087 PFNGLEVALMAPSNVPROC __glewEvalMapsNV = NULL;
01088 PFNGLGETMAPATTRIBPARAMETERFVNVPROC __glewGetMapAttribParameterfvNV = NULL;
01089 PFNGLGETMAPATTRIBPARAMETERIVNVPROC __glewGetMapAttribParameterivNV = NULL;
01090 PFNGLGETMAPCONTROLPOINTSNVPROC __glewGetMapControlPointsNV = NULL;
01091 PFNGLGETMAPPARAMETERFVNVPROC __glewGetMapParameterfvNV = NULL;
01092 PFNGLGETMAPPARAMETERIVNVPROC __glewGetMapParameterivNV = NULL;
01093 PFNGLMAPCONTROLPOINTSNVPROC __glewMapControlPointsNV = NULL;
01094 PFNGLMAPPARAMETERFVNVPROC __glewMapParameterfvNV = NULL;
01095 PFNGLMAPPARAMETERIVNVPROC __glewMapParameterivNV = NULL;
01096
01097 PFNGLDELETEFENCESNVPROC __glewDeleteFencesNV = NULL;
01098 PFNGLFINISHFENCENVPROC __glewFinishFenceNV = NULL;
01099 PFNGLGENFENCESNVPROC __glewGenFencesNV = NULL;
01100 PFNGLGETFENCEIVNVPROC __glewGetFenceivNV = NULL;
01101 PFNGLISFENCENVPROC __glewIsFenceNV = NULL;
01102 PFNGLSETFENCENVPROC __glewSetFenceNV = NULL;
01103 PFNGLTESTFENCENVPROC __glewTestFenceNV = NULL;
01104
01105 PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC __glewGetProgramNamedParameterdvNV = NULL;
01106 PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC __glewGetProgramNamedParameterfvNV = NULL;
01107 PFNGLPROGRAMNAMEDPARAMETER4DNVPROC __glewProgramNamedParameter4dNV = NULL;
01108 PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC __glewProgramNamedParameter4dvNV = NULL;
01109 PFNGLPROGRAMNAMEDPARAMETER4FNVPROC __glewProgramNamedParameter4fNV = NULL;
01110 PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC __glewProgramNamedParameter4fvNV = NULL;
01111
01112 PFNGLCOLOR3HNVPROC __glewColor3hNV = NULL;
01113 PFNGLCOLOR3HVNVPROC __glewColor3hvNV = NULL;
01114 PFNGLCOLOR4HNVPROC __glewColor4hNV = NULL;
01115 PFNGLCOLOR4HVNVPROC __glewColor4hvNV = NULL;
01116 PFNGLFOGCOORDHNVPROC __glewFogCoordhNV = NULL;
01117 PFNGLFOGCOORDHVNVPROC __glewFogCoordhvNV = NULL;
01118 PFNGLMULTITEXCOORD1HNVPROC __glewMultiTexCoord1hNV = NULL;
01119 PFNGLMULTITEXCOORD1HVNVPROC __glewMultiTexCoord1hvNV = NULL;
01120 PFNGLMULTITEXCOORD2HNVPROC __glewMultiTexCoord2hNV = NULL;
01121 PFNGLMULTITEXCOORD2HVNVPROC __glewMultiTexCoord2hvNV = NULL;
01122 PFNGLMULTITEXCOORD3HNVPROC __glewMultiTexCoord3hNV = NULL;
01123 PFNGLMULTITEXCOORD3HVNVPROC __glewMultiTexCoord3hvNV = NULL;
01124 PFNGLMULTITEXCOORD4HNVPROC __glewMultiTexCoord4hNV = NULL;
01125 PFNGLMULTITEXCOORD4HVNVPROC __glewMultiTexCoord4hvNV = NULL;
01126 PFNGLNORMAL3HNVPROC __glewNormal3hNV = NULL;
01127 PFNGLNORMAL3HVNVPROC __glewNormal3hvNV = NULL;
01128 PFNGLSECONDARYCOLOR3HNVPROC __glewSecondaryColor3hNV = NULL;
01129 PFNGLSECONDARYCOLOR3HVNVPROC __glewSecondaryColor3hvNV = NULL;
01130 PFNGLTEXCOORD1HNVPROC __glewTexCoord1hNV = NULL;
01131 PFNGLTEXCOORD1HVNVPROC __glewTexCoord1hvNV = NULL;
01132 PFNGLTEXCOORD2HNVPROC __glewTexCoord2hNV = NULL;
01133 PFNGLTEXCOORD2HVNVPROC __glewTexCoord2hvNV = NULL;
01134 PFNGLTEXCOORD3HNVPROC __glewTexCoord3hNV = NULL;
01135 PFNGLTEXCOORD3HVNVPROC __glewTexCoord3hvNV = NULL;
01136 PFNGLTEXCOORD4HNVPROC __glewTexCoord4hNV = NULL;
01137 PFNGLTEXCOORD4HVNVPROC __glewTexCoord4hvNV = NULL;
01138 PFNGLVERTEX2HNVPROC __glewVertex2hNV = NULL;
01139 PFNGLVERTEX2HVNVPROC __glewVertex2hvNV = NULL;
01140 PFNGLVERTEX3HNVPROC __glewVertex3hNV = NULL;
01141 PFNGLVERTEX3HVNVPROC __glewVertex3hvNV = NULL;
01142 PFNGLVERTEX4HNVPROC __glewVertex4hNV = NULL;
01143 PFNGLVERTEX4HVNVPROC __glewVertex4hvNV = NULL;
01144 PFNGLVERTEXATTRIB1HNVPROC __glewVertexAttrib1hNV = NULL;
01145 PFNGLVERTEXATTRIB1HVNVPROC __glewVertexAttrib1hvNV = NULL;
01146 PFNGLVERTEXATTRIB2HNVPROC __glewVertexAttrib2hNV = NULL;
01147 PFNGLVERTEXATTRIB2HVNVPROC __glewVertexAttrib2hvNV = NULL;
01148 PFNGLVERTEXATTRIB3HNVPROC __glewVertexAttrib3hNV = NULL;
01149 PFNGLVERTEXATTRIB3HVNVPROC __glewVertexAttrib3hvNV = NULL;
01150 PFNGLVERTEXATTRIB4HNVPROC __glewVertexAttrib4hNV = NULL;
01151 PFNGLVERTEXATTRIB4HVNVPROC __glewVertexAttrib4hvNV = NULL;
01152 PFNGLVERTEXATTRIBS1HVNVPROC __glewVertexAttribs1hvNV = NULL;
01153 PFNGLVERTEXATTRIBS2HVNVPROC __glewVertexAttribs2hvNV = NULL;
01154 PFNGLVERTEXATTRIBS3HVNVPROC __glewVertexAttribs3hvNV = NULL;
01155 PFNGLVERTEXATTRIBS4HVNVPROC __glewVertexAttribs4hvNV = NULL;
01156 PFNGLVERTEXWEIGHTHNVPROC __glewVertexWeighthNV = NULL;
01157 PFNGLVERTEXWEIGHTHVNVPROC __glewVertexWeighthvNV = NULL;
01158
01159 PFNGLBEGINOCCLUSIONQUERYNVPROC __glewBeginOcclusionQueryNV = NULL;
01160 PFNGLDELETEOCCLUSIONQUERIESNVPROC __glewDeleteOcclusionQueriesNV = NULL;
01161 PFNGLENDOCCLUSIONQUERYNVPROC __glewEndOcclusionQueryNV = NULL;
01162 PFNGLGENOCCLUSIONQUERIESNVPROC __glewGenOcclusionQueriesNV = NULL;
01163 PFNGLGETOCCLUSIONQUERYIVNVPROC __glewGetOcclusionQueryivNV = NULL;
01164 PFNGLGETOCCLUSIONQUERYUIVNVPROC __glewGetOcclusionQueryuivNV = NULL;
01165 PFNGLISOCCLUSIONQUERYNVPROC __glewIsOcclusionQueryNV = NULL;
01166
01167 PFNGLFLUSHPIXELDATARANGENVPROC __glewFlushPixelDataRangeNV = NULL;
01168 PFNGLPIXELDATARANGENVPROC __glewPixelDataRangeNV = NULL;
01169
01170 PFNGLPOINTPARAMETERINVPROC __glewPointParameteriNV = NULL;
01171 PFNGLPOINTPARAMETERIVNVPROC __glewPointParameterivNV = NULL;
01172
01173 PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV = NULL;
01174 PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV = NULL;
01175
01176 PFNGLCOMBINERINPUTNVPROC __glewCombinerInputNV = NULL;
01177 PFNGLCOMBINEROUTPUTNVPROC __glewCombinerOutputNV = NULL;
01178 PFNGLCOMBINERPARAMETERFNVPROC __glewCombinerParameterfNV = NULL;
01179 PFNGLCOMBINERPARAMETERFVNVPROC __glewCombinerParameterfvNV = NULL;
01180 PFNGLCOMBINERPARAMETERINVPROC __glewCombinerParameteriNV = NULL;
01181 PFNGLCOMBINERPARAMETERIVNVPROC __glewCombinerParameterivNV = NULL;
01182 PFNGLFINALCOMBINERINPUTNVPROC __glewFinalCombinerInputNV = NULL;
01183 PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC __glewGetCombinerInputParameterfvNV = NULL;
01184 PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC __glewGetCombinerInputParameterivNV = NULL;
01185 PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC __glewGetCombinerOutputParameterfvNV = NULL;
01186 PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC __glewGetCombinerOutputParameterivNV = NULL;
01187 PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC __glewGetFinalCombinerInputParameterfvNV = NULL;
01188 PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC __glewGetFinalCombinerInputParameterivNV = NULL;
01189
01190 PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV = NULL;
01191 PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV = NULL;
01192
01193 PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL;
01194 PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL;
01195
01196 PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV = NULL;
01197 PFNGLBINDPROGRAMNVPROC __glewBindProgramNV = NULL;
01198 PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV = NULL;
01199 PFNGLEXECUTEPROGRAMNVPROC __glewExecuteProgramNV = NULL;
01200 PFNGLGENPROGRAMSNVPROC __glewGenProgramsNV = NULL;
01201 PFNGLGETPROGRAMPARAMETERDVNVPROC __glewGetProgramParameterdvNV = NULL;
01202 PFNGLGETPROGRAMPARAMETERFVNVPROC __glewGetProgramParameterfvNV = NULL;
01203 PFNGLGETPROGRAMSTRINGNVPROC __glewGetProgramStringNV = NULL;
01204 PFNGLGETPROGRAMIVNVPROC __glewGetProgramivNV = NULL;
01205 PFNGLGETTRACKMATRIXIVNVPROC __glewGetTrackMatrixivNV = NULL;
01206 PFNGLGETVERTEXATTRIBPOINTERVNVPROC __glewGetVertexAttribPointervNV = NULL;
01207 PFNGLGETVERTEXATTRIBDVNVPROC __glewGetVertexAttribdvNV = NULL;
01208 PFNGLGETVERTEXATTRIBFVNVPROC __glewGetVertexAttribfvNV = NULL;
01209 PFNGLGETVERTEXATTRIBIVNVPROC __glewGetVertexAttribivNV = NULL;
01210 PFNGLISPROGRAMNVPROC __glewIsProgramNV = NULL;
01211 PFNGLLOADPROGRAMNVPROC __glewLoadProgramNV = NULL;
01212 PFNGLPROGRAMPARAMETER4DNVPROC __glewProgramParameter4dNV = NULL;
01213 PFNGLPROGRAMPARAMETER4DVNVPROC __glewProgramParameter4dvNV = NULL;
01214 PFNGLPROGRAMPARAMETER4FNVPROC __glewProgramParameter4fNV = NULL;
01215 PFNGLPROGRAMPARAMETER4FVNVPROC __glewProgramParameter4fvNV = NULL;
01216 PFNGLPROGRAMPARAMETERS4DVNVPROC __glewProgramParameters4dvNV = NULL;
01217 PFNGLPROGRAMPARAMETERS4FVNVPROC __glewProgramParameters4fvNV = NULL;
01218 PFNGLREQUESTRESIDENTPROGRAMSNVPROC __glewRequestResidentProgramsNV = NULL;
01219 PFNGLTRACKMATRIXNVPROC __glewTrackMatrixNV = NULL;
01220 PFNGLVERTEXATTRIB1DNVPROC __glewVertexAttrib1dNV = NULL;
01221 PFNGLVERTEXATTRIB1DVNVPROC __glewVertexAttrib1dvNV = NULL;
01222 PFNGLVERTEXATTRIB1FNVPROC __glewVertexAttrib1fNV = NULL;
01223 PFNGLVERTEXATTRIB1FVNVPROC __glewVertexAttrib1fvNV = NULL;
01224 PFNGLVERTEXATTRIB1SNVPROC __glewVertexAttrib1sNV = NULL;
01225 PFNGLVERTEXATTRIB1SVNVPROC __glewVertexAttrib1svNV = NULL;
01226 PFNGLVERTEXATTRIB2DNVPROC __glewVertexAttrib2dNV = NULL;
01227 PFNGLVERTEXATTRIB2DVNVPROC __glewVertexAttrib2dvNV = NULL;
01228 PFNGLVERTEXATTRIB2FNVPROC __glewVertexAttrib2fNV = NULL;
01229 PFNGLVERTEXATTRIB2FVNVPROC __glewVertexAttrib2fvNV = NULL;
01230 PFNGLVERTEXATTRIB2SNVPROC __glewVertexAttrib2sNV = NULL;
01231 PFNGLVERTEXATTRIB2SVNVPROC __glewVertexAttrib2svNV = NULL;
01232 PFNGLVERTEXATTRIB3DNVPROC __glewVertexAttrib3dNV = NULL;
01233 PFNGLVERTEXATTRIB3DVNVPROC __glewVertexAttrib3dvNV = NULL;
01234 PFNGLVERTEXATTRIB3FNVPROC __glewVertexAttrib3fNV = NULL;
01235 PFNGLVERTEXATTRIB3FVNVPROC __glewVertexAttrib3fvNV = NULL;
01236 PFNGLVERTEXATTRIB3SNVPROC __glewVertexAttrib3sNV = NULL;
01237 PFNGLVERTEXATTRIB3SVNVPROC __glewVertexAttrib3svNV = NULL;
01238 PFNGLVERTEXATTRIB4DNVPROC __glewVertexAttrib4dNV = NULL;
01239 PFNGLVERTEXATTRIB4DVNVPROC __glewVertexAttrib4dvNV = NULL;
01240 PFNGLVERTEXATTRIB4FNVPROC __glewVertexAttrib4fNV = NULL;
01241 PFNGLVERTEXATTRIB4FVNVPROC __glewVertexAttrib4fvNV = NULL;
01242 PFNGLVERTEXATTRIB4SNVPROC __glewVertexAttrib4sNV = NULL;
01243 PFNGLVERTEXATTRIB4SVNVPROC __glewVertexAttrib4svNV = NULL;
01244 PFNGLVERTEXATTRIB4UBNVPROC __glewVertexAttrib4ubNV = NULL;
01245 PFNGLVERTEXATTRIB4UBVNVPROC __glewVertexAttrib4ubvNV = NULL;
01246 PFNGLVERTEXATTRIBPOINTERNVPROC __glewVertexAttribPointerNV = NULL;
01247 PFNGLVERTEXATTRIBS1DVNVPROC __glewVertexAttribs1dvNV = NULL;
01248 PFNGLVERTEXATTRIBS1FVNVPROC __glewVertexAttribs1fvNV = NULL;
01249 PFNGLVERTEXATTRIBS1SVNVPROC __glewVertexAttribs1svNV = NULL;
01250 PFNGLVERTEXATTRIBS2DVNVPROC __glewVertexAttribs2dvNV = NULL;
01251 PFNGLVERTEXATTRIBS2FVNVPROC __glewVertexAttribs2fvNV = NULL;
01252 PFNGLVERTEXATTRIBS2SVNVPROC __glewVertexAttribs2svNV = NULL;
01253 PFNGLVERTEXATTRIBS3DVNVPROC __glewVertexAttribs3dvNV = NULL;
01254 PFNGLVERTEXATTRIBS3FVNVPROC __glewVertexAttribs3fvNV = NULL;
01255 PFNGLVERTEXATTRIBS3SVNVPROC __glewVertexAttribs3svNV = NULL;
01256 PFNGLVERTEXATTRIBS4DVNVPROC __glewVertexAttribs4dvNV = NULL;
01257 PFNGLVERTEXATTRIBS4FVNVPROC __glewVertexAttribs4fvNV = NULL;
01258 PFNGLVERTEXATTRIBS4SVNVPROC __glewVertexAttribs4svNV = NULL;
01259 PFNGLVERTEXATTRIBS4UBVNVPROC __glewVertexAttribs4ubvNV = NULL;
01260
01261 PFNGLDETAILTEXFUNCSGISPROC __glewDetailTexFuncSGIS = NULL;
01262 PFNGLGETDETAILTEXFUNCSGISPROC __glewGetDetailTexFuncSGIS = NULL;
01263
01264 PFNGLFOGFUNCSGISPROC __glewFogFuncSGIS = NULL;
01265 PFNGLGETFOGFUNCSGISPROC __glewGetFogFuncSGIS = NULL;
01266
01267 PFNGLSAMPLEMASKSGISPROC __glewSampleMaskSGIS = NULL;
01268 PFNGLSAMPLEPATTERNSGISPROC __glewSamplePatternSGIS = NULL;
01269
01270 PFNGLGETSHARPENTEXFUNCSGISPROC __glewGetSharpenTexFuncSGIS = NULL;
01271 PFNGLSHARPENTEXFUNCSGISPROC __glewSharpenTexFuncSGIS = NULL;
01272
01273 PFNGLTEXIMAGE4DSGISPROC __glewTexImage4DSGIS = NULL;
01274 PFNGLTEXSUBIMAGE4DSGISPROC __glewTexSubImage4DSGIS = NULL;
01275
01276 PFNGLGETTEXFILTERFUNCSGISPROC __glewGetTexFilterFuncSGIS = NULL;
01277 PFNGLTEXFILTERFUNCSGISPROC __glewTexFilterFuncSGIS = NULL;
01278
01279 PFNGLASYNCMARKERSGIXPROC __glewAsyncMarkerSGIX = NULL;
01280 PFNGLDELETEASYNCMARKERSSGIXPROC __glewDeleteAsyncMarkersSGIX = NULL;
01281 PFNGLFINISHASYNCSGIXPROC __glewFinishAsyncSGIX = NULL;
01282 PFNGLGENASYNCMARKERSSGIXPROC __glewGenAsyncMarkersSGIX = NULL;
01283 PFNGLISASYNCMARKERSGIXPROC __glewIsAsyncMarkerSGIX = NULL;
01284 PFNGLPOLLASYNCSGIXPROC __glewPollAsyncSGIX = NULL;
01285
01286 PFNGLFLUSHRASTERSGIXPROC __glewFlushRasterSGIX = NULL;
01287
01288 PFNGLTEXTUREFOGSGIXPROC __glewTextureFogSGIX = NULL;
01289
01290 PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX = NULL;
01291 PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX = NULL;
01292 PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX = NULL;
01293 PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX = NULL;
01294 PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX = NULL;
01295 PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX = NULL;
01296 PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX = NULL;
01297 PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX = NULL;
01298 PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX = NULL;
01299 PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX = NULL;
01300 PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX = NULL;
01301 PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX = NULL;
01302 PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX = NULL;
01303 PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX = NULL;
01304 PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX = NULL;
01305 PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX = NULL;
01306 PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX = NULL;
01307
01308 PFNGLFRAMEZOOMSGIXPROC __glewFrameZoomSGIX = NULL;
01309
01310 PFNGLPIXELTEXGENSGIXPROC __glewPixelTexGenSGIX = NULL;
01311
01312 PFNGLREFERENCEPLANESGIXPROC __glewReferencePlaneSGIX = NULL;
01313
01314 PFNGLSPRITEPARAMETERFSGIXPROC __glewSpriteParameterfSGIX = NULL;
01315 PFNGLSPRITEPARAMETERFVSGIXPROC __glewSpriteParameterfvSGIX = NULL;
01316 PFNGLSPRITEPARAMETERISGIXPROC __glewSpriteParameteriSGIX = NULL;
01317 PFNGLSPRITEPARAMETERIVSGIXPROC __glewSpriteParameterivSGIX = NULL;
01318
01319 PFNGLTAGSAMPLEBUFFERSGIXPROC __glewTagSampleBufferSGIX = NULL;
01320
01321 PFNGLCOLORTABLEPARAMETERFVSGIPROC __glewColorTableParameterfvSGI = NULL;
01322 PFNGLCOLORTABLEPARAMETERIVSGIPROC __glewColorTableParameterivSGI = NULL;
01323 PFNGLCOLORTABLESGIPROC __glewColorTableSGI = NULL;
01324 PFNGLCOPYCOLORTABLESGIPROC __glewCopyColorTableSGI = NULL;
01325 PFNGLGETCOLORTABLEPARAMETERFVSGIPROC __glewGetColorTableParameterfvSGI = NULL;
01326 PFNGLGETCOLORTABLEPARAMETERIVSGIPROC __glewGetColorTableParameterivSGI = NULL;
01327 PFNGLGETCOLORTABLESGIPROC __glewGetColorTableSGI = NULL;
01328
01329 PFNGLFINISHTEXTURESUNXPROC __glewFinishTextureSUNX = NULL;
01330
01331 PFNGLGLOBALALPHAFACTORBSUNPROC __glewGlobalAlphaFactorbSUN = NULL;
01332 PFNGLGLOBALALPHAFACTORDSUNPROC __glewGlobalAlphaFactordSUN = NULL;
01333 PFNGLGLOBALALPHAFACTORFSUNPROC __glewGlobalAlphaFactorfSUN = NULL;
01334 PFNGLGLOBALALPHAFACTORISUNPROC __glewGlobalAlphaFactoriSUN = NULL;
01335 PFNGLGLOBALALPHAFACTORSSUNPROC __glewGlobalAlphaFactorsSUN = NULL;
01336 PFNGLGLOBALALPHAFACTORUBSUNPROC __glewGlobalAlphaFactorubSUN = NULL;
01337 PFNGLGLOBALALPHAFACTORUISUNPROC __glewGlobalAlphaFactoruiSUN = NULL;
01338 PFNGLGLOBALALPHAFACTORUSSUNPROC __glewGlobalAlphaFactorusSUN = NULL;
01339
01340 PFNGLREADVIDEOPIXELSSUNPROC __glewReadVideoPixelsSUN = NULL;
01341
01342 PFNGLREPLACEMENTCODEPOINTERSUNPROC __glewReplacementCodePointerSUN = NULL;
01343 PFNGLREPLACEMENTCODEUBSUNPROC __glewReplacementCodeubSUN = NULL;
01344 PFNGLREPLACEMENTCODEUBVSUNPROC __glewReplacementCodeubvSUN = NULL;
01345 PFNGLREPLACEMENTCODEUISUNPROC __glewReplacementCodeuiSUN = NULL;
01346 PFNGLREPLACEMENTCODEUIVSUNPROC __glewReplacementCodeuivSUN = NULL;
01347 PFNGLREPLACEMENTCODEUSSUNPROC __glewReplacementCodeusSUN = NULL;
01348 PFNGLREPLACEMENTCODEUSVSUNPROC __glewReplacementCodeusvSUN = NULL;
01349
01350 PFNGLCOLOR3FVERTEX3FSUNPROC __glewColor3fVertex3fSUN = NULL;
01351 PFNGLCOLOR3FVERTEX3FVSUNPROC __glewColor3fVertex3fvSUN = NULL;
01352 PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewColor4fNormal3fVertex3fSUN = NULL;
01353 PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewColor4fNormal3fVertex3fvSUN = NULL;
01354 PFNGLCOLOR4UBVERTEX2FSUNPROC __glewColor4ubVertex2fSUN = NULL;
01355 PFNGLCOLOR4UBVERTEX2FVSUNPROC __glewColor4ubVertex2fvSUN = NULL;
01356 PFNGLCOLOR4UBVERTEX3FSUNPROC __glewColor4ubVertex3fSUN = NULL;
01357 PFNGLCOLOR4UBVERTEX3FVSUNPROC __glewColor4ubVertex3fvSUN = NULL;
01358 PFNGLNORMAL3FVERTEX3FSUNPROC __glewNormal3fVertex3fSUN = NULL;
01359 PFNGLNORMAL3FVERTEX3FVSUNPROC __glewNormal3fVertex3fvSUN = NULL;
01360 PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC __glewReplacementCodeuiColor3fVertex3fSUN = NULL;
01361 PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor3fVertex3fvSUN = NULL;
01362 PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fSUN = NULL;
01363 PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fvSUN = NULL;
01364 PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC __glewReplacementCodeuiColor4ubVertex3fSUN = NULL;
01365 PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC __glewReplacementCodeuiColor4ubVertex3fvSUN = NULL;
01366 PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiNormal3fVertex3fSUN = NULL;
01367 PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiNormal3fVertex3fvSUN = NULL;
01368 PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
01369 PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
01370 PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = NULL;
01371 PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = NULL;
01372 PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fSUN = NULL;
01373 PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fvSUN = NULL;
01374 PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC __glewReplacementCodeuiVertex3fSUN = NULL;
01375 PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC __glewReplacementCodeuiVertex3fvSUN = NULL;
01376 PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC __glewTexCoord2fColor3fVertex3fSUN = NULL;
01377 PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC __glewTexCoord2fColor3fVertex3fvSUN = NULL;
01378 PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
01379 PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
01380 PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC __glewTexCoord2fColor4ubVertex3fSUN = NULL;
01381 PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC __glewTexCoord2fColor4ubVertex3fvSUN = NULL;
01382 PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fNormal3fVertex3fSUN = NULL;
01383 PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fNormal3fVertex3fvSUN = NULL;
01384 PFNGLTEXCOORD2FVERTEX3FSUNPROC __glewTexCoord2fVertex3fSUN = NULL;
01385 PFNGLTEXCOORD2FVERTEX3FVSUNPROC __glewTexCoord2fVertex3fvSUN = NULL;
01386 PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fSUN = NULL;
01387 PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fvSUN = NULL;
01388 PFNGLTEXCOORD4FVERTEX4FSUNPROC __glewTexCoord4fVertex4fSUN = NULL;
01389 PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN = NULL;
01390
01391 PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN = NULL;
01392
01393 #endif
01394
01395 #if !defined(GLEW_MX)
01396
01397 GLboolean __GLEW_VERSION_1_1 = GL_FALSE;
01398 GLboolean __GLEW_VERSION_1_2 = GL_FALSE;
01399 GLboolean __GLEW_VERSION_1_3 = GL_FALSE;
01400 GLboolean __GLEW_VERSION_1_4 = GL_FALSE;
01401 GLboolean __GLEW_VERSION_1_5 = GL_FALSE;
01402 GLboolean __GLEW_VERSION_2_0 = GL_FALSE;
01403 GLboolean __GLEW_3DFX_multisample = GL_FALSE;
01404 GLboolean __GLEW_3DFX_tbuffer = GL_FALSE;
01405 GLboolean __GLEW_3DFX_texture_compression_FXT1 = GL_FALSE;
01406 GLboolean __GLEW_APPLE_client_storage = GL_FALSE;
01407 GLboolean __GLEW_APPLE_element_array = GL_FALSE;
01408 GLboolean __GLEW_APPLE_fence = GL_FALSE;
01409 GLboolean __GLEW_APPLE_float_pixels = GL_FALSE;
01410 GLboolean __GLEW_APPLE_pixel_buffer = GL_FALSE;
01411 GLboolean __GLEW_APPLE_specular_vector = GL_FALSE;
01412 GLboolean __GLEW_APPLE_texture_range = GL_FALSE;
01413 GLboolean __GLEW_APPLE_transform_hint = GL_FALSE;
01414 GLboolean __GLEW_APPLE_vertex_array_object = GL_FALSE;
01415 GLboolean __GLEW_APPLE_vertex_array_range = GL_FALSE;
01416 GLboolean __GLEW_APPLE_ycbcr_422 = GL_FALSE;
01417 GLboolean __GLEW_ARB_color_buffer_float = GL_FALSE;
01418 GLboolean __GLEW_ARB_depth_texture = GL_FALSE;
01419 GLboolean __GLEW_ARB_draw_buffers = GL_FALSE;
01420 GLboolean __GLEW_ARB_fragment_program = GL_FALSE;
01421 GLboolean __GLEW_ARB_fragment_program_shadow = GL_FALSE;
01422 GLboolean __GLEW_ARB_fragment_shader = GL_FALSE;
01423 GLboolean __GLEW_ARB_half_float_pixel = GL_FALSE;
01424 GLboolean __GLEW_ARB_imaging = GL_FALSE;
01425 GLboolean __GLEW_ARB_matrix_palette = GL_FALSE;
01426 GLboolean __GLEW_ARB_multisample = GL_FALSE;
01427 GLboolean __GLEW_ARB_multitexture = GL_FALSE;
01428 GLboolean __GLEW_ARB_occlusion_query = GL_FALSE;
01429 GLboolean __GLEW_ARB_pixel_buffer_object = GL_FALSE;
01430 GLboolean __GLEW_ARB_point_parameters = GL_FALSE;
01431 GLboolean __GLEW_ARB_point_sprite = GL_FALSE;
01432 GLboolean __GLEW_ARB_shader_objects = GL_FALSE;
01433 GLboolean __GLEW_ARB_shading_language_100 = GL_FALSE;
01434 GLboolean __GLEW_ARB_shadow = GL_FALSE;
01435 GLboolean __GLEW_ARB_shadow_ambient = GL_FALSE;
01436 GLboolean __GLEW_ARB_texture_border_clamp = GL_FALSE;
01437 GLboolean __GLEW_ARB_texture_compression = GL_FALSE;
01438 GLboolean __GLEW_ARB_texture_cube_map = GL_FALSE;
01439 GLboolean __GLEW_ARB_texture_env_add = GL_FALSE;
01440 GLboolean __GLEW_ARB_texture_env_combine = GL_FALSE;
01441 GLboolean __GLEW_ARB_texture_env_crossbar = GL_FALSE;
01442 GLboolean __GLEW_ARB_texture_env_dot3 = GL_FALSE;
01443 GLboolean __GLEW_ARB_texture_float = GL_FALSE;
01444 GLboolean __GLEW_ARB_texture_mirrored_repeat = GL_FALSE;
01445 GLboolean __GLEW_ARB_texture_non_power_of_two = GL_FALSE;
01446 GLboolean __GLEW_ARB_texture_rectangle = GL_FALSE;
01447 GLboolean __GLEW_ARB_transpose_matrix = GL_FALSE;
01448 GLboolean __GLEW_ARB_vertex_blend = GL_FALSE;
01449 GLboolean __GLEW_ARB_vertex_buffer_object = GL_FALSE;
01450 GLboolean __GLEW_ARB_vertex_program = GL_FALSE;
01451 GLboolean __GLEW_ARB_vertex_shader = GL_FALSE;
01452 GLboolean __GLEW_ARB_window_pos = GL_FALSE;
01453 GLboolean __GLEW_ATIX_point_sprites = GL_FALSE;
01454 GLboolean __GLEW_ATIX_texture_env_combine3 = GL_FALSE;
01455 GLboolean __GLEW_ATIX_texture_env_route = GL_FALSE;
01456 GLboolean __GLEW_ATIX_vertex_shader_output_point_size = GL_FALSE;
01457 GLboolean __GLEW_ATI_draw_buffers = GL_FALSE;
01458 GLboolean __GLEW_ATI_element_array = GL_FALSE;
01459 GLboolean __GLEW_ATI_envmap_bumpmap = GL_FALSE;
01460 GLboolean __GLEW_ATI_fragment_shader = GL_FALSE;
01461 GLboolean __GLEW_ATI_map_object_buffer = GL_FALSE;
01462 GLboolean __GLEW_ATI_pn_triangles = GL_FALSE;
01463 GLboolean __GLEW_ATI_separate_stencil = GL_FALSE;
01464 GLboolean __GLEW_ATI_text_fragment_shader = GL_FALSE;
01465 GLboolean __GLEW_ATI_texture_compression_3dc = GL_FALSE;
01466 GLboolean __GLEW_ATI_texture_env_combine3 = GL_FALSE;
01467 GLboolean __GLEW_ATI_texture_float = GL_FALSE;
01468 GLboolean __GLEW_ATI_texture_mirror_once = GL_FALSE;
01469 GLboolean __GLEW_ATI_vertex_array_object = GL_FALSE;
01470 GLboolean __GLEW_ATI_vertex_attrib_array_object = GL_FALSE;
01471 GLboolean __GLEW_ATI_vertex_streams = GL_FALSE;
01472 GLboolean __GLEW_EXT_422_pixels = GL_FALSE;
01473 GLboolean __GLEW_EXT_Cg_shader = GL_FALSE;
01474 GLboolean __GLEW_EXT_abgr = GL_FALSE;
01475 GLboolean __GLEW_EXT_bgra = GL_FALSE;
01476 GLboolean __GLEW_EXT_blend_color = GL_FALSE;
01477 GLboolean __GLEW_EXT_blend_equation_separate = GL_FALSE;
01478 GLboolean __GLEW_EXT_blend_func_separate = GL_FALSE;
01479 GLboolean __GLEW_EXT_blend_logic_op = GL_FALSE;
01480 GLboolean __GLEW_EXT_blend_minmax = GL_FALSE;
01481 GLboolean __GLEW_EXT_blend_subtract = GL_FALSE;
01482 GLboolean __GLEW_EXT_clip_volume_hint = GL_FALSE;
01483 GLboolean __GLEW_EXT_cmyka = GL_FALSE;
01484 GLboolean __GLEW_EXT_color_subtable = GL_FALSE;
01485 GLboolean __GLEW_EXT_compiled_vertex_array = GL_FALSE;
01486 GLboolean __GLEW_EXT_convolution = GL_FALSE;
01487 GLboolean __GLEW_EXT_coordinate_frame = GL_FALSE;
01488 GLboolean __GLEW_EXT_copy_texture = GL_FALSE;
01489 GLboolean __GLEW_EXT_cull_vertex = GL_FALSE;
01490 GLboolean __GLEW_EXT_depth_bounds_test = GL_FALSE;
01491 GLboolean __GLEW_EXT_draw_range_elements = GL_FALSE;
01492 GLboolean __GLEW_EXT_fog_coord = GL_FALSE;
01493 GLboolean __GLEW_EXT_fragment_lighting = GL_FALSE;
01494 GLboolean __GLEW_EXT_framebuffer_blit = GL_FALSE;
01495 GLboolean __GLEW_EXT_framebuffer_multisample = GL_FALSE;
01496 GLboolean __GLEW_EXT_framebuffer_object = GL_FALSE;
01497 GLboolean __GLEW_EXT_histogram = GL_FALSE;
01498 GLboolean __GLEW_EXT_index_array_formats = GL_FALSE;
01499 GLboolean __GLEW_EXT_index_func = GL_FALSE;
01500 GLboolean __GLEW_EXT_index_material = GL_FALSE;
01501 GLboolean __GLEW_EXT_index_texture = GL_FALSE;
01502 GLboolean __GLEW_EXT_light_texture = GL_FALSE;
01503 GLboolean __GLEW_EXT_misc_attribute = GL_FALSE;
01504 GLboolean __GLEW_EXT_multi_draw_arrays = GL_FALSE;
01505 GLboolean __GLEW_EXT_multisample = GL_FALSE;
01506 GLboolean __GLEW_EXT_packed_depth_stencil = GL_FALSE;
01507 GLboolean __GLEW_EXT_packed_pixels = GL_FALSE;
01508 GLboolean __GLEW_EXT_paletted_texture = GL_FALSE;
01509 GLboolean __GLEW_EXT_pixel_buffer_object = GL_FALSE;
01510 GLboolean __GLEW_EXT_pixel_transform = GL_FALSE;
01511 GLboolean __GLEW_EXT_pixel_transform_color_table = GL_FALSE;
01512 GLboolean __GLEW_EXT_point_parameters = GL_FALSE;
01513 GLboolean __GLEW_EXT_polygon_offset = GL_FALSE;
01514 GLboolean __GLEW_EXT_rescale_normal = GL_FALSE;
01515 GLboolean __GLEW_EXT_scene_marker = GL_FALSE;
01516 GLboolean __GLEW_EXT_secondary_color = GL_FALSE;
01517 GLboolean __GLEW_EXT_separate_specular_color = GL_FALSE;
01518 GLboolean __GLEW_EXT_shadow_funcs = GL_FALSE;
01519 GLboolean __GLEW_EXT_shared_texture_palette = GL_FALSE;
01520 GLboolean __GLEW_EXT_stencil_clear_tag = GL_FALSE;
01521 GLboolean __GLEW_EXT_stencil_two_side = GL_FALSE;
01522 GLboolean __GLEW_EXT_stencil_wrap = GL_FALSE;
01523 GLboolean __GLEW_EXT_subtexture = GL_FALSE;
01524 GLboolean __GLEW_EXT_texture = GL_FALSE;
01525 GLboolean __GLEW_EXT_texture3D = GL_FALSE;
01526 GLboolean __GLEW_EXT_texture_compression_dxt1 = GL_FALSE;
01527 GLboolean __GLEW_EXT_texture_compression_s3tc = GL_FALSE;
01528 GLboolean __GLEW_EXT_texture_cube_map = GL_FALSE;
01529 GLboolean __GLEW_EXT_texture_edge_clamp = GL_FALSE;
01530 GLboolean __GLEW_EXT_texture_env = GL_FALSE;
01531 GLboolean __GLEW_EXT_texture_env_add = GL_FALSE;
01532 GLboolean __GLEW_EXT_texture_env_combine = GL_FALSE;
01533 GLboolean __GLEW_EXT_texture_env_dot3 = GL_FALSE;
01534 GLboolean __GLEW_EXT_texture_filter_anisotropic = GL_FALSE;
01535 GLboolean __GLEW_EXT_texture_lod_bias = GL_FALSE;
01536 GLboolean __GLEW_EXT_texture_mirror_clamp = GL_FALSE;
01537 GLboolean __GLEW_EXT_texture_object = GL_FALSE;
01538 GLboolean __GLEW_EXT_texture_perturb_normal = GL_FALSE;
01539 GLboolean __GLEW_EXT_texture_rectangle = GL_FALSE;
01540 GLboolean __GLEW_EXT_texture_sRGB = GL_FALSE;
01541 GLboolean __GLEW_EXT_vertex_array = GL_FALSE;
01542 GLboolean __GLEW_EXT_vertex_shader = GL_FALSE;
01543 GLboolean __GLEW_EXT_vertex_weighting = GL_FALSE;
01544 GLboolean __GLEW_GREMEDY_string_marker = GL_FALSE;
01545 GLboolean __GLEW_HP_convolution_border_modes = GL_FALSE;
01546 GLboolean __GLEW_HP_image_transform = GL_FALSE;
01547 GLboolean __GLEW_HP_occlusion_test = GL_FALSE;
01548 GLboolean __GLEW_HP_texture_lighting = GL_FALSE;
01549 GLboolean __GLEW_IBM_cull_vertex = GL_FALSE;
01550 GLboolean __GLEW_IBM_multimode_draw_arrays = GL_FALSE;
01551 GLboolean __GLEW_IBM_rasterpos_clip = GL_FALSE;
01552 GLboolean __GLEW_IBM_static_data = GL_FALSE;
01553 GLboolean __GLEW_IBM_texture_mirrored_repeat = GL_FALSE;
01554 GLboolean __GLEW_IBM_vertex_array_lists = GL_FALSE;
01555 GLboolean __GLEW_INGR_color_clamp = GL_FALSE;
01556 GLboolean __GLEW_INGR_interlace_read = GL_FALSE;
01557 GLboolean __GLEW_INTEL_parallel_arrays = GL_FALSE;
01558 GLboolean __GLEW_INTEL_texture_scissor = GL_FALSE;
01559 GLboolean __GLEW_KTX_buffer_region = GL_FALSE;
01560 GLboolean __GLEW_MESAX_texture_stack = GL_FALSE;
01561 GLboolean __GLEW_MESA_pack_invert = GL_FALSE;
01562 GLboolean __GLEW_MESA_resize_buffers = GL_FALSE;
01563 GLboolean __GLEW_MESA_window_pos = GL_FALSE;
01564 GLboolean __GLEW_MESA_ycbcr_texture = GL_FALSE;
01565 GLboolean __GLEW_NV_blend_square = GL_FALSE;
01566 GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE;
01567 GLboolean __GLEW_NV_depth_clamp = GL_FALSE;
01568 GLboolean __GLEW_NV_evaluators = GL_FALSE;
01569 GLboolean __GLEW_NV_fence = GL_FALSE;
01570 GLboolean __GLEW_NV_float_buffer = GL_FALSE;
01571 GLboolean __GLEW_NV_fog_distance = GL_FALSE;
01572 GLboolean __GLEW_NV_fragment_program = GL_FALSE;
01573 GLboolean __GLEW_NV_fragment_program2 = GL_FALSE;
01574 GLboolean __GLEW_NV_fragment_program_option = GL_FALSE;
01575 GLboolean __GLEW_NV_half_float = GL_FALSE;
01576 GLboolean __GLEW_NV_light_max_exponent = GL_FALSE;
01577 GLboolean __GLEW_NV_multisample_filter_hint = GL_FALSE;
01578 GLboolean __GLEW_NV_occlusion_query = GL_FALSE;
01579 GLboolean __GLEW_NV_packed_depth_stencil = GL_FALSE;
01580 GLboolean __GLEW_NV_pixel_data_range = GL_FALSE;
01581 GLboolean __GLEW_NV_point_sprite = GL_FALSE;
01582 GLboolean __GLEW_NV_primitive_restart = GL_FALSE;
01583 GLboolean __GLEW_NV_register_combiners = GL_FALSE;
01584 GLboolean __GLEW_NV_register_combiners2 = GL_FALSE;
01585 GLboolean __GLEW_NV_texgen_emboss = GL_FALSE;
01586 GLboolean __GLEW_NV_texgen_reflection = GL_FALSE;
01587 GLboolean __GLEW_NV_texture_compression_vtc = GL_FALSE;
01588 GLboolean __GLEW_NV_texture_env_combine4 = GL_FALSE;
01589 GLboolean __GLEW_NV_texture_expand_normal = GL_FALSE;
01590 GLboolean __GLEW_NV_texture_rectangle = GL_FALSE;
01591 GLboolean __GLEW_NV_texture_shader = GL_FALSE;
01592 GLboolean __GLEW_NV_texture_shader2 = GL_FALSE;
01593 GLboolean __GLEW_NV_texture_shader3 = GL_FALSE;
01594 GLboolean __GLEW_NV_vertex_array_range = GL_FALSE;
01595 GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE;
01596 GLboolean __GLEW_NV_vertex_program = GL_FALSE;
01597 GLboolean __GLEW_NV_vertex_program1_1 = GL_FALSE;
01598 GLboolean __GLEW_NV_vertex_program2 = GL_FALSE;
01599 GLboolean __GLEW_NV_vertex_program2_option = GL_FALSE;
01600 GLboolean __GLEW_NV_vertex_program3 = GL_FALSE;
01601 GLboolean __GLEW_OML_interlace = GL_FALSE;
01602 GLboolean __GLEW_OML_resample = GL_FALSE;
01603 GLboolean __GLEW_OML_subsample = GL_FALSE;
01604 GLboolean __GLEW_PGI_misc_hints = GL_FALSE;
01605 GLboolean __GLEW_PGI_vertex_hints = GL_FALSE;
01606 GLboolean __GLEW_REND_screen_coordinates = GL_FALSE;
01607 GLboolean __GLEW_S3_s3tc = GL_FALSE;
01608 GLboolean __GLEW_SGIS_color_range = GL_FALSE;
01609 GLboolean __GLEW_SGIS_detail_texture = GL_FALSE;
01610 GLboolean __GLEW_SGIS_fog_function = GL_FALSE;
01611 GLboolean __GLEW_SGIS_generate_mipmap = GL_FALSE;
01612 GLboolean __GLEW_SGIS_multisample = GL_FALSE;
01613 GLboolean __GLEW_SGIS_pixel_texture = GL_FALSE;
01614 GLboolean __GLEW_SGIS_sharpen_texture = GL_FALSE;
01615 GLboolean __GLEW_SGIS_texture4D = GL_FALSE;
01616 GLboolean __GLEW_SGIS_texture_border_clamp = GL_FALSE;
01617 GLboolean __GLEW_SGIS_texture_edge_clamp = GL_FALSE;
01618 GLboolean __GLEW_SGIS_texture_filter4 = GL_FALSE;
01619 GLboolean __GLEW_SGIS_texture_lod = GL_FALSE;
01620 GLboolean __GLEW_SGIS_texture_select = GL_FALSE;
01621 GLboolean __GLEW_SGIX_async = GL_FALSE;
01622 GLboolean __GLEW_SGIX_async_histogram = GL_FALSE;
01623 GLboolean __GLEW_SGIX_async_pixel = GL_FALSE;
01624 GLboolean __GLEW_SGIX_blend_alpha_minmax = GL_FALSE;
01625 GLboolean __GLEW_SGIX_clipmap = GL_FALSE;
01626 GLboolean __GLEW_SGIX_depth_texture = GL_FALSE;
01627 GLboolean __GLEW_SGIX_flush_raster = GL_FALSE;
01628 GLboolean __GLEW_SGIX_fog_offset = GL_FALSE;
01629 GLboolean __GLEW_SGIX_fog_texture = GL_FALSE;
01630 GLboolean __GLEW_SGIX_fragment_specular_lighting = GL_FALSE;
01631 GLboolean __GLEW_SGIX_framezoom = GL_FALSE;
01632 GLboolean __GLEW_SGIX_interlace = GL_FALSE;
01633 GLboolean __GLEW_SGIX_ir_instrument1 = GL_FALSE;
01634 GLboolean __GLEW_SGIX_list_priority = GL_FALSE;
01635 GLboolean __GLEW_SGIX_pixel_texture = GL_FALSE;
01636 GLboolean __GLEW_SGIX_pixel_texture_bits = GL_FALSE;
01637 GLboolean __GLEW_SGIX_reference_plane = GL_FALSE;
01638 GLboolean __GLEW_SGIX_resample = GL_FALSE;
01639 GLboolean __GLEW_SGIX_shadow = GL_FALSE;
01640 GLboolean __GLEW_SGIX_shadow_ambient = GL_FALSE;
01641 GLboolean __GLEW_SGIX_sprite = GL_FALSE;
01642 GLboolean __GLEW_SGIX_tag_sample_buffer = GL_FALSE;
01643 GLboolean __GLEW_SGIX_texture_add_env = GL_FALSE;
01644 GLboolean __GLEW_SGIX_texture_coordinate_clamp = GL_FALSE;
01645 GLboolean __GLEW_SGIX_texture_lod_bias = GL_FALSE;
01646 GLboolean __GLEW_SGIX_texture_multi_buffer = GL_FALSE;
01647 GLboolean __GLEW_SGIX_texture_range = GL_FALSE;
01648 GLboolean __GLEW_SGIX_texture_scale_bias = GL_FALSE;
01649 GLboolean __GLEW_SGIX_vertex_preclip = GL_FALSE;
01650 GLboolean __GLEW_SGIX_vertex_preclip_hint = GL_FALSE;
01651 GLboolean __GLEW_SGIX_ycrcb = GL_FALSE;
01652 GLboolean __GLEW_SGI_color_matrix = GL_FALSE;
01653 GLboolean __GLEW_SGI_color_table = GL_FALSE;
01654 GLboolean __GLEW_SGI_texture_color_table = GL_FALSE;
01655 GLboolean __GLEW_SUNX_constant_data = GL_FALSE;
01656 GLboolean __GLEW_SUN_convolution_border_modes = GL_FALSE;
01657 GLboolean __GLEW_SUN_global_alpha = GL_FALSE;
01658 GLboolean __GLEW_SUN_mesh_array = GL_FALSE;
01659 GLboolean __GLEW_SUN_read_video_pixels = GL_FALSE;
01660 GLboolean __GLEW_SUN_slice_accum = GL_FALSE;
01661 GLboolean __GLEW_SUN_triangle_list = GL_FALSE;
01662 GLboolean __GLEW_SUN_vertex = GL_FALSE;
01663 GLboolean __GLEW_WIN_phong_shading = GL_FALSE;
01664 GLboolean __GLEW_WIN_specular_fog = GL_FALSE;
01665 GLboolean __GLEW_WIN_swap_hint = GL_FALSE;
01666
01667 #endif
01668
01669 #ifdef GL_VERSION_1_2
01670
01671 static GLboolean _glewInit_GL_VERSION_1_2 (GLEW_CONTEXT_ARG_DEF_INIT)
01672 {
01673 GLboolean r = GL_FALSE;
01674
01675 r = ((glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3D")) == NULL) || r;
01676 r = ((glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElements")) == NULL) || r;
01677 r = ((glTexImage3D = (PFNGLTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexImage3D")) == NULL) || r;
01678 r = ((glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3D")) == NULL) || r;
01679
01680 return r;
01681 }
01682
01683 #endif
01684
01685 #ifdef GL_VERSION_1_3
01686
01687 static GLboolean _glewInit_GL_VERSION_1_3 (GLEW_CONTEXT_ARG_DEF_INIT)
01688 {
01689 GLboolean r = GL_FALSE;
01690
01691 r = ((glActiveTexture = (PFNGLACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glActiveTexture")) == NULL) || r;
01692 r = ((glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTexture")) == NULL) || r;
01693 r = ((glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1D")) == NULL) || r;
01694 r = ((glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2D")) == NULL) || r;
01695 r = ((glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3D")) == NULL) || r;
01696 r = ((glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1D")) == NULL) || r;
01697 r = ((glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2D")) == NULL) || r;
01698 r = ((glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3D")) == NULL) || r;
01699 r = ((glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImage")) == NULL) || r;
01700 r = ((glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixd")) == NULL) || r;
01701 r = ((glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixf")) == NULL) || r;
01702 r = ((glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixd")) == NULL) || r;
01703 r = ((glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixf")) == NULL) || r;
01704 r = ((glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1d")) == NULL) || r;
01705 r = ((glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dv")) == NULL) || r;
01706 r = ((glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1f")) == NULL) || r;
01707 r = ((glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fv")) == NULL) || r;
01708 r = ((glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1i")) == NULL) || r;
01709 r = ((glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iv")) == NULL) || r;
01710 r = ((glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1s")) == NULL) || r;
01711 r = ((glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sv")) == NULL) || r;
01712 r = ((glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2d")) == NULL) || r;
01713 r = ((glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dv")) == NULL) || r;
01714 r = ((glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2f")) == NULL) || r;
01715 r = ((glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fv")) == NULL) || r;
01716 r = ((glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2i")) == NULL) || r;
01717 r = ((glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iv")) == NULL) || r;
01718 r = ((glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2s")) == NULL) || r;
01719 r = ((glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sv")) == NULL) || r;
01720 r = ((glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3d")) == NULL) || r;
01721 r = ((glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dv")) == NULL) || r;
01722 r = ((glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3f")) == NULL) || r;
01723 r = ((glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fv")) == NULL) || r;
01724 r = ((glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3i")) == NULL) || r;
01725 r = ((glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iv")) == NULL) || r;
01726 r = ((glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3s")) == NULL) || r;
01727 r = ((glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sv")) == NULL) || r;
01728 r = ((glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4d")) == NULL) || r;
01729 r = ((glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dv")) == NULL) || r;
01730 r = ((glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4f")) == NULL) || r;
01731 r = ((glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fv")) == NULL) || r;
01732 r = ((glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4i")) == NULL) || r;
01733 r = ((glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iv")) == NULL) || r;
01734 r = ((glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4s")) == NULL) || r;
01735 r = ((glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sv")) == NULL) || r;
01736 r = ((glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverage")) == NULL) || r;
01737
01738 return r;
01739 }
01740
01741 #endif
01742
01743 #ifdef GL_VERSION_1_4
01744
01745 static GLboolean _glewInit_GL_VERSION_1_4 (GLEW_CONTEXT_ARG_DEF_INIT)
01746 {
01747 GLboolean r = GL_FALSE;
01748
01749 r = ((glBlendColor = (PFNGLBLENDCOLORPROC)glewGetProcAddress((const GLubyte*)"glBlendColor")) == NULL) || r;
01750 r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
01751 r = ((glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparate")) == NULL) || r;
01752 r = ((glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointer")) == NULL) || r;
01753 r = ((glFogCoordd = (PFNGLFOGCOORDDPROC)glewGetProcAddress((const GLubyte*)"glFogCoordd")) == NULL) || r;
01754 r = ((glFogCoorddv = (PFNGLFOGCOORDDVPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddv")) == NULL) || r;
01755 r = ((glFogCoordf = (PFNGLFOGCOORDFPROC)glewGetProcAddress((const GLubyte*)"glFogCoordf")) == NULL) || r;
01756 r = ((glFogCoordfv = (PFNGLFOGCOORDFVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfv")) == NULL) || r;
01757 r = ((glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArrays")) == NULL) || r;
01758 r = ((glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElements")) == NULL) || r;
01759 r = ((glPointParameterf = (PFNGLPOINTPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glPointParameterf")) == NULL) || r;
01760 r = ((glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfv")) == NULL) || r;
01761 r = ((glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3b")) == NULL) || r;
01762 r = ((glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bv")) == NULL) || r;
01763 r = ((glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3d")) == NULL) || r;
01764 r = ((glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dv")) == NULL) || r;
01765 r = ((glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3f")) == NULL) || r;
01766 r = ((glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fv")) == NULL) || r;
01767 r = ((glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3i")) == NULL) || r;
01768 r = ((glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iv")) == NULL) || r;
01769 r = ((glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3s")) == NULL) || r;
01770 r = ((glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sv")) == NULL) || r;
01771 r = ((glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ub")) == NULL) || r;
01772 r = ((glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubv")) == NULL) || r;
01773 r = ((glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ui")) == NULL) || r;
01774 r = ((glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiv")) == NULL) || r;
01775 r = ((glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3us")) == NULL) || r;
01776 r = ((glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usv")) == NULL) || r;
01777 r = ((glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointer")) == NULL) || r;
01778 r = ((glWindowPos2d = (PFNGLWINDOWPOS2DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2d")) == NULL) || r;
01779 r = ((glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dv")) == NULL) || r;
01780 r = ((glWindowPos2f = (PFNGLWINDOWPOS2FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2f")) == NULL) || r;
01781 r = ((glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fv")) == NULL) || r;
01782 r = ((glWindowPos2i = (PFNGLWINDOWPOS2IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2i")) == NULL) || r;
01783 r = ((glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iv")) == NULL) || r;
01784 r = ((glWindowPos2s = (PFNGLWINDOWPOS2SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2s")) == NULL) || r;
01785 r = ((glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sv")) == NULL) || r;
01786 r = ((glWindowPos3d = (PFNGLWINDOWPOS3DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3d")) == NULL) || r;
01787 r = ((glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dv")) == NULL) || r;
01788 r = ((glWindowPos3f = (PFNGLWINDOWPOS3FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3f")) == NULL) || r;
01789 r = ((glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fv")) == NULL) || r;
01790 r = ((glWindowPos3i = (PFNGLWINDOWPOS3IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3i")) == NULL) || r;
01791 r = ((glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iv")) == NULL) || r;
01792 r = ((glWindowPos3s = (PFNGLWINDOWPOS3SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3s")) == NULL) || r;
01793 r = ((glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sv")) == NULL) || r;
01794
01795 return r;
01796 }
01797
01798 #endif
01799
01800 #ifdef GL_VERSION_1_5
01801
01802 static GLboolean _glewInit_GL_VERSION_1_5 (GLEW_CONTEXT_ARG_DEF_INIT)
01803 {
01804 GLboolean r = GL_FALSE;
01805
01806 r = ((glBeginQuery = (PFNGLBEGINQUERYPROC)glewGetProcAddress((const GLubyte*)"glBeginQuery")) == NULL) || r;
01807 r = ((glBindBuffer = (PFNGLBINDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindBuffer")) == NULL) || r;
01808 r = ((glBufferData = (PFNGLBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferData")) == NULL) || r;
01809 r = ((glBufferSubData = (PFNGLBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferSubData")) == NULL) || r;
01810 r = ((glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffers")) == NULL) || r;
01811 r = ((glDeleteQueries = (PFNGLDELETEQUERIESPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueries")) == NULL) || r;
01812 r = ((glEndQuery = (PFNGLENDQUERYPROC)glewGetProcAddress((const GLubyte*)"glEndQuery")) == NULL) || r;
01813 r = ((glGenBuffers = (PFNGLGENBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenBuffers")) == NULL) || r;
01814 r = ((glGenQueries = (PFNGLGENQUERIESPROC)glewGetProcAddress((const GLubyte*)"glGenQueries")) == NULL) || r;
01815 r = ((glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteriv")) == NULL) || r;
01816 r = ((glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointerv")) == NULL) || r;
01817 r = ((glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubData")) == NULL) || r;
01818 r = ((glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectiv")) == NULL) || r;
01819 r = ((glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuiv")) == NULL) || r;
01820 r = ((glGetQueryiv = (PFNGLGETQUERYIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryiv")) == NULL) || r;
01821 r = ((glIsBuffer = (PFNGLISBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsBuffer")) == NULL) || r;
01822 r = ((glIsQuery = (PFNGLISQUERYPROC)glewGetProcAddress((const GLubyte*)"glIsQuery")) == NULL) || r;
01823 r = ((glMapBuffer = (PFNGLMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glMapBuffer")) == NULL) || r;
01824 r = ((glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glUnmapBuffer")) == NULL) || r;
01825
01826 return r;
01827 }
01828
01829 #endif
01830
01831 #ifdef GL_VERSION_2_0
01832
01833 static GLboolean _glewInit_GL_VERSION_2_0 (GLEW_CONTEXT_ARG_DEF_INIT)
01834 {
01835 GLboolean r = GL_FALSE;
01836
01837 r = ((glAttachShader = (PFNGLATTACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glAttachShader")) == NULL) || r;
01838 r = ((glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocation")) == NULL) || r;
01839 r = ((glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparate")) == NULL) || r;
01840 r = ((glCompileShader = (PFNGLCOMPILESHADERPROC)glewGetProcAddress((const GLubyte*)"glCompileShader")) == NULL) || r;
01841 r = ((glCreateProgram = (PFNGLCREATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glCreateProgram")) == NULL) || r;
01842 r = ((glCreateShader = (PFNGLCREATESHADERPROC)glewGetProcAddress((const GLubyte*)"glCreateShader")) == NULL) || r;
01843 r = ((glDeleteProgram = (PFNGLDELETEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgram")) == NULL) || r;
01844 r = ((glDeleteShader = (PFNGLDELETESHADERPROC)glewGetProcAddress((const GLubyte*)"glDeleteShader")) == NULL) || r;
01845 r = ((glDetachShader = (PFNGLDETACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glDetachShader")) == NULL) || r;
01846 r = ((glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArray")) == NULL) || r;
01847 r = ((glDrawBuffers = (PFNGLDRAWBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffers")) == NULL) || r;
01848 r = ((glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArray")) == NULL) || r;
01849 r = ((glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttrib")) == NULL) || r;
01850 r = ((glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniform")) == NULL) || r;
01851 r = ((glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedShaders")) == NULL) || r;
01852 r = ((glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocation")) == NULL) || r;
01853 r = ((glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInfoLog")) == NULL) || r;
01854 r = ((glGetProgramiv = (PFNGLGETPROGRAMIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramiv")) == NULL) || r;
01855 r = ((glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetShaderInfoLog")) == NULL) || r;
01856 r = ((glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSource")) == NULL) || r;
01857 r = ((glGetShaderiv = (PFNGLGETSHADERIVPROC)glewGetProcAddress((const GLubyte*)"glGetShaderiv")) == NULL) || r;
01858 r = ((glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocation")) == NULL) || r;
01859 r = ((glGetUniformfv = (PFNGLGETUNIFORMFVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfv")) == NULL) || r;
01860 r = ((glGetUniformiv = (PFNGLGETUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformiv")) == NULL) || r;
01861 r = ((glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointerv")) == NULL) || r;
01862 r = ((glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdv")) == NULL) || r;
01863 r = ((glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfv")) == NULL) || r;
01864 r = ((glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribiv")) == NULL) || r;
01865 r = ((glIsProgram = (PFNGLISPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glIsProgram")) == NULL) || r;
01866 r = ((glIsShader = (PFNGLISSHADERPROC)glewGetProcAddress((const GLubyte*)"glIsShader")) == NULL) || r;
01867 r = ((glLinkProgram = (PFNGLLINKPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glLinkProgram")) == NULL) || r;
01868 r = ((glShaderSource = (PFNGLSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glShaderSource")) == NULL) || r;
01869 r = ((glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparate")) == NULL) || r;
01870 r = ((glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilMaskSeparate")) == NULL) || r;
01871 r = ((glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparate")) == NULL) || r;
01872 r = ((glUniform1f = (PFNGLUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glUniform1f")) == NULL) || r;
01873 r = ((glUniform1fv = (PFNGLUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glUniform1fv")) == NULL) || r;
01874 r = ((glUniform1i = (PFNGLUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glUniform1i")) == NULL) || r;
01875 r = ((glUniform1iv = (PFNGLUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glUniform1iv")) == NULL) || r;
01876 r = ((glUniform2f = (PFNGLUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glUniform2f")) == NULL) || r;
01877 r = ((glUniform2fv = (PFNGLUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glUniform2fv")) == NULL) || r;
01878 r = ((glUniform2i = (PFNGLUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glUniform2i")) == NULL) || r;
01879 r = ((glUniform2iv = (PFNGLUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glUniform2iv")) == NULL) || r;
01880 r = ((glUniform3f = (PFNGLUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glUniform3f")) == NULL) || r;
01881 r = ((glUniform3fv = (PFNGLUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glUniform3fv")) == NULL) || r;
01882 r = ((glUniform3i = (PFNGLUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glUniform3i")) == NULL) || r;
01883 r = ((glUniform3iv = (PFNGLUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glUniform3iv")) == NULL) || r;
01884 r = ((glUniform4f = (PFNGLUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glUniform4f")) == NULL) || r;
01885 r = ((glUniform4fv = (PFNGLUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glUniform4fv")) == NULL) || r;
01886 r = ((glUniform4i = (PFNGLUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glUniform4i")) == NULL) || r;
01887 r = ((glUniform4iv = (PFNGLUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glUniform4iv")) == NULL) || r;
01888 r = ((glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fv")) == NULL) || r;
01889 r = ((glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fv")) == NULL) || r;
01890 r = ((glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fv")) == NULL) || r;
01891 r = ((glUseProgram = (PFNGLUSEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glUseProgram")) == NULL) || r;
01892 r = ((glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glValidateProgram")) == NULL) || r;
01893 r = ((glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1d")) == NULL) || r;
01894 r = ((glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dv")) == NULL) || r;
01895 r = ((glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1f")) == NULL) || r;
01896 r = ((glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fv")) == NULL) || r;
01897 r = ((glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1s")) == NULL) || r;
01898 r = ((glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sv")) == NULL) || r;
01899 r = ((glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2d")) == NULL) || r;
01900 r = ((glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dv")) == NULL) || r;
01901 r = ((glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2f")) == NULL) || r;
01902 r = ((glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fv")) == NULL) || r;
01903 r = ((glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2s")) == NULL) || r;
01904 r = ((glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sv")) == NULL) || r;
01905 r = ((glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3d")) == NULL) || r;
01906 r = ((glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dv")) == NULL) || r;
01907 r = ((glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3f")) == NULL) || r;
01908 r = ((glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fv")) == NULL) || r;
01909 r = ((glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3s")) == NULL) || r;
01910 r = ((glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sv")) == NULL) || r;
01911 r = ((glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nbv")) == NULL) || r;
01912 r = ((glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Niv")) == NULL) || r;
01913 r = ((glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nsv")) == NULL) || r;
01914 r = ((glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nub")) == NULL) || r;
01915 r = ((glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nubv")) == NULL) || r;
01916 r = ((glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nuiv")) == NULL) || r;
01917 r = ((glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nusv")) == NULL) || r;
01918 r = ((glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bv")) == NULL) || r;
01919 r = ((glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4d")) == NULL) || r;
01920 r = ((glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dv")) == NULL) || r;
01921 r = ((glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4f")) == NULL) || r;
01922 r = ((glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fv")) == NULL) || r;
01923 r = ((glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4iv")) == NULL) || r;
01924 r = ((glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4s")) == NULL) || r;
01925 r = ((glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sv")) == NULL) || r;
01926 r = ((glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubv")) == NULL) || r;
01927 r = ((glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uiv")) == NULL) || r;
01928 r = ((glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usv")) == NULL) || r;
01929 r = ((glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointer")) == NULL) || r;
01930
01931 return r;
01932 }
01933
01934 #endif
01935
01936 #ifdef GL_3DFX_multisample
01937
01938 #endif
01939
01940 #ifdef GL_3DFX_tbuffer
01941
01942 static GLboolean _glewInit_GL_3DFX_tbuffer (GLEW_CONTEXT_ARG_DEF_INIT)
01943 {
01944 GLboolean r = GL_FALSE;
01945
01946 r = ((glTbufferMask3DFX = (PFNGLTBUFFERMASK3DFXPROC)glewGetProcAddress((const GLubyte*)"glTbufferMask3DFX")) == NULL) || r;
01947
01948 return r;
01949 }
01950
01951 #endif
01952
01953 #ifdef GL_3DFX_texture_compression_FXT1
01954
01955 #endif
01956
01957 #ifdef GL_APPLE_client_storage
01958
01959 #endif
01960
01961 #ifdef GL_APPLE_element_array
01962
01963 static GLboolean _glewInit_GL_APPLE_element_array (GLEW_CONTEXT_ARG_DEF_INIT)
01964 {
01965 GLboolean r = GL_FALSE;
01966
01967 r = ((glDrawElementArrayAPPLE = (PFNGLDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayAPPLE")) == NULL) || r;
01968 r = ((glDrawRangeElementArrayAPPLE = (PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayAPPLE")) == NULL) || r;
01969 r = ((glElementPointerAPPLE = (PFNGLELEMENTPOINTERAPPLEPROC)glewGetProcAddress((const GLubyte*)"glElementPointerAPPLE")) == NULL) || r;
01970 r = ((glMultiDrawElementArrayAPPLE = (PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementArrayAPPLE")) == NULL) || r;
01971 r = ((glMultiDrawRangeElementArrayAPPLE = (PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawRangeElementArrayAPPLE")) == NULL) || r;
01972
01973 return r;
01974 }
01975
01976 #endif
01977
01978 #ifdef GL_APPLE_fence
01979
01980 static GLboolean _glewInit_GL_APPLE_fence (GLEW_CONTEXT_ARG_DEF_INIT)
01981 {
01982 GLboolean r = GL_FALSE;
01983
01984 r = ((glDeleteFencesAPPLE = (PFNGLDELETEFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesAPPLE")) == NULL) || r;
01985 r = ((glFinishFenceAPPLE = (PFNGLFINISHFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceAPPLE")) == NULL) || r;
01986 r = ((glFinishObjectAPPLE = (PFNGLFINISHOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishObjectAPPLE")) == NULL) || r;
01987 r = ((glGenFencesAPPLE = (PFNGLGENFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenFencesAPPLE")) == NULL) || r;
01988 r = ((glIsFenceAPPLE = (PFNGLISFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsFenceAPPLE")) == NULL) || r;
01989 r = ((glSetFenceAPPLE = (PFNGLSETFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glSetFenceAPPLE")) == NULL) || r;
01990 r = ((glTestFenceAPPLE = (PFNGLTESTFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestFenceAPPLE")) == NULL) || r;
01991 r = ((glTestObjectAPPLE = (PFNGLTESTOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestObjectAPPLE")) == NULL) || r;
01992
01993 return r;
01994 }
01995
01996 #endif
01997
01998 #ifdef GL_APPLE_float_pixels
01999
02000 #endif
02001
02002 #ifdef GL_APPLE_pixel_buffer
02003
02004 #endif
02005
02006 #ifdef GL_APPLE_specular_vector
02007
02008 #endif
02009
02010 #ifdef GL_APPLE_texture_range
02011
02012 static GLboolean _glewInit_GL_APPLE_texture_range (GLEW_CONTEXT_ARG_DEF_INIT)
02013 {
02014 GLboolean r = GL_FALSE;
02015
02016 r = ((glGetTexParameterPointervAPPLE = (PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterPointervAPPLE")) == NULL) || r;
02017 r = ((glTextureRangeAPPLE = (PFNGLTEXTURERANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureRangeAPPLE")) == NULL) || r;
02018
02019 return r;
02020 }
02021
02022 #endif
02023
02024 #ifdef GL_APPLE_transform_hint
02025
02026 #endif
02027
02028 #ifdef GL_APPLE_vertex_array_object
02029
02030 static GLboolean _glewInit_GL_APPLE_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
02031 {
02032 GLboolean r = GL_FALSE;
02033
02034 r = ((glBindVertexArrayAPPLE = (PFNGLBINDVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArrayAPPLE")) == NULL) || r;
02035 r = ((glDeleteVertexArraysAPPLE = (PFNGLDELETEVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArraysAPPLE")) == NULL) || r;
02036 r = ((glGenVertexArraysAPPLE = (PFNGLGENVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArraysAPPLE")) == NULL) || r;
02037 r = ((glIsVertexArrayAPPLE = (PFNGLISVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArrayAPPLE")) == NULL) || r;
02038
02039 return r;
02040 }
02041
02042 #endif
02043
02044 #ifdef GL_APPLE_vertex_array_range
02045
02046 static GLboolean _glewInit_GL_APPLE_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT)
02047 {
02048 GLboolean r = GL_FALSE;
02049
02050 r = ((glFlushVertexArrayRangeAPPLE = (PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeAPPLE")) == NULL) || r;
02051 r = ((glVertexArrayParameteriAPPLE = (PFNGLVERTEXARRAYPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayParameteriAPPLE")) == NULL) || r;
02052 r = ((glVertexArrayRangeAPPLE = (PFNGLVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeAPPLE")) == NULL) || r;
02053
02054 return r;
02055 }
02056
02057 #endif
02058
02059 #ifdef GL_APPLE_ycbcr_422
02060
02061 #endif
02062
02063 #ifdef GL_ARB_color_buffer_float
02064
02065 static GLboolean _glewInit_GL_ARB_color_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)
02066 {
02067 GLboolean r = GL_FALSE;
02068
02069 r = ((glClampColorARB = (PFNGLCLAMPCOLORARBPROC)glewGetProcAddress((const GLubyte*)"glClampColorARB")) == NULL) || r;
02070
02071 return r;
02072 }
02073
02074 #endif
02075
02076 #ifdef GL_ARB_depth_texture
02077
02078 #endif
02079
02080 #ifdef GL_ARB_draw_buffers
02081
02082 static GLboolean _glewInit_GL_ARB_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
02083 {
02084 GLboolean r = GL_FALSE;
02085
02086 r = ((glDrawBuffersARB = (PFNGLDRAWBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersARB")) == NULL) || r;
02087
02088 return r;
02089 }
02090
02091 #endif
02092
02093 #ifdef GL_ARB_fragment_program
02094
02095 #endif
02096
02097 #ifdef GL_ARB_fragment_program_shadow
02098
02099 #endif
02100
02101 #ifdef GL_ARB_fragment_shader
02102
02103 #endif
02104
02105 #ifdef GL_ARB_half_float_pixel
02106
02107 #endif
02108
02109 #ifdef GL_ARB_imaging
02110
02111 static GLboolean _glewInit_GL_ARB_imaging (GLEW_CONTEXT_ARG_DEF_INIT)
02112 {
02113 GLboolean r = GL_FALSE;
02114
02115 r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
02116 r = ((glColorSubTable = (PFNGLCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorSubTable")) == NULL) || r;
02117 r = ((glColorTable = (PFNGLCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorTable")) == NULL) || r;
02118 r = ((glColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfv")) == NULL) || r;
02119 r = ((glColorTableParameteriv = (PFNGLCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameteriv")) == NULL) || r;
02120 r = ((glConvolutionFilter1D = (PFNGLCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1D")) == NULL) || r;
02121 r = ((glConvolutionFilter2D = (PFNGLCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2D")) == NULL) || r;
02122 r = ((glConvolutionParameterf = (PFNGLCONVOLUTIONPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterf")) == NULL) || r;
02123 r = ((glConvolutionParameterfv = (PFNGLCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfv")) == NULL) || r;
02124 r = ((glConvolutionParameteri = (PFNGLCONVOLUTIONPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteri")) == NULL) || r;
02125 r = ((glConvolutionParameteriv = (PFNGLCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriv")) == NULL) || r;
02126 r = ((glCopyColorSubTable = (PFNGLCOPYCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTable")) == NULL) || r;
02127 r = ((glCopyColorTable = (PFNGLCOPYCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTable")) == NULL) || r;
02128 r = ((glCopyConvolutionFilter1D = (PFNGLCOPYCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1D")) == NULL) || r;
02129 r = ((glCopyConvolutionFilter2D = (PFNGLCOPYCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2D")) == NULL) || r;
02130 r = ((glGetColorTable = (PFNGLGETCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glGetColorTable")) == NULL) || r;
02131 r = ((glGetColorTableParameterfv = (PFNGLGETCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfv")) == NULL) || r;
02132 r = ((glGetColorTableParameteriv = (PFNGLGETCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameteriv")) == NULL) || r;
02133 r = ((glGetConvolutionFilter = (PFNGLGETCONVOLUTIONFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilter")) == NULL) || r;
02134 r = ((glGetConvolutionParameterfv = (PFNGLGETCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfv")) == NULL) || r;
02135 r = ((glGetConvolutionParameteriv = (PFNGLGETCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameteriv")) == NULL) || r;
02136 r = ((glGetHistogram = (PFNGLGETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glGetHistogram")) == NULL) || r;
02137 r = ((glGetHistogramParameterfv = (PFNGLGETHISTOGRAMPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfv")) == NULL) || r;
02138 r = ((glGetHistogramParameteriv = (PFNGLGETHISTOGRAMPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameteriv")) == NULL) || r;
02139 r = ((glGetMinmax = (PFNGLGETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glGetMinmax")) == NULL) || r;
02140 r = ((glGetMinmaxParameterfv = (PFNGLGETMINMAXPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfv")) == NULL) || r;
02141 r = ((glGetMinmaxParameteriv = (PFNGLGETMINMAXPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameteriv")) == NULL) || r;
02142 r = ((glGetSeparableFilter = (PFNGLGETSEPARABLEFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilter")) == NULL) || r;
02143 r = ((glHistogram = (PFNGLHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glHistogram")) == NULL) || r;
02144 r = ((glMinmax = (PFNGLMINMAXPROC)glewGetProcAddress((const GLubyte*)"glMinmax")) == NULL) || r;
02145 r = ((glResetHistogram = (PFNGLRESETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glResetHistogram")) == NULL) || r;
02146 r = ((glResetMinmax = (PFNGLRESETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glResetMinmax")) == NULL) || r;
02147 r = ((glSeparableFilter2D = (PFNGLSEPARABLEFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2D")) == NULL) || r;
02148
02149 return r;
02150 }
02151
02152 #endif
02153
02154 #ifdef GL_ARB_matrix_palette
02155
02156 static GLboolean _glewInit_GL_ARB_matrix_palette (GLEW_CONTEXT_ARG_DEF_INIT)
02157 {
02158 GLboolean r = GL_FALSE;
02159
02160 r = ((glCurrentPaletteMatrixARB = (PFNGLCURRENTPALETTEMATRIXARBPROC)glewGetProcAddress((const GLubyte*)"glCurrentPaletteMatrixARB")) == NULL) || r;
02161 r = ((glMatrixIndexPointerARB = (PFNGLMATRIXINDEXPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexPointerARB")) == NULL) || r;
02162 r = ((glMatrixIndexubvARB = (PFNGLMATRIXINDEXUBVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexubvARB")) == NULL) || r;
02163 r = ((glMatrixIndexuivARB = (PFNGLMATRIXINDEXUIVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexuivARB")) == NULL) || r;
02164 r = ((glMatrixIndexusvARB = (PFNGLMATRIXINDEXUSVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexusvARB")) == NULL) || r;
02165
02166 return r;
02167 }
02168
02169 #endif
02170
02171 #ifdef GL_ARB_multisample
02172
02173 static GLboolean _glewInit_GL_ARB_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
02174 {
02175 GLboolean r = GL_FALSE;
02176
02177 r = ((glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverageARB")) == NULL) || r;
02178
02179 return r;
02180 }
02181
02182 #endif
02183
02184 #ifdef GL_ARB_multitexture
02185
02186 static GLboolean _glewInit_GL_ARB_multitexture (GLEW_CONTEXT_ARG_DEF_INIT)
02187 {
02188 GLboolean r = GL_FALSE;
02189
02190 r = ((glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glActiveTextureARB")) == NULL) || r;
02191 r = ((glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTextureARB")) == NULL) || r;
02192 r = ((glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dARB")) == NULL) || r;
02193 r = ((glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dvARB")) == NULL) || r;
02194 r = ((glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fARB")) == NULL) || r;
02195 r = ((glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fvARB")) == NULL) || r;
02196 r = ((glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iARB")) == NULL) || r;
02197 r = ((glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1ivARB")) == NULL) || r;
02198 r = ((glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sARB")) == NULL) || r;
02199 r = ((glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1svARB")) == NULL) || r;
02200 r = ((glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dARB")) == NULL) || r;
02201 r = ((glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dvARB")) == NULL) || r;
02202 r = ((glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fARB")) == NULL) || r;
02203 r = ((glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fvARB")) == NULL) || r;
02204 r = ((glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iARB")) == NULL) || r;
02205 r = ((glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2ivARB")) == NULL) || r;
02206 r = ((glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sARB")) == NULL) || r;
02207 r = ((glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2svARB")) == NULL) || r;
02208 r = ((glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dARB")) == NULL) || r;
02209 r = ((glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dvARB")) == NULL) || r;
02210 r = ((glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fARB")) == NULL) || r;
02211 r = ((glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fvARB")) == NULL) || r;
02212 r = ((glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iARB")) == NULL) || r;
02213 r = ((glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3ivARB")) == NULL) || r;
02214 r = ((glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sARB")) == NULL) || r;
02215 r = ((glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3svARB")) == NULL) || r;
02216 r = ((glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dARB")) == NULL) || r;
02217 r = ((glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dvARB")) == NULL) || r;
02218 r = ((glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fARB")) == NULL) || r;
02219 r = ((glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fvARB")) == NULL) || r;
02220 r = ((glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iARB")) == NULL) || r;
02221 r = ((glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4ivARB")) == NULL) || r;
02222 r = ((glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sARB")) == NULL) || r;
02223 r = ((glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4svARB")) == NULL) || r;
02224
02225 return r;
02226 }
02227
02228 #endif
02229
02230 #ifdef GL_ARB_occlusion_query
02231
02232 static GLboolean _glewInit_GL_ARB_occlusion_query (GLEW_CONTEXT_ARG_DEF_INIT)
02233 {
02234 GLboolean r = GL_FALSE;
02235
02236 r = ((glBeginQueryARB = (PFNGLBEGINQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryARB")) == NULL) || r;
02237 r = ((glDeleteQueriesARB = (PFNGLDELETEQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesARB")) == NULL) || r;
02238 r = ((glEndQueryARB = (PFNGLENDQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glEndQueryARB")) == NULL) || r;
02239 r = ((glGenQueriesARB = (PFNGLGENQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesARB")) == NULL) || r;
02240 r = ((glGetQueryObjectivARB = (PFNGLGETQUERYOBJECTIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivARB")) == NULL) || r;
02241 r = ((glGetQueryObjectuivARB = (PFNGLGETQUERYOBJECTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivARB")) == NULL) || r;
02242 r = ((glGetQueryivARB = (PFNGLGETQUERYIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivARB")) == NULL) || r;
02243 r = ((glIsQueryARB = (PFNGLISQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glIsQueryARB")) == NULL) || r;
02244
02245 return r;
02246 }
02247
02248 #endif
02249
02250 #ifdef GL_ARB_pixel_buffer_object
02251
02252 #endif
02253
02254 #ifdef GL_ARB_point_parameters
02255
02256 static GLboolean _glewInit_GL_ARB_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
02257 {
02258 GLboolean r = GL_FALSE;
02259
02260 r = ((glPointParameterfARB = (PFNGLPOINTPARAMETERFARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfARB")) == NULL) || r;
02261 r = ((glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvARB")) == NULL) || r;
02262
02263 return r;
02264 }
02265
02266 #endif
02267
02268 #ifdef GL_ARB_point_sprite
02269
02270 #endif
02271
02272 #ifdef GL_ARB_shader_objects
02273
02274 static GLboolean _glewInit_GL_ARB_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)
02275 {
02276 GLboolean r = GL_FALSE;
02277
02278 r = ((glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glAttachObjectARB")) == NULL) || r;
02279 r = ((glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderARB")) == NULL) || r;
02280 r = ((glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateProgramObjectARB")) == NULL) || r;
02281 r = ((glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderObjectARB")) == NULL) || r;
02282 r = ((glDeleteObjectARB = (PFNGLDELETEOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteObjectARB")) == NULL) || r;
02283 r = ((glDetachObjectARB = (PFNGLDETACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDetachObjectARB")) == NULL) || r;
02284 r = ((glGetActiveUniformARB = (PFNGLGETACTIVEUNIFORMARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformARB")) == NULL) || r;
02285 r = ((glGetAttachedObjectsARB = (PFNGLGETATTACHEDOBJECTSARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedObjectsARB")) == NULL) || r;
02286 r = ((glGetHandleARB = (PFNGLGETHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetHandleARB")) == NULL) || r;
02287 r = ((glGetInfoLogARB = (PFNGLGETINFOLOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetInfoLogARB")) == NULL) || r;
02288 r = ((glGetObjectParameterfvARB = (PFNGLGETOBJECTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterfvARB")) == NULL) || r;
02289 r = ((glGetObjectParameterivARB = (PFNGLGETOBJECTPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivARB")) == NULL) || r;
02290 r = ((glGetShaderSourceARB = (PFNGLGETSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSourceARB")) == NULL) || r;
02291 r = ((glGetUniformLocationARB = (PFNGLGETUNIFORMLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocationARB")) == NULL) || r;
02292 r = ((glGetUniformfvARB = (PFNGLGETUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfvARB")) == NULL) || r;
02293 r = ((glGetUniformivARB = (PFNGLGETUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformivARB")) == NULL) || r;
02294 r = ((glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glLinkProgramARB")) == NULL) || r;
02295 r = ((glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glShaderSourceARB")) == NULL) || r;
02296 r = ((glUniform1fARB = (PFNGLUNIFORM1FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fARB")) == NULL) || r;
02297 r = ((glUniform1fvARB = (PFNGLUNIFORM1FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fvARB")) == NULL) || r;
02298 r = ((glUniform1iARB = (PFNGLUNIFORM1IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1iARB")) == NULL) || r;
02299 r = ((glUniform1ivARB = (PFNGLUNIFORM1IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ivARB")) == NULL) || r;
02300 r = ((glUniform2fARB = (PFNGLUNIFORM2FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fARB")) == NULL) || r;
02301 r = ((glUniform2fvARB = (PFNGLUNIFORM2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fvARB")) == NULL) || r;
02302 r = ((glUniform2iARB = (PFNGLUNIFORM2IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2iARB")) == NULL) || r;
02303 r = ((glUniform2ivARB = (PFNGLUNIFORM2IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ivARB")) == NULL) || r;
02304 r = ((glUniform3fARB = (PFNGLUNIFORM3FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fARB")) == NULL) || r;
02305 r = ((glUniform3fvARB = (PFNGLUNIFORM3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fvARB")) == NULL) || r;
02306 r = ((glUniform3iARB = (PFNGLUNIFORM3IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3iARB")) == NULL) || r;
02307 r = ((glUniform3ivARB = (PFNGLUNIFORM3IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ivARB")) == NULL) || r;
02308 r = ((glUniform4fARB = (PFNGLUNIFORM4FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fARB")) == NULL) || r;
02309 r = ((glUniform4fvARB = (PFNGLUNIFORM4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fvARB")) == NULL) || r;
02310 r = ((glUniform4iARB = (PFNGLUNIFORM4IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4iARB")) == NULL) || r;
02311 r = ((glUniform4ivARB = (PFNGLUNIFORM4IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ivARB")) == NULL) || r;
02312 r = ((glUniformMatrix2fvARB = (PFNGLUNIFORMMATRIX2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fvARB")) == NULL) || r;
02313 r = ((glUniformMatrix3fvARB = (PFNGLUNIFORMMATRIX3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fvARB")) == NULL) || r;
02314 r = ((glUniformMatrix4fvARB = (PFNGLUNIFORMMATRIX4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fvARB")) == NULL) || r;
02315 r = ((glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glUseProgramObjectARB")) == NULL) || r;
02316 r = ((glValidateProgramARB = (PFNGLVALIDATEPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramARB")) == NULL) || r;
02317
02318 return r;
02319 }
02320
02321 #endif
02322
02323 #ifdef GL_ARB_shading_language_100
02324
02325 #endif
02326
02327 #ifdef GL_ARB_shadow
02328
02329 #endif
02330
02331 #ifdef GL_ARB_shadow_ambient
02332
02333 #endif
02334
02335 #ifdef GL_ARB_texture_border_clamp
02336
02337 #endif
02338
02339 #ifdef GL_ARB_texture_compression
02340
02341 static GLboolean _glewInit_GL_ARB_texture_compression (GLEW_CONTEXT_ARG_DEF_INIT)
02342 {
02343 GLboolean r = GL_FALSE;
02344
02345 r = ((glCompressedTexImage1DARB = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1DARB")) == NULL) || r;
02346 r = ((glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2DARB")) == NULL) || r;
02347 r = ((glCompressedTexImage3DARB = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3DARB")) == NULL) || r;
02348 r = ((glCompressedTexSubImage1DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1DARB")) == NULL) || r;
02349 r = ((glCompressedTexSubImage2DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2DARB")) == NULL) || r;
02350 r = ((glCompressedTexSubImage3DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3DARB")) == NULL) || r;
02351 r = ((glGetCompressedTexImageARB = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImageARB")) == NULL) || r;
02352
02353 return r;
02354 }
02355
02356 #endif
02357
02358 #ifdef GL_ARB_texture_cube_map
02359
02360 #endif
02361
02362 #ifdef GL_ARB_texture_env_add
02363
02364 #endif
02365
02366 #ifdef GL_ARB_texture_env_combine
02367
02368 #endif
02369
02370 #ifdef GL_ARB_texture_env_crossbar
02371
02372 #endif
02373
02374 #ifdef GL_ARB_texture_env_dot3
02375
02376 #endif
02377
02378 #ifdef GL_ARB_texture_float
02379
02380 #endif
02381
02382 #ifdef GL_ARB_texture_mirrored_repeat
02383
02384 #endif
02385
02386 #ifdef GL_ARB_texture_non_power_of_two
02387
02388 #endif
02389
02390 #ifdef GL_ARB_texture_rectangle
02391
02392 #endif
02393
02394 #ifdef GL_ARB_transpose_matrix
02395
02396 static GLboolean _glewInit_GL_ARB_transpose_matrix (GLEW_CONTEXT_ARG_DEF_INIT)
02397 {
02398 GLboolean r = GL_FALSE;
02399
02400 r = ((glLoadTransposeMatrixdARB = (PFNGLLOADTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixdARB")) == NULL) || r;
02401 r = ((glLoadTransposeMatrixfARB = (PFNGLLOADTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixfARB")) == NULL) || r;
02402 r = ((glMultTransposeMatrixdARB = (PFNGLMULTTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixdARB")) == NULL) || r;
02403 r = ((glMultTransposeMatrixfARB = (PFNGLMULTTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixfARB")) == NULL) || r;
02404
02405 return r;
02406 }
02407
02408 #endif
02409
02410 #ifdef GL_ARB_vertex_blend
02411
02412 static GLboolean _glewInit_GL_ARB_vertex_blend (GLEW_CONTEXT_ARG_DEF_INIT)
02413 {
02414 GLboolean r = GL_FALSE;
02415
02416 r = ((glVertexBlendARB = (PFNGLVERTEXBLENDARBPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendARB")) == NULL) || r;
02417 r = ((glWeightPointerARB = (PFNGLWEIGHTPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glWeightPointerARB")) == NULL) || r;
02418 r = ((glWeightbvARB = (PFNGLWEIGHTBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightbvARB")) == NULL) || r;
02419 r = ((glWeightdvARB = (PFNGLWEIGHTDVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightdvARB")) == NULL) || r;
02420 r = ((glWeightfvARB = (PFNGLWEIGHTFVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightfvARB")) == NULL) || r;
02421 r = ((glWeightivARB = (PFNGLWEIGHTIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightivARB")) == NULL) || r;
02422 r = ((glWeightsvARB = (PFNGLWEIGHTSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightsvARB")) == NULL) || r;
02423 r = ((glWeightubvARB = (PFNGLWEIGHTUBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightubvARB")) == NULL) || r;
02424 r = ((glWeightuivARB = (PFNGLWEIGHTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightuivARB")) == NULL) || r;
02425 r = ((glWeightusvARB = (PFNGLWEIGHTUSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightusvARB")) == NULL) || r;
02426
02427 return r;
02428 }
02429
02430 #endif
02431
02432 #ifdef GL_ARB_vertex_buffer_object
02433
02434 static GLboolean _glewInit_GL_ARB_vertex_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
02435 {
02436 GLboolean r = GL_FALSE;
02437
02438 r = ((glBindBufferARB = (PFNGLBINDBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glBindBufferARB")) == NULL) || r;
02439 r = ((glBufferDataARB = (PFNGLBUFFERDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferDataARB")) == NULL) || r;
02440 r = ((glBufferSubDataARB = (PFNGLBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferSubDataARB")) == NULL) || r;
02441 r = ((glDeleteBuffersARB = (PFNGLDELETEBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffersARB")) == NULL) || r;
02442 r = ((glGenBuffersARB = (PFNGLGENBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glGenBuffersARB")) == NULL) || r;
02443 r = ((glGetBufferParameterivARB = (PFNGLGETBUFFERPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterivARB")) == NULL) || r;
02444 r = ((glGetBufferPointervARB = (PFNGLGETBUFFERPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointervARB")) == NULL) || r;
02445 r = ((glGetBufferSubDataARB = (PFNGLGETBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubDataARB")) == NULL) || r;
02446 r = ((glIsBufferARB = (PFNGLISBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glIsBufferARB")) == NULL) || r;
02447 r = ((glMapBufferARB = (PFNGLMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glMapBufferARB")) == NULL) || r;
02448 r = ((glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glUnmapBufferARB")) == NULL) || r;
02449
02450 return r;
02451 }
02452
02453 #endif
02454
02455 #ifdef GL_ARB_vertex_program
02456
02457 static GLboolean _glewInit_GL_ARB_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT)
02458 {
02459 GLboolean r = GL_FALSE;
02460
02461 r = ((glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glBindProgramARB")) == NULL) || r;
02462 r = ((glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsARB")) == NULL) || r;
02463 r = ((glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArrayARB")) == NULL) || r;
02464 r = ((glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArrayARB")) == NULL) || r;
02465 r = ((glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsARB")) == NULL) || r;
02466 r = ((glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterdvARB")) == NULL) || r;
02467 r = ((glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterfvARB")) == NULL) || r;
02468 r = ((glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterdvARB")) == NULL) || r;
02469 r = ((glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterfvARB")) == NULL) || r;
02470 r = ((glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringARB")) == NULL) || r;
02471 r = ((glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivARB")) == NULL) || r;
02472 r = ((glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervARB")) == NULL) || r;
02473 r = ((glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvARB")) == NULL) || r;
02474 r = ((glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvARB")) == NULL) || r;
02475 r = ((glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivARB")) == NULL) || r;
02476 r = ((glIsProgramARB = (PFNGLISPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glIsProgramARB")) == NULL) || r;
02477 r = ((glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dARB")) == NULL) || r;
02478 r = ((glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dvARB")) == NULL) || r;
02479 r = ((glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fARB")) == NULL) || r;
02480 r = ((glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fvARB")) == NULL) || r;
02481 r = ((glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dARB")) == NULL) || r;
02482 r = ((glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dvARB")) == NULL) || r;
02483 r = ((glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fARB")) == NULL) || r;
02484 r = ((glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fvARB")) == NULL) || r;
02485 r = ((glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glProgramStringARB")) == NULL) || r;
02486 r = ((glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dARB")) == NULL) || r;
02487 r = ((glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvARB")) == NULL) || r;
02488 r = ((glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fARB")) == NULL) || r;
02489 r = ((glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvARB")) == NULL) || r;
02490 r = ((glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sARB")) == NULL) || r;
02491 r = ((glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svARB")) == NULL) || r;
02492 r = ((glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dARB")) == NULL) || r;
02493 r = ((glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvARB")) == NULL) || r;
02494 r = ((glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fARB")) == NULL) || r;
02495 r = ((glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvARB")) == NULL) || r;
02496 r = ((glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sARB")) == NULL) || r;
02497 r = ((glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svARB")) == NULL) || r;
02498 r = ((glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dARB")) == NULL) || r;
02499 r = ((glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvARB")) == NULL) || r;
02500 r = ((glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fARB")) == NULL) || r;
02501 r = ((glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvARB")) == NULL) || r;
02502 r = ((glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sARB")) == NULL) || r;
02503 r = ((glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svARB")) == NULL) || r;
02504 r = ((glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NbvARB")) == NULL) || r;
02505 r = ((glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NivARB")) == NULL) || r;
02506 r = ((glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NsvARB")) == NULL) || r;
02507 r = ((glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubARB")) == NULL) || r;
02508 r = ((glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubvARB")) == NULL) || r;
02509 r = ((glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NuivARB")) == NULL) || r;
02510 r = ((glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NusvARB")) == NULL) || r;
02511 r = ((glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bvARB")) == NULL) || r;
02512 r = ((glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dARB")) == NULL) || r;
02513 r = ((glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvARB")) == NULL) || r;
02514 r = ((glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fARB")) == NULL) || r;
02515 r = ((glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvARB")) == NULL) || r;
02516 r = ((glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ivARB")) == NULL) || r;
02517 r = ((glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sARB")) == NULL) || r;
02518 r = ((glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svARB")) == NULL) || r;
02519 r = ((glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvARB")) == NULL) || r;
02520 r = ((glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uivARB")) == NULL) || r;
02521 r = ((glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usvARB")) == NULL) || r;
02522 r = ((glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerARB")) == NULL) || r;
02523
02524 return r;
02525 }
02526
02527 #endif
02528
02529 #ifdef GL_ARB_vertex_shader
02530
02531 static GLboolean _glewInit_GL_ARB_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)
02532 {
02533 GLboolean r = GL_FALSE;
02534
02535 r = ((glBindAttribLocationARB = (PFNGLBINDATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocationARB")) == NULL) || r;
02536 r = ((glGetActiveAttribARB = (PFNGLGETACTIVEATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttribARB")) == NULL) || r;
02537 r = ((glGetAttribLocationARB = (PFNGLGETATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocationARB")) == NULL) || r;
02538
02539 return r;
02540 }
02541
02542 #endif
02543
02544 #ifdef GL_ARB_window_pos
02545
02546 static GLboolean _glewInit_GL_ARB_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)
02547 {
02548 GLboolean r = GL_FALSE;
02549
02550 r = ((glWindowPos2dARB = (PFNGLWINDOWPOS2DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dARB")) == NULL) || r;
02551 r = ((glWindowPos2dvARB = (PFNGLWINDOWPOS2DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvARB")) == NULL) || r;
02552 r = ((glWindowPos2fARB = (PFNGLWINDOWPOS2FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fARB")) == NULL) || r;
02553 r = ((glWindowPos2fvARB = (PFNGLWINDOWPOS2FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvARB")) == NULL) || r;
02554 r = ((glWindowPos2iARB = (PFNGLWINDOWPOS2IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iARB")) == NULL) || r;
02555 r = ((glWindowPos2ivARB = (PFNGLWINDOWPOS2IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivARB")) == NULL) || r;
02556 r = ((glWindowPos2sARB = (PFNGLWINDOWPOS2SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sARB")) == NULL) || r;
02557 r = ((glWindowPos2svARB = (PFNGLWINDOWPOS2SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svARB")) == NULL) || r;
02558 r = ((glWindowPos3dARB = (PFNGLWINDOWPOS3DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dARB")) == NULL) || r;
02559 r = ((glWindowPos3dvARB = (PFNGLWINDOWPOS3DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvARB")) == NULL) || r;
02560 r = ((glWindowPos3fARB = (PFNGLWINDOWPOS3FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fARB")) == NULL) || r;
02561 r = ((glWindowPos3fvARB = (PFNGLWINDOWPOS3FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvARB")) == NULL) || r;
02562 r = ((glWindowPos3iARB = (PFNGLWINDOWPOS3IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iARB")) == NULL) || r;
02563 r = ((glWindowPos3ivARB = (PFNGLWINDOWPOS3IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivARB")) == NULL) || r;
02564 r = ((glWindowPos3sARB = (PFNGLWINDOWPOS3SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sARB")) == NULL) || r;
02565 r = ((glWindowPos3svARB = (PFNGLWINDOWPOS3SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svARB")) == NULL) || r;
02566
02567 return r;
02568 }
02569
02570 #endif
02571
02572 #ifdef GL_ATIX_point_sprites
02573
02574 #endif
02575
02576 #ifdef GL_ATIX_texture_env_combine3
02577
02578 #endif
02579
02580 #ifdef GL_ATIX_texture_env_route
02581
02582 #endif
02583
02584 #ifdef GL_ATIX_vertex_shader_output_point_size
02585
02586 #endif
02587
02588 #ifdef GL_ATI_draw_buffers
02589
02590 static GLboolean _glewInit_GL_ATI_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
02591 {
02592 GLboolean r = GL_FALSE;
02593
02594 r = ((glDrawBuffersATI = (PFNGLDRAWBUFFERSATIPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersATI")) == NULL) || r;
02595
02596 return r;
02597 }
02598
02599 #endif
02600
02601 #ifdef GL_ATI_element_array
02602
02603 static GLboolean _glewInit_GL_ATI_element_array (GLEW_CONTEXT_ARG_DEF_INIT)
02604 {
02605 GLboolean r = GL_FALSE;
02606
02607 r = ((glDrawElementArrayATI = (PFNGLDRAWELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayATI")) == NULL) || r;
02608 r = ((glDrawRangeElementArrayATI = (PFNGLDRAWRANGEELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayATI")) == NULL) || r;
02609 r = ((glElementPointerATI = (PFNGLELEMENTPOINTERATIPROC)glewGetProcAddress((const GLubyte*)"glElementPointerATI")) == NULL) || r;
02610
02611 return r;
02612 }
02613
02614 #endif
02615
02616 #ifdef GL_ATI_envmap_bumpmap
02617
02618 static GLboolean _glewInit_GL_ATI_envmap_bumpmap (GLEW_CONTEXT_ARG_DEF_INIT)
02619 {
02620 GLboolean r = GL_FALSE;
02621
02622 r = ((glGetTexBumpParameterfvATI = (PFNGLGETTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterfvATI")) == NULL) || r;
02623 r = ((glGetTexBumpParameterivATI = (PFNGLGETTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterivATI")) == NULL) || r;
02624 r = ((glTexBumpParameterfvATI = (PFNGLTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterfvATI")) == NULL) || r;
02625 r = ((glTexBumpParameterivATI = (PFNGLTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterivATI")) == NULL) || r;
02626
02627 return r;
02628 }
02629
02630 #endif
02631
02632 #ifdef GL_ATI_fragment_shader
02633
02634 static GLboolean _glewInit_GL_ATI_fragment_shader (GLEW_CONTEXT_ARG_DEF_INIT)
02635 {
02636 GLboolean r = GL_FALSE;
02637
02638 r = ((glAlphaFragmentOp1ATI = (PFNGLALPHAFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp1ATI")) == NULL) || r;
02639 r = ((glAlphaFragmentOp2ATI = (PFNGLALPHAFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp2ATI")) == NULL) || r;
02640 r = ((glAlphaFragmentOp3ATI = (PFNGLALPHAFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp3ATI")) == NULL) || r;
02641 r = ((glBeginFragmentShaderATI = (PFNGLBEGINFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBeginFragmentShaderATI")) == NULL) || r;
02642 r = ((glBindFragmentShaderATI = (PFNGLBINDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBindFragmentShaderATI")) == NULL) || r;
02643 r = ((glColorFragmentOp1ATI = (PFNGLCOLORFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp1ATI")) == NULL) || r;
02644 r = ((glColorFragmentOp2ATI = (PFNGLCOLORFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp2ATI")) == NULL) || r;
02645 r = ((glColorFragmentOp3ATI = (PFNGLCOLORFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp3ATI")) == NULL) || r;
02646 r = ((glDeleteFragmentShaderATI = (PFNGLDELETEFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glDeleteFragmentShaderATI")) == NULL) || r;
02647 r = ((glEndFragmentShaderATI = (PFNGLENDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glEndFragmentShaderATI")) == NULL) || r;
02648 r = ((glGenFragmentShadersATI = (PFNGLGENFRAGMENTSHADERSATIPROC)glewGetProcAddress((const GLubyte*)"glGenFragmentShadersATI")) == NULL) || r;
02649 r = ((glPassTexCoordATI = (PFNGLPASSTEXCOORDATIPROC)glewGetProcAddress((const GLubyte*)"glPassTexCoordATI")) == NULL) || r;
02650 r = ((glSampleMapATI = (PFNGLSAMPLEMAPATIPROC)glewGetProcAddress((const GLubyte*)"glSampleMapATI")) == NULL) || r;
02651 r = ((glSetFragmentShaderConstantATI = (PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)glewGetProcAddress((const GLubyte*)"glSetFragmentShaderConstantATI")) == NULL) || r;
02652
02653 return r;
02654 }
02655
02656 #endif
02657
02658 #ifdef GL_ATI_map_object_buffer
02659
02660 static GLboolean _glewInit_GL_ATI_map_object_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
02661 {
02662 GLboolean r = GL_FALSE;
02663
02664 r = ((glMapObjectBufferATI = (PFNGLMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glMapObjectBufferATI")) == NULL) || r;
02665 r = ((glUnmapObjectBufferATI = (PFNGLUNMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUnmapObjectBufferATI")) == NULL) || r;
02666
02667 return r;
02668 }
02669
02670 #endif
02671
02672 #ifdef GL_ATI_pn_triangles
02673
02674 static GLboolean _glewInit_GL_ATI_pn_triangles (GLEW_CONTEXT_ARG_DEF_INIT)
02675 {
02676 GLboolean r = GL_FALSE;
02677
02678 r = ((glPNTrianglesfATI = (PFNGLPNTRIANGLESFATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesfATI")) == NULL) || r;
02679 r = ((glPNTrianglesiATI = (PFNGLPNTRIANGLESIATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesiATI")) == NULL) || r;
02680
02681 return r;
02682 }
02683
02684 #endif
02685
02686 #ifdef GL_ATI_separate_stencil
02687
02688 static GLboolean _glewInit_GL_ATI_separate_stencil (GLEW_CONTEXT_ARG_DEF_INIT)
02689 {
02690 GLboolean r = GL_FALSE;
02691
02692 r = ((glStencilFuncSeparateATI = (PFNGLSTENCILFUNCSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparateATI")) == NULL) || r;
02693 r = ((glStencilOpSeparateATI = (PFNGLSTENCILOPSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparateATI")) == NULL) || r;
02694
02695 return r;
02696 }
02697
02698 #endif
02699
02700 #ifdef GL_ATI_text_fragment_shader
02701
02702 #endif
02703
02704 #ifdef GL_ATI_texture_compression_3dc
02705
02706 #endif
02707
02708 #ifdef GL_ATI_texture_env_combine3
02709
02710 #endif
02711
02712 #ifdef GL_ATI_texture_float
02713
02714 #endif
02715
02716 #ifdef GL_ATI_texture_mirror_once
02717
02718 #endif
02719
02720 #ifdef GL_ATI_vertex_array_object
02721
02722 static GLboolean _glewInit_GL_ATI_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
02723 {
02724 GLboolean r = GL_FALSE;
02725
02726 r = ((glArrayObjectATI = (PFNGLARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glArrayObjectATI")) == NULL) || r;
02727 r = ((glFreeObjectBufferATI = (PFNGLFREEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glFreeObjectBufferATI")) == NULL) || r;
02728 r = ((glGetArrayObjectfvATI = (PFNGLGETARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectfvATI")) == NULL) || r;
02729 r = ((glGetArrayObjectivATI = (PFNGLGETARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectivATI")) == NULL) || r;
02730 r = ((glGetObjectBufferfvATI = (PFNGLGETOBJECTBUFFERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferfvATI")) == NULL) || r;
02731 r = ((glGetObjectBufferivATI = (PFNGLGETOBJECTBUFFERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferivATI")) == NULL) || r;
02732 r = ((glGetVariantArrayObjectfvATI = (PFNGLGETVARIANTARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectfvATI")) == NULL) || r;
02733 r = ((glGetVariantArrayObjectivATI = (PFNGLGETVARIANTARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectivATI")) == NULL) || r;
02734 r = ((glIsObjectBufferATI = (PFNGLISOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glIsObjectBufferATI")) == NULL) || r;
02735 r = ((glNewObjectBufferATI = (PFNGLNEWOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glNewObjectBufferATI")) == NULL) || r;
02736 r = ((glUpdateObjectBufferATI = (PFNGLUPDATEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUpdateObjectBufferATI")) == NULL) || r;
02737 r = ((glVariantArrayObjectATI = (PFNGLVARIANTARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVariantArrayObjectATI")) == NULL) || r;
02738
02739 return r;
02740 }
02741
02742 #endif
02743
02744 #ifdef GL_ATI_vertex_attrib_array_object
02745
02746 static GLboolean _glewInit_GL_ATI_vertex_attrib_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
02747 {
02748 GLboolean r = GL_FALSE;
02749
02750 r = ((glGetVertexAttribArrayObjectfvATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectfvATI")) == NULL) || r;
02751 r = ((glGetVertexAttribArrayObjectivATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectivATI")) == NULL) || r;
02752 r = ((glVertexAttribArrayObjectATI = (PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribArrayObjectATI")) == NULL) || r;
02753
02754 return r;
02755 }
02756
02757 #endif
02758
02759 #ifdef GL_ATI_vertex_streams
02760
02761 static GLboolean _glewInit_GL_ATI_vertex_streams (GLEW_CONTEXT_ARG_DEF_INIT)
02762 {
02763 GLboolean r = GL_FALSE;
02764
02765 r = ((glClientActiveVertexStreamATI = (PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC)glewGetProcAddress((const GLubyte*)"glClientActiveVertexStreamATI")) == NULL) || r;
02766 r = ((glNormalStream3bATI = (PFNGLNORMALSTREAM3BATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bATI")) == NULL) || r;
02767 r = ((glNormalStream3bvATI = (PFNGLNORMALSTREAM3BVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bvATI")) == NULL) || r;
02768 r = ((glNormalStream3dATI = (PFNGLNORMALSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dATI")) == NULL) || r;
02769 r = ((glNormalStream3dvATI = (PFNGLNORMALSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dvATI")) == NULL) || r;
02770 r = ((glNormalStream3fATI = (PFNGLNORMALSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fATI")) == NULL) || r;
02771 r = ((glNormalStream3fvATI = (PFNGLNORMALSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fvATI")) == NULL) || r;
02772 r = ((glNormalStream3iATI = (PFNGLNORMALSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3iATI")) == NULL) || r;
02773 r = ((glNormalStream3ivATI = (PFNGLNORMALSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3ivATI")) == NULL) || r;
02774 r = ((glNormalStream3sATI = (PFNGLNORMALSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3sATI")) == NULL) || r;
02775 r = ((glNormalStream3svATI = (PFNGLNORMALSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3svATI")) == NULL) || r;
02776 r = ((glVertexBlendEnvfATI = (PFNGLVERTEXBLENDENVFATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnvfATI")) == NULL) || r;
02777 r = ((glVertexBlendEnviATI = (PFNGLVERTEXBLENDENVIATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnviATI")) == NULL) || r;
02778 r = ((glVertexStream2dATI = (PFNGLVERTEXSTREAM2DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dATI")) == NULL) || r;
02779 r = ((glVertexStream2dvATI = (PFNGLVERTEXSTREAM2DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dvATI")) == NULL) || r;
02780 r = ((glVertexStream2fATI = (PFNGLVERTEXSTREAM2FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fATI")) == NULL) || r;
02781 r = ((glVertexStream2fvATI = (PFNGLVERTEXSTREAM2FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fvATI")) == NULL) || r;
02782 r = ((glVertexStream2iATI = (PFNGLVERTEXSTREAM2IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2iATI")) == NULL) || r;
02783 r = ((glVertexStream2ivATI = (PFNGLVERTEXSTREAM2IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2ivATI")) == NULL) || r;
02784 r = ((glVertexStream2sATI = (PFNGLVERTEXSTREAM2SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2sATI")) == NULL) || r;
02785 r = ((glVertexStream2svATI = (PFNGLVERTEXSTREAM2SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2svATI")) == NULL) || r;
02786 r = ((glVertexStream3dATI = (PFNGLVERTEXSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dATI")) == NULL) || r;
02787 r = ((glVertexStream3dvATI = (PFNGLVERTEXSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dvATI")) == NULL) || r;
02788 r = ((glVertexStream3fATI = (PFNGLVERTEXSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fATI")) == NULL) || r;
02789 r = ((glVertexStream3fvATI = (PFNGLVERTEXSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fvATI")) == NULL) || r;
02790 r = ((glVertexStream3iATI = (PFNGLVERTEXSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3iATI")) == NULL) || r;
02791 r = ((glVertexStream3ivATI = (PFNGLVERTEXSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3ivATI")) == NULL) || r;
02792 r = ((glVertexStream3sATI = (PFNGLVERTEXSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3sATI")) == NULL) || r;
02793 r = ((glVertexStream3svATI = (PFNGLVERTEXSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3svATI")) == NULL) || r;
02794 r = ((glVertexStream4dATI = (PFNGLVERTEXSTREAM4DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dATI")) == NULL) || r;
02795 r = ((glVertexStream4dvATI = (PFNGLVERTEXSTREAM4DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dvATI")) == NULL) || r;
02796 r = ((glVertexStream4fATI = (PFNGLVERTEXSTREAM4FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fATI")) == NULL) || r;
02797 r = ((glVertexStream4fvATI = (PFNGLVERTEXSTREAM4FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fvATI")) == NULL) || r;
02798 r = ((glVertexStream4iATI = (PFNGLVERTEXSTREAM4IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4iATI")) == NULL) || r;
02799 r = ((glVertexStream4ivATI = (PFNGLVERTEXSTREAM4IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4ivATI")) == NULL) || r;
02800 r = ((glVertexStream4sATI = (PFNGLVERTEXSTREAM4SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4sATI")) == NULL) || r;
02801 r = ((glVertexStream4svATI = (PFNGLVERTEXSTREAM4SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4svATI")) == NULL) || r;
02802
02803 return r;
02804 }
02805
02806 #endif
02807
02808 #ifdef GL_EXT_422_pixels
02809
02810 #endif
02811
02812 #ifdef GL_EXT_Cg_shader
02813
02814 #endif
02815
02816 #ifdef GL_EXT_abgr
02817
02818 #endif
02819
02820 #ifdef GL_EXT_bgra
02821
02822 #endif
02823
02824 #ifdef GL_EXT_blend_color
02825
02826 static GLboolean _glewInit_GL_EXT_blend_color (GLEW_CONTEXT_ARG_DEF_INIT)
02827 {
02828 GLboolean r = GL_FALSE;
02829
02830 r = ((glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)glewGetProcAddress((const GLubyte*)"glBlendColorEXT")) == NULL) || r;
02831
02832 return r;
02833 }
02834
02835 #endif
02836
02837 #ifdef GL_EXT_blend_equation_separate
02838
02839 static GLboolean _glewInit_GL_EXT_blend_equation_separate (GLEW_CONTEXT_ARG_DEF_INIT)
02840 {
02841 GLboolean r = GL_FALSE;
02842
02843 r = ((glBlendEquationSeparateEXT = (PFNGLBLENDEQUATIONSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateEXT")) == NULL) || r;
02844
02845 return r;
02846 }
02847
02848 #endif
02849
02850 #ifdef GL_EXT_blend_func_separate
02851
02852 static GLboolean _glewInit_GL_EXT_blend_func_separate (GLEW_CONTEXT_ARG_DEF_INIT)
02853 {
02854 GLboolean r = GL_FALSE;
02855
02856 r = ((glBlendFuncSeparateEXT = (PFNGLBLENDFUNCSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateEXT")) == NULL) || r;
02857
02858 return r;
02859 }
02860
02861 #endif
02862
02863 #ifdef GL_EXT_blend_logic_op
02864
02865 #endif
02866
02867 #ifdef GL_EXT_blend_minmax
02868
02869 static GLboolean _glewInit_GL_EXT_blend_minmax (GLEW_CONTEXT_ARG_DEF_INIT)
02870 {
02871 GLboolean r = GL_FALSE;
02872
02873 r = ((glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationEXT")) == NULL) || r;
02874
02875 return r;
02876 }
02877
02878 #endif
02879
02880 #ifdef GL_EXT_blend_subtract
02881
02882 #endif
02883
02884 #ifdef GL_EXT_clip_volume_hint
02885
02886 #endif
02887
02888 #ifdef GL_EXT_cmyka
02889
02890 #endif
02891
02892 #ifdef GL_EXT_color_subtable
02893
02894 static GLboolean _glewInit_GL_EXT_color_subtable (GLEW_CONTEXT_ARG_DEF_INIT)
02895 {
02896 GLboolean r = GL_FALSE;
02897
02898 r = ((glColorSubTableEXT = (PFNGLCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorSubTableEXT")) == NULL) || r;
02899 r = ((glCopyColorSubTableEXT = (PFNGLCOPYCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTableEXT")) == NULL) || r;
02900
02901 return r;
02902 }
02903
02904 #endif
02905
02906 #ifdef GL_EXT_compiled_vertex_array
02907
02908 static GLboolean _glewInit_GL_EXT_compiled_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT)
02909 {
02910 GLboolean r = GL_FALSE;
02911
02912 r = ((glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glLockArraysEXT")) == NULL) || r;
02913 r = ((glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glUnlockArraysEXT")) == NULL) || r;
02914
02915 return r;
02916 }
02917
02918 #endif
02919
02920 #ifdef GL_EXT_convolution
02921
02922 static GLboolean _glewInit_GL_EXT_convolution (GLEW_CONTEXT_ARG_DEF_INIT)
02923 {
02924 GLboolean r = GL_FALSE;
02925
02926 r = ((glConvolutionFilter1DEXT = (PFNGLCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1DEXT")) == NULL) || r;
02927 r = ((glConvolutionFilter2DEXT = (PFNGLCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2DEXT")) == NULL) || r;
02928 r = ((glConvolutionParameterfEXT = (PFNGLCONVOLUTIONPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfEXT")) == NULL) || r;
02929 r = ((glConvolutionParameterfvEXT = (PFNGLCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfvEXT")) == NULL) || r;
02930 r = ((glConvolutionParameteriEXT = (PFNGLCONVOLUTIONPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriEXT")) == NULL) || r;
02931 r = ((glConvolutionParameterivEXT = (PFNGLCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterivEXT")) == NULL) || r;
02932 r = ((glCopyConvolutionFilter1DEXT = (PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1DEXT")) == NULL) || r;
02933 r = ((glCopyConvolutionFilter2DEXT = (PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2DEXT")) == NULL) || r;
02934 r = ((glGetConvolutionFilterEXT = (PFNGLGETCONVOLUTIONFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilterEXT")) == NULL) || r;
02935 r = ((glGetConvolutionParameterfvEXT = (PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfvEXT")) == NULL) || r;
02936 r = ((glGetConvolutionParameterivEXT = (PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterivEXT")) == NULL) || r;
02937 r = ((glGetSeparableFilterEXT = (PFNGLGETSEPARABLEFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilterEXT")) == NULL) || r;
02938 r = ((glSeparableFilter2DEXT = (PFNGLSEPARABLEFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2DEXT")) == NULL) || r;
02939
02940 return r;
02941 }
02942
02943 #endif
02944
02945 #ifdef GL_EXT_coordinate_frame
02946
02947 static GLboolean _glewInit_GL_EXT_coordinate_frame (GLEW_CONTEXT_ARG_DEF_INIT)
02948 {
02949 GLboolean r = GL_FALSE;
02950
02951 r = ((glBinormalPointerEXT = (PFNGLBINORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glBinormalPointerEXT")) == NULL) || r;
02952 r = ((glTangentPointerEXT = (PFNGLTANGENTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTangentPointerEXT")) == NULL) || r;
02953
02954 return r;
02955 }
02956
02957 #endif
02958
02959 #ifdef GL_EXT_copy_texture
02960
02961 static GLboolean _glewInit_GL_EXT_copy_texture (GLEW_CONTEXT_ARG_DEF_INIT)
02962 {
02963 GLboolean r = GL_FALSE;
02964
02965 r = ((glCopyTexImage1DEXT = (PFNGLCOPYTEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage1DEXT")) == NULL) || r;
02966 r = ((glCopyTexImage2DEXT = (PFNGLCOPYTEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage2DEXT")) == NULL) || r;
02967 r = ((glCopyTexSubImage1DEXT = (PFNGLCOPYTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage1DEXT")) == NULL) || r;
02968 r = ((glCopyTexSubImage2DEXT = (PFNGLCOPYTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage2DEXT")) == NULL) || r;
02969 r = ((glCopyTexSubImage3DEXT = (PFNGLCOPYTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3DEXT")) == NULL) || r;
02970
02971 return r;
02972 }
02973
02974 #endif
02975
02976 #ifdef GL_EXT_cull_vertex
02977
02978 static GLboolean _glewInit_GL_EXT_cull_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
02979 {
02980 GLboolean r = GL_FALSE;
02981
02982 r = ((glCullParameterdvEXT = (PFNGLCULLPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterdvEXT")) == NULL) || r;
02983 r = ((glCullParameterfvEXT = (PFNGLCULLPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterfvEXT")) == NULL) || r;
02984
02985 return r;
02986 }
02987
02988 #endif
02989
02990 #ifdef GL_EXT_depth_bounds_test
02991
02992 static GLboolean _glewInit_GL_EXT_depth_bounds_test (GLEW_CONTEXT_ARG_DEF_INIT)
02993 {
02994 GLboolean r = GL_FALSE;
02995
02996 r = ((glDepthBoundsEXT = (PFNGLDEPTHBOUNDSEXTPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsEXT")) == NULL) || r;
02997
02998 return r;
02999 }
03000
03001 #endif
03002
03003 #ifdef GL_EXT_draw_range_elements
03004
03005 static GLboolean _glewInit_GL_EXT_draw_range_elements (GLEW_CONTEXT_ARG_DEF_INIT)
03006 {
03007 GLboolean r = GL_FALSE;
03008
03009 r = ((glDrawRangeElementsEXT = (PFNGLDRAWRANGEELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsEXT")) == NULL) || r;
03010
03011 return r;
03012 }
03013
03014 #endif
03015
03016 #ifdef GL_EXT_fog_coord
03017
03018 static GLboolean _glewInit_GL_EXT_fog_coord (GLEW_CONTEXT_ARG_DEF_INIT)
03019 {
03020 GLboolean r = GL_FALSE;
03021
03022 r = ((glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerEXT")) == NULL) || r;
03023 r = ((glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddEXT")) == NULL) || r;
03024 r = ((glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddvEXT")) == NULL) || r;
03025 r = ((glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfEXT")) == NULL) || r;
03026 r = ((glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfvEXT")) == NULL) || r;
03027
03028 return r;
03029 }
03030
03031 #endif
03032
03033 #ifdef GL_EXT_fragment_lighting
03034
03035 static GLboolean _glewInit_GL_EXT_fragment_lighting (GLEW_CONTEXT_ARG_DEF_INIT)
03036 {
03037 GLboolean r = GL_FALSE;
03038
03039 r = ((glFragmentColorMaterialEXT = (PFNGLFRAGMENTCOLORMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialEXT")) == NULL) || r;
03040 r = ((glFragmentLightModelfEXT = (PFNGLFRAGMENTLIGHTMODELFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfEXT")) == NULL) || r;
03041 r = ((glFragmentLightModelfvEXT = (PFNGLFRAGMENTLIGHTMODELFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvEXT")) == NULL) || r;
03042 r = ((glFragmentLightModeliEXT = (PFNGLFRAGMENTLIGHTMODELIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliEXT")) == NULL) || r;
03043 r = ((glFragmentLightModelivEXT = (PFNGLFRAGMENTLIGHTMODELIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivEXT")) == NULL) || r;
03044 r = ((glFragmentLightfEXT = (PFNGLFRAGMENTLIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfEXT")) == NULL) || r;
03045 r = ((glFragmentLightfvEXT = (PFNGLFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvEXT")) == NULL) || r;
03046 r = ((glFragmentLightiEXT = (PFNGLFRAGMENTLIGHTIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiEXT")) == NULL) || r;
03047 r = ((glFragmentLightivEXT = (PFNGLFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivEXT")) == NULL) || r;
03048 r = ((glFragmentMaterialfEXT = (PFNGLFRAGMENTMATERIALFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfEXT")) == NULL) || r;
03049 r = ((glFragmentMaterialfvEXT = (PFNGLFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvEXT")) == NULL) || r;
03050 r = ((glFragmentMaterialiEXT = (PFNGLFRAGMENTMATERIALIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiEXT")) == NULL) || r;
03051 r = ((glFragmentMaterialivEXT = (PFNGLFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivEXT")) == NULL) || r;
03052 r = ((glGetFragmentLightfvEXT = (PFNGLGETFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvEXT")) == NULL) || r;
03053 r = ((glGetFragmentLightivEXT = (PFNGLGETFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivEXT")) == NULL) || r;
03054 r = ((glGetFragmentMaterialfvEXT = (PFNGLGETFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvEXT")) == NULL) || r;
03055 r = ((glGetFragmentMaterialivEXT = (PFNGLGETFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivEXT")) == NULL) || r;
03056 r = ((glLightEnviEXT = (PFNGLLIGHTENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glLightEnviEXT")) == NULL) || r;
03057
03058 return r;
03059 }
03060
03061 #endif
03062
03063 #ifdef GL_EXT_framebuffer_blit
03064
03065 static GLboolean _glewInit_GL_EXT_framebuffer_blit (GLEW_CONTEXT_ARG_DEF_INIT)
03066 {
03067 GLboolean r = GL_FALSE;
03068
03069 r = ((glBlitFramebufferEXT = (PFNGLBLITFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferEXT")) == NULL) || r;
03070
03071 return r;
03072 }
03073
03074 #endif
03075
03076 #ifdef GL_EXT_framebuffer_multisample
03077
03078 static GLboolean _glewInit_GL_EXT_framebuffer_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
03079 {
03080 GLboolean r = GL_FALSE;
03081
03082 r = ((glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleEXT")) == NULL) || r;
03083
03084 return r;
03085 }
03086
03087 #endif
03088
03089 #ifdef GL_EXT_framebuffer_object
03090
03091 static GLboolean _glewInit_GL_EXT_framebuffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
03092 {
03093 GLboolean r = GL_FALSE;
03094
03095 r = ((glBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindFramebufferEXT")) == NULL) || r;
03096 r = ((glBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbufferEXT")) == NULL) || r;
03097 r = ((glCheckFramebufferStatusEXT = (PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatusEXT")) == NULL) || r;
03098 r = ((glDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffersEXT")) == NULL) || r;
03099 r = ((glDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffersEXT")) == NULL) || r;
03100 r = ((glFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbufferEXT")) == NULL) || r;
03101 r = ((glFramebufferTexture1DEXT = (PFNGLFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1DEXT")) == NULL) || r;
03102 r = ((glFramebufferTexture2DEXT = (PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2DEXT")) == NULL) || r;
03103 r = ((glFramebufferTexture3DEXT = (PFNGLFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3DEXT")) == NULL) || r;
03104 r = ((glGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffersEXT")) == NULL) || r;
03105 r = ((glGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffersEXT")) == NULL) || r;
03106 r = ((glGenerateMipmapEXT = (PFNGLGENERATEMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmapEXT")) == NULL) || r;
03107 r = ((glGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameterivEXT")) == NULL) || r;
03108 r = ((glGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameterivEXT")) == NULL) || r;
03109 r = ((glIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsFramebufferEXT")) == NULL) || r;
03110 r = ((glIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbufferEXT")) == NULL) || r;
03111 r = ((glRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageEXT")) == NULL) || r;
03112
03113 return r;
03114 }
03115
03116 #endif
03117
03118 #ifdef GL_EXT_histogram
03119
03120 static GLboolean _glewInit_GL_EXT_histogram (GLEW_CONTEXT_ARG_DEF_INIT)
03121 {
03122 GLboolean r = GL_FALSE;
03123
03124 r = ((glGetHistogramEXT = (PFNGLGETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramEXT")) == NULL) || r;
03125 r = ((glGetHistogramParameterfvEXT = (PFNGLGETHISTOGRAMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfvEXT")) == NULL) || r;
03126 r = ((glGetHistogramParameterivEXT = (PFNGLGETHISTOGRAMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterivEXT")) == NULL) || r;
03127 r = ((glGetMinmaxEXT = (PFNGLGETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxEXT")) == NULL) || r;
03128 r = ((glGetMinmaxParameterfvEXT = (PFNGLGETMINMAXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfvEXT")) == NULL) || r;
03129 r = ((glGetMinmaxParameterivEXT = (PFNGLGETMINMAXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterivEXT")) == NULL) || r;
03130 r = ((glHistogramEXT = (PFNGLHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glHistogramEXT")) == NULL) || r;
03131 r = ((glMinmaxEXT = (PFNGLMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glMinmaxEXT")) == NULL) || r;
03132 r = ((glResetHistogramEXT = (PFNGLRESETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glResetHistogramEXT")) == NULL) || r;
03133 r = ((glResetMinmaxEXT = (PFNGLRESETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glResetMinmaxEXT")) == NULL) || r;
03134
03135 return r;
03136 }
03137
03138 #endif
03139
03140 #ifdef GL_EXT_index_array_formats
03141
03142 #endif
03143
03144 #ifdef GL_EXT_index_func
03145
03146 static GLboolean _glewInit_GL_EXT_index_func (GLEW_CONTEXT_ARG_DEF_INIT)
03147 {
03148 GLboolean r = GL_FALSE;
03149
03150 r = ((glIndexFuncEXT = (PFNGLINDEXFUNCEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexFuncEXT")) == NULL) || r;
03151
03152 return r;
03153 }
03154
03155 #endif
03156
03157 #ifdef GL_EXT_index_material
03158
03159 static GLboolean _glewInit_GL_EXT_index_material (GLEW_CONTEXT_ARG_DEF_INIT)
03160 {
03161 GLboolean r = GL_FALSE;
03162
03163 r = ((glIndexMaterialEXT = (PFNGLINDEXMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexMaterialEXT")) == NULL) || r;
03164
03165 return r;
03166 }
03167
03168 #endif
03169
03170 #ifdef GL_EXT_index_texture
03171
03172 #endif
03173
03174 #ifdef GL_EXT_light_texture
03175
03176 static GLboolean _glewInit_GL_EXT_light_texture (GLEW_CONTEXT_ARG_DEF_INIT)
03177 {
03178 GLboolean r = GL_FALSE;
03179
03180 r = ((glApplyTextureEXT = (PFNGLAPPLYTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glApplyTextureEXT")) == NULL) || r;
03181 r = ((glTextureLightEXT = (PFNGLTEXTURELIGHTEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureLightEXT")) == NULL) || r;
03182 r = ((glTextureMaterialEXT = (PFNGLTEXTUREMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureMaterialEXT")) == NULL) || r;
03183
03184 return r;
03185 }
03186
03187 #endif
03188
03189 #ifdef GL_EXT_misc_attribute
03190
03191 #endif
03192
03193 #ifdef GL_EXT_multi_draw_arrays
03194
03195 static GLboolean _glewInit_GL_EXT_multi_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
03196 {
03197 GLboolean r = GL_FALSE;
03198
03199 r = ((glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysEXT")) == NULL) || r;
03200 r = ((glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsEXT")) == NULL) || r;
03201
03202 return r;
03203 }
03204
03205 #endif
03206
03207 #ifdef GL_EXT_multisample
03208
03209 static GLboolean _glewInit_GL_EXT_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
03210 {
03211 GLboolean r = GL_FALSE;
03212
03213 r = ((glSampleMaskEXT = (PFNGLSAMPLEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskEXT")) == NULL) || r;
03214 r = ((glSamplePatternEXT = (PFNGLSAMPLEPATTERNEXTPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternEXT")) == NULL) || r;
03215
03216 return r;
03217 }
03218
03219 #endif
03220
03221 #ifdef GL_EXT_packed_depth_stencil
03222
03223 #endif
03224
03225 #ifdef GL_EXT_packed_pixels
03226
03227 #endif
03228
03229 #ifdef GL_EXT_paletted_texture
03230
03231 static GLboolean _glewInit_GL_EXT_paletted_texture (GLEW_CONTEXT_ARG_DEF_INIT)
03232 {
03233 GLboolean r = GL_FALSE;
03234
03235 r = ((glColorTableEXT = (PFNGLCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorTableEXT")) == NULL) || r;
03236 r = ((glGetColorTableEXT = (PFNGLGETCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableEXT")) == NULL) || r;
03237 r = ((glGetColorTableParameterfvEXT = (PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvEXT")) == NULL) || r;
03238 r = ((glGetColorTableParameterivEXT = (PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivEXT")) == NULL) || r;
03239
03240 return r;
03241 }
03242
03243 #endif
03244
03245 #ifdef GL_EXT_pixel_buffer_object
03246
03247 #endif
03248
03249 #ifdef GL_EXT_pixel_transform
03250
03251 static GLboolean _glewInit_GL_EXT_pixel_transform (GLEW_CONTEXT_ARG_DEF_INIT)
03252 {
03253 GLboolean r = GL_FALSE;
03254
03255 r = ((glGetPixelTransformParameterfvEXT = (PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterfvEXT")) == NULL) || r;
03256 r = ((glGetPixelTransformParameterivEXT = (PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterivEXT")) == NULL) || r;
03257 r = ((glPixelTransformParameterfEXT = (PFNGLPIXELTRANSFORMPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfEXT")) == NULL) || r;
03258 r = ((glPixelTransformParameterfvEXT = (PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfvEXT")) == NULL) || r;
03259 r = ((glPixelTransformParameteriEXT = (PFNGLPIXELTRANSFORMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameteriEXT")) == NULL) || r;
03260 r = ((glPixelTransformParameterivEXT = (PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterivEXT")) == NULL) || r;
03261
03262 return r;
03263 }
03264
03265 #endif
03266
03267 #ifdef GL_EXT_pixel_transform_color_table
03268
03269 #endif
03270
03271 #ifdef GL_EXT_point_parameters
03272
03273 static GLboolean _glewInit_GL_EXT_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
03274 {
03275 GLboolean r = GL_FALSE;
03276
03277 r = ((glPointParameterfEXT = (PFNGLPOINTPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfEXT")) == NULL) || r;
03278 r = ((glPointParameterfvEXT = (PFNGLPOINTPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvEXT")) == NULL) || r;
03279
03280 return r;
03281 }
03282
03283 #endif
03284
03285 #ifdef GL_EXT_polygon_offset
03286
03287 static GLboolean _glewInit_GL_EXT_polygon_offset (GLEW_CONTEXT_ARG_DEF_INIT)
03288 {
03289 GLboolean r = GL_FALSE;
03290
03291 r = ((glPolygonOffsetEXT = (PFNGLPOLYGONOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetEXT")) == NULL) || r;
03292
03293 return r;
03294 }
03295
03296 #endif
03297
03298 #ifdef GL_EXT_rescale_normal
03299
03300 #endif
03301
03302 #ifdef GL_EXT_scene_marker
03303
03304 static GLboolean _glewInit_GL_EXT_scene_marker (GLEW_CONTEXT_ARG_DEF_INIT)
03305 {
03306 GLboolean r = GL_FALSE;
03307
03308 r = ((glBeginSceneEXT = (PFNGLBEGINSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginSceneEXT")) == NULL) || r;
03309 r = ((glEndSceneEXT = (PFNGLENDSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glEndSceneEXT")) == NULL) || r;
03310
03311 return r;
03312 }
03313
03314 #endif
03315
03316 #ifdef GL_EXT_secondary_color
03317
03318 static GLboolean _glewInit_GL_EXT_secondary_color (GLEW_CONTEXT_ARG_DEF_INIT)
03319 {
03320 GLboolean r = GL_FALSE;
03321
03322 r = ((glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bEXT")) == NULL) || r;
03323 r = ((glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bvEXT")) == NULL) || r;
03324 r = ((glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dEXT")) == NULL) || r;
03325 r = ((glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dvEXT")) == NULL) || r;
03326 r = ((glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fEXT")) == NULL) || r;
03327 r = ((glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fvEXT")) == NULL) || r;
03328 r = ((glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iEXT")) == NULL) || r;
03329 r = ((glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ivEXT")) == NULL) || r;
03330 r = ((glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sEXT")) == NULL) || r;
03331 r = ((glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3svEXT")) == NULL) || r;
03332 r = ((glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubEXT")) == NULL) || r;
03333 r = ((glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubvEXT")) == NULL) || r;
03334 r = ((glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiEXT")) == NULL) || r;
03335 r = ((glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uivEXT")) == NULL) || r;
03336 r = ((glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usEXT")) == NULL) || r;
03337 r = ((glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usvEXT")) == NULL) || r;
03338 r = ((glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerEXT")) == NULL) || r;
03339
03340 return r;
03341 }
03342
03343 #endif
03344
03345 #ifdef GL_EXT_separate_specular_color
03346
03347 #endif
03348
03349 #ifdef GL_EXT_shadow_funcs
03350
03351 #endif
03352
03353 #ifdef GL_EXT_shared_texture_palette
03354
03355 #endif
03356
03357 #ifdef GL_EXT_stencil_clear_tag
03358
03359 #endif
03360
03361 #ifdef GL_EXT_stencil_two_side
03362
03363 static GLboolean _glewInit_GL_EXT_stencil_two_side (GLEW_CONTEXT_ARG_DEF_INIT)
03364 {
03365 GLboolean r = GL_FALSE;
03366
03367 r = ((glActiveStencilFaceEXT = (PFNGLACTIVESTENCILFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveStencilFaceEXT")) == NULL) || r;
03368
03369 return r;
03370 }
03371
03372 #endif
03373
03374 #ifdef GL_EXT_stencil_wrap
03375
03376 #endif
03377
03378 #ifdef GL_EXT_subtexture
03379
03380 static GLboolean _glewInit_GL_EXT_subtexture (GLEW_CONTEXT_ARG_DEF_INIT)
03381 {
03382 GLboolean r = GL_FALSE;
03383
03384 r = ((glTexSubImage1DEXT = (PFNGLTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage1DEXT")) == NULL) || r;
03385 r = ((glTexSubImage2DEXT = (PFNGLTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage2DEXT")) == NULL) || r;
03386 r = ((glTexSubImage3DEXT = (PFNGLTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3DEXT")) == NULL) || r;
03387
03388 return r;
03389 }
03390
03391 #endif
03392
03393 #ifdef GL_EXT_texture
03394
03395 #endif
03396
03397 #ifdef GL_EXT_texture3D
03398
03399 static GLboolean _glewInit_GL_EXT_texture3D (GLEW_CONTEXT_ARG_DEF_INIT)
03400 {
03401 GLboolean r = GL_FALSE;
03402
03403 r = ((glTexImage3DEXT = (PFNGLTEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DEXT")) == NULL) || r;
03404
03405 return r;
03406 }
03407
03408 #endif
03409
03410 #ifdef GL_EXT_texture_compression_dxt1
03411
03412 #endif
03413
03414 #ifdef GL_EXT_texture_compression_s3tc
03415
03416 #endif
03417
03418 #ifdef GL_EXT_texture_cube_map
03419
03420 #endif
03421
03422 #ifdef GL_EXT_texture_edge_clamp
03423
03424 #endif
03425
03426 #ifdef GL_EXT_texture_env
03427
03428 #endif
03429
03430 #ifdef GL_EXT_texture_env_add
03431
03432 #endif
03433
03434 #ifdef GL_EXT_texture_env_combine
03435
03436 #endif
03437
03438 #ifdef GL_EXT_texture_env_dot3
03439
03440 #endif
03441
03442 #ifdef GL_EXT_texture_filter_anisotropic
03443
03444 #endif
03445
03446 #ifdef GL_EXT_texture_lod_bias
03447
03448 #endif
03449
03450 #ifdef GL_EXT_texture_mirror_clamp
03451
03452 #endif
03453
03454 #ifdef GL_EXT_texture_object
03455
03456 static GLboolean _glewInit_GL_EXT_texture_object (GLEW_CONTEXT_ARG_DEF_INIT)
03457 {
03458 GLboolean r = GL_FALSE;
03459
03460 r = ((glAreTexturesResidentEXT = (PFNGLARETEXTURESRESIDENTEXTPROC)glewGetProcAddress((const GLubyte*)"glAreTexturesResidentEXT")) == NULL) || r;
03461 r = ((glBindTextureEXT = (PFNGLBINDTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureEXT")) == NULL) || r;
03462 r = ((glDeleteTexturesEXT = (PFNGLDELETETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteTexturesEXT")) == NULL) || r;
03463 r = ((glGenTexturesEXT = (PFNGLGENTEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glGenTexturesEXT")) == NULL) || r;
03464 r = ((glIsTextureEXT = (PFNGLISTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glIsTextureEXT")) == NULL) || r;
03465 r = ((glPrioritizeTexturesEXT = (PFNGLPRIORITIZETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glPrioritizeTexturesEXT")) == NULL) || r;
03466
03467 return r;
03468 }
03469
03470 #endif
03471
03472 #ifdef GL_EXT_texture_perturb_normal
03473
03474 static GLboolean _glewInit_GL_EXT_texture_perturb_normal (GLEW_CONTEXT_ARG_DEF_INIT)
03475 {
03476 GLboolean r = GL_FALSE;
03477
03478 r = ((glTextureNormalEXT = (PFNGLTEXTURENORMALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureNormalEXT")) == NULL) || r;
03479
03480 return r;
03481 }
03482
03483 #endif
03484
03485 #ifdef GL_EXT_texture_rectangle
03486
03487 #endif
03488
03489 #ifdef GL_EXT_texture_sRGB
03490
03491 #endif
03492
03493 #ifdef GL_EXT_vertex_array
03494
03495 static GLboolean _glewInit_GL_EXT_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT)
03496 {
03497 GLboolean r = GL_FALSE;
03498
03499 r = ((glArrayElementEXT = (PFNGLARRAYELEMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glArrayElementEXT")) == NULL) || r;
03500 r = ((glColorPointerEXT = (PFNGLCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glColorPointerEXT")) == NULL) || r;
03501 r = ((glDrawArraysEXT = (PFNGLDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysEXT")) == NULL) || r;
03502 r = ((glEdgeFlagPointerEXT = (PFNGLEDGEFLAGPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerEXT")) == NULL) || r;
03503 r = ((glGetPointervEXT = (PFNGLGETPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointervEXT")) == NULL) || r;
03504 r = ((glIndexPointerEXT = (PFNGLINDEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerEXT")) == NULL) || r;
03505 r = ((glNormalPointerEXT = (PFNGLNORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerEXT")) == NULL) || r;
03506 r = ((glTexCoordPointerEXT = (PFNGLTEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerEXT")) == NULL) || r;
03507 r = ((glVertexPointerEXT = (PFNGLVERTEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerEXT")) == NULL) || r;
03508
03509 return r;
03510 }
03511
03512 #endif
03513
03514 #ifdef GL_EXT_vertex_shader
03515
03516 static GLboolean _glewInit_GL_EXT_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)
03517 {
03518 GLboolean r = GL_FALSE;
03519
03520 r = ((glBeginVertexShaderEXT = (PFNGLBEGINVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBeginVertexShaderEXT")) == NULL) || r;
03521 r = ((glBindLightParameterEXT = (PFNGLBINDLIGHTPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindLightParameterEXT")) == NULL) || r;
03522 r = ((glBindMaterialParameterEXT = (PFNGLBINDMATERIALPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindMaterialParameterEXT")) == NULL) || r;
03523 r = ((glBindParameterEXT = (PFNGLBINDPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindParameterEXT")) == NULL) || r;
03524 r = ((glBindTexGenParameterEXT = (PFNGLBINDTEXGENPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTexGenParameterEXT")) == NULL) || r;
03525 r = ((glBindTextureUnitParameterEXT = (PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureUnitParameterEXT")) == NULL) || r;
03526 r = ((glBindVertexShaderEXT = (PFNGLBINDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindVertexShaderEXT")) == NULL) || r;
03527 r = ((glDeleteVertexShaderEXT = (PFNGLDELETEVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexShaderEXT")) == NULL) || r;
03528 r = ((glDisableVariantClientStateEXT = (PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVariantClientStateEXT")) == NULL) || r;
03529 r = ((glEnableVariantClientStateEXT = (PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVariantClientStateEXT")) == NULL) || r;
03530 r = ((glEndVertexShaderEXT = (PFNGLENDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glEndVertexShaderEXT")) == NULL) || r;
03531 r = ((glExtractComponentEXT = (PFNGLEXTRACTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glExtractComponentEXT")) == NULL) || r;
03532 r = ((glGenSymbolsEXT = (PFNGLGENSYMBOLSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenSymbolsEXT")) == NULL) || r;
03533 r = ((glGenVertexShadersEXT = (PFNGLGENVERTEXSHADERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenVertexShadersEXT")) == NULL) || r;
03534 r = ((glGetInvariantBooleanvEXT = (PFNGLGETINVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantBooleanvEXT")) == NULL) || r;
03535 r = ((glGetInvariantFloatvEXT = (PFNGLGETINVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantFloatvEXT")) == NULL) || r;
03536 r = ((glGetInvariantIntegervEXT = (PFNGLGETINVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantIntegervEXT")) == NULL) || r;
03537 r = ((glGetLocalConstantBooleanvEXT = (PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantBooleanvEXT")) == NULL) || r;
03538 r = ((glGetLocalConstantFloatvEXT = (PFNGLGETLOCALCONSTANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantFloatvEXT")) == NULL) || r;
03539 r = ((glGetLocalConstantIntegervEXT = (PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantIntegervEXT")) == NULL) || r;
03540 r = ((glGetVariantBooleanvEXT = (PFNGLGETVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantBooleanvEXT")) == NULL) || r;
03541 r = ((glGetVariantFloatvEXT = (PFNGLGETVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantFloatvEXT")) == NULL) || r;
03542 r = ((glGetVariantIntegervEXT = (PFNGLGETVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantIntegervEXT")) == NULL) || r;
03543 r = ((glGetVariantPointervEXT = (PFNGLGETVARIANTPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantPointervEXT")) == NULL) || r;
03544 r = ((glInsertComponentEXT = (PFNGLINSERTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glInsertComponentEXT")) == NULL) || r;
03545 r = ((glIsVariantEnabledEXT = (PFNGLISVARIANTENABLEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsVariantEnabledEXT")) == NULL) || r;
03546 r = ((glSetInvariantEXT = (PFNGLSETINVARIANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetInvariantEXT")) == NULL) || r;
03547 r = ((glSetLocalConstantEXT = (PFNGLSETLOCALCONSTANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetLocalConstantEXT")) == NULL) || r;
03548 r = ((glShaderOp1EXT = (PFNGLSHADEROP1EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp1EXT")) == NULL) || r;
03549 r = ((glShaderOp2EXT = (PFNGLSHADEROP2EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp2EXT")) == NULL) || r;
03550 r = ((glShaderOp3EXT = (PFNGLSHADEROP3EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp3EXT")) == NULL) || r;
03551 r = ((glSwizzleEXT = (PFNGLSWIZZLEEXTPROC)glewGetProcAddress((const GLubyte*)"glSwizzleEXT")) == NULL) || r;
03552 r = ((glVariantPointerEXT = (PFNGLVARIANTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVariantPointerEXT")) == NULL) || r;
03553 r = ((glVariantbvEXT = (PFNGLVARIANTBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantbvEXT")) == NULL) || r;
03554 r = ((glVariantdvEXT = (PFNGLVARIANTDVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantdvEXT")) == NULL) || r;
03555 r = ((glVariantfvEXT = (PFNGLVARIANTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantfvEXT")) == NULL) || r;
03556 r = ((glVariantivEXT = (PFNGLVARIANTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantivEXT")) == NULL) || r;
03557 r = ((glVariantsvEXT = (PFNGLVARIANTSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantsvEXT")) == NULL) || r;
03558 r = ((glVariantubvEXT = (PFNGLVARIANTUBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantubvEXT")) == NULL) || r;
03559 r = ((glVariantuivEXT = (PFNGLVARIANTUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantuivEXT")) == NULL) || r;
03560 r = ((glVariantusvEXT = (PFNGLVARIANTUSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantusvEXT")) == NULL) || r;
03561 r = ((glWriteMaskEXT = (PFNGLWRITEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glWriteMaskEXT")) == NULL) || r;
03562
03563 return r;
03564 }
03565
03566 #endif
03567
03568 #ifdef GL_EXT_vertex_weighting
03569
03570 static GLboolean _glewInit_GL_EXT_vertex_weighting (GLEW_CONTEXT_ARG_DEF_INIT)
03571 {
03572 GLboolean r = GL_FALSE;
03573
03574 r = ((glVertexWeightPointerEXT = (PFNGLVERTEXWEIGHTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightPointerEXT")) == NULL) || r;
03575 r = ((glVertexWeightfEXT = (PFNGLVERTEXWEIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfEXT")) == NULL) || r;
03576 r = ((glVertexWeightfvEXT = (PFNGLVERTEXWEIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfvEXT")) == NULL) || r;
03577
03578 return r;
03579 }
03580
03581 #endif
03582
03583 #ifdef GL_GREMEDY_string_marker
03584
03585 static GLboolean _glewInit_GL_GREMEDY_string_marker (GLEW_CONTEXT_ARG_DEF_INIT)
03586 {
03587 GLboolean r = GL_FALSE;
03588
03589 r = ((glStringMarkerGREMEDY = (PFNGLSTRINGMARKERGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glStringMarkerGREMEDY")) == NULL) || r;
03590
03591 return r;
03592 }
03593
03594 #endif
03595
03596 #ifdef GL_HP_convolution_border_modes
03597
03598 #endif
03599
03600 #ifdef GL_HP_image_transform
03601
03602 static GLboolean _glewInit_GL_HP_image_transform (GLEW_CONTEXT_ARG_DEF_INIT)
03603 {
03604 GLboolean r = GL_FALSE;
03605
03606 r = ((glGetImageTransformParameterfvHP = (PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterfvHP")) == NULL) || r;
03607 r = ((glGetImageTransformParameterivHP = (PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterivHP")) == NULL) || r;
03608 r = ((glImageTransformParameterfHP = (PFNGLIMAGETRANSFORMPARAMETERFHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfHP")) == NULL) || r;
03609 r = ((glImageTransformParameterfvHP = (PFNGLIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfvHP")) == NULL) || r;
03610 r = ((glImageTransformParameteriHP = (PFNGLIMAGETRANSFORMPARAMETERIHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameteriHP")) == NULL) || r;
03611 r = ((glImageTransformParameterivHP = (PFNGLIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterivHP")) == NULL) || r;
03612
03613 return r;
03614 }
03615
03616 #endif
03617
03618 #ifdef GL_HP_occlusion_test
03619
03620 #endif
03621
03622 #ifdef GL_HP_texture_lighting
03623
03624 #endif
03625
03626 #ifdef GL_IBM_cull_vertex
03627
03628 #endif
03629
03630 #ifdef GL_IBM_multimode_draw_arrays
03631
03632 static GLboolean _glewInit_GL_IBM_multimode_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
03633 {
03634 GLboolean r = GL_FALSE;
03635
03636 r = ((glMultiModeDrawArraysIBM = (PFNGLMULTIMODEDRAWARRAYSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawArraysIBM")) == NULL) || r;
03637 r = ((glMultiModeDrawElementsIBM = (PFNGLMULTIMODEDRAWELEMENTSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawElementsIBM")) == NULL) || r;
03638
03639 return r;
03640 }
03641
03642 #endif
03643
03644 #ifdef GL_IBM_rasterpos_clip
03645
03646 #endif
03647
03648 #ifdef GL_IBM_static_data
03649
03650 #endif
03651
03652 #ifdef GL_IBM_texture_mirrored_repeat
03653
03654 #endif
03655
03656 #ifdef GL_IBM_vertex_array_lists
03657
03658 static GLboolean _glewInit_GL_IBM_vertex_array_lists (GLEW_CONTEXT_ARG_DEF_INIT)
03659 {
03660 GLboolean r = GL_FALSE;
03661
03662 r = ((glColorPointerListIBM = (PFNGLCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glColorPointerListIBM")) == NULL) || r;
03663 r = ((glEdgeFlagPointerListIBM = (PFNGLEDGEFLAGPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerListIBM")) == NULL) || r;
03664 r = ((glFogCoordPointerListIBM = (PFNGLFOGCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerListIBM")) == NULL) || r;
03665 r = ((glIndexPointerListIBM = (PFNGLINDEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerListIBM")) == NULL) || r;
03666 r = ((glNormalPointerListIBM = (PFNGLNORMALPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerListIBM")) == NULL) || r;
03667 r = ((glSecondaryColorPointerListIBM = (PFNGLSECONDARYCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerListIBM")) == NULL) || r;
03668 r = ((glTexCoordPointerListIBM = (PFNGLTEXCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerListIBM")) == NULL) || r;
03669 r = ((glVertexPointerListIBM = (PFNGLVERTEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerListIBM")) == NULL) || r;
03670
03671 return r;
03672 }
03673
03674 #endif
03675
03676 #ifdef GL_INGR_color_clamp
03677
03678 #endif
03679
03680 #ifdef GL_INGR_interlace_read
03681
03682 #endif
03683
03684 #ifdef GL_INTEL_parallel_arrays
03685
03686 static GLboolean _glewInit_GL_INTEL_parallel_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
03687 {
03688 GLboolean r = GL_FALSE;
03689
03690 r = ((glColorPointervINTEL = (PFNGLCOLORPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glColorPointervINTEL")) == NULL) || r;
03691 r = ((glNormalPointervINTEL = (PFNGLNORMALPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glNormalPointervINTEL")) == NULL) || r;
03692 r = ((glTexCoordPointervINTEL = (PFNGLTEXCOORDPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointervINTEL")) == NULL) || r;
03693 r = ((glVertexPointervINTEL = (PFNGLVERTEXPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glVertexPointervINTEL")) == NULL) || r;
03694
03695 return r;
03696 }
03697
03698 #endif
03699
03700 #ifdef GL_INTEL_texture_scissor
03701
03702 static GLboolean _glewInit_GL_INTEL_texture_scissor (GLEW_CONTEXT_ARG_DEF_INIT)
03703 {
03704 GLboolean r = GL_FALSE;
03705
03706 r = ((glTexScissorFuncINTEL = (PFNGLTEXSCISSORFUNCINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorFuncINTEL")) == NULL) || r;
03707 r = ((glTexScissorINTEL = (PFNGLTEXSCISSORINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorINTEL")) == NULL) || r;
03708
03709 return r;
03710 }
03711
03712 #endif
03713
03714 #ifdef GL_KTX_buffer_region
03715
03716 static GLboolean _glewInit_GL_KTX_buffer_region (GLEW_CONTEXT_ARG_DEF_INIT)
03717 {
03718 GLboolean r = GL_FALSE;
03719
03720 r = ((glBufferRegionEnabledEXT = (PFNGLBUFFERREGIONENABLEDEXTPROC)glewGetProcAddress((const GLubyte*)"glBufferRegionEnabledEXT")) == NULL) || r;
03721 r = ((glDeleteBufferRegionEXT = (PFNGLDELETEBUFFERREGIONEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteBufferRegionEXT")) == NULL) || r;
03722 r = ((glDrawBufferRegionEXT = (PFNGLDRAWBUFFERREGIONEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawBufferRegionEXT")) == NULL) || r;
03723 r = ((glNewBufferRegionEXT = (PFNGLNEWBUFFERREGIONEXTPROC)glewGetProcAddress((const GLubyte*)"glNewBufferRegionEXT")) == NULL) || r;
03724 r = ((glReadBufferRegionEXT = (PFNGLREADBUFFERREGIONEXTPROC)glewGetProcAddress((const GLubyte*)"glReadBufferRegionEXT")) == NULL) || r;
03725
03726 return r;
03727 }
03728
03729 #endif
03730
03731 #ifdef GL_MESAX_texture_stack
03732
03733 #endif
03734
03735 #ifdef GL_MESA_pack_invert
03736
03737 #endif
03738
03739 #ifdef GL_MESA_resize_buffers
03740
03741 static GLboolean _glewInit_GL_MESA_resize_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
03742 {
03743 GLboolean r = GL_FALSE;
03744
03745 r = ((glResizeBuffersMESA = (PFNGLRESIZEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glResizeBuffersMESA")) == NULL) || r;
03746
03747 return r;
03748 }
03749
03750 #endif
03751
03752 #ifdef GL_MESA_window_pos
03753
03754 static GLboolean _glewInit_GL_MESA_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)
03755 {
03756 GLboolean r = GL_FALSE;
03757
03758 r = ((glWindowPos2dMESA = (PFNGLWINDOWPOS2DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dMESA")) == NULL) || r;
03759 r = ((glWindowPos2dvMESA = (PFNGLWINDOWPOS2DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvMESA")) == NULL) || r;
03760 r = ((glWindowPos2fMESA = (PFNGLWINDOWPOS2FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fMESA")) == NULL) || r;
03761 r = ((glWindowPos2fvMESA = (PFNGLWINDOWPOS2FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvMESA")) == NULL) || r;
03762 r = ((glWindowPos2iMESA = (PFNGLWINDOWPOS2IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iMESA")) == NULL) || r;
03763 r = ((glWindowPos2ivMESA = (PFNGLWINDOWPOS2IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivMESA")) == NULL) || r;
03764 r = ((glWindowPos2sMESA = (PFNGLWINDOWPOS2SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sMESA")) == NULL) || r;
03765 r = ((glWindowPos2svMESA = (PFNGLWINDOWPOS2SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svMESA")) == NULL) || r;
03766 r = ((glWindowPos3dMESA = (PFNGLWINDOWPOS3DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dMESA")) == NULL) || r;
03767 r = ((glWindowPos3dvMESA = (PFNGLWINDOWPOS3DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvMESA")) == NULL) || r;
03768 r = ((glWindowPos3fMESA = (PFNGLWINDOWPOS3FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fMESA")) == NULL) || r;
03769 r = ((glWindowPos3fvMESA = (PFNGLWINDOWPOS3FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvMESA")) == NULL) || r;
03770 r = ((glWindowPos3iMESA = (PFNGLWINDOWPOS3IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iMESA")) == NULL) || r;
03771 r = ((glWindowPos3ivMESA = (PFNGLWINDOWPOS3IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivMESA")) == NULL) || r;
03772 r = ((glWindowPos3sMESA = (PFNGLWINDOWPOS3SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sMESA")) == NULL) || r;
03773 r = ((glWindowPos3svMESA = (PFNGLWINDOWPOS3SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svMESA")) == NULL) || r;
03774 r = ((glWindowPos4dMESA = (PFNGLWINDOWPOS4DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dMESA")) == NULL) || r;
03775 r = ((glWindowPos4dvMESA = (PFNGLWINDOWPOS4DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dvMESA")) == NULL) || r;
03776 r = ((glWindowPos4fMESA = (PFNGLWINDOWPOS4FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fMESA")) == NULL) || r;
03777 r = ((glWindowPos4fvMESA = (PFNGLWINDOWPOS4FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fvMESA")) == NULL) || r;
03778 r = ((glWindowPos4iMESA = (PFNGLWINDOWPOS4IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4iMESA")) == NULL) || r;
03779 r = ((glWindowPos4ivMESA = (PFNGLWINDOWPOS4IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4ivMESA")) == NULL) || r;
03780 r = ((glWindowPos4sMESA = (PFNGLWINDOWPOS4SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4sMESA")) == NULL) || r;
03781 r = ((glWindowPos4svMESA = (PFNGLWINDOWPOS4SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4svMESA")) == NULL) || r;
03782
03783 return r;
03784 }
03785
03786 #endif
03787
03788 #ifdef GL_MESA_ycbcr_texture
03789
03790 #endif
03791
03792 #ifdef GL_NV_blend_square
03793
03794 #endif
03795
03796 #ifdef GL_NV_copy_depth_to_color
03797
03798 #endif
03799
03800 #ifdef GL_NV_depth_clamp
03801
03802 #endif
03803
03804 #ifdef GL_NV_evaluators
03805
03806 static GLboolean _glewInit_GL_NV_evaluators (GLEW_CONTEXT_ARG_DEF_INIT)
03807 {
03808 GLboolean r = GL_FALSE;
03809
03810 r = ((glEvalMapsNV = (PFNGLEVALMAPSNVPROC)glewGetProcAddress((const GLubyte*)"glEvalMapsNV")) == NULL) || r;
03811 r = ((glGetMapAttribParameterfvNV = (PFNGLGETMAPATTRIBPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterfvNV")) == NULL) || r;
03812 r = ((glGetMapAttribParameterivNV = (PFNGLGETMAPATTRIBPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterivNV")) == NULL) || r;
03813 r = ((glGetMapControlPointsNV = (PFNGLGETMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapControlPointsNV")) == NULL) || r;
03814 r = ((glGetMapParameterfvNV = (PFNGLGETMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterfvNV")) == NULL) || r;
03815 r = ((glGetMapParameterivNV = (PFNGLGETMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterivNV")) == NULL) || r;
03816 r = ((glMapControlPointsNV = (PFNGLMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glMapControlPointsNV")) == NULL) || r;
03817 r = ((glMapParameterfvNV = (PFNGLMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterfvNV")) == NULL) || r;
03818 r = ((glMapParameterivNV = (PFNGLMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterivNV")) == NULL) || r;
03819
03820 return r;
03821 }
03822
03823 #endif
03824
03825 #ifdef GL_NV_fence
03826
03827 static GLboolean _glewInit_GL_NV_fence (GLEW_CONTEXT_ARG_DEF_INIT)
03828 {
03829 GLboolean r = GL_FALSE;
03830
03831 r = ((glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesNV")) == NULL) || r;
03832 r = ((glFinishFenceNV = (PFNGLFINISHFENCENVPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceNV")) == NULL) || r;
03833 r = ((glGenFencesNV = (PFNGLGENFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glGenFencesNV")) == NULL) || r;
03834 r = ((glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFenceivNV")) == NULL) || r;
03835 r = ((glIsFenceNV = (PFNGLISFENCENVPROC)glewGetProcAddress((const GLubyte*)"glIsFenceNV")) == NULL) || r;
03836 r = ((glSetFenceNV = (PFNGLSETFENCENVPROC)glewGetProcAddress((const GLubyte*)"glSetFenceNV")) == NULL) || r;
03837 r = ((glTestFenceNV = (PFNGLTESTFENCENVPROC)glewGetProcAddress((const GLubyte*)"glTestFenceNV")) == NULL) || r;
03838
03839 return r;
03840 }
03841
03842 #endif
03843
03844 #ifdef GL_NV_float_buffer
03845
03846 #endif
03847
03848 #ifdef GL_NV_fog_distance
03849
03850 #endif
03851
03852 #ifdef GL_NV_fragment_program
03853
03854 static GLboolean _glewInit_GL_NV_fragment_program (GLEW_CONTEXT_ARG_DEF_INIT)
03855 {
03856 GLboolean r = GL_FALSE;
03857
03858 r = ((glGetProgramNamedParameterdvNV = (PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterdvNV")) == NULL) || r;
03859 r = ((glGetProgramNamedParameterfvNV = (PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterfvNV")) == NULL) || r;
03860 r = ((glProgramNamedParameter4dNV = (PFNGLPROGRAMNAMEDPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dNV")) == NULL) || r;
03861 r = ((glProgramNamedParameter4dvNV = (PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dvNV")) == NULL) || r;
03862 r = ((glProgramNamedParameter4fNV = (PFNGLPROGRAMNAMEDPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fNV")) == NULL) || r;
03863 r = ((glProgramNamedParameter4fvNV = (PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fvNV")) == NULL) || r;
03864
03865 return r;
03866 }
03867
03868 #endif
03869
03870 #ifdef GL_NV_fragment_program2
03871
03872 #endif
03873
03874 #ifdef GL_NV_fragment_program_option
03875
03876 #endif
03877
03878 #ifdef GL_NV_half_float
03879
03880 static GLboolean _glewInit_GL_NV_half_float (GLEW_CONTEXT_ARG_DEF_INIT)
03881 {
03882 GLboolean r = GL_FALSE;
03883
03884 r = ((glColor3hNV = (PFNGLCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hNV")) == NULL) || r;
03885 r = ((glColor3hvNV = (PFNGLCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hvNV")) == NULL) || r;
03886 r = ((glColor4hNV = (PFNGLCOLOR4HNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hNV")) == NULL) || r;
03887 r = ((glColor4hvNV = (PFNGLCOLOR4HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hvNV")) == NULL) || r;
03888 r = ((glFogCoordhNV = (PFNGLFOGCOORDHNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhNV")) == NULL) || r;
03889 r = ((glFogCoordhvNV = (PFNGLFOGCOORDHVNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhvNV")) == NULL) || r;
03890 r = ((glMultiTexCoord1hNV = (PFNGLMULTITEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hNV")) == NULL) || r;
03891 r = ((glMultiTexCoord1hvNV = (PFNGLMULTITEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hvNV")) == NULL) || r;
03892 r = ((glMultiTexCoord2hNV = (PFNGLMULTITEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hNV")) == NULL) || r;
03893 r = ((glMultiTexCoord2hvNV = (PFNGLMULTITEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hvNV")) == NULL) || r;
03894 r = ((glMultiTexCoord3hNV = (PFNGLMULTITEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hNV")) == NULL) || r;
03895 r = ((glMultiTexCoord3hvNV = (PFNGLMULTITEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hvNV")) == NULL) || r;
03896 r = ((glMultiTexCoord4hNV = (PFNGLMULTITEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hNV")) == NULL) || r;
03897 r = ((glMultiTexCoord4hvNV = (PFNGLMULTITEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hvNV")) == NULL) || r;
03898 r = ((glNormal3hNV = (PFNGLNORMAL3HNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hNV")) == NULL) || r;
03899 r = ((glNormal3hvNV = (PFNGLNORMAL3HVNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hvNV")) == NULL) || r;
03900 r = ((glSecondaryColor3hNV = (PFNGLSECONDARYCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hNV")) == NULL) || r;
03901 r = ((glSecondaryColor3hvNV = (PFNGLSECONDARYCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hvNV")) == NULL) || r;
03902 r = ((glTexCoord1hNV = (PFNGLTEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hNV")) == NULL) || r;
03903 r = ((glTexCoord1hvNV = (PFNGLTEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hvNV")) == NULL) || r;
03904 r = ((glTexCoord2hNV = (PFNGLTEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hNV")) == NULL) || r;
03905 r = ((glTexCoord2hvNV = (PFNGLTEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hvNV")) == NULL) || r;
03906 r = ((glTexCoord3hNV = (PFNGLTEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hNV")) == NULL) || r;
03907 r = ((glTexCoord3hvNV = (PFNGLTEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hvNV")) == NULL) || r;
03908 r = ((glTexCoord4hNV = (PFNGLTEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hNV")) == NULL) || r;
03909 r = ((glTexCoord4hvNV = (PFNGLTEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hvNV")) == NULL) || r;
03910 r = ((glVertex2hNV = (PFNGLVERTEX2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hNV")) == NULL) || r;
03911 r = ((glVertex2hvNV = (PFNGLVERTEX2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hvNV")) == NULL) || r;
03912 r = ((glVertex3hNV = (PFNGLVERTEX3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hNV")) == NULL) || r;
03913 r = ((glVertex3hvNV = (PFNGLVERTEX3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hvNV")) == NULL) || r;
03914 r = ((glVertex4hNV = (PFNGLVERTEX4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hNV")) == NULL) || r;
03915 r = ((glVertex4hvNV = (PFNGLVERTEX4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hvNV")) == NULL) || r;
03916 r = ((glVertexAttrib1hNV = (PFNGLVERTEXATTRIB1HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hNV")) == NULL) || r;
03917 r = ((glVertexAttrib1hvNV = (PFNGLVERTEXATTRIB1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hvNV")) == NULL) || r;
03918 r = ((glVertexAttrib2hNV = (PFNGLVERTEXATTRIB2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hNV")) == NULL) || r;
03919 r = ((glVertexAttrib2hvNV = (PFNGLVERTEXATTRIB2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hvNV")) == NULL) || r;
03920 r = ((glVertexAttrib3hNV = (PFNGLVERTEXATTRIB3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hNV")) == NULL) || r;
03921 r = ((glVertexAttrib3hvNV = (PFNGLVERTEXATTRIB3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hvNV")) == NULL) || r;
03922 r = ((glVertexAttrib4hNV = (PFNGLVERTEXATTRIB4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hNV")) == NULL) || r;
03923 r = ((glVertexAttrib4hvNV = (PFNGLVERTEXATTRIB4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hvNV")) == NULL) || r;
03924 r = ((glVertexAttribs1hvNV = (PFNGLVERTEXATTRIBS1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1hvNV")) == NULL) || r;
03925 r = ((glVertexAttribs2hvNV = (PFNGLVERTEXATTRIBS2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2hvNV")) == NULL) || r;
03926 r = ((glVertexAttribs3hvNV = (PFNGLVERTEXATTRIBS3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3hvNV")) == NULL) || r;
03927 r = ((glVertexAttribs4hvNV = (PFNGLVERTEXATTRIBS4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4hvNV")) == NULL) || r;
03928 r = ((glVertexWeighthNV = (PFNGLVERTEXWEIGHTHNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthNV")) == NULL) || r;
03929 r = ((glVertexWeighthvNV = (PFNGLVERTEXWEIGHTHVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthvNV")) == NULL) || r;
03930
03931 return r;
03932 }
03933
03934 #endif
03935
03936 #ifdef GL_NV_light_max_exponent
03937
03938 #endif
03939
03940 #ifdef GL_NV_multisample_filter_hint
03941
03942 #endif
03943
03944 #ifdef GL_NV_occlusion_query
03945
03946 static GLboolean _glewInit_GL_NV_occlusion_query (GLEW_CONTEXT_ARG_DEF_INIT)
03947 {
03948 GLboolean r = GL_FALSE;
03949
03950 r = ((glBeginOcclusionQueryNV = (PFNGLBEGINOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glBeginOcclusionQueryNV")) == NULL) || r;
03951 r = ((glDeleteOcclusionQueriesNV = (PFNGLDELETEOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteOcclusionQueriesNV")) == NULL) || r;
03952 r = ((glEndOcclusionQueryNV = (PFNGLENDOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glEndOcclusionQueryNV")) == NULL) || r;
03953 r = ((glGenOcclusionQueriesNV = (PFNGLGENOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glGenOcclusionQueriesNV")) == NULL) || r;
03954 r = ((glGetOcclusionQueryivNV = (PFNGLGETOCCLUSIONQUERYIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryivNV")) == NULL) || r;
03955 r = ((glGetOcclusionQueryuivNV = (PFNGLGETOCCLUSIONQUERYUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryuivNV")) == NULL) || r;
03956 r = ((glIsOcclusionQueryNV = (PFNGLISOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glIsOcclusionQueryNV")) == NULL) || r;
03957
03958 return r;
03959 }
03960
03961 #endif
03962
03963 #ifdef GL_NV_packed_depth_stencil
03964
03965 #endif
03966
03967 #ifdef GL_NV_pixel_data_range
03968
03969 static GLboolean _glewInit_GL_NV_pixel_data_range (GLEW_CONTEXT_ARG_DEF_INIT)
03970 {
03971 GLboolean r = GL_FALSE;
03972
03973 r = ((glFlushPixelDataRangeNV = (PFNGLFLUSHPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushPixelDataRangeNV")) == NULL) || r;
03974 r = ((glPixelDataRangeNV = (PFNGLPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glPixelDataRangeNV")) == NULL) || r;
03975
03976 return r;
03977 }
03978
03979 #endif
03980
03981 #ifdef GL_NV_point_sprite
03982
03983 static GLboolean _glewInit_GL_NV_point_sprite (GLEW_CONTEXT_ARG_DEF_INIT)
03984 {
03985 GLboolean r = GL_FALSE;
03986
03987 r = ((glPointParameteriNV = (PFNGLPOINTPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriNV")) == NULL) || r;
03988 r = ((glPointParameterivNV = (PFNGLPOINTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterivNV")) == NULL) || r;
03989
03990 return r;
03991 }
03992
03993 #endif
03994
03995 #ifdef GL_NV_primitive_restart
03996
03997 static GLboolean _glewInit_GL_NV_primitive_restart (GLEW_CONTEXT_ARG_DEF_INIT)
03998 {
03999 GLboolean r = GL_FALSE;
04000
04001 r = ((glPrimitiveRestartIndexNV = (PFNGLPRIMITIVERESTARTINDEXNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndexNV")) == NULL) || r;
04002 r = ((glPrimitiveRestartNV = (PFNGLPRIMITIVERESTARTNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartNV")) == NULL) || r;
04003
04004 return r;
04005 }
04006
04007 #endif
04008
04009 #ifdef GL_NV_register_combiners
04010
04011 static GLboolean _glewInit_GL_NV_register_combiners (GLEW_CONTEXT_ARG_DEF_INIT)
04012 {
04013 GLboolean r = GL_FALSE;
04014
04015 r = ((glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerInputNV")) == NULL) || r;
04016 r = ((glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerOutputNV")) == NULL) || r;
04017 r = ((glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfNV")) == NULL) || r;
04018 r = ((glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfvNV")) == NULL) || r;
04019 r = ((glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameteriNV")) == NULL) || r;
04020 r = ((glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterivNV")) == NULL) || r;
04021 r = ((glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glFinalCombinerInputNV")) == NULL) || r;
04022 r = ((glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterfvNV")) == NULL) || r;
04023 r = ((glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterivNV")) == NULL) || r;
04024 r = ((glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterfvNV")) == NULL) || r;
04025 r = ((glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterivNV")) == NULL) || r;
04026 r = ((glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterfvNV")) == NULL) || r;
04027 r = ((glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterivNV")) == NULL) || r;
04028
04029 return r;
04030 }
04031
04032 #endif
04033
04034 #ifdef GL_NV_register_combiners2
04035
04036 static GLboolean _glewInit_GL_NV_register_combiners2 (GLEW_CONTEXT_ARG_DEF_INIT)
04037 {
04038 GLboolean r = GL_FALSE;
04039
04040 r = ((glCombinerStageParameterfvNV = (PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerStageParameterfvNV")) == NULL) || r;
04041 r = ((glGetCombinerStageParameterfvNV = (PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerStageParameterfvNV")) == NULL) || r;
04042
04043 return r;
04044 }
04045
04046 #endif
04047
04048 #ifdef GL_NV_texgen_emboss
04049
04050 #endif
04051
04052 #ifdef GL_NV_texgen_reflection
04053
04054 #endif
04055
04056 #ifdef GL_NV_texture_compression_vtc
04057
04058 #endif
04059
04060 #ifdef GL_NV_texture_env_combine4
04061
04062 #endif
04063
04064 #ifdef GL_NV_texture_expand_normal
04065
04066 #endif
04067
04068 #ifdef GL_NV_texture_rectangle
04069
04070 #endif
04071
04072 #ifdef GL_NV_texture_shader
04073
04074 #endif
04075
04076 #ifdef GL_NV_texture_shader2
04077
04078 #endif
04079
04080 #ifdef GL_NV_texture_shader3
04081
04082 #endif
04083
04084 #ifdef GL_NV_vertex_array_range
04085
04086 static GLboolean _glewInit_GL_NV_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT)
04087 {
04088 GLboolean r = GL_FALSE;
04089
04090 r = ((glFlushVertexArrayRangeNV = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeNV")) == NULL) || r;
04091 r = ((glVertexArrayRangeNV = (PFNGLVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeNV")) == NULL) || r;
04092
04093 return r;
04094 }
04095
04096 #endif
04097
04098 #ifdef GL_NV_vertex_array_range2
04099
04100 #endif
04101
04102 #ifdef GL_NV_vertex_program
04103
04104 static GLboolean _glewInit_GL_NV_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT)
04105 {
04106 GLboolean r = GL_FALSE;
04107
04108 r = ((glAreProgramsResidentNV = (PFNGLAREPROGRAMSRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glAreProgramsResidentNV")) == NULL) || r;
04109 r = ((glBindProgramNV = (PFNGLBINDPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glBindProgramNV")) == NULL) || r;
04110 r = ((glDeleteProgramsNV = (PFNGLDELETEPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsNV")) == NULL) || r;
04111 r = ((glExecuteProgramNV = (PFNGLEXECUTEPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glExecuteProgramNV")) == NULL) || r;
04112 r = ((glGenProgramsNV = (PFNGLGENPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsNV")) == NULL) || r;
04113 r = ((glGetProgramParameterdvNV = (PFNGLGETPROGRAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterdvNV")) == NULL) || r;
04114 r = ((glGetProgramParameterfvNV = (PFNGLGETPROGRAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterfvNV")) == NULL) || r;
04115 r = ((glGetProgramStringNV = (PFNGLGETPROGRAMSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringNV")) == NULL) || r;
04116 r = ((glGetProgramivNV = (PFNGLGETPROGRAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivNV")) == NULL) || r;
04117 r = ((glGetTrackMatrixivNV = (PFNGLGETTRACKMATRIXIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetTrackMatrixivNV")) == NULL) || r;
04118 r = ((glGetVertexAttribPointervNV = (PFNGLGETVERTEXATTRIBPOINTERVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervNV")) == NULL) || r;
04119 r = ((glGetVertexAttribdvNV = (PFNGLGETVERTEXATTRIBDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvNV")) == NULL) || r;
04120 r = ((glGetVertexAttribfvNV = (PFNGLGETVERTEXATTRIBFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvNV")) == NULL) || r;
04121 r = ((glGetVertexAttribivNV = (PFNGLGETVERTEXATTRIBIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivNV")) == NULL) || r;
04122 r = ((glIsProgramNV = (PFNGLISPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glIsProgramNV")) == NULL) || r;
04123 r = ((glLoadProgramNV = (PFNGLLOADPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glLoadProgramNV")) == NULL) || r;
04124 r = ((glProgramParameter4dNV = (PFNGLPROGRAMPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dNV")) == NULL) || r;
04125 r = ((glProgramParameter4dvNV = (PFNGLPROGRAMPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dvNV")) == NULL) || r;
04126 r = ((glProgramParameter4fNV = (PFNGLPROGRAMPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fNV")) == NULL) || r;
04127 r = ((glProgramParameter4fvNV = (PFNGLPROGRAMPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fvNV")) == NULL) || r;
04128 r = ((glProgramParameters4dvNV = (PFNGLPROGRAMPARAMETERS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4dvNV")) == NULL) || r;
04129 r = ((glProgramParameters4fvNV = (PFNGLPROGRAMPARAMETERS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4fvNV")) == NULL) || r;
04130 r = ((glRequestResidentProgramsNV = (PFNGLREQUESTRESIDENTPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glRequestResidentProgramsNV")) == NULL) || r;
04131 r = ((glTrackMatrixNV = (PFNGLTRACKMATRIXNVPROC)glewGetProcAddress((const GLubyte*)"glTrackMatrixNV")) == NULL) || r;
04132 r = ((glVertexAttrib1dNV = (PFNGLVERTEXATTRIB1DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dNV")) == NULL) || r;
04133 r = ((glVertexAttrib1dvNV = (PFNGLVERTEXATTRIB1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvNV")) == NULL) || r;
04134 r = ((glVertexAttrib1fNV = (PFNGLVERTEXATTRIB1FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fNV")) == NULL) || r;
04135 r = ((glVertexAttrib1fvNV = (PFNGLVERTEXATTRIB1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvNV")) == NULL) || r;
04136 r = ((glVertexAttrib1sNV = (PFNGLVERTEXATTRIB1SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sNV")) == NULL) || r;
04137 r = ((glVertexAttrib1svNV = (PFNGLVERTEXATTRIB1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svNV")) == NULL) || r;
04138 r = ((glVertexAttrib2dNV = (PFNGLVERTEXATTRIB2DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dNV")) == NULL) || r;
04139 r = ((glVertexAttrib2dvNV = (PFNGLVERTEXATTRIB2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvNV")) == NULL) || r;
04140 r = ((glVertexAttrib2fNV = (PFNGLVERTEXATTRIB2FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fNV")) == NULL) || r;
04141 r = ((glVertexAttrib2fvNV = (PFNGLVERTEXATTRIB2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvNV")) == NULL) || r;
04142 r = ((glVertexAttrib2sNV = (PFNGLVERTEXATTRIB2SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sNV")) == NULL) || r;
04143 r = ((glVertexAttrib2svNV = (PFNGLVERTEXATTRIB2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svNV")) == NULL) || r;
04144 r = ((glVertexAttrib3dNV = (PFNGLVERTEXATTRIB3DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dNV")) == NULL) || r;
04145 r = ((glVertexAttrib3dvNV = (PFNGLVERTEXATTRIB3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvNV")) == NULL) || r;
04146 r = ((glVertexAttrib3fNV = (PFNGLVERTEXATTRIB3FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fNV")) == NULL) || r;
04147 r = ((glVertexAttrib3fvNV = (PFNGLVERTEXATTRIB3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvNV")) == NULL) || r;
04148 r = ((glVertexAttrib3sNV = (PFNGLVERTEXATTRIB3SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sNV")) == NULL) || r;
04149 r = ((glVertexAttrib3svNV = (PFNGLVERTEXATTRIB3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svNV")) == NULL) || r;
04150 r = ((glVertexAttrib4dNV = (PFNGLVERTEXATTRIB4DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dNV")) == NULL) || r;
04151 r = ((glVertexAttrib4dvNV = (PFNGLVERTEXATTRIB4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvNV")) == NULL) || r;
04152 r = ((glVertexAttrib4fNV = (PFNGLVERTEXATTRIB4FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fNV")) == NULL) || r;
04153 r = ((glVertexAttrib4fvNV = (PFNGLVERTEXATTRIB4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvNV")) == NULL) || r;
04154 r = ((glVertexAttrib4sNV = (PFNGLVERTEXATTRIB4SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sNV")) == NULL) || r;
04155 r = ((glVertexAttrib4svNV = (PFNGLVERTEXATTRIB4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svNV")) == NULL) || r;
04156 r = ((glVertexAttrib4ubNV = (PFNGLVERTEXATTRIB4UBNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubNV")) == NULL) || r;
04157 r = ((glVertexAttrib4ubvNV = (PFNGLVERTEXATTRIB4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvNV")) == NULL) || r;
04158 r = ((glVertexAttribPointerNV = (PFNGLVERTEXATTRIBPOINTERNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerNV")) == NULL) || r;
04159 r = ((glVertexAttribs1dvNV = (PFNGLVERTEXATTRIBS1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1dvNV")) == NULL) || r;
04160 r = ((glVertexAttribs1fvNV = (PFNGLVERTEXATTRIBS1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1fvNV")) == NULL) || r;
04161 r = ((glVertexAttribs1svNV = (PFNGLVERTEXATTRIBS1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1svNV")) == NULL) || r;
04162 r = ((glVertexAttribs2dvNV = (PFNGLVERTEXATTRIBS2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2dvNV")) == NULL) || r;
04163 r = ((glVertexAttribs2fvNV = (PFNGLVERTEXATTRIBS2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2fvNV")) == NULL) || r;
04164 r = ((glVertexAttribs2svNV = (PFNGLVERTEXATTRIBS2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2svNV")) == NULL) || r;
04165 r = ((glVertexAttribs3dvNV = (PFNGLVERTEXATTRIBS3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3dvNV")) == NULL) || r;
04166 r = ((glVertexAttribs3fvNV = (PFNGLVERTEXATTRIBS3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3fvNV")) == NULL) || r;
04167 r = ((glVertexAttribs3svNV = (PFNGLVERTEXATTRIBS3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3svNV")) == NULL) || r;
04168 r = ((glVertexAttribs4dvNV = (PFNGLVERTEXATTRIBS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4dvNV")) == NULL) || r;
04169 r = ((glVertexAttribs4fvNV = (PFNGLVERTEXATTRIBS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4fvNV")) == NULL) || r;
04170 r = ((glVertexAttribs4svNV = (PFNGLVERTEXATTRIBS4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4svNV")) == NULL) || r;
04171 r = ((glVertexAttribs4ubvNV = (PFNGLVERTEXATTRIBS4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4ubvNV")) == NULL) || r;
04172
04173 return r;
04174 }
04175
04176 #endif
04177
04178 #ifdef GL_NV_vertex_program1_1
04179
04180 #endif
04181
04182 #ifdef GL_NV_vertex_program2
04183
04184 #endif
04185
04186 #ifdef GL_NV_vertex_program2_option
04187
04188 #endif
04189
04190 #ifdef GL_NV_vertex_program3
04191
04192 #endif
04193
04194 #ifdef GL_OML_interlace
04195
04196 #endif
04197
04198 #ifdef GL_OML_resample
04199
04200 #endif
04201
04202 #ifdef GL_OML_subsample
04203
04204 #endif
04205
04206 #ifdef GL_PGI_misc_hints
04207
04208 #endif
04209
04210 #ifdef GL_PGI_vertex_hints
04211
04212 #endif
04213
04214 #ifdef GL_REND_screen_coordinates
04215
04216 #endif
04217
04218 #ifdef GL_S3_s3tc
04219
04220 #endif
04221
04222 #ifdef GL_SGIS_color_range
04223
04224 #endif
04225
04226 #ifdef GL_SGIS_detail_texture
04227
04228 static GLboolean _glewInit_GL_SGIS_detail_texture (GLEW_CONTEXT_ARG_DEF_INIT)
04229 {
04230 GLboolean r = GL_FALSE;
04231
04232 r = ((glDetailTexFuncSGIS = (PFNGLDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glDetailTexFuncSGIS")) == NULL) || r;
04233 r = ((glGetDetailTexFuncSGIS = (PFNGLGETDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetDetailTexFuncSGIS")) == NULL) || r;
04234
04235 return r;
04236 }
04237
04238 #endif
04239
04240 #ifdef GL_SGIS_fog_function
04241
04242 static GLboolean _glewInit_GL_SGIS_fog_function (GLEW_CONTEXT_ARG_DEF_INIT)
04243 {
04244 GLboolean r = GL_FALSE;
04245
04246 r = ((glFogFuncSGIS = (PFNGLFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glFogFuncSGIS")) == NULL) || r;
04247 r = ((glGetFogFuncSGIS = (PFNGLGETFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetFogFuncSGIS")) == NULL) || r;
04248
04249 return r;
04250 }
04251
04252 #endif
04253
04254 #ifdef GL_SGIS_generate_mipmap
04255
04256 #endif
04257
04258 #ifdef GL_SGIS_multisample
04259
04260 static GLboolean _glewInit_GL_SGIS_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
04261 {
04262 GLboolean r = GL_FALSE;
04263
04264 r = ((glSampleMaskSGIS = (PFNGLSAMPLEMASKSGISPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskSGIS")) == NULL) || r;
04265 r = ((glSamplePatternSGIS = (PFNGLSAMPLEPATTERNSGISPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternSGIS")) == NULL) || r;
04266
04267 return r;
04268 }
04269
04270 #endif
04271
04272 #ifdef GL_SGIS_pixel_texture
04273
04274 #endif
04275
04276 #ifdef GL_SGIS_sharpen_texture
04277
04278 static GLboolean _glewInit_GL_SGIS_sharpen_texture (GLEW_CONTEXT_ARG_DEF_INIT)
04279 {
04280 GLboolean r = GL_FALSE;
04281
04282 r = ((glGetSharpenTexFuncSGIS = (PFNGLGETSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetSharpenTexFuncSGIS")) == NULL) || r;
04283 r = ((glSharpenTexFuncSGIS = (PFNGLSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glSharpenTexFuncSGIS")) == NULL) || r;
04284
04285 return r;
04286 }
04287
04288 #endif
04289
04290 #ifdef GL_SGIS_texture4D
04291
04292 static GLboolean _glewInit_GL_SGIS_texture4D (GLEW_CONTEXT_ARG_DEF_INIT)
04293 {
04294 GLboolean r = GL_FALSE;
04295
04296 r = ((glTexImage4DSGIS = (PFNGLTEXIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexImage4DSGIS")) == NULL) || r;
04297 r = ((glTexSubImage4DSGIS = (PFNGLTEXSUBIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage4DSGIS")) == NULL) || r;
04298
04299 return r;
04300 }
04301
04302 #endif
04303
04304 #ifdef GL_SGIS_texture_border_clamp
04305
04306 #endif
04307
04308 #ifdef GL_SGIS_texture_edge_clamp
04309
04310 #endif
04311
04312 #ifdef GL_SGIS_texture_filter4
04313
04314 static GLboolean _glewInit_GL_SGIS_texture_filter4 (GLEW_CONTEXT_ARG_DEF_INIT)
04315 {
04316 GLboolean r = GL_FALSE;
04317
04318 r = ((glGetTexFilterFuncSGIS = (PFNGLGETTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetTexFilterFuncSGIS")) == NULL) || r;
04319 r = ((glTexFilterFuncSGIS = (PFNGLTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glTexFilterFuncSGIS")) == NULL) || r;
04320
04321 return r;
04322 }
04323
04324 #endif
04325
04326 #ifdef GL_SGIS_texture_lod
04327
04328 #endif
04329
04330 #ifdef GL_SGIS_texture_select
04331
04332 #endif
04333
04334 #ifdef GL_SGIX_async
04335
04336 static GLboolean _glewInit_GL_SGIX_async (GLEW_CONTEXT_ARG_DEF_INIT)
04337 {
04338 GLboolean r = GL_FALSE;
04339
04340 r = ((glAsyncMarkerSGIX = (PFNGLASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glAsyncMarkerSGIX")) == NULL) || r;
04341 r = ((glDeleteAsyncMarkersSGIX = (PFNGLDELETEASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteAsyncMarkersSGIX")) == NULL) || r;
04342 r = ((glFinishAsyncSGIX = (PFNGLFINISHASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glFinishAsyncSGIX")) == NULL) || r;
04343 r = ((glGenAsyncMarkersSGIX = (PFNGLGENASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenAsyncMarkersSGIX")) == NULL) || r;
04344 r = ((glIsAsyncMarkerSGIX = (PFNGLISASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsAsyncMarkerSGIX")) == NULL) || r;
04345 r = ((glPollAsyncSGIX = (PFNGLPOLLASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glPollAsyncSGIX")) == NULL) || r;
04346
04347 return r;
04348 }
04349
04350 #endif
04351
04352 #ifdef GL_SGIX_async_histogram
04353
04354 #endif
04355
04356 #ifdef GL_SGIX_async_pixel
04357
04358 #endif
04359
04360 #ifdef GL_SGIX_blend_alpha_minmax
04361
04362 #endif
04363
04364 #ifdef GL_SGIX_clipmap
04365
04366 #endif
04367
04368 #ifdef GL_SGIX_depth_texture
04369
04370 #endif
04371
04372 #ifdef GL_SGIX_flush_raster
04373
04374 static GLboolean _glewInit_GL_SGIX_flush_raster (GLEW_CONTEXT_ARG_DEF_INIT)
04375 {
04376 GLboolean r = GL_FALSE;
04377
04378 r = ((glFlushRasterSGIX = (PFNGLFLUSHRASTERSGIXPROC)glewGetProcAddress((const GLubyte*)"glFlushRasterSGIX")) == NULL) || r;
04379
04380 return r;
04381 }
04382
04383 #endif
04384
04385 #ifdef GL_SGIX_fog_offset
04386
04387 #endif
04388
04389 #ifdef GL_SGIX_fog_texture
04390
04391 static GLboolean _glewInit_GL_SGIX_fog_texture (GLEW_CONTEXT_ARG_DEF_INIT)
04392 {
04393 GLboolean r = GL_FALSE;
04394
04395 r = ((glTextureFogSGIX = (PFNGLTEXTUREFOGSGIXPROC)glewGetProcAddress((const GLubyte*)"glTextureFogSGIX")) == NULL) || r;
04396
04397 return r;
04398 }
04399
04400 #endif
04401
04402 #ifdef GL_SGIX_fragment_specular_lighting
04403
04404 static GLboolean _glewInit_GL_SGIX_fragment_specular_lighting (GLEW_CONTEXT_ARG_DEF_INIT)
04405 {
04406 GLboolean r = GL_FALSE;
04407
04408 r = ((glFragmentColorMaterialSGIX = (PFNGLFRAGMENTCOLORMATERIALSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialSGIX")) == NULL) || r;
04409 r = ((glFragmentLightModelfSGIX = (PFNGLFRAGMENTLIGHTMODELFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfSGIX")) == NULL) || r;
04410 r = ((glFragmentLightModelfvSGIX = (PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvSGIX")) == NULL) || r;
04411 r = ((glFragmentLightModeliSGIX = (PFNGLFRAGMENTLIGHTMODELISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliSGIX")) == NULL) || r;
04412 r = ((glFragmentLightModelivSGIX = (PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivSGIX")) == NULL) || r;
04413 r = ((glFragmentLightfSGIX = (PFNGLFRAGMENTLIGHTFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfSGIX")) == NULL) || r;
04414 r = ((glFragmentLightfvSGIX = (PFNGLFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvSGIX")) == NULL) || r;
04415 r = ((glFragmentLightiSGIX = (PFNGLFRAGMENTLIGHTISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiSGIX")) == NULL) || r;
04416 r = ((glFragmentLightivSGIX = (PFNGLFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivSGIX")) == NULL) || r;
04417 r = ((glFragmentMaterialfSGIX = (PFNGLFRAGMENTMATERIALFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfSGIX")) == NULL) || r;
04418 r = ((glFragmentMaterialfvSGIX = (PFNGLFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvSGIX")) == NULL) || r;
04419 r = ((glFragmentMaterialiSGIX = (PFNGLFRAGMENTMATERIALISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiSGIX")) == NULL) || r;
04420 r = ((glFragmentMaterialivSGIX = (PFNGLFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivSGIX")) == NULL) || r;
04421 r = ((glGetFragmentLightfvSGIX = (PFNGLGETFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvSGIX")) == NULL) || r;
04422 r = ((glGetFragmentLightivSGIX = (PFNGLGETFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivSGIX")) == NULL) || r;
04423 r = ((glGetFragmentMaterialfvSGIX = (PFNGLGETFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvSGIX")) == NULL) || r;
04424 r = ((glGetFragmentMaterialivSGIX = (PFNGLGETFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivSGIX")) == NULL) || r;
04425
04426 return r;
04427 }
04428
04429 #endif
04430
04431 #ifdef GL_SGIX_framezoom
04432
04433 static GLboolean _glewInit_GL_SGIX_framezoom (GLEW_CONTEXT_ARG_DEF_INIT)
04434 {
04435 GLboolean r = GL_FALSE;
04436
04437 r = ((glFrameZoomSGIX = (PFNGLFRAMEZOOMSGIXPROC)glewGetProcAddress((const GLubyte*)"glFrameZoomSGIX")) == NULL) || r;
04438
04439 return r;
04440 }
04441
04442 #endif
04443
04444 #ifdef GL_SGIX_interlace
04445
04446 #endif
04447
04448 #ifdef GL_SGIX_ir_instrument1
04449
04450 #endif
04451
04452 #ifdef GL_SGIX_list_priority
04453
04454 #endif
04455
04456 #ifdef GL_SGIX_pixel_texture
04457
04458 static GLboolean _glewInit_GL_SGIX_pixel_texture (GLEW_CONTEXT_ARG_DEF_INIT)
04459 {
04460 GLboolean r = GL_FALSE;
04461
04462 r = ((glPixelTexGenSGIX = (PFNGLPIXELTEXGENSGIXPROC)glewGetProcAddress((const GLubyte*)"glPixelTexGenSGIX")) == NULL) || r;
04463
04464 return r;
04465 }
04466
04467 #endif
04468
04469 #ifdef GL_SGIX_pixel_texture_bits
04470
04471 #endif
04472
04473 #ifdef GL_SGIX_reference_plane
04474
04475 static GLboolean _glewInit_GL_SGIX_reference_plane (GLEW_CONTEXT_ARG_DEF_INIT)
04476 {
04477 GLboolean r = GL_FALSE;
04478
04479 r = ((glReferencePlaneSGIX = (PFNGLREFERENCEPLANESGIXPROC)glewGetProcAddress((const GLubyte*)"glReferencePlaneSGIX")) == NULL) || r;
04480
04481 return r;
04482 }
04483
04484 #endif
04485
04486 #ifdef GL_SGIX_resample
04487
04488 #endif
04489
04490 #ifdef GL_SGIX_shadow
04491
04492 #endif
04493
04494 #ifdef GL_SGIX_shadow_ambient
04495
04496 #endif
04497
04498 #ifdef GL_SGIX_sprite
04499
04500 static GLboolean _glewInit_GL_SGIX_sprite (GLEW_CONTEXT_ARG_DEF_INIT)
04501 {
04502 GLboolean r = GL_FALSE;
04503
04504 r = ((glSpriteParameterfSGIX = (PFNGLSPRITEPARAMETERFSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfSGIX")) == NULL) || r;
04505 r = ((glSpriteParameterfvSGIX = (PFNGLSPRITEPARAMETERFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfvSGIX")) == NULL) || r;
04506 r = ((glSpriteParameteriSGIX = (PFNGLSPRITEPARAMETERISGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameteriSGIX")) == NULL) || r;
04507 r = ((glSpriteParameterivSGIX = (PFNGLSPRITEPARAMETERIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterivSGIX")) == NULL) || r;
04508
04509 return r;
04510 }
04511
04512 #endif
04513
04514 #ifdef GL_SGIX_tag_sample_buffer
04515
04516 static GLboolean _glewInit_GL_SGIX_tag_sample_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
04517 {
04518 GLboolean r = GL_FALSE;
04519
04520 r = ((glTagSampleBufferSGIX = (PFNGLTAGSAMPLEBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glTagSampleBufferSGIX")) == NULL) || r;
04521
04522 return r;
04523 }
04524
04525 #endif
04526
04527 #ifdef GL_SGIX_texture_add_env
04528
04529 #endif
04530
04531 #ifdef GL_SGIX_texture_coordinate_clamp
04532
04533 #endif
04534
04535 #ifdef GL_SGIX_texture_lod_bias
04536
04537 #endif
04538
04539 #ifdef GL_SGIX_texture_multi_buffer
04540
04541 #endif
04542
04543 #ifdef GL_SGIX_texture_range
04544
04545 #endif
04546
04547 #ifdef GL_SGIX_texture_scale_bias
04548
04549 #endif
04550
04551 #ifdef GL_SGIX_vertex_preclip
04552
04553 #endif
04554
04555 #ifdef GL_SGIX_vertex_preclip_hint
04556
04557 #endif
04558
04559 #ifdef GL_SGIX_ycrcb
04560
04561 #endif
04562
04563 #ifdef GL_SGI_color_matrix
04564
04565 #endif
04566
04567 #ifdef GL_SGI_color_table
04568
04569 static GLboolean _glewInit_GL_SGI_color_table (GLEW_CONTEXT_ARG_DEF_INIT)
04570 {
04571 GLboolean r = GL_FALSE;
04572
04573 r = ((glColorTableParameterfvSGI = (PFNGLCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfvSGI")) == NULL) || r;
04574 r = ((glColorTableParameterivSGI = (PFNGLCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterivSGI")) == NULL) || r;
04575 r = ((glColorTableSGI = (PFNGLCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableSGI")) == NULL) || r;
04576 r = ((glCopyColorTableSGI = (PFNGLCOPYCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTableSGI")) == NULL) || r;
04577 r = ((glGetColorTableParameterfvSGI = (PFNGLGETCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvSGI")) == NULL) || r;
04578 r = ((glGetColorTableParameterivSGI = (PFNGLGETCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivSGI")) == NULL) || r;
04579 r = ((glGetColorTableSGI = (PFNGLGETCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableSGI")) == NULL) || r;
04580
04581 return r;
04582 }
04583
04584 #endif
04585
04586 #ifdef GL_SGI_texture_color_table
04587
04588 #endif
04589
04590 #ifdef GL_SUNX_constant_data
04591
04592 static GLboolean _glewInit_GL_SUNX_constant_data (GLEW_CONTEXT_ARG_DEF_INIT)
04593 {
04594 GLboolean r = GL_FALSE;
04595
04596 r = ((glFinishTextureSUNX = (PFNGLFINISHTEXTURESUNXPROC)glewGetProcAddress((const GLubyte*)"glFinishTextureSUNX")) == NULL) || r;
04597
04598 return r;
04599 }
04600
04601 #endif
04602
04603 #ifdef GL_SUN_convolution_border_modes
04604
04605 #endif
04606
04607 #ifdef GL_SUN_global_alpha
04608
04609 static GLboolean _glewInit_GL_SUN_global_alpha (GLEW_CONTEXT_ARG_DEF_INIT)
04610 {
04611 GLboolean r = GL_FALSE;
04612
04613 r = ((glGlobalAlphaFactorbSUN = (PFNGLGLOBALALPHAFACTORBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorbSUN")) == NULL) || r;
04614 r = ((glGlobalAlphaFactordSUN = (PFNGLGLOBALALPHAFACTORDSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactordSUN")) == NULL) || r;
04615 r = ((glGlobalAlphaFactorfSUN = (PFNGLGLOBALALPHAFACTORFSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorfSUN")) == NULL) || r;
04616 r = ((glGlobalAlphaFactoriSUN = (PFNGLGLOBALALPHAFACTORISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoriSUN")) == NULL) || r;
04617 r = ((glGlobalAlphaFactorsSUN = (PFNGLGLOBALALPHAFACTORSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorsSUN")) == NULL) || r;
04618 r = ((glGlobalAlphaFactorubSUN = (PFNGLGLOBALALPHAFACTORUBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorubSUN")) == NULL) || r;
04619 r = ((glGlobalAlphaFactoruiSUN = (PFNGLGLOBALALPHAFACTORUISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoruiSUN")) == NULL) || r;
04620 r = ((glGlobalAlphaFactorusSUN = (PFNGLGLOBALALPHAFACTORUSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorusSUN")) == NULL) || r;
04621
04622 return r;
04623 }
04624
04625 #endif
04626
04627 #ifdef GL_SUN_mesh_array
04628
04629 #endif
04630
04631 #ifdef GL_SUN_read_video_pixels
04632
04633 static GLboolean _glewInit_GL_SUN_read_video_pixels (GLEW_CONTEXT_ARG_DEF_INIT)
04634 {
04635 GLboolean r = GL_FALSE;
04636
04637 r = ((glReadVideoPixelsSUN = (PFNGLREADVIDEOPIXELSSUNPROC)glewGetProcAddress((const GLubyte*)"glReadVideoPixelsSUN")) == NULL) || r;
04638
04639 return r;
04640 }
04641
04642 #endif
04643
04644 #ifdef GL_SUN_slice_accum
04645
04646 #endif
04647
04648 #ifdef GL_SUN_triangle_list
04649
04650 static GLboolean _glewInit_GL_SUN_triangle_list (GLEW_CONTEXT_ARG_DEF_INIT)
04651 {
04652 GLboolean r = GL_FALSE;
04653
04654 r = ((glReplacementCodePointerSUN = (PFNGLREPLACEMENTCODEPOINTERSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodePointerSUN")) == NULL) || r;
04655 r = ((glReplacementCodeubSUN = (PFNGLREPLACEMENTCODEUBSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubSUN")) == NULL) || r;
04656 r = ((glReplacementCodeubvSUN = (PFNGLREPLACEMENTCODEUBVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubvSUN")) == NULL) || r;
04657 r = ((glReplacementCodeuiSUN = (PFNGLREPLACEMENTCODEUISUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiSUN")) == NULL) || r;
04658 r = ((glReplacementCodeuivSUN = (PFNGLREPLACEMENTCODEUIVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuivSUN")) == NULL) || r;
04659 r = ((glReplacementCodeusSUN = (PFNGLREPLACEMENTCODEUSSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusSUN")) == NULL) || r;
04660 r = ((glReplacementCodeusvSUN = (PFNGLREPLACEMENTCODEUSVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusvSUN")) == NULL) || r;
04661
04662 return r;
04663 }
04664
04665 #endif
04666
04667 #ifdef GL_SUN_vertex
04668
04669 static GLboolean _glewInit_GL_SUN_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
04670 {
04671 GLboolean r = GL_FALSE;
04672
04673 r = ((glColor3fVertex3fSUN = (PFNGLCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fSUN")) == NULL) || r;
04674 r = ((glColor3fVertex3fvSUN = (PFNGLCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fvSUN")) == NULL) || r;
04675 r = ((glColor4fNormal3fVertex3fSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fSUN")) == NULL) || r;
04676 r = ((glColor4fNormal3fVertex3fvSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fvSUN")) == NULL) || r;
04677 r = ((glColor4ubVertex2fSUN = (PFNGLCOLOR4UBVERTEX2FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fSUN")) == NULL) || r;
04678 r = ((glColor4ubVertex2fvSUN = (PFNGLCOLOR4UBVERTEX2FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fvSUN")) == NULL) || r;
04679 r = ((glColor4ubVertex3fSUN = (PFNGLCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fSUN")) == NULL) || r;
04680 r = ((glColor4ubVertex3fvSUN = (PFNGLCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fvSUN")) == NULL) || r;
04681 r = ((glNormal3fVertex3fSUN = (PFNGLNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fSUN")) == NULL) || r;
04682 r = ((glNormal3fVertex3fvSUN = (PFNGLNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fvSUN")) == NULL) || r;
04683 r = ((glReplacementCodeuiColor3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fSUN")) == NULL) || r;
04684 r = ((glReplacementCodeuiColor3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fvSUN")) == NULL) || r;
04685 r = ((glReplacementCodeuiColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fSUN")) == NULL) || r;
04686 r = ((glReplacementCodeuiColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fvSUN")) == NULL) || r;
04687 r = ((glReplacementCodeuiColor4ubVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fSUN")) == NULL) || r;
04688 r = ((glReplacementCodeuiColor4ubVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fvSUN")) == NULL) || r;
04689 r = ((glReplacementCodeuiNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fSUN")) == NULL) || r;
04690 r = ((glReplacementCodeuiNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fvSUN")) == NULL) || r;
04691 r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
04692 r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
04693 r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
04694 r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
04695 r = ((glReplacementCodeuiTexCoord2fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fSUN")) == NULL) || r;
04696 r = ((glReplacementCodeuiTexCoord2fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fvSUN")) == NULL) || r;
04697 r = ((glReplacementCodeuiVertex3fSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fSUN")) == NULL) || r;
04698 r = ((glReplacementCodeuiVertex3fvSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fvSUN")) == NULL) || r;
04699 r = ((glTexCoord2fColor3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fSUN")) == NULL) || r;
04700 r = ((glTexCoord2fColor3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fvSUN")) == NULL) || r;
04701 r = ((glTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
04702 r = ((glTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
04703 r = ((glTexCoord2fColor4ubVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fSUN")) == NULL) || r;
04704 r = ((glTexCoord2fColor4ubVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fvSUN")) == NULL) || r;
04705 r = ((glTexCoord2fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
04706 r = ((glTexCoord2fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
04707 r = ((glTexCoord2fVertex3fSUN = (PFNGLTEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fSUN")) == NULL) || r;
04708 r = ((glTexCoord2fVertex3fvSUN = (PFNGLTEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fvSUN")) == NULL) || r;
04709 r = ((glTexCoord4fColor4fNormal3fVertex4fSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fSUN")) == NULL) || r;
04710 r = ((glTexCoord4fColor4fNormal3fVertex4fvSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fvSUN")) == NULL) || r;
04711 r = ((glTexCoord4fVertex4fSUN = (PFNGLTEXCOORD4FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fSUN")) == NULL) || r;
04712 r = ((glTexCoord4fVertex4fvSUN = (PFNGLTEXCOORD4FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fvSUN")) == NULL) || r;
04713
04714 return r;
04715 }
04716
04717 #endif
04718
04719 #ifdef GL_WIN_phong_shading
04720
04721 #endif
04722
04723 #ifdef GL_WIN_specular_fog
04724
04725 #endif
04726
04727 #ifdef GL_WIN_swap_hint
04728
04729 static GLboolean _glewInit_GL_WIN_swap_hint (GLEW_CONTEXT_ARG_DEF_INIT)
04730 {
04731 GLboolean r = GL_FALSE;
04732
04733 r = ((glAddSwapHintRectWIN = (PFNGLADDSWAPHINTRECTWINPROC)glewGetProcAddress((const GLubyte*)"glAddSwapHintRectWIN")) == NULL) || r;
04734
04735 return r;
04736 }
04737
04738 #endif
04739
04740
04741
04742
04743
04744
04745
04746
04747
04748 GLboolean glewGetExtension (const char* name)
04749 {
04750 GLubyte* p;
04751 GLubyte* end;
04752 GLuint len = _glewStrLen((const GLubyte*)name);
04753 p = (GLubyte*)glGetString(GL_EXTENSIONS);
04754 if (0 == p) return GL_FALSE;
04755 end = p + _glewStrLen(p);
04756 while (p < end)
04757 {
04758 GLuint n = _glewStrCLen(p, ' ');
04759 if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
04760 p += n+1;
04761 }
04762 return GL_FALSE;
04763 }
04764
04765
04766
04767 #ifndef GLEW_MX
04768 static
04769 #endif
04770 GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
04771 {
04772 const GLubyte* s;
04773 GLuint dot, major, minor;
04774
04775 s = glGetString(GL_VERSION);
04776 dot = _glewStrCLen(s, '.');
04777 major = dot-1;
04778 minor = dot+1;
04779 if (dot == 0 || s[minor] == '\0')
04780 return GLEW_ERROR_NO_GL_VERSION;
04781 if (s[major] == '1' && s[minor] == '0')
04782 {
04783 return GLEW_ERROR_GL_VERSION_10_ONLY;
04784 }
04785 else
04786 {
04787 if (s[major] >= '2')
04788 {
04789 GLEW_VERSION_1_1 = GL_TRUE;
04790 GLEW_VERSION_1_2 = GL_TRUE;
04791 GLEW_VERSION_1_3 = GL_TRUE;
04792 GLEW_VERSION_1_4 = GL_TRUE;
04793 GLEW_VERSION_1_5 = GL_TRUE;
04794 GLEW_VERSION_2_0 = GL_TRUE;
04795 }
04796 else
04797 {
04798 if (s[minor] >= '5')
04799 {
04800 GLEW_VERSION_1_1 = GL_TRUE;
04801 GLEW_VERSION_1_2 = GL_TRUE;
04802 GLEW_VERSION_1_3 = GL_TRUE;
04803 GLEW_VERSION_1_4 = GL_TRUE;
04804 GLEW_VERSION_1_5 = GL_TRUE;
04805 GLEW_VERSION_2_0 = GL_FALSE;
04806 }
04807 if (s[minor] == '4')
04808 {
04809 GLEW_VERSION_1_1 = GL_TRUE;
04810 GLEW_VERSION_1_2 = GL_TRUE;
04811 GLEW_VERSION_1_3 = GL_TRUE;
04812 GLEW_VERSION_1_4 = GL_TRUE;
04813 GLEW_VERSION_1_5 = GL_FALSE;
04814 GLEW_VERSION_2_0 = GL_FALSE;
04815 }
04816 if (s[minor] == '3')
04817 {
04818 GLEW_VERSION_1_1 = GL_TRUE;
04819 GLEW_VERSION_1_2 = GL_TRUE;
04820 GLEW_VERSION_1_3 = GL_TRUE;
04821 GLEW_VERSION_1_4 = GL_FALSE;
04822 GLEW_VERSION_1_5 = GL_FALSE;
04823 GLEW_VERSION_2_0 = GL_FALSE;
04824 }
04825 if (s[minor] == '2')
04826 {
04827 GLEW_VERSION_1_1 = GL_TRUE;
04828 GLEW_VERSION_1_2 = GL_TRUE;
04829 GLEW_VERSION_1_3 = GL_FALSE;
04830 GLEW_VERSION_1_4 = GL_FALSE;
04831 GLEW_VERSION_1_5 = GL_FALSE;
04832 GLEW_VERSION_2_0 = GL_FALSE;
04833 }
04834 if (s[minor] < '2')
04835 {
04836 GLEW_VERSION_1_1 = GL_TRUE;
04837 GLEW_VERSION_1_2 = GL_FALSE;
04838 GLEW_VERSION_1_3 = GL_FALSE;
04839 GLEW_VERSION_1_4 = GL_FALSE;
04840 GLEW_VERSION_1_5 = GL_FALSE;
04841 GLEW_VERSION_2_0 = GL_FALSE;
04842 }
04843 }
04844 }
04845
04846 #ifdef GL_VERSION_1_2
04847 if (glewExperimental || GLEW_VERSION_1_2) GLEW_VERSION_1_2 = !_glewInit_GL_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT);
04848 #endif
04849 #ifdef GL_VERSION_1_3
04850 if (glewExperimental || GLEW_VERSION_1_3) GLEW_VERSION_1_3 = !_glewInit_GL_VERSION_1_3(GLEW_CONTEXT_ARG_VAR_INIT);
04851 #endif
04852 #ifdef GL_VERSION_1_4
04853 if (glewExperimental || GLEW_VERSION_1_4) GLEW_VERSION_1_4 = !_glewInit_GL_VERSION_1_4(GLEW_CONTEXT_ARG_VAR_INIT);
04854 #endif
04855 #ifdef GL_VERSION_1_5
04856 if (glewExperimental || GLEW_VERSION_1_5) GLEW_VERSION_1_5 = !_glewInit_GL_VERSION_1_5(GLEW_CONTEXT_ARG_VAR_INIT);
04857 #endif
04858 #ifdef GL_VERSION_2_0
04859 if (glewExperimental || GLEW_VERSION_2_0) GLEW_VERSION_2_0 = !_glewInit_GL_VERSION_2_0(GLEW_CONTEXT_ARG_VAR_INIT);
04860 #endif
04861 #ifdef GL_3DFX_multisample
04862 GLEW_3DFX_multisample = glewGetExtension("GL_3DFX_multisample");
04863 #endif
04864 #ifdef GL_3DFX_tbuffer
04865 GLEW_3DFX_tbuffer = glewGetExtension("GL_3DFX_tbuffer");
04866 if (glewExperimental || GLEW_3DFX_tbuffer) GLEW_3DFX_tbuffer = !_glewInit_GL_3DFX_tbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
04867 #endif
04868 #ifdef GL_3DFX_texture_compression_FXT1
04869 GLEW_3DFX_texture_compression_FXT1 = glewGetExtension("GL_3DFX_texture_compression_FXT1");
04870 #endif
04871 #ifdef GL_APPLE_client_storage
04872 GLEW_APPLE_client_storage = glewGetExtension("GL_APPLE_client_storage");
04873 #endif
04874 #ifdef GL_APPLE_element_array
04875 GLEW_APPLE_element_array = glewGetExtension("GL_APPLE_element_array");
04876 if (glewExperimental || GLEW_APPLE_element_array) GLEW_APPLE_element_array = !_glewInit_GL_APPLE_element_array(GLEW_CONTEXT_ARG_VAR_INIT);
04877 #endif
04878 #ifdef GL_APPLE_fence
04879 GLEW_APPLE_fence = glewGetExtension("GL_APPLE_fence");
04880 if (glewExperimental || GLEW_APPLE_fence) GLEW_APPLE_fence = !_glewInit_GL_APPLE_fence(GLEW_CONTEXT_ARG_VAR_INIT);
04881 #endif
04882 #ifdef GL_APPLE_float_pixels
04883 GLEW_APPLE_float_pixels = glewGetExtension("GL_APPLE_float_pixels");
04884 #endif
04885 #ifdef GL_APPLE_pixel_buffer
04886 GLEW_APPLE_pixel_buffer = glewGetExtension("GL_APPLE_pixel_buffer");
04887 #endif
04888 #ifdef GL_APPLE_specular_vector
04889 GLEW_APPLE_specular_vector = glewGetExtension("GL_APPLE_specular_vector");
04890 #endif
04891 #ifdef GL_APPLE_texture_range
04892 GLEW_APPLE_texture_range = glewGetExtension("GL_APPLE_texture_range");
04893 if (glewExperimental || GLEW_APPLE_texture_range) GLEW_APPLE_texture_range = !_glewInit_GL_APPLE_texture_range(GLEW_CONTEXT_ARG_VAR_INIT);
04894 #endif
04895 #ifdef GL_APPLE_transform_hint
04896 GLEW_APPLE_transform_hint = glewGetExtension("GL_APPLE_transform_hint");
04897 #endif
04898 #ifdef GL_APPLE_vertex_array_object
04899 GLEW_APPLE_vertex_array_object = glewGetExtension("GL_APPLE_vertex_array_object");
04900 if (glewExperimental || GLEW_APPLE_vertex_array_object) GLEW_APPLE_vertex_array_object = !_glewInit_GL_APPLE_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT);
04901 #endif
04902 #ifdef GL_APPLE_vertex_array_range
04903 GLEW_APPLE_vertex_array_range = glewGetExtension("GL_APPLE_vertex_array_range");
04904 if (glewExperimental || GLEW_APPLE_vertex_array_range) GLEW_APPLE_vertex_array_range = !_glewInit_GL_APPLE_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
04905 #endif
04906 #ifdef GL_APPLE_ycbcr_422
04907 GLEW_APPLE_ycbcr_422 = glewGetExtension("GL_APPLE_ycbcr_422");
04908 #endif
04909 #ifdef GL_ARB_color_buffer_float
04910 GLEW_ARB_color_buffer_float = glewGetExtension("GL_ARB_color_buffer_float");
04911 if (glewExperimental || GLEW_ARB_color_buffer_float) GLEW_ARB_color_buffer_float = !_glewInit_GL_ARB_color_buffer_float(GLEW_CONTEXT_ARG_VAR_INIT);
04912 #endif
04913 #ifdef GL_ARB_depth_texture
04914 GLEW_ARB_depth_texture = glewGetExtension("GL_ARB_depth_texture");
04915 #endif
04916 #ifdef GL_ARB_draw_buffers
04917 GLEW_ARB_draw_buffers = glewGetExtension("GL_ARB_draw_buffers");
04918 if (glewExperimental || GLEW_ARB_draw_buffers) GLEW_ARB_draw_buffers = !_glewInit_GL_ARB_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
04919 #endif
04920 #ifdef GL_ARB_fragment_program
04921 GLEW_ARB_fragment_program = glewGetExtension("GL_ARB_fragment_program");
04922 #endif
04923 #ifdef GL_ARB_fragment_program_shadow
04924 GLEW_ARB_fragment_program_shadow = glewGetExtension("GL_ARB_fragment_program_shadow");
04925 #endif
04926 #ifdef GL_ARB_fragment_shader
04927 GLEW_ARB_fragment_shader = glewGetExtension("GL_ARB_fragment_shader");
04928 #endif
04929 #ifdef GL_ARB_half_float_pixel
04930 GLEW_ARB_half_float_pixel = glewGetExtension("GL_ARB_half_float_pixel");
04931 #endif
04932 #ifdef GL_ARB_imaging
04933 GLEW_ARB_imaging = glewGetExtension("GL_ARB_imaging");
04934 if (glewExperimental || GLEW_ARB_imaging) GLEW_ARB_imaging = !_glewInit_GL_ARB_imaging(GLEW_CONTEXT_ARG_VAR_INIT);
04935 #endif
04936 #ifdef GL_ARB_matrix_palette
04937 GLEW_ARB_matrix_palette = glewGetExtension("GL_ARB_matrix_palette");
04938 if (glewExperimental || GLEW_ARB_matrix_palette) GLEW_ARB_matrix_palette = !_glewInit_GL_ARB_matrix_palette(GLEW_CONTEXT_ARG_VAR_INIT);
04939 #endif
04940 #ifdef GL_ARB_multisample
04941 GLEW_ARB_multisample = glewGetExtension("GL_ARB_multisample");
04942 if (glewExperimental || GLEW_ARB_multisample) GLEW_ARB_multisample = !_glewInit_GL_ARB_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
04943 #endif
04944 #ifdef GL_ARB_multitexture
04945 GLEW_ARB_multitexture = glewGetExtension("GL_ARB_multitexture");
04946 if (glewExperimental || GLEW_ARB_multitexture) GLEW_ARB_multitexture = !_glewInit_GL_ARB_multitexture(GLEW_CONTEXT_ARG_VAR_INIT);
04947 #endif
04948 #ifdef GL_ARB_occlusion_query
04949 GLEW_ARB_occlusion_query = glewGetExtension("GL_ARB_occlusion_query");
04950 if (glewExperimental || GLEW_ARB_occlusion_query) GLEW_ARB_occlusion_query = !_glewInit_GL_ARB_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT);
04951 #endif
04952 #ifdef GL_ARB_pixel_buffer_object
04953 GLEW_ARB_pixel_buffer_object = glewGetExtension("GL_ARB_pixel_buffer_object");
04954 #endif
04955 #ifdef GL_ARB_point_parameters
04956 GLEW_ARB_point_parameters = glewGetExtension("GL_ARB_point_parameters");
04957 if (glewExperimental || GLEW_ARB_point_parameters) GLEW_ARB_point_parameters = !_glewInit_GL_ARB_point_parameters(GLEW_CONTEXT_ARG_VAR_INIT);
04958 #endif
04959 #ifdef GL_ARB_point_sprite
04960 GLEW_ARB_point_sprite = glewGetExtension("GL_ARB_point_sprite");
04961 #endif
04962 #ifdef GL_ARB_shader_objects
04963 GLEW_ARB_shader_objects = glewGetExtension("GL_ARB_shader_objects");
04964 if (glewExperimental || GLEW_ARB_shader_objects) GLEW_ARB_shader_objects = !_glewInit_GL_ARB_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT);
04965 #endif
04966 #ifdef GL_ARB_shading_language_100
04967 GLEW_ARB_shading_language_100 = glewGetExtension("GL_ARB_shading_language_100");
04968 #endif
04969 #ifdef GL_ARB_shadow
04970 GLEW_ARB_shadow = glewGetExtension("GL_ARB_shadow");
04971 #endif
04972 #ifdef GL_ARB_shadow_ambient
04973 GLEW_ARB_shadow_ambient = glewGetExtension("GL_ARB_shadow_ambient");
04974 #endif
04975 #ifdef GL_ARB_texture_border_clamp
04976 GLEW_ARB_texture_border_clamp = glewGetExtension("GL_ARB_texture_border_clamp");
04977 #endif
04978 #ifdef GL_ARB_texture_compression
04979 GLEW_ARB_texture_compression = glewGetExtension("GL_ARB_texture_compression");
04980 if (glewExperimental || GLEW_ARB_texture_compression) GLEW_ARB_texture_compression = !_glewInit_GL_ARB_texture_compression(GLEW_CONTEXT_ARG_VAR_INIT);
04981 #endif
04982 #ifdef GL_ARB_texture_cube_map
04983 GLEW_ARB_texture_cube_map = glewGetExtension("GL_ARB_texture_cube_map");
04984 #endif
04985 #ifdef GL_ARB_texture_env_add
04986 GLEW_ARB_texture_env_add = glewGetExtension("GL_ARB_texture_env_add");
04987 #endif
04988 #ifdef GL_ARB_texture_env_combine
04989 GLEW_ARB_texture_env_combine = glewGetExtension("GL_ARB_texture_env_combine");
04990 #endif
04991 #ifdef GL_ARB_texture_env_crossbar
04992 GLEW_ARB_texture_env_crossbar = glewGetExtension("GL_ARB_texture_env_crossbar");
04993 #endif
04994 #ifdef GL_ARB_texture_env_dot3
04995 GLEW_ARB_texture_env_dot3 = glewGetExtension("GL_ARB_texture_env_dot3");
04996 #endif
04997 #ifdef GL_ARB_texture_float
04998 GLEW_ARB_texture_float = glewGetExtension("GL_ARB_texture_float");
04999 #endif
05000 #ifdef GL_ARB_texture_mirrored_repeat
05001 GLEW_ARB_texture_mirrored_repeat = glewGetExtension("GL_ARB_texture_mirrored_repeat");
05002 #endif
05003 #ifdef GL_ARB_texture_non_power_of_two
05004 GLEW_ARB_texture_non_power_of_two = glewGetExtension("GL_ARB_texture_non_power_of_two");
05005 #endif
05006 #ifdef GL_ARB_texture_rectangle
05007 GLEW_ARB_texture_rectangle = glewGetExtension("GL_ARB_texture_rectangle");
05008 #endif
05009 #ifdef GL_ARB_transpose_matrix
05010 GLEW_ARB_transpose_matrix = glewGetExtension("GL_ARB_transpose_matrix");
05011 if (glewExperimental || GLEW_ARB_transpose_matrix) GLEW_ARB_transpose_matrix = !_glewInit_GL_ARB_transpose_matrix(GLEW_CONTEXT_ARG_VAR_INIT);
05012 #endif
05013 #ifdef GL_ARB_vertex_blend
05014 GLEW_ARB_vertex_blend = glewGetExtension("GL_ARB_vertex_blend");
05015 if (glewExperimental || GLEW_ARB_vertex_blend) GLEW_ARB_vertex_blend = !_glewInit_GL_ARB_vertex_blend(GLEW_CONTEXT_ARG_VAR_INIT);
05016 #endif
05017 #ifdef GL_ARB_vertex_buffer_object
05018 GLEW_ARB_vertex_buffer_object = glewGetExtension("GL_ARB_vertex_buffer_object");
05019 if (glewExperimental || GLEW_ARB_vertex_buffer_object) GLEW_ARB_vertex_buffer_object = !_glewInit_GL_ARB_vertex_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
05020 #endif
05021 #ifdef GL_ARB_vertex_program
05022 GLEW_ARB_vertex_program = glewGetExtension("GL_ARB_vertex_program");
05023 if (glewExperimental || GLEW_ARB_vertex_program) GLEW_ARB_vertex_program = !_glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT);
05024 #endif
05025 #ifdef GL_ARB_vertex_shader
05026 GLEW_ARB_vertex_shader = glewGetExtension("GL_ARB_vertex_shader");
05027 if (glewExperimental || GLEW_ARB_vertex_shader) { GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); _glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); }
05028 #endif
05029 #ifdef GL_ARB_window_pos
05030 GLEW_ARB_window_pos = glewGetExtension("GL_ARB_window_pos");
05031 if (glewExperimental || GLEW_ARB_window_pos) GLEW_ARB_window_pos = !_glewInit_GL_ARB_window_pos(GLEW_CONTEXT_ARG_VAR_INIT);
05032 #endif
05033 #ifdef GL_ATIX_point_sprites
05034 GLEW_ATIX_point_sprites = glewGetExtension("GL_ATIX_point_sprites");
05035 #endif
05036 #ifdef GL_ATIX_texture_env_combine3
05037 GLEW_ATIX_texture_env_combine3 = glewGetExtension("GL_ATIX_texture_env_combine3");
05038 #endif
05039 #ifdef GL_ATIX_texture_env_route
05040 GLEW_ATIX_texture_env_route = glewGetExtension("GL_ATIX_texture_env_route");
05041 #endif
05042 #ifdef GL_ATIX_vertex_shader_output_point_size
05043 GLEW_ATIX_vertex_shader_output_point_size = glewGetExtension("GL_ATIX_vertex_shader_output_point_size");
05044 #endif
05045 #ifdef GL_ATI_draw_buffers
05046 GLEW_ATI_draw_buffers = glewGetExtension("GL_ATI_draw_buffers");
05047 if (glewExperimental || GLEW_ATI_draw_buffers) GLEW_ATI_draw_buffers = !_glewInit_GL_ATI_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
05048 #endif
05049 #ifdef GL_ATI_element_array
05050 GLEW_ATI_element_array = glewGetExtension("GL_ATI_element_array");
05051 if (glewExperimental || GLEW_ATI_element_array) GLEW_ATI_element_array = !_glewInit_GL_ATI_element_array(GLEW_CONTEXT_ARG_VAR_INIT);
05052 #endif
05053 #ifdef GL_ATI_envmap_bumpmap
05054 GLEW_ATI_envmap_bumpmap = glewGetExtension("GL_ATI_envmap_bumpmap");
05055 if (glewExperimental || GLEW_ATI_envmap_bumpmap) GLEW_ATI_envmap_bumpmap = !_glewInit_GL_ATI_envmap_bumpmap(GLEW_CONTEXT_ARG_VAR_INIT);
05056 #endif
05057 #ifdef GL_ATI_fragment_shader
05058 GLEW_ATI_fragment_shader = glewGetExtension("GL_ATI_fragment_shader");
05059 if (glewExperimental || GLEW_ATI_fragment_shader) GLEW_ATI_fragment_shader = !_glewInit_GL_ATI_fragment_shader(GLEW_CONTEXT_ARG_VAR_INIT);
05060 #endif
05061 #ifdef GL_ATI_map_object_buffer
05062 GLEW_ATI_map_object_buffer = glewGetExtension("GL_ATI_map_object_buffer");
05063 if (glewExperimental || GLEW_ATI_map_object_buffer) GLEW_ATI_map_object_buffer = !_glewInit_GL_ATI_map_object_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
05064 #endif
05065 #ifdef GL_ATI_pn_triangles
05066 GLEW_ATI_pn_triangles = glewGetExtension("GL_ATI_pn_triangles");
05067 if (glewExperimental || GLEW_ATI_pn_triangles) GLEW_ATI_pn_triangles = !_glewInit_GL_ATI_pn_triangles(GLEW_CONTEXT_ARG_VAR_INIT);
05068 #endif
05069 #ifdef GL_ATI_separate_stencil
05070 GLEW_ATI_separate_stencil = glewGetExtension("GL_ATI_separate_stencil");
05071 if (glewExperimental || GLEW_ATI_separate_stencil) GLEW_ATI_separate_stencil = !_glewInit_GL_ATI_separate_stencil(GLEW_CONTEXT_ARG_VAR_INIT);
05072 #endif
05073 #ifdef GL_ATI_text_fragment_shader
05074 GLEW_ATI_text_fragment_shader = glewGetExtension("GL_ATI_text_fragment_shader");
05075 #endif
05076 #ifdef GL_ATI_texture_compression_3dc
05077 GLEW_ATI_texture_compression_3dc = glewGetExtension("GL_ATI_texture_compression_3dc");
05078 #endif
05079 #ifdef GL_ATI_texture_env_combine3
05080 GLEW_ATI_texture_env_combine3 = glewGetExtension("GL_ATI_texture_env_combine3");
05081 #endif
05082 #ifdef GL_ATI_texture_float
05083 GLEW_ATI_texture_float = glewGetExtension("GL_ATI_texture_float");
05084 #endif
05085 #ifdef GL_ATI_texture_mirror_once
05086 GLEW_ATI_texture_mirror_once = glewGetExtension("GL_ATI_texture_mirror_once");
05087 #endif
05088 #ifdef GL_ATI_vertex_array_object
05089 GLEW_ATI_vertex_array_object = glewGetExtension("GL_ATI_vertex_array_object");
05090 if (glewExperimental || GLEW_ATI_vertex_array_object) GLEW_ATI_vertex_array_object = !_glewInit_GL_ATI_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT);
05091 #endif
05092 #ifdef GL_ATI_vertex_attrib_array_object
05093 GLEW_ATI_vertex_attrib_array_object = glewGetExtension("GL_ATI_vertex_attrib_array_object");
05094 if (glewExperimental || GLEW_ATI_vertex_attrib_array_object) GLEW_ATI_vertex_attrib_array_object = !_glewInit_GL_ATI_vertex_attrib_array_object(GLEW_CONTEXT_ARG_VAR_INIT);
05095 #endif
05096 #ifdef GL_ATI_vertex_streams
05097 GLEW_ATI_vertex_streams = glewGetExtension("GL_ATI_vertex_streams");
05098 if (glewExperimental || GLEW_ATI_vertex_streams) GLEW_ATI_vertex_streams = !_glewInit_GL_ATI_vertex_streams(GLEW_CONTEXT_ARG_VAR_INIT);
05099 #endif
05100 #ifdef GL_EXT_422_pixels
05101 GLEW_EXT_422_pixels = glewGetExtension("GL_EXT_422_pixels");
05102 #endif
05103 #ifdef GL_EXT_Cg_shader
05104 GLEW_EXT_Cg_shader = glewGetExtension("GL_EXT_Cg_shader");
05105 #endif
05106 #ifdef GL_EXT_abgr
05107 GLEW_EXT_abgr = glewGetExtension("GL_EXT_abgr");
05108 #endif
05109 #ifdef GL_EXT_bgra
05110 GLEW_EXT_bgra = glewGetExtension("GL_EXT_bgra");
05111 #endif
05112 #ifdef GL_EXT_blend_color
05113 GLEW_EXT_blend_color = glewGetExtension("GL_EXT_blend_color");
05114 if (glewExperimental || GLEW_EXT_blend_color) GLEW_EXT_blend_color = !_glewInit_GL_EXT_blend_color(GLEW_CONTEXT_ARG_VAR_INIT);
05115 #endif
05116 #ifdef GL_EXT_blend_equation_separate
05117 GLEW_EXT_blend_equation_separate = glewGetExtension("GL_EXT_blend_equation_separate");
05118 if (glewExperimental || GLEW_EXT_blend_equation_separate) GLEW_EXT_blend_equation_separate = !_glewInit_GL_EXT_blend_equation_separate(GLEW_CONTEXT_ARG_VAR_INIT);
05119 #endif
05120 #ifdef GL_EXT_blend_func_separate
05121 GLEW_EXT_blend_func_separate = glewGetExtension("GL_EXT_blend_func_separate");
05122 if (glewExperimental || GLEW_EXT_blend_func_separate) GLEW_EXT_blend_func_separate = !_glewInit_GL_EXT_blend_func_separate(GLEW_CONTEXT_ARG_VAR_INIT);
05123 #endif
05124 #ifdef GL_EXT_blend_logic_op
05125 GLEW_EXT_blend_logic_op = glewGetExtension("GL_EXT_blend_logic_op");
05126 #endif
05127 #ifdef GL_EXT_blend_minmax
05128 GLEW_EXT_blend_minmax = glewGetExtension("GL_EXT_blend_minmax");
05129 if (glewExperimental || GLEW_EXT_blend_minmax) GLEW_EXT_blend_minmax = !_glewInit_GL_EXT_blend_minmax(GLEW_CONTEXT_ARG_VAR_INIT);
05130 #endif
05131 #ifdef GL_EXT_blend_subtract
05132 GLEW_EXT_blend_subtract = glewGetExtension("GL_EXT_blend_subtract");
05133 #endif
05134 #ifdef GL_EXT_clip_volume_hint
05135 GLEW_EXT_clip_volume_hint = glewGetExtension("GL_EXT_clip_volume_hint");
05136 #endif
05137 #ifdef GL_EXT_cmyka
05138 GLEW_EXT_cmyka = glewGetExtension("GL_EXT_cmyka");
05139 #endif
05140 #ifdef GL_EXT_color_subtable
05141 GLEW_EXT_color_subtable = glewGetExtension("GL_EXT_color_subtable");
05142 if (glewExperimental || GLEW_EXT_color_subtable) GLEW_EXT_color_subtable = !_glewInit_GL_EXT_color_subtable(GLEW_CONTEXT_ARG_VAR_INIT);
05143 #endif
05144 #ifdef GL_EXT_compiled_vertex_array
05145 GLEW_EXT_compiled_vertex_array = glewGetExtension("GL_EXT_compiled_vertex_array");
05146 if (glewExperimental || GLEW_EXT_compiled_vertex_array) GLEW_EXT_compiled_vertex_array = !_glewInit_GL_EXT_compiled_vertex_array(GLEW_CONTEXT_ARG_VAR_INIT);
05147 #endif
05148 #ifdef GL_EXT_convolution
05149 GLEW_EXT_convolution = glewGetExtension("GL_EXT_convolution");
05150 if (glewExperimental || GLEW_EXT_convolution) GLEW_EXT_convolution = !_glewInit_GL_EXT_convolution(GLEW_CONTEXT_ARG_VAR_INIT);
05151 #endif
05152 #ifdef GL_EXT_coordinate_frame
05153 GLEW_EXT_coordinate_frame = glewGetExtension("GL_EXT_coordinate_frame");
05154 if (glewExperimental || GLEW_EXT_coordinate_frame) GLEW_EXT_coordinate_frame = !_glewInit_GL_EXT_coordinate_frame(GLEW_CONTEXT_ARG_VAR_INIT);
05155 #endif
05156 #ifdef GL_EXT_copy_texture
05157 GLEW_EXT_copy_texture = glewGetExtension("GL_EXT_copy_texture");
05158 if (glewExperimental || GLEW_EXT_copy_texture) GLEW_EXT_copy_texture = !_glewInit_GL_EXT_copy_texture(GLEW_CONTEXT_ARG_VAR_INIT);
05159 #endif
05160 #ifdef GL_EXT_cull_vertex
05161 GLEW_EXT_cull_vertex = glewGetExtension("GL_EXT_cull_vertex");
05162 if (glewExperimental || GLEW_EXT_cull_vertex) GLEW_EXT_cull_vertex = !_glewInit_GL_EXT_cull_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
05163 #endif
05164 #ifdef GL_EXT_depth_bounds_test
05165 GLEW_EXT_depth_bounds_test = glewGetExtension("GL_EXT_depth_bounds_test");
05166 if (glewExperimental || GLEW_EXT_depth_bounds_test) GLEW_EXT_depth_bounds_test = !_glewInit_GL_EXT_depth_bounds_test(GLEW_CONTEXT_ARG_VAR_INIT);
05167 #endif
05168 #ifdef GL_EXT_draw_range_elements
05169 GLEW_EXT_draw_range_elements = glewGetExtension("GL_EXT_draw_range_elements");
05170 if (glewExperimental || GLEW_EXT_draw_range_elements) GLEW_EXT_draw_range_elements = !_glewInit_GL_EXT_draw_range_elements(GLEW_CONTEXT_ARG_VAR_INIT);
05171 #endif
05172 #ifdef GL_EXT_fog_coord
05173 GLEW_EXT_fog_coord = glewGetExtension("GL_EXT_fog_coord");
05174 if (glewExperimental || GLEW_EXT_fog_coord) GLEW_EXT_fog_coord = !_glewInit_GL_EXT_fog_coord(GLEW_CONTEXT_ARG_VAR_INIT);
05175 #endif
05176 #ifdef GL_EXT_fragment_lighting
05177 GLEW_EXT_fragment_lighting = glewGetExtension("GL_EXT_fragment_lighting");
05178 if (glewExperimental || GLEW_EXT_fragment_lighting) GLEW_EXT_fragment_lighting = !_glewInit_GL_EXT_fragment_lighting(GLEW_CONTEXT_ARG_VAR_INIT);
05179 #endif
05180 #ifdef GL_EXT_framebuffer_blit
05181 GLEW_EXT_framebuffer_blit = glewGetExtension("GL_EXT_framebuffer_blit");
05182 if (glewExperimental || GLEW_EXT_framebuffer_blit) GLEW_EXT_framebuffer_blit = !_glewInit_GL_EXT_framebuffer_blit(GLEW_CONTEXT_ARG_VAR_INIT);
05183 #endif
05184 #ifdef GL_EXT_framebuffer_multisample
05185 GLEW_EXT_framebuffer_multisample = glewGetExtension("GL_EXT_framebuffer_multisample");
05186 if (glewExperimental || GLEW_EXT_framebuffer_multisample) GLEW_EXT_framebuffer_multisample = !_glewInit_GL_EXT_framebuffer_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
05187 #endif
05188 #ifdef GL_EXT_framebuffer_object
05189 GLEW_EXT_framebuffer_object = glewGetExtension("GL_EXT_framebuffer_object");
05190 if (glewExperimental || GLEW_EXT_framebuffer_object) GLEW_EXT_framebuffer_object = !_glewInit_GL_EXT_framebuffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
05191 #endif
05192 #ifdef GL_EXT_histogram
05193 GLEW_EXT_histogram = glewGetExtension("GL_EXT_histogram");
05194 if (glewExperimental || GLEW_EXT_histogram) GLEW_EXT_histogram = !_glewInit_GL_EXT_histogram(GLEW_CONTEXT_ARG_VAR_INIT);
05195 #endif
05196 #ifdef GL_EXT_index_array_formats
05197 GLEW_EXT_index_array_formats = glewGetExtension("GL_EXT_index_array_formats");
05198 #endif
05199 #ifdef GL_EXT_index_func
05200 GLEW_EXT_index_func = glewGetExtension("GL_EXT_index_func");
05201 if (glewExperimental || GLEW_EXT_index_func) GLEW_EXT_index_func = !_glewInit_GL_EXT_index_func(GLEW_CONTEXT_ARG_VAR_INIT);
05202 #endif
05203 #ifdef GL_EXT_index_material
05204 GLEW_EXT_index_material = glewGetExtension("GL_EXT_index_material");
05205 if (glewExperimental || GLEW_EXT_index_material) GLEW_EXT_index_material = !_glewInit_GL_EXT_index_material(GLEW_CONTEXT_ARG_VAR_INIT);
05206 #endif
05207 #ifdef GL_EXT_index_texture
05208 GLEW_EXT_index_texture = glewGetExtension("GL_EXT_index_texture");
05209 #endif
05210 #ifdef GL_EXT_light_texture
05211 GLEW_EXT_light_texture = glewGetExtension("GL_EXT_light_texture");
05212 if (glewExperimental || GLEW_EXT_light_texture) GLEW_EXT_light_texture = !_glewInit_GL_EXT_light_texture(GLEW_CONTEXT_ARG_VAR_INIT);
05213 #endif
05214 #ifdef GL_EXT_misc_attribute
05215 GLEW_EXT_misc_attribute = glewGetExtension("GL_EXT_misc_attribute");
05216 #endif
05217 #ifdef GL_EXT_multi_draw_arrays
05218 GLEW_EXT_multi_draw_arrays = glewGetExtension("GL_EXT_multi_draw_arrays");
05219 if (glewExperimental || GLEW_EXT_multi_draw_arrays) GLEW_EXT_multi_draw_arrays = !_glewInit_GL_EXT_multi_draw_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
05220 #endif
05221 #ifdef GL_EXT_multisample
05222 GLEW_EXT_multisample = glewGetExtension("GL_EXT_multisample");
05223 if (glewExperimental || GLEW_EXT_multisample) GLEW_EXT_multisample = !_glewInit_GL_EXT_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
05224 #endif
05225 #ifdef GL_EXT_packed_depth_stencil
05226 GLEW_EXT_packed_depth_stencil = glewGetExtension("GL_EXT_packed_depth_stencil");
05227 #endif
05228 #ifdef GL_EXT_packed_pixels
05229 GLEW_EXT_packed_pixels = glewGetExtension("GL_EXT_packed_pixels");
05230 #endif
05231 #ifdef GL_EXT_paletted_texture
05232 GLEW_EXT_paletted_texture = glewGetExtension("GL_EXT_paletted_texture");
05233 if (glewExperimental || GLEW_EXT_paletted_texture) GLEW_EXT_paletted_texture = !_glewInit_GL_EXT_paletted_texture(GLEW_CONTEXT_ARG_VAR_INIT);
05234 #endif
05235 #ifdef GL_EXT_pixel_buffer_object
05236 GLEW_EXT_pixel_buffer_object = glewGetExtension("GL_EXT_pixel_buffer_object");
05237 #endif
05238 #ifdef GL_EXT_pixel_transform
05239 GLEW_EXT_pixel_transform = glewGetExtension("GL_EXT_pixel_transform");
05240 if (glewExperimental || GLEW_EXT_pixel_transform) GLEW_EXT_pixel_transform = !_glewInit_GL_EXT_pixel_transform(GLEW_CONTEXT_ARG_VAR_INIT);
05241 #endif
05242 #ifdef GL_EXT_pixel_transform_color_table
05243 GLEW_EXT_pixel_transform_color_table = glewGetExtension("GL_EXT_pixel_transform_color_table");
05244 #endif
05245 #ifdef GL_EXT_point_parameters
05246 GLEW_EXT_point_parameters = glewGetExtension("GL_EXT_point_parameters");
05247 if (glewExperimental || GLEW_EXT_point_parameters) GLEW_EXT_point_parameters = !_glewInit_GL_EXT_point_parameters(GLEW_CONTEXT_ARG_VAR_INIT);
05248 #endif
05249 #ifdef GL_EXT_polygon_offset
05250 GLEW_EXT_polygon_offset = glewGetExtension("GL_EXT_polygon_offset");
05251 if (glewExperimental || GLEW_EXT_polygon_offset) GLEW_EXT_polygon_offset = !_glewInit_GL_EXT_polygon_offset(GLEW_CONTEXT_ARG_VAR_INIT);
05252 #endif
05253 #ifdef GL_EXT_rescale_normal
05254 GLEW_EXT_rescale_normal = glewGetExtension("GL_EXT_rescale_normal");
05255 #endif
05256 #ifdef GL_EXT_scene_marker
05257 GLEW_EXT_scene_marker = glewGetExtension("GL_EXT_scene_marker");
05258 if (glewExperimental || GLEW_EXT_scene_marker) GLEW_EXT_scene_marker = !_glewInit_GL_EXT_scene_marker(GLEW_CONTEXT_ARG_VAR_INIT);
05259 #endif
05260 #ifdef GL_EXT_secondary_color
05261 GLEW_EXT_secondary_color = glewGetExtension("GL_EXT_secondary_color");
05262 if (glewExperimental || GLEW_EXT_secondary_color) GLEW_EXT_secondary_color = !_glewInit_GL_EXT_secondary_color(GLEW_CONTEXT_ARG_VAR_INIT);
05263 #endif
05264 #ifdef GL_EXT_separate_specular_color
05265 GLEW_EXT_separate_specular_color = glewGetExtension("GL_EXT_separate_specular_color");
05266 #endif
05267 #ifdef GL_EXT_shadow_funcs
05268 GLEW_EXT_shadow_funcs = glewGetExtension("GL_EXT_shadow_funcs");
05269 #endif
05270 #ifdef GL_EXT_shared_texture_palette
05271 GLEW_EXT_shared_texture_palette = glewGetExtension("GL_EXT_shared_texture_palette");
05272 #endif
05273 #ifdef GL_EXT_stencil_clear_tag
05274 GLEW_EXT_stencil_clear_tag = glewGetExtension("GL_EXT_stencil_clear_tag");
05275 #endif
05276 #ifdef GL_EXT_stencil_two_side
05277 GLEW_EXT_stencil_two_side = glewGetExtension("GL_EXT_stencil_two_side");
05278 if (glewExperimental || GLEW_EXT_stencil_two_side) GLEW_EXT_stencil_two_side = !_glewInit_GL_EXT_stencil_two_side(GLEW_CONTEXT_ARG_VAR_INIT);
05279 #endif
05280 #ifdef GL_EXT_stencil_wrap
05281 GLEW_EXT_stencil_wrap = glewGetExtension("GL_EXT_stencil_wrap");
05282 #endif
05283 #ifdef GL_EXT_subtexture
05284 GLEW_EXT_subtexture = glewGetExtension("GL_EXT_subtexture");
05285 if (glewExperimental || GLEW_EXT_subtexture) GLEW_EXT_subtexture = !_glewInit_GL_EXT_subtexture(GLEW_CONTEXT_ARG_VAR_INIT);
05286 #endif
05287 #ifdef GL_EXT_texture
05288 GLEW_EXT_texture = glewGetExtension("GL_EXT_texture");
05289 #endif
05290 #ifdef GL_EXT_texture3D
05291 GLEW_EXT_texture3D = glewGetExtension("GL_EXT_texture3D");
05292 if (glewExperimental || GLEW_EXT_texture3D) GLEW_EXT_texture3D = !_glewInit_GL_EXT_texture3D(GLEW_CONTEXT_ARG_VAR_INIT);
05293 #endif
05294 #ifdef GL_EXT_texture_compression_dxt1
05295 GLEW_EXT_texture_compression_dxt1 = glewGetExtension("GL_EXT_texture_compression_dxt1");
05296 #endif
05297 #ifdef GL_EXT_texture_compression_s3tc
05298 GLEW_EXT_texture_compression_s3tc = glewGetExtension("GL_EXT_texture_compression_s3tc");
05299 #endif
05300 #ifdef GL_EXT_texture_cube_map
05301 GLEW_EXT_texture_cube_map = glewGetExtension("GL_EXT_texture_cube_map");
05302 #endif
05303 #ifdef GL_EXT_texture_edge_clamp
05304 GLEW_EXT_texture_edge_clamp = glewGetExtension("GL_EXT_texture_edge_clamp");
05305 #endif
05306 #ifdef GL_EXT_texture_env
05307 GLEW_EXT_texture_env = glewGetExtension("GL_EXT_texture_env");
05308 #endif
05309 #ifdef GL_EXT_texture_env_add
05310 GLEW_EXT_texture_env_add = glewGetExtension("GL_EXT_texture_env_add");
05311 #endif
05312 #ifdef GL_EXT_texture_env_combine
05313 GLEW_EXT_texture_env_combine = glewGetExtension("GL_EXT_texture_env_combine");
05314 #endif
05315 #ifdef GL_EXT_texture_env_dot3
05316 GLEW_EXT_texture_env_dot3 = glewGetExtension("GL_EXT_texture_env_dot3");
05317 #endif
05318 #ifdef GL_EXT_texture_filter_anisotropic
05319 GLEW_EXT_texture_filter_anisotropic = glewGetExtension("GL_EXT_texture_filter_anisotropic");
05320 #endif
05321 #ifdef GL_EXT_texture_lod_bias
05322 GLEW_EXT_texture_lod_bias = glewGetExtension("GL_EXT_texture_lod_bias");
05323 #endif
05324 #ifdef GL_EXT_texture_mirror_clamp
05325 GLEW_EXT_texture_mirror_clamp = glewGetExtension("GL_EXT_texture_mirror_clamp");
05326 #endif
05327 #ifdef GL_EXT_texture_object
05328 GLEW_EXT_texture_object = glewGetExtension("GL_EXT_texture_object");
05329 if (glewExperimental || GLEW_EXT_texture_object) GLEW_EXT_texture_object = !_glewInit_GL_EXT_texture_object(GLEW_CONTEXT_ARG_VAR_INIT);
05330 #endif
05331 #ifdef GL_EXT_texture_perturb_normal
05332 GLEW_EXT_texture_perturb_normal = glewGetExtension("GL_EXT_texture_perturb_normal");
05333 if (glewExperimental || GLEW_EXT_texture_perturb_normal) GLEW_EXT_texture_perturb_normal = !_glewInit_GL_EXT_texture_perturb_normal(GLEW_CONTEXT_ARG_VAR_INIT);
05334 #endif
05335 #ifdef GL_EXT_texture_rectangle
05336 GLEW_EXT_texture_rectangle = glewGetExtension("GL_EXT_texture_rectangle");
05337 #endif
05338 #ifdef GL_EXT_texture_sRGB
05339 GLEW_EXT_texture_sRGB = glewGetExtension("GL_EXT_texture_sRGB");
05340 #endif
05341 #ifdef GL_EXT_vertex_array
05342 GLEW_EXT_vertex_array = glewGetExtension("GL_EXT_vertex_array");
05343 if (glewExperimental || GLEW_EXT_vertex_array) GLEW_EXT_vertex_array = !_glewInit_GL_EXT_vertex_array(GLEW_CONTEXT_ARG_VAR_INIT);
05344 #endif
05345 #ifdef GL_EXT_vertex_shader
05346 GLEW_EXT_vertex_shader = glewGetExtension("GL_EXT_vertex_shader");
05347 if (glewExperimental || GLEW_EXT_vertex_shader) GLEW_EXT_vertex_shader = !_glewInit_GL_EXT_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT);
05348 #endif
05349 #ifdef GL_EXT_vertex_weighting
05350 GLEW_EXT_vertex_weighting = glewGetExtension("GL_EXT_vertex_weighting");
05351 if (glewExperimental || GLEW_EXT_vertex_weighting) GLEW_EXT_vertex_weighting = !_glewInit_GL_EXT_vertex_weighting(GLEW_CONTEXT_ARG_VAR_INIT);
05352 #endif
05353 #ifdef GL_GREMEDY_string_marker
05354 GLEW_GREMEDY_string_marker = glewGetExtension("GL_GREMEDY_string_marker");
05355 if (glewExperimental || GLEW_GREMEDY_string_marker) GLEW_GREMEDY_string_marker = !_glewInit_GL_GREMEDY_string_marker(GLEW_CONTEXT_ARG_VAR_INIT);
05356 #endif
05357 #ifdef GL_HP_convolution_border_modes
05358 GLEW_HP_convolution_border_modes = glewGetExtension("GL_HP_convolution_border_modes");
05359 #endif
05360 #ifdef GL_HP_image_transform
05361 GLEW_HP_image_transform = glewGetExtension("GL_HP_image_transform");
05362 if (glewExperimental || GLEW_HP_image_transform) GLEW_HP_image_transform = !_glewInit_GL_HP_image_transform(GLEW_CONTEXT_ARG_VAR_INIT);
05363 #endif
05364 #ifdef GL_HP_occlusion_test
05365 GLEW_HP_occlusion_test = glewGetExtension("GL_HP_occlusion_test");
05366 #endif
05367 #ifdef GL_HP_texture_lighting
05368 GLEW_HP_texture_lighting = glewGetExtension("GL_HP_texture_lighting");
05369 #endif
05370 #ifdef GL_IBM_cull_vertex
05371 GLEW_IBM_cull_vertex = glewGetExtension("GL_IBM_cull_vertex");
05372 #endif
05373 #ifdef GL_IBM_multimode_draw_arrays
05374 GLEW_IBM_multimode_draw_arrays = glewGetExtension("GL_IBM_multimode_draw_arrays");
05375 if (glewExperimental || GLEW_IBM_multimode_draw_arrays) GLEW_IBM_multimode_draw_arrays = !_glewInit_GL_IBM_multimode_draw_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
05376 #endif
05377 #ifdef GL_IBM_rasterpos_clip
05378 GLEW_IBM_rasterpos_clip = glewGetExtension("GL_IBM_rasterpos_clip");
05379 #endif
05380 #ifdef GL_IBM_static_data
05381 GLEW_IBM_static_data = glewGetExtension("GL_IBM_static_data");
05382 #endif
05383 #ifdef GL_IBM_texture_mirrored_repeat
05384 GLEW_IBM_texture_mirrored_repeat = glewGetExtension("GL_IBM_texture_mirrored_repeat");
05385 #endif
05386 #ifdef GL_IBM_vertex_array_lists
05387 GLEW_IBM_vertex_array_lists = glewGetExtension("GL_IBM_vertex_array_lists");
05388 if (glewExperimental || GLEW_IBM_vertex_array_lists) GLEW_IBM_vertex_array_lists = !_glewInit_GL_IBM_vertex_array_lists(GLEW_CONTEXT_ARG_VAR_INIT);
05389 #endif
05390 #ifdef GL_INGR_color_clamp
05391 GLEW_INGR_color_clamp = glewGetExtension("GL_INGR_color_clamp");
05392 #endif
05393 #ifdef GL_INGR_interlace_read
05394 GLEW_INGR_interlace_read = glewGetExtension("GL_INGR_interlace_read");
05395 #endif
05396 #ifdef GL_INTEL_parallel_arrays
05397 GLEW_INTEL_parallel_arrays = glewGetExtension("GL_INTEL_parallel_arrays");
05398 if (glewExperimental || GLEW_INTEL_parallel_arrays) GLEW_INTEL_parallel_arrays = !_glewInit_GL_INTEL_parallel_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
05399 #endif
05400 #ifdef GL_INTEL_texture_scissor
05401 GLEW_INTEL_texture_scissor = glewGetExtension("GL_INTEL_texture_scissor");
05402 if (glewExperimental || GLEW_INTEL_texture_scissor) GLEW_INTEL_texture_scissor = !_glewInit_GL_INTEL_texture_scissor(GLEW_CONTEXT_ARG_VAR_INIT);
05403 #endif
05404 #ifdef GL_KTX_buffer_region
05405 GLEW_KTX_buffer_region = glewGetExtension("GL_KTX_buffer_region");
05406 if (glewExperimental || GLEW_KTX_buffer_region) GLEW_KTX_buffer_region = !_glewInit_GL_KTX_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT);
05407 #endif
05408 #ifdef GL_MESAX_texture_stack
05409 GLEW_MESAX_texture_stack = glewGetExtension("GL_MESAX_texture_stack");
05410 #endif
05411 #ifdef GL_MESA_pack_invert
05412 GLEW_MESA_pack_invert = glewGetExtension("GL_MESA_pack_invert");
05413 #endif
05414 #ifdef GL_MESA_resize_buffers
05415 GLEW_MESA_resize_buffers = glewGetExtension("GL_MESA_resize_buffers");
05416 if (glewExperimental || GLEW_MESA_resize_buffers) GLEW_MESA_resize_buffers = !_glewInit_GL_MESA_resize_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
05417 #endif
05418 #ifdef GL_MESA_window_pos
05419 GLEW_MESA_window_pos = glewGetExtension("GL_MESA_window_pos");
05420 if (glewExperimental || GLEW_MESA_window_pos) GLEW_MESA_window_pos = !_glewInit_GL_MESA_window_pos(GLEW_CONTEXT_ARG_VAR_INIT);
05421 #endif
05422 #ifdef GL_MESA_ycbcr_texture
05423 GLEW_MESA_ycbcr_texture = glewGetExtension("GL_MESA_ycbcr_texture");
05424 #endif
05425 #ifdef GL_NV_blend_square
05426 GLEW_NV_blend_square = glewGetExtension("GL_NV_blend_square");
05427 #endif
05428 #ifdef GL_NV_copy_depth_to_color
05429 GLEW_NV_copy_depth_to_color = glewGetExtension("GL_NV_copy_depth_to_color");
05430 #endif
05431 #ifdef GL_NV_depth_clamp
05432 GLEW_NV_depth_clamp = glewGetExtension("GL_NV_depth_clamp");
05433 #endif
05434 #ifdef GL_NV_evaluators
05435 GLEW_NV_evaluators = glewGetExtension("GL_NV_evaluators");
05436 if (glewExperimental || GLEW_NV_evaluators) GLEW_NV_evaluators = !_glewInit_GL_NV_evaluators(GLEW_CONTEXT_ARG_VAR_INIT);
05437 #endif
05438 #ifdef GL_NV_fence
05439 GLEW_NV_fence = glewGetExtension("GL_NV_fence");
05440 if (glewExperimental || GLEW_NV_fence) GLEW_NV_fence = !_glewInit_GL_NV_fence(GLEW_CONTEXT_ARG_VAR_INIT);
05441 #endif
05442 #ifdef GL_NV_float_buffer
05443 GLEW_NV_float_buffer = glewGetExtension("GL_NV_float_buffer");
05444 #endif
05445 #ifdef GL_NV_fog_distance
05446 GLEW_NV_fog_distance = glewGetExtension("GL_NV_fog_distance");
05447 #endif
05448 #ifdef GL_NV_fragment_program
05449 GLEW_NV_fragment_program = glewGetExtension("GL_NV_fragment_program");
05450 if (glewExperimental || GLEW_NV_fragment_program) GLEW_NV_fragment_program = !_glewInit_GL_NV_fragment_program(GLEW_CONTEXT_ARG_VAR_INIT);
05451 #endif
05452 #ifdef GL_NV_fragment_program2
05453 GLEW_NV_fragment_program2 = glewGetExtension("GL_NV_fragment_program2");
05454 #endif
05455 #ifdef GL_NV_fragment_program_option
05456 GLEW_NV_fragment_program_option = glewGetExtension("GL_NV_fragment_program_option");
05457 #endif
05458 #ifdef GL_NV_half_float
05459 GLEW_NV_half_float = glewGetExtension("GL_NV_half_float");
05460 if (glewExperimental || GLEW_NV_half_float) GLEW_NV_half_float = !_glewInit_GL_NV_half_float(GLEW_CONTEXT_ARG_VAR_INIT);
05461 #endif
05462 #ifdef GL_NV_light_max_exponent
05463 GLEW_NV_light_max_exponent = glewGetExtension("GL_NV_light_max_exponent");
05464 #endif
05465 #ifdef GL_NV_multisample_filter_hint
05466 GLEW_NV_multisample_filter_hint = glewGetExtension("GL_NV_multisample_filter_hint");
05467 #endif
05468 #ifdef GL_NV_occlusion_query
05469 GLEW_NV_occlusion_query = glewGetExtension("GL_NV_occlusion_query");
05470 if (glewExperimental || GLEW_NV_occlusion_query) GLEW_NV_occlusion_query = !_glewInit_GL_NV_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT);
05471 #endif
05472 #ifdef GL_NV_packed_depth_stencil
05473 GLEW_NV_packed_depth_stencil = glewGetExtension("GL_NV_packed_depth_stencil");
05474 #endif
05475 #ifdef GL_NV_pixel_data_range
05476 GLEW_NV_pixel_data_range = glewGetExtension("GL_NV_pixel_data_range");
05477 if (glewExperimental || GLEW_NV_pixel_data_range) GLEW_NV_pixel_data_range = !_glewInit_GL_NV_pixel_data_range(GLEW_CONTEXT_ARG_VAR_INIT);
05478 #endif
05479 #ifdef GL_NV_point_sprite
05480 GLEW_NV_point_sprite = glewGetExtension("GL_NV_point_sprite");
05481 if (glewExperimental || GLEW_NV_point_sprite) GLEW_NV_point_sprite = !_glewInit_GL_NV_point_sprite(GLEW_CONTEXT_ARG_VAR_INIT);
05482 #endif
05483 #ifdef GL_NV_primitive_restart
05484 GLEW_NV_primitive_restart = glewGetExtension("GL_NV_primitive_restart");
05485 if (glewExperimental || GLEW_NV_primitive_restart) GLEW_NV_primitive_restart = !_glewInit_GL_NV_primitive_restart(GLEW_CONTEXT_ARG_VAR_INIT);
05486 #endif
05487 #ifdef GL_NV_register_combiners
05488 GLEW_NV_register_combiners = glewGetExtension("GL_NV_register_combiners");
05489 if (glewExperimental || GLEW_NV_register_combiners) GLEW_NV_register_combiners = !_glewInit_GL_NV_register_combiners(GLEW_CONTEXT_ARG_VAR_INIT);
05490 #endif
05491 #ifdef GL_NV_register_combiners2
05492 GLEW_NV_register_combiners2 = glewGetExtension("GL_NV_register_combiners2");
05493 if (glewExperimental || GLEW_NV_register_combiners2) GLEW_NV_register_combiners2 = !_glewInit_GL_NV_register_combiners2(GLEW_CONTEXT_ARG_VAR_INIT);
05494 #endif
05495 #ifdef GL_NV_texgen_emboss
05496 GLEW_NV_texgen_emboss = glewGetExtension("GL_NV_texgen_emboss");
05497 #endif
05498 #ifdef GL_NV_texgen_reflection
05499 GLEW_NV_texgen_reflection = glewGetExtension("GL_NV_texgen_reflection");
05500 #endif
05501 #ifdef GL_NV_texture_compression_vtc
05502 GLEW_NV_texture_compression_vtc = glewGetExtension("GL_NV_texture_compression_vtc");
05503 #endif
05504 #ifdef GL_NV_texture_env_combine4
05505 GLEW_NV_texture_env_combine4 = glewGetExtension("GL_NV_texture_env_combine4");
05506 #endif
05507 #ifdef GL_NV_texture_expand_normal
05508 GLEW_NV_texture_expand_normal = glewGetExtension("GL_NV_texture_expand_normal");
05509 #endif
05510 #ifdef GL_NV_texture_rectangle
05511 GLEW_NV_texture_rectangle = glewGetExtension("GL_NV_texture_rectangle");
05512 #endif
05513 #ifdef GL_NV_texture_shader
05514 GLEW_NV_texture_shader = glewGetExtension("GL_NV_texture_shader");
05515 #endif
05516 #ifdef GL_NV_texture_shader2
05517 GLEW_NV_texture_shader2 = glewGetExtension("GL_NV_texture_shader2");
05518 #endif
05519 #ifdef GL_NV_texture_shader3
05520 GLEW_NV_texture_shader3 = glewGetExtension("GL_NV_texture_shader3");
05521 #endif
05522 #ifdef GL_NV_vertex_array_range
05523 GLEW_NV_vertex_array_range = glewGetExtension("GL_NV_vertex_array_range");
05524 if (glewExperimental || GLEW_NV_vertex_array_range) GLEW_NV_vertex_array_range = !_glewInit_GL_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
05525 #endif
05526 #ifdef GL_NV_vertex_array_range2
05527 GLEW_NV_vertex_array_range2 = glewGetExtension("GL_NV_vertex_array_range2");
05528 #endif
05529 #ifdef GL_NV_vertex_program
05530 GLEW_NV_vertex_program = glewGetExtension("GL_NV_vertex_program");
05531 if (glewExperimental || GLEW_NV_vertex_program) GLEW_NV_vertex_program = !_glewInit_GL_NV_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT);
05532 #endif
05533 #ifdef GL_NV_vertex_program1_1
05534 GLEW_NV_vertex_program1_1 = glewGetExtension("GL_NV_vertex_program1_1");
05535 #endif
05536 #ifdef GL_NV_vertex_program2
05537 GLEW_NV_vertex_program2 = glewGetExtension("GL_NV_vertex_program2");
05538 #endif
05539 #ifdef GL_NV_vertex_program2_option
05540 GLEW_NV_vertex_program2_option = glewGetExtension("GL_NV_vertex_program2_option");
05541 #endif
05542 #ifdef GL_NV_vertex_program3
05543 GLEW_NV_vertex_program3 = glewGetExtension("GL_NV_vertex_program3");
05544 #endif
05545 #ifdef GL_OML_interlace
05546 GLEW_OML_interlace = glewGetExtension("GL_OML_interlace");
05547 #endif
05548 #ifdef GL_OML_resample
05549 GLEW_OML_resample = glewGetExtension("GL_OML_resample");
05550 #endif
05551 #ifdef GL_OML_subsample
05552 GLEW_OML_subsample = glewGetExtension("GL_OML_subsample");
05553 #endif
05554 #ifdef GL_PGI_misc_hints
05555 GLEW_PGI_misc_hints = glewGetExtension("GL_PGI_misc_hints");
05556 #endif
05557 #ifdef GL_PGI_vertex_hints
05558 GLEW_PGI_vertex_hints = glewGetExtension("GL_PGI_vertex_hints");
05559 #endif
05560 #ifdef GL_REND_screen_coordinates
05561 GLEW_REND_screen_coordinates = glewGetExtension("GL_REND_screen_coordinates");
05562 #endif
05563 #ifdef GL_S3_s3tc
05564 GLEW_S3_s3tc = glewGetExtension("GL_S3_s3tc");
05565 #endif
05566 #ifdef GL_SGIS_color_range
05567 GLEW_SGIS_color_range = glewGetExtension("GL_SGIS_color_range");
05568 #endif
05569 #ifdef GL_SGIS_detail_texture
05570 GLEW_SGIS_detail_texture = glewGetExtension("GL_SGIS_detail_texture");
05571 if (glewExperimental || GLEW_SGIS_detail_texture) GLEW_SGIS_detail_texture = !_glewInit_GL_SGIS_detail_texture(GLEW_CONTEXT_ARG_VAR_INIT);
05572 #endif
05573 #ifdef GL_SGIS_fog_function
05574 GLEW_SGIS_fog_function = glewGetExtension("GL_SGIS_fog_function");
05575 if (glewExperimental || GLEW_SGIS_fog_function) GLEW_SGIS_fog_function = !_glewInit_GL_SGIS_fog_function(GLEW_CONTEXT_ARG_VAR_INIT);
05576 #endif
05577 #ifdef GL_SGIS_generate_mipmap
05578 GLEW_SGIS_generate_mipmap = glewGetExtension("GL_SGIS_generate_mipmap");
05579 #endif
05580 #ifdef GL_SGIS_multisample
05581 GLEW_SGIS_multisample = glewGetExtension("GL_SGIS_multisample");
05582 if (glewExperimental || GLEW_SGIS_multisample) GLEW_SGIS_multisample = !_glewInit_GL_SGIS_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
05583 #endif
05584 #ifdef GL_SGIS_pixel_texture
05585 GLEW_SGIS_pixel_texture = glewGetExtension("GL_SGIS_pixel_texture");
05586 #endif
05587 #ifdef GL_SGIS_sharpen_texture
05588 GLEW_SGIS_sharpen_texture = glewGetExtension("GL_SGIS_sharpen_texture");
05589 if (glewExperimental || GLEW_SGIS_sharpen_texture) GLEW_SGIS_sharpen_texture = !_glewInit_GL_SGIS_sharpen_texture(GLEW_CONTEXT_ARG_VAR_INIT);
05590 #endif
05591 #ifdef GL_SGIS_texture4D
05592 GLEW_SGIS_texture4D = glewGetExtension("GL_SGIS_texture4D");
05593 if (glewExperimental || GLEW_SGIS_texture4D) GLEW_SGIS_texture4D = !_glewInit_GL_SGIS_texture4D(GLEW_CONTEXT_ARG_VAR_INIT);
05594 #endif
05595 #ifdef GL_SGIS_texture_border_clamp
05596 GLEW_SGIS_texture_border_clamp = glewGetExtension("GL_SGIS_texture_border_clamp");
05597 #endif
05598 #ifdef GL_SGIS_texture_edge_clamp
05599 GLEW_SGIS_texture_edge_clamp = glewGetExtension("GL_SGIS_texture_edge_clamp");
05600 #endif
05601 #ifdef GL_SGIS_texture_filter4
05602 GLEW_SGIS_texture_filter4 = glewGetExtension("GL_SGIS_texture_filter4");
05603 if (glewExperimental || GLEW_SGIS_texture_filter4) GLEW_SGIS_texture_filter4 = !_glewInit_GL_SGIS_texture_filter4(GLEW_CONTEXT_ARG_VAR_INIT);
05604 #endif
05605 #ifdef GL_SGIS_texture_lod
05606 GLEW_SGIS_texture_lod = glewGetExtension("GL_SGIS_texture_lod");
05607 #endif
05608 #ifdef GL_SGIS_texture_select
05609 GLEW_SGIS_texture_select = glewGetExtension("GL_SGIS_texture_select");
05610 #endif
05611 #ifdef GL_SGIX_async
05612 GLEW_SGIX_async = glewGetExtension("GL_SGIX_async");
05613 if (glewExperimental || GLEW_SGIX_async) GLEW_SGIX_async = !_glewInit_GL_SGIX_async(GLEW_CONTEXT_ARG_VAR_INIT);
05614 #endif
05615 #ifdef GL_SGIX_async_histogram
05616 GLEW_SGIX_async_histogram = glewGetExtension("GL_SGIX_async_histogram");
05617 #endif
05618 #ifdef GL_SGIX_async_pixel
05619 GLEW_SGIX_async_pixel = glewGetExtension("GL_SGIX_async_pixel");
05620 #endif
05621 #ifdef GL_SGIX_blend_alpha_minmax
05622 GLEW_SGIX_blend_alpha_minmax = glewGetExtension("GL_SGIX_blend_alpha_minmax");
05623 #endif
05624 #ifdef GL_SGIX_clipmap
05625 GLEW_SGIX_clipmap = glewGetExtension("GL_SGIX_clipmap");
05626 #endif
05627 #ifdef GL_SGIX_depth_texture
05628 GLEW_SGIX_depth_texture = glewGetExtension("GL_SGIX_depth_texture");
05629 #endif
05630 #ifdef GL_SGIX_flush_raster
05631 GLEW_SGIX_flush_raster = glewGetExtension("GL_SGIX_flush_raster");
05632 if (glewExperimental || GLEW_SGIX_flush_raster) GLEW_SGIX_flush_raster = !_glewInit_GL_SGIX_flush_raster(GLEW_CONTEXT_ARG_VAR_INIT);
05633 #endif
05634 #ifdef GL_SGIX_fog_offset
05635 GLEW_SGIX_fog_offset = glewGetExtension("GL_SGIX_fog_offset");
05636 #endif
05637 #ifdef GL_SGIX_fog_texture
05638 GLEW_SGIX_fog_texture = glewGetExtension("GL_SGIX_fog_texture");
05639 if (glewExperimental || GLEW_SGIX_fog_texture) GLEW_SGIX_fog_texture = !_glewInit_GL_SGIX_fog_texture(GLEW_CONTEXT_ARG_VAR_INIT);
05640 #endif
05641 #ifdef GL_SGIX_fragment_specular_lighting
05642 GLEW_SGIX_fragment_specular_lighting = glewGetExtension("GL_SGIX_fragment_specular_lighting");
05643 if (glewExperimental || GLEW_SGIX_fragment_specular_lighting) GLEW_SGIX_fragment_specular_lighting = !_glewInit_GL_SGIX_fragment_specular_lighting(GLEW_CONTEXT_ARG_VAR_INIT);
05644 #endif
05645 #ifdef GL_SGIX_framezoom
05646 GLEW_SGIX_framezoom = glewGetExtension("GL_SGIX_framezoom");
05647 if (glewExperimental || GLEW_SGIX_framezoom) GLEW_SGIX_framezoom = !_glewInit_GL_SGIX_framezoom(GLEW_CONTEXT_ARG_VAR_INIT);
05648 #endif
05649 #ifdef GL_SGIX_interlace
05650 GLEW_SGIX_interlace = glewGetExtension("GL_SGIX_interlace");
05651 #endif
05652 #ifdef GL_SGIX_ir_instrument1
05653 GLEW_SGIX_ir_instrument1 = glewGetExtension("GL_SGIX_ir_instrument1");
05654 #endif
05655 #ifdef GL_SGIX_list_priority
05656 GLEW_SGIX_list_priority = glewGetExtension("GL_SGIX_list_priority");
05657 #endif
05658 #ifdef GL_SGIX_pixel_texture
05659 GLEW_SGIX_pixel_texture = glewGetExtension("GL_SGIX_pixel_texture");
05660 if (glewExperimental || GLEW_SGIX_pixel_texture) GLEW_SGIX_pixel_texture = !_glewInit_GL_SGIX_pixel_texture(GLEW_CONTEXT_ARG_VAR_INIT);
05661 #endif
05662 #ifdef GL_SGIX_pixel_texture_bits
05663 GLEW_SGIX_pixel_texture_bits = glewGetExtension("GL_SGIX_pixel_texture_bits");
05664 #endif
05665 #ifdef GL_SGIX_reference_plane
05666 GLEW_SGIX_reference_plane = glewGetExtension("GL_SGIX_reference_plane");
05667 if (glewExperimental || GLEW_SGIX_reference_plane) GLEW_SGIX_reference_plane = !_glewInit_GL_SGIX_reference_plane(GLEW_CONTEXT_ARG_VAR_INIT);
05668 #endif
05669 #ifdef GL_SGIX_resample
05670 GLEW_SGIX_resample = glewGetExtension("GL_SGIX_resample");
05671 #endif
05672 #ifdef GL_SGIX_shadow
05673 GLEW_SGIX_shadow = glewGetExtension("GL_SGIX_shadow");
05674 #endif
05675 #ifdef GL_SGIX_shadow_ambient
05676 GLEW_SGIX_shadow_ambient = glewGetExtension("GL_SGIX_shadow_ambient");
05677 #endif
05678 #ifdef GL_SGIX_sprite
05679 GLEW_SGIX_sprite = glewGetExtension("GL_SGIX_sprite");
05680 if (glewExperimental || GLEW_SGIX_sprite) GLEW_SGIX_sprite = !_glewInit_GL_SGIX_sprite(GLEW_CONTEXT_ARG_VAR_INIT);
05681 #endif
05682 #ifdef GL_SGIX_tag_sample_buffer
05683 GLEW_SGIX_tag_sample_buffer = glewGetExtension("GL_SGIX_tag_sample_buffer");
05684 if (glewExperimental || GLEW_SGIX_tag_sample_buffer) GLEW_SGIX_tag_sample_buffer = !_glewInit_GL_SGIX_tag_sample_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
05685 #endif
05686 #ifdef GL_SGIX_texture_add_env
05687 GLEW_SGIX_texture_add_env = glewGetExtension("GL_SGIX_texture_add_env");
05688 #endif
05689 #ifdef GL_SGIX_texture_coordinate_clamp
05690 GLEW_SGIX_texture_coordinate_clamp = glewGetExtension("GL_SGIX_texture_coordinate_clamp");
05691 #endif
05692 #ifdef GL_SGIX_texture_lod_bias
05693 GLEW_SGIX_texture_lod_bias = glewGetExtension("GL_SGIX_texture_lod_bias");
05694 #endif
05695 #ifdef GL_SGIX_texture_multi_buffer
05696 GLEW_SGIX_texture_multi_buffer = glewGetExtension("GL_SGIX_texture_multi_buffer");
05697 #endif
05698 #ifdef GL_SGIX_texture_range
05699 GLEW_SGIX_texture_range = glewGetExtension("GL_SGIX_texture_range");
05700 #endif
05701 #ifdef GL_SGIX_texture_scale_bias
05702 GLEW_SGIX_texture_scale_bias = glewGetExtension("GL_SGIX_texture_scale_bias");
05703 #endif
05704 #ifdef GL_SGIX_vertex_preclip
05705 GLEW_SGIX_vertex_preclip = glewGetExtension("GL_SGIX_vertex_preclip");
05706 #endif
05707 #ifdef GL_SGIX_vertex_preclip_hint
05708 GLEW_SGIX_vertex_preclip_hint = glewGetExtension("GL_SGIX_vertex_preclip_hint");
05709 #endif
05710 #ifdef GL_SGIX_ycrcb
05711 GLEW_SGIX_ycrcb = glewGetExtension("GL_SGIX_ycrcb");
05712 #endif
05713 #ifdef GL_SGI_color_matrix
05714 GLEW_SGI_color_matrix = glewGetExtension("GL_SGI_color_matrix");
05715 #endif
05716 #ifdef GL_SGI_color_table
05717 GLEW_SGI_color_table = glewGetExtension("GL_SGI_color_table");
05718 if (glewExperimental || GLEW_SGI_color_table) GLEW_SGI_color_table = !_glewInit_GL_SGI_color_table(GLEW_CONTEXT_ARG_VAR_INIT);
05719 #endif
05720 #ifdef GL_SGI_texture_color_table
05721 GLEW_SGI_texture_color_table = glewGetExtension("GL_SGI_texture_color_table");
05722 #endif
05723 #ifdef GL_SUNX_constant_data
05724 GLEW_SUNX_constant_data = glewGetExtension("GL_SUNX_constant_data");
05725 if (glewExperimental || GLEW_SUNX_constant_data) GLEW_SUNX_constant_data = !_glewInit_GL_SUNX_constant_data(GLEW_CONTEXT_ARG_VAR_INIT);
05726 #endif
05727 #ifdef GL_SUN_convolution_border_modes
05728 GLEW_SUN_convolution_border_modes = glewGetExtension("GL_SUN_convolution_border_modes");
05729 #endif
05730 #ifdef GL_SUN_global_alpha
05731 GLEW_SUN_global_alpha = glewGetExtension("GL_SUN_global_alpha");
05732 if (glewExperimental || GLEW_SUN_global_alpha) GLEW_SUN_global_alpha = !_glewInit_GL_SUN_global_alpha(GLEW_CONTEXT_ARG_VAR_INIT);
05733 #endif
05734 #ifdef GL_SUN_mesh_array
05735 GLEW_SUN_mesh_array = glewGetExtension("GL_SUN_mesh_array");
05736 #endif
05737 #ifdef GL_SUN_read_video_pixels
05738 GLEW_SUN_read_video_pixels = glewGetExtension("GL_SUN_read_video_pixels");
05739 if (glewExperimental || GLEW_SUN_read_video_pixels) GLEW_SUN_read_video_pixels = !_glewInit_GL_SUN_read_video_pixels(GLEW_CONTEXT_ARG_VAR_INIT);
05740 #endif
05741 #ifdef GL_SUN_slice_accum
05742 GLEW_SUN_slice_accum = glewGetExtension("GL_SUN_slice_accum");
05743 #endif
05744 #ifdef GL_SUN_triangle_list
05745 GLEW_SUN_triangle_list = glewGetExtension("GL_SUN_triangle_list");
05746 if (glewExperimental || GLEW_SUN_triangle_list) GLEW_SUN_triangle_list = !_glewInit_GL_SUN_triangle_list(GLEW_CONTEXT_ARG_VAR_INIT);
05747 #endif
05748 #ifdef GL_SUN_vertex
05749 GLEW_SUN_vertex = glewGetExtension("GL_SUN_vertex");
05750 if (glewExperimental || GLEW_SUN_vertex) GLEW_SUN_vertex = !_glewInit_GL_SUN_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
05751 #endif
05752 #ifdef GL_WIN_phong_shading
05753 GLEW_WIN_phong_shading = glewGetExtension("GL_WIN_phong_shading");
05754 #endif
05755 #ifdef GL_WIN_specular_fog
05756 GLEW_WIN_specular_fog = glewGetExtension("GL_WIN_specular_fog");
05757 #endif
05758 #ifdef GL_WIN_swap_hint
05759 GLEW_WIN_swap_hint = glewGetExtension("GL_WIN_swap_hint");
05760 if (glewExperimental || GLEW_WIN_swap_hint) GLEW_WIN_swap_hint = !_glewInit_GL_WIN_swap_hint(GLEW_CONTEXT_ARG_VAR_INIT);
05761 #endif
05762
05763 return GLEW_OK;
05764 }
05765
05766
05767 #if defined(_WIN32)
05768
05769 #if !defined(GLEW_MX)
05770
05771 PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL = NULL;
05772
05773 PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB = NULL;
05774 PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB = NULL;
05775 PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB = NULL;
05776 PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB = NULL;
05777
05778 PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB = NULL;
05779
05780 PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB = NULL;
05781 PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB = NULL;
05782
05783 PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB = NULL;
05784 PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB = NULL;
05785 PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB = NULL;
05786 PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB = NULL;
05787 PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB = NULL;
05788
05789 PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB = NULL;
05790 PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB = NULL;
05791 PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB = NULL;
05792
05793 PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB = NULL;
05794 PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB = NULL;
05795 PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB = NULL;
05796
05797 PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT = NULL;
05798 PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT = NULL;
05799 PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT = NULL;
05800 PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT = NULL;
05801
05802 PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT = NULL;
05803
05804 PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT = NULL;
05805 PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT = NULL;
05806
05807 PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT = NULL;
05808 PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT = NULL;
05809 PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT = NULL;
05810 PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT = NULL;
05811 PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT = NULL;
05812
05813 PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT = NULL;
05814 PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT = NULL;
05815 PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT = NULL;
05816
05817 PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT = NULL;
05818 PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT = NULL;
05819
05820 PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D = NULL;
05821 PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D = NULL;
05822
05823 PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D = NULL;
05824 PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D = NULL;
05825 PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D = NULL;
05826 PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D = NULL;
05827
05828 PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D = NULL;
05829 PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D = NULL;
05830 PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D = NULL;
05831 PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D = NULL;
05832 PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D = NULL;
05833 PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D = NULL;
05834 PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D = NULL;
05835 PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D = NULL;
05836 PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D = NULL;
05837 PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D = NULL;
05838 PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D = NULL;
05839 PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D = NULL;
05840
05841 PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D = NULL;
05842 PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D = NULL;
05843 PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D = NULL;
05844 PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D = NULL;
05845
05846 PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D = NULL;
05847 PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D = NULL;
05848 PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D = NULL;
05849 PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D = NULL;
05850
05851 PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D = NULL;
05852 PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D = NULL;
05853 PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D = NULL;
05854 PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D = NULL;
05855
05856 PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV = NULL;
05857 PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV = NULL;
05858
05859 PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML = NULL;
05860 PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML = NULL;
05861 PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML = NULL;
05862 PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML = NULL;
05863 PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML = NULL;
05864 PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML = NULL;
05865 GLboolean __WGLEW_3DFX_multisample = GL_FALSE;
05866 GLboolean __WGLEW_3DL_stereo_control = GL_FALSE;
05867 GLboolean __WGLEW_ARB_buffer_region = GL_FALSE;
05868 GLboolean __WGLEW_ARB_extensions_string = GL_FALSE;
05869 GLboolean __WGLEW_ARB_make_current_read = GL_FALSE;
05870 GLboolean __WGLEW_ARB_multisample = GL_FALSE;
05871 GLboolean __WGLEW_ARB_pbuffer = GL_FALSE;
05872 GLboolean __WGLEW_ARB_pixel_format = GL_FALSE;
05873 GLboolean __WGLEW_ARB_pixel_format_float = GL_FALSE;
05874 GLboolean __WGLEW_ARB_render_texture = GL_FALSE;
05875 GLboolean __WGLEW_ATI_pixel_format_float = GL_FALSE;
05876 GLboolean __WGLEW_ATI_render_texture_rectangle = GL_FALSE;
05877 GLboolean __WGLEW_EXT_depth_float = GL_FALSE;
05878 GLboolean __WGLEW_EXT_display_color_table = GL_FALSE;
05879 GLboolean __WGLEW_EXT_extensions_string = GL_FALSE;
05880 GLboolean __WGLEW_EXT_make_current_read = GL_FALSE;
05881 GLboolean __WGLEW_EXT_multisample = GL_FALSE;
05882 GLboolean __WGLEW_EXT_pbuffer = GL_FALSE;
05883 GLboolean __WGLEW_EXT_pixel_format = GL_FALSE;
05884 GLboolean __WGLEW_EXT_swap_control = GL_FALSE;
05885 GLboolean __WGLEW_I3D_digital_video_control = GL_FALSE;
05886 GLboolean __WGLEW_I3D_gamma = GL_FALSE;
05887 GLboolean __WGLEW_I3D_genlock = GL_FALSE;
05888 GLboolean __WGLEW_I3D_image_buffer = GL_FALSE;
05889 GLboolean __WGLEW_I3D_swap_frame_lock = GL_FALSE;
05890 GLboolean __WGLEW_I3D_swap_frame_usage = GL_FALSE;
05891 GLboolean __WGLEW_NV_float_buffer = GL_FALSE;
05892 GLboolean __WGLEW_NV_render_depth_texture = GL_FALSE;
05893 GLboolean __WGLEW_NV_render_texture_rectangle = GL_FALSE;
05894 GLboolean __WGLEW_NV_vertex_array_range = GL_FALSE;
05895 GLboolean __WGLEW_OML_sync_control = GL_FALSE;
05896
05897 #endif
05898
05899 #ifdef WGL_3DFX_multisample
05900
05901 #endif
05902
05903 #ifdef WGL_3DL_stereo_control
05904
05905 static GLboolean _glewInit_WGL_3DL_stereo_control (WGLEW_CONTEXT_ARG_DEF_INIT)
05906 {
05907 GLboolean r = GL_FALSE;
05908
05909 r = ((wglSetStereoEmitterState3DL = (PFNWGLSETSTEREOEMITTERSTATE3DLPROC)glewGetProcAddress((const GLubyte*)"wglSetStereoEmitterState3DL")) == NULL) || r;
05910
05911 return r;
05912 }
05913
05914 #endif
05915
05916 #ifdef WGL_ARB_buffer_region
05917
05918 static GLboolean _glewInit_WGL_ARB_buffer_region (WGLEW_CONTEXT_ARG_DEF_INIT)
05919 {
05920 GLboolean r = GL_FALSE;
05921
05922 r = ((wglCreateBufferRegionARB = (PFNWGLCREATEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateBufferRegionARB")) == NULL) || r;
05923 r = ((wglDeleteBufferRegionARB = (PFNWGLDELETEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglDeleteBufferRegionARB")) == NULL) || r;
05924 r = ((wglRestoreBufferRegionARB = (PFNWGLRESTOREBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglRestoreBufferRegionARB")) == NULL) || r;
05925 r = ((wglSaveBufferRegionARB = (PFNWGLSAVEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglSaveBufferRegionARB")) == NULL) || r;
05926
05927 return r;
05928 }
05929
05930 #endif
05931
05932 #ifdef WGL_ARB_extensions_string
05933
05934 static GLboolean _glewInit_WGL_ARB_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT)
05935 {
05936 GLboolean r = GL_FALSE;
05937
05938 r = ((wglGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB")) == NULL) || r;
05939
05940 return r;
05941 }
05942
05943 #endif
05944
05945 #ifdef WGL_ARB_make_current_read
05946
05947 static GLboolean _glewInit_WGL_ARB_make_current_read (WGLEW_CONTEXT_ARG_DEF_INIT)
05948 {
05949 GLboolean r = GL_FALSE;
05950
05951 r = ((wglGetCurrentReadDCARB = (PFNWGLGETCURRENTREADDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCARB")) == NULL) || r;
05952 r = ((wglMakeContextCurrentARB = (PFNWGLMAKECONTEXTCURRENTARBPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentARB")) == NULL) || r;
05953
05954 return r;
05955 }
05956
05957 #endif
05958
05959 #ifdef WGL_ARB_multisample
05960
05961 #endif
05962
05963 #ifdef WGL_ARB_pbuffer
05964
05965 static GLboolean _glewInit_WGL_ARB_pbuffer (WGLEW_CONTEXT_ARG_DEF_INIT)
05966 {
05967 GLboolean r = GL_FALSE;
05968
05969 r = ((wglCreatePbufferARB = (PFNWGLCREATEPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferARB")) == NULL) || r;
05970 r = ((wglDestroyPbufferARB = (PFNWGLDESTROYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferARB")) == NULL) || r;
05971 r = ((wglGetPbufferDCARB = (PFNWGLGETPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCARB")) == NULL) || r;
05972 r = ((wglQueryPbufferARB = (PFNWGLQUERYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferARB")) == NULL) || r;
05973 r = ((wglReleasePbufferDCARB = (PFNWGLRELEASEPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCARB")) == NULL) || r;
05974
05975 return r;
05976 }
05977
05978 #endif
05979
05980 #ifdef WGL_ARB_pixel_format
05981
05982 static GLboolean _glewInit_WGL_ARB_pixel_format (WGLEW_CONTEXT_ARG_DEF_INIT)
05983 {
05984 GLboolean r = GL_FALSE;
05985
05986 r = ((wglChoosePixelFormatARB = (PFNWGLCHOOSEPIXELFORMATARBPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatARB")) == NULL) || r;
05987 r = ((wglGetPixelFormatAttribfvARB = (PFNWGLGETPIXELFORMATATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvARB")) == NULL) || r;
05988 r = ((wglGetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivARB")) == NULL) || r;
05989
05990 return r;
05991 }
05992
05993 #endif
05994
05995 #ifdef WGL_ARB_pixel_format_float
05996
05997 #endif
05998
05999 #ifdef WGL_ARB_render_texture
06000
06001 static GLboolean _glewInit_WGL_ARB_render_texture (WGLEW_CONTEXT_ARG_DEF_INIT)
06002 {
06003 GLboolean r = GL_FALSE;
06004
06005 r = ((wglBindTexImageARB = (PFNWGLBINDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglBindTexImageARB")) == NULL) || r;
06006 r = ((wglReleaseTexImageARB = (PFNWGLRELEASETEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglReleaseTexImageARB")) == NULL) || r;
06007 r = ((wglSetPbufferAttribARB = (PFNWGLSETPBUFFERATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"wglSetPbufferAttribARB")) == NULL) || r;
06008
06009 return r;
06010 }
06011
06012 #endif
06013
06014 #ifdef WGL_ATI_pixel_format_float
06015
06016 #endif
06017
06018 #ifdef WGL_ATI_render_texture_rectangle
06019
06020 #endif
06021
06022 #ifdef WGL_EXT_depth_float
06023
06024 #endif
06025
06026 #ifdef WGL_EXT_display_color_table
06027
06028 static GLboolean _glewInit_WGL_EXT_display_color_table (WGLEW_CONTEXT_ARG_DEF_INIT)
06029 {
06030 GLboolean r = GL_FALSE;
06031
06032 r = ((wglBindDisplayColorTableEXT = (PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglBindDisplayColorTableEXT")) == NULL) || r;
06033 r = ((wglCreateDisplayColorTableEXT = (PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglCreateDisplayColorTableEXT")) == NULL) || r;
06034 r = ((wglDestroyDisplayColorTableEXT = (PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyDisplayColorTableEXT")) == NULL) || r;
06035 r = ((wglLoadDisplayColorTableEXT = (PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglLoadDisplayColorTableEXT")) == NULL) || r;
06036
06037 return r;
06038 }
06039
06040 #endif
06041
06042 #ifdef WGL_EXT_extensions_string
06043
06044 static GLboolean _glewInit_WGL_EXT_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT)
06045 {
06046 GLboolean r = GL_FALSE;
06047
06048 r = ((wglGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT")) == NULL) || r;
06049
06050 return r;
06051 }
06052
06053 #endif
06054
06055 #ifdef WGL_EXT_make_current_read
06056
06057 static GLboolean _glewInit_WGL_EXT_make_current_read (WGLEW_CONTEXT_ARG_DEF_INIT)
06058 {
06059 GLboolean r = GL_FALSE;
06060
06061 r = ((wglGetCurrentReadDCEXT = (PFNWGLGETCURRENTREADDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCEXT")) == NULL) || r;
06062 r = ((wglMakeContextCurrentEXT = (PFNWGLMAKECONTEXTCURRENTEXTPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentEXT")) == NULL) || r;
06063
06064 return r;
06065 }
06066
06067 #endif
06068
06069 #ifdef WGL_EXT_multisample
06070
06071 #endif
06072
06073 #ifdef WGL_EXT_pbuffer
06074
06075 static GLboolean _glewInit_WGL_EXT_pbuffer (WGLEW_CONTEXT_ARG_DEF_INIT)
06076 {
06077 GLboolean r = GL_FALSE;
06078
06079 r = ((wglCreatePbufferEXT = (PFNWGLCREATEPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferEXT")) == NULL) || r;
06080 r = ((wglDestroyPbufferEXT = (PFNWGLDESTROYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferEXT")) == NULL) || r;
06081 r = ((wglGetPbufferDCEXT = (PFNWGLGETPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCEXT")) == NULL) || r;
06082 r = ((wglQueryPbufferEXT = (PFNWGLQUERYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferEXT")) == NULL) || r;
06083 r = ((wglReleasePbufferDCEXT = (PFNWGLRELEASEPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCEXT")) == NULL) || r;
06084
06085 return r;
06086 }
06087
06088 #endif
06089
06090 #ifdef WGL_EXT_pixel_format
06091
06092 static GLboolean _glewInit_WGL_EXT_pixel_format (WGLEW_CONTEXT_ARG_DEF_INIT)
06093 {
06094 GLboolean r = GL_FALSE;
06095
06096 r = ((wglChoosePixelFormatEXT = (PFNWGLCHOOSEPIXELFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatEXT")) == NULL) || r;
06097 r = ((wglGetPixelFormatAttribfvEXT = (PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvEXT")) == NULL) || r;
06098 r = ((wglGetPixelFormatAttribivEXT = (PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivEXT")) == NULL) || r;
06099
06100 return r;
06101 }
06102
06103 #endif
06104
06105 #ifdef WGL_EXT_swap_control
06106
06107 static GLboolean _glewInit_WGL_EXT_swap_control (WGLEW_CONTEXT_ARG_DEF_INIT)
06108 {
06109 GLboolean r = GL_FALSE;
06110
06111 r = ((wglGetSwapIntervalEXT = (PFNWGLGETSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetSwapIntervalEXT")) == NULL) || r;
06112 r = ((wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglSwapIntervalEXT")) == NULL) || r;
06113
06114 return r;
06115 }
06116
06117 #endif
06118
06119 #ifdef WGL_I3D_digital_video_control
06120
06121 static GLboolean _glewInit_WGL_I3D_digital_video_control (WGLEW_CONTEXT_ARG_DEF_INIT)
06122 {
06123 GLboolean r = GL_FALSE;
06124
06125 r = ((wglGetDigitalVideoParametersI3D = (PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetDigitalVideoParametersI3D")) == NULL) || r;
06126 r = ((wglSetDigitalVideoParametersI3D = (PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetDigitalVideoParametersI3D")) == NULL) || r;
06127
06128 return r;
06129 }
06130
06131 #endif
06132
06133 #ifdef WGL_I3D_gamma
06134
06135 static GLboolean _glewInit_WGL_I3D_gamma (WGLEW_CONTEXT_ARG_DEF_INIT)
06136 {
06137 GLboolean r = GL_FALSE;
06138
06139 r = ((wglGetGammaTableI3D = (PFNWGLGETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableI3D")) == NULL) || r;
06140 r = ((wglGetGammaTableParametersI3D = (PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableParametersI3D")) == NULL) || r;
06141 r = ((wglSetGammaTableI3D = (PFNWGLSETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableI3D")) == NULL) || r;
06142 r = ((wglSetGammaTableParametersI3D = (PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableParametersI3D")) == NULL) || r;
06143
06144 return r;
06145 }
06146
06147 #endif
06148
06149 #ifdef WGL_I3D_genlock
06150
06151 static GLboolean _glewInit_WGL_I3D_genlock (WGLEW_CONTEXT_ARG_DEF_INIT)
06152 {
06153 GLboolean r = GL_FALSE;
06154
06155 r = ((wglDisableGenlockI3D = (PFNWGLDISABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableGenlockI3D")) == NULL) || r;
06156 r = ((wglEnableGenlockI3D = (PFNWGLENABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableGenlockI3D")) == NULL) || r;
06157 r = ((wglGenlockSampleRateI3D = (PFNWGLGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSampleRateI3D")) == NULL) || r;
06158 r = ((wglGenlockSourceDelayI3D = (PFNWGLGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceDelayI3D")) == NULL) || r;
06159 r = ((wglGenlockSourceEdgeI3D = (PFNWGLGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceEdgeI3D")) == NULL) || r;
06160 r = ((wglGenlockSourceI3D = (PFNWGLGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceI3D")) == NULL) || r;
06161 r = ((wglGetGenlockSampleRateI3D = (PFNWGLGETGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSampleRateI3D")) == NULL) || r;
06162 r = ((wglGetGenlockSourceDelayI3D = (PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceDelayI3D")) == NULL) || r;
06163 r = ((wglGetGenlockSourceEdgeI3D = (PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceEdgeI3D")) == NULL) || r;
06164 r = ((wglGetGenlockSourceI3D = (PFNWGLGETGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceI3D")) == NULL) || r;
06165 r = ((wglIsEnabledGenlockI3D = (PFNWGLISENABLEDGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledGenlockI3D")) == NULL) || r;
06166 r = ((wglQueryGenlockMaxSourceDelayI3D = (PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryGenlockMaxSourceDelayI3D")) == NULL) || r;
06167
06168 return r;
06169 }
06170
06171 #endif
06172
06173 #ifdef WGL_I3D_image_buffer
06174
06175 static GLboolean _glewInit_WGL_I3D_image_buffer (WGLEW_CONTEXT_ARG_DEF_INIT)
06176 {
06177 GLboolean r = GL_FALSE;
06178
06179 r = ((wglAssociateImageBufferEventsI3D = (PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglAssociateImageBufferEventsI3D")) == NULL) || r;
06180 r = ((wglCreateImageBufferI3D = (PFNWGLCREATEIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglCreateImageBufferI3D")) == NULL) || r;
06181 r = ((wglDestroyImageBufferI3D = (PFNWGLDESTROYIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglDestroyImageBufferI3D")) == NULL) || r;
06182 r = ((wglReleaseImageBufferEventsI3D = (PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglReleaseImageBufferEventsI3D")) == NULL) || r;
06183
06184 return r;
06185 }
06186
06187 #endif
06188
06189 #ifdef WGL_I3D_swap_frame_lock
06190
06191 static GLboolean _glewInit_WGL_I3D_swap_frame_lock (WGLEW_CONTEXT_ARG_DEF_INIT)
06192 {
06193 GLboolean r = GL_FALSE;
06194
06195 r = ((wglDisableFrameLockI3D = (PFNWGLDISABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableFrameLockI3D")) == NULL) || r;
06196 r = ((wglEnableFrameLockI3D = (PFNWGLENABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableFrameLockI3D")) == NULL) || r;
06197 r = ((wglIsEnabledFrameLockI3D = (PFNWGLISENABLEDFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledFrameLockI3D")) == NULL) || r;
06198 r = ((wglQueryFrameLockMasterI3D = (PFNWGLQUERYFRAMELOCKMASTERI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameLockMasterI3D")) == NULL) || r;
06199
06200 return r;
06201 }
06202
06203 #endif
06204
06205 #ifdef WGL_I3D_swap_frame_usage
06206
06207 static GLboolean _glewInit_WGL_I3D_swap_frame_usage (WGLEW_CONTEXT_ARG_DEF_INIT)
06208 {
06209 GLboolean r = GL_FALSE;
06210
06211 r = ((wglBeginFrameTrackingI3D = (PFNWGLBEGINFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglBeginFrameTrackingI3D")) == NULL) || r;
06212 r = ((wglEndFrameTrackingI3D = (PFNWGLENDFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglEndFrameTrackingI3D")) == NULL) || r;
06213 r = ((wglGetFrameUsageI3D = (PFNWGLGETFRAMEUSAGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetFrameUsageI3D")) == NULL) || r;
06214 r = ((wglQueryFrameTrackingI3D = (PFNWGLQUERYFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameTrackingI3D")) == NULL) || r;
06215
06216 return r;
06217 }
06218
06219 #endif
06220
06221 #ifdef WGL_NV_float_buffer
06222
06223 #endif
06224
06225 #ifdef WGL_NV_render_depth_texture
06226
06227 #endif
06228
06229 #ifdef WGL_NV_render_texture_rectangle
06230
06231 #endif
06232
06233 #ifdef WGL_NV_vertex_array_range
06234
06235 static GLboolean _glewInit_WGL_NV_vertex_array_range (WGLEW_CONTEXT_ARG_DEF_INIT)
06236 {
06237 GLboolean r = GL_FALSE;
06238
06239 r = ((wglAllocateMemoryNV = (PFNWGLALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglAllocateMemoryNV")) == NULL) || r;
06240 r = ((wglFreeMemoryNV = (PFNWGLFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglFreeMemoryNV")) == NULL) || r;
06241
06242 return r;
06243 }
06244
06245 #endif
06246
06247 #ifdef WGL_OML_sync_control
06248
06249 static GLboolean _glewInit_WGL_OML_sync_control (WGLEW_CONTEXT_ARG_DEF_INIT)
06250 {
06251 GLboolean r = GL_FALSE;
06252
06253 r = ((wglGetMscRateOML = (PFNWGLGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetMscRateOML")) == NULL) || r;
06254 r = ((wglGetSyncValuesOML = (PFNWGLGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetSyncValuesOML")) == NULL) || r;
06255 r = ((wglSwapBuffersMscOML = (PFNWGLSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapBuffersMscOML")) == NULL) || r;
06256 r = ((wglSwapLayerBuffersMscOML = (PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapLayerBuffersMscOML")) == NULL) || r;
06257 r = ((wglWaitForMscOML = (PFNWGLWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForMscOML")) == NULL) || r;
06258 r = ((wglWaitForSbcOML = (PFNWGLWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForSbcOML")) == NULL) || r;
06259
06260 return r;
06261 }
06262
06263 #endif
06264
06265
06266
06267 static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL;
06268 static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;
06269
06270 GLboolean wglewGetExtension (const char* name)
06271 {
06272 GLubyte* p;
06273 GLubyte* end;
06274 GLuint len = _glewStrLen((const GLubyte*)name);
06275 if (_wglewGetExtensionsStringARB == NULL)
06276 if (_wglewGetExtensionsStringEXT == NULL)
06277 return GL_FALSE;
06278 else
06279 p = (GLubyte*)_wglewGetExtensionsStringEXT();
06280 else
06281 p = (GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC());
06282 if (0 == p) return GL_FALSE;
06283 end = p + _glewStrLen(p);
06284 while (p < end)
06285 {
06286 GLuint n = _glewStrCLen(p, ' ');
06287 if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
06288 p += n+1;
06289 }
06290 return GL_FALSE;
06291 }
06292
06293 GLenum wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST)
06294 {
06295 GLboolean crippled;
06296
06297 if (_wglewGetExtensionsStringARB == NULL)
06298 _wglewGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB");
06299 if (_wglewGetExtensionsStringEXT == NULL)
06300 _wglewGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT");
06301
06302 crippled = _wglewGetExtensionsStringARB == NULL && _wglewGetExtensionsStringEXT == NULL;
06303 #ifdef WGL_3DFX_multisample
06304 WGLEW_3DFX_multisample = wglewGetExtension("WGL_3DFX_multisample");
06305 #endif
06306 #ifdef WGL_3DL_stereo_control
06307 WGLEW_3DL_stereo_control = wglewGetExtension("WGL_3DL_stereo_control");
06308 if (glewExperimental || WGLEW_3DL_stereo_control|| crippled) WGLEW_3DL_stereo_control= !_glewInit_WGL_3DL_stereo_control(GLEW_CONTEXT_ARG_VAR_INIT);
06309 #endif
06310 #ifdef WGL_ARB_buffer_region
06311 WGLEW_ARB_buffer_region = wglewGetExtension("WGL_ARB_buffer_region");
06312 if (glewExperimental || WGLEW_ARB_buffer_region|| crippled) WGLEW_ARB_buffer_region= !_glewInit_WGL_ARB_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT);
06313 #endif
06314 #ifdef WGL_ARB_extensions_string
06315 WGLEW_ARB_extensions_string = wglewGetExtension("WGL_ARB_extensions_string");
06316 if (glewExperimental || WGLEW_ARB_extensions_string|| crippled) WGLEW_ARB_extensions_string= !_glewInit_WGL_ARB_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT);
06317 #endif
06318 #ifdef WGL_ARB_make_current_read
06319 WGLEW_ARB_make_current_read = wglewGetExtension("WGL_ARB_make_current_read");
06320 if (glewExperimental || WGLEW_ARB_make_current_read|| crippled) WGLEW_ARB_make_current_read= !_glewInit_WGL_ARB_make_current_read(GLEW_CONTEXT_ARG_VAR_INIT);
06321 #endif
06322 #ifdef WGL_ARB_multisample
06323 WGLEW_ARB_multisample = wglewGetExtension("WGL_ARB_multisample");
06324 #endif
06325 #ifdef WGL_ARB_pbuffer
06326 WGLEW_ARB_pbuffer = wglewGetExtension("WGL_ARB_pbuffer");
06327 if (glewExperimental || WGLEW_ARB_pbuffer|| crippled) WGLEW_ARB_pbuffer= !_glewInit_WGL_ARB_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
06328 #endif
06329 #ifdef WGL_ARB_pixel_format
06330 WGLEW_ARB_pixel_format = wglewGetExtension("WGL_ARB_pixel_format");
06331 if (glewExperimental || WGLEW_ARB_pixel_format|| crippled) WGLEW_ARB_pixel_format= !_glewInit_WGL_ARB_pixel_format(GLEW_CONTEXT_ARG_VAR_INIT);
06332 #endif
06333 #ifdef WGL_ARB_pixel_format_float
06334 WGLEW_ARB_pixel_format_float = wglewGetExtension("WGL_ARB_pixel_format_float");
06335 #endif
06336 #ifdef WGL_ARB_render_texture
06337 WGLEW_ARB_render_texture = wglewGetExtension("WGL_ARB_render_texture");
06338 if (glewExperimental || WGLEW_ARB_render_texture|| crippled) WGLEW_ARB_render_texture= !_glewInit_WGL_ARB_render_texture(GLEW_CONTEXT_ARG_VAR_INIT);
06339 #endif
06340 #ifdef WGL_ATI_pixel_format_float
06341 WGLEW_ATI_pixel_format_float = wglewGetExtension("WGL_ATI_pixel_format_float");
06342 #endif
06343 #ifdef WGL_ATI_render_texture_rectangle
06344 WGLEW_ATI_render_texture_rectangle = wglewGetExtension("WGL_ATI_render_texture_rectangle");
06345 #endif
06346 #ifdef WGL_EXT_depth_float
06347 WGLEW_EXT_depth_float = wglewGetExtension("WGL_EXT_depth_float");
06348 #endif
06349 #ifdef WGL_EXT_display_color_table
06350 WGLEW_EXT_display_color_table = wglewGetExtension("WGL_EXT_display_color_table");
06351 if (glewExperimental || WGLEW_EXT_display_color_table|| crippled) WGLEW_EXT_display_color_table= !_glewInit_WGL_EXT_display_color_table(GLEW_CONTEXT_ARG_VAR_INIT);
06352 #endif
06353 #ifdef WGL_EXT_extensions_string
06354 WGLEW_EXT_extensions_string = wglewGetExtension("WGL_EXT_extensions_string");
06355 if (glewExperimental || WGLEW_EXT_extensions_string|| crippled) WGLEW_EXT_extensions_string= !_glewInit_WGL_EXT_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT);
06356 #endif
06357 #ifdef WGL_EXT_make_current_read
06358 WGLEW_EXT_make_current_read = wglewGetExtension("WGL_EXT_make_current_read");
06359 if (glewExperimental || WGLEW_EXT_make_current_read|| crippled) WGLEW_EXT_make_current_read= !_glewInit_WGL_EXT_make_current_read(GLEW_CONTEXT_ARG_VAR_INIT);
06360 #endif
06361 #ifdef WGL_EXT_multisample
06362 WGLEW_EXT_multisample = wglewGetExtension("WGL_EXT_multisample");
06363 #endif
06364 #ifdef WGL_EXT_pbuffer
06365 WGLEW_EXT_pbuffer = wglewGetExtension("WGL_EXT_pbuffer");
06366 if (glewExperimental || WGLEW_EXT_pbuffer|| crippled) WGLEW_EXT_pbuffer= !_glewInit_WGL_EXT_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
06367 #endif
06368 #ifdef WGL_EXT_pixel_format
06369 WGLEW_EXT_pixel_format = wglewGetExtension("WGL_EXT_pixel_format");
06370 if (glewExperimental || WGLEW_EXT_pixel_format|| crippled) WGLEW_EXT_pixel_format= !_glewInit_WGL_EXT_pixel_format(GLEW_CONTEXT_ARG_VAR_INIT);
06371 #endif
06372 #ifdef WGL_EXT_swap_control
06373 WGLEW_EXT_swap_control = wglewGetExtension("WGL_EXT_swap_control");
06374 if (glewExperimental || WGLEW_EXT_swap_control|| crippled) WGLEW_EXT_swap_control= !_glewInit_WGL_EXT_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
06375 #endif
06376 #ifdef WGL_I3D_digital_video_control
06377 WGLEW_I3D_digital_video_control = wglewGetExtension("WGL_I3D_digital_video_control");
06378 if (glewExperimental || WGLEW_I3D_digital_video_control|| crippled) WGLEW_I3D_digital_video_control= !_glewInit_WGL_I3D_digital_video_control(GLEW_CONTEXT_ARG_VAR_INIT);
06379 #endif
06380 #ifdef WGL_I3D_gamma
06381 WGLEW_I3D_gamma = wglewGetExtension("WGL_I3D_gamma");
06382 if (glewExperimental || WGLEW_I3D_gamma|| crippled) WGLEW_I3D_gamma= !_glewInit_WGL_I3D_gamma(GLEW_CONTEXT_ARG_VAR_INIT);
06383 #endif
06384 #ifdef WGL_I3D_genlock
06385 WGLEW_I3D_genlock = wglewGetExtension("WGL_I3D_genlock");
06386 if (glewExperimental || WGLEW_I3D_genlock|| crippled) WGLEW_I3D_genlock= !_glewInit_WGL_I3D_genlock(GLEW_CONTEXT_ARG_VAR_INIT);
06387 #endif
06388 #ifdef WGL_I3D_image_buffer
06389 WGLEW_I3D_image_buffer = wglewGetExtension("WGL_I3D_image_buffer");
06390 if (glewExperimental || WGLEW_I3D_image_buffer|| crippled) WGLEW_I3D_image_buffer= !_glewInit_WGL_I3D_image_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
06391 #endif
06392 #ifdef WGL_I3D_swap_frame_lock
06393 WGLEW_I3D_swap_frame_lock = wglewGetExtension("WGL_I3D_swap_frame_lock");
06394 if (glewExperimental || WGLEW_I3D_swap_frame_lock|| crippled) WGLEW_I3D_swap_frame_lock= !_glewInit_WGL_I3D_swap_frame_lock(GLEW_CONTEXT_ARG_VAR_INIT);
06395 #endif
06396 #ifdef WGL_I3D_swap_frame_usage
06397 WGLEW_I3D_swap_frame_usage = wglewGetExtension("WGL_I3D_swap_frame_usage");
06398 if (glewExperimental || WGLEW_I3D_swap_frame_usage|| crippled) WGLEW_I3D_swap_frame_usage= !_glewInit_WGL_I3D_swap_frame_usage(GLEW_CONTEXT_ARG_VAR_INIT);
06399 #endif
06400 #ifdef WGL_NV_float_buffer
06401 WGLEW_NV_float_buffer = wglewGetExtension("WGL_NV_float_buffer");
06402 #endif
06403 #ifdef WGL_NV_render_depth_texture
06404 WGLEW_NV_render_depth_texture = wglewGetExtension("WGL_NV_render_depth_texture");
06405 #endif
06406 #ifdef WGL_NV_render_texture_rectangle
06407 WGLEW_NV_render_texture_rectangle = wglewGetExtension("WGL_NV_render_texture_rectangle");
06408 #endif
06409 #ifdef WGL_NV_vertex_array_range
06410 WGLEW_NV_vertex_array_range = wglewGetExtension("WGL_NV_vertex_array_range");
06411 if (glewExperimental || WGLEW_NV_vertex_array_range|| crippled) WGLEW_NV_vertex_array_range= !_glewInit_WGL_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
06412 #endif
06413 #ifdef WGL_OML_sync_control
06414 WGLEW_OML_sync_control = wglewGetExtension("WGL_OML_sync_control");
06415 if (glewExperimental || WGLEW_OML_sync_control|| crippled) WGLEW_OML_sync_control= !_glewInit_WGL_OML_sync_control(GLEW_CONTEXT_ARG_VAR_INIT);
06416 #endif
06417
06418 return GLEW_OK;
06419 }
06420
06421 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
06422
06423 PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay = NULL;
06424
06425 PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig = NULL;
06426 PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext = NULL;
06427 PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer = NULL;
06428 PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap = NULL;
06429 PFNGLXCREATEWINDOWPROC __glewXCreateWindow = NULL;
06430 PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer = NULL;
06431 PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap = NULL;
06432 PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow = NULL;
06433 PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable = NULL;
06434 PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib = NULL;
06435 PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs = NULL;
06436 PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent = NULL;
06437 PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig = NULL;
06438 PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent = NULL;
06439 PFNGLXQUERYCONTEXTPROC __glewXQueryContext = NULL;
06440 PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable = NULL;
06441 PFNGLXSELECTEVENTPROC __glewXSelectEvent = NULL;
06442
06443 PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI = NULL;
06444 PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI = NULL;
06445 PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI = NULL;
06446
06447 PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT = NULL;
06448 PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT = NULL;
06449 PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT = NULL;
06450 PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT = NULL;
06451
06452 PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA = NULL;
06453
06454 PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA = NULL;
06455
06456 PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA = NULL;
06457
06458 PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA = NULL;
06459
06460 PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA = NULL;
06461
06462 PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV = NULL;
06463 PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV = NULL;
06464
06465 #ifdef GLX_OML_sync_control
06466 PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML = NULL;
06467 PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML = NULL;
06468 PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML = NULL;
06469 PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML = NULL;
06470 PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML = NULL;
06471 #endif
06472
06473 PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX = NULL;
06474 PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX = NULL;
06475 PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX = NULL;
06476 PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX = NULL;
06477 PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX = NULL;
06478 PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX = NULL;
06479
06480 PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX = NULL;
06481 PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX = NULL;
06482 PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX = NULL;
06483 PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX = NULL;
06484 PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX = NULL;
06485
06486 PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX = NULL;
06487 PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX = NULL;
06488
06489 PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX = NULL;
06490
06491 PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX = NULL;
06492 PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX = NULL;
06493 PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX = NULL;
06494 PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX = NULL;
06495 PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX = NULL;
06496
06497 PFNGLXCUSHIONSGIPROC __glewXCushionSGI = NULL;
06498
06499 PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI = NULL;
06500 PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI = NULL;
06501
06502 PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI = NULL;
06503
06504 PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI = NULL;
06505 PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI = NULL;
06506
06507 PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN = NULL;
06508
06509 PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN = NULL;
06510 PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN = NULL;
06511
06512 #if !defined(GLEW_MX)
06513
06514 GLboolean __GLXEW_VERSION_1_0 = GL_FALSE;
06515 GLboolean __GLXEW_VERSION_1_1 = GL_FALSE;
06516 GLboolean __GLXEW_VERSION_1_2 = GL_FALSE;
06517 GLboolean __GLXEW_VERSION_1_3 = GL_FALSE;
06518 GLboolean __GLXEW_VERSION_1_4 = GL_FALSE;
06519 GLboolean __GLXEW_3DFX_multisample = GL_FALSE;
06520 GLboolean __GLXEW_ARB_fbconfig_float = GL_FALSE;
06521 GLboolean __GLXEW_ARB_get_proc_address = GL_FALSE;
06522 GLboolean __GLXEW_ARB_multisample = GL_FALSE;
06523 GLboolean __GLXEW_ATI_pixel_format_float = GL_FALSE;
06524 GLboolean __GLXEW_ATI_render_texture = GL_FALSE;
06525 GLboolean __GLXEW_EXT_import_context = GL_FALSE;
06526 GLboolean __GLXEW_EXT_scene_marker = GL_FALSE;
06527 GLboolean __GLXEW_EXT_visual_info = GL_FALSE;
06528 GLboolean __GLXEW_EXT_visual_rating = GL_FALSE;
06529 GLboolean __GLXEW_MESA_agp_offset = GL_FALSE;
06530 GLboolean __GLXEW_MESA_copy_sub_buffer = GL_FALSE;
06531 GLboolean __GLXEW_MESA_pixmap_colormap = GL_FALSE;
06532 GLboolean __GLXEW_MESA_release_buffers = GL_FALSE;
06533 GLboolean __GLXEW_MESA_set_3dfx_mode = GL_FALSE;
06534 GLboolean __GLXEW_NV_float_buffer = GL_FALSE;
06535 GLboolean __GLXEW_NV_vertex_array_range = GL_FALSE;
06536 GLboolean __GLXEW_OML_swap_method = GL_FALSE;
06537 #ifdef GLX_OML_sync_control
06538 GLboolean __GLXEW_OML_sync_control = GL_FALSE;
06539 #endif
06540 GLboolean __GLXEW_SGIS_blended_overlay = GL_FALSE;
06541 GLboolean __GLXEW_SGIS_color_range = GL_FALSE;
06542 GLboolean __GLXEW_SGIS_multisample = GL_FALSE;
06543 GLboolean __GLXEW_SGIS_shared_multisample = GL_FALSE;
06544 GLboolean __GLXEW_SGIX_fbconfig = GL_FALSE;
06545 GLboolean __GLXEW_SGIX_pbuffer = GL_FALSE;
06546 GLboolean __GLXEW_SGIX_swap_barrier = GL_FALSE;
06547 GLboolean __GLXEW_SGIX_swap_group = GL_FALSE;
06548 GLboolean __GLXEW_SGIX_video_resize = GL_FALSE;
06549 GLboolean __GLXEW_SGIX_visual_select_group = GL_FALSE;
06550 GLboolean __GLXEW_SGI_cushion = GL_FALSE;
06551 GLboolean __GLXEW_SGI_make_current_read = GL_FALSE;
06552 GLboolean __GLXEW_SGI_swap_control = GL_FALSE;
06553 GLboolean __GLXEW_SGI_video_sync = GL_FALSE;
06554 GLboolean __GLXEW_SUN_get_transparent_index = GL_FALSE;
06555 GLboolean __GLXEW_SUN_video_resize = GL_FALSE;
06556
06557 #endif
06558
06559 #ifdef GLX_VERSION_1_2
06560
06561 static GLboolean _glewInit_GLX_VERSION_1_2 (GLXEW_CONTEXT_ARG_DEF_INIT)
06562 {
06563 GLboolean r = GL_FALSE;
06564
06565 r = ((glXGetCurrentDisplay = (PFNGLXGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentDisplay")) == NULL) || r;
06566
06567 return r;
06568 }
06569
06570 #endif
06571
06572 #ifdef GLX_VERSION_1_3
06573
06574 static GLboolean _glewInit_GLX_VERSION_1_3 (GLXEW_CONTEXT_ARG_DEF_INIT)
06575 {
06576 GLboolean r = GL_FALSE;
06577
06578 r = ((glXChooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfig")) == NULL) || r;
06579 r = ((glXCreateNewContext = (PFNGLXCREATENEWCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXCreateNewContext")) == NULL) || r;
06580 r = ((glXCreatePbuffer = (PFNGLXCREATEPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXCreatePbuffer")) == NULL) || r;
06581 r = ((glXCreatePixmap = (PFNGLXCREATEPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXCreatePixmap")) == NULL) || r;
06582 r = ((glXCreateWindow = (PFNGLXCREATEWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXCreateWindow")) == NULL) || r;
06583 r = ((glXDestroyPbuffer = (PFNGLXDESTROYPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPbuffer")) == NULL) || r;
06584 r = ((glXDestroyPixmap = (PFNGLXDESTROYPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPixmap")) == NULL) || r;
06585 r = ((glXDestroyWindow = (PFNGLXDESTROYWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXDestroyWindow")) == NULL) || r;
06586 r = ((glXGetCurrentReadDrawable = (PFNGLXGETCURRENTREADDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawable")) == NULL) || r;
06587 r = ((glXGetFBConfigAttrib = (PFNGLXGETFBCONFIGATTRIBPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttrib")) == NULL) || r;
06588 r = ((glXGetFBConfigs = (PFNGLXGETFBCONFIGSPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigs")) == NULL) || r;
06589 r = ((glXGetSelectedEvent = (PFNGLXGETSELECTEDEVENTPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEvent")) == NULL) || r;
06590 r = ((glXGetVisualFromFBConfig = (PFNGLXGETVISUALFROMFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfig")) == NULL) || r;
06591 r = ((glXMakeContextCurrent = (PFNGLXMAKECONTEXTCURRENTPROC)glewGetProcAddress((const GLubyte*)"glXMakeContextCurrent")) == NULL) || r;
06592 r = ((glXQueryContext = (PFNGLXQUERYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContext")) == NULL) || r;
06593 r = ((glXQueryDrawable = (PFNGLXQUERYDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXQueryDrawable")) == NULL) || r;
06594 r = ((glXSelectEvent = (PFNGLXSELECTEVENTPROC)glewGetProcAddress((const GLubyte*)"glXSelectEvent")) == NULL) || r;
06595
06596 return r;
06597 }
06598
06599 #endif
06600
06601 #ifdef GLX_VERSION_1_4
06602
06603 #endif
06604
06605 #ifdef GLX_3DFX_multisample
06606
06607 #endif
06608
06609 #ifdef GLX_ARB_fbconfig_float
06610
06611 #endif
06612
06613 #ifdef GLX_ARB_get_proc_address
06614
06615 #endif
06616
06617 #ifdef GLX_ARB_multisample
06618
06619 #endif
06620
06621 #ifdef GLX_ATI_pixel_format_float
06622
06623 #endif
06624
06625 #ifdef GLX_ATI_render_texture
06626
06627 static GLboolean _glewInit_GLX_ATI_render_texture (GLXEW_CONTEXT_ARG_DEF_INIT)
06628 {
06629 GLboolean r = GL_FALSE;
06630
06631 r = ((glXBindTexImageATI = (PFNGLXBINDTEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageATI")) == NULL) || r;
06632 r = ((glXDrawableAttribATI = (PFNGLXDRAWABLEATTRIBATIPROC)glewGetProcAddress((const GLubyte*)"glXDrawableAttribATI")) == NULL) || r;
06633 r = ((glXReleaseTexImageATI = (PFNGLXRELEASETEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageATI")) == NULL) || r;
06634
06635 return r;
06636 }
06637
06638 #endif
06639
06640 #ifdef GLX_EXT_import_context
06641
06642 static GLboolean _glewInit_GLX_EXT_import_context (GLXEW_CONTEXT_ARG_DEF_INIT)
06643 {
06644 GLboolean r = GL_FALSE;
06645
06646 r = ((glXFreeContextEXT = (PFNGLXFREECONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXFreeContextEXT")) == NULL) || r;
06647 r = ((glXGetContextIDEXT = (PFNGLXGETCONTEXTIDEXTPROC)glewGetProcAddress((const GLubyte*)"glXGetContextIDEXT")) == NULL) || r;
06648 r = ((glXImportContextEXT = (PFNGLXIMPORTCONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXImportContextEXT")) == NULL) || r;
06649 r = ((glXQueryContextInfoEXT = (PFNGLXQUERYCONTEXTINFOEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContextInfoEXT")) == NULL) || r;
06650
06651 return r;
06652 }
06653
06654 #endif
06655
06656 #ifdef GLX_EXT_scene_marker
06657
06658 #endif
06659
06660 #ifdef GLX_EXT_visual_info
06661
06662 #endif
06663
06664 #ifdef GLX_EXT_visual_rating
06665
06666 #endif
06667
06668 #ifdef GLX_MESA_agp_offset
06669
06670 static GLboolean _glewInit_GLX_MESA_agp_offset (GLXEW_CONTEXT_ARG_DEF_INIT)
06671 {
06672 GLboolean r = GL_FALSE;
06673
06674 r = ((glXGetAGPOffsetMESA = (PFNGLXGETAGPOFFSETMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetAGPOffsetMESA")) == NULL) || r;
06675
06676 return r;
06677 }
06678
06679 #endif
06680
06681 #ifdef GLX_MESA_copy_sub_buffer
06682
06683 static GLboolean _glewInit_GLX_MESA_copy_sub_buffer (GLXEW_CONTEXT_ARG_DEF_INIT)
06684 {
06685 GLboolean r = GL_FALSE;
06686
06687 r = ((glXCopySubBufferMESA = (PFNGLXCOPYSUBBUFFERMESAPROC)glewGetProcAddress((const GLubyte*)"glXCopySubBufferMESA")) == NULL) || r;
06688
06689 return r;
06690 }
06691
06692 #endif
06693
06694 #ifdef GLX_MESA_pixmap_colormap
06695
06696 static GLboolean _glewInit_GLX_MESA_pixmap_colormap (GLXEW_CONTEXT_ARG_DEF_INIT)
06697 {
06698 GLboolean r = GL_FALSE;
06699
06700 r = ((glXCreateGLXPixmapMESA = (PFNGLXCREATEGLXPIXMAPMESAPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapMESA")) == NULL) || r;
06701
06702 return r;
06703 }
06704
06705 #endif
06706
06707 #ifdef GLX_MESA_release_buffers
06708
06709 static GLboolean _glewInit_GLX_MESA_release_buffers (GLXEW_CONTEXT_ARG_DEF_INIT)
06710 {
06711 GLboolean r = GL_FALSE;
06712
06713 r = ((glXReleaseBuffersMESA = (PFNGLXRELEASEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glXReleaseBuffersMESA")) == NULL) || r;
06714
06715 return r;
06716 }
06717
06718 #endif
06719
06720 #ifdef GLX_MESA_set_3dfx_mode
06721
06722 static GLboolean _glewInit_GLX_MESA_set_3dfx_mode (GLXEW_CONTEXT_ARG_DEF_INIT)
06723 {
06724 GLboolean r = GL_FALSE;
06725
06726 r = ((glXSet3DfxModeMESA = (PFNGLXSET3DFXMODEMESAPROC)glewGetProcAddress((const GLubyte*)"glXSet3DfxModeMESA")) == NULL) || r;
06727
06728 return r;
06729 }
06730
06731 #endif
06732
06733 #ifdef GLX_NV_float_buffer
06734
06735 #endif
06736
06737 #ifdef GLX_NV_vertex_array_range
06738
06739 static GLboolean _glewInit_GLX_NV_vertex_array_range (GLXEW_CONTEXT_ARG_DEF_INIT)
06740 {
06741 GLboolean r = GL_FALSE;
06742
06743 r = ((glXAllocateMemoryNV = (PFNGLXALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXAllocateMemoryNV")) == NULL) || r;
06744 r = ((glXFreeMemoryNV = (PFNGLXFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXFreeMemoryNV")) == NULL) || r;
06745
06746 return r;
06747 }
06748
06749 #endif
06750
06751 #ifdef GLX_OML_swap_method
06752
06753 #endif
06754
06755 #if defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
06756 #include <inttypes.h>
06757
06758 static GLboolean _glewInit_GLX_OML_sync_control (GLXEW_CONTEXT_ARG_DEF_INIT)
06759 {
06760 GLboolean r = GL_FALSE;
06761
06762 r = ((glXGetMscRateOML = (PFNGLXGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetMscRateOML")) == NULL) || r;
06763 r = ((glXGetSyncValuesOML = (PFNGLXGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetSyncValuesOML")) == NULL) || r;
06764 r = ((glXSwapBuffersMscOML = (PFNGLXSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXSwapBuffersMscOML")) == NULL) || r;
06765 r = ((glXWaitForMscOML = (PFNGLXWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForMscOML")) == NULL) || r;
06766 r = ((glXWaitForSbcOML = (PFNGLXWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForSbcOML")) == NULL) || r;
06767
06768 return r;
06769 }
06770
06771 #endif
06772
06773 #ifdef GLX_SGIS_blended_overlay
06774
06775 #endif
06776
06777 #ifdef GLX_SGIS_color_range
06778
06779 #endif
06780
06781 #ifdef GLX_SGIS_multisample
06782
06783 #endif
06784
06785 #ifdef GLX_SGIS_shared_multisample
06786
06787 #endif
06788
06789 #ifdef GLX_SGIX_fbconfig
06790
06791 static GLboolean _glewInit_GLX_SGIX_fbconfig (GLXEW_CONTEXT_ARG_DEF_INIT)
06792 {
06793 GLboolean r = GL_FALSE;
06794
06795 r = ((glXChooseFBConfigSGIX = (PFNGLXCHOOSEFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfigSGIX")) == NULL) || r;
06796 r = ((glXCreateContextWithConfigSGIX = (PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextWithConfigSGIX")) == NULL) || r;
06797 r = ((glXCreateGLXPixmapWithConfigSGIX = (PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapWithConfigSGIX")) == NULL) || r;
06798 r = ((glXGetFBConfigAttribSGIX = (PFNGLXGETFBCONFIGATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttribSGIX")) == NULL) || r;
06799 r = ((glXGetFBConfigFromVisualSGIX = (PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigFromVisualSGIX")) == NULL) || r;
06800 r = ((glXGetVisualFromFBConfigSGIX = (PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfigSGIX")) == NULL) || r;
06801
06802 return r;
06803 }
06804
06805 #endif
06806
06807 #ifdef GLX_SGIX_pbuffer
06808
06809 static GLboolean _glewInit_GLX_SGIX_pbuffer (GLXEW_CONTEXT_ARG_DEF_INIT)
06810 {
06811 GLboolean r = GL_FALSE;
06812
06813 r = ((glXCreateGLXPbufferSGIX = (PFNGLXCREATEGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPbufferSGIX")) == NULL) || r;
06814 r = ((glXDestroyGLXPbufferSGIX = (PFNGLXDESTROYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyGLXPbufferSGIX")) == NULL) || r;
06815 r = ((glXGetSelectedEventSGIX = (PFNGLXGETSELECTEDEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEventSGIX")) == NULL) || r;
06816 r = ((glXQueryGLXPbufferSGIX = (PFNGLXQUERYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryGLXPbufferSGIX")) == NULL) || r;
06817 r = ((glXSelectEventSGIX = (PFNGLXSELECTEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXSelectEventSGIX")) == NULL) || r;
06818
06819 return r;
06820 }
06821
06822 #endif
06823
06824 #ifdef GLX_SGIX_swap_barrier
06825
06826 static GLboolean _glewInit_GLX_SGIX_swap_barrier (GLXEW_CONTEXT_ARG_DEF_INIT)
06827 {
06828 GLboolean r = GL_FALSE;
06829
06830 r = ((glXBindSwapBarrierSGIX = (PFNGLXBINDSWAPBARRIERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierSGIX")) == NULL) || r;
06831 r = ((glXQueryMaxSwapBarriersSGIX = (PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapBarriersSGIX")) == NULL) || r;
06832
06833 return r;
06834 }
06835
06836 #endif
06837
06838 #ifdef GLX_SGIX_swap_group
06839
06840 static GLboolean _glewInit_GLX_SGIX_swap_group (GLXEW_CONTEXT_ARG_DEF_INIT)
06841 {
06842 GLboolean r = GL_FALSE;
06843
06844 r = ((glXJoinSwapGroupSGIX = (PFNGLXJOINSWAPGROUPSGIXPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupSGIX")) == NULL) || r;
06845
06846 return r;
06847 }
06848
06849 #endif
06850
06851 #ifdef GLX_SGIX_video_resize
06852
06853 static GLboolean _glewInit_GLX_SGIX_video_resize (GLXEW_CONTEXT_ARG_DEF_INIT)
06854 {
06855 GLboolean r = GL_FALSE;
06856
06857 r = ((glXBindChannelToWindowSGIX = (PFNGLXBINDCHANNELTOWINDOWSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindChannelToWindowSGIX")) == NULL) || r;
06858 r = ((glXChannelRectSGIX = (PFNGLXCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSGIX")) == NULL) || r;
06859 r = ((glXChannelRectSyncSGIX = (PFNGLXCHANNELRECTSYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSyncSGIX")) == NULL) || r;
06860 r = ((glXQueryChannelDeltasSGIX = (PFNGLXQUERYCHANNELDELTASSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelDeltasSGIX")) == NULL) || r;
06861 r = ((glXQueryChannelRectSGIX = (PFNGLXQUERYCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelRectSGIX")) == NULL) || r;
06862
06863 return r;
06864 }
06865
06866 #endif
06867
06868 #ifdef GLX_SGIX_visual_select_group
06869
06870 #endif
06871
06872 #ifdef GLX_SGI_cushion
06873
06874 static GLboolean _glewInit_GLX_SGI_cushion (GLXEW_CONTEXT_ARG_DEF_INIT)
06875 {
06876 GLboolean r = GL_FALSE;
06877
06878 r = ((glXCushionSGI = (PFNGLXCUSHIONSGIPROC)glewGetProcAddress((const GLubyte*)"glXCushionSGI")) == NULL) || r;
06879
06880 return r;
06881 }
06882
06883 #endif
06884
06885 #ifdef GLX_SGI_make_current_read
06886
06887 static GLboolean _glewInit_GLX_SGI_make_current_read (GLXEW_CONTEXT_ARG_DEF_INIT)
06888 {
06889 GLboolean r = GL_FALSE;
06890
06891 r = ((glXGetCurrentReadDrawableSGI = (PFNGLXGETCURRENTREADDRAWABLESGIPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawableSGI")) == NULL) || r;
06892 r = ((glXMakeCurrentReadSGI = (PFNGLXMAKECURRENTREADSGIPROC)glewGetProcAddress((const GLubyte*)"glXMakeCurrentReadSGI")) == NULL) || r;
06893
06894 return r;
06895 }
06896
06897 #endif
06898
06899 #ifdef GLX_SGI_swap_control
06900
06901 static GLboolean _glewInit_GLX_SGI_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT)
06902 {
06903 GLboolean r = GL_FALSE;
06904
06905 r = ((glXSwapIntervalSGI = (PFNGLXSWAPINTERVALSGIPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalSGI")) == NULL) || r;
06906
06907 return r;
06908 }
06909
06910 #endif
06911
06912 #ifdef GLX_SGI_video_sync
06913
06914 static GLboolean _glewInit_GLX_SGI_video_sync (GLXEW_CONTEXT_ARG_DEF_INIT)
06915 {
06916 GLboolean r = GL_FALSE;
06917
06918 r = ((glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoSyncSGI")) == NULL) || r;
06919 r = ((glXWaitVideoSyncSGI = (PFNGLXWAITVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXWaitVideoSyncSGI")) == NULL) || r;
06920
06921 return r;
06922 }
06923
06924 #endif
06925
06926 #ifdef GLX_SUN_get_transparent_index
06927
06928 static GLboolean _glewInit_GLX_SUN_get_transparent_index (GLXEW_CONTEXT_ARG_DEF_INIT)
06929 {
06930 GLboolean r = GL_FALSE;
06931
06932 r = ((glXGetTransparentIndexSUN = (PFNGLXGETTRANSPARENTINDEXSUNPROC)glewGetProcAddress((const GLubyte*)"glXGetTransparentIndexSUN")) == NULL) || r;
06933
06934 return r;
06935 }
06936
06937 #endif
06938
06939 #ifdef GLX_SUN_video_resize
06940
06941 static GLboolean _glewInit_GLX_SUN_video_resize (GLXEW_CONTEXT_ARG_DEF_INIT)
06942 {
06943 GLboolean r = GL_FALSE;
06944
06945 r = ((glXGetVideoResizeSUN = (PFNGLXGETVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoResizeSUN")) == NULL) || r;
06946 r = ((glXVideoResizeSUN = (PFNGLXVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXVideoResizeSUN")) == NULL) || r;
06947
06948 return r;
06949 }
06950
06951 #endif
06952
06953
06954
06955 GLboolean glxewGetExtension (const char* name)
06956 {
06957 GLubyte* p;
06958 GLubyte* end;
06959 GLuint len = _glewStrLen((const GLubyte*)name);
06960
06961
06962 if (glXGetClientString == NULL || glXGetCurrentDisplay == NULL) return GL_FALSE;
06963 p = (GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS);
06964 if (0 == p) return GL_FALSE;
06965 end = p + _glewStrLen(p);
06966 while (p < end)
06967 {
06968 GLuint n = _glewStrCLen(p, ' ');
06969 if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
06970 p += n+1;
06971 }
06972 return GL_FALSE;
06973 }
06974
06975 GLenum glxewContextInit (GLXEW_CONTEXT_ARG_DEF_LIST)
06976 {
06977 int major, minor;
06978
06979 if (_glewInit_GLX_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT)) return GLEW_ERROR_GLX_VERSION_11_ONLY;
06980
06981 GLXEW_VERSION_1_0 = GL_TRUE;
06982 GLXEW_VERSION_1_1 = GL_TRUE;
06983 GLXEW_VERSION_1_2 = GL_TRUE;
06984 GLXEW_VERSION_1_3 = GL_TRUE;
06985 GLXEW_VERSION_1_4 = GL_TRUE;
06986
06987 glXQueryVersion(glXGetCurrentDisplay(), &major, &minor);
06988 if (major == 1 && minor <= 3)
06989 {
06990 switch (minor)
06991 {
06992 case 3:
06993 GLXEW_VERSION_1_4 = GL_FALSE;
06994 break;
06995 case 2:
06996 GLXEW_VERSION_1_4 = GL_FALSE;
06997 GLXEW_VERSION_1_3 = GL_FALSE;
06998 break;
06999 default:
07000 return GLEW_ERROR_GLX_VERSION_11_ONLY;
07001 break;
07002 }
07003 }
07004
07005 #ifdef GLX_VERSION_1_3
07006 if (glewExperimental || GLXEW_VERSION_1_3) GLXEW_VERSION_1_3 = !_glewInit_GLX_VERSION_1_3(GLEW_CONTEXT_ARG_VAR_INIT);
07007 #endif
07008 #ifdef GLX_3DFX_multisample
07009 GLXEW_3DFX_multisample = glxewGetExtension("GLX_3DFX_multisample");
07010 #endif
07011 #ifdef GLX_ARB_fbconfig_float
07012 GLXEW_ARB_fbconfig_float = glxewGetExtension("GLX_ARB_fbconfig_float");
07013 #endif
07014 #ifdef GLX_ARB_get_proc_address
07015 GLXEW_ARB_get_proc_address = glxewGetExtension("GLX_ARB_get_proc_address");
07016 #endif
07017 #ifdef GLX_ARB_multisample
07018 GLXEW_ARB_multisample = glxewGetExtension("GLX_ARB_multisample");
07019 #endif
07020 #ifdef GLX_ATI_pixel_format_float
07021 GLXEW_ATI_pixel_format_float = glxewGetExtension("GLX_ATI_pixel_format_float");
07022 #endif
07023 #ifdef GLX_ATI_render_texture
07024 GLXEW_ATI_render_texture = glxewGetExtension("GLX_ATI_render_texture");
07025 if (glewExperimental || GLXEW_ATI_render_texture) GLXEW_ATI_render_texture = !_glewInit_GLX_ATI_render_texture(GLEW_CONTEXT_ARG_VAR_INIT);
07026 #endif
07027 #ifdef GLX_EXT_import_context
07028 GLXEW_EXT_import_context = glxewGetExtension("GLX_EXT_import_context");
07029 if (glewExperimental || GLXEW_EXT_import_context) GLXEW_EXT_import_context = !_glewInit_GLX_EXT_import_context(GLEW_CONTEXT_ARG_VAR_INIT);
07030 #endif
07031 #ifdef GLX_EXT_scene_marker
07032 GLXEW_EXT_scene_marker = glxewGetExtension("GLX_EXT_scene_marker");
07033 #endif
07034 #ifdef GLX_EXT_visual_info
07035 GLXEW_EXT_visual_info = glxewGetExtension("GLX_EXT_visual_info");
07036 #endif
07037 #ifdef GLX_EXT_visual_rating
07038 GLXEW_EXT_visual_rating = glxewGetExtension("GLX_EXT_visual_rating");
07039 #endif
07040 #ifdef GLX_MESA_agp_offset
07041 GLXEW_MESA_agp_offset = glxewGetExtension("GLX_MESA_agp_offset");
07042 if (glewExperimental || GLXEW_MESA_agp_offset) GLXEW_MESA_agp_offset = !_glewInit_GLX_MESA_agp_offset(GLEW_CONTEXT_ARG_VAR_INIT);
07043 #endif
07044 #ifdef GLX_MESA_copy_sub_buffer
07045 GLXEW_MESA_copy_sub_buffer = glxewGetExtension("GLX_MESA_copy_sub_buffer");
07046 if (glewExperimental || GLXEW_MESA_copy_sub_buffer) GLXEW_MESA_copy_sub_buffer = !_glewInit_GLX_MESA_copy_sub_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
07047 #endif
07048 #ifdef GLX_MESA_pixmap_colormap
07049 GLXEW_MESA_pixmap_colormap = glxewGetExtension("GLX_MESA_pixmap_colormap");
07050 if (glewExperimental || GLXEW_MESA_pixmap_colormap) GLXEW_MESA_pixmap_colormap = !_glewInit_GLX_MESA_pixmap_colormap(GLEW_CONTEXT_ARG_VAR_INIT);
07051 #endif
07052 #ifdef GLX_MESA_release_buffers
07053 GLXEW_MESA_release_buffers = glxewGetExtension("GLX_MESA_release_buffers");
07054 if (glewExperimental || GLXEW_MESA_release_buffers) GLXEW_MESA_release_buffers = !_glewInit_GLX_MESA_release_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
07055 #endif
07056 #ifdef GLX_MESA_set_3dfx_mode
07057 GLXEW_MESA_set_3dfx_mode = glxewGetExtension("GLX_MESA_set_3dfx_mode");
07058 if (glewExperimental || GLXEW_MESA_set_3dfx_mode) GLXEW_MESA_set_3dfx_mode = !_glewInit_GLX_MESA_set_3dfx_mode(GLEW_CONTEXT_ARG_VAR_INIT);
07059 #endif
07060 #ifdef GLX_NV_float_buffer
07061 GLXEW_NV_float_buffer = glxewGetExtension("GLX_NV_float_buffer");
07062 #endif
07063 #ifdef GLX_NV_vertex_array_range
07064 GLXEW_NV_vertex_array_range = glxewGetExtension("GLX_NV_vertex_array_range");
07065 if (glewExperimental || GLXEW_NV_vertex_array_range) GLXEW_NV_vertex_array_range = !_glewInit_GLX_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
07066 #endif
07067 #ifdef GLX_OML_swap_method
07068 GLXEW_OML_swap_method = glxewGetExtension("GLX_OML_swap_method");
07069 #endif
07070 #if defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
07071 #include <inttypes.h>
07072 GLXEW_OML_sync_control = glxewGetExtension("GLX_OML_sync_control");
07073 if (glewExperimental || GLXEW_OML_sync_control) GLXEW_OML_sync_control = !_glewInit_GLX_OML_sync_control(GLEW_CONTEXT_ARG_VAR_INIT);
07074 #endif
07075 #ifdef GLX_SGIS_blended_overlay
07076 GLXEW_SGIS_blended_overlay = glxewGetExtension("GLX_SGIS_blended_overlay");
07077 #endif
07078 #ifdef GLX_SGIS_color_range
07079 GLXEW_SGIS_color_range = glxewGetExtension("GLX_SGIS_color_range");
07080 #endif
07081 #ifdef GLX_SGIS_multisample
07082 GLXEW_SGIS_multisample = glxewGetExtension("GLX_SGIS_multisample");
07083 #endif
07084 #ifdef GLX_SGIS_shared_multisample
07085 GLXEW_SGIS_shared_multisample = glxewGetExtension("GLX_SGIS_shared_multisample");
07086 #endif
07087 #ifdef GLX_SGIX_fbconfig
07088 GLXEW_SGIX_fbconfig = glxewGetExtension("GLX_SGIX_fbconfig");
07089 if (glewExperimental || GLXEW_SGIX_fbconfig) GLXEW_SGIX_fbconfig = !_glewInit_GLX_SGIX_fbconfig(GLEW_CONTEXT_ARG_VAR_INIT);
07090 #endif
07091 #ifdef GLX_SGIX_pbuffer
07092 GLXEW_SGIX_pbuffer = glxewGetExtension("GLX_SGIX_pbuffer");
07093 if (glewExperimental || GLXEW_SGIX_pbuffer) GLXEW_SGIX_pbuffer = !_glewInit_GLX_SGIX_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
07094 #endif
07095 #ifdef GLX_SGIX_swap_barrier
07096 GLXEW_SGIX_swap_barrier = glxewGetExtension("GLX_SGIX_swap_barrier");
07097 if (glewExperimental || GLXEW_SGIX_swap_barrier) GLXEW_SGIX_swap_barrier = !_glewInit_GLX_SGIX_swap_barrier(GLEW_CONTEXT_ARG_VAR_INIT);
07098 #endif
07099 #ifdef GLX_SGIX_swap_group
07100 GLXEW_SGIX_swap_group = glxewGetExtension("GLX_SGIX_swap_group");
07101 if (glewExperimental || GLXEW_SGIX_swap_group) GLXEW_SGIX_swap_group = !_glewInit_GLX_SGIX_swap_group(GLEW_CONTEXT_ARG_VAR_INIT);
07102 #endif
07103 #ifdef GLX_SGIX_video_resize
07104 GLXEW_SGIX_video_resize = glxewGetExtension("GLX_SGIX_video_resize");
07105 if (glewExperimental || GLXEW_SGIX_video_resize) GLXEW_SGIX_video_resize = !_glewInit_GLX_SGIX_video_resize(GLEW_CONTEXT_ARG_VAR_INIT);
07106 #endif
07107 #ifdef GLX_SGIX_visual_select_group
07108 GLXEW_SGIX_visual_select_group = glxewGetExtension("GLX_SGIX_visual_select_group");
07109 #endif
07110 #ifdef GLX_SGI_cushion
07111 GLXEW_SGI_cushion = glxewGetExtension("GLX_SGI_cushion");
07112 if (glewExperimental || GLXEW_SGI_cushion) GLXEW_SGI_cushion = !_glewInit_GLX_SGI_cushion(GLEW_CONTEXT_ARG_VAR_INIT);
07113 #endif
07114 #ifdef GLX_SGI_make_current_read
07115 GLXEW_SGI_make_current_read = glxewGetExtension("GLX_SGI_make_current_read");
07116 if (glewExperimental || GLXEW_SGI_make_current_read) GLXEW_SGI_make_current_read = !_glewInit_GLX_SGI_make_current_read(GLEW_CONTEXT_ARG_VAR_INIT);
07117 #endif
07118 #ifdef GLX_SGI_swap_control
07119 GLXEW_SGI_swap_control = glxewGetExtension("GLX_SGI_swap_control");
07120 if (glewExperimental || GLXEW_SGI_swap_control) GLXEW_SGI_swap_control = !_glewInit_GLX_SGI_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
07121 #endif
07122 #ifdef GLX_SGI_video_sync
07123 GLXEW_SGI_video_sync = glxewGetExtension("GLX_SGI_video_sync");
07124 if (glewExperimental || GLXEW_SGI_video_sync) GLXEW_SGI_video_sync = !_glewInit_GLX_SGI_video_sync(GLEW_CONTEXT_ARG_VAR_INIT);
07125 #endif
07126 #ifdef GLX_SUN_get_transparent_index
07127 GLXEW_SUN_get_transparent_index = glxewGetExtension("GLX_SUN_get_transparent_index");
07128 if (glewExperimental || GLXEW_SUN_get_transparent_index) GLXEW_SUN_get_transparent_index = !_glewInit_GLX_SUN_get_transparent_index(GLEW_CONTEXT_ARG_VAR_INIT);
07129 #endif
07130 #ifdef GLX_SUN_video_resize
07131 GLXEW_SUN_video_resize = glxewGetExtension("GLX_SUN_video_resize");
07132 if (glewExperimental || GLXEW_SUN_video_resize) GLXEW_SUN_video_resize = !_glewInit_GLX_SUN_video_resize(GLEW_CONTEXT_ARG_VAR_INIT);
07133 #endif
07134
07135 return GLEW_OK;
07136 }
07137
07138 #endif
07139
07140
07141
07142 const GLubyte* glewGetErrorString (GLenum error)
07143 {
07144 static const GLubyte* _glewErrorString[] =
07145 {
07146 (const GLubyte*)"No error",
07147 (const GLubyte*)"Missing GL version",
07148 (const GLubyte*)"GL 1.1 and up are not supported",
07149 (const GLubyte*)"GLX 1.2 and up are not supported",
07150 (const GLubyte*)"Unknown error"
07151 };
07152 const int max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1;
07153 return _glewErrorString[(int)error > max_error ? max_error : (int)error];
07154 }
07155
07156 const GLubyte* glewGetString (GLenum name)
07157 {
07158 static const GLubyte* _glewString[] =
07159 {
07160 (const GLubyte*)NULL,
07161 (const GLubyte*)"1.3.4"
07162 };
07163 const int max_string = sizeof(_glewString)/sizeof(*_glewString) - 1;
07164 return _glewString[(int)name > max_string ? 0 : (int)name];
07165 }
07166
07167
07168
07169 GLboolean glewExperimental = GL_FALSE;
07170
07171 #if !defined(GLEW_MX)
07172
07173 #if defined(_WIN32)
07174 extern GLenum wglewContextInit (void);
07175 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
07176 extern GLenum glxewContextInit (void);
07177 #endif
07178
07179 GLenum glewInit ()
07180 {
07181 GLenum r;
07182 if ( (r = glewContextInit()) ) return r;
07183 #if defined(_WIN32)
07184 return wglewContextInit();
07185 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
07186 return glxewContextInit();
07187 #else
07188 return r;
07189 #endif
07190 }
07191
07192 #endif
07193 #ifdef GLEW_MX
07194 GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name)
07195 #else
07196 GLboolean glewIsSupported (const char* name)
07197 #endif
07198 {
07199 GLubyte* pos = (GLubyte*)name;
07200 GLuint len = _glewStrLen(pos);
07201 GLboolean ret = GL_TRUE;
07202 while (ret && len > 0)
07203 {
07204 if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3))
07205 {
07206 if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
07207 {
07208 #ifdef GL_VERSION_1_2
07209 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
07210 {
07211 ret = GLEW_VERSION_1_2;
07212 continue;
07213 }
07214 #endif
07215 #ifdef GL_VERSION_1_3
07216 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
07217 {
07218 ret = GLEW_VERSION_1_3;
07219 continue;
07220 }
07221 #endif
07222 #ifdef GL_VERSION_1_4
07223 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
07224 {
07225 ret = GLEW_VERSION_1_4;
07226 continue;
07227 }
07228 #endif
07229 #ifdef GL_VERSION_1_5
07230 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_5", 3))
07231 {
07232 ret = GLEW_VERSION_1_5;
07233 continue;
07234 }
07235 #endif
07236 #ifdef GL_VERSION_2_0
07237 if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_0", 3))
07238 {
07239 ret = GLEW_VERSION_2_0;
07240 continue;
07241 }
07242 #endif
07243 }
07244 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
07245 {
07246 #ifdef GL_3DFX_multisample
07247 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
07248 {
07249 ret = GLEW_3DFX_multisample;
07250 continue;
07251 }
07252 #endif
07253 #ifdef GL_3DFX_tbuffer
07254 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tbuffer", 7))
07255 {
07256 ret = GLEW_3DFX_tbuffer;
07257 continue;
07258 }
07259 #endif
07260 #ifdef GL_3DFX_texture_compression_FXT1
07261 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_FXT1", 24))
07262 {
07263 ret = GLEW_3DFX_texture_compression_FXT1;
07264 continue;
07265 }
07266 #endif
07267 }
07268 if (_glewStrSame2(&pos, &len, (const GLubyte*)"APPLE_", 6))
07269 {
07270 #ifdef GL_APPLE_client_storage
07271 if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_storage", 14))
07272 {
07273 ret = GLEW_APPLE_client_storage;
07274 continue;
07275 }
07276 #endif
07277 #ifdef GL_APPLE_element_array
07278 if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
07279 {
07280 ret = GLEW_APPLE_element_array;
07281 continue;
07282 }
07283 #endif
07284 #ifdef GL_APPLE_fence
07285 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
07286 {
07287 ret = GLEW_APPLE_fence;
07288 continue;
07289 }
07290 #endif
07291 #ifdef GL_APPLE_float_pixels
07292 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_pixels", 12))
07293 {
07294 ret = GLEW_APPLE_float_pixels;
07295 continue;
07296 }
07297 #endif
07298 #ifdef GL_APPLE_pixel_buffer
07299 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer", 12))
07300 {
07301 ret = GLEW_APPLE_pixel_buffer;
07302 continue;
07303 }
07304 #endif
07305 #ifdef GL_APPLE_specular_vector
07306 if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_vector", 15))
07307 {
07308 ret = GLEW_APPLE_specular_vector;
07309 continue;
07310 }
07311 #endif
07312 #ifdef GL_APPLE_texture_range
07313 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
07314 {
07315 ret = GLEW_APPLE_texture_range;
07316 continue;
07317 }
07318 #endif
07319 #ifdef GL_APPLE_transform_hint
07320 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_hint", 14))
07321 {
07322 ret = GLEW_APPLE_transform_hint;
07323 continue;
07324 }
07325 #endif
07326 #ifdef GL_APPLE_vertex_array_object
07327 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
07328 {
07329 ret = GLEW_APPLE_vertex_array_object;
07330 continue;
07331 }
07332 #endif
07333 #ifdef GL_APPLE_vertex_array_range
07334 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
07335 {
07336 ret = GLEW_APPLE_vertex_array_range;
07337 continue;
07338 }
07339 #endif
07340 #ifdef GL_APPLE_ycbcr_422
07341 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_422", 9))
07342 {
07343 ret = GLEW_APPLE_ycbcr_422;
07344 continue;
07345 }
07346 #endif
07347 }
07348 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
07349 {
07350 #ifdef GL_ARB_color_buffer_float
07351 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_float", 18))
07352 {
07353 ret = GLEW_ARB_color_buffer_float;
07354 continue;
07355 }
07356 #endif
07357 #ifdef GL_ARB_depth_texture
07358 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
07359 {
07360 ret = GLEW_ARB_depth_texture;
07361 continue;
07362 }
07363 #endif
07364 #ifdef GL_ARB_draw_buffers
07365 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
07366 {
07367 ret = GLEW_ARB_draw_buffers;
07368 continue;
07369 }
07370 #endif
07371 #ifdef GL_ARB_fragment_program
07372 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
07373 {
07374 ret = GLEW_ARB_fragment_program;
07375 continue;
07376 }
07377 #endif
07378 #ifdef GL_ARB_fragment_program_shadow
07379 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_shadow", 23))
07380 {
07381 ret = GLEW_ARB_fragment_program_shadow;
07382 continue;
07383 }
07384 #endif
07385 #ifdef GL_ARB_fragment_shader
07386 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
07387 {
07388 ret = GLEW_ARB_fragment_shader;
07389 continue;
07390 }
07391 #endif
07392 #ifdef GL_ARB_half_float_pixel
07393 if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_pixel", 16))
07394 {
07395 ret = GLEW_ARB_half_float_pixel;
07396 continue;
07397 }
07398 #endif
07399 #ifdef GL_ARB_imaging
07400 if (_glewStrSame3(&pos, &len, (const GLubyte*)"imaging", 7))
07401 {
07402 ret = GLEW_ARB_imaging;
07403 continue;
07404 }
07405 #endif
07406 #ifdef GL_ARB_matrix_palette
07407 if (_glewStrSame3(&pos, &len, (const GLubyte*)"matrix_palette", 14))
07408 {
07409 ret = GLEW_ARB_matrix_palette;
07410 continue;
07411 }
07412 #endif
07413 #ifdef GL_ARB_multisample
07414 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
07415 {
07416 ret = GLEW_ARB_multisample;
07417 continue;
07418 }
07419 #endif
07420 #ifdef GL_ARB_multitexture
07421 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multitexture", 12))
07422 {
07423 ret = GLEW_ARB_multitexture;
07424 continue;
07425 }
07426 #endif
07427 #ifdef GL_ARB_occlusion_query
07428 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
07429 {
07430 ret = GLEW_ARB_occlusion_query;
07431 continue;
07432 }
07433 #endif
07434 #ifdef GL_ARB_pixel_buffer_object
07435 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
07436 {
07437 ret = GLEW_ARB_pixel_buffer_object;
07438 continue;
07439 }
07440 #endif
07441 #ifdef GL_ARB_point_parameters
07442 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
07443 {
07444 ret = GLEW_ARB_point_parameters;
07445 continue;
07446 }
07447 #endif
07448 #ifdef GL_ARB_point_sprite
07449 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
07450 {
07451 ret = GLEW_ARB_point_sprite;
07452 continue;
07453 }
07454 #endif
07455 #ifdef GL_ARB_shader_objects
07456 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_objects", 14))
07457 {
07458 ret = GLEW_ARB_shader_objects;
07459 continue;
07460 }
07461 #endif
07462 #ifdef GL_ARB_shading_language_100
07463 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_100", 20))
07464 {
07465 ret = GLEW_ARB_shading_language_100;
07466 continue;
07467 }
07468 #endif
07469 #ifdef GL_ARB_shadow
07470 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
07471 {
07472 ret = GLEW_ARB_shadow;
07473 continue;
07474 }
07475 #endif
07476 #ifdef GL_ARB_shadow_ambient
07477 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
07478 {
07479 ret = GLEW_ARB_shadow_ambient;
07480 continue;
07481 }
07482 #endif
07483 #ifdef GL_ARB_texture_border_clamp
07484 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
07485 {
07486 ret = GLEW_ARB_texture_border_clamp;
07487 continue;
07488 }
07489 #endif
07490 #ifdef GL_ARB_texture_compression
07491 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression", 19))
07492 {
07493 ret = GLEW_ARB_texture_compression;
07494 continue;
07495 }
07496 #endif
07497 #ifdef GL_ARB_texture_cube_map
07498 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
07499 {
07500 ret = GLEW_ARB_texture_cube_map;
07501 continue;
07502 }
07503 #endif
07504 #ifdef GL_ARB_texture_env_add
07505 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
07506 {
07507 ret = GLEW_ARB_texture_env_add;
07508 continue;
07509 }
07510 #endif
07511 #ifdef GL_ARB_texture_env_combine
07512 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
07513 {
07514 ret = GLEW_ARB_texture_env_combine;
07515 continue;
07516 }
07517 #endif
07518 #ifdef GL_ARB_texture_env_crossbar
07519 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_crossbar", 20))
07520 {
07521 ret = GLEW_ARB_texture_env_crossbar;
07522 continue;
07523 }
07524 #endif
07525 #ifdef GL_ARB_texture_env_dot3
07526 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
07527 {
07528 ret = GLEW_ARB_texture_env_dot3;
07529 continue;
07530 }
07531 #endif
07532 #ifdef GL_ARB_texture_float
07533 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
07534 {
07535 ret = GLEW_ARB_texture_float;
07536 continue;
07537 }
07538 #endif
07539 #ifdef GL_ARB_texture_mirrored_repeat
07540 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
07541 {
07542 ret = GLEW_ARB_texture_mirrored_repeat;
07543 continue;
07544 }
07545 #endif
07546 #ifdef GL_ARB_texture_non_power_of_two
07547 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_non_power_of_two", 24))
07548 {
07549 ret = GLEW_ARB_texture_non_power_of_two;
07550 continue;
07551 }
07552 #endif
07553 #ifdef GL_ARB_texture_rectangle
07554 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
07555 {
07556 ret = GLEW_ARB_texture_rectangle;
07557 continue;
07558 }
07559 #endif
07560 #ifdef GL_ARB_transpose_matrix
07561 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transpose_matrix", 16))
07562 {
07563 ret = GLEW_ARB_transpose_matrix;
07564 continue;
07565 }
07566 #endif
07567 #ifdef GL_ARB_vertex_blend
07568 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_blend", 12))
07569 {
07570 ret = GLEW_ARB_vertex_blend;
07571 continue;
07572 }
07573 #endif
07574 #ifdef GL_ARB_vertex_buffer_object
07575 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20))
07576 {
07577 ret = GLEW_ARB_vertex_buffer_object;
07578 continue;
07579 }
07580 #endif
07581 #ifdef GL_ARB_vertex_program
07582 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
07583 {
07584 ret = GLEW_ARB_vertex_program;
07585 continue;
07586 }
07587 #endif
07588 #ifdef GL_ARB_vertex_shader
07589 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
07590 {
07591 ret = GLEW_ARB_vertex_shader;
07592 continue;
07593 }
07594 #endif
07595 #ifdef GL_ARB_window_pos
07596 if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
07597 {
07598 ret = GLEW_ARB_window_pos;
07599 continue;
07600 }
07601 #endif
07602 }
07603 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATIX_", 5))
07604 {
07605 #ifdef GL_ATIX_point_sprites
07606 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprites", 13))
07607 {
07608 ret = GLEW_ATIX_point_sprites;
07609 continue;
07610 }
07611 #endif
07612 #ifdef GL_ATIX_texture_env_combine3
07613 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
07614 {
07615 ret = GLEW_ATIX_texture_env_combine3;
07616 continue;
07617 }
07618 #endif
07619 #ifdef GL_ATIX_texture_env_route
07620 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_route", 17))
07621 {
07622 ret = GLEW_ATIX_texture_env_route;
07623 continue;
07624 }
07625 #endif
07626 #ifdef GL_ATIX_vertex_shader_output_point_size
07627 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_output_point_size", 31))
07628 {
07629 ret = GLEW_ATIX_vertex_shader_output_point_size;
07630 continue;
07631 }
07632 #endif
07633 }
07634 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
07635 {
07636 #ifdef GL_ATI_draw_buffers
07637 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
07638 {
07639 ret = GLEW_ATI_draw_buffers;
07640 continue;
07641 }
07642 #endif
07643 #ifdef GL_ATI_element_array
07644 if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
07645 {
07646 ret = GLEW_ATI_element_array;
07647 continue;
07648 }
07649 #endif
07650 #ifdef GL_ATI_envmap_bumpmap
07651 if (_glewStrSame3(&pos, &len, (const GLubyte*)"envmap_bumpmap", 14))
07652 {
07653 ret = GLEW_ATI_envmap_bumpmap;
07654 continue;
07655 }
07656 #endif
07657 #ifdef GL_ATI_fragment_shader
07658 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
07659 {
07660 ret = GLEW_ATI_fragment_shader;
07661 continue;
07662 }
07663 #endif
07664 #ifdef GL_ATI_map_object_buffer
07665 if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_object_buffer", 17))
07666 {
07667 ret = GLEW_ATI_map_object_buffer;
07668 continue;
07669 }
07670 #endif
07671 #ifdef GL_ATI_pn_triangles
07672 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pn_triangles", 12))
07673 {
07674 ret = GLEW_ATI_pn_triangles;
07675 continue;
07676 }
07677 #endif
07678 #ifdef GL_ATI_separate_stencil
07679 if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_stencil", 16))
07680 {
07681 ret = GLEW_ATI_separate_stencil;
07682 continue;
07683 }
07684 #endif
07685 #ifdef GL_ATI_text_fragment_shader
07686 if (_glewStrSame3(&pos, &len, (const GLubyte*)"text_fragment_shader", 20))
07687 {
07688 ret = GLEW_ATI_text_fragment_shader;
07689 continue;
07690 }
07691 #endif
07692 #ifdef GL_ATI_texture_compression_3dc
07693 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_3dc", 23))
07694 {
07695 ret = GLEW_ATI_texture_compression_3dc;
07696 continue;
07697 }
07698 #endif
07699 #ifdef GL_ATI_texture_env_combine3
07700 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
07701 {
07702 ret = GLEW_ATI_texture_env_combine3;
07703 continue;
07704 }
07705 #endif
07706 #ifdef GL_ATI_texture_float
07707 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
07708 {
07709 ret = GLEW_ATI_texture_float;
07710 continue;
07711 }
07712 #endif
07713 #ifdef GL_ATI_texture_mirror_once
07714 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_once", 19))
07715 {
07716 ret = GLEW_ATI_texture_mirror_once;
07717 continue;
07718 }
07719 #endif
07720 #ifdef GL_ATI_vertex_array_object
07721 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
07722 {
07723 ret = GLEW_ATI_vertex_array_object;
07724 continue;
07725 }
07726 #endif
07727 #ifdef GL_ATI_vertex_attrib_array_object
07728 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_array_object", 26))
07729 {
07730 ret = GLEW_ATI_vertex_attrib_array_object;
07731 continue;
07732 }
07733 #endif
07734 #ifdef GL_ATI_vertex_streams
07735 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_streams", 14))
07736 {
07737 ret = GLEW_ATI_vertex_streams;
07738 continue;
07739 }
07740 #endif
07741 }
07742 if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
07743 {
07744 #ifdef GL_EXT_422_pixels
07745 if (_glewStrSame3(&pos, &len, (const GLubyte*)"422_pixels", 10))
07746 {
07747 ret = GLEW_EXT_422_pixels;
07748 continue;
07749 }
07750 #endif
07751 #ifdef GL_EXT_Cg_shader
07752 if (_glewStrSame3(&pos, &len, (const GLubyte*)"Cg_shader", 9))
07753 {
07754 ret = GLEW_EXT_Cg_shader;
07755 continue;
07756 }
07757 #endif
07758 #ifdef GL_EXT_abgr
07759 if (_glewStrSame3(&pos, &len, (const GLubyte*)"abgr", 4))
07760 {
07761 ret = GLEW_EXT_abgr;
07762 continue;
07763 }
07764 #endif
07765 #ifdef GL_EXT_bgra
07766 if (_glewStrSame3(&pos, &len, (const GLubyte*)"bgra", 4))
07767 {
07768 ret = GLEW_EXT_bgra;
07769 continue;
07770 }
07771 #endif
07772 #ifdef GL_EXT_blend_color
07773 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_color", 11))
07774 {
07775 ret = GLEW_EXT_blend_color;
07776 continue;
07777 }
07778 #endif
07779 #ifdef GL_EXT_blend_equation_separate
07780 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_separate", 23))
07781 {
07782 ret = GLEW_EXT_blend_equation_separate;
07783 continue;
07784 }
07785 #endif
07786 #ifdef GL_EXT_blend_func_separate
07787 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_separate", 19))
07788 {
07789 ret = GLEW_EXT_blend_func_separate;
07790 continue;
07791 }
07792 #endif
07793 #ifdef GL_EXT_blend_logic_op
07794 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_logic_op", 14))
07795 {
07796 ret = GLEW_EXT_blend_logic_op;
07797 continue;
07798 }
07799 #endif
07800 #ifdef GL_EXT_blend_minmax
07801 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax", 12))
07802 {
07803 ret = GLEW_EXT_blend_minmax;
07804 continue;
07805 }
07806 #endif
07807 #ifdef GL_EXT_blend_subtract
07808 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_subtract", 14))
07809 {
07810 ret = GLEW_EXT_blend_subtract;
07811 continue;
07812 }
07813 #endif
07814 #ifdef GL_EXT_clip_volume_hint
07815 if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_volume_hint", 16))
07816 {
07817 ret = GLEW_EXT_clip_volume_hint;
07818 continue;
07819 }
07820 #endif
07821 #ifdef GL_EXT_cmyka
07822 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cmyka", 5))
07823 {
07824 ret = GLEW_EXT_cmyka;
07825 continue;
07826 }
07827 #endif
07828 #ifdef GL_EXT_color_subtable
07829 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_subtable", 14))
07830 {
07831 ret = GLEW_EXT_color_subtable;
07832 continue;
07833 }
07834 #endif
07835 #ifdef GL_EXT_compiled_vertex_array
07836 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compiled_vertex_array", 21))
07837 {
07838 ret = GLEW_EXT_compiled_vertex_array;
07839 continue;
07840 }
07841 #endif
07842 #ifdef GL_EXT_convolution
07843 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution", 11))
07844 {
07845 ret = GLEW_EXT_convolution;
07846 continue;
07847 }
07848 #endif
07849 #ifdef GL_EXT_coordinate_frame
07850 if (_glewStrSame3(&pos, &len, (const GLubyte*)"coordinate_frame", 16))
07851 {
07852 ret = GLEW_EXT_coordinate_frame;
07853 continue;
07854 }
07855 #endif
07856 #ifdef GL_EXT_copy_texture
07857 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_texture", 12))
07858 {
07859 ret = GLEW_EXT_copy_texture;
07860 continue;
07861 }
07862 #endif
07863 #ifdef GL_EXT_cull_vertex
07864 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
07865 {
07866 ret = GLEW_EXT_cull_vertex;
07867 continue;
07868 }
07869 #endif
07870 #ifdef GL_EXT_depth_bounds_test
07871 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_bounds_test", 17))
07872 {
07873 ret = GLEW_EXT_depth_bounds_test;
07874 continue;
07875 }
07876 #endif
07877 #ifdef GL_EXT_draw_range_elements
07878 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_range_elements", 19))
07879 {
07880 ret = GLEW_EXT_draw_range_elements;
07881 continue;
07882 }
07883 #endif
07884 #ifdef GL_EXT_fog_coord
07885 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_coord", 9))
07886 {
07887 ret = GLEW_EXT_fog_coord;
07888 continue;
07889 }
07890 #endif
07891 #ifdef GL_EXT_fragment_lighting
07892 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_lighting", 17))
07893 {
07894 ret = GLEW_EXT_fragment_lighting;
07895 continue;
07896 }
07897 #endif
07898 #ifdef GL_EXT_framebuffer_blit
07899 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
07900 {
07901 ret = GLEW_EXT_framebuffer_blit;
07902 continue;
07903 }
07904 #endif
07905 #ifdef GL_EXT_framebuffer_multisample
07906 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
07907 {
07908 ret = GLEW_EXT_framebuffer_multisample;
07909 continue;
07910 }
07911 #endif
07912 #ifdef GL_EXT_framebuffer_object
07913 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18))
07914 {
07915 ret = GLEW_EXT_framebuffer_object;
07916 continue;
07917 }
07918 #endif
07919 #ifdef GL_EXT_histogram
07920 if (_glewStrSame3(&pos, &len, (const GLubyte*)"histogram", 9))
07921 {
07922 ret = GLEW_EXT_histogram;
07923 continue;
07924 }
07925 #endif
07926 #ifdef GL_EXT_index_array_formats
07927 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_array_formats", 19))
07928 {
07929 ret = GLEW_EXT_index_array_formats;
07930 continue;
07931 }
07932 #endif
07933 #ifdef GL_EXT_index_func
07934 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_func", 10))
07935 {
07936 ret = GLEW_EXT_index_func;
07937 continue;
07938 }
07939 #endif
07940 #ifdef GL_EXT_index_material
07941 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_material", 14))
07942 {
07943 ret = GLEW_EXT_index_material;
07944 continue;
07945 }
07946 #endif
07947 #ifdef GL_EXT_index_texture
07948 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_texture", 13))
07949 {
07950 ret = GLEW_EXT_index_texture;
07951 continue;
07952 }
07953 #endif
07954 #ifdef GL_EXT_light_texture
07955 if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_texture", 13))
07956 {
07957 ret = GLEW_EXT_light_texture;
07958 continue;
07959 }
07960 #endif
07961 #ifdef GL_EXT_misc_attribute
07962 if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_attribute", 14))
07963 {
07964 ret = GLEW_EXT_misc_attribute;
07965 continue;
07966 }
07967 #endif
07968 #ifdef GL_EXT_multi_draw_arrays
07969 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_arrays", 17))
07970 {
07971 ret = GLEW_EXT_multi_draw_arrays;
07972 continue;
07973 }
07974 #endif
07975 #ifdef GL_EXT_multisample
07976 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
07977 {
07978 ret = GLEW_EXT_multisample;
07979 continue;
07980 }
07981 #endif
07982 #ifdef GL_EXT_packed_depth_stencil
07983 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
07984 {
07985 ret = GLEW_EXT_packed_depth_stencil;
07986 continue;
07987 }
07988 #endif
07989 #ifdef GL_EXT_packed_pixels
07990 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_pixels", 13))
07991 {
07992 ret = GLEW_EXT_packed_pixels;
07993 continue;
07994 }
07995 #endif
07996 #ifdef GL_EXT_paletted_texture
07997 if (_glewStrSame3(&pos, &len, (const GLubyte*)"paletted_texture", 16))
07998 {
07999 ret = GLEW_EXT_paletted_texture;
08000 continue;
08001 }
08002 #endif
08003 #ifdef GL_EXT_pixel_buffer_object
08004 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
08005 {
08006 ret = GLEW_EXT_pixel_buffer_object;
08007 continue;
08008 }
08009 #endif
08010 #ifdef GL_EXT_pixel_transform
08011 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform", 15))
08012 {
08013 ret = GLEW_EXT_pixel_transform;
08014 continue;
08015 }
08016 #endif
08017 #ifdef GL_EXT_pixel_transform_color_table
08018 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform_color_table", 27))
08019 {
08020 ret = GLEW_EXT_pixel_transform_color_table;
08021 continue;
08022 }
08023 #endif
08024 #ifdef GL_EXT_point_parameters
08025 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
08026 {
08027 ret = GLEW_EXT_point_parameters;
08028 continue;
08029 }
08030 #endif
08031 #ifdef GL_EXT_polygon_offset
08032 if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset", 14))
08033 {
08034 ret = GLEW_EXT_polygon_offset;
08035 continue;
08036 }
08037 #endif
08038 #ifdef GL_EXT_rescale_normal
08039 if (_glewStrSame3(&pos, &len, (const GLubyte*)"rescale_normal", 14))
08040 {
08041 ret = GLEW_EXT_rescale_normal;
08042 continue;
08043 }
08044 #endif
08045 #ifdef GL_EXT_scene_marker
08046 if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
08047 {
08048 ret = GLEW_EXT_scene_marker;
08049 continue;
08050 }
08051 #endif
08052 #ifdef GL_EXT_secondary_color
08053 if (_glewStrSame3(&pos, &len, (const GLubyte*)"secondary_color", 15))
08054 {
08055 ret = GLEW_EXT_secondary_color;
08056 continue;
08057 }
08058 #endif
08059 #ifdef GL_EXT_separate_specular_color
08060 if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_specular_color", 23))
08061 {
08062 ret = GLEW_EXT_separate_specular_color;
08063 continue;
08064 }
08065 #endif
08066 #ifdef GL_EXT_shadow_funcs
08067 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_funcs", 12))
08068 {
08069 ret = GLEW_EXT_shadow_funcs;
08070 continue;
08071 }
08072 #endif
08073 #ifdef GL_EXT_shared_texture_palette
08074 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_texture_palette", 22))
08075 {
08076 ret = GLEW_EXT_shared_texture_palette;
08077 continue;
08078 }
08079 #endif
08080 #ifdef GL_EXT_stencil_clear_tag
08081 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_clear_tag", 17))
08082 {
08083 ret = GLEW_EXT_stencil_clear_tag;
08084 continue;
08085 }
08086 #endif
08087 #ifdef GL_EXT_stencil_two_side
08088 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_two_side", 16))
08089 {
08090 ret = GLEW_EXT_stencil_two_side;
08091 continue;
08092 }
08093 #endif
08094 #ifdef GL_EXT_stencil_wrap
08095 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_wrap", 12))
08096 {
08097 ret = GLEW_EXT_stencil_wrap;
08098 continue;
08099 }
08100 #endif
08101 #ifdef GL_EXT_subtexture
08102 if (_glewStrSame3(&pos, &len, (const GLubyte*)"subtexture", 10))
08103 {
08104 ret = GLEW_EXT_subtexture;
08105 continue;
08106 }
08107 #endif
08108 #ifdef GL_EXT_texture
08109 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture", 7))
08110 {
08111 ret = GLEW_EXT_texture;
08112 continue;
08113 }
08114 #endif
08115 #ifdef GL_EXT_texture3D
08116 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture3D", 9))
08117 {
08118 ret = GLEW_EXT_texture3D;
08119 continue;
08120 }
08121 #endif
08122 #ifdef GL_EXT_texture_compression_dxt1
08123 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt1", 24))
08124 {
08125 ret = GLEW_EXT_texture_compression_dxt1;
08126 continue;
08127 }
08128 #endif
08129 #ifdef GL_EXT_texture_compression_s3tc
08130 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc", 24))
08131 {
08132 ret = GLEW_EXT_texture_compression_s3tc;
08133 continue;
08134 }
08135 #endif
08136 #ifdef GL_EXT_texture_cube_map
08137 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
08138 {
08139 ret = GLEW_EXT_texture_cube_map;
08140 continue;
08141 }
08142 #endif
08143 #ifdef GL_EXT_texture_edge_clamp
08144 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
08145 {
08146 ret = GLEW_EXT_texture_edge_clamp;
08147 continue;
08148 }
08149 #endif
08150 #ifdef GL_EXT_texture_env
08151 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env", 11))
08152 {
08153 ret = GLEW_EXT_texture_env;
08154 continue;
08155 }
08156 #endif
08157 #ifdef GL_EXT_texture_env_add
08158 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
08159 {
08160 ret = GLEW_EXT_texture_env_add;
08161 continue;
08162 }
08163 #endif
08164 #ifdef GL_EXT_texture_env_combine
08165 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
08166 {
08167 ret = GLEW_EXT_texture_env_combine;
08168 continue;
08169 }
08170 #endif
08171 #ifdef GL_EXT_texture_env_dot3
08172 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
08173 {
08174 ret = GLEW_EXT_texture_env_dot3;
08175 continue;
08176 }
08177 #endif
08178 #ifdef GL_EXT_texture_filter_anisotropic
08179 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_anisotropic", 26))
08180 {
08181 ret = GLEW_EXT_texture_filter_anisotropic;
08182 continue;
08183 }
08184 #endif
08185 #ifdef GL_EXT_texture_lod_bias
08186 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
08187 {
08188 ret = GLEW_EXT_texture_lod_bias;
08189 continue;
08190 }
08191 #endif
08192 #ifdef GL_EXT_texture_mirror_clamp
08193 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_clamp", 20))
08194 {
08195 ret = GLEW_EXT_texture_mirror_clamp;
08196 continue;
08197 }
08198 #endif
08199 #ifdef GL_EXT_texture_object
08200 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_object", 14))
08201 {
08202 ret = GLEW_EXT_texture_object;
08203 continue;
08204 }
08205 #endif
08206 #ifdef GL_EXT_texture_perturb_normal
08207 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_perturb_normal", 22))
08208 {
08209 ret = GLEW_EXT_texture_perturb_normal;
08210 continue;
08211 }
08212 #endif
08213 #ifdef GL_EXT_texture_rectangle
08214 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
08215 {
08216 ret = GLEW_EXT_texture_rectangle;
08217 continue;
08218 }
08219 #endif
08220 #ifdef GL_EXT_texture_sRGB
08221 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB", 12))
08222 {
08223 ret = GLEW_EXT_texture_sRGB;
08224 continue;
08225 }
08226 #endif
08227 #ifdef GL_EXT_vertex_array
08228 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array", 12))
08229 {
08230 ret = GLEW_EXT_vertex_array;
08231 continue;
08232 }
08233 #endif
08234 #ifdef GL_EXT_vertex_shader
08235 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
08236 {
08237 ret = GLEW_EXT_vertex_shader;
08238 continue;
08239 }
08240 #endif
08241 #ifdef GL_EXT_vertex_weighting
08242 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_weighting", 16))
08243 {
08244 ret = GLEW_EXT_vertex_weighting;
08245 continue;
08246 }
08247 #endif
08248 }
08249 if (_glewStrSame2(&pos, &len, (const GLubyte*)"GREMEDY_", 8))
08250 {
08251 #ifdef GL_GREMEDY_string_marker
08252 if (_glewStrSame3(&pos, &len, (const GLubyte*)"string_marker", 13))
08253 {
08254 ret = GLEW_GREMEDY_string_marker;
08255 continue;
08256 }
08257 #endif
08258 }
08259 if (_glewStrSame2(&pos, &len, (const GLubyte*)"HP_", 3))
08260 {
08261 #ifdef GL_HP_convolution_border_modes
08262 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
08263 {
08264 ret = GLEW_HP_convolution_border_modes;
08265 continue;
08266 }
08267 #endif
08268 #ifdef GL_HP_image_transform
08269 if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_transform", 15))
08270 {
08271 ret = GLEW_HP_image_transform;
08272 continue;
08273 }
08274 #endif
08275 #ifdef GL_HP_occlusion_test
08276 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_test", 14))
08277 {
08278 ret = GLEW_HP_occlusion_test;
08279 continue;
08280 }
08281 #endif
08282 #ifdef GL_HP_texture_lighting
08283 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lighting", 16))
08284 {
08285 ret = GLEW_HP_texture_lighting;
08286 continue;
08287 }
08288 #endif
08289 }
08290 if (_glewStrSame2(&pos, &len, (const GLubyte*)"IBM_", 4))
08291 {
08292 #ifdef GL_IBM_cull_vertex
08293 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
08294 {
08295 ret = GLEW_IBM_cull_vertex;
08296 continue;
08297 }
08298 #endif
08299 #ifdef GL_IBM_multimode_draw_arrays
08300 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multimode_draw_arrays", 21))
08301 {
08302 ret = GLEW_IBM_multimode_draw_arrays;
08303 continue;
08304 }
08305 #endif
08306 #ifdef GL_IBM_rasterpos_clip
08307 if (_glewStrSame3(&pos, &len, (const GLubyte*)"rasterpos_clip", 14))
08308 {
08309 ret = GLEW_IBM_rasterpos_clip;
08310 continue;
08311 }
08312 #endif
08313 #ifdef GL_IBM_static_data
08314 if (_glewStrSame3(&pos, &len, (const GLubyte*)"static_data", 11))
08315 {
08316 ret = GLEW_IBM_static_data;
08317 continue;
08318 }
08319 #endif
08320 #ifdef GL_IBM_texture_mirrored_repeat
08321 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
08322 {
08323 ret = GLEW_IBM_texture_mirrored_repeat;
08324 continue;
08325 }
08326 #endif
08327 #ifdef GL_IBM_vertex_array_lists
08328 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_lists", 18))
08329 {
08330 ret = GLEW_IBM_vertex_array_lists;
08331 continue;
08332 }
08333 #endif
08334 }
08335 if (_glewStrSame2(&pos, &len, (const GLubyte*)"INGR_", 5))
08336 {
08337 #ifdef GL_INGR_color_clamp
08338 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_clamp", 11))
08339 {
08340 ret = GLEW_INGR_color_clamp;
08341 continue;
08342 }
08343 #endif
08344 #ifdef GL_INGR_interlace_read
08345 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace_read", 14))
08346 {
08347 ret = GLEW_INGR_interlace_read;
08348 continue;
08349 }
08350 #endif
08351 }
08352 if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6))
08353 {
08354 #ifdef GL_INTEL_parallel_arrays
08355 if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_arrays", 15))
08356 {
08357 ret = GLEW_INTEL_parallel_arrays;
08358 continue;
08359 }
08360 #endif
08361 #ifdef GL_INTEL_texture_scissor
08362 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scissor", 15))
08363 {
08364 ret = GLEW_INTEL_texture_scissor;
08365 continue;
08366 }
08367 #endif
08368 }
08369 if (_glewStrSame2(&pos, &len, (const GLubyte*)"KTX_", 4))
08370 {
08371 #ifdef GL_KTX_buffer_region
08372 if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
08373 {
08374 ret = GLEW_KTX_buffer_region;
08375 continue;
08376 }
08377 #endif
08378 }
08379 if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESAX_", 6))
08380 {
08381 #ifdef GL_MESAX_texture_stack
08382 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_stack", 13))
08383 {
08384 ret = GLEW_MESAX_texture_stack;
08385 continue;
08386 }
08387 #endif
08388 }
08389 if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
08390 {
08391 #ifdef GL_MESA_pack_invert
08392 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_invert", 11))
08393 {
08394 ret = GLEW_MESA_pack_invert;
08395 continue;
08396 }
08397 #endif
08398 #ifdef GL_MESA_resize_buffers
08399 if (_glewStrSame3(&pos, &len, (const GLubyte*)"resize_buffers", 14))
08400 {
08401 ret = GLEW_MESA_resize_buffers;
08402 continue;
08403 }
08404 #endif
08405 #ifdef GL_MESA_window_pos
08406 if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
08407 {
08408 ret = GLEW_MESA_window_pos;
08409 continue;
08410 }
08411 #endif
08412 #ifdef GL_MESA_ycbcr_texture
08413 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_texture", 13))
08414 {
08415 ret = GLEW_MESA_ycbcr_texture;
08416 continue;
08417 }
08418 #endif
08419 }
08420 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
08421 {
08422 #ifdef GL_NV_blend_square
08423 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_square", 12))
08424 {
08425 ret = GLEW_NV_blend_square;
08426 continue;
08427 }
08428 #endif
08429 #ifdef GL_NV_copy_depth_to_color
08430 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_depth_to_color", 19))
08431 {
08432 ret = GLEW_NV_copy_depth_to_color;
08433 continue;
08434 }
08435 #endif
08436 #ifdef GL_NV_depth_clamp
08437 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11))
08438 {
08439 ret = GLEW_NV_depth_clamp;
08440 continue;
08441 }
08442 #endif
08443 #ifdef GL_NV_evaluators
08444 if (_glewStrSame3(&pos, &len, (const GLubyte*)"evaluators", 10))
08445 {
08446 ret = GLEW_NV_evaluators;
08447 continue;
08448 }
08449 #endif
08450 #ifdef GL_NV_fence
08451 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
08452 {
08453 ret = GLEW_NV_fence;
08454 continue;
08455 }
08456 #endif
08457 #ifdef GL_NV_float_buffer
08458 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
08459 {
08460 ret = GLEW_NV_float_buffer;
08461 continue;
08462 }
08463 #endif
08464 #ifdef GL_NV_fog_distance
08465 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_distance", 12))
08466 {
08467 ret = GLEW_NV_fog_distance;
08468 continue;
08469 }
08470 #endif
08471 #ifdef GL_NV_fragment_program
08472 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
08473 {
08474 ret = GLEW_NV_fragment_program;
08475 continue;
08476 }
08477 #endif
08478 #ifdef GL_NV_fragment_program2
08479 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program2", 17))
08480 {
08481 ret = GLEW_NV_fragment_program2;
08482 continue;
08483 }
08484 #endif
08485 #ifdef GL_NV_fragment_program_option
08486 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_option", 23))
08487 {
08488 ret = GLEW_NV_fragment_program_option;
08489 continue;
08490 }
08491 #endif
08492 #ifdef GL_NV_half_float
08493 if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float", 10))
08494 {
08495 ret = GLEW_NV_half_float;
08496 continue;
08497 }
08498 #endif
08499 #ifdef GL_NV_light_max_exponent
08500 if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_max_exponent", 18))
08501 {
08502 ret = GLEW_NV_light_max_exponent;
08503 continue;
08504 }
08505 #endif
08506 #ifdef GL_NV_multisample_filter_hint
08507 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_filter_hint", 23))
08508 {
08509 ret = GLEW_NV_multisample_filter_hint;
08510 continue;
08511 }
08512 #endif
08513 #ifdef GL_NV_occlusion_query
08514 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
08515 {
08516 ret = GLEW_NV_occlusion_query;
08517 continue;
08518 }
08519 #endif
08520 #ifdef GL_NV_packed_depth_stencil
08521 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
08522 {
08523 ret = GLEW_NV_packed_depth_stencil;
08524 continue;
08525 }
08526 #endif
08527 #ifdef GL_NV_pixel_data_range
08528 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_data_range", 16))
08529 {
08530 ret = GLEW_NV_pixel_data_range;
08531 continue;
08532 }
08533 #endif
08534 #ifdef GL_NV_point_sprite
08535 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
08536 {
08537 ret = GLEW_NV_point_sprite;
08538 continue;
08539 }
08540 #endif
08541 #ifdef GL_NV_primitive_restart
08542 if (_glewStrSame3(&pos, &len, (const GLubyte*)"primitive_restart", 17))
08543 {
08544 ret = GLEW_NV_primitive_restart;
08545 continue;
08546 }
08547 #endif
08548 #ifdef GL_NV_register_combiners
08549 if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners", 18))
08550 {
08551 ret = GLEW_NV_register_combiners;
08552 continue;
08553 }
08554 #endif
08555 #ifdef GL_NV_register_combiners2
08556 if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners2", 19))
08557 {
08558 ret = GLEW_NV_register_combiners2;
08559 continue;
08560 }
08561 #endif
08562 #ifdef GL_NV_texgen_emboss
08563 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_emboss", 13))
08564 {
08565 ret = GLEW_NV_texgen_emboss;
08566 continue;
08567 }
08568 #endif
08569 #ifdef GL_NV_texgen_reflection
08570 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_reflection", 17))
08571 {
08572 ret = GLEW_NV_texgen_reflection;
08573 continue;
08574 }
08575 #endif
08576 #ifdef GL_NV_texture_compression_vtc
08577 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_vtc", 23))
08578 {
08579 ret = GLEW_NV_texture_compression_vtc;
08580 continue;
08581 }
08582 #endif
08583 #ifdef GL_NV_texture_env_combine4
08584 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine4", 20))
08585 {
08586 ret = GLEW_NV_texture_env_combine4;
08587 continue;
08588 }
08589 #endif
08590 #ifdef GL_NV_texture_expand_normal
08591 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_expand_normal", 21))
08592 {
08593 ret = GLEW_NV_texture_expand_normal;
08594 continue;
08595 }
08596 #endif
08597 #ifdef GL_NV_texture_rectangle
08598 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
08599 {
08600 ret = GLEW_NV_texture_rectangle;
08601 continue;
08602 }
08603 #endif
08604 #ifdef GL_NV_texture_shader
08605 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader", 14))
08606 {
08607 ret = GLEW_NV_texture_shader;
08608 continue;
08609 }
08610 #endif
08611 #ifdef GL_NV_texture_shader2
08612 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader2", 15))
08613 {
08614 ret = GLEW_NV_texture_shader2;
08615 continue;
08616 }
08617 #endif
08618 #ifdef GL_NV_texture_shader3
08619 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader3", 15))
08620 {
08621 ret = GLEW_NV_texture_shader3;
08622 continue;
08623 }
08624 #endif
08625 #ifdef GL_NV_vertex_array_range
08626 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
08627 {
08628 ret = GLEW_NV_vertex_array_range;
08629 continue;
08630 }
08631 #endif
08632 #ifdef GL_NV_vertex_array_range2
08633 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range2", 19))
08634 {
08635 ret = GLEW_NV_vertex_array_range2;
08636 continue;
08637 }
08638 #endif
08639 #ifdef GL_NV_vertex_program
08640 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
08641 {
08642 ret = GLEW_NV_vertex_program;
08643 continue;
08644 }
08645 #endif
08646 #ifdef GL_NV_vertex_program1_1
08647 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program1_1", 17))
08648 {
08649 ret = GLEW_NV_vertex_program1_1;
08650 continue;
08651 }
08652 #endif
08653 #ifdef GL_NV_vertex_program2
08654 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2", 15))
08655 {
08656 ret = GLEW_NV_vertex_program2;
08657 continue;
08658 }
08659 #endif
08660 #ifdef GL_NV_vertex_program2_option
08661 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2_option", 22))
08662 {
08663 ret = GLEW_NV_vertex_program2_option;
08664 continue;
08665 }
08666 #endif
08667 #ifdef GL_NV_vertex_program3
08668 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program3", 15))
08669 {
08670 ret = GLEW_NV_vertex_program3;
08671 continue;
08672 }
08673 #endif
08674 }
08675 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
08676 {
08677 #ifdef GL_OML_interlace
08678 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
08679 {
08680 ret = GLEW_OML_interlace;
08681 continue;
08682 }
08683 #endif
08684 #ifdef GL_OML_resample
08685 if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
08686 {
08687 ret = GLEW_OML_resample;
08688 continue;
08689 }
08690 #endif
08691 #ifdef GL_OML_subsample
08692 if (_glewStrSame3(&pos, &len, (const GLubyte*)"subsample", 9))
08693 {
08694 ret = GLEW_OML_subsample;
08695 continue;
08696 }
08697 #endif
08698 }
08699 if (_glewStrSame2(&pos, &len, (const GLubyte*)"PGI_", 4))
08700 {
08701 #ifdef GL_PGI_misc_hints
08702 if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_hints", 10))
08703 {
08704 ret = GLEW_PGI_misc_hints;
08705 continue;
08706 }
08707 #endif
08708 #ifdef GL_PGI_vertex_hints
08709 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_hints", 12))
08710 {
08711 ret = GLEW_PGI_vertex_hints;
08712 continue;
08713 }
08714 #endif
08715 }
08716 if (_glewStrSame2(&pos, &len, (const GLubyte*)"REND_", 5))
08717 {
08718 #ifdef GL_REND_screen_coordinates
08719 if (_glewStrSame3(&pos, &len, (const GLubyte*)"screen_coordinates", 18))
08720 {
08721 ret = GLEW_REND_screen_coordinates;
08722 continue;
08723 }
08724 #endif
08725 }
08726 if (_glewStrSame2(&pos, &len, (const GLubyte*)"S3_", 3))
08727 {
08728 #ifdef GL_S3_s3tc
08729 if (_glewStrSame3(&pos, &len, (const GLubyte*)"s3tc", 4))
08730 {
08731 ret = GLEW_S3_s3tc;
08732 continue;
08733 }
08734 #endif
08735 }
08736 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
08737 {
08738 #ifdef GL_SGIS_color_range
08739 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
08740 {
08741 ret = GLEW_SGIS_color_range;
08742 continue;
08743 }
08744 #endif
08745 #ifdef GL_SGIS_detail_texture
08746 if (_glewStrSame3(&pos, &len, (const GLubyte*)"detail_texture", 14))
08747 {
08748 ret = GLEW_SGIS_detail_texture;
08749 continue;
08750 }
08751 #endif
08752 #ifdef GL_SGIS_fog_function
08753 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_function", 12))
08754 {
08755 ret = GLEW_SGIS_fog_function;
08756 continue;
08757 }
08758 #endif
08759 #ifdef GL_SGIS_generate_mipmap
08760 if (_glewStrSame3(&pos, &len, (const GLubyte*)"generate_mipmap", 15))
08761 {
08762 ret = GLEW_SGIS_generate_mipmap;
08763 continue;
08764 }
08765 #endif
08766 #ifdef GL_SGIS_multisample
08767 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
08768 {
08769 ret = GLEW_SGIS_multisample;
08770 continue;
08771 }
08772 #endif
08773 #ifdef GL_SGIS_pixel_texture
08774 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
08775 {
08776 ret = GLEW_SGIS_pixel_texture;
08777 continue;
08778 }
08779 #endif
08780 #ifdef GL_SGIS_sharpen_texture
08781 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sharpen_texture", 15))
08782 {
08783 ret = GLEW_SGIS_sharpen_texture;
08784 continue;
08785 }
08786 #endif
08787 #ifdef GL_SGIS_texture4D
08788 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture4D", 9))
08789 {
08790 ret = GLEW_SGIS_texture4D;
08791 continue;
08792 }
08793 #endif
08794 #ifdef GL_SGIS_texture_border_clamp
08795 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
08796 {
08797 ret = GLEW_SGIS_texture_border_clamp;
08798 continue;
08799 }
08800 #endif
08801 #ifdef GL_SGIS_texture_edge_clamp
08802 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
08803 {
08804 ret = GLEW_SGIS_texture_edge_clamp;
08805 continue;
08806 }
08807 #endif
08808 #ifdef GL_SGIS_texture_filter4
08809 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter4", 15))
08810 {
08811 ret = GLEW_SGIS_texture_filter4;
08812 continue;
08813 }
08814 #endif
08815 #ifdef GL_SGIS_texture_lod
08816 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod", 11))
08817 {
08818 ret = GLEW_SGIS_texture_lod;
08819 continue;
08820 }
08821 #endif
08822 #ifdef GL_SGIS_texture_select
08823 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_select", 14))
08824 {
08825 ret = GLEW_SGIS_texture_select;
08826 continue;
08827 }
08828 #endif
08829 }
08830 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
08831 {
08832 #ifdef GL_SGIX_async
08833 if (_glewStrSame3(&pos, &len, (const GLubyte*)"async", 5))
08834 {
08835 ret = GLEW_SGIX_async;
08836 continue;
08837 }
08838 #endif
08839 #ifdef GL_SGIX_async_histogram
08840 if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_histogram", 15))
08841 {
08842 ret = GLEW_SGIX_async_histogram;
08843 continue;
08844 }
08845 #endif
08846 #ifdef GL_SGIX_async_pixel
08847 if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_pixel", 11))
08848 {
08849 ret = GLEW_SGIX_async_pixel;
08850 continue;
08851 }
08852 #endif
08853 #ifdef GL_SGIX_blend_alpha_minmax
08854 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_alpha_minmax", 18))
08855 {
08856 ret = GLEW_SGIX_blend_alpha_minmax;
08857 continue;
08858 }
08859 #endif
08860 #ifdef GL_SGIX_clipmap
08861 if (_glewStrSame3(&pos, &len, (const GLubyte*)"clipmap", 7))
08862 {
08863 ret = GLEW_SGIX_clipmap;
08864 continue;
08865 }
08866 #endif
08867 #ifdef GL_SGIX_depth_texture
08868 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
08869 {
08870 ret = GLEW_SGIX_depth_texture;
08871 continue;
08872 }
08873 #endif
08874 #ifdef GL_SGIX_flush_raster
08875 if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_raster", 12))
08876 {
08877 ret = GLEW_SGIX_flush_raster;
08878 continue;
08879 }
08880 #endif
08881 #ifdef GL_SGIX_fog_offset
08882 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_offset", 10))
08883 {
08884 ret = GLEW_SGIX_fog_offset;
08885 continue;
08886 }
08887 #endif
08888 #ifdef GL_SGIX_fog_texture
08889 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_texture", 11))
08890 {
08891 ret = GLEW_SGIX_fog_texture;
08892 continue;
08893 }
08894 #endif
08895 #ifdef GL_SGIX_fragment_specular_lighting
08896 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_specular_lighting", 26))
08897 {
08898 ret = GLEW_SGIX_fragment_specular_lighting;
08899 continue;
08900 }
08901 #endif
08902 #ifdef GL_SGIX_framezoom
08903 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framezoom", 9))
08904 {
08905 ret = GLEW_SGIX_framezoom;
08906 continue;
08907 }
08908 #endif
08909 #ifdef GL_SGIX_interlace
08910 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
08911 {
08912 ret = GLEW_SGIX_interlace;
08913 continue;
08914 }
08915 #endif
08916 #ifdef GL_SGIX_ir_instrument1
08917 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ir_instrument1", 14))
08918 {
08919 ret = GLEW_SGIX_ir_instrument1;
08920 continue;
08921 }
08922 #endif
08923 #ifdef GL_SGIX_list_priority
08924 if (_glewStrSame3(&pos, &len, (const GLubyte*)"list_priority", 13))
08925 {
08926 ret = GLEW_SGIX_list_priority;
08927 continue;
08928 }
08929 #endif
08930 #ifdef GL_SGIX_pixel_texture
08931 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
08932 {
08933 ret = GLEW_SGIX_pixel_texture;
08934 continue;
08935 }
08936 #endif
08937 #ifdef GL_SGIX_pixel_texture_bits
08938 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture_bits", 18))
08939 {
08940 ret = GLEW_SGIX_pixel_texture_bits;
08941 continue;
08942 }
08943 #endif
08944 #ifdef GL_SGIX_reference_plane
08945 if (_glewStrSame3(&pos, &len, (const GLubyte*)"reference_plane", 15))
08946 {
08947 ret = GLEW_SGIX_reference_plane;
08948 continue;
08949 }
08950 #endif
08951 #ifdef GL_SGIX_resample
08952 if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
08953 {
08954 ret = GLEW_SGIX_resample;
08955 continue;
08956 }
08957 #endif
08958 #ifdef GL_SGIX_shadow
08959 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
08960 {
08961 ret = GLEW_SGIX_shadow;
08962 continue;
08963 }
08964 #endif
08965 #ifdef GL_SGIX_shadow_ambient
08966 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
08967 {
08968 ret = GLEW_SGIX_shadow_ambient;
08969 continue;
08970 }
08971 #endif
08972 #ifdef GL_SGIX_sprite
08973 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sprite", 6))
08974 {
08975 ret = GLEW_SGIX_sprite;
08976 continue;
08977 }
08978 #endif
08979 #ifdef GL_SGIX_tag_sample_buffer
08980 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tag_sample_buffer", 17))
08981 {
08982 ret = GLEW_SGIX_tag_sample_buffer;
08983 continue;
08984 }
08985 #endif
08986 #ifdef GL_SGIX_texture_add_env
08987 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_add_env", 15))
08988 {
08989 ret = GLEW_SGIX_texture_add_env;
08990 continue;
08991 }
08992 #endif
08993 #ifdef GL_SGIX_texture_coordinate_clamp
08994 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_coordinate_clamp", 24))
08995 {
08996 ret = GLEW_SGIX_texture_coordinate_clamp;
08997 continue;
08998 }
08999 #endif
09000 #ifdef GL_SGIX_texture_lod_bias
09001 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
09002 {
09003 ret = GLEW_SGIX_texture_lod_bias;
09004 continue;
09005 }
09006 #endif
09007 #ifdef GL_SGIX_texture_multi_buffer
09008 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multi_buffer", 20))
09009 {
09010 ret = GLEW_SGIX_texture_multi_buffer;
09011 continue;
09012 }
09013 #endif
09014 #ifdef GL_SGIX_texture_range
09015 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
09016 {
09017 ret = GLEW_SGIX_texture_range;
09018 continue;
09019 }
09020 #endif
09021 #ifdef GL_SGIX_texture_scale_bias
09022 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scale_bias", 18))
09023 {
09024 ret = GLEW_SGIX_texture_scale_bias;
09025 continue;
09026 }
09027 #endif
09028 #ifdef GL_SGIX_vertex_preclip
09029 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip", 14))
09030 {
09031 ret = GLEW_SGIX_vertex_preclip;
09032 continue;
09033 }
09034 #endif
09035 #ifdef GL_SGIX_vertex_preclip_hint
09036 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip_hint", 19))
09037 {
09038 ret = GLEW_SGIX_vertex_preclip_hint;
09039 continue;
09040 }
09041 #endif
09042 #ifdef GL_SGIX_ycrcb
09043 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcb", 5))
09044 {
09045 ret = GLEW_SGIX_ycrcb;
09046 continue;
09047 }
09048 #endif
09049 }
09050 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
09051 {
09052 #ifdef GL_SGI_color_matrix
09053 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_matrix", 12))
09054 {
09055 ret = GLEW_SGI_color_matrix;
09056 continue;
09057 }
09058 #endif
09059 #ifdef GL_SGI_color_table
09060 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_table", 11))
09061 {
09062 ret = GLEW_SGI_color_table;
09063 continue;
09064 }
09065 #endif
09066 #ifdef GL_SGI_texture_color_table
09067 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_color_table", 19))
09068 {
09069 ret = GLEW_SGI_texture_color_table;
09070 continue;
09071 }
09072 #endif
09073 }
09074 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUNX_", 5))
09075 {
09076 #ifdef GL_SUNX_constant_data
09077 if (_glewStrSame3(&pos, &len, (const GLubyte*)"constant_data", 13))
09078 {
09079 ret = GLEW_SUNX_constant_data;
09080 continue;
09081 }
09082 #endif
09083 }
09084 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
09085 {
09086 #ifdef GL_SUN_convolution_border_modes
09087 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
09088 {
09089 ret = GLEW_SUN_convolution_border_modes;
09090 continue;
09091 }
09092 #endif
09093 #ifdef GL_SUN_global_alpha
09094 if (_glewStrSame3(&pos, &len, (const GLubyte*)"global_alpha", 12))
09095 {
09096 ret = GLEW_SUN_global_alpha;
09097 continue;
09098 }
09099 #endif
09100 #ifdef GL_SUN_mesh_array
09101 if (_glewStrSame3(&pos, &len, (const GLubyte*)"mesh_array", 10))
09102 {
09103 ret = GLEW_SUN_mesh_array;
09104 continue;
09105 }
09106 #endif
09107 #ifdef GL_SUN_read_video_pixels
09108 if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_video_pixels", 17))
09109 {
09110 ret = GLEW_SUN_read_video_pixels;
09111 continue;
09112 }
09113 #endif
09114 #ifdef GL_SUN_slice_accum
09115 if (_glewStrSame3(&pos, &len, (const GLubyte*)"slice_accum", 11))
09116 {
09117 ret = GLEW_SUN_slice_accum;
09118 continue;
09119 }
09120 #endif
09121 #ifdef GL_SUN_triangle_list
09122 if (_glewStrSame3(&pos, &len, (const GLubyte*)"triangle_list", 13))
09123 {
09124 ret = GLEW_SUN_triangle_list;
09125 continue;
09126 }
09127 #endif
09128 #ifdef GL_SUN_vertex
09129 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex", 6))
09130 {
09131 ret = GLEW_SUN_vertex;
09132 continue;
09133 }
09134 #endif
09135 }
09136 if (_glewStrSame2(&pos, &len, (const GLubyte*)"WIN_", 4))
09137 {
09138 #ifdef GL_WIN_phong_shading
09139 if (_glewStrSame3(&pos, &len, (const GLubyte*)"phong_shading", 13))
09140 {
09141 ret = GLEW_WIN_phong_shading;
09142 continue;
09143 }
09144 #endif
09145 #ifdef GL_WIN_specular_fog
09146 if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_fog", 12))
09147 {
09148 ret = GLEW_WIN_specular_fog;
09149 continue;
09150 }
09151 #endif
09152 #ifdef GL_WIN_swap_hint
09153 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_hint", 9))
09154 {
09155 ret = GLEW_WIN_swap_hint;
09156 continue;
09157 }
09158 #endif
09159 }
09160 }
09161 ret = (len == 0);
09162 }
09163 return ret;
09164 }
09165
09166 #if defined(_WIN32)
09167
09168 #if defined(GLEW_MX)
09169 GLboolean wglewContextIsSupported (WGLEWContext* ctx, const char* name)
09170 #else
09171 GLboolean wglewIsSupported (const char* name)
09172 #endif
09173 {
09174 GLubyte* pos = (GLubyte*)name;
09175 GLuint len = _glewStrLen(pos);
09176 GLboolean ret = GL_TRUE;
09177 while (ret && len > 0)
09178 {
09179 if (_glewStrSame1(&pos, &len, (const GLubyte*)"WGL_", 4))
09180 {
09181 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
09182 {
09183 #ifdef WGL_3DFX_multisample
09184 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
09185 {
09186 ret = WGLEW_3DFX_multisample;
09187 continue;
09188 }
09189 #endif
09190 }
09191 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DL_", 4))
09192 {
09193 #ifdef WGL_3DL_stereo_control
09194 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_control", 14))
09195 {
09196 ret = WGLEW_3DL_stereo_control;
09197 continue;
09198 }
09199 #endif
09200 }
09201 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
09202 {
09203 #ifdef WGL_ARB_buffer_region
09204 if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
09205 {
09206 ret = WGLEW_ARB_buffer_region;
09207 continue;
09208 }
09209 #endif
09210 #ifdef WGL_ARB_extensions_string
09211 if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
09212 {
09213 ret = WGLEW_ARB_extensions_string;
09214 continue;
09215 }
09216 #endif
09217 #ifdef WGL_ARB_make_current_read
09218 if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
09219 {
09220 ret = WGLEW_ARB_make_current_read;
09221 continue;
09222 }
09223 #endif
09224 #ifdef WGL_ARB_multisample
09225 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
09226 {
09227 ret = WGLEW_ARB_multisample;
09228 continue;
09229 }
09230 #endif
09231 #ifdef WGL_ARB_pbuffer
09232 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
09233 {
09234 ret = WGLEW_ARB_pbuffer;
09235 continue;
09236 }
09237 #endif
09238 #ifdef WGL_ARB_pixel_format
09239 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
09240 {
09241 ret = WGLEW_ARB_pixel_format;
09242 continue;
09243 }
09244 #endif
09245 #ifdef WGL_ARB_pixel_format_float
09246 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
09247 {
09248 ret = WGLEW_ARB_pixel_format_float;
09249 continue;
09250 }
09251 #endif
09252 #ifdef WGL_ARB_render_texture
09253 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
09254 {
09255 ret = WGLEW_ARB_render_texture;
09256 continue;
09257 }
09258 #endif
09259 }
09260 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
09261 {
09262 #ifdef WGL_ATI_pixel_format_float
09263 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
09264 {
09265 ret = WGLEW_ATI_pixel_format_float;
09266 continue;
09267 }
09268 #endif
09269 #ifdef WGL_ATI_render_texture_rectangle
09270 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
09271 {
09272 ret = WGLEW_ATI_render_texture_rectangle;
09273 continue;
09274 }
09275 #endif
09276 }
09277 if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
09278 {
09279 #ifdef WGL_EXT_depth_float
09280 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_float", 11))
09281 {
09282 ret = WGLEW_EXT_depth_float;
09283 continue;
09284 }
09285 #endif
09286 #ifdef WGL_EXT_display_color_table
09287 if (_glewStrSame3(&pos, &len, (const GLubyte*)"display_color_table", 19))
09288 {
09289 ret = WGLEW_EXT_display_color_table;
09290 continue;
09291 }
09292 #endif
09293 #ifdef WGL_EXT_extensions_string
09294 if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
09295 {
09296 ret = WGLEW_EXT_extensions_string;
09297 continue;
09298 }
09299 #endif
09300 #ifdef WGL_EXT_make_current_read
09301 if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
09302 {
09303 ret = WGLEW_EXT_make_current_read;
09304 continue;
09305 }
09306 #endif
09307 #ifdef WGL_EXT_multisample
09308 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
09309 {
09310 ret = WGLEW_EXT_multisample;
09311 continue;
09312 }
09313 #endif
09314 #ifdef WGL_EXT_pbuffer
09315 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
09316 {
09317 ret = WGLEW_EXT_pbuffer;
09318 continue;
09319 }
09320 #endif
09321 #ifdef WGL_EXT_pixel_format
09322 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
09323 {
09324 ret = WGLEW_EXT_pixel_format;
09325 continue;
09326 }
09327 #endif
09328 #ifdef WGL_EXT_swap_control
09329 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
09330 {
09331 ret = WGLEW_EXT_swap_control;
09332 continue;
09333 }
09334 #endif
09335 }
09336 if (_glewStrSame2(&pos, &len, (const GLubyte*)"I3D_", 4))
09337 {
09338 #ifdef WGL_I3D_digital_video_control
09339 if (_glewStrSame3(&pos, &len, (const GLubyte*)"digital_video_control", 21))
09340 {
09341 ret = WGLEW_I3D_digital_video_control;
09342 continue;
09343 }
09344 #endif
09345 #ifdef WGL_I3D_gamma
09346 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gamma", 5))
09347 {
09348 ret = WGLEW_I3D_gamma;
09349 continue;
09350 }
09351 #endif
09352 #ifdef WGL_I3D_genlock
09353 if (_glewStrSame3(&pos, &len, (const GLubyte*)"genlock", 7))
09354 {
09355 ret = WGLEW_I3D_genlock;
09356 continue;
09357 }
09358 #endif
09359 #ifdef WGL_I3D_image_buffer
09360 if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_buffer", 12))
09361 {
09362 ret = WGLEW_I3D_image_buffer;
09363 continue;
09364 }
09365 #endif
09366 #ifdef WGL_I3D_swap_frame_lock
09367 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_lock", 15))
09368 {
09369 ret = WGLEW_I3D_swap_frame_lock;
09370 continue;
09371 }
09372 #endif
09373 #ifdef WGL_I3D_swap_frame_usage
09374 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_usage", 16))
09375 {
09376 ret = WGLEW_I3D_swap_frame_usage;
09377 continue;
09378 }
09379 #endif
09380 }
09381 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
09382 {
09383 #ifdef WGL_NV_float_buffer
09384 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
09385 {
09386 ret = WGLEW_NV_float_buffer;
09387 continue;
09388 }
09389 #endif
09390 #ifdef WGL_NV_render_depth_texture
09391 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_depth_texture", 20))
09392 {
09393 ret = WGLEW_NV_render_depth_texture;
09394 continue;
09395 }
09396 #endif
09397 #ifdef WGL_NV_render_texture_rectangle
09398 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
09399 {
09400 ret = WGLEW_NV_render_texture_rectangle;
09401 continue;
09402 }
09403 #endif
09404 #ifdef WGL_NV_vertex_array_range
09405 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
09406 {
09407 ret = WGLEW_NV_vertex_array_range;
09408 continue;
09409 }
09410 #endif
09411 }
09412 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
09413 {
09414 #ifdef WGL_OML_sync_control
09415 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
09416 {
09417 ret = WGLEW_OML_sync_control;
09418 continue;
09419 }
09420 #endif
09421 }
09422 }
09423 ret = (len == 0);
09424 }
09425 return ret;
09426 }
09427
09428 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
09429
09430 #if defined(GLEW_MX)
09431 GLboolean glxewContextIsSupported (GLXEWContext* ctx, const char* name)
09432 #else
09433 GLboolean glxewIsSupported (const char* name)
09434 #endif
09435 {
09436 GLubyte* pos = (GLubyte*)name;
09437 GLuint len = _glewStrLen(pos);
09438 GLboolean ret = GL_TRUE;
09439 while (ret && len > 0)
09440 {
09441 if(_glewStrSame1(&pos, &len, (const GLubyte*)"GLX_", 4))
09442 {
09443 if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
09444 {
09445 #ifdef GLX_VERSION_1_2
09446 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
09447 {
09448 ret = GLXEW_VERSION_1_2;
09449 continue;
09450 }
09451 #endif
09452 #ifdef GLX_VERSION_1_3
09453 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
09454 {
09455 ret = GLXEW_VERSION_1_3;
09456 continue;
09457 }
09458 #endif
09459 #ifdef GLX_VERSION_1_4
09460 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
09461 {
09462 ret = GLXEW_VERSION_1_4;
09463 continue;
09464 }
09465 #endif
09466 }
09467 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
09468 {
09469 #ifdef GLX_3DFX_multisample
09470 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
09471 {
09472 ret = GLXEW_3DFX_multisample;
09473 continue;
09474 }
09475 #endif
09476 }
09477 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
09478 {
09479 #ifdef GLX_ARB_fbconfig_float
09480 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_float", 14))
09481 {
09482 ret = GLXEW_ARB_fbconfig_float;
09483 continue;
09484 }
09485 #endif
09486 #ifdef GLX_ARB_get_proc_address
09487 if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_proc_address", 16))
09488 {
09489 ret = GLXEW_ARB_get_proc_address;
09490 continue;
09491 }
09492 #endif
09493 #ifdef GLX_ARB_multisample
09494 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
09495 {
09496 ret = GLXEW_ARB_multisample;
09497 continue;
09498 }
09499 #endif
09500 }
09501 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
09502 {
09503 #ifdef GLX_ATI_pixel_format_float
09504 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
09505 {
09506 ret = GLXEW_ATI_pixel_format_float;
09507 continue;
09508 }
09509 #endif
09510 #ifdef GLX_ATI_render_texture
09511 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
09512 {
09513 ret = GLXEW_ATI_render_texture;
09514 continue;
09515 }
09516 #endif
09517 }
09518 if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
09519 {
09520 #ifdef GLX_EXT_import_context
09521 if (_glewStrSame3(&pos, &len, (const GLubyte*)"import_context", 14))
09522 {
09523 ret = GLXEW_EXT_import_context;
09524 continue;
09525 }
09526 #endif
09527 #ifdef GLX_EXT_scene_marker
09528 if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
09529 {
09530 ret = GLXEW_EXT_scene_marker;
09531 continue;
09532 }
09533 #endif
09534 #ifdef GLX_EXT_visual_info
09535 if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_info", 11))
09536 {
09537 ret = GLXEW_EXT_visual_info;
09538 continue;
09539 }
09540 #endif
09541 #ifdef GLX_EXT_visual_rating
09542 if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_rating", 13))
09543 {
09544 ret = GLXEW_EXT_visual_rating;
09545 continue;
09546 }
09547 #endif
09548 }
09549 if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
09550 {
09551 #ifdef GLX_MESA_agp_offset
09552 if (_glewStrSame3(&pos, &len, (const GLubyte*)"agp_offset", 10))
09553 {
09554 ret = GLXEW_MESA_agp_offset;
09555 continue;
09556 }
09557 #endif
09558 #ifdef GLX_MESA_copy_sub_buffer
09559 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_sub_buffer", 15))
09560 {
09561 ret = GLXEW_MESA_copy_sub_buffer;
09562 continue;
09563 }
09564 #endif
09565 #ifdef GLX_MESA_pixmap_colormap
09566 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixmap_colormap", 15))
09567 {
09568 ret = GLXEW_MESA_pixmap_colormap;
09569 continue;
09570 }
09571 #endif
09572 #ifdef GLX_MESA_release_buffers
09573 if (_glewStrSame3(&pos, &len, (const GLubyte*)"release_buffers", 15))
09574 {
09575 ret = GLXEW_MESA_release_buffers;
09576 continue;
09577 }
09578 #endif
09579 #ifdef GLX_MESA_set_3dfx_mode
09580 if (_glewStrSame3(&pos, &len, (const GLubyte*)"set_3dfx_mode", 13))
09581 {
09582 ret = GLXEW_MESA_set_3dfx_mode;
09583 continue;
09584 }
09585 #endif
09586 }
09587 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
09588 {
09589 #ifdef GLX_NV_float_buffer
09590 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
09591 {
09592 ret = GLXEW_NV_float_buffer;
09593 continue;
09594 }
09595 #endif
09596 #ifdef GLX_NV_vertex_array_range
09597 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
09598 {
09599 ret = GLXEW_NV_vertex_array_range;
09600 continue;
09601 }
09602 #endif
09603 }
09604 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
09605 {
09606 #ifdef GLX_OML_swap_method
09607 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_method", 11))
09608 {
09609 ret = GLXEW_OML_swap_method;
09610 continue;
09611 }
09612 #endif
09613 #if defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
09614 #include <inttypes.h>
09615 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
09616 {
09617 ret = GLXEW_OML_sync_control;
09618 continue;
09619 }
09620 #endif
09621 }
09622 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
09623 {
09624 #ifdef GLX_SGIS_blended_overlay
09625 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blended_overlay", 15))
09626 {
09627 ret = GLXEW_SGIS_blended_overlay;
09628 continue;
09629 }
09630 #endif
09631 #ifdef GLX_SGIS_color_range
09632 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
09633 {
09634 ret = GLXEW_SGIS_color_range;
09635 continue;
09636 }
09637 #endif
09638 #ifdef GLX_SGIS_multisample
09639 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
09640 {
09641 ret = GLXEW_SGIS_multisample;
09642 continue;
09643 }
09644 #endif
09645 #ifdef GLX_SGIS_shared_multisample
09646 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_multisample", 18))
09647 {
09648 ret = GLXEW_SGIS_shared_multisample;
09649 continue;
09650 }
09651 #endif
09652 }
09653 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
09654 {
09655 #ifdef GLX_SGIX_fbconfig
09656 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig", 8))
09657 {
09658 ret = GLXEW_SGIX_fbconfig;
09659 continue;
09660 }
09661 #endif
09662 #ifdef GLX_SGIX_pbuffer
09663 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
09664 {
09665 ret = GLXEW_SGIX_pbuffer;
09666 continue;
09667 }
09668 #endif
09669 #ifdef GLX_SGIX_swap_barrier
09670 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_barrier", 12))
09671 {
09672 ret = GLXEW_SGIX_swap_barrier;
09673 continue;
09674 }
09675 #endif
09676 #ifdef GLX_SGIX_swap_group
09677 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
09678 {
09679 ret = GLXEW_SGIX_swap_group;
09680 continue;
09681 }
09682 #endif
09683 #ifdef GLX_SGIX_video_resize
09684 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
09685 {
09686 ret = GLXEW_SGIX_video_resize;
09687 continue;
09688 }
09689 #endif
09690 #ifdef GLX_SGIX_visual_select_group
09691 if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_select_group", 19))
09692 {
09693 ret = GLXEW_SGIX_visual_select_group;
09694 continue;
09695 }
09696 #endif
09697 }
09698 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
09699 {
09700 #ifdef GLX_SGI_cushion
09701 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cushion", 7))
09702 {
09703 ret = GLXEW_SGI_cushion;
09704 continue;
09705 }
09706 #endif
09707 #ifdef GLX_SGI_make_current_read
09708 if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
09709 {
09710 ret = GLXEW_SGI_make_current_read;
09711 continue;
09712 }
09713 #endif
09714 #ifdef GLX_SGI_swap_control
09715 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
09716 {
09717 ret = GLXEW_SGI_swap_control;
09718 continue;
09719 }
09720 #endif
09721 #ifdef GLX_SGI_video_sync
09722 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_sync", 10))
09723 {
09724 ret = GLXEW_SGI_video_sync;
09725 continue;
09726 }
09727 #endif
09728 }
09729 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
09730 {
09731 #ifdef GLX_SUN_get_transparent_index
09732 if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_transparent_index", 21))
09733 {
09734 ret = GLXEW_SUN_get_transparent_index;
09735 continue;
09736 }
09737 #endif
09738 #ifdef GLX_SUN_video_resize
09739 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
09740 {
09741 ret = GLXEW_SUN_video_resize;
09742 continue;
09743 }
09744 #endif
09745 }
09746 }
09747 ret = (len == 0);
09748 }
09749 return ret;
09750 }
09751
09752 #endif