0.34.11 import: change 4
[rofl0r-df-libgraphics.git] / g_src / glew.c
blob5b370a48344411d9c66c36363b28a5602a66e56e
1 /*
2 ** The OpenGL Extension Wrangler Library
3 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
4 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
5 ** Copyright (C) 2002, Lev Povalahev
6 ** All rights reserved.
7 **
8 ** Redistribution and use in source and binary forms, with or without
9 ** modification, are permitted provided that the following conditions are met:
10 **
11 ** * Redistributions of source code must retain the above copyright notice,
12 ** this list of conditions and the following disclaimer.
13 ** * Redistributions in binary form must reproduce the above copyright notice,
14 ** this list of conditions and the following disclaimer in the documentation
15 ** and/or other materials provided with the distribution.
16 ** * The name of the author may be used to endorse or promote products
17 ** derived from this software without specific prior written permission.
19 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 ** THE POSSIBILITY OF SUCH DAMAGE.
32 #include <GL/glew.h>
33 #if defined(_WIN32)
34 # include <GL/wglew.h>
35 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
36 # include <GL/glxew.h>
37 #endif
40 * Define glewGetContext and related helper macros.
42 #ifdef GLEW_MX
43 # define glewGetContext() ctx
44 # ifdef _WIN32
45 # define GLEW_CONTEXT_ARG_DEF_INIT GLEWContext* ctx
46 # define GLEW_CONTEXT_ARG_VAR_INIT ctx
47 # define wglewGetContext() ctx
48 # define WGLEW_CONTEXT_ARG_DEF_INIT WGLEWContext* ctx
49 # define WGLEW_CONTEXT_ARG_DEF_LIST WGLEWContext* ctx
50 # else /* _WIN32 */
51 # define GLEW_CONTEXT_ARG_DEF_INIT void
52 # define GLEW_CONTEXT_ARG_VAR_INIT
53 # define glxewGetContext() ctx
54 # define GLXEW_CONTEXT_ARG_DEF_INIT void
55 # define GLXEW_CONTEXT_ARG_DEF_LIST GLXEWContext* ctx
56 # endif /* _WIN32 */
57 # define GLEW_CONTEXT_ARG_DEF_LIST GLEWContext* ctx
58 #else /* GLEW_MX */
59 # define GLEW_CONTEXT_ARG_DEF_INIT void
60 # define GLEW_CONTEXT_ARG_VAR_INIT
61 # define GLEW_CONTEXT_ARG_DEF_LIST void
62 # define WGLEW_CONTEXT_ARG_DEF_INIT void
63 # define WGLEW_CONTEXT_ARG_DEF_LIST void
64 # define GLXEW_CONTEXT_ARG_DEF_INIT void
65 # define GLXEW_CONTEXT_ARG_DEF_LIST void
66 #endif /* GLEW_MX */
68 #if defined(__APPLE__)
69 #include <stdlib.h>
70 #include <string.h>
71 #include <AvailabilityMacros.h>
73 #ifdef MAC_OS_X_VERSION_10_3
75 #include <dlfcn.h>
77 void* NSGLGetProcAddress (const GLubyte *name)
79 static void* image = NULL;
80 if (NULL == image)
82 image = dlopen("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", RTLD_LAZY);
84 return image ? dlsym(image, (const char*)name) : NULL;
86 #else
88 #include <mach-o/dyld.h>
90 void* NSGLGetProcAddress (const GLubyte *name)
92 static const struct mach_header* image = NULL;
93 NSSymbol symbol;
94 char* symbolName;
95 if (NULL == image)
97 image = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", NSADDIMAGE_OPTION_RETURN_ON_ERROR);
99 /* prepend a '_' for the Unix C symbol mangling convention */
100 symbolName = malloc(strlen((const char*)name) + 2);
101 strcpy(symbolName+1, (const char*)name);
102 symbolName[0] = '_';
103 symbol = NULL;
104 /* if (NSIsSymbolNameDefined(symbolName))
105 symbol = NSLookupAndBindSymbol(symbolName); */
106 symbol = image ? NSLookupSymbolInImage(image, symbolName, NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR) : NULL;
107 free(symbolName);
108 return symbol ? NSAddressOfSymbol(symbol) : NULL;
110 #endif /* MAC_OS_X_VERSION_10_3 */
111 #endif /* __APPLE__ */
113 #if defined(__sgi) || defined (__sun)
114 #include <dlfcn.h>
115 #include <stdio.h>
116 #include <stdlib.h>
118 void* dlGetProcAddress (const GLubyte* name)
120 static void* h = NULL;
121 static void* gpa;
123 if (h == NULL)
125 if ((h = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL)) == NULL) return NULL;
126 gpa = dlsym(h, "glXGetProcAddress");
129 if (gpa != NULL)
130 return ((void*(*)(const GLubyte*))gpa)(name);
131 else
132 return dlsym(h, (const char*)name);
134 #endif /* __sgi || __sun */
137 * Define glewGetProcAddress.
139 #if defined(_WIN32)
140 # define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name)
141 #else
142 # if defined(__APPLE__)
143 # define glewGetProcAddress(name) NSGLGetProcAddress(name)
144 # else
145 # if defined(__sgi) || defined(__sun)
146 # define glewGetProcAddress(name) dlGetProcAddress(name)
147 # else /* __linux */
148 # define glewGetProcAddress(name) (*glXGetProcAddressARB)(name)
149 # endif
150 # endif
151 #endif
154 * Define GLboolean const cast.
156 #define CONST_CAST(x) (*(GLboolean*)&x)
159 * GLEW, just like OpenGL or GLU, does not rely on the standard C library.
160 * These functions implement the functionality required in this file.
162 static GLuint _glewStrLen (const GLubyte* s)
164 GLuint i=0;
165 if (s == NULL) return 0;
166 while (s[i] != '\0') i++;
167 return i;
170 static GLuint _glewStrCLen (const GLubyte* s, GLubyte c)
172 GLuint i=0;
173 if (s == NULL) return 0;
174 while (s[i] != '\0' && s[i] != c) i++;
175 return (s[i] == '\0' || s[i] == c) ? i : 0;
178 static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n)
180 GLuint i=0;
181 if(a == NULL || b == NULL)
182 return (a == NULL && b == NULL && n == 0) ? GL_TRUE : GL_FALSE;
183 while (i < n && a[i] != '\0' && b[i] != '\0' && a[i] == b[i]) i++;
184 return i == n ? GL_TRUE : GL_FALSE;
187 static GLboolean _glewStrSame1 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
189 while (*na > 0 && (**a == ' ' || **a == '\n' || **a == '\r' || **a == '\t'))
191 (*a)++;
192 (*na)--;
194 if(*na >= nb)
196 GLuint i=0;
197 while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
198 if(i == nb)
200 *a = *a + nb;
201 *na = *na - nb;
202 return GL_TRUE;
205 return GL_FALSE;
208 static GLboolean _glewStrSame2 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
210 if(*na >= nb)
212 GLuint i=0;
213 while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
214 if(i == nb)
216 *a = *a + nb;
217 *na = *na - nb;
218 return GL_TRUE;
221 return GL_FALSE;
224 static GLboolean _glewStrSame3 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
226 if(*na >= nb)
228 GLuint i=0;
229 while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
230 if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t'))
232 *a = *a + nb;
233 *na = *na - nb;
234 return GL_TRUE;
237 return GL_FALSE;
240 #if !defined(_WIN32) || !defined(GLEW_MX)
242 PFNGLCOPYTEXSUBIMAGE3DPROC __glewCopyTexSubImage3D = NULL;
243 PFNGLDRAWRANGEELEMENTSPROC __glewDrawRangeElements = NULL;
244 PFNGLTEXIMAGE3DPROC __glewTexImage3D = NULL;
245 PFNGLTEXSUBIMAGE3DPROC __glewTexSubImage3D = NULL;
247 PFNGLACTIVETEXTUREPROC __glewActiveTexture = NULL;
248 PFNGLCLIENTACTIVETEXTUREPROC __glewClientActiveTexture = NULL;
249 PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D = NULL;
250 PFNGLCOMPRESSEDTEXIMAGE2DPROC __glewCompressedTexImage2D = NULL;
251 PFNGLCOMPRESSEDTEXIMAGE3DPROC __glewCompressedTexImage3D = NULL;
252 PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D = NULL;
253 PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC __glewCompressedTexSubImage2D = NULL;
254 PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC __glewCompressedTexSubImage3D = NULL;
255 PFNGLGETCOMPRESSEDTEXIMAGEPROC __glewGetCompressedTexImage = NULL;
256 PFNGLLOADTRANSPOSEMATRIXDPROC __glewLoadTransposeMatrixd = NULL;
257 PFNGLLOADTRANSPOSEMATRIXFPROC __glewLoadTransposeMatrixf = NULL;
258 PFNGLMULTTRANSPOSEMATRIXDPROC __glewMultTransposeMatrixd = NULL;
259 PFNGLMULTTRANSPOSEMATRIXFPROC __glewMultTransposeMatrixf = NULL;
260 PFNGLMULTITEXCOORD1DPROC __glewMultiTexCoord1d = NULL;
261 PFNGLMULTITEXCOORD1DVPROC __glewMultiTexCoord1dv = NULL;
262 PFNGLMULTITEXCOORD1FPROC __glewMultiTexCoord1f = NULL;
263 PFNGLMULTITEXCOORD1FVPROC __glewMultiTexCoord1fv = NULL;
264 PFNGLMULTITEXCOORD1IPROC __glewMultiTexCoord1i = NULL;
265 PFNGLMULTITEXCOORD1IVPROC __glewMultiTexCoord1iv = NULL;
266 PFNGLMULTITEXCOORD1SPROC __glewMultiTexCoord1s = NULL;
267 PFNGLMULTITEXCOORD1SVPROC __glewMultiTexCoord1sv = NULL;
268 PFNGLMULTITEXCOORD2DPROC __glewMultiTexCoord2d = NULL;
269 PFNGLMULTITEXCOORD2DVPROC __glewMultiTexCoord2dv = NULL;
270 PFNGLMULTITEXCOORD2FPROC __glewMultiTexCoord2f = NULL;
271 PFNGLMULTITEXCOORD2FVPROC __glewMultiTexCoord2fv = NULL;
272 PFNGLMULTITEXCOORD2IPROC __glewMultiTexCoord2i = NULL;
273 PFNGLMULTITEXCOORD2IVPROC __glewMultiTexCoord2iv = NULL;
274 PFNGLMULTITEXCOORD2SPROC __glewMultiTexCoord2s = NULL;
275 PFNGLMULTITEXCOORD2SVPROC __glewMultiTexCoord2sv = NULL;
276 PFNGLMULTITEXCOORD3DPROC __glewMultiTexCoord3d = NULL;
277 PFNGLMULTITEXCOORD3DVPROC __glewMultiTexCoord3dv = NULL;
278 PFNGLMULTITEXCOORD3FPROC __glewMultiTexCoord3f = NULL;
279 PFNGLMULTITEXCOORD3FVPROC __glewMultiTexCoord3fv = NULL;
280 PFNGLMULTITEXCOORD3IPROC __glewMultiTexCoord3i = NULL;
281 PFNGLMULTITEXCOORD3IVPROC __glewMultiTexCoord3iv = NULL;
282 PFNGLMULTITEXCOORD3SPROC __glewMultiTexCoord3s = NULL;
283 PFNGLMULTITEXCOORD3SVPROC __glewMultiTexCoord3sv = NULL;
284 PFNGLMULTITEXCOORD4DPROC __glewMultiTexCoord4d = NULL;
285 PFNGLMULTITEXCOORD4DVPROC __glewMultiTexCoord4dv = NULL;
286 PFNGLMULTITEXCOORD4FPROC __glewMultiTexCoord4f = NULL;
287 PFNGLMULTITEXCOORD4FVPROC __glewMultiTexCoord4fv = NULL;
288 PFNGLMULTITEXCOORD4IPROC __glewMultiTexCoord4i = NULL;
289 PFNGLMULTITEXCOORD4IVPROC __glewMultiTexCoord4iv = NULL;
290 PFNGLMULTITEXCOORD4SPROC __glewMultiTexCoord4s = NULL;
291 PFNGLMULTITEXCOORD4SVPROC __glewMultiTexCoord4sv = NULL;
292 PFNGLSAMPLECOVERAGEPROC __glewSampleCoverage = NULL;
294 PFNGLBLENDCOLORPROC __glewBlendColor = NULL;
295 PFNGLBLENDEQUATIONPROC __glewBlendEquation = NULL;
296 PFNGLBLENDFUNCSEPARATEPROC __glewBlendFuncSeparate = NULL;
297 PFNGLFOGCOORDPOINTERPROC __glewFogCoordPointer = NULL;
298 PFNGLFOGCOORDDPROC __glewFogCoordd = NULL;
299 PFNGLFOGCOORDDVPROC __glewFogCoorddv = NULL;
300 PFNGLFOGCOORDFPROC __glewFogCoordf = NULL;
301 PFNGLFOGCOORDFVPROC __glewFogCoordfv = NULL;
302 PFNGLMULTIDRAWARRAYSPROC __glewMultiDrawArrays = NULL;
303 PFNGLMULTIDRAWELEMENTSPROC __glewMultiDrawElements = NULL;
304 PFNGLPOINTPARAMETERFPROC __glewPointParameterf = NULL;
305 PFNGLPOINTPARAMETERFVPROC __glewPointParameterfv = NULL;
306 PFNGLPOINTPARAMETERIPROC __glewPointParameteri = NULL;
307 PFNGLPOINTPARAMETERIVPROC __glewPointParameteriv = NULL;
308 PFNGLSECONDARYCOLOR3BPROC __glewSecondaryColor3b = NULL;
309 PFNGLSECONDARYCOLOR3BVPROC __glewSecondaryColor3bv = NULL;
310 PFNGLSECONDARYCOLOR3DPROC __glewSecondaryColor3d = NULL;
311 PFNGLSECONDARYCOLOR3DVPROC __glewSecondaryColor3dv = NULL;
312 PFNGLSECONDARYCOLOR3FPROC __glewSecondaryColor3f = NULL;
313 PFNGLSECONDARYCOLOR3FVPROC __glewSecondaryColor3fv = NULL;
314 PFNGLSECONDARYCOLOR3IPROC __glewSecondaryColor3i = NULL;
315 PFNGLSECONDARYCOLOR3IVPROC __glewSecondaryColor3iv = NULL;
316 PFNGLSECONDARYCOLOR3SPROC __glewSecondaryColor3s = NULL;
317 PFNGLSECONDARYCOLOR3SVPROC __glewSecondaryColor3sv = NULL;
318 PFNGLSECONDARYCOLOR3UBPROC __glewSecondaryColor3ub = NULL;
319 PFNGLSECONDARYCOLOR3UBVPROC __glewSecondaryColor3ubv = NULL;
320 PFNGLSECONDARYCOLOR3UIPROC __glewSecondaryColor3ui = NULL;
321 PFNGLSECONDARYCOLOR3UIVPROC __glewSecondaryColor3uiv = NULL;
322 PFNGLSECONDARYCOLOR3USPROC __glewSecondaryColor3us = NULL;
323 PFNGLSECONDARYCOLOR3USVPROC __glewSecondaryColor3usv = NULL;
324 PFNGLSECONDARYCOLORPOINTERPROC __glewSecondaryColorPointer = NULL;
325 PFNGLWINDOWPOS2DPROC __glewWindowPos2d = NULL;
326 PFNGLWINDOWPOS2DVPROC __glewWindowPos2dv = NULL;
327 PFNGLWINDOWPOS2FPROC __glewWindowPos2f = NULL;
328 PFNGLWINDOWPOS2FVPROC __glewWindowPos2fv = NULL;
329 PFNGLWINDOWPOS2IPROC __glewWindowPos2i = NULL;
330 PFNGLWINDOWPOS2IVPROC __glewWindowPos2iv = NULL;
331 PFNGLWINDOWPOS2SPROC __glewWindowPos2s = NULL;
332 PFNGLWINDOWPOS2SVPROC __glewWindowPos2sv = NULL;
333 PFNGLWINDOWPOS3DPROC __glewWindowPos3d = NULL;
334 PFNGLWINDOWPOS3DVPROC __glewWindowPos3dv = NULL;
335 PFNGLWINDOWPOS3FPROC __glewWindowPos3f = NULL;
336 PFNGLWINDOWPOS3FVPROC __glewWindowPos3fv = NULL;
337 PFNGLWINDOWPOS3IPROC __glewWindowPos3i = NULL;
338 PFNGLWINDOWPOS3IVPROC __glewWindowPos3iv = NULL;
339 PFNGLWINDOWPOS3SPROC __glewWindowPos3s = NULL;
340 PFNGLWINDOWPOS3SVPROC __glewWindowPos3sv = NULL;
342 PFNGLBEGINQUERYPROC __glewBeginQuery = NULL;
343 PFNGLBINDBUFFERPROC __glewBindBuffer = NULL;
344 PFNGLBUFFERDATAPROC __glewBufferData = NULL;
345 PFNGLBUFFERSUBDATAPROC __glewBufferSubData = NULL;
346 PFNGLDELETEBUFFERSPROC __glewDeleteBuffers = NULL;
347 PFNGLDELETEQUERIESPROC __glewDeleteQueries = NULL;
348 PFNGLENDQUERYPROC __glewEndQuery = NULL;
349 PFNGLGENBUFFERSPROC __glewGenBuffers = NULL;
350 PFNGLGENQUERIESPROC __glewGenQueries = NULL;
351 PFNGLGETBUFFERPARAMETERIVPROC __glewGetBufferParameteriv = NULL;
352 PFNGLGETBUFFERPOINTERVPROC __glewGetBufferPointerv = NULL;
353 PFNGLGETBUFFERSUBDATAPROC __glewGetBufferSubData = NULL;
354 PFNGLGETQUERYOBJECTIVPROC __glewGetQueryObjectiv = NULL;
355 PFNGLGETQUERYOBJECTUIVPROC __glewGetQueryObjectuiv = NULL;
356 PFNGLGETQUERYIVPROC __glewGetQueryiv = NULL;
357 PFNGLISBUFFERPROC __glewIsBuffer = NULL;
358 PFNGLISQUERYPROC __glewIsQuery = NULL;
359 PFNGLMAPBUFFERPROC __glewMapBuffer = NULL;
360 PFNGLUNMAPBUFFERPROC __glewUnmapBuffer = NULL;
362 PFNGLATTACHSHADERPROC __glewAttachShader = NULL;
363 PFNGLBINDATTRIBLOCATIONPROC __glewBindAttribLocation = NULL;
364 PFNGLBLENDEQUATIONSEPARATEPROC __glewBlendEquationSeparate = NULL;
365 PFNGLCOMPILESHADERPROC __glewCompileShader = NULL;
366 PFNGLCREATEPROGRAMPROC __glewCreateProgram = NULL;
367 PFNGLCREATESHADERPROC __glewCreateShader = NULL;
368 PFNGLDELETEPROGRAMPROC __glewDeleteProgram = NULL;
369 PFNGLDELETESHADERPROC __glewDeleteShader = NULL;
370 PFNGLDETACHSHADERPROC __glewDetachShader = NULL;
371 PFNGLDISABLEVERTEXATTRIBARRAYPROC __glewDisableVertexAttribArray = NULL;
372 PFNGLDRAWBUFFERSPROC __glewDrawBuffers = NULL;
373 PFNGLENABLEVERTEXATTRIBARRAYPROC __glewEnableVertexAttribArray = NULL;
374 PFNGLGETACTIVEATTRIBPROC __glewGetActiveAttrib = NULL;
375 PFNGLGETACTIVEUNIFORMPROC __glewGetActiveUniform = NULL;
376 PFNGLGETATTACHEDSHADERSPROC __glewGetAttachedShaders = NULL;
377 PFNGLGETATTRIBLOCATIONPROC __glewGetAttribLocation = NULL;
378 PFNGLGETPROGRAMINFOLOGPROC __glewGetProgramInfoLog = NULL;
379 PFNGLGETPROGRAMIVPROC __glewGetProgramiv = NULL;
380 PFNGLGETSHADERINFOLOGPROC __glewGetShaderInfoLog = NULL;
381 PFNGLGETSHADERSOURCEPROC __glewGetShaderSource = NULL;
382 PFNGLGETSHADERIVPROC __glewGetShaderiv = NULL;
383 PFNGLGETUNIFORMLOCATIONPROC __glewGetUniformLocation = NULL;
384 PFNGLGETUNIFORMFVPROC __glewGetUniformfv = NULL;
385 PFNGLGETUNIFORMIVPROC __glewGetUniformiv = NULL;
386 PFNGLGETVERTEXATTRIBPOINTERVPROC __glewGetVertexAttribPointerv = NULL;
387 PFNGLGETVERTEXATTRIBDVPROC __glewGetVertexAttribdv = NULL;
388 PFNGLGETVERTEXATTRIBFVPROC __glewGetVertexAttribfv = NULL;
389 PFNGLGETVERTEXATTRIBIVPROC __glewGetVertexAttribiv = NULL;
390 PFNGLISPROGRAMPROC __glewIsProgram = NULL;
391 PFNGLISSHADERPROC __glewIsShader = NULL;
392 PFNGLLINKPROGRAMPROC __glewLinkProgram = NULL;
393 PFNGLSHADERSOURCEPROC __glewShaderSource = NULL;
394 PFNGLSTENCILFUNCSEPARATEPROC __glewStencilFuncSeparate = NULL;
395 PFNGLSTENCILMASKSEPARATEPROC __glewStencilMaskSeparate = NULL;
396 PFNGLSTENCILOPSEPARATEPROC __glewStencilOpSeparate = NULL;
397 PFNGLUNIFORM1FPROC __glewUniform1f = NULL;
398 PFNGLUNIFORM1FVPROC __glewUniform1fv = NULL;
399 PFNGLUNIFORM1IPROC __glewUniform1i = NULL;
400 PFNGLUNIFORM1IVPROC __glewUniform1iv = NULL;
401 PFNGLUNIFORM2FPROC __glewUniform2f = NULL;
402 PFNGLUNIFORM2FVPROC __glewUniform2fv = NULL;
403 PFNGLUNIFORM2IPROC __glewUniform2i = NULL;
404 PFNGLUNIFORM2IVPROC __glewUniform2iv = NULL;
405 PFNGLUNIFORM3FPROC __glewUniform3f = NULL;
406 PFNGLUNIFORM3FVPROC __glewUniform3fv = NULL;
407 PFNGLUNIFORM3IPROC __glewUniform3i = NULL;
408 PFNGLUNIFORM3IVPROC __glewUniform3iv = NULL;
409 PFNGLUNIFORM4FPROC __glewUniform4f = NULL;
410 PFNGLUNIFORM4FVPROC __glewUniform4fv = NULL;
411 PFNGLUNIFORM4IPROC __glewUniform4i = NULL;
412 PFNGLUNIFORM4IVPROC __glewUniform4iv = NULL;
413 PFNGLUNIFORMMATRIX2FVPROC __glewUniformMatrix2fv = NULL;
414 PFNGLUNIFORMMATRIX3FVPROC __glewUniformMatrix3fv = NULL;
415 PFNGLUNIFORMMATRIX4FVPROC __glewUniformMatrix4fv = NULL;
416 PFNGLUSEPROGRAMPROC __glewUseProgram = NULL;
417 PFNGLVALIDATEPROGRAMPROC __glewValidateProgram = NULL;
418 PFNGLVERTEXATTRIB1DPROC __glewVertexAttrib1d = NULL;
419 PFNGLVERTEXATTRIB1DVPROC __glewVertexAttrib1dv = NULL;
420 PFNGLVERTEXATTRIB1FPROC __glewVertexAttrib1f = NULL;
421 PFNGLVERTEXATTRIB1FVPROC __glewVertexAttrib1fv = NULL;
422 PFNGLVERTEXATTRIB1SPROC __glewVertexAttrib1s = NULL;
423 PFNGLVERTEXATTRIB1SVPROC __glewVertexAttrib1sv = NULL;
424 PFNGLVERTEXATTRIB2DPROC __glewVertexAttrib2d = NULL;
425 PFNGLVERTEXATTRIB2DVPROC __glewVertexAttrib2dv = NULL;
426 PFNGLVERTEXATTRIB2FPROC __glewVertexAttrib2f = NULL;
427 PFNGLVERTEXATTRIB2FVPROC __glewVertexAttrib2fv = NULL;
428 PFNGLVERTEXATTRIB2SPROC __glewVertexAttrib2s = NULL;
429 PFNGLVERTEXATTRIB2SVPROC __glewVertexAttrib2sv = NULL;
430 PFNGLVERTEXATTRIB3DPROC __glewVertexAttrib3d = NULL;
431 PFNGLVERTEXATTRIB3DVPROC __glewVertexAttrib3dv = NULL;
432 PFNGLVERTEXATTRIB3FPROC __glewVertexAttrib3f = NULL;
433 PFNGLVERTEXATTRIB3FVPROC __glewVertexAttrib3fv = NULL;
434 PFNGLVERTEXATTRIB3SPROC __glewVertexAttrib3s = NULL;
435 PFNGLVERTEXATTRIB3SVPROC __glewVertexAttrib3sv = NULL;
436 PFNGLVERTEXATTRIB4NBVPROC __glewVertexAttrib4Nbv = NULL;
437 PFNGLVERTEXATTRIB4NIVPROC __glewVertexAttrib4Niv = NULL;
438 PFNGLVERTEXATTRIB4NSVPROC __glewVertexAttrib4Nsv = NULL;
439 PFNGLVERTEXATTRIB4NUBPROC __glewVertexAttrib4Nub = NULL;
440 PFNGLVERTEXATTRIB4NUBVPROC __glewVertexAttrib4Nubv = NULL;
441 PFNGLVERTEXATTRIB4NUIVPROC __glewVertexAttrib4Nuiv = NULL;
442 PFNGLVERTEXATTRIB4NUSVPROC __glewVertexAttrib4Nusv = NULL;
443 PFNGLVERTEXATTRIB4BVPROC __glewVertexAttrib4bv = NULL;
444 PFNGLVERTEXATTRIB4DPROC __glewVertexAttrib4d = NULL;
445 PFNGLVERTEXATTRIB4DVPROC __glewVertexAttrib4dv = NULL;
446 PFNGLVERTEXATTRIB4FPROC __glewVertexAttrib4f = NULL;
447 PFNGLVERTEXATTRIB4FVPROC __glewVertexAttrib4fv = NULL;
448 PFNGLVERTEXATTRIB4IVPROC __glewVertexAttrib4iv = NULL;
449 PFNGLVERTEXATTRIB4SPROC __glewVertexAttrib4s = NULL;
450 PFNGLVERTEXATTRIB4SVPROC __glewVertexAttrib4sv = NULL;
451 PFNGLVERTEXATTRIB4UBVPROC __glewVertexAttrib4ubv = NULL;
452 PFNGLVERTEXATTRIB4UIVPROC __glewVertexAttrib4uiv = NULL;
453 PFNGLVERTEXATTRIB4USVPROC __glewVertexAttrib4usv = NULL;
454 PFNGLVERTEXATTRIBPOINTERPROC __glewVertexAttribPointer = NULL;
456 PFNGLUNIFORMMATRIX2X3FVPROC __glewUniformMatrix2x3fv = NULL;
457 PFNGLUNIFORMMATRIX2X4FVPROC __glewUniformMatrix2x4fv = NULL;
458 PFNGLUNIFORMMATRIX3X2FVPROC __glewUniformMatrix3x2fv = NULL;
459 PFNGLUNIFORMMATRIX3X4FVPROC __glewUniformMatrix3x4fv = NULL;
460 PFNGLUNIFORMMATRIX4X2FVPROC __glewUniformMatrix4x2fv = NULL;
461 PFNGLUNIFORMMATRIX4X3FVPROC __glewUniformMatrix4x3fv = NULL;
463 PFNGLBEGINCONDITIONALRENDERPROC __glewBeginConditionalRender = NULL;
464 PFNGLBEGINTRANSFORMFEEDBACKPROC __glewBeginTransformFeedback = NULL;
465 PFNGLBINDFRAGDATALOCATIONPROC __glewBindFragDataLocation = NULL;
466 PFNGLCLAMPCOLORPROC __glewClampColor = NULL;
467 PFNGLCLEARBUFFERFIPROC __glewClearBufferfi = NULL;
468 PFNGLCLEARBUFFERFVPROC __glewClearBufferfv = NULL;
469 PFNGLCLEARBUFFERIVPROC __glewClearBufferiv = NULL;
470 PFNGLCLEARBUFFERUIVPROC __glewClearBufferuiv = NULL;
471 PFNGLCOLORMASKIPROC __glewColorMaski = NULL;
472 PFNGLDISABLEIPROC __glewDisablei = NULL;
473 PFNGLENABLEIPROC __glewEnablei = NULL;
474 PFNGLENDCONDITIONALRENDERPROC __glewEndConditionalRender = NULL;
475 PFNGLENDTRANSFORMFEEDBACKPROC __glewEndTransformFeedback = NULL;
476 PFNGLGETBOOLEANI_VPROC __glewGetBooleani_v = NULL;
477 PFNGLGETFRAGDATALOCATIONPROC __glewGetFragDataLocation = NULL;
478 PFNGLGETSTRINGIPROC __glewGetStringi = NULL;
479 PFNGLGETTEXPARAMETERIIVPROC __glewGetTexParameterIiv = NULL;
480 PFNGLGETTEXPARAMETERIUIVPROC __glewGetTexParameterIuiv = NULL;
481 PFNGLGETTRANSFORMFEEDBACKVARYINGPROC __glewGetTransformFeedbackVarying = NULL;
482 PFNGLGETUNIFORMUIVPROC __glewGetUniformuiv = NULL;
483 PFNGLGETVERTEXATTRIBIIVPROC __glewGetVertexAttribIiv = NULL;
484 PFNGLGETVERTEXATTRIBIUIVPROC __glewGetVertexAttribIuiv = NULL;
485 PFNGLISENABLEDIPROC __glewIsEnabledi = NULL;
486 PFNGLTEXPARAMETERIIVPROC __glewTexParameterIiv = NULL;
487 PFNGLTEXPARAMETERIUIVPROC __glewTexParameterIuiv = NULL;
488 PFNGLTRANSFORMFEEDBACKVARYINGSPROC __glewTransformFeedbackVaryings = NULL;
489 PFNGLUNIFORM1UIPROC __glewUniform1ui = NULL;
490 PFNGLUNIFORM1UIVPROC __glewUniform1uiv = NULL;
491 PFNGLUNIFORM2UIPROC __glewUniform2ui = NULL;
492 PFNGLUNIFORM2UIVPROC __glewUniform2uiv = NULL;
493 PFNGLUNIFORM3UIPROC __glewUniform3ui = NULL;
494 PFNGLUNIFORM3UIVPROC __glewUniform3uiv = NULL;
495 PFNGLUNIFORM4UIPROC __glewUniform4ui = NULL;
496 PFNGLUNIFORM4UIVPROC __glewUniform4uiv = NULL;
497 PFNGLVERTEXATTRIBI1IPROC __glewVertexAttribI1i = NULL;
498 PFNGLVERTEXATTRIBI1IVPROC __glewVertexAttribI1iv = NULL;
499 PFNGLVERTEXATTRIBI1UIPROC __glewVertexAttribI1ui = NULL;
500 PFNGLVERTEXATTRIBI1UIVPROC __glewVertexAttribI1uiv = NULL;
501 PFNGLVERTEXATTRIBI2IPROC __glewVertexAttribI2i = NULL;
502 PFNGLVERTEXATTRIBI2IVPROC __glewVertexAttribI2iv = NULL;
503 PFNGLVERTEXATTRIBI2UIPROC __glewVertexAttribI2ui = NULL;
504 PFNGLVERTEXATTRIBI2UIVPROC __glewVertexAttribI2uiv = NULL;
505 PFNGLVERTEXATTRIBI3IPROC __glewVertexAttribI3i = NULL;
506 PFNGLVERTEXATTRIBI3IVPROC __glewVertexAttribI3iv = NULL;
507 PFNGLVERTEXATTRIBI3UIPROC __glewVertexAttribI3ui = NULL;
508 PFNGLVERTEXATTRIBI3UIVPROC __glewVertexAttribI3uiv = NULL;
509 PFNGLVERTEXATTRIBI4BVPROC __glewVertexAttribI4bv = NULL;
510 PFNGLVERTEXATTRIBI4IPROC __glewVertexAttribI4i = NULL;
511 PFNGLVERTEXATTRIBI4IVPROC __glewVertexAttribI4iv = NULL;
512 PFNGLVERTEXATTRIBI4SVPROC __glewVertexAttribI4sv = NULL;
513 PFNGLVERTEXATTRIBI4UBVPROC __glewVertexAttribI4ubv = NULL;
514 PFNGLVERTEXATTRIBI4UIPROC __glewVertexAttribI4ui = NULL;
515 PFNGLVERTEXATTRIBI4UIVPROC __glewVertexAttribI4uiv = NULL;
516 PFNGLVERTEXATTRIBI4USVPROC __glewVertexAttribI4usv = NULL;
517 PFNGLVERTEXATTRIBIPOINTERPROC __glewVertexAttribIPointer = NULL;
519 PFNGLDRAWARRAYSINSTANCEDPROC __glewDrawArraysInstanced = NULL;
520 PFNGLDRAWELEMENTSINSTANCEDPROC __glewDrawElementsInstanced = NULL;
521 PFNGLPRIMITIVERESTARTINDEXPROC __glewPrimitiveRestartIndex = NULL;
522 PFNGLTEXBUFFERPROC __glewTexBuffer = NULL;
524 PFNGLFRAMEBUFFERTEXTUREPROC __glewFramebufferTexture = NULL;
525 PFNGLGETBUFFERPARAMETERI64VPROC __glewGetBufferParameteri64v = NULL;
526 PFNGLGETINTEGER64I_VPROC __glewGetInteger64i_v = NULL;
528 PFNGLVERTEXATTRIBDIVISORPROC __glewVertexAttribDivisor = NULL;
530 PFNGLBLENDEQUATIONSEPARATEIPROC __glewBlendEquationSeparatei = NULL;
531 PFNGLBLENDEQUATIONIPROC __glewBlendEquationi = NULL;
532 PFNGLBLENDFUNCSEPARATEIPROC __glewBlendFuncSeparatei = NULL;
533 PFNGLBLENDFUNCIPROC __glewBlendFunci = NULL;
534 PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading = NULL;
536 PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL;
538 PFNGLDEBUGMESSAGECALLBACKAMDPROC __glewDebugMessageCallbackAMD = NULL;
539 PFNGLDEBUGMESSAGEENABLEAMDPROC __glewDebugMessageEnableAMD = NULL;
540 PFNGLDEBUGMESSAGEINSERTAMDPROC __glewDebugMessageInsertAMD = NULL;
541 PFNGLGETDEBUGMESSAGELOGAMDPROC __glewGetDebugMessageLogAMD = NULL;
543 PFNGLBLENDEQUATIONINDEXEDAMDPROC __glewBlendEquationIndexedAMD = NULL;
544 PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC __glewBlendEquationSeparateIndexedAMD = NULL;
545 PFNGLBLENDFUNCINDEXEDAMDPROC __glewBlendFuncIndexedAMD = NULL;
546 PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC __glewBlendFuncSeparateIndexedAMD = NULL;
548 PFNGLDELETENAMESAMDPROC __glewDeleteNamesAMD = NULL;
549 PFNGLGENNAMESAMDPROC __glewGenNamesAMD = NULL;
550 PFNGLISNAMEAMDPROC __glewIsNameAMD = NULL;
552 PFNGLBEGINPERFMONITORAMDPROC __glewBeginPerfMonitorAMD = NULL;
553 PFNGLDELETEPERFMONITORSAMDPROC __glewDeletePerfMonitorsAMD = NULL;
554 PFNGLENDPERFMONITORAMDPROC __glewEndPerfMonitorAMD = NULL;
555 PFNGLGENPERFMONITORSAMDPROC __glewGenPerfMonitorsAMD = NULL;
556 PFNGLGETPERFMONITORCOUNTERDATAAMDPROC __glewGetPerfMonitorCounterDataAMD = NULL;
557 PFNGLGETPERFMONITORCOUNTERINFOAMDPROC __glewGetPerfMonitorCounterInfoAMD = NULL;
558 PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC __glewGetPerfMonitorCounterStringAMD = NULL;
559 PFNGLGETPERFMONITORCOUNTERSAMDPROC __glewGetPerfMonitorCountersAMD = NULL;
560 PFNGLGETPERFMONITORGROUPSTRINGAMDPROC __glewGetPerfMonitorGroupStringAMD = NULL;
561 PFNGLGETPERFMONITORGROUPSAMDPROC __glewGetPerfMonitorGroupsAMD = NULL;
562 PFNGLSELECTPERFMONITORCOUNTERSAMDPROC __glewSelectPerfMonitorCountersAMD = NULL;
564 PFNGLTESSELLATIONFACTORAMDPROC __glewTessellationFactorAMD = NULL;
565 PFNGLTESSELLATIONMODEAMDPROC __glewTessellationModeAMD = NULL;
567 PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE = NULL;
568 PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE = NULL;
569 PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE = NULL;
570 PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC __glewMultiDrawElementArrayAPPLE = NULL;
571 PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC __glewMultiDrawRangeElementArrayAPPLE = NULL;
573 PFNGLDELETEFENCESAPPLEPROC __glewDeleteFencesAPPLE = NULL;
574 PFNGLFINISHFENCEAPPLEPROC __glewFinishFenceAPPLE = NULL;
575 PFNGLFINISHOBJECTAPPLEPROC __glewFinishObjectAPPLE = NULL;
576 PFNGLGENFENCESAPPLEPROC __glewGenFencesAPPLE = NULL;
577 PFNGLISFENCEAPPLEPROC __glewIsFenceAPPLE = NULL;
578 PFNGLSETFENCEAPPLEPROC __glewSetFenceAPPLE = NULL;
579 PFNGLTESTFENCEAPPLEPROC __glewTestFenceAPPLE = NULL;
580 PFNGLTESTOBJECTAPPLEPROC __glewTestObjectAPPLE = NULL;
582 PFNGLBUFFERPARAMETERIAPPLEPROC __glewBufferParameteriAPPLE = NULL;
583 PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC __glewFlushMappedBufferRangeAPPLE = NULL;
585 PFNGLGETOBJECTPARAMETERIVAPPLEPROC __glewGetObjectParameterivAPPLE = NULL;
586 PFNGLOBJECTPURGEABLEAPPLEPROC __glewObjectPurgeableAPPLE = NULL;
587 PFNGLOBJECTUNPURGEABLEAPPLEPROC __glewObjectUnpurgeableAPPLE = NULL;
589 PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE = NULL;
590 PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE = NULL;
592 PFNGLBINDVERTEXARRAYAPPLEPROC __glewBindVertexArrayAPPLE = NULL;
593 PFNGLDELETEVERTEXARRAYSAPPLEPROC __glewDeleteVertexArraysAPPLE = NULL;
594 PFNGLGENVERTEXARRAYSAPPLEPROC __glewGenVertexArraysAPPLE = NULL;
595 PFNGLISVERTEXARRAYAPPLEPROC __glewIsVertexArrayAPPLE = NULL;
597 PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __glewFlushVertexArrayRangeAPPLE = NULL;
598 PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE = NULL;
599 PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE = NULL;
601 PFNGLDISABLEVERTEXATTRIBAPPLEPROC __glewDisableVertexAttribAPPLE = NULL;
602 PFNGLENABLEVERTEXATTRIBAPPLEPROC __glewEnableVertexAttribAPPLE = NULL;
603 PFNGLISVERTEXATTRIBENABLEDAPPLEPROC __glewIsVertexAttribEnabledAPPLE = NULL;
604 PFNGLMAPVERTEXATTRIB1DAPPLEPROC __glewMapVertexAttrib1dAPPLE = NULL;
605 PFNGLMAPVERTEXATTRIB1FAPPLEPROC __glewMapVertexAttrib1fAPPLE = NULL;
606 PFNGLMAPVERTEXATTRIB2DAPPLEPROC __glewMapVertexAttrib2dAPPLE = NULL;
607 PFNGLMAPVERTEXATTRIB2FAPPLEPROC __glewMapVertexAttrib2fAPPLE = NULL;
609 PFNGLBINDFRAGDATALOCATIONINDEXEDPROC __glewBindFragDataLocationIndexed = NULL;
610 PFNGLGETFRAGDATAINDEXPROC __glewGetFragDataIndex = NULL;
612 PFNGLCLAMPCOLORARBPROC __glewClampColorARB = NULL;
614 PFNGLCOPYBUFFERSUBDATAPROC __glewCopyBufferSubData = NULL;
616 PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB = NULL;
618 PFNGLBLENDEQUATIONSEPARATEIARBPROC __glewBlendEquationSeparateiARB = NULL;
619 PFNGLBLENDEQUATIONIARBPROC __glewBlendEquationiARB = NULL;
620 PFNGLBLENDFUNCSEPARATEIARBPROC __glewBlendFuncSeparateiARB = NULL;
621 PFNGLBLENDFUNCIARBPROC __glewBlendFunciARB = NULL;
623 PFNGLDRAWELEMENTSBASEVERTEXPROC __glewDrawElementsBaseVertex = NULL;
624 PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC __glewDrawElementsInstancedBaseVertex = NULL;
625 PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC __glewDrawRangeElementsBaseVertex = NULL;
626 PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC __glewMultiDrawElementsBaseVertex = NULL;
628 PFNGLDRAWARRAYSINDIRECTPROC __glewDrawArraysIndirect = NULL;
629 PFNGLDRAWELEMENTSINDIRECTPROC __glewDrawElementsIndirect = NULL;
631 PFNGLDRAWARRAYSINSTANCEDARBPROC __glewDrawArraysInstancedARB = NULL;
632 PFNGLDRAWELEMENTSINSTANCEDARBPROC __glewDrawElementsInstancedARB = NULL;
634 PFNGLBINDFRAMEBUFFERPROC __glewBindFramebuffer = NULL;
635 PFNGLBINDRENDERBUFFERPROC __glewBindRenderbuffer = NULL;
636 PFNGLBLITFRAMEBUFFERPROC __glewBlitFramebuffer = NULL;
637 PFNGLCHECKFRAMEBUFFERSTATUSPROC __glewCheckFramebufferStatus = NULL;
638 PFNGLDELETEFRAMEBUFFERSPROC __glewDeleteFramebuffers = NULL;
639 PFNGLDELETERENDERBUFFERSPROC __glewDeleteRenderbuffers = NULL;
640 PFNGLFRAMEBUFFERRENDERBUFFERPROC __glewFramebufferRenderbuffer = NULL;
641 PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D = NULL;
642 PFNGLFRAMEBUFFERTEXTURE2DPROC __glewFramebufferTexture2D = NULL;
643 PFNGLFRAMEBUFFERTEXTURE3DPROC __glewFramebufferTexture3D = NULL;
644 PFNGLFRAMEBUFFERTEXTURELAYERPROC __glewFramebufferTextureLayer = NULL;
645 PFNGLGENFRAMEBUFFERSPROC __glewGenFramebuffers = NULL;
646 PFNGLGENRENDERBUFFERSPROC __glewGenRenderbuffers = NULL;
647 PFNGLGENERATEMIPMAPPROC __glewGenerateMipmap = NULL;
648 PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetFramebufferAttachmentParameteriv = NULL;
649 PFNGLGETRENDERBUFFERPARAMETERIVPROC __glewGetRenderbufferParameteriv = NULL;
650 PFNGLISFRAMEBUFFERPROC __glewIsFramebuffer = NULL;
651 PFNGLISRENDERBUFFERPROC __glewIsRenderbuffer = NULL;
652 PFNGLRENDERBUFFERSTORAGEPROC __glewRenderbufferStorage = NULL;
653 PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC __glewRenderbufferStorageMultisample = NULL;
655 PFNGLFRAMEBUFFERTEXTUREARBPROC __glewFramebufferTextureARB = NULL;
656 PFNGLFRAMEBUFFERTEXTUREFACEARBPROC __glewFramebufferTextureFaceARB = NULL;
657 PFNGLFRAMEBUFFERTEXTURELAYERARBPROC __glewFramebufferTextureLayerARB = NULL;
658 PFNGLPROGRAMPARAMETERIARBPROC __glewProgramParameteriARB = NULL;
660 PFNGLGETUNIFORMDVPROC __glewGetUniformdv = NULL;
661 PFNGLPROGRAMUNIFORM1DEXTPROC __glewProgramUniform1dEXT = NULL;
662 PFNGLPROGRAMUNIFORM1DVEXTPROC __glewProgramUniform1dvEXT = NULL;
663 PFNGLPROGRAMUNIFORM2DEXTPROC __glewProgramUniform2dEXT = NULL;
664 PFNGLPROGRAMUNIFORM2DVEXTPROC __glewProgramUniform2dvEXT = NULL;
665 PFNGLPROGRAMUNIFORM3DEXTPROC __glewProgramUniform3dEXT = NULL;
666 PFNGLPROGRAMUNIFORM3DVEXTPROC __glewProgramUniform3dvEXT = NULL;
667 PFNGLPROGRAMUNIFORM4DEXTPROC __glewProgramUniform4dEXT = NULL;
668 PFNGLPROGRAMUNIFORM4DVEXTPROC __glewProgramUniform4dvEXT = NULL;
669 PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC __glewProgramUniformMatrix2dvEXT = NULL;
670 PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC __glewProgramUniformMatrix2x3dvEXT = NULL;
671 PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC __glewProgramUniformMatrix2x4dvEXT = NULL;
672 PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC __glewProgramUniformMatrix3dvEXT = NULL;
673 PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC __glewProgramUniformMatrix3x2dvEXT = NULL;
674 PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC __glewProgramUniformMatrix3x4dvEXT = NULL;
675 PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC __glewProgramUniformMatrix4dvEXT = NULL;
676 PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC __glewProgramUniformMatrix4x2dvEXT = NULL;
677 PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC __glewProgramUniformMatrix4x3dvEXT = NULL;
678 PFNGLUNIFORM1DPROC __glewUniform1d = NULL;
679 PFNGLUNIFORM1DVPROC __glewUniform1dv = NULL;
680 PFNGLUNIFORM2DPROC __glewUniform2d = NULL;
681 PFNGLUNIFORM2DVPROC __glewUniform2dv = NULL;
682 PFNGLUNIFORM3DPROC __glewUniform3d = NULL;
683 PFNGLUNIFORM3DVPROC __glewUniform3dv = NULL;
684 PFNGLUNIFORM4DPROC __glewUniform4d = NULL;
685 PFNGLUNIFORM4DVPROC __glewUniform4dv = NULL;
686 PFNGLUNIFORMMATRIX2DVPROC __glewUniformMatrix2dv = NULL;
687 PFNGLUNIFORMMATRIX2X3DVPROC __glewUniformMatrix2x3dv = NULL;
688 PFNGLUNIFORMMATRIX2X4DVPROC __glewUniformMatrix2x4dv = NULL;
689 PFNGLUNIFORMMATRIX3DVPROC __glewUniformMatrix3dv = NULL;
690 PFNGLUNIFORMMATRIX3X2DVPROC __glewUniformMatrix3x2dv = NULL;
691 PFNGLUNIFORMMATRIX3X4DVPROC __glewUniformMatrix3x4dv = NULL;
692 PFNGLUNIFORMMATRIX4DVPROC __glewUniformMatrix4dv = NULL;
693 PFNGLUNIFORMMATRIX4X2DVPROC __glewUniformMatrix4x2dv = NULL;
694 PFNGLUNIFORMMATRIX4X3DVPROC __glewUniformMatrix4x3dv = NULL;
696 PFNGLCOLORSUBTABLEPROC __glewColorSubTable = NULL;
697 PFNGLCOLORTABLEPROC __glewColorTable = NULL;
698 PFNGLCOLORTABLEPARAMETERFVPROC __glewColorTableParameterfv = NULL;
699 PFNGLCOLORTABLEPARAMETERIVPROC __glewColorTableParameteriv = NULL;
700 PFNGLCONVOLUTIONFILTER1DPROC __glewConvolutionFilter1D = NULL;
701 PFNGLCONVOLUTIONFILTER2DPROC __glewConvolutionFilter2D = NULL;
702 PFNGLCONVOLUTIONPARAMETERFPROC __glewConvolutionParameterf = NULL;
703 PFNGLCONVOLUTIONPARAMETERFVPROC __glewConvolutionParameterfv = NULL;
704 PFNGLCONVOLUTIONPARAMETERIPROC __glewConvolutionParameteri = NULL;
705 PFNGLCONVOLUTIONPARAMETERIVPROC __glewConvolutionParameteriv = NULL;
706 PFNGLCOPYCOLORSUBTABLEPROC __glewCopyColorSubTable = NULL;
707 PFNGLCOPYCOLORTABLEPROC __glewCopyColorTable = NULL;
708 PFNGLCOPYCONVOLUTIONFILTER1DPROC __glewCopyConvolutionFilter1D = NULL;
709 PFNGLCOPYCONVOLUTIONFILTER2DPROC __glewCopyConvolutionFilter2D = NULL;
710 PFNGLGETCOLORTABLEPROC __glewGetColorTable = NULL;
711 PFNGLGETCOLORTABLEPARAMETERFVPROC __glewGetColorTableParameterfv = NULL;
712 PFNGLGETCOLORTABLEPARAMETERIVPROC __glewGetColorTableParameteriv = NULL;
713 PFNGLGETCONVOLUTIONFILTERPROC __glewGetConvolutionFilter = NULL;
714 PFNGLGETCONVOLUTIONPARAMETERFVPROC __glewGetConvolutionParameterfv = NULL;
715 PFNGLGETCONVOLUTIONPARAMETERIVPROC __glewGetConvolutionParameteriv = NULL;
716 PFNGLGETHISTOGRAMPROC __glewGetHistogram = NULL;
717 PFNGLGETHISTOGRAMPARAMETERFVPROC __glewGetHistogramParameterfv = NULL;
718 PFNGLGETHISTOGRAMPARAMETERIVPROC __glewGetHistogramParameteriv = NULL;
719 PFNGLGETMINMAXPROC __glewGetMinmax = NULL;
720 PFNGLGETMINMAXPARAMETERFVPROC __glewGetMinmaxParameterfv = NULL;
721 PFNGLGETMINMAXPARAMETERIVPROC __glewGetMinmaxParameteriv = NULL;
722 PFNGLGETSEPARABLEFILTERPROC __glewGetSeparableFilter = NULL;
723 PFNGLHISTOGRAMPROC __glewHistogram = NULL;
724 PFNGLMINMAXPROC __glewMinmax = NULL;
725 PFNGLRESETHISTOGRAMPROC __glewResetHistogram = NULL;
726 PFNGLRESETMINMAXPROC __glewResetMinmax = NULL;
727 PFNGLSEPARABLEFILTER2DPROC __glewSeparableFilter2D = NULL;
729 PFNGLVERTEXATTRIBDIVISORARBPROC __glewVertexAttribDivisorARB = NULL;
731 PFNGLFLUSHMAPPEDBUFFERRANGEPROC __glewFlushMappedBufferRange = NULL;
732 PFNGLMAPBUFFERRANGEPROC __glewMapBufferRange = NULL;
734 PFNGLCURRENTPALETTEMATRIXARBPROC __glewCurrentPaletteMatrixARB = NULL;
735 PFNGLMATRIXINDEXPOINTERARBPROC __glewMatrixIndexPointerARB = NULL;
736 PFNGLMATRIXINDEXUBVARBPROC __glewMatrixIndexubvARB = NULL;
737 PFNGLMATRIXINDEXUIVARBPROC __glewMatrixIndexuivARB = NULL;
738 PFNGLMATRIXINDEXUSVARBPROC __glewMatrixIndexusvARB = NULL;
740 PFNGLSAMPLECOVERAGEARBPROC __glewSampleCoverageARB = NULL;
742 PFNGLACTIVETEXTUREARBPROC __glewActiveTextureARB = NULL;
743 PFNGLCLIENTACTIVETEXTUREARBPROC __glewClientActiveTextureARB = NULL;
744 PFNGLMULTITEXCOORD1DARBPROC __glewMultiTexCoord1dARB = NULL;
745 PFNGLMULTITEXCOORD1DVARBPROC __glewMultiTexCoord1dvARB = NULL;
746 PFNGLMULTITEXCOORD1FARBPROC __glewMultiTexCoord1fARB = NULL;
747 PFNGLMULTITEXCOORD1FVARBPROC __glewMultiTexCoord1fvARB = NULL;
748 PFNGLMULTITEXCOORD1IARBPROC __glewMultiTexCoord1iARB = NULL;
749 PFNGLMULTITEXCOORD1IVARBPROC __glewMultiTexCoord1ivARB = NULL;
750 PFNGLMULTITEXCOORD1SARBPROC __glewMultiTexCoord1sARB = NULL;
751 PFNGLMULTITEXCOORD1SVARBPROC __glewMultiTexCoord1svARB = NULL;
752 PFNGLMULTITEXCOORD2DARBPROC __glewMultiTexCoord2dARB = NULL;
753 PFNGLMULTITEXCOORD2DVARBPROC __glewMultiTexCoord2dvARB = NULL;
754 PFNGLMULTITEXCOORD2FARBPROC __glewMultiTexCoord2fARB = NULL;
755 PFNGLMULTITEXCOORD2FVARBPROC __glewMultiTexCoord2fvARB = NULL;
756 PFNGLMULTITEXCOORD2IARBPROC __glewMultiTexCoord2iARB = NULL;
757 PFNGLMULTITEXCOORD2IVARBPROC __glewMultiTexCoord2ivARB = NULL;
758 PFNGLMULTITEXCOORD2SARBPROC __glewMultiTexCoord2sARB = NULL;
759 PFNGLMULTITEXCOORD2SVARBPROC __glewMultiTexCoord2svARB = NULL;
760 PFNGLMULTITEXCOORD3DARBPROC __glewMultiTexCoord3dARB = NULL;
761 PFNGLMULTITEXCOORD3DVARBPROC __glewMultiTexCoord3dvARB = NULL;
762 PFNGLMULTITEXCOORD3FARBPROC __glewMultiTexCoord3fARB = NULL;
763 PFNGLMULTITEXCOORD3FVARBPROC __glewMultiTexCoord3fvARB = NULL;
764 PFNGLMULTITEXCOORD3IARBPROC __glewMultiTexCoord3iARB = NULL;
765 PFNGLMULTITEXCOORD3IVARBPROC __glewMultiTexCoord3ivARB = NULL;
766 PFNGLMULTITEXCOORD3SARBPROC __glewMultiTexCoord3sARB = NULL;
767 PFNGLMULTITEXCOORD3SVARBPROC __glewMultiTexCoord3svARB = NULL;
768 PFNGLMULTITEXCOORD4DARBPROC __glewMultiTexCoord4dARB = NULL;
769 PFNGLMULTITEXCOORD4DVARBPROC __glewMultiTexCoord4dvARB = NULL;
770 PFNGLMULTITEXCOORD4FARBPROC __glewMultiTexCoord4fARB = NULL;
771 PFNGLMULTITEXCOORD4FVARBPROC __glewMultiTexCoord4fvARB = NULL;
772 PFNGLMULTITEXCOORD4IARBPROC __glewMultiTexCoord4iARB = NULL;
773 PFNGLMULTITEXCOORD4IVARBPROC __glewMultiTexCoord4ivARB = NULL;
774 PFNGLMULTITEXCOORD4SARBPROC __glewMultiTexCoord4sARB = NULL;
775 PFNGLMULTITEXCOORD4SVARBPROC __glewMultiTexCoord4svARB = NULL;
777 PFNGLBEGINQUERYARBPROC __glewBeginQueryARB = NULL;
778 PFNGLDELETEQUERIESARBPROC __glewDeleteQueriesARB = NULL;
779 PFNGLENDQUERYARBPROC __glewEndQueryARB = NULL;
780 PFNGLGENQUERIESARBPROC __glewGenQueriesARB = NULL;
781 PFNGLGETQUERYOBJECTIVARBPROC __glewGetQueryObjectivARB = NULL;
782 PFNGLGETQUERYOBJECTUIVARBPROC __glewGetQueryObjectuivARB = NULL;
783 PFNGLGETQUERYIVARBPROC __glewGetQueryivARB = NULL;
784 PFNGLISQUERYARBPROC __glewIsQueryARB = NULL;
786 PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB = NULL;
787 PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB = NULL;
789 PFNGLPROVOKINGVERTEXPROC __glewProvokingVertex = NULL;
791 PFNGLMINSAMPLESHADINGARBPROC __glewMinSampleShadingARB = NULL;
793 PFNGLBINDSAMPLERPROC __glewBindSampler = NULL;
794 PFNGLDELETESAMPLERSPROC __glewDeleteSamplers = NULL;
795 PFNGLGENSAMPLERSPROC __glewGenSamplers = NULL;
796 PFNGLGETSAMPLERPARAMETERIIVPROC __glewGetSamplerParameterIiv = NULL;
797 PFNGLGETSAMPLERPARAMETERIUIVPROC __glewGetSamplerParameterIuiv = NULL;
798 PFNGLGETSAMPLERPARAMETERFVPROC __glewGetSamplerParameterfv = NULL;
799 PFNGLGETSAMPLERPARAMETERIVPROC __glewGetSamplerParameteriv = NULL;
800 PFNGLISSAMPLERPROC __glewIsSampler = NULL;
801 PFNGLSAMPLERPARAMETERIIVPROC __glewSamplerParameterIiv = NULL;
802 PFNGLSAMPLERPARAMETERIUIVPROC __glewSamplerParameterIuiv = NULL;
803 PFNGLSAMPLERPARAMETERFPROC __glewSamplerParameterf = NULL;
804 PFNGLSAMPLERPARAMETERFVPROC __glewSamplerParameterfv = NULL;
805 PFNGLSAMPLERPARAMETERIPROC __glewSamplerParameteri = NULL;
806 PFNGLSAMPLERPARAMETERIVPROC __glewSamplerParameteriv = NULL;
808 PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB = NULL;
809 PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB = NULL;
810 PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB = NULL;
811 PFNGLCREATESHADEROBJECTARBPROC __glewCreateShaderObjectARB = NULL;
812 PFNGLDELETEOBJECTARBPROC __glewDeleteObjectARB = NULL;
813 PFNGLDETACHOBJECTARBPROC __glewDetachObjectARB = NULL;
814 PFNGLGETACTIVEUNIFORMARBPROC __glewGetActiveUniformARB = NULL;
815 PFNGLGETATTACHEDOBJECTSARBPROC __glewGetAttachedObjectsARB = NULL;
816 PFNGLGETHANDLEARBPROC __glewGetHandleARB = NULL;
817 PFNGLGETINFOLOGARBPROC __glewGetInfoLogARB = NULL;
818 PFNGLGETOBJECTPARAMETERFVARBPROC __glewGetObjectParameterfvARB = NULL;
819 PFNGLGETOBJECTPARAMETERIVARBPROC __glewGetObjectParameterivARB = NULL;
820 PFNGLGETSHADERSOURCEARBPROC __glewGetShaderSourceARB = NULL;
821 PFNGLGETUNIFORMLOCATIONARBPROC __glewGetUniformLocationARB = NULL;
822 PFNGLGETUNIFORMFVARBPROC __glewGetUniformfvARB = NULL;
823 PFNGLGETUNIFORMIVARBPROC __glewGetUniformivARB = NULL;
824 PFNGLLINKPROGRAMARBPROC __glewLinkProgramARB = NULL;
825 PFNGLSHADERSOURCEARBPROC __glewShaderSourceARB = NULL;
826 PFNGLUNIFORM1FARBPROC __glewUniform1fARB = NULL;
827 PFNGLUNIFORM1FVARBPROC __glewUniform1fvARB = NULL;
828 PFNGLUNIFORM1IARBPROC __glewUniform1iARB = NULL;
829 PFNGLUNIFORM1IVARBPROC __glewUniform1ivARB = NULL;
830 PFNGLUNIFORM2FARBPROC __glewUniform2fARB = NULL;
831 PFNGLUNIFORM2FVARBPROC __glewUniform2fvARB = NULL;
832 PFNGLUNIFORM2IARBPROC __glewUniform2iARB = NULL;
833 PFNGLUNIFORM2IVARBPROC __glewUniform2ivARB = NULL;
834 PFNGLUNIFORM3FARBPROC __glewUniform3fARB = NULL;
835 PFNGLUNIFORM3FVARBPROC __glewUniform3fvARB = NULL;
836 PFNGLUNIFORM3IARBPROC __glewUniform3iARB = NULL;
837 PFNGLUNIFORM3IVARBPROC __glewUniform3ivARB = NULL;
838 PFNGLUNIFORM4FARBPROC __glewUniform4fARB = NULL;
839 PFNGLUNIFORM4FVARBPROC __glewUniform4fvARB = NULL;
840 PFNGLUNIFORM4IARBPROC __glewUniform4iARB = NULL;
841 PFNGLUNIFORM4IVARBPROC __glewUniform4ivARB = NULL;
842 PFNGLUNIFORMMATRIX2FVARBPROC __glewUniformMatrix2fvARB = NULL;
843 PFNGLUNIFORMMATRIX3FVARBPROC __glewUniformMatrix3fvARB = NULL;
844 PFNGLUNIFORMMATRIX4FVARBPROC __glewUniformMatrix4fvARB = NULL;
845 PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB = NULL;
846 PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB = NULL;
848 PFNGLGETACTIVESUBROUTINENAMEPROC __glewGetActiveSubroutineName = NULL;
849 PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC __glewGetActiveSubroutineUniformName = NULL;
850 PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC __glewGetActiveSubroutineUniformiv = NULL;
851 PFNGLGETPROGRAMSTAGEIVPROC __glewGetProgramStageiv = NULL;
852 PFNGLGETSUBROUTINEINDEXPROC __glewGetSubroutineIndex = NULL;
853 PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC __glewGetSubroutineUniformLocation = NULL;
854 PFNGLGETUNIFORMSUBROUTINEUIVPROC __glewGetUniformSubroutineuiv = NULL;
855 PFNGLUNIFORMSUBROUTINESUIVPROC __glewUniformSubroutinesuiv = NULL;
857 PFNGLCOMPILESHADERINCLUDEARBPROC __glewCompileShaderIncludeARB = NULL;
858 PFNGLDELETENAMEDSTRINGARBPROC __glewDeleteNamedStringARB = NULL;
859 PFNGLGETNAMEDSTRINGARBPROC __glewGetNamedStringARB = NULL;
860 PFNGLGETNAMEDSTRINGIVARBPROC __glewGetNamedStringivARB = NULL;
861 PFNGLISNAMEDSTRINGARBPROC __glewIsNamedStringARB = NULL;
862 PFNGLNAMEDSTRINGARBPROC __glewNamedStringARB = NULL;
864 PFNGLCLIENTWAITSYNCPROC __glewClientWaitSync = NULL;
865 PFNGLDELETESYNCPROC __glewDeleteSync = NULL;
866 PFNGLFENCESYNCPROC __glewFenceSync = NULL;
867 PFNGLGETINTEGER64VPROC __glewGetInteger64v = NULL;
868 PFNGLGETSYNCIVPROC __glewGetSynciv = NULL;
869 PFNGLISSYNCPROC __glewIsSync = NULL;
870 PFNGLWAITSYNCPROC __glewWaitSync = NULL;
872 PFNGLPATCHPARAMETERFVPROC __glewPatchParameterfv = NULL;
873 PFNGLPATCHPARAMETERIPROC __glewPatchParameteri = NULL;
875 PFNGLTEXBUFFERARBPROC __glewTexBufferARB = NULL;
877 PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB = NULL;
878 PFNGLCOMPRESSEDTEXIMAGE2DARBPROC __glewCompressedTexImage2DARB = NULL;
879 PFNGLCOMPRESSEDTEXIMAGE3DARBPROC __glewCompressedTexImage3DARB = NULL;
880 PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC __glewCompressedTexSubImage1DARB = NULL;
881 PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __glewCompressedTexSubImage2DARB = NULL;
882 PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB = NULL;
883 PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB = NULL;
885 PFNGLGETMULTISAMPLEFVPROC __glewGetMultisamplefv = NULL;
886 PFNGLSAMPLEMASKIPROC __glewSampleMaski = NULL;
887 PFNGLTEXIMAGE2DMULTISAMPLEPROC __glewTexImage2DMultisample = NULL;
888 PFNGLTEXIMAGE3DMULTISAMPLEPROC __glewTexImage3DMultisample = NULL;
890 PFNGLGETQUERYOBJECTI64VPROC __glewGetQueryObjecti64v = NULL;
891 PFNGLGETQUERYOBJECTUI64VPROC __glewGetQueryObjectui64v = NULL;
892 PFNGLQUERYCOUNTERPROC __glewQueryCounter = NULL;
894 PFNGLBINDTRANSFORMFEEDBACKPROC __glewBindTransformFeedback = NULL;
895 PFNGLDELETETRANSFORMFEEDBACKSPROC __glewDeleteTransformFeedbacks = NULL;
896 PFNGLDRAWTRANSFORMFEEDBACKPROC __glewDrawTransformFeedback = NULL;
897 PFNGLGENTRANSFORMFEEDBACKSPROC __glewGenTransformFeedbacks = NULL;
898 PFNGLISTRANSFORMFEEDBACKPROC __glewIsTransformFeedback = NULL;
899 PFNGLPAUSETRANSFORMFEEDBACKPROC __glewPauseTransformFeedback = NULL;
900 PFNGLRESUMETRANSFORMFEEDBACKPROC __glewResumeTransformFeedback = NULL;
902 PFNGLBEGINQUERYINDEXEDPROC __glewBeginQueryIndexed = NULL;
903 PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC __glewDrawTransformFeedbackStream = NULL;
904 PFNGLENDQUERYINDEXEDPROC __glewEndQueryIndexed = NULL;
905 PFNGLGETQUERYINDEXEDIVPROC __glewGetQueryIndexediv = NULL;
907 PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB = NULL;
908 PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB = NULL;
909 PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB = NULL;
910 PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB = NULL;
912 PFNGLBINDBUFFERBASEPROC __glewBindBufferBase = NULL;
913 PFNGLBINDBUFFERRANGEPROC __glewBindBufferRange = NULL;
914 PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC __glewGetActiveUniformBlockName = NULL;
915 PFNGLGETACTIVEUNIFORMBLOCKIVPROC __glewGetActiveUniformBlockiv = NULL;
916 PFNGLGETACTIVEUNIFORMNAMEPROC __glewGetActiveUniformName = NULL;
917 PFNGLGETACTIVEUNIFORMSIVPROC __glewGetActiveUniformsiv = NULL;
918 PFNGLGETINTEGERI_VPROC __glewGetIntegeri_v = NULL;
919 PFNGLGETUNIFORMBLOCKINDEXPROC __glewGetUniformBlockIndex = NULL;
920 PFNGLGETUNIFORMINDICESPROC __glewGetUniformIndices = NULL;
921 PFNGLUNIFORMBLOCKBINDINGPROC __glewUniformBlockBinding = NULL;
923 PFNGLBINDVERTEXARRAYPROC __glewBindVertexArray = NULL;
924 PFNGLDELETEVERTEXARRAYSPROC __glewDeleteVertexArrays = NULL;
925 PFNGLGENVERTEXARRAYSPROC __glewGenVertexArrays = NULL;
926 PFNGLISVERTEXARRAYPROC __glewIsVertexArray = NULL;
928 PFNGLVERTEXBLENDARBPROC __glewVertexBlendARB = NULL;
929 PFNGLWEIGHTPOINTERARBPROC __glewWeightPointerARB = NULL;
930 PFNGLWEIGHTBVARBPROC __glewWeightbvARB = NULL;
931 PFNGLWEIGHTDVARBPROC __glewWeightdvARB = NULL;
932 PFNGLWEIGHTFVARBPROC __glewWeightfvARB = NULL;
933 PFNGLWEIGHTIVARBPROC __glewWeightivARB = NULL;
934 PFNGLWEIGHTSVARBPROC __glewWeightsvARB = NULL;
935 PFNGLWEIGHTUBVARBPROC __glewWeightubvARB = NULL;
936 PFNGLWEIGHTUIVARBPROC __glewWeightuivARB = NULL;
937 PFNGLWEIGHTUSVARBPROC __glewWeightusvARB = NULL;
939 PFNGLBINDBUFFERARBPROC __glewBindBufferARB = NULL;
940 PFNGLBUFFERDATAARBPROC __glewBufferDataARB = NULL;
941 PFNGLBUFFERSUBDATAARBPROC __glewBufferSubDataARB = NULL;
942 PFNGLDELETEBUFFERSARBPROC __glewDeleteBuffersARB = NULL;
943 PFNGLGENBUFFERSARBPROC __glewGenBuffersARB = NULL;
944 PFNGLGETBUFFERPARAMETERIVARBPROC __glewGetBufferParameterivARB = NULL;
945 PFNGLGETBUFFERPOINTERVARBPROC __glewGetBufferPointervARB = NULL;
946 PFNGLGETBUFFERSUBDATAARBPROC __glewGetBufferSubDataARB = NULL;
947 PFNGLISBUFFERARBPROC __glewIsBufferARB = NULL;
948 PFNGLMAPBUFFERARBPROC __glewMapBufferARB = NULL;
949 PFNGLUNMAPBUFFERARBPROC __glewUnmapBufferARB = NULL;
951 PFNGLBINDPROGRAMARBPROC __glewBindProgramARB = NULL;
952 PFNGLDELETEPROGRAMSARBPROC __glewDeleteProgramsARB = NULL;
953 PFNGLDISABLEVERTEXATTRIBARRAYARBPROC __glewDisableVertexAttribArrayARB = NULL;
954 PFNGLENABLEVERTEXATTRIBARRAYARBPROC __glewEnableVertexAttribArrayARB = NULL;
955 PFNGLGENPROGRAMSARBPROC __glewGenProgramsARB = NULL;
956 PFNGLGETPROGRAMENVPARAMETERDVARBPROC __glewGetProgramEnvParameterdvARB = NULL;
957 PFNGLGETPROGRAMENVPARAMETERFVARBPROC __glewGetProgramEnvParameterfvARB = NULL;
958 PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC __glewGetProgramLocalParameterdvARB = NULL;
959 PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC __glewGetProgramLocalParameterfvARB = NULL;
960 PFNGLGETPROGRAMSTRINGARBPROC __glewGetProgramStringARB = NULL;
961 PFNGLGETPROGRAMIVARBPROC __glewGetProgramivARB = NULL;
962 PFNGLGETVERTEXATTRIBPOINTERVARBPROC __glewGetVertexAttribPointervARB = NULL;
963 PFNGLGETVERTEXATTRIBDVARBPROC __glewGetVertexAttribdvARB = NULL;
964 PFNGLGETVERTEXATTRIBFVARBPROC __glewGetVertexAttribfvARB = NULL;
965 PFNGLGETVERTEXATTRIBIVARBPROC __glewGetVertexAttribivARB = NULL;
966 PFNGLISPROGRAMARBPROC __glewIsProgramARB = NULL;
967 PFNGLPROGRAMENVPARAMETER4DARBPROC __glewProgramEnvParameter4dARB = NULL;
968 PFNGLPROGRAMENVPARAMETER4DVARBPROC __glewProgramEnvParameter4dvARB = NULL;
969 PFNGLPROGRAMENVPARAMETER4FARBPROC __glewProgramEnvParameter4fARB = NULL;
970 PFNGLPROGRAMENVPARAMETER4FVARBPROC __glewProgramEnvParameter4fvARB = NULL;
971 PFNGLPROGRAMLOCALPARAMETER4DARBPROC __glewProgramLocalParameter4dARB = NULL;
972 PFNGLPROGRAMLOCALPARAMETER4DVARBPROC __glewProgramLocalParameter4dvARB = NULL;
973 PFNGLPROGRAMLOCALPARAMETER4FARBPROC __glewProgramLocalParameter4fARB = NULL;
974 PFNGLPROGRAMLOCALPARAMETER4FVARBPROC __glewProgramLocalParameter4fvARB = NULL;
975 PFNGLPROGRAMSTRINGARBPROC __glewProgramStringARB = NULL;
976 PFNGLVERTEXATTRIB1DARBPROC __glewVertexAttrib1dARB = NULL;
977 PFNGLVERTEXATTRIB1DVARBPROC __glewVertexAttrib1dvARB = NULL;
978 PFNGLVERTEXATTRIB1FARBPROC __glewVertexAttrib1fARB = NULL;
979 PFNGLVERTEXATTRIB1FVARBPROC __glewVertexAttrib1fvARB = NULL;
980 PFNGLVERTEXATTRIB1SARBPROC __glewVertexAttrib1sARB = NULL;
981 PFNGLVERTEXATTRIB1SVARBPROC __glewVertexAttrib1svARB = NULL;
982 PFNGLVERTEXATTRIB2DARBPROC __glewVertexAttrib2dARB = NULL;
983 PFNGLVERTEXATTRIB2DVARBPROC __glewVertexAttrib2dvARB = NULL;
984 PFNGLVERTEXATTRIB2FARBPROC __glewVertexAttrib2fARB = NULL;
985 PFNGLVERTEXATTRIB2FVARBPROC __glewVertexAttrib2fvARB = NULL;
986 PFNGLVERTEXATTRIB2SARBPROC __glewVertexAttrib2sARB = NULL;
987 PFNGLVERTEXATTRIB2SVARBPROC __glewVertexAttrib2svARB = NULL;
988 PFNGLVERTEXATTRIB3DARBPROC __glewVertexAttrib3dARB = NULL;
989 PFNGLVERTEXATTRIB3DVARBPROC __glewVertexAttrib3dvARB = NULL;
990 PFNGLVERTEXATTRIB3FARBPROC __glewVertexAttrib3fARB = NULL;
991 PFNGLVERTEXATTRIB3FVARBPROC __glewVertexAttrib3fvARB = NULL;
992 PFNGLVERTEXATTRIB3SARBPROC __glewVertexAttrib3sARB = NULL;
993 PFNGLVERTEXATTRIB3SVARBPROC __glewVertexAttrib3svARB = NULL;
994 PFNGLVERTEXATTRIB4NBVARBPROC __glewVertexAttrib4NbvARB = NULL;
995 PFNGLVERTEXATTRIB4NIVARBPROC __glewVertexAttrib4NivARB = NULL;
996 PFNGLVERTEXATTRIB4NSVARBPROC __glewVertexAttrib4NsvARB = NULL;
997 PFNGLVERTEXATTRIB4NUBARBPROC __glewVertexAttrib4NubARB = NULL;
998 PFNGLVERTEXATTRIB4NUBVARBPROC __glewVertexAttrib4NubvARB = NULL;
999 PFNGLVERTEXATTRIB4NUIVARBPROC __glewVertexAttrib4NuivARB = NULL;
1000 PFNGLVERTEXATTRIB4NUSVARBPROC __glewVertexAttrib4NusvARB = NULL;
1001 PFNGLVERTEXATTRIB4BVARBPROC __glewVertexAttrib4bvARB = NULL;
1002 PFNGLVERTEXATTRIB4DARBPROC __glewVertexAttrib4dARB = NULL;
1003 PFNGLVERTEXATTRIB4DVARBPROC __glewVertexAttrib4dvARB = NULL;
1004 PFNGLVERTEXATTRIB4FARBPROC __glewVertexAttrib4fARB = NULL;
1005 PFNGLVERTEXATTRIB4FVARBPROC __glewVertexAttrib4fvARB = NULL;
1006 PFNGLVERTEXATTRIB4IVARBPROC __glewVertexAttrib4ivARB = NULL;
1007 PFNGLVERTEXATTRIB4SARBPROC __glewVertexAttrib4sARB = NULL;
1008 PFNGLVERTEXATTRIB4SVARBPROC __glewVertexAttrib4svARB = NULL;
1009 PFNGLVERTEXATTRIB4UBVARBPROC __glewVertexAttrib4ubvARB = NULL;
1010 PFNGLVERTEXATTRIB4UIVARBPROC __glewVertexAttrib4uivARB = NULL;
1011 PFNGLVERTEXATTRIB4USVARBPROC __glewVertexAttrib4usvARB = NULL;
1012 PFNGLVERTEXATTRIBPOINTERARBPROC __glewVertexAttribPointerARB = NULL;
1014 PFNGLBINDATTRIBLOCATIONARBPROC __glewBindAttribLocationARB = NULL;
1015 PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB = NULL;
1016 PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB = NULL;
1018 PFNGLCOLORP3UIPROC __glewColorP3ui = NULL;
1019 PFNGLCOLORP3UIVPROC __glewColorP3uiv = NULL;
1020 PFNGLCOLORP4UIPROC __glewColorP4ui = NULL;
1021 PFNGLCOLORP4UIVPROC __glewColorP4uiv = NULL;
1022 PFNGLMULTITEXCOORDP1UIPROC __glewMultiTexCoordP1ui = NULL;
1023 PFNGLMULTITEXCOORDP1UIVPROC __glewMultiTexCoordP1uiv = NULL;
1024 PFNGLMULTITEXCOORDP2UIPROC __glewMultiTexCoordP2ui = NULL;
1025 PFNGLMULTITEXCOORDP2UIVPROC __glewMultiTexCoordP2uiv = NULL;
1026 PFNGLMULTITEXCOORDP3UIPROC __glewMultiTexCoordP3ui = NULL;
1027 PFNGLMULTITEXCOORDP3UIVPROC __glewMultiTexCoordP3uiv = NULL;
1028 PFNGLMULTITEXCOORDP4UIPROC __glewMultiTexCoordP4ui = NULL;
1029 PFNGLMULTITEXCOORDP4UIVPROC __glewMultiTexCoordP4uiv = NULL;
1030 PFNGLNORMALP3UIPROC __glewNormalP3ui = NULL;
1031 PFNGLNORMALP3UIVPROC __glewNormalP3uiv = NULL;
1032 PFNGLSECONDARYCOLORP3UIPROC __glewSecondaryColorP3ui = NULL;
1033 PFNGLSECONDARYCOLORP3UIVPROC __glewSecondaryColorP3uiv = NULL;
1034 PFNGLTEXCOORDP1UIPROC __glewTexCoordP1ui = NULL;
1035 PFNGLTEXCOORDP1UIVPROC __glewTexCoordP1uiv = NULL;
1036 PFNGLTEXCOORDP2UIPROC __glewTexCoordP2ui = NULL;
1037 PFNGLTEXCOORDP2UIVPROC __glewTexCoordP2uiv = NULL;
1038 PFNGLTEXCOORDP3UIPROC __glewTexCoordP3ui = NULL;
1039 PFNGLTEXCOORDP3UIVPROC __glewTexCoordP3uiv = NULL;
1040 PFNGLTEXCOORDP4UIPROC __glewTexCoordP4ui = NULL;
1041 PFNGLTEXCOORDP4UIVPROC __glewTexCoordP4uiv = NULL;
1042 PFNGLVERTEXATTRIBP1UIPROC __glewVertexAttribP1ui = NULL;
1043 PFNGLVERTEXATTRIBP1UIVPROC __glewVertexAttribP1uiv = NULL;
1044 PFNGLVERTEXATTRIBP2UIPROC __glewVertexAttribP2ui = NULL;
1045 PFNGLVERTEXATTRIBP2UIVPROC __glewVertexAttribP2uiv = NULL;
1046 PFNGLVERTEXATTRIBP3UIPROC __glewVertexAttribP3ui = NULL;
1047 PFNGLVERTEXATTRIBP3UIVPROC __glewVertexAttribP3uiv = NULL;
1048 PFNGLVERTEXATTRIBP4UIPROC __glewVertexAttribP4ui = NULL;
1049 PFNGLVERTEXATTRIBP4UIVPROC __glewVertexAttribP4uiv = NULL;
1050 PFNGLVERTEXP2UIPROC __glewVertexP2ui = NULL;
1051 PFNGLVERTEXP2UIVPROC __glewVertexP2uiv = NULL;
1052 PFNGLVERTEXP3UIPROC __glewVertexP3ui = NULL;
1053 PFNGLVERTEXP3UIVPROC __glewVertexP3uiv = NULL;
1054 PFNGLVERTEXP4UIPROC __glewVertexP4ui = NULL;
1055 PFNGLVERTEXP4UIVPROC __glewVertexP4uiv = NULL;
1057 PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB = NULL;
1058 PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB = NULL;
1059 PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB = NULL;
1060 PFNGLWINDOWPOS2FVARBPROC __glewWindowPos2fvARB = NULL;
1061 PFNGLWINDOWPOS2IARBPROC __glewWindowPos2iARB = NULL;
1062 PFNGLWINDOWPOS2IVARBPROC __glewWindowPos2ivARB = NULL;
1063 PFNGLWINDOWPOS2SARBPROC __glewWindowPos2sARB = NULL;
1064 PFNGLWINDOWPOS2SVARBPROC __glewWindowPos2svARB = NULL;
1065 PFNGLWINDOWPOS3DARBPROC __glewWindowPos3dARB = NULL;
1066 PFNGLWINDOWPOS3DVARBPROC __glewWindowPos3dvARB = NULL;
1067 PFNGLWINDOWPOS3FARBPROC __glewWindowPos3fARB = NULL;
1068 PFNGLWINDOWPOS3FVARBPROC __glewWindowPos3fvARB = NULL;
1069 PFNGLWINDOWPOS3IARBPROC __glewWindowPos3iARB = NULL;
1070 PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB = NULL;
1071 PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB = NULL;
1072 PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB = NULL;
1074 PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI = NULL;
1076 PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI = NULL;
1077 PFNGLDRAWRANGEELEMENTARRAYATIPROC __glewDrawRangeElementArrayATI = NULL;
1078 PFNGLELEMENTPOINTERATIPROC __glewElementPointerATI = NULL;
1080 PFNGLGETTEXBUMPPARAMETERFVATIPROC __glewGetTexBumpParameterfvATI = NULL;
1081 PFNGLGETTEXBUMPPARAMETERIVATIPROC __glewGetTexBumpParameterivATI = NULL;
1082 PFNGLTEXBUMPPARAMETERFVATIPROC __glewTexBumpParameterfvATI = NULL;
1083 PFNGLTEXBUMPPARAMETERIVATIPROC __glewTexBumpParameterivATI = NULL;
1085 PFNGLALPHAFRAGMENTOP1ATIPROC __glewAlphaFragmentOp1ATI = NULL;
1086 PFNGLALPHAFRAGMENTOP2ATIPROC __glewAlphaFragmentOp2ATI = NULL;
1087 PFNGLALPHAFRAGMENTOP3ATIPROC __glewAlphaFragmentOp3ATI = NULL;
1088 PFNGLBEGINFRAGMENTSHADERATIPROC __glewBeginFragmentShaderATI = NULL;
1089 PFNGLBINDFRAGMENTSHADERATIPROC __glewBindFragmentShaderATI = NULL;
1090 PFNGLCOLORFRAGMENTOP1ATIPROC __glewColorFragmentOp1ATI = NULL;
1091 PFNGLCOLORFRAGMENTOP2ATIPROC __glewColorFragmentOp2ATI = NULL;
1092 PFNGLCOLORFRAGMENTOP3ATIPROC __glewColorFragmentOp3ATI = NULL;
1093 PFNGLDELETEFRAGMENTSHADERATIPROC __glewDeleteFragmentShaderATI = NULL;
1094 PFNGLENDFRAGMENTSHADERATIPROC __glewEndFragmentShaderATI = NULL;
1095 PFNGLGENFRAGMENTSHADERSATIPROC __glewGenFragmentShadersATI = NULL;
1096 PFNGLPASSTEXCOORDATIPROC __glewPassTexCoordATI = NULL;
1097 PFNGLSAMPLEMAPATIPROC __glewSampleMapATI = NULL;
1098 PFNGLSETFRAGMENTSHADERCONSTANTATIPROC __glewSetFragmentShaderConstantATI = NULL;
1100 PFNGLMAPOBJECTBUFFERATIPROC __glewMapObjectBufferATI = NULL;
1101 PFNGLUNMAPOBJECTBUFFERATIPROC __glewUnmapObjectBufferATI = NULL;
1103 PFNGLPNTRIANGLESFATIPROC __glPNTrianglewesfATI = NULL;
1104 PFNGLPNTRIANGLESIATIPROC __glPNTrianglewesiATI = NULL;
1106 PFNGLSTENCILFUNCSEPARATEATIPROC __glewStencilFuncSeparateATI = NULL;
1107 PFNGLSTENCILOPSEPARATEATIPROC __glewStencilOpSeparateATI = NULL;
1109 PFNGLARRAYOBJECTATIPROC __glewArrayObjectATI = NULL;
1110 PFNGLFREEOBJECTBUFFERATIPROC __glewFreeObjectBufferATI = NULL;
1111 PFNGLGETARRAYOBJECTFVATIPROC __glewGetArrayObjectfvATI = NULL;
1112 PFNGLGETARRAYOBJECTIVATIPROC __glewGetArrayObjectivATI = NULL;
1113 PFNGLGETOBJECTBUFFERFVATIPROC __glewGetObjectBufferfvATI = NULL;
1114 PFNGLGETOBJECTBUFFERIVATIPROC __glewGetObjectBufferivATI = NULL;
1115 PFNGLGETVARIANTARRAYOBJECTFVATIPROC __glewGetVariantArrayObjectfvATI = NULL;
1116 PFNGLGETVARIANTARRAYOBJECTIVATIPROC __glewGetVariantArrayObjectivATI = NULL;
1117 PFNGLISOBJECTBUFFERATIPROC __glewIsObjectBufferATI = NULL;
1118 PFNGLNEWOBJECTBUFFERATIPROC __glewNewObjectBufferATI = NULL;
1119 PFNGLUPDATEOBJECTBUFFERATIPROC __glewUpdateObjectBufferATI = NULL;
1120 PFNGLVARIANTARRAYOBJECTATIPROC __glewVariantArrayObjectATI = NULL;
1122 PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC __glewGetVertexAttribArrayObjectfvATI = NULL;
1123 PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC __glewGetVertexAttribArrayObjectivATI = NULL;
1124 PFNGLVERTEXATTRIBARRAYOBJECTATIPROC __glewVertexAttribArrayObjectATI = NULL;
1126 PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC __glewClientActiveVertexStreamATI = NULL;
1127 PFNGLNORMALSTREAM3BATIPROC __glewNormalStream3bATI = NULL;
1128 PFNGLNORMALSTREAM3BVATIPROC __glewNormalStream3bvATI = NULL;
1129 PFNGLNORMALSTREAM3DATIPROC __glewNormalStream3dATI = NULL;
1130 PFNGLNORMALSTREAM3DVATIPROC __glewNormalStream3dvATI = NULL;
1131 PFNGLNORMALSTREAM3FATIPROC __glewNormalStream3fATI = NULL;
1132 PFNGLNORMALSTREAM3FVATIPROC __glewNormalStream3fvATI = NULL;
1133 PFNGLNORMALSTREAM3IATIPROC __glewNormalStream3iATI = NULL;
1134 PFNGLNORMALSTREAM3IVATIPROC __glewNormalStream3ivATI = NULL;
1135 PFNGLNORMALSTREAM3SATIPROC __glewNormalStream3sATI = NULL;
1136 PFNGLNORMALSTREAM3SVATIPROC __glewNormalStream3svATI = NULL;
1137 PFNGLVERTEXBLENDENVFATIPROC __glewVertexBlendEnvfATI = NULL;
1138 PFNGLVERTEXBLENDENVIATIPROC __glewVertexBlendEnviATI = NULL;
1139 PFNGLVERTEXSTREAM2DATIPROC __glewVertexStream2dATI = NULL;
1140 PFNGLVERTEXSTREAM2DVATIPROC __glewVertexStream2dvATI = NULL;
1141 PFNGLVERTEXSTREAM2FATIPROC __glewVertexStream2fATI = NULL;
1142 PFNGLVERTEXSTREAM2FVATIPROC __glewVertexStream2fvATI = NULL;
1143 PFNGLVERTEXSTREAM2IATIPROC __glewVertexStream2iATI = NULL;
1144 PFNGLVERTEXSTREAM2IVATIPROC __glewVertexStream2ivATI = NULL;
1145 PFNGLVERTEXSTREAM2SATIPROC __glewVertexStream2sATI = NULL;
1146 PFNGLVERTEXSTREAM2SVATIPROC __glewVertexStream2svATI = NULL;
1147 PFNGLVERTEXSTREAM3DATIPROC __glewVertexStream3dATI = NULL;
1148 PFNGLVERTEXSTREAM3DVATIPROC __glewVertexStream3dvATI = NULL;
1149 PFNGLVERTEXSTREAM3FATIPROC __glewVertexStream3fATI = NULL;
1150 PFNGLVERTEXSTREAM3FVATIPROC __glewVertexStream3fvATI = NULL;
1151 PFNGLVERTEXSTREAM3IATIPROC __glewVertexStream3iATI = NULL;
1152 PFNGLVERTEXSTREAM3IVATIPROC __glewVertexStream3ivATI = NULL;
1153 PFNGLVERTEXSTREAM3SATIPROC __glewVertexStream3sATI = NULL;
1154 PFNGLVERTEXSTREAM3SVATIPROC __glewVertexStream3svATI = NULL;
1155 PFNGLVERTEXSTREAM4DATIPROC __glewVertexStream4dATI = NULL;
1156 PFNGLVERTEXSTREAM4DVATIPROC __glewVertexStream4dvATI = NULL;
1157 PFNGLVERTEXSTREAM4FATIPROC __glewVertexStream4fATI = NULL;
1158 PFNGLVERTEXSTREAM4FVATIPROC __glewVertexStream4fvATI = NULL;
1159 PFNGLVERTEXSTREAM4IATIPROC __glewVertexStream4iATI = NULL;
1160 PFNGLVERTEXSTREAM4IVATIPROC __glewVertexStream4ivATI = NULL;
1161 PFNGLVERTEXSTREAM4SATIPROC __glewVertexStream4sATI = NULL;
1162 PFNGLVERTEXSTREAM4SVATIPROC __glewVertexStream4svATI = NULL;
1164 PFNGLGETUNIFORMBUFFERSIZEEXTPROC __glewGetUniformBufferSizeEXT = NULL;
1165 PFNGLGETUNIFORMOFFSETEXTPROC __glewGetUniformOffsetEXT = NULL;
1166 PFNGLUNIFORMBUFFEREXTPROC __glewUniformBufferEXT = NULL;
1168 PFNGLBLENDCOLOREXTPROC __glewBlendColorEXT = NULL;
1170 PFNGLBLENDEQUATIONSEPARATEEXTPROC __glewBlendEquationSeparateEXT = NULL;
1172 PFNGLBLENDFUNCSEPARATEEXTPROC __glewBlendFuncSeparateEXT = NULL;
1174 PFNGLBLENDEQUATIONEXTPROC __glewBlendEquationEXT = NULL;
1176 PFNGLCOLORSUBTABLEEXTPROC __glewColorSubTableEXT = NULL;
1177 PFNGLCOPYCOLORSUBTABLEEXTPROC __glewCopyColorSubTableEXT = NULL;
1179 PFNGLLOCKARRAYSEXTPROC __glewLockArraysEXT = NULL;
1180 PFNGLUNLOCKARRAYSEXTPROC __glewUnlockArraysEXT = NULL;
1182 PFNGLCONVOLUTIONFILTER1DEXTPROC __glewConvolutionFilter1DEXT = NULL;
1183 PFNGLCONVOLUTIONFILTER2DEXTPROC __glewConvolutionFilter2DEXT = NULL;
1184 PFNGLCONVOLUTIONPARAMETERFEXTPROC __glewConvolutionParameterfEXT = NULL;
1185 PFNGLCONVOLUTIONPARAMETERFVEXTPROC __glewConvolutionParameterfvEXT = NULL;
1186 PFNGLCONVOLUTIONPARAMETERIEXTPROC __glewConvolutionParameteriEXT = NULL;
1187 PFNGLCONVOLUTIONPARAMETERIVEXTPROC __glewConvolutionParameterivEXT = NULL;
1188 PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC __glewCopyConvolutionFilter1DEXT = NULL;
1189 PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC __glewCopyConvolutionFilter2DEXT = NULL;
1190 PFNGLGETCONVOLUTIONFILTEREXTPROC __glewGetConvolutionFilterEXT = NULL;
1191 PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC __glewGetConvolutionParameterfvEXT = NULL;
1192 PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC __glewGetConvolutionParameterivEXT = NULL;
1193 PFNGLGETSEPARABLEFILTEREXTPROC __glewGetSeparableFilterEXT = NULL;
1194 PFNGLSEPARABLEFILTER2DEXTPROC __glewSeparableFilter2DEXT = NULL;
1196 PFNGLBINORMALPOINTEREXTPROC __glewBinormalPointerEXT = NULL;
1197 PFNGLTANGENTPOINTEREXTPROC __glewTangentPointerEXT = NULL;
1199 PFNGLCOPYTEXIMAGE1DEXTPROC __glewCopyTexImage1DEXT = NULL;
1200 PFNGLCOPYTEXIMAGE2DEXTPROC __glewCopyTexImage2DEXT = NULL;
1201 PFNGLCOPYTEXSUBIMAGE1DEXTPROC __glewCopyTexSubImage1DEXT = NULL;
1202 PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT = NULL;
1203 PFNGLCOPYTEXSUBIMAGE3DEXTPROC __glewCopyTexSubImage3DEXT = NULL;
1205 PFNGLCULLPARAMETERDVEXTPROC __glewCullParameterdvEXT = NULL;
1206 PFNGLCULLPARAMETERFVEXTPROC __glewCullParameterfvEXT = NULL;
1208 PFNGLDEPTHBOUNDSEXTPROC __glewDepthBoundsEXT = NULL;
1210 PFNGLBINDMULTITEXTUREEXTPROC __glewBindMultiTextureEXT = NULL;
1211 PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC __glewCheckNamedFramebufferStatusEXT = NULL;
1212 PFNGLCLIENTATTRIBDEFAULTEXTPROC __glewClientAttribDefaultEXT = NULL;
1213 PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC __glewCompressedMultiTexImage1DEXT = NULL;
1214 PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC __glewCompressedMultiTexImage2DEXT = NULL;
1215 PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC __glewCompressedMultiTexImage3DEXT = NULL;
1216 PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC __glewCompressedMultiTexSubImage1DEXT = NULL;
1217 PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC __glewCompressedMultiTexSubImage2DEXT = NULL;
1218 PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC __glewCompressedMultiTexSubImage3DEXT = NULL;
1219 PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC __glewCompressedTextureImage1DEXT = NULL;
1220 PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC __glewCompressedTextureImage2DEXT = NULL;
1221 PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC __glewCompressedTextureImage3DEXT = NULL;
1222 PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC __glewCompressedTextureSubImage1DEXT = NULL;
1223 PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC __glewCompressedTextureSubImage2DEXT = NULL;
1224 PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC __glewCompressedTextureSubImage3DEXT = NULL;
1225 PFNGLCOPYMULTITEXIMAGE1DEXTPROC __glewCopyMultiTexImage1DEXT = NULL;
1226 PFNGLCOPYMULTITEXIMAGE2DEXTPROC __glewCopyMultiTexImage2DEXT = NULL;
1227 PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC __glewCopyMultiTexSubImage1DEXT = NULL;
1228 PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC __glewCopyMultiTexSubImage2DEXT = NULL;
1229 PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC __glewCopyMultiTexSubImage3DEXT = NULL;
1230 PFNGLCOPYTEXTUREIMAGE1DEXTPROC __glewCopyTextureImage1DEXT = NULL;
1231 PFNGLCOPYTEXTUREIMAGE2DEXTPROC __glewCopyTextureImage2DEXT = NULL;
1232 PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC __glewCopyTextureSubImage1DEXT = NULL;
1233 PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC __glewCopyTextureSubImage2DEXT = NULL;
1234 PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC __glewCopyTextureSubImage3DEXT = NULL;
1235 PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC __glewDisableClientStateIndexedEXT = NULL;
1236 PFNGLDISABLECLIENTSTATEIEXTPROC __glewDisableClientStateiEXT = NULL;
1237 PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC __glewDisableVertexArrayAttribEXT = NULL;
1238 PFNGLDISABLEVERTEXARRAYEXTPROC __glewDisableVertexArrayEXT = NULL;
1239 PFNGLENABLECLIENTSTATEINDEXEDEXTPROC __glewEnableClientStateIndexedEXT = NULL;
1240 PFNGLENABLECLIENTSTATEIEXTPROC __glewEnableClientStateiEXT = NULL;
1241 PFNGLENABLEVERTEXARRAYATTRIBEXTPROC __glewEnableVertexArrayAttribEXT = NULL;
1242 PFNGLENABLEVERTEXARRAYEXTPROC __glewEnableVertexArrayEXT = NULL;
1243 PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC __glewFlushMappedNamedBufferRangeEXT = NULL;
1244 PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC __glewFramebufferDrawBufferEXT = NULL;
1245 PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC __glewFramebufferDrawBuffersEXT = NULL;
1246 PFNGLFRAMEBUFFERREADBUFFEREXTPROC __glewFramebufferReadBufferEXT = NULL;
1247 PFNGLGENERATEMULTITEXMIPMAPEXTPROC __glewGenerateMultiTexMipmapEXT = NULL;
1248 PFNGLGENERATETEXTUREMIPMAPEXTPROC __glewGenerateTextureMipmapEXT = NULL;
1249 PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC __glewGetCompressedMultiTexImageEXT = NULL;
1250 PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC __glewGetCompressedTextureImageEXT = NULL;
1251 PFNGLGETDOUBLEINDEXEDVEXTPROC __glewGetDoubleIndexedvEXT = NULL;
1252 PFNGLGETDOUBLEI_VEXTPROC __glewGetDoublei_vEXT = NULL;
1253 PFNGLGETFLOATINDEXEDVEXTPROC __glewGetFloatIndexedvEXT = NULL;
1254 PFNGLGETFLOATI_VEXTPROC __glewGetFloati_vEXT = NULL;
1255 PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC __glewGetFramebufferParameterivEXT = NULL;
1256 PFNGLGETMULTITEXENVFVEXTPROC __glewGetMultiTexEnvfvEXT = NULL;
1257 PFNGLGETMULTITEXENVIVEXTPROC __glewGetMultiTexEnvivEXT = NULL;
1258 PFNGLGETMULTITEXGENDVEXTPROC __glewGetMultiTexGendvEXT = NULL;
1259 PFNGLGETMULTITEXGENFVEXTPROC __glewGetMultiTexGenfvEXT = NULL;
1260 PFNGLGETMULTITEXGENIVEXTPROC __glewGetMultiTexGenivEXT = NULL;
1261 PFNGLGETMULTITEXIMAGEEXTPROC __glewGetMultiTexImageEXT = NULL;
1262 PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC __glewGetMultiTexLevelParameterfvEXT = NULL;
1263 PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC __glewGetMultiTexLevelParameterivEXT = NULL;
1264 PFNGLGETMULTITEXPARAMETERIIVEXTPROC __glewGetMultiTexParameterIivEXT = NULL;
1265 PFNGLGETMULTITEXPARAMETERIUIVEXTPROC __glewGetMultiTexParameterIuivEXT = NULL;
1266 PFNGLGETMULTITEXPARAMETERFVEXTPROC __glewGetMultiTexParameterfvEXT = NULL;
1267 PFNGLGETMULTITEXPARAMETERIVEXTPROC __glewGetMultiTexParameterivEXT = NULL;
1268 PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC __glewGetNamedBufferParameterivEXT = NULL;
1269 PFNGLGETNAMEDBUFFERPOINTERVEXTPROC __glewGetNamedBufferPointervEXT = NULL;
1270 PFNGLGETNAMEDBUFFERSUBDATAEXTPROC __glewGetNamedBufferSubDataEXT = NULL;
1271 PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetNamedFramebufferAttachmentParameterivEXT = NULL;
1272 PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC __glewGetNamedProgramLocalParameterIivEXT = NULL;
1273 PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC __glewGetNamedProgramLocalParameterIuivEXT = NULL;
1274 PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC __glewGetNamedProgramLocalParameterdvEXT = NULL;
1275 PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC __glewGetNamedProgramLocalParameterfvEXT = NULL;
1276 PFNGLGETNAMEDPROGRAMSTRINGEXTPROC __glewGetNamedProgramStringEXT = NULL;
1277 PFNGLGETNAMEDPROGRAMIVEXTPROC __glewGetNamedProgramivEXT = NULL;
1278 PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC __glewGetNamedRenderbufferParameterivEXT = NULL;
1279 PFNGLGETPOINTERINDEXEDVEXTPROC __glewGetPointerIndexedvEXT = NULL;
1280 PFNGLGETPOINTERI_VEXTPROC __glewGetPointeri_vEXT = NULL;
1281 PFNGLGETTEXTUREIMAGEEXTPROC __glewGetTextureImageEXT = NULL;
1282 PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC __glewGetTextureLevelParameterfvEXT = NULL;
1283 PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC __glewGetTextureLevelParameterivEXT = NULL;
1284 PFNGLGETTEXTUREPARAMETERIIVEXTPROC __glewGetTextureParameterIivEXT = NULL;
1285 PFNGLGETTEXTUREPARAMETERIUIVEXTPROC __glewGetTextureParameterIuivEXT = NULL;
1286 PFNGLGETTEXTUREPARAMETERFVEXTPROC __glewGetTextureParameterfvEXT = NULL;
1287 PFNGLGETTEXTUREPARAMETERIVEXTPROC __glewGetTextureParameterivEXT = NULL;
1288 PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC __glewGetVertexArrayIntegeri_vEXT = NULL;
1289 PFNGLGETVERTEXARRAYINTEGERVEXTPROC __glewGetVertexArrayIntegervEXT = NULL;
1290 PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC __glewGetVertexArrayPointeri_vEXT = NULL;
1291 PFNGLGETVERTEXARRAYPOINTERVEXTPROC __glewGetVertexArrayPointervEXT = NULL;
1292 PFNGLMAPNAMEDBUFFEREXTPROC __glewMapNamedBufferEXT = NULL;
1293 PFNGLMAPNAMEDBUFFERRANGEEXTPROC __glewMapNamedBufferRangeEXT = NULL;
1294 PFNGLMATRIXFRUSTUMEXTPROC __glewMatrixFrustumEXT = NULL;
1295 PFNGLMATRIXLOADIDENTITYEXTPROC __glewMatrixLoadIdentityEXT = NULL;
1296 PFNGLMATRIXLOADTRANSPOSEDEXTPROC __glewMatrixLoadTransposedEXT = NULL;
1297 PFNGLMATRIXLOADTRANSPOSEFEXTPROC __glewMatrixLoadTransposefEXT = NULL;
1298 PFNGLMATRIXLOADDEXTPROC __glewMatrixLoaddEXT = NULL;
1299 PFNGLMATRIXLOADFEXTPROC __glewMatrixLoadfEXT = NULL;
1300 PFNGLMATRIXMULTTRANSPOSEDEXTPROC __glewMatrixMultTransposedEXT = NULL;
1301 PFNGLMATRIXMULTTRANSPOSEFEXTPROC __glewMatrixMultTransposefEXT = NULL;
1302 PFNGLMATRIXMULTDEXTPROC __glewMatrixMultdEXT = NULL;
1303 PFNGLMATRIXMULTFEXTPROC __glewMatrixMultfEXT = NULL;
1304 PFNGLMATRIXORTHOEXTPROC __glewMatrixOrthoEXT = NULL;
1305 PFNGLMATRIXPOPEXTPROC __glewMatrixPopEXT = NULL;
1306 PFNGLMATRIXPUSHEXTPROC __glewMatrixPushEXT = NULL;
1307 PFNGLMATRIXROTATEDEXTPROC __glewMatrixRotatedEXT = NULL;
1308 PFNGLMATRIXROTATEFEXTPROC __glewMatrixRotatefEXT = NULL;
1309 PFNGLMATRIXSCALEDEXTPROC __glewMatrixScaledEXT = NULL;
1310 PFNGLMATRIXSCALEFEXTPROC __glewMatrixScalefEXT = NULL;
1311 PFNGLMATRIXTRANSLATEDEXTPROC __glewMatrixTranslatedEXT = NULL;
1312 PFNGLMATRIXTRANSLATEFEXTPROC __glewMatrixTranslatefEXT = NULL;
1313 PFNGLMULTITEXBUFFEREXTPROC __glewMultiTexBufferEXT = NULL;
1314 PFNGLMULTITEXCOORDPOINTEREXTPROC __glewMultiTexCoordPointerEXT = NULL;
1315 PFNGLMULTITEXENVFEXTPROC __glewMultiTexEnvfEXT = NULL;
1316 PFNGLMULTITEXENVFVEXTPROC __glewMultiTexEnvfvEXT = NULL;
1317 PFNGLMULTITEXENVIEXTPROC __glewMultiTexEnviEXT = NULL;
1318 PFNGLMULTITEXENVIVEXTPROC __glewMultiTexEnvivEXT = NULL;
1319 PFNGLMULTITEXGENDEXTPROC __glewMultiTexGendEXT = NULL;
1320 PFNGLMULTITEXGENDVEXTPROC __glewMultiTexGendvEXT = NULL;
1321 PFNGLMULTITEXGENFEXTPROC __glewMultiTexGenfEXT = NULL;
1322 PFNGLMULTITEXGENFVEXTPROC __glewMultiTexGenfvEXT = NULL;
1323 PFNGLMULTITEXGENIEXTPROC __glewMultiTexGeniEXT = NULL;
1324 PFNGLMULTITEXGENIVEXTPROC __glewMultiTexGenivEXT = NULL;
1325 PFNGLMULTITEXIMAGE1DEXTPROC __glewMultiTexImage1DEXT = NULL;
1326 PFNGLMULTITEXIMAGE2DEXTPROC __glewMultiTexImage2DEXT = NULL;
1327 PFNGLMULTITEXIMAGE3DEXTPROC __glewMultiTexImage3DEXT = NULL;
1328 PFNGLMULTITEXPARAMETERIIVEXTPROC __glewMultiTexParameterIivEXT = NULL;
1329 PFNGLMULTITEXPARAMETERIUIVEXTPROC __glewMultiTexParameterIuivEXT = NULL;
1330 PFNGLMULTITEXPARAMETERFEXTPROC __glewMultiTexParameterfEXT = NULL;
1331 PFNGLMULTITEXPARAMETERFVEXTPROC __glewMultiTexParameterfvEXT = NULL;
1332 PFNGLMULTITEXPARAMETERIEXTPROC __glewMultiTexParameteriEXT = NULL;
1333 PFNGLMULTITEXPARAMETERIVEXTPROC __glewMultiTexParameterivEXT = NULL;
1334 PFNGLMULTITEXRENDERBUFFEREXTPROC __glewMultiTexRenderbufferEXT = NULL;
1335 PFNGLMULTITEXSUBIMAGE1DEXTPROC __glewMultiTexSubImage1DEXT = NULL;
1336 PFNGLMULTITEXSUBIMAGE2DEXTPROC __glewMultiTexSubImage2DEXT = NULL;
1337 PFNGLMULTITEXSUBIMAGE3DEXTPROC __glewMultiTexSubImage3DEXT = NULL;
1338 PFNGLNAMEDBUFFERDATAEXTPROC __glewNamedBufferDataEXT = NULL;
1339 PFNGLNAMEDBUFFERSUBDATAEXTPROC __glewNamedBufferSubDataEXT = NULL;
1340 PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC __glewNamedCopyBufferSubDataEXT = NULL;
1341 PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC __glewNamedFramebufferRenderbufferEXT = NULL;
1342 PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC __glewNamedFramebufferTexture1DEXT = NULL;
1343 PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC __glewNamedFramebufferTexture2DEXT = NULL;
1344 PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC __glewNamedFramebufferTexture3DEXT = NULL;
1345 PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC __glewNamedFramebufferTextureEXT = NULL;
1346 PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC __glewNamedFramebufferTextureFaceEXT = NULL;
1347 PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC __glewNamedFramebufferTextureLayerEXT = NULL;
1348 PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC __glewNamedProgramLocalParameter4dEXT = NULL;
1349 PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC __glewNamedProgramLocalParameter4dvEXT = NULL;
1350 PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC __glewNamedProgramLocalParameter4fEXT = NULL;
1351 PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC __glewNamedProgramLocalParameter4fvEXT = NULL;
1352 PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC __glewNamedProgramLocalParameterI4iEXT = NULL;
1353 PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC __glewNamedProgramLocalParameterI4ivEXT = NULL;
1354 PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC __glewNamedProgramLocalParameterI4uiEXT = NULL;
1355 PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC __glewNamedProgramLocalParameterI4uivEXT = NULL;
1356 PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC __glewNamedProgramLocalParameters4fvEXT = NULL;
1357 PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC __glewNamedProgramLocalParametersI4ivEXT = NULL;
1358 PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC __glewNamedProgramLocalParametersI4uivEXT = NULL;
1359 PFNGLNAMEDPROGRAMSTRINGEXTPROC __glewNamedProgramStringEXT = NULL;
1360 PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC __glewNamedRenderbufferStorageEXT = NULL;
1361 PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC __glewNamedRenderbufferStorageMultisampleCoverageEXT = NULL;
1362 PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewNamedRenderbufferStorageMultisampleEXT = NULL;
1363 PFNGLPROGRAMUNIFORM1FEXTPROC __glewProgramUniform1fEXT = NULL;
1364 PFNGLPROGRAMUNIFORM1FVEXTPROC __glewProgramUniform1fvEXT = NULL;
1365 PFNGLPROGRAMUNIFORM1IEXTPROC __glewProgramUniform1iEXT = NULL;
1366 PFNGLPROGRAMUNIFORM1IVEXTPROC __glewProgramUniform1ivEXT = NULL;
1367 PFNGLPROGRAMUNIFORM1UIEXTPROC __glewProgramUniform1uiEXT = NULL;
1368 PFNGLPROGRAMUNIFORM1UIVEXTPROC __glewProgramUniform1uivEXT = NULL;
1369 PFNGLPROGRAMUNIFORM2FEXTPROC __glewProgramUniform2fEXT = NULL;
1370 PFNGLPROGRAMUNIFORM2FVEXTPROC __glewProgramUniform2fvEXT = NULL;
1371 PFNGLPROGRAMUNIFORM2IEXTPROC __glewProgramUniform2iEXT = NULL;
1372 PFNGLPROGRAMUNIFORM2IVEXTPROC __glewProgramUniform2ivEXT = NULL;
1373 PFNGLPROGRAMUNIFORM2UIEXTPROC __glewProgramUniform2uiEXT = NULL;
1374 PFNGLPROGRAMUNIFORM2UIVEXTPROC __glewProgramUniform2uivEXT = NULL;
1375 PFNGLPROGRAMUNIFORM3FEXTPROC __glewProgramUniform3fEXT = NULL;
1376 PFNGLPROGRAMUNIFORM3FVEXTPROC __glewProgramUniform3fvEXT = NULL;
1377 PFNGLPROGRAMUNIFORM3IEXTPROC __glewProgramUniform3iEXT = NULL;
1378 PFNGLPROGRAMUNIFORM3IVEXTPROC __glewProgramUniform3ivEXT = NULL;
1379 PFNGLPROGRAMUNIFORM3UIEXTPROC __glewProgramUniform3uiEXT = NULL;
1380 PFNGLPROGRAMUNIFORM3UIVEXTPROC __glewProgramUniform3uivEXT = NULL;
1381 PFNGLPROGRAMUNIFORM4FEXTPROC __glewProgramUniform4fEXT = NULL;
1382 PFNGLPROGRAMUNIFORM4FVEXTPROC __glewProgramUniform4fvEXT = NULL;
1383 PFNGLPROGRAMUNIFORM4IEXTPROC __glewProgramUniform4iEXT = NULL;
1384 PFNGLPROGRAMUNIFORM4IVEXTPROC __glewProgramUniform4ivEXT = NULL;
1385 PFNGLPROGRAMUNIFORM4UIEXTPROC __glewProgramUniform4uiEXT = NULL;
1386 PFNGLPROGRAMUNIFORM4UIVEXTPROC __glewProgramUniform4uivEXT = NULL;
1387 PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC __glewProgramUniformMatrix2fvEXT = NULL;
1388 PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC __glewProgramUniformMatrix2x3fvEXT = NULL;
1389 PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC __glewProgramUniformMatrix2x4fvEXT = NULL;
1390 PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC __glewProgramUniformMatrix3fvEXT = NULL;
1391 PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC __glewProgramUniformMatrix3x2fvEXT = NULL;
1392 PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC __glewProgramUniformMatrix3x4fvEXT = NULL;
1393 PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC __glewProgramUniformMatrix4fvEXT = NULL;
1394 PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC __glewProgramUniformMatrix4x2fvEXT = NULL;
1395 PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC __glewProgramUniformMatrix4x3fvEXT = NULL;
1396 PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC __glewPushClientAttribDefaultEXT = NULL;
1397 PFNGLTEXTUREBUFFEREXTPROC __glewTextureBufferEXT = NULL;
1398 PFNGLTEXTUREIMAGE1DEXTPROC __glewTextureImage1DEXT = NULL;
1399 PFNGLTEXTUREIMAGE2DEXTPROC __glewTextureImage2DEXT = NULL;
1400 PFNGLTEXTUREIMAGE3DEXTPROC __glewTextureImage3DEXT = NULL;
1401 PFNGLTEXTUREPARAMETERIIVEXTPROC __glewTextureParameterIivEXT = NULL;
1402 PFNGLTEXTUREPARAMETERIUIVEXTPROC __glewTextureParameterIuivEXT = NULL;
1403 PFNGLTEXTUREPARAMETERFEXTPROC __glewTextureParameterfEXT = NULL;
1404 PFNGLTEXTUREPARAMETERFVEXTPROC __glewTextureParameterfvEXT = NULL;
1405 PFNGLTEXTUREPARAMETERIEXTPROC __glewTextureParameteriEXT = NULL;
1406 PFNGLTEXTUREPARAMETERIVEXTPROC __glewTextureParameterivEXT = NULL;
1407 PFNGLTEXTURERENDERBUFFEREXTPROC __glewTextureRenderbufferEXT = NULL;
1408 PFNGLTEXTURESUBIMAGE1DEXTPROC __glewTextureSubImage1DEXT = NULL;
1409 PFNGLTEXTURESUBIMAGE2DEXTPROC __glewTextureSubImage2DEXT = NULL;
1410 PFNGLTEXTURESUBIMAGE3DEXTPROC __glewTextureSubImage3DEXT = NULL;
1411 PFNGLUNMAPNAMEDBUFFEREXTPROC __glewUnmapNamedBufferEXT = NULL;
1412 PFNGLVERTEXARRAYCOLOROFFSETEXTPROC __glewVertexArrayColorOffsetEXT = NULL;
1413 PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC __glewVertexArrayEdgeFlagOffsetEXT = NULL;
1414 PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC __glewVertexArrayFogCoordOffsetEXT = NULL;
1415 PFNGLVERTEXARRAYINDEXOFFSETEXTPROC __glewVertexArrayIndexOffsetEXT = NULL;
1416 PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC __glewVertexArrayMultiTexCoordOffsetEXT = NULL;
1417 PFNGLVERTEXARRAYNORMALOFFSETEXTPROC __glewVertexArrayNormalOffsetEXT = NULL;
1418 PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC __glewVertexArraySecondaryColorOffsetEXT = NULL;
1419 PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC __glewVertexArrayTexCoordOffsetEXT = NULL;
1420 PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC __glewVertexArrayVertexAttribIOffsetEXT = NULL;
1421 PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC __glewVertexArrayVertexAttribOffsetEXT = NULL;
1422 PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC __glewVertexArrayVertexOffsetEXT = NULL;
1424 PFNGLCOLORMASKINDEXEDEXTPROC __glewColorMaskIndexedEXT = NULL;
1425 PFNGLDISABLEINDEXEDEXTPROC __glewDisableIndexedEXT = NULL;
1426 PFNGLENABLEINDEXEDEXTPROC __glewEnableIndexedEXT = NULL;
1427 PFNGLGETBOOLEANINDEXEDVEXTPROC __glewGetBooleanIndexedvEXT = NULL;
1428 PFNGLGETINTEGERINDEXEDVEXTPROC __glewGetIntegerIndexedvEXT = NULL;
1429 PFNGLISENABLEDINDEXEDEXTPROC __glewIsEnabledIndexedEXT = NULL;
1431 PFNGLDRAWARRAYSINSTANCEDEXTPROC __glewDrawArraysInstancedEXT = NULL;
1432 PFNGLDRAWELEMENTSINSTANCEDEXTPROC __glewDrawElementsInstancedEXT = NULL;
1434 PFNGLDRAWRANGEELEMENTSEXTPROC __glewDrawRangeElementsEXT = NULL;
1436 PFNGLFOGCOORDPOINTEREXTPROC __glewFogCoordPointerEXT = NULL;
1437 PFNGLFOGCOORDDEXTPROC __glewFogCoorddEXT = NULL;
1438 PFNGLFOGCOORDDVEXTPROC __glewFogCoorddvEXT = NULL;
1439 PFNGLFOGCOORDFEXTPROC __glewFogCoordfEXT = NULL;
1440 PFNGLFOGCOORDFVEXTPROC __glewFogCoordfvEXT = NULL;
1442 PFNGLFRAGMENTCOLORMATERIALEXTPROC __glewFragmentColorMaterialEXT = NULL;
1443 PFNGLFRAGMENTLIGHTMODELFEXTPROC __glewFragmentLightModelfEXT = NULL;
1444 PFNGLFRAGMENTLIGHTMODELFVEXTPROC __glewFragmentLightModelfvEXT = NULL;
1445 PFNGLFRAGMENTLIGHTMODELIEXTPROC __glewFragmentLightModeliEXT = NULL;
1446 PFNGLFRAGMENTLIGHTMODELIVEXTPROC __glewFragmentLightModelivEXT = NULL;
1447 PFNGLFRAGMENTLIGHTFEXTPROC __glewFragmentLightfEXT = NULL;
1448 PFNGLFRAGMENTLIGHTFVEXTPROC __glewFragmentLightfvEXT = NULL;
1449 PFNGLFRAGMENTLIGHTIEXTPROC __glewFragmentLightiEXT = NULL;
1450 PFNGLFRAGMENTLIGHTIVEXTPROC __glewFragmentLightivEXT = NULL;
1451 PFNGLFRAGMENTMATERIALFEXTPROC __glewFragmentMaterialfEXT = NULL;
1452 PFNGLFRAGMENTMATERIALFVEXTPROC __glewFragmentMaterialfvEXT = NULL;
1453 PFNGLFRAGMENTMATERIALIEXTPROC __glewFragmentMaterialiEXT = NULL;
1454 PFNGLFRAGMENTMATERIALIVEXTPROC __glewFragmentMaterialivEXT = NULL;
1455 PFNGLGETFRAGMENTLIGHTFVEXTPROC __glewGetFragmentLightfvEXT = NULL;
1456 PFNGLGETFRAGMENTLIGHTIVEXTPROC __glewGetFragmentLightivEXT = NULL;
1457 PFNGLGETFRAGMENTMATERIALFVEXTPROC __glewGetFragmentMaterialfvEXT = NULL;
1458 PFNGLGETFRAGMENTMATERIALIVEXTPROC __glewGetFragmentMaterialivEXT = NULL;
1459 PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT = NULL;
1461 PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT = NULL;
1463 PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT = NULL;
1465 PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT = NULL;
1466 PFNGLBINDRENDERBUFFEREXTPROC __glewBindRenderbufferEXT = NULL;
1467 PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC __glewCheckFramebufferStatusEXT = NULL;
1468 PFNGLDELETEFRAMEBUFFERSEXTPROC __glewDeleteFramebuffersEXT = NULL;
1469 PFNGLDELETERENDERBUFFERSEXTPROC __glewDeleteRenderbuffersEXT = NULL;
1470 PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC __glewFramebufferRenderbufferEXT = NULL;
1471 PFNGLFRAMEBUFFERTEXTURE1DEXTPROC __glewFramebufferTexture1DEXT = NULL;
1472 PFNGLFRAMEBUFFERTEXTURE2DEXTPROC __glewFramebufferTexture2DEXT = NULL;
1473 PFNGLFRAMEBUFFERTEXTURE3DEXTPROC __glewFramebufferTexture3DEXT = NULL;
1474 PFNGLGENFRAMEBUFFERSEXTPROC __glewGenFramebuffersEXT = NULL;
1475 PFNGLGENRENDERBUFFERSEXTPROC __glewGenRenderbuffersEXT = NULL;
1476 PFNGLGENERATEMIPMAPEXTPROC __glewGenerateMipmapEXT = NULL;
1477 PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetFramebufferAttachmentParameterivEXT = NULL;
1478 PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC __glewGetRenderbufferParameterivEXT = NULL;
1479 PFNGLISFRAMEBUFFEREXTPROC __glewIsFramebufferEXT = NULL;
1480 PFNGLISRENDERBUFFEREXTPROC __glewIsRenderbufferEXT = NULL;
1481 PFNGLRENDERBUFFERSTORAGEEXTPROC __glewRenderbufferStorageEXT = NULL;
1483 PFNGLFRAMEBUFFERTEXTUREEXTPROC __glewFramebufferTextureEXT = NULL;
1484 PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC __glewFramebufferTextureFaceEXT = NULL;
1485 PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC __glewFramebufferTextureLayerEXT = NULL;
1486 PFNGLPROGRAMPARAMETERIEXTPROC __glewProgramParameteriEXT = NULL;
1488 PFNGLPROGRAMENVPARAMETERS4FVEXTPROC __glewProgramEnvParameters4fvEXT = NULL;
1489 PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC __glewProgramLocalParameters4fvEXT = NULL;
1491 PFNGLBINDFRAGDATALOCATIONEXTPROC __glewBindFragDataLocationEXT = NULL;
1492 PFNGLGETFRAGDATALOCATIONEXTPROC __glewGetFragDataLocationEXT = NULL;
1493 PFNGLGETUNIFORMUIVEXTPROC __glewGetUniformuivEXT = NULL;
1494 PFNGLGETVERTEXATTRIBIIVEXTPROC __glewGetVertexAttribIivEXT = NULL;
1495 PFNGLGETVERTEXATTRIBIUIVEXTPROC __glewGetVertexAttribIuivEXT = NULL;
1496 PFNGLUNIFORM1UIEXTPROC __glewUniform1uiEXT = NULL;
1497 PFNGLUNIFORM1UIVEXTPROC __glewUniform1uivEXT = NULL;
1498 PFNGLUNIFORM2UIEXTPROC __glewUniform2uiEXT = NULL;
1499 PFNGLUNIFORM2UIVEXTPROC __glewUniform2uivEXT = NULL;
1500 PFNGLUNIFORM3UIEXTPROC __glewUniform3uiEXT = NULL;
1501 PFNGLUNIFORM3UIVEXTPROC __glewUniform3uivEXT = NULL;
1502 PFNGLUNIFORM4UIEXTPROC __glewUniform4uiEXT = NULL;
1503 PFNGLUNIFORM4UIVEXTPROC __glewUniform4uivEXT = NULL;
1504 PFNGLVERTEXATTRIBI1IEXTPROC __glewVertexAttribI1iEXT = NULL;
1505 PFNGLVERTEXATTRIBI1IVEXTPROC __glewVertexAttribI1ivEXT = NULL;
1506 PFNGLVERTEXATTRIBI1UIEXTPROC __glewVertexAttribI1uiEXT = NULL;
1507 PFNGLVERTEXATTRIBI1UIVEXTPROC __glewVertexAttribI1uivEXT = NULL;
1508 PFNGLVERTEXATTRIBI2IEXTPROC __glewVertexAttribI2iEXT = NULL;
1509 PFNGLVERTEXATTRIBI2IVEXTPROC __glewVertexAttribI2ivEXT = NULL;
1510 PFNGLVERTEXATTRIBI2UIEXTPROC __glewVertexAttribI2uiEXT = NULL;
1511 PFNGLVERTEXATTRIBI2UIVEXTPROC __glewVertexAttribI2uivEXT = NULL;
1512 PFNGLVERTEXATTRIBI3IEXTPROC __glewVertexAttribI3iEXT = NULL;
1513 PFNGLVERTEXATTRIBI3IVEXTPROC __glewVertexAttribI3ivEXT = NULL;
1514 PFNGLVERTEXATTRIBI3UIEXTPROC __glewVertexAttribI3uiEXT = NULL;
1515 PFNGLVERTEXATTRIBI3UIVEXTPROC __glewVertexAttribI3uivEXT = NULL;
1516 PFNGLVERTEXATTRIBI4BVEXTPROC __glewVertexAttribI4bvEXT = NULL;
1517 PFNGLVERTEXATTRIBI4IEXTPROC __glewVertexAttribI4iEXT = NULL;
1518 PFNGLVERTEXATTRIBI4IVEXTPROC __glewVertexAttribI4ivEXT = NULL;
1519 PFNGLVERTEXATTRIBI4SVEXTPROC __glewVertexAttribI4svEXT = NULL;
1520 PFNGLVERTEXATTRIBI4UBVEXTPROC __glewVertexAttribI4ubvEXT = NULL;
1521 PFNGLVERTEXATTRIBI4UIEXTPROC __glewVertexAttribI4uiEXT = NULL;
1522 PFNGLVERTEXATTRIBI4UIVEXTPROC __glewVertexAttribI4uivEXT = NULL;
1523 PFNGLVERTEXATTRIBI4USVEXTPROC __glewVertexAttribI4usvEXT = NULL;
1524 PFNGLVERTEXATTRIBIPOINTEREXTPROC __glewVertexAttribIPointerEXT = NULL;
1526 PFNGLGETHISTOGRAMEXTPROC __glewGetHistogramEXT = NULL;
1527 PFNGLGETHISTOGRAMPARAMETERFVEXTPROC __glewGetHistogramParameterfvEXT = NULL;
1528 PFNGLGETHISTOGRAMPARAMETERIVEXTPROC __glewGetHistogramParameterivEXT = NULL;
1529 PFNGLGETMINMAXEXTPROC __glewGetMinmaxEXT = NULL;
1530 PFNGLGETMINMAXPARAMETERFVEXTPROC __glewGetMinmaxParameterfvEXT = NULL;
1531 PFNGLGETMINMAXPARAMETERIVEXTPROC __glewGetMinmaxParameterivEXT = NULL;
1532 PFNGLHISTOGRAMEXTPROC __glewHistogramEXT = NULL;
1533 PFNGLMINMAXEXTPROC __glewMinmaxEXT = NULL;
1534 PFNGLRESETHISTOGRAMEXTPROC __glewResetHistogramEXT = NULL;
1535 PFNGLRESETMINMAXEXTPROC __glewResetMinmaxEXT = NULL;
1537 PFNGLINDEXFUNCEXTPROC __glewIndexFuncEXT = NULL;
1539 PFNGLINDEXMATERIALEXTPROC __glewIndexMaterialEXT = NULL;
1541 PFNGLAPPLYTEXTUREEXTPROC __glewApplyTextureEXT = NULL;
1542 PFNGLTEXTURELIGHTEXTPROC __glewTextureLightEXT = NULL;
1543 PFNGLTEXTUREMATERIALEXTPROC __glewTextureMaterialEXT = NULL;
1545 PFNGLMULTIDRAWARRAYSEXTPROC __glewMultiDrawArraysEXT = NULL;
1546 PFNGLMULTIDRAWELEMENTSEXTPROC __glewMultiDrawElementsEXT = NULL;
1548 PFNGLSAMPLEMASKEXTPROC __glewSampleMaskEXT = NULL;
1549 PFNGLSAMPLEPATTERNEXTPROC __glewSamplePatternEXT = NULL;
1551 PFNGLCOLORTABLEEXTPROC __glewColorTableEXT = NULL;
1552 PFNGLGETCOLORTABLEEXTPROC __glewGetColorTableEXT = NULL;
1553 PFNGLGETCOLORTABLEPARAMETERFVEXTPROC __glewGetColorTableParameterfvEXT = NULL;
1554 PFNGLGETCOLORTABLEPARAMETERIVEXTPROC __glewGetColorTableParameterivEXT = NULL;
1556 PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC __glewGetPixelTransformParameterfvEXT = NULL;
1557 PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC __glewGetPixelTransformParameterivEXT = NULL;
1558 PFNGLPIXELTRANSFORMPARAMETERFEXTPROC __glewPixelTransformParameterfEXT = NULL;
1559 PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC __glewPixelTransformParameterfvEXT = NULL;
1560 PFNGLPIXELTRANSFORMPARAMETERIEXTPROC __glewPixelTransformParameteriEXT = NULL;
1561 PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC __glewPixelTransformParameterivEXT = NULL;
1563 PFNGLPOINTPARAMETERFEXTPROC __glewPointParameterfEXT = NULL;
1564 PFNGLPOINTPARAMETERFVEXTPROC __glewPointParameterfvEXT = NULL;
1566 PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL;
1568 PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT = NULL;
1570 PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT = NULL;
1571 PFNGLENDSCENEEXTPROC __glewEndSceneEXT = NULL;
1573 PFNGLSECONDARYCOLOR3BEXTPROC __glewSecondaryColor3bEXT = NULL;
1574 PFNGLSECONDARYCOLOR3BVEXTPROC __glewSecondaryColor3bvEXT = NULL;
1575 PFNGLSECONDARYCOLOR3DEXTPROC __glewSecondaryColor3dEXT = NULL;
1576 PFNGLSECONDARYCOLOR3DVEXTPROC __glewSecondaryColor3dvEXT = NULL;
1577 PFNGLSECONDARYCOLOR3FEXTPROC __glewSecondaryColor3fEXT = NULL;
1578 PFNGLSECONDARYCOLOR3FVEXTPROC __glewSecondaryColor3fvEXT = NULL;
1579 PFNGLSECONDARYCOLOR3IEXTPROC __glewSecondaryColor3iEXT = NULL;
1580 PFNGLSECONDARYCOLOR3IVEXTPROC __glewSecondaryColor3ivEXT = NULL;
1581 PFNGLSECONDARYCOLOR3SEXTPROC __glewSecondaryColor3sEXT = NULL;
1582 PFNGLSECONDARYCOLOR3SVEXTPROC __glewSecondaryColor3svEXT = NULL;
1583 PFNGLSECONDARYCOLOR3UBEXTPROC __glewSecondaryColor3ubEXT = NULL;
1584 PFNGLSECONDARYCOLOR3UBVEXTPROC __glewSecondaryColor3ubvEXT = NULL;
1585 PFNGLSECONDARYCOLOR3UIEXTPROC __glewSecondaryColor3uiEXT = NULL;
1586 PFNGLSECONDARYCOLOR3UIVEXTPROC __glewSecondaryColor3uivEXT = NULL;
1587 PFNGLSECONDARYCOLOR3USEXTPROC __glewSecondaryColor3usEXT = NULL;
1588 PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT = NULL;
1589 PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT = NULL;
1591 PFNGLACTIVEPROGRAMEXTPROC __glewActiveProgramEXT = NULL;
1592 PFNGLCREATESHADERPROGRAMEXTPROC __glewCreateShaderProgramEXT = NULL;
1593 PFNGLUSESHADERPROGRAMEXTPROC __glewUseShaderProgramEXT = NULL;
1595 PFNGLBINDIMAGETEXTUREEXTPROC __glewBindImageTextureEXT = NULL;
1596 PFNGLMEMORYBARRIEREXTPROC __glewMemoryBarrierEXT = NULL;
1598 PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT = NULL;
1600 PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT = NULL;
1601 PFNGLTEXSUBIMAGE2DEXTPROC __glewTexSubImage2DEXT = NULL;
1602 PFNGLTEXSUBIMAGE3DEXTPROC __glewTexSubImage3DEXT = NULL;
1604 PFNGLTEXIMAGE3DEXTPROC __glewTexImage3DEXT = NULL;
1606 PFNGLTEXBUFFEREXTPROC __glewTexBufferEXT = NULL;
1608 PFNGLCLEARCOLORIIEXTPROC __glewClearColorIiEXT = NULL;
1609 PFNGLCLEARCOLORIUIEXTPROC __glewClearColorIuiEXT = NULL;
1610 PFNGLGETTEXPARAMETERIIVEXTPROC __glewGetTexParameterIivEXT = NULL;
1611 PFNGLGETTEXPARAMETERIUIVEXTPROC __glewGetTexParameterIuivEXT = NULL;
1612 PFNGLTEXPARAMETERIIVEXTPROC __glewTexParameterIivEXT = NULL;
1613 PFNGLTEXPARAMETERIUIVEXTPROC __glewTexParameterIuivEXT = NULL;
1615 PFNGLARETEXTURESRESIDENTEXTPROC __glewAreTexturesResidentEXT = NULL;
1616 PFNGLBINDTEXTUREEXTPROC __glewBindTextureEXT = NULL;
1617 PFNGLDELETETEXTURESEXTPROC __glewDeleteTexturesEXT = NULL;
1618 PFNGLGENTEXTURESEXTPROC __glewGenTexturesEXT = NULL;
1619 PFNGLISTEXTUREEXTPROC __glewIsTextureEXT = NULL;
1620 PFNGLPRIORITIZETEXTURESEXTPROC __glewPrioritizeTexturesEXT = NULL;
1622 PFNGLTEXTURENORMALEXTPROC __glewTextureNormalEXT = NULL;
1624 PFNGLGETQUERYOBJECTI64VEXTPROC __glewGetQueryObjecti64vEXT = NULL;
1625 PFNGLGETQUERYOBJECTUI64VEXTPROC __glewGetQueryObjectui64vEXT = NULL;
1627 PFNGLBEGINTRANSFORMFEEDBACKEXTPROC __glewBeginTransformFeedbackEXT = NULL;
1628 PFNGLBINDBUFFERBASEEXTPROC __glewBindBufferBaseEXT = NULL;
1629 PFNGLBINDBUFFEROFFSETEXTPROC __glewBindBufferOffsetEXT = NULL;
1630 PFNGLBINDBUFFERRANGEEXTPROC __glewBindBufferRangeEXT = NULL;
1631 PFNGLENDTRANSFORMFEEDBACKEXTPROC __glewEndTransformFeedbackEXT = NULL;
1632 PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC __glewGetTransformFeedbackVaryingEXT = NULL;
1633 PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC __glewTransformFeedbackVaryingsEXT = NULL;
1635 PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT = NULL;
1636 PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT = NULL;
1637 PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT = NULL;
1638 PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT = NULL;
1639 PFNGLGETPOINTERVEXTPROC __glewGetPointervEXT = NULL;
1640 PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT = NULL;
1641 PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT = NULL;
1642 PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL;
1643 PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT = NULL;
1645 PFNGLGETVERTEXATTRIBLDVEXTPROC __glewGetVertexAttribLdvEXT = NULL;
1646 PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC __glewVertexArrayVertexAttribLOffsetEXT = NULL;
1647 PFNGLVERTEXATTRIBL1DEXTPROC __glewVertexAttribL1dEXT = NULL;
1648 PFNGLVERTEXATTRIBL1DVEXTPROC __glewVertexAttribL1dvEXT = NULL;
1649 PFNGLVERTEXATTRIBL2DEXTPROC __glewVertexAttribL2dEXT = NULL;
1650 PFNGLVERTEXATTRIBL2DVEXTPROC __glewVertexAttribL2dvEXT = NULL;
1651 PFNGLVERTEXATTRIBL3DEXTPROC __glewVertexAttribL3dEXT = NULL;
1652 PFNGLVERTEXATTRIBL3DVEXTPROC __glewVertexAttribL3dvEXT = NULL;
1653 PFNGLVERTEXATTRIBL4DEXTPROC __glewVertexAttribL4dEXT = NULL;
1654 PFNGLVERTEXATTRIBL4DVEXTPROC __glewVertexAttribL4dvEXT = NULL;
1655 PFNGLVERTEXATTRIBLPOINTEREXTPROC __glewVertexAttribLPointerEXT = NULL;
1657 PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT = NULL;
1658 PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT = NULL;
1659 PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT = NULL;
1660 PFNGLBINDPARAMETEREXTPROC __glewBindParameterEXT = NULL;
1661 PFNGLBINDTEXGENPARAMETEREXTPROC __glewBindTexGenParameterEXT = NULL;
1662 PFNGLBINDTEXTUREUNITPARAMETEREXTPROC __glewBindTextureUnitParameterEXT = NULL;
1663 PFNGLBINDVERTEXSHADEREXTPROC __glewBindVertexShaderEXT = NULL;
1664 PFNGLDELETEVERTEXSHADEREXTPROC __glewDeleteVertexShaderEXT = NULL;
1665 PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC __glewDisableVariantClientStateEXT = NULL;
1666 PFNGLENABLEVARIANTCLIENTSTATEEXTPROC __glewEnableVariantClientStateEXT = NULL;
1667 PFNGLENDVERTEXSHADEREXTPROC __glewEndVertexShaderEXT = NULL;
1668 PFNGLEXTRACTCOMPONENTEXTPROC __glewExtractComponentEXT = NULL;
1669 PFNGLGENSYMBOLSEXTPROC __glewGenSymbolsEXT = NULL;
1670 PFNGLGENVERTEXSHADERSEXTPROC __glewGenVertexShadersEXT = NULL;
1671 PFNGLGETINVARIANTBOOLEANVEXTPROC __glewGetInvariantBooleanvEXT = NULL;
1672 PFNGLGETINVARIANTFLOATVEXTPROC __glewGetInvariantFloatvEXT = NULL;
1673 PFNGLGETINVARIANTINTEGERVEXTPROC __glewGetInvariantIntegervEXT = NULL;
1674 PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC __glewGetLocalConstantBooleanvEXT = NULL;
1675 PFNGLGETLOCALCONSTANTFLOATVEXTPROC __glewGetLocalConstantFloatvEXT = NULL;
1676 PFNGLGETLOCALCONSTANTINTEGERVEXTPROC __glewGetLocalConstantIntegervEXT = NULL;
1677 PFNGLGETVARIANTBOOLEANVEXTPROC __glewGetVariantBooleanvEXT = NULL;
1678 PFNGLGETVARIANTFLOATVEXTPROC __glewGetVariantFloatvEXT = NULL;
1679 PFNGLGETVARIANTINTEGERVEXTPROC __glewGetVariantIntegervEXT = NULL;
1680 PFNGLGETVARIANTPOINTERVEXTPROC __glewGetVariantPointervEXT = NULL;
1681 PFNGLINSERTCOMPONENTEXTPROC __glewInsertComponentEXT = NULL;
1682 PFNGLISVARIANTENABLEDEXTPROC __glewIsVariantEnabledEXT = NULL;
1683 PFNGLSETINVARIANTEXTPROC __glewSetInvariantEXT = NULL;
1684 PFNGLSETLOCALCONSTANTEXTPROC __glewSetLocalConstantEXT = NULL;
1685 PFNGLSHADEROP1EXTPROC __glewShaderOp1EXT = NULL;
1686 PFNGLSHADEROP2EXTPROC __glewShaderOp2EXT = NULL;
1687 PFNGLSHADEROP3EXTPROC __glewShaderOp3EXT = NULL;
1688 PFNGLSWIZZLEEXTPROC __glewSwizzleEXT = NULL;
1689 PFNGLVARIANTPOINTEREXTPROC __glewVariantPointerEXT = NULL;
1690 PFNGLVARIANTBVEXTPROC __glewVariantbvEXT = NULL;
1691 PFNGLVARIANTDVEXTPROC __glewVariantdvEXT = NULL;
1692 PFNGLVARIANTFVEXTPROC __glewVariantfvEXT = NULL;
1693 PFNGLVARIANTIVEXTPROC __glewVariantivEXT = NULL;
1694 PFNGLVARIANTSVEXTPROC __glewVariantsvEXT = NULL;
1695 PFNGLVARIANTUBVEXTPROC __glewVariantubvEXT = NULL;
1696 PFNGLVARIANTUIVEXTPROC __glewVariantuivEXT = NULL;
1697 PFNGLVARIANTUSVEXTPROC __glewVariantusvEXT = NULL;
1698 PFNGLWRITEMASKEXTPROC __glewWriteMaskEXT = NULL;
1700 PFNGLVERTEXWEIGHTPOINTEREXTPROC __glewVertexWeightPointerEXT = NULL;
1701 PFNGLVERTEXWEIGHTFEXTPROC __glewVertexWeightfEXT = NULL;
1702 PFNGLVERTEXWEIGHTFVEXTPROC __glewVertexWeightfvEXT = NULL;
1704 PFNGLFRAMETERMINATORGREMEDYPROC __glewFrameTerminatorGREMEDY = NULL;
1706 PFNGLSTRINGMARKERGREMEDYPROC __glewStringMarkerGREMEDY = NULL;
1708 PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC __glewGetImageTransformParameterfvHP = NULL;
1709 PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC __glewGetImageTransformParameterivHP = NULL;
1710 PFNGLIMAGETRANSFORMPARAMETERFHPPROC __glewImageTransformParameterfHP = NULL;
1711 PFNGLIMAGETRANSFORMPARAMETERFVHPPROC __glewImageTransformParameterfvHP = NULL;
1712 PFNGLIMAGETRANSFORMPARAMETERIHPPROC __glewImageTransformParameteriHP = NULL;
1713 PFNGLIMAGETRANSFORMPARAMETERIVHPPROC __glewImageTransformParameterivHP = NULL;
1715 PFNGLMULTIMODEDRAWARRAYSIBMPROC __glewMultiModeDrawArraysIBM = NULL;
1716 PFNGLMULTIMODEDRAWELEMENTSIBMPROC __glewMultiModeDrawElementsIBM = NULL;
1718 PFNGLCOLORPOINTERLISTIBMPROC __glewColorPointerListIBM = NULL;
1719 PFNGLEDGEFLAGPOINTERLISTIBMPROC __glewEdgeFlagPointerListIBM = NULL;
1720 PFNGLFOGCOORDPOINTERLISTIBMPROC __glewFogCoordPointerListIBM = NULL;
1721 PFNGLINDEXPOINTERLISTIBMPROC __glewIndexPointerListIBM = NULL;
1722 PFNGLNORMALPOINTERLISTIBMPROC __glewNormalPointerListIBM = NULL;
1723 PFNGLSECONDARYCOLORPOINTERLISTIBMPROC __glewSecondaryColorPointerListIBM = NULL;
1724 PFNGLTEXCOORDPOINTERLISTIBMPROC __glewTexCoordPointerListIBM = NULL;
1725 PFNGLVERTEXPOINTERLISTIBMPROC __glewVertexPointerListIBM = NULL;
1727 PFNGLCOLORPOINTERVINTELPROC __glewColorPointervINTEL = NULL;
1728 PFNGLNORMALPOINTERVINTELPROC __glewNormalPointervINTEL = NULL;
1729 PFNGLTEXCOORDPOINTERVINTELPROC __glewTexCoordPointervINTEL = NULL;
1730 PFNGLVERTEXPOINTERVINTELPROC __glewVertexPointervINTEL = NULL;
1732 PFNGLTEXSCISSORFUNCINTELPROC __glewTexScissorFuncINTEL = NULL;
1733 PFNGLTEXSCISSORINTELPROC __glewTexScissorINTEL = NULL;
1735 PFNGLBUFFERREGIONENABLEDEXTPROC __glewBufferRegionEnabledEXT = NULL;
1736 PFNGLDELETEBUFFERREGIONEXTPROC __glewDeleteBufferRegionEXT = NULL;
1737 PFNGLDRAWBUFFERREGIONEXTPROC __glewDrawBufferRegionEXT = NULL;
1738 PFNGLNEWBUFFERREGIONEXTPROC __glewNewBufferRegionEXT = NULL;
1739 PFNGLREADBUFFERREGIONEXTPROC __glewReadBufferRegionEXT = NULL;
1741 PFNGLRESIZEBUFFERSMESAPROC __glewResizeBuffersMESA = NULL;
1743 PFNGLWINDOWPOS2DMESAPROC __glewWindowPos2dMESA = NULL;
1744 PFNGLWINDOWPOS2DVMESAPROC __glewWindowPos2dvMESA = NULL;
1745 PFNGLWINDOWPOS2FMESAPROC __glewWindowPos2fMESA = NULL;
1746 PFNGLWINDOWPOS2FVMESAPROC __glewWindowPos2fvMESA = NULL;
1747 PFNGLWINDOWPOS2IMESAPROC __glewWindowPos2iMESA = NULL;
1748 PFNGLWINDOWPOS2IVMESAPROC __glewWindowPos2ivMESA = NULL;
1749 PFNGLWINDOWPOS2SMESAPROC __glewWindowPos2sMESA = NULL;
1750 PFNGLWINDOWPOS2SVMESAPROC __glewWindowPos2svMESA = NULL;
1751 PFNGLWINDOWPOS3DMESAPROC __glewWindowPos3dMESA = NULL;
1752 PFNGLWINDOWPOS3DVMESAPROC __glewWindowPos3dvMESA = NULL;
1753 PFNGLWINDOWPOS3FMESAPROC __glewWindowPos3fMESA = NULL;
1754 PFNGLWINDOWPOS3FVMESAPROC __glewWindowPos3fvMESA = NULL;
1755 PFNGLWINDOWPOS3IMESAPROC __glewWindowPos3iMESA = NULL;
1756 PFNGLWINDOWPOS3IVMESAPROC __glewWindowPos3ivMESA = NULL;
1757 PFNGLWINDOWPOS3SMESAPROC __glewWindowPos3sMESA = NULL;
1758 PFNGLWINDOWPOS3SVMESAPROC __glewWindowPos3svMESA = NULL;
1759 PFNGLWINDOWPOS4DMESAPROC __glewWindowPos4dMESA = NULL;
1760 PFNGLWINDOWPOS4DVMESAPROC __glewWindowPos4dvMESA = NULL;
1761 PFNGLWINDOWPOS4FMESAPROC __glewWindowPos4fMESA = NULL;
1762 PFNGLWINDOWPOS4FVMESAPROC __glewWindowPos4fvMESA = NULL;
1763 PFNGLWINDOWPOS4IMESAPROC __glewWindowPos4iMESA = NULL;
1764 PFNGLWINDOWPOS4IVMESAPROC __glewWindowPos4ivMESA = NULL;
1765 PFNGLWINDOWPOS4SMESAPROC __glewWindowPos4sMESA = NULL;
1766 PFNGLWINDOWPOS4SVMESAPROC __glewWindowPos4svMESA = NULL;
1768 PFNGLBEGINCONDITIONALRENDERNVPROC __glewBeginConditionalRenderNV = NULL;
1769 PFNGLENDCONDITIONALRENDERNVPROC __glewEndConditionalRenderNV = NULL;
1771 PFNGLCOPYIMAGESUBDATANVPROC __glewCopyImageSubDataNV = NULL;
1773 PFNGLCLEARDEPTHDNVPROC __glewClearDepthdNV = NULL;
1774 PFNGLDEPTHBOUNDSDNVPROC __glewDepthBoundsdNV = NULL;
1775 PFNGLDEPTHRANGEDNVPROC __glewDepthRangedNV = NULL;
1777 PFNGLEVALMAPSNVPROC __glewEvalMapsNV = NULL;
1778 PFNGLGETMAPATTRIBPARAMETERFVNVPROC __glewGetMapAttribParameterfvNV = NULL;
1779 PFNGLGETMAPATTRIBPARAMETERIVNVPROC __glewGetMapAttribParameterivNV = NULL;
1780 PFNGLGETMAPCONTROLPOINTSNVPROC __glewGetMapControlPointsNV = NULL;
1781 PFNGLGETMAPPARAMETERFVNVPROC __glewGetMapParameterfvNV = NULL;
1782 PFNGLGETMAPPARAMETERIVNVPROC __glewGetMapParameterivNV = NULL;
1783 PFNGLMAPCONTROLPOINTSNVPROC __glewMapControlPointsNV = NULL;
1784 PFNGLMAPPARAMETERFVNVPROC __glewMapParameterfvNV = NULL;
1785 PFNGLMAPPARAMETERIVNVPROC __glewMapParameterivNV = NULL;
1787 PFNGLGETMULTISAMPLEFVNVPROC __glewGetMultisamplefvNV = NULL;
1788 PFNGLSAMPLEMASKINDEXEDNVPROC __glewSampleMaskIndexedNV = NULL;
1789 PFNGLTEXRENDERBUFFERNVPROC __glewTexRenderbufferNV = NULL;
1791 PFNGLDELETEFENCESNVPROC __glewDeleteFencesNV = NULL;
1792 PFNGLFINISHFENCENVPROC __glewFinishFenceNV = NULL;
1793 PFNGLGENFENCESNVPROC __glewGenFencesNV = NULL;
1794 PFNGLGETFENCEIVNVPROC __glewGetFenceivNV = NULL;
1795 PFNGLISFENCENVPROC __glewIsFenceNV = NULL;
1796 PFNGLSETFENCENVPROC __glewSetFenceNV = NULL;
1797 PFNGLTESTFENCENVPROC __glewTestFenceNV = NULL;
1799 PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC __glewGetProgramNamedParameterdvNV = NULL;
1800 PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC __glewGetProgramNamedParameterfvNV = NULL;
1801 PFNGLPROGRAMNAMEDPARAMETER4DNVPROC __glewProgramNamedParameter4dNV = NULL;
1802 PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC __glewProgramNamedParameter4dvNV = NULL;
1803 PFNGLPROGRAMNAMEDPARAMETER4FNVPROC __glewProgramNamedParameter4fNV = NULL;
1804 PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC __glewProgramNamedParameter4fvNV = NULL;
1806 PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC __glewRenderbufferStorageMultisampleCoverageNV = NULL;
1808 PFNGLPROGRAMVERTEXLIMITNVPROC __glewProgramVertexLimitNV = NULL;
1810 PFNGLPROGRAMENVPARAMETERI4INVPROC __glewProgramEnvParameterI4iNV = NULL;
1811 PFNGLPROGRAMENVPARAMETERI4IVNVPROC __glewProgramEnvParameterI4ivNV = NULL;
1812 PFNGLPROGRAMENVPARAMETERI4UINVPROC __glewProgramEnvParameterI4uiNV = NULL;
1813 PFNGLPROGRAMENVPARAMETERI4UIVNVPROC __glewProgramEnvParameterI4uivNV = NULL;
1814 PFNGLPROGRAMENVPARAMETERSI4IVNVPROC __glewProgramEnvParametersI4ivNV = NULL;
1815 PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC __glewProgramEnvParametersI4uivNV = NULL;
1816 PFNGLPROGRAMLOCALPARAMETERI4INVPROC __glewProgramLocalParameterI4iNV = NULL;
1817 PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC __glewProgramLocalParameterI4ivNV = NULL;
1818 PFNGLPROGRAMLOCALPARAMETERI4UINVPROC __glewProgramLocalParameterI4uiNV = NULL;
1819 PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC __glewProgramLocalParameterI4uivNV = NULL;
1820 PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC __glewProgramLocalParametersI4ivNV = NULL;
1821 PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC __glewProgramLocalParametersI4uivNV = NULL;
1823 PFNGLGETUNIFORMI64VNVPROC __glewGetUniformi64vNV = NULL;
1824 PFNGLGETUNIFORMUI64VNVPROC __glewGetUniformui64vNV = NULL;
1825 PFNGLPROGRAMUNIFORM1I64NVPROC __glewProgramUniform1i64NV = NULL;
1826 PFNGLPROGRAMUNIFORM1I64VNVPROC __glewProgramUniform1i64vNV = NULL;
1827 PFNGLPROGRAMUNIFORM1UI64NVPROC __glewProgramUniform1ui64NV = NULL;
1828 PFNGLPROGRAMUNIFORM1UI64VNVPROC __glewProgramUniform1ui64vNV = NULL;
1829 PFNGLPROGRAMUNIFORM2I64NVPROC __glewProgramUniform2i64NV = NULL;
1830 PFNGLPROGRAMUNIFORM2I64VNVPROC __glewProgramUniform2i64vNV = NULL;
1831 PFNGLPROGRAMUNIFORM2UI64NVPROC __glewProgramUniform2ui64NV = NULL;
1832 PFNGLPROGRAMUNIFORM2UI64VNVPROC __glewProgramUniform2ui64vNV = NULL;
1833 PFNGLPROGRAMUNIFORM3I64NVPROC __glewProgramUniform3i64NV = NULL;
1834 PFNGLPROGRAMUNIFORM3I64VNVPROC __glewProgramUniform3i64vNV = NULL;
1835 PFNGLPROGRAMUNIFORM3UI64NVPROC __glewProgramUniform3ui64NV = NULL;
1836 PFNGLPROGRAMUNIFORM3UI64VNVPROC __glewProgramUniform3ui64vNV = NULL;
1837 PFNGLPROGRAMUNIFORM4I64NVPROC __glewProgramUniform4i64NV = NULL;
1838 PFNGLPROGRAMUNIFORM4I64VNVPROC __glewProgramUniform4i64vNV = NULL;
1839 PFNGLPROGRAMUNIFORM4UI64NVPROC __glewProgramUniform4ui64NV = NULL;
1840 PFNGLPROGRAMUNIFORM4UI64VNVPROC __glewProgramUniform4ui64vNV = NULL;
1841 PFNGLUNIFORM1I64NVPROC __glewUniform1i64NV = NULL;
1842 PFNGLUNIFORM1I64VNVPROC __glewUniform1i64vNV = NULL;
1843 PFNGLUNIFORM1UI64NVPROC __glewUniform1ui64NV = NULL;
1844 PFNGLUNIFORM1UI64VNVPROC __glewUniform1ui64vNV = NULL;
1845 PFNGLUNIFORM2I64NVPROC __glewUniform2i64NV = NULL;
1846 PFNGLUNIFORM2I64VNVPROC __glewUniform2i64vNV = NULL;
1847 PFNGLUNIFORM2UI64NVPROC __glewUniform2ui64NV = NULL;
1848 PFNGLUNIFORM2UI64VNVPROC __glewUniform2ui64vNV = NULL;
1849 PFNGLUNIFORM3I64NVPROC __glewUniform3i64NV = NULL;
1850 PFNGLUNIFORM3I64VNVPROC __glewUniform3i64vNV = NULL;
1851 PFNGLUNIFORM3UI64NVPROC __glewUniform3ui64NV = NULL;
1852 PFNGLUNIFORM3UI64VNVPROC __glewUniform3ui64vNV = NULL;
1853 PFNGLUNIFORM4I64NVPROC __glewUniform4i64NV = NULL;
1854 PFNGLUNIFORM4I64VNVPROC __glewUniform4i64vNV = NULL;
1855 PFNGLUNIFORM4UI64NVPROC __glewUniform4ui64NV = NULL;
1856 PFNGLUNIFORM4UI64VNVPROC __glewUniform4ui64vNV = NULL;
1858 PFNGLCOLOR3HNVPROC __glewColor3hNV = NULL;
1859 PFNGLCOLOR3HVNVPROC __glewColor3hvNV = NULL;
1860 PFNGLCOLOR4HNVPROC __glewColor4hNV = NULL;
1861 PFNGLCOLOR4HVNVPROC __glewColor4hvNV = NULL;
1862 PFNGLFOGCOORDHNVPROC __glewFogCoordhNV = NULL;
1863 PFNGLFOGCOORDHVNVPROC __glewFogCoordhvNV = NULL;
1864 PFNGLMULTITEXCOORD1HNVPROC __glewMultiTexCoord1hNV = NULL;
1865 PFNGLMULTITEXCOORD1HVNVPROC __glewMultiTexCoord1hvNV = NULL;
1866 PFNGLMULTITEXCOORD2HNVPROC __glewMultiTexCoord2hNV = NULL;
1867 PFNGLMULTITEXCOORD2HVNVPROC __glewMultiTexCoord2hvNV = NULL;
1868 PFNGLMULTITEXCOORD3HNVPROC __glewMultiTexCoord3hNV = NULL;
1869 PFNGLMULTITEXCOORD3HVNVPROC __glewMultiTexCoord3hvNV = NULL;
1870 PFNGLMULTITEXCOORD4HNVPROC __glewMultiTexCoord4hNV = NULL;
1871 PFNGLMULTITEXCOORD4HVNVPROC __glewMultiTexCoord4hvNV = NULL;
1872 PFNGLNORMAL3HNVPROC __glewNormal3hNV = NULL;
1873 PFNGLNORMAL3HVNVPROC __glewNormal3hvNV = NULL;
1874 PFNGLSECONDARYCOLOR3HNVPROC __glewSecondaryColor3hNV = NULL;
1875 PFNGLSECONDARYCOLOR3HVNVPROC __glewSecondaryColor3hvNV = NULL;
1876 PFNGLTEXCOORD1HNVPROC __glewTexCoord1hNV = NULL;
1877 PFNGLTEXCOORD1HVNVPROC __glewTexCoord1hvNV = NULL;
1878 PFNGLTEXCOORD2HNVPROC __glewTexCoord2hNV = NULL;
1879 PFNGLTEXCOORD2HVNVPROC __glewTexCoord2hvNV = NULL;
1880 PFNGLTEXCOORD3HNVPROC __glewTexCoord3hNV = NULL;
1881 PFNGLTEXCOORD3HVNVPROC __glewTexCoord3hvNV = NULL;
1882 PFNGLTEXCOORD4HNVPROC __glewTexCoord4hNV = NULL;
1883 PFNGLTEXCOORD4HVNVPROC __glewTexCoord4hvNV = NULL;
1884 PFNGLVERTEX2HNVPROC __glewVertex2hNV = NULL;
1885 PFNGLVERTEX2HVNVPROC __glewVertex2hvNV = NULL;
1886 PFNGLVERTEX3HNVPROC __glewVertex3hNV = NULL;
1887 PFNGLVERTEX3HVNVPROC __glewVertex3hvNV = NULL;
1888 PFNGLVERTEX4HNVPROC __glewVertex4hNV = NULL;
1889 PFNGLVERTEX4HVNVPROC __glewVertex4hvNV = NULL;
1890 PFNGLVERTEXATTRIB1HNVPROC __glewVertexAttrib1hNV = NULL;
1891 PFNGLVERTEXATTRIB1HVNVPROC __glewVertexAttrib1hvNV = NULL;
1892 PFNGLVERTEXATTRIB2HNVPROC __glewVertexAttrib2hNV = NULL;
1893 PFNGLVERTEXATTRIB2HVNVPROC __glewVertexAttrib2hvNV = NULL;
1894 PFNGLVERTEXATTRIB3HNVPROC __glewVertexAttrib3hNV = NULL;
1895 PFNGLVERTEXATTRIB3HVNVPROC __glewVertexAttrib3hvNV = NULL;
1896 PFNGLVERTEXATTRIB4HNVPROC __glewVertexAttrib4hNV = NULL;
1897 PFNGLVERTEXATTRIB4HVNVPROC __glewVertexAttrib4hvNV = NULL;
1898 PFNGLVERTEXATTRIBS1HVNVPROC __glewVertexAttribs1hvNV = NULL;
1899 PFNGLVERTEXATTRIBS2HVNVPROC __glewVertexAttribs2hvNV = NULL;
1900 PFNGLVERTEXATTRIBS3HVNVPROC __glewVertexAttribs3hvNV = NULL;
1901 PFNGLVERTEXATTRIBS4HVNVPROC __glewVertexAttribs4hvNV = NULL;
1902 PFNGLVERTEXWEIGHTHNVPROC __glewVertexWeighthNV = NULL;
1903 PFNGLVERTEXWEIGHTHVNVPROC __glewVertexWeighthvNV = NULL;
1905 PFNGLBEGINOCCLUSIONQUERYNVPROC __glewBeginOcclusionQueryNV = NULL;
1906 PFNGLDELETEOCCLUSIONQUERIESNVPROC __glewDeleteOcclusionQueriesNV = NULL;
1907 PFNGLENDOCCLUSIONQUERYNVPROC __glewEndOcclusionQueryNV = NULL;
1908 PFNGLGENOCCLUSIONQUERIESNVPROC __glewGenOcclusionQueriesNV = NULL;
1909 PFNGLGETOCCLUSIONQUERYIVNVPROC __glewGetOcclusionQueryivNV = NULL;
1910 PFNGLGETOCCLUSIONQUERYUIVNVPROC __glewGetOcclusionQueryuivNV = NULL;
1911 PFNGLISOCCLUSIONQUERYNVPROC __glewIsOcclusionQueryNV = NULL;
1913 PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC __glewProgramBufferParametersIivNV = NULL;
1914 PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC __glewProgramBufferParametersIuivNV = NULL;
1915 PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC __glewProgramBufferParametersfvNV = NULL;
1917 PFNGLFLUSHPIXELDATARANGENVPROC __glewFlushPixelDataRangeNV = NULL;
1918 PFNGLPIXELDATARANGENVPROC __glewPixelDataRangeNV = NULL;
1920 PFNGLPOINTPARAMETERINVPROC __glewPointParameteriNV = NULL;
1921 PFNGLPOINTPARAMETERIVNVPROC __glewPointParameterivNV = NULL;
1923 PFNGLGETVIDEOI64VNVPROC __glewGetVideoi64vNV = NULL;
1924 PFNGLGETVIDEOIVNVPROC __glewGetVideoivNV = NULL;
1925 PFNGLGETVIDEOUI64VNVPROC __glewGetVideoui64vNV = NULL;
1926 PFNGLGETVIDEOUIVNVPROC __glewGetVideouivNV = NULL;
1927 PFNGLPRESENTFRAMEDUALFILLNVPROC __glewPresentFrameDualFillNV = NULL;
1928 PFNGLPRESENTFRAMEKEYEDNVPROC __glewPresentFrameKeyedNV = NULL;
1930 PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV = NULL;
1931 PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV = NULL;
1933 PFNGLCOMBINERINPUTNVPROC __glewCombinerInputNV = NULL;
1934 PFNGLCOMBINEROUTPUTNVPROC __glewCombinerOutputNV = NULL;
1935 PFNGLCOMBINERPARAMETERFNVPROC __glewCombinerParameterfNV = NULL;
1936 PFNGLCOMBINERPARAMETERFVNVPROC __glewCombinerParameterfvNV = NULL;
1937 PFNGLCOMBINERPARAMETERINVPROC __glewCombinerParameteriNV = NULL;
1938 PFNGLCOMBINERPARAMETERIVNVPROC __glewCombinerParameterivNV = NULL;
1939 PFNGLFINALCOMBINERINPUTNVPROC __glewFinalCombinerInputNV = NULL;
1940 PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC __glewGetCombinerInputParameterfvNV = NULL;
1941 PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC __glewGetCombinerInputParameterivNV = NULL;
1942 PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC __glewGetCombinerOutputParameterfvNV = NULL;
1943 PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC __glewGetCombinerOutputParameterivNV = NULL;
1944 PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC __glewGetFinalCombinerInputParameterfvNV = NULL;
1945 PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC __glewGetFinalCombinerInputParameterivNV = NULL;
1947 PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV = NULL;
1948 PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV = NULL;
1950 PFNGLGETBUFFERPARAMETERUI64VNVPROC __glewGetBufferParameterui64vNV = NULL;
1951 PFNGLGETINTEGERUI64VNVPROC __glewGetIntegerui64vNV = NULL;
1952 PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC __glewGetNamedBufferParameterui64vNV = NULL;
1953 PFNGLISBUFFERRESIDENTNVPROC __glewIsBufferResidentNV = NULL;
1954 PFNGLISNAMEDBUFFERRESIDENTNVPROC __glewIsNamedBufferResidentNV = NULL;
1955 PFNGLMAKEBUFFERNONRESIDENTNVPROC __glewMakeBufferNonResidentNV = NULL;
1956 PFNGLMAKEBUFFERRESIDENTNVPROC __glewMakeBufferResidentNV = NULL;
1957 PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC __glewMakeNamedBufferNonResidentNV = NULL;
1958 PFNGLMAKENAMEDBUFFERRESIDENTNVPROC __glewMakeNamedBufferResidentNV = NULL;
1959 PFNGLPROGRAMUNIFORMUI64NVPROC __glewProgramUniformui64NV = NULL;
1960 PFNGLPROGRAMUNIFORMUI64VNVPROC __glewProgramUniformui64vNV = NULL;
1961 PFNGLUNIFORMUI64NVPROC __glewUniformui64NV = NULL;
1962 PFNGLUNIFORMUI64VNVPROC __glewUniformui64vNV = NULL;
1964 PFNGLTEXTUREBARRIERNVPROC __glewTextureBarrierNV = NULL;
1966 PFNGLACTIVEVARYINGNVPROC __glewActiveVaryingNV = NULL;
1967 PFNGLBEGINTRANSFORMFEEDBACKNVPROC __glewBeginTransformFeedbackNV = NULL;
1968 PFNGLBINDBUFFERBASENVPROC __glewBindBufferBaseNV = NULL;
1969 PFNGLBINDBUFFEROFFSETNVPROC __glewBindBufferOffsetNV = NULL;
1970 PFNGLBINDBUFFERRANGENVPROC __glewBindBufferRangeNV = NULL;
1971 PFNGLENDTRANSFORMFEEDBACKNVPROC __glewEndTransformFeedbackNV = NULL;
1972 PFNGLGETACTIVEVARYINGNVPROC __glewGetActiveVaryingNV = NULL;
1973 PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC __glewGetTransformFeedbackVaryingNV = NULL;
1974 PFNGLGETVARYINGLOCATIONNVPROC __glewGetVaryingLocationNV = NULL;
1975 PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC __glewTransformFeedbackAttribsNV = NULL;
1976 PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC __glewTransformFeedbackVaryingsNV = NULL;
1978 PFNGLBINDTRANSFORMFEEDBACKNVPROC __glewBindTransformFeedbackNV = NULL;
1979 PFNGLDELETETRANSFORMFEEDBACKSNVPROC __glewDeleteTransformFeedbacksNV = NULL;
1980 PFNGLDRAWTRANSFORMFEEDBACKNVPROC __glewDrawTransformFeedbackNV = NULL;
1981 PFNGLGENTRANSFORMFEEDBACKSNVPROC __glewGenTransformFeedbacksNV = NULL;
1982 PFNGLISTRANSFORMFEEDBACKNVPROC __glewIsTransformFeedbackNV = NULL;
1983 PFNGLPAUSETRANSFORMFEEDBACKNVPROC __glewPauseTransformFeedbackNV = NULL;
1984 PFNGLRESUMETRANSFORMFEEDBACKNVPROC __glewResumeTransformFeedbackNV = NULL;
1986 PFNGLVDPAUFININVPROC __glewVDPAUFiniNV = NULL;
1987 PFNGLVDPAUGETSURFACEIVNVPROC __glewVDPAUGetSurfaceivNV = NULL;
1988 PFNGLVDPAUINITNVPROC __glewVDPAUInitNV = NULL;
1989 PFNGLVDPAUISSURFACENVPROC __glewVDPAUIsSurfaceNV = NULL;
1990 PFNGLVDPAUMAPSURFACESNVPROC __glewVDPAUMapSurfacesNV = NULL;
1991 PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC __glewVDPAURegisterOutputSurfaceNV = NULL;
1992 PFNGLVDPAUREGISTERVIDEOSURFACENVPROC __glewVDPAURegisterVideoSurfaceNV = NULL;
1993 PFNGLVDPAUSURFACEACCESSNVPROC __glewVDPAUSurfaceAccessNV = NULL;
1994 PFNGLVDPAUUNMAPSURFACESNVPROC __glewVDPAUUnmapSurfacesNV = NULL;
1995 PFNGLVDPAUUNREGISTERSURFACENVPROC __glewVDPAUUnregisterSurfaceNV = NULL;
1997 PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL;
1998 PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL;
2000 PFNGLGETVERTEXATTRIBLI64VNVPROC __glewGetVertexAttribLi64vNV = NULL;
2001 PFNGLGETVERTEXATTRIBLUI64VNVPROC __glewGetVertexAttribLui64vNV = NULL;
2002 PFNGLVERTEXATTRIBL1I64NVPROC __glewVertexAttribL1i64NV = NULL;
2003 PFNGLVERTEXATTRIBL1I64VNVPROC __glewVertexAttribL1i64vNV = NULL;
2004 PFNGLVERTEXATTRIBL1UI64NVPROC __glewVertexAttribL1ui64NV = NULL;
2005 PFNGLVERTEXATTRIBL1UI64VNVPROC __glewVertexAttribL1ui64vNV = NULL;
2006 PFNGLVERTEXATTRIBL2I64NVPROC __glewVertexAttribL2i64NV = NULL;
2007 PFNGLVERTEXATTRIBL2I64VNVPROC __glewVertexAttribL2i64vNV = NULL;
2008 PFNGLVERTEXATTRIBL2UI64NVPROC __glewVertexAttribL2ui64NV = NULL;
2009 PFNGLVERTEXATTRIBL2UI64VNVPROC __glewVertexAttribL2ui64vNV = NULL;
2010 PFNGLVERTEXATTRIBL3I64NVPROC __glewVertexAttribL3i64NV = NULL;
2011 PFNGLVERTEXATTRIBL3I64VNVPROC __glewVertexAttribL3i64vNV = NULL;
2012 PFNGLVERTEXATTRIBL3UI64NVPROC __glewVertexAttribL3ui64NV = NULL;
2013 PFNGLVERTEXATTRIBL3UI64VNVPROC __glewVertexAttribL3ui64vNV = NULL;
2014 PFNGLVERTEXATTRIBL4I64NVPROC __glewVertexAttribL4i64NV = NULL;
2015 PFNGLVERTEXATTRIBL4I64VNVPROC __glewVertexAttribL4i64vNV = NULL;
2016 PFNGLVERTEXATTRIBL4UI64NVPROC __glewVertexAttribL4ui64NV = NULL;
2017 PFNGLVERTEXATTRIBL4UI64VNVPROC __glewVertexAttribL4ui64vNV = NULL;
2018 PFNGLVERTEXATTRIBLFORMATNVPROC __glewVertexAttribLFormatNV = NULL;
2020 PFNGLBUFFERADDRESSRANGENVPROC __glewBufferAddressRangeNV = NULL;
2021 PFNGLCOLORFORMATNVPROC __glewColorFormatNV = NULL;
2022 PFNGLEDGEFLAGFORMATNVPROC __glewEdgeFlagFormatNV = NULL;
2023 PFNGLFOGCOORDFORMATNVPROC __glewFogCoordFormatNV = NULL;
2024 PFNGLGETINTEGERUI64I_VNVPROC __glewGetIntegerui64i_vNV = NULL;
2025 PFNGLINDEXFORMATNVPROC __glewIndexFormatNV = NULL;
2026 PFNGLNORMALFORMATNVPROC __glewNormalFormatNV = NULL;
2027 PFNGLSECONDARYCOLORFORMATNVPROC __glewSecondaryColorFormatNV = NULL;
2028 PFNGLTEXCOORDFORMATNVPROC __glewTexCoordFormatNV = NULL;
2029 PFNGLVERTEXATTRIBFORMATNVPROC __glewVertexAttribFormatNV = NULL;
2030 PFNGLVERTEXATTRIBIFORMATNVPROC __glewVertexAttribIFormatNV = NULL;
2031 PFNGLVERTEXFORMATNVPROC __glewVertexFormatNV = NULL;
2033 PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV = NULL;
2034 PFNGLBINDPROGRAMNVPROC __glewBindProgramNV = NULL;
2035 PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV = NULL;
2036 PFNGLEXECUTEPROGRAMNVPROC __glewExecuteProgramNV = NULL;
2037 PFNGLGENPROGRAMSNVPROC __glewGenProgramsNV = NULL;
2038 PFNGLGETPROGRAMPARAMETERDVNVPROC __glewGetProgramParameterdvNV = NULL;
2039 PFNGLGETPROGRAMPARAMETERFVNVPROC __glewGetProgramParameterfvNV = NULL;
2040 PFNGLGETPROGRAMSTRINGNVPROC __glewGetProgramStringNV = NULL;
2041 PFNGLGETPROGRAMIVNVPROC __glewGetProgramivNV = NULL;
2042 PFNGLGETTRACKMATRIXIVNVPROC __glewGetTrackMatrixivNV = NULL;
2043 PFNGLGETVERTEXATTRIBPOINTERVNVPROC __glewGetVertexAttribPointervNV = NULL;
2044 PFNGLGETVERTEXATTRIBDVNVPROC __glewGetVertexAttribdvNV = NULL;
2045 PFNGLGETVERTEXATTRIBFVNVPROC __glewGetVertexAttribfvNV = NULL;
2046 PFNGLGETVERTEXATTRIBIVNVPROC __glewGetVertexAttribivNV = NULL;
2047 PFNGLISPROGRAMNVPROC __glewIsProgramNV = NULL;
2048 PFNGLLOADPROGRAMNVPROC __glewLoadProgramNV = NULL;
2049 PFNGLPROGRAMPARAMETER4DNVPROC __glewProgramParameter4dNV = NULL;
2050 PFNGLPROGRAMPARAMETER4DVNVPROC __glewProgramParameter4dvNV = NULL;
2051 PFNGLPROGRAMPARAMETER4FNVPROC __glewProgramParameter4fNV = NULL;
2052 PFNGLPROGRAMPARAMETER4FVNVPROC __glewProgramParameter4fvNV = NULL;
2053 PFNGLPROGRAMPARAMETERS4DVNVPROC __glewProgramParameters4dvNV = NULL;
2054 PFNGLPROGRAMPARAMETERS4FVNVPROC __glewProgramParameters4fvNV = NULL;
2055 PFNGLREQUESTRESIDENTPROGRAMSNVPROC __glewRequestResidentProgramsNV = NULL;
2056 PFNGLTRACKMATRIXNVPROC __glewTrackMatrixNV = NULL;
2057 PFNGLVERTEXATTRIB1DNVPROC __glewVertexAttrib1dNV = NULL;
2058 PFNGLVERTEXATTRIB1DVNVPROC __glewVertexAttrib1dvNV = NULL;
2059 PFNGLVERTEXATTRIB1FNVPROC __glewVertexAttrib1fNV = NULL;
2060 PFNGLVERTEXATTRIB1FVNVPROC __glewVertexAttrib1fvNV = NULL;
2061 PFNGLVERTEXATTRIB1SNVPROC __glewVertexAttrib1sNV = NULL;
2062 PFNGLVERTEXATTRIB1SVNVPROC __glewVertexAttrib1svNV = NULL;
2063 PFNGLVERTEXATTRIB2DNVPROC __glewVertexAttrib2dNV = NULL;
2064 PFNGLVERTEXATTRIB2DVNVPROC __glewVertexAttrib2dvNV = NULL;
2065 PFNGLVERTEXATTRIB2FNVPROC __glewVertexAttrib2fNV = NULL;
2066 PFNGLVERTEXATTRIB2FVNVPROC __glewVertexAttrib2fvNV = NULL;
2067 PFNGLVERTEXATTRIB2SNVPROC __glewVertexAttrib2sNV = NULL;
2068 PFNGLVERTEXATTRIB2SVNVPROC __glewVertexAttrib2svNV = NULL;
2069 PFNGLVERTEXATTRIB3DNVPROC __glewVertexAttrib3dNV = NULL;
2070 PFNGLVERTEXATTRIB3DVNVPROC __glewVertexAttrib3dvNV = NULL;
2071 PFNGLVERTEXATTRIB3FNVPROC __glewVertexAttrib3fNV = NULL;
2072 PFNGLVERTEXATTRIB3FVNVPROC __glewVertexAttrib3fvNV = NULL;
2073 PFNGLVERTEXATTRIB3SNVPROC __glewVertexAttrib3sNV = NULL;
2074 PFNGLVERTEXATTRIB3SVNVPROC __glewVertexAttrib3svNV = NULL;
2075 PFNGLVERTEXATTRIB4DNVPROC __glewVertexAttrib4dNV = NULL;
2076 PFNGLVERTEXATTRIB4DVNVPROC __glewVertexAttrib4dvNV = NULL;
2077 PFNGLVERTEXATTRIB4FNVPROC __glewVertexAttrib4fNV = NULL;
2078 PFNGLVERTEXATTRIB4FVNVPROC __glewVertexAttrib4fvNV = NULL;
2079 PFNGLVERTEXATTRIB4SNVPROC __glewVertexAttrib4sNV = NULL;
2080 PFNGLVERTEXATTRIB4SVNVPROC __glewVertexAttrib4svNV = NULL;
2081 PFNGLVERTEXATTRIB4UBNVPROC __glewVertexAttrib4ubNV = NULL;
2082 PFNGLVERTEXATTRIB4UBVNVPROC __glewVertexAttrib4ubvNV = NULL;
2083 PFNGLVERTEXATTRIBPOINTERNVPROC __glewVertexAttribPointerNV = NULL;
2084 PFNGLVERTEXATTRIBS1DVNVPROC __glewVertexAttribs1dvNV = NULL;
2085 PFNGLVERTEXATTRIBS1FVNVPROC __glewVertexAttribs1fvNV = NULL;
2086 PFNGLVERTEXATTRIBS1SVNVPROC __glewVertexAttribs1svNV = NULL;
2087 PFNGLVERTEXATTRIBS2DVNVPROC __glewVertexAttribs2dvNV = NULL;
2088 PFNGLVERTEXATTRIBS2FVNVPROC __glewVertexAttribs2fvNV = NULL;
2089 PFNGLVERTEXATTRIBS2SVNVPROC __glewVertexAttribs2svNV = NULL;
2090 PFNGLVERTEXATTRIBS3DVNVPROC __glewVertexAttribs3dvNV = NULL;
2091 PFNGLVERTEXATTRIBS3FVNVPROC __glewVertexAttribs3fvNV = NULL;
2092 PFNGLVERTEXATTRIBS3SVNVPROC __glewVertexAttribs3svNV = NULL;
2093 PFNGLVERTEXATTRIBS4DVNVPROC __glewVertexAttribs4dvNV = NULL;
2094 PFNGLVERTEXATTRIBS4FVNVPROC __glewVertexAttribs4fvNV = NULL;
2095 PFNGLVERTEXATTRIBS4SVNVPROC __glewVertexAttribs4svNV = NULL;
2096 PFNGLVERTEXATTRIBS4UBVNVPROC __glewVertexAttribs4ubvNV = NULL;
2098 PFNGLCLEARDEPTHFOESPROC __glewClearDepthfOES = NULL;
2099 PFNGLCLIPPLANEFOESPROC __glewClipPlanefOES = NULL;
2100 PFNGLDEPTHRANGEFOESPROC __glewDepthRangefOES = NULL;
2101 PFNGLFRUSTUMFOESPROC __glewFrustumfOES = NULL;
2102 PFNGLGETCLIPPLANEFOESPROC __glewGetClipPlanefOES = NULL;
2103 PFNGLORTHOFOESPROC __glewOrthofOES = NULL;
2105 PFNGLDETAILTEXFUNCSGISPROC __glewDetailTexFuncSGIS = NULL;
2106 PFNGLGETDETAILTEXFUNCSGISPROC __glewGetDetailTexFuncSGIS = NULL;
2108 PFNGLFOGFUNCSGISPROC __glewFogFuncSGIS = NULL;
2109 PFNGLGETFOGFUNCSGISPROC __glewGetFogFuncSGIS = NULL;
2111 PFNGLSAMPLEMASKSGISPROC __glewSampleMaskSGIS = NULL;
2112 PFNGLSAMPLEPATTERNSGISPROC __glewSamplePatternSGIS = NULL;
2114 PFNGLGETSHARPENTEXFUNCSGISPROC __glewGetSharpenTexFuncSGIS = NULL;
2115 PFNGLSHARPENTEXFUNCSGISPROC __glewSharpenTexFuncSGIS = NULL;
2117 PFNGLTEXIMAGE4DSGISPROC __glewTexImage4DSGIS = NULL;
2118 PFNGLTEXSUBIMAGE4DSGISPROC __glewTexSubImage4DSGIS = NULL;
2120 PFNGLGETTEXFILTERFUNCSGISPROC __glewGetTexFilterFuncSGIS = NULL;
2121 PFNGLTEXFILTERFUNCSGISPROC __glewTexFilterFuncSGIS = NULL;
2123 PFNGLASYNCMARKERSGIXPROC __glewAsyncMarkerSGIX = NULL;
2124 PFNGLDELETEASYNCMARKERSSGIXPROC __glewDeleteAsyncMarkersSGIX = NULL;
2125 PFNGLFINISHASYNCSGIXPROC __glewFinishAsyncSGIX = NULL;
2126 PFNGLGENASYNCMARKERSSGIXPROC __glewGenAsyncMarkersSGIX = NULL;
2127 PFNGLISASYNCMARKERSGIXPROC __glewIsAsyncMarkerSGIX = NULL;
2128 PFNGLPOLLASYNCSGIXPROC __glewPollAsyncSGIX = NULL;
2130 PFNGLFLUSHRASTERSGIXPROC __glewFlushRasterSGIX = NULL;
2132 PFNGLTEXTUREFOGSGIXPROC __glewTextureFogSGIX = NULL;
2134 PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX = NULL;
2135 PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX = NULL;
2136 PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX = NULL;
2137 PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX = NULL;
2138 PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX = NULL;
2139 PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX = NULL;
2140 PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX = NULL;
2141 PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX = NULL;
2142 PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX = NULL;
2143 PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX = NULL;
2144 PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX = NULL;
2145 PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX = NULL;
2146 PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX = NULL;
2147 PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX = NULL;
2148 PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX = NULL;
2149 PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX = NULL;
2150 PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX = NULL;
2152 PFNGLFRAMEZOOMSGIXPROC __glewFrameZoomSGIX = NULL;
2154 PFNGLPIXELTEXGENSGIXPROC __glewPixelTexGenSGIX = NULL;
2156 PFNGLREFERENCEPLANESGIXPROC __glewReferencePlaneSGIX = NULL;
2158 PFNGLSPRITEPARAMETERFSGIXPROC __glewSpriteParameterfSGIX = NULL;
2159 PFNGLSPRITEPARAMETERFVSGIXPROC __glewSpriteParameterfvSGIX = NULL;
2160 PFNGLSPRITEPARAMETERISGIXPROC __glewSpriteParameteriSGIX = NULL;
2161 PFNGLSPRITEPARAMETERIVSGIXPROC __glewSpriteParameterivSGIX = NULL;
2163 PFNGLTAGSAMPLEBUFFERSGIXPROC __glewTagSampleBufferSGIX = NULL;
2165 PFNGLCOLORTABLEPARAMETERFVSGIPROC __glewColorTableParameterfvSGI = NULL;
2166 PFNGLCOLORTABLEPARAMETERIVSGIPROC __glewColorTableParameterivSGI = NULL;
2167 PFNGLCOLORTABLESGIPROC __glewColorTableSGI = NULL;
2168 PFNGLCOPYCOLORTABLESGIPROC __glewCopyColorTableSGI = NULL;
2169 PFNGLGETCOLORTABLEPARAMETERFVSGIPROC __glewGetColorTableParameterfvSGI = NULL;
2170 PFNGLGETCOLORTABLEPARAMETERIVSGIPROC __glewGetColorTableParameterivSGI = NULL;
2171 PFNGLGETCOLORTABLESGIPROC __glewGetColorTableSGI = NULL;
2173 PFNGLFINISHTEXTURESUNXPROC __glewFinishTextureSUNX = NULL;
2175 PFNGLGLOBALALPHAFACTORBSUNPROC __glewGlobalAlphaFactorbSUN = NULL;
2176 PFNGLGLOBALALPHAFACTORDSUNPROC __glewGlobalAlphaFactordSUN = NULL;
2177 PFNGLGLOBALALPHAFACTORFSUNPROC __glewGlobalAlphaFactorfSUN = NULL;
2178 PFNGLGLOBALALPHAFACTORISUNPROC __glewGlobalAlphaFactoriSUN = NULL;
2179 PFNGLGLOBALALPHAFACTORSSUNPROC __glewGlobalAlphaFactorsSUN = NULL;
2180 PFNGLGLOBALALPHAFACTORUBSUNPROC __glewGlobalAlphaFactorubSUN = NULL;
2181 PFNGLGLOBALALPHAFACTORUISUNPROC __glewGlobalAlphaFactoruiSUN = NULL;
2182 PFNGLGLOBALALPHAFACTORUSSUNPROC __glewGlobalAlphaFactorusSUN = NULL;
2184 PFNGLREADVIDEOPIXELSSUNPROC __glewReadVideoPixelsSUN = NULL;
2186 PFNGLREPLACEMENTCODEPOINTERSUNPROC __glewReplacementCodePointerSUN = NULL;
2187 PFNGLREPLACEMENTCODEUBSUNPROC __glewReplacementCodeubSUN = NULL;
2188 PFNGLREPLACEMENTCODEUBVSUNPROC __glewReplacementCodeubvSUN = NULL;
2189 PFNGLREPLACEMENTCODEUISUNPROC __glewReplacementCodeuiSUN = NULL;
2190 PFNGLREPLACEMENTCODEUIVSUNPROC __glewReplacementCodeuivSUN = NULL;
2191 PFNGLREPLACEMENTCODEUSSUNPROC __glewReplacementCodeusSUN = NULL;
2192 PFNGLREPLACEMENTCODEUSVSUNPROC __glewReplacementCodeusvSUN = NULL;
2194 PFNGLCOLOR3FVERTEX3FSUNPROC __glewColor3fVertex3fSUN = NULL;
2195 PFNGLCOLOR3FVERTEX3FVSUNPROC __glewColor3fVertex3fvSUN = NULL;
2196 PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewColor4fNormal3fVertex3fSUN = NULL;
2197 PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewColor4fNormal3fVertex3fvSUN = NULL;
2198 PFNGLCOLOR4UBVERTEX2FSUNPROC __glewColor4ubVertex2fSUN = NULL;
2199 PFNGLCOLOR4UBVERTEX2FVSUNPROC __glewColor4ubVertex2fvSUN = NULL;
2200 PFNGLCOLOR4UBVERTEX3FSUNPROC __glewColor4ubVertex3fSUN = NULL;
2201 PFNGLCOLOR4UBVERTEX3FVSUNPROC __glewColor4ubVertex3fvSUN = NULL;
2202 PFNGLNORMAL3FVERTEX3FSUNPROC __glewNormal3fVertex3fSUN = NULL;
2203 PFNGLNORMAL3FVERTEX3FVSUNPROC __glewNormal3fVertex3fvSUN = NULL;
2204 PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC __glewReplacementCodeuiColor3fVertex3fSUN = NULL;
2205 PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor3fVertex3fvSUN = NULL;
2206 PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fSUN = NULL;
2207 PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fvSUN = NULL;
2208 PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC __glewReplacementCodeuiColor4ubVertex3fSUN = NULL;
2209 PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC __glewReplacementCodeuiColor4ubVertex3fvSUN = NULL;
2210 PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiNormal3fVertex3fSUN = NULL;
2211 PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiNormal3fVertex3fvSUN = NULL;
2212 PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
2213 PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
2214 PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = NULL;
2215 PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = NULL;
2216 PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fSUN = NULL;
2217 PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fvSUN = NULL;
2218 PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC __glewReplacementCodeuiVertex3fSUN = NULL;
2219 PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC __glewReplacementCodeuiVertex3fvSUN = NULL;
2220 PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC __glewTexCoord2fColor3fVertex3fSUN = NULL;
2221 PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC __glewTexCoord2fColor3fVertex3fvSUN = NULL;
2222 PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
2223 PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
2224 PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC __glewTexCoord2fColor4ubVertex3fSUN = NULL;
2225 PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC __glewTexCoord2fColor4ubVertex3fvSUN = NULL;
2226 PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fNormal3fVertex3fSUN = NULL;
2227 PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fNormal3fVertex3fvSUN = NULL;
2228 PFNGLTEXCOORD2FVERTEX3FSUNPROC __glewTexCoord2fVertex3fSUN = NULL;
2229 PFNGLTEXCOORD2FVERTEX3FVSUNPROC __glewTexCoord2fVertex3fvSUN = NULL;
2230 PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fSUN = NULL;
2231 PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fvSUN = NULL;
2232 PFNGLTEXCOORD4FVERTEX4FSUNPROC __glewTexCoord4fVertex4fSUN = NULL;
2233 PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN = NULL;
2235 PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN = NULL;
2237 #endif /* !WIN32 || !GLEW_MX */
2239 #if !defined(GLEW_MX)
2241 GLboolean __GLEW_VERSION_1_1 = GL_FALSE;
2242 GLboolean __GLEW_VERSION_1_2 = GL_FALSE;
2243 GLboolean __GLEW_VERSION_1_3 = GL_FALSE;
2244 GLboolean __GLEW_VERSION_1_4 = GL_FALSE;
2245 GLboolean __GLEW_VERSION_1_5 = GL_FALSE;
2246 GLboolean __GLEW_VERSION_2_0 = GL_FALSE;
2247 GLboolean __GLEW_VERSION_2_1 = GL_FALSE;
2248 GLboolean __GLEW_VERSION_3_0 = GL_FALSE;
2249 GLboolean __GLEW_VERSION_3_1 = GL_FALSE;
2250 GLboolean __GLEW_VERSION_3_2 = GL_FALSE;
2251 GLboolean __GLEW_VERSION_3_3 = GL_FALSE;
2252 GLboolean __GLEW_VERSION_4_0 = GL_FALSE;
2253 GLboolean __GLEW_3DFX_multisample = GL_FALSE;
2254 GLboolean __GLEW_3DFX_tbuffer = GL_FALSE;
2255 GLboolean __GLEW_3DFX_texture_compression_FXT1 = GL_FALSE;
2256 GLboolean __GLEW_AMD_conservative_depth = GL_FALSE;
2257 GLboolean __GLEW_AMD_debug_output = GL_FALSE;
2258 GLboolean __GLEW_AMD_draw_buffers_blend = GL_FALSE;
2259 GLboolean __GLEW_AMD_name_gen_delete = GL_FALSE;
2260 GLboolean __GLEW_AMD_performance_monitor = GL_FALSE;
2261 GLboolean __GLEW_AMD_seamless_cubemap_per_texture = GL_FALSE;
2262 GLboolean __GLEW_AMD_shader_stencil_export = GL_FALSE;
2263 GLboolean __GLEW_AMD_texture_texture4 = GL_FALSE;
2264 GLboolean __GLEW_AMD_transform_feedback3_lines_triangles = GL_FALSE;
2265 GLboolean __GLEW_AMD_vertex_shader_tessellator = GL_FALSE;
2266 GLboolean __GLEW_APPLE_aux_depth_stencil = GL_FALSE;
2267 GLboolean __GLEW_APPLE_client_storage = GL_FALSE;
2268 GLboolean __GLEW_APPLE_element_array = GL_FALSE;
2269 GLboolean __GLEW_APPLE_fence = GL_FALSE;
2270 GLboolean __GLEW_APPLE_float_pixels = GL_FALSE;
2271 GLboolean __GLEW_APPLE_flush_buffer_range = GL_FALSE;
2272 GLboolean __GLEW_APPLE_object_purgeable = GL_FALSE;
2273 GLboolean __GLEW_APPLE_pixel_buffer = GL_FALSE;
2274 GLboolean __GLEW_APPLE_rgb_422 = GL_FALSE;
2275 GLboolean __GLEW_APPLE_row_bytes = GL_FALSE;
2276 GLboolean __GLEW_APPLE_specular_vector = GL_FALSE;
2277 GLboolean __GLEW_APPLE_texture_range = GL_FALSE;
2278 GLboolean __GLEW_APPLE_transform_hint = GL_FALSE;
2279 GLboolean __GLEW_APPLE_vertex_array_object = GL_FALSE;
2280 GLboolean __GLEW_APPLE_vertex_array_range = GL_FALSE;
2281 GLboolean __GLEW_APPLE_vertex_program_evaluators = GL_FALSE;
2282 GLboolean __GLEW_APPLE_ycbcr_422 = GL_FALSE;
2283 GLboolean __GLEW_ARB_blend_func_extended = GL_FALSE;
2284 GLboolean __GLEW_ARB_color_buffer_float = GL_FALSE;
2285 GLboolean __GLEW_ARB_compatibility = GL_FALSE;
2286 GLboolean __GLEW_ARB_copy_buffer = GL_FALSE;
2287 GLboolean __GLEW_ARB_depth_buffer_float = GL_FALSE;
2288 GLboolean __GLEW_ARB_depth_clamp = GL_FALSE;
2289 GLboolean __GLEW_ARB_depth_texture = GL_FALSE;
2290 GLboolean __GLEW_ARB_draw_buffers = GL_FALSE;
2291 GLboolean __GLEW_ARB_draw_buffers_blend = GL_FALSE;
2292 GLboolean __GLEW_ARB_draw_elements_base_vertex = GL_FALSE;
2293 GLboolean __GLEW_ARB_draw_indirect = GL_FALSE;
2294 GLboolean __GLEW_ARB_draw_instanced = GL_FALSE;
2295 GLboolean __GLEW_ARB_explicit_attrib_location = GL_FALSE;
2296 GLboolean __GLEW_ARB_fragment_coord_conventions = GL_FALSE;
2297 GLboolean __GLEW_ARB_fragment_program = GL_FALSE;
2298 GLboolean __GLEW_ARB_fragment_program_shadow = GL_FALSE;
2299 GLboolean __GLEW_ARB_fragment_shader = GL_FALSE;
2300 GLboolean __GLEW_ARB_framebuffer_object = GL_FALSE;
2301 GLboolean __GLEW_ARB_framebuffer_sRGB = GL_FALSE;
2302 GLboolean __GLEW_ARB_geometry_shader4 = GL_FALSE;
2303 GLboolean __GLEW_ARB_gpu_shader5 = GL_FALSE;
2304 GLboolean __GLEW_ARB_gpu_shader_fp64 = GL_FALSE;
2305 GLboolean __GLEW_ARB_half_float_pixel = GL_FALSE;
2306 GLboolean __GLEW_ARB_half_float_vertex = GL_FALSE;
2307 GLboolean __GLEW_ARB_imaging = GL_FALSE;
2308 GLboolean __GLEW_ARB_instanced_arrays = GL_FALSE;
2309 GLboolean __GLEW_ARB_map_buffer_range = GL_FALSE;
2310 GLboolean __GLEW_ARB_matrix_palette = GL_FALSE;
2311 GLboolean __GLEW_ARB_multisample = GL_FALSE;
2312 GLboolean __GLEW_ARB_multitexture = GL_FALSE;
2313 GLboolean __GLEW_ARB_occlusion_query = GL_FALSE;
2314 GLboolean __GLEW_ARB_occlusion_query2 = GL_FALSE;
2315 GLboolean __GLEW_ARB_pixel_buffer_object = GL_FALSE;
2316 GLboolean __GLEW_ARB_point_parameters = GL_FALSE;
2317 GLboolean __GLEW_ARB_point_sprite = GL_FALSE;
2318 GLboolean __GLEW_ARB_provoking_vertex = GL_FALSE;
2319 GLboolean __GLEW_ARB_sample_shading = GL_FALSE;
2320 GLboolean __GLEW_ARB_sampler_objects = GL_FALSE;
2321 GLboolean __GLEW_ARB_seamless_cube_map = GL_FALSE;
2322 GLboolean __GLEW_ARB_shader_bit_encoding = GL_FALSE;
2323 GLboolean __GLEW_ARB_shader_objects = GL_FALSE;
2324 GLboolean __GLEW_ARB_shader_subroutine = GL_FALSE;
2325 GLboolean __GLEW_ARB_shader_texture_lod = GL_FALSE;
2326 GLboolean __GLEW_ARB_shading_language_100 = GL_FALSE;
2327 GLboolean __GLEW_ARB_shading_language_include = GL_FALSE;
2328 GLboolean __GLEW_ARB_shadow = GL_FALSE;
2329 GLboolean __GLEW_ARB_shadow_ambient = GL_FALSE;
2330 GLboolean __GLEW_ARB_sync = GL_FALSE;
2331 GLboolean __GLEW_ARB_tessellation_shader = GL_FALSE;
2332 GLboolean __GLEW_ARB_texture_border_clamp = GL_FALSE;
2333 GLboolean __GLEW_ARB_texture_buffer_object = GL_FALSE;
2334 GLboolean __GLEW_ARB_texture_buffer_object_rgb32 = GL_FALSE;
2335 GLboolean __GLEW_ARB_texture_compression = GL_FALSE;
2336 GLboolean __GLEW_ARB_texture_compression_bptc = GL_FALSE;
2337 GLboolean __GLEW_ARB_texture_compression_rgtc = GL_FALSE;
2338 GLboolean __GLEW_ARB_texture_cube_map = GL_FALSE;
2339 GLboolean __GLEW_ARB_texture_cube_map_array = GL_FALSE;
2340 GLboolean __GLEW_ARB_texture_env_add = GL_FALSE;
2341 GLboolean __GLEW_ARB_texture_env_combine = GL_FALSE;
2342 GLboolean __GLEW_ARB_texture_env_crossbar = GL_FALSE;
2343 GLboolean __GLEW_ARB_texture_env_dot3 = GL_FALSE;
2344 GLboolean __GLEW_ARB_texture_float = GL_FALSE;
2345 GLboolean __GLEW_ARB_texture_gather = GL_FALSE;
2346 GLboolean __GLEW_ARB_texture_mirrored_repeat = GL_FALSE;
2347 GLboolean __GLEW_ARB_texture_multisample = GL_FALSE;
2348 GLboolean __GLEW_ARB_texture_non_power_of_two = GL_FALSE;
2349 GLboolean __GLEW_ARB_texture_query_lod = GL_FALSE;
2350 GLboolean __GLEW_ARB_texture_rectangle = GL_FALSE;
2351 GLboolean __GLEW_ARB_texture_rg = GL_FALSE;
2352 GLboolean __GLEW_ARB_texture_rgb10_a2ui = GL_FALSE;
2353 GLboolean __GLEW_ARB_texture_swizzle = GL_FALSE;
2354 GLboolean __GLEW_ARB_timer_query = GL_FALSE;
2355 GLboolean __GLEW_ARB_transform_feedback2 = GL_FALSE;
2356 GLboolean __GLEW_ARB_transform_feedback3 = GL_FALSE;
2357 GLboolean __GLEW_ARB_transpose_matrix = GL_FALSE;
2358 GLboolean __GLEW_ARB_uniform_buffer_object = GL_FALSE;
2359 GLboolean __GLEW_ARB_vertex_array_bgra = GL_FALSE;
2360 GLboolean __GLEW_ARB_vertex_array_object = GL_FALSE;
2361 GLboolean __GLEW_ARB_vertex_blend = GL_FALSE;
2362 GLboolean __GLEW_ARB_vertex_buffer_object = GL_FALSE;
2363 GLboolean __GLEW_ARB_vertex_program = GL_FALSE;
2364 GLboolean __GLEW_ARB_vertex_shader = GL_FALSE;
2365 GLboolean __GLEW_ARB_vertex_type_2_10_10_10_rev = GL_FALSE;
2366 GLboolean __GLEW_ARB_window_pos = GL_FALSE;
2367 GLboolean __GLEW_ATIX_point_sprites = GL_FALSE;
2368 GLboolean __GLEW_ATIX_texture_env_combine3 = GL_FALSE;
2369 GLboolean __GLEW_ATIX_texture_env_route = GL_FALSE;
2370 GLboolean __GLEW_ATIX_vertex_shader_output_point_size = GL_FALSE;
2371 GLboolean __GLEW_ATI_draw_buffers = GL_FALSE;
2372 GLboolean __GLEW_ATI_element_array = GL_FALSE;
2373 GLboolean __GLEW_ATI_envmap_bumpmap = GL_FALSE;
2374 GLboolean __GLEW_ATI_fragment_shader = GL_FALSE;
2375 GLboolean __GLEW_ATI_map_object_buffer = GL_FALSE;
2376 GLboolean __GLEW_ATI_meminfo = GL_FALSE;
2377 GLboolean __GLEW_ATI_pn_triangles = GL_FALSE;
2378 GLboolean __GLEW_ATI_separate_stencil = GL_FALSE;
2379 GLboolean __GLEW_ATI_shader_texture_lod = GL_FALSE;
2380 GLboolean __GLEW_ATI_text_fragment_shader = GL_FALSE;
2381 GLboolean __GLEW_ATI_texture_compression_3dc = GL_FALSE;
2382 GLboolean __GLEW_ATI_texture_env_combine3 = GL_FALSE;
2383 GLboolean __GLEW_ATI_texture_float = GL_FALSE;
2384 GLboolean __GLEW_ATI_texture_mirror_once = GL_FALSE;
2385 GLboolean __GLEW_ATI_vertex_array_object = GL_FALSE;
2386 GLboolean __GLEW_ATI_vertex_attrib_array_object = GL_FALSE;
2387 GLboolean __GLEW_ATI_vertex_streams = GL_FALSE;
2388 GLboolean __GLEW_EXT_422_pixels = GL_FALSE;
2389 GLboolean __GLEW_EXT_Cg_shader = GL_FALSE;
2390 GLboolean __GLEW_EXT_abgr = GL_FALSE;
2391 GLboolean __GLEW_EXT_bgra = GL_FALSE;
2392 GLboolean __GLEW_EXT_bindable_uniform = GL_FALSE;
2393 GLboolean __GLEW_EXT_blend_color = GL_FALSE;
2394 GLboolean __GLEW_EXT_blend_equation_separate = GL_FALSE;
2395 GLboolean __GLEW_EXT_blend_func_separate = GL_FALSE;
2396 GLboolean __GLEW_EXT_blend_logic_op = GL_FALSE;
2397 GLboolean __GLEW_EXT_blend_minmax = GL_FALSE;
2398 GLboolean __GLEW_EXT_blend_subtract = GL_FALSE;
2399 GLboolean __GLEW_EXT_clip_volume_hint = GL_FALSE;
2400 GLboolean __GLEW_EXT_cmyka = GL_FALSE;
2401 GLboolean __GLEW_EXT_color_subtable = GL_FALSE;
2402 GLboolean __GLEW_EXT_compiled_vertex_array = GL_FALSE;
2403 GLboolean __GLEW_EXT_convolution = GL_FALSE;
2404 GLboolean __GLEW_EXT_coordinate_frame = GL_FALSE;
2405 GLboolean __GLEW_EXT_copy_texture = GL_FALSE;
2406 GLboolean __GLEW_EXT_cull_vertex = GL_FALSE;
2407 GLboolean __GLEW_EXT_depth_bounds_test = GL_FALSE;
2408 GLboolean __GLEW_EXT_direct_state_access = GL_FALSE;
2409 GLboolean __GLEW_EXT_draw_buffers2 = GL_FALSE;
2410 GLboolean __GLEW_EXT_draw_instanced = GL_FALSE;
2411 GLboolean __GLEW_EXT_draw_range_elements = GL_FALSE;
2412 GLboolean __GLEW_EXT_fog_coord = GL_FALSE;
2413 GLboolean __GLEW_EXT_fragment_lighting = GL_FALSE;
2414 GLboolean __GLEW_EXT_framebuffer_blit = GL_FALSE;
2415 GLboolean __GLEW_EXT_framebuffer_multisample = GL_FALSE;
2416 GLboolean __GLEW_EXT_framebuffer_object = GL_FALSE;
2417 GLboolean __GLEW_EXT_framebuffer_sRGB = GL_FALSE;
2418 GLboolean __GLEW_EXT_geometry_shader4 = GL_FALSE;
2419 GLboolean __GLEW_EXT_gpu_program_parameters = GL_FALSE;
2420 GLboolean __GLEW_EXT_gpu_shader4 = GL_FALSE;
2421 GLboolean __GLEW_EXT_histogram = GL_FALSE;
2422 GLboolean __GLEW_EXT_index_array_formats = GL_FALSE;
2423 GLboolean __GLEW_EXT_index_func = GL_FALSE;
2424 GLboolean __GLEW_EXT_index_material = GL_FALSE;
2425 GLboolean __GLEW_EXT_index_texture = GL_FALSE;
2426 GLboolean __GLEW_EXT_light_texture = GL_FALSE;
2427 GLboolean __GLEW_EXT_misc_attribute = GL_FALSE;
2428 GLboolean __GLEW_EXT_multi_draw_arrays = GL_FALSE;
2429 GLboolean __GLEW_EXT_multisample = GL_FALSE;
2430 GLboolean __GLEW_EXT_packed_depth_stencil = GL_FALSE;
2431 GLboolean __GLEW_EXT_packed_float = GL_FALSE;
2432 GLboolean __GLEW_EXT_packed_pixels = GL_FALSE;
2433 GLboolean __GLEW_EXT_paletted_texture = GL_FALSE;
2434 GLboolean __GLEW_EXT_pixel_buffer_object = GL_FALSE;
2435 GLboolean __GLEW_EXT_pixel_transform = GL_FALSE;
2436 GLboolean __GLEW_EXT_pixel_transform_color_table = GL_FALSE;
2437 GLboolean __GLEW_EXT_point_parameters = GL_FALSE;
2438 GLboolean __GLEW_EXT_polygon_offset = GL_FALSE;
2439 GLboolean __GLEW_EXT_provoking_vertex = GL_FALSE;
2440 GLboolean __GLEW_EXT_rescale_normal = GL_FALSE;
2441 GLboolean __GLEW_EXT_scene_marker = GL_FALSE;
2442 GLboolean __GLEW_EXT_secondary_color = GL_FALSE;
2443 GLboolean __GLEW_EXT_separate_shader_objects = GL_FALSE;
2444 GLboolean __GLEW_EXT_separate_specular_color = GL_FALSE;
2445 GLboolean __GLEW_EXT_shader_image_load_store = GL_FALSE;
2446 GLboolean __GLEW_EXT_shadow_funcs = GL_FALSE;
2447 GLboolean __GLEW_EXT_shared_texture_palette = GL_FALSE;
2448 GLboolean __GLEW_EXT_stencil_clear_tag = GL_FALSE;
2449 GLboolean __GLEW_EXT_stencil_two_side = GL_FALSE;
2450 GLboolean __GLEW_EXT_stencil_wrap = GL_FALSE;
2451 GLboolean __GLEW_EXT_subtexture = GL_FALSE;
2452 GLboolean __GLEW_EXT_texture = GL_FALSE;
2453 GLboolean __GLEW_EXT_texture3D = GL_FALSE;
2454 GLboolean __GLEW_EXT_texture_array = GL_FALSE;
2455 GLboolean __GLEW_EXT_texture_buffer_object = GL_FALSE;
2456 GLboolean __GLEW_EXT_texture_compression_dxt1 = GL_FALSE;
2457 GLboolean __GLEW_EXT_texture_compression_latc = GL_FALSE;
2458 GLboolean __GLEW_EXT_texture_compression_rgtc = GL_FALSE;
2459 GLboolean __GLEW_EXT_texture_compression_s3tc = GL_FALSE;
2460 GLboolean __GLEW_EXT_texture_cube_map = GL_FALSE;
2461 GLboolean __GLEW_EXT_texture_edge_clamp = GL_FALSE;
2462 GLboolean __GLEW_EXT_texture_env = GL_FALSE;
2463 GLboolean __GLEW_EXT_texture_env_add = GL_FALSE;
2464 GLboolean __GLEW_EXT_texture_env_combine = GL_FALSE;
2465 GLboolean __GLEW_EXT_texture_env_dot3 = GL_FALSE;
2466 GLboolean __GLEW_EXT_texture_filter_anisotropic = GL_FALSE;
2467 GLboolean __GLEW_EXT_texture_integer = GL_FALSE;
2468 GLboolean __GLEW_EXT_texture_lod_bias = GL_FALSE;
2469 GLboolean __GLEW_EXT_texture_mirror_clamp = GL_FALSE;
2470 GLboolean __GLEW_EXT_texture_object = GL_FALSE;
2471 GLboolean __GLEW_EXT_texture_perturb_normal = GL_FALSE;
2472 GLboolean __GLEW_EXT_texture_rectangle = GL_FALSE;
2473 GLboolean __GLEW_EXT_texture_sRGB = GL_FALSE;
2474 GLboolean __GLEW_EXT_texture_shared_exponent = GL_FALSE;
2475 GLboolean __GLEW_EXT_texture_snorm = GL_FALSE;
2476 GLboolean __GLEW_EXT_texture_swizzle = GL_FALSE;
2477 GLboolean __GLEW_EXT_timer_query = GL_FALSE;
2478 GLboolean __GLEW_EXT_transform_feedback = GL_FALSE;
2479 GLboolean __GLEW_EXT_vertex_array = GL_FALSE;
2480 GLboolean __GLEW_EXT_vertex_array_bgra = GL_FALSE;
2481 GLboolean __GLEW_EXT_vertex_attrib_64bit = GL_FALSE;
2482 GLboolean __GLEW_EXT_vertex_shader = GL_FALSE;
2483 GLboolean __GLEW_EXT_vertex_weighting = GL_FALSE;
2484 GLboolean __GLEW_GREMEDY_frame_terminator = GL_FALSE;
2485 GLboolean __GLEW_GREMEDY_string_marker = GL_FALSE;
2486 GLboolean __GLEW_HP_convolution_border_modes = GL_FALSE;
2487 GLboolean __GLEW_HP_image_transform = GL_FALSE;
2488 GLboolean __GLEW_HP_occlusion_test = GL_FALSE;
2489 GLboolean __GLEW_HP_texture_lighting = GL_FALSE;
2490 GLboolean __GLEW_IBM_cull_vertex = GL_FALSE;
2491 GLboolean __GLEW_IBM_multimode_draw_arrays = GL_FALSE;
2492 GLboolean __GLEW_IBM_rasterpos_clip = GL_FALSE;
2493 GLboolean __GLEW_IBM_static_data = GL_FALSE;
2494 GLboolean __GLEW_IBM_texture_mirrored_repeat = GL_FALSE;
2495 GLboolean __GLEW_IBM_vertex_array_lists = GL_FALSE;
2496 GLboolean __GLEW_INGR_color_clamp = GL_FALSE;
2497 GLboolean __GLEW_INGR_interlace_read = GL_FALSE;
2498 GLboolean __GLEW_INTEL_parallel_arrays = GL_FALSE;
2499 GLboolean __GLEW_INTEL_texture_scissor = GL_FALSE;
2500 GLboolean __GLEW_KTX_buffer_region = GL_FALSE;
2501 GLboolean __GLEW_MESAX_texture_stack = GL_FALSE;
2502 GLboolean __GLEW_MESA_pack_invert = GL_FALSE;
2503 GLboolean __GLEW_MESA_resize_buffers = GL_FALSE;
2504 GLboolean __GLEW_MESA_window_pos = GL_FALSE;
2505 GLboolean __GLEW_MESA_ycbcr_texture = GL_FALSE;
2506 GLboolean __GLEW_NV_blend_square = GL_FALSE;
2507 GLboolean __GLEW_NV_conditional_render = GL_FALSE;
2508 GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE;
2509 GLboolean __GLEW_NV_copy_image = GL_FALSE;
2510 GLboolean __GLEW_NV_depth_buffer_float = GL_FALSE;
2511 GLboolean __GLEW_NV_depth_clamp = GL_FALSE;
2512 GLboolean __GLEW_NV_depth_range_unclamped = GL_FALSE;
2513 GLboolean __GLEW_NV_evaluators = GL_FALSE;
2514 GLboolean __GLEW_NV_explicit_multisample = GL_FALSE;
2515 GLboolean __GLEW_NV_fence = GL_FALSE;
2516 GLboolean __GLEW_NV_float_buffer = GL_FALSE;
2517 GLboolean __GLEW_NV_fog_distance = GL_FALSE;
2518 GLboolean __GLEW_NV_fragment_program = GL_FALSE;
2519 GLboolean __GLEW_NV_fragment_program2 = GL_FALSE;
2520 GLboolean __GLEW_NV_fragment_program4 = GL_FALSE;
2521 GLboolean __GLEW_NV_fragment_program_option = GL_FALSE;
2522 GLboolean __GLEW_NV_framebuffer_multisample_coverage = GL_FALSE;
2523 GLboolean __GLEW_NV_geometry_program4 = GL_FALSE;
2524 GLboolean __GLEW_NV_geometry_shader4 = GL_FALSE;
2525 GLboolean __GLEW_NV_gpu_program4 = GL_FALSE;
2526 GLboolean __GLEW_NV_gpu_program5 = GL_FALSE;
2527 GLboolean __GLEW_NV_gpu_program_fp64 = GL_FALSE;
2528 GLboolean __GLEW_NV_gpu_shader5 = GL_FALSE;
2529 GLboolean __GLEW_NV_half_float = GL_FALSE;
2530 GLboolean __GLEW_NV_light_max_exponent = GL_FALSE;
2531 GLboolean __GLEW_NV_multisample_coverage = GL_FALSE;
2532 GLboolean __GLEW_NV_multisample_filter_hint = GL_FALSE;
2533 GLboolean __GLEW_NV_occlusion_query = GL_FALSE;
2534 GLboolean __GLEW_NV_packed_depth_stencil = GL_FALSE;
2535 GLboolean __GLEW_NV_parameter_buffer_object = GL_FALSE;
2536 GLboolean __GLEW_NV_parameter_buffer_object2 = GL_FALSE;
2537 GLboolean __GLEW_NV_pixel_data_range = GL_FALSE;
2538 GLboolean __GLEW_NV_point_sprite = GL_FALSE;
2539 GLboolean __GLEW_NV_present_video = GL_FALSE;
2540 GLboolean __GLEW_NV_primitive_restart = GL_FALSE;
2541 GLboolean __GLEW_NV_register_combiners = GL_FALSE;
2542 GLboolean __GLEW_NV_register_combiners2 = GL_FALSE;
2543 GLboolean __GLEW_NV_shader_buffer_load = GL_FALSE;
2544 GLboolean __GLEW_NV_tessellation_program5 = GL_FALSE;
2545 GLboolean __GLEW_NV_texgen_emboss = GL_FALSE;
2546 GLboolean __GLEW_NV_texgen_reflection = GL_FALSE;
2547 GLboolean __GLEW_NV_texture_barrier = GL_FALSE;
2548 GLboolean __GLEW_NV_texture_compression_vtc = GL_FALSE;
2549 GLboolean __GLEW_NV_texture_env_combine4 = GL_FALSE;
2550 GLboolean __GLEW_NV_texture_expand_normal = GL_FALSE;
2551 GLboolean __GLEW_NV_texture_rectangle = GL_FALSE;
2552 GLboolean __GLEW_NV_texture_shader = GL_FALSE;
2553 GLboolean __GLEW_NV_texture_shader2 = GL_FALSE;
2554 GLboolean __GLEW_NV_texture_shader3 = GL_FALSE;
2555 GLboolean __GLEW_NV_transform_feedback = GL_FALSE;
2556 GLboolean __GLEW_NV_transform_feedback2 = GL_FALSE;
2557 GLboolean __GLEW_NV_vdpau_interop = GL_FALSE;
2558 GLboolean __GLEW_NV_vertex_array_range = GL_FALSE;
2559 GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE;
2560 GLboolean __GLEW_NV_vertex_attrib_integer_64bit = GL_FALSE;
2561 GLboolean __GLEW_NV_vertex_buffer_unified_memory = GL_FALSE;
2562 GLboolean __GLEW_NV_vertex_program = GL_FALSE;
2563 GLboolean __GLEW_NV_vertex_program1_1 = GL_FALSE;
2564 GLboolean __GLEW_NV_vertex_program2 = GL_FALSE;
2565 GLboolean __GLEW_NV_vertex_program2_option = GL_FALSE;
2566 GLboolean __GLEW_NV_vertex_program3 = GL_FALSE;
2567 GLboolean __GLEW_NV_vertex_program4 = GL_FALSE;
2568 GLboolean __GLEW_OES_byte_coordinates = GL_FALSE;
2569 GLboolean __GLEW_OES_compressed_paletted_texture = GL_FALSE;
2570 GLboolean __GLEW_OES_read_format = GL_FALSE;
2571 GLboolean __GLEW_OES_single_precision = GL_FALSE;
2572 GLboolean __GLEW_OML_interlace = GL_FALSE;
2573 GLboolean __GLEW_OML_resample = GL_FALSE;
2574 GLboolean __GLEW_OML_subsample = GL_FALSE;
2575 GLboolean __GLEW_PGI_misc_hints = GL_FALSE;
2576 GLboolean __GLEW_PGI_vertex_hints = GL_FALSE;
2577 GLboolean __GLEW_REND_screen_coordinates = GL_FALSE;
2578 GLboolean __GLEW_S3_s3tc = GL_FALSE;
2579 GLboolean __GLEW_SGIS_color_range = GL_FALSE;
2580 GLboolean __GLEW_SGIS_detail_texture = GL_FALSE;
2581 GLboolean __GLEW_SGIS_fog_function = GL_FALSE;
2582 GLboolean __GLEW_SGIS_generate_mipmap = GL_FALSE;
2583 GLboolean __GLEW_SGIS_multisample = GL_FALSE;
2584 GLboolean __GLEW_SGIS_pixel_texture = GL_FALSE;
2585 GLboolean __GLEW_SGIS_point_line_texgen = GL_FALSE;
2586 GLboolean __GLEW_SGIS_sharpen_texture = GL_FALSE;
2587 GLboolean __GLEW_SGIS_texture4D = GL_FALSE;
2588 GLboolean __GLEW_SGIS_texture_border_clamp = GL_FALSE;
2589 GLboolean __GLEW_SGIS_texture_edge_clamp = GL_FALSE;
2590 GLboolean __GLEW_SGIS_texture_filter4 = GL_FALSE;
2591 GLboolean __GLEW_SGIS_texture_lod = GL_FALSE;
2592 GLboolean __GLEW_SGIS_texture_select = GL_FALSE;
2593 GLboolean __GLEW_SGIX_async = GL_FALSE;
2594 GLboolean __GLEW_SGIX_async_histogram = GL_FALSE;
2595 GLboolean __GLEW_SGIX_async_pixel = GL_FALSE;
2596 GLboolean __GLEW_SGIX_blend_alpha_minmax = GL_FALSE;
2597 GLboolean __GLEW_SGIX_clipmap = GL_FALSE;
2598 GLboolean __GLEW_SGIX_convolution_accuracy = GL_FALSE;
2599 GLboolean __GLEW_SGIX_depth_texture = GL_FALSE;
2600 GLboolean __GLEW_SGIX_flush_raster = GL_FALSE;
2601 GLboolean __GLEW_SGIX_fog_offset = GL_FALSE;
2602 GLboolean __GLEW_SGIX_fog_texture = GL_FALSE;
2603 GLboolean __GLEW_SGIX_fragment_specular_lighting = GL_FALSE;
2604 GLboolean __GLEW_SGIX_framezoom = GL_FALSE;
2605 GLboolean __GLEW_SGIX_interlace = GL_FALSE;
2606 GLboolean __GLEW_SGIX_ir_instrument1 = GL_FALSE;
2607 GLboolean __GLEW_SGIX_list_priority = GL_FALSE;
2608 GLboolean __GLEW_SGIX_pixel_texture = GL_FALSE;
2609 GLboolean __GLEW_SGIX_pixel_texture_bits = GL_FALSE;
2610 GLboolean __GLEW_SGIX_reference_plane = GL_FALSE;
2611 GLboolean __GLEW_SGIX_resample = GL_FALSE;
2612 GLboolean __GLEW_SGIX_shadow = GL_FALSE;
2613 GLboolean __GLEW_SGIX_shadow_ambient = GL_FALSE;
2614 GLboolean __GLEW_SGIX_sprite = GL_FALSE;
2615 GLboolean __GLEW_SGIX_tag_sample_buffer = GL_FALSE;
2616 GLboolean __GLEW_SGIX_texture_add_env = GL_FALSE;
2617 GLboolean __GLEW_SGIX_texture_coordinate_clamp = GL_FALSE;
2618 GLboolean __GLEW_SGIX_texture_lod_bias = GL_FALSE;
2619 GLboolean __GLEW_SGIX_texture_multi_buffer = GL_FALSE;
2620 GLboolean __GLEW_SGIX_texture_range = GL_FALSE;
2621 GLboolean __GLEW_SGIX_texture_scale_bias = GL_FALSE;
2622 GLboolean __GLEW_SGIX_vertex_preclip = GL_FALSE;
2623 GLboolean __GLEW_SGIX_vertex_preclip_hint = GL_FALSE;
2624 GLboolean __GLEW_SGIX_ycrcb = GL_FALSE;
2625 GLboolean __GLEW_SGI_color_matrix = GL_FALSE;
2626 GLboolean __GLEW_SGI_color_table = GL_FALSE;
2627 GLboolean __GLEW_SGI_texture_color_table = GL_FALSE;
2628 GLboolean __GLEW_SUNX_constant_data = GL_FALSE;
2629 GLboolean __GLEW_SUN_convolution_border_modes = GL_FALSE;
2630 GLboolean __GLEW_SUN_global_alpha = GL_FALSE;
2631 GLboolean __GLEW_SUN_mesh_array = GL_FALSE;
2632 GLboolean __GLEW_SUN_read_video_pixels = GL_FALSE;
2633 GLboolean __GLEW_SUN_slice_accum = GL_FALSE;
2634 GLboolean __GLEW_SUN_triangle_list = GL_FALSE;
2635 GLboolean __GLEW_SUN_vertex = GL_FALSE;
2636 GLboolean __GLEW_WIN_phong_shading = GL_FALSE;
2637 GLboolean __GLEW_WIN_specular_fog = GL_FALSE;
2638 GLboolean __GLEW_WIN_swap_hint = GL_FALSE;
2640 #endif /* !GLEW_MX */
2642 #ifdef GL_VERSION_1_2
2644 static GLboolean _glewInit_GL_VERSION_1_2 (GLEW_CONTEXT_ARG_DEF_INIT)
2646 GLboolean r = GL_FALSE;
2648 r = ((glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3D")) == NULL) || r;
2649 r = ((glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElements")) == NULL) || r;
2650 r = ((glTexImage3D = (PFNGLTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexImage3D")) == NULL) || r;
2651 r = ((glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3D")) == NULL) || r;
2653 return r;
2656 #endif /* GL_VERSION_1_2 */
2658 #ifdef GL_VERSION_1_3
2660 static GLboolean _glewInit_GL_VERSION_1_3 (GLEW_CONTEXT_ARG_DEF_INIT)
2662 GLboolean r = GL_FALSE;
2664 r = ((glActiveTexture = (PFNGLACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glActiveTexture")) == NULL) || r;
2665 r = ((glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTexture")) == NULL) || r;
2666 r = ((glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1D")) == NULL) || r;
2667 r = ((glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2D")) == NULL) || r;
2668 r = ((glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3D")) == NULL) || r;
2669 r = ((glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1D")) == NULL) || r;
2670 r = ((glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2D")) == NULL) || r;
2671 r = ((glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3D")) == NULL) || r;
2672 r = ((glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImage")) == NULL) || r;
2673 r = ((glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixd")) == NULL) || r;
2674 r = ((glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixf")) == NULL) || r;
2675 r = ((glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixd")) == NULL) || r;
2676 r = ((glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixf")) == NULL) || r;
2677 r = ((glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1d")) == NULL) || r;
2678 r = ((glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dv")) == NULL) || r;
2679 r = ((glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1f")) == NULL) || r;
2680 r = ((glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fv")) == NULL) || r;
2681 r = ((glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1i")) == NULL) || r;
2682 r = ((glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iv")) == NULL) || r;
2683 r = ((glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1s")) == NULL) || r;
2684 r = ((glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sv")) == NULL) || r;
2685 r = ((glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2d")) == NULL) || r;
2686 r = ((glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dv")) == NULL) || r;
2687 r = ((glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2f")) == NULL) || r;
2688 r = ((glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fv")) == NULL) || r;
2689 r = ((glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2i")) == NULL) || r;
2690 r = ((glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iv")) == NULL) || r;
2691 r = ((glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2s")) == NULL) || r;
2692 r = ((glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sv")) == NULL) || r;
2693 r = ((glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3d")) == NULL) || r;
2694 r = ((glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dv")) == NULL) || r;
2695 r = ((glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3f")) == NULL) || r;
2696 r = ((glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fv")) == NULL) || r;
2697 r = ((glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3i")) == NULL) || r;
2698 r = ((glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iv")) == NULL) || r;
2699 r = ((glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3s")) == NULL) || r;
2700 r = ((glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sv")) == NULL) || r;
2701 r = ((glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4d")) == NULL) || r;
2702 r = ((glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dv")) == NULL) || r;
2703 r = ((glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4f")) == NULL) || r;
2704 r = ((glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fv")) == NULL) || r;
2705 r = ((glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4i")) == NULL) || r;
2706 r = ((glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iv")) == NULL) || r;
2707 r = ((glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4s")) == NULL) || r;
2708 r = ((glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sv")) == NULL) || r;
2709 r = ((glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverage")) == NULL) || r;
2711 return r;
2714 #endif /* GL_VERSION_1_3 */
2716 #ifdef GL_VERSION_1_4
2718 static GLboolean _glewInit_GL_VERSION_1_4 (GLEW_CONTEXT_ARG_DEF_INIT)
2720 GLboolean r = GL_FALSE;
2722 r = ((glBlendColor = (PFNGLBLENDCOLORPROC)glewGetProcAddress((const GLubyte*)"glBlendColor")) == NULL) || r;
2723 r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
2724 r = ((glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparate")) == NULL) || r;
2725 r = ((glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointer")) == NULL) || r;
2726 r = ((glFogCoordd = (PFNGLFOGCOORDDPROC)glewGetProcAddress((const GLubyte*)"glFogCoordd")) == NULL) || r;
2727 r = ((glFogCoorddv = (PFNGLFOGCOORDDVPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddv")) == NULL) || r;
2728 r = ((glFogCoordf = (PFNGLFOGCOORDFPROC)glewGetProcAddress((const GLubyte*)"glFogCoordf")) == NULL) || r;
2729 r = ((glFogCoordfv = (PFNGLFOGCOORDFVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfv")) == NULL) || r;
2730 r = ((glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArrays")) == NULL) || r;
2731 r = ((glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElements")) == NULL) || r;
2732 r = ((glPointParameterf = (PFNGLPOINTPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glPointParameterf")) == NULL) || r;
2733 r = ((glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfv")) == NULL) || r;
2734 r = ((glPointParameteri = (PFNGLPOINTPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPointParameteri")) == NULL) || r;
2735 r = ((glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriv")) == NULL) || r;
2736 r = ((glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3b")) == NULL) || r;
2737 r = ((glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bv")) == NULL) || r;
2738 r = ((glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3d")) == NULL) || r;
2739 r = ((glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dv")) == NULL) || r;
2740 r = ((glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3f")) == NULL) || r;
2741 r = ((glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fv")) == NULL) || r;
2742 r = ((glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3i")) == NULL) || r;
2743 r = ((glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iv")) == NULL) || r;
2744 r = ((glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3s")) == NULL) || r;
2745 r = ((glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sv")) == NULL) || r;
2746 r = ((glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ub")) == NULL) || r;
2747 r = ((glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubv")) == NULL) || r;
2748 r = ((glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ui")) == NULL) || r;
2749 r = ((glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiv")) == NULL) || r;
2750 r = ((glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3us")) == NULL) || r;
2751 r = ((glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usv")) == NULL) || r;
2752 r = ((glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointer")) == NULL) || r;
2753 r = ((glWindowPos2d = (PFNGLWINDOWPOS2DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2d")) == NULL) || r;
2754 r = ((glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dv")) == NULL) || r;
2755 r = ((glWindowPos2f = (PFNGLWINDOWPOS2FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2f")) == NULL) || r;
2756 r = ((glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fv")) == NULL) || r;
2757 r = ((glWindowPos2i = (PFNGLWINDOWPOS2IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2i")) == NULL) || r;
2758 r = ((glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iv")) == NULL) || r;
2759 r = ((glWindowPos2s = (PFNGLWINDOWPOS2SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2s")) == NULL) || r;
2760 r = ((glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sv")) == NULL) || r;
2761 r = ((glWindowPos3d = (PFNGLWINDOWPOS3DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3d")) == NULL) || r;
2762 r = ((glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dv")) == NULL) || r;
2763 r = ((glWindowPos3f = (PFNGLWINDOWPOS3FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3f")) == NULL) || r;
2764 r = ((glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fv")) == NULL) || r;
2765 r = ((glWindowPos3i = (PFNGLWINDOWPOS3IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3i")) == NULL) || r;
2766 r = ((glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iv")) == NULL) || r;
2767 r = ((glWindowPos3s = (PFNGLWINDOWPOS3SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3s")) == NULL) || r;
2768 r = ((glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sv")) == NULL) || r;
2770 return r;
2773 #endif /* GL_VERSION_1_4 */
2775 #ifdef GL_VERSION_1_5
2777 static GLboolean _glewInit_GL_VERSION_1_5 (GLEW_CONTEXT_ARG_DEF_INIT)
2779 GLboolean r = GL_FALSE;
2781 r = ((glBeginQuery = (PFNGLBEGINQUERYPROC)glewGetProcAddress((const GLubyte*)"glBeginQuery")) == NULL) || r;
2782 r = ((glBindBuffer = (PFNGLBINDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindBuffer")) == NULL) || r;
2783 r = ((glBufferData = (PFNGLBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferData")) == NULL) || r;
2784 r = ((glBufferSubData = (PFNGLBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferSubData")) == NULL) || r;
2785 r = ((glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffers")) == NULL) || r;
2786 r = ((glDeleteQueries = (PFNGLDELETEQUERIESPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueries")) == NULL) || r;
2787 r = ((glEndQuery = (PFNGLENDQUERYPROC)glewGetProcAddress((const GLubyte*)"glEndQuery")) == NULL) || r;
2788 r = ((glGenBuffers = (PFNGLGENBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenBuffers")) == NULL) || r;
2789 r = ((glGenQueries = (PFNGLGENQUERIESPROC)glewGetProcAddress((const GLubyte*)"glGenQueries")) == NULL) || r;
2790 r = ((glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteriv")) == NULL) || r;
2791 r = ((glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointerv")) == NULL) || r;
2792 r = ((glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubData")) == NULL) || r;
2793 r = ((glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectiv")) == NULL) || r;
2794 r = ((glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuiv")) == NULL) || r;
2795 r = ((glGetQueryiv = (PFNGLGETQUERYIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryiv")) == NULL) || r;
2796 r = ((glIsBuffer = (PFNGLISBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsBuffer")) == NULL) || r;
2797 r = ((glIsQuery = (PFNGLISQUERYPROC)glewGetProcAddress((const GLubyte*)"glIsQuery")) == NULL) || r;
2798 r = ((glMapBuffer = (PFNGLMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glMapBuffer")) == NULL) || r;
2799 r = ((glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glUnmapBuffer")) == NULL) || r;
2801 return r;
2804 #endif /* GL_VERSION_1_5 */
2806 #ifdef GL_VERSION_2_0
2808 static GLboolean _glewInit_GL_VERSION_2_0 (GLEW_CONTEXT_ARG_DEF_INIT)
2810 GLboolean r = GL_FALSE;
2812 r = ((glAttachShader = (PFNGLATTACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glAttachShader")) == NULL) || r;
2813 r = ((glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocation")) == NULL) || r;
2814 r = ((glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparate")) == NULL) || r;
2815 r = ((glCompileShader = (PFNGLCOMPILESHADERPROC)glewGetProcAddress((const GLubyte*)"glCompileShader")) == NULL) || r;
2816 r = ((glCreateProgram = (PFNGLCREATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glCreateProgram")) == NULL) || r;
2817 r = ((glCreateShader = (PFNGLCREATESHADERPROC)glewGetProcAddress((const GLubyte*)"glCreateShader")) == NULL) || r;
2818 r = ((glDeleteProgram = (PFNGLDELETEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgram")) == NULL) || r;
2819 r = ((glDeleteShader = (PFNGLDELETESHADERPROC)glewGetProcAddress((const GLubyte*)"glDeleteShader")) == NULL) || r;
2820 r = ((glDetachShader = (PFNGLDETACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glDetachShader")) == NULL) || r;
2821 r = ((glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArray")) == NULL) || r;
2822 r = ((glDrawBuffers = (PFNGLDRAWBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffers")) == NULL) || r;
2823 r = ((glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArray")) == NULL) || r;
2824 r = ((glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttrib")) == NULL) || r;
2825 r = ((glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniform")) == NULL) || r;
2826 r = ((glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedShaders")) == NULL) || r;
2827 r = ((glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocation")) == NULL) || r;
2828 r = ((glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInfoLog")) == NULL) || r;
2829 r = ((glGetProgramiv = (PFNGLGETPROGRAMIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramiv")) == NULL) || r;
2830 r = ((glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetShaderInfoLog")) == NULL) || r;
2831 r = ((glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSource")) == NULL) || r;
2832 r = ((glGetShaderiv = (PFNGLGETSHADERIVPROC)glewGetProcAddress((const GLubyte*)"glGetShaderiv")) == NULL) || r;
2833 r = ((glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocation")) == NULL) || r;
2834 r = ((glGetUniformfv = (PFNGLGETUNIFORMFVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfv")) == NULL) || r;
2835 r = ((glGetUniformiv = (PFNGLGETUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformiv")) == NULL) || r;
2836 r = ((glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointerv")) == NULL) || r;
2837 r = ((glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdv")) == NULL) || r;
2838 r = ((glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfv")) == NULL) || r;
2839 r = ((glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribiv")) == NULL) || r;
2840 r = ((glIsProgram = (PFNGLISPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glIsProgram")) == NULL) || r;
2841 r = ((glIsShader = (PFNGLISSHADERPROC)glewGetProcAddress((const GLubyte*)"glIsShader")) == NULL) || r;
2842 r = ((glLinkProgram = (PFNGLLINKPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glLinkProgram")) == NULL) || r;
2843 r = ((glShaderSource = (PFNGLSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glShaderSource")) == NULL) || r;
2844 r = ((glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparate")) == NULL) || r;
2845 r = ((glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilMaskSeparate")) == NULL) || r;
2846 r = ((glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparate")) == NULL) || r;
2847 r = ((glUniform1f = (PFNGLUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glUniform1f")) == NULL) || r;
2848 r = ((glUniform1fv = (PFNGLUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glUniform1fv")) == NULL) || r;
2849 r = ((glUniform1i = (PFNGLUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glUniform1i")) == NULL) || r;
2850 r = ((glUniform1iv = (PFNGLUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glUniform1iv")) == NULL) || r;
2851 r = ((glUniform2f = (PFNGLUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glUniform2f")) == NULL) || r;
2852 r = ((glUniform2fv = (PFNGLUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glUniform2fv")) == NULL) || r;
2853 r = ((glUniform2i = (PFNGLUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glUniform2i")) == NULL) || r;
2854 r = ((glUniform2iv = (PFNGLUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glUniform2iv")) == NULL) || r;
2855 r = ((glUniform3f = (PFNGLUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glUniform3f")) == NULL) || r;
2856 r = ((glUniform3fv = (PFNGLUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glUniform3fv")) == NULL) || r;
2857 r = ((glUniform3i = (PFNGLUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glUniform3i")) == NULL) || r;
2858 r = ((glUniform3iv = (PFNGLUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glUniform3iv")) == NULL) || r;
2859 r = ((glUniform4f = (PFNGLUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glUniform4f")) == NULL) || r;
2860 r = ((glUniform4fv = (PFNGLUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glUniform4fv")) == NULL) || r;
2861 r = ((glUniform4i = (PFNGLUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glUniform4i")) == NULL) || r;
2862 r = ((glUniform4iv = (PFNGLUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glUniform4iv")) == NULL) || r;
2863 r = ((glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fv")) == NULL) || r;
2864 r = ((glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fv")) == NULL) || r;
2865 r = ((glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fv")) == NULL) || r;
2866 r = ((glUseProgram = (PFNGLUSEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glUseProgram")) == NULL) || r;
2867 r = ((glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glValidateProgram")) == NULL) || r;
2868 r = ((glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1d")) == NULL) || r;
2869 r = ((glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dv")) == NULL) || r;
2870 r = ((glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1f")) == NULL) || r;
2871 r = ((glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fv")) == NULL) || r;
2872 r = ((glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1s")) == NULL) || r;
2873 r = ((glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sv")) == NULL) || r;
2874 r = ((glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2d")) == NULL) || r;
2875 r = ((glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dv")) == NULL) || r;
2876 r = ((glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2f")) == NULL) || r;
2877 r = ((glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fv")) == NULL) || r;
2878 r = ((glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2s")) == NULL) || r;
2879 r = ((glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sv")) == NULL) || r;
2880 r = ((glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3d")) == NULL) || r;
2881 r = ((glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dv")) == NULL) || r;
2882 r = ((glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3f")) == NULL) || r;
2883 r = ((glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fv")) == NULL) || r;
2884 r = ((glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3s")) == NULL) || r;
2885 r = ((glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sv")) == NULL) || r;
2886 r = ((glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nbv")) == NULL) || r;
2887 r = ((glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Niv")) == NULL) || r;
2888 r = ((glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nsv")) == NULL) || r;
2889 r = ((glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nub")) == NULL) || r;
2890 r = ((glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nubv")) == NULL) || r;
2891 r = ((glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nuiv")) == NULL) || r;
2892 r = ((glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nusv")) == NULL) || r;
2893 r = ((glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bv")) == NULL) || r;
2894 r = ((glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4d")) == NULL) || r;
2895 r = ((glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dv")) == NULL) || r;
2896 r = ((glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4f")) == NULL) || r;
2897 r = ((glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fv")) == NULL) || r;
2898 r = ((glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4iv")) == NULL) || r;
2899 r = ((glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4s")) == NULL) || r;
2900 r = ((glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sv")) == NULL) || r;
2901 r = ((glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubv")) == NULL) || r;
2902 r = ((glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uiv")) == NULL) || r;
2903 r = ((glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usv")) == NULL) || r;
2904 r = ((glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointer")) == NULL) || r;
2906 return r;
2909 #endif /* GL_VERSION_2_0 */
2911 #ifdef GL_VERSION_2_1
2913 static GLboolean _glewInit_GL_VERSION_2_1 (GLEW_CONTEXT_ARG_DEF_INIT)
2915 GLboolean r = GL_FALSE;
2917 r = ((glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3fv")) == NULL) || r;
2918 r = ((glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4fv")) == NULL) || r;
2919 r = ((glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2fv")) == NULL) || r;
2920 r = ((glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4fv")) == NULL) || r;
2921 r = ((glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2fv")) == NULL) || r;
2922 r = ((glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3fv")) == NULL) || r;
2924 return r;
2927 #endif /* GL_VERSION_2_1 */
2929 #ifdef GL_VERSION_3_0
2931 static GLboolean _glewInit_GL_VERSION_3_0 (GLEW_CONTEXT_ARG_DEF_INIT)
2933 GLboolean r = GL_FALSE;
2935 r = ((glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRender")) == NULL) || r;
2936 r = ((glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedback")) == NULL) || r;
2937 r = ((glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocation")) == NULL) || r;
2938 r = ((glClampColor = (PFNGLCLAMPCOLORPROC)glewGetProcAddress((const GLubyte*)"glClampColor")) == NULL) || r;
2939 r = ((glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfi")) == NULL) || r;
2940 r = ((glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfv")) == NULL) || r;
2941 r = ((glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferiv")) == NULL) || r;
2942 r = ((glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferuiv")) == NULL) || r;
2943 r = ((glColorMaski = (PFNGLCOLORMASKIPROC)glewGetProcAddress((const GLubyte*)"glColorMaski")) == NULL) || r;
2944 r = ((glDisablei = (PFNGLDISABLEIPROC)glewGetProcAddress((const GLubyte*)"glDisablei")) == NULL) || r;
2945 r = ((glEnablei = (PFNGLENABLEIPROC)glewGetProcAddress((const GLubyte*)"glEnablei")) == NULL) || r;
2946 r = ((glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRender")) == NULL) || r;
2947 r = ((glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedback")) == NULL) || r;
2948 r = ((glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)glewGetProcAddress((const GLubyte*)"glGetBooleani_v")) == NULL) || r;
2949 r = ((glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocation")) == NULL) || r;
2950 r = ((glGetStringi = (PFNGLGETSTRINGIPROC)glewGetProcAddress((const GLubyte*)"glGetStringi")) == NULL) || r;
2951 r = ((glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIiv")) == NULL) || r;
2952 r = ((glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuiv")) == NULL) || r;
2953 r = ((glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVarying")) == NULL) || r;
2954 r = ((glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuiv")) == NULL) || r;
2955 r = ((glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIiv")) == NULL) || r;
2956 r = ((glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuiv")) == NULL) || r;
2957 r = ((glIsEnabledi = (PFNGLISENABLEDIPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledi")) == NULL) || r;
2958 r = ((glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIiv")) == NULL) || r;
2959 r = ((glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuiv")) == NULL) || r;
2960 r = ((glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryings")) == NULL) || r;
2961 r = ((glUniform1ui = (PFNGLUNIFORM1UIPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui")) == NULL) || r;
2962 r = ((glUniform1uiv = (PFNGLUNIFORM1UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiv")) == NULL) || r;
2963 r = ((glUniform2ui = (PFNGLUNIFORM2UIPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui")) == NULL) || r;
2964 r = ((glUniform2uiv = (PFNGLUNIFORM2UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiv")) == NULL) || r;
2965 r = ((glUniform3ui = (PFNGLUNIFORM3UIPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui")) == NULL) || r;
2966 r = ((glUniform3uiv = (PFNGLUNIFORM3UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiv")) == NULL) || r;
2967 r = ((glUniform4ui = (PFNGLUNIFORM4UIPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui")) == NULL) || r;
2968 r = ((glUniform4uiv = (PFNGLUNIFORM4UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiv")) == NULL) || r;
2969 r = ((glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1i")) == NULL) || r;
2970 r = ((glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iv")) == NULL) || r;
2971 r = ((glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ui")) == NULL) || r;
2972 r = ((glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiv")) == NULL) || r;
2973 r = ((glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2i")) == NULL) || r;
2974 r = ((glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iv")) == NULL) || r;
2975 r = ((glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ui")) == NULL) || r;
2976 r = ((glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiv")) == NULL) || r;
2977 r = ((glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3i")) == NULL) || r;
2978 r = ((glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iv")) == NULL) || r;
2979 r = ((glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ui")) == NULL) || r;
2980 r = ((glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiv")) == NULL) || r;
2981 r = ((glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bv")) == NULL) || r;
2982 r = ((glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4i")) == NULL) || r;
2983 r = ((glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iv")) == NULL) || r;
2984 r = ((glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4sv")) == NULL) || r;
2985 r = ((glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubv")) == NULL) || r;
2986 r = ((glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ui")) == NULL) || r;
2987 r = ((glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiv")) == NULL) || r;
2988 r = ((glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usv")) == NULL) || r;
2989 r = ((glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointer")) == NULL) || r;
2991 return r;
2994 #endif /* GL_VERSION_3_0 */
2996 #ifdef GL_VERSION_3_1
2998 static GLboolean _glewInit_GL_VERSION_3_1 (GLEW_CONTEXT_ARG_DEF_INIT)
3000 GLboolean r = GL_FALSE;
3002 r = ((glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstanced")) == NULL) || r;
3003 r = ((glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstanced")) == NULL) || r;
3004 r = ((glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndex")) == NULL) || r;
3005 r = ((glTexBuffer = (PFNGLTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glTexBuffer")) == NULL) || r;
3007 return r;
3010 #endif /* GL_VERSION_3_1 */
3012 #ifdef GL_VERSION_3_2
3014 static GLboolean _glewInit_GL_VERSION_3_2 (GLEW_CONTEXT_ARG_DEF_INIT)
3016 GLboolean r = GL_FALSE;
3018 r = ((glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture")) == NULL) || r;
3019 r = ((glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteri64v")) == NULL) || r;
3020 r = ((glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64i_v")) == NULL) || r;
3022 return r;
3025 #endif /* GL_VERSION_3_2 */
3027 #ifdef GL_VERSION_3_3
3029 static GLboolean _glewInit_GL_VERSION_3_3 (GLEW_CONTEXT_ARG_DEF_INIT)
3031 GLboolean r = GL_FALSE;
3033 r = ((glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisor")) == NULL) || r;
3035 return r;
3038 #endif /* GL_VERSION_3_3 */
3040 #ifdef GL_VERSION_4_0
3042 static GLboolean _glewInit_GL_VERSION_4_0 (GLEW_CONTEXT_ARG_DEF_INIT)
3044 GLboolean r = GL_FALSE;
3046 r = ((glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparatei")) == NULL) || r;
3047 r = ((glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationi")) == NULL) || r;
3048 r = ((glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparatei")) == NULL) || r;
3049 r = ((glBlendFunci = (PFNGLBLENDFUNCIPROC)glewGetProcAddress((const GLubyte*)"glBlendFunci")) == NULL) || r;
3050 r = ((glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShading")) == NULL) || r;
3052 return r;
3055 #endif /* GL_VERSION_4_0 */
3057 #ifdef GL_3DFX_multisample
3059 #endif /* GL_3DFX_multisample */
3061 #ifdef GL_3DFX_tbuffer
3063 static GLboolean _glewInit_GL_3DFX_tbuffer (GLEW_CONTEXT_ARG_DEF_INIT)
3065 GLboolean r = GL_FALSE;
3067 r = ((glTbufferMask3DFX = (PFNGLTBUFFERMASK3DFXPROC)glewGetProcAddress((const GLubyte*)"glTbufferMask3DFX")) == NULL) || r;
3069 return r;
3072 #endif /* GL_3DFX_tbuffer */
3074 #ifdef GL_3DFX_texture_compression_FXT1
3076 #endif /* GL_3DFX_texture_compression_FXT1 */
3078 #ifdef GL_AMD_conservative_depth
3080 #endif /* GL_AMD_conservative_depth */
3082 #ifdef GL_AMD_debug_output
3084 static GLboolean _glewInit_GL_AMD_debug_output (GLEW_CONTEXT_ARG_DEF_INIT)
3086 GLboolean r = GL_FALSE;
3088 r = ((glDebugMessageCallbackAMD = (PFNGLDEBUGMESSAGECALLBACKAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallbackAMD")) == NULL) || r;
3089 r = ((glDebugMessageEnableAMD = (PFNGLDEBUGMESSAGEENABLEAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageEnableAMD")) == NULL) || r;
3090 r = ((glDebugMessageInsertAMD = (PFNGLDEBUGMESSAGEINSERTAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsertAMD")) == NULL) || r;
3091 r = ((glGetDebugMessageLogAMD = (PFNGLGETDEBUGMESSAGELOGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLogAMD")) == NULL) || r;
3093 return r;
3096 #endif /* GL_AMD_debug_output */
3098 #ifdef GL_AMD_draw_buffers_blend
3100 static GLboolean _glewInit_GL_AMD_draw_buffers_blend (GLEW_CONTEXT_ARG_DEF_INIT)
3102 GLboolean r = GL_FALSE;
3104 r = ((glBlendEquationIndexedAMD = (PFNGLBLENDEQUATIONINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationIndexedAMD")) == NULL) || r;
3105 r = ((glBlendEquationSeparateIndexedAMD = (PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateIndexedAMD")) == NULL) || r;
3106 r = ((glBlendFuncIndexedAMD = (PFNGLBLENDFUNCINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncIndexedAMD")) == NULL) || r;
3107 r = ((glBlendFuncSeparateIndexedAMD = (PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateIndexedAMD")) == NULL) || r;
3109 return r;
3112 #endif /* GL_AMD_draw_buffers_blend */
3114 #ifdef GL_AMD_name_gen_delete
3116 static GLboolean _glewInit_GL_AMD_name_gen_delete (GLEW_CONTEXT_ARG_DEF_INIT)
3118 GLboolean r = GL_FALSE;
3120 r = ((glDeleteNamesAMD = (PFNGLDELETENAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamesAMD")) == NULL) || r;
3121 r = ((glGenNamesAMD = (PFNGLGENNAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glGenNamesAMD")) == NULL) || r;
3122 r = ((glIsNameAMD = (PFNGLISNAMEAMDPROC)glewGetProcAddress((const GLubyte*)"glIsNameAMD")) == NULL) || r;
3124 return r;
3127 #endif /* GL_AMD_name_gen_delete */
3129 #ifdef GL_AMD_performance_monitor
3131 static GLboolean _glewInit_GL_AMD_performance_monitor (GLEW_CONTEXT_ARG_DEF_INIT)
3133 GLboolean r = GL_FALSE;
3135 r = ((glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glBeginPerfMonitorAMD")) == NULL) || r;
3136 r = ((glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glDeletePerfMonitorsAMD")) == NULL) || r;
3137 r = ((glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glEndPerfMonitorAMD")) == NULL) || r;
3138 r = ((glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glGenPerfMonitorsAMD")) == NULL) || r;
3139 r = ((glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterDataAMD")) == NULL) || r;
3140 r = ((glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterInfoAMD")) == NULL) || r;
3141 r = ((glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterStringAMD")) == NULL) || r;
3142 r = ((glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCountersAMD")) == NULL) || r;
3143 r = ((glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupStringAMD")) == NULL) || r;
3144 r = ((glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupsAMD")) == NULL) || r;
3145 r = ((glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glSelectPerfMonitorCountersAMD")) == NULL) || r;
3147 return r;
3150 #endif /* GL_AMD_performance_monitor */
3152 #ifdef GL_AMD_seamless_cubemap_per_texture
3154 #endif /* GL_AMD_seamless_cubemap_per_texture */
3156 #ifdef GL_AMD_shader_stencil_export
3158 #endif /* GL_AMD_shader_stencil_export */
3160 #ifdef GL_AMD_texture_texture4
3162 #endif /* GL_AMD_texture_texture4 */
3164 #ifdef GL_AMD_transform_feedback3_lines_triangles
3166 #endif /* GL_AMD_transform_feedback3_lines_triangles */
3168 #ifdef GL_AMD_vertex_shader_tessellator
3170 static GLboolean _glewInit_GL_AMD_vertex_shader_tessellator (GLEW_CONTEXT_ARG_DEF_INIT)
3172 GLboolean r = GL_FALSE;
3174 r = ((glTessellationFactorAMD = (PFNGLTESSELLATIONFACTORAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationFactorAMD")) == NULL) || r;
3175 r = ((glTessellationModeAMD = (PFNGLTESSELLATIONMODEAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationModeAMD")) == NULL) || r;
3177 return r;
3180 #endif /* GL_AMD_vertex_shader_tessellator */
3182 #ifdef GL_APPLE_aux_depth_stencil
3184 #endif /* GL_APPLE_aux_depth_stencil */
3186 #ifdef GL_APPLE_client_storage
3188 #endif /* GL_APPLE_client_storage */
3190 #ifdef GL_APPLE_element_array
3192 static GLboolean _glewInit_GL_APPLE_element_array (GLEW_CONTEXT_ARG_DEF_INIT)
3194 GLboolean r = GL_FALSE;
3196 r = ((glDrawElementArrayAPPLE = (PFNGLDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayAPPLE")) == NULL) || r;
3197 r = ((glDrawRangeElementArrayAPPLE = (PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayAPPLE")) == NULL) || r;
3198 r = ((glElementPointerAPPLE = (PFNGLELEMENTPOINTERAPPLEPROC)glewGetProcAddress((const GLubyte*)"glElementPointerAPPLE")) == NULL) || r;
3199 r = ((glMultiDrawElementArrayAPPLE = (PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementArrayAPPLE")) == NULL) || r;
3200 r = ((glMultiDrawRangeElementArrayAPPLE = (PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawRangeElementArrayAPPLE")) == NULL) || r;
3202 return r;
3205 #endif /* GL_APPLE_element_array */
3207 #ifdef GL_APPLE_fence
3209 static GLboolean _glewInit_GL_APPLE_fence (GLEW_CONTEXT_ARG_DEF_INIT)
3211 GLboolean r = GL_FALSE;
3213 r = ((glDeleteFencesAPPLE = (PFNGLDELETEFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesAPPLE")) == NULL) || r;
3214 r = ((glFinishFenceAPPLE = (PFNGLFINISHFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceAPPLE")) == NULL) || r;
3215 r = ((glFinishObjectAPPLE = (PFNGLFINISHOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishObjectAPPLE")) == NULL) || r;
3216 r = ((glGenFencesAPPLE = (PFNGLGENFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenFencesAPPLE")) == NULL) || r;
3217 r = ((glIsFenceAPPLE = (PFNGLISFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsFenceAPPLE")) == NULL) || r;
3218 r = ((glSetFenceAPPLE = (PFNGLSETFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glSetFenceAPPLE")) == NULL) || r;
3219 r = ((glTestFenceAPPLE = (PFNGLTESTFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestFenceAPPLE")) == NULL) || r;
3220 r = ((glTestObjectAPPLE = (PFNGLTESTOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestObjectAPPLE")) == NULL) || r;
3222 return r;
3225 #endif /* GL_APPLE_fence */
3227 #ifdef GL_APPLE_float_pixels
3229 #endif /* GL_APPLE_float_pixels */
3231 #ifdef GL_APPLE_flush_buffer_range
3233 static GLboolean _glewInit_GL_APPLE_flush_buffer_range (GLEW_CONTEXT_ARG_DEF_INIT)
3235 GLboolean r = GL_FALSE;
3237 r = ((glBufferParameteriAPPLE = (PFNGLBUFFERPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBufferParameteriAPPLE")) == NULL) || r;
3238 r = ((glFlushMappedBufferRangeAPPLE = (PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRangeAPPLE")) == NULL) || r;
3240 return r;
3243 #endif /* GL_APPLE_flush_buffer_range */
3245 #ifdef GL_APPLE_object_purgeable
3247 static GLboolean _glewInit_GL_APPLE_object_purgeable (GLEW_CONTEXT_ARG_DEF_INIT)
3249 GLboolean r = GL_FALSE;
3251 r = ((glGetObjectParameterivAPPLE = (PFNGLGETOBJECTPARAMETERIVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivAPPLE")) == NULL) || r;
3252 r = ((glObjectPurgeableAPPLE = (PFNGLOBJECTPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectPurgeableAPPLE")) == NULL) || r;
3253 r = ((glObjectUnpurgeableAPPLE = (PFNGLOBJECTUNPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectUnpurgeableAPPLE")) == NULL) || r;
3255 return r;
3258 #endif /* GL_APPLE_object_purgeable */
3260 #ifdef GL_APPLE_pixel_buffer
3262 #endif /* GL_APPLE_pixel_buffer */
3264 #ifdef GL_APPLE_rgb_422
3266 #endif /* GL_APPLE_rgb_422 */
3268 #ifdef GL_APPLE_row_bytes
3270 #endif /* GL_APPLE_row_bytes */
3272 #ifdef GL_APPLE_specular_vector
3274 #endif /* GL_APPLE_specular_vector */
3276 #ifdef GL_APPLE_texture_range
3278 static GLboolean _glewInit_GL_APPLE_texture_range (GLEW_CONTEXT_ARG_DEF_INIT)
3280 GLboolean r = GL_FALSE;
3282 r = ((glGetTexParameterPointervAPPLE = (PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterPointervAPPLE")) == NULL) || r;
3283 r = ((glTextureRangeAPPLE = (PFNGLTEXTURERANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureRangeAPPLE")) == NULL) || r;
3285 return r;
3288 #endif /* GL_APPLE_texture_range */
3290 #ifdef GL_APPLE_transform_hint
3292 #endif /* GL_APPLE_transform_hint */
3294 #ifdef GL_APPLE_vertex_array_object
3296 static GLboolean _glewInit_GL_APPLE_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
3298 GLboolean r = GL_FALSE;
3300 r = ((glBindVertexArrayAPPLE = (PFNGLBINDVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArrayAPPLE")) == NULL) || r;
3301 r = ((glDeleteVertexArraysAPPLE = (PFNGLDELETEVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArraysAPPLE")) == NULL) || r;
3302 r = ((glGenVertexArraysAPPLE = (PFNGLGENVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArraysAPPLE")) == NULL) || r;
3303 r = ((glIsVertexArrayAPPLE = (PFNGLISVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArrayAPPLE")) == NULL) || r;
3305 return r;
3308 #endif /* GL_APPLE_vertex_array_object */
3310 #ifdef GL_APPLE_vertex_array_range
3312 static GLboolean _glewInit_GL_APPLE_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT)
3314 GLboolean r = GL_FALSE;
3316 r = ((glFlushVertexArrayRangeAPPLE = (PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeAPPLE")) == NULL) || r;
3317 r = ((glVertexArrayParameteriAPPLE = (PFNGLVERTEXARRAYPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayParameteriAPPLE")) == NULL) || r;
3318 r = ((glVertexArrayRangeAPPLE = (PFNGLVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeAPPLE")) == NULL) || r;
3320 return r;
3323 #endif /* GL_APPLE_vertex_array_range */
3325 #ifdef GL_APPLE_vertex_program_evaluators
3327 static GLboolean _glewInit_GL_APPLE_vertex_program_evaluators (GLEW_CONTEXT_ARG_DEF_INIT)
3329 GLboolean r = GL_FALSE;
3331 r = ((glDisableVertexAttribAPPLE = (PFNGLDISABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribAPPLE")) == NULL) || r;
3332 r = ((glEnableVertexAttribAPPLE = (PFNGLENABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribAPPLE")) == NULL) || r;
3333 r = ((glIsVertexAttribEnabledAPPLE = (PFNGLISVERTEXATTRIBENABLEDAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexAttribEnabledAPPLE")) == NULL) || r;
3334 r = ((glMapVertexAttrib1dAPPLE = (PFNGLMAPVERTEXATTRIB1DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1dAPPLE")) == NULL) || r;
3335 r = ((glMapVertexAttrib1fAPPLE = (PFNGLMAPVERTEXATTRIB1FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1fAPPLE")) == NULL) || r;
3336 r = ((glMapVertexAttrib2dAPPLE = (PFNGLMAPVERTEXATTRIB2DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2dAPPLE")) == NULL) || r;
3337 r = ((glMapVertexAttrib2fAPPLE = (PFNGLMAPVERTEXATTRIB2FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2fAPPLE")) == NULL) || r;
3339 return r;
3342 #endif /* GL_APPLE_vertex_program_evaluators */
3344 #ifdef GL_APPLE_ycbcr_422
3346 #endif /* GL_APPLE_ycbcr_422 */
3348 #ifdef GL_ARB_blend_func_extended
3350 static GLboolean _glewInit_GL_ARB_blend_func_extended (GLEW_CONTEXT_ARG_DEF_INIT)
3352 GLboolean r = GL_FALSE;
3354 r = ((glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationIndexed")) == NULL) || r;
3355 r = ((glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataIndex")) == NULL) || r;
3357 return r;
3360 #endif /* GL_ARB_blend_func_extended */
3362 #ifdef GL_ARB_color_buffer_float
3364 static GLboolean _glewInit_GL_ARB_color_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)
3366 GLboolean r = GL_FALSE;
3368 r = ((glClampColorARB = (PFNGLCLAMPCOLORARBPROC)glewGetProcAddress((const GLubyte*)"glClampColorARB")) == NULL) || r;
3370 return r;
3373 #endif /* GL_ARB_color_buffer_float */
3375 #ifdef GL_ARB_compatibility
3377 #endif /* GL_ARB_compatibility */
3379 #ifdef GL_ARB_copy_buffer
3381 static GLboolean _glewInit_GL_ARB_copy_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
3383 GLboolean r = GL_FALSE;
3385 r = ((glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyBufferSubData")) == NULL) || r;
3387 return r;
3390 #endif /* GL_ARB_copy_buffer */
3392 #ifdef GL_ARB_depth_buffer_float
3394 #endif /* GL_ARB_depth_buffer_float */
3396 #ifdef GL_ARB_depth_clamp
3398 #endif /* GL_ARB_depth_clamp */
3400 #ifdef GL_ARB_depth_texture
3402 #endif /* GL_ARB_depth_texture */
3404 #ifdef GL_ARB_draw_buffers
3406 static GLboolean _glewInit_GL_ARB_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
3408 GLboolean r = GL_FALSE;
3410 r = ((glDrawBuffersARB = (PFNGLDRAWBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersARB")) == NULL) || r;
3412 return r;
3415 #endif /* GL_ARB_draw_buffers */
3417 #ifdef GL_ARB_draw_buffers_blend
3419 static GLboolean _glewInit_GL_ARB_draw_buffers_blend (GLEW_CONTEXT_ARG_DEF_INIT)
3421 GLboolean r = GL_FALSE;
3423 r = ((glBlendEquationSeparateiARB = (PFNGLBLENDEQUATIONSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateiARB")) == NULL) || r;
3424 r = ((glBlendEquationiARB = (PFNGLBLENDEQUATIONIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationiARB")) == NULL) || r;
3425 r = ((glBlendFuncSeparateiARB = (PFNGLBLENDFUNCSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateiARB")) == NULL) || r;
3426 r = ((glBlendFunciARB = (PFNGLBLENDFUNCIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFunciARB")) == NULL) || r;
3428 return r;
3431 #endif /* GL_ARB_draw_buffers_blend */
3433 #ifdef GL_ARB_draw_elements_base_vertex
3435 static GLboolean _glewInit_GL_ARB_draw_elements_base_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
3437 GLboolean r = GL_FALSE;
3439 r = ((glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsBaseVertex")) == NULL) || r;
3440 r = ((glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertex")) == NULL) || r;
3441 r = ((glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsBaseVertex")) == NULL) || r;
3442 r = ((glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsBaseVertex")) == NULL) || r;
3444 return r;
3447 #endif /* GL_ARB_draw_elements_base_vertex */
3449 #ifdef GL_ARB_draw_indirect
3451 static GLboolean _glewInit_GL_ARB_draw_indirect (GLEW_CONTEXT_ARG_DEF_INIT)
3453 GLboolean r = GL_FALSE;
3455 r = ((glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysIndirect")) == NULL) || r;
3456 r = ((glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsIndirect")) == NULL) || r;
3458 return r;
3461 #endif /* GL_ARB_draw_indirect */
3463 #ifdef GL_ARB_draw_instanced
3465 static GLboolean _glewInit_GL_ARB_draw_instanced (GLEW_CONTEXT_ARG_DEF_INIT)
3467 GLboolean r = GL_FALSE;
3469 r = ((glDrawArraysInstancedARB = (PFNGLDRAWARRAYSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedARB")) == NULL) || r;
3470 r = ((glDrawElementsInstancedARB = (PFNGLDRAWELEMENTSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedARB")) == NULL) || r;
3472 return r;
3475 #endif /* GL_ARB_draw_instanced */
3477 #ifdef GL_ARB_explicit_attrib_location
3479 #endif /* GL_ARB_explicit_attrib_location */
3481 #ifdef GL_ARB_fragment_coord_conventions
3483 #endif /* GL_ARB_fragment_coord_conventions */
3485 #ifdef GL_ARB_fragment_program
3487 #endif /* GL_ARB_fragment_program */
3489 #ifdef GL_ARB_fragment_program_shadow
3491 #endif /* GL_ARB_fragment_program_shadow */
3493 #ifdef GL_ARB_fragment_shader
3495 #endif /* GL_ARB_fragment_shader */
3497 #ifdef GL_ARB_framebuffer_object
3499 static GLboolean _glewInit_GL_ARB_framebuffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
3501 GLboolean r = GL_FALSE;
3503 r = ((glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindFramebuffer")) == NULL) || r;
3504 r = ((glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbuffer")) == NULL) || r;
3505 r = ((glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebuffer")) == NULL) || r;
3506 r = ((glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatus")) == NULL) || r;
3507 r = ((glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffers")) == NULL) || r;
3508 r = ((glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffers")) == NULL) || r;
3509 r = ((glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbuffer")) == NULL) || r;
3510 r = ((glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1D")) == NULL) || r;
3511 r = ((glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2D")) == NULL) || r;
3512 r = ((glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3D")) == NULL) || r;
3513 r = ((glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayer")) == NULL) || r;
3514 r = ((glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffers")) == NULL) || r;
3515 r = ((glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffers")) == NULL) || r;
3516 r = ((glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmap")) == NULL) || r;
3517 r = ((glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameteriv")) == NULL) || r;
3518 r = ((glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameteriv")) == NULL) || r;
3519 r = ((glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsFramebuffer")) == NULL) || r;
3520 r = ((glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbuffer")) == NULL) || r;
3521 r = ((glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorage")) == NULL) || r;
3522 r = ((glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisample")) == NULL) || r;
3524 return r;
3527 #endif /* GL_ARB_framebuffer_object */
3529 #ifdef GL_ARB_framebuffer_sRGB
3531 #endif /* GL_ARB_framebuffer_sRGB */
3533 #ifdef GL_ARB_geometry_shader4
3535 static GLboolean _glewInit_GL_ARB_geometry_shader4 (GLEW_CONTEXT_ARG_DEF_INIT)
3537 GLboolean r = GL_FALSE;
3539 r = ((glFramebufferTextureARB = (PFNGLFRAMEBUFFERTEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureARB")) == NULL) || r;
3540 r = ((glFramebufferTextureFaceARB = (PFNGLFRAMEBUFFERTEXTUREFACEARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceARB")) == NULL) || r;
3541 r = ((glFramebufferTextureLayerARB = (PFNGLFRAMEBUFFERTEXTURELAYERARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerARB")) == NULL) || r;
3542 r = ((glProgramParameteriARB = (PFNGLPROGRAMPARAMETERIARBPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriARB")) == NULL) || r;
3544 return r;
3547 #endif /* GL_ARB_geometry_shader4 */
3549 #ifdef GL_ARB_gpu_shader5
3551 #endif /* GL_ARB_gpu_shader5 */
3553 #ifdef GL_ARB_gpu_shader_fp64
3555 static GLboolean _glewInit_GL_ARB_gpu_shader_fp64 (GLEW_CONTEXT_ARG_DEF_INIT)
3557 GLboolean r = GL_FALSE;
3559 r = ((glGetUniformdv = (PFNGLGETUNIFORMDVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformdv")) == NULL) || r;
3560 r = ((glProgramUniform1dEXT = (PFNGLPROGRAMUNIFORM1DEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1dEXT")) == NULL) || r;
3561 r = ((glProgramUniform1dvEXT = (PFNGLPROGRAMUNIFORM1DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1dvEXT")) == NULL) || r;
3562 r = ((glProgramUniform2dEXT = (PFNGLPROGRAMUNIFORM2DEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2dEXT")) == NULL) || r;
3563 r = ((glProgramUniform2dvEXT = (PFNGLPROGRAMUNIFORM2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2dvEXT")) == NULL) || r;
3564 r = ((glProgramUniform3dEXT = (PFNGLPROGRAMUNIFORM3DEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3dEXT")) == NULL) || r;
3565 r = ((glProgramUniform3dvEXT = (PFNGLPROGRAMUNIFORM3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3dvEXT")) == NULL) || r;
3566 r = ((glProgramUniform4dEXT = (PFNGLPROGRAMUNIFORM4DEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4dEXT")) == NULL) || r;
3567 r = ((glProgramUniform4dvEXT = (PFNGLPROGRAMUNIFORM4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4dvEXT")) == NULL) || r;
3568 r = ((glProgramUniformMatrix2dvEXT = (PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2dvEXT")) == NULL) || r;
3569 r = ((glProgramUniformMatrix2x3dvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3dvEXT")) == NULL) || r;
3570 r = ((glProgramUniformMatrix2x4dvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4dvEXT")) == NULL) || r;
3571 r = ((glProgramUniformMatrix3dvEXT = (PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3dvEXT")) == NULL) || r;
3572 r = ((glProgramUniformMatrix3x2dvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2dvEXT")) == NULL) || r;
3573 r = ((glProgramUniformMatrix3x4dvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4dvEXT")) == NULL) || r;
3574 r = ((glProgramUniformMatrix4dvEXT = (PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4dvEXT")) == NULL) || r;
3575 r = ((glProgramUniformMatrix4x2dvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2dvEXT")) == NULL) || r;
3576 r = ((glProgramUniformMatrix4x3dvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3dvEXT")) == NULL) || r;
3577 r = ((glUniform1d = (PFNGLUNIFORM1DPROC)glewGetProcAddress((const GLubyte*)"glUniform1d")) == NULL) || r;
3578 r = ((glUniform1dv = (PFNGLUNIFORM1DVPROC)glewGetProcAddress((const GLubyte*)"glUniform1dv")) == NULL) || r;
3579 r = ((glUniform2d = (PFNGLUNIFORM2DPROC)glewGetProcAddress((const GLubyte*)"glUniform2d")) == NULL) || r;
3580 r = ((glUniform2dv = (PFNGLUNIFORM2DVPROC)glewGetProcAddress((const GLubyte*)"glUniform2dv")) == NULL) || r;
3581 r = ((glUniform3d = (PFNGLUNIFORM3DPROC)glewGetProcAddress((const GLubyte*)"glUniform3d")) == NULL) || r;
3582 r = ((glUniform3dv = (PFNGLUNIFORM3DVPROC)glewGetProcAddress((const GLubyte*)"glUniform3dv")) == NULL) || r;
3583 r = ((glUniform4d = (PFNGLUNIFORM4DPROC)glewGetProcAddress((const GLubyte*)"glUniform4d")) == NULL) || r;
3584 r = ((glUniform4dv = (PFNGLUNIFORM4DVPROC)glewGetProcAddress((const GLubyte*)"glUniform4dv")) == NULL) || r;
3585 r = ((glUniformMatrix2dv = (PFNGLUNIFORMMATRIX2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2dv")) == NULL) || r;
3586 r = ((glUniformMatrix2x3dv = (PFNGLUNIFORMMATRIX2X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3dv")) == NULL) || r;
3587 r = ((glUniformMatrix2x4dv = (PFNGLUNIFORMMATRIX2X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4dv")) == NULL) || r;
3588 r = ((glUniformMatrix3dv = (PFNGLUNIFORMMATRIX3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3dv")) == NULL) || r;
3589 r = ((glUniformMatrix3x2dv = (PFNGLUNIFORMMATRIX3X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2dv")) == NULL) || r;
3590 r = ((glUniformMatrix3x4dv = (PFNGLUNIFORMMATRIX3X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4dv")) == NULL) || r;
3591 r = ((glUniformMatrix4dv = (PFNGLUNIFORMMATRIX4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4dv")) == NULL) || r;
3592 r = ((glUniformMatrix4x2dv = (PFNGLUNIFORMMATRIX4X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2dv")) == NULL) || r;
3593 r = ((glUniformMatrix4x3dv = (PFNGLUNIFORMMATRIX4X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3dv")) == NULL) || r;
3595 return r;
3598 #endif /* GL_ARB_gpu_shader_fp64 */
3600 #ifdef GL_ARB_half_float_pixel
3602 #endif /* GL_ARB_half_float_pixel */
3604 #ifdef GL_ARB_half_float_vertex
3606 #endif /* GL_ARB_half_float_vertex */
3608 #ifdef GL_ARB_imaging
3610 static GLboolean _glewInit_GL_ARB_imaging (GLEW_CONTEXT_ARG_DEF_INIT)
3612 GLboolean r = GL_FALSE;
3614 r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
3615 r = ((glColorSubTable = (PFNGLCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorSubTable")) == NULL) || r;
3616 r = ((glColorTable = (PFNGLCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorTable")) == NULL) || r;
3617 r = ((glColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfv")) == NULL) || r;
3618 r = ((glColorTableParameteriv = (PFNGLCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameteriv")) == NULL) || r;
3619 r = ((glConvolutionFilter1D = (PFNGLCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1D")) == NULL) || r;
3620 r = ((glConvolutionFilter2D = (PFNGLCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2D")) == NULL) || r;
3621 r = ((glConvolutionParameterf = (PFNGLCONVOLUTIONPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterf")) == NULL) || r;
3622 r = ((glConvolutionParameterfv = (PFNGLCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfv")) == NULL) || r;
3623 r = ((glConvolutionParameteri = (PFNGLCONVOLUTIONPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteri")) == NULL) || r;
3624 r = ((glConvolutionParameteriv = (PFNGLCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriv")) == NULL) || r;
3625 r = ((glCopyColorSubTable = (PFNGLCOPYCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTable")) == NULL) || r;
3626 r = ((glCopyColorTable = (PFNGLCOPYCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTable")) == NULL) || r;
3627 r = ((glCopyConvolutionFilter1D = (PFNGLCOPYCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1D")) == NULL) || r;
3628 r = ((glCopyConvolutionFilter2D = (PFNGLCOPYCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2D")) == NULL) || r;
3629 r = ((glGetColorTable = (PFNGLGETCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glGetColorTable")) == NULL) || r;
3630 r = ((glGetColorTableParameterfv = (PFNGLGETCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfv")) == NULL) || r;
3631 r = ((glGetColorTableParameteriv = (PFNGLGETCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameteriv")) == NULL) || r;
3632 r = ((glGetConvolutionFilter = (PFNGLGETCONVOLUTIONFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilter")) == NULL) || r;
3633 r = ((glGetConvolutionParameterfv = (PFNGLGETCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfv")) == NULL) || r;
3634 r = ((glGetConvolutionParameteriv = (PFNGLGETCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameteriv")) == NULL) || r;
3635 r = ((glGetHistogram = (PFNGLGETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glGetHistogram")) == NULL) || r;
3636 r = ((glGetHistogramParameterfv = (PFNGLGETHISTOGRAMPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfv")) == NULL) || r;
3637 r = ((glGetHistogramParameteriv = (PFNGLGETHISTOGRAMPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameteriv")) == NULL) || r;
3638 r = ((glGetMinmax = (PFNGLGETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glGetMinmax")) == NULL) || r;
3639 r = ((glGetMinmaxParameterfv = (PFNGLGETMINMAXPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfv")) == NULL) || r;
3640 r = ((glGetMinmaxParameteriv = (PFNGLGETMINMAXPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameteriv")) == NULL) || r;
3641 r = ((glGetSeparableFilter = (PFNGLGETSEPARABLEFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilter")) == NULL) || r;
3642 r = ((glHistogram = (PFNGLHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glHistogram")) == NULL) || r;
3643 r = ((glMinmax = (PFNGLMINMAXPROC)glewGetProcAddress((const GLubyte*)"glMinmax")) == NULL) || r;
3644 r = ((glResetHistogram = (PFNGLRESETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glResetHistogram")) == NULL) || r;
3645 r = ((glResetMinmax = (PFNGLRESETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glResetMinmax")) == NULL) || r;
3646 r = ((glSeparableFilter2D = (PFNGLSEPARABLEFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2D")) == NULL) || r;
3648 return r;
3651 #endif /* GL_ARB_imaging */
3653 #ifdef GL_ARB_instanced_arrays
3655 static GLboolean _glewInit_GL_ARB_instanced_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
3657 GLboolean r = GL_FALSE;
3659 r = ((glVertexAttribDivisorARB = (PFNGLVERTEXATTRIBDIVISORARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorARB")) == NULL) || r;
3661 return r;
3664 #endif /* GL_ARB_instanced_arrays */
3666 #ifdef GL_ARB_map_buffer_range
3668 static GLboolean _glewInit_GL_ARB_map_buffer_range (GLEW_CONTEXT_ARG_DEF_INIT)
3670 GLboolean r = GL_FALSE;
3672 r = ((glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRange")) == NULL) || r;
3673 r = ((glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glMapBufferRange")) == NULL) || r;
3675 return r;
3678 #endif /* GL_ARB_map_buffer_range */
3680 #ifdef GL_ARB_matrix_palette
3682 static GLboolean _glewInit_GL_ARB_matrix_palette (GLEW_CONTEXT_ARG_DEF_INIT)
3684 GLboolean r = GL_FALSE;
3686 r = ((glCurrentPaletteMatrixARB = (PFNGLCURRENTPALETTEMATRIXARBPROC)glewGetProcAddress((const GLubyte*)"glCurrentPaletteMatrixARB")) == NULL) || r;
3687 r = ((glMatrixIndexPointerARB = (PFNGLMATRIXINDEXPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexPointerARB")) == NULL) || r;
3688 r = ((glMatrixIndexubvARB = (PFNGLMATRIXINDEXUBVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexubvARB")) == NULL) || r;
3689 r = ((glMatrixIndexuivARB = (PFNGLMATRIXINDEXUIVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexuivARB")) == NULL) || r;
3690 r = ((glMatrixIndexusvARB = (PFNGLMATRIXINDEXUSVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexusvARB")) == NULL) || r;
3692 return r;
3695 #endif /* GL_ARB_matrix_palette */
3697 #ifdef GL_ARB_multisample
3699 static GLboolean _glewInit_GL_ARB_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
3701 GLboolean r = GL_FALSE;
3703 r = ((glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverageARB")) == NULL) || r;
3705 return r;
3708 #endif /* GL_ARB_multisample */
3710 #ifdef GL_ARB_multitexture
3712 static GLboolean _glewInit_GL_ARB_multitexture (GLEW_CONTEXT_ARG_DEF_INIT)
3714 GLboolean r = GL_FALSE;
3716 r = ((glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glActiveTextureARB")) == NULL) || r;
3717 r = ((glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTextureARB")) == NULL) || r;
3718 r = ((glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dARB")) == NULL) || r;
3719 r = ((glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dvARB")) == NULL) || r;
3720 r = ((glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fARB")) == NULL) || r;
3721 r = ((glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fvARB")) == NULL) || r;
3722 r = ((glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iARB")) == NULL) || r;
3723 r = ((glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1ivARB")) == NULL) || r;
3724 r = ((glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sARB")) == NULL) || r;
3725 r = ((glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1svARB")) == NULL) || r;
3726 r = ((glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dARB")) == NULL) || r;
3727 r = ((glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dvARB")) == NULL) || r;
3728 r = ((glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fARB")) == NULL) || r;
3729 r = ((glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fvARB")) == NULL) || r;
3730 r = ((glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iARB")) == NULL) || r;
3731 r = ((glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2ivARB")) == NULL) || r;
3732 r = ((glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sARB")) == NULL) || r;
3733 r = ((glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2svARB")) == NULL) || r;
3734 r = ((glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dARB")) == NULL) || r;
3735 r = ((glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dvARB")) == NULL) || r;
3736 r = ((glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fARB")) == NULL) || r;
3737 r = ((glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fvARB")) == NULL) || r;
3738 r = ((glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iARB")) == NULL) || r;
3739 r = ((glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3ivARB")) == NULL) || r;
3740 r = ((glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sARB")) == NULL) || r;
3741 r = ((glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3svARB")) == NULL) || r;
3742 r = ((glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dARB")) == NULL) || r;
3743 r = ((glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dvARB")) == NULL) || r;
3744 r = ((glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fARB")) == NULL) || r;
3745 r = ((glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fvARB")) == NULL) || r;
3746 r = ((glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iARB")) == NULL) || r;
3747 r = ((glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4ivARB")) == NULL) || r;
3748 r = ((glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sARB")) == NULL) || r;
3749 r = ((glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4svARB")) == NULL) || r;
3751 return r;
3754 #endif /* GL_ARB_multitexture */
3756 #ifdef GL_ARB_occlusion_query
3758 static GLboolean _glewInit_GL_ARB_occlusion_query (GLEW_CONTEXT_ARG_DEF_INIT)
3760 GLboolean r = GL_FALSE;
3762 r = ((glBeginQueryARB = (PFNGLBEGINQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryARB")) == NULL) || r;
3763 r = ((glDeleteQueriesARB = (PFNGLDELETEQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesARB")) == NULL) || r;
3764 r = ((glEndQueryARB = (PFNGLENDQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glEndQueryARB")) == NULL) || r;
3765 r = ((glGenQueriesARB = (PFNGLGENQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesARB")) == NULL) || r;
3766 r = ((glGetQueryObjectivARB = (PFNGLGETQUERYOBJECTIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivARB")) == NULL) || r;
3767 r = ((glGetQueryObjectuivARB = (PFNGLGETQUERYOBJECTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivARB")) == NULL) || r;
3768 r = ((glGetQueryivARB = (PFNGLGETQUERYIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivARB")) == NULL) || r;
3769 r = ((glIsQueryARB = (PFNGLISQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glIsQueryARB")) == NULL) || r;
3771 return r;
3774 #endif /* GL_ARB_occlusion_query */
3776 #ifdef GL_ARB_occlusion_query2
3778 #endif /* GL_ARB_occlusion_query2 */
3780 #ifdef GL_ARB_pixel_buffer_object
3782 #endif /* GL_ARB_pixel_buffer_object */
3784 #ifdef GL_ARB_point_parameters
3786 static GLboolean _glewInit_GL_ARB_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
3788 GLboolean r = GL_FALSE;
3790 r = ((glPointParameterfARB = (PFNGLPOINTPARAMETERFARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfARB")) == NULL) || r;
3791 r = ((glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvARB")) == NULL) || r;
3793 return r;
3796 #endif /* GL_ARB_point_parameters */
3798 #ifdef GL_ARB_point_sprite
3800 #endif /* GL_ARB_point_sprite */
3802 #ifdef GL_ARB_provoking_vertex
3804 static GLboolean _glewInit_GL_ARB_provoking_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
3806 GLboolean r = GL_FALSE;
3808 r = ((glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertex")) == NULL) || r;
3810 return r;
3813 #endif /* GL_ARB_provoking_vertex */
3815 #ifdef GL_ARB_sample_shading
3817 static GLboolean _glewInit_GL_ARB_sample_shading (GLEW_CONTEXT_ARG_DEF_INIT)
3819 GLboolean r = GL_FALSE;
3821 r = ((glMinSampleShadingARB = (PFNGLMINSAMPLESHADINGARBPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShadingARB")) == NULL) || r;
3823 return r;
3826 #endif /* GL_ARB_sample_shading */
3828 #ifdef GL_ARB_sampler_objects
3830 static GLboolean _glewInit_GL_ARB_sampler_objects (GLEW_CONTEXT_ARG_DEF_INIT)
3832 GLboolean r = GL_FALSE;
3834 r = ((glBindSampler = (PFNGLBINDSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glBindSampler")) == NULL) || r;
3835 r = ((glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteSamplers")) == NULL) || r;
3836 r = ((glGenSamplers = (PFNGLGENSAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glGenSamplers")) == NULL) || r;
3837 r = ((glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIiv")) == NULL) || r;
3838 r = ((glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIuiv")) == NULL) || r;
3839 r = ((glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterfv")) == NULL) || r;
3840 r = ((glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameteriv")) == NULL) || r;
3841 r = ((glIsSampler = (PFNGLISSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glIsSampler")) == NULL) || r;
3842 r = ((glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIiv")) == NULL) || r;
3843 r = ((glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIuiv")) == NULL) || r;
3844 r = ((glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterf")) == NULL) || r;
3845 r = ((glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterfv")) == NULL) || r;
3846 r = ((glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteri")) == NULL) || r;
3847 r = ((glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteriv")) == NULL) || r;
3849 return r;
3852 #endif /* GL_ARB_sampler_objects */
3854 #ifdef GL_ARB_seamless_cube_map
3856 #endif /* GL_ARB_seamless_cube_map */
3858 #ifdef GL_ARB_shader_bit_encoding
3860 #endif /* GL_ARB_shader_bit_encoding */
3862 #ifdef GL_ARB_shader_objects
3864 static GLboolean _glewInit_GL_ARB_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)
3866 GLboolean r = GL_FALSE;
3868 r = ((glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glAttachObjectARB")) == NULL) || r;
3869 r = ((glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderARB")) == NULL) || r;
3870 r = ((glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateProgramObjectARB")) == NULL) || r;
3871 r = ((glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderObjectARB")) == NULL) || r;
3872 r = ((glDeleteObjectARB = (PFNGLDELETEOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteObjectARB")) == NULL) || r;
3873 r = ((glDetachObjectARB = (PFNGLDETACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDetachObjectARB")) == NULL) || r;
3874 r = ((glGetActiveUniformARB = (PFNGLGETACTIVEUNIFORMARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformARB")) == NULL) || r;
3875 r = ((glGetAttachedObjectsARB = (PFNGLGETATTACHEDOBJECTSARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedObjectsARB")) == NULL) || r;
3876 r = ((glGetHandleARB = (PFNGLGETHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetHandleARB")) == NULL) || r;
3877 r = ((glGetInfoLogARB = (PFNGLGETINFOLOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetInfoLogARB")) == NULL) || r;
3878 r = ((glGetObjectParameterfvARB = (PFNGLGETOBJECTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterfvARB")) == NULL) || r;
3879 r = ((glGetObjectParameterivARB = (PFNGLGETOBJECTPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivARB")) == NULL) || r;
3880 r = ((glGetShaderSourceARB = (PFNGLGETSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSourceARB")) == NULL) || r;
3881 r = ((glGetUniformLocationARB = (PFNGLGETUNIFORMLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocationARB")) == NULL) || r;
3882 r = ((glGetUniformfvARB = (PFNGLGETUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfvARB")) == NULL) || r;
3883 r = ((glGetUniformivARB = (PFNGLGETUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformivARB")) == NULL) || r;
3884 r = ((glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glLinkProgramARB")) == NULL) || r;
3885 r = ((glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glShaderSourceARB")) == NULL) || r;
3886 r = ((glUniform1fARB = (PFNGLUNIFORM1FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fARB")) == NULL) || r;
3887 r = ((glUniform1fvARB = (PFNGLUNIFORM1FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fvARB")) == NULL) || r;
3888 r = ((glUniform1iARB = (PFNGLUNIFORM1IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1iARB")) == NULL) || r;
3889 r = ((glUniform1ivARB = (PFNGLUNIFORM1IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ivARB")) == NULL) || r;
3890 r = ((glUniform2fARB = (PFNGLUNIFORM2FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fARB")) == NULL) || r;
3891 r = ((glUniform2fvARB = (PFNGLUNIFORM2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fvARB")) == NULL) || r;
3892 r = ((glUniform2iARB = (PFNGLUNIFORM2IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2iARB")) == NULL) || r;
3893 r = ((glUniform2ivARB = (PFNGLUNIFORM2IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ivARB")) == NULL) || r;
3894 r = ((glUniform3fARB = (PFNGLUNIFORM3FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fARB")) == NULL) || r;
3895 r = ((glUniform3fvARB = (PFNGLUNIFORM3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fvARB")) == NULL) || r;
3896 r = ((glUniform3iARB = (PFNGLUNIFORM3IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3iARB")) == NULL) || r;
3897 r = ((glUniform3ivARB = (PFNGLUNIFORM3IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ivARB")) == NULL) || r;
3898 r = ((glUniform4fARB = (PFNGLUNIFORM4FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fARB")) == NULL) || r;
3899 r = ((glUniform4fvARB = (PFNGLUNIFORM4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fvARB")) == NULL) || r;
3900 r = ((glUniform4iARB = (PFNGLUNIFORM4IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4iARB")) == NULL) || r;
3901 r = ((glUniform4ivARB = (PFNGLUNIFORM4IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ivARB")) == NULL) || r;
3902 r = ((glUniformMatrix2fvARB = (PFNGLUNIFORMMATRIX2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fvARB")) == NULL) || r;
3903 r = ((glUniformMatrix3fvARB = (PFNGLUNIFORMMATRIX3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fvARB")) == NULL) || r;
3904 r = ((glUniformMatrix4fvARB = (PFNGLUNIFORMMATRIX4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fvARB")) == NULL) || r;
3905 r = ((glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glUseProgramObjectARB")) == NULL) || r;
3906 r = ((glValidateProgramARB = (PFNGLVALIDATEPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramARB")) == NULL) || r;
3908 return r;
3911 #endif /* GL_ARB_shader_objects */
3913 #ifdef GL_ARB_shader_subroutine
3915 static GLboolean _glewInit_GL_ARB_shader_subroutine (GLEW_CONTEXT_ARG_DEF_INIT)
3917 GLboolean r = GL_FALSE;
3919 r = ((glGetActiveSubroutineName = (PFNGLGETACTIVESUBROUTINENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineName")) == NULL) || r;
3920 r = ((glGetActiveSubroutineUniformName = (PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformName")) == NULL) || r;
3921 r = ((glGetActiveSubroutineUniformiv = (PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformiv")) == NULL) || r;
3922 r = ((glGetProgramStageiv = (PFNGLGETPROGRAMSTAGEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStageiv")) == NULL) || r;
3923 r = ((glGetSubroutineIndex = (PFNGLGETSUBROUTINEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineIndex")) == NULL) || r;
3924 r = ((glGetSubroutineUniformLocation = (PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineUniformLocation")) == NULL) || r;
3925 r = ((glGetUniformSubroutineuiv = (PFNGLGETUNIFORMSUBROUTINEUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformSubroutineuiv")) == NULL) || r;
3926 r = ((glUniformSubroutinesuiv = (PFNGLUNIFORMSUBROUTINESUIVPROC)glewGetProcAddress((const GLubyte*)"glUniformSubroutinesuiv")) == NULL) || r;
3928 return r;
3931 #endif /* GL_ARB_shader_subroutine */
3933 #ifdef GL_ARB_shader_texture_lod
3935 #endif /* GL_ARB_shader_texture_lod */
3937 #ifdef GL_ARB_shading_language_100
3939 #endif /* GL_ARB_shading_language_100 */
3941 #ifdef GL_ARB_shading_language_include
3943 static GLboolean _glewInit_GL_ARB_shading_language_include (GLEW_CONTEXT_ARG_DEF_INIT)
3945 GLboolean r = GL_FALSE;
3947 r = ((glCompileShaderIncludeARB = (PFNGLCOMPILESHADERINCLUDEARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderIncludeARB")) == NULL) || r;
3948 r = ((glDeleteNamedStringARB = (PFNGLDELETENAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamedStringARB")) == NULL) || r;
3949 r = ((glGetNamedStringARB = (PFNGLGETNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringARB")) == NULL) || r;
3950 r = ((glGetNamedStringivARB = (PFNGLGETNAMEDSTRINGIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringivARB")) == NULL) || r;
3951 r = ((glIsNamedStringARB = (PFNGLISNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glIsNamedStringARB")) == NULL) || r;
3952 r = ((glNamedStringARB = (PFNGLNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glNamedStringARB")) == NULL) || r;
3954 return r;
3957 #endif /* GL_ARB_shading_language_include */
3959 #ifdef GL_ARB_shadow
3961 #endif /* GL_ARB_shadow */
3963 #ifdef GL_ARB_shadow_ambient
3965 #endif /* GL_ARB_shadow_ambient */
3967 #ifdef GL_ARB_sync
3969 static GLboolean _glewInit_GL_ARB_sync (GLEW_CONTEXT_ARG_DEF_INIT)
3971 GLboolean r = GL_FALSE;
3973 r = ((glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glClientWaitSync")) == NULL) || r;
3974 r = ((glDeleteSync = (PFNGLDELETESYNCPROC)glewGetProcAddress((const GLubyte*)"glDeleteSync")) == NULL) || r;
3975 r = ((glFenceSync = (PFNGLFENCESYNCPROC)glewGetProcAddress((const GLubyte*)"glFenceSync")) == NULL) || r;
3976 r = ((glGetInteger64v = (PFNGLGETINTEGER64VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64v")) == NULL) || r;
3977 r = ((glGetSynciv = (PFNGLGETSYNCIVPROC)glewGetProcAddress((const GLubyte*)"glGetSynciv")) == NULL) || r;
3978 r = ((glIsSync = (PFNGLISSYNCPROC)glewGetProcAddress((const GLubyte*)"glIsSync")) == NULL) || r;
3979 r = ((glWaitSync = (PFNGLWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glWaitSync")) == NULL) || r;
3981 return r;
3984 #endif /* GL_ARB_sync */
3986 #ifdef GL_ARB_tessellation_shader
3988 static GLboolean _glewInit_GL_ARB_tessellation_shader (GLEW_CONTEXT_ARG_DEF_INIT)
3990 GLboolean r = GL_FALSE;
3992 r = ((glPatchParameterfv = (PFNGLPATCHPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPatchParameterfv")) == NULL) || r;
3993 r = ((glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPatchParameteri")) == NULL) || r;
3995 return r;
3998 #endif /* GL_ARB_tessellation_shader */
4000 #ifdef GL_ARB_texture_border_clamp
4002 #endif /* GL_ARB_texture_border_clamp */
4004 #ifdef GL_ARB_texture_buffer_object
4006 static GLboolean _glewInit_GL_ARB_texture_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
4008 GLboolean r = GL_FALSE;
4010 r = ((glTexBufferARB = (PFNGLTEXBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glTexBufferARB")) == NULL) || r;
4012 return r;
4015 #endif /* GL_ARB_texture_buffer_object */
4017 #ifdef GL_ARB_texture_buffer_object_rgb32
4019 #endif /* GL_ARB_texture_buffer_object_rgb32 */
4021 #ifdef GL_ARB_texture_compression
4023 static GLboolean _glewInit_GL_ARB_texture_compression (GLEW_CONTEXT_ARG_DEF_INIT)
4025 GLboolean r = GL_FALSE;
4027 r = ((glCompressedTexImage1DARB = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1DARB")) == NULL) || r;
4028 r = ((glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2DARB")) == NULL) || r;
4029 r = ((glCompressedTexImage3DARB = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3DARB")) == NULL) || r;
4030 r = ((glCompressedTexSubImage1DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1DARB")) == NULL) || r;
4031 r = ((glCompressedTexSubImage2DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2DARB")) == NULL) || r;
4032 r = ((glCompressedTexSubImage3DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3DARB")) == NULL) || r;
4033 r = ((glGetCompressedTexImageARB = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImageARB")) == NULL) || r;
4035 return r;
4038 #endif /* GL_ARB_texture_compression */
4040 #ifdef GL_ARB_texture_compression_bptc
4042 #endif /* GL_ARB_texture_compression_bptc */
4044 #ifdef GL_ARB_texture_compression_rgtc
4046 #endif /* GL_ARB_texture_compression_rgtc */
4048 #ifdef GL_ARB_texture_cube_map
4050 #endif /* GL_ARB_texture_cube_map */
4052 #ifdef GL_ARB_texture_cube_map_array
4054 #endif /* GL_ARB_texture_cube_map_array */
4056 #ifdef GL_ARB_texture_env_add
4058 #endif /* GL_ARB_texture_env_add */
4060 #ifdef GL_ARB_texture_env_combine
4062 #endif /* GL_ARB_texture_env_combine */
4064 #ifdef GL_ARB_texture_env_crossbar
4066 #endif /* GL_ARB_texture_env_crossbar */
4068 #ifdef GL_ARB_texture_env_dot3
4070 #endif /* GL_ARB_texture_env_dot3 */
4072 #ifdef GL_ARB_texture_float
4074 #endif /* GL_ARB_texture_float */
4076 #ifdef GL_ARB_texture_gather
4078 #endif /* GL_ARB_texture_gather */
4080 #ifdef GL_ARB_texture_mirrored_repeat
4082 #endif /* GL_ARB_texture_mirrored_repeat */
4084 #ifdef GL_ARB_texture_multisample
4086 static GLboolean _glewInit_GL_ARB_texture_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
4088 GLboolean r = GL_FALSE;
4090 r = ((glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefv")) == NULL) || r;
4091 r = ((glSampleMaski = (PFNGLSAMPLEMASKIPROC)glewGetProcAddress((const GLubyte*)"glSampleMaski")) == NULL) || r;
4092 r = ((glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisample")) == NULL) || r;
4093 r = ((glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisample")) == NULL) || r;
4095 return r;
4098 #endif /* GL_ARB_texture_multisample */
4100 #ifdef GL_ARB_texture_non_power_of_two
4102 #endif /* GL_ARB_texture_non_power_of_two */
4104 #ifdef GL_ARB_texture_query_lod
4106 #endif /* GL_ARB_texture_query_lod */
4108 #ifdef GL_ARB_texture_rectangle
4110 #endif /* GL_ARB_texture_rectangle */
4112 #ifdef GL_ARB_texture_rg
4114 #endif /* GL_ARB_texture_rg */
4116 #ifdef GL_ARB_texture_rgb10_a2ui
4118 #endif /* GL_ARB_texture_rgb10_a2ui */
4120 #ifdef GL_ARB_texture_swizzle
4122 #endif /* GL_ARB_texture_swizzle */
4124 #ifdef GL_ARB_timer_query
4126 static GLboolean _glewInit_GL_ARB_timer_query (GLEW_CONTEXT_ARG_DEF_INIT)
4128 GLboolean r = GL_FALSE;
4130 r = ((glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64v")) == NULL) || r;
4131 r = ((glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64v")) == NULL) || r;
4132 r = ((glQueryCounter = (PFNGLQUERYCOUNTERPROC)glewGetProcAddress((const GLubyte*)"glQueryCounter")) == NULL) || r;
4134 return r;
4137 #endif /* GL_ARB_timer_query */
4139 #ifdef GL_ARB_transform_feedback2
4141 static GLboolean _glewInit_GL_ARB_transform_feedback2 (GLEW_CONTEXT_ARG_DEF_INIT)
4143 GLboolean r = GL_FALSE;
4145 r = ((glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedback")) == NULL) || r;
4146 r = ((glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacks")) == NULL) || r;
4147 r = ((glDrawTransformFeedback = (PFNGLDRAWTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedback")) == NULL) || r;
4148 r = ((glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacks")) == NULL) || r;
4149 r = ((glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedback")) == NULL) || r;
4150 r = ((glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedback")) == NULL) || r;
4151 r = ((glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedback")) == NULL) || r;
4153 return r;
4156 #endif /* GL_ARB_transform_feedback2 */
4158 #ifdef GL_ARB_transform_feedback3
4160 static GLboolean _glewInit_GL_ARB_transform_feedback3 (GLEW_CONTEXT_ARG_DEF_INIT)
4162 GLboolean r = GL_FALSE;
4164 r = ((glBeginQueryIndexed = (PFNGLBEGINQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryIndexed")) == NULL) || r;
4165 r = ((glDrawTransformFeedbackStream = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStream")) == NULL) || r;
4166 r = ((glEndQueryIndexed = (PFNGLENDQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glEndQueryIndexed")) == NULL) || r;
4167 r = ((glGetQueryIndexediv = (PFNGLGETQUERYINDEXEDIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryIndexediv")) == NULL) || r;
4169 return r;
4172 #endif /* GL_ARB_transform_feedback3 */
4174 #ifdef GL_ARB_transpose_matrix
4176 static GLboolean _glewInit_GL_ARB_transpose_matrix (GLEW_CONTEXT_ARG_DEF_INIT)
4178 GLboolean r = GL_FALSE;
4180 r = ((glLoadTransposeMatrixdARB = (PFNGLLOADTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixdARB")) == NULL) || r;
4181 r = ((glLoadTransposeMatrixfARB = (PFNGLLOADTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixfARB")) == NULL) || r;
4182 r = ((glMultTransposeMatrixdARB = (PFNGLMULTTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixdARB")) == NULL) || r;
4183 r = ((glMultTransposeMatrixfARB = (PFNGLMULTTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixfARB")) == NULL) || r;
4185 return r;
4188 #endif /* GL_ARB_transpose_matrix */
4190 #ifdef GL_ARB_uniform_buffer_object
4192 static GLboolean _glewInit_GL_ARB_uniform_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
4194 GLboolean r = GL_FALSE;
4196 r = ((glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBase")) == NULL) || r;
4197 r = ((glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRange")) == NULL) || r;
4198 r = ((glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockName")) == NULL) || r;
4199 r = ((glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockiv")) == NULL) || r;
4200 r = ((glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformName")) == NULL) || r;
4201 r = ((glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformsiv")) == NULL) || r;
4202 r = ((glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)glewGetProcAddress((const GLubyte*)"glGetIntegeri_v")) == NULL) || r;
4203 r = ((glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBlockIndex")) == NULL) || r;
4204 r = ((glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)glewGetProcAddress((const GLubyte*)"glGetUniformIndices")) == NULL) || r;
4205 r = ((glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glUniformBlockBinding")) == NULL) || r;
4207 return r;
4210 #endif /* GL_ARB_uniform_buffer_object */
4212 #ifdef GL_ARB_vertex_array_bgra
4214 #endif /* GL_ARB_vertex_array_bgra */
4216 #ifdef GL_ARB_vertex_array_object
4218 static GLboolean _glewInit_GL_ARB_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
4220 GLboolean r = GL_FALSE;
4222 r = ((glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArray")) == NULL) || r;
4223 r = ((glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArrays")) == NULL) || r;
4224 r = ((glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArrays")) == NULL) || r;
4225 r = ((glIsVertexArray = (PFNGLISVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArray")) == NULL) || r;
4227 return r;
4230 #endif /* GL_ARB_vertex_array_object */
4232 #ifdef GL_ARB_vertex_blend
4234 static GLboolean _glewInit_GL_ARB_vertex_blend (GLEW_CONTEXT_ARG_DEF_INIT)
4236 GLboolean r = GL_FALSE;
4238 r = ((glVertexBlendARB = (PFNGLVERTEXBLENDARBPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendARB")) == NULL) || r;
4239 r = ((glWeightPointerARB = (PFNGLWEIGHTPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glWeightPointerARB")) == NULL) || r;
4240 r = ((glWeightbvARB = (PFNGLWEIGHTBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightbvARB")) == NULL) || r;
4241 r = ((glWeightdvARB = (PFNGLWEIGHTDVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightdvARB")) == NULL) || r;
4242 r = ((glWeightfvARB = (PFNGLWEIGHTFVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightfvARB")) == NULL) || r;
4243 r = ((glWeightivARB = (PFNGLWEIGHTIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightivARB")) == NULL) || r;
4244 r = ((glWeightsvARB = (PFNGLWEIGHTSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightsvARB")) == NULL) || r;
4245 r = ((glWeightubvARB = (PFNGLWEIGHTUBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightubvARB")) == NULL) || r;
4246 r = ((glWeightuivARB = (PFNGLWEIGHTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightuivARB")) == NULL) || r;
4247 r = ((glWeightusvARB = (PFNGLWEIGHTUSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightusvARB")) == NULL) || r;
4249 return r;
4252 #endif /* GL_ARB_vertex_blend */
4254 #ifdef GL_ARB_vertex_buffer_object
4256 static GLboolean _glewInit_GL_ARB_vertex_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
4258 GLboolean r = GL_FALSE;
4260 r = ((glBindBufferARB = (PFNGLBINDBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glBindBufferARB")) == NULL) || r;
4261 r = ((glBufferDataARB = (PFNGLBUFFERDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferDataARB")) == NULL) || r;
4262 r = ((glBufferSubDataARB = (PFNGLBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferSubDataARB")) == NULL) || r;
4263 r = ((glDeleteBuffersARB = (PFNGLDELETEBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffersARB")) == NULL) || r;
4264 r = ((glGenBuffersARB = (PFNGLGENBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glGenBuffersARB")) == NULL) || r;
4265 r = ((glGetBufferParameterivARB = (PFNGLGETBUFFERPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterivARB")) == NULL) || r;
4266 r = ((glGetBufferPointervARB = (PFNGLGETBUFFERPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointervARB")) == NULL) || r;
4267 r = ((glGetBufferSubDataARB = (PFNGLGETBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubDataARB")) == NULL) || r;
4268 r = ((glIsBufferARB = (PFNGLISBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glIsBufferARB")) == NULL) || r;
4269 r = ((glMapBufferARB = (PFNGLMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glMapBufferARB")) == NULL) || r;
4270 r = ((glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glUnmapBufferARB")) == NULL) || r;
4272 return r;
4275 #endif /* GL_ARB_vertex_buffer_object */
4277 #ifdef GL_ARB_vertex_program
4279 static GLboolean _glewInit_GL_ARB_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT)
4281 GLboolean r = GL_FALSE;
4283 r = ((glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glBindProgramARB")) == NULL) || r;
4284 r = ((glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsARB")) == NULL) || r;
4285 r = ((glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArrayARB")) == NULL) || r;
4286 r = ((glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArrayARB")) == NULL) || r;
4287 r = ((glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsARB")) == NULL) || r;
4288 r = ((glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterdvARB")) == NULL) || r;
4289 r = ((glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterfvARB")) == NULL) || r;
4290 r = ((glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterdvARB")) == NULL) || r;
4291 r = ((glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterfvARB")) == NULL) || r;
4292 r = ((glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringARB")) == NULL) || r;
4293 r = ((glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivARB")) == NULL) || r;
4294 r = ((glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervARB")) == NULL) || r;
4295 r = ((glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvARB")) == NULL) || r;
4296 r = ((glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvARB")) == NULL) || r;
4297 r = ((glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivARB")) == NULL) || r;
4298 r = ((glIsProgramARB = (PFNGLISPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glIsProgramARB")) == NULL) || r;
4299 r = ((glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dARB")) == NULL) || r;
4300 r = ((glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dvARB")) == NULL) || r;
4301 r = ((glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fARB")) == NULL) || r;
4302 r = ((glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fvARB")) == NULL) || r;
4303 r = ((glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dARB")) == NULL) || r;
4304 r = ((glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dvARB")) == NULL) || r;
4305 r = ((glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fARB")) == NULL) || r;
4306 r = ((glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fvARB")) == NULL) || r;
4307 r = ((glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glProgramStringARB")) == NULL) || r;
4308 r = ((glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dARB")) == NULL) || r;
4309 r = ((glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvARB")) == NULL) || r;
4310 r = ((glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fARB")) == NULL) || r;
4311 r = ((glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvARB")) == NULL) || r;
4312 r = ((glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sARB")) == NULL) || r;
4313 r = ((glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svARB")) == NULL) || r;
4314 r = ((glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dARB")) == NULL) || r;
4315 r = ((glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvARB")) == NULL) || r;
4316 r = ((glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fARB")) == NULL) || r;
4317 r = ((glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvARB")) == NULL) || r;
4318 r = ((glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sARB")) == NULL) || r;
4319 r = ((glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svARB")) == NULL) || r;
4320 r = ((glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dARB")) == NULL) || r;
4321 r = ((glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvARB")) == NULL) || r;
4322 r = ((glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fARB")) == NULL) || r;
4323 r = ((glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvARB")) == NULL) || r;
4324 r = ((glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sARB")) == NULL) || r;
4325 r = ((glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svARB")) == NULL) || r;
4326 r = ((glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NbvARB")) == NULL) || r;
4327 r = ((glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NivARB")) == NULL) || r;
4328 r = ((glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NsvARB")) == NULL) || r;
4329 r = ((glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubARB")) == NULL) || r;
4330 r = ((glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubvARB")) == NULL) || r;
4331 r = ((glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NuivARB")) == NULL) || r;
4332 r = ((glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NusvARB")) == NULL) || r;
4333 r = ((glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bvARB")) == NULL) || r;
4334 r = ((glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dARB")) == NULL) || r;
4335 r = ((glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvARB")) == NULL) || r;
4336 r = ((glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fARB")) == NULL) || r;
4337 r = ((glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvARB")) == NULL) || r;
4338 r = ((glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ivARB")) == NULL) || r;
4339 r = ((glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sARB")) == NULL) || r;
4340 r = ((glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svARB")) == NULL) || r;
4341 r = ((glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvARB")) == NULL) || r;
4342 r = ((glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uivARB")) == NULL) || r;
4343 r = ((glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usvARB")) == NULL) || r;
4344 r = ((glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerARB")) == NULL) || r;
4346 return r;
4349 #endif /* GL_ARB_vertex_program */
4351 #ifdef GL_ARB_vertex_shader
4353 static GLboolean _glewInit_GL_ARB_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)
4355 GLboolean r = GL_FALSE;
4357 r = ((glBindAttribLocationARB = (PFNGLBINDATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocationARB")) == NULL) || r;
4358 r = ((glGetActiveAttribARB = (PFNGLGETACTIVEATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttribARB")) == NULL) || r;
4359 r = ((glGetAttribLocationARB = (PFNGLGETATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocationARB")) == NULL) || r;
4361 return r;
4364 #endif /* GL_ARB_vertex_shader */
4366 #ifdef GL_ARB_vertex_type_2_10_10_10_rev
4368 static GLboolean _glewInit_GL_ARB_vertex_type_2_10_10_10_rev (GLEW_CONTEXT_ARG_DEF_INIT)
4370 GLboolean r = GL_FALSE;
4372 r = ((glColorP3ui = (PFNGLCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glColorP3ui")) == NULL) || r;
4373 r = ((glColorP3uiv = (PFNGLCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP3uiv")) == NULL) || r;
4374 r = ((glColorP4ui = (PFNGLCOLORP4UIPROC)glewGetProcAddress((const GLubyte*)"glColorP4ui")) == NULL) || r;
4375 r = ((glColorP4uiv = (PFNGLCOLORP4UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP4uiv")) == NULL) || r;
4376 r = ((glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1ui")) == NULL) || r;
4377 r = ((glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1uiv")) == NULL) || r;
4378 r = ((glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2ui")) == NULL) || r;
4379 r = ((glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2uiv")) == NULL) || r;
4380 r = ((glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3ui")) == NULL) || r;
4381 r = ((glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3uiv")) == NULL) || r;
4382 r = ((glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4ui")) == NULL) || r;
4383 r = ((glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4uiv")) == NULL) || r;
4384 r = ((glNormalP3ui = (PFNGLNORMALP3UIPROC)glewGetProcAddress((const GLubyte*)"glNormalP3ui")) == NULL) || r;
4385 r = ((glNormalP3uiv = (PFNGLNORMALP3UIVPROC)glewGetProcAddress((const GLubyte*)"glNormalP3uiv")) == NULL) || r;
4386 r = ((glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3ui")) == NULL) || r;
4387 r = ((glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3uiv")) == NULL) || r;
4388 r = ((glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1ui")) == NULL) || r;
4389 r = ((glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1uiv")) == NULL) || r;
4390 r = ((glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2ui")) == NULL) || r;
4391 r = ((glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2uiv")) == NULL) || r;
4392 r = ((glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3ui")) == NULL) || r;
4393 r = ((glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3uiv")) == NULL) || r;
4394 r = ((glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4ui")) == NULL) || r;
4395 r = ((glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4uiv")) == NULL) || r;
4396 r = ((glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1ui")) == NULL) || r;
4397 r = ((glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1uiv")) == NULL) || r;
4398 r = ((glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2ui")) == NULL) || r;
4399 r = ((glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2uiv")) == NULL) || r;
4400 r = ((glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3ui")) == NULL) || r;
4401 r = ((glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3uiv")) == NULL) || r;
4402 r = ((glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4ui")) == NULL) || r;
4403 r = ((glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4uiv")) == NULL) || r;
4404 r = ((glVertexP2ui = (PFNGLVERTEXP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP2ui")) == NULL) || r;
4405 r = ((glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP2uiv")) == NULL) || r;
4406 r = ((glVertexP3ui = (PFNGLVERTEXP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP3ui")) == NULL) || r;
4407 r = ((glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP3uiv")) == NULL) || r;
4408 r = ((glVertexP4ui = (PFNGLVERTEXP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP4ui")) == NULL) || r;
4409 r = ((glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP4uiv")) == NULL) || r;
4411 return r;
4414 #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
4416 #ifdef GL_ARB_window_pos
4418 static GLboolean _glewInit_GL_ARB_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)
4420 GLboolean r = GL_FALSE;
4422 r = ((glWindowPos2dARB = (PFNGLWINDOWPOS2DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dARB")) == NULL) || r;
4423 r = ((glWindowPos2dvARB = (PFNGLWINDOWPOS2DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvARB")) == NULL) || r;
4424 r = ((glWindowPos2fARB = (PFNGLWINDOWPOS2FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fARB")) == NULL) || r;
4425 r = ((glWindowPos2fvARB = (PFNGLWINDOWPOS2FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvARB")) == NULL) || r;
4426 r = ((glWindowPos2iARB = (PFNGLWINDOWPOS2IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iARB")) == NULL) || r;
4427 r = ((glWindowPos2ivARB = (PFNGLWINDOWPOS2IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivARB")) == NULL) || r;
4428 r = ((glWindowPos2sARB = (PFNGLWINDOWPOS2SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sARB")) == NULL) || r;
4429 r = ((glWindowPos2svARB = (PFNGLWINDOWPOS2SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svARB")) == NULL) || r;
4430 r = ((glWindowPos3dARB = (PFNGLWINDOWPOS3DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dARB")) == NULL) || r;
4431 r = ((glWindowPos3dvARB = (PFNGLWINDOWPOS3DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvARB")) == NULL) || r;
4432 r = ((glWindowPos3fARB = (PFNGLWINDOWPOS3FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fARB")) == NULL) || r;
4433 r = ((glWindowPos3fvARB = (PFNGLWINDOWPOS3FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvARB")) == NULL) || r;
4434 r = ((glWindowPos3iARB = (PFNGLWINDOWPOS3IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iARB")) == NULL) || r;
4435 r = ((glWindowPos3ivARB = (PFNGLWINDOWPOS3IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivARB")) == NULL) || r;
4436 r = ((glWindowPos3sARB = (PFNGLWINDOWPOS3SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sARB")) == NULL) || r;
4437 r = ((glWindowPos3svARB = (PFNGLWINDOWPOS3SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svARB")) == NULL) || r;
4439 return r;
4442 #endif /* GL_ARB_window_pos */
4444 #ifdef GL_ATIX_point_sprites
4446 #endif /* GL_ATIX_point_sprites */
4448 #ifdef GL_ATIX_texture_env_combine3
4450 #endif /* GL_ATIX_texture_env_combine3 */
4452 #ifdef GL_ATIX_texture_env_route
4454 #endif /* GL_ATIX_texture_env_route */
4456 #ifdef GL_ATIX_vertex_shader_output_point_size
4458 #endif /* GL_ATIX_vertex_shader_output_point_size */
4460 #ifdef GL_ATI_draw_buffers
4462 static GLboolean _glewInit_GL_ATI_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
4464 GLboolean r = GL_FALSE;
4466 r = ((glDrawBuffersATI = (PFNGLDRAWBUFFERSATIPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersATI")) == NULL) || r;
4468 return r;
4471 #endif /* GL_ATI_draw_buffers */
4473 #ifdef GL_ATI_element_array
4475 static GLboolean _glewInit_GL_ATI_element_array (GLEW_CONTEXT_ARG_DEF_INIT)
4477 GLboolean r = GL_FALSE;
4479 r = ((glDrawElementArrayATI = (PFNGLDRAWELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayATI")) == NULL) || r;
4480 r = ((glDrawRangeElementArrayATI = (PFNGLDRAWRANGEELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayATI")) == NULL) || r;
4481 r = ((glElementPointerATI = (PFNGLELEMENTPOINTERATIPROC)glewGetProcAddress((const GLubyte*)"glElementPointerATI")) == NULL) || r;
4483 return r;
4486 #endif /* GL_ATI_element_array */
4488 #ifdef GL_ATI_envmap_bumpmap
4490 static GLboolean _glewInit_GL_ATI_envmap_bumpmap (GLEW_CONTEXT_ARG_DEF_INIT)
4492 GLboolean r = GL_FALSE;
4494 r = ((glGetTexBumpParameterfvATI = (PFNGLGETTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterfvATI")) == NULL) || r;
4495 r = ((glGetTexBumpParameterivATI = (PFNGLGETTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterivATI")) == NULL) || r;
4496 r = ((glTexBumpParameterfvATI = (PFNGLTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterfvATI")) == NULL) || r;
4497 r = ((glTexBumpParameterivATI = (PFNGLTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterivATI")) == NULL) || r;
4499 return r;
4502 #endif /* GL_ATI_envmap_bumpmap */
4504 #ifdef GL_ATI_fragment_shader
4506 static GLboolean _glewInit_GL_ATI_fragment_shader (GLEW_CONTEXT_ARG_DEF_INIT)
4508 GLboolean r = GL_FALSE;
4510 r = ((glAlphaFragmentOp1ATI = (PFNGLALPHAFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp1ATI")) == NULL) || r;
4511 r = ((glAlphaFragmentOp2ATI = (PFNGLALPHAFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp2ATI")) == NULL) || r;
4512 r = ((glAlphaFragmentOp3ATI = (PFNGLALPHAFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp3ATI")) == NULL) || r;
4513 r = ((glBeginFragmentShaderATI = (PFNGLBEGINFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBeginFragmentShaderATI")) == NULL) || r;
4514 r = ((glBindFragmentShaderATI = (PFNGLBINDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBindFragmentShaderATI")) == NULL) || r;
4515 r = ((glColorFragmentOp1ATI = (PFNGLCOLORFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp1ATI")) == NULL) || r;
4516 r = ((glColorFragmentOp2ATI = (PFNGLCOLORFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp2ATI")) == NULL) || r;
4517 r = ((glColorFragmentOp3ATI = (PFNGLCOLORFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp3ATI")) == NULL) || r;
4518 r = ((glDeleteFragmentShaderATI = (PFNGLDELETEFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glDeleteFragmentShaderATI")) == NULL) || r;
4519 r = ((glEndFragmentShaderATI = (PFNGLENDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glEndFragmentShaderATI")) == NULL) || r;
4520 r = ((glGenFragmentShadersATI = (PFNGLGENFRAGMENTSHADERSATIPROC)glewGetProcAddress((const GLubyte*)"glGenFragmentShadersATI")) == NULL) || r;
4521 r = ((glPassTexCoordATI = (PFNGLPASSTEXCOORDATIPROC)glewGetProcAddress((const GLubyte*)"glPassTexCoordATI")) == NULL) || r;
4522 r = ((glSampleMapATI = (PFNGLSAMPLEMAPATIPROC)glewGetProcAddress((const GLubyte*)"glSampleMapATI")) == NULL) || r;
4523 r = ((glSetFragmentShaderConstantATI = (PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)glewGetProcAddress((const GLubyte*)"glSetFragmentShaderConstantATI")) == NULL) || r;
4525 return r;
4528 #endif /* GL_ATI_fragment_shader */
4530 #ifdef GL_ATI_map_object_buffer
4532 static GLboolean _glewInit_GL_ATI_map_object_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
4534 GLboolean r = GL_FALSE;
4536 r = ((glMapObjectBufferATI = (PFNGLMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glMapObjectBufferATI")) == NULL) || r;
4537 r = ((glUnmapObjectBufferATI = (PFNGLUNMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUnmapObjectBufferATI")) == NULL) || r;
4539 return r;
4542 #endif /* GL_ATI_map_object_buffer */
4544 #ifdef GL_ATI_meminfo
4546 #endif /* GL_ATI_meminfo */
4548 #ifdef GL_ATI_pn_triangles
4550 static GLboolean _glewInit_GL_ATI_pn_triangles (GLEW_CONTEXT_ARG_DEF_INIT)
4552 GLboolean r = GL_FALSE;
4554 r = ((glPNTrianglesfATI = (PFNGLPNTRIANGLESFATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesfATI")) == NULL) || r;
4555 r = ((glPNTrianglesiATI = (PFNGLPNTRIANGLESIATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesiATI")) == NULL) || r;
4557 return r;
4560 #endif /* GL_ATI_pn_triangles */
4562 #ifdef GL_ATI_separate_stencil
4564 static GLboolean _glewInit_GL_ATI_separate_stencil (GLEW_CONTEXT_ARG_DEF_INIT)
4566 GLboolean r = GL_FALSE;
4568 r = ((glStencilFuncSeparateATI = (PFNGLSTENCILFUNCSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparateATI")) == NULL) || r;
4569 r = ((glStencilOpSeparateATI = (PFNGLSTENCILOPSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparateATI")) == NULL) || r;
4571 return r;
4574 #endif /* GL_ATI_separate_stencil */
4576 #ifdef GL_ATI_shader_texture_lod
4578 #endif /* GL_ATI_shader_texture_lod */
4580 #ifdef GL_ATI_text_fragment_shader
4582 #endif /* GL_ATI_text_fragment_shader */
4584 #ifdef GL_ATI_texture_compression_3dc
4586 #endif /* GL_ATI_texture_compression_3dc */
4588 #ifdef GL_ATI_texture_env_combine3
4590 #endif /* GL_ATI_texture_env_combine3 */
4592 #ifdef GL_ATI_texture_float
4594 #endif /* GL_ATI_texture_float */
4596 #ifdef GL_ATI_texture_mirror_once
4598 #endif /* GL_ATI_texture_mirror_once */
4600 #ifdef GL_ATI_vertex_array_object
4602 static GLboolean _glewInit_GL_ATI_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
4604 GLboolean r = GL_FALSE;
4606 r = ((glArrayObjectATI = (PFNGLARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glArrayObjectATI")) == NULL) || r;
4607 r = ((glFreeObjectBufferATI = (PFNGLFREEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glFreeObjectBufferATI")) == NULL) || r;
4608 r = ((glGetArrayObjectfvATI = (PFNGLGETARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectfvATI")) == NULL) || r;
4609 r = ((glGetArrayObjectivATI = (PFNGLGETARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectivATI")) == NULL) || r;
4610 r = ((glGetObjectBufferfvATI = (PFNGLGETOBJECTBUFFERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferfvATI")) == NULL) || r;
4611 r = ((glGetObjectBufferivATI = (PFNGLGETOBJECTBUFFERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferivATI")) == NULL) || r;
4612 r = ((glGetVariantArrayObjectfvATI = (PFNGLGETVARIANTARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectfvATI")) == NULL) || r;
4613 r = ((glGetVariantArrayObjectivATI = (PFNGLGETVARIANTARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectivATI")) == NULL) || r;
4614 r = ((glIsObjectBufferATI = (PFNGLISOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glIsObjectBufferATI")) == NULL) || r;
4615 r = ((glNewObjectBufferATI = (PFNGLNEWOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glNewObjectBufferATI")) == NULL) || r;
4616 r = ((glUpdateObjectBufferATI = (PFNGLUPDATEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUpdateObjectBufferATI")) == NULL) || r;
4617 r = ((glVariantArrayObjectATI = (PFNGLVARIANTARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVariantArrayObjectATI")) == NULL) || r;
4619 return r;
4622 #endif /* GL_ATI_vertex_array_object */
4624 #ifdef GL_ATI_vertex_attrib_array_object
4626 static GLboolean _glewInit_GL_ATI_vertex_attrib_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
4628 GLboolean r = GL_FALSE;
4630 r = ((glGetVertexAttribArrayObjectfvATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectfvATI")) == NULL) || r;
4631 r = ((glGetVertexAttribArrayObjectivATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectivATI")) == NULL) || r;
4632 r = ((glVertexAttribArrayObjectATI = (PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribArrayObjectATI")) == NULL) || r;
4634 return r;
4637 #endif /* GL_ATI_vertex_attrib_array_object */
4639 #ifdef GL_ATI_vertex_streams
4641 static GLboolean _glewInit_GL_ATI_vertex_streams (GLEW_CONTEXT_ARG_DEF_INIT)
4643 GLboolean r = GL_FALSE;
4645 r = ((glClientActiveVertexStreamATI = (PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC)glewGetProcAddress((const GLubyte*)"glClientActiveVertexStreamATI")) == NULL) || r;
4646 r = ((glNormalStream3bATI = (PFNGLNORMALSTREAM3BATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bATI")) == NULL) || r;
4647 r = ((glNormalStream3bvATI = (PFNGLNORMALSTREAM3BVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bvATI")) == NULL) || r;
4648 r = ((glNormalStream3dATI = (PFNGLNORMALSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dATI")) == NULL) || r;
4649 r = ((glNormalStream3dvATI = (PFNGLNORMALSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dvATI")) == NULL) || r;
4650 r = ((glNormalStream3fATI = (PFNGLNORMALSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fATI")) == NULL) || r;
4651 r = ((glNormalStream3fvATI = (PFNGLNORMALSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fvATI")) == NULL) || r;
4652 r = ((glNormalStream3iATI = (PFNGLNORMALSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3iATI")) == NULL) || r;
4653 r = ((glNormalStream3ivATI = (PFNGLNORMALSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3ivATI")) == NULL) || r;
4654 r = ((glNormalStream3sATI = (PFNGLNORMALSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3sATI")) == NULL) || r;
4655 r = ((glNormalStream3svATI = (PFNGLNORMALSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3svATI")) == NULL) || r;
4656 r = ((glVertexBlendEnvfATI = (PFNGLVERTEXBLENDENVFATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnvfATI")) == NULL) || r;
4657 r = ((glVertexBlendEnviATI = (PFNGLVERTEXBLENDENVIATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnviATI")) == NULL) || r;
4658 r = ((glVertexStream2dATI = (PFNGLVERTEXSTREAM2DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dATI")) == NULL) || r;
4659 r = ((glVertexStream2dvATI = (PFNGLVERTEXSTREAM2DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dvATI")) == NULL) || r;
4660 r = ((glVertexStream2fATI = (PFNGLVERTEXSTREAM2FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fATI")) == NULL) || r;
4661 r = ((glVertexStream2fvATI = (PFNGLVERTEXSTREAM2FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fvATI")) == NULL) || r;
4662 r = ((glVertexStream2iATI = (PFNGLVERTEXSTREAM2IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2iATI")) == NULL) || r;
4663 r = ((glVertexStream2ivATI = (PFNGLVERTEXSTREAM2IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2ivATI")) == NULL) || r;
4664 r = ((glVertexStream2sATI = (PFNGLVERTEXSTREAM2SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2sATI")) == NULL) || r;
4665 r = ((glVertexStream2svATI = (PFNGLVERTEXSTREAM2SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2svATI")) == NULL) || r;
4666 r = ((glVertexStream3dATI = (PFNGLVERTEXSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dATI")) == NULL) || r;
4667 r = ((glVertexStream3dvATI = (PFNGLVERTEXSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dvATI")) == NULL) || r;
4668 r = ((glVertexStream3fATI = (PFNGLVERTEXSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fATI")) == NULL) || r;
4669 r = ((glVertexStream3fvATI = (PFNGLVERTEXSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fvATI")) == NULL) || r;
4670 r = ((glVertexStream3iATI = (PFNGLVERTEXSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3iATI")) == NULL) || r;
4671 r = ((glVertexStream3ivATI = (PFNGLVERTEXSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3ivATI")) == NULL) || r;
4672 r = ((glVertexStream3sATI = (PFNGLVERTEXSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3sATI")) == NULL) || r;
4673 r = ((glVertexStream3svATI = (PFNGLVERTEXSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3svATI")) == NULL) || r;
4674 r = ((glVertexStream4dATI = (PFNGLVERTEXSTREAM4DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dATI")) == NULL) || r;
4675 r = ((glVertexStream4dvATI = (PFNGLVERTEXSTREAM4DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dvATI")) == NULL) || r;
4676 r = ((glVertexStream4fATI = (PFNGLVERTEXSTREAM4FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fATI")) == NULL) || r;
4677 r = ((glVertexStream4fvATI = (PFNGLVERTEXSTREAM4FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fvATI")) == NULL) || r;
4678 r = ((glVertexStream4iATI = (PFNGLVERTEXSTREAM4IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4iATI")) == NULL) || r;
4679 r = ((glVertexStream4ivATI = (PFNGLVERTEXSTREAM4IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4ivATI")) == NULL) || r;
4680 r = ((glVertexStream4sATI = (PFNGLVERTEXSTREAM4SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4sATI")) == NULL) || r;
4681 r = ((glVertexStream4svATI = (PFNGLVERTEXSTREAM4SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4svATI")) == NULL) || r;
4683 return r;
4686 #endif /* GL_ATI_vertex_streams */
4688 #ifdef GL_EXT_422_pixels
4690 #endif /* GL_EXT_422_pixels */
4692 #ifdef GL_EXT_Cg_shader
4694 #endif /* GL_EXT_Cg_shader */
4696 #ifdef GL_EXT_abgr
4698 #endif /* GL_EXT_abgr */
4700 #ifdef GL_EXT_bgra
4702 #endif /* GL_EXT_bgra */
4704 #ifdef GL_EXT_bindable_uniform
4706 static GLboolean _glewInit_GL_EXT_bindable_uniform (GLEW_CONTEXT_ARG_DEF_INIT)
4708 GLboolean r = GL_FALSE;
4710 r = ((glGetUniformBufferSizeEXT = (PFNGLGETUNIFORMBUFFERSIZEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBufferSizeEXT")) == NULL) || r;
4711 r = ((glGetUniformOffsetEXT = (PFNGLGETUNIFORMOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformOffsetEXT")) == NULL) || r;
4712 r = ((glUniformBufferEXT = (PFNGLUNIFORMBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUniformBufferEXT")) == NULL) || r;
4714 return r;
4717 #endif /* GL_EXT_bindable_uniform */
4719 #ifdef GL_EXT_blend_color
4721 static GLboolean _glewInit_GL_EXT_blend_color (GLEW_CONTEXT_ARG_DEF_INIT)
4723 GLboolean r = GL_FALSE;
4725 r = ((glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)glewGetProcAddress((const GLubyte*)"glBlendColorEXT")) == NULL) || r;
4727 return r;
4730 #endif /* GL_EXT_blend_color */
4732 #ifdef GL_EXT_blend_equation_separate
4734 static GLboolean _glewInit_GL_EXT_blend_equation_separate (GLEW_CONTEXT_ARG_DEF_INIT)
4736 GLboolean r = GL_FALSE;
4738 r = ((glBlendEquationSeparateEXT = (PFNGLBLENDEQUATIONSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateEXT")) == NULL) || r;
4740 return r;
4743 #endif /* GL_EXT_blend_equation_separate */
4745 #ifdef GL_EXT_blend_func_separate
4747 static GLboolean _glewInit_GL_EXT_blend_func_separate (GLEW_CONTEXT_ARG_DEF_INIT)
4749 GLboolean r = GL_FALSE;
4751 r = ((glBlendFuncSeparateEXT = (PFNGLBLENDFUNCSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateEXT")) == NULL) || r;
4753 return r;
4756 #endif /* GL_EXT_blend_func_separate */
4758 #ifdef GL_EXT_blend_logic_op
4760 #endif /* GL_EXT_blend_logic_op */
4762 #ifdef GL_EXT_blend_minmax
4764 static GLboolean _glewInit_GL_EXT_blend_minmax (GLEW_CONTEXT_ARG_DEF_INIT)
4766 GLboolean r = GL_FALSE;
4768 r = ((glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationEXT")) == NULL) || r;
4770 return r;
4773 #endif /* GL_EXT_blend_minmax */
4775 #ifdef GL_EXT_blend_subtract
4777 #endif /* GL_EXT_blend_subtract */
4779 #ifdef GL_EXT_clip_volume_hint
4781 #endif /* GL_EXT_clip_volume_hint */
4783 #ifdef GL_EXT_cmyka
4785 #endif /* GL_EXT_cmyka */
4787 #ifdef GL_EXT_color_subtable
4789 static GLboolean _glewInit_GL_EXT_color_subtable (GLEW_CONTEXT_ARG_DEF_INIT)
4791 GLboolean r = GL_FALSE;
4793 r = ((glColorSubTableEXT = (PFNGLCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorSubTableEXT")) == NULL) || r;
4794 r = ((glCopyColorSubTableEXT = (PFNGLCOPYCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTableEXT")) == NULL) || r;
4796 return r;
4799 #endif /* GL_EXT_color_subtable */
4801 #ifdef GL_EXT_compiled_vertex_array
4803 static GLboolean _glewInit_GL_EXT_compiled_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT)
4805 GLboolean r = GL_FALSE;
4807 r = ((glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glLockArraysEXT")) == NULL) || r;
4808 r = ((glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glUnlockArraysEXT")) == NULL) || r;
4810 return r;
4813 #endif /* GL_EXT_compiled_vertex_array */
4815 #ifdef GL_EXT_convolution
4817 static GLboolean _glewInit_GL_EXT_convolution (GLEW_CONTEXT_ARG_DEF_INIT)
4819 GLboolean r = GL_FALSE;
4821 r = ((glConvolutionFilter1DEXT = (PFNGLCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1DEXT")) == NULL) || r;
4822 r = ((glConvolutionFilter2DEXT = (PFNGLCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2DEXT")) == NULL) || r;
4823 r = ((glConvolutionParameterfEXT = (PFNGLCONVOLUTIONPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfEXT")) == NULL) || r;
4824 r = ((glConvolutionParameterfvEXT = (PFNGLCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfvEXT")) == NULL) || r;
4825 r = ((glConvolutionParameteriEXT = (PFNGLCONVOLUTIONPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriEXT")) == NULL) || r;
4826 r = ((glConvolutionParameterivEXT = (PFNGLCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterivEXT")) == NULL) || r;
4827 r = ((glCopyConvolutionFilter1DEXT = (PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1DEXT")) == NULL) || r;
4828 r = ((glCopyConvolutionFilter2DEXT = (PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2DEXT")) == NULL) || r;
4829 r = ((glGetConvolutionFilterEXT = (PFNGLGETCONVOLUTIONFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilterEXT")) == NULL) || r;
4830 r = ((glGetConvolutionParameterfvEXT = (PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfvEXT")) == NULL) || r;
4831 r = ((glGetConvolutionParameterivEXT = (PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterivEXT")) == NULL) || r;
4832 r = ((glGetSeparableFilterEXT = (PFNGLGETSEPARABLEFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilterEXT")) == NULL) || r;
4833 r = ((glSeparableFilter2DEXT = (PFNGLSEPARABLEFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2DEXT")) == NULL) || r;
4835 return r;
4838 #endif /* GL_EXT_convolution */
4840 #ifdef GL_EXT_coordinate_frame
4842 static GLboolean _glewInit_GL_EXT_coordinate_frame (GLEW_CONTEXT_ARG_DEF_INIT)
4844 GLboolean r = GL_FALSE;
4846 r = ((glBinormalPointerEXT = (PFNGLBINORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glBinormalPointerEXT")) == NULL) || r;
4847 r = ((glTangentPointerEXT = (PFNGLTANGENTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTangentPointerEXT")) == NULL) || r;
4849 return r;
4852 #endif /* GL_EXT_coordinate_frame */
4854 #ifdef GL_EXT_copy_texture
4856 static GLboolean _glewInit_GL_EXT_copy_texture (GLEW_CONTEXT_ARG_DEF_INIT)
4858 GLboolean r = GL_FALSE;
4860 r = ((glCopyTexImage1DEXT = (PFNGLCOPYTEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage1DEXT")) == NULL) || r;
4861 r = ((glCopyTexImage2DEXT = (PFNGLCOPYTEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage2DEXT")) == NULL) || r;
4862 r = ((glCopyTexSubImage1DEXT = (PFNGLCOPYTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage1DEXT")) == NULL) || r;
4863 r = ((glCopyTexSubImage2DEXT = (PFNGLCOPYTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage2DEXT")) == NULL) || r;
4864 r = ((glCopyTexSubImage3DEXT = (PFNGLCOPYTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3DEXT")) == NULL) || r;
4866 return r;
4869 #endif /* GL_EXT_copy_texture */
4871 #ifdef GL_EXT_cull_vertex
4873 static GLboolean _glewInit_GL_EXT_cull_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
4875 GLboolean r = GL_FALSE;
4877 r = ((glCullParameterdvEXT = (PFNGLCULLPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterdvEXT")) == NULL) || r;
4878 r = ((glCullParameterfvEXT = (PFNGLCULLPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterfvEXT")) == NULL) || r;
4880 return r;
4883 #endif /* GL_EXT_cull_vertex */
4885 #ifdef GL_EXT_depth_bounds_test
4887 static GLboolean _glewInit_GL_EXT_depth_bounds_test (GLEW_CONTEXT_ARG_DEF_INIT)
4889 GLboolean r = GL_FALSE;
4891 r = ((glDepthBoundsEXT = (PFNGLDEPTHBOUNDSEXTPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsEXT")) == NULL) || r;
4893 return r;
4896 #endif /* GL_EXT_depth_bounds_test */
4898 #ifdef GL_EXT_direct_state_access
4900 static GLboolean _glewInit_GL_EXT_direct_state_access (GLEW_CONTEXT_ARG_DEF_INIT)
4902 GLboolean r = GL_FALSE;
4904 r = ((glBindMultiTextureEXT = (PFNGLBINDMULTITEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindMultiTextureEXT")) == NULL) || r;
4905 r = ((glCheckNamedFramebufferStatusEXT = (PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckNamedFramebufferStatusEXT")) == NULL) || r;
4906 r = ((glClientAttribDefaultEXT = (PFNGLCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glClientAttribDefaultEXT")) == NULL) || r;
4907 r = ((glCompressedMultiTexImage1DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage1DEXT")) == NULL) || r;
4908 r = ((glCompressedMultiTexImage2DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage2DEXT")) == NULL) || r;
4909 r = ((glCompressedMultiTexImage3DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage3DEXT")) == NULL) || r;
4910 r = ((glCompressedMultiTexSubImage1DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage1DEXT")) == NULL) || r;
4911 r = ((glCompressedMultiTexSubImage2DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage2DEXT")) == NULL) || r;
4912 r = ((glCompressedMultiTexSubImage3DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage3DEXT")) == NULL) || r;
4913 r = ((glCompressedTextureImage1DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage1DEXT")) == NULL) || r;
4914 r = ((glCompressedTextureImage2DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage2DEXT")) == NULL) || r;
4915 r = ((glCompressedTextureImage3DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage3DEXT")) == NULL) || r;
4916 r = ((glCompressedTextureSubImage1DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage1DEXT")) == NULL) || r;
4917 r = ((glCompressedTextureSubImage2DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage2DEXT")) == NULL) || r;
4918 r = ((glCompressedTextureSubImage3DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage3DEXT")) == NULL) || r;
4919 r = ((glCopyMultiTexImage1DEXT = (PFNGLCOPYMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage1DEXT")) == NULL) || r;
4920 r = ((glCopyMultiTexImage2DEXT = (PFNGLCOPYMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage2DEXT")) == NULL) || r;
4921 r = ((glCopyMultiTexSubImage1DEXT = (PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage1DEXT")) == NULL) || r;
4922 r = ((glCopyMultiTexSubImage2DEXT = (PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage2DEXT")) == NULL) || r;
4923 r = ((glCopyMultiTexSubImage3DEXT = (PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage3DEXT")) == NULL) || r;
4924 r = ((glCopyTextureImage1DEXT = (PFNGLCOPYTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage1DEXT")) == NULL) || r;
4925 r = ((glCopyTextureImage2DEXT = (PFNGLCOPYTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage2DEXT")) == NULL) || r;
4926 r = ((glCopyTextureSubImage1DEXT = (PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage1DEXT")) == NULL) || r;
4927 r = ((glCopyTextureSubImage2DEXT = (PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage2DEXT")) == NULL) || r;
4928 r = ((glCopyTextureSubImage3DEXT = (PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage3DEXT")) == NULL) || r;
4929 r = ((glDisableClientStateIndexedEXT = (PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateIndexedEXT")) == NULL) || r;
4930 r = ((glDisableClientStateiEXT = (PFNGLDISABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateiEXT")) == NULL) || r;
4931 r = ((glDisableVertexArrayAttribEXT = (PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayAttribEXT")) == NULL) || r;
4932 r = ((glDisableVertexArrayEXT = (PFNGLDISABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayEXT")) == NULL) || r;
4933 r = ((glEnableClientStateIndexedEXT = (PFNGLENABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateIndexedEXT")) == NULL) || r;
4934 r = ((glEnableClientStateiEXT = (PFNGLENABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateiEXT")) == NULL) || r;
4935 r = ((glEnableVertexArrayAttribEXT = (PFNGLENABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayAttribEXT")) == NULL) || r;
4936 r = ((glEnableVertexArrayEXT = (PFNGLENABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayEXT")) == NULL) || r;
4937 r = ((glFlushMappedNamedBufferRangeEXT = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedNamedBufferRangeEXT")) == NULL) || r;
4938 r = ((glFramebufferDrawBufferEXT = (PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBufferEXT")) == NULL) || r;
4939 r = ((glFramebufferDrawBuffersEXT = (PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBuffersEXT")) == NULL) || r;
4940 r = ((glFramebufferReadBufferEXT = (PFNGLFRAMEBUFFERREADBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferReadBufferEXT")) == NULL) || r;
4941 r = ((glGenerateMultiTexMipmapEXT = (PFNGLGENERATEMULTITEXMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMultiTexMipmapEXT")) == NULL) || r;
4942 r = ((glGenerateTextureMipmapEXT = (PFNGLGENERATETEXTUREMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateTextureMipmapEXT")) == NULL) || r;
4943 r = ((glGetCompressedMultiTexImageEXT = (PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedMultiTexImageEXT")) == NULL) || r;
4944 r = ((glGetCompressedTextureImageEXT = (PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureImageEXT")) == NULL) || r;
4945 r = ((glGetDoubleIndexedvEXT = (PFNGLGETDOUBLEINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoubleIndexedvEXT")) == NULL) || r;
4946 r = ((glGetDoublei_vEXT = (PFNGLGETDOUBLEI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_vEXT")) == NULL) || r;
4947 r = ((glGetFloatIndexedvEXT = (PFNGLGETFLOATINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloatIndexedvEXT")) == NULL) || r;
4948 r = ((glGetFloati_vEXT = (PFNGLGETFLOATI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_vEXT")) == NULL) || r;
4949 r = ((glGetFramebufferParameterivEXT = (PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameterivEXT")) == NULL) || r;
4950 r = ((glGetMultiTexEnvfvEXT = (PFNGLGETMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvfvEXT")) == NULL) || r;
4951 r = ((glGetMultiTexEnvivEXT = (PFNGLGETMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvivEXT")) == NULL) || r;
4952 r = ((glGetMultiTexGendvEXT = (PFNGLGETMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGendvEXT")) == NULL) || r;
4953 r = ((glGetMultiTexGenfvEXT = (PFNGLGETMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenfvEXT")) == NULL) || r;
4954 r = ((glGetMultiTexGenivEXT = (PFNGLGETMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenivEXT")) == NULL) || r;
4955 r = ((glGetMultiTexImageEXT = (PFNGLGETMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexImageEXT")) == NULL) || r;
4956 r = ((glGetMultiTexLevelParameterfvEXT = (PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterfvEXT")) == NULL) || r;
4957 r = ((glGetMultiTexLevelParameterivEXT = (PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterivEXT")) == NULL) || r;
4958 r = ((glGetMultiTexParameterIivEXT = (PFNGLGETMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIivEXT")) == NULL) || r;
4959 r = ((glGetMultiTexParameterIuivEXT = (PFNGLGETMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIuivEXT")) == NULL) || r;
4960 r = ((glGetMultiTexParameterfvEXT = (PFNGLGETMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterfvEXT")) == NULL) || r;
4961 r = ((glGetMultiTexParameterivEXT = (PFNGLGETMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterivEXT")) == NULL) || r;
4962 r = ((glGetNamedBufferParameterivEXT = (PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterivEXT")) == NULL) || r;
4963 r = ((glGetNamedBufferPointervEXT = (PFNGLGETNAMEDBUFFERPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferPointervEXT")) == NULL) || r;
4964 r = ((glGetNamedBufferSubDataEXT = (PFNGLGETNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferSubDataEXT")) == NULL) || r;
4965 r = ((glGetNamedFramebufferAttachmentParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferAttachmentParameterivEXT")) == NULL) || r;
4966 r = ((glGetNamedProgramLocalParameterIivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIivEXT")) == NULL) || r;
4967 r = ((glGetNamedProgramLocalParameterIuivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIuivEXT")) == NULL) || r;
4968 r = ((glGetNamedProgramLocalParameterdvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterdvEXT")) == NULL) || r;
4969 r = ((glGetNamedProgramLocalParameterfvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterfvEXT")) == NULL) || r;
4970 r = ((glGetNamedProgramStringEXT = (PFNGLGETNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramStringEXT")) == NULL) || r;
4971 r = ((glGetNamedProgramivEXT = (PFNGLGETNAMEDPROGRAMIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramivEXT")) == NULL) || r;
4972 r = ((glGetNamedRenderbufferParameterivEXT = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedRenderbufferParameterivEXT")) == NULL) || r;
4973 r = ((glGetPointerIndexedvEXT = (PFNGLGETPOINTERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointerIndexedvEXT")) == NULL) || r;
4974 r = ((glGetPointeri_vEXT = (PFNGLGETPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointeri_vEXT")) == NULL) || r;
4975 r = ((glGetTextureImageEXT = (PFNGLGETTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureImageEXT")) == NULL) || r;
4976 r = ((glGetTextureLevelParameterfvEXT = (PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterfvEXT")) == NULL) || r;
4977 r = ((glGetTextureLevelParameterivEXT = (PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterivEXT")) == NULL) || r;
4978 r = ((glGetTextureParameterIivEXT = (PFNGLGETTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIivEXT")) == NULL) || r;
4979 r = ((glGetTextureParameterIuivEXT = (PFNGLGETTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIuivEXT")) == NULL) || r;
4980 r = ((glGetTextureParameterfvEXT = (PFNGLGETTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterfvEXT")) == NULL) || r;
4981 r = ((glGetTextureParameterivEXT = (PFNGLGETTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterivEXT")) == NULL) || r;
4982 r = ((glGetVertexArrayIntegeri_vEXT = (PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegeri_vEXT")) == NULL) || r;
4983 r = ((glGetVertexArrayIntegervEXT = (PFNGLGETVERTEXARRAYINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegervEXT")) == NULL) || r;
4984 r = ((glGetVertexArrayPointeri_vEXT = (PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointeri_vEXT")) == NULL) || r;
4985 r = ((glGetVertexArrayPointervEXT = (PFNGLGETVERTEXARRAYPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointervEXT")) == NULL) || r;
4986 r = ((glMapNamedBufferEXT = (PFNGLMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferEXT")) == NULL) || r;
4987 r = ((glMapNamedBufferRangeEXT = (PFNGLMAPNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferRangeEXT")) == NULL) || r;
4988 r = ((glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixFrustumEXT")) == NULL) || r;
4989 r = ((glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadIdentityEXT")) == NULL) || r;
4990 r = ((glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposedEXT")) == NULL) || r;
4991 r = ((glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposefEXT")) == NULL) || r;
4992 r = ((glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoaddEXT")) == NULL) || r;
4993 r = ((glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadfEXT")) == NULL) || r;
4994 r = ((glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposedEXT")) == NULL) || r;
4995 r = ((glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposefEXT")) == NULL) || r;
4996 r = ((glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultdEXT")) == NULL) || r;
4997 r = ((glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultfEXT")) == NULL) || r;
4998 r = ((glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixOrthoEXT")) == NULL) || r;
4999 r = ((glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPopEXT")) == NULL) || r;
5000 r = ((glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPushEXT")) == NULL) || r;
5001 r = ((glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatedEXT")) == NULL) || r;
5002 r = ((glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatefEXT")) == NULL) || r;
5003 r = ((glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScaledEXT")) == NULL) || r;
5004 r = ((glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScalefEXT")) == NULL) || r;
5005 r = ((glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatedEXT")) == NULL) || r;
5006 r = ((glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatefEXT")) == NULL) || r;
5007 r = ((glMultiTexBufferEXT = (PFNGLMULTITEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexBufferEXT")) == NULL) || r;
5008 r = ((glMultiTexCoordPointerEXT = (PFNGLMULTITEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordPointerEXT")) == NULL) || r;
5009 r = ((glMultiTexEnvfEXT = (PFNGLMULTITEXENVFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfEXT")) == NULL) || r;
5010 r = ((glMultiTexEnvfvEXT = (PFNGLMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfvEXT")) == NULL) || r;
5011 r = ((glMultiTexEnviEXT = (PFNGLMULTITEXENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnviEXT")) == NULL) || r;
5012 r = ((glMultiTexEnvivEXT = (PFNGLMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvivEXT")) == NULL) || r;
5013 r = ((glMultiTexGendEXT = (PFNGLMULTITEXGENDEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendEXT")) == NULL) || r;
5014 r = ((glMultiTexGendvEXT = (PFNGLMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendvEXT")) == NULL) || r;
5015 r = ((glMultiTexGenfEXT = (PFNGLMULTITEXGENFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfEXT")) == NULL) || r;
5016 r = ((glMultiTexGenfvEXT = (PFNGLMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfvEXT")) == NULL) || r;
5017 r = ((glMultiTexGeniEXT = (PFNGLMULTITEXGENIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGeniEXT")) == NULL) || r;
5018 r = ((glMultiTexGenivEXT = (PFNGLMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenivEXT")) == NULL) || r;
5019 r = ((glMultiTexImage1DEXT = (PFNGLMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage1DEXT")) == NULL) || r;
5020 r = ((glMultiTexImage2DEXT = (PFNGLMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage2DEXT")) == NULL) || r;
5021 r = ((glMultiTexImage3DEXT = (PFNGLMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage3DEXT")) == NULL) || r;
5022 r = ((glMultiTexParameterIivEXT = (PFNGLMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIivEXT")) == NULL) || r;
5023 r = ((glMultiTexParameterIuivEXT = (PFNGLMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIuivEXT")) == NULL) || r;
5024 r = ((glMultiTexParameterfEXT = (PFNGLMULTITEXPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfEXT")) == NULL) || r;
5025 r = ((glMultiTexParameterfvEXT = (PFNGLMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfvEXT")) == NULL) || r;
5026 r = ((glMultiTexParameteriEXT = (PFNGLMULTITEXPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameteriEXT")) == NULL) || r;
5027 r = ((glMultiTexParameterivEXT = (PFNGLMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterivEXT")) == NULL) || r;
5028 r = ((glMultiTexRenderbufferEXT = (PFNGLMULTITEXRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexRenderbufferEXT")) == NULL) || r;
5029 r = ((glMultiTexSubImage1DEXT = (PFNGLMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage1DEXT")) == NULL) || r;
5030 r = ((glMultiTexSubImage2DEXT = (PFNGLMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage2DEXT")) == NULL) || r;
5031 r = ((glMultiTexSubImage3DEXT = (PFNGLMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage3DEXT")) == NULL) || r;
5032 r = ((glNamedBufferDataEXT = (PFNGLNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferDataEXT")) == NULL) || r;
5033 r = ((glNamedBufferSubDataEXT = (PFNGLNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferSubDataEXT")) == NULL) || r;
5034 r = ((glNamedCopyBufferSubDataEXT = (PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedCopyBufferSubDataEXT")) == NULL) || r;
5035 r = ((glNamedFramebufferRenderbufferEXT = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferRenderbufferEXT")) == NULL) || r;
5036 r = ((glNamedFramebufferTexture1DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture1DEXT")) == NULL) || r;
5037 r = ((glNamedFramebufferTexture2DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture2DEXT")) == NULL) || r;
5038 r = ((glNamedFramebufferTexture3DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture3DEXT")) == NULL) || r;
5039 r = ((glNamedFramebufferTextureEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureEXT")) == NULL) || r;
5040 r = ((glNamedFramebufferTextureFaceEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureFaceEXT")) == NULL) || r;
5041 r = ((glNamedFramebufferTextureLayerEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureLayerEXT")) == NULL) || r;
5042 r = ((glNamedProgramLocalParameter4dEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dEXT")) == NULL) || r;
5043 r = ((glNamedProgramLocalParameter4dvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dvEXT")) == NULL) || r;
5044 r = ((glNamedProgramLocalParameter4fEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fEXT")) == NULL) || r;
5045 r = ((glNamedProgramLocalParameter4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fvEXT")) == NULL) || r;
5046 r = ((glNamedProgramLocalParameterI4iEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4iEXT")) == NULL) || r;
5047 r = ((glNamedProgramLocalParameterI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4ivEXT")) == NULL) || r;
5048 r = ((glNamedProgramLocalParameterI4uiEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uiEXT")) == NULL) || r;
5049 r = ((glNamedProgramLocalParameterI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uivEXT")) == NULL) || r;
5050 r = ((glNamedProgramLocalParameters4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameters4fvEXT")) == NULL) || r;
5051 r = ((glNamedProgramLocalParametersI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4ivEXT")) == NULL) || r;
5052 r = ((glNamedProgramLocalParametersI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4uivEXT")) == NULL) || r;
5053 r = ((glNamedProgramStringEXT = (PFNGLNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramStringEXT")) == NULL) || r;
5054 r = ((glNamedRenderbufferStorageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageEXT")) == NULL) || r;
5055 r = ((glNamedRenderbufferStorageMultisampleCoverageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleCoverageEXT")) == NULL) || r;
5056 r = ((glNamedRenderbufferStorageMultisampleEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleEXT")) == NULL) || r;
5057 r = ((glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fEXT")) == NULL) || r;
5058 r = ((glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fvEXT")) == NULL) || r;
5059 r = ((glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1iEXT")) == NULL) || r;
5060 r = ((glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ivEXT")) == NULL) || r;
5061 r = ((glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uiEXT")) == NULL) || r;
5062 r = ((glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uivEXT")) == NULL) || r;
5063 r = ((glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fEXT")) == NULL) || r;
5064 r = ((glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fvEXT")) == NULL) || r;
5065 r = ((glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2iEXT")) == NULL) || r;
5066 r = ((glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ivEXT")) == NULL) || r;
5067 r = ((glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uiEXT")) == NULL) || r;
5068 r = ((glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uivEXT")) == NULL) || r;
5069 r = ((glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fEXT")) == NULL) || r;
5070 r = ((glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fvEXT")) == NULL) || r;
5071 r = ((glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3iEXT")) == NULL) || r;
5072 r = ((glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ivEXT")) == NULL) || r;
5073 r = ((glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uiEXT")) == NULL) || r;
5074 r = ((glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uivEXT")) == NULL) || r;
5075 r = ((glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fEXT")) == NULL) || r;
5076 r = ((glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fvEXT")) == NULL) || r;
5077 r = ((glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4iEXT")) == NULL) || r;
5078 r = ((glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ivEXT")) == NULL) || r;
5079 r = ((glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uiEXT")) == NULL) || r;
5080 r = ((glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uivEXT")) == NULL) || r;
5081 r = ((glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2fvEXT")) == NULL) || r;
5082 r = ((glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3fvEXT")) == NULL) || r;
5083 r = ((glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4fvEXT")) == NULL) || r;
5084 r = ((glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3fvEXT")) == NULL) || r;
5085 r = ((glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2fvEXT")) == NULL) || r;
5086 r = ((glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4fvEXT")) == NULL) || r;
5087 r = ((glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4fvEXT")) == NULL) || r;
5088 r = ((glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2fvEXT")) == NULL) || r;
5089 r = ((glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3fvEXT")) == NULL) || r;
5090 r = ((glPushClientAttribDefaultEXT = (PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glPushClientAttribDefaultEXT")) == NULL) || r;
5091 r = ((glTextureBufferEXT = (PFNGLTEXTUREBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferEXT")) == NULL) || r;
5092 r = ((glTextureImage1DEXT = (PFNGLTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage1DEXT")) == NULL) || r;
5093 r = ((glTextureImage2DEXT = (PFNGLTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DEXT")) == NULL) || r;
5094 r = ((glTextureImage3DEXT = (PFNGLTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DEXT")) == NULL) || r;
5095 r = ((glTextureParameterIivEXT = (PFNGLTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIivEXT")) == NULL) || r;
5096 r = ((glTextureParameterIuivEXT = (PFNGLTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIuivEXT")) == NULL) || r;
5097 r = ((glTextureParameterfEXT = (PFNGLTEXTUREPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfEXT")) == NULL) || r;
5098 r = ((glTextureParameterfvEXT = (PFNGLTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfvEXT")) == NULL) || r;
5099 r = ((glTextureParameteriEXT = (PFNGLTEXTUREPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameteriEXT")) == NULL) || r;
5100 r = ((glTextureParameterivEXT = (PFNGLTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterivEXT")) == NULL) || r;
5101 r = ((glTextureRenderbufferEXT = (PFNGLTEXTURERENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureRenderbufferEXT")) == NULL) || r;
5102 r = ((glTextureSubImage1DEXT = (PFNGLTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage1DEXT")) == NULL) || r;
5103 r = ((glTextureSubImage2DEXT = (PFNGLTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage2DEXT")) == NULL) || r;
5104 r = ((glTextureSubImage3DEXT = (PFNGLTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage3DEXT")) == NULL) || r;
5105 r = ((glUnmapNamedBufferEXT = (PFNGLUNMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUnmapNamedBufferEXT")) == NULL) || r;
5106 r = ((glVertexArrayColorOffsetEXT = (PFNGLVERTEXARRAYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayColorOffsetEXT")) == NULL) || r;
5107 r = ((glVertexArrayEdgeFlagOffsetEXT = (PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayEdgeFlagOffsetEXT")) == NULL) || r;
5108 r = ((glVertexArrayFogCoordOffsetEXT = (PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayFogCoordOffsetEXT")) == NULL) || r;
5109 r = ((glVertexArrayIndexOffsetEXT = (PFNGLVERTEXARRAYINDEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayIndexOffsetEXT")) == NULL) || r;
5110 r = ((glVertexArrayMultiTexCoordOffsetEXT = (PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayMultiTexCoordOffsetEXT")) == NULL) || r;
5111 r = ((glVertexArrayNormalOffsetEXT = (PFNGLVERTEXARRAYNORMALOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayNormalOffsetEXT")) == NULL) || r;
5112 r = ((glVertexArraySecondaryColorOffsetEXT = (PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArraySecondaryColorOffsetEXT")) == NULL) || r;
5113 r = ((glVertexArrayTexCoordOffsetEXT = (PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayTexCoordOffsetEXT")) == NULL) || r;
5114 r = ((glVertexArrayVertexAttribIOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribIOffsetEXT")) == NULL) || r;
5115 r = ((glVertexArrayVertexAttribOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribOffsetEXT")) == NULL) || r;
5116 r = ((glVertexArrayVertexOffsetEXT = (PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexOffsetEXT")) == NULL) || r;
5118 return r;
5121 #endif /* GL_EXT_direct_state_access */
5123 #ifdef GL_EXT_draw_buffers2
5125 static GLboolean _glewInit_GL_EXT_draw_buffers2 (GLEW_CONTEXT_ARG_DEF_INIT)
5127 GLboolean r = GL_FALSE;
5129 r = ((glColorMaskIndexedEXT = (PFNGLCOLORMASKINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glColorMaskIndexedEXT")) == NULL) || r;
5130 r = ((glDisableIndexedEXT = (PFNGLDISABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableIndexedEXT")) == NULL) || r;
5131 r = ((glEnableIndexedEXT = (PFNGLENABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableIndexedEXT")) == NULL) || r;
5132 r = ((glGetBooleanIndexedvEXT = (PFNGLGETBOOLEANINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetBooleanIndexedvEXT")) == NULL) || r;
5133 r = ((glGetIntegerIndexedvEXT = (PFNGLGETINTEGERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerIndexedvEXT")) == NULL) || r;
5134 r = ((glIsEnabledIndexedEXT = (PFNGLISENABLEDINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledIndexedEXT")) == NULL) || r;
5136 return r;
5139 #endif /* GL_EXT_draw_buffers2 */
5141 #ifdef GL_EXT_draw_instanced
5143 static GLboolean _glewInit_GL_EXT_draw_instanced (GLEW_CONTEXT_ARG_DEF_INIT)
5145 GLboolean r = GL_FALSE;
5147 r = ((glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedEXT")) == NULL) || r;
5148 r = ((glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedEXT")) == NULL) || r;
5150 return r;
5153 #endif /* GL_EXT_draw_instanced */
5155 #ifdef GL_EXT_draw_range_elements
5157 static GLboolean _glewInit_GL_EXT_draw_range_elements (GLEW_CONTEXT_ARG_DEF_INIT)
5159 GLboolean r = GL_FALSE;
5161 r = ((glDrawRangeElementsEXT = (PFNGLDRAWRANGEELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsEXT")) == NULL) || r;
5163 return r;
5166 #endif /* GL_EXT_draw_range_elements */
5168 #ifdef GL_EXT_fog_coord
5170 static GLboolean _glewInit_GL_EXT_fog_coord (GLEW_CONTEXT_ARG_DEF_INIT)
5172 GLboolean r = GL_FALSE;
5174 r = ((glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerEXT")) == NULL) || r;
5175 r = ((glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddEXT")) == NULL) || r;
5176 r = ((glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddvEXT")) == NULL) || r;
5177 r = ((glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfEXT")) == NULL) || r;
5178 r = ((glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfvEXT")) == NULL) || r;
5180 return r;
5183 #endif /* GL_EXT_fog_coord */
5185 #ifdef GL_EXT_fragment_lighting
5187 static GLboolean _glewInit_GL_EXT_fragment_lighting (GLEW_CONTEXT_ARG_DEF_INIT)
5189 GLboolean r = GL_FALSE;
5191 r = ((glFragmentColorMaterialEXT = (PFNGLFRAGMENTCOLORMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialEXT")) == NULL) || r;
5192 r = ((glFragmentLightModelfEXT = (PFNGLFRAGMENTLIGHTMODELFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfEXT")) == NULL) || r;
5193 r = ((glFragmentLightModelfvEXT = (PFNGLFRAGMENTLIGHTMODELFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvEXT")) == NULL) || r;
5194 r = ((glFragmentLightModeliEXT = (PFNGLFRAGMENTLIGHTMODELIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliEXT")) == NULL) || r;
5195 r = ((glFragmentLightModelivEXT = (PFNGLFRAGMENTLIGHTMODELIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivEXT")) == NULL) || r;
5196 r = ((glFragmentLightfEXT = (PFNGLFRAGMENTLIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfEXT")) == NULL) || r;
5197 r = ((glFragmentLightfvEXT = (PFNGLFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvEXT")) == NULL) || r;
5198 r = ((glFragmentLightiEXT = (PFNGLFRAGMENTLIGHTIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiEXT")) == NULL) || r;
5199 r = ((glFragmentLightivEXT = (PFNGLFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivEXT")) == NULL) || r;
5200 r = ((glFragmentMaterialfEXT = (PFNGLFRAGMENTMATERIALFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfEXT")) == NULL) || r;
5201 r = ((glFragmentMaterialfvEXT = (PFNGLFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvEXT")) == NULL) || r;
5202 r = ((glFragmentMaterialiEXT = (PFNGLFRAGMENTMATERIALIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiEXT")) == NULL) || r;
5203 r = ((glFragmentMaterialivEXT = (PFNGLFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivEXT")) == NULL) || r;
5204 r = ((glGetFragmentLightfvEXT = (PFNGLGETFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvEXT")) == NULL) || r;
5205 r = ((glGetFragmentLightivEXT = (PFNGLGETFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivEXT")) == NULL) || r;
5206 r = ((glGetFragmentMaterialfvEXT = (PFNGLGETFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvEXT")) == NULL) || r;
5207 r = ((glGetFragmentMaterialivEXT = (PFNGLGETFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivEXT")) == NULL) || r;
5208 r = ((glLightEnviEXT = (PFNGLLIGHTENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glLightEnviEXT")) == NULL) || r;
5210 return r;
5213 #endif /* GL_EXT_fragment_lighting */
5215 #ifdef GL_EXT_framebuffer_blit
5217 static GLboolean _glewInit_GL_EXT_framebuffer_blit (GLEW_CONTEXT_ARG_DEF_INIT)
5219 GLboolean r = GL_FALSE;
5221 r = ((glBlitFramebufferEXT = (PFNGLBLITFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferEXT")) == NULL) || r;
5223 return r;
5226 #endif /* GL_EXT_framebuffer_blit */
5228 #ifdef GL_EXT_framebuffer_multisample
5230 static GLboolean _glewInit_GL_EXT_framebuffer_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
5232 GLboolean r = GL_FALSE;
5234 r = ((glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleEXT")) == NULL) || r;
5236 return r;
5239 #endif /* GL_EXT_framebuffer_multisample */
5241 #ifdef GL_EXT_framebuffer_object
5243 static GLboolean _glewInit_GL_EXT_framebuffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
5245 GLboolean r = GL_FALSE;
5247 r = ((glBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindFramebufferEXT")) == NULL) || r;
5248 r = ((glBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbufferEXT")) == NULL) || r;
5249 r = ((glCheckFramebufferStatusEXT = (PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatusEXT")) == NULL) || r;
5250 r = ((glDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffersEXT")) == NULL) || r;
5251 r = ((glDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffersEXT")) == NULL) || r;
5252 r = ((glFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbufferEXT")) == NULL) || r;
5253 r = ((glFramebufferTexture1DEXT = (PFNGLFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1DEXT")) == NULL) || r;
5254 r = ((glFramebufferTexture2DEXT = (PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2DEXT")) == NULL) || r;
5255 r = ((glFramebufferTexture3DEXT = (PFNGLFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3DEXT")) == NULL) || r;
5256 r = ((glGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffersEXT")) == NULL) || r;
5257 r = ((glGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffersEXT")) == NULL) || r;
5258 r = ((glGenerateMipmapEXT = (PFNGLGENERATEMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmapEXT")) == NULL) || r;
5259 r = ((glGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameterivEXT")) == NULL) || r;
5260 r = ((glGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameterivEXT")) == NULL) || r;
5261 r = ((glIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsFramebufferEXT")) == NULL) || r;
5262 r = ((glIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbufferEXT")) == NULL) || r;
5263 r = ((glRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageEXT")) == NULL) || r;
5265 return r;
5268 #endif /* GL_EXT_framebuffer_object */
5270 #ifdef GL_EXT_framebuffer_sRGB
5272 #endif /* GL_EXT_framebuffer_sRGB */
5274 #ifdef GL_EXT_geometry_shader4
5276 static GLboolean _glewInit_GL_EXT_geometry_shader4 (GLEW_CONTEXT_ARG_DEF_INIT)
5278 GLboolean r = GL_FALSE;
5280 r = ((glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureEXT")) == NULL) || r;
5281 r = ((glFramebufferTextureFaceEXT = (PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceEXT")) == NULL) || r;
5282 r = ((glFramebufferTextureLayerEXT = (PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerEXT")) == NULL) || r;
5283 r = ((glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriEXT")) == NULL) || r;
5285 return r;
5288 #endif /* GL_EXT_geometry_shader4 */
5290 #ifdef GL_EXT_gpu_program_parameters
5292 static GLboolean _glewInit_GL_EXT_gpu_program_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
5294 GLboolean r = GL_FALSE;
5296 r = ((glProgramEnvParameters4fvEXT = (PFNGLPROGRAMENVPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameters4fvEXT")) == NULL) || r;
5297 r = ((glProgramLocalParameters4fvEXT = (PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameters4fvEXT")) == NULL) || r;
5299 return r;
5302 #endif /* GL_EXT_gpu_program_parameters */
5304 #ifdef GL_EXT_gpu_shader4
5306 static GLboolean _glewInit_GL_EXT_gpu_shader4 (GLEW_CONTEXT_ARG_DEF_INIT)
5308 GLboolean r = GL_FALSE;
5310 r = ((glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationEXT")) == NULL) || r;
5311 r = ((glGetFragDataLocationEXT = (PFNGLGETFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocationEXT")) == NULL) || r;
5312 r = ((glGetUniformuivEXT = (PFNGLGETUNIFORMUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuivEXT")) == NULL) || r;
5313 r = ((glGetVertexAttribIivEXT = (PFNGLGETVERTEXATTRIBIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIivEXT")) == NULL) || r;
5314 r = ((glGetVertexAttribIuivEXT = (PFNGLGETVERTEXATTRIBIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuivEXT")) == NULL) || r;
5315 r = ((glUniform1uiEXT = (PFNGLUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiEXT")) == NULL) || r;
5316 r = ((glUniform1uivEXT = (PFNGLUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uivEXT")) == NULL) || r;
5317 r = ((glUniform2uiEXT = (PFNGLUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiEXT")) == NULL) || r;
5318 r = ((glUniform2uivEXT = (PFNGLUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uivEXT")) == NULL) || r;
5319 r = ((glUniform3uiEXT = (PFNGLUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiEXT")) == NULL) || r;
5320 r = ((glUniform3uivEXT = (PFNGLUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uivEXT")) == NULL) || r;
5321 r = ((glUniform4uiEXT = (PFNGLUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiEXT")) == NULL) || r;
5322 r = ((glUniform4uivEXT = (PFNGLUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uivEXT")) == NULL) || r;
5323 r = ((glVertexAttribI1iEXT = (PFNGLVERTEXATTRIBI1IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iEXT")) == NULL) || r;
5324 r = ((glVertexAttribI1ivEXT = (PFNGLVERTEXATTRIBI1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ivEXT")) == NULL) || r;
5325 r = ((glVertexAttribI1uiEXT = (PFNGLVERTEXATTRIBI1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiEXT")) == NULL) || r;
5326 r = ((glVertexAttribI1uivEXT = (PFNGLVERTEXATTRIBI1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uivEXT")) == NULL) || r;
5327 r = ((glVertexAttribI2iEXT = (PFNGLVERTEXATTRIBI2IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iEXT")) == NULL) || r;
5328 r = ((glVertexAttribI2ivEXT = (PFNGLVERTEXATTRIBI2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ivEXT")) == NULL) || r;
5329 r = ((glVertexAttribI2uiEXT = (PFNGLVERTEXATTRIBI2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiEXT")) == NULL) || r;
5330 r = ((glVertexAttribI2uivEXT = (PFNGLVERTEXATTRIBI2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uivEXT")) == NULL) || r;
5331 r = ((glVertexAttribI3iEXT = (PFNGLVERTEXATTRIBI3IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iEXT")) == NULL) || r;
5332 r = ((glVertexAttribI3ivEXT = (PFNGLVERTEXATTRIBI3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ivEXT")) == NULL) || r;
5333 r = ((glVertexAttribI3uiEXT = (PFNGLVERTEXATTRIBI3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiEXT")) == NULL) || r;
5334 r = ((glVertexAttribI3uivEXT = (PFNGLVERTEXATTRIBI3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uivEXT")) == NULL) || r;
5335 r = ((glVertexAttribI4bvEXT = (PFNGLVERTEXATTRIBI4BVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bvEXT")) == NULL) || r;
5336 r = ((glVertexAttribI4iEXT = (PFNGLVERTEXATTRIBI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iEXT")) == NULL) || r;
5337 r = ((glVertexAttribI4ivEXT = (PFNGLVERTEXATTRIBI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ivEXT")) == NULL) || r;
5338 r = ((glVertexAttribI4svEXT = (PFNGLVERTEXATTRIBI4SVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4svEXT")) == NULL) || r;
5339 r = ((glVertexAttribI4ubvEXT = (PFNGLVERTEXATTRIBI4UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubvEXT")) == NULL) || r;
5340 r = ((glVertexAttribI4uiEXT = (PFNGLVERTEXATTRIBI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiEXT")) == NULL) || r;
5341 r = ((glVertexAttribI4uivEXT = (PFNGLVERTEXATTRIBI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uivEXT")) == NULL) || r;
5342 r = ((glVertexAttribI4usvEXT = (PFNGLVERTEXATTRIBI4USVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usvEXT")) == NULL) || r;
5343 r = ((glVertexAttribIPointerEXT = (PFNGLVERTEXATTRIBIPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointerEXT")) == NULL) || r;
5345 return r;
5348 #endif /* GL_EXT_gpu_shader4 */
5350 #ifdef GL_EXT_histogram
5352 static GLboolean _glewInit_GL_EXT_histogram (GLEW_CONTEXT_ARG_DEF_INIT)
5354 GLboolean r = GL_FALSE;
5356 r = ((glGetHistogramEXT = (PFNGLGETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramEXT")) == NULL) || r;
5357 r = ((glGetHistogramParameterfvEXT = (PFNGLGETHISTOGRAMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfvEXT")) == NULL) || r;
5358 r = ((glGetHistogramParameterivEXT = (PFNGLGETHISTOGRAMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterivEXT")) == NULL) || r;
5359 r = ((glGetMinmaxEXT = (PFNGLGETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxEXT")) == NULL) || r;
5360 r = ((glGetMinmaxParameterfvEXT = (PFNGLGETMINMAXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfvEXT")) == NULL) || r;
5361 r = ((glGetMinmaxParameterivEXT = (PFNGLGETMINMAXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterivEXT")) == NULL) || r;
5362 r = ((glHistogramEXT = (PFNGLHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glHistogramEXT")) == NULL) || r;
5363 r = ((glMinmaxEXT = (PFNGLMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glMinmaxEXT")) == NULL) || r;
5364 r = ((glResetHistogramEXT = (PFNGLRESETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glResetHistogramEXT")) == NULL) || r;
5365 r = ((glResetMinmaxEXT = (PFNGLRESETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glResetMinmaxEXT")) == NULL) || r;
5367 return r;
5370 #endif /* GL_EXT_histogram */
5372 #ifdef GL_EXT_index_array_formats
5374 #endif /* GL_EXT_index_array_formats */
5376 #ifdef GL_EXT_index_func
5378 static GLboolean _glewInit_GL_EXT_index_func (GLEW_CONTEXT_ARG_DEF_INIT)
5380 GLboolean r = GL_FALSE;
5382 r = ((glIndexFuncEXT = (PFNGLINDEXFUNCEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexFuncEXT")) == NULL) || r;
5384 return r;
5387 #endif /* GL_EXT_index_func */
5389 #ifdef GL_EXT_index_material
5391 static GLboolean _glewInit_GL_EXT_index_material (GLEW_CONTEXT_ARG_DEF_INIT)
5393 GLboolean r = GL_FALSE;
5395 r = ((glIndexMaterialEXT = (PFNGLINDEXMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexMaterialEXT")) == NULL) || r;
5397 return r;
5400 #endif /* GL_EXT_index_material */
5402 #ifdef GL_EXT_index_texture
5404 #endif /* GL_EXT_index_texture */
5406 #ifdef GL_EXT_light_texture
5408 static GLboolean _glewInit_GL_EXT_light_texture (GLEW_CONTEXT_ARG_DEF_INIT)
5410 GLboolean r = GL_FALSE;
5412 r = ((glApplyTextureEXT = (PFNGLAPPLYTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glApplyTextureEXT")) == NULL) || r;
5413 r = ((glTextureLightEXT = (PFNGLTEXTURELIGHTEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureLightEXT")) == NULL) || r;
5414 r = ((glTextureMaterialEXT = (PFNGLTEXTUREMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureMaterialEXT")) == NULL) || r;
5416 return r;
5419 #endif /* GL_EXT_light_texture */
5421 #ifdef GL_EXT_misc_attribute
5423 #endif /* GL_EXT_misc_attribute */
5425 #ifdef GL_EXT_multi_draw_arrays
5427 static GLboolean _glewInit_GL_EXT_multi_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
5429 GLboolean r = GL_FALSE;
5431 r = ((glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysEXT")) == NULL) || r;
5432 r = ((glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsEXT")) == NULL) || r;
5434 return r;
5437 #endif /* GL_EXT_multi_draw_arrays */
5439 #ifdef GL_EXT_multisample
5441 static GLboolean _glewInit_GL_EXT_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
5443 GLboolean r = GL_FALSE;
5445 r = ((glSampleMaskEXT = (PFNGLSAMPLEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskEXT")) == NULL) || r;
5446 r = ((glSamplePatternEXT = (PFNGLSAMPLEPATTERNEXTPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternEXT")) == NULL) || r;
5448 return r;
5451 #endif /* GL_EXT_multisample */
5453 #ifdef GL_EXT_packed_depth_stencil
5455 #endif /* GL_EXT_packed_depth_stencil */
5457 #ifdef GL_EXT_packed_float
5459 #endif /* GL_EXT_packed_float */
5461 #ifdef GL_EXT_packed_pixels
5463 #endif /* GL_EXT_packed_pixels */
5465 #ifdef GL_EXT_paletted_texture
5467 static GLboolean _glewInit_GL_EXT_paletted_texture (GLEW_CONTEXT_ARG_DEF_INIT)
5469 GLboolean r = GL_FALSE;
5471 r = ((glColorTableEXT = (PFNGLCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorTableEXT")) == NULL) || r;
5472 r = ((glGetColorTableEXT = (PFNGLGETCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableEXT")) == NULL) || r;
5473 r = ((glGetColorTableParameterfvEXT = (PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvEXT")) == NULL) || r;
5474 r = ((glGetColorTableParameterivEXT = (PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivEXT")) == NULL) || r;
5476 return r;
5479 #endif /* GL_EXT_paletted_texture */
5481 #ifdef GL_EXT_pixel_buffer_object
5483 #endif /* GL_EXT_pixel_buffer_object */
5485 #ifdef GL_EXT_pixel_transform
5487 static GLboolean _glewInit_GL_EXT_pixel_transform (GLEW_CONTEXT_ARG_DEF_INIT)
5489 GLboolean r = GL_FALSE;
5491 r = ((glGetPixelTransformParameterfvEXT = (PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterfvEXT")) == NULL) || r;
5492 r = ((glGetPixelTransformParameterivEXT = (PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterivEXT")) == NULL) || r;
5493 r = ((glPixelTransformParameterfEXT = (PFNGLPIXELTRANSFORMPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfEXT")) == NULL) || r;
5494 r = ((glPixelTransformParameterfvEXT = (PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfvEXT")) == NULL) || r;
5495 r = ((glPixelTransformParameteriEXT = (PFNGLPIXELTRANSFORMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameteriEXT")) == NULL) || r;
5496 r = ((glPixelTransformParameterivEXT = (PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterivEXT")) == NULL) || r;
5498 return r;
5501 #endif /* GL_EXT_pixel_transform */
5503 #ifdef GL_EXT_pixel_transform_color_table
5505 #endif /* GL_EXT_pixel_transform_color_table */
5507 #ifdef GL_EXT_point_parameters
5509 static GLboolean _glewInit_GL_EXT_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
5511 GLboolean r = GL_FALSE;
5513 r = ((glPointParameterfEXT = (PFNGLPOINTPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfEXT")) == NULL) || r;
5514 r = ((glPointParameterfvEXT = (PFNGLPOINTPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvEXT")) == NULL) || r;
5516 return r;
5519 #endif /* GL_EXT_point_parameters */
5521 #ifdef GL_EXT_polygon_offset
5523 static GLboolean _glewInit_GL_EXT_polygon_offset (GLEW_CONTEXT_ARG_DEF_INIT)
5525 GLboolean r = GL_FALSE;
5527 r = ((glPolygonOffsetEXT = (PFNGLPOLYGONOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetEXT")) == NULL) || r;
5529 return r;
5532 #endif /* GL_EXT_polygon_offset */
5534 #ifdef GL_EXT_provoking_vertex
5536 static GLboolean _glewInit_GL_EXT_provoking_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
5538 GLboolean r = GL_FALSE;
5540 r = ((glProvokingVertexEXT = (PFNGLPROVOKINGVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertexEXT")) == NULL) || r;
5542 return r;
5545 #endif /* GL_EXT_provoking_vertex */
5547 #ifdef GL_EXT_rescale_normal
5549 #endif /* GL_EXT_rescale_normal */
5551 #ifdef GL_EXT_scene_marker
5553 static GLboolean _glewInit_GL_EXT_scene_marker (GLEW_CONTEXT_ARG_DEF_INIT)
5555 GLboolean r = GL_FALSE;
5557 r = ((glBeginSceneEXT = (PFNGLBEGINSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginSceneEXT")) == NULL) || r;
5558 r = ((glEndSceneEXT = (PFNGLENDSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glEndSceneEXT")) == NULL) || r;
5560 return r;
5563 #endif /* GL_EXT_scene_marker */
5565 #ifdef GL_EXT_secondary_color
5567 static GLboolean _glewInit_GL_EXT_secondary_color (GLEW_CONTEXT_ARG_DEF_INIT)
5569 GLboolean r = GL_FALSE;
5571 r = ((glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bEXT")) == NULL) || r;
5572 r = ((glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bvEXT")) == NULL) || r;
5573 r = ((glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dEXT")) == NULL) || r;
5574 r = ((glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dvEXT")) == NULL) || r;
5575 r = ((glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fEXT")) == NULL) || r;
5576 r = ((glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fvEXT")) == NULL) || r;
5577 r = ((glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iEXT")) == NULL) || r;
5578 r = ((glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ivEXT")) == NULL) || r;
5579 r = ((glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sEXT")) == NULL) || r;
5580 r = ((glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3svEXT")) == NULL) || r;
5581 r = ((glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubEXT")) == NULL) || r;
5582 r = ((glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubvEXT")) == NULL) || r;
5583 r = ((glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiEXT")) == NULL) || r;
5584 r = ((glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uivEXT")) == NULL) || r;
5585 r = ((glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usEXT")) == NULL) || r;
5586 r = ((glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usvEXT")) == NULL) || r;
5587 r = ((glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerEXT")) == NULL) || r;
5589 return r;
5592 #endif /* GL_EXT_secondary_color */
5594 #ifdef GL_EXT_separate_shader_objects
5596 static GLboolean _glewInit_GL_EXT_separate_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)
5598 GLboolean r = GL_FALSE;
5600 r = ((glActiveProgramEXT = (PFNGLACTIVEPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveProgramEXT")) == NULL) || r;
5601 r = ((glCreateShaderProgramEXT = (PFNGLCREATESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramEXT")) == NULL) || r;
5602 r = ((glUseShaderProgramEXT = (PFNGLUSESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glUseShaderProgramEXT")) == NULL) || r;
5604 return r;
5607 #endif /* GL_EXT_separate_shader_objects */
5609 #ifdef GL_EXT_separate_specular_color
5611 #endif /* GL_EXT_separate_specular_color */
5613 #ifdef GL_EXT_shader_image_load_store
5615 static GLboolean _glewInit_GL_EXT_shader_image_load_store (GLEW_CONTEXT_ARG_DEF_INIT)
5617 GLboolean r = GL_FALSE;
5619 r = ((glBindImageTextureEXT = (PFNGLBINDIMAGETEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindImageTextureEXT")) == NULL) || r;
5620 r = ((glMemoryBarrierEXT = (PFNGLMEMORYBARRIEREXTPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrierEXT")) == NULL) || r;
5622 return r;
5625 #endif /* GL_EXT_shader_image_load_store */
5627 #ifdef GL_EXT_shadow_funcs
5629 #endif /* GL_EXT_shadow_funcs */
5631 #ifdef GL_EXT_shared_texture_palette
5633 #endif /* GL_EXT_shared_texture_palette */
5635 #ifdef GL_EXT_stencil_clear_tag
5637 #endif /* GL_EXT_stencil_clear_tag */
5639 #ifdef GL_EXT_stencil_two_side
5641 static GLboolean _glewInit_GL_EXT_stencil_two_side (GLEW_CONTEXT_ARG_DEF_INIT)
5643 GLboolean r = GL_FALSE;
5645 r = ((glActiveStencilFaceEXT = (PFNGLACTIVESTENCILFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveStencilFaceEXT")) == NULL) || r;
5647 return r;
5650 #endif /* GL_EXT_stencil_two_side */
5652 #ifdef GL_EXT_stencil_wrap
5654 #endif /* GL_EXT_stencil_wrap */
5656 #ifdef GL_EXT_subtexture
5658 static GLboolean _glewInit_GL_EXT_subtexture (GLEW_CONTEXT_ARG_DEF_INIT)
5660 GLboolean r = GL_FALSE;
5662 r = ((glTexSubImage1DEXT = (PFNGLTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage1DEXT")) == NULL) || r;
5663 r = ((glTexSubImage2DEXT = (PFNGLTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage2DEXT")) == NULL) || r;
5664 r = ((glTexSubImage3DEXT = (PFNGLTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3DEXT")) == NULL) || r;
5666 return r;
5669 #endif /* GL_EXT_subtexture */
5671 #ifdef GL_EXT_texture
5673 #endif /* GL_EXT_texture */
5675 #ifdef GL_EXT_texture3D
5677 static GLboolean _glewInit_GL_EXT_texture3D (GLEW_CONTEXT_ARG_DEF_INIT)
5679 GLboolean r = GL_FALSE;
5681 r = ((glTexImage3DEXT = (PFNGLTEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DEXT")) == NULL) || r;
5683 return r;
5686 #endif /* GL_EXT_texture3D */
5688 #ifdef GL_EXT_texture_array
5690 #endif /* GL_EXT_texture_array */
5692 #ifdef GL_EXT_texture_buffer_object
5694 static GLboolean _glewInit_GL_EXT_texture_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
5696 GLboolean r = GL_FALSE;
5698 r = ((glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexBufferEXT")) == NULL) || r;
5700 return r;
5703 #endif /* GL_EXT_texture_buffer_object */
5705 #ifdef GL_EXT_texture_compression_dxt1
5707 #endif /* GL_EXT_texture_compression_dxt1 */
5709 #ifdef GL_EXT_texture_compression_latc
5711 #endif /* GL_EXT_texture_compression_latc */
5713 #ifdef GL_EXT_texture_compression_rgtc
5715 #endif /* GL_EXT_texture_compression_rgtc */
5717 #ifdef GL_EXT_texture_compression_s3tc
5719 #endif /* GL_EXT_texture_compression_s3tc */
5721 #ifdef GL_EXT_texture_cube_map
5723 #endif /* GL_EXT_texture_cube_map */
5725 #ifdef GL_EXT_texture_edge_clamp
5727 #endif /* GL_EXT_texture_edge_clamp */
5729 #ifdef GL_EXT_texture_env
5731 #endif /* GL_EXT_texture_env */
5733 #ifdef GL_EXT_texture_env_add
5735 #endif /* GL_EXT_texture_env_add */
5737 #ifdef GL_EXT_texture_env_combine
5739 #endif /* GL_EXT_texture_env_combine */
5741 #ifdef GL_EXT_texture_env_dot3
5743 #endif /* GL_EXT_texture_env_dot3 */
5745 #ifdef GL_EXT_texture_filter_anisotropic
5747 #endif /* GL_EXT_texture_filter_anisotropic */
5749 #ifdef GL_EXT_texture_integer
5751 static GLboolean _glewInit_GL_EXT_texture_integer (GLEW_CONTEXT_ARG_DEF_INIT)
5753 GLboolean r = GL_FALSE;
5755 r = ((glClearColorIiEXT = (PFNGLCLEARCOLORIIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIiEXT")) == NULL) || r;
5756 r = ((glClearColorIuiEXT = (PFNGLCLEARCOLORIUIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIuiEXT")) == NULL) || r;
5757 r = ((glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIivEXT")) == NULL) || r;
5758 r = ((glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuivEXT")) == NULL) || r;
5759 r = ((glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIivEXT")) == NULL) || r;
5760 r = ((glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuivEXT")) == NULL) || r;
5762 return r;
5765 #endif /* GL_EXT_texture_integer */
5767 #ifdef GL_EXT_texture_lod_bias
5769 #endif /* GL_EXT_texture_lod_bias */
5771 #ifdef GL_EXT_texture_mirror_clamp
5773 #endif /* GL_EXT_texture_mirror_clamp */
5775 #ifdef GL_EXT_texture_object
5777 static GLboolean _glewInit_GL_EXT_texture_object (GLEW_CONTEXT_ARG_DEF_INIT)
5779 GLboolean r = GL_FALSE;
5781 r = ((glAreTexturesResidentEXT = (PFNGLARETEXTURESRESIDENTEXTPROC)glewGetProcAddress((const GLubyte*)"glAreTexturesResidentEXT")) == NULL) || r;
5782 r = ((glBindTextureEXT = (PFNGLBINDTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureEXT")) == NULL) || r;
5783 r = ((glDeleteTexturesEXT = (PFNGLDELETETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteTexturesEXT")) == NULL) || r;
5784 r = ((glGenTexturesEXT = (PFNGLGENTEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glGenTexturesEXT")) == NULL) || r;
5785 r = ((glIsTextureEXT = (PFNGLISTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glIsTextureEXT")) == NULL) || r;
5786 r = ((glPrioritizeTexturesEXT = (PFNGLPRIORITIZETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glPrioritizeTexturesEXT")) == NULL) || r;
5788 return r;
5791 #endif /* GL_EXT_texture_object */
5793 #ifdef GL_EXT_texture_perturb_normal
5795 static GLboolean _glewInit_GL_EXT_texture_perturb_normal (GLEW_CONTEXT_ARG_DEF_INIT)
5797 GLboolean r = GL_FALSE;
5799 r = ((glTextureNormalEXT = (PFNGLTEXTURENORMALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureNormalEXT")) == NULL) || r;
5801 return r;
5804 #endif /* GL_EXT_texture_perturb_normal */
5806 #ifdef GL_EXT_texture_rectangle
5808 #endif /* GL_EXT_texture_rectangle */
5810 #ifdef GL_EXT_texture_sRGB
5812 #endif /* GL_EXT_texture_sRGB */
5814 #ifdef GL_EXT_texture_shared_exponent
5816 #endif /* GL_EXT_texture_shared_exponent */
5818 #ifdef GL_EXT_texture_snorm
5820 #endif /* GL_EXT_texture_snorm */
5822 #ifdef GL_EXT_texture_swizzle
5824 #endif /* GL_EXT_texture_swizzle */
5826 #ifdef GL_EXT_timer_query
5828 static GLboolean _glewInit_GL_EXT_timer_query (GLEW_CONTEXT_ARG_DEF_INIT)
5830 GLboolean r = GL_FALSE;
5832 r = ((glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64vEXT")) == NULL) || r;
5833 r = ((glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64vEXT")) == NULL) || r;
5835 return r;
5838 #endif /* GL_EXT_timer_query */
5840 #ifdef GL_EXT_transform_feedback
5842 static GLboolean _glewInit_GL_EXT_transform_feedback (GLEW_CONTEXT_ARG_DEF_INIT)
5844 GLboolean r = GL_FALSE;
5846 r = ((glBeginTransformFeedbackEXT = (PFNGLBEGINTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackEXT")) == NULL) || r;
5847 r = ((glBindBufferBaseEXT = (PFNGLBINDBUFFERBASEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseEXT")) == NULL) || r;
5848 r = ((glBindBufferOffsetEXT = (PFNGLBINDBUFFEROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetEXT")) == NULL) || r;
5849 r = ((glBindBufferRangeEXT = (PFNGLBINDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeEXT")) == NULL) || r;
5850 r = ((glEndTransformFeedbackEXT = (PFNGLENDTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackEXT")) == NULL) || r;
5851 r = ((glGetTransformFeedbackVaryingEXT = (PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingEXT")) == NULL) || r;
5852 r = ((glTransformFeedbackVaryingsEXT = (PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsEXT")) == NULL) || r;
5854 return r;
5857 #endif /* GL_EXT_transform_feedback */
5859 #ifdef GL_EXT_vertex_array
5861 static GLboolean _glewInit_GL_EXT_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT)
5863 GLboolean r = GL_FALSE;
5865 r = ((glArrayElementEXT = (PFNGLARRAYELEMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glArrayElementEXT")) == NULL) || r;
5866 r = ((glColorPointerEXT = (PFNGLCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glColorPointerEXT")) == NULL) || r;
5867 r = ((glDrawArraysEXT = (PFNGLDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysEXT")) == NULL) || r;
5868 r = ((glEdgeFlagPointerEXT = (PFNGLEDGEFLAGPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerEXT")) == NULL) || r;
5869 r = ((glGetPointervEXT = (PFNGLGETPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointervEXT")) == NULL) || r;
5870 r = ((glIndexPointerEXT = (PFNGLINDEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerEXT")) == NULL) || r;
5871 r = ((glNormalPointerEXT = (PFNGLNORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerEXT")) == NULL) || r;
5872 r = ((glTexCoordPointerEXT = (PFNGLTEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerEXT")) == NULL) || r;
5873 r = ((glVertexPointerEXT = (PFNGLVERTEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerEXT")) == NULL) || r;
5875 return r;
5878 #endif /* GL_EXT_vertex_array */
5880 #ifdef GL_EXT_vertex_array_bgra
5882 #endif /* GL_EXT_vertex_array_bgra */
5884 #ifdef GL_EXT_vertex_attrib_64bit
5886 static GLboolean _glewInit_GL_EXT_vertex_attrib_64bit (GLEW_CONTEXT_ARG_DEF_INIT)
5888 GLboolean r = GL_FALSE;
5890 r = ((glGetVertexAttribLdvEXT = (PFNGLGETVERTEXATTRIBLDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdvEXT")) == NULL) || r;
5891 r = ((glVertexArrayVertexAttribLOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribLOffsetEXT")) == NULL) || r;
5892 r = ((glVertexAttribL1dEXT = (PFNGLVERTEXATTRIBL1DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dEXT")) == NULL) || r;
5893 r = ((glVertexAttribL1dvEXT = (PFNGLVERTEXATTRIBL1DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dvEXT")) == NULL) || r;
5894 r = ((glVertexAttribL2dEXT = (PFNGLVERTEXATTRIBL2DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dEXT")) == NULL) || r;
5895 r = ((glVertexAttribL2dvEXT = (PFNGLVERTEXATTRIBL2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dvEXT")) == NULL) || r;
5896 r = ((glVertexAttribL3dEXT = (PFNGLVERTEXATTRIBL3DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dEXT")) == NULL) || r;
5897 r = ((glVertexAttribL3dvEXT = (PFNGLVERTEXATTRIBL3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dvEXT")) == NULL) || r;
5898 r = ((glVertexAttribL4dEXT = (PFNGLVERTEXATTRIBL4DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dEXT")) == NULL) || r;
5899 r = ((glVertexAttribL4dvEXT = (PFNGLVERTEXATTRIBL4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dvEXT")) == NULL) || r;
5900 r = ((glVertexAttribLPointerEXT = (PFNGLVERTEXATTRIBLPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointerEXT")) == NULL) || r;
5902 return r;
5905 #endif /* GL_EXT_vertex_attrib_64bit */
5907 #ifdef GL_EXT_vertex_shader
5909 static GLboolean _glewInit_GL_EXT_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)
5911 GLboolean r = GL_FALSE;
5913 r = ((glBeginVertexShaderEXT = (PFNGLBEGINVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBeginVertexShaderEXT")) == NULL) || r;
5914 r = ((glBindLightParameterEXT = (PFNGLBINDLIGHTPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindLightParameterEXT")) == NULL) || r;
5915 r = ((glBindMaterialParameterEXT = (PFNGLBINDMATERIALPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindMaterialParameterEXT")) == NULL) || r;
5916 r = ((glBindParameterEXT = (PFNGLBINDPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindParameterEXT")) == NULL) || r;
5917 r = ((glBindTexGenParameterEXT = (PFNGLBINDTEXGENPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTexGenParameterEXT")) == NULL) || r;
5918 r = ((glBindTextureUnitParameterEXT = (PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureUnitParameterEXT")) == NULL) || r;
5919 r = ((glBindVertexShaderEXT = (PFNGLBINDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindVertexShaderEXT")) == NULL) || r;
5920 r = ((glDeleteVertexShaderEXT = (PFNGLDELETEVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexShaderEXT")) == NULL) || r;
5921 r = ((glDisableVariantClientStateEXT = (PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVariantClientStateEXT")) == NULL) || r;
5922 r = ((glEnableVariantClientStateEXT = (PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVariantClientStateEXT")) == NULL) || r;
5923 r = ((glEndVertexShaderEXT = (PFNGLENDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glEndVertexShaderEXT")) == NULL) || r;
5924 r = ((glExtractComponentEXT = (PFNGLEXTRACTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glExtractComponentEXT")) == NULL) || r;
5925 r = ((glGenSymbolsEXT = (PFNGLGENSYMBOLSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenSymbolsEXT")) == NULL) || r;
5926 r = ((glGenVertexShadersEXT = (PFNGLGENVERTEXSHADERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenVertexShadersEXT")) == NULL) || r;
5927 r = ((glGetInvariantBooleanvEXT = (PFNGLGETINVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantBooleanvEXT")) == NULL) || r;
5928 r = ((glGetInvariantFloatvEXT = (PFNGLGETINVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantFloatvEXT")) == NULL) || r;
5929 r = ((glGetInvariantIntegervEXT = (PFNGLGETINVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantIntegervEXT")) == NULL) || r;
5930 r = ((glGetLocalConstantBooleanvEXT = (PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantBooleanvEXT")) == NULL) || r;
5931 r = ((glGetLocalConstantFloatvEXT = (PFNGLGETLOCALCONSTANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantFloatvEXT")) == NULL) || r;
5932 r = ((glGetLocalConstantIntegervEXT = (PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantIntegervEXT")) == NULL) || r;
5933 r = ((glGetVariantBooleanvEXT = (PFNGLGETVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantBooleanvEXT")) == NULL) || r;
5934 r = ((glGetVariantFloatvEXT = (PFNGLGETVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantFloatvEXT")) == NULL) || r;
5935 r = ((glGetVariantIntegervEXT = (PFNGLGETVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantIntegervEXT")) == NULL) || r;
5936 r = ((glGetVariantPointervEXT = (PFNGLGETVARIANTPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantPointervEXT")) == NULL) || r;
5937 r = ((glInsertComponentEXT = (PFNGLINSERTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glInsertComponentEXT")) == NULL) || r;
5938 r = ((glIsVariantEnabledEXT = (PFNGLISVARIANTENABLEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsVariantEnabledEXT")) == NULL) || r;
5939 r = ((glSetInvariantEXT = (PFNGLSETINVARIANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetInvariantEXT")) == NULL) || r;
5940 r = ((glSetLocalConstantEXT = (PFNGLSETLOCALCONSTANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetLocalConstantEXT")) == NULL) || r;
5941 r = ((glShaderOp1EXT = (PFNGLSHADEROP1EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp1EXT")) == NULL) || r;
5942 r = ((glShaderOp2EXT = (PFNGLSHADEROP2EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp2EXT")) == NULL) || r;
5943 r = ((glShaderOp3EXT = (PFNGLSHADEROP3EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp3EXT")) == NULL) || r;
5944 r = ((glSwizzleEXT = (PFNGLSWIZZLEEXTPROC)glewGetProcAddress((const GLubyte*)"glSwizzleEXT")) == NULL) || r;
5945 r = ((glVariantPointerEXT = (PFNGLVARIANTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVariantPointerEXT")) == NULL) || r;
5946 r = ((glVariantbvEXT = (PFNGLVARIANTBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantbvEXT")) == NULL) || r;
5947 r = ((glVariantdvEXT = (PFNGLVARIANTDVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantdvEXT")) == NULL) || r;
5948 r = ((glVariantfvEXT = (PFNGLVARIANTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantfvEXT")) == NULL) || r;
5949 r = ((glVariantivEXT = (PFNGLVARIANTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantivEXT")) == NULL) || r;
5950 r = ((glVariantsvEXT = (PFNGLVARIANTSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantsvEXT")) == NULL) || r;
5951 r = ((glVariantubvEXT = (PFNGLVARIANTUBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantubvEXT")) == NULL) || r;
5952 r = ((glVariantuivEXT = (PFNGLVARIANTUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantuivEXT")) == NULL) || r;
5953 r = ((glVariantusvEXT = (PFNGLVARIANTUSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantusvEXT")) == NULL) || r;
5954 r = ((glWriteMaskEXT = (PFNGLWRITEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glWriteMaskEXT")) == NULL) || r;
5956 return r;
5959 #endif /* GL_EXT_vertex_shader */
5961 #ifdef GL_EXT_vertex_weighting
5963 static GLboolean _glewInit_GL_EXT_vertex_weighting (GLEW_CONTEXT_ARG_DEF_INIT)
5965 GLboolean r = GL_FALSE;
5967 r = ((glVertexWeightPointerEXT = (PFNGLVERTEXWEIGHTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightPointerEXT")) == NULL) || r;
5968 r = ((glVertexWeightfEXT = (PFNGLVERTEXWEIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfEXT")) == NULL) || r;
5969 r = ((glVertexWeightfvEXT = (PFNGLVERTEXWEIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfvEXT")) == NULL) || r;
5971 return r;
5974 #endif /* GL_EXT_vertex_weighting */
5976 #ifdef GL_GREMEDY_frame_terminator
5978 static GLboolean _glewInit_GL_GREMEDY_frame_terminator (GLEW_CONTEXT_ARG_DEF_INIT)
5980 GLboolean r = GL_FALSE;
5982 r = ((glFrameTerminatorGREMEDY = (PFNGLFRAMETERMINATORGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glFrameTerminatorGREMEDY")) == NULL) || r;
5984 return r;
5987 #endif /* GL_GREMEDY_frame_terminator */
5989 #ifdef GL_GREMEDY_string_marker
5991 static GLboolean _glewInit_GL_GREMEDY_string_marker (GLEW_CONTEXT_ARG_DEF_INIT)
5993 GLboolean r = GL_FALSE;
5995 r = ((glStringMarkerGREMEDY = (PFNGLSTRINGMARKERGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glStringMarkerGREMEDY")) == NULL) || r;
5997 return r;
6000 #endif /* GL_GREMEDY_string_marker */
6002 #ifdef GL_HP_convolution_border_modes
6004 #endif /* GL_HP_convolution_border_modes */
6006 #ifdef GL_HP_image_transform
6008 static GLboolean _glewInit_GL_HP_image_transform (GLEW_CONTEXT_ARG_DEF_INIT)
6010 GLboolean r = GL_FALSE;
6012 r = ((glGetImageTransformParameterfvHP = (PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterfvHP")) == NULL) || r;
6013 r = ((glGetImageTransformParameterivHP = (PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterivHP")) == NULL) || r;
6014 r = ((glImageTransformParameterfHP = (PFNGLIMAGETRANSFORMPARAMETERFHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfHP")) == NULL) || r;
6015 r = ((glImageTransformParameterfvHP = (PFNGLIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfvHP")) == NULL) || r;
6016 r = ((glImageTransformParameteriHP = (PFNGLIMAGETRANSFORMPARAMETERIHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameteriHP")) == NULL) || r;
6017 r = ((glImageTransformParameterivHP = (PFNGLIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterivHP")) == NULL) || r;
6019 return r;
6022 #endif /* GL_HP_image_transform */
6024 #ifdef GL_HP_occlusion_test
6026 #endif /* GL_HP_occlusion_test */
6028 #ifdef GL_HP_texture_lighting
6030 #endif /* GL_HP_texture_lighting */
6032 #ifdef GL_IBM_cull_vertex
6034 #endif /* GL_IBM_cull_vertex */
6036 #ifdef GL_IBM_multimode_draw_arrays
6038 static GLboolean _glewInit_GL_IBM_multimode_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
6040 GLboolean r = GL_FALSE;
6042 r = ((glMultiModeDrawArraysIBM = (PFNGLMULTIMODEDRAWARRAYSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawArraysIBM")) == NULL) || r;
6043 r = ((glMultiModeDrawElementsIBM = (PFNGLMULTIMODEDRAWELEMENTSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawElementsIBM")) == NULL) || r;
6045 return r;
6048 #endif /* GL_IBM_multimode_draw_arrays */
6050 #ifdef GL_IBM_rasterpos_clip
6052 #endif /* GL_IBM_rasterpos_clip */
6054 #ifdef GL_IBM_static_data
6056 #endif /* GL_IBM_static_data */
6058 #ifdef GL_IBM_texture_mirrored_repeat
6060 #endif /* GL_IBM_texture_mirrored_repeat */
6062 #ifdef GL_IBM_vertex_array_lists
6064 static GLboolean _glewInit_GL_IBM_vertex_array_lists (GLEW_CONTEXT_ARG_DEF_INIT)
6066 GLboolean r = GL_FALSE;
6068 r = ((glColorPointerListIBM = (PFNGLCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glColorPointerListIBM")) == NULL) || r;
6069 r = ((glEdgeFlagPointerListIBM = (PFNGLEDGEFLAGPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerListIBM")) == NULL) || r;
6070 r = ((glFogCoordPointerListIBM = (PFNGLFOGCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerListIBM")) == NULL) || r;
6071 r = ((glIndexPointerListIBM = (PFNGLINDEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerListIBM")) == NULL) || r;
6072 r = ((glNormalPointerListIBM = (PFNGLNORMALPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerListIBM")) == NULL) || r;
6073 r = ((glSecondaryColorPointerListIBM = (PFNGLSECONDARYCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerListIBM")) == NULL) || r;
6074 r = ((glTexCoordPointerListIBM = (PFNGLTEXCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerListIBM")) == NULL) || r;
6075 r = ((glVertexPointerListIBM = (PFNGLVERTEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerListIBM")) == NULL) || r;
6077 return r;
6080 #endif /* GL_IBM_vertex_array_lists */
6082 #ifdef GL_INGR_color_clamp
6084 #endif /* GL_INGR_color_clamp */
6086 #ifdef GL_INGR_interlace_read
6088 #endif /* GL_INGR_interlace_read */
6090 #ifdef GL_INTEL_parallel_arrays
6092 static GLboolean _glewInit_GL_INTEL_parallel_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
6094 GLboolean r = GL_FALSE;
6096 r = ((glColorPointervINTEL = (PFNGLCOLORPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glColorPointervINTEL")) == NULL) || r;
6097 r = ((glNormalPointervINTEL = (PFNGLNORMALPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glNormalPointervINTEL")) == NULL) || r;
6098 r = ((glTexCoordPointervINTEL = (PFNGLTEXCOORDPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointervINTEL")) == NULL) || r;
6099 r = ((glVertexPointervINTEL = (PFNGLVERTEXPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glVertexPointervINTEL")) == NULL) || r;
6101 return r;
6104 #endif /* GL_INTEL_parallel_arrays */
6106 #ifdef GL_INTEL_texture_scissor
6108 static GLboolean _glewInit_GL_INTEL_texture_scissor (GLEW_CONTEXT_ARG_DEF_INIT)
6110 GLboolean r = GL_FALSE;
6112 r = ((glTexScissorFuncINTEL = (PFNGLTEXSCISSORFUNCINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorFuncINTEL")) == NULL) || r;
6113 r = ((glTexScissorINTEL = (PFNGLTEXSCISSORINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorINTEL")) == NULL) || r;
6115 return r;
6118 #endif /* GL_INTEL_texture_scissor */
6120 #ifdef GL_KTX_buffer_region
6122 static GLboolean _glewInit_GL_KTX_buffer_region (GLEW_CONTEXT_ARG_DEF_INIT)
6124 GLboolean r = GL_FALSE;
6126 r = ((glBufferRegionEnabledEXT = (PFNGLBUFFERREGIONENABLEDEXTPROC)glewGetProcAddress((const GLubyte*)"glBufferRegionEnabledEXT")) == NULL) || r;
6127 r = ((glDeleteBufferRegionEXT = (PFNGLDELETEBUFFERREGIONEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteBufferRegionEXT")) == NULL) || r;
6128 r = ((glDrawBufferRegionEXT = (PFNGLDRAWBUFFERREGIONEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawBufferRegionEXT")) == NULL) || r;
6129 r = ((glNewBufferRegionEXT = (PFNGLNEWBUFFERREGIONEXTPROC)glewGetProcAddress((const GLubyte*)"glNewBufferRegionEXT")) == NULL) || r;
6130 r = ((glReadBufferRegionEXT = (PFNGLREADBUFFERREGIONEXTPROC)glewGetProcAddress((const GLubyte*)"glReadBufferRegionEXT")) == NULL) || r;
6132 return r;
6135 #endif /* GL_KTX_buffer_region */
6137 #ifdef GL_MESAX_texture_stack
6139 #endif /* GL_MESAX_texture_stack */
6141 #ifdef GL_MESA_pack_invert
6143 #endif /* GL_MESA_pack_invert */
6145 #ifdef GL_MESA_resize_buffers
6147 static GLboolean _glewInit_GL_MESA_resize_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
6149 GLboolean r = GL_FALSE;
6151 r = ((glResizeBuffersMESA = (PFNGLRESIZEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glResizeBuffersMESA")) == NULL) || r;
6153 return r;
6156 #endif /* GL_MESA_resize_buffers */
6158 #ifdef GL_MESA_window_pos
6160 static GLboolean _glewInit_GL_MESA_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)
6162 GLboolean r = GL_FALSE;
6164 r = ((glWindowPos2dMESA = (PFNGLWINDOWPOS2DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dMESA")) == NULL) || r;
6165 r = ((glWindowPos2dvMESA = (PFNGLWINDOWPOS2DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvMESA")) == NULL) || r;
6166 r = ((glWindowPos2fMESA = (PFNGLWINDOWPOS2FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fMESA")) == NULL) || r;
6167 r = ((glWindowPos2fvMESA = (PFNGLWINDOWPOS2FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvMESA")) == NULL) || r;
6168 r = ((glWindowPos2iMESA = (PFNGLWINDOWPOS2IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iMESA")) == NULL) || r;
6169 r = ((glWindowPos2ivMESA = (PFNGLWINDOWPOS2IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivMESA")) == NULL) || r;
6170 r = ((glWindowPos2sMESA = (PFNGLWINDOWPOS2SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sMESA")) == NULL) || r;
6171 r = ((glWindowPos2svMESA = (PFNGLWINDOWPOS2SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svMESA")) == NULL) || r;
6172 r = ((glWindowPos3dMESA = (PFNGLWINDOWPOS3DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dMESA")) == NULL) || r;
6173 r = ((glWindowPos3dvMESA = (PFNGLWINDOWPOS3DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvMESA")) == NULL) || r;
6174 r = ((glWindowPos3fMESA = (PFNGLWINDOWPOS3FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fMESA")) == NULL) || r;
6175 r = ((glWindowPos3fvMESA = (PFNGLWINDOWPOS3FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvMESA")) == NULL) || r;
6176 r = ((glWindowPos3iMESA = (PFNGLWINDOWPOS3IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iMESA")) == NULL) || r;
6177 r = ((glWindowPos3ivMESA = (PFNGLWINDOWPOS3IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivMESA")) == NULL) || r;
6178 r = ((glWindowPos3sMESA = (PFNGLWINDOWPOS3SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sMESA")) == NULL) || r;
6179 r = ((glWindowPos3svMESA = (PFNGLWINDOWPOS3SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svMESA")) == NULL) || r;
6180 r = ((glWindowPos4dMESA = (PFNGLWINDOWPOS4DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dMESA")) == NULL) || r;
6181 r = ((glWindowPos4dvMESA = (PFNGLWINDOWPOS4DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dvMESA")) == NULL) || r;
6182 r = ((glWindowPos4fMESA = (PFNGLWINDOWPOS4FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fMESA")) == NULL) || r;
6183 r = ((glWindowPos4fvMESA = (PFNGLWINDOWPOS4FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fvMESA")) == NULL) || r;
6184 r = ((glWindowPos4iMESA = (PFNGLWINDOWPOS4IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4iMESA")) == NULL) || r;
6185 r = ((glWindowPos4ivMESA = (PFNGLWINDOWPOS4IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4ivMESA")) == NULL) || r;
6186 r = ((glWindowPos4sMESA = (PFNGLWINDOWPOS4SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4sMESA")) == NULL) || r;
6187 r = ((glWindowPos4svMESA = (PFNGLWINDOWPOS4SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4svMESA")) == NULL) || r;
6189 return r;
6192 #endif /* GL_MESA_window_pos */
6194 #ifdef GL_MESA_ycbcr_texture
6196 #endif /* GL_MESA_ycbcr_texture */
6198 #ifdef GL_NV_blend_square
6200 #endif /* GL_NV_blend_square */
6202 #ifdef GL_NV_conditional_render
6204 static GLboolean _glewInit_GL_NV_conditional_render (GLEW_CONTEXT_ARG_DEF_INIT)
6206 GLboolean r = GL_FALSE;
6208 r = ((glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRenderNV")) == NULL) || r;
6209 r = ((glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRenderNV")) == NULL) || r;
6211 return r;
6214 #endif /* GL_NV_conditional_render */
6216 #ifdef GL_NV_copy_depth_to_color
6218 #endif /* GL_NV_copy_depth_to_color */
6220 #ifdef GL_NV_copy_image
6222 static GLboolean _glewInit_GL_NV_copy_image (GLEW_CONTEXT_ARG_DEF_INIT)
6224 GLboolean r = GL_FALSE;
6226 r = ((glCopyImageSubDataNV = (PFNGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubDataNV")) == NULL) || r;
6228 return r;
6231 #endif /* GL_NV_copy_image */
6233 #ifdef GL_NV_depth_buffer_float
6235 static GLboolean _glewInit_GL_NV_depth_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)
6237 GLboolean r = GL_FALSE;
6239 r = ((glClearDepthdNV = (PFNGLCLEARDEPTHDNVPROC)glewGetProcAddress((const GLubyte*)"glClearDepthdNV")) == NULL) || r;
6240 r = ((glDepthBoundsdNV = (PFNGLDEPTHBOUNDSDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsdNV")) == NULL) || r;
6241 r = ((glDepthRangedNV = (PFNGLDEPTHRANGEDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangedNV")) == NULL) || r;
6243 return r;
6246 #endif /* GL_NV_depth_buffer_float */
6248 #ifdef GL_NV_depth_clamp
6250 #endif /* GL_NV_depth_clamp */
6252 #ifdef GL_NV_depth_range_unclamped
6254 #endif /* GL_NV_depth_range_unclamped */
6256 #ifdef GL_NV_evaluators
6258 static GLboolean _glewInit_GL_NV_evaluators (GLEW_CONTEXT_ARG_DEF_INIT)
6260 GLboolean r = GL_FALSE;
6262 r = ((glEvalMapsNV = (PFNGLEVALMAPSNVPROC)glewGetProcAddress((const GLubyte*)"glEvalMapsNV")) == NULL) || r;
6263 r = ((glGetMapAttribParameterfvNV = (PFNGLGETMAPATTRIBPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterfvNV")) == NULL) || r;
6264 r = ((glGetMapAttribParameterivNV = (PFNGLGETMAPATTRIBPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterivNV")) == NULL) || r;
6265 r = ((glGetMapControlPointsNV = (PFNGLGETMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapControlPointsNV")) == NULL) || r;
6266 r = ((glGetMapParameterfvNV = (PFNGLGETMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterfvNV")) == NULL) || r;
6267 r = ((glGetMapParameterivNV = (PFNGLGETMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterivNV")) == NULL) || r;
6268 r = ((glMapControlPointsNV = (PFNGLMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glMapControlPointsNV")) == NULL) || r;
6269 r = ((glMapParameterfvNV = (PFNGLMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterfvNV")) == NULL) || r;
6270 r = ((glMapParameterivNV = (PFNGLMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterivNV")) == NULL) || r;
6272 return r;
6275 #endif /* GL_NV_evaluators */
6277 #ifdef GL_NV_explicit_multisample
6279 static GLboolean _glewInit_GL_NV_explicit_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
6281 GLboolean r = GL_FALSE;
6283 r = ((glGetMultisamplefvNV = (PFNGLGETMULTISAMPLEFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefvNV")) == NULL) || r;
6284 r = ((glSampleMaskIndexedNV = (PFNGLSAMPLEMASKINDEXEDNVPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskIndexedNV")) == NULL) || r;
6285 r = ((glTexRenderbufferNV = (PFNGLTEXRENDERBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glTexRenderbufferNV")) == NULL) || r;
6287 return r;
6290 #endif /* GL_NV_explicit_multisample */
6292 #ifdef GL_NV_fence
6294 static GLboolean _glewInit_GL_NV_fence (GLEW_CONTEXT_ARG_DEF_INIT)
6296 GLboolean r = GL_FALSE;
6298 r = ((glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesNV")) == NULL) || r;
6299 r = ((glFinishFenceNV = (PFNGLFINISHFENCENVPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceNV")) == NULL) || r;
6300 r = ((glGenFencesNV = (PFNGLGENFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glGenFencesNV")) == NULL) || r;
6301 r = ((glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFenceivNV")) == NULL) || r;
6302 r = ((glIsFenceNV = (PFNGLISFENCENVPROC)glewGetProcAddress((const GLubyte*)"glIsFenceNV")) == NULL) || r;
6303 r = ((glSetFenceNV = (PFNGLSETFENCENVPROC)glewGetProcAddress((const GLubyte*)"glSetFenceNV")) == NULL) || r;
6304 r = ((glTestFenceNV = (PFNGLTESTFENCENVPROC)glewGetProcAddress((const GLubyte*)"glTestFenceNV")) == NULL) || r;
6306 return r;
6309 #endif /* GL_NV_fence */
6311 #ifdef GL_NV_float_buffer
6313 #endif /* GL_NV_float_buffer */
6315 #ifdef GL_NV_fog_distance
6317 #endif /* GL_NV_fog_distance */
6319 #ifdef GL_NV_fragment_program
6321 static GLboolean _glewInit_GL_NV_fragment_program (GLEW_CONTEXT_ARG_DEF_INIT)
6323 GLboolean r = GL_FALSE;
6325 r = ((glGetProgramNamedParameterdvNV = (PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterdvNV")) == NULL) || r;
6326 r = ((glGetProgramNamedParameterfvNV = (PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterfvNV")) == NULL) || r;
6327 r = ((glProgramNamedParameter4dNV = (PFNGLPROGRAMNAMEDPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dNV")) == NULL) || r;
6328 r = ((glProgramNamedParameter4dvNV = (PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dvNV")) == NULL) || r;
6329 r = ((glProgramNamedParameter4fNV = (PFNGLPROGRAMNAMEDPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fNV")) == NULL) || r;
6330 r = ((glProgramNamedParameter4fvNV = (PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fvNV")) == NULL) || r;
6332 return r;
6335 #endif /* GL_NV_fragment_program */
6337 #ifdef GL_NV_fragment_program2
6339 #endif /* GL_NV_fragment_program2 */
6341 #ifdef GL_NV_fragment_program4
6343 #endif /* GL_NV_fragment_program4 */
6345 #ifdef GL_NV_fragment_program_option
6347 #endif /* GL_NV_fragment_program_option */
6349 #ifdef GL_NV_framebuffer_multisample_coverage
6351 static GLboolean _glewInit_GL_NV_framebuffer_multisample_coverage (GLEW_CONTEXT_ARG_DEF_INIT)
6353 GLboolean r = GL_FALSE;
6355 r = ((glRenderbufferStorageMultisampleCoverageNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleCoverageNV")) == NULL) || r;
6357 return r;
6360 #endif /* GL_NV_framebuffer_multisample_coverage */
6362 #ifdef GL_NV_geometry_program4
6364 static GLboolean _glewInit_GL_NV_geometry_program4 (GLEW_CONTEXT_ARG_DEF_INIT)
6366 GLboolean r = GL_FALSE;
6368 r = ((glProgramVertexLimitNV = (PFNGLPROGRAMVERTEXLIMITNVPROC)glewGetProcAddress((const GLubyte*)"glProgramVertexLimitNV")) == NULL) || r;
6370 return r;
6373 #endif /* GL_NV_geometry_program4 */
6375 #ifdef GL_NV_geometry_shader4
6377 #endif /* GL_NV_geometry_shader4 */
6379 #ifdef GL_NV_gpu_program4
6381 static GLboolean _glewInit_GL_NV_gpu_program4 (GLEW_CONTEXT_ARG_DEF_INIT)
6383 GLboolean r = GL_FALSE;
6385 r = ((glProgramEnvParameterI4iNV = (PFNGLPROGRAMENVPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4iNV")) == NULL) || r;
6386 r = ((glProgramEnvParameterI4ivNV = (PFNGLPROGRAMENVPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4ivNV")) == NULL) || r;
6387 r = ((glProgramEnvParameterI4uiNV = (PFNGLPROGRAMENVPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uiNV")) == NULL) || r;
6388 r = ((glProgramEnvParameterI4uivNV = (PFNGLPROGRAMENVPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uivNV")) == NULL) || r;
6389 r = ((glProgramEnvParametersI4ivNV = (PFNGLPROGRAMENVPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4ivNV")) == NULL) || r;
6390 r = ((glProgramEnvParametersI4uivNV = (PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4uivNV")) == NULL) || r;
6391 r = ((glProgramLocalParameterI4iNV = (PFNGLPROGRAMLOCALPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4iNV")) == NULL) || r;
6392 r = ((glProgramLocalParameterI4ivNV = (PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4ivNV")) == NULL) || r;
6393 r = ((glProgramLocalParameterI4uiNV = (PFNGLPROGRAMLOCALPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uiNV")) == NULL) || r;
6394 r = ((glProgramLocalParameterI4uivNV = (PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uivNV")) == NULL) || r;
6395 r = ((glProgramLocalParametersI4ivNV = (PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4ivNV")) == NULL) || r;
6396 r = ((glProgramLocalParametersI4uivNV = (PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4uivNV")) == NULL) || r;
6398 return r;
6401 #endif /* GL_NV_gpu_program4 */
6403 #ifdef GL_NV_gpu_program5
6405 #endif /* GL_NV_gpu_program5 */
6407 #ifdef GL_NV_gpu_program_fp64
6409 #endif /* GL_NV_gpu_program_fp64 */
6411 #ifdef GL_NV_gpu_shader5
6413 static GLboolean _glewInit_GL_NV_gpu_shader5 (GLEW_CONTEXT_ARG_DEF_INIT)
6415 GLboolean r = GL_FALSE;
6417 r = ((glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformi64vNV")) == NULL) || r;
6418 r = ((glGetUniformui64vNV = (PFNGLGETUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformui64vNV")) == NULL) || r;
6419 r = ((glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64NV")) == NULL) || r;
6420 r = ((glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64vNV")) == NULL) || r;
6421 r = ((glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64NV")) == NULL) || r;
6422 r = ((glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64vNV")) == NULL) || r;
6423 r = ((glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64NV")) == NULL) || r;
6424 r = ((glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64vNV")) == NULL) || r;
6425 r = ((glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64NV")) == NULL) || r;
6426 r = ((glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64vNV")) == NULL) || r;
6427 r = ((glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64NV")) == NULL) || r;
6428 r = ((glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64vNV")) == NULL) || r;
6429 r = ((glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64NV")) == NULL) || r;
6430 r = ((glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64vNV")) == NULL) || r;
6431 r = ((glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64NV")) == NULL) || r;
6432 r = ((glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64vNV")) == NULL) || r;
6433 r = ((glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64NV")) == NULL) || r;
6434 r = ((glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64vNV")) == NULL) || r;
6435 r = ((glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64NV")) == NULL) || r;
6436 r = ((glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64vNV")) == NULL) || r;
6437 r = ((glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64NV")) == NULL) || r;
6438 r = ((glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64vNV")) == NULL) || r;
6439 r = ((glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64NV")) == NULL) || r;
6440 r = ((glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64vNV")) == NULL) || r;
6441 r = ((glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64NV")) == NULL) || r;
6442 r = ((glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64vNV")) == NULL) || r;
6443 r = ((glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64NV")) == NULL) || r;
6444 r = ((glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64vNV")) == NULL) || r;
6445 r = ((glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64NV")) == NULL) || r;
6446 r = ((glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64vNV")) == NULL) || r;
6447 r = ((glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64NV")) == NULL) || r;
6448 r = ((glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64vNV")) == NULL) || r;
6449 r = ((glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64NV")) == NULL) || r;
6450 r = ((glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64vNV")) == NULL) || r;
6452 return r;
6455 #endif /* GL_NV_gpu_shader5 */
6457 #ifdef GL_NV_half_float
6459 static GLboolean _glewInit_GL_NV_half_float (GLEW_CONTEXT_ARG_DEF_INIT)
6461 GLboolean r = GL_FALSE;
6463 r = ((glColor3hNV = (PFNGLCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hNV")) == NULL) || r;
6464 r = ((glColor3hvNV = (PFNGLCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hvNV")) == NULL) || r;
6465 r = ((glColor4hNV = (PFNGLCOLOR4HNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hNV")) == NULL) || r;
6466 r = ((glColor4hvNV = (PFNGLCOLOR4HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hvNV")) == NULL) || r;
6467 r = ((glFogCoordhNV = (PFNGLFOGCOORDHNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhNV")) == NULL) || r;
6468 r = ((glFogCoordhvNV = (PFNGLFOGCOORDHVNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhvNV")) == NULL) || r;
6469 r = ((glMultiTexCoord1hNV = (PFNGLMULTITEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hNV")) == NULL) || r;
6470 r = ((glMultiTexCoord1hvNV = (PFNGLMULTITEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hvNV")) == NULL) || r;
6471 r = ((glMultiTexCoord2hNV = (PFNGLMULTITEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hNV")) == NULL) || r;
6472 r = ((glMultiTexCoord2hvNV = (PFNGLMULTITEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hvNV")) == NULL) || r;
6473 r = ((glMultiTexCoord3hNV = (PFNGLMULTITEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hNV")) == NULL) || r;
6474 r = ((glMultiTexCoord3hvNV = (PFNGLMULTITEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hvNV")) == NULL) || r;
6475 r = ((glMultiTexCoord4hNV = (PFNGLMULTITEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hNV")) == NULL) || r;
6476 r = ((glMultiTexCoord4hvNV = (PFNGLMULTITEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hvNV")) == NULL) || r;
6477 r = ((glNormal3hNV = (PFNGLNORMAL3HNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hNV")) == NULL) || r;
6478 r = ((glNormal3hvNV = (PFNGLNORMAL3HVNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hvNV")) == NULL) || r;
6479 r = ((glSecondaryColor3hNV = (PFNGLSECONDARYCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hNV")) == NULL) || r;
6480 r = ((glSecondaryColor3hvNV = (PFNGLSECONDARYCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hvNV")) == NULL) || r;
6481 r = ((glTexCoord1hNV = (PFNGLTEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hNV")) == NULL) || r;
6482 r = ((glTexCoord1hvNV = (PFNGLTEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hvNV")) == NULL) || r;
6483 r = ((glTexCoord2hNV = (PFNGLTEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hNV")) == NULL) || r;
6484 r = ((glTexCoord2hvNV = (PFNGLTEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hvNV")) == NULL) || r;
6485 r = ((glTexCoord3hNV = (PFNGLTEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hNV")) == NULL) || r;
6486 r = ((glTexCoord3hvNV = (PFNGLTEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hvNV")) == NULL) || r;
6487 r = ((glTexCoord4hNV = (PFNGLTEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hNV")) == NULL) || r;
6488 r = ((glTexCoord4hvNV = (PFNGLTEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hvNV")) == NULL) || r;
6489 r = ((glVertex2hNV = (PFNGLVERTEX2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hNV")) == NULL) || r;
6490 r = ((glVertex2hvNV = (PFNGLVERTEX2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hvNV")) == NULL) || r;
6491 r = ((glVertex3hNV = (PFNGLVERTEX3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hNV")) == NULL) || r;
6492 r = ((glVertex3hvNV = (PFNGLVERTEX3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hvNV")) == NULL) || r;
6493 r = ((glVertex4hNV = (PFNGLVERTEX4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hNV")) == NULL) || r;
6494 r = ((glVertex4hvNV = (PFNGLVERTEX4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hvNV")) == NULL) || r;
6495 r = ((glVertexAttrib1hNV = (PFNGLVERTEXATTRIB1HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hNV")) == NULL) || r;
6496 r = ((glVertexAttrib1hvNV = (PFNGLVERTEXATTRIB1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hvNV")) == NULL) || r;
6497 r = ((glVertexAttrib2hNV = (PFNGLVERTEXATTRIB2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hNV")) == NULL) || r;
6498 r = ((glVertexAttrib2hvNV = (PFNGLVERTEXATTRIB2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hvNV")) == NULL) || r;
6499 r = ((glVertexAttrib3hNV = (PFNGLVERTEXATTRIB3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hNV")) == NULL) || r;
6500 r = ((glVertexAttrib3hvNV = (PFNGLVERTEXATTRIB3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hvNV")) == NULL) || r;
6501 r = ((glVertexAttrib4hNV = (PFNGLVERTEXATTRIB4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hNV")) == NULL) || r;
6502 r = ((glVertexAttrib4hvNV = (PFNGLVERTEXATTRIB4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hvNV")) == NULL) || r;
6503 r = ((glVertexAttribs1hvNV = (PFNGLVERTEXATTRIBS1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1hvNV")) == NULL) || r;
6504 r = ((glVertexAttribs2hvNV = (PFNGLVERTEXATTRIBS2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2hvNV")) == NULL) || r;
6505 r = ((glVertexAttribs3hvNV = (PFNGLVERTEXATTRIBS3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3hvNV")) == NULL) || r;
6506 r = ((glVertexAttribs4hvNV = (PFNGLVERTEXATTRIBS4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4hvNV")) == NULL) || r;
6507 r = ((glVertexWeighthNV = (PFNGLVERTEXWEIGHTHNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthNV")) == NULL) || r;
6508 r = ((glVertexWeighthvNV = (PFNGLVERTEXWEIGHTHVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthvNV")) == NULL) || r;
6510 return r;
6513 #endif /* GL_NV_half_float */
6515 #ifdef GL_NV_light_max_exponent
6517 #endif /* GL_NV_light_max_exponent */
6519 #ifdef GL_NV_multisample_coverage
6521 #endif /* GL_NV_multisample_coverage */
6523 #ifdef GL_NV_multisample_filter_hint
6525 #endif /* GL_NV_multisample_filter_hint */
6527 #ifdef GL_NV_occlusion_query
6529 static GLboolean _glewInit_GL_NV_occlusion_query (GLEW_CONTEXT_ARG_DEF_INIT)
6531 GLboolean r = GL_FALSE;
6533 r = ((glBeginOcclusionQueryNV = (PFNGLBEGINOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glBeginOcclusionQueryNV")) == NULL) || r;
6534 r = ((glDeleteOcclusionQueriesNV = (PFNGLDELETEOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteOcclusionQueriesNV")) == NULL) || r;
6535 r = ((glEndOcclusionQueryNV = (PFNGLENDOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glEndOcclusionQueryNV")) == NULL) || r;
6536 r = ((glGenOcclusionQueriesNV = (PFNGLGENOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glGenOcclusionQueriesNV")) == NULL) || r;
6537 r = ((glGetOcclusionQueryivNV = (PFNGLGETOCCLUSIONQUERYIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryivNV")) == NULL) || r;
6538 r = ((glGetOcclusionQueryuivNV = (PFNGLGETOCCLUSIONQUERYUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryuivNV")) == NULL) || r;
6539 r = ((glIsOcclusionQueryNV = (PFNGLISOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glIsOcclusionQueryNV")) == NULL) || r;
6541 return r;
6544 #endif /* GL_NV_occlusion_query */
6546 #ifdef GL_NV_packed_depth_stencil
6548 #endif /* GL_NV_packed_depth_stencil */
6550 #ifdef GL_NV_parameter_buffer_object
6552 static GLboolean _glewInit_GL_NV_parameter_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
6554 GLboolean r = GL_FALSE;
6556 r = ((glProgramBufferParametersIivNV = (PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIivNV")) == NULL) || r;
6557 r = ((glProgramBufferParametersIuivNV = (PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIuivNV")) == NULL) || r;
6558 r = ((glProgramBufferParametersfvNV = (PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersfvNV")) == NULL) || r;
6560 return r;
6563 #endif /* GL_NV_parameter_buffer_object */
6565 #ifdef GL_NV_parameter_buffer_object2
6567 #endif /* GL_NV_parameter_buffer_object2 */
6569 #ifdef GL_NV_pixel_data_range
6571 static GLboolean _glewInit_GL_NV_pixel_data_range (GLEW_CONTEXT_ARG_DEF_INIT)
6573 GLboolean r = GL_FALSE;
6575 r = ((glFlushPixelDataRangeNV = (PFNGLFLUSHPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushPixelDataRangeNV")) == NULL) || r;
6576 r = ((glPixelDataRangeNV = (PFNGLPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glPixelDataRangeNV")) == NULL) || r;
6578 return r;
6581 #endif /* GL_NV_pixel_data_range */
6583 #ifdef GL_NV_point_sprite
6585 static GLboolean _glewInit_GL_NV_point_sprite (GLEW_CONTEXT_ARG_DEF_INIT)
6587 GLboolean r = GL_FALSE;
6589 r = ((glPointParameteriNV = (PFNGLPOINTPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriNV")) == NULL) || r;
6590 r = ((glPointParameterivNV = (PFNGLPOINTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterivNV")) == NULL) || r;
6592 return r;
6595 #endif /* GL_NV_point_sprite */
6597 #ifdef GL_NV_present_video
6599 static GLboolean _glewInit_GL_NV_present_video (GLEW_CONTEXT_ARG_DEF_INIT)
6601 GLboolean r = GL_FALSE;
6603 r = ((glGetVideoi64vNV = (PFNGLGETVIDEOI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoi64vNV")) == NULL) || r;
6604 r = ((glGetVideoivNV = (PFNGLGETVIDEOIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoivNV")) == NULL) || r;
6605 r = ((glGetVideoui64vNV = (PFNGLGETVIDEOUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoui64vNV")) == NULL) || r;
6606 r = ((glGetVideouivNV = (PFNGLGETVIDEOUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideouivNV")) == NULL) || r;
6607 r = ((glPresentFrameDualFillNV = (PFNGLPRESENTFRAMEDUALFILLNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameDualFillNV")) == NULL) || r;
6608 r = ((glPresentFrameKeyedNV = (PFNGLPRESENTFRAMEKEYEDNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameKeyedNV")) == NULL) || r;
6610 return r;
6613 #endif /* GL_NV_present_video */
6615 #ifdef GL_NV_primitive_restart
6617 static GLboolean _glewInit_GL_NV_primitive_restart (GLEW_CONTEXT_ARG_DEF_INIT)
6619 GLboolean r = GL_FALSE;
6621 r = ((glPrimitiveRestartIndexNV = (PFNGLPRIMITIVERESTARTINDEXNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndexNV")) == NULL) || r;
6622 r = ((glPrimitiveRestartNV = (PFNGLPRIMITIVERESTARTNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartNV")) == NULL) || r;
6624 return r;
6627 #endif /* GL_NV_primitive_restart */
6629 #ifdef GL_NV_register_combiners
6631 static GLboolean _glewInit_GL_NV_register_combiners (GLEW_CONTEXT_ARG_DEF_INIT)
6633 GLboolean r = GL_FALSE;
6635 r = ((glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerInputNV")) == NULL) || r;
6636 r = ((glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerOutputNV")) == NULL) || r;
6637 r = ((glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfNV")) == NULL) || r;
6638 r = ((glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfvNV")) == NULL) || r;
6639 r = ((glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameteriNV")) == NULL) || r;
6640 r = ((glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterivNV")) == NULL) || r;
6641 r = ((glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glFinalCombinerInputNV")) == NULL) || r;
6642 r = ((glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterfvNV")) == NULL) || r;
6643 r = ((glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterivNV")) == NULL) || r;
6644 r = ((glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterfvNV")) == NULL) || r;
6645 r = ((glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterivNV")) == NULL) || r;
6646 r = ((glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterfvNV")) == NULL) || r;
6647 r = ((glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterivNV")) == NULL) || r;
6649 return r;
6652 #endif /* GL_NV_register_combiners */
6654 #ifdef GL_NV_register_combiners2
6656 static GLboolean _glewInit_GL_NV_register_combiners2 (GLEW_CONTEXT_ARG_DEF_INIT)
6658 GLboolean r = GL_FALSE;
6660 r = ((glCombinerStageParameterfvNV = (PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerStageParameterfvNV")) == NULL) || r;
6661 r = ((glGetCombinerStageParameterfvNV = (PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerStageParameterfvNV")) == NULL) || r;
6663 return r;
6666 #endif /* GL_NV_register_combiners2 */
6668 #ifdef GL_NV_shader_buffer_load
6670 static GLboolean _glewInit_GL_NV_shader_buffer_load (GLEW_CONTEXT_ARG_DEF_INIT)
6672 GLboolean r = GL_FALSE;
6674 r = ((glGetBufferParameterui64vNV = (PFNGLGETBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterui64vNV")) == NULL) || r;
6675 r = ((glGetIntegerui64vNV = (PFNGLGETINTEGERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64vNV")) == NULL) || r;
6676 r = ((glGetNamedBufferParameterui64vNV = (PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterui64vNV")) == NULL) || r;
6677 r = ((glIsBufferResidentNV = (PFNGLISBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsBufferResidentNV")) == NULL) || r;
6678 r = ((glIsNamedBufferResidentNV = (PFNGLISNAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsNamedBufferResidentNV")) == NULL) || r;
6679 r = ((glMakeBufferNonResidentNV = (PFNGLMAKEBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferNonResidentNV")) == NULL) || r;
6680 r = ((glMakeBufferResidentNV = (PFNGLMAKEBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferResidentNV")) == NULL) || r;
6681 r = ((glMakeNamedBufferNonResidentNV = (PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferNonResidentNV")) == NULL) || r;
6682 r = ((glMakeNamedBufferResidentNV = (PFNGLMAKENAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferResidentNV")) == NULL) || r;
6683 r = ((glProgramUniformui64NV = (PFNGLPROGRAMUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64NV")) == NULL) || r;
6684 r = ((glProgramUniformui64vNV = (PFNGLPROGRAMUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64vNV")) == NULL) || r;
6685 r = ((glUniformui64NV = (PFNGLUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64NV")) == NULL) || r;
6686 r = ((glUniformui64vNV = (PFNGLUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64vNV")) == NULL) || r;
6688 return r;
6691 #endif /* GL_NV_shader_buffer_load */
6693 #ifdef GL_NV_tessellation_program5
6695 #endif /* GL_NV_tessellation_program5 */
6697 #ifdef GL_NV_texgen_emboss
6699 #endif /* GL_NV_texgen_emboss */
6701 #ifdef GL_NV_texgen_reflection
6703 #endif /* GL_NV_texgen_reflection */
6705 #ifdef GL_NV_texture_barrier
6707 static GLboolean _glewInit_GL_NV_texture_barrier (GLEW_CONTEXT_ARG_DEF_INIT)
6709 GLboolean r = GL_FALSE;
6711 r = ((glTextureBarrierNV = (PFNGLTEXTUREBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glTextureBarrierNV")) == NULL) || r;
6713 return r;
6716 #endif /* GL_NV_texture_barrier */
6718 #ifdef GL_NV_texture_compression_vtc
6720 #endif /* GL_NV_texture_compression_vtc */
6722 #ifdef GL_NV_texture_env_combine4
6724 #endif /* GL_NV_texture_env_combine4 */
6726 #ifdef GL_NV_texture_expand_normal
6728 #endif /* GL_NV_texture_expand_normal */
6730 #ifdef GL_NV_texture_rectangle
6732 #endif /* GL_NV_texture_rectangle */
6734 #ifdef GL_NV_texture_shader
6736 #endif /* GL_NV_texture_shader */
6738 #ifdef GL_NV_texture_shader2
6740 #endif /* GL_NV_texture_shader2 */
6742 #ifdef GL_NV_texture_shader3
6744 #endif /* GL_NV_texture_shader3 */
6746 #ifdef GL_NV_transform_feedback
6748 static GLboolean _glewInit_GL_NV_transform_feedback (GLEW_CONTEXT_ARG_DEF_INIT)
6750 GLboolean r = GL_FALSE;
6752 r = ((glActiveVaryingNV = (PFNGLACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glActiveVaryingNV")) == NULL) || r;
6753 r = ((glBeginTransformFeedbackNV = (PFNGLBEGINTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackNV")) == NULL) || r;
6754 r = ((glBindBufferBaseNV = (PFNGLBINDBUFFERBASENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseNV")) == NULL) || r;
6755 r = ((glBindBufferOffsetNV = (PFNGLBINDBUFFEROFFSETNVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetNV")) == NULL) || r;
6756 r = ((glBindBufferRangeNV = (PFNGLBINDBUFFERRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeNV")) == NULL) || r;
6757 r = ((glEndTransformFeedbackNV = (PFNGLENDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackNV")) == NULL) || r;
6758 r = ((glGetActiveVaryingNV = (PFNGLGETACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveVaryingNV")) == NULL) || r;
6759 r = ((glGetTransformFeedbackVaryingNV = (PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingNV")) == NULL) || r;
6760 r = ((glGetVaryingLocationNV = (PFNGLGETVARYINGLOCATIONNVPROC)glewGetProcAddress((const GLubyte*)"glGetVaryingLocationNV")) == NULL) || r;
6761 r = ((glTransformFeedbackAttribsNV = (PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackAttribsNV")) == NULL) || r;
6762 r = ((glTransformFeedbackVaryingsNV = (PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsNV")) == NULL) || r;
6764 return r;
6767 #endif /* GL_NV_transform_feedback */
6769 #ifdef GL_NV_transform_feedback2
6771 static GLboolean _glewInit_GL_NV_transform_feedback2 (GLEW_CONTEXT_ARG_DEF_INIT)
6773 GLboolean r = GL_FALSE;
6775 r = ((glBindTransformFeedbackNV = (PFNGLBINDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedbackNV")) == NULL) || r;
6776 r = ((glDeleteTransformFeedbacksNV = (PFNGLDELETETRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacksNV")) == NULL) || r;
6777 r = ((glDrawTransformFeedbackNV = (PFNGLDRAWTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackNV")) == NULL) || r;
6778 r = ((glGenTransformFeedbacksNV = (PFNGLGENTRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacksNV")) == NULL) || r;
6779 r = ((glIsTransformFeedbackNV = (PFNGLISTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedbackNV")) == NULL) || r;
6780 r = ((glPauseTransformFeedbackNV = (PFNGLPAUSETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedbackNV")) == NULL) || r;
6781 r = ((glResumeTransformFeedbackNV = (PFNGLRESUMETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedbackNV")) == NULL) || r;
6783 return r;
6786 #endif /* GL_NV_transform_feedback2 */
6788 #ifdef GL_NV_vdpau_interop
6790 static GLboolean _glewInit_GL_NV_vdpau_interop (GLEW_CONTEXT_ARG_DEF_INIT)
6792 GLboolean r = GL_FALSE;
6794 r = ((glVDPAUFiniNV = (PFNGLVDPAUFININVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUFiniNV")) == NULL) || r;
6795 r = ((glVDPAUGetSurfaceivNV = (PFNGLVDPAUGETSURFACEIVNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUGetSurfaceivNV")) == NULL) || r;
6796 r = ((glVDPAUInitNV = (PFNGLVDPAUINITNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUInitNV")) == NULL) || r;
6797 r = ((glVDPAUIsSurfaceNV = (PFNGLVDPAUISSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUIsSurfaceNV")) == NULL) || r;
6798 r = ((glVDPAUMapSurfacesNV = (PFNGLVDPAUMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUMapSurfacesNV")) == NULL) || r;
6799 r = ((glVDPAURegisterOutputSurfaceNV = (PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterOutputSurfaceNV")) == NULL) || r;
6800 r = ((glVDPAURegisterVideoSurfaceNV = (PFNGLVDPAUREGISTERVIDEOSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterVideoSurfaceNV")) == NULL) || r;
6801 r = ((glVDPAUSurfaceAccessNV = (PFNGLVDPAUSURFACEACCESSNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUSurfaceAccessNV")) == NULL) || r;
6802 r = ((glVDPAUUnmapSurfacesNV = (PFNGLVDPAUUNMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnmapSurfacesNV")) == NULL) || r;
6803 r = ((glVDPAUUnregisterSurfaceNV = (PFNGLVDPAUUNREGISTERSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnregisterSurfaceNV")) == NULL) || r;
6805 return r;
6808 #endif /* GL_NV_vdpau_interop */
6810 #ifdef GL_NV_vertex_array_range
6812 static GLboolean _glewInit_GL_NV_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT)
6814 GLboolean r = GL_FALSE;
6816 r = ((glFlushVertexArrayRangeNV = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeNV")) == NULL) || r;
6817 r = ((glVertexArrayRangeNV = (PFNGLVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeNV")) == NULL) || r;
6819 return r;
6822 #endif /* GL_NV_vertex_array_range */
6824 #ifdef GL_NV_vertex_array_range2
6826 #endif /* GL_NV_vertex_array_range2 */
6828 #ifdef GL_NV_vertex_attrib_integer_64bit
6830 static GLboolean _glewInit_GL_NV_vertex_attrib_integer_64bit (GLEW_CONTEXT_ARG_DEF_INIT)
6832 GLboolean r = GL_FALSE;
6834 r = ((glGetVertexAttribLi64vNV = (PFNGLGETVERTEXATTRIBLI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLi64vNV")) == NULL) || r;
6835 r = ((glGetVertexAttribLui64vNV = (PFNGLGETVERTEXATTRIBLUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLui64vNV")) == NULL) || r;
6836 r = ((glVertexAttribL1i64NV = (PFNGLVERTEXATTRIBL1I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64NV")) == NULL) || r;
6837 r = ((glVertexAttribL1i64vNV = (PFNGLVERTEXATTRIBL1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64vNV")) == NULL) || r;
6838 r = ((glVertexAttribL1ui64NV = (PFNGLVERTEXATTRIBL1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64NV")) == NULL) || r;
6839 r = ((glVertexAttribL1ui64vNV = (PFNGLVERTEXATTRIBL1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64vNV")) == NULL) || r;
6840 r = ((glVertexAttribL2i64NV = (PFNGLVERTEXATTRIBL2I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64NV")) == NULL) || r;
6841 r = ((glVertexAttribL2i64vNV = (PFNGLVERTEXATTRIBL2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64vNV")) == NULL) || r;
6842 r = ((glVertexAttribL2ui64NV = (PFNGLVERTEXATTRIBL2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64NV")) == NULL) || r;
6843 r = ((glVertexAttribL2ui64vNV = (PFNGLVERTEXATTRIBL2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64vNV")) == NULL) || r;
6844 r = ((glVertexAttribL3i64NV = (PFNGLVERTEXATTRIBL3I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64NV")) == NULL) || r;
6845 r = ((glVertexAttribL3i64vNV = (PFNGLVERTEXATTRIBL3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64vNV")) == NULL) || r;
6846 r = ((glVertexAttribL3ui64NV = (PFNGLVERTEXATTRIBL3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64NV")) == NULL) || r;
6847 r = ((glVertexAttribL3ui64vNV = (PFNGLVERTEXATTRIBL3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64vNV")) == NULL) || r;
6848 r = ((glVertexAttribL4i64NV = (PFNGLVERTEXATTRIBL4I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64NV")) == NULL) || r;
6849 r = ((glVertexAttribL4i64vNV = (PFNGLVERTEXATTRIBL4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64vNV")) == NULL) || r;
6850 r = ((glVertexAttribL4ui64NV = (PFNGLVERTEXATTRIBL4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64NV")) == NULL) || r;
6851 r = ((glVertexAttribL4ui64vNV = (PFNGLVERTEXATTRIBL4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64vNV")) == NULL) || r;
6852 r = ((glVertexAttribLFormatNV = (PFNGLVERTEXATTRIBLFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormatNV")) == NULL) || r;
6854 return r;
6857 #endif /* GL_NV_vertex_attrib_integer_64bit */
6859 #ifdef GL_NV_vertex_buffer_unified_memory
6861 static GLboolean _glewInit_GL_NV_vertex_buffer_unified_memory (GLEW_CONTEXT_ARG_DEF_INIT)
6863 GLboolean r = GL_FALSE;
6865 r = ((glBufferAddressRangeNV = (PFNGLBUFFERADDRESSRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBufferAddressRangeNV")) == NULL) || r;
6866 r = ((glColorFormatNV = (PFNGLCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glColorFormatNV")) == NULL) || r;
6867 r = ((glEdgeFlagFormatNV = (PFNGLEDGEFLAGFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagFormatNV")) == NULL) || r;
6868 r = ((glFogCoordFormatNV = (PFNGLFOGCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordFormatNV")) == NULL) || r;
6869 r = ((glGetIntegerui64i_vNV = (PFNGLGETINTEGERUI64I_VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64i_vNV")) == NULL) || r;
6870 r = ((glIndexFormatNV = (PFNGLINDEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glIndexFormatNV")) == NULL) || r;
6871 r = ((glNormalFormatNV = (PFNGLNORMALFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glNormalFormatNV")) == NULL) || r;
6872 r = ((glSecondaryColorFormatNV = (PFNGLSECONDARYCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorFormatNV")) == NULL) || r;
6873 r = ((glTexCoordFormatNV = (PFNGLTEXCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordFormatNV")) == NULL) || r;
6874 r = ((glVertexAttribFormatNV = (PFNGLVERTEXATTRIBFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormatNV")) == NULL) || r;
6875 r = ((glVertexAttribIFormatNV = (PFNGLVERTEXATTRIBIFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormatNV")) == NULL) || r;
6876 r = ((glVertexFormatNV = (PFNGLVERTEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexFormatNV")) == NULL) || r;
6878 return r;
6881 #endif /* GL_NV_vertex_buffer_unified_memory */
6883 #ifdef GL_NV_vertex_program
6885 static GLboolean _glewInit_GL_NV_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT)
6887 GLboolean r = GL_FALSE;
6889 r = ((glAreProgramsResidentNV = (PFNGLAREPROGRAMSRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glAreProgramsResidentNV")) == NULL) || r;
6890 r = ((glBindProgramNV = (PFNGLBINDPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glBindProgramNV")) == NULL) || r;
6891 r = ((glDeleteProgramsNV = (PFNGLDELETEPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsNV")) == NULL) || r;
6892 r = ((glExecuteProgramNV = (PFNGLEXECUTEPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glExecuteProgramNV")) == NULL) || r;
6893 r = ((glGenProgramsNV = (PFNGLGENPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsNV")) == NULL) || r;
6894 r = ((glGetProgramParameterdvNV = (PFNGLGETPROGRAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterdvNV")) == NULL) || r;
6895 r = ((glGetProgramParameterfvNV = (PFNGLGETPROGRAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterfvNV")) == NULL) || r;
6896 r = ((glGetProgramStringNV = (PFNGLGETPROGRAMSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringNV")) == NULL) || r;
6897 r = ((glGetProgramivNV = (PFNGLGETPROGRAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivNV")) == NULL) || r;
6898 r = ((glGetTrackMatrixivNV = (PFNGLGETTRACKMATRIXIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetTrackMatrixivNV")) == NULL) || r;
6899 r = ((glGetVertexAttribPointervNV = (PFNGLGETVERTEXATTRIBPOINTERVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervNV")) == NULL) || r;
6900 r = ((glGetVertexAttribdvNV = (PFNGLGETVERTEXATTRIBDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvNV")) == NULL) || r;
6901 r = ((glGetVertexAttribfvNV = (PFNGLGETVERTEXATTRIBFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvNV")) == NULL) || r;
6902 r = ((glGetVertexAttribivNV = (PFNGLGETVERTEXATTRIBIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivNV")) == NULL) || r;
6903 r = ((glIsProgramNV = (PFNGLISPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glIsProgramNV")) == NULL) || r;
6904 r = ((glLoadProgramNV = (PFNGLLOADPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glLoadProgramNV")) == NULL) || r;
6905 r = ((glProgramParameter4dNV = (PFNGLPROGRAMPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dNV")) == NULL) || r;
6906 r = ((glProgramParameter4dvNV = (PFNGLPROGRAMPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dvNV")) == NULL) || r;
6907 r = ((glProgramParameter4fNV = (PFNGLPROGRAMPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fNV")) == NULL) || r;
6908 r = ((glProgramParameter4fvNV = (PFNGLPROGRAMPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fvNV")) == NULL) || r;
6909 r = ((glProgramParameters4dvNV = (PFNGLPROGRAMPARAMETERS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4dvNV")) == NULL) || r;
6910 r = ((glProgramParameters4fvNV = (PFNGLPROGRAMPARAMETERS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4fvNV")) == NULL) || r;
6911 r = ((glRequestResidentProgramsNV = (PFNGLREQUESTRESIDENTPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glRequestResidentProgramsNV")) == NULL) || r;
6912 r = ((glTrackMatrixNV = (PFNGLTRACKMATRIXNVPROC)glewGetProcAddress((const GLubyte*)"glTrackMatrixNV")) == NULL) || r;
6913 r = ((glVertexAttrib1dNV = (PFNGLVERTEXATTRIB1DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dNV")) == NULL) || r;
6914 r = ((glVertexAttrib1dvNV = (PFNGLVERTEXATTRIB1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvNV")) == NULL) || r;
6915 r = ((glVertexAttrib1fNV = (PFNGLVERTEXATTRIB1FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fNV")) == NULL) || r;
6916 r = ((glVertexAttrib1fvNV = (PFNGLVERTEXATTRIB1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvNV")) == NULL) || r;
6917 r = ((glVertexAttrib1sNV = (PFNGLVERTEXATTRIB1SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sNV")) == NULL) || r;
6918 r = ((glVertexAttrib1svNV = (PFNGLVERTEXATTRIB1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svNV")) == NULL) || r;
6919 r = ((glVertexAttrib2dNV = (PFNGLVERTEXATTRIB2DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dNV")) == NULL) || r;
6920 r = ((glVertexAttrib2dvNV = (PFNGLVERTEXATTRIB2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvNV")) == NULL) || r;
6921 r = ((glVertexAttrib2fNV = (PFNGLVERTEXATTRIB2FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fNV")) == NULL) || r;
6922 r = ((glVertexAttrib2fvNV = (PFNGLVERTEXATTRIB2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvNV")) == NULL) || r;
6923 r = ((glVertexAttrib2sNV = (PFNGLVERTEXATTRIB2SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sNV")) == NULL) || r;
6924 r = ((glVertexAttrib2svNV = (PFNGLVERTEXATTRIB2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svNV")) == NULL) || r;
6925 r = ((glVertexAttrib3dNV = (PFNGLVERTEXATTRIB3DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dNV")) == NULL) || r;
6926 r = ((glVertexAttrib3dvNV = (PFNGLVERTEXATTRIB3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvNV")) == NULL) || r;
6927 r = ((glVertexAttrib3fNV = (PFNGLVERTEXATTRIB3FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fNV")) == NULL) || r;
6928 r = ((glVertexAttrib3fvNV = (PFNGLVERTEXATTRIB3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvNV")) == NULL) || r;
6929 r = ((glVertexAttrib3sNV = (PFNGLVERTEXATTRIB3SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sNV")) == NULL) || r;
6930 r = ((glVertexAttrib3svNV = (PFNGLVERTEXATTRIB3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svNV")) == NULL) || r;
6931 r = ((glVertexAttrib4dNV = (PFNGLVERTEXATTRIB4DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dNV")) == NULL) || r;
6932 r = ((glVertexAttrib4dvNV = (PFNGLVERTEXATTRIB4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvNV")) == NULL) || r;
6933 r = ((glVertexAttrib4fNV = (PFNGLVERTEXATTRIB4FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fNV")) == NULL) || r;
6934 r = ((glVertexAttrib4fvNV = (PFNGLVERTEXATTRIB4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvNV")) == NULL) || r;
6935 r = ((glVertexAttrib4sNV = (PFNGLVERTEXATTRIB4SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sNV")) == NULL) || r;
6936 r = ((glVertexAttrib4svNV = (PFNGLVERTEXATTRIB4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svNV")) == NULL) || r;
6937 r = ((glVertexAttrib4ubNV = (PFNGLVERTEXATTRIB4UBNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubNV")) == NULL) || r;
6938 r = ((glVertexAttrib4ubvNV = (PFNGLVERTEXATTRIB4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvNV")) == NULL) || r;
6939 r = ((glVertexAttribPointerNV = (PFNGLVERTEXATTRIBPOINTERNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerNV")) == NULL) || r;
6940 r = ((glVertexAttribs1dvNV = (PFNGLVERTEXATTRIBS1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1dvNV")) == NULL) || r;
6941 r = ((glVertexAttribs1fvNV = (PFNGLVERTEXATTRIBS1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1fvNV")) == NULL) || r;
6942 r = ((glVertexAttribs1svNV = (PFNGLVERTEXATTRIBS1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1svNV")) == NULL) || r;
6943 r = ((glVertexAttribs2dvNV = (PFNGLVERTEXATTRIBS2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2dvNV")) == NULL) || r;
6944 r = ((glVertexAttribs2fvNV = (PFNGLVERTEXATTRIBS2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2fvNV")) == NULL) || r;
6945 r = ((glVertexAttribs2svNV = (PFNGLVERTEXATTRIBS2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2svNV")) == NULL) || r;
6946 r = ((glVertexAttribs3dvNV = (PFNGLVERTEXATTRIBS3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3dvNV")) == NULL) || r;
6947 r = ((glVertexAttribs3fvNV = (PFNGLVERTEXATTRIBS3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3fvNV")) == NULL) || r;
6948 r = ((glVertexAttribs3svNV = (PFNGLVERTEXATTRIBS3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3svNV")) == NULL) || r;
6949 r = ((glVertexAttribs4dvNV = (PFNGLVERTEXATTRIBS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4dvNV")) == NULL) || r;
6950 r = ((glVertexAttribs4fvNV = (PFNGLVERTEXATTRIBS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4fvNV")) == NULL) || r;
6951 r = ((glVertexAttribs4svNV = (PFNGLVERTEXATTRIBS4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4svNV")) == NULL) || r;
6952 r = ((glVertexAttribs4ubvNV = (PFNGLVERTEXATTRIBS4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4ubvNV")) == NULL) || r;
6954 return r;
6957 #endif /* GL_NV_vertex_program */
6959 #ifdef GL_NV_vertex_program1_1
6961 #endif /* GL_NV_vertex_program1_1 */
6963 #ifdef GL_NV_vertex_program2
6965 #endif /* GL_NV_vertex_program2 */
6967 #ifdef GL_NV_vertex_program2_option
6969 #endif /* GL_NV_vertex_program2_option */
6971 #ifdef GL_NV_vertex_program3
6973 #endif /* GL_NV_vertex_program3 */
6975 #ifdef GL_NV_vertex_program4
6977 #endif /* GL_NV_vertex_program4 */
6979 #ifdef GL_OES_byte_coordinates
6981 #endif /* GL_OES_byte_coordinates */
6983 #ifdef GL_OES_compressed_paletted_texture
6985 #endif /* GL_OES_compressed_paletted_texture */
6987 #ifdef GL_OES_read_format
6989 #endif /* GL_OES_read_format */
6991 #ifdef GL_OES_single_precision
6993 static GLboolean _glewInit_GL_OES_single_precision (GLEW_CONTEXT_ARG_DEF_INIT)
6995 GLboolean r = GL_FALSE;
6997 r = ((glClearDepthfOES = (PFNGLCLEARDEPTHFOESPROC)glewGetProcAddress((const GLubyte*)"glClearDepthfOES")) == NULL) || r;
6998 r = ((glClipPlanefOES = (PFNGLCLIPPLANEFOESPROC)glewGetProcAddress((const GLubyte*)"glClipPlanefOES")) == NULL) || r;
6999 r = ((glDepthRangefOES = (PFNGLDEPTHRANGEFOESPROC)glewGetProcAddress((const GLubyte*)"glDepthRangefOES")) == NULL) || r;
7000 r = ((glFrustumfOES = (PFNGLFRUSTUMFOESPROC)glewGetProcAddress((const GLubyte*)"glFrustumfOES")) == NULL) || r;
7001 r = ((glGetClipPlanefOES = (PFNGLGETCLIPPLANEFOESPROC)glewGetProcAddress((const GLubyte*)"glGetClipPlanefOES")) == NULL) || r;
7002 r = ((glOrthofOES = (PFNGLORTHOFOESPROC)glewGetProcAddress((const GLubyte*)"glOrthofOES")) == NULL) || r;
7004 return r;
7007 #endif /* GL_OES_single_precision */
7009 #ifdef GL_OML_interlace
7011 #endif /* GL_OML_interlace */
7013 #ifdef GL_OML_resample
7015 #endif /* GL_OML_resample */
7017 #ifdef GL_OML_subsample
7019 #endif /* GL_OML_subsample */
7021 #ifdef GL_PGI_misc_hints
7023 #endif /* GL_PGI_misc_hints */
7025 #ifdef GL_PGI_vertex_hints
7027 #endif /* GL_PGI_vertex_hints */
7029 #ifdef GL_REND_screen_coordinates
7031 #endif /* GL_REND_screen_coordinates */
7033 #ifdef GL_S3_s3tc
7035 #endif /* GL_S3_s3tc */
7037 #ifdef GL_SGIS_color_range
7039 #endif /* GL_SGIS_color_range */
7041 #ifdef GL_SGIS_detail_texture
7043 static GLboolean _glewInit_GL_SGIS_detail_texture (GLEW_CONTEXT_ARG_DEF_INIT)
7045 GLboolean r = GL_FALSE;
7047 r = ((glDetailTexFuncSGIS = (PFNGLDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glDetailTexFuncSGIS")) == NULL) || r;
7048 r = ((glGetDetailTexFuncSGIS = (PFNGLGETDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetDetailTexFuncSGIS")) == NULL) || r;
7050 return r;
7053 #endif /* GL_SGIS_detail_texture */
7055 #ifdef GL_SGIS_fog_function
7057 static GLboolean _glewInit_GL_SGIS_fog_function (GLEW_CONTEXT_ARG_DEF_INIT)
7059 GLboolean r = GL_FALSE;
7061 r = ((glFogFuncSGIS = (PFNGLFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glFogFuncSGIS")) == NULL) || r;
7062 r = ((glGetFogFuncSGIS = (PFNGLGETFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetFogFuncSGIS")) == NULL) || r;
7064 return r;
7067 #endif /* GL_SGIS_fog_function */
7069 #ifdef GL_SGIS_generate_mipmap
7071 #endif /* GL_SGIS_generate_mipmap */
7073 #ifdef GL_SGIS_multisample
7075 static GLboolean _glewInit_GL_SGIS_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
7077 GLboolean r = GL_FALSE;
7079 r = ((glSampleMaskSGIS = (PFNGLSAMPLEMASKSGISPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskSGIS")) == NULL) || r;
7080 r = ((glSamplePatternSGIS = (PFNGLSAMPLEPATTERNSGISPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternSGIS")) == NULL) || r;
7082 return r;
7085 #endif /* GL_SGIS_multisample */
7087 #ifdef GL_SGIS_pixel_texture
7089 #endif /* GL_SGIS_pixel_texture */
7091 #ifdef GL_SGIS_point_line_texgen
7093 #endif /* GL_SGIS_point_line_texgen */
7095 #ifdef GL_SGIS_sharpen_texture
7097 static GLboolean _glewInit_GL_SGIS_sharpen_texture (GLEW_CONTEXT_ARG_DEF_INIT)
7099 GLboolean r = GL_FALSE;
7101 r = ((glGetSharpenTexFuncSGIS = (PFNGLGETSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetSharpenTexFuncSGIS")) == NULL) || r;
7102 r = ((glSharpenTexFuncSGIS = (PFNGLSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glSharpenTexFuncSGIS")) == NULL) || r;
7104 return r;
7107 #endif /* GL_SGIS_sharpen_texture */
7109 #ifdef GL_SGIS_texture4D
7111 static GLboolean _glewInit_GL_SGIS_texture4D (GLEW_CONTEXT_ARG_DEF_INIT)
7113 GLboolean r = GL_FALSE;
7115 r = ((glTexImage4DSGIS = (PFNGLTEXIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexImage4DSGIS")) == NULL) || r;
7116 r = ((glTexSubImage4DSGIS = (PFNGLTEXSUBIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage4DSGIS")) == NULL) || r;
7118 return r;
7121 #endif /* GL_SGIS_texture4D */
7123 #ifdef GL_SGIS_texture_border_clamp
7125 #endif /* GL_SGIS_texture_border_clamp */
7127 #ifdef GL_SGIS_texture_edge_clamp
7129 #endif /* GL_SGIS_texture_edge_clamp */
7131 #ifdef GL_SGIS_texture_filter4
7133 static GLboolean _glewInit_GL_SGIS_texture_filter4 (GLEW_CONTEXT_ARG_DEF_INIT)
7135 GLboolean r = GL_FALSE;
7137 r = ((glGetTexFilterFuncSGIS = (PFNGLGETTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetTexFilterFuncSGIS")) == NULL) || r;
7138 r = ((glTexFilterFuncSGIS = (PFNGLTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glTexFilterFuncSGIS")) == NULL) || r;
7140 return r;
7143 #endif /* GL_SGIS_texture_filter4 */
7145 #ifdef GL_SGIS_texture_lod
7147 #endif /* GL_SGIS_texture_lod */
7149 #ifdef GL_SGIS_texture_select
7151 #endif /* GL_SGIS_texture_select */
7153 #ifdef GL_SGIX_async
7155 static GLboolean _glewInit_GL_SGIX_async (GLEW_CONTEXT_ARG_DEF_INIT)
7157 GLboolean r = GL_FALSE;
7159 r = ((glAsyncMarkerSGIX = (PFNGLASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glAsyncMarkerSGIX")) == NULL) || r;
7160 r = ((glDeleteAsyncMarkersSGIX = (PFNGLDELETEASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteAsyncMarkersSGIX")) == NULL) || r;
7161 r = ((glFinishAsyncSGIX = (PFNGLFINISHASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glFinishAsyncSGIX")) == NULL) || r;
7162 r = ((glGenAsyncMarkersSGIX = (PFNGLGENASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenAsyncMarkersSGIX")) == NULL) || r;
7163 r = ((glIsAsyncMarkerSGIX = (PFNGLISASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsAsyncMarkerSGIX")) == NULL) || r;
7164 r = ((glPollAsyncSGIX = (PFNGLPOLLASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glPollAsyncSGIX")) == NULL) || r;
7166 return r;
7169 #endif /* GL_SGIX_async */
7171 #ifdef GL_SGIX_async_histogram
7173 #endif /* GL_SGIX_async_histogram */
7175 #ifdef GL_SGIX_async_pixel
7177 #endif /* GL_SGIX_async_pixel */
7179 #ifdef GL_SGIX_blend_alpha_minmax
7181 #endif /* GL_SGIX_blend_alpha_minmax */
7183 #ifdef GL_SGIX_clipmap
7185 #endif /* GL_SGIX_clipmap */
7187 #ifdef GL_SGIX_convolution_accuracy
7189 #endif /* GL_SGIX_convolution_accuracy */
7191 #ifdef GL_SGIX_depth_texture
7193 #endif /* GL_SGIX_depth_texture */
7195 #ifdef GL_SGIX_flush_raster
7197 static GLboolean _glewInit_GL_SGIX_flush_raster (GLEW_CONTEXT_ARG_DEF_INIT)
7199 GLboolean r = GL_FALSE;
7201 r = ((glFlushRasterSGIX = (PFNGLFLUSHRASTERSGIXPROC)glewGetProcAddress((const GLubyte*)"glFlushRasterSGIX")) == NULL) || r;
7203 return r;
7206 #endif /* GL_SGIX_flush_raster */
7208 #ifdef GL_SGIX_fog_offset
7210 #endif /* GL_SGIX_fog_offset */
7212 #ifdef GL_SGIX_fog_texture
7214 static GLboolean _glewInit_GL_SGIX_fog_texture (GLEW_CONTEXT_ARG_DEF_INIT)
7216 GLboolean r = GL_FALSE;
7218 r = ((glTextureFogSGIX = (PFNGLTEXTUREFOGSGIXPROC)glewGetProcAddress((const GLubyte*)"glTextureFogSGIX")) == NULL) || r;
7220 return r;
7223 #endif /* GL_SGIX_fog_texture */
7225 #ifdef GL_SGIX_fragment_specular_lighting
7227 static GLboolean _glewInit_GL_SGIX_fragment_specular_lighting (GLEW_CONTEXT_ARG_DEF_INIT)
7229 GLboolean r = GL_FALSE;
7231 r = ((glFragmentColorMaterialSGIX = (PFNGLFRAGMENTCOLORMATERIALSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialSGIX")) == NULL) || r;
7232 r = ((glFragmentLightModelfSGIX = (PFNGLFRAGMENTLIGHTMODELFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfSGIX")) == NULL) || r;
7233 r = ((glFragmentLightModelfvSGIX = (PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvSGIX")) == NULL) || r;
7234 r = ((glFragmentLightModeliSGIX = (PFNGLFRAGMENTLIGHTMODELISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliSGIX")) == NULL) || r;
7235 r = ((glFragmentLightModelivSGIX = (PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivSGIX")) == NULL) || r;
7236 r = ((glFragmentLightfSGIX = (PFNGLFRAGMENTLIGHTFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfSGIX")) == NULL) || r;
7237 r = ((glFragmentLightfvSGIX = (PFNGLFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvSGIX")) == NULL) || r;
7238 r = ((glFragmentLightiSGIX = (PFNGLFRAGMENTLIGHTISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiSGIX")) == NULL) || r;
7239 r = ((glFragmentLightivSGIX = (PFNGLFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivSGIX")) == NULL) || r;
7240 r = ((glFragmentMaterialfSGIX = (PFNGLFRAGMENTMATERIALFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfSGIX")) == NULL) || r;
7241 r = ((glFragmentMaterialfvSGIX = (PFNGLFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvSGIX")) == NULL) || r;
7242 r = ((glFragmentMaterialiSGIX = (PFNGLFRAGMENTMATERIALISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiSGIX")) == NULL) || r;
7243 r = ((glFragmentMaterialivSGIX = (PFNGLFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivSGIX")) == NULL) || r;
7244 r = ((glGetFragmentLightfvSGIX = (PFNGLGETFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvSGIX")) == NULL) || r;
7245 r = ((glGetFragmentLightivSGIX = (PFNGLGETFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivSGIX")) == NULL) || r;
7246 r = ((glGetFragmentMaterialfvSGIX = (PFNGLGETFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvSGIX")) == NULL) || r;
7247 r = ((glGetFragmentMaterialivSGIX = (PFNGLGETFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivSGIX")) == NULL) || r;
7249 return r;
7252 #endif /* GL_SGIX_fragment_specular_lighting */
7254 #ifdef GL_SGIX_framezoom
7256 static GLboolean _glewInit_GL_SGIX_framezoom (GLEW_CONTEXT_ARG_DEF_INIT)
7258 GLboolean r = GL_FALSE;
7260 r = ((glFrameZoomSGIX = (PFNGLFRAMEZOOMSGIXPROC)glewGetProcAddress((const GLubyte*)"glFrameZoomSGIX")) == NULL) || r;
7262 return r;
7265 #endif /* GL_SGIX_framezoom */
7267 #ifdef GL_SGIX_interlace
7269 #endif /* GL_SGIX_interlace */
7271 #ifdef GL_SGIX_ir_instrument1
7273 #endif /* GL_SGIX_ir_instrument1 */
7275 #ifdef GL_SGIX_list_priority
7277 #endif /* GL_SGIX_list_priority */
7279 #ifdef GL_SGIX_pixel_texture
7281 static GLboolean _glewInit_GL_SGIX_pixel_texture (GLEW_CONTEXT_ARG_DEF_INIT)
7283 GLboolean r = GL_FALSE;
7285 r = ((glPixelTexGenSGIX = (PFNGLPIXELTEXGENSGIXPROC)glewGetProcAddress((const GLubyte*)"glPixelTexGenSGIX")) == NULL) || r;
7287 return r;
7290 #endif /* GL_SGIX_pixel_texture */
7292 #ifdef GL_SGIX_pixel_texture_bits
7294 #endif /* GL_SGIX_pixel_texture_bits */
7296 #ifdef GL_SGIX_reference_plane
7298 static GLboolean _glewInit_GL_SGIX_reference_plane (GLEW_CONTEXT_ARG_DEF_INIT)
7300 GLboolean r = GL_FALSE;
7302 r = ((glReferencePlaneSGIX = (PFNGLREFERENCEPLANESGIXPROC)glewGetProcAddress((const GLubyte*)"glReferencePlaneSGIX")) == NULL) || r;
7304 return r;
7307 #endif /* GL_SGIX_reference_plane */
7309 #ifdef GL_SGIX_resample
7311 #endif /* GL_SGIX_resample */
7313 #ifdef GL_SGIX_shadow
7315 #endif /* GL_SGIX_shadow */
7317 #ifdef GL_SGIX_shadow_ambient
7319 #endif /* GL_SGIX_shadow_ambient */
7321 #ifdef GL_SGIX_sprite
7323 static GLboolean _glewInit_GL_SGIX_sprite (GLEW_CONTEXT_ARG_DEF_INIT)
7325 GLboolean r = GL_FALSE;
7327 r = ((glSpriteParameterfSGIX = (PFNGLSPRITEPARAMETERFSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfSGIX")) == NULL) || r;
7328 r = ((glSpriteParameterfvSGIX = (PFNGLSPRITEPARAMETERFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfvSGIX")) == NULL) || r;
7329 r = ((glSpriteParameteriSGIX = (PFNGLSPRITEPARAMETERISGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameteriSGIX")) == NULL) || r;
7330 r = ((glSpriteParameterivSGIX = (PFNGLSPRITEPARAMETERIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterivSGIX")) == NULL) || r;
7332 return r;
7335 #endif /* GL_SGIX_sprite */
7337 #ifdef GL_SGIX_tag_sample_buffer
7339 static GLboolean _glewInit_GL_SGIX_tag_sample_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
7341 GLboolean r = GL_FALSE;
7343 r = ((glTagSampleBufferSGIX = (PFNGLTAGSAMPLEBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glTagSampleBufferSGIX")) == NULL) || r;
7345 return r;
7348 #endif /* GL_SGIX_tag_sample_buffer */
7350 #ifdef GL_SGIX_texture_add_env
7352 #endif /* GL_SGIX_texture_add_env */
7354 #ifdef GL_SGIX_texture_coordinate_clamp
7356 #endif /* GL_SGIX_texture_coordinate_clamp */
7358 #ifdef GL_SGIX_texture_lod_bias
7360 #endif /* GL_SGIX_texture_lod_bias */
7362 #ifdef GL_SGIX_texture_multi_buffer
7364 #endif /* GL_SGIX_texture_multi_buffer */
7366 #ifdef GL_SGIX_texture_range
7368 #endif /* GL_SGIX_texture_range */
7370 #ifdef GL_SGIX_texture_scale_bias
7372 #endif /* GL_SGIX_texture_scale_bias */
7374 #ifdef GL_SGIX_vertex_preclip
7376 #endif /* GL_SGIX_vertex_preclip */
7378 #ifdef GL_SGIX_vertex_preclip_hint
7380 #endif /* GL_SGIX_vertex_preclip_hint */
7382 #ifdef GL_SGIX_ycrcb
7384 #endif /* GL_SGIX_ycrcb */
7386 #ifdef GL_SGI_color_matrix
7388 #endif /* GL_SGI_color_matrix */
7390 #ifdef GL_SGI_color_table
7392 static GLboolean _glewInit_GL_SGI_color_table (GLEW_CONTEXT_ARG_DEF_INIT)
7394 GLboolean r = GL_FALSE;
7396 r = ((glColorTableParameterfvSGI = (PFNGLCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfvSGI")) == NULL) || r;
7397 r = ((glColorTableParameterivSGI = (PFNGLCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterivSGI")) == NULL) || r;
7398 r = ((glColorTableSGI = (PFNGLCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableSGI")) == NULL) || r;
7399 r = ((glCopyColorTableSGI = (PFNGLCOPYCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTableSGI")) == NULL) || r;
7400 r = ((glGetColorTableParameterfvSGI = (PFNGLGETCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvSGI")) == NULL) || r;
7401 r = ((glGetColorTableParameterivSGI = (PFNGLGETCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivSGI")) == NULL) || r;
7402 r = ((glGetColorTableSGI = (PFNGLGETCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableSGI")) == NULL) || r;
7404 return r;
7407 #endif /* GL_SGI_color_table */
7409 #ifdef GL_SGI_texture_color_table
7411 #endif /* GL_SGI_texture_color_table */
7413 #ifdef GL_SUNX_constant_data
7415 static GLboolean _glewInit_GL_SUNX_constant_data (GLEW_CONTEXT_ARG_DEF_INIT)
7417 GLboolean r = GL_FALSE;
7419 r = ((glFinishTextureSUNX = (PFNGLFINISHTEXTURESUNXPROC)glewGetProcAddress((const GLubyte*)"glFinishTextureSUNX")) == NULL) || r;
7421 return r;
7424 #endif /* GL_SUNX_constant_data */
7426 #ifdef GL_SUN_convolution_border_modes
7428 #endif /* GL_SUN_convolution_border_modes */
7430 #ifdef GL_SUN_global_alpha
7432 static GLboolean _glewInit_GL_SUN_global_alpha (GLEW_CONTEXT_ARG_DEF_INIT)
7434 GLboolean r = GL_FALSE;
7436 r = ((glGlobalAlphaFactorbSUN = (PFNGLGLOBALALPHAFACTORBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorbSUN")) == NULL) || r;
7437 r = ((glGlobalAlphaFactordSUN = (PFNGLGLOBALALPHAFACTORDSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactordSUN")) == NULL) || r;
7438 r = ((glGlobalAlphaFactorfSUN = (PFNGLGLOBALALPHAFACTORFSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorfSUN")) == NULL) || r;
7439 r = ((glGlobalAlphaFactoriSUN = (PFNGLGLOBALALPHAFACTORISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoriSUN")) == NULL) || r;
7440 r = ((glGlobalAlphaFactorsSUN = (PFNGLGLOBALALPHAFACTORSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorsSUN")) == NULL) || r;
7441 r = ((glGlobalAlphaFactorubSUN = (PFNGLGLOBALALPHAFACTORUBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorubSUN")) == NULL) || r;
7442 r = ((glGlobalAlphaFactoruiSUN = (PFNGLGLOBALALPHAFACTORUISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoruiSUN")) == NULL) || r;
7443 r = ((glGlobalAlphaFactorusSUN = (PFNGLGLOBALALPHAFACTORUSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorusSUN")) == NULL) || r;
7445 return r;
7448 #endif /* GL_SUN_global_alpha */
7450 #ifdef GL_SUN_mesh_array
7452 #endif /* GL_SUN_mesh_array */
7454 #ifdef GL_SUN_read_video_pixels
7456 static GLboolean _glewInit_GL_SUN_read_video_pixels (GLEW_CONTEXT_ARG_DEF_INIT)
7458 GLboolean r = GL_FALSE;
7460 r = ((glReadVideoPixelsSUN = (PFNGLREADVIDEOPIXELSSUNPROC)glewGetProcAddress((const GLubyte*)"glReadVideoPixelsSUN")) == NULL) || r;
7462 return r;
7465 #endif /* GL_SUN_read_video_pixels */
7467 #ifdef GL_SUN_slice_accum
7469 #endif /* GL_SUN_slice_accum */
7471 #ifdef GL_SUN_triangle_list
7473 static GLboolean _glewInit_GL_SUN_triangle_list (GLEW_CONTEXT_ARG_DEF_INIT)
7475 GLboolean r = GL_FALSE;
7477 r = ((glReplacementCodePointerSUN = (PFNGLREPLACEMENTCODEPOINTERSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodePointerSUN")) == NULL) || r;
7478 r = ((glReplacementCodeubSUN = (PFNGLREPLACEMENTCODEUBSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubSUN")) == NULL) || r;
7479 r = ((glReplacementCodeubvSUN = (PFNGLREPLACEMENTCODEUBVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubvSUN")) == NULL) || r;
7480 r = ((glReplacementCodeuiSUN = (PFNGLREPLACEMENTCODEUISUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiSUN")) == NULL) || r;
7481 r = ((glReplacementCodeuivSUN = (PFNGLREPLACEMENTCODEUIVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuivSUN")) == NULL) || r;
7482 r = ((glReplacementCodeusSUN = (PFNGLREPLACEMENTCODEUSSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusSUN")) == NULL) || r;
7483 r = ((glReplacementCodeusvSUN = (PFNGLREPLACEMENTCODEUSVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusvSUN")) == NULL) || r;
7485 return r;
7488 #endif /* GL_SUN_triangle_list */
7490 #ifdef GL_SUN_vertex
7492 static GLboolean _glewInit_GL_SUN_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
7494 GLboolean r = GL_FALSE;
7496 r = ((glColor3fVertex3fSUN = (PFNGLCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fSUN")) == NULL) || r;
7497 r = ((glColor3fVertex3fvSUN = (PFNGLCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fvSUN")) == NULL) || r;
7498 r = ((glColor4fNormal3fVertex3fSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fSUN")) == NULL) || r;
7499 r = ((glColor4fNormal3fVertex3fvSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fvSUN")) == NULL) || r;
7500 r = ((glColor4ubVertex2fSUN = (PFNGLCOLOR4UBVERTEX2FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fSUN")) == NULL) || r;
7501 r = ((glColor4ubVertex2fvSUN = (PFNGLCOLOR4UBVERTEX2FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fvSUN")) == NULL) || r;
7502 r = ((glColor4ubVertex3fSUN = (PFNGLCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fSUN")) == NULL) || r;
7503 r = ((glColor4ubVertex3fvSUN = (PFNGLCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fvSUN")) == NULL) || r;
7504 r = ((glNormal3fVertex3fSUN = (PFNGLNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fSUN")) == NULL) || r;
7505 r = ((glNormal3fVertex3fvSUN = (PFNGLNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fvSUN")) == NULL) || r;
7506 r = ((glReplacementCodeuiColor3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fSUN")) == NULL) || r;
7507 r = ((glReplacementCodeuiColor3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fvSUN")) == NULL) || r;
7508 r = ((glReplacementCodeuiColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fSUN")) == NULL) || r;
7509 r = ((glReplacementCodeuiColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fvSUN")) == NULL) || r;
7510 r = ((glReplacementCodeuiColor4ubVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fSUN")) == NULL) || r;
7511 r = ((glReplacementCodeuiColor4ubVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fvSUN")) == NULL) || r;
7512 r = ((glReplacementCodeuiNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fSUN")) == NULL) || r;
7513 r = ((glReplacementCodeuiNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fvSUN")) == NULL) || r;
7514 r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
7515 r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
7516 r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
7517 r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
7518 r = ((glReplacementCodeuiTexCoord2fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fSUN")) == NULL) || r;
7519 r = ((glReplacementCodeuiTexCoord2fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fvSUN")) == NULL) || r;
7520 r = ((glReplacementCodeuiVertex3fSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fSUN")) == NULL) || r;
7521 r = ((glReplacementCodeuiVertex3fvSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fvSUN")) == NULL) || r;
7522 r = ((glTexCoord2fColor3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fSUN")) == NULL) || r;
7523 r = ((glTexCoord2fColor3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fvSUN")) == NULL) || r;
7524 r = ((glTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
7525 r = ((glTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
7526 r = ((glTexCoord2fColor4ubVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fSUN")) == NULL) || r;
7527 r = ((glTexCoord2fColor4ubVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fvSUN")) == NULL) || r;
7528 r = ((glTexCoord2fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
7529 r = ((glTexCoord2fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
7530 r = ((glTexCoord2fVertex3fSUN = (PFNGLTEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fSUN")) == NULL) || r;
7531 r = ((glTexCoord2fVertex3fvSUN = (PFNGLTEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fvSUN")) == NULL) || r;
7532 r = ((glTexCoord4fColor4fNormal3fVertex4fSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fSUN")) == NULL) || r;
7533 r = ((glTexCoord4fColor4fNormal3fVertex4fvSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fvSUN")) == NULL) || r;
7534 r = ((glTexCoord4fVertex4fSUN = (PFNGLTEXCOORD4FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fSUN")) == NULL) || r;
7535 r = ((glTexCoord4fVertex4fvSUN = (PFNGLTEXCOORD4FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fvSUN")) == NULL) || r;
7537 return r;
7540 #endif /* GL_SUN_vertex */
7542 #ifdef GL_WIN_phong_shading
7544 #endif /* GL_WIN_phong_shading */
7546 #ifdef GL_WIN_specular_fog
7548 #endif /* GL_WIN_specular_fog */
7550 #ifdef GL_WIN_swap_hint
7552 static GLboolean _glewInit_GL_WIN_swap_hint (GLEW_CONTEXT_ARG_DEF_INIT)
7554 GLboolean r = GL_FALSE;
7556 r = ((glAddSwapHintRectWIN = (PFNGLADDSWAPHINTRECTWINPROC)glewGetProcAddress((const GLubyte*)"glAddSwapHintRectWIN")) == NULL) || r;
7558 return r;
7561 #endif /* GL_WIN_swap_hint */
7563 /* ------------------------------------------------------------------------- */
7566 * Search for name in the extensions string. Use of strstr()
7567 * is not sufficient because extension names can be prefixes of
7568 * other extension names. Could use strtok() but the constant
7569 * string returned by glGetString might be in read-only memory.
7571 GLboolean glewGetExtension (const char* name)
7573 GLubyte* p;
7574 GLubyte* end;
7575 GLuint len = _glewStrLen((const GLubyte*)name);
7576 p = (GLubyte*)glGetString(GL_EXTENSIONS);
7577 if (0 == p) return GL_FALSE;
7578 end = p + _glewStrLen(p);
7579 while (p < end)
7581 GLuint n = _glewStrCLen(p, ' ');
7582 if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
7583 p += n+1;
7585 return GL_FALSE;
7588 /* ------------------------------------------------------------------------- */
7590 #ifndef GLEW_MX
7591 static
7592 #endif
7593 GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
7595 const GLubyte* s;
7596 GLuint dot;
7597 GLint major, minor;
7598 /* query opengl version */
7599 s = glGetString(GL_VERSION);
7600 dot = _glewStrCLen(s, '.');
7601 if (dot == 0)
7602 return GLEW_ERROR_NO_GL_VERSION;
7604 major = s[dot-1]-'0';
7605 minor = s[dot+1]-'0';
7607 if (minor < 0 || minor > 9)
7608 minor = 0;
7609 if (major<0 || major>9)
7610 return GLEW_ERROR_NO_GL_VERSION;
7613 if (major == 1 && minor == 0)
7615 return GLEW_ERROR_GL_VERSION_10_ONLY;
7617 else
7619 CONST_CAST(GLEW_VERSION_4_0) = ( major > 4 ) || ( major == 4 ) ? GL_TRUE : GL_FALSE;
7620 CONST_CAST(GLEW_VERSION_3_3) = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
7621 CONST_CAST(GLEW_VERSION_3_2) = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
7622 CONST_CAST(GLEW_VERSION_3_1) = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
7623 CONST_CAST(GLEW_VERSION_3_0) = GLEW_VERSION_3_1 == GL_TRUE || ( major == 3 ) ? GL_TRUE : GL_FALSE;
7624 CONST_CAST(GLEW_VERSION_2_1) = GLEW_VERSION_3_0 == GL_TRUE || ( major == 2 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
7625 CONST_CAST(GLEW_VERSION_2_0) = GLEW_VERSION_2_1 == GL_TRUE || ( major == 2 ) ? GL_TRUE : GL_FALSE;
7626 CONST_CAST(GLEW_VERSION_1_5) = GLEW_VERSION_2_0 == GL_TRUE || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
7627 CONST_CAST(GLEW_VERSION_1_4) = GLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
7628 CONST_CAST(GLEW_VERSION_1_3) = GLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
7629 CONST_CAST(GLEW_VERSION_1_2) = GLEW_VERSION_1_3 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
7630 CONST_CAST(GLEW_VERSION_1_1) = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
7632 /* initialize extensions */
7633 #ifdef GL_VERSION_1_2
7634 if (glewExperimental || GLEW_VERSION_1_2) CONST_CAST(GLEW_VERSION_1_2) = !_glewInit_GL_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT);
7635 #endif /* GL_VERSION_1_2 */
7636 #ifdef GL_VERSION_1_3
7637 if (glewExperimental || GLEW_VERSION_1_3) CONST_CAST(GLEW_VERSION_1_3) = !_glewInit_GL_VERSION_1_3(GLEW_CONTEXT_ARG_VAR_INIT);
7638 #endif /* GL_VERSION_1_3 */
7639 #ifdef GL_VERSION_1_4
7640 if (glewExperimental || GLEW_VERSION_1_4) CONST_CAST(GLEW_VERSION_1_4) = !_glewInit_GL_VERSION_1_4(GLEW_CONTEXT_ARG_VAR_INIT);
7641 #endif /* GL_VERSION_1_4 */
7642 #ifdef GL_VERSION_1_5
7643 if (glewExperimental || GLEW_VERSION_1_5) CONST_CAST(GLEW_VERSION_1_5) = !_glewInit_GL_VERSION_1_5(GLEW_CONTEXT_ARG_VAR_INIT);
7644 #endif /* GL_VERSION_1_5 */
7645 #ifdef GL_VERSION_2_0
7646 if (glewExperimental || GLEW_VERSION_2_0) CONST_CAST(GLEW_VERSION_2_0) = !_glewInit_GL_VERSION_2_0(GLEW_CONTEXT_ARG_VAR_INIT);
7647 #endif /* GL_VERSION_2_0 */
7648 #ifdef GL_VERSION_2_1
7649 if (glewExperimental || GLEW_VERSION_2_1) CONST_CAST(GLEW_VERSION_2_1) = !_glewInit_GL_VERSION_2_1(GLEW_CONTEXT_ARG_VAR_INIT);
7650 #endif /* GL_VERSION_2_1 */
7651 #ifdef GL_VERSION_3_0
7652 if (glewExperimental || GLEW_VERSION_3_0) CONST_CAST(GLEW_VERSION_3_0) = !_glewInit_GL_VERSION_3_0(GLEW_CONTEXT_ARG_VAR_INIT);
7653 #endif /* GL_VERSION_3_0 */
7654 #ifdef GL_VERSION_3_1
7655 if (glewExperimental || GLEW_VERSION_3_1) CONST_CAST(GLEW_VERSION_3_1) = !_glewInit_GL_VERSION_3_1(GLEW_CONTEXT_ARG_VAR_INIT);
7656 #endif /* GL_VERSION_3_1 */
7657 #ifdef GL_VERSION_3_2
7658 if (glewExperimental || GLEW_VERSION_3_2) CONST_CAST(GLEW_VERSION_3_2) = !_glewInit_GL_VERSION_3_2(GLEW_CONTEXT_ARG_VAR_INIT);
7659 #endif /* GL_VERSION_3_2 */
7660 #ifdef GL_VERSION_3_3
7661 if (glewExperimental || GLEW_VERSION_3_3) CONST_CAST(GLEW_VERSION_3_3) = !_glewInit_GL_VERSION_3_3(GLEW_CONTEXT_ARG_VAR_INIT);
7662 #endif /* GL_VERSION_3_3 */
7663 #ifdef GL_VERSION_4_0
7664 if (glewExperimental || GLEW_VERSION_4_0) CONST_CAST(GLEW_VERSION_4_0) = !_glewInit_GL_VERSION_4_0(GLEW_CONTEXT_ARG_VAR_INIT);
7665 #endif /* GL_VERSION_4_0 */
7666 #ifdef GL_3DFX_multisample
7667 CONST_CAST(GLEW_3DFX_multisample) = glewGetExtension("GL_3DFX_multisample");
7668 #endif /* GL_3DFX_multisample */
7669 #ifdef GL_3DFX_tbuffer
7670 CONST_CAST(GLEW_3DFX_tbuffer) = glewGetExtension("GL_3DFX_tbuffer");
7671 if (glewExperimental || GLEW_3DFX_tbuffer) CONST_CAST(GLEW_3DFX_tbuffer) = !_glewInit_GL_3DFX_tbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
7672 #endif /* GL_3DFX_tbuffer */
7673 #ifdef GL_3DFX_texture_compression_FXT1
7674 CONST_CAST(GLEW_3DFX_texture_compression_FXT1) = glewGetExtension("GL_3DFX_texture_compression_FXT1");
7675 #endif /* GL_3DFX_texture_compression_FXT1 */
7676 #ifdef GL_AMD_conservative_depth
7677 CONST_CAST(GLEW_AMD_conservative_depth) = glewGetExtension("GL_AMD_conservative_depth");
7678 #endif /* GL_AMD_conservative_depth */
7679 #ifdef GL_AMD_debug_output
7680 CONST_CAST(GLEW_AMD_debug_output) = glewGetExtension("GL_AMD_debug_output");
7681 if (glewExperimental || GLEW_AMD_debug_output) CONST_CAST(GLEW_AMD_debug_output) = !_glewInit_GL_AMD_debug_output(GLEW_CONTEXT_ARG_VAR_INIT);
7682 #endif /* GL_AMD_debug_output */
7683 #ifdef GL_AMD_draw_buffers_blend
7684 CONST_CAST(GLEW_AMD_draw_buffers_blend) = glewGetExtension("GL_AMD_draw_buffers_blend");
7685 if (glewExperimental || GLEW_AMD_draw_buffers_blend) CONST_CAST(GLEW_AMD_draw_buffers_blend) = !_glewInit_GL_AMD_draw_buffers_blend(GLEW_CONTEXT_ARG_VAR_INIT);
7686 #endif /* GL_AMD_draw_buffers_blend */
7687 #ifdef GL_AMD_name_gen_delete
7688 CONST_CAST(GLEW_AMD_name_gen_delete) = glewGetExtension("GL_AMD_name_gen_delete");
7689 if (glewExperimental || GLEW_AMD_name_gen_delete) CONST_CAST(GLEW_AMD_name_gen_delete) = !_glewInit_GL_AMD_name_gen_delete(GLEW_CONTEXT_ARG_VAR_INIT);
7690 #endif /* GL_AMD_name_gen_delete */
7691 #ifdef GL_AMD_performance_monitor
7692 CONST_CAST(GLEW_AMD_performance_monitor) = glewGetExtension("GL_AMD_performance_monitor");
7693 if (glewExperimental || GLEW_AMD_performance_monitor) CONST_CAST(GLEW_AMD_performance_monitor) = !_glewInit_GL_AMD_performance_monitor(GLEW_CONTEXT_ARG_VAR_INIT);
7694 #endif /* GL_AMD_performance_monitor */
7695 #ifdef GL_AMD_seamless_cubemap_per_texture
7696 CONST_CAST(GLEW_AMD_seamless_cubemap_per_texture) = glewGetExtension("GL_AMD_seamless_cubemap_per_texture");
7697 #endif /* GL_AMD_seamless_cubemap_per_texture */
7698 #ifdef GL_AMD_shader_stencil_export
7699 CONST_CAST(GLEW_AMD_shader_stencil_export) = glewGetExtension("GL_AMD_shader_stencil_export");
7700 #endif /* GL_AMD_shader_stencil_export */
7701 #ifdef GL_AMD_texture_texture4
7702 CONST_CAST(GLEW_AMD_texture_texture4) = glewGetExtension("GL_AMD_texture_texture4");
7703 #endif /* GL_AMD_texture_texture4 */
7704 #ifdef GL_AMD_transform_feedback3_lines_triangles
7705 CONST_CAST(GLEW_AMD_transform_feedback3_lines_triangles) = glewGetExtension("GL_AMD_transform_feedback3_lines_triangles");
7706 #endif /* GL_AMD_transform_feedback3_lines_triangles */
7707 #ifdef GL_AMD_vertex_shader_tessellator
7708 CONST_CAST(GLEW_AMD_vertex_shader_tessellator) = glewGetExtension("GL_AMD_vertex_shader_tessellator");
7709 if (glewExperimental || GLEW_AMD_vertex_shader_tessellator) CONST_CAST(GLEW_AMD_vertex_shader_tessellator) = !_glewInit_GL_AMD_vertex_shader_tessellator(GLEW_CONTEXT_ARG_VAR_INIT);
7710 #endif /* GL_AMD_vertex_shader_tessellator */
7711 #ifdef GL_APPLE_aux_depth_stencil
7712 CONST_CAST(GLEW_APPLE_aux_depth_stencil) = glewGetExtension("GL_APPLE_aux_depth_stencil");
7713 #endif /* GL_APPLE_aux_depth_stencil */
7714 #ifdef GL_APPLE_client_storage
7715 CONST_CAST(GLEW_APPLE_client_storage) = glewGetExtension("GL_APPLE_client_storage");
7716 #endif /* GL_APPLE_client_storage */
7717 #ifdef GL_APPLE_element_array
7718 CONST_CAST(GLEW_APPLE_element_array) = glewGetExtension("GL_APPLE_element_array");
7719 if (glewExperimental || GLEW_APPLE_element_array) CONST_CAST(GLEW_APPLE_element_array) = !_glewInit_GL_APPLE_element_array(GLEW_CONTEXT_ARG_VAR_INIT);
7720 #endif /* GL_APPLE_element_array */
7721 #ifdef GL_APPLE_fence
7722 CONST_CAST(GLEW_APPLE_fence) = glewGetExtension("GL_APPLE_fence");
7723 if (glewExperimental || GLEW_APPLE_fence) CONST_CAST(GLEW_APPLE_fence) = !_glewInit_GL_APPLE_fence(GLEW_CONTEXT_ARG_VAR_INIT);
7724 #endif /* GL_APPLE_fence */
7725 #ifdef GL_APPLE_float_pixels
7726 CONST_CAST(GLEW_APPLE_float_pixels) = glewGetExtension("GL_APPLE_float_pixels");
7727 #endif /* GL_APPLE_float_pixels */
7728 #ifdef GL_APPLE_flush_buffer_range
7729 CONST_CAST(GLEW_APPLE_flush_buffer_range) = glewGetExtension("GL_APPLE_flush_buffer_range");
7730 if (glewExperimental || GLEW_APPLE_flush_buffer_range) CONST_CAST(GLEW_APPLE_flush_buffer_range) = !_glewInit_GL_APPLE_flush_buffer_range(GLEW_CONTEXT_ARG_VAR_INIT);
7731 #endif /* GL_APPLE_flush_buffer_range */
7732 #ifdef GL_APPLE_object_purgeable
7733 CONST_CAST(GLEW_APPLE_object_purgeable) = glewGetExtension("GL_APPLE_object_purgeable");
7734 if (glewExperimental || GLEW_APPLE_object_purgeable) CONST_CAST(GLEW_APPLE_object_purgeable) = !_glewInit_GL_APPLE_object_purgeable(GLEW_CONTEXT_ARG_VAR_INIT);
7735 #endif /* GL_APPLE_object_purgeable */
7736 #ifdef GL_APPLE_pixel_buffer
7737 CONST_CAST(GLEW_APPLE_pixel_buffer) = glewGetExtension("GL_APPLE_pixel_buffer");
7738 #endif /* GL_APPLE_pixel_buffer */
7739 #ifdef GL_APPLE_rgb_422
7740 CONST_CAST(GLEW_APPLE_rgb_422) = glewGetExtension("GL_APPLE_rgb_422");
7741 #endif /* GL_APPLE_rgb_422 */
7742 #ifdef GL_APPLE_row_bytes
7743 CONST_CAST(GLEW_APPLE_row_bytes) = glewGetExtension("GL_APPLE_row_bytes");
7744 #endif /* GL_APPLE_row_bytes */
7745 #ifdef GL_APPLE_specular_vector
7746 CONST_CAST(GLEW_APPLE_specular_vector) = glewGetExtension("GL_APPLE_specular_vector");
7747 #endif /* GL_APPLE_specular_vector */
7748 #ifdef GL_APPLE_texture_range
7749 CONST_CAST(GLEW_APPLE_texture_range) = glewGetExtension("GL_APPLE_texture_range");
7750 if (glewExperimental || GLEW_APPLE_texture_range) CONST_CAST(GLEW_APPLE_texture_range) = !_glewInit_GL_APPLE_texture_range(GLEW_CONTEXT_ARG_VAR_INIT);
7751 #endif /* GL_APPLE_texture_range */
7752 #ifdef GL_APPLE_transform_hint
7753 CONST_CAST(GLEW_APPLE_transform_hint) = glewGetExtension("GL_APPLE_transform_hint");
7754 #endif /* GL_APPLE_transform_hint */
7755 #ifdef GL_APPLE_vertex_array_object
7756 CONST_CAST(GLEW_APPLE_vertex_array_object) = glewGetExtension("GL_APPLE_vertex_array_object");
7757 if (glewExperimental || GLEW_APPLE_vertex_array_object) CONST_CAST(GLEW_APPLE_vertex_array_object) = !_glewInit_GL_APPLE_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT);
7758 #endif /* GL_APPLE_vertex_array_object */
7759 #ifdef GL_APPLE_vertex_array_range
7760 CONST_CAST(GLEW_APPLE_vertex_array_range) = glewGetExtension("GL_APPLE_vertex_array_range");
7761 if (glewExperimental || GLEW_APPLE_vertex_array_range) CONST_CAST(GLEW_APPLE_vertex_array_range) = !_glewInit_GL_APPLE_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
7762 #endif /* GL_APPLE_vertex_array_range */
7763 #ifdef GL_APPLE_vertex_program_evaluators
7764 CONST_CAST(GLEW_APPLE_vertex_program_evaluators) = glewGetExtension("GL_APPLE_vertex_program_evaluators");
7765 if (glewExperimental || GLEW_APPLE_vertex_program_evaluators) CONST_CAST(GLEW_APPLE_vertex_program_evaluators) = !_glewInit_GL_APPLE_vertex_program_evaluators(GLEW_CONTEXT_ARG_VAR_INIT);
7766 #endif /* GL_APPLE_vertex_program_evaluators */
7767 #ifdef GL_APPLE_ycbcr_422
7768 CONST_CAST(GLEW_APPLE_ycbcr_422) = glewGetExtension("GL_APPLE_ycbcr_422");
7769 #endif /* GL_APPLE_ycbcr_422 */
7770 #ifdef GL_ARB_blend_func_extended
7771 CONST_CAST(GLEW_ARB_blend_func_extended) = glewGetExtension("GL_ARB_blend_func_extended");
7772 if (glewExperimental || GLEW_ARB_blend_func_extended) CONST_CAST(GLEW_ARB_blend_func_extended) = !_glewInit_GL_ARB_blend_func_extended(GLEW_CONTEXT_ARG_VAR_INIT);
7773 #endif /* GL_ARB_blend_func_extended */
7774 #ifdef GL_ARB_color_buffer_float
7775 CONST_CAST(GLEW_ARB_color_buffer_float) = glewGetExtension("GL_ARB_color_buffer_float");
7776 if (glewExperimental || GLEW_ARB_color_buffer_float) CONST_CAST(GLEW_ARB_color_buffer_float) = !_glewInit_GL_ARB_color_buffer_float(GLEW_CONTEXT_ARG_VAR_INIT);
7777 #endif /* GL_ARB_color_buffer_float */
7778 #ifdef GL_ARB_compatibility
7779 CONST_CAST(GLEW_ARB_compatibility) = glewGetExtension("GL_ARB_compatibility");
7780 #endif /* GL_ARB_compatibility */
7781 #ifdef GL_ARB_copy_buffer
7782 CONST_CAST(GLEW_ARB_copy_buffer) = glewGetExtension("GL_ARB_copy_buffer");
7783 if (glewExperimental || GLEW_ARB_copy_buffer) CONST_CAST(GLEW_ARB_copy_buffer) = !_glewInit_GL_ARB_copy_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
7784 #endif /* GL_ARB_copy_buffer */
7785 #ifdef GL_ARB_depth_buffer_float
7786 CONST_CAST(GLEW_ARB_depth_buffer_float) = glewGetExtension("GL_ARB_depth_buffer_float");
7787 #endif /* GL_ARB_depth_buffer_float */
7788 #ifdef GL_ARB_depth_clamp
7789 CONST_CAST(GLEW_ARB_depth_clamp) = glewGetExtension("GL_ARB_depth_clamp");
7790 #endif /* GL_ARB_depth_clamp */
7791 #ifdef GL_ARB_depth_texture
7792 CONST_CAST(GLEW_ARB_depth_texture) = glewGetExtension("GL_ARB_depth_texture");
7793 #endif /* GL_ARB_depth_texture */
7794 #ifdef GL_ARB_draw_buffers
7795 CONST_CAST(GLEW_ARB_draw_buffers) = glewGetExtension("GL_ARB_draw_buffers");
7796 if (glewExperimental || GLEW_ARB_draw_buffers) CONST_CAST(GLEW_ARB_draw_buffers) = !_glewInit_GL_ARB_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
7797 #endif /* GL_ARB_draw_buffers */
7798 #ifdef GL_ARB_draw_buffers_blend
7799 CONST_CAST(GLEW_ARB_draw_buffers_blend) = glewGetExtension("GL_ARB_draw_buffers_blend");
7800 if (glewExperimental || GLEW_ARB_draw_buffers_blend) CONST_CAST(GLEW_ARB_draw_buffers_blend) = !_glewInit_GL_ARB_draw_buffers_blend(GLEW_CONTEXT_ARG_VAR_INIT);
7801 #endif /* GL_ARB_draw_buffers_blend */
7802 #ifdef GL_ARB_draw_elements_base_vertex
7803 CONST_CAST(GLEW_ARB_draw_elements_base_vertex) = glewGetExtension("GL_ARB_draw_elements_base_vertex");
7804 if (glewExperimental || GLEW_ARB_draw_elements_base_vertex) CONST_CAST(GLEW_ARB_draw_elements_base_vertex) = !_glewInit_GL_ARB_draw_elements_base_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
7805 #endif /* GL_ARB_draw_elements_base_vertex */
7806 #ifdef GL_ARB_draw_indirect
7807 CONST_CAST(GLEW_ARB_draw_indirect) = glewGetExtension("GL_ARB_draw_indirect");
7808 if (glewExperimental || GLEW_ARB_draw_indirect) CONST_CAST(GLEW_ARB_draw_indirect) = !_glewInit_GL_ARB_draw_indirect(GLEW_CONTEXT_ARG_VAR_INIT);
7809 #endif /* GL_ARB_draw_indirect */
7810 #ifdef GL_ARB_draw_instanced
7811 CONST_CAST(GLEW_ARB_draw_instanced) = glewGetExtension("GL_ARB_draw_instanced");
7812 if (glewExperimental || GLEW_ARB_draw_instanced) CONST_CAST(GLEW_ARB_draw_instanced) = !_glewInit_GL_ARB_draw_instanced(GLEW_CONTEXT_ARG_VAR_INIT);
7813 #endif /* GL_ARB_draw_instanced */
7814 #ifdef GL_ARB_explicit_attrib_location
7815 CONST_CAST(GLEW_ARB_explicit_attrib_location) = glewGetExtension("GL_ARB_explicit_attrib_location");
7816 #endif /* GL_ARB_explicit_attrib_location */
7817 #ifdef GL_ARB_fragment_coord_conventions
7818 CONST_CAST(GLEW_ARB_fragment_coord_conventions) = glewGetExtension("GL_ARB_fragment_coord_conventions");
7819 #endif /* GL_ARB_fragment_coord_conventions */
7820 #ifdef GL_ARB_fragment_program
7821 CONST_CAST(GLEW_ARB_fragment_program) = glewGetExtension("GL_ARB_fragment_program");
7822 #endif /* GL_ARB_fragment_program */
7823 #ifdef GL_ARB_fragment_program_shadow
7824 CONST_CAST(GLEW_ARB_fragment_program_shadow) = glewGetExtension("GL_ARB_fragment_program_shadow");
7825 #endif /* GL_ARB_fragment_program_shadow */
7826 #ifdef GL_ARB_fragment_shader
7827 CONST_CAST(GLEW_ARB_fragment_shader) = glewGetExtension("GL_ARB_fragment_shader");
7828 #endif /* GL_ARB_fragment_shader */
7829 #ifdef GL_ARB_framebuffer_object
7830 CONST_CAST(GLEW_ARB_framebuffer_object) = glewGetExtension("GL_ARB_framebuffer_object");
7831 if (glewExperimental || GLEW_ARB_framebuffer_object) CONST_CAST(GLEW_ARB_framebuffer_object) = !_glewInit_GL_ARB_framebuffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
7832 #endif /* GL_ARB_framebuffer_object */
7833 #ifdef GL_ARB_framebuffer_sRGB
7834 CONST_CAST(GLEW_ARB_framebuffer_sRGB) = glewGetExtension("GL_ARB_framebuffer_sRGB");
7835 #endif /* GL_ARB_framebuffer_sRGB */
7836 #ifdef GL_ARB_geometry_shader4
7837 CONST_CAST(GLEW_ARB_geometry_shader4) = glewGetExtension("GL_ARB_geometry_shader4");
7838 if (glewExperimental || GLEW_ARB_geometry_shader4) CONST_CAST(GLEW_ARB_geometry_shader4) = !_glewInit_GL_ARB_geometry_shader4(GLEW_CONTEXT_ARG_VAR_INIT);
7839 #endif /* GL_ARB_geometry_shader4 */
7840 #ifdef GL_ARB_gpu_shader5
7841 CONST_CAST(GLEW_ARB_gpu_shader5) = glewGetExtension("GL_ARB_gpu_shader5");
7842 #endif /* GL_ARB_gpu_shader5 */
7843 #ifdef GL_ARB_gpu_shader_fp64
7844 CONST_CAST(GLEW_ARB_gpu_shader_fp64) = glewGetExtension("GL_ARB_gpu_shader_fp64");
7845 if (glewExperimental || GLEW_ARB_gpu_shader_fp64) CONST_CAST(GLEW_ARB_gpu_shader_fp64) = !_glewInit_GL_ARB_gpu_shader_fp64(GLEW_CONTEXT_ARG_VAR_INIT);
7846 #endif /* GL_ARB_gpu_shader_fp64 */
7847 #ifdef GL_ARB_half_float_pixel
7848 CONST_CAST(GLEW_ARB_half_float_pixel) = glewGetExtension("GL_ARB_half_float_pixel");
7849 #endif /* GL_ARB_half_float_pixel */
7850 #ifdef GL_ARB_half_float_vertex
7851 CONST_CAST(GLEW_ARB_half_float_vertex) = glewGetExtension("GL_ARB_half_float_vertex");
7852 #endif /* GL_ARB_half_float_vertex */
7853 #ifdef GL_ARB_imaging
7854 CONST_CAST(GLEW_ARB_imaging) = glewGetExtension("GL_ARB_imaging");
7855 if (glewExperimental || GLEW_ARB_imaging) CONST_CAST(GLEW_ARB_imaging) = !_glewInit_GL_ARB_imaging(GLEW_CONTEXT_ARG_VAR_INIT);
7856 #endif /* GL_ARB_imaging */
7857 #ifdef GL_ARB_instanced_arrays
7858 CONST_CAST(GLEW_ARB_instanced_arrays) = glewGetExtension("GL_ARB_instanced_arrays");
7859 if (glewExperimental || GLEW_ARB_instanced_arrays) CONST_CAST(GLEW_ARB_instanced_arrays) = !_glewInit_GL_ARB_instanced_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
7860 #endif /* GL_ARB_instanced_arrays */
7861 #ifdef GL_ARB_map_buffer_range
7862 CONST_CAST(GLEW_ARB_map_buffer_range) = glewGetExtension("GL_ARB_map_buffer_range");
7863 if (glewExperimental || GLEW_ARB_map_buffer_range) CONST_CAST(GLEW_ARB_map_buffer_range) = !_glewInit_GL_ARB_map_buffer_range(GLEW_CONTEXT_ARG_VAR_INIT);
7864 #endif /* GL_ARB_map_buffer_range */
7865 #ifdef GL_ARB_matrix_palette
7866 CONST_CAST(GLEW_ARB_matrix_palette) = glewGetExtension("GL_ARB_matrix_palette");
7867 if (glewExperimental || GLEW_ARB_matrix_palette) CONST_CAST(GLEW_ARB_matrix_palette) = !_glewInit_GL_ARB_matrix_palette(GLEW_CONTEXT_ARG_VAR_INIT);
7868 #endif /* GL_ARB_matrix_palette */
7869 #ifdef GL_ARB_multisample
7870 CONST_CAST(GLEW_ARB_multisample) = glewGetExtension("GL_ARB_multisample");
7871 if (glewExperimental || GLEW_ARB_multisample) CONST_CAST(GLEW_ARB_multisample) = !_glewInit_GL_ARB_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
7872 #endif /* GL_ARB_multisample */
7873 #ifdef GL_ARB_multitexture
7874 CONST_CAST(GLEW_ARB_multitexture) = glewGetExtension("GL_ARB_multitexture");
7875 if (glewExperimental || GLEW_ARB_multitexture) CONST_CAST(GLEW_ARB_multitexture) = !_glewInit_GL_ARB_multitexture(GLEW_CONTEXT_ARG_VAR_INIT);
7876 #endif /* GL_ARB_multitexture */
7877 #ifdef GL_ARB_occlusion_query
7878 CONST_CAST(GLEW_ARB_occlusion_query) = glewGetExtension("GL_ARB_occlusion_query");
7879 if (glewExperimental || GLEW_ARB_occlusion_query) CONST_CAST(GLEW_ARB_occlusion_query) = !_glewInit_GL_ARB_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT);
7880 #endif /* GL_ARB_occlusion_query */
7881 #ifdef GL_ARB_occlusion_query2
7882 CONST_CAST(GLEW_ARB_occlusion_query2) = glewGetExtension("GL_ARB_occlusion_query2");
7883 #endif /* GL_ARB_occlusion_query2 */
7884 #ifdef GL_ARB_pixel_buffer_object
7885 CONST_CAST(GLEW_ARB_pixel_buffer_object) = glewGetExtension("GL_ARB_pixel_buffer_object");
7886 #endif /* GL_ARB_pixel_buffer_object */
7887 #ifdef GL_ARB_point_parameters
7888 CONST_CAST(GLEW_ARB_point_parameters) = glewGetExtension("GL_ARB_point_parameters");
7889 if (glewExperimental || GLEW_ARB_point_parameters) CONST_CAST(GLEW_ARB_point_parameters) = !_glewInit_GL_ARB_point_parameters(GLEW_CONTEXT_ARG_VAR_INIT);
7890 #endif /* GL_ARB_point_parameters */
7891 #ifdef GL_ARB_point_sprite
7892 CONST_CAST(GLEW_ARB_point_sprite) = glewGetExtension("GL_ARB_point_sprite");
7893 #endif /* GL_ARB_point_sprite */
7894 #ifdef GL_ARB_provoking_vertex
7895 CONST_CAST(GLEW_ARB_provoking_vertex) = glewGetExtension("GL_ARB_provoking_vertex");
7896 if (glewExperimental || GLEW_ARB_provoking_vertex) CONST_CAST(GLEW_ARB_provoking_vertex) = !_glewInit_GL_ARB_provoking_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
7897 #endif /* GL_ARB_provoking_vertex */
7898 #ifdef GL_ARB_sample_shading
7899 CONST_CAST(GLEW_ARB_sample_shading) = glewGetExtension("GL_ARB_sample_shading");
7900 if (glewExperimental || GLEW_ARB_sample_shading) CONST_CAST(GLEW_ARB_sample_shading) = !_glewInit_GL_ARB_sample_shading(GLEW_CONTEXT_ARG_VAR_INIT);
7901 #endif /* GL_ARB_sample_shading */
7902 #ifdef GL_ARB_sampler_objects
7903 CONST_CAST(GLEW_ARB_sampler_objects) = glewGetExtension("GL_ARB_sampler_objects");
7904 if (glewExperimental || GLEW_ARB_sampler_objects) CONST_CAST(GLEW_ARB_sampler_objects) = !_glewInit_GL_ARB_sampler_objects(GLEW_CONTEXT_ARG_VAR_INIT);
7905 #endif /* GL_ARB_sampler_objects */
7906 #ifdef GL_ARB_seamless_cube_map
7907 CONST_CAST(GLEW_ARB_seamless_cube_map) = glewGetExtension("GL_ARB_seamless_cube_map");
7908 #endif /* GL_ARB_seamless_cube_map */
7909 #ifdef GL_ARB_shader_bit_encoding
7910 CONST_CAST(GLEW_ARB_shader_bit_encoding) = glewGetExtension("GL_ARB_shader_bit_encoding");
7911 #endif /* GL_ARB_shader_bit_encoding */
7912 #ifdef GL_ARB_shader_objects
7913 CONST_CAST(GLEW_ARB_shader_objects) = glewGetExtension("GL_ARB_shader_objects");
7914 if (glewExperimental || GLEW_ARB_shader_objects) CONST_CAST(GLEW_ARB_shader_objects) = !_glewInit_GL_ARB_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT);
7915 #endif /* GL_ARB_shader_objects */
7916 #ifdef GL_ARB_shader_subroutine
7917 CONST_CAST(GLEW_ARB_shader_subroutine) = glewGetExtension("GL_ARB_shader_subroutine");
7918 if (glewExperimental || GLEW_ARB_shader_subroutine) CONST_CAST(GLEW_ARB_shader_subroutine) = !_glewInit_GL_ARB_shader_subroutine(GLEW_CONTEXT_ARG_VAR_INIT);
7919 #endif /* GL_ARB_shader_subroutine */
7920 #ifdef GL_ARB_shader_texture_lod
7921 CONST_CAST(GLEW_ARB_shader_texture_lod) = glewGetExtension("GL_ARB_shader_texture_lod");
7922 #endif /* GL_ARB_shader_texture_lod */
7923 #ifdef GL_ARB_shading_language_100
7924 CONST_CAST(GLEW_ARB_shading_language_100) = glewGetExtension("GL_ARB_shading_language_100");
7925 #endif /* GL_ARB_shading_language_100 */
7926 #ifdef GL_ARB_shading_language_include
7927 CONST_CAST(GLEW_ARB_shading_language_include) = glewGetExtension("GL_ARB_shading_language_include");
7928 if (glewExperimental || GLEW_ARB_shading_language_include) CONST_CAST(GLEW_ARB_shading_language_include) = !_glewInit_GL_ARB_shading_language_include(GLEW_CONTEXT_ARG_VAR_INIT);
7929 #endif /* GL_ARB_shading_language_include */
7930 #ifdef GL_ARB_shadow
7931 CONST_CAST(GLEW_ARB_shadow) = glewGetExtension("GL_ARB_shadow");
7932 #endif /* GL_ARB_shadow */
7933 #ifdef GL_ARB_shadow_ambient
7934 CONST_CAST(GLEW_ARB_shadow_ambient) = glewGetExtension("GL_ARB_shadow_ambient");
7935 #endif /* GL_ARB_shadow_ambient */
7936 #ifdef GL_ARB_sync
7937 CONST_CAST(GLEW_ARB_sync) = glewGetExtension("GL_ARB_sync");
7938 if (glewExperimental || GLEW_ARB_sync) CONST_CAST(GLEW_ARB_sync) = !_glewInit_GL_ARB_sync(GLEW_CONTEXT_ARG_VAR_INIT);
7939 #endif /* GL_ARB_sync */
7940 #ifdef GL_ARB_tessellation_shader
7941 CONST_CAST(GLEW_ARB_tessellation_shader) = glewGetExtension("GL_ARB_tessellation_shader");
7942 if (glewExperimental || GLEW_ARB_tessellation_shader) CONST_CAST(GLEW_ARB_tessellation_shader) = !_glewInit_GL_ARB_tessellation_shader(GLEW_CONTEXT_ARG_VAR_INIT);
7943 #endif /* GL_ARB_tessellation_shader */
7944 #ifdef GL_ARB_texture_border_clamp
7945 CONST_CAST(GLEW_ARB_texture_border_clamp) = glewGetExtension("GL_ARB_texture_border_clamp");
7946 #endif /* GL_ARB_texture_border_clamp */
7947 #ifdef GL_ARB_texture_buffer_object
7948 CONST_CAST(GLEW_ARB_texture_buffer_object) = glewGetExtension("GL_ARB_texture_buffer_object");
7949 if (glewExperimental || GLEW_ARB_texture_buffer_object) CONST_CAST(GLEW_ARB_texture_buffer_object) = !_glewInit_GL_ARB_texture_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
7950 #endif /* GL_ARB_texture_buffer_object */
7951 #ifdef GL_ARB_texture_buffer_object_rgb32
7952 CONST_CAST(GLEW_ARB_texture_buffer_object_rgb32) = glewGetExtension("GL_ARB_texture_buffer_object_rgb32");
7953 #endif /* GL_ARB_texture_buffer_object_rgb32 */
7954 #ifdef GL_ARB_texture_compression
7955 CONST_CAST(GLEW_ARB_texture_compression) = glewGetExtension("GL_ARB_texture_compression");
7956 if (glewExperimental || GLEW_ARB_texture_compression) CONST_CAST(GLEW_ARB_texture_compression) = !_glewInit_GL_ARB_texture_compression(GLEW_CONTEXT_ARG_VAR_INIT);
7957 #endif /* GL_ARB_texture_compression */
7958 #ifdef GL_ARB_texture_compression_bptc
7959 CONST_CAST(GLEW_ARB_texture_compression_bptc) = glewGetExtension("GL_ARB_texture_compression_bptc");
7960 #endif /* GL_ARB_texture_compression_bptc */
7961 #ifdef GL_ARB_texture_compression_rgtc
7962 CONST_CAST(GLEW_ARB_texture_compression_rgtc) = glewGetExtension("GL_ARB_texture_compression_rgtc");
7963 #endif /* GL_ARB_texture_compression_rgtc */
7964 #ifdef GL_ARB_texture_cube_map
7965 CONST_CAST(GLEW_ARB_texture_cube_map) = glewGetExtension("GL_ARB_texture_cube_map");
7966 #endif /* GL_ARB_texture_cube_map */
7967 #ifdef GL_ARB_texture_cube_map_array
7968 CONST_CAST(GLEW_ARB_texture_cube_map_array) = glewGetExtension("GL_ARB_texture_cube_map_array");
7969 #endif /* GL_ARB_texture_cube_map_array */
7970 #ifdef GL_ARB_texture_env_add
7971 CONST_CAST(GLEW_ARB_texture_env_add) = glewGetExtension("GL_ARB_texture_env_add");
7972 #endif /* GL_ARB_texture_env_add */
7973 #ifdef GL_ARB_texture_env_combine
7974 CONST_CAST(GLEW_ARB_texture_env_combine) = glewGetExtension("GL_ARB_texture_env_combine");
7975 #endif /* GL_ARB_texture_env_combine */
7976 #ifdef GL_ARB_texture_env_crossbar
7977 CONST_CAST(GLEW_ARB_texture_env_crossbar) = glewGetExtension("GL_ARB_texture_env_crossbar");
7978 #endif /* GL_ARB_texture_env_crossbar */
7979 #ifdef GL_ARB_texture_env_dot3
7980 CONST_CAST(GLEW_ARB_texture_env_dot3) = glewGetExtension("GL_ARB_texture_env_dot3");
7981 #endif /* GL_ARB_texture_env_dot3 */
7982 #ifdef GL_ARB_texture_float
7983 CONST_CAST(GLEW_ARB_texture_float) = glewGetExtension("GL_ARB_texture_float");
7984 #endif /* GL_ARB_texture_float */
7985 #ifdef GL_ARB_texture_gather
7986 CONST_CAST(GLEW_ARB_texture_gather) = glewGetExtension("GL_ARB_texture_gather");
7987 #endif /* GL_ARB_texture_gather */
7988 #ifdef GL_ARB_texture_mirrored_repeat
7989 CONST_CAST(GLEW_ARB_texture_mirrored_repeat) = glewGetExtension("GL_ARB_texture_mirrored_repeat");
7990 #endif /* GL_ARB_texture_mirrored_repeat */
7991 #ifdef GL_ARB_texture_multisample
7992 CONST_CAST(GLEW_ARB_texture_multisample) = glewGetExtension("GL_ARB_texture_multisample");
7993 if (glewExperimental || GLEW_ARB_texture_multisample) CONST_CAST(GLEW_ARB_texture_multisample) = !_glewInit_GL_ARB_texture_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
7994 #endif /* GL_ARB_texture_multisample */
7995 #ifdef GL_ARB_texture_non_power_of_two
7996 CONST_CAST(GLEW_ARB_texture_non_power_of_two) = glewGetExtension("GL_ARB_texture_non_power_of_two");
7997 #endif /* GL_ARB_texture_non_power_of_two */
7998 #ifdef GL_ARB_texture_query_lod
7999 CONST_CAST(GLEW_ARB_texture_query_lod) = glewGetExtension("GL_ARB_texture_query_lod");
8000 #endif /* GL_ARB_texture_query_lod */
8001 #ifdef GL_ARB_texture_rectangle
8002 CONST_CAST(GLEW_ARB_texture_rectangle) = glewGetExtension("GL_ARB_texture_rectangle");
8003 #endif /* GL_ARB_texture_rectangle */
8004 #ifdef GL_ARB_texture_rg
8005 CONST_CAST(GLEW_ARB_texture_rg) = glewGetExtension("GL_ARB_texture_rg");
8006 #endif /* GL_ARB_texture_rg */
8007 #ifdef GL_ARB_texture_rgb10_a2ui
8008 CONST_CAST(GLEW_ARB_texture_rgb10_a2ui) = glewGetExtension("GL_ARB_texture_rgb10_a2ui");
8009 #endif /* GL_ARB_texture_rgb10_a2ui */
8010 #ifdef GL_ARB_texture_swizzle
8011 CONST_CAST(GLEW_ARB_texture_swizzle) = glewGetExtension("GL_ARB_texture_swizzle");
8012 #endif /* GL_ARB_texture_swizzle */
8013 #ifdef GL_ARB_timer_query
8014 CONST_CAST(GLEW_ARB_timer_query) = glewGetExtension("GL_ARB_timer_query");
8015 if (glewExperimental || GLEW_ARB_timer_query) CONST_CAST(GLEW_ARB_timer_query) = !_glewInit_GL_ARB_timer_query(GLEW_CONTEXT_ARG_VAR_INIT);
8016 #endif /* GL_ARB_timer_query */
8017 #ifdef GL_ARB_transform_feedback2
8018 CONST_CAST(GLEW_ARB_transform_feedback2) = glewGetExtension("GL_ARB_transform_feedback2");
8019 if (glewExperimental || GLEW_ARB_transform_feedback2) CONST_CAST(GLEW_ARB_transform_feedback2) = !_glewInit_GL_ARB_transform_feedback2(GLEW_CONTEXT_ARG_VAR_INIT);
8020 #endif /* GL_ARB_transform_feedback2 */
8021 #ifdef GL_ARB_transform_feedback3
8022 CONST_CAST(GLEW_ARB_transform_feedback3) = glewGetExtension("GL_ARB_transform_feedback3");
8023 if (glewExperimental || GLEW_ARB_transform_feedback3) CONST_CAST(GLEW_ARB_transform_feedback3) = !_glewInit_GL_ARB_transform_feedback3(GLEW_CONTEXT_ARG_VAR_INIT);
8024 #endif /* GL_ARB_transform_feedback3 */
8025 #ifdef GL_ARB_transpose_matrix
8026 CONST_CAST(GLEW_ARB_transpose_matrix) = glewGetExtension("GL_ARB_transpose_matrix");
8027 if (glewExperimental || GLEW_ARB_transpose_matrix) CONST_CAST(GLEW_ARB_transpose_matrix) = !_glewInit_GL_ARB_transpose_matrix(GLEW_CONTEXT_ARG_VAR_INIT);
8028 #endif /* GL_ARB_transpose_matrix */
8029 #ifdef GL_ARB_uniform_buffer_object
8030 CONST_CAST(GLEW_ARB_uniform_buffer_object) = glewGetExtension("GL_ARB_uniform_buffer_object");
8031 if (glewExperimental || GLEW_ARB_uniform_buffer_object) CONST_CAST(GLEW_ARB_uniform_buffer_object) = !_glewInit_GL_ARB_uniform_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
8032 #endif /* GL_ARB_uniform_buffer_object */
8033 #ifdef GL_ARB_vertex_array_bgra
8034 CONST_CAST(GLEW_ARB_vertex_array_bgra) = glewGetExtension("GL_ARB_vertex_array_bgra");
8035 #endif /* GL_ARB_vertex_array_bgra */
8036 #ifdef GL_ARB_vertex_array_object
8037 CONST_CAST(GLEW_ARB_vertex_array_object) = glewGetExtension("GL_ARB_vertex_array_object");
8038 if (glewExperimental || GLEW_ARB_vertex_array_object) CONST_CAST(GLEW_ARB_vertex_array_object) = !_glewInit_GL_ARB_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT);
8039 #endif /* GL_ARB_vertex_array_object */
8040 #ifdef GL_ARB_vertex_blend
8041 CONST_CAST(GLEW_ARB_vertex_blend) = glewGetExtension("GL_ARB_vertex_blend");
8042 if (glewExperimental || GLEW_ARB_vertex_blend) CONST_CAST(GLEW_ARB_vertex_blend) = !_glewInit_GL_ARB_vertex_blend(GLEW_CONTEXT_ARG_VAR_INIT);
8043 #endif /* GL_ARB_vertex_blend */
8044 #ifdef GL_ARB_vertex_buffer_object
8045 CONST_CAST(GLEW_ARB_vertex_buffer_object) = glewGetExtension("GL_ARB_vertex_buffer_object");
8046 if (glewExperimental || GLEW_ARB_vertex_buffer_object) CONST_CAST(GLEW_ARB_vertex_buffer_object) = !_glewInit_GL_ARB_vertex_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
8047 #endif /* GL_ARB_vertex_buffer_object */
8048 #ifdef GL_ARB_vertex_program
8049 CONST_CAST(GLEW_ARB_vertex_program) = glewGetExtension("GL_ARB_vertex_program");
8050 if (glewExperimental || GLEW_ARB_vertex_program) CONST_CAST(GLEW_ARB_vertex_program) = !_glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT);
8051 #endif /* GL_ARB_vertex_program */
8052 #ifdef GL_ARB_vertex_shader
8053 CONST_CAST(GLEW_ARB_vertex_shader) = glewGetExtension("GL_ARB_vertex_shader");
8054 if (glewExperimental || GLEW_ARB_vertex_shader) CONST_CAST(GLEW_ARB_vertex_shader) = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT);
8055 #endif /* GL_ARB_vertex_shader */
8056 #ifdef GL_ARB_vertex_type_2_10_10_10_rev
8057 CONST_CAST(GLEW_ARB_vertex_type_2_10_10_10_rev) = glewGetExtension("GL_ARB_vertex_type_2_10_10_10_rev");
8058 if (glewExperimental || GLEW_ARB_vertex_type_2_10_10_10_rev) CONST_CAST(GLEW_ARB_vertex_type_2_10_10_10_rev) = !_glewInit_GL_ARB_vertex_type_2_10_10_10_rev(GLEW_CONTEXT_ARG_VAR_INIT);
8059 #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
8060 #ifdef GL_ARB_window_pos
8061 CONST_CAST(GLEW_ARB_window_pos) = glewGetExtension("GL_ARB_window_pos");
8062 if (glewExperimental || GLEW_ARB_window_pos) CONST_CAST(GLEW_ARB_window_pos) = !_glewInit_GL_ARB_window_pos(GLEW_CONTEXT_ARG_VAR_INIT);
8063 #endif /* GL_ARB_window_pos */
8064 #ifdef GL_ATIX_point_sprites
8065 CONST_CAST(GLEW_ATIX_point_sprites) = glewGetExtension("GL_ATIX_point_sprites");
8066 #endif /* GL_ATIX_point_sprites */
8067 #ifdef GL_ATIX_texture_env_combine3
8068 CONST_CAST(GLEW_ATIX_texture_env_combine3) = glewGetExtension("GL_ATIX_texture_env_combine3");
8069 #endif /* GL_ATIX_texture_env_combine3 */
8070 #ifdef GL_ATIX_texture_env_route
8071 CONST_CAST(GLEW_ATIX_texture_env_route) = glewGetExtension("GL_ATIX_texture_env_route");
8072 #endif /* GL_ATIX_texture_env_route */
8073 #ifdef GL_ATIX_vertex_shader_output_point_size
8074 CONST_CAST(GLEW_ATIX_vertex_shader_output_point_size) = glewGetExtension("GL_ATIX_vertex_shader_output_point_size");
8075 #endif /* GL_ATIX_vertex_shader_output_point_size */
8076 #ifdef GL_ATI_draw_buffers
8077 CONST_CAST(GLEW_ATI_draw_buffers) = glewGetExtension("GL_ATI_draw_buffers");
8078 if (glewExperimental || GLEW_ATI_draw_buffers) CONST_CAST(GLEW_ATI_draw_buffers) = !_glewInit_GL_ATI_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
8079 #endif /* GL_ATI_draw_buffers */
8080 #ifdef GL_ATI_element_array
8081 CONST_CAST(GLEW_ATI_element_array) = glewGetExtension("GL_ATI_element_array");
8082 if (glewExperimental || GLEW_ATI_element_array) CONST_CAST(GLEW_ATI_element_array) = !_glewInit_GL_ATI_element_array(GLEW_CONTEXT_ARG_VAR_INIT);
8083 #endif /* GL_ATI_element_array */
8084 #ifdef GL_ATI_envmap_bumpmap
8085 CONST_CAST(GLEW_ATI_envmap_bumpmap) = glewGetExtension("GL_ATI_envmap_bumpmap");
8086 if (glewExperimental || GLEW_ATI_envmap_bumpmap) CONST_CAST(GLEW_ATI_envmap_bumpmap) = !_glewInit_GL_ATI_envmap_bumpmap(GLEW_CONTEXT_ARG_VAR_INIT);
8087 #endif /* GL_ATI_envmap_bumpmap */
8088 #ifdef GL_ATI_fragment_shader
8089 CONST_CAST(GLEW_ATI_fragment_shader) = glewGetExtension("GL_ATI_fragment_shader");
8090 if (glewExperimental || GLEW_ATI_fragment_shader) CONST_CAST(GLEW_ATI_fragment_shader) = !_glewInit_GL_ATI_fragment_shader(GLEW_CONTEXT_ARG_VAR_INIT);
8091 #endif /* GL_ATI_fragment_shader */
8092 #ifdef GL_ATI_map_object_buffer
8093 CONST_CAST(GLEW_ATI_map_object_buffer) = glewGetExtension("GL_ATI_map_object_buffer");
8094 if (glewExperimental || GLEW_ATI_map_object_buffer) CONST_CAST(GLEW_ATI_map_object_buffer) = !_glewInit_GL_ATI_map_object_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
8095 #endif /* GL_ATI_map_object_buffer */
8096 #ifdef GL_ATI_meminfo
8097 CONST_CAST(GLEW_ATI_meminfo) = glewGetExtension("GL_ATI_meminfo");
8098 #endif /* GL_ATI_meminfo */
8099 #ifdef GL_ATI_pn_triangles
8100 CONST_CAST(GLEW_ATI_pn_triangles) = glewGetExtension("GL_ATI_pn_triangles");
8101 if (glewExperimental || GLEW_ATI_pn_triangles) CONST_CAST(GLEW_ATI_pn_triangles) = !_glewInit_GL_ATI_pn_triangles(GLEW_CONTEXT_ARG_VAR_INIT);
8102 #endif /* GL_ATI_pn_triangles */
8103 #ifdef GL_ATI_separate_stencil
8104 CONST_CAST(GLEW_ATI_separate_stencil) = glewGetExtension("GL_ATI_separate_stencil");
8105 if (glewExperimental || GLEW_ATI_separate_stencil) CONST_CAST(GLEW_ATI_separate_stencil) = !_glewInit_GL_ATI_separate_stencil(GLEW_CONTEXT_ARG_VAR_INIT);
8106 #endif /* GL_ATI_separate_stencil */
8107 #ifdef GL_ATI_shader_texture_lod
8108 CONST_CAST(GLEW_ATI_shader_texture_lod) = glewGetExtension("GL_ATI_shader_texture_lod");
8109 #endif /* GL_ATI_shader_texture_lod */
8110 #ifdef GL_ATI_text_fragment_shader
8111 CONST_CAST(GLEW_ATI_text_fragment_shader) = glewGetExtension("GL_ATI_text_fragment_shader");
8112 #endif /* GL_ATI_text_fragment_shader */
8113 #ifdef GL_ATI_texture_compression_3dc
8114 CONST_CAST(GLEW_ATI_texture_compression_3dc) = glewGetExtension("GL_ATI_texture_compression_3dc");
8115 #endif /* GL_ATI_texture_compression_3dc */
8116 #ifdef GL_ATI_texture_env_combine3
8117 CONST_CAST(GLEW_ATI_texture_env_combine3) = glewGetExtension("GL_ATI_texture_env_combine3");
8118 #endif /* GL_ATI_texture_env_combine3 */
8119 #ifdef GL_ATI_texture_float
8120 CONST_CAST(GLEW_ATI_texture_float) = glewGetExtension("GL_ATI_texture_float");
8121 #endif /* GL_ATI_texture_float */
8122 #ifdef GL_ATI_texture_mirror_once
8123 CONST_CAST(GLEW_ATI_texture_mirror_once) = glewGetExtension("GL_ATI_texture_mirror_once");
8124 #endif /* GL_ATI_texture_mirror_once */
8125 #ifdef GL_ATI_vertex_array_object
8126 CONST_CAST(GLEW_ATI_vertex_array_object) = glewGetExtension("GL_ATI_vertex_array_object");
8127 if (glewExperimental || GLEW_ATI_vertex_array_object) CONST_CAST(GLEW_ATI_vertex_array_object) = !_glewInit_GL_ATI_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT);
8128 #endif /* GL_ATI_vertex_array_object */
8129 #ifdef GL_ATI_vertex_attrib_array_object
8130 CONST_CAST(GLEW_ATI_vertex_attrib_array_object) = glewGetExtension("GL_ATI_vertex_attrib_array_object");
8131 if (glewExperimental || GLEW_ATI_vertex_attrib_array_object) CONST_CAST(GLEW_ATI_vertex_attrib_array_object) = !_glewInit_GL_ATI_vertex_attrib_array_object(GLEW_CONTEXT_ARG_VAR_INIT);
8132 #endif /* GL_ATI_vertex_attrib_array_object */
8133 #ifdef GL_ATI_vertex_streams
8134 CONST_CAST(GLEW_ATI_vertex_streams) = glewGetExtension("GL_ATI_vertex_streams");
8135 if (glewExperimental || GLEW_ATI_vertex_streams) CONST_CAST(GLEW_ATI_vertex_streams) = !_glewInit_GL_ATI_vertex_streams(GLEW_CONTEXT_ARG_VAR_INIT);
8136 #endif /* GL_ATI_vertex_streams */
8137 #ifdef GL_EXT_422_pixels
8138 CONST_CAST(GLEW_EXT_422_pixels) = glewGetExtension("GL_EXT_422_pixels");
8139 #endif /* GL_EXT_422_pixels */
8140 #ifdef GL_EXT_Cg_shader
8141 CONST_CAST(GLEW_EXT_Cg_shader) = glewGetExtension("GL_EXT_Cg_shader");
8142 #endif /* GL_EXT_Cg_shader */
8143 #ifdef GL_EXT_abgr
8144 CONST_CAST(GLEW_EXT_abgr) = glewGetExtension("GL_EXT_abgr");
8145 #endif /* GL_EXT_abgr */
8146 #ifdef GL_EXT_bgra
8147 CONST_CAST(GLEW_EXT_bgra) = glewGetExtension("GL_EXT_bgra");
8148 #endif /* GL_EXT_bgra */
8149 #ifdef GL_EXT_bindable_uniform
8150 CONST_CAST(GLEW_EXT_bindable_uniform) = glewGetExtension("GL_EXT_bindable_uniform");
8151 if (glewExperimental || GLEW_EXT_bindable_uniform) CONST_CAST(GLEW_EXT_bindable_uniform) = !_glewInit_GL_EXT_bindable_uniform(GLEW_CONTEXT_ARG_VAR_INIT);
8152 #endif /* GL_EXT_bindable_uniform */
8153 #ifdef GL_EXT_blend_color
8154 CONST_CAST(GLEW_EXT_blend_color) = glewGetExtension("GL_EXT_blend_color");
8155 if (glewExperimental || GLEW_EXT_blend_color) CONST_CAST(GLEW_EXT_blend_color) = !_glewInit_GL_EXT_blend_color(GLEW_CONTEXT_ARG_VAR_INIT);
8156 #endif /* GL_EXT_blend_color */
8157 #ifdef GL_EXT_blend_equation_separate
8158 CONST_CAST(GLEW_EXT_blend_equation_separate) = glewGetExtension("GL_EXT_blend_equation_separate");
8159 if (glewExperimental || GLEW_EXT_blend_equation_separate) CONST_CAST(GLEW_EXT_blend_equation_separate) = !_glewInit_GL_EXT_blend_equation_separate(GLEW_CONTEXT_ARG_VAR_INIT);
8160 #endif /* GL_EXT_blend_equation_separate */
8161 #ifdef GL_EXT_blend_func_separate
8162 CONST_CAST(GLEW_EXT_blend_func_separate) = glewGetExtension("GL_EXT_blend_func_separate");
8163 if (glewExperimental || GLEW_EXT_blend_func_separate) CONST_CAST(GLEW_EXT_blend_func_separate) = !_glewInit_GL_EXT_blend_func_separate(GLEW_CONTEXT_ARG_VAR_INIT);
8164 #endif /* GL_EXT_blend_func_separate */
8165 #ifdef GL_EXT_blend_logic_op
8166 CONST_CAST(GLEW_EXT_blend_logic_op) = glewGetExtension("GL_EXT_blend_logic_op");
8167 #endif /* GL_EXT_blend_logic_op */
8168 #ifdef GL_EXT_blend_minmax
8169 CONST_CAST(GLEW_EXT_blend_minmax) = glewGetExtension("GL_EXT_blend_minmax");
8170 if (glewExperimental || GLEW_EXT_blend_minmax) CONST_CAST(GLEW_EXT_blend_minmax) = !_glewInit_GL_EXT_blend_minmax(GLEW_CONTEXT_ARG_VAR_INIT);
8171 #endif /* GL_EXT_blend_minmax */
8172 #ifdef GL_EXT_blend_subtract
8173 CONST_CAST(GLEW_EXT_blend_subtract) = glewGetExtension("GL_EXT_blend_subtract");
8174 #endif /* GL_EXT_blend_subtract */
8175 #ifdef GL_EXT_clip_volume_hint
8176 CONST_CAST(GLEW_EXT_clip_volume_hint) = glewGetExtension("GL_EXT_clip_volume_hint");
8177 #endif /* GL_EXT_clip_volume_hint */
8178 #ifdef GL_EXT_cmyka
8179 CONST_CAST(GLEW_EXT_cmyka) = glewGetExtension("GL_EXT_cmyka");
8180 #endif /* GL_EXT_cmyka */
8181 #ifdef GL_EXT_color_subtable
8182 CONST_CAST(GLEW_EXT_color_subtable) = glewGetExtension("GL_EXT_color_subtable");
8183 if (glewExperimental || GLEW_EXT_color_subtable) CONST_CAST(GLEW_EXT_color_subtable) = !_glewInit_GL_EXT_color_subtable(GLEW_CONTEXT_ARG_VAR_INIT);
8184 #endif /* GL_EXT_color_subtable */
8185 #ifdef GL_EXT_compiled_vertex_array
8186 CONST_CAST(GLEW_EXT_compiled_vertex_array) = glewGetExtension("GL_EXT_compiled_vertex_array");
8187 if (glewExperimental || GLEW_EXT_compiled_vertex_array) CONST_CAST(GLEW_EXT_compiled_vertex_array) = !_glewInit_GL_EXT_compiled_vertex_array(GLEW_CONTEXT_ARG_VAR_INIT);
8188 #endif /* GL_EXT_compiled_vertex_array */
8189 #ifdef GL_EXT_convolution
8190 CONST_CAST(GLEW_EXT_convolution) = glewGetExtension("GL_EXT_convolution");
8191 if (glewExperimental || GLEW_EXT_convolution) CONST_CAST(GLEW_EXT_convolution) = !_glewInit_GL_EXT_convolution(GLEW_CONTEXT_ARG_VAR_INIT);
8192 #endif /* GL_EXT_convolution */
8193 #ifdef GL_EXT_coordinate_frame
8194 CONST_CAST(GLEW_EXT_coordinate_frame) = glewGetExtension("GL_EXT_coordinate_frame");
8195 if (glewExperimental || GLEW_EXT_coordinate_frame) CONST_CAST(GLEW_EXT_coordinate_frame) = !_glewInit_GL_EXT_coordinate_frame(GLEW_CONTEXT_ARG_VAR_INIT);
8196 #endif /* GL_EXT_coordinate_frame */
8197 #ifdef GL_EXT_copy_texture
8198 CONST_CAST(GLEW_EXT_copy_texture) = glewGetExtension("GL_EXT_copy_texture");
8199 if (glewExperimental || GLEW_EXT_copy_texture) CONST_CAST(GLEW_EXT_copy_texture) = !_glewInit_GL_EXT_copy_texture(GLEW_CONTEXT_ARG_VAR_INIT);
8200 #endif /* GL_EXT_copy_texture */
8201 #ifdef GL_EXT_cull_vertex
8202 CONST_CAST(GLEW_EXT_cull_vertex) = glewGetExtension("GL_EXT_cull_vertex");
8203 if (glewExperimental || GLEW_EXT_cull_vertex) CONST_CAST(GLEW_EXT_cull_vertex) = !_glewInit_GL_EXT_cull_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
8204 #endif /* GL_EXT_cull_vertex */
8205 #ifdef GL_EXT_depth_bounds_test
8206 CONST_CAST(GLEW_EXT_depth_bounds_test) = glewGetExtension("GL_EXT_depth_bounds_test");
8207 if (glewExperimental || GLEW_EXT_depth_bounds_test) CONST_CAST(GLEW_EXT_depth_bounds_test) = !_glewInit_GL_EXT_depth_bounds_test(GLEW_CONTEXT_ARG_VAR_INIT);
8208 #endif /* GL_EXT_depth_bounds_test */
8209 #ifdef GL_EXT_direct_state_access
8210 CONST_CAST(GLEW_EXT_direct_state_access) = glewGetExtension("GL_EXT_direct_state_access");
8211 if (glewExperimental || GLEW_EXT_direct_state_access) CONST_CAST(GLEW_EXT_direct_state_access) = !_glewInit_GL_EXT_direct_state_access(GLEW_CONTEXT_ARG_VAR_INIT);
8212 #endif /* GL_EXT_direct_state_access */
8213 #ifdef GL_EXT_draw_buffers2
8214 CONST_CAST(GLEW_EXT_draw_buffers2) = glewGetExtension("GL_EXT_draw_buffers2");
8215 if (glewExperimental || GLEW_EXT_draw_buffers2) CONST_CAST(GLEW_EXT_draw_buffers2) = !_glewInit_GL_EXT_draw_buffers2(GLEW_CONTEXT_ARG_VAR_INIT);
8216 #endif /* GL_EXT_draw_buffers2 */
8217 #ifdef GL_EXT_draw_instanced
8218 CONST_CAST(GLEW_EXT_draw_instanced) = glewGetExtension("GL_EXT_draw_instanced");
8219 if (glewExperimental || GLEW_EXT_draw_instanced) CONST_CAST(GLEW_EXT_draw_instanced) = !_glewInit_GL_EXT_draw_instanced(GLEW_CONTEXT_ARG_VAR_INIT);
8220 #endif /* GL_EXT_draw_instanced */
8221 #ifdef GL_EXT_draw_range_elements
8222 CONST_CAST(GLEW_EXT_draw_range_elements) = glewGetExtension("GL_EXT_draw_range_elements");
8223 if (glewExperimental || GLEW_EXT_draw_range_elements) CONST_CAST(GLEW_EXT_draw_range_elements) = !_glewInit_GL_EXT_draw_range_elements(GLEW_CONTEXT_ARG_VAR_INIT);
8224 #endif /* GL_EXT_draw_range_elements */
8225 #ifdef GL_EXT_fog_coord
8226 CONST_CAST(GLEW_EXT_fog_coord) = glewGetExtension("GL_EXT_fog_coord");
8227 if (glewExperimental || GLEW_EXT_fog_coord) CONST_CAST(GLEW_EXT_fog_coord) = !_glewInit_GL_EXT_fog_coord(GLEW_CONTEXT_ARG_VAR_INIT);
8228 #endif /* GL_EXT_fog_coord */
8229 #ifdef GL_EXT_fragment_lighting
8230 CONST_CAST(GLEW_EXT_fragment_lighting) = glewGetExtension("GL_EXT_fragment_lighting");
8231 if (glewExperimental || GLEW_EXT_fragment_lighting) CONST_CAST(GLEW_EXT_fragment_lighting) = !_glewInit_GL_EXT_fragment_lighting(GLEW_CONTEXT_ARG_VAR_INIT);
8232 #endif /* GL_EXT_fragment_lighting */
8233 #ifdef GL_EXT_framebuffer_blit
8234 CONST_CAST(GLEW_EXT_framebuffer_blit) = glewGetExtension("GL_EXT_framebuffer_blit");
8235 if (glewExperimental || GLEW_EXT_framebuffer_blit) CONST_CAST(GLEW_EXT_framebuffer_blit) = !_glewInit_GL_EXT_framebuffer_blit(GLEW_CONTEXT_ARG_VAR_INIT);
8236 #endif /* GL_EXT_framebuffer_blit */
8237 #ifdef GL_EXT_framebuffer_multisample
8238 CONST_CAST(GLEW_EXT_framebuffer_multisample) = glewGetExtension("GL_EXT_framebuffer_multisample");
8239 if (glewExperimental || GLEW_EXT_framebuffer_multisample) CONST_CAST(GLEW_EXT_framebuffer_multisample) = !_glewInit_GL_EXT_framebuffer_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
8240 #endif /* GL_EXT_framebuffer_multisample */
8241 #ifdef GL_EXT_framebuffer_object
8242 CONST_CAST(GLEW_EXT_framebuffer_object) = glewGetExtension("GL_EXT_framebuffer_object");
8243 if (glewExperimental || GLEW_EXT_framebuffer_object) CONST_CAST(GLEW_EXT_framebuffer_object) = !_glewInit_GL_EXT_framebuffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
8244 #endif /* GL_EXT_framebuffer_object */
8245 #ifdef GL_EXT_framebuffer_sRGB
8246 CONST_CAST(GLEW_EXT_framebuffer_sRGB) = glewGetExtension("GL_EXT_framebuffer_sRGB");
8247 #endif /* GL_EXT_framebuffer_sRGB */
8248 #ifdef GL_EXT_geometry_shader4
8249 CONST_CAST(GLEW_EXT_geometry_shader4) = glewGetExtension("GL_EXT_geometry_shader4");
8250 if (glewExperimental || GLEW_EXT_geometry_shader4) CONST_CAST(GLEW_EXT_geometry_shader4) = !_glewInit_GL_EXT_geometry_shader4(GLEW_CONTEXT_ARG_VAR_INIT);
8251 #endif /* GL_EXT_geometry_shader4 */
8252 #ifdef GL_EXT_gpu_program_parameters
8253 CONST_CAST(GLEW_EXT_gpu_program_parameters) = glewGetExtension("GL_EXT_gpu_program_parameters");
8254 if (glewExperimental || GLEW_EXT_gpu_program_parameters) CONST_CAST(GLEW_EXT_gpu_program_parameters) = !_glewInit_GL_EXT_gpu_program_parameters(GLEW_CONTEXT_ARG_VAR_INIT);
8255 #endif /* GL_EXT_gpu_program_parameters */
8256 #ifdef GL_EXT_gpu_shader4
8257 CONST_CAST(GLEW_EXT_gpu_shader4) = glewGetExtension("GL_EXT_gpu_shader4");
8258 if (glewExperimental || GLEW_EXT_gpu_shader4) CONST_CAST(GLEW_EXT_gpu_shader4) = !_glewInit_GL_EXT_gpu_shader4(GLEW_CONTEXT_ARG_VAR_INIT);
8259 #endif /* GL_EXT_gpu_shader4 */
8260 #ifdef GL_EXT_histogram
8261 CONST_CAST(GLEW_EXT_histogram) = glewGetExtension("GL_EXT_histogram");
8262 if (glewExperimental || GLEW_EXT_histogram) CONST_CAST(GLEW_EXT_histogram) = !_glewInit_GL_EXT_histogram(GLEW_CONTEXT_ARG_VAR_INIT);
8263 #endif /* GL_EXT_histogram */
8264 #ifdef GL_EXT_index_array_formats
8265 CONST_CAST(GLEW_EXT_index_array_formats) = glewGetExtension("GL_EXT_index_array_formats");
8266 #endif /* GL_EXT_index_array_formats */
8267 #ifdef GL_EXT_index_func
8268 CONST_CAST(GLEW_EXT_index_func) = glewGetExtension("GL_EXT_index_func");
8269 if (glewExperimental || GLEW_EXT_index_func) CONST_CAST(GLEW_EXT_index_func) = !_glewInit_GL_EXT_index_func(GLEW_CONTEXT_ARG_VAR_INIT);
8270 #endif /* GL_EXT_index_func */
8271 #ifdef GL_EXT_index_material
8272 CONST_CAST(GLEW_EXT_index_material) = glewGetExtension("GL_EXT_index_material");
8273 if (glewExperimental || GLEW_EXT_index_material) CONST_CAST(GLEW_EXT_index_material) = !_glewInit_GL_EXT_index_material(GLEW_CONTEXT_ARG_VAR_INIT);
8274 #endif /* GL_EXT_index_material */
8275 #ifdef GL_EXT_index_texture
8276 CONST_CAST(GLEW_EXT_index_texture) = glewGetExtension("GL_EXT_index_texture");
8277 #endif /* GL_EXT_index_texture */
8278 #ifdef GL_EXT_light_texture
8279 CONST_CAST(GLEW_EXT_light_texture) = glewGetExtension("GL_EXT_light_texture");
8280 if (glewExperimental || GLEW_EXT_light_texture) CONST_CAST(GLEW_EXT_light_texture) = !_glewInit_GL_EXT_light_texture(GLEW_CONTEXT_ARG_VAR_INIT);
8281 #endif /* GL_EXT_light_texture */
8282 #ifdef GL_EXT_misc_attribute
8283 CONST_CAST(GLEW_EXT_misc_attribute) = glewGetExtension("GL_EXT_misc_attribute");
8284 #endif /* GL_EXT_misc_attribute */
8285 #ifdef GL_EXT_multi_draw_arrays
8286 CONST_CAST(GLEW_EXT_multi_draw_arrays) = glewGetExtension("GL_EXT_multi_draw_arrays");
8287 if (glewExperimental || GLEW_EXT_multi_draw_arrays) CONST_CAST(GLEW_EXT_multi_draw_arrays) = !_glewInit_GL_EXT_multi_draw_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
8288 #endif /* GL_EXT_multi_draw_arrays */
8289 #ifdef GL_EXT_multisample
8290 CONST_CAST(GLEW_EXT_multisample) = glewGetExtension("GL_EXT_multisample");
8291 if (glewExperimental || GLEW_EXT_multisample) CONST_CAST(GLEW_EXT_multisample) = !_glewInit_GL_EXT_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
8292 #endif /* GL_EXT_multisample */
8293 #ifdef GL_EXT_packed_depth_stencil
8294 CONST_CAST(GLEW_EXT_packed_depth_stencil) = glewGetExtension("GL_EXT_packed_depth_stencil");
8295 #endif /* GL_EXT_packed_depth_stencil */
8296 #ifdef GL_EXT_packed_float
8297 CONST_CAST(GLEW_EXT_packed_float) = glewGetExtension("GL_EXT_packed_float");
8298 #endif /* GL_EXT_packed_float */
8299 #ifdef GL_EXT_packed_pixels
8300 CONST_CAST(GLEW_EXT_packed_pixels) = glewGetExtension("GL_EXT_packed_pixels");
8301 #endif /* GL_EXT_packed_pixels */
8302 #ifdef GL_EXT_paletted_texture
8303 CONST_CAST(GLEW_EXT_paletted_texture) = glewGetExtension("GL_EXT_paletted_texture");
8304 if (glewExperimental || GLEW_EXT_paletted_texture) CONST_CAST(GLEW_EXT_paletted_texture) = !_glewInit_GL_EXT_paletted_texture(GLEW_CONTEXT_ARG_VAR_INIT);
8305 #endif /* GL_EXT_paletted_texture */
8306 #ifdef GL_EXT_pixel_buffer_object
8307 CONST_CAST(GLEW_EXT_pixel_buffer_object) = glewGetExtension("GL_EXT_pixel_buffer_object");
8308 #endif /* GL_EXT_pixel_buffer_object */
8309 #ifdef GL_EXT_pixel_transform
8310 CONST_CAST(GLEW_EXT_pixel_transform) = glewGetExtension("GL_EXT_pixel_transform");
8311 if (glewExperimental || GLEW_EXT_pixel_transform) CONST_CAST(GLEW_EXT_pixel_transform) = !_glewInit_GL_EXT_pixel_transform(GLEW_CONTEXT_ARG_VAR_INIT);
8312 #endif /* GL_EXT_pixel_transform */
8313 #ifdef GL_EXT_pixel_transform_color_table
8314 CONST_CAST(GLEW_EXT_pixel_transform_color_table) = glewGetExtension("GL_EXT_pixel_transform_color_table");
8315 #endif /* GL_EXT_pixel_transform_color_table */
8316 #ifdef GL_EXT_point_parameters
8317 CONST_CAST(GLEW_EXT_point_parameters) = glewGetExtension("GL_EXT_point_parameters");
8318 if (glewExperimental || GLEW_EXT_point_parameters) CONST_CAST(GLEW_EXT_point_parameters) = !_glewInit_GL_EXT_point_parameters(GLEW_CONTEXT_ARG_VAR_INIT);
8319 #endif /* GL_EXT_point_parameters */
8320 #ifdef GL_EXT_polygon_offset
8321 CONST_CAST(GLEW_EXT_polygon_offset) = glewGetExtension("GL_EXT_polygon_offset");
8322 if (glewExperimental || GLEW_EXT_polygon_offset) CONST_CAST(GLEW_EXT_polygon_offset) = !_glewInit_GL_EXT_polygon_offset(GLEW_CONTEXT_ARG_VAR_INIT);
8323 #endif /* GL_EXT_polygon_offset */
8324 #ifdef GL_EXT_provoking_vertex
8325 CONST_CAST(GLEW_EXT_provoking_vertex) = glewGetExtension("GL_EXT_provoking_vertex");
8326 if (glewExperimental || GLEW_EXT_provoking_vertex) CONST_CAST(GLEW_EXT_provoking_vertex) = !_glewInit_GL_EXT_provoking_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
8327 #endif /* GL_EXT_provoking_vertex */
8328 #ifdef GL_EXT_rescale_normal
8329 CONST_CAST(GLEW_EXT_rescale_normal) = glewGetExtension("GL_EXT_rescale_normal");
8330 #endif /* GL_EXT_rescale_normal */
8331 #ifdef GL_EXT_scene_marker
8332 CONST_CAST(GLEW_EXT_scene_marker) = glewGetExtension("GL_EXT_scene_marker");
8333 if (glewExperimental || GLEW_EXT_scene_marker) CONST_CAST(GLEW_EXT_scene_marker) = !_glewInit_GL_EXT_scene_marker(GLEW_CONTEXT_ARG_VAR_INIT);
8334 #endif /* GL_EXT_scene_marker */
8335 #ifdef GL_EXT_secondary_color
8336 CONST_CAST(GLEW_EXT_secondary_color) = glewGetExtension("GL_EXT_secondary_color");
8337 if (glewExperimental || GLEW_EXT_secondary_color) CONST_CAST(GLEW_EXT_secondary_color) = !_glewInit_GL_EXT_secondary_color(GLEW_CONTEXT_ARG_VAR_INIT);
8338 #endif /* GL_EXT_secondary_color */
8339 #ifdef GL_EXT_separate_shader_objects
8340 CONST_CAST(GLEW_EXT_separate_shader_objects) = glewGetExtension("GL_EXT_separate_shader_objects");
8341 if (glewExperimental || GLEW_EXT_separate_shader_objects) CONST_CAST(GLEW_EXT_separate_shader_objects) = !_glewInit_GL_EXT_separate_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT);
8342 #endif /* GL_EXT_separate_shader_objects */
8343 #ifdef GL_EXT_separate_specular_color
8344 CONST_CAST(GLEW_EXT_separate_specular_color) = glewGetExtension("GL_EXT_separate_specular_color");
8345 #endif /* GL_EXT_separate_specular_color */
8346 #ifdef GL_EXT_shader_image_load_store
8347 CONST_CAST(GLEW_EXT_shader_image_load_store) = glewGetExtension("GL_EXT_shader_image_load_store");
8348 if (glewExperimental || GLEW_EXT_shader_image_load_store) CONST_CAST(GLEW_EXT_shader_image_load_store) = !_glewInit_GL_EXT_shader_image_load_store(GLEW_CONTEXT_ARG_VAR_INIT);
8349 #endif /* GL_EXT_shader_image_load_store */
8350 #ifdef GL_EXT_shadow_funcs
8351 CONST_CAST(GLEW_EXT_shadow_funcs) = glewGetExtension("GL_EXT_shadow_funcs");
8352 #endif /* GL_EXT_shadow_funcs */
8353 #ifdef GL_EXT_shared_texture_palette
8354 CONST_CAST(GLEW_EXT_shared_texture_palette) = glewGetExtension("GL_EXT_shared_texture_palette");
8355 #endif /* GL_EXT_shared_texture_palette */
8356 #ifdef GL_EXT_stencil_clear_tag
8357 CONST_CAST(GLEW_EXT_stencil_clear_tag) = glewGetExtension("GL_EXT_stencil_clear_tag");
8358 #endif /* GL_EXT_stencil_clear_tag */
8359 #ifdef GL_EXT_stencil_two_side
8360 CONST_CAST(GLEW_EXT_stencil_two_side) = glewGetExtension("GL_EXT_stencil_two_side");
8361 if (glewExperimental || GLEW_EXT_stencil_two_side) CONST_CAST(GLEW_EXT_stencil_two_side) = !_glewInit_GL_EXT_stencil_two_side(GLEW_CONTEXT_ARG_VAR_INIT);
8362 #endif /* GL_EXT_stencil_two_side */
8363 #ifdef GL_EXT_stencil_wrap
8364 CONST_CAST(GLEW_EXT_stencil_wrap) = glewGetExtension("GL_EXT_stencil_wrap");
8365 #endif /* GL_EXT_stencil_wrap */
8366 #ifdef GL_EXT_subtexture
8367 CONST_CAST(GLEW_EXT_subtexture) = glewGetExtension("GL_EXT_subtexture");
8368 if (glewExperimental || GLEW_EXT_subtexture) CONST_CAST(GLEW_EXT_subtexture) = !_glewInit_GL_EXT_subtexture(GLEW_CONTEXT_ARG_VAR_INIT);
8369 #endif /* GL_EXT_subtexture */
8370 #ifdef GL_EXT_texture
8371 CONST_CAST(GLEW_EXT_texture) = glewGetExtension("GL_EXT_texture");
8372 #endif /* GL_EXT_texture */
8373 #ifdef GL_EXT_texture3D
8374 CONST_CAST(GLEW_EXT_texture3D) = glewGetExtension("GL_EXT_texture3D");
8375 if (glewExperimental || GLEW_EXT_texture3D) CONST_CAST(GLEW_EXT_texture3D) = !_glewInit_GL_EXT_texture3D(GLEW_CONTEXT_ARG_VAR_INIT);
8376 #endif /* GL_EXT_texture3D */
8377 #ifdef GL_EXT_texture_array
8378 CONST_CAST(GLEW_EXT_texture_array) = glewGetExtension("GL_EXT_texture_array");
8379 #endif /* GL_EXT_texture_array */
8380 #ifdef GL_EXT_texture_buffer_object
8381 CONST_CAST(GLEW_EXT_texture_buffer_object) = glewGetExtension("GL_EXT_texture_buffer_object");
8382 if (glewExperimental || GLEW_EXT_texture_buffer_object) CONST_CAST(GLEW_EXT_texture_buffer_object) = !_glewInit_GL_EXT_texture_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
8383 #endif /* GL_EXT_texture_buffer_object */
8384 #ifdef GL_EXT_texture_compression_dxt1
8385 CONST_CAST(GLEW_EXT_texture_compression_dxt1) = glewGetExtension("GL_EXT_texture_compression_dxt1");
8386 #endif /* GL_EXT_texture_compression_dxt1 */
8387 #ifdef GL_EXT_texture_compression_latc
8388 CONST_CAST(GLEW_EXT_texture_compression_latc) = glewGetExtension("GL_EXT_texture_compression_latc");
8389 #endif /* GL_EXT_texture_compression_latc */
8390 #ifdef GL_EXT_texture_compression_rgtc
8391 CONST_CAST(GLEW_EXT_texture_compression_rgtc) = glewGetExtension("GL_EXT_texture_compression_rgtc");
8392 #endif /* GL_EXT_texture_compression_rgtc */
8393 #ifdef GL_EXT_texture_compression_s3tc
8394 CONST_CAST(GLEW_EXT_texture_compression_s3tc) = glewGetExtension("GL_EXT_texture_compression_s3tc");
8395 #endif /* GL_EXT_texture_compression_s3tc */
8396 #ifdef GL_EXT_texture_cube_map
8397 CONST_CAST(GLEW_EXT_texture_cube_map) = glewGetExtension("GL_EXT_texture_cube_map");
8398 #endif /* GL_EXT_texture_cube_map */
8399 #ifdef GL_EXT_texture_edge_clamp
8400 CONST_CAST(GLEW_EXT_texture_edge_clamp) = glewGetExtension("GL_EXT_texture_edge_clamp");
8401 #endif /* GL_EXT_texture_edge_clamp */
8402 #ifdef GL_EXT_texture_env
8403 CONST_CAST(GLEW_EXT_texture_env) = glewGetExtension("GL_EXT_texture_env");
8404 #endif /* GL_EXT_texture_env */
8405 #ifdef GL_EXT_texture_env_add
8406 CONST_CAST(GLEW_EXT_texture_env_add) = glewGetExtension("GL_EXT_texture_env_add");
8407 #endif /* GL_EXT_texture_env_add */
8408 #ifdef GL_EXT_texture_env_combine
8409 CONST_CAST(GLEW_EXT_texture_env_combine) = glewGetExtension("GL_EXT_texture_env_combine");
8410 #endif /* GL_EXT_texture_env_combine */
8411 #ifdef GL_EXT_texture_env_dot3
8412 CONST_CAST(GLEW_EXT_texture_env_dot3) = glewGetExtension("GL_EXT_texture_env_dot3");
8413 #endif /* GL_EXT_texture_env_dot3 */
8414 #ifdef GL_EXT_texture_filter_anisotropic
8415 CONST_CAST(GLEW_EXT_texture_filter_anisotropic) = glewGetExtension("GL_EXT_texture_filter_anisotropic");
8416 #endif /* GL_EXT_texture_filter_anisotropic */
8417 #ifdef GL_EXT_texture_integer
8418 CONST_CAST(GLEW_EXT_texture_integer) = glewGetExtension("GL_EXT_texture_integer");
8419 if (glewExperimental || GLEW_EXT_texture_integer) CONST_CAST(GLEW_EXT_texture_integer) = !_glewInit_GL_EXT_texture_integer(GLEW_CONTEXT_ARG_VAR_INIT);
8420 #endif /* GL_EXT_texture_integer */
8421 #ifdef GL_EXT_texture_lod_bias
8422 CONST_CAST(GLEW_EXT_texture_lod_bias) = glewGetExtension("GL_EXT_texture_lod_bias");
8423 #endif /* GL_EXT_texture_lod_bias */
8424 #ifdef GL_EXT_texture_mirror_clamp
8425 CONST_CAST(GLEW_EXT_texture_mirror_clamp) = glewGetExtension("GL_EXT_texture_mirror_clamp");
8426 #endif /* GL_EXT_texture_mirror_clamp */
8427 #ifdef GL_EXT_texture_object
8428 CONST_CAST(GLEW_EXT_texture_object) = glewGetExtension("GL_EXT_texture_object");
8429 if (glewExperimental || GLEW_EXT_texture_object) CONST_CAST(GLEW_EXT_texture_object) = !_glewInit_GL_EXT_texture_object(GLEW_CONTEXT_ARG_VAR_INIT);
8430 #endif /* GL_EXT_texture_object */
8431 #ifdef GL_EXT_texture_perturb_normal
8432 CONST_CAST(GLEW_EXT_texture_perturb_normal) = glewGetExtension("GL_EXT_texture_perturb_normal");
8433 if (glewExperimental || GLEW_EXT_texture_perturb_normal) CONST_CAST(GLEW_EXT_texture_perturb_normal) = !_glewInit_GL_EXT_texture_perturb_normal(GLEW_CONTEXT_ARG_VAR_INIT);
8434 #endif /* GL_EXT_texture_perturb_normal */
8435 #ifdef GL_EXT_texture_rectangle
8436 CONST_CAST(GLEW_EXT_texture_rectangle) = glewGetExtension("GL_EXT_texture_rectangle");
8437 #endif /* GL_EXT_texture_rectangle */
8438 #ifdef GL_EXT_texture_sRGB
8439 CONST_CAST(GLEW_EXT_texture_sRGB) = glewGetExtension("GL_EXT_texture_sRGB");
8440 #endif /* GL_EXT_texture_sRGB */
8441 #ifdef GL_EXT_texture_shared_exponent
8442 CONST_CAST(GLEW_EXT_texture_shared_exponent) = glewGetExtension("GL_EXT_texture_shared_exponent");
8443 #endif /* GL_EXT_texture_shared_exponent */
8444 #ifdef GL_EXT_texture_snorm
8445 CONST_CAST(GLEW_EXT_texture_snorm) = glewGetExtension("GL_EXT_texture_snorm");
8446 #endif /* GL_EXT_texture_snorm */
8447 #ifdef GL_EXT_texture_swizzle
8448 CONST_CAST(GLEW_EXT_texture_swizzle) = glewGetExtension("GL_EXT_texture_swizzle");
8449 #endif /* GL_EXT_texture_swizzle */
8450 #ifdef GL_EXT_timer_query
8451 CONST_CAST(GLEW_EXT_timer_query) = glewGetExtension("GL_EXT_timer_query");
8452 if (glewExperimental || GLEW_EXT_timer_query) CONST_CAST(GLEW_EXT_timer_query) = !_glewInit_GL_EXT_timer_query(GLEW_CONTEXT_ARG_VAR_INIT);
8453 #endif /* GL_EXT_timer_query */
8454 #ifdef GL_EXT_transform_feedback
8455 CONST_CAST(GLEW_EXT_transform_feedback) = glewGetExtension("GL_EXT_transform_feedback");
8456 if (glewExperimental || GLEW_EXT_transform_feedback) CONST_CAST(GLEW_EXT_transform_feedback) = !_glewInit_GL_EXT_transform_feedback(GLEW_CONTEXT_ARG_VAR_INIT);
8457 #endif /* GL_EXT_transform_feedback */
8458 #ifdef GL_EXT_vertex_array
8459 CONST_CAST(GLEW_EXT_vertex_array) = glewGetExtension("GL_EXT_vertex_array");
8460 if (glewExperimental || GLEW_EXT_vertex_array) CONST_CAST(GLEW_EXT_vertex_array) = !_glewInit_GL_EXT_vertex_array(GLEW_CONTEXT_ARG_VAR_INIT);
8461 #endif /* GL_EXT_vertex_array */
8462 #ifdef GL_EXT_vertex_array_bgra
8463 CONST_CAST(GLEW_EXT_vertex_array_bgra) = glewGetExtension("GL_EXT_vertex_array_bgra");
8464 #endif /* GL_EXT_vertex_array_bgra */
8465 #ifdef GL_EXT_vertex_attrib_64bit
8466 CONST_CAST(GLEW_EXT_vertex_attrib_64bit) = glewGetExtension("GL_EXT_vertex_attrib_64bit");
8467 if (glewExperimental || GLEW_EXT_vertex_attrib_64bit) CONST_CAST(GLEW_EXT_vertex_attrib_64bit) = !_glewInit_GL_EXT_vertex_attrib_64bit(GLEW_CONTEXT_ARG_VAR_INIT);
8468 #endif /* GL_EXT_vertex_attrib_64bit */
8469 #ifdef GL_EXT_vertex_shader
8470 CONST_CAST(GLEW_EXT_vertex_shader) = glewGetExtension("GL_EXT_vertex_shader");
8471 if (glewExperimental || GLEW_EXT_vertex_shader) CONST_CAST(GLEW_EXT_vertex_shader) = !_glewInit_GL_EXT_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT);
8472 #endif /* GL_EXT_vertex_shader */
8473 #ifdef GL_EXT_vertex_weighting
8474 CONST_CAST(GLEW_EXT_vertex_weighting) = glewGetExtension("GL_EXT_vertex_weighting");
8475 if (glewExperimental || GLEW_EXT_vertex_weighting) CONST_CAST(GLEW_EXT_vertex_weighting) = !_glewInit_GL_EXT_vertex_weighting(GLEW_CONTEXT_ARG_VAR_INIT);
8476 #endif /* GL_EXT_vertex_weighting */
8477 #ifdef GL_GREMEDY_frame_terminator
8478 CONST_CAST(GLEW_GREMEDY_frame_terminator) = glewGetExtension("GL_GREMEDY_frame_terminator");
8479 if (glewExperimental || GLEW_GREMEDY_frame_terminator) CONST_CAST(GLEW_GREMEDY_frame_terminator) = !_glewInit_GL_GREMEDY_frame_terminator(GLEW_CONTEXT_ARG_VAR_INIT);
8480 #endif /* GL_GREMEDY_frame_terminator */
8481 #ifdef GL_GREMEDY_string_marker
8482 CONST_CAST(GLEW_GREMEDY_string_marker) = glewGetExtension("GL_GREMEDY_string_marker");
8483 if (glewExperimental || GLEW_GREMEDY_string_marker) CONST_CAST(GLEW_GREMEDY_string_marker) = !_glewInit_GL_GREMEDY_string_marker(GLEW_CONTEXT_ARG_VAR_INIT);
8484 #endif /* GL_GREMEDY_string_marker */
8485 #ifdef GL_HP_convolution_border_modes
8486 CONST_CAST(GLEW_HP_convolution_border_modes) = glewGetExtension("GL_HP_convolution_border_modes");
8487 #endif /* GL_HP_convolution_border_modes */
8488 #ifdef GL_HP_image_transform
8489 CONST_CAST(GLEW_HP_image_transform) = glewGetExtension("GL_HP_image_transform");
8490 if (glewExperimental || GLEW_HP_image_transform) CONST_CAST(GLEW_HP_image_transform) = !_glewInit_GL_HP_image_transform(GLEW_CONTEXT_ARG_VAR_INIT);
8491 #endif /* GL_HP_image_transform */
8492 #ifdef GL_HP_occlusion_test
8493 CONST_CAST(GLEW_HP_occlusion_test) = glewGetExtension("GL_HP_occlusion_test");
8494 #endif /* GL_HP_occlusion_test */
8495 #ifdef GL_HP_texture_lighting
8496 CONST_CAST(GLEW_HP_texture_lighting) = glewGetExtension("GL_HP_texture_lighting");
8497 #endif /* GL_HP_texture_lighting */
8498 #ifdef GL_IBM_cull_vertex
8499 CONST_CAST(GLEW_IBM_cull_vertex) = glewGetExtension("GL_IBM_cull_vertex");
8500 #endif /* GL_IBM_cull_vertex */
8501 #ifdef GL_IBM_multimode_draw_arrays
8502 CONST_CAST(GLEW_IBM_multimode_draw_arrays) = glewGetExtension("GL_IBM_multimode_draw_arrays");
8503 if (glewExperimental || GLEW_IBM_multimode_draw_arrays) CONST_CAST(GLEW_IBM_multimode_draw_arrays) = !_glewInit_GL_IBM_multimode_draw_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
8504 #endif /* GL_IBM_multimode_draw_arrays */
8505 #ifdef GL_IBM_rasterpos_clip
8506 CONST_CAST(GLEW_IBM_rasterpos_clip) = glewGetExtension("GL_IBM_rasterpos_clip");
8507 #endif /* GL_IBM_rasterpos_clip */
8508 #ifdef GL_IBM_static_data
8509 CONST_CAST(GLEW_IBM_static_data) = glewGetExtension("GL_IBM_static_data");
8510 #endif /* GL_IBM_static_data */
8511 #ifdef GL_IBM_texture_mirrored_repeat
8512 CONST_CAST(GLEW_IBM_texture_mirrored_repeat) = glewGetExtension("GL_IBM_texture_mirrored_repeat");
8513 #endif /* GL_IBM_texture_mirrored_repeat */
8514 #ifdef GL_IBM_vertex_array_lists
8515 CONST_CAST(GLEW_IBM_vertex_array_lists) = glewGetExtension("GL_IBM_vertex_array_lists");
8516 if (glewExperimental || GLEW_IBM_vertex_array_lists) CONST_CAST(GLEW_IBM_vertex_array_lists) = !_glewInit_GL_IBM_vertex_array_lists(GLEW_CONTEXT_ARG_VAR_INIT);
8517 #endif /* GL_IBM_vertex_array_lists */
8518 #ifdef GL_INGR_color_clamp
8519 CONST_CAST(GLEW_INGR_color_clamp) = glewGetExtension("GL_INGR_color_clamp");
8520 #endif /* GL_INGR_color_clamp */
8521 #ifdef GL_INGR_interlace_read
8522 CONST_CAST(GLEW_INGR_interlace_read) = glewGetExtension("GL_INGR_interlace_read");
8523 #endif /* GL_INGR_interlace_read */
8524 #ifdef GL_INTEL_parallel_arrays
8525 CONST_CAST(GLEW_INTEL_parallel_arrays) = glewGetExtension("GL_INTEL_parallel_arrays");
8526 if (glewExperimental || GLEW_INTEL_parallel_arrays) CONST_CAST(GLEW_INTEL_parallel_arrays) = !_glewInit_GL_INTEL_parallel_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
8527 #endif /* GL_INTEL_parallel_arrays */
8528 #ifdef GL_INTEL_texture_scissor
8529 CONST_CAST(GLEW_INTEL_texture_scissor) = glewGetExtension("GL_INTEL_texture_scissor");
8530 if (glewExperimental || GLEW_INTEL_texture_scissor) CONST_CAST(GLEW_INTEL_texture_scissor) = !_glewInit_GL_INTEL_texture_scissor(GLEW_CONTEXT_ARG_VAR_INIT);
8531 #endif /* GL_INTEL_texture_scissor */
8532 #ifdef GL_KTX_buffer_region
8533 CONST_CAST(GLEW_KTX_buffer_region) = glewGetExtension("GL_KTX_buffer_region");
8534 if (glewExperimental || GLEW_KTX_buffer_region) CONST_CAST(GLEW_KTX_buffer_region) = !_glewInit_GL_KTX_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT);
8535 #endif /* GL_KTX_buffer_region */
8536 #ifdef GL_MESAX_texture_stack
8537 CONST_CAST(GLEW_MESAX_texture_stack) = glewGetExtension("GL_MESAX_texture_stack");
8538 #endif /* GL_MESAX_texture_stack */
8539 #ifdef GL_MESA_pack_invert
8540 CONST_CAST(GLEW_MESA_pack_invert) = glewGetExtension("GL_MESA_pack_invert");
8541 #endif /* GL_MESA_pack_invert */
8542 #ifdef GL_MESA_resize_buffers
8543 CONST_CAST(GLEW_MESA_resize_buffers) = glewGetExtension("GL_MESA_resize_buffers");
8544 if (glewExperimental || GLEW_MESA_resize_buffers) CONST_CAST(GLEW_MESA_resize_buffers) = !_glewInit_GL_MESA_resize_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
8545 #endif /* GL_MESA_resize_buffers */
8546 #ifdef GL_MESA_window_pos
8547 CONST_CAST(GLEW_MESA_window_pos) = glewGetExtension("GL_MESA_window_pos");
8548 if (glewExperimental || GLEW_MESA_window_pos) CONST_CAST(GLEW_MESA_window_pos) = !_glewInit_GL_MESA_window_pos(GLEW_CONTEXT_ARG_VAR_INIT);
8549 #endif /* GL_MESA_window_pos */
8550 #ifdef GL_MESA_ycbcr_texture
8551 CONST_CAST(GLEW_MESA_ycbcr_texture) = glewGetExtension("GL_MESA_ycbcr_texture");
8552 #endif /* GL_MESA_ycbcr_texture */
8553 #ifdef GL_NV_blend_square
8554 CONST_CAST(GLEW_NV_blend_square) = glewGetExtension("GL_NV_blend_square");
8555 #endif /* GL_NV_blend_square */
8556 #ifdef GL_NV_conditional_render
8557 CONST_CAST(GLEW_NV_conditional_render) = glewGetExtension("GL_NV_conditional_render");
8558 if (glewExperimental || GLEW_NV_conditional_render) CONST_CAST(GLEW_NV_conditional_render) = !_glewInit_GL_NV_conditional_render(GLEW_CONTEXT_ARG_VAR_INIT);
8559 #endif /* GL_NV_conditional_render */
8560 #ifdef GL_NV_copy_depth_to_color
8561 CONST_CAST(GLEW_NV_copy_depth_to_color) = glewGetExtension("GL_NV_copy_depth_to_color");
8562 #endif /* GL_NV_copy_depth_to_color */
8563 #ifdef GL_NV_copy_image
8564 CONST_CAST(GLEW_NV_copy_image) = glewGetExtension("GL_NV_copy_image");
8565 if (glewExperimental || GLEW_NV_copy_image) CONST_CAST(GLEW_NV_copy_image) = !_glewInit_GL_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
8566 #endif /* GL_NV_copy_image */
8567 #ifdef GL_NV_depth_buffer_float
8568 CONST_CAST(GLEW_NV_depth_buffer_float) = glewGetExtension("GL_NV_depth_buffer_float");
8569 if (glewExperimental || GLEW_NV_depth_buffer_float) CONST_CAST(GLEW_NV_depth_buffer_float) = !_glewInit_GL_NV_depth_buffer_float(GLEW_CONTEXT_ARG_VAR_INIT);
8570 #endif /* GL_NV_depth_buffer_float */
8571 #ifdef GL_NV_depth_clamp
8572 CONST_CAST(GLEW_NV_depth_clamp) = glewGetExtension("GL_NV_depth_clamp");
8573 #endif /* GL_NV_depth_clamp */
8574 #ifdef GL_NV_depth_range_unclamped
8575 CONST_CAST(GLEW_NV_depth_range_unclamped) = glewGetExtension("GL_NV_depth_range_unclamped");
8576 #endif /* GL_NV_depth_range_unclamped */
8577 #ifdef GL_NV_evaluators
8578 CONST_CAST(GLEW_NV_evaluators) = glewGetExtension("GL_NV_evaluators");
8579 if (glewExperimental || GLEW_NV_evaluators) CONST_CAST(GLEW_NV_evaluators) = !_glewInit_GL_NV_evaluators(GLEW_CONTEXT_ARG_VAR_INIT);
8580 #endif /* GL_NV_evaluators */
8581 #ifdef GL_NV_explicit_multisample
8582 CONST_CAST(GLEW_NV_explicit_multisample) = glewGetExtension("GL_NV_explicit_multisample");
8583 if (glewExperimental || GLEW_NV_explicit_multisample) CONST_CAST(GLEW_NV_explicit_multisample) = !_glewInit_GL_NV_explicit_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
8584 #endif /* GL_NV_explicit_multisample */
8585 #ifdef GL_NV_fence
8586 CONST_CAST(GLEW_NV_fence) = glewGetExtension("GL_NV_fence");
8587 if (glewExperimental || GLEW_NV_fence) CONST_CAST(GLEW_NV_fence) = !_glewInit_GL_NV_fence(GLEW_CONTEXT_ARG_VAR_INIT);
8588 #endif /* GL_NV_fence */
8589 #ifdef GL_NV_float_buffer
8590 CONST_CAST(GLEW_NV_float_buffer) = glewGetExtension("GL_NV_float_buffer");
8591 #endif /* GL_NV_float_buffer */
8592 #ifdef GL_NV_fog_distance
8593 CONST_CAST(GLEW_NV_fog_distance) = glewGetExtension("GL_NV_fog_distance");
8594 #endif /* GL_NV_fog_distance */
8595 #ifdef GL_NV_fragment_program
8596 CONST_CAST(GLEW_NV_fragment_program) = glewGetExtension("GL_NV_fragment_program");
8597 if (glewExperimental || GLEW_NV_fragment_program) CONST_CAST(GLEW_NV_fragment_program) = !_glewInit_GL_NV_fragment_program(GLEW_CONTEXT_ARG_VAR_INIT);
8598 #endif /* GL_NV_fragment_program */
8599 #ifdef GL_NV_fragment_program2
8600 CONST_CAST(GLEW_NV_fragment_program2) = glewGetExtension("GL_NV_fragment_program2");
8601 #endif /* GL_NV_fragment_program2 */
8602 #ifdef GL_NV_fragment_program4
8603 CONST_CAST(GLEW_NV_fragment_program4) = glewGetExtension("GL_NV_gpu_program4");
8604 #endif /* GL_NV_fragment_program4 */
8605 #ifdef GL_NV_fragment_program_option
8606 CONST_CAST(GLEW_NV_fragment_program_option) = glewGetExtension("GL_NV_fragment_program_option");
8607 #endif /* GL_NV_fragment_program_option */
8608 #ifdef GL_NV_framebuffer_multisample_coverage
8609 CONST_CAST(GLEW_NV_framebuffer_multisample_coverage) = glewGetExtension("GL_NV_framebuffer_multisample_coverage");
8610 if (glewExperimental || GLEW_NV_framebuffer_multisample_coverage) CONST_CAST(GLEW_NV_framebuffer_multisample_coverage) = !_glewInit_GL_NV_framebuffer_multisample_coverage(GLEW_CONTEXT_ARG_VAR_INIT);
8611 #endif /* GL_NV_framebuffer_multisample_coverage */
8612 #ifdef GL_NV_geometry_program4
8613 CONST_CAST(GLEW_NV_geometry_program4) = glewGetExtension("GL_NV_gpu_program4");
8614 if (glewExperimental || GLEW_NV_geometry_program4) CONST_CAST(GLEW_NV_geometry_program4) = !_glewInit_GL_NV_geometry_program4(GLEW_CONTEXT_ARG_VAR_INIT);
8615 #endif /* GL_NV_geometry_program4 */
8616 #ifdef GL_NV_geometry_shader4
8617 CONST_CAST(GLEW_NV_geometry_shader4) = glewGetExtension("GL_NV_geometry_shader4");
8618 #endif /* GL_NV_geometry_shader4 */
8619 #ifdef GL_NV_gpu_program4
8620 CONST_CAST(GLEW_NV_gpu_program4) = glewGetExtension("GL_NV_gpu_program4");
8621 if (glewExperimental || GLEW_NV_gpu_program4) CONST_CAST(GLEW_NV_gpu_program4) = !_glewInit_GL_NV_gpu_program4(GLEW_CONTEXT_ARG_VAR_INIT);
8622 #endif /* GL_NV_gpu_program4 */
8623 #ifdef GL_NV_gpu_program5
8624 CONST_CAST(GLEW_NV_gpu_program5) = glewGetExtension("GL_NV_gpu_program5");
8625 #endif /* GL_NV_gpu_program5 */
8626 #ifdef GL_NV_gpu_program_fp64
8627 CONST_CAST(GLEW_NV_gpu_program_fp64) = glewGetExtension("GL_NV_gpu_program_fp64");
8628 #endif /* GL_NV_gpu_program_fp64 */
8629 #ifdef GL_NV_gpu_shader5
8630 CONST_CAST(GLEW_NV_gpu_shader5) = glewGetExtension("GL_NV_gpu_shader5");
8631 if (glewExperimental || GLEW_NV_gpu_shader5) CONST_CAST(GLEW_NV_gpu_shader5) = !_glewInit_GL_NV_gpu_shader5(GLEW_CONTEXT_ARG_VAR_INIT);
8632 #endif /* GL_NV_gpu_shader5 */
8633 #ifdef GL_NV_half_float
8634 CONST_CAST(GLEW_NV_half_float) = glewGetExtension("GL_NV_half_float");
8635 if (glewExperimental || GLEW_NV_half_float) CONST_CAST(GLEW_NV_half_float) = !_glewInit_GL_NV_half_float(GLEW_CONTEXT_ARG_VAR_INIT);
8636 #endif /* GL_NV_half_float */
8637 #ifdef GL_NV_light_max_exponent
8638 CONST_CAST(GLEW_NV_light_max_exponent) = glewGetExtension("GL_NV_light_max_exponent");
8639 #endif /* GL_NV_light_max_exponent */
8640 #ifdef GL_NV_multisample_coverage
8641 CONST_CAST(GLEW_NV_multisample_coverage) = glewGetExtension("GL_NV_multisample_coverage");
8642 #endif /* GL_NV_multisample_coverage */
8643 #ifdef GL_NV_multisample_filter_hint
8644 CONST_CAST(GLEW_NV_multisample_filter_hint) = glewGetExtension("GL_NV_multisample_filter_hint");
8645 #endif /* GL_NV_multisample_filter_hint */
8646 #ifdef GL_NV_occlusion_query
8647 CONST_CAST(GLEW_NV_occlusion_query) = glewGetExtension("GL_NV_occlusion_query");
8648 if (glewExperimental || GLEW_NV_occlusion_query) CONST_CAST(GLEW_NV_occlusion_query) = !_glewInit_GL_NV_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT);
8649 #endif /* GL_NV_occlusion_query */
8650 #ifdef GL_NV_packed_depth_stencil
8651 CONST_CAST(GLEW_NV_packed_depth_stencil) = glewGetExtension("GL_NV_packed_depth_stencil");
8652 #endif /* GL_NV_packed_depth_stencil */
8653 #ifdef GL_NV_parameter_buffer_object
8654 CONST_CAST(GLEW_NV_parameter_buffer_object) = glewGetExtension("GL_NV_parameter_buffer_object");
8655 if (glewExperimental || GLEW_NV_parameter_buffer_object) CONST_CAST(GLEW_NV_parameter_buffer_object) = !_glewInit_GL_NV_parameter_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
8656 #endif /* GL_NV_parameter_buffer_object */
8657 #ifdef GL_NV_parameter_buffer_object2
8658 CONST_CAST(GLEW_NV_parameter_buffer_object2) = glewGetExtension("GL_NV_parameter_buffer_object2");
8659 #endif /* GL_NV_parameter_buffer_object2 */
8660 #ifdef GL_NV_pixel_data_range
8661 CONST_CAST(GLEW_NV_pixel_data_range) = glewGetExtension("GL_NV_pixel_data_range");
8662 if (glewExperimental || GLEW_NV_pixel_data_range) CONST_CAST(GLEW_NV_pixel_data_range) = !_glewInit_GL_NV_pixel_data_range(GLEW_CONTEXT_ARG_VAR_INIT);
8663 #endif /* GL_NV_pixel_data_range */
8664 #ifdef GL_NV_point_sprite
8665 CONST_CAST(GLEW_NV_point_sprite) = glewGetExtension("GL_NV_point_sprite");
8666 if (glewExperimental || GLEW_NV_point_sprite) CONST_CAST(GLEW_NV_point_sprite) = !_glewInit_GL_NV_point_sprite(GLEW_CONTEXT_ARG_VAR_INIT);
8667 #endif /* GL_NV_point_sprite */
8668 #ifdef GL_NV_present_video
8669 CONST_CAST(GLEW_NV_present_video) = glewGetExtension("GL_NV_present_video");
8670 if (glewExperimental || GLEW_NV_present_video) CONST_CAST(GLEW_NV_present_video) = !_glewInit_GL_NV_present_video(GLEW_CONTEXT_ARG_VAR_INIT);
8671 #endif /* GL_NV_present_video */
8672 #ifdef GL_NV_primitive_restart
8673 CONST_CAST(GLEW_NV_primitive_restart) = glewGetExtension("GL_NV_primitive_restart");
8674 if (glewExperimental || GLEW_NV_primitive_restart) CONST_CAST(GLEW_NV_primitive_restart) = !_glewInit_GL_NV_primitive_restart(GLEW_CONTEXT_ARG_VAR_INIT);
8675 #endif /* GL_NV_primitive_restart */
8676 #ifdef GL_NV_register_combiners
8677 CONST_CAST(GLEW_NV_register_combiners) = glewGetExtension("GL_NV_register_combiners");
8678 if (glewExperimental || GLEW_NV_register_combiners) CONST_CAST(GLEW_NV_register_combiners) = !_glewInit_GL_NV_register_combiners(GLEW_CONTEXT_ARG_VAR_INIT);
8679 #endif /* GL_NV_register_combiners */
8680 #ifdef GL_NV_register_combiners2
8681 CONST_CAST(GLEW_NV_register_combiners2) = glewGetExtension("GL_NV_register_combiners2");
8682 if (glewExperimental || GLEW_NV_register_combiners2) CONST_CAST(GLEW_NV_register_combiners2) = !_glewInit_GL_NV_register_combiners2(GLEW_CONTEXT_ARG_VAR_INIT);
8683 #endif /* GL_NV_register_combiners2 */
8684 #ifdef GL_NV_shader_buffer_load
8685 CONST_CAST(GLEW_NV_shader_buffer_load) = glewGetExtension("GL_NV_shader_buffer_load");
8686 if (glewExperimental || GLEW_NV_shader_buffer_load) CONST_CAST(GLEW_NV_shader_buffer_load) = !_glewInit_GL_NV_shader_buffer_load(GLEW_CONTEXT_ARG_VAR_INIT);
8687 #endif /* GL_NV_shader_buffer_load */
8688 #ifdef GL_NV_tessellation_program5
8689 CONST_CAST(GLEW_NV_tessellation_program5) = glewGetExtension("GL_NV_gpu_program5");
8690 #endif /* GL_NV_tessellation_program5 */
8691 #ifdef GL_NV_texgen_emboss
8692 CONST_CAST(GLEW_NV_texgen_emboss) = glewGetExtension("GL_NV_texgen_emboss");
8693 #endif /* GL_NV_texgen_emboss */
8694 #ifdef GL_NV_texgen_reflection
8695 CONST_CAST(GLEW_NV_texgen_reflection) = glewGetExtension("GL_NV_texgen_reflection");
8696 #endif /* GL_NV_texgen_reflection */
8697 #ifdef GL_NV_texture_barrier
8698 CONST_CAST(GLEW_NV_texture_barrier) = glewGetExtension("GL_NV_texture_barrier");
8699 if (glewExperimental || GLEW_NV_texture_barrier) CONST_CAST(GLEW_NV_texture_barrier) = !_glewInit_GL_NV_texture_barrier(GLEW_CONTEXT_ARG_VAR_INIT);
8700 #endif /* GL_NV_texture_barrier */
8701 #ifdef GL_NV_texture_compression_vtc
8702 CONST_CAST(GLEW_NV_texture_compression_vtc) = glewGetExtension("GL_NV_texture_compression_vtc");
8703 #endif /* GL_NV_texture_compression_vtc */
8704 #ifdef GL_NV_texture_env_combine4
8705 CONST_CAST(GLEW_NV_texture_env_combine4) = glewGetExtension("GL_NV_texture_env_combine4");
8706 #endif /* GL_NV_texture_env_combine4 */
8707 #ifdef GL_NV_texture_expand_normal
8708 CONST_CAST(GLEW_NV_texture_expand_normal) = glewGetExtension("GL_NV_texture_expand_normal");
8709 #endif /* GL_NV_texture_expand_normal */
8710 #ifdef GL_NV_texture_rectangle
8711 CONST_CAST(GLEW_NV_texture_rectangle) = glewGetExtension("GL_NV_texture_rectangle");
8712 #endif /* GL_NV_texture_rectangle */
8713 #ifdef GL_NV_texture_shader
8714 CONST_CAST(GLEW_NV_texture_shader) = glewGetExtension("GL_NV_texture_shader");
8715 #endif /* GL_NV_texture_shader */
8716 #ifdef GL_NV_texture_shader2
8717 CONST_CAST(GLEW_NV_texture_shader2) = glewGetExtension("GL_NV_texture_shader2");
8718 #endif /* GL_NV_texture_shader2 */
8719 #ifdef GL_NV_texture_shader3
8720 CONST_CAST(GLEW_NV_texture_shader3) = glewGetExtension("GL_NV_texture_shader3");
8721 #endif /* GL_NV_texture_shader3 */
8722 #ifdef GL_NV_transform_feedback
8723 CONST_CAST(GLEW_NV_transform_feedback) = glewGetExtension("GL_NV_transform_feedback");
8724 if (glewExperimental || GLEW_NV_transform_feedback) CONST_CAST(GLEW_NV_transform_feedback) = !_glewInit_GL_NV_transform_feedback(GLEW_CONTEXT_ARG_VAR_INIT);
8725 #endif /* GL_NV_transform_feedback */
8726 #ifdef GL_NV_transform_feedback2
8727 CONST_CAST(GLEW_NV_transform_feedback2) = glewGetExtension("GL_NV_transform_feedback2");
8728 if (glewExperimental || GLEW_NV_transform_feedback2) CONST_CAST(GLEW_NV_transform_feedback2) = !_glewInit_GL_NV_transform_feedback2(GLEW_CONTEXT_ARG_VAR_INIT);
8729 #endif /* GL_NV_transform_feedback2 */
8730 #ifdef GL_NV_vdpau_interop
8731 CONST_CAST(GLEW_NV_vdpau_interop) = glewGetExtension("GL_NV_vdpau_interop");
8732 if (glewExperimental || GLEW_NV_vdpau_interop) CONST_CAST(GLEW_NV_vdpau_interop) = !_glewInit_GL_NV_vdpau_interop(GLEW_CONTEXT_ARG_VAR_INIT);
8733 #endif /* GL_NV_vdpau_interop */
8734 #ifdef GL_NV_vertex_array_range
8735 CONST_CAST(GLEW_NV_vertex_array_range) = glewGetExtension("GL_NV_vertex_array_range");
8736 if (glewExperimental || GLEW_NV_vertex_array_range) CONST_CAST(GLEW_NV_vertex_array_range) = !_glewInit_GL_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
8737 #endif /* GL_NV_vertex_array_range */
8738 #ifdef GL_NV_vertex_array_range2
8739 CONST_CAST(GLEW_NV_vertex_array_range2) = glewGetExtension("GL_NV_vertex_array_range2");
8740 #endif /* GL_NV_vertex_array_range2 */
8741 #ifdef GL_NV_vertex_attrib_integer_64bit
8742 CONST_CAST(GLEW_NV_vertex_attrib_integer_64bit) = glewGetExtension("GL_NV_vertex_attrib_integer_64bit");
8743 if (glewExperimental || GLEW_NV_vertex_attrib_integer_64bit) CONST_CAST(GLEW_NV_vertex_attrib_integer_64bit) = !_glewInit_GL_NV_vertex_attrib_integer_64bit(GLEW_CONTEXT_ARG_VAR_INIT);
8744 #endif /* GL_NV_vertex_attrib_integer_64bit */
8745 #ifdef GL_NV_vertex_buffer_unified_memory
8746 CONST_CAST(GLEW_NV_vertex_buffer_unified_memory) = glewGetExtension("GL_NV_vertex_buffer_unified_memory");
8747 if (glewExperimental || GLEW_NV_vertex_buffer_unified_memory) CONST_CAST(GLEW_NV_vertex_buffer_unified_memory) = !_glewInit_GL_NV_vertex_buffer_unified_memory(GLEW_CONTEXT_ARG_VAR_INIT);
8748 #endif /* GL_NV_vertex_buffer_unified_memory */
8749 #ifdef GL_NV_vertex_program
8750 CONST_CAST(GLEW_NV_vertex_program) = glewGetExtension("GL_NV_vertex_program");
8751 if (glewExperimental || GLEW_NV_vertex_program) CONST_CAST(GLEW_NV_vertex_program) = !_glewInit_GL_NV_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT);
8752 #endif /* GL_NV_vertex_program */
8753 #ifdef GL_NV_vertex_program1_1
8754 CONST_CAST(GLEW_NV_vertex_program1_1) = glewGetExtension("GL_NV_vertex_program1_1");
8755 #endif /* GL_NV_vertex_program1_1 */
8756 #ifdef GL_NV_vertex_program2
8757 CONST_CAST(GLEW_NV_vertex_program2) = glewGetExtension("GL_NV_vertex_program2");
8758 #endif /* GL_NV_vertex_program2 */
8759 #ifdef GL_NV_vertex_program2_option
8760 CONST_CAST(GLEW_NV_vertex_program2_option) = glewGetExtension("GL_NV_vertex_program2_option");
8761 #endif /* GL_NV_vertex_program2_option */
8762 #ifdef GL_NV_vertex_program3
8763 CONST_CAST(GLEW_NV_vertex_program3) = glewGetExtension("GL_NV_vertex_program3");
8764 #endif /* GL_NV_vertex_program3 */
8765 #ifdef GL_NV_vertex_program4
8766 CONST_CAST(GLEW_NV_vertex_program4) = glewGetExtension("GL_NV_gpu_program4");
8767 #endif /* GL_NV_vertex_program4 */
8768 #ifdef GL_OES_byte_coordinates
8769 CONST_CAST(GLEW_OES_byte_coordinates) = glewGetExtension("GL_OES_byte_coordinates");
8770 #endif /* GL_OES_byte_coordinates */
8771 #ifdef GL_OES_compressed_paletted_texture
8772 CONST_CAST(GLEW_OES_compressed_paletted_texture) = glewGetExtension("GL_OES_compressed_paletted_texture");
8773 #endif /* GL_OES_compressed_paletted_texture */
8774 #ifdef GL_OES_read_format
8775 CONST_CAST(GLEW_OES_read_format) = glewGetExtension("GL_OES_read_format");
8776 #endif /* GL_OES_read_format */
8777 #ifdef GL_OES_single_precision
8778 CONST_CAST(GLEW_OES_single_precision) = glewGetExtension("GL_OES_single_precision");
8779 if (glewExperimental || GLEW_OES_single_precision) CONST_CAST(GLEW_OES_single_precision) = !_glewInit_GL_OES_single_precision(GLEW_CONTEXT_ARG_VAR_INIT);
8780 #endif /* GL_OES_single_precision */
8781 #ifdef GL_OML_interlace
8782 CONST_CAST(GLEW_OML_interlace) = glewGetExtension("GL_OML_interlace");
8783 #endif /* GL_OML_interlace */
8784 #ifdef GL_OML_resample
8785 CONST_CAST(GLEW_OML_resample) = glewGetExtension("GL_OML_resample");
8786 #endif /* GL_OML_resample */
8787 #ifdef GL_OML_subsample
8788 CONST_CAST(GLEW_OML_subsample) = glewGetExtension("GL_OML_subsample");
8789 #endif /* GL_OML_subsample */
8790 #ifdef GL_PGI_misc_hints
8791 CONST_CAST(GLEW_PGI_misc_hints) = glewGetExtension("GL_PGI_misc_hints");
8792 #endif /* GL_PGI_misc_hints */
8793 #ifdef GL_PGI_vertex_hints
8794 CONST_CAST(GLEW_PGI_vertex_hints) = glewGetExtension("GL_PGI_vertex_hints");
8795 #endif /* GL_PGI_vertex_hints */
8796 #ifdef GL_REND_screen_coordinates
8797 CONST_CAST(GLEW_REND_screen_coordinates) = glewGetExtension("GL_REND_screen_coordinates");
8798 #endif /* GL_REND_screen_coordinates */
8799 #ifdef GL_S3_s3tc
8800 CONST_CAST(GLEW_S3_s3tc) = glewGetExtension("GL_S3_s3tc");
8801 #endif /* GL_S3_s3tc */
8802 #ifdef GL_SGIS_color_range
8803 CONST_CAST(GLEW_SGIS_color_range) = glewGetExtension("GL_SGIS_color_range");
8804 #endif /* GL_SGIS_color_range */
8805 #ifdef GL_SGIS_detail_texture
8806 CONST_CAST(GLEW_SGIS_detail_texture) = glewGetExtension("GL_SGIS_detail_texture");
8807 if (glewExperimental || GLEW_SGIS_detail_texture) CONST_CAST(GLEW_SGIS_detail_texture) = !_glewInit_GL_SGIS_detail_texture(GLEW_CONTEXT_ARG_VAR_INIT);
8808 #endif /* GL_SGIS_detail_texture */
8809 #ifdef GL_SGIS_fog_function
8810 CONST_CAST(GLEW_SGIS_fog_function) = glewGetExtension("GL_SGIS_fog_function");
8811 if (glewExperimental || GLEW_SGIS_fog_function) CONST_CAST(GLEW_SGIS_fog_function) = !_glewInit_GL_SGIS_fog_function(GLEW_CONTEXT_ARG_VAR_INIT);
8812 #endif /* GL_SGIS_fog_function */
8813 #ifdef GL_SGIS_generate_mipmap
8814 CONST_CAST(GLEW_SGIS_generate_mipmap) = glewGetExtension("GL_SGIS_generate_mipmap");
8815 #endif /* GL_SGIS_generate_mipmap */
8816 #ifdef GL_SGIS_multisample
8817 CONST_CAST(GLEW_SGIS_multisample) = glewGetExtension("GL_SGIS_multisample");
8818 if (glewExperimental || GLEW_SGIS_multisample) CONST_CAST(GLEW_SGIS_multisample) = !_glewInit_GL_SGIS_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
8819 #endif /* GL_SGIS_multisample */
8820 #ifdef GL_SGIS_pixel_texture
8821 CONST_CAST(GLEW_SGIS_pixel_texture) = glewGetExtension("GL_SGIS_pixel_texture");
8822 #endif /* GL_SGIS_pixel_texture */
8823 #ifdef GL_SGIS_point_line_texgen
8824 CONST_CAST(GLEW_SGIS_point_line_texgen) = glewGetExtension("GL_SGIS_point_line_texgen");
8825 #endif /* GL_SGIS_point_line_texgen */
8826 #ifdef GL_SGIS_sharpen_texture
8827 CONST_CAST(GLEW_SGIS_sharpen_texture) = glewGetExtension("GL_SGIS_sharpen_texture");
8828 if (glewExperimental || GLEW_SGIS_sharpen_texture) CONST_CAST(GLEW_SGIS_sharpen_texture) = !_glewInit_GL_SGIS_sharpen_texture(GLEW_CONTEXT_ARG_VAR_INIT);
8829 #endif /* GL_SGIS_sharpen_texture */
8830 #ifdef GL_SGIS_texture4D
8831 CONST_CAST(GLEW_SGIS_texture4D) = glewGetExtension("GL_SGIS_texture4D");
8832 if (glewExperimental || GLEW_SGIS_texture4D) CONST_CAST(GLEW_SGIS_texture4D) = !_glewInit_GL_SGIS_texture4D(GLEW_CONTEXT_ARG_VAR_INIT);
8833 #endif /* GL_SGIS_texture4D */
8834 #ifdef GL_SGIS_texture_border_clamp
8835 CONST_CAST(GLEW_SGIS_texture_border_clamp) = glewGetExtension("GL_SGIS_texture_border_clamp");
8836 #endif /* GL_SGIS_texture_border_clamp */
8837 #ifdef GL_SGIS_texture_edge_clamp
8838 CONST_CAST(GLEW_SGIS_texture_edge_clamp) = glewGetExtension("GL_SGIS_texture_edge_clamp");
8839 #endif /* GL_SGIS_texture_edge_clamp */
8840 #ifdef GL_SGIS_texture_filter4
8841 CONST_CAST(GLEW_SGIS_texture_filter4) = glewGetExtension("GL_SGIS_texture_filter4");
8842 if (glewExperimental || GLEW_SGIS_texture_filter4) CONST_CAST(GLEW_SGIS_texture_filter4) = !_glewInit_GL_SGIS_texture_filter4(GLEW_CONTEXT_ARG_VAR_INIT);
8843 #endif /* GL_SGIS_texture_filter4 */
8844 #ifdef GL_SGIS_texture_lod
8845 CONST_CAST(GLEW_SGIS_texture_lod) = glewGetExtension("GL_SGIS_texture_lod");
8846 #endif /* GL_SGIS_texture_lod */
8847 #ifdef GL_SGIS_texture_select
8848 CONST_CAST(GLEW_SGIS_texture_select) = glewGetExtension("GL_SGIS_texture_select");
8849 #endif /* GL_SGIS_texture_select */
8850 #ifdef GL_SGIX_async
8851 CONST_CAST(GLEW_SGIX_async) = glewGetExtension("GL_SGIX_async");
8852 if (glewExperimental || GLEW_SGIX_async) CONST_CAST(GLEW_SGIX_async) = !_glewInit_GL_SGIX_async(GLEW_CONTEXT_ARG_VAR_INIT);
8853 #endif /* GL_SGIX_async */
8854 #ifdef GL_SGIX_async_histogram
8855 CONST_CAST(GLEW_SGIX_async_histogram) = glewGetExtension("GL_SGIX_async_histogram");
8856 #endif /* GL_SGIX_async_histogram */
8857 #ifdef GL_SGIX_async_pixel
8858 CONST_CAST(GLEW_SGIX_async_pixel) = glewGetExtension("GL_SGIX_async_pixel");
8859 #endif /* GL_SGIX_async_pixel */
8860 #ifdef GL_SGIX_blend_alpha_minmax
8861 CONST_CAST(GLEW_SGIX_blend_alpha_minmax) = glewGetExtension("GL_SGIX_blend_alpha_minmax");
8862 #endif /* GL_SGIX_blend_alpha_minmax */
8863 #ifdef GL_SGIX_clipmap
8864 CONST_CAST(GLEW_SGIX_clipmap) = glewGetExtension("GL_SGIX_clipmap");
8865 #endif /* GL_SGIX_clipmap */
8866 #ifdef GL_SGIX_convolution_accuracy
8867 CONST_CAST(GLEW_SGIX_convolution_accuracy) = glewGetExtension("GL_SGIX_convolution_accuracy");
8868 #endif /* GL_SGIX_convolution_accuracy */
8869 #ifdef GL_SGIX_depth_texture
8870 CONST_CAST(GLEW_SGIX_depth_texture) = glewGetExtension("GL_SGIX_depth_texture");
8871 #endif /* GL_SGIX_depth_texture */
8872 #ifdef GL_SGIX_flush_raster
8873 CONST_CAST(GLEW_SGIX_flush_raster) = glewGetExtension("GL_SGIX_flush_raster");
8874 if (glewExperimental || GLEW_SGIX_flush_raster) CONST_CAST(GLEW_SGIX_flush_raster) = !_glewInit_GL_SGIX_flush_raster(GLEW_CONTEXT_ARG_VAR_INIT);
8875 #endif /* GL_SGIX_flush_raster */
8876 #ifdef GL_SGIX_fog_offset
8877 CONST_CAST(GLEW_SGIX_fog_offset) = glewGetExtension("GL_SGIX_fog_offset");
8878 #endif /* GL_SGIX_fog_offset */
8879 #ifdef GL_SGIX_fog_texture
8880 CONST_CAST(GLEW_SGIX_fog_texture) = glewGetExtension("GL_SGIX_fog_texture");
8881 if (glewExperimental || GLEW_SGIX_fog_texture) CONST_CAST(GLEW_SGIX_fog_texture) = !_glewInit_GL_SGIX_fog_texture(GLEW_CONTEXT_ARG_VAR_INIT);
8882 #endif /* GL_SGIX_fog_texture */
8883 #ifdef GL_SGIX_fragment_specular_lighting
8884 CONST_CAST(GLEW_SGIX_fragment_specular_lighting) = glewGetExtension("GL_SGIX_fragment_specular_lighting");
8885 if (glewExperimental || GLEW_SGIX_fragment_specular_lighting) CONST_CAST(GLEW_SGIX_fragment_specular_lighting) = !_glewInit_GL_SGIX_fragment_specular_lighting(GLEW_CONTEXT_ARG_VAR_INIT);
8886 #endif /* GL_SGIX_fragment_specular_lighting */
8887 #ifdef GL_SGIX_framezoom
8888 CONST_CAST(GLEW_SGIX_framezoom) = glewGetExtension("GL_SGIX_framezoom");
8889 if (glewExperimental || GLEW_SGIX_framezoom) CONST_CAST(GLEW_SGIX_framezoom) = !_glewInit_GL_SGIX_framezoom(GLEW_CONTEXT_ARG_VAR_INIT);
8890 #endif /* GL_SGIX_framezoom */
8891 #ifdef GL_SGIX_interlace
8892 CONST_CAST(GLEW_SGIX_interlace) = glewGetExtension("GL_SGIX_interlace");
8893 #endif /* GL_SGIX_interlace */
8894 #ifdef GL_SGIX_ir_instrument1
8895 CONST_CAST(GLEW_SGIX_ir_instrument1) = glewGetExtension("GL_SGIX_ir_instrument1");
8896 #endif /* GL_SGIX_ir_instrument1 */
8897 #ifdef GL_SGIX_list_priority
8898 CONST_CAST(GLEW_SGIX_list_priority) = glewGetExtension("GL_SGIX_list_priority");
8899 #endif /* GL_SGIX_list_priority */
8900 #ifdef GL_SGIX_pixel_texture
8901 CONST_CAST(GLEW_SGIX_pixel_texture) = glewGetExtension("GL_SGIX_pixel_texture");
8902 if (glewExperimental || GLEW_SGIX_pixel_texture) CONST_CAST(GLEW_SGIX_pixel_texture) = !_glewInit_GL_SGIX_pixel_texture(GLEW_CONTEXT_ARG_VAR_INIT);
8903 #endif /* GL_SGIX_pixel_texture */
8904 #ifdef GL_SGIX_pixel_texture_bits
8905 CONST_CAST(GLEW_SGIX_pixel_texture_bits) = glewGetExtension("GL_SGIX_pixel_texture_bits");
8906 #endif /* GL_SGIX_pixel_texture_bits */
8907 #ifdef GL_SGIX_reference_plane
8908 CONST_CAST(GLEW_SGIX_reference_plane) = glewGetExtension("GL_SGIX_reference_plane");
8909 if (glewExperimental || GLEW_SGIX_reference_plane) CONST_CAST(GLEW_SGIX_reference_plane) = !_glewInit_GL_SGIX_reference_plane(GLEW_CONTEXT_ARG_VAR_INIT);
8910 #endif /* GL_SGIX_reference_plane */
8911 #ifdef GL_SGIX_resample
8912 CONST_CAST(GLEW_SGIX_resample) = glewGetExtension("GL_SGIX_resample");
8913 #endif /* GL_SGIX_resample */
8914 #ifdef GL_SGIX_shadow
8915 CONST_CAST(GLEW_SGIX_shadow) = glewGetExtension("GL_SGIX_shadow");
8916 #endif /* GL_SGIX_shadow */
8917 #ifdef GL_SGIX_shadow_ambient
8918 CONST_CAST(GLEW_SGIX_shadow_ambient) = glewGetExtension("GL_SGIX_shadow_ambient");
8919 #endif /* GL_SGIX_shadow_ambient */
8920 #ifdef GL_SGIX_sprite
8921 CONST_CAST(GLEW_SGIX_sprite) = glewGetExtension("GL_SGIX_sprite");
8922 if (glewExperimental || GLEW_SGIX_sprite) CONST_CAST(GLEW_SGIX_sprite) = !_glewInit_GL_SGIX_sprite(GLEW_CONTEXT_ARG_VAR_INIT);
8923 #endif /* GL_SGIX_sprite */
8924 #ifdef GL_SGIX_tag_sample_buffer
8925 CONST_CAST(GLEW_SGIX_tag_sample_buffer) = glewGetExtension("GL_SGIX_tag_sample_buffer");
8926 if (glewExperimental || GLEW_SGIX_tag_sample_buffer) CONST_CAST(GLEW_SGIX_tag_sample_buffer) = !_glewInit_GL_SGIX_tag_sample_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
8927 #endif /* GL_SGIX_tag_sample_buffer */
8928 #ifdef GL_SGIX_texture_add_env
8929 CONST_CAST(GLEW_SGIX_texture_add_env) = glewGetExtension("GL_SGIX_texture_add_env");
8930 #endif /* GL_SGIX_texture_add_env */
8931 #ifdef GL_SGIX_texture_coordinate_clamp
8932 CONST_CAST(GLEW_SGIX_texture_coordinate_clamp) = glewGetExtension("GL_SGIX_texture_coordinate_clamp");
8933 #endif /* GL_SGIX_texture_coordinate_clamp */
8934 #ifdef GL_SGIX_texture_lod_bias
8935 CONST_CAST(GLEW_SGIX_texture_lod_bias) = glewGetExtension("GL_SGIX_texture_lod_bias");
8936 #endif /* GL_SGIX_texture_lod_bias */
8937 #ifdef GL_SGIX_texture_multi_buffer
8938 CONST_CAST(GLEW_SGIX_texture_multi_buffer) = glewGetExtension("GL_SGIX_texture_multi_buffer");
8939 #endif /* GL_SGIX_texture_multi_buffer */
8940 #ifdef GL_SGIX_texture_range
8941 CONST_CAST(GLEW_SGIX_texture_range) = glewGetExtension("GL_SGIX_texture_range");
8942 #endif /* GL_SGIX_texture_range */
8943 #ifdef GL_SGIX_texture_scale_bias
8944 CONST_CAST(GLEW_SGIX_texture_scale_bias) = glewGetExtension("GL_SGIX_texture_scale_bias");
8945 #endif /* GL_SGIX_texture_scale_bias */
8946 #ifdef GL_SGIX_vertex_preclip
8947 CONST_CAST(GLEW_SGIX_vertex_preclip) = glewGetExtension("GL_SGIX_vertex_preclip");
8948 #endif /* GL_SGIX_vertex_preclip */
8949 #ifdef GL_SGIX_vertex_preclip_hint
8950 CONST_CAST(GLEW_SGIX_vertex_preclip_hint) = glewGetExtension("GL_SGIX_vertex_preclip_hint");
8951 #endif /* GL_SGIX_vertex_preclip_hint */
8952 #ifdef GL_SGIX_ycrcb
8953 CONST_CAST(GLEW_SGIX_ycrcb) = glewGetExtension("GL_SGIX_ycrcb");
8954 #endif /* GL_SGIX_ycrcb */
8955 #ifdef GL_SGI_color_matrix
8956 CONST_CAST(GLEW_SGI_color_matrix) = glewGetExtension("GL_SGI_color_matrix");
8957 #endif /* GL_SGI_color_matrix */
8958 #ifdef GL_SGI_color_table
8959 CONST_CAST(GLEW_SGI_color_table) = glewGetExtension("GL_SGI_color_table");
8960 if (glewExperimental || GLEW_SGI_color_table) CONST_CAST(GLEW_SGI_color_table) = !_glewInit_GL_SGI_color_table(GLEW_CONTEXT_ARG_VAR_INIT);
8961 #endif /* GL_SGI_color_table */
8962 #ifdef GL_SGI_texture_color_table
8963 CONST_CAST(GLEW_SGI_texture_color_table) = glewGetExtension("GL_SGI_texture_color_table");
8964 #endif /* GL_SGI_texture_color_table */
8965 #ifdef GL_SUNX_constant_data
8966 CONST_CAST(GLEW_SUNX_constant_data) = glewGetExtension("GL_SUNX_constant_data");
8967 if (glewExperimental || GLEW_SUNX_constant_data) CONST_CAST(GLEW_SUNX_constant_data) = !_glewInit_GL_SUNX_constant_data(GLEW_CONTEXT_ARG_VAR_INIT);
8968 #endif /* GL_SUNX_constant_data */
8969 #ifdef GL_SUN_convolution_border_modes
8970 CONST_CAST(GLEW_SUN_convolution_border_modes) = glewGetExtension("GL_SUN_convolution_border_modes");
8971 #endif /* GL_SUN_convolution_border_modes */
8972 #ifdef GL_SUN_global_alpha
8973 CONST_CAST(GLEW_SUN_global_alpha) = glewGetExtension("GL_SUN_global_alpha");
8974 if (glewExperimental || GLEW_SUN_global_alpha) CONST_CAST(GLEW_SUN_global_alpha) = !_glewInit_GL_SUN_global_alpha(GLEW_CONTEXT_ARG_VAR_INIT);
8975 #endif /* GL_SUN_global_alpha */
8976 #ifdef GL_SUN_mesh_array
8977 CONST_CAST(GLEW_SUN_mesh_array) = glewGetExtension("GL_SUN_mesh_array");
8978 #endif /* GL_SUN_mesh_array */
8979 #ifdef GL_SUN_read_video_pixels
8980 CONST_CAST(GLEW_SUN_read_video_pixels) = glewGetExtension("GL_SUN_read_video_pixels");
8981 if (glewExperimental || GLEW_SUN_read_video_pixels) CONST_CAST(GLEW_SUN_read_video_pixels) = !_glewInit_GL_SUN_read_video_pixels(GLEW_CONTEXT_ARG_VAR_INIT);
8982 #endif /* GL_SUN_read_video_pixels */
8983 #ifdef GL_SUN_slice_accum
8984 CONST_CAST(GLEW_SUN_slice_accum) = glewGetExtension("GL_SUN_slice_accum");
8985 #endif /* GL_SUN_slice_accum */
8986 #ifdef GL_SUN_triangle_list
8987 CONST_CAST(GLEW_SUN_triangle_list) = glewGetExtension("GL_SUN_triangle_list");
8988 if (glewExperimental || GLEW_SUN_triangle_list) CONST_CAST(GLEW_SUN_triangle_list) = !_glewInit_GL_SUN_triangle_list(GLEW_CONTEXT_ARG_VAR_INIT);
8989 #endif /* GL_SUN_triangle_list */
8990 #ifdef GL_SUN_vertex
8991 CONST_CAST(GLEW_SUN_vertex) = glewGetExtension("GL_SUN_vertex");
8992 if (glewExperimental || GLEW_SUN_vertex) CONST_CAST(GLEW_SUN_vertex) = !_glewInit_GL_SUN_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
8993 #endif /* GL_SUN_vertex */
8994 #ifdef GL_WIN_phong_shading
8995 CONST_CAST(GLEW_WIN_phong_shading) = glewGetExtension("GL_WIN_phong_shading");
8996 #endif /* GL_WIN_phong_shading */
8997 #ifdef GL_WIN_specular_fog
8998 CONST_CAST(GLEW_WIN_specular_fog) = glewGetExtension("GL_WIN_specular_fog");
8999 #endif /* GL_WIN_specular_fog */
9000 #ifdef GL_WIN_swap_hint
9001 CONST_CAST(GLEW_WIN_swap_hint) = glewGetExtension("GL_WIN_swap_hint");
9002 if (glewExperimental || GLEW_WIN_swap_hint) CONST_CAST(GLEW_WIN_swap_hint) = !_glewInit_GL_WIN_swap_hint(GLEW_CONTEXT_ARG_VAR_INIT);
9003 #endif /* GL_WIN_swap_hint */
9005 return GLEW_OK;
9009 #if defined(_WIN32)
9011 #if !defined(GLEW_MX)
9013 PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL = NULL;
9015 PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD = NULL;
9016 PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD = NULL;
9017 PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD = NULL;
9018 PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD = NULL;
9019 PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD = NULL;
9020 PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD = NULL;
9021 PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD = NULL;
9022 PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD = NULL;
9023 PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD = NULL;
9025 PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB = NULL;
9026 PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB = NULL;
9027 PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB = NULL;
9028 PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB = NULL;
9030 PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB = NULL;
9032 PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB = NULL;
9034 PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB = NULL;
9035 PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB = NULL;
9037 PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB = NULL;
9038 PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB = NULL;
9039 PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB = NULL;
9040 PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB = NULL;
9041 PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB = NULL;
9043 PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB = NULL;
9044 PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB = NULL;
9045 PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB = NULL;
9047 PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB = NULL;
9048 PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB = NULL;
9049 PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB = NULL;
9051 PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT = NULL;
9052 PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT = NULL;
9053 PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT = NULL;
9054 PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT = NULL;
9056 PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT = NULL;
9058 PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT = NULL;
9059 PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT = NULL;
9061 PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT = NULL;
9062 PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT = NULL;
9063 PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT = NULL;
9064 PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT = NULL;
9065 PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT = NULL;
9067 PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT = NULL;
9068 PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT = NULL;
9069 PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT = NULL;
9071 PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT = NULL;
9072 PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT = NULL;
9074 PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D = NULL;
9075 PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D = NULL;
9077 PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D = NULL;
9078 PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D = NULL;
9079 PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D = NULL;
9080 PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D = NULL;
9082 PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D = NULL;
9083 PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D = NULL;
9084 PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D = NULL;
9085 PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D = NULL;
9086 PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D = NULL;
9087 PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D = NULL;
9088 PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D = NULL;
9089 PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D = NULL;
9090 PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D = NULL;
9091 PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D = NULL;
9092 PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D = NULL;
9093 PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D = NULL;
9095 PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D = NULL;
9096 PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D = NULL;
9097 PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D = NULL;
9098 PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D = NULL;
9100 PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D = NULL;
9101 PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D = NULL;
9102 PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D = NULL;
9103 PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D = NULL;
9105 PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D = NULL;
9106 PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D = NULL;
9107 PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D = NULL;
9108 PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D = NULL;
9110 PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV = NULL;
9112 PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV = NULL;
9113 PFNWGLDELETEDCNVPROC __wglewDeleteDCNV = NULL;
9114 PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV = NULL;
9115 PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV = NULL;
9116 PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV = NULL;
9118 PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV = NULL;
9119 PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV = NULL;
9120 PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV = NULL;
9122 PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV = NULL;
9123 PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV = NULL;
9124 PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV = NULL;
9125 PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV = NULL;
9126 PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV = NULL;
9127 PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV = NULL;
9129 PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV = NULL;
9130 PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV = NULL;
9132 PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV = NULL;
9133 PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV = NULL;
9134 PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV = NULL;
9135 PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV = NULL;
9136 PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV = NULL;
9137 PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV = NULL;
9139 PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML = NULL;
9140 PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML = NULL;
9141 PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML = NULL;
9142 PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML = NULL;
9143 PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML = NULL;
9144 PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML = NULL;
9145 GLboolean __WGLEW_3DFX_multisample = GL_FALSE;
9146 GLboolean __WGLEW_3DL_stereo_control = GL_FALSE;
9147 GLboolean __WGLEW_AMD_gpu_association = GL_FALSE;
9148 GLboolean __WGLEW_ARB_buffer_region = GL_FALSE;
9149 GLboolean __WGLEW_ARB_create_context = GL_FALSE;
9150 GLboolean __WGLEW_ARB_create_context_profile = GL_FALSE;
9151 GLboolean __WGLEW_ARB_extensions_string = GL_FALSE;
9152 GLboolean __WGLEW_ARB_framebuffer_sRGB = GL_FALSE;
9153 GLboolean __WGLEW_ARB_make_current_read = GL_FALSE;
9154 GLboolean __WGLEW_ARB_multisample = GL_FALSE;
9155 GLboolean __WGLEW_ARB_pbuffer = GL_FALSE;
9156 GLboolean __WGLEW_ARB_pixel_format = GL_FALSE;
9157 GLboolean __WGLEW_ARB_pixel_format_float = GL_FALSE;
9158 GLboolean __WGLEW_ARB_render_texture = GL_FALSE;
9159 GLboolean __WGLEW_ATI_pixel_format_float = GL_FALSE;
9160 GLboolean __WGLEW_ATI_render_texture_rectangle = GL_FALSE;
9161 GLboolean __WGLEW_EXT_depth_float = GL_FALSE;
9162 GLboolean __WGLEW_EXT_display_color_table = GL_FALSE;
9163 GLboolean __WGLEW_EXT_extensions_string = GL_FALSE;
9164 GLboolean __WGLEW_EXT_framebuffer_sRGB = GL_FALSE;
9165 GLboolean __WGLEW_EXT_make_current_read = GL_FALSE;
9166 GLboolean __WGLEW_EXT_multisample = GL_FALSE;
9167 GLboolean __WGLEW_EXT_pbuffer = GL_FALSE;
9168 GLboolean __WGLEW_EXT_pixel_format = GL_FALSE;
9169 GLboolean __WGLEW_EXT_pixel_format_packed_float = GL_FALSE;
9170 GLboolean __WGLEW_EXT_swap_control = GL_FALSE;
9171 GLboolean __WGLEW_I3D_digital_video_control = GL_FALSE;
9172 GLboolean __WGLEW_I3D_gamma = GL_FALSE;
9173 GLboolean __WGLEW_I3D_genlock = GL_FALSE;
9174 GLboolean __WGLEW_I3D_image_buffer = GL_FALSE;
9175 GLboolean __WGLEW_I3D_swap_frame_lock = GL_FALSE;
9176 GLboolean __WGLEW_I3D_swap_frame_usage = GL_FALSE;
9177 GLboolean __WGLEW_NV_copy_image = GL_FALSE;
9178 GLboolean __WGLEW_NV_float_buffer = GL_FALSE;
9179 GLboolean __WGLEW_NV_gpu_affinity = GL_FALSE;
9180 GLboolean __WGLEW_NV_multisample_coverage = GL_FALSE;
9181 GLboolean __WGLEW_NV_present_video = GL_FALSE;
9182 GLboolean __WGLEW_NV_render_depth_texture = GL_FALSE;
9183 GLboolean __WGLEW_NV_render_texture_rectangle = GL_FALSE;
9184 GLboolean __WGLEW_NV_swap_group = GL_FALSE;
9185 GLboolean __WGLEW_NV_vertex_array_range = GL_FALSE;
9186 GLboolean __WGLEW_NV_video_output = GL_FALSE;
9187 GLboolean __WGLEW_OML_sync_control = GL_FALSE;
9189 #endif /* !GLEW_MX */
9191 #ifdef WGL_3DFX_multisample
9193 #endif /* WGL_3DFX_multisample */
9195 #ifdef WGL_3DL_stereo_control
9197 static GLboolean _glewInit_WGL_3DL_stereo_control (WGLEW_CONTEXT_ARG_DEF_INIT)
9199 GLboolean r = GL_FALSE;
9201 r = ((wglSetStereoEmitterState3DL = (PFNWGLSETSTEREOEMITTERSTATE3DLPROC)glewGetProcAddress((const GLubyte*)"wglSetStereoEmitterState3DL")) == NULL) || r;
9203 return r;
9206 #endif /* WGL_3DL_stereo_control */
9208 #ifdef WGL_AMD_gpu_association
9210 static GLboolean _glewInit_WGL_AMD_gpu_association (WGLEW_CONTEXT_ARG_DEF_INIT)
9212 GLboolean r = GL_FALSE;
9214 r = ((wglBlitContextFramebufferAMD = (PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC)glewGetProcAddress((const GLubyte*)"wglBlitContextFramebufferAMD")) == NULL) || r;
9215 r = ((wglCreateAssociatedContextAMD = (PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAMD")) == NULL) || r;
9216 r = ((wglCreateAssociatedContextAttribsAMD = (PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAttribsAMD")) == NULL) || r;
9217 r = ((wglDeleteAssociatedContextAMD = (PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglDeleteAssociatedContextAMD")) == NULL) || r;
9218 r = ((wglGetContextGPUIDAMD = (PFNWGLGETCONTEXTGPUIDAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetContextGPUIDAMD")) == NULL) || r;
9219 r = ((wglGetCurrentAssociatedContextAMD = (PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentAssociatedContextAMD")) == NULL) || r;
9220 r = ((wglGetGPUIDsAMD = (PFNWGLGETGPUIDSAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUIDsAMD")) == NULL) || r;
9221 r = ((wglGetGPUInfoAMD = (PFNWGLGETGPUINFOAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUInfoAMD")) == NULL) || r;
9222 r = ((wglMakeAssociatedContextCurrentAMD = (PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)glewGetProcAddress((const GLubyte*)"wglMakeAssociatedContextCurrentAMD")) == NULL) || r;
9224 return r;
9227 #endif /* WGL_AMD_gpu_association */
9229 #ifdef WGL_ARB_buffer_region
9231 static GLboolean _glewInit_WGL_ARB_buffer_region (WGLEW_CONTEXT_ARG_DEF_INIT)
9233 GLboolean r = GL_FALSE;
9235 r = ((wglCreateBufferRegionARB = (PFNWGLCREATEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateBufferRegionARB")) == NULL) || r;
9236 r = ((wglDeleteBufferRegionARB = (PFNWGLDELETEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglDeleteBufferRegionARB")) == NULL) || r;
9237 r = ((wglRestoreBufferRegionARB = (PFNWGLRESTOREBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglRestoreBufferRegionARB")) == NULL) || r;
9238 r = ((wglSaveBufferRegionARB = (PFNWGLSAVEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglSaveBufferRegionARB")) == NULL) || r;
9240 return r;
9243 #endif /* WGL_ARB_buffer_region */
9245 #ifdef WGL_ARB_create_context
9247 static GLboolean _glewInit_WGL_ARB_create_context (WGLEW_CONTEXT_ARG_DEF_INIT)
9249 GLboolean r = GL_FALSE;
9251 r = ((wglCreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateContextAttribsARB")) == NULL) || r;
9253 return r;
9256 #endif /* WGL_ARB_create_context */
9258 #ifdef WGL_ARB_create_context_profile
9260 #endif /* WGL_ARB_create_context_profile */
9262 #ifdef WGL_ARB_extensions_string
9264 static GLboolean _glewInit_WGL_ARB_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT)
9266 GLboolean r = GL_FALSE;
9268 r = ((wglGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB")) == NULL) || r;
9270 return r;
9273 #endif /* WGL_ARB_extensions_string */
9275 #ifdef WGL_ARB_framebuffer_sRGB
9277 #endif /* WGL_ARB_framebuffer_sRGB */
9279 #ifdef WGL_ARB_make_current_read
9281 static GLboolean _glewInit_WGL_ARB_make_current_read (WGLEW_CONTEXT_ARG_DEF_INIT)
9283 GLboolean r = GL_FALSE;
9285 r = ((wglGetCurrentReadDCARB = (PFNWGLGETCURRENTREADDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCARB")) == NULL) || r;
9286 r = ((wglMakeContextCurrentARB = (PFNWGLMAKECONTEXTCURRENTARBPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentARB")) == NULL) || r;
9288 return r;
9291 #endif /* WGL_ARB_make_current_read */
9293 #ifdef WGL_ARB_multisample
9295 #endif /* WGL_ARB_multisample */
9297 #ifdef WGL_ARB_pbuffer
9299 static GLboolean _glewInit_WGL_ARB_pbuffer (WGLEW_CONTEXT_ARG_DEF_INIT)
9301 GLboolean r = GL_FALSE;
9303 r = ((wglCreatePbufferARB = (PFNWGLCREATEPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferARB")) == NULL) || r;
9304 r = ((wglDestroyPbufferARB = (PFNWGLDESTROYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferARB")) == NULL) || r;
9305 r = ((wglGetPbufferDCARB = (PFNWGLGETPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCARB")) == NULL) || r;
9306 r = ((wglQueryPbufferARB = (PFNWGLQUERYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferARB")) == NULL) || r;
9307 r = ((wglReleasePbufferDCARB = (PFNWGLRELEASEPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCARB")) == NULL) || r;
9309 return r;
9312 #endif /* WGL_ARB_pbuffer */
9314 #ifdef WGL_ARB_pixel_format
9316 static GLboolean _glewInit_WGL_ARB_pixel_format (WGLEW_CONTEXT_ARG_DEF_INIT)
9318 GLboolean r = GL_FALSE;
9320 r = ((wglChoosePixelFormatARB = (PFNWGLCHOOSEPIXELFORMATARBPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatARB")) == NULL) || r;
9321 r = ((wglGetPixelFormatAttribfvARB = (PFNWGLGETPIXELFORMATATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvARB")) == NULL) || r;
9322 r = ((wglGetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivARB")) == NULL) || r;
9324 return r;
9327 #endif /* WGL_ARB_pixel_format */
9329 #ifdef WGL_ARB_pixel_format_float
9331 #endif /* WGL_ARB_pixel_format_float */
9333 #ifdef WGL_ARB_render_texture
9335 static GLboolean _glewInit_WGL_ARB_render_texture (WGLEW_CONTEXT_ARG_DEF_INIT)
9337 GLboolean r = GL_FALSE;
9339 r = ((wglBindTexImageARB = (PFNWGLBINDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglBindTexImageARB")) == NULL) || r;
9340 r = ((wglReleaseTexImageARB = (PFNWGLRELEASETEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglReleaseTexImageARB")) == NULL) || r;
9341 r = ((wglSetPbufferAttribARB = (PFNWGLSETPBUFFERATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"wglSetPbufferAttribARB")) == NULL) || r;
9343 return r;
9346 #endif /* WGL_ARB_render_texture */
9348 #ifdef WGL_ATI_pixel_format_float
9350 #endif /* WGL_ATI_pixel_format_float */
9352 #ifdef WGL_ATI_render_texture_rectangle
9354 #endif /* WGL_ATI_render_texture_rectangle */
9356 #ifdef WGL_EXT_depth_float
9358 #endif /* WGL_EXT_depth_float */
9360 #ifdef WGL_EXT_display_color_table
9362 static GLboolean _glewInit_WGL_EXT_display_color_table (WGLEW_CONTEXT_ARG_DEF_INIT)
9364 GLboolean r = GL_FALSE;
9366 r = ((wglBindDisplayColorTableEXT = (PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglBindDisplayColorTableEXT")) == NULL) || r;
9367 r = ((wglCreateDisplayColorTableEXT = (PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglCreateDisplayColorTableEXT")) == NULL) || r;
9368 r = ((wglDestroyDisplayColorTableEXT = (PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyDisplayColorTableEXT")) == NULL) || r;
9369 r = ((wglLoadDisplayColorTableEXT = (PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglLoadDisplayColorTableEXT")) == NULL) || r;
9371 return r;
9374 #endif /* WGL_EXT_display_color_table */
9376 #ifdef WGL_EXT_extensions_string
9378 static GLboolean _glewInit_WGL_EXT_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT)
9380 GLboolean r = GL_FALSE;
9382 r = ((wglGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT")) == NULL) || r;
9384 return r;
9387 #endif /* WGL_EXT_extensions_string */
9389 #ifdef WGL_EXT_framebuffer_sRGB
9391 #endif /* WGL_EXT_framebuffer_sRGB */
9393 #ifdef WGL_EXT_make_current_read
9395 static GLboolean _glewInit_WGL_EXT_make_current_read (WGLEW_CONTEXT_ARG_DEF_INIT)
9397 GLboolean r = GL_FALSE;
9399 r = ((wglGetCurrentReadDCEXT = (PFNWGLGETCURRENTREADDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCEXT")) == NULL) || r;
9400 r = ((wglMakeContextCurrentEXT = (PFNWGLMAKECONTEXTCURRENTEXTPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentEXT")) == NULL) || r;
9402 return r;
9405 #endif /* WGL_EXT_make_current_read */
9407 #ifdef WGL_EXT_multisample
9409 #endif /* WGL_EXT_multisample */
9411 #ifdef WGL_EXT_pbuffer
9413 static GLboolean _glewInit_WGL_EXT_pbuffer (WGLEW_CONTEXT_ARG_DEF_INIT)
9415 GLboolean r = GL_FALSE;
9417 r = ((wglCreatePbufferEXT = (PFNWGLCREATEPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferEXT")) == NULL) || r;
9418 r = ((wglDestroyPbufferEXT = (PFNWGLDESTROYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferEXT")) == NULL) || r;
9419 r = ((wglGetPbufferDCEXT = (PFNWGLGETPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCEXT")) == NULL) || r;
9420 r = ((wglQueryPbufferEXT = (PFNWGLQUERYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferEXT")) == NULL) || r;
9421 r = ((wglReleasePbufferDCEXT = (PFNWGLRELEASEPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCEXT")) == NULL) || r;
9423 return r;
9426 #endif /* WGL_EXT_pbuffer */
9428 #ifdef WGL_EXT_pixel_format
9430 static GLboolean _glewInit_WGL_EXT_pixel_format (WGLEW_CONTEXT_ARG_DEF_INIT)
9432 GLboolean r = GL_FALSE;
9434 r = ((wglChoosePixelFormatEXT = (PFNWGLCHOOSEPIXELFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatEXT")) == NULL) || r;
9435 r = ((wglGetPixelFormatAttribfvEXT = (PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvEXT")) == NULL) || r;
9436 r = ((wglGetPixelFormatAttribivEXT = (PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivEXT")) == NULL) || r;
9438 return r;
9441 #endif /* WGL_EXT_pixel_format */
9443 #ifdef WGL_EXT_pixel_format_packed_float
9445 #endif /* WGL_EXT_pixel_format_packed_float */
9447 #ifdef WGL_EXT_swap_control
9449 static GLboolean _glewInit_WGL_EXT_swap_control (WGLEW_CONTEXT_ARG_DEF_INIT)
9451 GLboolean r = GL_FALSE;
9453 r = ((wglGetSwapIntervalEXT = (PFNWGLGETSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetSwapIntervalEXT")) == NULL) || r;
9454 r = ((wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglSwapIntervalEXT")) == NULL) || r;
9456 return r;
9459 #endif /* WGL_EXT_swap_control */
9461 #ifdef WGL_I3D_digital_video_control
9463 static GLboolean _glewInit_WGL_I3D_digital_video_control (WGLEW_CONTEXT_ARG_DEF_INIT)
9465 GLboolean r = GL_FALSE;
9467 r = ((wglGetDigitalVideoParametersI3D = (PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetDigitalVideoParametersI3D")) == NULL) || r;
9468 r = ((wglSetDigitalVideoParametersI3D = (PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetDigitalVideoParametersI3D")) == NULL) || r;
9470 return r;
9473 #endif /* WGL_I3D_digital_video_control */
9475 #ifdef WGL_I3D_gamma
9477 static GLboolean _glewInit_WGL_I3D_gamma (WGLEW_CONTEXT_ARG_DEF_INIT)
9479 GLboolean r = GL_FALSE;
9481 r = ((wglGetGammaTableI3D = (PFNWGLGETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableI3D")) == NULL) || r;
9482 r = ((wglGetGammaTableParametersI3D = (PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableParametersI3D")) == NULL) || r;
9483 r = ((wglSetGammaTableI3D = (PFNWGLSETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableI3D")) == NULL) || r;
9484 r = ((wglSetGammaTableParametersI3D = (PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableParametersI3D")) == NULL) || r;
9486 return r;
9489 #endif /* WGL_I3D_gamma */
9491 #ifdef WGL_I3D_genlock
9493 static GLboolean _glewInit_WGL_I3D_genlock (WGLEW_CONTEXT_ARG_DEF_INIT)
9495 GLboolean r = GL_FALSE;
9497 r = ((wglDisableGenlockI3D = (PFNWGLDISABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableGenlockI3D")) == NULL) || r;
9498 r = ((wglEnableGenlockI3D = (PFNWGLENABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableGenlockI3D")) == NULL) || r;
9499 r = ((wglGenlockSampleRateI3D = (PFNWGLGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSampleRateI3D")) == NULL) || r;
9500 r = ((wglGenlockSourceDelayI3D = (PFNWGLGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceDelayI3D")) == NULL) || r;
9501 r = ((wglGenlockSourceEdgeI3D = (PFNWGLGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceEdgeI3D")) == NULL) || r;
9502 r = ((wglGenlockSourceI3D = (PFNWGLGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceI3D")) == NULL) || r;
9503 r = ((wglGetGenlockSampleRateI3D = (PFNWGLGETGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSampleRateI3D")) == NULL) || r;
9504 r = ((wglGetGenlockSourceDelayI3D = (PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceDelayI3D")) == NULL) || r;
9505 r = ((wglGetGenlockSourceEdgeI3D = (PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceEdgeI3D")) == NULL) || r;
9506 r = ((wglGetGenlockSourceI3D = (PFNWGLGETGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceI3D")) == NULL) || r;
9507 r = ((wglIsEnabledGenlockI3D = (PFNWGLISENABLEDGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledGenlockI3D")) == NULL) || r;
9508 r = ((wglQueryGenlockMaxSourceDelayI3D = (PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryGenlockMaxSourceDelayI3D")) == NULL) || r;
9510 return r;
9513 #endif /* WGL_I3D_genlock */
9515 #ifdef WGL_I3D_image_buffer
9517 static GLboolean _glewInit_WGL_I3D_image_buffer (WGLEW_CONTEXT_ARG_DEF_INIT)
9519 GLboolean r = GL_FALSE;
9521 r = ((wglAssociateImageBufferEventsI3D = (PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglAssociateImageBufferEventsI3D")) == NULL) || r;
9522 r = ((wglCreateImageBufferI3D = (PFNWGLCREATEIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglCreateImageBufferI3D")) == NULL) || r;
9523 r = ((wglDestroyImageBufferI3D = (PFNWGLDESTROYIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglDestroyImageBufferI3D")) == NULL) || r;
9524 r = ((wglReleaseImageBufferEventsI3D = (PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglReleaseImageBufferEventsI3D")) == NULL) || r;
9526 return r;
9529 #endif /* WGL_I3D_image_buffer */
9531 #ifdef WGL_I3D_swap_frame_lock
9533 static GLboolean _glewInit_WGL_I3D_swap_frame_lock (WGLEW_CONTEXT_ARG_DEF_INIT)
9535 GLboolean r = GL_FALSE;
9537 r = ((wglDisableFrameLockI3D = (PFNWGLDISABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableFrameLockI3D")) == NULL) || r;
9538 r = ((wglEnableFrameLockI3D = (PFNWGLENABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableFrameLockI3D")) == NULL) || r;
9539 r = ((wglIsEnabledFrameLockI3D = (PFNWGLISENABLEDFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledFrameLockI3D")) == NULL) || r;
9540 r = ((wglQueryFrameLockMasterI3D = (PFNWGLQUERYFRAMELOCKMASTERI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameLockMasterI3D")) == NULL) || r;
9542 return r;
9545 #endif /* WGL_I3D_swap_frame_lock */
9547 #ifdef WGL_I3D_swap_frame_usage
9549 static GLboolean _glewInit_WGL_I3D_swap_frame_usage (WGLEW_CONTEXT_ARG_DEF_INIT)
9551 GLboolean r = GL_FALSE;
9553 r = ((wglBeginFrameTrackingI3D = (PFNWGLBEGINFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglBeginFrameTrackingI3D")) == NULL) || r;
9554 r = ((wglEndFrameTrackingI3D = (PFNWGLENDFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglEndFrameTrackingI3D")) == NULL) || r;
9555 r = ((wglGetFrameUsageI3D = (PFNWGLGETFRAMEUSAGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetFrameUsageI3D")) == NULL) || r;
9556 r = ((wglQueryFrameTrackingI3D = (PFNWGLQUERYFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameTrackingI3D")) == NULL) || r;
9558 return r;
9561 #endif /* WGL_I3D_swap_frame_usage */
9563 #ifdef WGL_NV_copy_image
9565 static GLboolean _glewInit_WGL_NV_copy_image (WGLEW_CONTEXT_ARG_DEF_INIT)
9567 GLboolean r = GL_FALSE;
9569 r = ((wglCopyImageSubDataNV = (PFNWGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"wglCopyImageSubDataNV")) == NULL) || r;
9571 return r;
9574 #endif /* WGL_NV_copy_image */
9576 #ifdef WGL_NV_float_buffer
9578 #endif /* WGL_NV_float_buffer */
9580 #ifdef WGL_NV_gpu_affinity
9582 static GLboolean _glewInit_WGL_NV_gpu_affinity (WGLEW_CONTEXT_ARG_DEF_INIT)
9584 GLboolean r = GL_FALSE;
9586 r = ((wglCreateAffinityDCNV = (PFNWGLCREATEAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglCreateAffinityDCNV")) == NULL) || r;
9587 r = ((wglDeleteDCNV = (PFNWGLDELETEDCNVPROC)glewGetProcAddress((const GLubyte*)"wglDeleteDCNV")) == NULL) || r;
9588 r = ((wglEnumGpuDevicesNV = (PFNWGLENUMGPUDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpuDevicesNV")) == NULL) || r;
9589 r = ((wglEnumGpusFromAffinityDCNV = (PFNWGLENUMGPUSFROMAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusFromAffinityDCNV")) == NULL) || r;
9590 r = ((wglEnumGpusNV = (PFNWGLENUMGPUSNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusNV")) == NULL) || r;
9592 return r;
9595 #endif /* WGL_NV_gpu_affinity */
9597 #ifdef WGL_NV_multisample_coverage
9599 #endif /* WGL_NV_multisample_coverage */
9601 #ifdef WGL_NV_present_video
9603 static GLboolean _glewInit_WGL_NV_present_video (WGLEW_CONTEXT_ARG_DEF_INIT)
9605 GLboolean r = GL_FALSE;
9607 r = ((wglBindVideoDeviceNV = (PFNWGLBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoDeviceNV")) == NULL) || r;
9608 r = ((wglEnumerateVideoDevicesNV = (PFNWGLENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumerateVideoDevicesNV")) == NULL) || r;
9609 r = ((wglQueryCurrentContextNV = (PFNWGLQUERYCURRENTCONTEXTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryCurrentContextNV")) == NULL) || r;
9611 return r;
9614 #endif /* WGL_NV_present_video */
9616 #ifdef WGL_NV_render_depth_texture
9618 #endif /* WGL_NV_render_depth_texture */
9620 #ifdef WGL_NV_render_texture_rectangle
9622 #endif /* WGL_NV_render_texture_rectangle */
9624 #ifdef WGL_NV_swap_group
9626 static GLboolean _glewInit_WGL_NV_swap_group (WGLEW_CONTEXT_ARG_DEF_INIT)
9628 GLboolean r = GL_FALSE;
9630 r = ((wglBindSwapBarrierNV = (PFNWGLBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"wglBindSwapBarrierNV")) == NULL) || r;
9631 r = ((wglJoinSwapGroupNV = (PFNWGLJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglJoinSwapGroupNV")) == NULL) || r;
9632 r = ((wglQueryFrameCountNV = (PFNWGLQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameCountNV")) == NULL) || r;
9633 r = ((wglQueryMaxSwapGroupsNV = (PFNWGLQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryMaxSwapGroupsNV")) == NULL) || r;
9634 r = ((wglQuerySwapGroupNV = (PFNWGLQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglQuerySwapGroupNV")) == NULL) || r;
9635 r = ((wglResetFrameCountNV = (PFNWGLRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglResetFrameCountNV")) == NULL) || r;
9637 return r;
9640 #endif /* WGL_NV_swap_group */
9642 #ifdef WGL_NV_vertex_array_range
9644 static GLboolean _glewInit_WGL_NV_vertex_array_range (WGLEW_CONTEXT_ARG_DEF_INIT)
9646 GLboolean r = GL_FALSE;
9648 r = ((wglAllocateMemoryNV = (PFNWGLALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglAllocateMemoryNV")) == NULL) || r;
9649 r = ((wglFreeMemoryNV = (PFNWGLFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglFreeMemoryNV")) == NULL) || r;
9651 return r;
9654 #endif /* WGL_NV_vertex_array_range */
9656 #ifdef WGL_NV_video_output
9658 static GLboolean _glewInit_WGL_NV_video_output (WGLEW_CONTEXT_ARG_DEF_INIT)
9660 GLboolean r = GL_FALSE;
9662 r = ((wglBindVideoImageNV = (PFNWGLBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoImageNV")) == NULL) || r;
9663 r = ((wglGetVideoDeviceNV = (PFNWGLGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoDeviceNV")) == NULL) || r;
9664 r = ((wglGetVideoInfoNV = (PFNWGLGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoInfoNV")) == NULL) || r;
9665 r = ((wglReleaseVideoDeviceNV = (PFNWGLRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoDeviceNV")) == NULL) || r;
9666 r = ((wglReleaseVideoImageNV = (PFNWGLRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoImageNV")) == NULL) || r;
9667 r = ((wglSendPbufferToVideoNV = (PFNWGLSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"wglSendPbufferToVideoNV")) == NULL) || r;
9669 return r;
9672 #endif /* WGL_NV_video_output */
9674 #ifdef WGL_OML_sync_control
9676 static GLboolean _glewInit_WGL_OML_sync_control (WGLEW_CONTEXT_ARG_DEF_INIT)
9678 GLboolean r = GL_FALSE;
9680 r = ((wglGetMscRateOML = (PFNWGLGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetMscRateOML")) == NULL) || r;
9681 r = ((wglGetSyncValuesOML = (PFNWGLGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetSyncValuesOML")) == NULL) || r;
9682 r = ((wglSwapBuffersMscOML = (PFNWGLSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapBuffersMscOML")) == NULL) || r;
9683 r = ((wglSwapLayerBuffersMscOML = (PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapLayerBuffersMscOML")) == NULL) || r;
9684 r = ((wglWaitForMscOML = (PFNWGLWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForMscOML")) == NULL) || r;
9685 r = ((wglWaitForSbcOML = (PFNWGLWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForSbcOML")) == NULL) || r;
9687 return r;
9690 #endif /* WGL_OML_sync_control */
9692 /* ------------------------------------------------------------------------- */
9694 static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL;
9695 static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;
9697 GLboolean wglewGetExtension (const char* name)
9699 GLubyte* p;
9700 GLubyte* end;
9701 GLuint len = _glewStrLen((const GLubyte*)name);
9702 if (_wglewGetExtensionsStringARB == NULL)
9703 if (_wglewGetExtensionsStringEXT == NULL)
9704 return GL_FALSE;
9705 else
9706 p = (GLubyte*)_wglewGetExtensionsStringEXT();
9707 else
9708 p = (GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC());
9709 if (0 == p) return GL_FALSE;
9710 end = p + _glewStrLen(p);
9711 while (p < end)
9713 GLuint n = _glewStrCLen(p, ' ');
9714 if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
9715 p += n+1;
9717 return GL_FALSE;
9720 GLenum wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST)
9722 GLboolean crippled;
9723 /* find wgl extension string query functions */
9724 _wglewGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB");
9725 _wglewGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT");
9726 /* initialize extensions */
9727 crippled = _wglewGetExtensionsStringARB == NULL && _wglewGetExtensionsStringEXT == NULL;
9728 #ifdef WGL_3DFX_multisample
9729 CONST_CAST(WGLEW_3DFX_multisample) = wglewGetExtension("WGL_3DFX_multisample");
9730 #endif /* WGL_3DFX_multisample */
9731 #ifdef WGL_3DL_stereo_control
9732 CONST_CAST(WGLEW_3DL_stereo_control) = wglewGetExtension("WGL_3DL_stereo_control");
9733 if (glewExperimental || WGLEW_3DL_stereo_control|| crippled) CONST_CAST(WGLEW_3DL_stereo_control)= !_glewInit_WGL_3DL_stereo_control(GLEW_CONTEXT_ARG_VAR_INIT);
9734 #endif /* WGL_3DL_stereo_control */
9735 #ifdef WGL_AMD_gpu_association
9736 CONST_CAST(WGLEW_AMD_gpu_association) = wglewGetExtension("WGL_AMD_gpu_association");
9737 if (glewExperimental || WGLEW_AMD_gpu_association|| crippled) CONST_CAST(WGLEW_AMD_gpu_association)= !_glewInit_WGL_AMD_gpu_association(GLEW_CONTEXT_ARG_VAR_INIT);
9738 #endif /* WGL_AMD_gpu_association */
9739 #ifdef WGL_ARB_buffer_region
9740 CONST_CAST(WGLEW_ARB_buffer_region) = wglewGetExtension("WGL_ARB_buffer_region");
9741 if (glewExperimental || WGLEW_ARB_buffer_region|| crippled) CONST_CAST(WGLEW_ARB_buffer_region)= !_glewInit_WGL_ARB_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT);
9742 #endif /* WGL_ARB_buffer_region */
9743 #ifdef WGL_ARB_create_context
9744 CONST_CAST(WGLEW_ARB_create_context) = wglewGetExtension("WGL_ARB_create_context");
9745 if (glewExperimental || WGLEW_ARB_create_context|| crippled) CONST_CAST(WGLEW_ARB_create_context)= !_glewInit_WGL_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT);
9746 #endif /* WGL_ARB_create_context */
9747 #ifdef WGL_ARB_create_context_profile
9748 CONST_CAST(WGLEW_ARB_create_context_profile) = wglewGetExtension("WGL_ARB_create_context_profile");
9749 #endif /* WGL_ARB_create_context_profile */
9750 #ifdef WGL_ARB_extensions_string
9751 CONST_CAST(WGLEW_ARB_extensions_string) = wglewGetExtension("WGL_ARB_extensions_string");
9752 if (glewExperimental || WGLEW_ARB_extensions_string|| crippled) CONST_CAST(WGLEW_ARB_extensions_string)= !_glewInit_WGL_ARB_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT);
9753 #endif /* WGL_ARB_extensions_string */
9754 #ifdef WGL_ARB_framebuffer_sRGB
9755 CONST_CAST(WGLEW_ARB_framebuffer_sRGB) = wglewGetExtension("WGL_ARB_framebuffer_sRGB");
9756 #endif /* WGL_ARB_framebuffer_sRGB */
9757 #ifdef WGL_ARB_make_current_read
9758 CONST_CAST(WGLEW_ARB_make_current_read) = wglewGetExtension("WGL_ARB_make_current_read");
9759 if (glewExperimental || WGLEW_ARB_make_current_read|| crippled) CONST_CAST(WGLEW_ARB_make_current_read)= !_glewInit_WGL_ARB_make_current_read(GLEW_CONTEXT_ARG_VAR_INIT);
9760 #endif /* WGL_ARB_make_current_read */
9761 #ifdef WGL_ARB_multisample
9762 CONST_CAST(WGLEW_ARB_multisample) = wglewGetExtension("WGL_ARB_multisample");
9763 #endif /* WGL_ARB_multisample */
9764 #ifdef WGL_ARB_pbuffer
9765 CONST_CAST(WGLEW_ARB_pbuffer) = wglewGetExtension("WGL_ARB_pbuffer");
9766 if (glewExperimental || WGLEW_ARB_pbuffer|| crippled) CONST_CAST(WGLEW_ARB_pbuffer)= !_glewInit_WGL_ARB_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
9767 #endif /* WGL_ARB_pbuffer */
9768 #ifdef WGL_ARB_pixel_format
9769 CONST_CAST(WGLEW_ARB_pixel_format) = wglewGetExtension("WGL_ARB_pixel_format");
9770 if (glewExperimental || WGLEW_ARB_pixel_format|| crippled) CONST_CAST(WGLEW_ARB_pixel_format)= !_glewInit_WGL_ARB_pixel_format(GLEW_CONTEXT_ARG_VAR_INIT);
9771 #endif /* WGL_ARB_pixel_format */
9772 #ifdef WGL_ARB_pixel_format_float
9773 CONST_CAST(WGLEW_ARB_pixel_format_float) = wglewGetExtension("WGL_ARB_pixel_format_float");
9774 #endif /* WGL_ARB_pixel_format_float */
9775 #ifdef WGL_ARB_render_texture
9776 CONST_CAST(WGLEW_ARB_render_texture) = wglewGetExtension("WGL_ARB_render_texture");
9777 if (glewExperimental || WGLEW_ARB_render_texture|| crippled) CONST_CAST(WGLEW_ARB_render_texture)= !_glewInit_WGL_ARB_render_texture(GLEW_CONTEXT_ARG_VAR_INIT);
9778 #endif /* WGL_ARB_render_texture */
9779 #ifdef WGL_ATI_pixel_format_float
9780 CONST_CAST(WGLEW_ATI_pixel_format_float) = wglewGetExtension("WGL_ATI_pixel_format_float");
9781 #endif /* WGL_ATI_pixel_format_float */
9782 #ifdef WGL_ATI_render_texture_rectangle
9783 CONST_CAST(WGLEW_ATI_render_texture_rectangle) = wglewGetExtension("WGL_ATI_render_texture_rectangle");
9784 #endif /* WGL_ATI_render_texture_rectangle */
9785 #ifdef WGL_EXT_depth_float
9786 CONST_CAST(WGLEW_EXT_depth_float) = wglewGetExtension("WGL_EXT_depth_float");
9787 #endif /* WGL_EXT_depth_float */
9788 #ifdef WGL_EXT_display_color_table
9789 CONST_CAST(WGLEW_EXT_display_color_table) = wglewGetExtension("WGL_EXT_display_color_table");
9790 if (glewExperimental || WGLEW_EXT_display_color_table|| crippled) CONST_CAST(WGLEW_EXT_display_color_table)= !_glewInit_WGL_EXT_display_color_table(GLEW_CONTEXT_ARG_VAR_INIT);
9791 #endif /* WGL_EXT_display_color_table */
9792 #ifdef WGL_EXT_extensions_string
9793 CONST_CAST(WGLEW_EXT_extensions_string) = wglewGetExtension("WGL_EXT_extensions_string");
9794 if (glewExperimental || WGLEW_EXT_extensions_string|| crippled) CONST_CAST(WGLEW_EXT_extensions_string)= !_glewInit_WGL_EXT_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT);
9795 #endif /* WGL_EXT_extensions_string */
9796 #ifdef WGL_EXT_framebuffer_sRGB
9797 CONST_CAST(WGLEW_EXT_framebuffer_sRGB) = wglewGetExtension("WGL_EXT_framebuffer_sRGB");
9798 #endif /* WGL_EXT_framebuffer_sRGB */
9799 #ifdef WGL_EXT_make_current_read
9800 CONST_CAST(WGLEW_EXT_make_current_read) = wglewGetExtension("WGL_EXT_make_current_read");
9801 if (glewExperimental || WGLEW_EXT_make_current_read|| crippled) CONST_CAST(WGLEW_EXT_make_current_read)= !_glewInit_WGL_EXT_make_current_read(GLEW_CONTEXT_ARG_VAR_INIT);
9802 #endif /* WGL_EXT_make_current_read */
9803 #ifdef WGL_EXT_multisample
9804 CONST_CAST(WGLEW_EXT_multisample) = wglewGetExtension("WGL_EXT_multisample");
9805 #endif /* WGL_EXT_multisample */
9806 #ifdef WGL_EXT_pbuffer
9807 CONST_CAST(WGLEW_EXT_pbuffer) = wglewGetExtension("WGL_EXT_pbuffer");
9808 if (glewExperimental || WGLEW_EXT_pbuffer|| crippled) CONST_CAST(WGLEW_EXT_pbuffer)= !_glewInit_WGL_EXT_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
9809 #endif /* WGL_EXT_pbuffer */
9810 #ifdef WGL_EXT_pixel_format
9811 CONST_CAST(WGLEW_EXT_pixel_format) = wglewGetExtension("WGL_EXT_pixel_format");
9812 if (glewExperimental || WGLEW_EXT_pixel_format|| crippled) CONST_CAST(WGLEW_EXT_pixel_format)= !_glewInit_WGL_EXT_pixel_format(GLEW_CONTEXT_ARG_VAR_INIT);
9813 #endif /* WGL_EXT_pixel_format */
9814 #ifdef WGL_EXT_pixel_format_packed_float
9815 CONST_CAST(WGLEW_EXT_pixel_format_packed_float) = wglewGetExtension("WGL_EXT_pixel_format_packed_float");
9816 #endif /* WGL_EXT_pixel_format_packed_float */
9817 #ifdef WGL_EXT_swap_control
9818 CONST_CAST(WGLEW_EXT_swap_control) = wglewGetExtension("WGL_EXT_swap_control");
9819 if (glewExperimental || WGLEW_EXT_swap_control|| crippled) CONST_CAST(WGLEW_EXT_swap_control)= !_glewInit_WGL_EXT_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
9820 #endif /* WGL_EXT_swap_control */
9821 #ifdef WGL_I3D_digital_video_control
9822 CONST_CAST(WGLEW_I3D_digital_video_control) = wglewGetExtension("WGL_I3D_digital_video_control");
9823 if (glewExperimental || WGLEW_I3D_digital_video_control|| crippled) CONST_CAST(WGLEW_I3D_digital_video_control)= !_glewInit_WGL_I3D_digital_video_control(GLEW_CONTEXT_ARG_VAR_INIT);
9824 #endif /* WGL_I3D_digital_video_control */
9825 #ifdef WGL_I3D_gamma
9826 CONST_CAST(WGLEW_I3D_gamma) = wglewGetExtension("WGL_I3D_gamma");
9827 if (glewExperimental || WGLEW_I3D_gamma|| crippled) CONST_CAST(WGLEW_I3D_gamma)= !_glewInit_WGL_I3D_gamma(GLEW_CONTEXT_ARG_VAR_INIT);
9828 #endif /* WGL_I3D_gamma */
9829 #ifdef WGL_I3D_genlock
9830 CONST_CAST(WGLEW_I3D_genlock) = wglewGetExtension("WGL_I3D_genlock");
9831 if (glewExperimental || WGLEW_I3D_genlock|| crippled) CONST_CAST(WGLEW_I3D_genlock)= !_glewInit_WGL_I3D_genlock(GLEW_CONTEXT_ARG_VAR_INIT);
9832 #endif /* WGL_I3D_genlock */
9833 #ifdef WGL_I3D_image_buffer
9834 CONST_CAST(WGLEW_I3D_image_buffer) = wglewGetExtension("WGL_I3D_image_buffer");
9835 if (glewExperimental || WGLEW_I3D_image_buffer|| crippled) CONST_CAST(WGLEW_I3D_image_buffer)= !_glewInit_WGL_I3D_image_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
9836 #endif /* WGL_I3D_image_buffer */
9837 #ifdef WGL_I3D_swap_frame_lock
9838 CONST_CAST(WGLEW_I3D_swap_frame_lock) = wglewGetExtension("WGL_I3D_swap_frame_lock");
9839 if (glewExperimental || WGLEW_I3D_swap_frame_lock|| crippled) CONST_CAST(WGLEW_I3D_swap_frame_lock)= !_glewInit_WGL_I3D_swap_frame_lock(GLEW_CONTEXT_ARG_VAR_INIT);
9840 #endif /* WGL_I3D_swap_frame_lock */
9841 #ifdef WGL_I3D_swap_frame_usage
9842 CONST_CAST(WGLEW_I3D_swap_frame_usage) = wglewGetExtension("WGL_I3D_swap_frame_usage");
9843 if (glewExperimental || WGLEW_I3D_swap_frame_usage|| crippled) CONST_CAST(WGLEW_I3D_swap_frame_usage)= !_glewInit_WGL_I3D_swap_frame_usage(GLEW_CONTEXT_ARG_VAR_INIT);
9844 #endif /* WGL_I3D_swap_frame_usage */
9845 #ifdef WGL_NV_copy_image
9846 CONST_CAST(WGLEW_NV_copy_image) = wglewGetExtension("WGL_NV_copy_image");
9847 if (glewExperimental || WGLEW_NV_copy_image|| crippled) CONST_CAST(WGLEW_NV_copy_image)= !_glewInit_WGL_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
9848 #endif /* WGL_NV_copy_image */
9849 #ifdef WGL_NV_float_buffer
9850 CONST_CAST(WGLEW_NV_float_buffer) = wglewGetExtension("WGL_NV_float_buffer");
9851 #endif /* WGL_NV_float_buffer */
9852 #ifdef WGL_NV_gpu_affinity
9853 CONST_CAST(WGLEW_NV_gpu_affinity) = wglewGetExtension("WGL_NV_gpu_affinity");
9854 if (glewExperimental || WGLEW_NV_gpu_affinity|| crippled) CONST_CAST(WGLEW_NV_gpu_affinity)= !_glewInit_WGL_NV_gpu_affinity(GLEW_CONTEXT_ARG_VAR_INIT);
9855 #endif /* WGL_NV_gpu_affinity */
9856 #ifdef WGL_NV_multisample_coverage
9857 CONST_CAST(WGLEW_NV_multisample_coverage) = wglewGetExtension("WGL_NV_multisample_coverage");
9858 #endif /* WGL_NV_multisample_coverage */
9859 #ifdef WGL_NV_present_video
9860 CONST_CAST(WGLEW_NV_present_video) = wglewGetExtension("WGL_NV_present_video");
9861 if (glewExperimental || WGLEW_NV_present_video|| crippled) CONST_CAST(WGLEW_NV_present_video)= !_glewInit_WGL_NV_present_video(GLEW_CONTEXT_ARG_VAR_INIT);
9862 #endif /* WGL_NV_present_video */
9863 #ifdef WGL_NV_render_depth_texture
9864 CONST_CAST(WGLEW_NV_render_depth_texture) = wglewGetExtension("WGL_NV_render_depth_texture");
9865 #endif /* WGL_NV_render_depth_texture */
9866 #ifdef WGL_NV_render_texture_rectangle
9867 CONST_CAST(WGLEW_NV_render_texture_rectangle) = wglewGetExtension("WGL_NV_render_texture_rectangle");
9868 #endif /* WGL_NV_render_texture_rectangle */
9869 #ifdef WGL_NV_swap_group
9870 CONST_CAST(WGLEW_NV_swap_group) = wglewGetExtension("WGL_NV_swap_group");
9871 if (glewExperimental || WGLEW_NV_swap_group|| crippled) CONST_CAST(WGLEW_NV_swap_group)= !_glewInit_WGL_NV_swap_group(GLEW_CONTEXT_ARG_VAR_INIT);
9872 #endif /* WGL_NV_swap_group */
9873 #ifdef WGL_NV_vertex_array_range
9874 CONST_CAST(WGLEW_NV_vertex_array_range) = wglewGetExtension("WGL_NV_vertex_array_range");
9875 if (glewExperimental || WGLEW_NV_vertex_array_range|| crippled) CONST_CAST(WGLEW_NV_vertex_array_range)= !_glewInit_WGL_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
9876 #endif /* WGL_NV_vertex_array_range */
9877 #ifdef WGL_NV_video_output
9878 CONST_CAST(WGLEW_NV_video_output) = wglewGetExtension("WGL_NV_video_output");
9879 if (glewExperimental || WGLEW_NV_video_output|| crippled) CONST_CAST(WGLEW_NV_video_output)= !_glewInit_WGL_NV_video_output(GLEW_CONTEXT_ARG_VAR_INIT);
9880 #endif /* WGL_NV_video_output */
9881 #ifdef WGL_OML_sync_control
9882 CONST_CAST(WGLEW_OML_sync_control) = wglewGetExtension("WGL_OML_sync_control");
9883 if (glewExperimental || WGLEW_OML_sync_control|| crippled) CONST_CAST(WGLEW_OML_sync_control)= !_glewInit_WGL_OML_sync_control(GLEW_CONTEXT_ARG_VAR_INIT);
9884 #endif /* WGL_OML_sync_control */
9886 return GLEW_OK;
9889 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
9891 PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay = NULL;
9893 PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig = NULL;
9894 PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext = NULL;
9895 PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer = NULL;
9896 PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap = NULL;
9897 PFNGLXCREATEWINDOWPROC __glewXCreateWindow = NULL;
9898 PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer = NULL;
9899 PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap = NULL;
9900 PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow = NULL;
9901 PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable = NULL;
9902 PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib = NULL;
9903 PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs = NULL;
9904 PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent = NULL;
9905 PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig = NULL;
9906 PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent = NULL;
9907 PFNGLXQUERYCONTEXTPROC __glewXQueryContext = NULL;
9908 PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable = NULL;
9909 PFNGLXSELECTEVENTPROC __glewXSelectEvent = NULL;
9911 PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB = NULL;
9913 PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI = NULL;
9914 PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI = NULL;
9915 PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI = NULL;
9917 PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT = NULL;
9918 PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT = NULL;
9919 PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT = NULL;
9920 PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT = NULL;
9922 PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT = NULL;
9924 PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT = NULL;
9925 PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT = NULL;
9927 PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA = NULL;
9929 PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA = NULL;
9931 PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA = NULL;
9933 PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA = NULL;
9935 PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA = NULL;
9937 PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV = NULL;
9939 PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV = NULL;
9940 PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV = NULL;
9942 PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV = NULL;
9943 PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV = NULL;
9944 PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV = NULL;
9945 PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV = NULL;
9946 PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV = NULL;
9947 PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV = NULL;
9949 PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV = NULL;
9950 PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV = NULL;
9952 PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV = NULL;
9953 PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV = NULL;
9954 PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV = NULL;
9955 PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV = NULL;
9956 PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV = NULL;
9957 PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV = NULL;
9959 #ifdef GLX_OML_sync_control
9960 PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML = NULL;
9961 PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML = NULL;
9962 PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML = NULL;
9963 PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML = NULL;
9964 PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML = NULL;
9965 #endif
9967 PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX = NULL;
9968 PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX = NULL;
9969 PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX = NULL;
9970 PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX = NULL;
9971 PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX = NULL;
9972 PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX = NULL;
9974 PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX = NULL;
9975 PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX = NULL;
9976 PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX = NULL;
9977 PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX = NULL;
9978 PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX = NULL;
9979 PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX = NULL;
9980 PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX = NULL;
9981 PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX = NULL;
9983 PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX = NULL;
9984 PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX = NULL;
9985 PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX = NULL;
9986 PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX = NULL;
9987 PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX = NULL;
9989 PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX = NULL;
9990 PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX = NULL;
9992 PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX = NULL;
9994 PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX = NULL;
9995 PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX = NULL;
9996 PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX = NULL;
9997 PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX = NULL;
9998 PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX = NULL;
10000 PFNGLXCUSHIONSGIPROC __glewXCushionSGI = NULL;
10002 PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI = NULL;
10003 PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI = NULL;
10005 PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI = NULL;
10007 PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI = NULL;
10008 PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI = NULL;
10010 PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN = NULL;
10012 PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN = NULL;
10013 PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN = NULL;
10015 #if !defined(GLEW_MX)
10017 GLboolean __GLXEW_VERSION_1_0 = GL_FALSE;
10018 GLboolean __GLXEW_VERSION_1_1 = GL_FALSE;
10019 GLboolean __GLXEW_VERSION_1_2 = GL_FALSE;
10020 GLboolean __GLXEW_VERSION_1_3 = GL_FALSE;
10021 GLboolean __GLXEW_VERSION_1_4 = GL_FALSE;
10022 GLboolean __GLXEW_3DFX_multisample = GL_FALSE;
10023 GLboolean __GLXEW_AMD_gpu_association = GL_FALSE;
10024 GLboolean __GLXEW_ARB_create_context = GL_FALSE;
10025 GLboolean __GLXEW_ARB_create_context_profile = GL_FALSE;
10026 GLboolean __GLXEW_ARB_fbconfig_float = GL_FALSE;
10027 GLboolean __GLXEW_ARB_framebuffer_sRGB = GL_FALSE;
10028 GLboolean __GLXEW_ARB_get_proc_address = GL_FALSE;
10029 GLboolean __GLXEW_ARB_multisample = GL_FALSE;
10030 GLboolean __GLXEW_ARB_vertex_buffer_object = GL_FALSE;
10031 GLboolean __GLXEW_ATI_pixel_format_float = GL_FALSE;
10032 GLboolean __GLXEW_ATI_render_texture = GL_FALSE;
10033 GLboolean __GLXEW_EXT_fbconfig_packed_float = GL_FALSE;
10034 GLboolean __GLXEW_EXT_framebuffer_sRGB = GL_FALSE;
10035 GLboolean __GLXEW_EXT_import_context = GL_FALSE;
10036 GLboolean __GLXEW_EXT_scene_marker = GL_FALSE;
10037 GLboolean __GLXEW_EXT_swap_control = GL_FALSE;
10038 GLboolean __GLXEW_EXT_texture_from_pixmap = GL_FALSE;
10039 GLboolean __GLXEW_EXT_visual_info = GL_FALSE;
10040 GLboolean __GLXEW_EXT_visual_rating = GL_FALSE;
10041 GLboolean __GLXEW_INTEL_swap_event = GL_FALSE;
10042 GLboolean __GLXEW_MESA_agp_offset = GL_FALSE;
10043 GLboolean __GLXEW_MESA_copy_sub_buffer = GL_FALSE;
10044 GLboolean __GLXEW_MESA_pixmap_colormap = GL_FALSE;
10045 GLboolean __GLXEW_MESA_release_buffers = GL_FALSE;
10046 GLboolean __GLXEW_MESA_set_3dfx_mode = GL_FALSE;
10047 GLboolean __GLXEW_NV_copy_image = GL_FALSE;
10048 GLboolean __GLXEW_NV_float_buffer = GL_FALSE;
10049 GLboolean __GLXEW_NV_multisample_coverage = GL_FALSE;
10050 GLboolean __GLXEW_NV_present_video = GL_FALSE;
10051 GLboolean __GLXEW_NV_swap_group = GL_FALSE;
10052 GLboolean __GLXEW_NV_vertex_array_range = GL_FALSE;
10053 GLboolean __GLXEW_NV_video_output = GL_FALSE;
10054 GLboolean __GLXEW_OML_swap_method = GL_FALSE;
10055 #ifdef GLX_OML_sync_control
10056 GLboolean __GLXEW_OML_sync_control = GL_FALSE;
10057 #endif
10058 GLboolean __GLXEW_SGIS_blended_overlay = GL_FALSE;
10059 GLboolean __GLXEW_SGIS_color_range = GL_FALSE;
10060 GLboolean __GLXEW_SGIS_multisample = GL_FALSE;
10061 GLboolean __GLXEW_SGIS_shared_multisample = GL_FALSE;
10062 GLboolean __GLXEW_SGIX_fbconfig = GL_FALSE;
10063 GLboolean __GLXEW_SGIX_hyperpipe = GL_FALSE;
10064 GLboolean __GLXEW_SGIX_pbuffer = GL_FALSE;
10065 GLboolean __GLXEW_SGIX_swap_barrier = GL_FALSE;
10066 GLboolean __GLXEW_SGIX_swap_group = GL_FALSE;
10067 GLboolean __GLXEW_SGIX_video_resize = GL_FALSE;
10068 GLboolean __GLXEW_SGIX_visual_select_group = GL_FALSE;
10069 GLboolean __GLXEW_SGI_cushion = GL_FALSE;
10070 GLboolean __GLXEW_SGI_make_current_read = GL_FALSE;
10071 GLboolean __GLXEW_SGI_swap_control = GL_FALSE;
10072 GLboolean __GLXEW_SGI_video_sync = GL_FALSE;
10073 GLboolean __GLXEW_SUN_get_transparent_index = GL_FALSE;
10074 GLboolean __GLXEW_SUN_video_resize = GL_FALSE;
10076 #endif /* !GLEW_MX */
10078 #ifdef GLX_VERSION_1_2
10080 static GLboolean _glewInit_GLX_VERSION_1_2 (GLXEW_CONTEXT_ARG_DEF_INIT)
10082 GLboolean r = GL_FALSE;
10084 r = ((glXGetCurrentDisplay = (PFNGLXGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentDisplay")) == NULL) || r;
10086 return r;
10089 #endif /* GLX_VERSION_1_2 */
10091 #ifdef GLX_VERSION_1_3
10093 static GLboolean _glewInit_GLX_VERSION_1_3 (GLXEW_CONTEXT_ARG_DEF_INIT)
10095 GLboolean r = GL_FALSE;
10097 r = ((glXChooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfig")) == NULL) || r;
10098 r = ((glXCreateNewContext = (PFNGLXCREATENEWCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXCreateNewContext")) == NULL) || r;
10099 r = ((glXCreatePbuffer = (PFNGLXCREATEPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXCreatePbuffer")) == NULL) || r;
10100 r = ((glXCreatePixmap = (PFNGLXCREATEPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXCreatePixmap")) == NULL) || r;
10101 r = ((glXCreateWindow = (PFNGLXCREATEWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXCreateWindow")) == NULL) || r;
10102 r = ((glXDestroyPbuffer = (PFNGLXDESTROYPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPbuffer")) == NULL) || r;
10103 r = ((glXDestroyPixmap = (PFNGLXDESTROYPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPixmap")) == NULL) || r;
10104 r = ((glXDestroyWindow = (PFNGLXDESTROYWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXDestroyWindow")) == NULL) || r;
10105 r = ((glXGetCurrentReadDrawable = (PFNGLXGETCURRENTREADDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawable")) == NULL) || r;
10106 r = ((glXGetFBConfigAttrib = (PFNGLXGETFBCONFIGATTRIBPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttrib")) == NULL) || r;
10107 r = ((glXGetFBConfigs = (PFNGLXGETFBCONFIGSPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigs")) == NULL) || r;
10108 r = ((glXGetSelectedEvent = (PFNGLXGETSELECTEDEVENTPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEvent")) == NULL) || r;
10109 r = ((glXGetVisualFromFBConfig = (PFNGLXGETVISUALFROMFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfig")) == NULL) || r;
10110 r = ((glXMakeContextCurrent = (PFNGLXMAKECONTEXTCURRENTPROC)glewGetProcAddress((const GLubyte*)"glXMakeContextCurrent")) == NULL) || r;
10111 r = ((glXQueryContext = (PFNGLXQUERYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContext")) == NULL) || r;
10112 r = ((glXQueryDrawable = (PFNGLXQUERYDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXQueryDrawable")) == NULL) || r;
10113 r = ((glXSelectEvent = (PFNGLXSELECTEVENTPROC)glewGetProcAddress((const GLubyte*)"glXSelectEvent")) == NULL) || r;
10115 return r;
10118 #endif /* GLX_VERSION_1_3 */
10120 #ifdef GLX_VERSION_1_4
10122 #endif /* GLX_VERSION_1_4 */
10124 #ifdef GLX_3DFX_multisample
10126 #endif /* GLX_3DFX_multisample */
10128 #ifdef GLX_AMD_gpu_association
10130 #endif /* GLX_AMD_gpu_association */
10132 #ifdef GLX_ARB_create_context
10134 static GLboolean _glewInit_GLX_ARB_create_context (GLXEW_CONTEXT_ARG_DEF_INIT)
10136 GLboolean r = GL_FALSE;
10138 r = ((glXCreateContextAttribsARB = (PFNGLXCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextAttribsARB")) == NULL) || r;
10140 return r;
10143 #endif /* GLX_ARB_create_context */
10145 #ifdef GLX_ARB_create_context_profile
10147 #endif /* GLX_ARB_create_context_profile */
10149 #ifdef GLX_ARB_fbconfig_float
10151 #endif /* GLX_ARB_fbconfig_float */
10153 #ifdef GLX_ARB_framebuffer_sRGB
10155 #endif /* GLX_ARB_framebuffer_sRGB */
10157 #ifdef GLX_ARB_get_proc_address
10159 #endif /* GLX_ARB_get_proc_address */
10161 #ifdef GLX_ARB_multisample
10163 #endif /* GLX_ARB_multisample */
10165 #ifdef GLX_ARB_vertex_buffer_object
10167 #endif /* GLX_ARB_vertex_buffer_object */
10169 #ifdef GLX_ATI_pixel_format_float
10171 #endif /* GLX_ATI_pixel_format_float */
10173 #ifdef GLX_ATI_render_texture
10175 static GLboolean _glewInit_GLX_ATI_render_texture (GLXEW_CONTEXT_ARG_DEF_INIT)
10177 GLboolean r = GL_FALSE;
10179 r = ((glXBindTexImageATI = (PFNGLXBINDTEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageATI")) == NULL) || r;
10180 r = ((glXDrawableAttribATI = (PFNGLXDRAWABLEATTRIBATIPROC)glewGetProcAddress((const GLubyte*)"glXDrawableAttribATI")) == NULL) || r;
10181 r = ((glXReleaseTexImageATI = (PFNGLXRELEASETEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageATI")) == NULL) || r;
10183 return r;
10186 #endif /* GLX_ATI_render_texture */
10188 #ifdef GLX_EXT_fbconfig_packed_float
10190 #endif /* GLX_EXT_fbconfig_packed_float */
10192 #ifdef GLX_EXT_framebuffer_sRGB
10194 #endif /* GLX_EXT_framebuffer_sRGB */
10196 #ifdef GLX_EXT_import_context
10198 static GLboolean _glewInit_GLX_EXT_import_context (GLXEW_CONTEXT_ARG_DEF_INIT)
10200 GLboolean r = GL_FALSE;
10202 r = ((glXFreeContextEXT = (PFNGLXFREECONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXFreeContextEXT")) == NULL) || r;
10203 r = ((glXGetContextIDEXT = (PFNGLXGETCONTEXTIDEXTPROC)glewGetProcAddress((const GLubyte*)"glXGetContextIDEXT")) == NULL) || r;
10204 r = ((glXImportContextEXT = (PFNGLXIMPORTCONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXImportContextEXT")) == NULL) || r;
10205 r = ((glXQueryContextInfoEXT = (PFNGLXQUERYCONTEXTINFOEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContextInfoEXT")) == NULL) || r;
10207 return r;
10210 #endif /* GLX_EXT_import_context */
10212 #ifdef GLX_EXT_scene_marker
10214 #endif /* GLX_EXT_scene_marker */
10216 #ifdef GLX_EXT_swap_control
10218 static GLboolean _glewInit_GLX_EXT_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT)
10220 GLboolean r = GL_FALSE;
10222 r = ((glXSwapIntervalEXT = (PFNGLXSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalEXT")) == NULL) || r;
10224 return r;
10227 #endif /* GLX_EXT_swap_control */
10229 #ifdef GLX_EXT_texture_from_pixmap
10231 static GLboolean _glewInit_GLX_EXT_texture_from_pixmap (GLXEW_CONTEXT_ARG_DEF_INIT)
10233 GLboolean r = GL_FALSE;
10235 r = ((glXBindTexImageEXT = (PFNGLXBINDTEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageEXT")) == NULL) || r;
10236 r = ((glXReleaseTexImageEXT = (PFNGLXRELEASETEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageEXT")) == NULL) || r;
10238 return r;
10241 #endif /* GLX_EXT_texture_from_pixmap */
10243 #ifdef GLX_EXT_visual_info
10245 #endif /* GLX_EXT_visual_info */
10247 #ifdef GLX_EXT_visual_rating
10249 #endif /* GLX_EXT_visual_rating */
10251 #ifdef GLX_INTEL_swap_event
10253 #endif /* GLX_INTEL_swap_event */
10255 #ifdef GLX_MESA_agp_offset
10257 static GLboolean _glewInit_GLX_MESA_agp_offset (GLXEW_CONTEXT_ARG_DEF_INIT)
10259 GLboolean r = GL_FALSE;
10261 r = ((glXGetAGPOffsetMESA = (PFNGLXGETAGPOFFSETMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetAGPOffsetMESA")) == NULL) || r;
10263 return r;
10266 #endif /* GLX_MESA_agp_offset */
10268 #ifdef GLX_MESA_copy_sub_buffer
10270 static GLboolean _glewInit_GLX_MESA_copy_sub_buffer (GLXEW_CONTEXT_ARG_DEF_INIT)
10272 GLboolean r = GL_FALSE;
10274 r = ((glXCopySubBufferMESA = (PFNGLXCOPYSUBBUFFERMESAPROC)glewGetProcAddress((const GLubyte*)"glXCopySubBufferMESA")) == NULL) || r;
10276 return r;
10279 #endif /* GLX_MESA_copy_sub_buffer */
10281 #ifdef GLX_MESA_pixmap_colormap
10283 static GLboolean _glewInit_GLX_MESA_pixmap_colormap (GLXEW_CONTEXT_ARG_DEF_INIT)
10285 GLboolean r = GL_FALSE;
10287 r = ((glXCreateGLXPixmapMESA = (PFNGLXCREATEGLXPIXMAPMESAPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapMESA")) == NULL) || r;
10289 return r;
10292 #endif /* GLX_MESA_pixmap_colormap */
10294 #ifdef GLX_MESA_release_buffers
10296 static GLboolean _glewInit_GLX_MESA_release_buffers (GLXEW_CONTEXT_ARG_DEF_INIT)
10298 GLboolean r = GL_FALSE;
10300 r = ((glXReleaseBuffersMESA = (PFNGLXRELEASEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glXReleaseBuffersMESA")) == NULL) || r;
10302 return r;
10305 #endif /* GLX_MESA_release_buffers */
10307 #ifdef GLX_MESA_set_3dfx_mode
10309 static GLboolean _glewInit_GLX_MESA_set_3dfx_mode (GLXEW_CONTEXT_ARG_DEF_INIT)
10311 GLboolean r = GL_FALSE;
10313 r = ((glXSet3DfxModeMESA = (PFNGLXSET3DFXMODEMESAPROC)glewGetProcAddress((const GLubyte*)"glXSet3DfxModeMESA")) == NULL) || r;
10315 return r;
10318 #endif /* GLX_MESA_set_3dfx_mode */
10320 #ifdef GLX_NV_copy_image
10322 static GLboolean _glewInit_GLX_NV_copy_image (GLXEW_CONTEXT_ARG_DEF_INIT)
10324 GLboolean r = GL_FALSE;
10326 r = ((glXCopyImageSubDataNV = (PFNGLXCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXCopyImageSubDataNV")) == NULL) || r;
10328 return r;
10331 #endif /* GLX_NV_copy_image */
10333 #ifdef GLX_NV_float_buffer
10335 #endif /* GLX_NV_float_buffer */
10337 #ifdef GLX_NV_multisample_coverage
10339 #endif /* GLX_NV_multisample_coverage */
10341 #ifdef GLX_NV_present_video
10343 static GLboolean _glewInit_GLX_NV_present_video (GLXEW_CONTEXT_ARG_DEF_INIT)
10345 GLboolean r = GL_FALSE;
10347 r = ((glXBindVideoDeviceNV = (PFNGLXBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoDeviceNV")) == NULL) || r;
10348 r = ((glXEnumerateVideoDevicesNV = (PFNGLXENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"glXEnumerateVideoDevicesNV")) == NULL) || r;
10350 return r;
10353 #endif /* GLX_NV_present_video */
10355 #ifdef GLX_NV_swap_group
10357 static GLboolean _glewInit_GLX_NV_swap_group (GLXEW_CONTEXT_ARG_DEF_INIT)
10359 GLboolean r = GL_FALSE;
10361 r = ((glXBindSwapBarrierNV = (PFNGLXBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierNV")) == NULL) || r;
10362 r = ((glXJoinSwapGroupNV = (PFNGLXJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupNV")) == NULL) || r;
10363 r = ((glXQueryFrameCountNV = (PFNGLXQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryFrameCountNV")) == NULL) || r;
10364 r = ((glXQueryMaxSwapGroupsNV = (PFNGLXQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapGroupsNV")) == NULL) || r;
10365 r = ((glXQuerySwapGroupNV = (PFNGLXQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXQuerySwapGroupNV")) == NULL) || r;
10366 r = ((glXResetFrameCountNV = (PFNGLXRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXResetFrameCountNV")) == NULL) || r;
10368 return r;
10371 #endif /* GLX_NV_swap_group */
10373 #ifdef GLX_NV_vertex_array_range
10375 static GLboolean _glewInit_GLX_NV_vertex_array_range (GLXEW_CONTEXT_ARG_DEF_INIT)
10377 GLboolean r = GL_FALSE;
10379 r = ((glXAllocateMemoryNV = (PFNGLXALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXAllocateMemoryNV")) == NULL) || r;
10380 r = ((glXFreeMemoryNV = (PFNGLXFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXFreeMemoryNV")) == NULL) || r;
10382 return r;
10385 #endif /* GLX_NV_vertex_array_range */
10387 #ifdef GLX_NV_video_output
10389 static GLboolean _glewInit_GLX_NV_video_output (GLXEW_CONTEXT_ARG_DEF_INIT)
10391 GLboolean r = GL_FALSE;
10393 r = ((glXBindVideoImageNV = (PFNGLXBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoImageNV")) == NULL) || r;
10394 r = ((glXGetVideoDeviceNV = (PFNGLXGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoDeviceNV")) == NULL) || r;
10395 r = ((glXGetVideoInfoNV = (PFNGLXGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoInfoNV")) == NULL) || r;
10396 r = ((glXReleaseVideoDeviceNV = (PFNGLXRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoDeviceNV")) == NULL) || r;
10397 r = ((glXReleaseVideoImageNV = (PFNGLXRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoImageNV")) == NULL) || r;
10398 r = ((glXSendPbufferToVideoNV = (PFNGLXSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"glXSendPbufferToVideoNV")) == NULL) || r;
10400 return r;
10403 #endif /* GLX_NV_video_output */
10405 #ifdef GLX_OML_swap_method
10407 #endif /* GLX_OML_swap_method */
10409 #if defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
10410 #include <inttypes.h>
10412 static GLboolean _glewInit_GLX_OML_sync_control (GLXEW_CONTEXT_ARG_DEF_INIT)
10414 GLboolean r = GL_FALSE;
10416 r = ((glXGetMscRateOML = (PFNGLXGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetMscRateOML")) == NULL) || r;
10417 r = ((glXGetSyncValuesOML = (PFNGLXGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetSyncValuesOML")) == NULL) || r;
10418 r = ((glXSwapBuffersMscOML = (PFNGLXSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXSwapBuffersMscOML")) == NULL) || r;
10419 r = ((glXWaitForMscOML = (PFNGLXWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForMscOML")) == NULL) || r;
10420 r = ((glXWaitForSbcOML = (PFNGLXWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForSbcOML")) == NULL) || r;
10422 return r;
10425 #endif /* GLX_OML_sync_control */
10427 #ifdef GLX_SGIS_blended_overlay
10429 #endif /* GLX_SGIS_blended_overlay */
10431 #ifdef GLX_SGIS_color_range
10433 #endif /* GLX_SGIS_color_range */
10435 #ifdef GLX_SGIS_multisample
10437 #endif /* GLX_SGIS_multisample */
10439 #ifdef GLX_SGIS_shared_multisample
10441 #endif /* GLX_SGIS_shared_multisample */
10443 #ifdef GLX_SGIX_fbconfig
10445 static GLboolean _glewInit_GLX_SGIX_fbconfig (GLXEW_CONTEXT_ARG_DEF_INIT)
10447 GLboolean r = GL_FALSE;
10449 r = ((glXChooseFBConfigSGIX = (PFNGLXCHOOSEFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfigSGIX")) == NULL) || r;
10450 r = ((glXCreateContextWithConfigSGIX = (PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextWithConfigSGIX")) == NULL) || r;
10451 r = ((glXCreateGLXPixmapWithConfigSGIX = (PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapWithConfigSGIX")) == NULL) || r;
10452 r = ((glXGetFBConfigAttribSGIX = (PFNGLXGETFBCONFIGATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttribSGIX")) == NULL) || r;
10453 r = ((glXGetFBConfigFromVisualSGIX = (PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigFromVisualSGIX")) == NULL) || r;
10454 r = ((glXGetVisualFromFBConfigSGIX = (PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfigSGIX")) == NULL) || r;
10456 return r;
10459 #endif /* GLX_SGIX_fbconfig */
10461 #ifdef GLX_SGIX_hyperpipe
10463 static GLboolean _glewInit_GLX_SGIX_hyperpipe (GLXEW_CONTEXT_ARG_DEF_INIT)
10465 GLboolean r = GL_FALSE;
10467 r = ((glXBindHyperpipeSGIX = (PFNGLXBINDHYPERPIPESGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindHyperpipeSGIX")) == NULL) || r;
10468 r = ((glXDestroyHyperpipeConfigSGIX = (PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyHyperpipeConfigSGIX")) == NULL) || r;
10469 r = ((glXHyperpipeAttribSGIX = (PFNGLXHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeAttribSGIX")) == NULL) || r;
10470 r = ((glXHyperpipeConfigSGIX = (PFNGLXHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeConfigSGIX")) == NULL) || r;
10471 r = ((glXQueryHyperpipeAttribSGIX = (PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeAttribSGIX")) == NULL) || r;
10472 r = ((glXQueryHyperpipeBestAttribSGIX = (PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeBestAttribSGIX")) == NULL) || r;
10473 r = ((glXQueryHyperpipeConfigSGIX = (PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeConfigSGIX")) == NULL) || r;
10474 r = ((glXQueryHyperpipeNetworkSGIX = (PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeNetworkSGIX")) == NULL) || r;
10476 return r;
10479 #endif /* GLX_SGIX_hyperpipe */
10481 #ifdef GLX_SGIX_pbuffer
10483 static GLboolean _glewInit_GLX_SGIX_pbuffer (GLXEW_CONTEXT_ARG_DEF_INIT)
10485 GLboolean r = GL_FALSE;
10487 r = ((glXCreateGLXPbufferSGIX = (PFNGLXCREATEGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPbufferSGIX")) == NULL) || r;
10488 r = ((glXDestroyGLXPbufferSGIX = (PFNGLXDESTROYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyGLXPbufferSGIX")) == NULL) || r;
10489 r = ((glXGetSelectedEventSGIX = (PFNGLXGETSELECTEDEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEventSGIX")) == NULL) || r;
10490 r = ((glXQueryGLXPbufferSGIX = (PFNGLXQUERYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryGLXPbufferSGIX")) == NULL) || r;
10491 r = ((glXSelectEventSGIX = (PFNGLXSELECTEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXSelectEventSGIX")) == NULL) || r;
10493 return r;
10496 #endif /* GLX_SGIX_pbuffer */
10498 #ifdef GLX_SGIX_swap_barrier
10500 static GLboolean _glewInit_GLX_SGIX_swap_barrier (GLXEW_CONTEXT_ARG_DEF_INIT)
10502 GLboolean r = GL_FALSE;
10504 r = ((glXBindSwapBarrierSGIX = (PFNGLXBINDSWAPBARRIERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierSGIX")) == NULL) || r;
10505 r = ((glXQueryMaxSwapBarriersSGIX = (PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapBarriersSGIX")) == NULL) || r;
10507 return r;
10510 #endif /* GLX_SGIX_swap_barrier */
10512 #ifdef GLX_SGIX_swap_group
10514 static GLboolean _glewInit_GLX_SGIX_swap_group (GLXEW_CONTEXT_ARG_DEF_INIT)
10516 GLboolean r = GL_FALSE;
10518 r = ((glXJoinSwapGroupSGIX = (PFNGLXJOINSWAPGROUPSGIXPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupSGIX")) == NULL) || r;
10520 return r;
10523 #endif /* GLX_SGIX_swap_group */
10525 #ifdef GLX_SGIX_video_resize
10527 static GLboolean _glewInit_GLX_SGIX_video_resize (GLXEW_CONTEXT_ARG_DEF_INIT)
10529 GLboolean r = GL_FALSE;
10531 r = ((glXBindChannelToWindowSGIX = (PFNGLXBINDCHANNELTOWINDOWSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindChannelToWindowSGIX")) == NULL) || r;
10532 r = ((glXChannelRectSGIX = (PFNGLXCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSGIX")) == NULL) || r;
10533 r = ((glXChannelRectSyncSGIX = (PFNGLXCHANNELRECTSYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSyncSGIX")) == NULL) || r;
10534 r = ((glXQueryChannelDeltasSGIX = (PFNGLXQUERYCHANNELDELTASSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelDeltasSGIX")) == NULL) || r;
10535 r = ((glXQueryChannelRectSGIX = (PFNGLXQUERYCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelRectSGIX")) == NULL) || r;
10537 return r;
10540 #endif /* GLX_SGIX_video_resize */
10542 #ifdef GLX_SGIX_visual_select_group
10544 #endif /* GLX_SGIX_visual_select_group */
10546 #ifdef GLX_SGI_cushion
10548 static GLboolean _glewInit_GLX_SGI_cushion (GLXEW_CONTEXT_ARG_DEF_INIT)
10550 GLboolean r = GL_FALSE;
10552 r = ((glXCushionSGI = (PFNGLXCUSHIONSGIPROC)glewGetProcAddress((const GLubyte*)"glXCushionSGI")) == NULL) || r;
10554 return r;
10557 #endif /* GLX_SGI_cushion */
10559 #ifdef GLX_SGI_make_current_read
10561 static GLboolean _glewInit_GLX_SGI_make_current_read (GLXEW_CONTEXT_ARG_DEF_INIT)
10563 GLboolean r = GL_FALSE;
10565 r = ((glXGetCurrentReadDrawableSGI = (PFNGLXGETCURRENTREADDRAWABLESGIPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawableSGI")) == NULL) || r;
10566 r = ((glXMakeCurrentReadSGI = (PFNGLXMAKECURRENTREADSGIPROC)glewGetProcAddress((const GLubyte*)"glXMakeCurrentReadSGI")) == NULL) || r;
10568 return r;
10571 #endif /* GLX_SGI_make_current_read */
10573 #ifdef GLX_SGI_swap_control
10575 static GLboolean _glewInit_GLX_SGI_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT)
10577 GLboolean r = GL_FALSE;
10579 r = ((glXSwapIntervalSGI = (PFNGLXSWAPINTERVALSGIPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalSGI")) == NULL) || r;
10581 return r;
10584 #endif /* GLX_SGI_swap_control */
10586 #ifdef GLX_SGI_video_sync
10588 static GLboolean _glewInit_GLX_SGI_video_sync (GLXEW_CONTEXT_ARG_DEF_INIT)
10590 GLboolean r = GL_FALSE;
10592 r = ((glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoSyncSGI")) == NULL) || r;
10593 r = ((glXWaitVideoSyncSGI = (PFNGLXWAITVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXWaitVideoSyncSGI")) == NULL) || r;
10595 return r;
10598 #endif /* GLX_SGI_video_sync */
10600 #ifdef GLX_SUN_get_transparent_index
10602 static GLboolean _glewInit_GLX_SUN_get_transparent_index (GLXEW_CONTEXT_ARG_DEF_INIT)
10604 GLboolean r = GL_FALSE;
10606 r = ((glXGetTransparentIndexSUN = (PFNGLXGETTRANSPARENTINDEXSUNPROC)glewGetProcAddress((const GLubyte*)"glXGetTransparentIndexSUN")) == NULL) || r;
10608 return r;
10611 #endif /* GLX_SUN_get_transparent_index */
10613 #ifdef GLX_SUN_video_resize
10615 static GLboolean _glewInit_GLX_SUN_video_resize (GLXEW_CONTEXT_ARG_DEF_INIT)
10617 GLboolean r = GL_FALSE;
10619 r = ((glXGetVideoResizeSUN = (PFNGLXGETVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoResizeSUN")) == NULL) || r;
10620 r = ((glXVideoResizeSUN = (PFNGLXVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXVideoResizeSUN")) == NULL) || r;
10622 return r;
10625 #endif /* GLX_SUN_video_resize */
10627 /* ------------------------------------------------------------------------ */
10629 GLboolean glxewGetExtension (const char* name)
10631 GLubyte* p;
10632 GLubyte* end;
10633 GLuint len;
10635 if (glXGetCurrentDisplay == NULL) return GL_FALSE;
10636 len = _glewStrLen((const GLubyte*)name);
10637 p = (GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS);
10638 if (0 == p) return GL_FALSE;
10639 end = p + _glewStrLen(p);
10640 while (p < end)
10642 GLuint n = _glewStrCLen(p, ' ');
10643 if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
10644 p += n+1;
10646 return GL_FALSE;
10649 GLenum glxewContextInit (GLXEW_CONTEXT_ARG_DEF_LIST)
10651 int major, minor;
10652 /* initialize core GLX 1.2 */
10653 if (_glewInit_GLX_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT)) return GLEW_ERROR_GLX_VERSION_11_ONLY;
10654 /* initialize flags */
10655 CONST_CAST(GLXEW_VERSION_1_0) = GL_TRUE;
10656 CONST_CAST(GLXEW_VERSION_1_1) = GL_TRUE;
10657 CONST_CAST(GLXEW_VERSION_1_2) = GL_TRUE;
10658 CONST_CAST(GLXEW_VERSION_1_3) = GL_TRUE;
10659 CONST_CAST(GLXEW_VERSION_1_4) = GL_TRUE;
10660 /* query GLX version */
10661 glXQueryVersion(glXGetCurrentDisplay(), &major, &minor);
10662 if (major == 1 && minor <= 3)
10664 switch (minor)
10666 case 3:
10667 CONST_CAST(GLXEW_VERSION_1_4) = GL_FALSE;
10668 break;
10669 case 2:
10670 CONST_CAST(GLXEW_VERSION_1_4) = GL_FALSE;
10671 CONST_CAST(GLXEW_VERSION_1_3) = GL_FALSE;
10672 break;
10673 default:
10674 return GLEW_ERROR_GLX_VERSION_11_ONLY;
10675 break;
10678 /* initialize extensions */
10679 #ifdef GLX_VERSION_1_3
10680 if (glewExperimental || GLXEW_VERSION_1_3) CONST_CAST(GLXEW_VERSION_1_3) = !_glewInit_GLX_VERSION_1_3(GLEW_CONTEXT_ARG_VAR_INIT);
10681 #endif /* GLX_VERSION_1_3 */
10682 #ifdef GLX_3DFX_multisample
10683 CONST_CAST(GLXEW_3DFX_multisample) = glxewGetExtension("GLX_3DFX_multisample");
10684 #endif /* GLX_3DFX_multisample */
10685 #ifdef GLX_AMD_gpu_association
10686 CONST_CAST(GLXEW_AMD_gpu_association) = glxewGetExtension("GLX_AMD_gpu_association");
10687 #endif /* GLX_AMD_gpu_association */
10688 #ifdef GLX_ARB_create_context
10689 CONST_CAST(GLXEW_ARB_create_context) = glxewGetExtension("GLX_ARB_create_context");
10690 if (glewExperimental || GLXEW_ARB_create_context) CONST_CAST(GLXEW_ARB_create_context) = !_glewInit_GLX_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT);
10691 #endif /* GLX_ARB_create_context */
10692 #ifdef GLX_ARB_create_context_profile
10693 CONST_CAST(GLXEW_ARB_create_context_profile) = glxewGetExtension("GLX_ARB_create_context_profile");
10694 #endif /* GLX_ARB_create_context_profile */
10695 #ifdef GLX_ARB_fbconfig_float
10696 CONST_CAST(GLXEW_ARB_fbconfig_float) = glxewGetExtension("GLX_ARB_fbconfig_float");
10697 #endif /* GLX_ARB_fbconfig_float */
10698 #ifdef GLX_ARB_framebuffer_sRGB
10699 CONST_CAST(GLXEW_ARB_framebuffer_sRGB) = glxewGetExtension("GLX_ARB_framebuffer_sRGB");
10700 #endif /* GLX_ARB_framebuffer_sRGB */
10701 #ifdef GLX_ARB_get_proc_address
10702 CONST_CAST(GLXEW_ARB_get_proc_address) = glxewGetExtension("GLX_ARB_get_proc_address");
10703 #endif /* GLX_ARB_get_proc_address */
10704 #ifdef GLX_ARB_multisample
10705 CONST_CAST(GLXEW_ARB_multisample) = glxewGetExtension("GLX_ARB_multisample");
10706 #endif /* GLX_ARB_multisample */
10707 #ifdef GLX_ARB_vertex_buffer_object
10708 CONST_CAST(GLXEW_ARB_vertex_buffer_object) = glxewGetExtension("GLX_ARB_vertex_buffer_object");
10709 #endif /* GLX_ARB_vertex_buffer_object */
10710 #ifdef GLX_ATI_pixel_format_float
10711 CONST_CAST(GLXEW_ATI_pixel_format_float) = glxewGetExtension("GLX_ATI_pixel_format_float");
10712 #endif /* GLX_ATI_pixel_format_float */
10713 #ifdef GLX_ATI_render_texture
10714 CONST_CAST(GLXEW_ATI_render_texture) = glxewGetExtension("GLX_ATI_render_texture");
10715 if (glewExperimental || GLXEW_ATI_render_texture) CONST_CAST(GLXEW_ATI_render_texture) = !_glewInit_GLX_ATI_render_texture(GLEW_CONTEXT_ARG_VAR_INIT);
10716 #endif /* GLX_ATI_render_texture */
10717 #ifdef GLX_EXT_fbconfig_packed_float
10718 CONST_CAST(GLXEW_EXT_fbconfig_packed_float) = glxewGetExtension("GLX_EXT_fbconfig_packed_float");
10719 #endif /* GLX_EXT_fbconfig_packed_float */
10720 #ifdef GLX_EXT_framebuffer_sRGB
10721 CONST_CAST(GLXEW_EXT_framebuffer_sRGB) = glxewGetExtension("GLX_EXT_framebuffer_sRGB");
10722 #endif /* GLX_EXT_framebuffer_sRGB */
10723 #ifdef GLX_EXT_import_context
10724 CONST_CAST(GLXEW_EXT_import_context) = glxewGetExtension("GLX_EXT_import_context");
10725 if (glewExperimental || GLXEW_EXT_import_context) CONST_CAST(GLXEW_EXT_import_context) = !_glewInit_GLX_EXT_import_context(GLEW_CONTEXT_ARG_VAR_INIT);
10726 #endif /* GLX_EXT_import_context */
10727 #ifdef GLX_EXT_scene_marker
10728 CONST_CAST(GLXEW_EXT_scene_marker) = glxewGetExtension("GLX_EXT_scene_marker");
10729 #endif /* GLX_EXT_scene_marker */
10730 #ifdef GLX_EXT_swap_control
10731 CONST_CAST(GLXEW_EXT_swap_control) = glxewGetExtension("GLX_EXT_swap_control");
10732 if (glewExperimental || GLXEW_EXT_swap_control) CONST_CAST(GLXEW_EXT_swap_control) = !_glewInit_GLX_EXT_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
10733 #endif /* GLX_EXT_swap_control */
10734 #ifdef GLX_EXT_texture_from_pixmap
10735 CONST_CAST(GLXEW_EXT_texture_from_pixmap) = glxewGetExtension("GLX_EXT_texture_from_pixmap");
10736 if (glewExperimental || GLXEW_EXT_texture_from_pixmap) CONST_CAST(GLXEW_EXT_texture_from_pixmap) = !_glewInit_GLX_EXT_texture_from_pixmap(GLEW_CONTEXT_ARG_VAR_INIT);
10737 #endif /* GLX_EXT_texture_from_pixmap */
10738 #ifdef GLX_EXT_visual_info
10739 CONST_CAST(GLXEW_EXT_visual_info) = glxewGetExtension("GLX_EXT_visual_info");
10740 #endif /* GLX_EXT_visual_info */
10741 #ifdef GLX_EXT_visual_rating
10742 CONST_CAST(GLXEW_EXT_visual_rating) = glxewGetExtension("GLX_EXT_visual_rating");
10743 #endif /* GLX_EXT_visual_rating */
10744 #ifdef GLX_INTEL_swap_event
10745 CONST_CAST(GLXEW_INTEL_swap_event) = glxewGetExtension("GLX_INTEL_swap_event");
10746 #endif /* GLX_INTEL_swap_event */
10747 #ifdef GLX_MESA_agp_offset
10748 CONST_CAST(GLXEW_MESA_agp_offset) = glxewGetExtension("GLX_MESA_agp_offset");
10749 if (glewExperimental || GLXEW_MESA_agp_offset) CONST_CAST(GLXEW_MESA_agp_offset) = !_glewInit_GLX_MESA_agp_offset(GLEW_CONTEXT_ARG_VAR_INIT);
10750 #endif /* GLX_MESA_agp_offset */
10751 #ifdef GLX_MESA_copy_sub_buffer
10752 CONST_CAST(GLXEW_MESA_copy_sub_buffer) = glxewGetExtension("GLX_MESA_copy_sub_buffer");
10753 if (glewExperimental || GLXEW_MESA_copy_sub_buffer) CONST_CAST(GLXEW_MESA_copy_sub_buffer) = !_glewInit_GLX_MESA_copy_sub_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
10754 #endif /* GLX_MESA_copy_sub_buffer */
10755 #ifdef GLX_MESA_pixmap_colormap
10756 CONST_CAST(GLXEW_MESA_pixmap_colormap) = glxewGetExtension("GLX_MESA_pixmap_colormap");
10757 if (glewExperimental || GLXEW_MESA_pixmap_colormap) CONST_CAST(GLXEW_MESA_pixmap_colormap) = !_glewInit_GLX_MESA_pixmap_colormap(GLEW_CONTEXT_ARG_VAR_INIT);
10758 #endif /* GLX_MESA_pixmap_colormap */
10759 #ifdef GLX_MESA_release_buffers
10760 CONST_CAST(GLXEW_MESA_release_buffers) = glxewGetExtension("GLX_MESA_release_buffers");
10761 if (glewExperimental || GLXEW_MESA_release_buffers) CONST_CAST(GLXEW_MESA_release_buffers) = !_glewInit_GLX_MESA_release_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
10762 #endif /* GLX_MESA_release_buffers */
10763 #ifdef GLX_MESA_set_3dfx_mode
10764 CONST_CAST(GLXEW_MESA_set_3dfx_mode) = glxewGetExtension("GLX_MESA_set_3dfx_mode");
10765 if (glewExperimental || GLXEW_MESA_set_3dfx_mode) CONST_CAST(GLXEW_MESA_set_3dfx_mode) = !_glewInit_GLX_MESA_set_3dfx_mode(GLEW_CONTEXT_ARG_VAR_INIT);
10766 #endif /* GLX_MESA_set_3dfx_mode */
10767 #ifdef GLX_NV_copy_image
10768 CONST_CAST(GLXEW_NV_copy_image) = glxewGetExtension("GLX_NV_copy_image");
10769 if (glewExperimental || GLXEW_NV_copy_image) CONST_CAST(GLXEW_NV_copy_image) = !_glewInit_GLX_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
10770 #endif /* GLX_NV_copy_image */
10771 #ifdef GLX_NV_float_buffer
10772 CONST_CAST(GLXEW_NV_float_buffer) = glxewGetExtension("GLX_NV_float_buffer");
10773 #endif /* GLX_NV_float_buffer */
10774 #ifdef GLX_NV_multisample_coverage
10775 CONST_CAST(GLXEW_NV_multisample_coverage) = glxewGetExtension("GLX_NV_multisample_coverage");
10776 #endif /* GLX_NV_multisample_coverage */
10777 #ifdef GLX_NV_present_video
10778 CONST_CAST(GLXEW_NV_present_video) = glxewGetExtension("GLX_NV_present_video");
10779 if (glewExperimental || GLXEW_NV_present_video) CONST_CAST(GLXEW_NV_present_video) = !_glewInit_GLX_NV_present_video(GLEW_CONTEXT_ARG_VAR_INIT);
10780 #endif /* GLX_NV_present_video */
10781 #ifdef GLX_NV_swap_group
10782 CONST_CAST(GLXEW_NV_swap_group) = glxewGetExtension("GLX_NV_swap_group");
10783 if (glewExperimental || GLXEW_NV_swap_group) CONST_CAST(GLXEW_NV_swap_group) = !_glewInit_GLX_NV_swap_group(GLEW_CONTEXT_ARG_VAR_INIT);
10784 #endif /* GLX_NV_swap_group */
10785 #ifdef GLX_NV_vertex_array_range
10786 CONST_CAST(GLXEW_NV_vertex_array_range) = glxewGetExtension("GLX_NV_vertex_array_range");
10787 if (glewExperimental || GLXEW_NV_vertex_array_range) CONST_CAST(GLXEW_NV_vertex_array_range) = !_glewInit_GLX_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT);
10788 #endif /* GLX_NV_vertex_array_range */
10789 #ifdef GLX_NV_video_output
10790 CONST_CAST(GLXEW_NV_video_output) = glxewGetExtension("GLX_NV_video_output");
10791 if (glewExperimental || GLXEW_NV_video_output) CONST_CAST(GLXEW_NV_video_output) = !_glewInit_GLX_NV_video_output(GLEW_CONTEXT_ARG_VAR_INIT);
10792 #endif /* GLX_NV_video_output */
10793 #ifdef GLX_OML_swap_method
10794 CONST_CAST(GLXEW_OML_swap_method) = glxewGetExtension("GLX_OML_swap_method");
10795 #endif /* GLX_OML_swap_method */
10796 #if defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
10797 #include <inttypes.h>
10798 CONST_CAST(GLXEW_OML_sync_control) = glxewGetExtension("GLX_OML_sync_control");
10799 if (glewExperimental || GLXEW_OML_sync_control) CONST_CAST(GLXEW_OML_sync_control) = !_glewInit_GLX_OML_sync_control(GLEW_CONTEXT_ARG_VAR_INIT);
10800 #endif /* GLX_OML_sync_control */
10801 #ifdef GLX_SGIS_blended_overlay
10802 CONST_CAST(GLXEW_SGIS_blended_overlay) = glxewGetExtension("GLX_SGIS_blended_overlay");
10803 #endif /* GLX_SGIS_blended_overlay */
10804 #ifdef GLX_SGIS_color_range
10805 CONST_CAST(GLXEW_SGIS_color_range) = glxewGetExtension("GLX_SGIS_color_range");
10806 #endif /* GLX_SGIS_color_range */
10807 #ifdef GLX_SGIS_multisample
10808 CONST_CAST(GLXEW_SGIS_multisample) = glxewGetExtension("GLX_SGIS_multisample");
10809 #endif /* GLX_SGIS_multisample */
10810 #ifdef GLX_SGIS_shared_multisample
10811 CONST_CAST(GLXEW_SGIS_shared_multisample) = glxewGetExtension("GLX_SGIS_shared_multisample");
10812 #endif /* GLX_SGIS_shared_multisample */
10813 #ifdef GLX_SGIX_fbconfig
10814 CONST_CAST(GLXEW_SGIX_fbconfig) = glxewGetExtension("GLX_SGIX_fbconfig");
10815 if (glewExperimental || GLXEW_SGIX_fbconfig) CONST_CAST(GLXEW_SGIX_fbconfig) = !_glewInit_GLX_SGIX_fbconfig(GLEW_CONTEXT_ARG_VAR_INIT);
10816 #endif /* GLX_SGIX_fbconfig */
10817 #ifdef GLX_SGIX_hyperpipe
10818 CONST_CAST(GLXEW_SGIX_hyperpipe) = glxewGetExtension("GLX_SGIX_hyperpipe");
10819 if (glewExperimental || GLXEW_SGIX_hyperpipe) CONST_CAST(GLXEW_SGIX_hyperpipe) = !_glewInit_GLX_SGIX_hyperpipe(GLEW_CONTEXT_ARG_VAR_INIT);
10820 #endif /* GLX_SGIX_hyperpipe */
10821 #ifdef GLX_SGIX_pbuffer
10822 CONST_CAST(GLXEW_SGIX_pbuffer) = glxewGetExtension("GLX_SGIX_pbuffer");
10823 if (glewExperimental || GLXEW_SGIX_pbuffer) CONST_CAST(GLXEW_SGIX_pbuffer) = !_glewInit_GLX_SGIX_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
10824 #endif /* GLX_SGIX_pbuffer */
10825 #ifdef GLX_SGIX_swap_barrier
10826 CONST_CAST(GLXEW_SGIX_swap_barrier) = glxewGetExtension("GLX_SGIX_swap_barrier");
10827 if (glewExperimental || GLXEW_SGIX_swap_barrier) CONST_CAST(GLXEW_SGIX_swap_barrier) = !_glewInit_GLX_SGIX_swap_barrier(GLEW_CONTEXT_ARG_VAR_INIT);
10828 #endif /* GLX_SGIX_swap_barrier */
10829 #ifdef GLX_SGIX_swap_group
10830 CONST_CAST(GLXEW_SGIX_swap_group) = glxewGetExtension("GLX_SGIX_swap_group");
10831 if (glewExperimental || GLXEW_SGIX_swap_group) CONST_CAST(GLXEW_SGIX_swap_group) = !_glewInit_GLX_SGIX_swap_group(GLEW_CONTEXT_ARG_VAR_INIT);
10832 #endif /* GLX_SGIX_swap_group */
10833 #ifdef GLX_SGIX_video_resize
10834 CONST_CAST(GLXEW_SGIX_video_resize) = glxewGetExtension("GLX_SGIX_video_resize");
10835 if (glewExperimental || GLXEW_SGIX_video_resize) CONST_CAST(GLXEW_SGIX_video_resize) = !_glewInit_GLX_SGIX_video_resize(GLEW_CONTEXT_ARG_VAR_INIT);
10836 #endif /* GLX_SGIX_video_resize */
10837 #ifdef GLX_SGIX_visual_select_group
10838 CONST_CAST(GLXEW_SGIX_visual_select_group) = glxewGetExtension("GLX_SGIX_visual_select_group");
10839 #endif /* GLX_SGIX_visual_select_group */
10840 #ifdef GLX_SGI_cushion
10841 CONST_CAST(GLXEW_SGI_cushion) = glxewGetExtension("GLX_SGI_cushion");
10842 if (glewExperimental || GLXEW_SGI_cushion) CONST_CAST(GLXEW_SGI_cushion) = !_glewInit_GLX_SGI_cushion(GLEW_CONTEXT_ARG_VAR_INIT);
10843 #endif /* GLX_SGI_cushion */
10844 #ifdef GLX_SGI_make_current_read
10845 CONST_CAST(GLXEW_SGI_make_current_read) = glxewGetExtension("GLX_SGI_make_current_read");
10846 if (glewExperimental || GLXEW_SGI_make_current_read) CONST_CAST(GLXEW_SGI_make_current_read) = !_glewInit_GLX_SGI_make_current_read(GLEW_CONTEXT_ARG_VAR_INIT);
10847 #endif /* GLX_SGI_make_current_read */
10848 #ifdef GLX_SGI_swap_control
10849 CONST_CAST(GLXEW_SGI_swap_control) = glxewGetExtension("GLX_SGI_swap_control");
10850 if (glewExperimental || GLXEW_SGI_swap_control) CONST_CAST(GLXEW_SGI_swap_control) = !_glewInit_GLX_SGI_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
10851 #endif /* GLX_SGI_swap_control */
10852 #ifdef GLX_SGI_video_sync
10853 CONST_CAST(GLXEW_SGI_video_sync) = glxewGetExtension("GLX_SGI_video_sync");
10854 if (glewExperimental || GLXEW_SGI_video_sync) CONST_CAST(GLXEW_SGI_video_sync) = !_glewInit_GLX_SGI_video_sync(GLEW_CONTEXT_ARG_VAR_INIT);
10855 #endif /* GLX_SGI_video_sync */
10856 #ifdef GLX_SUN_get_transparent_index
10857 CONST_CAST(GLXEW_SUN_get_transparent_index) = glxewGetExtension("GLX_SUN_get_transparent_index");
10858 if (glewExperimental || GLXEW_SUN_get_transparent_index) CONST_CAST(GLXEW_SUN_get_transparent_index) = !_glewInit_GLX_SUN_get_transparent_index(GLEW_CONTEXT_ARG_VAR_INIT);
10859 #endif /* GLX_SUN_get_transparent_index */
10860 #ifdef GLX_SUN_video_resize
10861 CONST_CAST(GLXEW_SUN_video_resize) = glxewGetExtension("GLX_SUN_video_resize");
10862 if (glewExperimental || GLXEW_SUN_video_resize) CONST_CAST(GLXEW_SUN_video_resize) = !_glewInit_GLX_SUN_video_resize(GLEW_CONTEXT_ARG_VAR_INIT);
10863 #endif /* GLX_SUN_video_resize */
10865 return GLEW_OK;
10868 #endif /* !__APPLE__ || GLEW_APPLE_GLX */
10870 /* ------------------------------------------------------------------------ */
10872 const GLubyte* glewGetErrorString (GLenum error)
10874 static const GLubyte* _glewErrorString[] =
10876 (const GLubyte*)"No error",
10877 (const GLubyte*)"Missing GL version",
10878 (const GLubyte*)"GL 1.1 and up are not supported",
10879 (const GLubyte*)"GLX 1.2 and up are not supported",
10880 (const GLubyte*)"Unknown error"
10882 const int max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1;
10883 return _glewErrorString[(int)error > max_error ? max_error : (int)error];
10886 const GLubyte* glewGetString (GLenum name)
10888 static const GLubyte* _glewString[] =
10890 (const GLubyte*)NULL,
10891 (const GLubyte*)"1.5.5",
10892 (const GLubyte*)"1",
10893 (const GLubyte*)"5",
10894 (const GLubyte*)"5"
10896 const int max_string = sizeof(_glewString)/sizeof(*_glewString) - 1;
10897 return _glewString[(int)name > max_string ? 0 : (int)name];
10900 /* ------------------------------------------------------------------------ */
10902 GLboolean glewExperimental = GL_FALSE;
10904 #if !defined(GLEW_MX)
10906 #if defined(_WIN32)
10907 extern GLenum wglewContextInit (void);
10908 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) /* _UNIX */
10909 extern GLenum glxewContextInit (void);
10910 #endif /* _WIN32 */
10912 GLenum glewInit ()
10914 GLenum r;
10915 if ( (r = glewContextInit()) ) return r;
10916 #if defined(_WIN32)
10917 return wglewContextInit();
10918 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) /* _UNIX */
10919 return glxewContextInit();
10920 #else
10921 return r;
10922 #endif /* _WIN32 */
10925 #endif /* !GLEW_MX */
10926 #ifdef GLEW_MX
10927 GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name)
10928 #else
10929 GLboolean glewIsSupported (const char* name)
10930 #endif
10932 GLubyte* pos = (GLubyte*)name;
10933 GLuint len = _glewStrLen(pos);
10934 GLboolean ret = GL_TRUE;
10935 while (ret && len > 0)
10937 if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3))
10939 if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
10941 #ifdef GL_VERSION_1_2
10942 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
10944 ret = GLEW_VERSION_1_2;
10945 continue;
10947 #endif
10948 #ifdef GL_VERSION_1_3
10949 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
10951 ret = GLEW_VERSION_1_3;
10952 continue;
10954 #endif
10955 #ifdef GL_VERSION_1_4
10956 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
10958 ret = GLEW_VERSION_1_4;
10959 continue;
10961 #endif
10962 #ifdef GL_VERSION_1_5
10963 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_5", 3))
10965 ret = GLEW_VERSION_1_5;
10966 continue;
10968 #endif
10969 #ifdef GL_VERSION_2_0
10970 if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_0", 3))
10972 ret = GLEW_VERSION_2_0;
10973 continue;
10975 #endif
10976 #ifdef GL_VERSION_2_1
10977 if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_1", 3))
10979 ret = GLEW_VERSION_2_1;
10980 continue;
10982 #endif
10983 #ifdef GL_VERSION_3_0
10984 if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_0", 3))
10986 ret = GLEW_VERSION_3_0;
10987 continue;
10989 #endif
10990 #ifdef GL_VERSION_3_1
10991 if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_1", 3))
10993 ret = GLEW_VERSION_3_1;
10994 continue;
10996 #endif
10997 #ifdef GL_VERSION_3_2
10998 if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_2", 3))
11000 ret = GLEW_VERSION_3_2;
11001 continue;
11003 #endif
11004 #ifdef GL_VERSION_3_3
11005 if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_3", 3))
11007 ret = GLEW_VERSION_3_3;
11008 continue;
11010 #endif
11011 #ifdef GL_VERSION_4_0
11012 if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_0", 3))
11014 ret = GLEW_VERSION_4_0;
11015 continue;
11017 #endif
11019 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
11021 #ifdef GL_3DFX_multisample
11022 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
11024 ret = GLEW_3DFX_multisample;
11025 continue;
11027 #endif
11028 #ifdef GL_3DFX_tbuffer
11029 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tbuffer", 7))
11031 ret = GLEW_3DFX_tbuffer;
11032 continue;
11034 #endif
11035 #ifdef GL_3DFX_texture_compression_FXT1
11036 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_FXT1", 24))
11038 ret = GLEW_3DFX_texture_compression_FXT1;
11039 continue;
11041 #endif
11043 if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
11045 #ifdef GL_AMD_conservative_depth
11046 if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
11048 ret = GLEW_AMD_conservative_depth;
11049 continue;
11051 #endif
11052 #ifdef GL_AMD_debug_output
11053 if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_output", 12))
11055 ret = GLEW_AMD_debug_output;
11056 continue;
11058 #endif
11059 #ifdef GL_AMD_draw_buffers_blend
11060 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18))
11062 ret = GLEW_AMD_draw_buffers_blend;
11063 continue;
11065 #endif
11066 #ifdef GL_AMD_name_gen_delete
11067 if (_glewStrSame3(&pos, &len, (const GLubyte*)"name_gen_delete", 15))
11069 ret = GLEW_AMD_name_gen_delete;
11070 continue;
11072 #endif
11073 #ifdef GL_AMD_performance_monitor
11074 if (_glewStrSame3(&pos, &len, (const GLubyte*)"performance_monitor", 19))
11076 ret = GLEW_AMD_performance_monitor;
11077 continue;
11079 #endif
11080 #ifdef GL_AMD_seamless_cubemap_per_texture
11081 if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cubemap_per_texture", 28))
11083 ret = GLEW_AMD_seamless_cubemap_per_texture;
11084 continue;
11086 #endif
11087 #ifdef GL_AMD_shader_stencil_export
11088 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_export", 21))
11090 ret = GLEW_AMD_shader_stencil_export;
11091 continue;
11093 #endif
11094 #ifdef GL_AMD_texture_texture4
11095 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_texture4", 16))
11097 ret = GLEW_AMD_texture_texture4;
11098 continue;
11100 #endif
11101 #ifdef GL_AMD_transform_feedback3_lines_triangles
11102 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3_lines_triangles", 35))
11104 ret = GLEW_AMD_transform_feedback3_lines_triangles;
11105 continue;
11107 #endif
11108 #ifdef GL_AMD_vertex_shader_tessellator
11109 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_tessellator", 25))
11111 ret = GLEW_AMD_vertex_shader_tessellator;
11112 continue;
11114 #endif
11116 if (_glewStrSame2(&pos, &len, (const GLubyte*)"APPLE_", 6))
11118 #ifdef GL_APPLE_aux_depth_stencil
11119 if (_glewStrSame3(&pos, &len, (const GLubyte*)"aux_depth_stencil", 17))
11121 ret = GLEW_APPLE_aux_depth_stencil;
11122 continue;
11124 #endif
11125 #ifdef GL_APPLE_client_storage
11126 if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_storage", 14))
11128 ret = GLEW_APPLE_client_storage;
11129 continue;
11131 #endif
11132 #ifdef GL_APPLE_element_array
11133 if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
11135 ret = GLEW_APPLE_element_array;
11136 continue;
11138 #endif
11139 #ifdef GL_APPLE_fence
11140 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
11142 ret = GLEW_APPLE_fence;
11143 continue;
11145 #endif
11146 #ifdef GL_APPLE_float_pixels
11147 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_pixels", 12))
11149 ret = GLEW_APPLE_float_pixels;
11150 continue;
11152 #endif
11153 #ifdef GL_APPLE_flush_buffer_range
11154 if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_buffer_range", 18))
11156 ret = GLEW_APPLE_flush_buffer_range;
11157 continue;
11159 #endif
11160 #ifdef GL_APPLE_object_purgeable
11161 if (_glewStrSame3(&pos, &len, (const GLubyte*)"object_purgeable", 16))
11163 ret = GLEW_APPLE_object_purgeable;
11164 continue;
11166 #endif
11167 #ifdef GL_APPLE_pixel_buffer
11168 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer", 12))
11170 ret = GLEW_APPLE_pixel_buffer;
11171 continue;
11173 #endif
11174 #ifdef GL_APPLE_rgb_422
11175 if (_glewStrSame3(&pos, &len, (const GLubyte*)"rgb_422", 7))
11177 ret = GLEW_APPLE_rgb_422;
11178 continue;
11180 #endif
11181 #ifdef GL_APPLE_row_bytes
11182 if (_glewStrSame3(&pos, &len, (const GLubyte*)"row_bytes", 9))
11184 ret = GLEW_APPLE_row_bytes;
11185 continue;
11187 #endif
11188 #ifdef GL_APPLE_specular_vector
11189 if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_vector", 15))
11191 ret = GLEW_APPLE_specular_vector;
11192 continue;
11194 #endif
11195 #ifdef GL_APPLE_texture_range
11196 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
11198 ret = GLEW_APPLE_texture_range;
11199 continue;
11201 #endif
11202 #ifdef GL_APPLE_transform_hint
11203 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_hint", 14))
11205 ret = GLEW_APPLE_transform_hint;
11206 continue;
11208 #endif
11209 #ifdef GL_APPLE_vertex_array_object
11210 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
11212 ret = GLEW_APPLE_vertex_array_object;
11213 continue;
11215 #endif
11216 #ifdef GL_APPLE_vertex_array_range
11217 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
11219 ret = GLEW_APPLE_vertex_array_range;
11220 continue;
11222 #endif
11223 #ifdef GL_APPLE_vertex_program_evaluators
11224 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program_evaluators", 25))
11226 ret = GLEW_APPLE_vertex_program_evaluators;
11227 continue;
11229 #endif
11230 #ifdef GL_APPLE_ycbcr_422
11231 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_422", 9))
11233 ret = GLEW_APPLE_ycbcr_422;
11234 continue;
11236 #endif
11238 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
11240 #ifdef GL_ARB_blend_func_extended
11241 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_extended", 19))
11243 ret = GLEW_ARB_blend_func_extended;
11244 continue;
11246 #endif
11247 #ifdef GL_ARB_color_buffer_float
11248 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_float", 18))
11250 ret = GLEW_ARB_color_buffer_float;
11251 continue;
11253 #endif
11254 #ifdef GL_ARB_compatibility
11255 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compatibility", 13))
11257 ret = GLEW_ARB_compatibility;
11258 continue;
11260 #endif
11261 #ifdef GL_ARB_copy_buffer
11262 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_buffer", 11))
11264 ret = GLEW_ARB_copy_buffer;
11265 continue;
11267 #endif
11268 #ifdef GL_ARB_depth_buffer_float
11269 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18))
11271 ret = GLEW_ARB_depth_buffer_float;
11272 continue;
11274 #endif
11275 #ifdef GL_ARB_depth_clamp
11276 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11))
11278 ret = GLEW_ARB_depth_clamp;
11279 continue;
11281 #endif
11282 #ifdef GL_ARB_depth_texture
11283 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
11285 ret = GLEW_ARB_depth_texture;
11286 continue;
11288 #endif
11289 #ifdef GL_ARB_draw_buffers
11290 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
11292 ret = GLEW_ARB_draw_buffers;
11293 continue;
11295 #endif
11296 #ifdef GL_ARB_draw_buffers_blend
11297 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18))
11299 ret = GLEW_ARB_draw_buffers_blend;
11300 continue;
11302 #endif
11303 #ifdef GL_ARB_draw_elements_base_vertex
11304 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_elements_base_vertex", 25))
11306 ret = GLEW_ARB_draw_elements_base_vertex;
11307 continue;
11309 #endif
11310 #ifdef GL_ARB_draw_indirect
11311 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_indirect", 13))
11313 ret = GLEW_ARB_draw_indirect;
11314 continue;
11316 #endif
11317 #ifdef GL_ARB_draw_instanced
11318 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
11320 ret = GLEW_ARB_draw_instanced;
11321 continue;
11323 #endif
11324 #ifdef GL_ARB_explicit_attrib_location
11325 if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_attrib_location", 24))
11327 ret = GLEW_ARB_explicit_attrib_location;
11328 continue;
11330 #endif
11331 #ifdef GL_ARB_fragment_coord_conventions
11332 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_coord_conventions", 26))
11334 ret = GLEW_ARB_fragment_coord_conventions;
11335 continue;
11337 #endif
11338 #ifdef GL_ARB_fragment_program
11339 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
11341 ret = GLEW_ARB_fragment_program;
11342 continue;
11344 #endif
11345 #ifdef GL_ARB_fragment_program_shadow
11346 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_shadow", 23))
11348 ret = GLEW_ARB_fragment_program_shadow;
11349 continue;
11351 #endif
11352 #ifdef GL_ARB_fragment_shader
11353 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
11355 ret = GLEW_ARB_fragment_shader;
11356 continue;
11358 #endif
11359 #ifdef GL_ARB_framebuffer_object
11360 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18))
11362 ret = GLEW_ARB_framebuffer_object;
11363 continue;
11365 #endif
11366 #ifdef GL_ARB_framebuffer_sRGB
11367 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
11369 ret = GLEW_ARB_framebuffer_sRGB;
11370 continue;
11372 #endif
11373 #ifdef GL_ARB_geometry_shader4
11374 if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
11376 ret = GLEW_ARB_geometry_shader4;
11377 continue;
11379 #endif
11380 #ifdef GL_ARB_gpu_shader5
11381 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
11383 ret = GLEW_ARB_gpu_shader5;
11384 continue;
11386 #endif
11387 #ifdef GL_ARB_gpu_shader_fp64
11388 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_fp64", 15))
11390 ret = GLEW_ARB_gpu_shader_fp64;
11391 continue;
11393 #endif
11394 #ifdef GL_ARB_half_float_pixel
11395 if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_pixel", 16))
11397 ret = GLEW_ARB_half_float_pixel;
11398 continue;
11400 #endif
11401 #ifdef GL_ARB_half_float_vertex
11402 if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_vertex", 17))
11404 ret = GLEW_ARB_half_float_vertex;
11405 continue;
11407 #endif
11408 #ifdef GL_ARB_imaging
11409 if (_glewStrSame3(&pos, &len, (const GLubyte*)"imaging", 7))
11411 ret = GLEW_ARB_imaging;
11412 continue;
11414 #endif
11415 #ifdef GL_ARB_instanced_arrays
11416 if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
11418 ret = GLEW_ARB_instanced_arrays;
11419 continue;
11421 #endif
11422 #ifdef GL_ARB_map_buffer_range
11423 if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_range", 16))
11425 ret = GLEW_ARB_map_buffer_range;
11426 continue;
11428 #endif
11429 #ifdef GL_ARB_matrix_palette
11430 if (_glewStrSame3(&pos, &len, (const GLubyte*)"matrix_palette", 14))
11432 ret = GLEW_ARB_matrix_palette;
11433 continue;
11435 #endif
11436 #ifdef GL_ARB_multisample
11437 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
11439 ret = GLEW_ARB_multisample;
11440 continue;
11442 #endif
11443 #ifdef GL_ARB_multitexture
11444 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multitexture", 12))
11446 ret = GLEW_ARB_multitexture;
11447 continue;
11449 #endif
11450 #ifdef GL_ARB_occlusion_query
11451 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
11453 ret = GLEW_ARB_occlusion_query;
11454 continue;
11456 #endif
11457 #ifdef GL_ARB_occlusion_query2
11458 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query2", 16))
11460 ret = GLEW_ARB_occlusion_query2;
11461 continue;
11463 #endif
11464 #ifdef GL_ARB_pixel_buffer_object
11465 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
11467 ret = GLEW_ARB_pixel_buffer_object;
11468 continue;
11470 #endif
11471 #ifdef GL_ARB_point_parameters
11472 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
11474 ret = GLEW_ARB_point_parameters;
11475 continue;
11477 #endif
11478 #ifdef GL_ARB_point_sprite
11479 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
11481 ret = GLEW_ARB_point_sprite;
11482 continue;
11484 #endif
11485 #ifdef GL_ARB_provoking_vertex
11486 if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16))
11488 ret = GLEW_ARB_provoking_vertex;
11489 continue;
11491 #endif
11492 #ifdef GL_ARB_sample_shading
11493 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_shading", 14))
11495 ret = GLEW_ARB_sample_shading;
11496 continue;
11498 #endif
11499 #ifdef GL_ARB_sampler_objects
11500 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sampler_objects", 15))
11502 ret = GLEW_ARB_sampler_objects;
11503 continue;
11505 #endif
11506 #ifdef GL_ARB_seamless_cube_map
11507 if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cube_map", 17))
11509 ret = GLEW_ARB_seamless_cube_map;
11510 continue;
11512 #endif
11513 #ifdef GL_ARB_shader_bit_encoding
11514 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_bit_encoding", 19))
11516 ret = GLEW_ARB_shader_bit_encoding;
11517 continue;
11519 #endif
11520 #ifdef GL_ARB_shader_objects
11521 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_objects", 14))
11523 ret = GLEW_ARB_shader_objects;
11524 continue;
11526 #endif
11527 #ifdef GL_ARB_shader_subroutine
11528 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_subroutine", 17))
11530 ret = GLEW_ARB_shader_subroutine;
11531 continue;
11533 #endif
11534 #ifdef GL_ARB_shader_texture_lod
11535 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
11537 ret = GLEW_ARB_shader_texture_lod;
11538 continue;
11540 #endif
11541 #ifdef GL_ARB_shading_language_100
11542 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_100", 20))
11544 ret = GLEW_ARB_shading_language_100;
11545 continue;
11547 #endif
11548 #ifdef GL_ARB_shading_language_include
11549 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_include", 24))
11551 ret = GLEW_ARB_shading_language_include;
11552 continue;
11554 #endif
11555 #ifdef GL_ARB_shadow
11556 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
11558 ret = GLEW_ARB_shadow;
11559 continue;
11561 #endif
11562 #ifdef GL_ARB_shadow_ambient
11563 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
11565 ret = GLEW_ARB_shadow_ambient;
11566 continue;
11568 #endif
11569 #ifdef GL_ARB_sync
11570 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync", 4))
11572 ret = GLEW_ARB_sync;
11573 continue;
11575 #endif
11576 #ifdef GL_ARB_tessellation_shader
11577 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_shader", 19))
11579 ret = GLEW_ARB_tessellation_shader;
11580 continue;
11582 #endif
11583 #ifdef GL_ARB_texture_border_clamp
11584 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
11586 ret = GLEW_ARB_texture_border_clamp;
11587 continue;
11589 #endif
11590 #ifdef GL_ARB_texture_buffer_object
11591 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21))
11593 ret = GLEW_ARB_texture_buffer_object;
11594 continue;
11596 #endif
11597 #ifdef GL_ARB_texture_buffer_object_rgb32
11598 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object_rgb32", 27))
11600 ret = GLEW_ARB_texture_buffer_object_rgb32;
11601 continue;
11603 #endif
11604 #ifdef GL_ARB_texture_compression
11605 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression", 19))
11607 ret = GLEW_ARB_texture_compression;
11608 continue;
11610 #endif
11611 #ifdef GL_ARB_texture_compression_bptc
11612 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_bptc", 24))
11614 ret = GLEW_ARB_texture_compression_bptc;
11615 continue;
11617 #endif
11618 #ifdef GL_ARB_texture_compression_rgtc
11619 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24))
11621 ret = GLEW_ARB_texture_compression_rgtc;
11622 continue;
11624 #endif
11625 #ifdef GL_ARB_texture_cube_map
11626 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
11628 ret = GLEW_ARB_texture_cube_map;
11629 continue;
11631 #endif
11632 #ifdef GL_ARB_texture_cube_map_array
11633 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map_array", 22))
11635 ret = GLEW_ARB_texture_cube_map_array;
11636 continue;
11638 #endif
11639 #ifdef GL_ARB_texture_env_add
11640 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
11642 ret = GLEW_ARB_texture_env_add;
11643 continue;
11645 #endif
11646 #ifdef GL_ARB_texture_env_combine
11647 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
11649 ret = GLEW_ARB_texture_env_combine;
11650 continue;
11652 #endif
11653 #ifdef GL_ARB_texture_env_crossbar
11654 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_crossbar", 20))
11656 ret = GLEW_ARB_texture_env_crossbar;
11657 continue;
11659 #endif
11660 #ifdef GL_ARB_texture_env_dot3
11661 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
11663 ret = GLEW_ARB_texture_env_dot3;
11664 continue;
11666 #endif
11667 #ifdef GL_ARB_texture_float
11668 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
11670 ret = GLEW_ARB_texture_float;
11671 continue;
11673 #endif
11674 #ifdef GL_ARB_texture_gather
11675 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_gather", 14))
11677 ret = GLEW_ARB_texture_gather;
11678 continue;
11680 #endif
11681 #ifdef GL_ARB_texture_mirrored_repeat
11682 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
11684 ret = GLEW_ARB_texture_mirrored_repeat;
11685 continue;
11687 #endif
11688 #ifdef GL_ARB_texture_multisample
11689 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multisample", 19))
11691 ret = GLEW_ARB_texture_multisample;
11692 continue;
11694 #endif
11695 #ifdef GL_ARB_texture_non_power_of_two
11696 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_non_power_of_two", 24))
11698 ret = GLEW_ARB_texture_non_power_of_two;
11699 continue;
11701 #endif
11702 #ifdef GL_ARB_texture_query_lod
11703 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_query_lod", 17))
11705 ret = GLEW_ARB_texture_query_lod;
11706 continue;
11708 #endif
11709 #ifdef GL_ARB_texture_rectangle
11710 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
11712 ret = GLEW_ARB_texture_rectangle;
11713 continue;
11715 #endif
11716 #ifdef GL_ARB_texture_rg
11717 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rg", 10))
11719 ret = GLEW_ARB_texture_rg;
11720 continue;
11722 #endif
11723 #ifdef GL_ARB_texture_rgb10_a2ui
11724 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rgb10_a2ui", 18))
11726 ret = GLEW_ARB_texture_rgb10_a2ui;
11727 continue;
11729 #endif
11730 #ifdef GL_ARB_texture_swizzle
11731 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15))
11733 ret = GLEW_ARB_texture_swizzle;
11734 continue;
11736 #endif
11737 #ifdef GL_ARB_timer_query
11738 if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
11740 ret = GLEW_ARB_timer_query;
11741 continue;
11743 #endif
11744 #ifdef GL_ARB_transform_feedback2
11745 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19))
11747 ret = GLEW_ARB_transform_feedback2;
11748 continue;
11750 #endif
11751 #ifdef GL_ARB_transform_feedback3
11752 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3", 19))
11754 ret = GLEW_ARB_transform_feedback3;
11755 continue;
11757 #endif
11758 #ifdef GL_ARB_transpose_matrix
11759 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transpose_matrix", 16))
11761 ret = GLEW_ARB_transpose_matrix;
11762 continue;
11764 #endif
11765 #ifdef GL_ARB_uniform_buffer_object
11766 if (_glewStrSame3(&pos, &len, (const GLubyte*)"uniform_buffer_object", 21))
11768 ret = GLEW_ARB_uniform_buffer_object;
11769 continue;
11771 #endif
11772 #ifdef GL_ARB_vertex_array_bgra
11773 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17))
11775 ret = GLEW_ARB_vertex_array_bgra;
11776 continue;
11778 #endif
11779 #ifdef GL_ARB_vertex_array_object
11780 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
11782 ret = GLEW_ARB_vertex_array_object;
11783 continue;
11785 #endif
11786 #ifdef GL_ARB_vertex_blend
11787 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_blend", 12))
11789 ret = GLEW_ARB_vertex_blend;
11790 continue;
11792 #endif
11793 #ifdef GL_ARB_vertex_buffer_object
11794 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20))
11796 ret = GLEW_ARB_vertex_buffer_object;
11797 continue;
11799 #endif
11800 #ifdef GL_ARB_vertex_program
11801 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
11803 ret = GLEW_ARB_vertex_program;
11804 continue;
11806 #endif
11807 #ifdef GL_ARB_vertex_shader
11808 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
11810 ret = GLEW_ARB_vertex_shader;
11811 continue;
11813 #endif
11814 #ifdef GL_ARB_vertex_type_2_10_10_10_rev
11815 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_type_2_10_10_10_rev", 26))
11817 ret = GLEW_ARB_vertex_type_2_10_10_10_rev;
11818 continue;
11820 #endif
11821 #ifdef GL_ARB_window_pos
11822 if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
11824 ret = GLEW_ARB_window_pos;
11825 continue;
11827 #endif
11829 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATIX_", 5))
11831 #ifdef GL_ATIX_point_sprites
11832 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprites", 13))
11834 ret = GLEW_ATIX_point_sprites;
11835 continue;
11837 #endif
11838 #ifdef GL_ATIX_texture_env_combine3
11839 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
11841 ret = GLEW_ATIX_texture_env_combine3;
11842 continue;
11844 #endif
11845 #ifdef GL_ATIX_texture_env_route
11846 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_route", 17))
11848 ret = GLEW_ATIX_texture_env_route;
11849 continue;
11851 #endif
11852 #ifdef GL_ATIX_vertex_shader_output_point_size
11853 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_output_point_size", 31))
11855 ret = GLEW_ATIX_vertex_shader_output_point_size;
11856 continue;
11858 #endif
11860 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
11862 #ifdef GL_ATI_draw_buffers
11863 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
11865 ret = GLEW_ATI_draw_buffers;
11866 continue;
11868 #endif
11869 #ifdef GL_ATI_element_array
11870 if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
11872 ret = GLEW_ATI_element_array;
11873 continue;
11875 #endif
11876 #ifdef GL_ATI_envmap_bumpmap
11877 if (_glewStrSame3(&pos, &len, (const GLubyte*)"envmap_bumpmap", 14))
11879 ret = GLEW_ATI_envmap_bumpmap;
11880 continue;
11882 #endif
11883 #ifdef GL_ATI_fragment_shader
11884 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
11886 ret = GLEW_ATI_fragment_shader;
11887 continue;
11889 #endif
11890 #ifdef GL_ATI_map_object_buffer
11891 if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_object_buffer", 17))
11893 ret = GLEW_ATI_map_object_buffer;
11894 continue;
11896 #endif
11897 #ifdef GL_ATI_meminfo
11898 if (_glewStrSame3(&pos, &len, (const GLubyte*)"meminfo", 7))
11900 ret = GLEW_ATI_meminfo;
11901 continue;
11903 #endif
11904 #ifdef GL_ATI_pn_triangles
11905 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pn_triangles", 12))
11907 ret = GLEW_ATI_pn_triangles;
11908 continue;
11910 #endif
11911 #ifdef GL_ATI_separate_stencil
11912 if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_stencil", 16))
11914 ret = GLEW_ATI_separate_stencil;
11915 continue;
11917 #endif
11918 #ifdef GL_ATI_shader_texture_lod
11919 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
11921 ret = GLEW_ATI_shader_texture_lod;
11922 continue;
11924 #endif
11925 #ifdef GL_ATI_text_fragment_shader
11926 if (_glewStrSame3(&pos, &len, (const GLubyte*)"text_fragment_shader", 20))
11928 ret = GLEW_ATI_text_fragment_shader;
11929 continue;
11931 #endif
11932 #ifdef GL_ATI_texture_compression_3dc
11933 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_3dc", 23))
11935 ret = GLEW_ATI_texture_compression_3dc;
11936 continue;
11938 #endif
11939 #ifdef GL_ATI_texture_env_combine3
11940 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
11942 ret = GLEW_ATI_texture_env_combine3;
11943 continue;
11945 #endif
11946 #ifdef GL_ATI_texture_float
11947 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
11949 ret = GLEW_ATI_texture_float;
11950 continue;
11952 #endif
11953 #ifdef GL_ATI_texture_mirror_once
11954 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_once", 19))
11956 ret = GLEW_ATI_texture_mirror_once;
11957 continue;
11959 #endif
11960 #ifdef GL_ATI_vertex_array_object
11961 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
11963 ret = GLEW_ATI_vertex_array_object;
11964 continue;
11966 #endif
11967 #ifdef GL_ATI_vertex_attrib_array_object
11968 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_array_object", 26))
11970 ret = GLEW_ATI_vertex_attrib_array_object;
11971 continue;
11973 #endif
11974 #ifdef GL_ATI_vertex_streams
11975 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_streams", 14))
11977 ret = GLEW_ATI_vertex_streams;
11978 continue;
11980 #endif
11982 if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
11984 #ifdef GL_EXT_422_pixels
11985 if (_glewStrSame3(&pos, &len, (const GLubyte*)"422_pixels", 10))
11987 ret = GLEW_EXT_422_pixels;
11988 continue;
11990 #endif
11991 #ifdef GL_EXT_Cg_shader
11992 if (_glewStrSame3(&pos, &len, (const GLubyte*)"Cg_shader", 9))
11994 ret = GLEW_EXT_Cg_shader;
11995 continue;
11997 #endif
11998 #ifdef GL_EXT_abgr
11999 if (_glewStrSame3(&pos, &len, (const GLubyte*)"abgr", 4))
12001 ret = GLEW_EXT_abgr;
12002 continue;
12004 #endif
12005 #ifdef GL_EXT_bgra
12006 if (_glewStrSame3(&pos, &len, (const GLubyte*)"bgra", 4))
12008 ret = GLEW_EXT_bgra;
12009 continue;
12011 #endif
12012 #ifdef GL_EXT_bindable_uniform
12013 if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindable_uniform", 16))
12015 ret = GLEW_EXT_bindable_uniform;
12016 continue;
12018 #endif
12019 #ifdef GL_EXT_blend_color
12020 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_color", 11))
12022 ret = GLEW_EXT_blend_color;
12023 continue;
12025 #endif
12026 #ifdef GL_EXT_blend_equation_separate
12027 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_separate", 23))
12029 ret = GLEW_EXT_blend_equation_separate;
12030 continue;
12032 #endif
12033 #ifdef GL_EXT_blend_func_separate
12034 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_separate", 19))
12036 ret = GLEW_EXT_blend_func_separate;
12037 continue;
12039 #endif
12040 #ifdef GL_EXT_blend_logic_op
12041 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_logic_op", 14))
12043 ret = GLEW_EXT_blend_logic_op;
12044 continue;
12046 #endif
12047 #ifdef GL_EXT_blend_minmax
12048 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax", 12))
12050 ret = GLEW_EXT_blend_minmax;
12051 continue;
12053 #endif
12054 #ifdef GL_EXT_blend_subtract
12055 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_subtract", 14))
12057 ret = GLEW_EXT_blend_subtract;
12058 continue;
12060 #endif
12061 #ifdef GL_EXT_clip_volume_hint
12062 if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_volume_hint", 16))
12064 ret = GLEW_EXT_clip_volume_hint;
12065 continue;
12067 #endif
12068 #ifdef GL_EXT_cmyka
12069 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cmyka", 5))
12071 ret = GLEW_EXT_cmyka;
12072 continue;
12074 #endif
12075 #ifdef GL_EXT_color_subtable
12076 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_subtable", 14))
12078 ret = GLEW_EXT_color_subtable;
12079 continue;
12081 #endif
12082 #ifdef GL_EXT_compiled_vertex_array
12083 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compiled_vertex_array", 21))
12085 ret = GLEW_EXT_compiled_vertex_array;
12086 continue;
12088 #endif
12089 #ifdef GL_EXT_convolution
12090 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution", 11))
12092 ret = GLEW_EXT_convolution;
12093 continue;
12095 #endif
12096 #ifdef GL_EXT_coordinate_frame
12097 if (_glewStrSame3(&pos, &len, (const GLubyte*)"coordinate_frame", 16))
12099 ret = GLEW_EXT_coordinate_frame;
12100 continue;
12102 #endif
12103 #ifdef GL_EXT_copy_texture
12104 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_texture", 12))
12106 ret = GLEW_EXT_copy_texture;
12107 continue;
12109 #endif
12110 #ifdef GL_EXT_cull_vertex
12111 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
12113 ret = GLEW_EXT_cull_vertex;
12114 continue;
12116 #endif
12117 #ifdef GL_EXT_depth_bounds_test
12118 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_bounds_test", 17))
12120 ret = GLEW_EXT_depth_bounds_test;
12121 continue;
12123 #endif
12124 #ifdef GL_EXT_direct_state_access
12125 if (_glewStrSame3(&pos, &len, (const GLubyte*)"direct_state_access", 19))
12127 ret = GLEW_EXT_direct_state_access;
12128 continue;
12130 #endif
12131 #ifdef GL_EXT_draw_buffers2
12132 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers2", 13))
12134 ret = GLEW_EXT_draw_buffers2;
12135 continue;
12137 #endif
12138 #ifdef GL_EXT_draw_instanced
12139 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
12141 ret = GLEW_EXT_draw_instanced;
12142 continue;
12144 #endif
12145 #ifdef GL_EXT_draw_range_elements
12146 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_range_elements", 19))
12148 ret = GLEW_EXT_draw_range_elements;
12149 continue;
12151 #endif
12152 #ifdef GL_EXT_fog_coord
12153 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_coord", 9))
12155 ret = GLEW_EXT_fog_coord;
12156 continue;
12158 #endif
12159 #ifdef GL_EXT_fragment_lighting
12160 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_lighting", 17))
12162 ret = GLEW_EXT_fragment_lighting;
12163 continue;
12165 #endif
12166 #ifdef GL_EXT_framebuffer_blit
12167 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
12169 ret = GLEW_EXT_framebuffer_blit;
12170 continue;
12172 #endif
12173 #ifdef GL_EXT_framebuffer_multisample
12174 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
12176 ret = GLEW_EXT_framebuffer_multisample;
12177 continue;
12179 #endif
12180 #ifdef GL_EXT_framebuffer_object
12181 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18))
12183 ret = GLEW_EXT_framebuffer_object;
12184 continue;
12186 #endif
12187 #ifdef GL_EXT_framebuffer_sRGB
12188 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
12190 ret = GLEW_EXT_framebuffer_sRGB;
12191 continue;
12193 #endif
12194 #ifdef GL_EXT_geometry_shader4
12195 if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
12197 ret = GLEW_EXT_geometry_shader4;
12198 continue;
12200 #endif
12201 #ifdef GL_EXT_gpu_program_parameters
12202 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_parameters", 22))
12204 ret = GLEW_EXT_gpu_program_parameters;
12205 continue;
12207 #endif
12208 #ifdef GL_EXT_gpu_shader4
12209 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader4", 11))
12211 ret = GLEW_EXT_gpu_shader4;
12212 continue;
12214 #endif
12215 #ifdef GL_EXT_histogram
12216 if (_glewStrSame3(&pos, &len, (const GLubyte*)"histogram", 9))
12218 ret = GLEW_EXT_histogram;
12219 continue;
12221 #endif
12222 #ifdef GL_EXT_index_array_formats
12223 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_array_formats", 19))
12225 ret = GLEW_EXT_index_array_formats;
12226 continue;
12228 #endif
12229 #ifdef GL_EXT_index_func
12230 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_func", 10))
12232 ret = GLEW_EXT_index_func;
12233 continue;
12235 #endif
12236 #ifdef GL_EXT_index_material
12237 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_material", 14))
12239 ret = GLEW_EXT_index_material;
12240 continue;
12242 #endif
12243 #ifdef GL_EXT_index_texture
12244 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_texture", 13))
12246 ret = GLEW_EXT_index_texture;
12247 continue;
12249 #endif
12250 #ifdef GL_EXT_light_texture
12251 if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_texture", 13))
12253 ret = GLEW_EXT_light_texture;
12254 continue;
12256 #endif
12257 #ifdef GL_EXT_misc_attribute
12258 if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_attribute", 14))
12260 ret = GLEW_EXT_misc_attribute;
12261 continue;
12263 #endif
12264 #ifdef GL_EXT_multi_draw_arrays
12265 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_arrays", 17))
12267 ret = GLEW_EXT_multi_draw_arrays;
12268 continue;
12270 #endif
12271 #ifdef GL_EXT_multisample
12272 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
12274 ret = GLEW_EXT_multisample;
12275 continue;
12277 #endif
12278 #ifdef GL_EXT_packed_depth_stencil
12279 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
12281 ret = GLEW_EXT_packed_depth_stencil;
12282 continue;
12284 #endif
12285 #ifdef GL_EXT_packed_float
12286 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_float", 12))
12288 ret = GLEW_EXT_packed_float;
12289 continue;
12291 #endif
12292 #ifdef GL_EXT_packed_pixels
12293 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_pixels", 13))
12295 ret = GLEW_EXT_packed_pixels;
12296 continue;
12298 #endif
12299 #ifdef GL_EXT_paletted_texture
12300 if (_glewStrSame3(&pos, &len, (const GLubyte*)"paletted_texture", 16))
12302 ret = GLEW_EXT_paletted_texture;
12303 continue;
12305 #endif
12306 #ifdef GL_EXT_pixel_buffer_object
12307 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
12309 ret = GLEW_EXT_pixel_buffer_object;
12310 continue;
12312 #endif
12313 #ifdef GL_EXT_pixel_transform
12314 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform", 15))
12316 ret = GLEW_EXT_pixel_transform;
12317 continue;
12319 #endif
12320 #ifdef GL_EXT_pixel_transform_color_table
12321 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform_color_table", 27))
12323 ret = GLEW_EXT_pixel_transform_color_table;
12324 continue;
12326 #endif
12327 #ifdef GL_EXT_point_parameters
12328 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
12330 ret = GLEW_EXT_point_parameters;
12331 continue;
12333 #endif
12334 #ifdef GL_EXT_polygon_offset
12335 if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset", 14))
12337 ret = GLEW_EXT_polygon_offset;
12338 continue;
12340 #endif
12341 #ifdef GL_EXT_provoking_vertex
12342 if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16))
12344 ret = GLEW_EXT_provoking_vertex;
12345 continue;
12347 #endif
12348 #ifdef GL_EXT_rescale_normal
12349 if (_glewStrSame3(&pos, &len, (const GLubyte*)"rescale_normal", 14))
12351 ret = GLEW_EXT_rescale_normal;
12352 continue;
12354 #endif
12355 #ifdef GL_EXT_scene_marker
12356 if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
12358 ret = GLEW_EXT_scene_marker;
12359 continue;
12361 #endif
12362 #ifdef GL_EXT_secondary_color
12363 if (_glewStrSame3(&pos, &len, (const GLubyte*)"secondary_color", 15))
12365 ret = GLEW_EXT_secondary_color;
12366 continue;
12368 #endif
12369 #ifdef GL_EXT_separate_shader_objects
12370 if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_shader_objects", 23))
12372 ret = GLEW_EXT_separate_shader_objects;
12373 continue;
12375 #endif
12376 #ifdef GL_EXT_separate_specular_color
12377 if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_specular_color", 23))
12379 ret = GLEW_EXT_separate_specular_color;
12380 continue;
12382 #endif
12383 #ifdef GL_EXT_shader_image_load_store
12384 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_store", 23))
12386 ret = GLEW_EXT_shader_image_load_store;
12387 continue;
12389 #endif
12390 #ifdef GL_EXT_shadow_funcs
12391 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_funcs", 12))
12393 ret = GLEW_EXT_shadow_funcs;
12394 continue;
12396 #endif
12397 #ifdef GL_EXT_shared_texture_palette
12398 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_texture_palette", 22))
12400 ret = GLEW_EXT_shared_texture_palette;
12401 continue;
12403 #endif
12404 #ifdef GL_EXT_stencil_clear_tag
12405 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_clear_tag", 17))
12407 ret = GLEW_EXT_stencil_clear_tag;
12408 continue;
12410 #endif
12411 #ifdef GL_EXT_stencil_two_side
12412 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_two_side", 16))
12414 ret = GLEW_EXT_stencil_two_side;
12415 continue;
12417 #endif
12418 #ifdef GL_EXT_stencil_wrap
12419 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_wrap", 12))
12421 ret = GLEW_EXT_stencil_wrap;
12422 continue;
12424 #endif
12425 #ifdef GL_EXT_subtexture
12426 if (_glewStrSame3(&pos, &len, (const GLubyte*)"subtexture", 10))
12428 ret = GLEW_EXT_subtexture;
12429 continue;
12431 #endif
12432 #ifdef GL_EXT_texture
12433 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture", 7))
12435 ret = GLEW_EXT_texture;
12436 continue;
12438 #endif
12439 #ifdef GL_EXT_texture3D
12440 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture3D", 9))
12442 ret = GLEW_EXT_texture3D;
12443 continue;
12445 #endif
12446 #ifdef GL_EXT_texture_array
12447 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_array", 13))
12449 ret = GLEW_EXT_texture_array;
12450 continue;
12452 #endif
12453 #ifdef GL_EXT_texture_buffer_object
12454 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21))
12456 ret = GLEW_EXT_texture_buffer_object;
12457 continue;
12459 #endif
12460 #ifdef GL_EXT_texture_compression_dxt1
12461 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt1", 24))
12463 ret = GLEW_EXT_texture_compression_dxt1;
12464 continue;
12466 #endif
12467 #ifdef GL_EXT_texture_compression_latc
12468 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_latc", 24))
12470 ret = GLEW_EXT_texture_compression_latc;
12471 continue;
12473 #endif
12474 #ifdef GL_EXT_texture_compression_rgtc
12475 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24))
12477 ret = GLEW_EXT_texture_compression_rgtc;
12478 continue;
12480 #endif
12481 #ifdef GL_EXT_texture_compression_s3tc
12482 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc", 24))
12484 ret = GLEW_EXT_texture_compression_s3tc;
12485 continue;
12487 #endif
12488 #ifdef GL_EXT_texture_cube_map
12489 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
12491 ret = GLEW_EXT_texture_cube_map;
12492 continue;
12494 #endif
12495 #ifdef GL_EXT_texture_edge_clamp
12496 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
12498 ret = GLEW_EXT_texture_edge_clamp;
12499 continue;
12501 #endif
12502 #ifdef GL_EXT_texture_env
12503 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env", 11))
12505 ret = GLEW_EXT_texture_env;
12506 continue;
12508 #endif
12509 #ifdef GL_EXT_texture_env_add
12510 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
12512 ret = GLEW_EXT_texture_env_add;
12513 continue;
12515 #endif
12516 #ifdef GL_EXT_texture_env_combine
12517 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
12519 ret = GLEW_EXT_texture_env_combine;
12520 continue;
12522 #endif
12523 #ifdef GL_EXT_texture_env_dot3
12524 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
12526 ret = GLEW_EXT_texture_env_dot3;
12527 continue;
12529 #endif
12530 #ifdef GL_EXT_texture_filter_anisotropic
12531 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_anisotropic", 26))
12533 ret = GLEW_EXT_texture_filter_anisotropic;
12534 continue;
12536 #endif
12537 #ifdef GL_EXT_texture_integer
12538 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_integer", 15))
12540 ret = GLEW_EXT_texture_integer;
12541 continue;
12543 #endif
12544 #ifdef GL_EXT_texture_lod_bias
12545 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
12547 ret = GLEW_EXT_texture_lod_bias;
12548 continue;
12550 #endif
12551 #ifdef GL_EXT_texture_mirror_clamp
12552 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_clamp", 20))
12554 ret = GLEW_EXT_texture_mirror_clamp;
12555 continue;
12557 #endif
12558 #ifdef GL_EXT_texture_object
12559 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_object", 14))
12561 ret = GLEW_EXT_texture_object;
12562 continue;
12564 #endif
12565 #ifdef GL_EXT_texture_perturb_normal
12566 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_perturb_normal", 22))
12568 ret = GLEW_EXT_texture_perturb_normal;
12569 continue;
12571 #endif
12572 #ifdef GL_EXT_texture_rectangle
12573 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
12575 ret = GLEW_EXT_texture_rectangle;
12576 continue;
12578 #endif
12579 #ifdef GL_EXT_texture_sRGB
12580 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB", 12))
12582 ret = GLEW_EXT_texture_sRGB;
12583 continue;
12585 #endif
12586 #ifdef GL_EXT_texture_shared_exponent
12587 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shared_exponent", 23))
12589 ret = GLEW_EXT_texture_shared_exponent;
12590 continue;
12592 #endif
12593 #ifdef GL_EXT_texture_snorm
12594 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_snorm", 13))
12596 ret = GLEW_EXT_texture_snorm;
12597 continue;
12599 #endif
12600 #ifdef GL_EXT_texture_swizzle
12601 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15))
12603 ret = GLEW_EXT_texture_swizzle;
12604 continue;
12606 #endif
12607 #ifdef GL_EXT_timer_query
12608 if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
12610 ret = GLEW_EXT_timer_query;
12611 continue;
12613 #endif
12614 #ifdef GL_EXT_transform_feedback
12615 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18))
12617 ret = GLEW_EXT_transform_feedback;
12618 continue;
12620 #endif
12621 #ifdef GL_EXT_vertex_array
12622 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array", 12))
12624 ret = GLEW_EXT_vertex_array;
12625 continue;
12627 #endif
12628 #ifdef GL_EXT_vertex_array_bgra
12629 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17))
12631 ret = GLEW_EXT_vertex_array_bgra;
12632 continue;
12634 #endif
12635 #ifdef GL_EXT_vertex_attrib_64bit
12636 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_64bit", 19))
12638 ret = GLEW_EXT_vertex_attrib_64bit;
12639 continue;
12641 #endif
12642 #ifdef GL_EXT_vertex_shader
12643 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
12645 ret = GLEW_EXT_vertex_shader;
12646 continue;
12648 #endif
12649 #ifdef GL_EXT_vertex_weighting
12650 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_weighting", 16))
12652 ret = GLEW_EXT_vertex_weighting;
12653 continue;
12655 #endif
12657 if (_glewStrSame2(&pos, &len, (const GLubyte*)"GREMEDY_", 8))
12659 #ifdef GL_GREMEDY_frame_terminator
12660 if (_glewStrSame3(&pos, &len, (const GLubyte*)"frame_terminator", 16))
12662 ret = GLEW_GREMEDY_frame_terminator;
12663 continue;
12665 #endif
12666 #ifdef GL_GREMEDY_string_marker
12667 if (_glewStrSame3(&pos, &len, (const GLubyte*)"string_marker", 13))
12669 ret = GLEW_GREMEDY_string_marker;
12670 continue;
12672 #endif
12674 if (_glewStrSame2(&pos, &len, (const GLubyte*)"HP_", 3))
12676 #ifdef GL_HP_convolution_border_modes
12677 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
12679 ret = GLEW_HP_convolution_border_modes;
12680 continue;
12682 #endif
12683 #ifdef GL_HP_image_transform
12684 if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_transform", 15))
12686 ret = GLEW_HP_image_transform;
12687 continue;
12689 #endif
12690 #ifdef GL_HP_occlusion_test
12691 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_test", 14))
12693 ret = GLEW_HP_occlusion_test;
12694 continue;
12696 #endif
12697 #ifdef GL_HP_texture_lighting
12698 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lighting", 16))
12700 ret = GLEW_HP_texture_lighting;
12701 continue;
12703 #endif
12705 if (_glewStrSame2(&pos, &len, (const GLubyte*)"IBM_", 4))
12707 #ifdef GL_IBM_cull_vertex
12708 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
12710 ret = GLEW_IBM_cull_vertex;
12711 continue;
12713 #endif
12714 #ifdef GL_IBM_multimode_draw_arrays
12715 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multimode_draw_arrays", 21))
12717 ret = GLEW_IBM_multimode_draw_arrays;
12718 continue;
12720 #endif
12721 #ifdef GL_IBM_rasterpos_clip
12722 if (_glewStrSame3(&pos, &len, (const GLubyte*)"rasterpos_clip", 14))
12724 ret = GLEW_IBM_rasterpos_clip;
12725 continue;
12727 #endif
12728 #ifdef GL_IBM_static_data
12729 if (_glewStrSame3(&pos, &len, (const GLubyte*)"static_data", 11))
12731 ret = GLEW_IBM_static_data;
12732 continue;
12734 #endif
12735 #ifdef GL_IBM_texture_mirrored_repeat
12736 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
12738 ret = GLEW_IBM_texture_mirrored_repeat;
12739 continue;
12741 #endif
12742 #ifdef GL_IBM_vertex_array_lists
12743 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_lists", 18))
12745 ret = GLEW_IBM_vertex_array_lists;
12746 continue;
12748 #endif
12750 if (_glewStrSame2(&pos, &len, (const GLubyte*)"INGR_", 5))
12752 #ifdef GL_INGR_color_clamp
12753 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_clamp", 11))
12755 ret = GLEW_INGR_color_clamp;
12756 continue;
12758 #endif
12759 #ifdef GL_INGR_interlace_read
12760 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace_read", 14))
12762 ret = GLEW_INGR_interlace_read;
12763 continue;
12765 #endif
12767 if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6))
12769 #ifdef GL_INTEL_parallel_arrays
12770 if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_arrays", 15))
12772 ret = GLEW_INTEL_parallel_arrays;
12773 continue;
12775 #endif
12776 #ifdef GL_INTEL_texture_scissor
12777 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scissor", 15))
12779 ret = GLEW_INTEL_texture_scissor;
12780 continue;
12782 #endif
12784 if (_glewStrSame2(&pos, &len, (const GLubyte*)"KTX_", 4))
12786 #ifdef GL_KTX_buffer_region
12787 if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
12789 ret = GLEW_KTX_buffer_region;
12790 continue;
12792 #endif
12794 if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESAX_", 6))
12796 #ifdef GL_MESAX_texture_stack
12797 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_stack", 13))
12799 ret = GLEW_MESAX_texture_stack;
12800 continue;
12802 #endif
12804 if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
12806 #ifdef GL_MESA_pack_invert
12807 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_invert", 11))
12809 ret = GLEW_MESA_pack_invert;
12810 continue;
12812 #endif
12813 #ifdef GL_MESA_resize_buffers
12814 if (_glewStrSame3(&pos, &len, (const GLubyte*)"resize_buffers", 14))
12816 ret = GLEW_MESA_resize_buffers;
12817 continue;
12819 #endif
12820 #ifdef GL_MESA_window_pos
12821 if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
12823 ret = GLEW_MESA_window_pos;
12824 continue;
12826 #endif
12827 #ifdef GL_MESA_ycbcr_texture
12828 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_texture", 13))
12830 ret = GLEW_MESA_ycbcr_texture;
12831 continue;
12833 #endif
12835 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
12837 #ifdef GL_NV_blend_square
12838 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_square", 12))
12840 ret = GLEW_NV_blend_square;
12841 continue;
12843 #endif
12844 #ifdef GL_NV_conditional_render
12845 if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render", 18))
12847 ret = GLEW_NV_conditional_render;
12848 continue;
12850 #endif
12851 #ifdef GL_NV_copy_depth_to_color
12852 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_depth_to_color", 19))
12854 ret = GLEW_NV_copy_depth_to_color;
12855 continue;
12857 #endif
12858 #ifdef GL_NV_copy_image
12859 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
12861 ret = GLEW_NV_copy_image;
12862 continue;
12864 #endif
12865 #ifdef GL_NV_depth_buffer_float
12866 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18))
12868 ret = GLEW_NV_depth_buffer_float;
12869 continue;
12871 #endif
12872 #ifdef GL_NV_depth_clamp
12873 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11))
12875 ret = GLEW_NV_depth_clamp;
12876 continue;
12878 #endif
12879 #ifdef GL_NV_depth_range_unclamped
12880 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_range_unclamped", 21))
12882 ret = GLEW_NV_depth_range_unclamped;
12883 continue;
12885 #endif
12886 #ifdef GL_NV_evaluators
12887 if (_glewStrSame3(&pos, &len, (const GLubyte*)"evaluators", 10))
12889 ret = GLEW_NV_evaluators;
12890 continue;
12892 #endif
12893 #ifdef GL_NV_explicit_multisample
12894 if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_multisample", 20))
12896 ret = GLEW_NV_explicit_multisample;
12897 continue;
12899 #endif
12900 #ifdef GL_NV_fence
12901 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
12903 ret = GLEW_NV_fence;
12904 continue;
12906 #endif
12907 #ifdef GL_NV_float_buffer
12908 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
12910 ret = GLEW_NV_float_buffer;
12911 continue;
12913 #endif
12914 #ifdef GL_NV_fog_distance
12915 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_distance", 12))
12917 ret = GLEW_NV_fog_distance;
12918 continue;
12920 #endif
12921 #ifdef GL_NV_fragment_program
12922 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
12924 ret = GLEW_NV_fragment_program;
12925 continue;
12927 #endif
12928 #ifdef GL_NV_fragment_program2
12929 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program2", 17))
12931 ret = GLEW_NV_fragment_program2;
12932 continue;
12934 #endif
12935 #ifdef GL_NV_fragment_program4
12936 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program4", 17))
12938 ret = GLEW_NV_fragment_program4;
12939 continue;
12941 #endif
12942 #ifdef GL_NV_fragment_program_option
12943 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_option", 23))
12945 ret = GLEW_NV_fragment_program_option;
12946 continue;
12948 #endif
12949 #ifdef GL_NV_framebuffer_multisample_coverage
12950 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample_coverage", 32))
12952 ret = GLEW_NV_framebuffer_multisample_coverage;
12953 continue;
12955 #endif
12956 #ifdef GL_NV_geometry_program4
12957 if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_program4", 17))
12959 ret = GLEW_NV_geometry_program4;
12960 continue;
12962 #endif
12963 #ifdef GL_NV_geometry_shader4
12964 if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
12966 ret = GLEW_NV_geometry_shader4;
12967 continue;
12969 #endif
12970 #ifdef GL_NV_gpu_program4
12971 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program4", 12))
12973 ret = GLEW_NV_gpu_program4;
12974 continue;
12976 #endif
12977 #ifdef GL_NV_gpu_program5
12978 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program5", 12))
12980 ret = GLEW_NV_gpu_program5;
12981 continue;
12983 #endif
12984 #ifdef GL_NV_gpu_program_fp64
12985 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_fp64", 16))
12987 ret = GLEW_NV_gpu_program_fp64;
12988 continue;
12990 #endif
12991 #ifdef GL_NV_gpu_shader5
12992 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
12994 ret = GLEW_NV_gpu_shader5;
12995 continue;
12997 #endif
12998 #ifdef GL_NV_half_float
12999 if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float", 10))
13001 ret = GLEW_NV_half_float;
13002 continue;
13004 #endif
13005 #ifdef GL_NV_light_max_exponent
13006 if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_max_exponent", 18))
13008 ret = GLEW_NV_light_max_exponent;
13009 continue;
13011 #endif
13012 #ifdef GL_NV_multisample_coverage
13013 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
13015 ret = GLEW_NV_multisample_coverage;
13016 continue;
13018 #endif
13019 #ifdef GL_NV_multisample_filter_hint
13020 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_filter_hint", 23))
13022 ret = GLEW_NV_multisample_filter_hint;
13023 continue;
13025 #endif
13026 #ifdef GL_NV_occlusion_query
13027 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
13029 ret = GLEW_NV_occlusion_query;
13030 continue;
13032 #endif
13033 #ifdef GL_NV_packed_depth_stencil
13034 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
13036 ret = GLEW_NV_packed_depth_stencil;
13037 continue;
13039 #endif
13040 #ifdef GL_NV_parameter_buffer_object
13041 if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object", 23))
13043 ret = GLEW_NV_parameter_buffer_object;
13044 continue;
13046 #endif
13047 #ifdef GL_NV_parameter_buffer_object2
13048 if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object2", 24))
13050 ret = GLEW_NV_parameter_buffer_object2;
13051 continue;
13053 #endif
13054 #ifdef GL_NV_pixel_data_range
13055 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_data_range", 16))
13057 ret = GLEW_NV_pixel_data_range;
13058 continue;
13060 #endif
13061 #ifdef GL_NV_point_sprite
13062 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
13064 ret = GLEW_NV_point_sprite;
13065 continue;
13067 #endif
13068 #ifdef GL_NV_present_video
13069 if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
13071 ret = GLEW_NV_present_video;
13072 continue;
13074 #endif
13075 #ifdef GL_NV_primitive_restart
13076 if (_glewStrSame3(&pos, &len, (const GLubyte*)"primitive_restart", 17))
13078 ret = GLEW_NV_primitive_restart;
13079 continue;
13081 #endif
13082 #ifdef GL_NV_register_combiners
13083 if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners", 18))
13085 ret = GLEW_NV_register_combiners;
13086 continue;
13088 #endif
13089 #ifdef GL_NV_register_combiners2
13090 if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners2", 19))
13092 ret = GLEW_NV_register_combiners2;
13093 continue;
13095 #endif
13096 #ifdef GL_NV_shader_buffer_load
13097 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_buffer_load", 18))
13099 ret = GLEW_NV_shader_buffer_load;
13100 continue;
13102 #endif
13103 #ifdef GL_NV_tessellation_program5
13104 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_program5", 21))
13106 ret = GLEW_NV_tessellation_program5;
13107 continue;
13109 #endif
13110 #ifdef GL_NV_texgen_emboss
13111 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_emboss", 13))
13113 ret = GLEW_NV_texgen_emboss;
13114 continue;
13116 #endif
13117 #ifdef GL_NV_texgen_reflection
13118 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_reflection", 17))
13120 ret = GLEW_NV_texgen_reflection;
13121 continue;
13123 #endif
13124 #ifdef GL_NV_texture_barrier
13125 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_barrier", 15))
13127 ret = GLEW_NV_texture_barrier;
13128 continue;
13130 #endif
13131 #ifdef GL_NV_texture_compression_vtc
13132 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_vtc", 23))
13134 ret = GLEW_NV_texture_compression_vtc;
13135 continue;
13137 #endif
13138 #ifdef GL_NV_texture_env_combine4
13139 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine4", 20))
13141 ret = GLEW_NV_texture_env_combine4;
13142 continue;
13144 #endif
13145 #ifdef GL_NV_texture_expand_normal
13146 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_expand_normal", 21))
13148 ret = GLEW_NV_texture_expand_normal;
13149 continue;
13151 #endif
13152 #ifdef GL_NV_texture_rectangle
13153 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
13155 ret = GLEW_NV_texture_rectangle;
13156 continue;
13158 #endif
13159 #ifdef GL_NV_texture_shader
13160 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader", 14))
13162 ret = GLEW_NV_texture_shader;
13163 continue;
13165 #endif
13166 #ifdef GL_NV_texture_shader2
13167 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader2", 15))
13169 ret = GLEW_NV_texture_shader2;
13170 continue;
13172 #endif
13173 #ifdef GL_NV_texture_shader3
13174 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader3", 15))
13176 ret = GLEW_NV_texture_shader3;
13177 continue;
13179 #endif
13180 #ifdef GL_NV_transform_feedback
13181 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18))
13183 ret = GLEW_NV_transform_feedback;
13184 continue;
13186 #endif
13187 #ifdef GL_NV_transform_feedback2
13188 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19))
13190 ret = GLEW_NV_transform_feedback2;
13191 continue;
13193 #endif
13194 #ifdef GL_NV_vdpau_interop
13195 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vdpau_interop", 13))
13197 ret = GLEW_NV_vdpau_interop;
13198 continue;
13200 #endif
13201 #ifdef GL_NV_vertex_array_range
13202 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
13204 ret = GLEW_NV_vertex_array_range;
13205 continue;
13207 #endif
13208 #ifdef GL_NV_vertex_array_range2
13209 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range2", 19))
13211 ret = GLEW_NV_vertex_array_range2;
13212 continue;
13214 #endif
13215 #ifdef GL_NV_vertex_attrib_integer_64bit
13216 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_integer_64bit", 27))
13218 ret = GLEW_NV_vertex_attrib_integer_64bit;
13219 continue;
13221 #endif
13222 #ifdef GL_NV_vertex_buffer_unified_memory
13223 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_unified_memory", 28))
13225 ret = GLEW_NV_vertex_buffer_unified_memory;
13226 continue;
13228 #endif
13229 #ifdef GL_NV_vertex_program
13230 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
13232 ret = GLEW_NV_vertex_program;
13233 continue;
13235 #endif
13236 #ifdef GL_NV_vertex_program1_1
13237 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program1_1", 17))
13239 ret = GLEW_NV_vertex_program1_1;
13240 continue;
13242 #endif
13243 #ifdef GL_NV_vertex_program2
13244 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2", 15))
13246 ret = GLEW_NV_vertex_program2;
13247 continue;
13249 #endif
13250 #ifdef GL_NV_vertex_program2_option
13251 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2_option", 22))
13253 ret = GLEW_NV_vertex_program2_option;
13254 continue;
13256 #endif
13257 #ifdef GL_NV_vertex_program3
13258 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program3", 15))
13260 ret = GLEW_NV_vertex_program3;
13261 continue;
13263 #endif
13264 #ifdef GL_NV_vertex_program4
13265 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program4", 15))
13267 ret = GLEW_NV_vertex_program4;
13268 continue;
13270 #endif
13272 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OES_", 4))
13274 #ifdef GL_OES_byte_coordinates
13275 if (_glewStrSame3(&pos, &len, (const GLubyte*)"byte_coordinates", 16))
13277 ret = GLEW_OES_byte_coordinates;
13278 continue;
13280 #endif
13281 #ifdef GL_OES_compressed_paletted_texture
13282 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_paletted_texture", 27))
13284 ret = GLEW_OES_compressed_paletted_texture;
13285 continue;
13287 #endif
13288 #ifdef GL_OES_read_format
13289 if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_format", 11))
13291 ret = GLEW_OES_read_format;
13292 continue;
13294 #endif
13295 #ifdef GL_OES_single_precision
13296 if (_glewStrSame3(&pos, &len, (const GLubyte*)"single_precision", 16))
13298 ret = GLEW_OES_single_precision;
13299 continue;
13301 #endif
13303 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
13305 #ifdef GL_OML_interlace
13306 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
13308 ret = GLEW_OML_interlace;
13309 continue;
13311 #endif
13312 #ifdef GL_OML_resample
13313 if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
13315 ret = GLEW_OML_resample;
13316 continue;
13318 #endif
13319 #ifdef GL_OML_subsample
13320 if (_glewStrSame3(&pos, &len, (const GLubyte*)"subsample", 9))
13322 ret = GLEW_OML_subsample;
13323 continue;
13325 #endif
13327 if (_glewStrSame2(&pos, &len, (const GLubyte*)"PGI_", 4))
13329 #ifdef GL_PGI_misc_hints
13330 if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_hints", 10))
13332 ret = GLEW_PGI_misc_hints;
13333 continue;
13335 #endif
13336 #ifdef GL_PGI_vertex_hints
13337 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_hints", 12))
13339 ret = GLEW_PGI_vertex_hints;
13340 continue;
13342 #endif
13344 if (_glewStrSame2(&pos, &len, (const GLubyte*)"REND_", 5))
13346 #ifdef GL_REND_screen_coordinates
13347 if (_glewStrSame3(&pos, &len, (const GLubyte*)"screen_coordinates", 18))
13349 ret = GLEW_REND_screen_coordinates;
13350 continue;
13352 #endif
13354 if (_glewStrSame2(&pos, &len, (const GLubyte*)"S3_", 3))
13356 #ifdef GL_S3_s3tc
13357 if (_glewStrSame3(&pos, &len, (const GLubyte*)"s3tc", 4))
13359 ret = GLEW_S3_s3tc;
13360 continue;
13362 #endif
13364 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
13366 #ifdef GL_SGIS_color_range
13367 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
13369 ret = GLEW_SGIS_color_range;
13370 continue;
13372 #endif
13373 #ifdef GL_SGIS_detail_texture
13374 if (_glewStrSame3(&pos, &len, (const GLubyte*)"detail_texture", 14))
13376 ret = GLEW_SGIS_detail_texture;
13377 continue;
13379 #endif
13380 #ifdef GL_SGIS_fog_function
13381 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_function", 12))
13383 ret = GLEW_SGIS_fog_function;
13384 continue;
13386 #endif
13387 #ifdef GL_SGIS_generate_mipmap
13388 if (_glewStrSame3(&pos, &len, (const GLubyte*)"generate_mipmap", 15))
13390 ret = GLEW_SGIS_generate_mipmap;
13391 continue;
13393 #endif
13394 #ifdef GL_SGIS_multisample
13395 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
13397 ret = GLEW_SGIS_multisample;
13398 continue;
13400 #endif
13401 #ifdef GL_SGIS_pixel_texture
13402 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
13404 ret = GLEW_SGIS_pixel_texture;
13405 continue;
13407 #endif
13408 #ifdef GL_SGIS_point_line_texgen
13409 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_line_texgen", 17))
13411 ret = GLEW_SGIS_point_line_texgen;
13412 continue;
13414 #endif
13415 #ifdef GL_SGIS_sharpen_texture
13416 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sharpen_texture", 15))
13418 ret = GLEW_SGIS_sharpen_texture;
13419 continue;
13421 #endif
13422 #ifdef GL_SGIS_texture4D
13423 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture4D", 9))
13425 ret = GLEW_SGIS_texture4D;
13426 continue;
13428 #endif
13429 #ifdef GL_SGIS_texture_border_clamp
13430 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
13432 ret = GLEW_SGIS_texture_border_clamp;
13433 continue;
13435 #endif
13436 #ifdef GL_SGIS_texture_edge_clamp
13437 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
13439 ret = GLEW_SGIS_texture_edge_clamp;
13440 continue;
13442 #endif
13443 #ifdef GL_SGIS_texture_filter4
13444 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter4", 15))
13446 ret = GLEW_SGIS_texture_filter4;
13447 continue;
13449 #endif
13450 #ifdef GL_SGIS_texture_lod
13451 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod", 11))
13453 ret = GLEW_SGIS_texture_lod;
13454 continue;
13456 #endif
13457 #ifdef GL_SGIS_texture_select
13458 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_select", 14))
13460 ret = GLEW_SGIS_texture_select;
13461 continue;
13463 #endif
13465 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
13467 #ifdef GL_SGIX_async
13468 if (_glewStrSame3(&pos, &len, (const GLubyte*)"async", 5))
13470 ret = GLEW_SGIX_async;
13471 continue;
13473 #endif
13474 #ifdef GL_SGIX_async_histogram
13475 if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_histogram", 15))
13477 ret = GLEW_SGIX_async_histogram;
13478 continue;
13480 #endif
13481 #ifdef GL_SGIX_async_pixel
13482 if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_pixel", 11))
13484 ret = GLEW_SGIX_async_pixel;
13485 continue;
13487 #endif
13488 #ifdef GL_SGIX_blend_alpha_minmax
13489 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_alpha_minmax", 18))
13491 ret = GLEW_SGIX_blend_alpha_minmax;
13492 continue;
13494 #endif
13495 #ifdef GL_SGIX_clipmap
13496 if (_glewStrSame3(&pos, &len, (const GLubyte*)"clipmap", 7))
13498 ret = GLEW_SGIX_clipmap;
13499 continue;
13501 #endif
13502 #ifdef GL_SGIX_convolution_accuracy
13503 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_accuracy", 20))
13505 ret = GLEW_SGIX_convolution_accuracy;
13506 continue;
13508 #endif
13509 #ifdef GL_SGIX_depth_texture
13510 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
13512 ret = GLEW_SGIX_depth_texture;
13513 continue;
13515 #endif
13516 #ifdef GL_SGIX_flush_raster
13517 if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_raster", 12))
13519 ret = GLEW_SGIX_flush_raster;
13520 continue;
13522 #endif
13523 #ifdef GL_SGIX_fog_offset
13524 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_offset", 10))
13526 ret = GLEW_SGIX_fog_offset;
13527 continue;
13529 #endif
13530 #ifdef GL_SGIX_fog_texture
13531 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_texture", 11))
13533 ret = GLEW_SGIX_fog_texture;
13534 continue;
13536 #endif
13537 #ifdef GL_SGIX_fragment_specular_lighting
13538 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_specular_lighting", 26))
13540 ret = GLEW_SGIX_fragment_specular_lighting;
13541 continue;
13543 #endif
13544 #ifdef GL_SGIX_framezoom
13545 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framezoom", 9))
13547 ret = GLEW_SGIX_framezoom;
13548 continue;
13550 #endif
13551 #ifdef GL_SGIX_interlace
13552 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
13554 ret = GLEW_SGIX_interlace;
13555 continue;
13557 #endif
13558 #ifdef GL_SGIX_ir_instrument1
13559 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ir_instrument1", 14))
13561 ret = GLEW_SGIX_ir_instrument1;
13562 continue;
13564 #endif
13565 #ifdef GL_SGIX_list_priority
13566 if (_glewStrSame3(&pos, &len, (const GLubyte*)"list_priority", 13))
13568 ret = GLEW_SGIX_list_priority;
13569 continue;
13571 #endif
13572 #ifdef GL_SGIX_pixel_texture
13573 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
13575 ret = GLEW_SGIX_pixel_texture;
13576 continue;
13578 #endif
13579 #ifdef GL_SGIX_pixel_texture_bits
13580 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture_bits", 18))
13582 ret = GLEW_SGIX_pixel_texture_bits;
13583 continue;
13585 #endif
13586 #ifdef GL_SGIX_reference_plane
13587 if (_glewStrSame3(&pos, &len, (const GLubyte*)"reference_plane", 15))
13589 ret = GLEW_SGIX_reference_plane;
13590 continue;
13592 #endif
13593 #ifdef GL_SGIX_resample
13594 if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
13596 ret = GLEW_SGIX_resample;
13597 continue;
13599 #endif
13600 #ifdef GL_SGIX_shadow
13601 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
13603 ret = GLEW_SGIX_shadow;
13604 continue;
13606 #endif
13607 #ifdef GL_SGIX_shadow_ambient
13608 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
13610 ret = GLEW_SGIX_shadow_ambient;
13611 continue;
13613 #endif
13614 #ifdef GL_SGIX_sprite
13615 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sprite", 6))
13617 ret = GLEW_SGIX_sprite;
13618 continue;
13620 #endif
13621 #ifdef GL_SGIX_tag_sample_buffer
13622 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tag_sample_buffer", 17))
13624 ret = GLEW_SGIX_tag_sample_buffer;
13625 continue;
13627 #endif
13628 #ifdef GL_SGIX_texture_add_env
13629 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_add_env", 15))
13631 ret = GLEW_SGIX_texture_add_env;
13632 continue;
13634 #endif
13635 #ifdef GL_SGIX_texture_coordinate_clamp
13636 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_coordinate_clamp", 24))
13638 ret = GLEW_SGIX_texture_coordinate_clamp;
13639 continue;
13641 #endif
13642 #ifdef GL_SGIX_texture_lod_bias
13643 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
13645 ret = GLEW_SGIX_texture_lod_bias;
13646 continue;
13648 #endif
13649 #ifdef GL_SGIX_texture_multi_buffer
13650 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multi_buffer", 20))
13652 ret = GLEW_SGIX_texture_multi_buffer;
13653 continue;
13655 #endif
13656 #ifdef GL_SGIX_texture_range
13657 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
13659 ret = GLEW_SGIX_texture_range;
13660 continue;
13662 #endif
13663 #ifdef GL_SGIX_texture_scale_bias
13664 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scale_bias", 18))
13666 ret = GLEW_SGIX_texture_scale_bias;
13667 continue;
13669 #endif
13670 #ifdef GL_SGIX_vertex_preclip
13671 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip", 14))
13673 ret = GLEW_SGIX_vertex_preclip;
13674 continue;
13676 #endif
13677 #ifdef GL_SGIX_vertex_preclip_hint
13678 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip_hint", 19))
13680 ret = GLEW_SGIX_vertex_preclip_hint;
13681 continue;
13683 #endif
13684 #ifdef GL_SGIX_ycrcb
13685 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcb", 5))
13687 ret = GLEW_SGIX_ycrcb;
13688 continue;
13690 #endif
13692 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
13694 #ifdef GL_SGI_color_matrix
13695 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_matrix", 12))
13697 ret = GLEW_SGI_color_matrix;
13698 continue;
13700 #endif
13701 #ifdef GL_SGI_color_table
13702 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_table", 11))
13704 ret = GLEW_SGI_color_table;
13705 continue;
13707 #endif
13708 #ifdef GL_SGI_texture_color_table
13709 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_color_table", 19))
13711 ret = GLEW_SGI_texture_color_table;
13712 continue;
13714 #endif
13716 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUNX_", 5))
13718 #ifdef GL_SUNX_constant_data
13719 if (_glewStrSame3(&pos, &len, (const GLubyte*)"constant_data", 13))
13721 ret = GLEW_SUNX_constant_data;
13722 continue;
13724 #endif
13726 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
13728 #ifdef GL_SUN_convolution_border_modes
13729 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
13731 ret = GLEW_SUN_convolution_border_modes;
13732 continue;
13734 #endif
13735 #ifdef GL_SUN_global_alpha
13736 if (_glewStrSame3(&pos, &len, (const GLubyte*)"global_alpha", 12))
13738 ret = GLEW_SUN_global_alpha;
13739 continue;
13741 #endif
13742 #ifdef GL_SUN_mesh_array
13743 if (_glewStrSame3(&pos, &len, (const GLubyte*)"mesh_array", 10))
13745 ret = GLEW_SUN_mesh_array;
13746 continue;
13748 #endif
13749 #ifdef GL_SUN_read_video_pixels
13750 if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_video_pixels", 17))
13752 ret = GLEW_SUN_read_video_pixels;
13753 continue;
13755 #endif
13756 #ifdef GL_SUN_slice_accum
13757 if (_glewStrSame3(&pos, &len, (const GLubyte*)"slice_accum", 11))
13759 ret = GLEW_SUN_slice_accum;
13760 continue;
13762 #endif
13763 #ifdef GL_SUN_triangle_list
13764 if (_glewStrSame3(&pos, &len, (const GLubyte*)"triangle_list", 13))
13766 ret = GLEW_SUN_triangle_list;
13767 continue;
13769 #endif
13770 #ifdef GL_SUN_vertex
13771 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex", 6))
13773 ret = GLEW_SUN_vertex;
13774 continue;
13776 #endif
13778 if (_glewStrSame2(&pos, &len, (const GLubyte*)"WIN_", 4))
13780 #ifdef GL_WIN_phong_shading
13781 if (_glewStrSame3(&pos, &len, (const GLubyte*)"phong_shading", 13))
13783 ret = GLEW_WIN_phong_shading;
13784 continue;
13786 #endif
13787 #ifdef GL_WIN_specular_fog
13788 if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_fog", 12))
13790 ret = GLEW_WIN_specular_fog;
13791 continue;
13793 #endif
13794 #ifdef GL_WIN_swap_hint
13795 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_hint", 9))
13797 ret = GLEW_WIN_swap_hint;
13798 continue;
13800 #endif
13803 ret = (len == 0);
13805 return ret;
13808 #if defined(_WIN32)
13810 #if defined(GLEW_MX)
13811 GLboolean wglewContextIsSupported (WGLEWContext* ctx, const char* name)
13812 #else
13813 GLboolean wglewIsSupported (const char* name)
13814 #endif
13816 GLubyte* pos = (GLubyte*)name;
13817 GLuint len = _glewStrLen(pos);
13818 GLboolean ret = GL_TRUE;
13819 while (ret && len > 0)
13821 if (_glewStrSame1(&pos, &len, (const GLubyte*)"WGL_", 4))
13823 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
13825 #ifdef WGL_3DFX_multisample
13826 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
13828 ret = WGLEW_3DFX_multisample;
13829 continue;
13831 #endif
13833 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DL_", 4))
13835 #ifdef WGL_3DL_stereo_control
13836 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_control", 14))
13838 ret = WGLEW_3DL_stereo_control;
13839 continue;
13841 #endif
13843 if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
13845 #ifdef WGL_AMD_gpu_association
13846 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15))
13848 ret = WGLEW_AMD_gpu_association;
13849 continue;
13851 #endif
13853 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
13855 #ifdef WGL_ARB_buffer_region
13856 if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
13858 ret = WGLEW_ARB_buffer_region;
13859 continue;
13861 #endif
13862 #ifdef WGL_ARB_create_context
13863 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
13865 ret = WGLEW_ARB_create_context;
13866 continue;
13868 #endif
13869 #ifdef WGL_ARB_create_context_profile
13870 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22))
13872 ret = WGLEW_ARB_create_context_profile;
13873 continue;
13875 #endif
13876 #ifdef WGL_ARB_extensions_string
13877 if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
13879 ret = WGLEW_ARB_extensions_string;
13880 continue;
13882 #endif
13883 #ifdef WGL_ARB_framebuffer_sRGB
13884 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
13886 ret = WGLEW_ARB_framebuffer_sRGB;
13887 continue;
13889 #endif
13890 #ifdef WGL_ARB_make_current_read
13891 if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
13893 ret = WGLEW_ARB_make_current_read;
13894 continue;
13896 #endif
13897 #ifdef WGL_ARB_multisample
13898 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
13900 ret = WGLEW_ARB_multisample;
13901 continue;
13903 #endif
13904 #ifdef WGL_ARB_pbuffer
13905 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
13907 ret = WGLEW_ARB_pbuffer;
13908 continue;
13910 #endif
13911 #ifdef WGL_ARB_pixel_format
13912 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
13914 ret = WGLEW_ARB_pixel_format;
13915 continue;
13917 #endif
13918 #ifdef WGL_ARB_pixel_format_float
13919 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
13921 ret = WGLEW_ARB_pixel_format_float;
13922 continue;
13924 #endif
13925 #ifdef WGL_ARB_render_texture
13926 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
13928 ret = WGLEW_ARB_render_texture;
13929 continue;
13931 #endif
13933 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
13935 #ifdef WGL_ATI_pixel_format_float
13936 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
13938 ret = WGLEW_ATI_pixel_format_float;
13939 continue;
13941 #endif
13942 #ifdef WGL_ATI_render_texture_rectangle
13943 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
13945 ret = WGLEW_ATI_render_texture_rectangle;
13946 continue;
13948 #endif
13950 if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
13952 #ifdef WGL_EXT_depth_float
13953 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_float", 11))
13955 ret = WGLEW_EXT_depth_float;
13956 continue;
13958 #endif
13959 #ifdef WGL_EXT_display_color_table
13960 if (_glewStrSame3(&pos, &len, (const GLubyte*)"display_color_table", 19))
13962 ret = WGLEW_EXT_display_color_table;
13963 continue;
13965 #endif
13966 #ifdef WGL_EXT_extensions_string
13967 if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
13969 ret = WGLEW_EXT_extensions_string;
13970 continue;
13972 #endif
13973 #ifdef WGL_EXT_framebuffer_sRGB
13974 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
13976 ret = WGLEW_EXT_framebuffer_sRGB;
13977 continue;
13979 #endif
13980 #ifdef WGL_EXT_make_current_read
13981 if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
13983 ret = WGLEW_EXT_make_current_read;
13984 continue;
13986 #endif
13987 #ifdef WGL_EXT_multisample
13988 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
13990 ret = WGLEW_EXT_multisample;
13991 continue;
13993 #endif
13994 #ifdef WGL_EXT_pbuffer
13995 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
13997 ret = WGLEW_EXT_pbuffer;
13998 continue;
14000 #endif
14001 #ifdef WGL_EXT_pixel_format
14002 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
14004 ret = WGLEW_EXT_pixel_format;
14005 continue;
14007 #endif
14008 #ifdef WGL_EXT_pixel_format_packed_float
14009 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_packed_float", 25))
14011 ret = WGLEW_EXT_pixel_format_packed_float;
14012 continue;
14014 #endif
14015 #ifdef WGL_EXT_swap_control
14016 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
14018 ret = WGLEW_EXT_swap_control;
14019 continue;
14021 #endif
14023 if (_glewStrSame2(&pos, &len, (const GLubyte*)"I3D_", 4))
14025 #ifdef WGL_I3D_digital_video_control
14026 if (_glewStrSame3(&pos, &len, (const GLubyte*)"digital_video_control", 21))
14028 ret = WGLEW_I3D_digital_video_control;
14029 continue;
14031 #endif
14032 #ifdef WGL_I3D_gamma
14033 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gamma", 5))
14035 ret = WGLEW_I3D_gamma;
14036 continue;
14038 #endif
14039 #ifdef WGL_I3D_genlock
14040 if (_glewStrSame3(&pos, &len, (const GLubyte*)"genlock", 7))
14042 ret = WGLEW_I3D_genlock;
14043 continue;
14045 #endif
14046 #ifdef WGL_I3D_image_buffer
14047 if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_buffer", 12))
14049 ret = WGLEW_I3D_image_buffer;
14050 continue;
14052 #endif
14053 #ifdef WGL_I3D_swap_frame_lock
14054 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_lock", 15))
14056 ret = WGLEW_I3D_swap_frame_lock;
14057 continue;
14059 #endif
14060 #ifdef WGL_I3D_swap_frame_usage
14061 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_usage", 16))
14063 ret = WGLEW_I3D_swap_frame_usage;
14064 continue;
14066 #endif
14068 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
14070 #ifdef WGL_NV_copy_image
14071 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
14073 ret = WGLEW_NV_copy_image;
14074 continue;
14076 #endif
14077 #ifdef WGL_NV_float_buffer
14078 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
14080 ret = WGLEW_NV_float_buffer;
14081 continue;
14083 #endif
14084 #ifdef WGL_NV_gpu_affinity
14085 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_affinity", 12))
14087 ret = WGLEW_NV_gpu_affinity;
14088 continue;
14090 #endif
14091 #ifdef WGL_NV_multisample_coverage
14092 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
14094 ret = WGLEW_NV_multisample_coverage;
14095 continue;
14097 #endif
14098 #ifdef WGL_NV_present_video
14099 if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
14101 ret = WGLEW_NV_present_video;
14102 continue;
14104 #endif
14105 #ifdef WGL_NV_render_depth_texture
14106 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_depth_texture", 20))
14108 ret = WGLEW_NV_render_depth_texture;
14109 continue;
14111 #endif
14112 #ifdef WGL_NV_render_texture_rectangle
14113 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
14115 ret = WGLEW_NV_render_texture_rectangle;
14116 continue;
14118 #endif
14119 #ifdef WGL_NV_swap_group
14120 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
14122 ret = WGLEW_NV_swap_group;
14123 continue;
14125 #endif
14126 #ifdef WGL_NV_vertex_array_range
14127 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
14129 ret = WGLEW_NV_vertex_array_range;
14130 continue;
14132 #endif
14133 #ifdef WGL_NV_video_output
14134 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_output", 12))
14136 ret = WGLEW_NV_video_output;
14137 continue;
14139 #endif
14141 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
14143 #ifdef WGL_OML_sync_control
14144 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
14146 ret = WGLEW_OML_sync_control;
14147 continue;
14149 #endif
14152 ret = (len == 0);
14154 return ret;
14157 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
14159 #if defined(GLEW_MX)
14160 GLboolean glxewContextIsSupported (GLXEWContext* ctx, const char* name)
14161 #else
14162 GLboolean glxewIsSupported (const char* name)
14163 #endif
14165 GLubyte* pos = (GLubyte*)name;
14166 GLuint len = _glewStrLen(pos);
14167 GLboolean ret = GL_TRUE;
14168 while (ret && len > 0)
14170 if(_glewStrSame1(&pos, &len, (const GLubyte*)"GLX_", 4))
14172 if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
14174 #ifdef GLX_VERSION_1_2
14175 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
14177 ret = GLXEW_VERSION_1_2;
14178 continue;
14180 #endif
14181 #ifdef GLX_VERSION_1_3
14182 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
14184 ret = GLXEW_VERSION_1_3;
14185 continue;
14187 #endif
14188 #ifdef GLX_VERSION_1_4
14189 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
14191 ret = GLXEW_VERSION_1_4;
14192 continue;
14194 #endif
14196 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
14198 #ifdef GLX_3DFX_multisample
14199 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
14201 ret = GLXEW_3DFX_multisample;
14202 continue;
14204 #endif
14206 if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
14208 #ifdef GLX_AMD_gpu_association
14209 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15))
14211 ret = GLXEW_AMD_gpu_association;
14212 continue;
14214 #endif
14216 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
14218 #ifdef GLX_ARB_create_context
14219 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
14221 ret = GLXEW_ARB_create_context;
14222 continue;
14224 #endif
14225 #ifdef GLX_ARB_create_context_profile
14226 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22))
14228 ret = GLXEW_ARB_create_context_profile;
14229 continue;
14231 #endif
14232 #ifdef GLX_ARB_fbconfig_float
14233 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_float", 14))
14235 ret = GLXEW_ARB_fbconfig_float;
14236 continue;
14238 #endif
14239 #ifdef GLX_ARB_framebuffer_sRGB
14240 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
14242 ret = GLXEW_ARB_framebuffer_sRGB;
14243 continue;
14245 #endif
14246 #ifdef GLX_ARB_get_proc_address
14247 if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_proc_address", 16))
14249 ret = GLXEW_ARB_get_proc_address;
14250 continue;
14252 #endif
14253 #ifdef GLX_ARB_multisample
14254 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
14256 ret = GLXEW_ARB_multisample;
14257 continue;
14259 #endif
14260 #ifdef GLX_ARB_vertex_buffer_object
14261 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20))
14263 ret = GLXEW_ARB_vertex_buffer_object;
14264 continue;
14266 #endif
14268 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
14270 #ifdef GLX_ATI_pixel_format_float
14271 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
14273 ret = GLXEW_ATI_pixel_format_float;
14274 continue;
14276 #endif
14277 #ifdef GLX_ATI_render_texture
14278 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
14280 ret = GLXEW_ATI_render_texture;
14281 continue;
14283 #endif
14285 if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
14287 #ifdef GLX_EXT_fbconfig_packed_float
14288 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_packed_float", 21))
14290 ret = GLXEW_EXT_fbconfig_packed_float;
14291 continue;
14293 #endif
14294 #ifdef GLX_EXT_framebuffer_sRGB
14295 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
14297 ret = GLXEW_EXT_framebuffer_sRGB;
14298 continue;
14300 #endif
14301 #ifdef GLX_EXT_import_context
14302 if (_glewStrSame3(&pos, &len, (const GLubyte*)"import_context", 14))
14304 ret = GLXEW_EXT_import_context;
14305 continue;
14307 #endif
14308 #ifdef GLX_EXT_scene_marker
14309 if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
14311 ret = GLXEW_EXT_scene_marker;
14312 continue;
14314 #endif
14315 #ifdef GLX_EXT_swap_control
14316 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
14318 ret = GLXEW_EXT_swap_control;
14319 continue;
14321 #endif
14322 #ifdef GLX_EXT_texture_from_pixmap
14323 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_from_pixmap", 19))
14325 ret = GLXEW_EXT_texture_from_pixmap;
14326 continue;
14328 #endif
14329 #ifdef GLX_EXT_visual_info
14330 if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_info", 11))
14332 ret = GLXEW_EXT_visual_info;
14333 continue;
14335 #endif
14336 #ifdef GLX_EXT_visual_rating
14337 if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_rating", 13))
14339 ret = GLXEW_EXT_visual_rating;
14340 continue;
14342 #endif
14344 if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6))
14346 #ifdef GLX_INTEL_swap_event
14347 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_event", 10))
14349 ret = GLXEW_INTEL_swap_event;
14350 continue;
14352 #endif
14354 if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
14356 #ifdef GLX_MESA_agp_offset
14357 if (_glewStrSame3(&pos, &len, (const GLubyte*)"agp_offset", 10))
14359 ret = GLXEW_MESA_agp_offset;
14360 continue;
14362 #endif
14363 #ifdef GLX_MESA_copy_sub_buffer
14364 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_sub_buffer", 15))
14366 ret = GLXEW_MESA_copy_sub_buffer;
14367 continue;
14369 #endif
14370 #ifdef GLX_MESA_pixmap_colormap
14371 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixmap_colormap", 15))
14373 ret = GLXEW_MESA_pixmap_colormap;
14374 continue;
14376 #endif
14377 #ifdef GLX_MESA_release_buffers
14378 if (_glewStrSame3(&pos, &len, (const GLubyte*)"release_buffers", 15))
14380 ret = GLXEW_MESA_release_buffers;
14381 continue;
14383 #endif
14384 #ifdef GLX_MESA_set_3dfx_mode
14385 if (_glewStrSame3(&pos, &len, (const GLubyte*)"set_3dfx_mode", 13))
14387 ret = GLXEW_MESA_set_3dfx_mode;
14388 continue;
14390 #endif
14392 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
14394 #ifdef GLX_NV_copy_image
14395 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
14397 ret = GLXEW_NV_copy_image;
14398 continue;
14400 #endif
14401 #ifdef GLX_NV_float_buffer
14402 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
14404 ret = GLXEW_NV_float_buffer;
14405 continue;
14407 #endif
14408 #ifdef GLX_NV_multisample_coverage
14409 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
14411 ret = GLXEW_NV_multisample_coverage;
14412 continue;
14414 #endif
14415 #ifdef GLX_NV_present_video
14416 if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
14418 ret = GLXEW_NV_present_video;
14419 continue;
14421 #endif
14422 #ifdef GLX_NV_swap_group
14423 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
14425 ret = GLXEW_NV_swap_group;
14426 continue;
14428 #endif
14429 #ifdef GLX_NV_vertex_array_range
14430 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
14432 ret = GLXEW_NV_vertex_array_range;
14433 continue;
14435 #endif
14436 #ifdef GLX_NV_video_output
14437 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_output", 12))
14439 ret = GLXEW_NV_video_output;
14440 continue;
14442 #endif
14444 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
14446 #ifdef GLX_OML_swap_method
14447 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_method", 11))
14449 ret = GLXEW_OML_swap_method;
14450 continue;
14452 #endif
14453 #if defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
14454 #include <inttypes.h>
14455 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
14457 ret = GLXEW_OML_sync_control;
14458 continue;
14460 #endif
14462 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
14464 #ifdef GLX_SGIS_blended_overlay
14465 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blended_overlay", 15))
14467 ret = GLXEW_SGIS_blended_overlay;
14468 continue;
14470 #endif
14471 #ifdef GLX_SGIS_color_range
14472 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
14474 ret = GLXEW_SGIS_color_range;
14475 continue;
14477 #endif
14478 #ifdef GLX_SGIS_multisample
14479 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
14481 ret = GLXEW_SGIS_multisample;
14482 continue;
14484 #endif
14485 #ifdef GLX_SGIS_shared_multisample
14486 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_multisample", 18))
14488 ret = GLXEW_SGIS_shared_multisample;
14489 continue;
14491 #endif
14493 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
14495 #ifdef GLX_SGIX_fbconfig
14496 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig", 8))
14498 ret = GLXEW_SGIX_fbconfig;
14499 continue;
14501 #endif
14502 #ifdef GLX_SGIX_hyperpipe
14503 if (_glewStrSame3(&pos, &len, (const GLubyte*)"hyperpipe", 9))
14505 ret = GLXEW_SGIX_hyperpipe;
14506 continue;
14508 #endif
14509 #ifdef GLX_SGIX_pbuffer
14510 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
14512 ret = GLXEW_SGIX_pbuffer;
14513 continue;
14515 #endif
14516 #ifdef GLX_SGIX_swap_barrier
14517 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_barrier", 12))
14519 ret = GLXEW_SGIX_swap_barrier;
14520 continue;
14522 #endif
14523 #ifdef GLX_SGIX_swap_group
14524 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
14526 ret = GLXEW_SGIX_swap_group;
14527 continue;
14529 #endif
14530 #ifdef GLX_SGIX_video_resize
14531 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
14533 ret = GLXEW_SGIX_video_resize;
14534 continue;
14536 #endif
14537 #ifdef GLX_SGIX_visual_select_group
14538 if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_select_group", 19))
14540 ret = GLXEW_SGIX_visual_select_group;
14541 continue;
14543 #endif
14545 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
14547 #ifdef GLX_SGI_cushion
14548 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cushion", 7))
14550 ret = GLXEW_SGI_cushion;
14551 continue;
14553 #endif
14554 #ifdef GLX_SGI_make_current_read
14555 if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
14557 ret = GLXEW_SGI_make_current_read;
14558 continue;
14560 #endif
14561 #ifdef GLX_SGI_swap_control
14562 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
14564 ret = GLXEW_SGI_swap_control;
14565 continue;
14567 #endif
14568 #ifdef GLX_SGI_video_sync
14569 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_sync", 10))
14571 ret = GLXEW_SGI_video_sync;
14572 continue;
14574 #endif
14576 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
14578 #ifdef GLX_SUN_get_transparent_index
14579 if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_transparent_index", 21))
14581 ret = GLXEW_SUN_get_transparent_index;
14582 continue;
14584 #endif
14585 #ifdef GLX_SUN_video_resize
14586 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
14588 ret = GLXEW_SUN_video_resize;
14589 continue;
14591 #endif
14594 ret = (len == 0);
14596 return ret;
14599 #endif /* _WIN32 */