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.
18**
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.
30*/
31
32// BANSHEE SPECIFIC START
33#include "BsGLSupport.h"
34// BANSHEE SPECIFIC END
35
36#include <GL/glew.h>
37
38#if defined(_WIN32)
39# include <GL/wglew.h>
40#elif !defined(__ANDROID__) && !defined(__native_client__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
41# include <GL/glxew.h>
42#endif
43
44/*
45 * Define glewGetContext and related helper macros.
46 */
47#ifdef GLEW_MX
48# define glewGetContext() ctx
49# ifdef _WIN32
50# define GLEW_CONTEXT_ARG_DEF_INIT GLEWContext* ctx
51# define GLEW_CONTEXT_ARG_VAR_INIT ctx
52# define wglewGetContext() ctx
53# define WGLEW_CONTEXT_ARG_DEF_INIT WGLEWContext* ctx
54# define WGLEW_CONTEXT_ARG_DEF_LIST WGLEWContext* ctx
55# else /* _WIN32 */
56# define GLEW_CONTEXT_ARG_DEF_INIT void
57# define GLEW_CONTEXT_ARG_VAR_INIT
58# define glxewGetContext() ctx
59# define GLXEW_CONTEXT_ARG_DEF_INIT void
60# define GLXEW_CONTEXT_ARG_DEF_LIST GLXEWContext* ctx
61# endif /* _WIN32 */
62# define GLEW_CONTEXT_ARG_DEF_LIST GLEWContext* ctx
63#else /* GLEW_MX */
64// BANSHEE SPECIFIC START
65# define GLEW_CONTEXT_ARG_DEF_INIT bs::ct::GLSupport *glSupport
66# define GLEW_CONTEXT_ARG_VAR_INIT glSupport
67# define GLEW_CONTEXT_ARG_DEF_LIST bs::ct::GLSupport *glSupport
68# define WGLEW_CONTEXT_ARG_DEF_INIT bs::ct::GLSupport *glSupport
69# define WGLEW_CONTEXT_ARG_DEF_LIST bs::ct::GLSupport *glSupport
70# define GLXEW_CONTEXT_ARG_DEF_INIT bs::ct::GLSupport *glSupport
71# define GLXEW_CONTEXT_ARG_DEF_LIST bs::ct::GLSupport *glSupport
72// BANSHEE SPECIFIC END
73#endif /* GLEW_MX */
74
75#if defined(__sgi) || defined (__sun) || defined(GLEW_APPLE_GLX)
76#include <dlfcn.h>
77#include <stdio.h>
78#include <stdlib.h>
79
80void* dlGetProcAddress (const GLubyte* name)
81{
82 static void* h = NULL;
83 static void* gpa;
84
85 if (h == NULL)
86 {
87 if ((h = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL)) == NULL) return NULL;
88 gpa = dlsym(h, "glXGetProcAddress");
89 }
90
91 if (gpa != NULL)
92 return ((void*(*)(const GLubyte*))gpa)(name);
93 else
94 return dlsym(h, (const char*)name);
95}
96#endif /* __sgi || __sun || GLEW_APPLE_GLX */
97
98#if defined(__APPLE__)
99#include <stdlib.h>
100#include <string.h>
101#include <AvailabilityMacros.h>
102
103#ifdef MAC_OS_X_VERSION_10_3
104
105#include <dlfcn.h>
106
107void* NSGLGetProcAddress (const GLubyte *name)
108{
109 static void* image = NULL;
110 void* addr;
111 if (NULL == image)
112 {
113#ifdef GLEW_REGAL
114 image = dlopen("libRegal.dylib", RTLD_LAZY);
115#else
116 image = dlopen("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", RTLD_LAZY);
117#endif
118 }
119 if( !image ) return NULL;
120 addr = dlsym(image, (const char*)name);
121 if( addr ) return addr;
122#ifdef GLEW_APPLE_GLX
123 return dlGetProcAddress( name ); // try next for glx symbols
124#else
125 return NULL;
126#endif
127}
128#else
129
130#include <mach-o/dyld.h>
131
132void* NSGLGetProcAddress (const GLubyte *name)
133{
134 static const struct mach_header* image = NULL;
135 NSSymbol symbol;
136 char* symbolName;
137 if (NULL == image)
138 {
139#ifdef GLEW_REGAL
140 image = NSAddImage("libRegal.dylib", NSADDIMAGE_OPTION_RETURN_ON_ERROR);
141#else
142 image = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", NSADDIMAGE_OPTION_RETURN_ON_ERROR);
143#endif
144 }
145 /* prepend a '_' for the Unix C symbol mangling convention */
146 symbolName = malloc(strlen((const char*)name) + 2);
147 strcpy(symbolName+1, (const char*)name);
148 symbolName[0] = '_';
149 symbol = NULL;
150 /* if (NSIsSymbolNameDefined(symbolName))
151 symbol = NSLookupAndBindSymbol(symbolName); */
152 symbol = image ? NSLookupSymbolInImage(image, symbolName, NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR) : NULL;
153 free(symbolName);
154 if( symbol ) return NSAddressOfSymbol(symbol);
155#ifdef GLEW_APPLE_GLX
156 return dlGetProcAddress( name ); // try next for glx symbols
157#else
158 return NULL;
159#endif
160}
161#endif /* MAC_OS_X_VERSION_10_3 */
162#endif /* __APPLE__ */
163
164/*
165 * Define glewGetProcAddress.
166 */
167#if defined(_WIN32)
168# define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name)
169#elif defined(__APPLE__) && !defined(GLEW_APPLE_GLX)
170# define glewGetProcAddress(name) NSGLGetProcAddress(name)
171#elif defined(__sgi) || defined(__sun)
172# define glewGetProcAddress(name) dlGetProcAddress(name)
173#elif defined(__ANDROID__)
174# define glewGetProcAddress(name) NULL /* TODO */
175#elif defined(__native_client__)
176# define glewGetProcAddress(name) NULL /* TODO */
177#else /* __linux */
178# define glewGetProcAddress(name) (*glXGetProcAddressARB)(name)
179#endif
180
181/*
182 * Define GLboolean const cast.
183 */
184#define CONST_CAST(x) (*(GLboolean*)&x)
185
186/*
187 * GLEW, just like OpenGL or GLU, does not rely on the standard C library.
188 * These functions implement the functionality required in this file.
189 */
190static GLuint _glewStrLen (const GLubyte* s)
191{
192 GLuint i=0;
193 if (s == NULL) return 0;
194 while (s[i] != '\0') i++;
195 return i;
196}
197
198static GLuint _glewStrCLen (const GLubyte* s, GLubyte c)
199{
200 GLuint i=0;
201 if (s == NULL) return 0;
202 while (s[i] != '\0' && s[i] != c) i++;
203 return (s[i] == '\0' || s[i] == c) ? i : 0;
204}
205
206static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n)
207{
208 GLuint i=0;
209 if(a == NULL || b == NULL)
210 return (a == NULL && b == NULL && n == 0) ? GL_TRUE : GL_FALSE;
211 while (i < n && a[i] != '\0' && b[i] != '\0' && a[i] == b[i]) i++;
212 return i == n ? GL_TRUE : GL_FALSE;
213}
214
215static GLboolean _glewStrSame1 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
216{
217 while (*na > 0 && (**a == ' ' || **a == '\n' || **a == '\r' || **a == '\t'))
218 {
219 (*a)++;
220 (*na)--;
221 }
222 if(*na >= nb)
223 {
224 GLuint i=0;
225 while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
226 if(i == nb)
227 {
228 *a = *a + nb;
229 *na = *na - nb;
230 return GL_TRUE;
231 }
232 }
233 return GL_FALSE;
234}
235
236static GLboolean _glewStrSame2 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
237{
238 if(*na >= nb)
239 {
240 GLuint i=0;
241 while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
242 if(i == nb)
243 {
244 *a = *a + nb;
245 *na = *na - nb;
246 return GL_TRUE;
247 }
248 }
249 return GL_FALSE;
250}
251
252static GLboolean _glewStrSame3 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
253{
254 if(*na >= nb)
255 {
256 GLuint i=0;
257 while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
258 if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t'))
259 {
260 *a = *a + nb;
261 *na = *na - nb;
262 return GL_TRUE;
263 }
264 }
265 return GL_FALSE;
266}
267
268/*
269 * Search for name in the extensions string. Use of strstr()
270 * is not sufficient because extension names can be prefixes of
271 * other extension names. Could use strtok() but the constant
272 * string returned by glGetString might be in read-only memory.
273 */
274static GLboolean _glewSearchExtension (const char* name, const GLubyte *start, const GLubyte *end)
275{
276 const GLubyte* p;
277 GLuint len = _glewStrLen((const GLubyte*)name);
278 p = start;
279 while (p < end)
280 {
281 GLuint n = _glewStrCLen(p, ' ');
282 if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
283 p += n+1;
284 }
285 return GL_FALSE;
286}
287
288#if !defined(_WIN32) || !defined(GLEW_MX)
289
290PFNGLCOPYTEXSUBIMAGE3DPROC __glewCopyTexSubImage3D = NULL;
291PFNGLDRAWRANGEELEMENTSPROC __glewDrawRangeElements = NULL;
292PFNGLTEXIMAGE3DPROC __glewTexImage3D = NULL;
293PFNGLTEXSUBIMAGE3DPROC __glewTexSubImage3D = NULL;
294
295PFNGLACTIVETEXTUREPROC __glewActiveTexture = NULL;
296PFNGLCLIENTACTIVETEXTUREPROC __glewClientActiveTexture = NULL;
297PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D = NULL;
298PFNGLCOMPRESSEDTEXIMAGE2DPROC __glewCompressedTexImage2D = NULL;
299PFNGLCOMPRESSEDTEXIMAGE3DPROC __glewCompressedTexImage3D = NULL;
300PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D = NULL;
301PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC __glewCompressedTexSubImage2D = NULL;
302PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC __glewCompressedTexSubImage3D = NULL;
303PFNGLGETCOMPRESSEDTEXIMAGEPROC __glewGetCompressedTexImage = NULL;
304PFNGLLOADTRANSPOSEMATRIXDPROC __glewLoadTransposeMatrixd = NULL;
305PFNGLLOADTRANSPOSEMATRIXFPROC __glewLoadTransposeMatrixf = NULL;
306PFNGLMULTTRANSPOSEMATRIXDPROC __glewMultTransposeMatrixd = NULL;
307PFNGLMULTTRANSPOSEMATRIXFPROC __glewMultTransposeMatrixf = NULL;
308PFNGLMULTITEXCOORD1DPROC __glewMultiTexCoord1d = NULL;
309PFNGLMULTITEXCOORD1DVPROC __glewMultiTexCoord1dv = NULL;
310PFNGLMULTITEXCOORD1FPROC __glewMultiTexCoord1f = NULL;
311PFNGLMULTITEXCOORD1FVPROC __glewMultiTexCoord1fv = NULL;
312PFNGLMULTITEXCOORD1IPROC __glewMultiTexCoord1i = NULL;
313PFNGLMULTITEXCOORD1IVPROC __glewMultiTexCoord1iv = NULL;
314PFNGLMULTITEXCOORD1SPROC __glewMultiTexCoord1s = NULL;
315PFNGLMULTITEXCOORD1SVPROC __glewMultiTexCoord1sv = NULL;
316PFNGLMULTITEXCOORD2DPROC __glewMultiTexCoord2d = NULL;
317PFNGLMULTITEXCOORD2DVPROC __glewMultiTexCoord2dv = NULL;
318PFNGLMULTITEXCOORD2FPROC __glewMultiTexCoord2f = NULL;
319PFNGLMULTITEXCOORD2FVPROC __glewMultiTexCoord2fv = NULL;
320PFNGLMULTITEXCOORD2IPROC __glewMultiTexCoord2i = NULL;
321PFNGLMULTITEXCOORD2IVPROC __glewMultiTexCoord2iv = NULL;
322PFNGLMULTITEXCOORD2SPROC __glewMultiTexCoord2s = NULL;
323PFNGLMULTITEXCOORD2SVPROC __glewMultiTexCoord2sv = NULL;
324PFNGLMULTITEXCOORD3DPROC __glewMultiTexCoord3d = NULL;
325PFNGLMULTITEXCOORD3DVPROC __glewMultiTexCoord3dv = NULL;
326PFNGLMULTITEXCOORD3FPROC __glewMultiTexCoord3f = NULL;
327PFNGLMULTITEXCOORD3FVPROC __glewMultiTexCoord3fv = NULL;
328PFNGLMULTITEXCOORD3IPROC __glewMultiTexCoord3i = NULL;
329PFNGLMULTITEXCOORD3IVPROC __glewMultiTexCoord3iv = NULL;
330PFNGLMULTITEXCOORD3SPROC __glewMultiTexCoord3s = NULL;
331PFNGLMULTITEXCOORD3SVPROC __glewMultiTexCoord3sv = NULL;
332PFNGLMULTITEXCOORD4DPROC __glewMultiTexCoord4d = NULL;
333PFNGLMULTITEXCOORD4DVPROC __glewMultiTexCoord4dv = NULL;
334PFNGLMULTITEXCOORD4FPROC __glewMultiTexCoord4f = NULL;
335PFNGLMULTITEXCOORD4FVPROC __glewMultiTexCoord4fv = NULL;
336PFNGLMULTITEXCOORD4IPROC __glewMultiTexCoord4i = NULL;
337PFNGLMULTITEXCOORD4IVPROC __glewMultiTexCoord4iv = NULL;
338PFNGLMULTITEXCOORD4SPROC __glewMultiTexCoord4s = NULL;
339PFNGLMULTITEXCOORD4SVPROC __glewMultiTexCoord4sv = NULL;
340PFNGLSAMPLECOVERAGEPROC __glewSampleCoverage = NULL;
341
342PFNGLBLENDCOLORPROC __glewBlendColor = NULL;
343PFNGLBLENDEQUATIONPROC __glewBlendEquation = NULL;
344PFNGLBLENDFUNCSEPARATEPROC __glewBlendFuncSeparate = NULL;
345PFNGLFOGCOORDPOINTERPROC __glewFogCoordPointer = NULL;
346PFNGLFOGCOORDDPROC __glewFogCoordd = NULL;
347PFNGLFOGCOORDDVPROC __glewFogCoorddv = NULL;
348PFNGLFOGCOORDFPROC __glewFogCoordf = NULL;
349PFNGLFOGCOORDFVPROC __glewFogCoordfv = NULL;
350PFNGLMULTIDRAWARRAYSPROC __glewMultiDrawArrays = NULL;
351PFNGLMULTIDRAWELEMENTSPROC __glewMultiDrawElements = NULL;
352PFNGLPOINTPARAMETERFPROC __glewPointParameterf = NULL;
353PFNGLPOINTPARAMETERFVPROC __glewPointParameterfv = NULL;
354PFNGLPOINTPARAMETERIPROC __glewPointParameteri = NULL;
355PFNGLPOINTPARAMETERIVPROC __glewPointParameteriv = NULL;
356PFNGLSECONDARYCOLOR3BPROC __glewSecondaryColor3b = NULL;
357PFNGLSECONDARYCOLOR3BVPROC __glewSecondaryColor3bv = NULL;
358PFNGLSECONDARYCOLOR3DPROC __glewSecondaryColor3d = NULL;
359PFNGLSECONDARYCOLOR3DVPROC __glewSecondaryColor3dv = NULL;
360PFNGLSECONDARYCOLOR3FPROC __glewSecondaryColor3f = NULL;
361PFNGLSECONDARYCOLOR3FVPROC __glewSecondaryColor3fv = NULL;
362PFNGLSECONDARYCOLOR3IPROC __glewSecondaryColor3i = NULL;
363PFNGLSECONDARYCOLOR3IVPROC __glewSecondaryColor3iv = NULL;
364PFNGLSECONDARYCOLOR3SPROC __glewSecondaryColor3s = NULL;
365PFNGLSECONDARYCOLOR3SVPROC __glewSecondaryColor3sv = NULL;
366PFNGLSECONDARYCOLOR3UBPROC __glewSecondaryColor3ub = NULL;
367PFNGLSECONDARYCOLOR3UBVPROC __glewSecondaryColor3ubv = NULL;
368PFNGLSECONDARYCOLOR3UIPROC __glewSecondaryColor3ui = NULL;
369PFNGLSECONDARYCOLOR3UIVPROC __glewSecondaryColor3uiv = NULL;
370PFNGLSECONDARYCOLOR3USPROC __glewSecondaryColor3us = NULL;
371PFNGLSECONDARYCOLOR3USVPROC __glewSecondaryColor3usv = NULL;
372PFNGLSECONDARYCOLORPOINTERPROC __glewSecondaryColorPointer = NULL;
373PFNGLWINDOWPOS2DPROC __glewWindowPos2d = NULL;
374PFNGLWINDOWPOS2DVPROC __glewWindowPos2dv = NULL;
375PFNGLWINDOWPOS2FPROC __glewWindowPos2f = NULL;
376PFNGLWINDOWPOS2FVPROC __glewWindowPos2fv = NULL;
377PFNGLWINDOWPOS2IPROC __glewWindowPos2i = NULL;
378PFNGLWINDOWPOS2IVPROC __glewWindowPos2iv = NULL;
379PFNGLWINDOWPOS2SPROC __glewWindowPos2s = NULL;
380PFNGLWINDOWPOS2SVPROC __glewWindowPos2sv = NULL;
381PFNGLWINDOWPOS3DPROC __glewWindowPos3d = NULL;
382PFNGLWINDOWPOS3DVPROC __glewWindowPos3dv = NULL;
383PFNGLWINDOWPOS3FPROC __glewWindowPos3f = NULL;
384PFNGLWINDOWPOS3FVPROC __glewWindowPos3fv = NULL;
385PFNGLWINDOWPOS3IPROC __glewWindowPos3i = NULL;
386PFNGLWINDOWPOS3IVPROC __glewWindowPos3iv = NULL;
387PFNGLWINDOWPOS3SPROC __glewWindowPos3s = NULL;
388PFNGLWINDOWPOS3SVPROC __glewWindowPos3sv = NULL;
389
390PFNGLBEGINQUERYPROC __glewBeginQuery = NULL;
391PFNGLBINDBUFFERPROC __glewBindBuffer = NULL;
392PFNGLBUFFERDATAPROC __glewBufferData = NULL;
393PFNGLBUFFERSUBDATAPROC __glewBufferSubData = NULL;
394PFNGLDELETEBUFFERSPROC __glewDeleteBuffers = NULL;
395PFNGLDELETEQUERIESPROC __glewDeleteQueries = NULL;
396PFNGLENDQUERYPROC __glewEndQuery = NULL;
397PFNGLGENBUFFERSPROC __glewGenBuffers = NULL;
398PFNGLGENQUERIESPROC __glewGenQueries = NULL;
399PFNGLGETBUFFERPARAMETERIVPROC __glewGetBufferParameteriv = NULL;
400PFNGLGETBUFFERPOINTERVPROC __glewGetBufferPointerv = NULL;
401PFNGLGETBUFFERSUBDATAPROC __glewGetBufferSubData = NULL;
402PFNGLGETQUERYOBJECTIVPROC __glewGetQueryObjectiv = NULL;
403PFNGLGETQUERYOBJECTUIVPROC __glewGetQueryObjectuiv = NULL;
404PFNGLGETQUERYIVPROC __glewGetQueryiv = NULL;
405PFNGLISBUFFERPROC __glewIsBuffer = NULL;
406PFNGLISQUERYPROC __glewIsQuery = NULL;
407PFNGLMAPBUFFERPROC __glewMapBuffer = NULL;
408PFNGLUNMAPBUFFERPROC __glewUnmapBuffer = NULL;
409
410PFNGLATTACHSHADERPROC __glewAttachShader = NULL;
411PFNGLBINDATTRIBLOCATIONPROC __glewBindAttribLocation = NULL;
412PFNGLBLENDEQUATIONSEPARATEPROC __glewBlendEquationSeparate = NULL;
413PFNGLCOMPILESHADERPROC __glewCompileShader = NULL;
414PFNGLCREATEPROGRAMPROC __glewCreateProgram = NULL;
415PFNGLCREATESHADERPROC __glewCreateShader = NULL;
416PFNGLDELETEPROGRAMPROC __glewDeleteProgram = NULL;
417PFNGLDELETESHADERPROC __glewDeleteShader = NULL;
418PFNGLDETACHSHADERPROC __glewDetachShader = NULL;
419PFNGLDISABLEVERTEXATTRIBARRAYPROC __glewDisableVertexAttribArray = NULL;
420PFNGLDRAWBUFFERSPROC __glewDrawBuffers = NULL;
421PFNGLENABLEVERTEXATTRIBARRAYPROC __glewEnableVertexAttribArray = NULL;
422PFNGLGETACTIVEATTRIBPROC __glewGetActiveAttrib = NULL;
423PFNGLGETACTIVEUNIFORMPROC __glewGetActiveUniform = NULL;
424PFNGLGETATTACHEDSHADERSPROC __glewGetAttachedShaders = NULL;
425PFNGLGETATTRIBLOCATIONPROC __glewGetAttribLocation = NULL;
426PFNGLGETPROGRAMINFOLOGPROC __glewGetProgramInfoLog = NULL;
427PFNGLGETPROGRAMIVPROC __glewGetProgramiv = NULL;
428PFNGLGETSHADERINFOLOGPROC __glewGetShaderInfoLog = NULL;
429PFNGLGETSHADERSOURCEPROC __glewGetShaderSource = NULL;
430PFNGLGETSHADERIVPROC __glewGetShaderiv = NULL;
431PFNGLGETUNIFORMLOCATIONPROC __glewGetUniformLocation = NULL;
432PFNGLGETUNIFORMFVPROC __glewGetUniformfv = NULL;
433PFNGLGETUNIFORMIVPROC __glewGetUniformiv = NULL;
434PFNGLGETVERTEXATTRIBPOINTERVPROC __glewGetVertexAttribPointerv = NULL;
435PFNGLGETVERTEXATTRIBDVPROC __glewGetVertexAttribdv = NULL;
436PFNGLGETVERTEXATTRIBFVPROC __glewGetVertexAttribfv = NULL;
437PFNGLGETVERTEXATTRIBIVPROC __glewGetVertexAttribiv = NULL;
438PFNGLISPROGRAMPROC __glewIsProgram = NULL;
439PFNGLISSHADERPROC __glewIsShader = NULL;
440PFNGLLINKPROGRAMPROC __glewLinkProgram = NULL;
441PFNGLSHADERSOURCEPROC __glewShaderSource = NULL;
442PFNGLSTENCILFUNCSEPARATEPROC __glewStencilFuncSeparate = NULL;
443PFNGLSTENCILMASKSEPARATEPROC __glewStencilMaskSeparate = NULL;
444PFNGLSTENCILOPSEPARATEPROC __glewStencilOpSeparate = NULL;
445PFNGLUNIFORM1FPROC __glewUniform1f = NULL;
446PFNGLUNIFORM1FVPROC __glewUniform1fv = NULL;
447PFNGLUNIFORM1IPROC __glewUniform1i = NULL;
448PFNGLUNIFORM1IVPROC __glewUniform1iv = NULL;
449PFNGLUNIFORM2FPROC __glewUniform2f = NULL;
450PFNGLUNIFORM2FVPROC __glewUniform2fv = NULL;
451PFNGLUNIFORM2IPROC __glewUniform2i = NULL;
452PFNGLUNIFORM2IVPROC __glewUniform2iv = NULL;
453PFNGLUNIFORM3FPROC __glewUniform3f = NULL;
454PFNGLUNIFORM3FVPROC __glewUniform3fv = NULL;
455PFNGLUNIFORM3IPROC __glewUniform3i = NULL;
456PFNGLUNIFORM3IVPROC __glewUniform3iv = NULL;
457PFNGLUNIFORM4FPROC __glewUniform4f = NULL;
458PFNGLUNIFORM4FVPROC __glewUniform4fv = NULL;
459PFNGLUNIFORM4IPROC __glewUniform4i = NULL;
460PFNGLUNIFORM4IVPROC __glewUniform4iv = NULL;
461PFNGLUNIFORMMATRIX2FVPROC __glewUniformMatrix2fv = NULL;
462PFNGLUNIFORMMATRIX3FVPROC __glewUniformMatrix3fv = NULL;
463PFNGLUNIFORMMATRIX4FVPROC __glewUniformMatrix4fv = NULL;
464PFNGLUSEPROGRAMPROC __glewUseProgram = NULL;
465PFNGLVALIDATEPROGRAMPROC __glewValidateProgram = NULL;
466PFNGLVERTEXATTRIB1DPROC __glewVertexAttrib1d = NULL;
467PFNGLVERTEXATTRIB1DVPROC __glewVertexAttrib1dv = NULL;
468PFNGLVERTEXATTRIB1FPROC __glewVertexAttrib1f = NULL;
469PFNGLVERTEXATTRIB1FVPROC __glewVertexAttrib1fv = NULL;
470PFNGLVERTEXATTRIB1SPROC __glewVertexAttrib1s = NULL;
471PFNGLVERTEXATTRIB1SVPROC __glewVertexAttrib1sv = NULL;
472PFNGLVERTEXATTRIB2DPROC __glewVertexAttrib2d = NULL;
473PFNGLVERTEXATTRIB2DVPROC __glewVertexAttrib2dv = NULL;
474PFNGLVERTEXATTRIB2FPROC __glewVertexAttrib2f = NULL;
475PFNGLVERTEXATTRIB2FVPROC __glewVertexAttrib2fv = NULL;
476PFNGLVERTEXATTRIB2SPROC __glewVertexAttrib2s = NULL;
477PFNGLVERTEXATTRIB2SVPROC __glewVertexAttrib2sv = NULL;
478PFNGLVERTEXATTRIB3DPROC __glewVertexAttrib3d = NULL;
479PFNGLVERTEXATTRIB3DVPROC __glewVertexAttrib3dv = NULL;
480PFNGLVERTEXATTRIB3FPROC __glewVertexAttrib3f = NULL;
481PFNGLVERTEXATTRIB3FVPROC __glewVertexAttrib3fv = NULL;
482PFNGLVERTEXATTRIB3SPROC __glewVertexAttrib3s = NULL;
483PFNGLVERTEXATTRIB3SVPROC __glewVertexAttrib3sv = NULL;
484PFNGLVERTEXATTRIB4NBVPROC __glewVertexAttrib4Nbv = NULL;
485PFNGLVERTEXATTRIB4NIVPROC __glewVertexAttrib4Niv = NULL;
486PFNGLVERTEXATTRIB4NSVPROC __glewVertexAttrib4Nsv = NULL;
487PFNGLVERTEXATTRIB4NUBPROC __glewVertexAttrib4Nub = NULL;
488PFNGLVERTEXATTRIB4NUBVPROC __glewVertexAttrib4Nubv = NULL;
489PFNGLVERTEXATTRIB4NUIVPROC __glewVertexAttrib4Nuiv = NULL;
490PFNGLVERTEXATTRIB4NUSVPROC __glewVertexAttrib4Nusv = NULL;
491PFNGLVERTEXATTRIB4BVPROC __glewVertexAttrib4bv = NULL;
492PFNGLVERTEXATTRIB4DPROC __glewVertexAttrib4d = NULL;
493PFNGLVERTEXATTRIB4DVPROC __glewVertexAttrib4dv = NULL;
494PFNGLVERTEXATTRIB4FPROC __glewVertexAttrib4f = NULL;
495PFNGLVERTEXATTRIB4FVPROC __glewVertexAttrib4fv = NULL;
496PFNGLVERTEXATTRIB4IVPROC __glewVertexAttrib4iv = NULL;
497PFNGLVERTEXATTRIB4SPROC __glewVertexAttrib4s = NULL;
498PFNGLVERTEXATTRIB4SVPROC __glewVertexAttrib4sv = NULL;
499PFNGLVERTEXATTRIB4UBVPROC __glewVertexAttrib4ubv = NULL;
500PFNGLVERTEXATTRIB4UIVPROC __glewVertexAttrib4uiv = NULL;
501PFNGLVERTEXATTRIB4USVPROC __glewVertexAttrib4usv = NULL;
502PFNGLVERTEXATTRIBPOINTERPROC __glewVertexAttribPointer = NULL;
503
504PFNGLUNIFORMMATRIX2X3FVPROC __glewUniformMatrix2x3fv = NULL;
505PFNGLUNIFORMMATRIX2X4FVPROC __glewUniformMatrix2x4fv = NULL;
506PFNGLUNIFORMMATRIX3X2FVPROC __glewUniformMatrix3x2fv = NULL;
507PFNGLUNIFORMMATRIX3X4FVPROC __glewUniformMatrix3x4fv = NULL;
508PFNGLUNIFORMMATRIX4X2FVPROC __glewUniformMatrix4x2fv = NULL;
509PFNGLUNIFORMMATRIX4X3FVPROC __glewUniformMatrix4x3fv = NULL;
510
511PFNGLBEGINCONDITIONALRENDERPROC __glewBeginConditionalRender = NULL;
512PFNGLBEGINTRANSFORMFEEDBACKPROC __glewBeginTransformFeedback = NULL;
513PFNGLBINDFRAGDATALOCATIONPROC __glewBindFragDataLocation = NULL;
514PFNGLCLAMPCOLORPROC __glewClampColor = NULL;
515PFNGLCLEARBUFFERFIPROC __glewClearBufferfi = NULL;
516PFNGLCLEARBUFFERFVPROC __glewClearBufferfv = NULL;
517PFNGLCLEARBUFFERIVPROC __glewClearBufferiv = NULL;
518PFNGLCLEARBUFFERUIVPROC __glewClearBufferuiv = NULL;
519PFNGLCOLORMASKIPROC __glewColorMaski = NULL;
520PFNGLDISABLEIPROC __glewDisablei = NULL;
521PFNGLENABLEIPROC __glewEnablei = NULL;
522PFNGLENDCONDITIONALRENDERPROC __glewEndConditionalRender = NULL;
523PFNGLENDTRANSFORMFEEDBACKPROC __glewEndTransformFeedback = NULL;
524PFNGLGETBOOLEANI_VPROC __glewGetBooleani_v = NULL;
525PFNGLGETFRAGDATALOCATIONPROC __glewGetFragDataLocation = NULL;
526PFNGLGETSTRINGIPROC __glewGetStringi = NULL;
527PFNGLGETTEXPARAMETERIIVPROC __glewGetTexParameterIiv = NULL;
528PFNGLGETTEXPARAMETERIUIVPROC __glewGetTexParameterIuiv = NULL;
529PFNGLGETTRANSFORMFEEDBACKVARYINGPROC __glewGetTransformFeedbackVarying = NULL;
530PFNGLGETUNIFORMUIVPROC __glewGetUniformuiv = NULL;
531PFNGLGETVERTEXATTRIBIIVPROC __glewGetVertexAttribIiv = NULL;
532PFNGLGETVERTEXATTRIBIUIVPROC __glewGetVertexAttribIuiv = NULL;
533PFNGLISENABLEDIPROC __glewIsEnabledi = NULL;
534PFNGLTEXPARAMETERIIVPROC __glewTexParameterIiv = NULL;
535PFNGLTEXPARAMETERIUIVPROC __glewTexParameterIuiv = NULL;
536PFNGLTRANSFORMFEEDBACKVARYINGSPROC __glewTransformFeedbackVaryings = NULL;
537PFNGLUNIFORM1UIPROC __glewUniform1ui = NULL;
538PFNGLUNIFORM1UIVPROC __glewUniform1uiv = NULL;
539PFNGLUNIFORM2UIPROC __glewUniform2ui = NULL;
540PFNGLUNIFORM2UIVPROC __glewUniform2uiv = NULL;
541PFNGLUNIFORM3UIPROC __glewUniform3ui = NULL;
542PFNGLUNIFORM3UIVPROC __glewUniform3uiv = NULL;
543PFNGLUNIFORM4UIPROC __glewUniform4ui = NULL;
544PFNGLUNIFORM4UIVPROC __glewUniform4uiv = NULL;
545PFNGLVERTEXATTRIBI1IPROC __glewVertexAttribI1i = NULL;
546PFNGLVERTEXATTRIBI1IVPROC __glewVertexAttribI1iv = NULL;
547PFNGLVERTEXATTRIBI1UIPROC __glewVertexAttribI1ui = NULL;
548PFNGLVERTEXATTRIBI1UIVPROC __glewVertexAttribI1uiv = NULL;
549PFNGLVERTEXATTRIBI2IPROC __glewVertexAttribI2i = NULL;
550PFNGLVERTEXATTRIBI2IVPROC __glewVertexAttribI2iv = NULL;
551PFNGLVERTEXATTRIBI2UIPROC __glewVertexAttribI2ui = NULL;
552PFNGLVERTEXATTRIBI2UIVPROC __glewVertexAttribI2uiv = NULL;
553PFNGLVERTEXATTRIBI3IPROC __glewVertexAttribI3i = NULL;
554PFNGLVERTEXATTRIBI3IVPROC __glewVertexAttribI3iv = NULL;
555PFNGLVERTEXATTRIBI3UIPROC __glewVertexAttribI3ui = NULL;
556PFNGLVERTEXATTRIBI3UIVPROC __glewVertexAttribI3uiv = NULL;
557PFNGLVERTEXATTRIBI4BVPROC __glewVertexAttribI4bv = NULL;
558PFNGLVERTEXATTRIBI4IPROC __glewVertexAttribI4i = NULL;
559PFNGLVERTEXATTRIBI4IVPROC __glewVertexAttribI4iv = NULL;
560PFNGLVERTEXATTRIBI4SVPROC __glewVertexAttribI4sv = NULL;
561PFNGLVERTEXATTRIBI4UBVPROC __glewVertexAttribI4ubv = NULL;
562PFNGLVERTEXATTRIBI4UIPROC __glewVertexAttribI4ui = NULL;
563PFNGLVERTEXATTRIBI4UIVPROC __glewVertexAttribI4uiv = NULL;
564PFNGLVERTEXATTRIBI4USVPROC __glewVertexAttribI4usv = NULL;
565PFNGLVERTEXATTRIBIPOINTERPROC __glewVertexAttribIPointer = NULL;
566
567PFNGLDRAWARRAYSINSTANCEDPROC __glewDrawArraysInstanced = NULL;
568PFNGLDRAWELEMENTSINSTANCEDPROC __glewDrawElementsInstanced = NULL;
569PFNGLPRIMITIVERESTARTINDEXPROC __glewPrimitiveRestartIndex = NULL;
570PFNGLTEXBUFFERPROC __glewTexBuffer = NULL;
571
572PFNGLFRAMEBUFFERTEXTUREPROC __glewFramebufferTexture = NULL;
573PFNGLGETBUFFERPARAMETERI64VPROC __glewGetBufferParameteri64v = NULL;
574PFNGLGETINTEGER64I_VPROC __glewGetInteger64i_v = NULL;
575
576PFNGLVERTEXATTRIBDIVISORPROC __glewVertexAttribDivisor = NULL;
577
578PFNGLBLENDEQUATIONSEPARATEIPROC __glewBlendEquationSeparatei = NULL;
579PFNGLBLENDEQUATIONIPROC __glewBlendEquationi = NULL;
580PFNGLBLENDFUNCSEPARATEIPROC __glewBlendFuncSeparatei = NULL;
581PFNGLBLENDFUNCIPROC __glewBlendFunci = NULL;
582PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading = NULL;
583
584PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL;
585
586PFNGLDEBUGMESSAGECALLBACKAMDPROC __glewDebugMessageCallbackAMD = NULL;
587PFNGLDEBUGMESSAGEENABLEAMDPROC __glewDebugMessageEnableAMD = NULL;
588PFNGLDEBUGMESSAGEINSERTAMDPROC __glewDebugMessageInsertAMD = NULL;
589PFNGLGETDEBUGMESSAGELOGAMDPROC __glewGetDebugMessageLogAMD = NULL;
590
591PFNGLBLENDEQUATIONINDEXEDAMDPROC __glewBlendEquationIndexedAMD = NULL;
592PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC __glewBlendEquationSeparateIndexedAMD = NULL;
593PFNGLBLENDFUNCINDEXEDAMDPROC __glewBlendFuncIndexedAMD = NULL;
594PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC __glewBlendFuncSeparateIndexedAMD = NULL;
595
596PFNGLVERTEXATTRIBPARAMETERIAMDPROC __glewVertexAttribParameteriAMD = NULL;
597
598PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC __glewMultiDrawArraysIndirectAMD = NULL;
599PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC __glewMultiDrawElementsIndirectAMD = NULL;
600
601PFNGLDELETENAMESAMDPROC __glewDeleteNamesAMD = NULL;
602PFNGLGENNAMESAMDPROC __glewGenNamesAMD = NULL;
603PFNGLISNAMEAMDPROC __glewIsNameAMD = NULL;
604
605PFNGLBEGINPERFMONITORAMDPROC __glewBeginPerfMonitorAMD = NULL;
606PFNGLDELETEPERFMONITORSAMDPROC __glewDeletePerfMonitorsAMD = NULL;
607PFNGLENDPERFMONITORAMDPROC __glewEndPerfMonitorAMD = NULL;
608PFNGLGENPERFMONITORSAMDPROC __glewGenPerfMonitorsAMD = NULL;
609PFNGLGETPERFMONITORCOUNTERDATAAMDPROC __glewGetPerfMonitorCounterDataAMD = NULL;
610PFNGLGETPERFMONITORCOUNTERINFOAMDPROC __glewGetPerfMonitorCounterInfoAMD = NULL;
611PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC __glewGetPerfMonitorCounterStringAMD = NULL;
612PFNGLGETPERFMONITORCOUNTERSAMDPROC __glewGetPerfMonitorCountersAMD = NULL;
613PFNGLGETPERFMONITORGROUPSTRINGAMDPROC __glewGetPerfMonitorGroupStringAMD = NULL;
614PFNGLGETPERFMONITORGROUPSAMDPROC __glewGetPerfMonitorGroupsAMD = NULL;
615PFNGLSELECTPERFMONITORCOUNTERSAMDPROC __glewSelectPerfMonitorCountersAMD = NULL;
616
617PFNGLSETMULTISAMPLEFVAMDPROC __glewSetMultisamplefvAMD = NULL;
618
619PFNGLTEXSTORAGESPARSEAMDPROC __glewTexStorageSparseAMD = NULL;
620PFNGLTEXTURESTORAGESPARSEAMDPROC __glewTextureStorageSparseAMD = NULL;
621
622PFNGLSTENCILOPVALUEAMDPROC __glewStencilOpValueAMD = NULL;
623
624PFNGLTESSELLATIONFACTORAMDPROC __glewTessellationFactorAMD = NULL;
625PFNGLTESSELLATIONMODEAMDPROC __glewTessellationModeAMD = NULL;
626
627PFNGLBLITFRAMEBUFFERANGLEPROC __glewBlitFramebufferANGLE = NULL;
628
629PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC __glewRenderbufferStorageMultisampleANGLE = NULL;
630
631PFNGLDRAWARRAYSINSTANCEDANGLEPROC __glewDrawArraysInstancedANGLE = NULL;
632PFNGLDRAWELEMENTSINSTANCEDANGLEPROC __glewDrawElementsInstancedANGLE = NULL;
633PFNGLVERTEXATTRIBDIVISORANGLEPROC __glewVertexAttribDivisorANGLE = NULL;
634
635PFNGLBEGINQUERYANGLEPROC __glewBeginQueryANGLE = NULL;
636PFNGLDELETEQUERIESANGLEPROC __glewDeleteQueriesANGLE = NULL;
637PFNGLENDQUERYANGLEPROC __glewEndQueryANGLE = NULL;
638PFNGLGENQUERIESANGLEPROC __glewGenQueriesANGLE = NULL;
639PFNGLGETQUERYOBJECTI64VANGLEPROC __glewGetQueryObjecti64vANGLE = NULL;
640PFNGLGETQUERYOBJECTIVANGLEPROC __glewGetQueryObjectivANGLE = NULL;
641PFNGLGETQUERYOBJECTUI64VANGLEPROC __glewGetQueryObjectui64vANGLE = NULL;
642PFNGLGETQUERYOBJECTUIVANGLEPROC __glewGetQueryObjectuivANGLE = NULL;
643PFNGLGETQUERYIVANGLEPROC __glewGetQueryivANGLE = NULL;
644PFNGLISQUERYANGLEPROC __glewIsQueryANGLE = NULL;
645PFNGLQUERYCOUNTERANGLEPROC __glewQueryCounterANGLE = NULL;
646
647PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC __glewGetTranslatedShaderSourceANGLE = NULL;
648
649PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE = NULL;
650PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE = NULL;
651PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE = NULL;
652PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC __glewMultiDrawElementArrayAPPLE = NULL;
653PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC __glewMultiDrawRangeElementArrayAPPLE = NULL;
654
655PFNGLDELETEFENCESAPPLEPROC __glewDeleteFencesAPPLE = NULL;
656PFNGLFINISHFENCEAPPLEPROC __glewFinishFenceAPPLE = NULL;
657PFNGLFINISHOBJECTAPPLEPROC __glewFinishObjectAPPLE = NULL;
658PFNGLGENFENCESAPPLEPROC __glewGenFencesAPPLE = NULL;
659PFNGLISFENCEAPPLEPROC __glewIsFenceAPPLE = NULL;
660PFNGLSETFENCEAPPLEPROC __glewSetFenceAPPLE = NULL;
661PFNGLTESTFENCEAPPLEPROC __glewTestFenceAPPLE = NULL;
662PFNGLTESTOBJECTAPPLEPROC __glewTestObjectAPPLE = NULL;
663
664PFNGLBUFFERPARAMETERIAPPLEPROC __glewBufferParameteriAPPLE = NULL;
665PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC __glewFlushMappedBufferRangeAPPLE = NULL;
666
667PFNGLGETOBJECTPARAMETERIVAPPLEPROC __glewGetObjectParameterivAPPLE = NULL;
668PFNGLOBJECTPURGEABLEAPPLEPROC __glewObjectPurgeableAPPLE = NULL;
669PFNGLOBJECTUNPURGEABLEAPPLEPROC __glewObjectUnpurgeableAPPLE = NULL;
670
671PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE = NULL;
672PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE = NULL;
673
674PFNGLBINDVERTEXARRAYAPPLEPROC __glewBindVertexArrayAPPLE = NULL;
675PFNGLDELETEVERTEXARRAYSAPPLEPROC __glewDeleteVertexArraysAPPLE = NULL;
676PFNGLGENVERTEXARRAYSAPPLEPROC __glewGenVertexArraysAPPLE = NULL;
677PFNGLISVERTEXARRAYAPPLEPROC __glewIsVertexArrayAPPLE = NULL;
678
679PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __glewFlushVertexArrayRangeAPPLE = NULL;
680PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE = NULL;
681PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE = NULL;
682
683PFNGLDISABLEVERTEXATTRIBAPPLEPROC __glewDisableVertexAttribAPPLE = NULL;
684PFNGLENABLEVERTEXATTRIBAPPLEPROC __glewEnableVertexAttribAPPLE = NULL;
685PFNGLISVERTEXATTRIBENABLEDAPPLEPROC __glewIsVertexAttribEnabledAPPLE = NULL;
686PFNGLMAPVERTEXATTRIB1DAPPLEPROC __glewMapVertexAttrib1dAPPLE = NULL;
687PFNGLMAPVERTEXATTRIB1FAPPLEPROC __glewMapVertexAttrib1fAPPLE = NULL;
688PFNGLMAPVERTEXATTRIB2DAPPLEPROC __glewMapVertexAttrib2dAPPLE = NULL;
689PFNGLMAPVERTEXATTRIB2FAPPLEPROC __glewMapVertexAttrib2fAPPLE = NULL;
690
691PFNGLCLEARDEPTHFPROC __glewClearDepthf = NULL;
692PFNGLDEPTHRANGEFPROC __glewDepthRangef = NULL;
693PFNGLGETSHADERPRECISIONFORMATPROC __glewGetShaderPrecisionFormat = NULL;
694PFNGLRELEASESHADERCOMPILERPROC __glewReleaseShaderCompiler = NULL;
695PFNGLSHADERBINARYPROC __glewShaderBinary = NULL;
696
697PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC __glewDrawArraysInstancedBaseInstance = NULL;
698PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC __glewDrawElementsInstancedBaseInstance = NULL;
699PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC __glewDrawElementsInstancedBaseVertexBaseInstance = NULL;
700
701PFNGLGETIMAGEHANDLEARBPROC __glewGetImageHandleARB = NULL;
702PFNGLGETTEXTUREHANDLEARBPROC __glewGetTextureHandleARB = NULL;
703PFNGLGETTEXTURESAMPLERHANDLEARBPROC __glewGetTextureSamplerHandleARB = NULL;
704PFNGLGETVERTEXATTRIBLUI64VARBPROC __glewGetVertexAttribLui64vARB = NULL;
705PFNGLISIMAGEHANDLERESIDENTARBPROC __glewIsImageHandleResidentARB = NULL;
706PFNGLISTEXTUREHANDLERESIDENTARBPROC __glewIsTextureHandleResidentARB = NULL;
707PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC __glewMakeImageHandleNonResidentARB = NULL;
708PFNGLMAKEIMAGEHANDLERESIDENTARBPROC __glewMakeImageHandleResidentARB = NULL;
709PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC __glewMakeTextureHandleNonResidentARB = NULL;
710PFNGLMAKETEXTUREHANDLERESIDENTARBPROC __glewMakeTextureHandleResidentARB = NULL;
711PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC __glewProgramUniformHandleui64ARB = NULL;
712PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC __glewProgramUniformHandleui64vARB = NULL;
713PFNGLUNIFORMHANDLEUI64ARBPROC __glewUniformHandleui64ARB = NULL;
714PFNGLUNIFORMHANDLEUI64VARBPROC __glewUniformHandleui64vARB = NULL;
715PFNGLVERTEXATTRIBL1UI64ARBPROC __glewVertexAttribL1ui64ARB = NULL;
716PFNGLVERTEXATTRIBL1UI64VARBPROC __glewVertexAttribL1ui64vARB = NULL;
717
718PFNGLBINDFRAGDATALOCATIONINDEXEDPROC __glewBindFragDataLocationIndexed = NULL;
719PFNGLGETFRAGDATAINDEXPROC __glewGetFragDataIndex = NULL;
720
721PFNGLBUFFERSTORAGEPROC __glewBufferStorage = NULL;
722PFNGLNAMEDBUFFERSTORAGEEXTPROC __glewNamedBufferStorageEXT = NULL;
723
724PFNGLCREATESYNCFROMCLEVENTARBPROC __glewCreateSyncFromCLeventARB = NULL;
725
726PFNGLCLEARBUFFERDATAPROC __glewClearBufferData = NULL;
727PFNGLCLEARBUFFERSUBDATAPROC __glewClearBufferSubData = NULL;
728PFNGLCLEARNAMEDBUFFERDATAEXTPROC __glewClearNamedBufferDataEXT = NULL;
729PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC __glewClearNamedBufferSubDataEXT = NULL;
730
731PFNGLCLEARTEXIMAGEPROC __glewClearTexImage = NULL;
732PFNGLCLEARTEXSUBIMAGEPROC __glewClearTexSubImage = NULL;
733
734PFNGLCLAMPCOLORARBPROC __glewClampColorARB = NULL;
735
736PFNGLDISPATCHCOMPUTEPROC __glewDispatchCompute = NULL;
737PFNGLDISPATCHCOMPUTEINDIRECTPROC __glewDispatchComputeIndirect = NULL;
738
739PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC __glewDispatchComputeGroupSizeARB = NULL;
740
741PFNGLCOPYBUFFERSUBDATAPROC __glewCopyBufferSubData = NULL;
742
743PFNGLCOPYIMAGESUBDATAPROC __glewCopyImageSubData = NULL;
744
745PFNGLDEBUGMESSAGECALLBACKARBPROC __glewDebugMessageCallbackARB = NULL;
746PFNGLDEBUGMESSAGECONTROLARBPROC __glewDebugMessageControlARB = NULL;
747PFNGLDEBUGMESSAGEINSERTARBPROC __glewDebugMessageInsertARB = NULL;
748PFNGLGETDEBUGMESSAGELOGARBPROC __glewGetDebugMessageLogARB = NULL;
749
750PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB = NULL;
751
752PFNGLBLENDEQUATIONSEPARATEIARBPROC __glewBlendEquationSeparateiARB = NULL;
753PFNGLBLENDEQUATIONIARBPROC __glewBlendEquationiARB = NULL;
754PFNGLBLENDFUNCSEPARATEIARBPROC __glewBlendFuncSeparateiARB = NULL;
755PFNGLBLENDFUNCIARBPROC __glewBlendFunciARB = NULL;
756
757PFNGLDRAWELEMENTSBASEVERTEXPROC __glewDrawElementsBaseVertex = NULL;
758PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC __glewDrawElementsInstancedBaseVertex = NULL;
759PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC __glewDrawRangeElementsBaseVertex = NULL;
760PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC __glewMultiDrawElementsBaseVertex = NULL;
761
762PFNGLDRAWARRAYSINDIRECTPROC __glewDrawArraysIndirect = NULL;
763PFNGLDRAWELEMENTSINDIRECTPROC __glewDrawElementsIndirect = NULL;
764
765PFNGLFRAMEBUFFERPARAMETERIPROC __glewFramebufferParameteri = NULL;
766PFNGLGETFRAMEBUFFERPARAMETERIVPROC __glewGetFramebufferParameteriv = NULL;
767PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC __glewGetNamedFramebufferParameterivEXT = NULL;
768PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC __glewNamedFramebufferParameteriEXT = NULL;
769
770PFNGLBINDFRAMEBUFFERPROC __glewBindFramebuffer = NULL;
771PFNGLBINDRENDERBUFFERPROC __glewBindRenderbuffer = NULL;
772PFNGLBLITFRAMEBUFFERPROC __glewBlitFramebuffer = NULL;
773PFNGLCHECKFRAMEBUFFERSTATUSPROC __glewCheckFramebufferStatus = NULL;
774PFNGLDELETEFRAMEBUFFERSPROC __glewDeleteFramebuffers = NULL;
775PFNGLDELETERENDERBUFFERSPROC __glewDeleteRenderbuffers = NULL;
776PFNGLFRAMEBUFFERRENDERBUFFERPROC __glewFramebufferRenderbuffer = NULL;
777PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D = NULL;
778PFNGLFRAMEBUFFERTEXTURE2DPROC __glewFramebufferTexture2D = NULL;
779PFNGLFRAMEBUFFERTEXTURE3DPROC __glewFramebufferTexture3D = NULL;
780PFNGLFRAMEBUFFERTEXTURELAYERPROC __glewFramebufferTextureLayer = NULL;
781PFNGLGENFRAMEBUFFERSPROC __glewGenFramebuffers = NULL;
782PFNGLGENRENDERBUFFERSPROC __glewGenRenderbuffers = NULL;
783PFNGLGENERATEMIPMAPPROC __glewGenerateMipmap = NULL;
784PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetFramebufferAttachmentParameteriv = NULL;
785PFNGLGETRENDERBUFFERPARAMETERIVPROC __glewGetRenderbufferParameteriv = NULL;
786PFNGLISFRAMEBUFFERPROC __glewIsFramebuffer = NULL;
787PFNGLISRENDERBUFFERPROC __glewIsRenderbuffer = NULL;
788PFNGLRENDERBUFFERSTORAGEPROC __glewRenderbufferStorage = NULL;
789PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC __glewRenderbufferStorageMultisample = NULL;
790
791PFNGLFRAMEBUFFERTEXTUREARBPROC __glewFramebufferTextureARB = NULL;
792PFNGLFRAMEBUFFERTEXTUREFACEARBPROC __glewFramebufferTextureFaceARB = NULL;
793PFNGLFRAMEBUFFERTEXTURELAYERARBPROC __glewFramebufferTextureLayerARB = NULL;
794PFNGLPROGRAMPARAMETERIARBPROC __glewProgramParameteriARB = NULL;
795
796PFNGLGETPROGRAMBINARYPROC __glewGetProgramBinary = NULL;
797PFNGLPROGRAMBINARYPROC __glewProgramBinary = NULL;
798PFNGLPROGRAMPARAMETERIPROC __glewProgramParameteri = NULL;
799
800PFNGLGETUNIFORMDVPROC __glewGetUniformdv = NULL;
801PFNGLUNIFORM1DPROC __glewUniform1d = NULL;
802PFNGLUNIFORM1DVPROC __glewUniform1dv = NULL;
803PFNGLUNIFORM2DPROC __glewUniform2d = NULL;
804PFNGLUNIFORM2DVPROC __glewUniform2dv = NULL;
805PFNGLUNIFORM3DPROC __glewUniform3d = NULL;
806PFNGLUNIFORM3DVPROC __glewUniform3dv = NULL;
807PFNGLUNIFORM4DPROC __glewUniform4d = NULL;
808PFNGLUNIFORM4DVPROC __glewUniform4dv = NULL;
809PFNGLUNIFORMMATRIX2DVPROC __glewUniformMatrix2dv = NULL;
810PFNGLUNIFORMMATRIX2X3DVPROC __glewUniformMatrix2x3dv = NULL;
811PFNGLUNIFORMMATRIX2X4DVPROC __glewUniformMatrix2x4dv = NULL;
812PFNGLUNIFORMMATRIX3DVPROC __glewUniformMatrix3dv = NULL;
813PFNGLUNIFORMMATRIX3X2DVPROC __glewUniformMatrix3x2dv = NULL;
814PFNGLUNIFORMMATRIX3X4DVPROC __glewUniformMatrix3x4dv = NULL;
815PFNGLUNIFORMMATRIX4DVPROC __glewUniformMatrix4dv = NULL;
816PFNGLUNIFORMMATRIX4X2DVPROC __glewUniformMatrix4x2dv = NULL;
817PFNGLUNIFORMMATRIX4X3DVPROC __glewUniformMatrix4x3dv = NULL;
818
819PFNGLCOLORSUBTABLEPROC __glewColorSubTable = NULL;
820PFNGLCOLORTABLEPROC __glewColorTable = NULL;
821PFNGLCOLORTABLEPARAMETERFVPROC __glewColorTableParameterfv = NULL;
822PFNGLCOLORTABLEPARAMETERIVPROC __glewColorTableParameteriv = NULL;
823PFNGLCONVOLUTIONFILTER1DPROC __glewConvolutionFilter1D = NULL;
824PFNGLCONVOLUTIONFILTER2DPROC __glewConvolutionFilter2D = NULL;
825PFNGLCONVOLUTIONPARAMETERFPROC __glewConvolutionParameterf = NULL;
826PFNGLCONVOLUTIONPARAMETERFVPROC __glewConvolutionParameterfv = NULL;
827PFNGLCONVOLUTIONPARAMETERIPROC __glewConvolutionParameteri = NULL;
828PFNGLCONVOLUTIONPARAMETERIVPROC __glewConvolutionParameteriv = NULL;
829PFNGLCOPYCOLORSUBTABLEPROC __glewCopyColorSubTable = NULL;
830PFNGLCOPYCOLORTABLEPROC __glewCopyColorTable = NULL;
831PFNGLCOPYCONVOLUTIONFILTER1DPROC __glewCopyConvolutionFilter1D = NULL;
832PFNGLCOPYCONVOLUTIONFILTER2DPROC __glewCopyConvolutionFilter2D = NULL;
833PFNGLGETCOLORTABLEPROC __glewGetColorTable = NULL;
834PFNGLGETCOLORTABLEPARAMETERFVPROC __glewGetColorTableParameterfv = NULL;
835PFNGLGETCOLORTABLEPARAMETERIVPROC __glewGetColorTableParameteriv = NULL;
836PFNGLGETCONVOLUTIONFILTERPROC __glewGetConvolutionFilter = NULL;
837PFNGLGETCONVOLUTIONPARAMETERFVPROC __glewGetConvolutionParameterfv = NULL;
838PFNGLGETCONVOLUTIONPARAMETERIVPROC __glewGetConvolutionParameteriv = NULL;
839PFNGLGETHISTOGRAMPROC __glewGetHistogram = NULL;
840PFNGLGETHISTOGRAMPARAMETERFVPROC __glewGetHistogramParameterfv = NULL;
841PFNGLGETHISTOGRAMPARAMETERIVPROC __glewGetHistogramParameteriv = NULL;
842PFNGLGETMINMAXPROC __glewGetMinmax = NULL;
843PFNGLGETMINMAXPARAMETERFVPROC __glewGetMinmaxParameterfv = NULL;
844PFNGLGETMINMAXPARAMETERIVPROC __glewGetMinmaxParameteriv = NULL;
845PFNGLGETSEPARABLEFILTERPROC __glewGetSeparableFilter = NULL;
846PFNGLHISTOGRAMPROC __glewHistogram = NULL;
847PFNGLMINMAXPROC __glewMinmax = NULL;
848PFNGLRESETHISTOGRAMPROC __glewResetHistogram = NULL;
849PFNGLRESETMINMAXPROC __glewResetMinmax = NULL;
850PFNGLSEPARABLEFILTER2DPROC __glewSeparableFilter2D = NULL;
851
852PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC __glewMultiDrawArraysIndirectCountARB = NULL;
853PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC __glewMultiDrawElementsIndirectCountARB = NULL;
854
855PFNGLDRAWARRAYSINSTANCEDARBPROC __glewDrawArraysInstancedARB = NULL;
856PFNGLDRAWELEMENTSINSTANCEDARBPROC __glewDrawElementsInstancedARB = NULL;
857PFNGLVERTEXATTRIBDIVISORARBPROC __glewVertexAttribDivisorARB = NULL;
858
859PFNGLGETINTERNALFORMATIVPROC __glewGetInternalformativ = NULL;
860
861PFNGLGETINTERNALFORMATI64VPROC __glewGetInternalformati64v = NULL;
862
863PFNGLINVALIDATEBUFFERDATAPROC __glewInvalidateBufferData = NULL;
864PFNGLINVALIDATEBUFFERSUBDATAPROC __glewInvalidateBufferSubData = NULL;
865PFNGLINVALIDATEFRAMEBUFFERPROC __glewInvalidateFramebuffer = NULL;
866PFNGLINVALIDATESUBFRAMEBUFFERPROC __glewInvalidateSubFramebuffer = NULL;
867PFNGLINVALIDATETEXIMAGEPROC __glewInvalidateTexImage = NULL;
868PFNGLINVALIDATETEXSUBIMAGEPROC __glewInvalidateTexSubImage = NULL;
869
870PFNGLFLUSHMAPPEDBUFFERRANGEPROC __glewFlushMappedBufferRange = NULL;
871PFNGLMAPBUFFERRANGEPROC __glewMapBufferRange = NULL;
872
873PFNGLCURRENTPALETTEMATRIXARBPROC __glewCurrentPaletteMatrixARB = NULL;
874PFNGLMATRIXINDEXPOINTERARBPROC __glewMatrixIndexPointerARB = NULL;
875PFNGLMATRIXINDEXUBVARBPROC __glewMatrixIndexubvARB = NULL;
876PFNGLMATRIXINDEXUIVARBPROC __glewMatrixIndexuivARB = NULL;
877PFNGLMATRIXINDEXUSVARBPROC __glewMatrixIndexusvARB = NULL;
878
879PFNGLBINDBUFFERSBASEPROC __glewBindBuffersBase = NULL;
880PFNGLBINDBUFFERSRANGEPROC __glewBindBuffersRange = NULL;
881PFNGLBINDIMAGETEXTURESPROC __glewBindImageTextures = NULL;
882PFNGLBINDSAMPLERSPROC __glewBindSamplers = NULL;
883PFNGLBINDTEXTURESPROC __glewBindTextures = NULL;
884PFNGLBINDVERTEXBUFFERSPROC __glewBindVertexBuffers = NULL;
885
886PFNGLMULTIDRAWARRAYSINDIRECTPROC __glewMultiDrawArraysIndirect = NULL;
887PFNGLMULTIDRAWELEMENTSINDIRECTPROC __glewMultiDrawElementsIndirect = NULL;
888
889PFNGLSAMPLECOVERAGEARBPROC __glewSampleCoverageARB = NULL;
890
891PFNGLACTIVETEXTUREARBPROC __glewActiveTextureARB = NULL;
892PFNGLCLIENTACTIVETEXTUREARBPROC __glewClientActiveTextureARB = NULL;
893PFNGLMULTITEXCOORD1DARBPROC __glewMultiTexCoord1dARB = NULL;
894PFNGLMULTITEXCOORD1DVARBPROC __glewMultiTexCoord1dvARB = NULL;
895PFNGLMULTITEXCOORD1FARBPROC __glewMultiTexCoord1fARB = NULL;
896PFNGLMULTITEXCOORD1FVARBPROC __glewMultiTexCoord1fvARB = NULL;
897PFNGLMULTITEXCOORD1IARBPROC __glewMultiTexCoord1iARB = NULL;
898PFNGLMULTITEXCOORD1IVARBPROC __glewMultiTexCoord1ivARB = NULL;
899PFNGLMULTITEXCOORD1SARBPROC __glewMultiTexCoord1sARB = NULL;
900PFNGLMULTITEXCOORD1SVARBPROC __glewMultiTexCoord1svARB = NULL;
901PFNGLMULTITEXCOORD2DARBPROC __glewMultiTexCoord2dARB = NULL;
902PFNGLMULTITEXCOORD2DVARBPROC __glewMultiTexCoord2dvARB = NULL;
903PFNGLMULTITEXCOORD2FARBPROC __glewMultiTexCoord2fARB = NULL;
904PFNGLMULTITEXCOORD2FVARBPROC __glewMultiTexCoord2fvARB = NULL;
905PFNGLMULTITEXCOORD2IARBPROC __glewMultiTexCoord2iARB = NULL;
906PFNGLMULTITEXCOORD2IVARBPROC __glewMultiTexCoord2ivARB = NULL;
907PFNGLMULTITEXCOORD2SARBPROC __glewMultiTexCoord2sARB = NULL;
908PFNGLMULTITEXCOORD2SVARBPROC __glewMultiTexCoord2svARB = NULL;
909PFNGLMULTITEXCOORD3DARBPROC __glewMultiTexCoord3dARB = NULL;
910PFNGLMULTITEXCOORD3DVARBPROC __glewMultiTexCoord3dvARB = NULL;
911PFNGLMULTITEXCOORD3FARBPROC __glewMultiTexCoord3fARB = NULL;
912PFNGLMULTITEXCOORD3FVARBPROC __glewMultiTexCoord3fvARB = NULL;
913PFNGLMULTITEXCOORD3IARBPROC __glewMultiTexCoord3iARB = NULL;
914PFNGLMULTITEXCOORD3IVARBPROC __glewMultiTexCoord3ivARB = NULL;
915PFNGLMULTITEXCOORD3SARBPROC __glewMultiTexCoord3sARB = NULL;
916PFNGLMULTITEXCOORD3SVARBPROC __glewMultiTexCoord3svARB = NULL;
917PFNGLMULTITEXCOORD4DARBPROC __glewMultiTexCoord4dARB = NULL;
918PFNGLMULTITEXCOORD4DVARBPROC __glewMultiTexCoord4dvARB = NULL;
919PFNGLMULTITEXCOORD4FARBPROC __glewMultiTexCoord4fARB = NULL;
920PFNGLMULTITEXCOORD4FVARBPROC __glewMultiTexCoord4fvARB = NULL;
921PFNGLMULTITEXCOORD4IARBPROC __glewMultiTexCoord4iARB = NULL;
922PFNGLMULTITEXCOORD4IVARBPROC __glewMultiTexCoord4ivARB = NULL;
923PFNGLMULTITEXCOORD4SARBPROC __glewMultiTexCoord4sARB = NULL;
924PFNGLMULTITEXCOORD4SVARBPROC __glewMultiTexCoord4svARB = NULL;
925
926PFNGLBEGINQUERYARBPROC __glewBeginQueryARB = NULL;
927PFNGLDELETEQUERIESARBPROC __glewDeleteQueriesARB = NULL;
928PFNGLENDQUERYARBPROC __glewEndQueryARB = NULL;
929PFNGLGENQUERIESARBPROC __glewGenQueriesARB = NULL;
930PFNGLGETQUERYOBJECTIVARBPROC __glewGetQueryObjectivARB = NULL;
931PFNGLGETQUERYOBJECTUIVARBPROC __glewGetQueryObjectuivARB = NULL;
932PFNGLGETQUERYIVARBPROC __glewGetQueryivARB = NULL;
933PFNGLISQUERYARBPROC __glewIsQueryARB = NULL;
934
935PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB = NULL;
936PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB = NULL;
937
938PFNGLGETPROGRAMINTERFACEIVPROC __glewGetProgramInterfaceiv = NULL;
939PFNGLGETPROGRAMRESOURCEINDEXPROC __glewGetProgramResourceIndex = NULL;
940PFNGLGETPROGRAMRESOURCELOCATIONPROC __glewGetProgramResourceLocation = NULL;
941PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC __glewGetProgramResourceLocationIndex = NULL;
942PFNGLGETPROGRAMRESOURCENAMEPROC __glewGetProgramResourceName = NULL;
943PFNGLGETPROGRAMRESOURCEIVPROC __glewGetProgramResourceiv = NULL;
944
945PFNGLPROVOKINGVERTEXPROC __glewProvokingVertex = NULL;
946
947PFNGLGETGRAPHICSRESETSTATUSARBPROC __glewGetGraphicsResetStatusARB = NULL;
948PFNGLGETNCOLORTABLEARBPROC __glewGetnColorTableARB = NULL;
949PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC __glewGetnCompressedTexImageARB = NULL;
950PFNGLGETNCONVOLUTIONFILTERARBPROC __glewGetnConvolutionFilterARB = NULL;
951PFNGLGETNHISTOGRAMARBPROC __glewGetnHistogramARB = NULL;
952PFNGLGETNMAPDVARBPROC __glewGetnMapdvARB = NULL;
953PFNGLGETNMAPFVARBPROC __glewGetnMapfvARB = NULL;
954PFNGLGETNMAPIVARBPROC __glewGetnMapivARB = NULL;
955PFNGLGETNMINMAXARBPROC __glewGetnMinmaxARB = NULL;
956PFNGLGETNPIXELMAPFVARBPROC __glewGetnPixelMapfvARB = NULL;
957PFNGLGETNPIXELMAPUIVARBPROC __glewGetnPixelMapuivARB = NULL;
958PFNGLGETNPIXELMAPUSVARBPROC __glewGetnPixelMapusvARB = NULL;
959PFNGLGETNPOLYGONSTIPPLEARBPROC __glewGetnPolygonStippleARB = NULL;
960PFNGLGETNSEPARABLEFILTERARBPROC __glewGetnSeparableFilterARB = NULL;
961PFNGLGETNTEXIMAGEARBPROC __glewGetnTexImageARB = NULL;
962PFNGLGETNUNIFORMDVARBPROC __glewGetnUniformdvARB = NULL;
963PFNGLGETNUNIFORMFVARBPROC __glewGetnUniformfvARB = NULL;
964PFNGLGETNUNIFORMIVARBPROC __glewGetnUniformivARB = NULL;
965PFNGLGETNUNIFORMUIVARBPROC __glewGetnUniformuivARB = NULL;
966PFNGLREADNPIXELSARBPROC __glewReadnPixelsARB = NULL;
967
968PFNGLMINSAMPLESHADINGARBPROC __glewMinSampleShadingARB = NULL;
969
970PFNGLBINDSAMPLERPROC __glewBindSampler = NULL;
971PFNGLDELETESAMPLERSPROC __glewDeleteSamplers = NULL;
972PFNGLGENSAMPLERSPROC __glewGenSamplers = NULL;
973PFNGLGETSAMPLERPARAMETERIIVPROC __glewGetSamplerParameterIiv = NULL;
974PFNGLGETSAMPLERPARAMETERIUIVPROC __glewGetSamplerParameterIuiv = NULL;
975PFNGLGETSAMPLERPARAMETERFVPROC __glewGetSamplerParameterfv = NULL;
976PFNGLGETSAMPLERPARAMETERIVPROC __glewGetSamplerParameteriv = NULL;
977PFNGLISSAMPLERPROC __glewIsSampler = NULL;
978PFNGLSAMPLERPARAMETERIIVPROC __glewSamplerParameterIiv = NULL;
979PFNGLSAMPLERPARAMETERIUIVPROC __glewSamplerParameterIuiv = NULL;
980PFNGLSAMPLERPARAMETERFPROC __glewSamplerParameterf = NULL;
981PFNGLSAMPLERPARAMETERFVPROC __glewSamplerParameterfv = NULL;
982PFNGLSAMPLERPARAMETERIPROC __glewSamplerParameteri = NULL;
983PFNGLSAMPLERPARAMETERIVPROC __glewSamplerParameteriv = NULL;
984
985PFNGLACTIVESHADERPROGRAMPROC __glewActiveShaderProgram = NULL;
986PFNGLBINDPROGRAMPIPELINEPROC __glewBindProgramPipeline = NULL;
987PFNGLCREATESHADERPROGRAMVPROC __glewCreateShaderProgramv = NULL;
988PFNGLDELETEPROGRAMPIPELINESPROC __glewDeleteProgramPipelines = NULL;
989PFNGLGENPROGRAMPIPELINESPROC __glewGenProgramPipelines = NULL;
990PFNGLGETPROGRAMPIPELINEINFOLOGPROC __glewGetProgramPipelineInfoLog = NULL;
991PFNGLGETPROGRAMPIPELINEIVPROC __glewGetProgramPipelineiv = NULL;
992PFNGLISPROGRAMPIPELINEPROC __glewIsProgramPipeline = NULL;
993PFNGLPROGRAMUNIFORM1DPROC __glewProgramUniform1d = NULL;
994PFNGLPROGRAMUNIFORM1DVPROC __glewProgramUniform1dv = NULL;
995PFNGLPROGRAMUNIFORM1FPROC __glewProgramUniform1f = NULL;
996PFNGLPROGRAMUNIFORM1FVPROC __glewProgramUniform1fv = NULL;
997PFNGLPROGRAMUNIFORM1IPROC __glewProgramUniform1i = NULL;
998PFNGLPROGRAMUNIFORM1IVPROC __glewProgramUniform1iv = NULL;
999PFNGLPROGRAMUNIFORM1UIPROC __glewProgramUniform1ui = NULL;
1000PFNGLPROGRAMUNIFORM1UIVPROC __glewProgramUniform1uiv = NULL;
1001PFNGLPROGRAMUNIFORM2DPROC __glewProgramUniform2d = NULL;
1002PFNGLPROGRAMUNIFORM2DVPROC __glewProgramUniform2dv = NULL;
1003PFNGLPROGRAMUNIFORM2FPROC __glewProgramUniform2f = NULL;
1004PFNGLPROGRAMUNIFORM2FVPROC __glewProgramUniform2fv = NULL;
1005PFNGLPROGRAMUNIFORM2IPROC __glewProgramUniform2i = NULL;
1006PFNGLPROGRAMUNIFORM2IVPROC __glewProgramUniform2iv = NULL;
1007PFNGLPROGRAMUNIFORM2UIPROC __glewProgramUniform2ui = NULL;
1008PFNGLPROGRAMUNIFORM2UIVPROC __glewProgramUniform2uiv = NULL;
1009PFNGLPROGRAMUNIFORM3DPROC __glewProgramUniform3d = NULL;
1010PFNGLPROGRAMUNIFORM3DVPROC __glewProgramUniform3dv = NULL;
1011PFNGLPROGRAMUNIFORM3FPROC __glewProgramUniform3f = NULL;
1012PFNGLPROGRAMUNIFORM3FVPROC __glewProgramUniform3fv = NULL;
1013PFNGLPROGRAMUNIFORM3IPROC __glewProgramUniform3i = NULL;
1014PFNGLPROGRAMUNIFORM3IVPROC __glewProgramUniform3iv = NULL;
1015PFNGLPROGRAMUNIFORM3UIPROC __glewProgramUniform3ui = NULL;
1016PFNGLPROGRAMUNIFORM3UIVPROC __glewProgramUniform3uiv = NULL;
1017PFNGLPROGRAMUNIFORM4DPROC __glewProgramUniform4d = NULL;
1018PFNGLPROGRAMUNIFORM4DVPROC __glewProgramUniform4dv = NULL;
1019PFNGLPROGRAMUNIFORM4FPROC __glewProgramUniform4f = NULL;
1020PFNGLPROGRAMUNIFORM4FVPROC __glewProgramUniform4fv = NULL;
1021PFNGLPROGRAMUNIFORM4IPROC __glewProgramUniform4i = NULL;
1022PFNGLPROGRAMUNIFORM4IVPROC __glewProgramUniform4iv = NULL;
1023PFNGLPROGRAMUNIFORM4UIPROC __glewProgramUniform4ui = NULL;
1024PFNGLPROGRAMUNIFORM4UIVPROC __glewProgramUniform4uiv = NULL;
1025PFNGLPROGRAMUNIFORMMATRIX2DVPROC __glewProgramUniformMatrix2dv = NULL;
1026PFNGLPROGRAMUNIFORMMATRIX2FVPROC __glewProgramUniformMatrix2fv = NULL;
1027PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC __glewProgramUniformMatrix2x3dv = NULL;
1028PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC __glewProgramUniformMatrix2x3fv = NULL;
1029PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC __glewProgramUniformMatrix2x4dv = NULL;
1030PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC __glewProgramUniformMatrix2x4fv = NULL;
1031PFNGLPROGRAMUNIFORMMATRIX3DVPROC __glewProgramUniformMatrix3dv = NULL;
1032PFNGLPROGRAMUNIFORMMATRIX3FVPROC __glewProgramUniformMatrix3fv = NULL;
1033PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC __glewProgramUniformMatrix3x2dv = NULL;
1034PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC __glewProgramUniformMatrix3x2fv = NULL;
1035PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC __glewProgramUniformMatrix3x4dv = NULL;
1036PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC __glewProgramUniformMatrix3x4fv = NULL;
1037PFNGLPROGRAMUNIFORMMATRIX4DVPROC __glewProgramUniformMatrix4dv = NULL;
1038PFNGLPROGRAMUNIFORMMATRIX4FVPROC __glewProgramUniformMatrix4fv = NULL;
1039PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC __glewProgramUniformMatrix4x2dv = NULL;
1040PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC __glewProgramUniformMatrix4x2fv = NULL;
1041PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC __glewProgramUniformMatrix4x3dv = NULL;
1042PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC __glewProgramUniformMatrix4x3fv = NULL;
1043PFNGLUSEPROGRAMSTAGESPROC __glewUseProgramStages = NULL;
1044PFNGLVALIDATEPROGRAMPIPELINEPROC __glewValidateProgramPipeline = NULL;
1045
1046PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC __glewGetActiveAtomicCounterBufferiv = NULL;
1047
1048PFNGLBINDIMAGETEXTUREPROC __glewBindImageTexture = NULL;
1049PFNGLMEMORYBARRIERPROC __glewMemoryBarrier = NULL;
1050
1051PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB = NULL;
1052PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB = NULL;
1053PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB = NULL;
1054PFNGLCREATESHADEROBJECTARBPROC __glewCreateShaderObjectARB = NULL;
1055PFNGLDELETEOBJECTARBPROC __glewDeleteObjectARB = NULL;
1056PFNGLDETACHOBJECTARBPROC __glewDetachObjectARB = NULL;
1057PFNGLGETACTIVEUNIFORMARBPROC __glewGetActiveUniformARB = NULL;
1058PFNGLGETATTACHEDOBJECTSARBPROC __glewGetAttachedObjectsARB = NULL;
1059PFNGLGETHANDLEARBPROC __glewGetHandleARB = NULL;
1060PFNGLGETINFOLOGARBPROC __glewGetInfoLogARB = NULL;
1061PFNGLGETOBJECTPARAMETERFVARBPROC __glewGetObjectParameterfvARB = NULL;
1062PFNGLGETOBJECTPARAMETERIVARBPROC __glewGetObjectParameterivARB = NULL;
1063PFNGLGETSHADERSOURCEARBPROC __glewGetShaderSourceARB = NULL;
1064PFNGLGETUNIFORMLOCATIONARBPROC __glewGetUniformLocationARB = NULL;
1065PFNGLGETUNIFORMFVARBPROC __glewGetUniformfvARB = NULL;
1066PFNGLGETUNIFORMIVARBPROC __glewGetUniformivARB = NULL;
1067PFNGLLINKPROGRAMARBPROC __glewLinkProgramARB = NULL;
1068PFNGLSHADERSOURCEARBPROC __glewShaderSourceARB = NULL;
1069PFNGLUNIFORM1FARBPROC __glewUniform1fARB = NULL;
1070PFNGLUNIFORM1FVARBPROC __glewUniform1fvARB = NULL;
1071PFNGLUNIFORM1IARBPROC __glewUniform1iARB = NULL;
1072PFNGLUNIFORM1IVARBPROC __glewUniform1ivARB = NULL;
1073PFNGLUNIFORM2FARBPROC __glewUniform2fARB = NULL;
1074PFNGLUNIFORM2FVARBPROC __glewUniform2fvARB = NULL;
1075PFNGLUNIFORM2IARBPROC __glewUniform2iARB = NULL;
1076PFNGLUNIFORM2IVARBPROC __glewUniform2ivARB = NULL;
1077PFNGLUNIFORM3FARBPROC __glewUniform3fARB = NULL;
1078PFNGLUNIFORM3FVARBPROC __glewUniform3fvARB = NULL;
1079PFNGLUNIFORM3IARBPROC __glewUniform3iARB = NULL;
1080PFNGLUNIFORM3IVARBPROC __glewUniform3ivARB = NULL;
1081PFNGLUNIFORM4FARBPROC __glewUniform4fARB = NULL;
1082PFNGLUNIFORM4FVARBPROC __glewUniform4fvARB = NULL;
1083PFNGLUNIFORM4IARBPROC __glewUniform4iARB = NULL;
1084PFNGLUNIFORM4IVARBPROC __glewUniform4ivARB = NULL;
1085PFNGLUNIFORMMATRIX2FVARBPROC __glewUniformMatrix2fvARB = NULL;
1086PFNGLUNIFORMMATRIX3FVARBPROC __glewUniformMatrix3fvARB = NULL;
1087PFNGLUNIFORMMATRIX4FVARBPROC __glewUniformMatrix4fvARB = NULL;
1088PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB = NULL;
1089PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB = NULL;
1090
1091PFNGLSHADERSTORAGEBLOCKBINDINGPROC __glewShaderStorageBlockBinding = NULL;
1092
1093PFNGLGETACTIVESUBROUTINENAMEPROC __glewGetActiveSubroutineName = NULL;
1094PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC __glewGetActiveSubroutineUniformName = NULL;
1095PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC __glewGetActiveSubroutineUniformiv = NULL;
1096PFNGLGETPROGRAMSTAGEIVPROC __glewGetProgramStageiv = NULL;
1097PFNGLGETSUBROUTINEINDEXPROC __glewGetSubroutineIndex = NULL;
1098PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC __glewGetSubroutineUniformLocation = NULL;
1099PFNGLGETUNIFORMSUBROUTINEUIVPROC __glewGetUniformSubroutineuiv = NULL;
1100PFNGLUNIFORMSUBROUTINESUIVPROC __glewUniformSubroutinesuiv = NULL;
1101
1102PFNGLCOMPILESHADERINCLUDEARBPROC __glewCompileShaderIncludeARB = NULL;
1103PFNGLDELETENAMEDSTRINGARBPROC __glewDeleteNamedStringARB = NULL;
1104PFNGLGETNAMEDSTRINGARBPROC __glewGetNamedStringARB = NULL;
1105PFNGLGETNAMEDSTRINGIVARBPROC __glewGetNamedStringivARB = NULL;
1106PFNGLISNAMEDSTRINGARBPROC __glewIsNamedStringARB = NULL;
1107PFNGLNAMEDSTRINGARBPROC __glewNamedStringARB = NULL;
1108
1109PFNGLTEXPAGECOMMITMENTARBPROC __glewTexPageCommitmentARB = NULL;
1110PFNGLTEXTUREPAGECOMMITMENTEXTPROC __glewTexturePageCommitmentEXT = NULL;
1111
1112PFNGLCLIENTWAITSYNCPROC __glewClientWaitSync = NULL;
1113PFNGLDELETESYNCPROC __glewDeleteSync = NULL;
1114PFNGLFENCESYNCPROC __glewFenceSync = NULL;
1115PFNGLGETINTEGER64VPROC __glewGetInteger64v = NULL;
1116PFNGLGETSYNCIVPROC __glewGetSynciv = NULL;
1117PFNGLISSYNCPROC __glewIsSync = NULL;
1118PFNGLWAITSYNCPROC __glewWaitSync = NULL;
1119
1120PFNGLPATCHPARAMETERFVPROC __glewPatchParameterfv = NULL;
1121PFNGLPATCHPARAMETERIPROC __glewPatchParameteri = NULL;
1122
1123PFNGLTEXBUFFERARBPROC __glewTexBufferARB = NULL;
1124
1125PFNGLTEXBUFFERRANGEPROC __glewTexBufferRange = NULL;
1126PFNGLTEXTUREBUFFERRANGEEXTPROC __glewTextureBufferRangeEXT = NULL;
1127
1128PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB = NULL;
1129PFNGLCOMPRESSEDTEXIMAGE2DARBPROC __glewCompressedTexImage2DARB = NULL;
1130PFNGLCOMPRESSEDTEXIMAGE3DARBPROC __glewCompressedTexImage3DARB = NULL;
1131PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC __glewCompressedTexSubImage1DARB = NULL;
1132PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __glewCompressedTexSubImage2DARB = NULL;
1133PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB = NULL;
1134PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB = NULL;
1135
1136PFNGLGETMULTISAMPLEFVPROC __glewGetMultisamplefv = NULL;
1137PFNGLSAMPLEMASKIPROC __glewSampleMaski = NULL;
1138PFNGLTEXIMAGE2DMULTISAMPLEPROC __glewTexImage2DMultisample = NULL;
1139PFNGLTEXIMAGE3DMULTISAMPLEPROC __glewTexImage3DMultisample = NULL;
1140
1141PFNGLTEXSTORAGE1DPROC __glewTexStorage1D = NULL;
1142PFNGLTEXSTORAGE2DPROC __glewTexStorage2D = NULL;
1143PFNGLTEXSTORAGE3DPROC __glewTexStorage3D = NULL;
1144PFNGLTEXTURESTORAGE1DEXTPROC __glewTextureStorage1DEXT = NULL;
1145PFNGLTEXTURESTORAGE2DEXTPROC __glewTextureStorage2DEXT = NULL;
1146PFNGLTEXTURESTORAGE3DEXTPROC __glewTextureStorage3DEXT = NULL;
1147
1148PFNGLTEXSTORAGE2DMULTISAMPLEPROC __glewTexStorage2DMultisample = NULL;
1149PFNGLTEXSTORAGE3DMULTISAMPLEPROC __glewTexStorage3DMultisample = NULL;
1150PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC __glewTextureStorage2DMultisampleEXT = NULL;
1151PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC __glewTextureStorage3DMultisampleEXT = NULL;
1152
1153PFNGLTEXTUREVIEWPROC __glewTextureView = NULL;
1154
1155PFNGLGETQUERYOBJECTI64VPROC __glewGetQueryObjecti64v = NULL;
1156PFNGLGETQUERYOBJECTUI64VPROC __glewGetQueryObjectui64v = NULL;
1157PFNGLQUERYCOUNTERPROC __glewQueryCounter = NULL;
1158
1159PFNGLBINDTRANSFORMFEEDBACKPROC __glewBindTransformFeedback = NULL;
1160PFNGLDELETETRANSFORMFEEDBACKSPROC __glewDeleteTransformFeedbacks = NULL;
1161PFNGLDRAWTRANSFORMFEEDBACKPROC __glewDrawTransformFeedback = NULL;
1162PFNGLGENTRANSFORMFEEDBACKSPROC __glewGenTransformFeedbacks = NULL;
1163PFNGLISTRANSFORMFEEDBACKPROC __glewIsTransformFeedback = NULL;
1164PFNGLPAUSETRANSFORMFEEDBACKPROC __glewPauseTransformFeedback = NULL;
1165PFNGLRESUMETRANSFORMFEEDBACKPROC __glewResumeTransformFeedback = NULL;
1166
1167PFNGLBEGINQUERYINDEXEDPROC __glewBeginQueryIndexed = NULL;
1168PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC __glewDrawTransformFeedbackStream = NULL;
1169PFNGLENDQUERYINDEXEDPROC __glewEndQueryIndexed = NULL;
1170PFNGLGETQUERYINDEXEDIVPROC __glewGetQueryIndexediv = NULL;
1171
1172PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC __glewDrawTransformFeedbackInstanced = NULL;
1173PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC __glewDrawTransformFeedbackStreamInstanced = NULL;
1174
1175PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB = NULL;
1176PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB = NULL;
1177PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB = NULL;
1178PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB = NULL;
1179
1180PFNGLBINDBUFFERBASEPROC __glewBindBufferBase = NULL;
1181PFNGLBINDBUFFERRANGEPROC __glewBindBufferRange = NULL;
1182PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC __glewGetActiveUniformBlockName = NULL;
1183PFNGLGETACTIVEUNIFORMBLOCKIVPROC __glewGetActiveUniformBlockiv = NULL;
1184PFNGLGETACTIVEUNIFORMNAMEPROC __glewGetActiveUniformName = NULL;
1185PFNGLGETACTIVEUNIFORMSIVPROC __glewGetActiveUniformsiv = NULL;
1186PFNGLGETINTEGERI_VPROC __glewGetIntegeri_v = NULL;
1187PFNGLGETUNIFORMBLOCKINDEXPROC __glewGetUniformBlockIndex = NULL;
1188PFNGLGETUNIFORMINDICESPROC __glewGetUniformIndices = NULL;
1189PFNGLUNIFORMBLOCKBINDINGPROC __glewUniformBlockBinding = NULL;
1190
1191PFNGLBINDVERTEXARRAYPROC __glewBindVertexArray = NULL;
1192PFNGLDELETEVERTEXARRAYSPROC __glewDeleteVertexArrays = NULL;
1193PFNGLGENVERTEXARRAYSPROC __glewGenVertexArrays = NULL;
1194PFNGLISVERTEXARRAYPROC __glewIsVertexArray = NULL;
1195
1196PFNGLGETVERTEXATTRIBLDVPROC __glewGetVertexAttribLdv = NULL;
1197PFNGLVERTEXATTRIBL1DPROC __glewVertexAttribL1d = NULL;
1198PFNGLVERTEXATTRIBL1DVPROC __glewVertexAttribL1dv = NULL;
1199PFNGLVERTEXATTRIBL2DPROC __glewVertexAttribL2d = NULL;
1200PFNGLVERTEXATTRIBL2DVPROC __glewVertexAttribL2dv = NULL;
1201PFNGLVERTEXATTRIBL3DPROC __glewVertexAttribL3d = NULL;
1202PFNGLVERTEXATTRIBL3DVPROC __glewVertexAttribL3dv = NULL;
1203PFNGLVERTEXATTRIBL4DPROC __glewVertexAttribL4d = NULL;
1204PFNGLVERTEXATTRIBL4DVPROC __glewVertexAttribL4dv = NULL;
1205PFNGLVERTEXATTRIBLPOINTERPROC __glewVertexAttribLPointer = NULL;
1206
1207PFNGLBINDVERTEXBUFFERPROC __glewBindVertexBuffer = NULL;
1208PFNGLVERTEXATTRIBBINDINGPROC __glewVertexAttribBinding = NULL;
1209PFNGLVERTEXATTRIBFORMATPROC __glewVertexAttribFormat = NULL;
1210PFNGLVERTEXATTRIBIFORMATPROC __glewVertexAttribIFormat = NULL;
1211PFNGLVERTEXATTRIBLFORMATPROC __glewVertexAttribLFormat = NULL;
1212PFNGLVERTEXBINDINGDIVISORPROC __glewVertexBindingDivisor = NULL;
1213
1214PFNGLVERTEXBLENDARBPROC __glewVertexBlendARB = NULL;
1215PFNGLWEIGHTPOINTERARBPROC __glewWeightPointerARB = NULL;
1216PFNGLWEIGHTBVARBPROC __glewWeightbvARB = NULL;
1217PFNGLWEIGHTDVARBPROC __glewWeightdvARB = NULL;
1218PFNGLWEIGHTFVARBPROC __glewWeightfvARB = NULL;
1219PFNGLWEIGHTIVARBPROC __glewWeightivARB = NULL;
1220PFNGLWEIGHTSVARBPROC __glewWeightsvARB = NULL;
1221PFNGLWEIGHTUBVARBPROC __glewWeightubvARB = NULL;
1222PFNGLWEIGHTUIVARBPROC __glewWeightuivARB = NULL;
1223PFNGLWEIGHTUSVARBPROC __glewWeightusvARB = NULL;
1224
1225PFNGLBINDBUFFERARBPROC __glewBindBufferARB = NULL;
1226PFNGLBUFFERDATAARBPROC __glewBufferDataARB = NULL;
1227PFNGLBUFFERSUBDATAARBPROC __glewBufferSubDataARB = NULL;
1228PFNGLDELETEBUFFERSARBPROC __glewDeleteBuffersARB = NULL;
1229PFNGLGENBUFFERSARBPROC __glewGenBuffersARB = NULL;
1230PFNGLGETBUFFERPARAMETERIVARBPROC __glewGetBufferParameterivARB = NULL;
1231PFNGLGETBUFFERPOINTERVARBPROC __glewGetBufferPointervARB = NULL;
1232PFNGLGETBUFFERSUBDATAARBPROC __glewGetBufferSubDataARB = NULL;
1233PFNGLISBUFFERARBPROC __glewIsBufferARB = NULL;
1234PFNGLMAPBUFFERARBPROC __glewMapBufferARB = NULL;
1235PFNGLUNMAPBUFFERARBPROC __glewUnmapBufferARB = NULL;
1236
1237PFNGLBINDPROGRAMARBPROC __glewBindProgramARB = NULL;
1238PFNGLDELETEPROGRAMSARBPROC __glewDeleteProgramsARB = NULL;
1239PFNGLDISABLEVERTEXATTRIBARRAYARBPROC __glewDisableVertexAttribArrayARB = NULL;
1240PFNGLENABLEVERTEXATTRIBARRAYARBPROC __glewEnableVertexAttribArrayARB = NULL;
1241PFNGLGENPROGRAMSARBPROC __glewGenProgramsARB = NULL;
1242PFNGLGETPROGRAMENVPARAMETERDVARBPROC __glewGetProgramEnvParameterdvARB = NULL;
1243PFNGLGETPROGRAMENVPARAMETERFVARBPROC __glewGetProgramEnvParameterfvARB = NULL;
1244PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC __glewGetProgramLocalParameterdvARB = NULL;
1245PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC __glewGetProgramLocalParameterfvARB = NULL;
1246PFNGLGETPROGRAMSTRINGARBPROC __glewGetProgramStringARB = NULL;
1247PFNGLGETPROGRAMIVARBPROC __glewGetProgramivARB = NULL;
1248PFNGLGETVERTEXATTRIBPOINTERVARBPROC __glewGetVertexAttribPointervARB = NULL;
1249PFNGLGETVERTEXATTRIBDVARBPROC __glewGetVertexAttribdvARB = NULL;
1250PFNGLGETVERTEXATTRIBFVARBPROC __glewGetVertexAttribfvARB = NULL;
1251PFNGLGETVERTEXATTRIBIVARBPROC __glewGetVertexAttribivARB = NULL;
1252PFNGLISPROGRAMARBPROC __glewIsProgramARB = NULL;
1253PFNGLPROGRAMENVPARAMETER4DARBPROC __glewProgramEnvParameter4dARB = NULL;
1254PFNGLPROGRAMENVPARAMETER4DVARBPROC __glewProgramEnvParameter4dvARB = NULL;
1255PFNGLPROGRAMENVPARAMETER4FARBPROC __glewProgramEnvParameter4fARB = NULL;
1256PFNGLPROGRAMENVPARAMETER4FVARBPROC __glewProgramEnvParameter4fvARB = NULL;
1257PFNGLPROGRAMLOCALPARAMETER4DARBPROC __glewProgramLocalParameter4dARB = NULL;
1258PFNGLPROGRAMLOCALPARAMETER4DVARBPROC __glewProgramLocalParameter4dvARB = NULL;
1259PFNGLPROGRAMLOCALPARAMETER4FARBPROC __glewProgramLocalParameter4fARB = NULL;
1260PFNGLPROGRAMLOCALPARAMETER4FVARBPROC __glewProgramLocalParameter4fvARB = NULL;
1261PFNGLPROGRAMSTRINGARBPROC __glewProgramStringARB = NULL;
1262PFNGLVERTEXATTRIB1DARBPROC __glewVertexAttrib1dARB = NULL;
1263PFNGLVERTEXATTRIB1DVARBPROC __glewVertexAttrib1dvARB = NULL;
1264PFNGLVERTEXATTRIB1FARBPROC __glewVertexAttrib1fARB = NULL;
1265PFNGLVERTEXATTRIB1FVARBPROC __glewVertexAttrib1fvARB = NULL;
1266PFNGLVERTEXATTRIB1SARBPROC __glewVertexAttrib1sARB = NULL;
1267PFNGLVERTEXATTRIB1SVARBPROC __glewVertexAttrib1svARB = NULL;
1268PFNGLVERTEXATTRIB2DARBPROC __glewVertexAttrib2dARB = NULL;
1269PFNGLVERTEXATTRIB2DVARBPROC __glewVertexAttrib2dvARB = NULL;
1270PFNGLVERTEXATTRIB2FARBPROC __glewVertexAttrib2fARB = NULL;
1271PFNGLVERTEXATTRIB2FVARBPROC __glewVertexAttrib2fvARB = NULL;
1272PFNGLVERTEXATTRIB2SARBPROC __glewVertexAttrib2sARB = NULL;
1273PFNGLVERTEXATTRIB2SVARBPROC __glewVertexAttrib2svARB = NULL;
1274PFNGLVERTEXATTRIB3DARBPROC __glewVertexAttrib3dARB = NULL;
1275PFNGLVERTEXATTRIB3DVARBPROC __glewVertexAttrib3dvARB = NULL;
1276PFNGLVERTEXATTRIB3FARBPROC __glewVertexAttrib3fARB = NULL;
1277PFNGLVERTEXATTRIB3FVARBPROC __glewVertexAttrib3fvARB = NULL;
1278PFNGLVERTEXATTRIB3SARBPROC __glewVertexAttrib3sARB = NULL;
1279PFNGLVERTEXATTRIB3SVARBPROC __glewVertexAttrib3svARB = NULL;
1280PFNGLVERTEXATTRIB4NBVARBPROC __glewVertexAttrib4NbvARB = NULL;
1281PFNGLVERTEXATTRIB4NIVARBPROC __glewVertexAttrib4NivARB = NULL;
1282PFNGLVERTEXATTRIB4NSVARBPROC __glewVertexAttrib4NsvARB = NULL;
1283PFNGLVERTEXATTRIB4NUBARBPROC __glewVertexAttrib4NubARB = NULL;
1284PFNGLVERTEXATTRIB4NUBVARBPROC __glewVertexAttrib4NubvARB = NULL;
1285PFNGLVERTEXATTRIB4NUIVARBPROC __glewVertexAttrib4NuivARB = NULL;
1286PFNGLVERTEXATTRIB4NUSVARBPROC __glewVertexAttrib4NusvARB = NULL;
1287PFNGLVERTEXATTRIB4BVARBPROC __glewVertexAttrib4bvARB = NULL;
1288PFNGLVERTEXATTRIB4DARBPROC __glewVertexAttrib4dARB = NULL;
1289PFNGLVERTEXATTRIB4DVARBPROC __glewVertexAttrib4dvARB = NULL;
1290PFNGLVERTEXATTRIB4FARBPROC __glewVertexAttrib4fARB = NULL;
1291PFNGLVERTEXATTRIB4FVARBPROC __glewVertexAttrib4fvARB = NULL;
1292PFNGLVERTEXATTRIB4IVARBPROC __glewVertexAttrib4ivARB = NULL;
1293PFNGLVERTEXATTRIB4SARBPROC __glewVertexAttrib4sARB = NULL;
1294PFNGLVERTEXATTRIB4SVARBPROC __glewVertexAttrib4svARB = NULL;
1295PFNGLVERTEXATTRIB4UBVARBPROC __glewVertexAttrib4ubvARB = NULL;
1296PFNGLVERTEXATTRIB4UIVARBPROC __glewVertexAttrib4uivARB = NULL;
1297PFNGLVERTEXATTRIB4USVARBPROC __glewVertexAttrib4usvARB = NULL;
1298PFNGLVERTEXATTRIBPOINTERARBPROC __glewVertexAttribPointerARB = NULL;
1299
1300PFNGLBINDATTRIBLOCATIONARBPROC __glewBindAttribLocationARB = NULL;
1301PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB = NULL;
1302PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB = NULL;
1303
1304PFNGLCOLORP3UIPROC __glewColorP3ui = NULL;
1305PFNGLCOLORP3UIVPROC __glewColorP3uiv = NULL;
1306PFNGLCOLORP4UIPROC __glewColorP4ui = NULL;
1307PFNGLCOLORP4UIVPROC __glewColorP4uiv = NULL;
1308PFNGLMULTITEXCOORDP1UIPROC __glewMultiTexCoordP1ui = NULL;
1309PFNGLMULTITEXCOORDP1UIVPROC __glewMultiTexCoordP1uiv = NULL;
1310PFNGLMULTITEXCOORDP2UIPROC __glewMultiTexCoordP2ui = NULL;
1311PFNGLMULTITEXCOORDP2UIVPROC __glewMultiTexCoordP2uiv = NULL;
1312PFNGLMULTITEXCOORDP3UIPROC __glewMultiTexCoordP3ui = NULL;
1313PFNGLMULTITEXCOORDP3UIVPROC __glewMultiTexCoordP3uiv = NULL;
1314PFNGLMULTITEXCOORDP4UIPROC __glewMultiTexCoordP4ui = NULL;
1315PFNGLMULTITEXCOORDP4UIVPROC __glewMultiTexCoordP4uiv = NULL;
1316PFNGLNORMALP3UIPROC __glewNormalP3ui = NULL;
1317PFNGLNORMALP3UIVPROC __glewNormalP3uiv = NULL;
1318PFNGLSECONDARYCOLORP3UIPROC __glewSecondaryColorP3ui = NULL;
1319PFNGLSECONDARYCOLORP3UIVPROC __glewSecondaryColorP3uiv = NULL;
1320PFNGLTEXCOORDP1UIPROC __glewTexCoordP1ui = NULL;
1321PFNGLTEXCOORDP1UIVPROC __glewTexCoordP1uiv = NULL;
1322PFNGLTEXCOORDP2UIPROC __glewTexCoordP2ui = NULL;
1323PFNGLTEXCOORDP2UIVPROC __glewTexCoordP2uiv = NULL;
1324PFNGLTEXCOORDP3UIPROC __glewTexCoordP3ui = NULL;
1325PFNGLTEXCOORDP3UIVPROC __glewTexCoordP3uiv = NULL;
1326PFNGLTEXCOORDP4UIPROC __glewTexCoordP4ui = NULL;
1327PFNGLTEXCOORDP4UIVPROC __glewTexCoordP4uiv = NULL;
1328PFNGLVERTEXATTRIBP1UIPROC __glewVertexAttribP1ui = NULL;
1329PFNGLVERTEXATTRIBP1UIVPROC __glewVertexAttribP1uiv = NULL;
1330PFNGLVERTEXATTRIBP2UIPROC __glewVertexAttribP2ui = NULL;
1331PFNGLVERTEXATTRIBP2UIVPROC __glewVertexAttribP2uiv = NULL;
1332PFNGLVERTEXATTRIBP3UIPROC __glewVertexAttribP3ui = NULL;
1333PFNGLVERTEXATTRIBP3UIVPROC __glewVertexAttribP3uiv = NULL;
1334PFNGLVERTEXATTRIBP4UIPROC __glewVertexAttribP4ui = NULL;
1335PFNGLVERTEXATTRIBP4UIVPROC __glewVertexAttribP4uiv = NULL;
1336PFNGLVERTEXP2UIPROC __glewVertexP2ui = NULL;
1337PFNGLVERTEXP2UIVPROC __glewVertexP2uiv = NULL;
1338PFNGLVERTEXP3UIPROC __glewVertexP3ui = NULL;
1339PFNGLVERTEXP3UIVPROC __glewVertexP3uiv = NULL;
1340PFNGLVERTEXP4UIPROC __glewVertexP4ui = NULL;
1341PFNGLVERTEXP4UIVPROC __glewVertexP4uiv = NULL;
1342
1343PFNGLDEPTHRANGEARRAYVPROC __glewDepthRangeArrayv = NULL;
1344PFNGLDEPTHRANGEINDEXEDPROC __glewDepthRangeIndexed = NULL;
1345PFNGLGETDOUBLEI_VPROC __glewGetDoublei_v = NULL;
1346PFNGLGETFLOATI_VPROC __glewGetFloati_v = NULL;
1347PFNGLSCISSORARRAYVPROC __glewScissorArrayv = NULL;
1348PFNGLSCISSORINDEXEDPROC __glewScissorIndexed = NULL;
1349PFNGLSCISSORINDEXEDVPROC __glewScissorIndexedv = NULL;
1350PFNGLVIEWPORTARRAYVPROC __glewViewportArrayv = NULL;
1351PFNGLVIEWPORTINDEXEDFPROC __glewViewportIndexedf = NULL;
1352PFNGLVIEWPORTINDEXEDFVPROC __glewViewportIndexedfv = NULL;
1353
1354PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB = NULL;
1355PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB = NULL;
1356PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB = NULL;
1357PFNGLWINDOWPOS2FVARBPROC __glewWindowPos2fvARB = NULL;
1358PFNGLWINDOWPOS2IARBPROC __glewWindowPos2iARB = NULL;
1359PFNGLWINDOWPOS2IVARBPROC __glewWindowPos2ivARB = NULL;
1360PFNGLWINDOWPOS2SARBPROC __glewWindowPos2sARB = NULL;
1361PFNGLWINDOWPOS2SVARBPROC __glewWindowPos2svARB = NULL;
1362PFNGLWINDOWPOS3DARBPROC __glewWindowPos3dARB = NULL;
1363PFNGLWINDOWPOS3DVARBPROC __glewWindowPos3dvARB = NULL;
1364PFNGLWINDOWPOS3FARBPROC __glewWindowPos3fARB = NULL;
1365PFNGLWINDOWPOS3FVARBPROC __glewWindowPos3fvARB = NULL;
1366PFNGLWINDOWPOS3IARBPROC __glewWindowPos3iARB = NULL;
1367PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB = NULL;
1368PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB = NULL;
1369PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB = NULL;
1370
1371PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI = NULL;
1372
1373PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI = NULL;
1374PFNGLDRAWRANGEELEMENTARRAYATIPROC __glewDrawRangeElementArrayATI = NULL;
1375PFNGLELEMENTPOINTERATIPROC __glewElementPointerATI = NULL;
1376
1377PFNGLGETTEXBUMPPARAMETERFVATIPROC __glewGetTexBumpParameterfvATI = NULL;
1378PFNGLGETTEXBUMPPARAMETERIVATIPROC __glewGetTexBumpParameterivATI = NULL;
1379PFNGLTEXBUMPPARAMETERFVATIPROC __glewTexBumpParameterfvATI = NULL;
1380PFNGLTEXBUMPPARAMETERIVATIPROC __glewTexBumpParameterivATI = NULL;
1381
1382PFNGLALPHAFRAGMENTOP1ATIPROC __glewAlphaFragmentOp1ATI = NULL;
1383PFNGLALPHAFRAGMENTOP2ATIPROC __glewAlphaFragmentOp2ATI = NULL;
1384PFNGLALPHAFRAGMENTOP3ATIPROC __glewAlphaFragmentOp3ATI = NULL;
1385PFNGLBEGINFRAGMENTSHADERATIPROC __glewBeginFragmentShaderATI = NULL;
1386PFNGLBINDFRAGMENTSHADERATIPROC __glewBindFragmentShaderATI = NULL;
1387PFNGLCOLORFRAGMENTOP1ATIPROC __glewColorFragmentOp1ATI = NULL;
1388PFNGLCOLORFRAGMENTOP2ATIPROC __glewColorFragmentOp2ATI = NULL;
1389PFNGLCOLORFRAGMENTOP3ATIPROC __glewColorFragmentOp3ATI = NULL;
1390PFNGLDELETEFRAGMENTSHADERATIPROC __glewDeleteFragmentShaderATI = NULL;
1391PFNGLENDFRAGMENTSHADERATIPROC __glewEndFragmentShaderATI = NULL;
1392PFNGLGENFRAGMENTSHADERSATIPROC __glewGenFragmentShadersATI = NULL;
1393PFNGLPASSTEXCOORDATIPROC __glewPassTexCoordATI = NULL;
1394PFNGLSAMPLEMAPATIPROC __glewSampleMapATI = NULL;
1395PFNGLSETFRAGMENTSHADERCONSTANTATIPROC __glewSetFragmentShaderConstantATI = NULL;
1396
1397PFNGLMAPOBJECTBUFFERATIPROC __glewMapObjectBufferATI = NULL;
1398PFNGLUNMAPOBJECTBUFFERATIPROC __glewUnmapObjectBufferATI = NULL;
1399
1400PFNGLPNTRIANGLESFATIPROC __glewPNTrianglesfATI = NULL;
1401PFNGLPNTRIANGLESIATIPROC __glewPNTrianglesiATI = NULL;
1402
1403PFNGLSTENCILFUNCSEPARATEATIPROC __glewStencilFuncSeparateATI = NULL;
1404PFNGLSTENCILOPSEPARATEATIPROC __glewStencilOpSeparateATI = NULL;
1405
1406PFNGLARRAYOBJECTATIPROC __glewArrayObjectATI = NULL;
1407PFNGLFREEOBJECTBUFFERATIPROC __glewFreeObjectBufferATI = NULL;
1408PFNGLGETARRAYOBJECTFVATIPROC __glewGetArrayObjectfvATI = NULL;
1409PFNGLGETARRAYOBJECTIVATIPROC __glewGetArrayObjectivATI = NULL;
1410PFNGLGETOBJECTBUFFERFVATIPROC __glewGetObjectBufferfvATI = NULL;
1411PFNGLGETOBJECTBUFFERIVATIPROC __glewGetObjectBufferivATI = NULL;
1412PFNGLGETVARIANTARRAYOBJECTFVATIPROC __glewGetVariantArrayObjectfvATI = NULL;
1413PFNGLGETVARIANTARRAYOBJECTIVATIPROC __glewGetVariantArrayObjectivATI = NULL;
1414PFNGLISOBJECTBUFFERATIPROC __glewIsObjectBufferATI = NULL;
1415PFNGLNEWOBJECTBUFFERATIPROC __glewNewObjectBufferATI = NULL;
1416PFNGLUPDATEOBJECTBUFFERATIPROC __glewUpdateObjectBufferATI = NULL;
1417PFNGLVARIANTARRAYOBJECTATIPROC __glewVariantArrayObjectATI = NULL;
1418
1419PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC __glewGetVertexAttribArrayObjectfvATI = NULL;
1420PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC __glewGetVertexAttribArrayObjectivATI = NULL;
1421PFNGLVERTEXATTRIBARRAYOBJECTATIPROC __glewVertexAttribArrayObjectATI = NULL;
1422
1423PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC __glewClientActiveVertexStreamATI = NULL;
1424PFNGLNORMALSTREAM3BATIPROC __glewNormalStream3bATI = NULL;
1425PFNGLNORMALSTREAM3BVATIPROC __glewNormalStream3bvATI = NULL;
1426PFNGLNORMALSTREAM3DATIPROC __glewNormalStream3dATI = NULL;
1427PFNGLNORMALSTREAM3DVATIPROC __glewNormalStream3dvATI = NULL;
1428PFNGLNORMALSTREAM3FATIPROC __glewNormalStream3fATI = NULL;
1429PFNGLNORMALSTREAM3FVATIPROC __glewNormalStream3fvATI = NULL;
1430PFNGLNORMALSTREAM3IATIPROC __glewNormalStream3iATI = NULL;
1431PFNGLNORMALSTREAM3IVATIPROC __glewNormalStream3ivATI = NULL;
1432PFNGLNORMALSTREAM3SATIPROC __glewNormalStream3sATI = NULL;
1433PFNGLNORMALSTREAM3SVATIPROC __glewNormalStream3svATI = NULL;
1434PFNGLVERTEXBLENDENVFATIPROC __glewVertexBlendEnvfATI = NULL;
1435PFNGLVERTEXBLENDENVIATIPROC __glewVertexBlendEnviATI = NULL;
1436PFNGLVERTEXSTREAM1DATIPROC __glewVertexStream1dATI = NULL;
1437PFNGLVERTEXSTREAM1DVATIPROC __glewVertexStream1dvATI = NULL;
1438PFNGLVERTEXSTREAM1FATIPROC __glewVertexStream1fATI = NULL;
1439PFNGLVERTEXSTREAM1FVATIPROC __glewVertexStream1fvATI = NULL;
1440PFNGLVERTEXSTREAM1IATIPROC __glewVertexStream1iATI = NULL;
1441PFNGLVERTEXSTREAM1IVATIPROC __glewVertexStream1ivATI = NULL;
1442PFNGLVERTEXSTREAM1SATIPROC __glewVertexStream1sATI = NULL;
1443PFNGLVERTEXSTREAM1SVATIPROC __glewVertexStream1svATI = NULL;
1444PFNGLVERTEXSTREAM2DATIPROC __glewVertexStream2dATI = NULL;
1445PFNGLVERTEXSTREAM2DVATIPROC __glewVertexStream2dvATI = NULL;
1446PFNGLVERTEXSTREAM2FATIPROC __glewVertexStream2fATI = NULL;
1447PFNGLVERTEXSTREAM2FVATIPROC __glewVertexStream2fvATI = NULL;
1448PFNGLVERTEXSTREAM2IATIPROC __glewVertexStream2iATI = NULL;
1449PFNGLVERTEXSTREAM2IVATIPROC __glewVertexStream2ivATI = NULL;
1450PFNGLVERTEXSTREAM2SATIPROC __glewVertexStream2sATI = NULL;
1451PFNGLVERTEXSTREAM2SVATIPROC __glewVertexStream2svATI = NULL;
1452PFNGLVERTEXSTREAM3DATIPROC __glewVertexStream3dATI = NULL;
1453PFNGLVERTEXSTREAM3DVATIPROC __glewVertexStream3dvATI = NULL;
1454PFNGLVERTEXSTREAM3FATIPROC __glewVertexStream3fATI = NULL;
1455PFNGLVERTEXSTREAM3FVATIPROC __glewVertexStream3fvATI = NULL;
1456PFNGLVERTEXSTREAM3IATIPROC __glewVertexStream3iATI = NULL;
1457PFNGLVERTEXSTREAM3IVATIPROC __glewVertexStream3ivATI = NULL;
1458PFNGLVERTEXSTREAM3SATIPROC __glewVertexStream3sATI = NULL;
1459PFNGLVERTEXSTREAM3SVATIPROC __glewVertexStream3svATI = NULL;
1460PFNGLVERTEXSTREAM4DATIPROC __glewVertexStream4dATI = NULL;
1461PFNGLVERTEXSTREAM4DVATIPROC __glewVertexStream4dvATI = NULL;
1462PFNGLVERTEXSTREAM4FATIPROC __glewVertexStream4fATI = NULL;
1463PFNGLVERTEXSTREAM4FVATIPROC __glewVertexStream4fvATI = NULL;
1464PFNGLVERTEXSTREAM4IATIPROC __glewVertexStream4iATI = NULL;
1465PFNGLVERTEXSTREAM4IVATIPROC __glewVertexStream4ivATI = NULL;
1466PFNGLVERTEXSTREAM4SATIPROC __glewVertexStream4sATI = NULL;
1467PFNGLVERTEXSTREAM4SVATIPROC __glewVertexStream4svATI = NULL;
1468
1469PFNGLGETUNIFORMBUFFERSIZEEXTPROC __glewGetUniformBufferSizeEXT = NULL;
1470PFNGLGETUNIFORMOFFSETEXTPROC __glewGetUniformOffsetEXT = NULL;
1471PFNGLUNIFORMBUFFEREXTPROC __glewUniformBufferEXT = NULL;
1472
1473PFNGLBLENDCOLOREXTPROC __glewBlendColorEXT = NULL;
1474
1475PFNGLBLENDEQUATIONSEPARATEEXTPROC __glewBlendEquationSeparateEXT = NULL;
1476
1477PFNGLBLENDFUNCSEPARATEEXTPROC __glewBlendFuncSeparateEXT = NULL;
1478
1479PFNGLBLENDEQUATIONEXTPROC __glewBlendEquationEXT = NULL;
1480
1481PFNGLCOLORSUBTABLEEXTPROC __glewColorSubTableEXT = NULL;
1482PFNGLCOPYCOLORSUBTABLEEXTPROC __glewCopyColorSubTableEXT = NULL;
1483
1484PFNGLLOCKARRAYSEXTPROC __glewLockArraysEXT = NULL;
1485PFNGLUNLOCKARRAYSEXTPROC __glewUnlockArraysEXT = NULL;
1486
1487PFNGLCONVOLUTIONFILTER1DEXTPROC __glewConvolutionFilter1DEXT = NULL;
1488PFNGLCONVOLUTIONFILTER2DEXTPROC __glewConvolutionFilter2DEXT = NULL;
1489PFNGLCONVOLUTIONPARAMETERFEXTPROC __glewConvolutionParameterfEXT = NULL;
1490PFNGLCONVOLUTIONPARAMETERFVEXTPROC __glewConvolutionParameterfvEXT = NULL;
1491PFNGLCONVOLUTIONPARAMETERIEXTPROC __glewConvolutionParameteriEXT = NULL;
1492PFNGLCONVOLUTIONPARAMETERIVEXTPROC __glewConvolutionParameterivEXT = NULL;
1493PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC __glewCopyConvolutionFilter1DEXT = NULL;
1494PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC __glewCopyConvolutionFilter2DEXT = NULL;
1495PFNGLGETCONVOLUTIONFILTEREXTPROC __glewGetConvolutionFilterEXT = NULL;
1496PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC __glewGetConvolutionParameterfvEXT = NULL;
1497PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC __glewGetConvolutionParameterivEXT = NULL;
1498PFNGLGETSEPARABLEFILTEREXTPROC __glewGetSeparableFilterEXT = NULL;
1499PFNGLSEPARABLEFILTER2DEXTPROC __glewSeparableFilter2DEXT = NULL;
1500
1501PFNGLBINORMALPOINTEREXTPROC __glewBinormalPointerEXT = NULL;
1502PFNGLTANGENTPOINTEREXTPROC __glewTangentPointerEXT = NULL;
1503
1504PFNGLCOPYTEXIMAGE1DEXTPROC __glewCopyTexImage1DEXT = NULL;
1505PFNGLCOPYTEXIMAGE2DEXTPROC __glewCopyTexImage2DEXT = NULL;
1506PFNGLCOPYTEXSUBIMAGE1DEXTPROC __glewCopyTexSubImage1DEXT = NULL;
1507PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT = NULL;
1508PFNGLCOPYTEXSUBIMAGE3DEXTPROC __glewCopyTexSubImage3DEXT = NULL;
1509
1510PFNGLCULLPARAMETERDVEXTPROC __glewCullParameterdvEXT = NULL;
1511PFNGLCULLPARAMETERFVEXTPROC __glewCullParameterfvEXT = NULL;
1512
1513PFNGLINSERTEVENTMARKEREXTPROC __glewInsertEventMarkerEXT = NULL;
1514PFNGLPOPGROUPMARKEREXTPROC __glewPopGroupMarkerEXT = NULL;
1515PFNGLPUSHGROUPMARKEREXTPROC __glewPushGroupMarkerEXT = NULL;
1516
1517PFNGLDEPTHBOUNDSEXTPROC __glewDepthBoundsEXT = NULL;
1518
1519PFNGLBINDMULTITEXTUREEXTPROC __glewBindMultiTextureEXT = NULL;
1520PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC __glewCheckNamedFramebufferStatusEXT = NULL;
1521PFNGLCLIENTATTRIBDEFAULTEXTPROC __glewClientAttribDefaultEXT = NULL;
1522PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC __glewCompressedMultiTexImage1DEXT = NULL;
1523PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC __glewCompressedMultiTexImage2DEXT = NULL;
1524PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC __glewCompressedMultiTexImage3DEXT = NULL;
1525PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC __glewCompressedMultiTexSubImage1DEXT = NULL;
1526PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC __glewCompressedMultiTexSubImage2DEXT = NULL;
1527PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC __glewCompressedMultiTexSubImage3DEXT = NULL;
1528PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC __glewCompressedTextureImage1DEXT = NULL;
1529PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC __glewCompressedTextureImage2DEXT = NULL;
1530PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC __glewCompressedTextureImage3DEXT = NULL;
1531PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC __glewCompressedTextureSubImage1DEXT = NULL;
1532PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC __glewCompressedTextureSubImage2DEXT = NULL;
1533PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC __glewCompressedTextureSubImage3DEXT = NULL;
1534PFNGLCOPYMULTITEXIMAGE1DEXTPROC __glewCopyMultiTexImage1DEXT = NULL;
1535PFNGLCOPYMULTITEXIMAGE2DEXTPROC __glewCopyMultiTexImage2DEXT = NULL;
1536PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC __glewCopyMultiTexSubImage1DEXT = NULL;
1537PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC __glewCopyMultiTexSubImage2DEXT = NULL;
1538PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC __glewCopyMultiTexSubImage3DEXT = NULL;
1539PFNGLCOPYTEXTUREIMAGE1DEXTPROC __glewCopyTextureImage1DEXT = NULL;
1540PFNGLCOPYTEXTUREIMAGE2DEXTPROC __glewCopyTextureImage2DEXT = NULL;
1541PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC __glewCopyTextureSubImage1DEXT = NULL;
1542PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC __glewCopyTextureSubImage2DEXT = NULL;
1543PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC __glewCopyTextureSubImage3DEXT = NULL;
1544PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC __glewDisableClientStateIndexedEXT = NULL;
1545PFNGLDISABLECLIENTSTATEIEXTPROC __glewDisableClientStateiEXT = NULL;
1546PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC __glewDisableVertexArrayAttribEXT = NULL;
1547PFNGLDISABLEVERTEXARRAYEXTPROC __glewDisableVertexArrayEXT = NULL;
1548PFNGLENABLECLIENTSTATEINDEXEDEXTPROC __glewEnableClientStateIndexedEXT = NULL;
1549PFNGLENABLECLIENTSTATEIEXTPROC __glewEnableClientStateiEXT = NULL;
1550PFNGLENABLEVERTEXARRAYATTRIBEXTPROC __glewEnableVertexArrayAttribEXT = NULL;
1551PFNGLENABLEVERTEXARRAYEXTPROC __glewEnableVertexArrayEXT = NULL;
1552PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC __glewFlushMappedNamedBufferRangeEXT = NULL;
1553PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC __glewFramebufferDrawBufferEXT = NULL;
1554PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC __glewFramebufferDrawBuffersEXT = NULL;
1555PFNGLFRAMEBUFFERREADBUFFEREXTPROC __glewFramebufferReadBufferEXT = NULL;
1556PFNGLGENERATEMULTITEXMIPMAPEXTPROC __glewGenerateMultiTexMipmapEXT = NULL;
1557PFNGLGENERATETEXTUREMIPMAPEXTPROC __glewGenerateTextureMipmapEXT = NULL;
1558PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC __glewGetCompressedMultiTexImageEXT = NULL;
1559PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC __glewGetCompressedTextureImageEXT = NULL;
1560PFNGLGETDOUBLEINDEXEDVEXTPROC __glewGetDoubleIndexedvEXT = NULL;
1561PFNGLGETDOUBLEI_VEXTPROC __glewGetDoublei_vEXT = NULL;
1562PFNGLGETFLOATINDEXEDVEXTPROC __glewGetFloatIndexedvEXT = NULL;
1563PFNGLGETFLOATI_VEXTPROC __glewGetFloati_vEXT = NULL;
1564PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC __glewGetFramebufferParameterivEXT = NULL;
1565PFNGLGETMULTITEXENVFVEXTPROC __glewGetMultiTexEnvfvEXT = NULL;
1566PFNGLGETMULTITEXENVIVEXTPROC __glewGetMultiTexEnvivEXT = NULL;
1567PFNGLGETMULTITEXGENDVEXTPROC __glewGetMultiTexGendvEXT = NULL;
1568PFNGLGETMULTITEXGENFVEXTPROC __glewGetMultiTexGenfvEXT = NULL;
1569PFNGLGETMULTITEXGENIVEXTPROC __glewGetMultiTexGenivEXT = NULL;
1570PFNGLGETMULTITEXIMAGEEXTPROC __glewGetMultiTexImageEXT = NULL;
1571PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC __glewGetMultiTexLevelParameterfvEXT = NULL;
1572PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC __glewGetMultiTexLevelParameterivEXT = NULL;
1573PFNGLGETMULTITEXPARAMETERIIVEXTPROC __glewGetMultiTexParameterIivEXT = NULL;
1574PFNGLGETMULTITEXPARAMETERIUIVEXTPROC __glewGetMultiTexParameterIuivEXT = NULL;
1575PFNGLGETMULTITEXPARAMETERFVEXTPROC __glewGetMultiTexParameterfvEXT = NULL;
1576PFNGLGETMULTITEXPARAMETERIVEXTPROC __glewGetMultiTexParameterivEXT = NULL;
1577PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC __glewGetNamedBufferParameterivEXT = NULL;
1578PFNGLGETNAMEDBUFFERPOINTERVEXTPROC __glewGetNamedBufferPointervEXT = NULL;
1579PFNGLGETNAMEDBUFFERSUBDATAEXTPROC __glewGetNamedBufferSubDataEXT = NULL;
1580PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetNamedFramebufferAttachmentParameterivEXT = NULL;
1581PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC __glewGetNamedProgramLocalParameterIivEXT = NULL;
1582PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC __glewGetNamedProgramLocalParameterIuivEXT = NULL;
1583PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC __glewGetNamedProgramLocalParameterdvEXT = NULL;
1584PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC __glewGetNamedProgramLocalParameterfvEXT = NULL;
1585PFNGLGETNAMEDPROGRAMSTRINGEXTPROC __glewGetNamedProgramStringEXT = NULL;
1586PFNGLGETNAMEDPROGRAMIVEXTPROC __glewGetNamedProgramivEXT = NULL;
1587PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC __glewGetNamedRenderbufferParameterivEXT = NULL;
1588PFNGLGETPOINTERINDEXEDVEXTPROC __glewGetPointerIndexedvEXT = NULL;
1589PFNGLGETPOINTERI_VEXTPROC __glewGetPointeri_vEXT = NULL;
1590PFNGLGETTEXTUREIMAGEEXTPROC __glewGetTextureImageEXT = NULL;
1591PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC __glewGetTextureLevelParameterfvEXT = NULL;
1592PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC __glewGetTextureLevelParameterivEXT = NULL;
1593PFNGLGETTEXTUREPARAMETERIIVEXTPROC __glewGetTextureParameterIivEXT = NULL;
1594PFNGLGETTEXTUREPARAMETERIUIVEXTPROC __glewGetTextureParameterIuivEXT = NULL;
1595PFNGLGETTEXTUREPARAMETERFVEXTPROC __glewGetTextureParameterfvEXT = NULL;
1596PFNGLGETTEXTUREPARAMETERIVEXTPROC __glewGetTextureParameterivEXT = NULL;
1597PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC __glewGetVertexArrayIntegeri_vEXT = NULL;
1598PFNGLGETVERTEXARRAYINTEGERVEXTPROC __glewGetVertexArrayIntegervEXT = NULL;
1599PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC __glewGetVertexArrayPointeri_vEXT = NULL;
1600PFNGLGETVERTEXARRAYPOINTERVEXTPROC __glewGetVertexArrayPointervEXT = NULL;
1601PFNGLMAPNAMEDBUFFEREXTPROC __glewMapNamedBufferEXT = NULL;
1602PFNGLMAPNAMEDBUFFERRANGEEXTPROC __glewMapNamedBufferRangeEXT = NULL;
1603PFNGLMATRIXFRUSTUMEXTPROC __glewMatrixFrustumEXT = NULL;
1604PFNGLMATRIXLOADIDENTITYEXTPROC __glewMatrixLoadIdentityEXT = NULL;
1605PFNGLMATRIXLOADTRANSPOSEDEXTPROC __glewMatrixLoadTransposedEXT = NULL;
1606PFNGLMATRIXLOADTRANSPOSEFEXTPROC __glewMatrixLoadTransposefEXT = NULL;
1607PFNGLMATRIXLOADDEXTPROC __glewMatrixLoaddEXT = NULL;
1608PFNGLMATRIXLOADFEXTPROC __glewMatrixLoadfEXT = NULL;
1609PFNGLMATRIXMULTTRANSPOSEDEXTPROC __glewMatrixMultTransposedEXT = NULL;
1610PFNGLMATRIXMULTTRANSPOSEFEXTPROC __glewMatrixMultTransposefEXT = NULL;
1611PFNGLMATRIXMULTDEXTPROC __glewMatrixMultdEXT = NULL;
1612PFNGLMATRIXMULTFEXTPROC __glewMatrixMultfEXT = NULL;
1613PFNGLMATRIXORTHOEXTPROC __glewMatrixOrthoEXT = NULL;
1614PFNGLMATRIXPOPEXTPROC __glewMatrixPopEXT = NULL;
1615PFNGLMATRIXPUSHEXTPROC __glewMatrixPushEXT = NULL;
1616PFNGLMATRIXROTATEDEXTPROC __glewMatrixRotatedEXT = NULL;
1617PFNGLMATRIXROTATEFEXTPROC __glewMatrixRotatefEXT = NULL;
1618PFNGLMATRIXSCALEDEXTPROC __glewMatrixScaledEXT = NULL;
1619PFNGLMATRIXSCALEFEXTPROC __glewMatrixScalefEXT = NULL;
1620PFNGLMATRIXTRANSLATEDEXTPROC __glewMatrixTranslatedEXT = NULL;
1621PFNGLMATRIXTRANSLATEFEXTPROC __glewMatrixTranslatefEXT = NULL;
1622PFNGLMULTITEXBUFFEREXTPROC __glewMultiTexBufferEXT = NULL;
1623PFNGLMULTITEXCOORDPOINTEREXTPROC __glewMultiTexCoordPointerEXT = NULL;
1624PFNGLMULTITEXENVFEXTPROC __glewMultiTexEnvfEXT = NULL;
1625PFNGLMULTITEXENVFVEXTPROC __glewMultiTexEnvfvEXT = NULL;
1626PFNGLMULTITEXENVIEXTPROC __glewMultiTexEnviEXT = NULL;
1627PFNGLMULTITEXENVIVEXTPROC __glewMultiTexEnvivEXT = NULL;
1628PFNGLMULTITEXGENDEXTPROC __glewMultiTexGendEXT = NULL;
1629PFNGLMULTITEXGENDVEXTPROC __glewMultiTexGendvEXT = NULL;
1630PFNGLMULTITEXGENFEXTPROC __glewMultiTexGenfEXT = NULL;
1631PFNGLMULTITEXGENFVEXTPROC __glewMultiTexGenfvEXT = NULL;
1632PFNGLMULTITEXGENIEXTPROC __glewMultiTexGeniEXT = NULL;
1633PFNGLMULTITEXGENIVEXTPROC __glewMultiTexGenivEXT = NULL;
1634PFNGLMULTITEXIMAGE1DEXTPROC __glewMultiTexImage1DEXT = NULL;
1635PFNGLMULTITEXIMAGE2DEXTPROC __glewMultiTexImage2DEXT = NULL;
1636PFNGLMULTITEXIMAGE3DEXTPROC __glewMultiTexImage3DEXT = NULL;
1637PFNGLMULTITEXPARAMETERIIVEXTPROC __glewMultiTexParameterIivEXT = NULL;
1638PFNGLMULTITEXPARAMETERIUIVEXTPROC __glewMultiTexParameterIuivEXT = NULL;
1639PFNGLMULTITEXPARAMETERFEXTPROC __glewMultiTexParameterfEXT = NULL;
1640PFNGLMULTITEXPARAMETERFVEXTPROC __glewMultiTexParameterfvEXT = NULL;
1641PFNGLMULTITEXPARAMETERIEXTPROC __glewMultiTexParameteriEXT = NULL;
1642PFNGLMULTITEXPARAMETERIVEXTPROC __glewMultiTexParameterivEXT = NULL;
1643PFNGLMULTITEXRENDERBUFFEREXTPROC __glewMultiTexRenderbufferEXT = NULL;
1644PFNGLMULTITEXSUBIMAGE1DEXTPROC __glewMultiTexSubImage1DEXT = NULL;
1645PFNGLMULTITEXSUBIMAGE2DEXTPROC __glewMultiTexSubImage2DEXT = NULL;
1646PFNGLMULTITEXSUBIMAGE3DEXTPROC __glewMultiTexSubImage3DEXT = NULL;
1647PFNGLNAMEDBUFFERDATAEXTPROC __glewNamedBufferDataEXT = NULL;
1648PFNGLNAMEDBUFFERSUBDATAEXTPROC __glewNamedBufferSubDataEXT = NULL;
1649PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC __glewNamedCopyBufferSubDataEXT = NULL;
1650PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC __glewNamedFramebufferRenderbufferEXT = NULL;
1651PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC __glewNamedFramebufferTexture1DEXT = NULL;
1652PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC __glewNamedFramebufferTexture2DEXT = NULL;
1653PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC __glewNamedFramebufferTexture3DEXT = NULL;
1654PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC __glewNamedFramebufferTextureEXT = NULL;
1655PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC __glewNamedFramebufferTextureFaceEXT = NULL;
1656PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC __glewNamedFramebufferTextureLayerEXT = NULL;
1657PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC __glewNamedProgramLocalParameter4dEXT = NULL;
1658PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC __glewNamedProgramLocalParameter4dvEXT = NULL;
1659PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC __glewNamedProgramLocalParameter4fEXT = NULL;
1660PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC __glewNamedProgramLocalParameter4fvEXT = NULL;
1661PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC __glewNamedProgramLocalParameterI4iEXT = NULL;
1662PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC __glewNamedProgramLocalParameterI4ivEXT = NULL;
1663PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC __glewNamedProgramLocalParameterI4uiEXT = NULL;
1664PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC __glewNamedProgramLocalParameterI4uivEXT = NULL;
1665PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC __glewNamedProgramLocalParameters4fvEXT = NULL;
1666PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC __glewNamedProgramLocalParametersI4ivEXT = NULL;
1667PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC __glewNamedProgramLocalParametersI4uivEXT = NULL;
1668PFNGLNAMEDPROGRAMSTRINGEXTPROC __glewNamedProgramStringEXT = NULL;
1669PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC __glewNamedRenderbufferStorageEXT = NULL;
1670PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC __glewNamedRenderbufferStorageMultisampleCoverageEXT = NULL;
1671PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewNamedRenderbufferStorageMultisampleEXT = NULL;
1672PFNGLPROGRAMUNIFORM1FEXTPROC __glewProgramUniform1fEXT = NULL;
1673PFNGLPROGRAMUNIFORM1FVEXTPROC __glewProgramUniform1fvEXT = NULL;
1674PFNGLPROGRAMUNIFORM1IEXTPROC __glewProgramUniform1iEXT = NULL;
1675PFNGLPROGRAMUNIFORM1IVEXTPROC __glewProgramUniform1ivEXT = NULL;
1676PFNGLPROGRAMUNIFORM1UIEXTPROC __glewProgramUniform1uiEXT = NULL;
1677PFNGLPROGRAMUNIFORM1UIVEXTPROC __glewProgramUniform1uivEXT = NULL;
1678PFNGLPROGRAMUNIFORM2FEXTPROC __glewProgramUniform2fEXT = NULL;
1679PFNGLPROGRAMUNIFORM2FVEXTPROC __glewProgramUniform2fvEXT = NULL;
1680PFNGLPROGRAMUNIFORM2IEXTPROC __glewProgramUniform2iEXT = NULL;
1681PFNGLPROGRAMUNIFORM2IVEXTPROC __glewProgramUniform2ivEXT = NULL;
1682PFNGLPROGRAMUNIFORM2UIEXTPROC __glewProgramUniform2uiEXT = NULL;
1683PFNGLPROGRAMUNIFORM2UIVEXTPROC __glewProgramUniform2uivEXT = NULL;
1684PFNGLPROGRAMUNIFORM3FEXTPROC __glewProgramUniform3fEXT = NULL;
1685PFNGLPROGRAMUNIFORM3FVEXTPROC __glewProgramUniform3fvEXT = NULL;
1686PFNGLPROGRAMUNIFORM3IEXTPROC __glewProgramUniform3iEXT = NULL;
1687PFNGLPROGRAMUNIFORM3IVEXTPROC __glewProgramUniform3ivEXT = NULL;
1688PFNGLPROGRAMUNIFORM3UIEXTPROC __glewProgramUniform3uiEXT = NULL;
1689PFNGLPROGRAMUNIFORM3UIVEXTPROC __glewProgramUniform3uivEXT = NULL;
1690PFNGLPROGRAMUNIFORM4FEXTPROC __glewProgramUniform4fEXT = NULL;
1691PFNGLPROGRAMUNIFORM4FVEXTPROC __glewProgramUniform4fvEXT = NULL;
1692PFNGLPROGRAMUNIFORM4IEXTPROC __glewProgramUniform4iEXT = NULL;
1693PFNGLPROGRAMUNIFORM4IVEXTPROC __glewProgramUniform4ivEXT = NULL;
1694PFNGLPROGRAMUNIFORM4UIEXTPROC __glewProgramUniform4uiEXT = NULL;
1695PFNGLPROGRAMUNIFORM4UIVEXTPROC __glewProgramUniform4uivEXT = NULL;
1696PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC __glewProgramUniformMatrix2fvEXT = NULL;
1697PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC __glewProgramUniformMatrix2x3fvEXT = NULL;
1698PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC __glewProgramUniformMatrix2x4fvEXT = NULL;
1699PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC __glewProgramUniformMatrix3fvEXT = NULL;
1700PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC __glewProgramUniformMatrix3x2fvEXT = NULL;
1701PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC __glewProgramUniformMatrix3x4fvEXT = NULL;
1702PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC __glewProgramUniformMatrix4fvEXT = NULL;
1703PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC __glewProgramUniformMatrix4x2fvEXT = NULL;
1704PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC __glewProgramUniformMatrix4x3fvEXT = NULL;
1705PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC __glewPushClientAttribDefaultEXT = NULL;
1706PFNGLTEXTUREBUFFEREXTPROC __glewTextureBufferEXT = NULL;
1707PFNGLTEXTUREIMAGE1DEXTPROC __glewTextureImage1DEXT = NULL;
1708PFNGLTEXTUREIMAGE2DEXTPROC __glewTextureImage2DEXT = NULL;
1709PFNGLTEXTUREIMAGE3DEXTPROC __glewTextureImage3DEXT = NULL;
1710PFNGLTEXTUREPARAMETERIIVEXTPROC __glewTextureParameterIivEXT = NULL;
1711PFNGLTEXTUREPARAMETERIUIVEXTPROC __glewTextureParameterIuivEXT = NULL;
1712PFNGLTEXTUREPARAMETERFEXTPROC __glewTextureParameterfEXT = NULL;
1713PFNGLTEXTUREPARAMETERFVEXTPROC __glewTextureParameterfvEXT = NULL;
1714PFNGLTEXTUREPARAMETERIEXTPROC __glewTextureParameteriEXT = NULL;
1715PFNGLTEXTUREPARAMETERIVEXTPROC __glewTextureParameterivEXT = NULL;
1716PFNGLTEXTURERENDERBUFFEREXTPROC __glewTextureRenderbufferEXT = NULL;
1717PFNGLTEXTURESUBIMAGE1DEXTPROC __glewTextureSubImage1DEXT = NULL;
1718PFNGLTEXTURESUBIMAGE2DEXTPROC __glewTextureSubImage2DEXT = NULL;
1719PFNGLTEXTURESUBIMAGE3DEXTPROC __glewTextureSubImage3DEXT = NULL;
1720PFNGLUNMAPNAMEDBUFFEREXTPROC __glewUnmapNamedBufferEXT = NULL;
1721PFNGLVERTEXARRAYCOLOROFFSETEXTPROC __glewVertexArrayColorOffsetEXT = NULL;
1722PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC __glewVertexArrayEdgeFlagOffsetEXT = NULL;
1723PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC __glewVertexArrayFogCoordOffsetEXT = NULL;
1724PFNGLVERTEXARRAYINDEXOFFSETEXTPROC __glewVertexArrayIndexOffsetEXT = NULL;
1725PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC __glewVertexArrayMultiTexCoordOffsetEXT = NULL;
1726PFNGLVERTEXARRAYNORMALOFFSETEXTPROC __glewVertexArrayNormalOffsetEXT = NULL;
1727PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC __glewVertexArraySecondaryColorOffsetEXT = NULL;
1728PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC __glewVertexArrayTexCoordOffsetEXT = NULL;
1729PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC __glewVertexArrayVertexAttribIOffsetEXT = NULL;
1730PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC __glewVertexArrayVertexAttribOffsetEXT = NULL;
1731PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC __glewVertexArrayVertexOffsetEXT = NULL;
1732
1733PFNGLCOLORMASKINDEXEDEXTPROC __glewColorMaskIndexedEXT = NULL;
1734PFNGLDISABLEINDEXEDEXTPROC __glewDisableIndexedEXT = NULL;
1735PFNGLENABLEINDEXEDEXTPROC __glewEnableIndexedEXT = NULL;
1736PFNGLGETBOOLEANINDEXEDVEXTPROC __glewGetBooleanIndexedvEXT = NULL;
1737PFNGLGETINTEGERINDEXEDVEXTPROC __glewGetIntegerIndexedvEXT = NULL;
1738PFNGLISENABLEDINDEXEDEXTPROC __glewIsEnabledIndexedEXT = NULL;
1739
1740PFNGLDRAWARRAYSINSTANCEDEXTPROC __glewDrawArraysInstancedEXT = NULL;
1741PFNGLDRAWELEMENTSINSTANCEDEXTPROC __glewDrawElementsInstancedEXT = NULL;
1742
1743PFNGLDRAWRANGEELEMENTSEXTPROC __glewDrawRangeElementsEXT = NULL;
1744
1745PFNGLFOGCOORDPOINTEREXTPROC __glewFogCoordPointerEXT = NULL;
1746PFNGLFOGCOORDDEXTPROC __glewFogCoorddEXT = NULL;
1747PFNGLFOGCOORDDVEXTPROC __glewFogCoorddvEXT = NULL;
1748PFNGLFOGCOORDFEXTPROC __glewFogCoordfEXT = NULL;
1749PFNGLFOGCOORDFVEXTPROC __glewFogCoordfvEXT = NULL;
1750
1751PFNGLFRAGMENTCOLORMATERIALEXTPROC __glewFragmentColorMaterialEXT = NULL;
1752PFNGLFRAGMENTLIGHTMODELFEXTPROC __glewFragmentLightModelfEXT = NULL;
1753PFNGLFRAGMENTLIGHTMODELFVEXTPROC __glewFragmentLightModelfvEXT = NULL;
1754PFNGLFRAGMENTLIGHTMODELIEXTPROC __glewFragmentLightModeliEXT = NULL;
1755PFNGLFRAGMENTLIGHTMODELIVEXTPROC __glewFragmentLightModelivEXT = NULL;
1756PFNGLFRAGMENTLIGHTFEXTPROC __glewFragmentLightfEXT = NULL;
1757PFNGLFRAGMENTLIGHTFVEXTPROC __glewFragmentLightfvEXT = NULL;
1758PFNGLFRAGMENTLIGHTIEXTPROC __glewFragmentLightiEXT = NULL;
1759PFNGLFRAGMENTLIGHTIVEXTPROC __glewFragmentLightivEXT = NULL;
1760PFNGLFRAGMENTMATERIALFEXTPROC __glewFragmentMaterialfEXT = NULL;
1761PFNGLFRAGMENTMATERIALFVEXTPROC __glewFragmentMaterialfvEXT = NULL;
1762PFNGLFRAGMENTMATERIALIEXTPROC __glewFragmentMaterialiEXT = NULL;
1763PFNGLFRAGMENTMATERIALIVEXTPROC __glewFragmentMaterialivEXT = NULL;
1764PFNGLGETFRAGMENTLIGHTFVEXTPROC __glewGetFragmentLightfvEXT = NULL;
1765PFNGLGETFRAGMENTLIGHTIVEXTPROC __glewGetFragmentLightivEXT = NULL;
1766PFNGLGETFRAGMENTMATERIALFVEXTPROC __glewGetFragmentMaterialfvEXT = NULL;
1767PFNGLGETFRAGMENTMATERIALIVEXTPROC __glewGetFragmentMaterialivEXT = NULL;
1768PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT = NULL;
1769
1770PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT = NULL;
1771
1772PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT = NULL;
1773
1774PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT = NULL;
1775PFNGLBINDRENDERBUFFEREXTPROC __glewBindRenderbufferEXT = NULL;
1776PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC __glewCheckFramebufferStatusEXT = NULL;
1777PFNGLDELETEFRAMEBUFFERSEXTPROC __glewDeleteFramebuffersEXT = NULL;
1778PFNGLDELETERENDERBUFFERSEXTPROC __glewDeleteRenderbuffersEXT = NULL;
1779PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC __glewFramebufferRenderbufferEXT = NULL;
1780PFNGLFRAMEBUFFERTEXTURE1DEXTPROC __glewFramebufferTexture1DEXT = NULL;
1781PFNGLFRAMEBUFFERTEXTURE2DEXTPROC __glewFramebufferTexture2DEXT = NULL;
1782PFNGLFRAMEBUFFERTEXTURE3DEXTPROC __glewFramebufferTexture3DEXT = NULL;
1783PFNGLGENFRAMEBUFFERSEXTPROC __glewGenFramebuffersEXT = NULL;
1784PFNGLGENRENDERBUFFERSEXTPROC __glewGenRenderbuffersEXT = NULL;
1785PFNGLGENERATEMIPMAPEXTPROC __glewGenerateMipmapEXT = NULL;
1786PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetFramebufferAttachmentParameterivEXT = NULL;
1787PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC __glewGetRenderbufferParameterivEXT = NULL;
1788PFNGLISFRAMEBUFFEREXTPROC __glewIsFramebufferEXT = NULL;
1789PFNGLISRENDERBUFFEREXTPROC __glewIsRenderbufferEXT = NULL;
1790PFNGLRENDERBUFFERSTORAGEEXTPROC __glewRenderbufferStorageEXT = NULL;
1791
1792PFNGLFRAMEBUFFERTEXTUREEXTPROC __glewFramebufferTextureEXT = NULL;
1793PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC __glewFramebufferTextureFaceEXT = NULL;
1794PFNGLPROGRAMPARAMETERIEXTPROC __glewProgramParameteriEXT = NULL;
1795
1796PFNGLPROGRAMENVPARAMETERS4FVEXTPROC __glewProgramEnvParameters4fvEXT = NULL;
1797PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC __glewProgramLocalParameters4fvEXT = NULL;
1798
1799PFNGLBINDFRAGDATALOCATIONEXTPROC __glewBindFragDataLocationEXT = NULL;
1800PFNGLGETFRAGDATALOCATIONEXTPROC __glewGetFragDataLocationEXT = NULL;
1801PFNGLGETUNIFORMUIVEXTPROC __glewGetUniformuivEXT = NULL;
1802PFNGLGETVERTEXATTRIBIIVEXTPROC __glewGetVertexAttribIivEXT = NULL;
1803PFNGLGETVERTEXATTRIBIUIVEXTPROC __glewGetVertexAttribIuivEXT = NULL;
1804PFNGLUNIFORM1UIEXTPROC __glewUniform1uiEXT = NULL;
1805PFNGLUNIFORM1UIVEXTPROC __glewUniform1uivEXT = NULL;
1806PFNGLUNIFORM2UIEXTPROC __glewUniform2uiEXT = NULL;
1807PFNGLUNIFORM2UIVEXTPROC __glewUniform2uivEXT = NULL;
1808PFNGLUNIFORM3UIEXTPROC __glewUniform3uiEXT = NULL;
1809PFNGLUNIFORM3UIVEXTPROC __glewUniform3uivEXT = NULL;
1810PFNGLUNIFORM4UIEXTPROC __glewUniform4uiEXT = NULL;
1811PFNGLUNIFORM4UIVEXTPROC __glewUniform4uivEXT = NULL;
1812PFNGLVERTEXATTRIBI1IEXTPROC __glewVertexAttribI1iEXT = NULL;
1813PFNGLVERTEXATTRIBI1IVEXTPROC __glewVertexAttribI1ivEXT = NULL;
1814PFNGLVERTEXATTRIBI1UIEXTPROC __glewVertexAttribI1uiEXT = NULL;
1815PFNGLVERTEXATTRIBI1UIVEXTPROC __glewVertexAttribI1uivEXT = NULL;
1816PFNGLVERTEXATTRIBI2IEXTPROC __glewVertexAttribI2iEXT = NULL;
1817PFNGLVERTEXATTRIBI2IVEXTPROC __glewVertexAttribI2ivEXT = NULL;
1818PFNGLVERTEXATTRIBI2UIEXTPROC __glewVertexAttribI2uiEXT = NULL;
1819PFNGLVERTEXATTRIBI2UIVEXTPROC __glewVertexAttribI2uivEXT = NULL;
1820PFNGLVERTEXATTRIBI3IEXTPROC __glewVertexAttribI3iEXT = NULL;
1821PFNGLVERTEXATTRIBI3IVEXTPROC __glewVertexAttribI3ivEXT = NULL;
1822PFNGLVERTEXATTRIBI3UIEXTPROC __glewVertexAttribI3uiEXT = NULL;
1823PFNGLVERTEXATTRIBI3UIVEXTPROC __glewVertexAttribI3uivEXT = NULL;
1824PFNGLVERTEXATTRIBI4BVEXTPROC __glewVertexAttribI4bvEXT = NULL;
1825PFNGLVERTEXATTRIBI4IEXTPROC __glewVertexAttribI4iEXT = NULL;
1826PFNGLVERTEXATTRIBI4IVEXTPROC __glewVertexAttribI4ivEXT = NULL;
1827PFNGLVERTEXATTRIBI4SVEXTPROC __glewVertexAttribI4svEXT = NULL;
1828PFNGLVERTEXATTRIBI4UBVEXTPROC __glewVertexAttribI4ubvEXT = NULL;
1829PFNGLVERTEXATTRIBI4UIEXTPROC __glewVertexAttribI4uiEXT = NULL;
1830PFNGLVERTEXATTRIBI4UIVEXTPROC __glewVertexAttribI4uivEXT = NULL;
1831PFNGLVERTEXATTRIBI4USVEXTPROC __glewVertexAttribI4usvEXT = NULL;
1832PFNGLVERTEXATTRIBIPOINTEREXTPROC __glewVertexAttribIPointerEXT = NULL;
1833
1834PFNGLGETHISTOGRAMEXTPROC __glewGetHistogramEXT = NULL;
1835PFNGLGETHISTOGRAMPARAMETERFVEXTPROC __glewGetHistogramParameterfvEXT = NULL;
1836PFNGLGETHISTOGRAMPARAMETERIVEXTPROC __glewGetHistogramParameterivEXT = NULL;
1837PFNGLGETMINMAXEXTPROC __glewGetMinmaxEXT = NULL;
1838PFNGLGETMINMAXPARAMETERFVEXTPROC __glewGetMinmaxParameterfvEXT = NULL;
1839PFNGLGETMINMAXPARAMETERIVEXTPROC __glewGetMinmaxParameterivEXT = NULL;
1840PFNGLHISTOGRAMEXTPROC __glewHistogramEXT = NULL;
1841PFNGLMINMAXEXTPROC __glewMinmaxEXT = NULL;
1842PFNGLRESETHISTOGRAMEXTPROC __glewResetHistogramEXT = NULL;
1843PFNGLRESETMINMAXEXTPROC __glewResetMinmaxEXT = NULL;
1844
1845PFNGLINDEXFUNCEXTPROC __glewIndexFuncEXT = NULL;
1846
1847PFNGLINDEXMATERIALEXTPROC __glewIndexMaterialEXT = NULL;
1848
1849PFNGLAPPLYTEXTUREEXTPROC __glewApplyTextureEXT = NULL;
1850PFNGLTEXTURELIGHTEXTPROC __glewTextureLightEXT = NULL;
1851PFNGLTEXTUREMATERIALEXTPROC __glewTextureMaterialEXT = NULL;
1852
1853PFNGLMULTIDRAWARRAYSEXTPROC __glewMultiDrawArraysEXT = NULL;
1854PFNGLMULTIDRAWELEMENTSEXTPROC __glewMultiDrawElementsEXT = NULL;
1855
1856PFNGLSAMPLEMASKEXTPROC __glewSampleMaskEXT = NULL;
1857PFNGLSAMPLEPATTERNEXTPROC __glewSamplePatternEXT = NULL;
1858
1859PFNGLCOLORTABLEEXTPROC __glewColorTableEXT = NULL;
1860PFNGLGETCOLORTABLEEXTPROC __glewGetColorTableEXT = NULL;
1861PFNGLGETCOLORTABLEPARAMETERFVEXTPROC __glewGetColorTableParameterfvEXT = NULL;
1862PFNGLGETCOLORTABLEPARAMETERIVEXTPROC __glewGetColorTableParameterivEXT = NULL;
1863
1864PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC __glewGetPixelTransformParameterfvEXT = NULL;
1865PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC __glewGetPixelTransformParameterivEXT = NULL;
1866PFNGLPIXELTRANSFORMPARAMETERFEXTPROC __glewPixelTransformParameterfEXT = NULL;
1867PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC __glewPixelTransformParameterfvEXT = NULL;
1868PFNGLPIXELTRANSFORMPARAMETERIEXTPROC __glewPixelTransformParameteriEXT = NULL;
1869PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC __glewPixelTransformParameterivEXT = NULL;
1870
1871PFNGLPOINTPARAMETERFEXTPROC __glewPointParameterfEXT = NULL;
1872PFNGLPOINTPARAMETERFVEXTPROC __glewPointParameterfvEXT = NULL;
1873
1874PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL;
1875
1876PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT = NULL;
1877
1878PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT = NULL;
1879PFNGLENDSCENEEXTPROC __glewEndSceneEXT = NULL;
1880
1881PFNGLSECONDARYCOLOR3BEXTPROC __glewSecondaryColor3bEXT = NULL;
1882PFNGLSECONDARYCOLOR3BVEXTPROC __glewSecondaryColor3bvEXT = NULL;
1883PFNGLSECONDARYCOLOR3DEXTPROC __glewSecondaryColor3dEXT = NULL;
1884PFNGLSECONDARYCOLOR3DVEXTPROC __glewSecondaryColor3dvEXT = NULL;
1885PFNGLSECONDARYCOLOR3FEXTPROC __glewSecondaryColor3fEXT = NULL;
1886PFNGLSECONDARYCOLOR3FVEXTPROC __glewSecondaryColor3fvEXT = NULL;
1887PFNGLSECONDARYCOLOR3IEXTPROC __glewSecondaryColor3iEXT = NULL;
1888PFNGLSECONDARYCOLOR3IVEXTPROC __glewSecondaryColor3ivEXT = NULL;
1889PFNGLSECONDARYCOLOR3SEXTPROC __glewSecondaryColor3sEXT = NULL;
1890PFNGLSECONDARYCOLOR3SVEXTPROC __glewSecondaryColor3svEXT = NULL;
1891PFNGLSECONDARYCOLOR3UBEXTPROC __glewSecondaryColor3ubEXT = NULL;
1892PFNGLSECONDARYCOLOR3UBVEXTPROC __glewSecondaryColor3ubvEXT = NULL;
1893PFNGLSECONDARYCOLOR3UIEXTPROC __glewSecondaryColor3uiEXT = NULL;
1894PFNGLSECONDARYCOLOR3UIVEXTPROC __glewSecondaryColor3uivEXT = NULL;
1895PFNGLSECONDARYCOLOR3USEXTPROC __glewSecondaryColor3usEXT = NULL;
1896PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT = NULL;
1897PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT = NULL;
1898
1899PFNGLACTIVEPROGRAMEXTPROC __glewActiveProgramEXT = NULL;
1900PFNGLCREATESHADERPROGRAMEXTPROC __glewCreateShaderProgramEXT = NULL;
1901PFNGLUSESHADERPROGRAMEXTPROC __glewUseShaderProgramEXT = NULL;
1902
1903PFNGLBINDIMAGETEXTUREEXTPROC __glewBindImageTextureEXT = NULL;
1904PFNGLMEMORYBARRIEREXTPROC __glewMemoryBarrierEXT = NULL;
1905
1906PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT = NULL;
1907
1908PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT = NULL;
1909PFNGLTEXSUBIMAGE2DEXTPROC __glewTexSubImage2DEXT = NULL;
1910PFNGLTEXSUBIMAGE3DEXTPROC __glewTexSubImage3DEXT = NULL;
1911
1912PFNGLTEXIMAGE3DEXTPROC __glewTexImage3DEXT = NULL;
1913
1914PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC __glewFramebufferTextureLayerEXT = NULL;
1915
1916PFNGLTEXBUFFEREXTPROC __glewTexBufferEXT = NULL;
1917
1918PFNGLCLEARCOLORIIEXTPROC __glewClearColorIiEXT = NULL;
1919PFNGLCLEARCOLORIUIEXTPROC __glewClearColorIuiEXT = NULL;
1920PFNGLGETTEXPARAMETERIIVEXTPROC __glewGetTexParameterIivEXT = NULL;
1921PFNGLGETTEXPARAMETERIUIVEXTPROC __glewGetTexParameterIuivEXT = NULL;
1922PFNGLTEXPARAMETERIIVEXTPROC __glewTexParameterIivEXT = NULL;
1923PFNGLTEXPARAMETERIUIVEXTPROC __glewTexParameterIuivEXT = NULL;
1924
1925PFNGLARETEXTURESRESIDENTEXTPROC __glewAreTexturesResidentEXT = NULL;
1926PFNGLBINDTEXTUREEXTPROC __glewBindTextureEXT = NULL;
1927PFNGLDELETETEXTURESEXTPROC __glewDeleteTexturesEXT = NULL;
1928PFNGLGENTEXTURESEXTPROC __glewGenTexturesEXT = NULL;
1929PFNGLISTEXTUREEXTPROC __glewIsTextureEXT = NULL;
1930PFNGLPRIORITIZETEXTURESEXTPROC __glewPrioritizeTexturesEXT = NULL;
1931
1932PFNGLTEXTURENORMALEXTPROC __glewTextureNormalEXT = NULL;
1933
1934PFNGLGETQUERYOBJECTI64VEXTPROC __glewGetQueryObjecti64vEXT = NULL;
1935PFNGLGETQUERYOBJECTUI64VEXTPROC __glewGetQueryObjectui64vEXT = NULL;
1936
1937PFNGLBEGINTRANSFORMFEEDBACKEXTPROC __glewBeginTransformFeedbackEXT = NULL;
1938PFNGLBINDBUFFERBASEEXTPROC __glewBindBufferBaseEXT = NULL;
1939PFNGLBINDBUFFEROFFSETEXTPROC __glewBindBufferOffsetEXT = NULL;
1940PFNGLBINDBUFFERRANGEEXTPROC __glewBindBufferRangeEXT = NULL;
1941PFNGLENDTRANSFORMFEEDBACKEXTPROC __glewEndTransformFeedbackEXT = NULL;
1942PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC __glewGetTransformFeedbackVaryingEXT = NULL;
1943PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC __glewTransformFeedbackVaryingsEXT = NULL;
1944
1945PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT = NULL;
1946PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT = NULL;
1947PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT = NULL;
1948PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT = NULL;
1949PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT = NULL;
1950PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT = NULL;
1951PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL;
1952PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT = NULL;
1953
1954PFNGLGETVERTEXATTRIBLDVEXTPROC __glewGetVertexAttribLdvEXT = NULL;
1955PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC __glewVertexArrayVertexAttribLOffsetEXT = NULL;
1956PFNGLVERTEXATTRIBL1DEXTPROC __glewVertexAttribL1dEXT = NULL;
1957PFNGLVERTEXATTRIBL1DVEXTPROC __glewVertexAttribL1dvEXT = NULL;
1958PFNGLVERTEXATTRIBL2DEXTPROC __glewVertexAttribL2dEXT = NULL;
1959PFNGLVERTEXATTRIBL2DVEXTPROC __glewVertexAttribL2dvEXT = NULL;
1960PFNGLVERTEXATTRIBL3DEXTPROC __glewVertexAttribL3dEXT = NULL;
1961PFNGLVERTEXATTRIBL3DVEXTPROC __glewVertexAttribL3dvEXT = NULL;
1962PFNGLVERTEXATTRIBL4DEXTPROC __glewVertexAttribL4dEXT = NULL;
1963PFNGLVERTEXATTRIBL4DVEXTPROC __glewVertexAttribL4dvEXT = NULL;
1964PFNGLVERTEXATTRIBLPOINTEREXTPROC __glewVertexAttribLPointerEXT = NULL;
1965
1966PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT = NULL;
1967PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT = NULL;
1968PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT = NULL;
1969PFNGLBINDPARAMETEREXTPROC __glewBindParameterEXT = NULL;
1970PFNGLBINDTEXGENPARAMETEREXTPROC __glewBindTexGenParameterEXT = NULL;
1971PFNGLBINDTEXTUREUNITPARAMETEREXTPROC __glewBindTextureUnitParameterEXT = NULL;
1972PFNGLBINDVERTEXSHADEREXTPROC __glewBindVertexShaderEXT = NULL;
1973PFNGLDELETEVERTEXSHADEREXTPROC __glewDeleteVertexShaderEXT = NULL;
1974PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC __glewDisableVariantClientStateEXT = NULL;
1975PFNGLENABLEVARIANTCLIENTSTATEEXTPROC __glewEnableVariantClientStateEXT = NULL;
1976PFNGLENDVERTEXSHADEREXTPROC __glewEndVertexShaderEXT = NULL;
1977PFNGLEXTRACTCOMPONENTEXTPROC __glewExtractComponentEXT = NULL;
1978PFNGLGENSYMBOLSEXTPROC __glewGenSymbolsEXT = NULL;
1979PFNGLGENVERTEXSHADERSEXTPROC __glewGenVertexShadersEXT = NULL;
1980PFNGLGETINVARIANTBOOLEANVEXTPROC __glewGetInvariantBooleanvEXT = NULL;
1981PFNGLGETINVARIANTFLOATVEXTPROC __glewGetInvariantFloatvEXT = NULL;
1982PFNGLGETINVARIANTINTEGERVEXTPROC __glewGetInvariantIntegervEXT = NULL;
1983PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC __glewGetLocalConstantBooleanvEXT = NULL;
1984PFNGLGETLOCALCONSTANTFLOATVEXTPROC __glewGetLocalConstantFloatvEXT = NULL;
1985PFNGLGETLOCALCONSTANTINTEGERVEXTPROC __glewGetLocalConstantIntegervEXT = NULL;
1986PFNGLGETVARIANTBOOLEANVEXTPROC __glewGetVariantBooleanvEXT = NULL;
1987PFNGLGETVARIANTFLOATVEXTPROC __glewGetVariantFloatvEXT = NULL;
1988PFNGLGETVARIANTINTEGERVEXTPROC __glewGetVariantIntegervEXT = NULL;
1989PFNGLGETVARIANTPOINTERVEXTPROC __glewGetVariantPointervEXT = NULL;
1990PFNGLINSERTCOMPONENTEXTPROC __glewInsertComponentEXT = NULL;
1991PFNGLISVARIANTENABLEDEXTPROC __glewIsVariantEnabledEXT = NULL;
1992PFNGLSETINVARIANTEXTPROC __glewSetInvariantEXT = NULL;
1993PFNGLSETLOCALCONSTANTEXTPROC __glewSetLocalConstantEXT = NULL;
1994PFNGLSHADEROP1EXTPROC __glewShaderOp1EXT = NULL;
1995PFNGLSHADEROP2EXTPROC __glewShaderOp2EXT = NULL;
1996PFNGLSHADEROP3EXTPROC __glewShaderOp3EXT = NULL;
1997PFNGLSWIZZLEEXTPROC __glewSwizzleEXT = NULL;
1998PFNGLVARIANTPOINTEREXTPROC __glewVariantPointerEXT = NULL;
1999PFNGLVARIANTBVEXTPROC __glewVariantbvEXT = NULL;
2000PFNGLVARIANTDVEXTPROC __glewVariantdvEXT = NULL;
2001PFNGLVARIANTFVEXTPROC __glewVariantfvEXT = NULL;
2002PFNGLVARIANTIVEXTPROC __glewVariantivEXT = NULL;
2003PFNGLVARIANTSVEXTPROC __glewVariantsvEXT = NULL;
2004PFNGLVARIANTUBVEXTPROC __glewVariantubvEXT = NULL;
2005PFNGLVARIANTUIVEXTPROC __glewVariantuivEXT = NULL;
2006PFNGLVARIANTUSVEXTPROC __glewVariantusvEXT = NULL;
2007PFNGLWRITEMASKEXTPROC __glewWriteMaskEXT = NULL;
2008
2009PFNGLVERTEXWEIGHTPOINTEREXTPROC __glewVertexWeightPointerEXT = NULL;
2010PFNGLVERTEXWEIGHTFEXTPROC __glewVertexWeightfEXT = NULL;
2011PFNGLVERTEXWEIGHTFVEXTPROC __glewVertexWeightfvEXT = NULL;
2012
2013PFNGLIMPORTSYNCEXTPROC __glewImportSyncEXT = NULL;
2014
2015PFNGLFRAMETERMINATORGREMEDYPROC __glewFrameTerminatorGREMEDY = NULL;
2016
2017PFNGLSTRINGMARKERGREMEDYPROC __glewStringMarkerGREMEDY = NULL;
2018
2019PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC __glewGetImageTransformParameterfvHP = NULL;
2020PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC __glewGetImageTransformParameterivHP = NULL;
2021PFNGLIMAGETRANSFORMPARAMETERFHPPROC __glewImageTransformParameterfHP = NULL;
2022PFNGLIMAGETRANSFORMPARAMETERFVHPPROC __glewImageTransformParameterfvHP = NULL;
2023PFNGLIMAGETRANSFORMPARAMETERIHPPROC __glewImageTransformParameteriHP = NULL;
2024PFNGLIMAGETRANSFORMPARAMETERIVHPPROC __glewImageTransformParameterivHP = NULL;
2025
2026PFNGLMULTIMODEDRAWARRAYSIBMPROC __glewMultiModeDrawArraysIBM = NULL;
2027PFNGLMULTIMODEDRAWELEMENTSIBMPROC __glewMultiModeDrawElementsIBM = NULL;
2028
2029PFNGLCOLORPOINTERLISTIBMPROC __glewColorPointerListIBM = NULL;
2030PFNGLEDGEFLAGPOINTERLISTIBMPROC __glewEdgeFlagPointerListIBM = NULL;
2031PFNGLFOGCOORDPOINTERLISTIBMPROC __glewFogCoordPointerListIBM = NULL;
2032PFNGLINDEXPOINTERLISTIBMPROC __glewIndexPointerListIBM = NULL;
2033PFNGLNORMALPOINTERLISTIBMPROC __glewNormalPointerListIBM = NULL;
2034PFNGLSECONDARYCOLORPOINTERLISTIBMPROC __glewSecondaryColorPointerListIBM = NULL;
2035PFNGLTEXCOORDPOINTERLISTIBMPROC __glewTexCoordPointerListIBM = NULL;
2036PFNGLVERTEXPOINTERLISTIBMPROC __glewVertexPointerListIBM = NULL;
2037
2038PFNGLMAPTEXTURE2DINTELPROC __glewMapTexture2DINTEL = NULL;
2039PFNGLSYNCTEXTUREINTELPROC __glewSyncTextureINTEL = NULL;
2040PFNGLUNMAPTEXTURE2DINTELPROC __glewUnmapTexture2DINTEL = NULL;
2041
2042PFNGLCOLORPOINTERVINTELPROC __glewColorPointervINTEL = NULL;
2043PFNGLNORMALPOINTERVINTELPROC __glewNormalPointervINTEL = NULL;
2044PFNGLTEXCOORDPOINTERVINTELPROC __glewTexCoordPointervINTEL = NULL;
2045PFNGLVERTEXPOINTERVINTELPROC __glewVertexPointervINTEL = NULL;
2046
2047PFNGLTEXSCISSORFUNCINTELPROC __glewTexScissorFuncINTEL = NULL;
2048PFNGLTEXSCISSORINTELPROC __glewTexScissorINTEL = NULL;
2049
2050PFNGLDEBUGMESSAGECALLBACKPROC __glewDebugMessageCallback = NULL;
2051PFNGLDEBUGMESSAGECONTROLPROC __glewDebugMessageControl = NULL;
2052PFNGLDEBUGMESSAGEINSERTPROC __glewDebugMessageInsert = NULL;
2053PFNGLGETDEBUGMESSAGELOGPROC __glewGetDebugMessageLog = NULL;
2054PFNGLGETOBJECTLABELPROC __glewGetObjectLabel = NULL;
2055PFNGLGETOBJECTPTRLABELPROC __glewGetObjectPtrLabel = NULL;
2056PFNGLOBJECTLABELPROC __glewObjectLabel = NULL;
2057PFNGLOBJECTPTRLABELPROC __glewObjectPtrLabel = NULL;
2058PFNGLPOPDEBUGGROUPPROC __glewPopDebugGroup = NULL;
2059PFNGLPUSHDEBUGGROUPPROC __glewPushDebugGroup = NULL;
2060
2061PFNGLBUFFERREGIONENABLEDPROC __glewBufferRegionEnabled = NULL;
2062PFNGLDELETEBUFFERREGIONPROC __glewDeleteBufferRegion = NULL;
2063PFNGLDRAWBUFFERREGIONPROC __glewDrawBufferRegion = NULL;
2064PFNGLNEWBUFFERREGIONPROC __glewNewBufferRegion = NULL;
2065PFNGLREADBUFFERREGIONPROC __glewReadBufferRegion = NULL;
2066
2067PFNGLRESIZEBUFFERSMESAPROC __glewResizeBuffersMESA = NULL;
2068
2069PFNGLWINDOWPOS2DMESAPROC __glewWindowPos2dMESA = NULL;
2070PFNGLWINDOWPOS2DVMESAPROC __glewWindowPos2dvMESA = NULL;
2071PFNGLWINDOWPOS2FMESAPROC __glewWindowPos2fMESA = NULL;
2072PFNGLWINDOWPOS2FVMESAPROC __glewWindowPos2fvMESA = NULL;
2073PFNGLWINDOWPOS2IMESAPROC __glewWindowPos2iMESA = NULL;
2074PFNGLWINDOWPOS2IVMESAPROC __glewWindowPos2ivMESA = NULL;
2075PFNGLWINDOWPOS2SMESAPROC __glewWindowPos2sMESA = NULL;
2076PFNGLWINDOWPOS2SVMESAPROC __glewWindowPos2svMESA = NULL;
2077PFNGLWINDOWPOS3DMESAPROC __glewWindowPos3dMESA = NULL;
2078PFNGLWINDOWPOS3DVMESAPROC __glewWindowPos3dvMESA = NULL;
2079PFNGLWINDOWPOS3FMESAPROC __glewWindowPos3fMESA = NULL;
2080PFNGLWINDOWPOS3FVMESAPROC __glewWindowPos3fvMESA = NULL;
2081PFNGLWINDOWPOS3IMESAPROC __glewWindowPos3iMESA = NULL;
2082PFNGLWINDOWPOS3IVMESAPROC __glewWindowPos3ivMESA = NULL;
2083PFNGLWINDOWPOS3SMESAPROC __glewWindowPos3sMESA = NULL;
2084PFNGLWINDOWPOS3SVMESAPROC __glewWindowPos3svMESA = NULL;
2085PFNGLWINDOWPOS4DMESAPROC __glewWindowPos4dMESA = NULL;
2086PFNGLWINDOWPOS4DVMESAPROC __glewWindowPos4dvMESA = NULL;
2087PFNGLWINDOWPOS4FMESAPROC __glewWindowPos4fMESA = NULL;
2088PFNGLWINDOWPOS4FVMESAPROC __glewWindowPos4fvMESA = NULL;
2089PFNGLWINDOWPOS4IMESAPROC __glewWindowPos4iMESA = NULL;
2090PFNGLWINDOWPOS4IVMESAPROC __glewWindowPos4ivMESA = NULL;
2091PFNGLWINDOWPOS4SMESAPROC __glewWindowPos4sMESA = NULL;
2092PFNGLWINDOWPOS4SVMESAPROC __glewWindowPos4svMESA = NULL;
2093
2094PFNGLBEGINCONDITIONALRENDERNVXPROC __glewBeginConditionalRenderNVX = NULL;
2095PFNGLENDCONDITIONALRENDERNVXPROC __glewEndConditionalRenderNVX = NULL;
2096
2097PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC __glewMultiDrawArraysIndirectBindlessNV = NULL;
2098PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC __glewMultiDrawElementsIndirectBindlessNV = NULL;
2099
2100PFNGLGETIMAGEHANDLENVPROC __glewGetImageHandleNV = NULL;
2101PFNGLGETTEXTUREHANDLENVPROC __glewGetTextureHandleNV = NULL;
2102PFNGLGETTEXTURESAMPLERHANDLENVPROC __glewGetTextureSamplerHandleNV = NULL;
2103PFNGLISIMAGEHANDLERESIDENTNVPROC __glewIsImageHandleResidentNV = NULL;
2104PFNGLISTEXTUREHANDLERESIDENTNVPROC __glewIsTextureHandleResidentNV = NULL;
2105PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC __glewMakeImageHandleNonResidentNV = NULL;
2106PFNGLMAKEIMAGEHANDLERESIDENTNVPROC __glewMakeImageHandleResidentNV = NULL;
2107PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC __glewMakeTextureHandleNonResidentNV = NULL;
2108PFNGLMAKETEXTUREHANDLERESIDENTNVPROC __glewMakeTextureHandleResidentNV = NULL;
2109PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC __glewProgramUniformHandleui64NV = NULL;
2110PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC __glewProgramUniformHandleui64vNV = NULL;
2111PFNGLUNIFORMHANDLEUI64NVPROC __glewUniformHandleui64NV = NULL;
2112PFNGLUNIFORMHANDLEUI64VNVPROC __glewUniformHandleui64vNV = NULL;
2113
2114PFNGLBLENDBARRIERNVPROC __glewBlendBarrierNV = NULL;
2115PFNGLBLENDPARAMETERINVPROC __glewBlendParameteriNV = NULL;
2116
2117PFNGLBEGINCONDITIONALRENDERNVPROC __glewBeginConditionalRenderNV = NULL;
2118PFNGLENDCONDITIONALRENDERNVPROC __glewEndConditionalRenderNV = NULL;
2119
2120PFNGLCOPYIMAGESUBDATANVPROC __glewCopyImageSubDataNV = NULL;
2121
2122PFNGLCLEARDEPTHDNVPROC __glewClearDepthdNV = NULL;
2123PFNGLDEPTHBOUNDSDNVPROC __glewDepthBoundsdNV = NULL;
2124PFNGLDEPTHRANGEDNVPROC __glewDepthRangedNV = NULL;
2125
2126PFNGLDRAWTEXTURENVPROC __glewDrawTextureNV = NULL;
2127
2128PFNGLEVALMAPSNVPROC __glewEvalMapsNV = NULL;
2129PFNGLGETMAPATTRIBPARAMETERFVNVPROC __glewGetMapAttribParameterfvNV = NULL;
2130PFNGLGETMAPATTRIBPARAMETERIVNVPROC __glewGetMapAttribParameterivNV = NULL;
2131PFNGLGETMAPCONTROLPOINTSNVPROC __glewGetMapControlPointsNV = NULL;
2132PFNGLGETMAPPARAMETERFVNVPROC __glewGetMapParameterfvNV = NULL;
2133PFNGLGETMAPPARAMETERIVNVPROC __glewGetMapParameterivNV = NULL;
2134PFNGLMAPCONTROLPOINTSNVPROC __glewMapControlPointsNV = NULL;
2135PFNGLMAPPARAMETERFVNVPROC __glewMapParameterfvNV = NULL;
2136PFNGLMAPPARAMETERIVNVPROC __glewMapParameterivNV = NULL;
2137
2138PFNGLGETMULTISAMPLEFVNVPROC __glewGetMultisamplefvNV = NULL;
2139PFNGLSAMPLEMASKINDEXEDNVPROC __glewSampleMaskIndexedNV = NULL;
2140PFNGLTEXRENDERBUFFERNVPROC __glewTexRenderbufferNV = NULL;
2141
2142PFNGLDELETEFENCESNVPROC __glewDeleteFencesNV = NULL;
2143PFNGLFINISHFENCENVPROC __glewFinishFenceNV = NULL;
2144PFNGLGENFENCESNVPROC __glewGenFencesNV = NULL;
2145PFNGLGETFENCEIVNVPROC __glewGetFenceivNV = NULL;
2146PFNGLISFENCENVPROC __glewIsFenceNV = NULL;
2147PFNGLSETFENCENVPROC __glewSetFenceNV = NULL;
2148PFNGLTESTFENCENVPROC __glewTestFenceNV = NULL;
2149
2150PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC __glewGetProgramNamedParameterdvNV = NULL;
2151PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC __glewGetProgramNamedParameterfvNV = NULL;
2152PFNGLPROGRAMNAMEDPARAMETER4DNVPROC __glewProgramNamedParameter4dNV = NULL;
2153PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC __glewProgramNamedParameter4dvNV = NULL;
2154PFNGLPROGRAMNAMEDPARAMETER4FNVPROC __glewProgramNamedParameter4fNV = NULL;
2155PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC __glewProgramNamedParameter4fvNV = NULL;
2156
2157PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC __glewRenderbufferStorageMultisampleCoverageNV = NULL;
2158
2159PFNGLPROGRAMVERTEXLIMITNVPROC __glewProgramVertexLimitNV = NULL;
2160
2161PFNGLPROGRAMENVPARAMETERI4INVPROC __glewProgramEnvParameterI4iNV = NULL;
2162PFNGLPROGRAMENVPARAMETERI4IVNVPROC __glewProgramEnvParameterI4ivNV = NULL;
2163PFNGLPROGRAMENVPARAMETERI4UINVPROC __glewProgramEnvParameterI4uiNV = NULL;
2164PFNGLPROGRAMENVPARAMETERI4UIVNVPROC __glewProgramEnvParameterI4uivNV = NULL;
2165PFNGLPROGRAMENVPARAMETERSI4IVNVPROC __glewProgramEnvParametersI4ivNV = NULL;
2166PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC __glewProgramEnvParametersI4uivNV = NULL;
2167PFNGLPROGRAMLOCALPARAMETERI4INVPROC __glewProgramLocalParameterI4iNV = NULL;
2168PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC __glewProgramLocalParameterI4ivNV = NULL;
2169PFNGLPROGRAMLOCALPARAMETERI4UINVPROC __glewProgramLocalParameterI4uiNV = NULL;
2170PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC __glewProgramLocalParameterI4uivNV = NULL;
2171PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC __glewProgramLocalParametersI4ivNV = NULL;
2172PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC __glewProgramLocalParametersI4uivNV = NULL;
2173
2174PFNGLGETUNIFORMI64VNVPROC __glewGetUniformi64vNV = NULL;
2175PFNGLGETUNIFORMUI64VNVPROC __glewGetUniformui64vNV = NULL;
2176PFNGLPROGRAMUNIFORM1I64NVPROC __glewProgramUniform1i64NV = NULL;
2177PFNGLPROGRAMUNIFORM1I64VNVPROC __glewProgramUniform1i64vNV = NULL;
2178PFNGLPROGRAMUNIFORM1UI64NVPROC __glewProgramUniform1ui64NV = NULL;
2179PFNGLPROGRAMUNIFORM1UI64VNVPROC __glewProgramUniform1ui64vNV = NULL;
2180PFNGLPROGRAMUNIFORM2I64NVPROC __glewProgramUniform2i64NV = NULL;
2181PFNGLPROGRAMUNIFORM2I64VNVPROC __glewProgramUniform2i64vNV = NULL;
2182PFNGLPROGRAMUNIFORM2UI64NVPROC __glewProgramUniform2ui64NV = NULL;
2183PFNGLPROGRAMUNIFORM2UI64VNVPROC __glewProgramUniform2ui64vNV = NULL;
2184PFNGLPROGRAMUNIFORM3I64NVPROC __glewProgramUniform3i64NV = NULL;
2185PFNGLPROGRAMUNIFORM3I64VNVPROC __glewProgramUniform3i64vNV = NULL;
2186PFNGLPROGRAMUNIFORM3UI64NVPROC __glewProgramUniform3ui64NV = NULL;
2187PFNGLPROGRAMUNIFORM3UI64VNVPROC __glewProgramUniform3ui64vNV = NULL;
2188PFNGLPROGRAMUNIFORM4I64NVPROC __glewProgramUniform4i64NV = NULL;
2189PFNGLPROGRAMUNIFORM4I64VNVPROC __glewProgramUniform4i64vNV = NULL;
2190PFNGLPROGRAMUNIFORM4UI64NVPROC __glewProgramUniform4ui64NV = NULL;
2191PFNGLPROGRAMUNIFORM4UI64VNVPROC __glewProgramUniform4ui64vNV = NULL;
2192PFNGLUNIFORM1I64NVPROC __glewUniform1i64NV = NULL;
2193PFNGLUNIFORM1I64VNVPROC __glewUniform1i64vNV = NULL;
2194PFNGLUNIFORM1UI64NVPROC __glewUniform1ui64NV = NULL;
2195PFNGLUNIFORM1UI64VNVPROC __glewUniform1ui64vNV = NULL;
2196PFNGLUNIFORM2I64NVPROC __glewUniform2i64NV = NULL;
2197PFNGLUNIFORM2I64VNVPROC __glewUniform2i64vNV = NULL;
2198PFNGLUNIFORM2UI64NVPROC __glewUniform2ui64NV = NULL;
2199PFNGLUNIFORM2UI64VNVPROC __glewUniform2ui64vNV = NULL;
2200PFNGLUNIFORM3I64NVPROC __glewUniform3i64NV = NULL;
2201PFNGLUNIFORM3I64VNVPROC __glewUniform3i64vNV = NULL;
2202PFNGLUNIFORM3UI64NVPROC __glewUniform3ui64NV = NULL;
2203PFNGLUNIFORM3UI64VNVPROC __glewUniform3ui64vNV = NULL;
2204PFNGLUNIFORM4I64NVPROC __glewUniform4i64NV = NULL;
2205PFNGLUNIFORM4I64VNVPROC __glewUniform4i64vNV = NULL;
2206PFNGLUNIFORM4UI64NVPROC __glewUniform4ui64NV = NULL;
2207PFNGLUNIFORM4UI64VNVPROC __glewUniform4ui64vNV = NULL;
2208
2209PFNGLCOLOR3HNVPROC __glewColor3hNV = NULL;
2210PFNGLCOLOR3HVNVPROC __glewColor3hvNV = NULL;
2211PFNGLCOLOR4HNVPROC __glewColor4hNV = NULL;
2212PFNGLCOLOR4HVNVPROC __glewColor4hvNV = NULL;
2213PFNGLFOGCOORDHNVPROC __glewFogCoordhNV = NULL;
2214PFNGLFOGCOORDHVNVPROC __glewFogCoordhvNV = NULL;
2215PFNGLMULTITEXCOORD1HNVPROC __glewMultiTexCoord1hNV = NULL;
2216PFNGLMULTITEXCOORD1HVNVPROC __glewMultiTexCoord1hvNV = NULL;
2217PFNGLMULTITEXCOORD2HNVPROC __glewMultiTexCoord2hNV = NULL;
2218PFNGLMULTITEXCOORD2HVNVPROC __glewMultiTexCoord2hvNV = NULL;
2219PFNGLMULTITEXCOORD3HNVPROC __glewMultiTexCoord3hNV = NULL;
2220PFNGLMULTITEXCOORD3HVNVPROC __glewMultiTexCoord3hvNV = NULL;
2221PFNGLMULTITEXCOORD4HNVPROC __glewMultiTexCoord4hNV = NULL;
2222PFNGLMULTITEXCOORD4HVNVPROC __glewMultiTexCoord4hvNV = NULL;
2223PFNGLNORMAL3HNVPROC __glewNormal3hNV = NULL;
2224PFNGLNORMAL3HVNVPROC __glewNormal3hvNV = NULL;
2225PFNGLSECONDARYCOLOR3HNVPROC __glewSecondaryColor3hNV = NULL;
2226PFNGLSECONDARYCOLOR3HVNVPROC __glewSecondaryColor3hvNV = NULL;
2227PFNGLTEXCOORD1HNVPROC __glewTexCoord1hNV = NULL;
2228PFNGLTEXCOORD1HVNVPROC __glewTexCoord1hvNV = NULL;
2229PFNGLTEXCOORD2HNVPROC __glewTexCoord2hNV = NULL;
2230PFNGLTEXCOORD2HVNVPROC __glewTexCoord2hvNV = NULL;
2231PFNGLTEXCOORD3HNVPROC __glewTexCoord3hNV = NULL;
2232PFNGLTEXCOORD3HVNVPROC __glewTexCoord3hvNV = NULL;
2233PFNGLTEXCOORD4HNVPROC __glewTexCoord4hNV = NULL;
2234PFNGLTEXCOORD4HVNVPROC __glewTexCoord4hvNV = NULL;
2235PFNGLVERTEX2HNVPROC __glewVertex2hNV = NULL;
2236PFNGLVERTEX2HVNVPROC __glewVertex2hvNV = NULL;
2237PFNGLVERTEX3HNVPROC __glewVertex3hNV = NULL;
2238PFNGLVERTEX3HVNVPROC __glewVertex3hvNV = NULL;
2239PFNGLVERTEX4HNVPROC __glewVertex4hNV = NULL;
2240PFNGLVERTEX4HVNVPROC __glewVertex4hvNV = NULL;
2241PFNGLVERTEXATTRIB1HNVPROC __glewVertexAttrib1hNV = NULL;
2242PFNGLVERTEXATTRIB1HVNVPROC __glewVertexAttrib1hvNV = NULL;
2243PFNGLVERTEXATTRIB2HNVPROC __glewVertexAttrib2hNV = NULL;
2244PFNGLVERTEXATTRIB2HVNVPROC __glewVertexAttrib2hvNV = NULL;
2245PFNGLVERTEXATTRIB3HNVPROC __glewVertexAttrib3hNV = NULL;
2246PFNGLVERTEXATTRIB3HVNVPROC __glewVertexAttrib3hvNV = NULL;
2247PFNGLVERTEXATTRIB4HNVPROC __glewVertexAttrib4hNV = NULL;
2248PFNGLVERTEXATTRIB4HVNVPROC __glewVertexAttrib4hvNV = NULL;
2249PFNGLVERTEXATTRIBS1HVNVPROC __glewVertexAttribs1hvNV = NULL;
2250PFNGLVERTEXATTRIBS2HVNVPROC __glewVertexAttribs2hvNV = NULL;
2251PFNGLVERTEXATTRIBS3HVNVPROC __glewVertexAttribs3hvNV = NULL;
2252PFNGLVERTEXATTRIBS4HVNVPROC __glewVertexAttribs4hvNV = NULL;
2253PFNGLVERTEXWEIGHTHNVPROC __glewVertexWeighthNV = NULL;
2254PFNGLVERTEXWEIGHTHVNVPROC __glewVertexWeighthvNV = NULL;
2255
2256PFNGLBEGINOCCLUSIONQUERYNVPROC __glewBeginOcclusionQueryNV = NULL;
2257PFNGLDELETEOCCLUSIONQUERIESNVPROC __glewDeleteOcclusionQueriesNV = NULL;
2258PFNGLENDOCCLUSIONQUERYNVPROC __glewEndOcclusionQueryNV = NULL;
2259PFNGLGENOCCLUSIONQUERIESNVPROC __glewGenOcclusionQueriesNV = NULL;
2260PFNGLGETOCCLUSIONQUERYIVNVPROC __glewGetOcclusionQueryivNV = NULL;
2261PFNGLGETOCCLUSIONQUERYUIVNVPROC __glewGetOcclusionQueryuivNV = NULL;
2262PFNGLISOCCLUSIONQUERYNVPROC __glewIsOcclusionQueryNV = NULL;
2263
2264PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC __glewProgramBufferParametersIivNV = NULL;
2265PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC __glewProgramBufferParametersIuivNV = NULL;
2266PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC __glewProgramBufferParametersfvNV = NULL;
2267
2268PFNGLCOPYPATHNVPROC __glewCopyPathNV = NULL;
2269PFNGLCOVERFILLPATHINSTANCEDNVPROC __glewCoverFillPathInstancedNV = NULL;
2270PFNGLCOVERFILLPATHNVPROC __glewCoverFillPathNV = NULL;
2271PFNGLCOVERSTROKEPATHINSTANCEDNVPROC __glewCoverStrokePathInstancedNV = NULL;
2272PFNGLCOVERSTROKEPATHNVPROC __glewCoverStrokePathNV = NULL;
2273PFNGLDELETEPATHSNVPROC __glewDeletePathsNV = NULL;
2274PFNGLGENPATHSNVPROC __glewGenPathsNV = NULL;
2275PFNGLGETPATHCOLORGENFVNVPROC __glewGetPathColorGenfvNV = NULL;
2276PFNGLGETPATHCOLORGENIVNVPROC __glewGetPathColorGenivNV = NULL;
2277PFNGLGETPATHCOMMANDSNVPROC __glewGetPathCommandsNV = NULL;
2278PFNGLGETPATHCOORDSNVPROC __glewGetPathCoordsNV = NULL;
2279PFNGLGETPATHDASHARRAYNVPROC __glewGetPathDashArrayNV = NULL;
2280PFNGLGETPATHLENGTHNVPROC __glewGetPathLengthNV = NULL;
2281PFNGLGETPATHMETRICRANGENVPROC __glewGetPathMetricRangeNV = NULL;
2282PFNGLGETPATHMETRICSNVPROC __glewGetPathMetricsNV = NULL;
2283PFNGLGETPATHPARAMETERFVNVPROC __glewGetPathParameterfvNV = NULL;
2284PFNGLGETPATHPARAMETERIVNVPROC __glewGetPathParameterivNV = NULL;
2285PFNGLGETPATHSPACINGNVPROC __glewGetPathSpacingNV = NULL;
2286PFNGLGETPATHTEXGENFVNVPROC __glewGetPathTexGenfvNV = NULL;
2287PFNGLGETPATHTEXGENIVNVPROC __glewGetPathTexGenivNV = NULL;
2288PFNGLINTERPOLATEPATHSNVPROC __glewInterpolatePathsNV = NULL;
2289PFNGLISPATHNVPROC __glewIsPathNV = NULL;
2290PFNGLISPOINTINFILLPATHNVPROC __glewIsPointInFillPathNV = NULL;
2291PFNGLISPOINTINSTROKEPATHNVPROC __glewIsPointInStrokePathNV = NULL;
2292PFNGLPATHCOLORGENNVPROC __glewPathColorGenNV = NULL;
2293PFNGLPATHCOMMANDSNVPROC __glewPathCommandsNV = NULL;
2294PFNGLPATHCOORDSNVPROC __glewPathCoordsNV = NULL;
2295PFNGLPATHCOVERDEPTHFUNCNVPROC __glewPathCoverDepthFuncNV = NULL;
2296PFNGLPATHDASHARRAYNVPROC __glewPathDashArrayNV = NULL;
2297PFNGLPATHFOGGENNVPROC __glewPathFogGenNV = NULL;
2298PFNGLPATHGLYPHRANGENVPROC __glewPathGlyphRangeNV = NULL;
2299PFNGLPATHGLYPHSNVPROC __glewPathGlyphsNV = NULL;
2300PFNGLPATHPARAMETERFNVPROC __glewPathParameterfNV = NULL;
2301PFNGLPATHPARAMETERFVNVPROC __glewPathParameterfvNV = NULL;
2302PFNGLPATHPARAMETERINVPROC __glewPathParameteriNV = NULL;
2303PFNGLPATHPARAMETERIVNVPROC __glewPathParameterivNV = NULL;
2304PFNGLPATHSTENCILDEPTHOFFSETNVPROC __glewPathStencilDepthOffsetNV = NULL;
2305PFNGLPATHSTENCILFUNCNVPROC __glewPathStencilFuncNV = NULL;
2306PFNGLPATHSTRINGNVPROC __glewPathStringNV = NULL;
2307PFNGLPATHSUBCOMMANDSNVPROC __glewPathSubCommandsNV = NULL;
2308PFNGLPATHSUBCOORDSNVPROC __glewPathSubCoordsNV = NULL;
2309PFNGLPATHTEXGENNVPROC __glewPathTexGenNV = NULL;
2310PFNGLPOINTALONGPATHNVPROC __glewPointAlongPathNV = NULL;
2311PFNGLSTENCILFILLPATHINSTANCEDNVPROC __glewStencilFillPathInstancedNV = NULL;
2312PFNGLSTENCILFILLPATHNVPROC __glewStencilFillPathNV = NULL;
2313PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC __glewStencilStrokePathInstancedNV = NULL;
2314PFNGLSTENCILSTROKEPATHNVPROC __glewStencilStrokePathNV = NULL;
2315PFNGLTRANSFORMPATHNVPROC __glewTransformPathNV = NULL;
2316PFNGLWEIGHTPATHSNVPROC __glewWeightPathsNV = NULL;
2317
2318PFNGLFLUSHPIXELDATARANGENVPROC __glewFlushPixelDataRangeNV = NULL;
2319PFNGLPIXELDATARANGENVPROC __glewPixelDataRangeNV = NULL;
2320
2321PFNGLPOINTPARAMETERINVPROC __glewPointParameteriNV = NULL;
2322PFNGLPOINTPARAMETERIVNVPROC __glewPointParameterivNV = NULL;
2323
2324PFNGLGETVIDEOI64VNVPROC __glewGetVideoi64vNV = NULL;
2325PFNGLGETVIDEOIVNVPROC __glewGetVideoivNV = NULL;
2326PFNGLGETVIDEOUI64VNVPROC __glewGetVideoui64vNV = NULL;
2327PFNGLGETVIDEOUIVNVPROC __glewGetVideouivNV = NULL;
2328PFNGLPRESENTFRAMEDUALFILLNVPROC __glewPresentFrameDualFillNV = NULL;
2329PFNGLPRESENTFRAMEKEYEDNVPROC __glewPresentFrameKeyedNV = NULL;
2330
2331PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV = NULL;
2332PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV = NULL;
2333
2334PFNGLCOMBINERINPUTNVPROC __glewCombinerInputNV = NULL;
2335PFNGLCOMBINEROUTPUTNVPROC __glewCombinerOutputNV = NULL;
2336PFNGLCOMBINERPARAMETERFNVPROC __glewCombinerParameterfNV = NULL;
2337PFNGLCOMBINERPARAMETERFVNVPROC __glewCombinerParameterfvNV = NULL;
2338PFNGLCOMBINERPARAMETERINVPROC __glewCombinerParameteriNV = NULL;
2339PFNGLCOMBINERPARAMETERIVNVPROC __glewCombinerParameterivNV = NULL;
2340PFNGLFINALCOMBINERINPUTNVPROC __glewFinalCombinerInputNV = NULL;
2341PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC __glewGetCombinerInputParameterfvNV = NULL;
2342PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC __glewGetCombinerInputParameterivNV = NULL;
2343PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC __glewGetCombinerOutputParameterfvNV = NULL;
2344PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC __glewGetCombinerOutputParameterivNV = NULL;
2345PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC __glewGetFinalCombinerInputParameterfvNV = NULL;
2346PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC __glewGetFinalCombinerInputParameterivNV = NULL;
2347
2348PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV = NULL;
2349PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV = NULL;
2350
2351PFNGLGETBUFFERPARAMETERUI64VNVPROC __glewGetBufferParameterui64vNV = NULL;
2352PFNGLGETINTEGERUI64VNVPROC __glewGetIntegerui64vNV = NULL;
2353PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC __glewGetNamedBufferParameterui64vNV = NULL;
2354PFNGLISBUFFERRESIDENTNVPROC __glewIsBufferResidentNV = NULL;
2355PFNGLISNAMEDBUFFERRESIDENTNVPROC __glewIsNamedBufferResidentNV = NULL;
2356PFNGLMAKEBUFFERNONRESIDENTNVPROC __glewMakeBufferNonResidentNV = NULL;
2357PFNGLMAKEBUFFERRESIDENTNVPROC __glewMakeBufferResidentNV = NULL;
2358PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC __glewMakeNamedBufferNonResidentNV = NULL;
2359PFNGLMAKENAMEDBUFFERRESIDENTNVPROC __glewMakeNamedBufferResidentNV = NULL;
2360PFNGLPROGRAMUNIFORMUI64NVPROC __glewProgramUniformui64NV = NULL;
2361PFNGLPROGRAMUNIFORMUI64VNVPROC __glewProgramUniformui64vNV = NULL;
2362PFNGLUNIFORMUI64NVPROC __glewUniformui64NV = NULL;
2363PFNGLUNIFORMUI64VNVPROC __glewUniformui64vNV = NULL;
2364
2365PFNGLTEXTUREBARRIERNVPROC __glewTextureBarrierNV = NULL;
2366
2367PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTexImage2DMultisampleCoverageNV = NULL;
2368PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTexImage3DMultisampleCoverageNV = NULL;
2369PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTextureImage2DMultisampleCoverageNV = NULL;
2370PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC __glewTextureImage2DMultisampleNV = NULL;
2371PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTextureImage3DMultisampleCoverageNV = NULL;
2372PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC __glewTextureImage3DMultisampleNV = NULL;
2373
2374PFNGLACTIVEVARYINGNVPROC __glewActiveVaryingNV = NULL;
2375PFNGLBEGINTRANSFORMFEEDBACKNVPROC __glewBeginTransformFeedbackNV = NULL;
2376PFNGLBINDBUFFERBASENVPROC __glewBindBufferBaseNV = NULL;
2377PFNGLBINDBUFFEROFFSETNVPROC __glewBindBufferOffsetNV = NULL;
2378PFNGLBINDBUFFERRANGENVPROC __glewBindBufferRangeNV = NULL;
2379PFNGLENDTRANSFORMFEEDBACKNVPROC __glewEndTransformFeedbackNV = NULL;
2380PFNGLGETACTIVEVARYINGNVPROC __glewGetActiveVaryingNV = NULL;
2381PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC __glewGetTransformFeedbackVaryingNV = NULL;
2382PFNGLGETVARYINGLOCATIONNVPROC __glewGetVaryingLocationNV = NULL;
2383PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC __glewTransformFeedbackAttribsNV = NULL;
2384PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC __glewTransformFeedbackVaryingsNV = NULL;
2385
2386PFNGLBINDTRANSFORMFEEDBACKNVPROC __glewBindTransformFeedbackNV = NULL;
2387PFNGLDELETETRANSFORMFEEDBACKSNVPROC __glewDeleteTransformFeedbacksNV = NULL;
2388PFNGLDRAWTRANSFORMFEEDBACKNVPROC __glewDrawTransformFeedbackNV = NULL;
2389PFNGLGENTRANSFORMFEEDBACKSNVPROC __glewGenTransformFeedbacksNV = NULL;
2390PFNGLISTRANSFORMFEEDBACKNVPROC __glewIsTransformFeedbackNV = NULL;
2391PFNGLPAUSETRANSFORMFEEDBACKNVPROC __glewPauseTransformFeedbackNV = NULL;
2392PFNGLRESUMETRANSFORMFEEDBACKNVPROC __glewResumeTransformFeedbackNV = NULL;
2393
2394PFNGLVDPAUFININVPROC __glewVDPAUFiniNV = NULL;
2395PFNGLVDPAUGETSURFACEIVNVPROC __glewVDPAUGetSurfaceivNV = NULL;
2396PFNGLVDPAUINITNVPROC __glewVDPAUInitNV = NULL;
2397PFNGLVDPAUISSURFACENVPROC __glewVDPAUIsSurfaceNV = NULL;
2398PFNGLVDPAUMAPSURFACESNVPROC __glewVDPAUMapSurfacesNV = NULL;
2399PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC __glewVDPAURegisterOutputSurfaceNV = NULL;
2400PFNGLVDPAUREGISTERVIDEOSURFACENVPROC __glewVDPAURegisterVideoSurfaceNV = NULL;
2401PFNGLVDPAUSURFACEACCESSNVPROC __glewVDPAUSurfaceAccessNV = NULL;
2402PFNGLVDPAUUNMAPSURFACESNVPROC __glewVDPAUUnmapSurfacesNV = NULL;
2403PFNGLVDPAUUNREGISTERSURFACENVPROC __glewVDPAUUnregisterSurfaceNV = NULL;
2404
2405PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL;
2406PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL;
2407
2408PFNGLGETVERTEXATTRIBLI64VNVPROC __glewGetVertexAttribLi64vNV = NULL;
2409PFNGLGETVERTEXATTRIBLUI64VNVPROC __glewGetVertexAttribLui64vNV = NULL;
2410PFNGLVERTEXATTRIBL1I64NVPROC __glewVertexAttribL1i64NV = NULL;
2411PFNGLVERTEXATTRIBL1I64VNVPROC __glewVertexAttribL1i64vNV = NULL;
2412PFNGLVERTEXATTRIBL1UI64NVPROC __glewVertexAttribL1ui64NV = NULL;
2413PFNGLVERTEXATTRIBL1UI64VNVPROC __glewVertexAttribL1ui64vNV = NULL;
2414PFNGLVERTEXATTRIBL2I64NVPROC __glewVertexAttribL2i64NV = NULL;
2415PFNGLVERTEXATTRIBL2I64VNVPROC __glewVertexAttribL2i64vNV = NULL;
2416PFNGLVERTEXATTRIBL2UI64NVPROC __glewVertexAttribL2ui64NV = NULL;
2417PFNGLVERTEXATTRIBL2UI64VNVPROC __glewVertexAttribL2ui64vNV = NULL;
2418PFNGLVERTEXATTRIBL3I64NVPROC __glewVertexAttribL3i64NV = NULL;
2419PFNGLVERTEXATTRIBL3I64VNVPROC __glewVertexAttribL3i64vNV = NULL;
2420PFNGLVERTEXATTRIBL3UI64NVPROC __glewVertexAttribL3ui64NV = NULL;
2421PFNGLVERTEXATTRIBL3UI64VNVPROC __glewVertexAttribL3ui64vNV = NULL;
2422PFNGLVERTEXATTRIBL4I64NVPROC __glewVertexAttribL4i64NV = NULL;
2423PFNGLVERTEXATTRIBL4I64VNVPROC __glewVertexAttribL4i64vNV = NULL;
2424PFNGLVERTEXATTRIBL4UI64NVPROC __glewVertexAttribL4ui64NV = NULL;
2425PFNGLVERTEXATTRIBL4UI64VNVPROC __glewVertexAttribL4ui64vNV = NULL;
2426PFNGLVERTEXATTRIBLFORMATNVPROC __glewVertexAttribLFormatNV = NULL;
2427
2428PFNGLBUFFERADDRESSRANGENVPROC __glewBufferAddressRangeNV = NULL;
2429PFNGLCOLORFORMATNVPROC __glewColorFormatNV = NULL;
2430PFNGLEDGEFLAGFORMATNVPROC __glewEdgeFlagFormatNV = NULL;
2431PFNGLFOGCOORDFORMATNVPROC __glewFogCoordFormatNV = NULL;
2432PFNGLGETINTEGERUI64I_VNVPROC __glewGetIntegerui64i_vNV = NULL;
2433PFNGLINDEXFORMATNVPROC __glewIndexFormatNV = NULL;
2434PFNGLNORMALFORMATNVPROC __glewNormalFormatNV = NULL;
2435PFNGLSECONDARYCOLORFORMATNVPROC __glewSecondaryColorFormatNV = NULL;
2436PFNGLTEXCOORDFORMATNVPROC __glewTexCoordFormatNV = NULL;
2437PFNGLVERTEXATTRIBFORMATNVPROC __glewVertexAttribFormatNV = NULL;
2438PFNGLVERTEXATTRIBIFORMATNVPROC __glewVertexAttribIFormatNV = NULL;
2439PFNGLVERTEXFORMATNVPROC __glewVertexFormatNV = NULL;
2440
2441PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV = NULL;
2442PFNGLBINDPROGRAMNVPROC __glewBindProgramNV = NULL;
2443PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV = NULL;
2444PFNGLEXECUTEPROGRAMNVPROC __glewExecuteProgramNV = NULL;
2445PFNGLGENPROGRAMSNVPROC __glewGenProgramsNV = NULL;
2446PFNGLGETPROGRAMPARAMETERDVNVPROC __glewGetProgramParameterdvNV = NULL;
2447PFNGLGETPROGRAMPARAMETERFVNVPROC __glewGetProgramParameterfvNV = NULL;
2448PFNGLGETPROGRAMSTRINGNVPROC __glewGetProgramStringNV = NULL;
2449PFNGLGETPROGRAMIVNVPROC __glewGetProgramivNV = NULL;
2450PFNGLGETTRACKMATRIXIVNVPROC __glewGetTrackMatrixivNV = NULL;
2451PFNGLGETVERTEXATTRIBPOINTERVNVPROC __glewGetVertexAttribPointervNV = NULL;
2452PFNGLGETVERTEXATTRIBDVNVPROC __glewGetVertexAttribdvNV = NULL;
2453PFNGLGETVERTEXATTRIBFVNVPROC __glewGetVertexAttribfvNV = NULL;
2454PFNGLGETVERTEXATTRIBIVNVPROC __glewGetVertexAttribivNV = NULL;
2455PFNGLISPROGRAMNVPROC __glewIsProgramNV = NULL;
2456PFNGLLOADPROGRAMNVPROC __glewLoadProgramNV = NULL;
2457PFNGLPROGRAMPARAMETER4DNVPROC __glewProgramParameter4dNV = NULL;
2458PFNGLPROGRAMPARAMETER4DVNVPROC __glewProgramParameter4dvNV = NULL;
2459PFNGLPROGRAMPARAMETER4FNVPROC __glewProgramParameter4fNV = NULL;
2460PFNGLPROGRAMPARAMETER4FVNVPROC __glewProgramParameter4fvNV = NULL;
2461PFNGLPROGRAMPARAMETERS4DVNVPROC __glewProgramParameters4dvNV = NULL;
2462PFNGLPROGRAMPARAMETERS4FVNVPROC __glewProgramParameters4fvNV = NULL;
2463PFNGLREQUESTRESIDENTPROGRAMSNVPROC __glewRequestResidentProgramsNV = NULL;
2464PFNGLTRACKMATRIXNVPROC __glewTrackMatrixNV = NULL;
2465PFNGLVERTEXATTRIB1DNVPROC __glewVertexAttrib1dNV = NULL;
2466PFNGLVERTEXATTRIB1DVNVPROC __glewVertexAttrib1dvNV = NULL;
2467PFNGLVERTEXATTRIB1FNVPROC __glewVertexAttrib1fNV = NULL;
2468PFNGLVERTEXATTRIB1FVNVPROC __glewVertexAttrib1fvNV = NULL;
2469PFNGLVERTEXATTRIB1SNVPROC __glewVertexAttrib1sNV = NULL;
2470PFNGLVERTEXATTRIB1SVNVPROC __glewVertexAttrib1svNV = NULL;
2471PFNGLVERTEXATTRIB2DNVPROC __glewVertexAttrib2dNV = NULL;
2472PFNGLVERTEXATTRIB2DVNVPROC __glewVertexAttrib2dvNV = NULL;
2473PFNGLVERTEXATTRIB2FNVPROC __glewVertexAttrib2fNV = NULL;
2474PFNGLVERTEXATTRIB2FVNVPROC __glewVertexAttrib2fvNV = NULL;
2475PFNGLVERTEXATTRIB2SNVPROC __glewVertexAttrib2sNV = NULL;
2476PFNGLVERTEXATTRIB2SVNVPROC __glewVertexAttrib2svNV = NULL;
2477PFNGLVERTEXATTRIB3DNVPROC __glewVertexAttrib3dNV = NULL;
2478PFNGLVERTEXATTRIB3DVNVPROC __glewVertexAttrib3dvNV = NULL;
2479PFNGLVERTEXATTRIB3FNVPROC __glewVertexAttrib3fNV = NULL;
2480PFNGLVERTEXATTRIB3FVNVPROC __glewVertexAttrib3fvNV = NULL;
2481PFNGLVERTEXATTRIB3SNVPROC __glewVertexAttrib3sNV = NULL;
2482PFNGLVERTEXATTRIB3SVNVPROC __glewVertexAttrib3svNV = NULL;
2483PFNGLVERTEXATTRIB4DNVPROC __glewVertexAttrib4dNV = NULL;
2484PFNGLVERTEXATTRIB4DVNVPROC __glewVertexAttrib4dvNV = NULL;
2485PFNGLVERTEXATTRIB4FNVPROC __glewVertexAttrib4fNV = NULL;
2486PFNGLVERTEXATTRIB4FVNVPROC __glewVertexAttrib4fvNV = NULL;
2487PFNGLVERTEXATTRIB4SNVPROC __glewVertexAttrib4sNV = NULL;
2488PFNGLVERTEXATTRIB4SVNVPROC __glewVertexAttrib4svNV = NULL;
2489PFNGLVERTEXATTRIB4UBNVPROC __glewVertexAttrib4ubNV = NULL;
2490PFNGLVERTEXATTRIB4UBVNVPROC __glewVertexAttrib4ubvNV = NULL;
2491PFNGLVERTEXATTRIBPOINTERNVPROC __glewVertexAttribPointerNV = NULL;
2492PFNGLVERTEXATTRIBS1DVNVPROC __glewVertexAttribs1dvNV = NULL;
2493PFNGLVERTEXATTRIBS1FVNVPROC __glewVertexAttribs1fvNV = NULL;
2494PFNGLVERTEXATTRIBS1SVNVPROC __glewVertexAttribs1svNV = NULL;
2495PFNGLVERTEXATTRIBS2DVNVPROC __glewVertexAttribs2dvNV = NULL;
2496PFNGLVERTEXATTRIBS2FVNVPROC __glewVertexAttribs2fvNV = NULL;
2497PFNGLVERTEXATTRIBS2SVNVPROC __glewVertexAttribs2svNV = NULL;
2498PFNGLVERTEXATTRIBS3DVNVPROC __glewVertexAttribs3dvNV = NULL;
2499PFNGLVERTEXATTRIBS3FVNVPROC __glewVertexAttribs3fvNV = NULL;
2500PFNGLVERTEXATTRIBS3SVNVPROC __glewVertexAttribs3svNV = NULL;
2501PFNGLVERTEXATTRIBS4DVNVPROC __glewVertexAttribs4dvNV = NULL;
2502PFNGLVERTEXATTRIBS4FVNVPROC __glewVertexAttribs4fvNV = NULL;
2503PFNGLVERTEXATTRIBS4SVNVPROC __glewVertexAttribs4svNV = NULL;
2504PFNGLVERTEXATTRIBS4UBVNVPROC __glewVertexAttribs4ubvNV = NULL;
2505
2506PFNGLBEGINVIDEOCAPTURENVPROC __glewBeginVideoCaptureNV = NULL;
2507PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC __glewBindVideoCaptureStreamBufferNV = NULL;
2508PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC __glewBindVideoCaptureStreamTextureNV = NULL;
2509PFNGLENDVIDEOCAPTURENVPROC __glewEndVideoCaptureNV = NULL;
2510PFNGLGETVIDEOCAPTURESTREAMDVNVPROC __glewGetVideoCaptureStreamdvNV = NULL;
2511PFNGLGETVIDEOCAPTURESTREAMFVNVPROC __glewGetVideoCaptureStreamfvNV = NULL;
2512PFNGLGETVIDEOCAPTURESTREAMIVNVPROC __glewGetVideoCaptureStreamivNV = NULL;
2513PFNGLGETVIDEOCAPTUREIVNVPROC __glewGetVideoCaptureivNV = NULL;
2514PFNGLVIDEOCAPTURENVPROC __glewVideoCaptureNV = NULL;
2515PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC __glewVideoCaptureStreamParameterdvNV = NULL;
2516PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC __glewVideoCaptureStreamParameterfvNV = NULL;
2517PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC __glewVideoCaptureStreamParameterivNV = NULL;
2518
2519PFNGLCLEARDEPTHFOESPROC __glewClearDepthfOES = NULL;
2520PFNGLCLIPPLANEFOESPROC __glewClipPlanefOES = NULL;
2521PFNGLDEPTHRANGEFOESPROC __glewDepthRangefOES = NULL;
2522PFNGLFRUSTUMFOESPROC __glewFrustumfOES = NULL;
2523PFNGLGETCLIPPLANEFOESPROC __glewGetClipPlanefOES = NULL;
2524PFNGLORTHOFOESPROC __glewOrthofOES = NULL;
2525
2526PFNGLALPHAFUNCXPROC __glewAlphaFuncx = NULL;
2527PFNGLCLEARCOLORXPROC __glewClearColorx = NULL;
2528PFNGLCLEARDEPTHXPROC __glewClearDepthx = NULL;
2529PFNGLCOLOR4XPROC __glewColor4x = NULL;
2530PFNGLDEPTHRANGEXPROC __glewDepthRangex = NULL;
2531PFNGLFOGXPROC __glewFogx = NULL;
2532PFNGLFOGXVPROC __glewFogxv = NULL;
2533PFNGLFRUSTUMFPROC __glewFrustumf = NULL;
2534PFNGLFRUSTUMXPROC __glewFrustumx = NULL;
2535PFNGLLIGHTMODELXPROC __glewLightModelx = NULL;
2536PFNGLLIGHTMODELXVPROC __glewLightModelxv = NULL;
2537PFNGLLIGHTXPROC __glewLightx = NULL;
2538PFNGLLIGHTXVPROC __glewLightxv = NULL;
2539PFNGLLINEWIDTHXPROC __glewLineWidthx = NULL;
2540PFNGLLOADMATRIXXPROC __glewLoadMatrixx = NULL;
2541PFNGLMATERIALXPROC __glewMaterialx = NULL;
2542PFNGLMATERIALXVPROC __glewMaterialxv = NULL;
2543PFNGLMULTMATRIXXPROC __glewMultMatrixx = NULL;
2544PFNGLMULTITEXCOORD4XPROC __glewMultiTexCoord4x = NULL;
2545PFNGLNORMAL3XPROC __glewNormal3x = NULL;
2546PFNGLORTHOFPROC __glewOrthof = NULL;
2547PFNGLORTHOXPROC __glewOrthox = NULL;
2548PFNGLPOINTSIZEXPROC __glewPointSizex = NULL;
2549PFNGLPOLYGONOFFSETXPROC __glewPolygonOffsetx = NULL;
2550PFNGLROTATEXPROC __glewRotatex = NULL;
2551PFNGLSAMPLECOVERAGEXPROC __glewSampleCoveragex = NULL;
2552PFNGLSCALEXPROC __glewScalex = NULL;
2553PFNGLTEXENVXPROC __glewTexEnvx = NULL;
2554PFNGLTEXENVXVPROC __glewTexEnvxv = NULL;
2555PFNGLTEXPARAMETERXPROC __glewTexParameterx = NULL;
2556PFNGLTRANSLATEXPROC __glewTranslatex = NULL;
2557
2558PFNGLCLIPPLANEFPROC __glewClipPlanef = NULL;
2559PFNGLCLIPPLANEXPROC __glewClipPlanex = NULL;
2560PFNGLGETCLIPPLANEFPROC __glewGetClipPlanef = NULL;
2561PFNGLGETCLIPPLANEXPROC __glewGetClipPlanex = NULL;
2562PFNGLGETFIXEDVPROC __glewGetFixedv = NULL;
2563PFNGLGETLIGHTXVPROC __glewGetLightxv = NULL;
2564PFNGLGETMATERIALXVPROC __glewGetMaterialxv = NULL;
2565PFNGLGETTEXENVXVPROC __glewGetTexEnvxv = NULL;
2566PFNGLGETTEXPARAMETERXVPROC __glewGetTexParameterxv = NULL;
2567PFNGLPOINTPARAMETERXPROC __glewPointParameterx = NULL;
2568PFNGLPOINTPARAMETERXVPROC __glewPointParameterxv = NULL;
2569PFNGLPOINTSIZEPOINTEROESPROC __glewPointSizePointerOES = NULL;
2570PFNGLTEXPARAMETERXVPROC __glewTexParameterxv = NULL;
2571
2572PFNGLERRORSTRINGREGALPROC __glewErrorStringREGAL = NULL;
2573
2574PFNGLGETEXTENSIONREGALPROC __glewGetExtensionREGAL = NULL;
2575PFNGLISSUPPORTEDREGALPROC __glewIsSupportedREGAL = NULL;
2576
2577PFNGLLOGMESSAGECALLBACKREGALPROC __glewLogMessageCallbackREGAL = NULL;
2578
2579PFNGLDETAILTEXFUNCSGISPROC __glewDetailTexFuncSGIS = NULL;
2580PFNGLGETDETAILTEXFUNCSGISPROC __glewGetDetailTexFuncSGIS = NULL;
2581
2582PFNGLFOGFUNCSGISPROC __glewFogFuncSGIS = NULL;
2583PFNGLGETFOGFUNCSGISPROC __glewGetFogFuncSGIS = NULL;
2584
2585PFNGLSAMPLEMASKSGISPROC __glewSampleMaskSGIS = NULL;
2586PFNGLSAMPLEPATTERNSGISPROC __glewSamplePatternSGIS = NULL;
2587
2588PFNGLGETSHARPENTEXFUNCSGISPROC __glewGetSharpenTexFuncSGIS = NULL;
2589PFNGLSHARPENTEXFUNCSGISPROC __glewSharpenTexFuncSGIS = NULL;
2590
2591PFNGLTEXIMAGE4DSGISPROC __glewTexImage4DSGIS = NULL;
2592PFNGLTEXSUBIMAGE4DSGISPROC __glewTexSubImage4DSGIS = NULL;
2593
2594PFNGLGETTEXFILTERFUNCSGISPROC __glewGetTexFilterFuncSGIS = NULL;
2595PFNGLTEXFILTERFUNCSGISPROC __glewTexFilterFuncSGIS = NULL;
2596
2597PFNGLASYNCMARKERSGIXPROC __glewAsyncMarkerSGIX = NULL;
2598PFNGLDELETEASYNCMARKERSSGIXPROC __glewDeleteAsyncMarkersSGIX = NULL;
2599PFNGLFINISHASYNCSGIXPROC __glewFinishAsyncSGIX = NULL;
2600PFNGLGENASYNCMARKERSSGIXPROC __glewGenAsyncMarkersSGIX = NULL;
2601PFNGLISASYNCMARKERSGIXPROC __glewIsAsyncMarkerSGIX = NULL;
2602PFNGLPOLLASYNCSGIXPROC __glewPollAsyncSGIX = NULL;
2603
2604PFNGLFLUSHRASTERSGIXPROC __glewFlushRasterSGIX = NULL;
2605
2606PFNGLTEXTUREFOGSGIXPROC __glewTextureFogSGIX = NULL;
2607
2608PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX = NULL;
2609PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX = NULL;
2610PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX = NULL;
2611PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX = NULL;
2612PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX = NULL;
2613PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX = NULL;
2614PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX = NULL;
2615PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX = NULL;
2616PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX = NULL;
2617PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX = NULL;
2618PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX = NULL;
2619PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX = NULL;
2620PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX = NULL;
2621PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX = NULL;
2622PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX = NULL;
2623PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX = NULL;
2624PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX = NULL;
2625
2626PFNGLFRAMEZOOMSGIXPROC __glewFrameZoomSGIX = NULL;
2627
2628PFNGLPIXELTEXGENSGIXPROC __glewPixelTexGenSGIX = NULL;
2629
2630PFNGLREFERENCEPLANESGIXPROC __glewReferencePlaneSGIX = NULL;
2631
2632PFNGLSPRITEPARAMETERFSGIXPROC __glewSpriteParameterfSGIX = NULL;
2633PFNGLSPRITEPARAMETERFVSGIXPROC __glewSpriteParameterfvSGIX = NULL;
2634PFNGLSPRITEPARAMETERISGIXPROC __glewSpriteParameteriSGIX = NULL;
2635PFNGLSPRITEPARAMETERIVSGIXPROC __glewSpriteParameterivSGIX = NULL;
2636
2637PFNGLTAGSAMPLEBUFFERSGIXPROC __glewTagSampleBufferSGIX = NULL;
2638
2639PFNGLCOLORTABLEPARAMETERFVSGIPROC __glewColorTableParameterfvSGI = NULL;
2640PFNGLCOLORTABLEPARAMETERIVSGIPROC __glewColorTableParameterivSGI = NULL;
2641PFNGLCOLORTABLESGIPROC __glewColorTableSGI = NULL;
2642PFNGLCOPYCOLORTABLESGIPROC __glewCopyColorTableSGI = NULL;
2643PFNGLGETCOLORTABLEPARAMETERFVSGIPROC __glewGetColorTableParameterfvSGI = NULL;
2644PFNGLGETCOLORTABLEPARAMETERIVSGIPROC __glewGetColorTableParameterivSGI = NULL;
2645PFNGLGETCOLORTABLESGIPROC __glewGetColorTableSGI = NULL;
2646
2647PFNGLFINISHTEXTURESUNXPROC __glewFinishTextureSUNX = NULL;
2648
2649PFNGLGLOBALALPHAFACTORBSUNPROC __glewGlobalAlphaFactorbSUN = NULL;
2650PFNGLGLOBALALPHAFACTORDSUNPROC __glewGlobalAlphaFactordSUN = NULL;
2651PFNGLGLOBALALPHAFACTORFSUNPROC __glewGlobalAlphaFactorfSUN = NULL;
2652PFNGLGLOBALALPHAFACTORISUNPROC __glewGlobalAlphaFactoriSUN = NULL;
2653PFNGLGLOBALALPHAFACTORSSUNPROC __glewGlobalAlphaFactorsSUN = NULL;
2654PFNGLGLOBALALPHAFACTORUBSUNPROC __glewGlobalAlphaFactorubSUN = NULL;
2655PFNGLGLOBALALPHAFACTORUISUNPROC __glewGlobalAlphaFactoruiSUN = NULL;
2656PFNGLGLOBALALPHAFACTORUSSUNPROC __glewGlobalAlphaFactorusSUN = NULL;
2657
2658PFNGLREADVIDEOPIXELSSUNPROC __glewReadVideoPixelsSUN = NULL;
2659
2660PFNGLREPLACEMENTCODEPOINTERSUNPROC __glewReplacementCodePointerSUN = NULL;
2661PFNGLREPLACEMENTCODEUBSUNPROC __glewReplacementCodeubSUN = NULL;
2662PFNGLREPLACEMENTCODEUBVSUNPROC __glewReplacementCodeubvSUN = NULL;
2663PFNGLREPLACEMENTCODEUISUNPROC __glewReplacementCodeuiSUN = NULL;
2664PFNGLREPLACEMENTCODEUIVSUNPROC __glewReplacementCodeuivSUN = NULL;
2665PFNGLREPLACEMENTCODEUSSUNPROC __glewReplacementCodeusSUN = NULL;
2666PFNGLREPLACEMENTCODEUSVSUNPROC __glewReplacementCodeusvSUN = NULL;
2667
2668PFNGLCOLOR3FVERTEX3FSUNPROC __glewColor3fVertex3fSUN = NULL;
2669PFNGLCOLOR3FVERTEX3FVSUNPROC __glewColor3fVertex3fvSUN = NULL;
2670PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewColor4fNormal3fVertex3fSUN = NULL;
2671PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewColor4fNormal3fVertex3fvSUN = NULL;
2672PFNGLCOLOR4UBVERTEX2FSUNPROC __glewColor4ubVertex2fSUN = NULL;
2673PFNGLCOLOR4UBVERTEX2FVSUNPROC __glewColor4ubVertex2fvSUN = NULL;
2674PFNGLCOLOR4UBVERTEX3FSUNPROC __glewColor4ubVertex3fSUN = NULL;
2675PFNGLCOLOR4UBVERTEX3FVSUNPROC __glewColor4ubVertex3fvSUN = NULL;
2676PFNGLNORMAL3FVERTEX3FSUNPROC __glewNormal3fVertex3fSUN = NULL;
2677PFNGLNORMAL3FVERTEX3FVSUNPROC __glewNormal3fVertex3fvSUN = NULL;
2678PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC __glewReplacementCodeuiColor3fVertex3fSUN = NULL;
2679PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor3fVertex3fvSUN = NULL;
2680PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fSUN = NULL;
2681PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fvSUN = NULL;
2682PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC __glewReplacementCodeuiColor4ubVertex3fSUN = NULL;
2683PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC __glewReplacementCodeuiColor4ubVertex3fvSUN = NULL;
2684PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiNormal3fVertex3fSUN = NULL;
2685PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiNormal3fVertex3fvSUN = NULL;
2686PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
2687PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
2688PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = NULL;
2689PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = NULL;
2690PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fSUN = NULL;
2691PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fvSUN = NULL;
2692PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC __glewReplacementCodeuiVertex3fSUN = NULL;
2693PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC __glewReplacementCodeuiVertex3fvSUN = NULL;
2694PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC __glewTexCoord2fColor3fVertex3fSUN = NULL;
2695PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC __glewTexCoord2fColor3fVertex3fvSUN = NULL;
2696PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
2697PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
2698PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC __glewTexCoord2fColor4ubVertex3fSUN = NULL;
2699PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC __glewTexCoord2fColor4ubVertex3fvSUN = NULL;
2700PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fNormal3fVertex3fSUN = NULL;
2701PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fNormal3fVertex3fvSUN = NULL;
2702PFNGLTEXCOORD2FVERTEX3FSUNPROC __glewTexCoord2fVertex3fSUN = NULL;
2703PFNGLTEXCOORD2FVERTEX3FVSUNPROC __glewTexCoord2fVertex3fvSUN = NULL;
2704PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fSUN = NULL;
2705PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fvSUN = NULL;
2706PFNGLTEXCOORD4FVERTEX4FSUNPROC __glewTexCoord4fVertex4fSUN = NULL;
2707PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN = NULL;
2708
2709PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN = NULL;
2710
2711#endif /* !WIN32 || !GLEW_MX */
2712
2713#if !defined(GLEW_MX)
2714
2715GLboolean __GLEW_VERSION_1_1 = GL_FALSE;
2716GLboolean __GLEW_VERSION_1_2 = GL_FALSE;
2717GLboolean __GLEW_VERSION_1_2_1 = GL_FALSE;
2718GLboolean __GLEW_VERSION_1_3 = GL_FALSE;
2719GLboolean __GLEW_VERSION_1_4 = GL_FALSE;
2720GLboolean __GLEW_VERSION_1_5 = GL_FALSE;
2721GLboolean __GLEW_VERSION_2_0 = GL_FALSE;
2722GLboolean __GLEW_VERSION_2_1 = GL_FALSE;
2723GLboolean __GLEW_VERSION_3_0 = GL_FALSE;
2724GLboolean __GLEW_VERSION_3_1 = GL_FALSE;
2725GLboolean __GLEW_VERSION_3_2 = GL_FALSE;
2726GLboolean __GLEW_VERSION_3_3 = GL_FALSE;
2727GLboolean __GLEW_VERSION_4_0 = GL_FALSE;
2728GLboolean __GLEW_VERSION_4_1 = GL_FALSE;
2729GLboolean __GLEW_VERSION_4_2 = GL_FALSE;
2730GLboolean __GLEW_VERSION_4_3 = GL_FALSE;
2731GLboolean __GLEW_VERSION_4_4 = GL_FALSE;
2732GLboolean __GLEW_3DFX_multisample = GL_FALSE;
2733GLboolean __GLEW_3DFX_tbuffer = GL_FALSE;
2734GLboolean __GLEW_3DFX_texture_compression_FXT1 = GL_FALSE;
2735GLboolean __GLEW_AMD_blend_minmax_factor = GL_FALSE;
2736GLboolean __GLEW_AMD_conservative_depth = GL_FALSE;
2737GLboolean __GLEW_AMD_debug_output = GL_FALSE;
2738GLboolean __GLEW_AMD_depth_clamp_separate = GL_FALSE;
2739GLboolean __GLEW_AMD_draw_buffers_blend = GL_FALSE;
2740GLboolean __GLEW_AMD_interleaved_elements = GL_FALSE;
2741GLboolean __GLEW_AMD_multi_draw_indirect = GL_FALSE;
2742GLboolean __GLEW_AMD_name_gen_delete = GL_FALSE;
2743GLboolean __GLEW_AMD_performance_monitor = GL_FALSE;
2744GLboolean __GLEW_AMD_pinned_memory = GL_FALSE;
2745GLboolean __GLEW_AMD_query_buffer_object = GL_FALSE;
2746GLboolean __GLEW_AMD_sample_positions = GL_FALSE;
2747GLboolean __GLEW_AMD_seamless_cubemap_per_texture = GL_FALSE;
2748GLboolean __GLEW_AMD_shader_stencil_export = GL_FALSE;
2749GLboolean __GLEW_AMD_shader_trinary_minmax = GL_FALSE;
2750GLboolean __GLEW_AMD_sparse_texture = GL_FALSE;
2751GLboolean __GLEW_AMD_stencil_operation_extended = GL_FALSE;
2752GLboolean __GLEW_AMD_texture_texture4 = GL_FALSE;
2753GLboolean __GLEW_AMD_transform_feedback3_lines_triangles = GL_FALSE;
2754GLboolean __GLEW_AMD_vertex_shader_layer = GL_FALSE;
2755GLboolean __GLEW_AMD_vertex_shader_tessellator = GL_FALSE;
2756GLboolean __GLEW_AMD_vertex_shader_viewport_index = GL_FALSE;
2757GLboolean __GLEW_ANGLE_depth_texture = GL_FALSE;
2758GLboolean __GLEW_ANGLE_framebuffer_blit = GL_FALSE;
2759GLboolean __GLEW_ANGLE_framebuffer_multisample = GL_FALSE;
2760GLboolean __GLEW_ANGLE_instanced_arrays = GL_FALSE;
2761GLboolean __GLEW_ANGLE_pack_reverse_row_order = GL_FALSE;
2762GLboolean __GLEW_ANGLE_program_binary = GL_FALSE;
2763GLboolean __GLEW_ANGLE_texture_compression_dxt1 = GL_FALSE;
2764GLboolean __GLEW_ANGLE_texture_compression_dxt3 = GL_FALSE;
2765GLboolean __GLEW_ANGLE_texture_compression_dxt5 = GL_FALSE;
2766GLboolean __GLEW_ANGLE_texture_usage = GL_FALSE;
2767GLboolean __GLEW_ANGLE_timer_query = GL_FALSE;
2768GLboolean __GLEW_ANGLE_translated_shader_source = GL_FALSE;
2769GLboolean __GLEW_APPLE_aux_depth_stencil = GL_FALSE;
2770GLboolean __GLEW_APPLE_client_storage = GL_FALSE;
2771GLboolean __GLEW_APPLE_element_array = GL_FALSE;
2772GLboolean __GLEW_APPLE_fence = GL_FALSE;
2773GLboolean __GLEW_APPLE_float_pixels = GL_FALSE;
2774GLboolean __GLEW_APPLE_flush_buffer_range = GL_FALSE;
2775GLboolean __GLEW_APPLE_object_purgeable = GL_FALSE;
2776GLboolean __GLEW_APPLE_pixel_buffer = GL_FALSE;
2777GLboolean __GLEW_APPLE_rgb_422 = GL_FALSE;
2778GLboolean __GLEW_APPLE_row_bytes = GL_FALSE;
2779GLboolean __GLEW_APPLE_specular_vector = GL_FALSE;
2780GLboolean __GLEW_APPLE_texture_range = GL_FALSE;
2781GLboolean __GLEW_APPLE_transform_hint = GL_FALSE;
2782GLboolean __GLEW_APPLE_vertex_array_object = GL_FALSE;
2783GLboolean __GLEW_APPLE_vertex_array_range = GL_FALSE;
2784GLboolean __GLEW_APPLE_vertex_program_evaluators = GL_FALSE;
2785GLboolean __GLEW_APPLE_ycbcr_422 = GL_FALSE;
2786GLboolean __GLEW_ARB_ES2_compatibility = GL_FALSE;
2787GLboolean __GLEW_ARB_ES3_compatibility = GL_FALSE;
2788GLboolean __GLEW_ARB_arrays_of_arrays = GL_FALSE;
2789GLboolean __GLEW_ARB_base_instance = GL_FALSE;
2790GLboolean __GLEW_ARB_bindless_texture = GL_FALSE;
2791GLboolean __GLEW_ARB_blend_func_extended = GL_FALSE;
2792GLboolean __GLEW_ARB_buffer_storage = GL_FALSE;
2793GLboolean __GLEW_ARB_cl_event = GL_FALSE;
2794GLboolean __GLEW_ARB_clear_buffer_object = GL_FALSE;
2795GLboolean __GLEW_ARB_clear_texture = GL_FALSE;
2796GLboolean __GLEW_ARB_color_buffer_float = GL_FALSE;
2797GLboolean __GLEW_ARB_compatibility = GL_FALSE;
2798GLboolean __GLEW_ARB_compressed_texture_pixel_storage = GL_FALSE;
2799GLboolean __GLEW_ARB_compute_shader = GL_FALSE;
2800GLboolean __GLEW_ARB_compute_variable_group_size = GL_FALSE;
2801GLboolean __GLEW_ARB_conservative_depth = GL_FALSE;
2802GLboolean __GLEW_ARB_copy_buffer = GL_FALSE;
2803GLboolean __GLEW_ARB_copy_image = GL_FALSE;
2804GLboolean __GLEW_ARB_debug_output = GL_FALSE;
2805GLboolean __GLEW_ARB_depth_buffer_float = GL_FALSE;
2806GLboolean __GLEW_ARB_depth_clamp = GL_FALSE;
2807GLboolean __GLEW_ARB_depth_texture = GL_FALSE;
2808GLboolean __GLEW_ARB_draw_buffers = GL_FALSE;
2809GLboolean __GLEW_ARB_draw_buffers_blend = GL_FALSE;
2810GLboolean __GLEW_ARB_draw_elements_base_vertex = GL_FALSE;
2811GLboolean __GLEW_ARB_draw_indirect = GL_FALSE;
2812GLboolean __GLEW_ARB_draw_instanced = GL_FALSE;
2813GLboolean __GLEW_ARB_enhanced_layouts = GL_FALSE;
2814GLboolean __GLEW_ARB_explicit_attrib_location = GL_FALSE;
2815GLboolean __GLEW_ARB_explicit_uniform_location = GL_FALSE;
2816GLboolean __GLEW_ARB_fragment_coord_conventions = GL_FALSE;
2817GLboolean __GLEW_ARB_fragment_layer_viewport = GL_FALSE;
2818GLboolean __GLEW_ARB_fragment_program = GL_FALSE;
2819GLboolean __GLEW_ARB_fragment_program_shadow = GL_FALSE;
2820GLboolean __GLEW_ARB_fragment_shader = GL_FALSE;
2821GLboolean __GLEW_ARB_framebuffer_no_attachments = GL_FALSE;
2822GLboolean __GLEW_ARB_framebuffer_object = GL_FALSE;
2823GLboolean __GLEW_ARB_framebuffer_sRGB = GL_FALSE;
2824GLboolean __GLEW_ARB_geometry_shader4 = GL_FALSE;
2825GLboolean __GLEW_ARB_get_program_binary = GL_FALSE;
2826GLboolean __GLEW_ARB_gpu_shader5 = GL_FALSE;
2827GLboolean __GLEW_ARB_gpu_shader_fp64 = GL_FALSE;
2828GLboolean __GLEW_ARB_half_float_pixel = GL_FALSE;
2829GLboolean __GLEW_ARB_half_float_vertex = GL_FALSE;
2830GLboolean __GLEW_ARB_imaging = GL_FALSE;
2831GLboolean __GLEW_ARB_indirect_parameters = GL_FALSE;
2832GLboolean __GLEW_ARB_instanced_arrays = GL_FALSE;
2833GLboolean __GLEW_ARB_internalformat_query = GL_FALSE;
2834GLboolean __GLEW_ARB_internalformat_query2 = GL_FALSE;
2835GLboolean __GLEW_ARB_invalidate_subdata = GL_FALSE;
2836GLboolean __GLEW_ARB_map_buffer_alignment = GL_FALSE;
2837GLboolean __GLEW_ARB_map_buffer_range = GL_FALSE;
2838GLboolean __GLEW_ARB_matrix_palette = GL_FALSE;
2839GLboolean __GLEW_ARB_multi_bind = GL_FALSE;
2840GLboolean __GLEW_ARB_multi_draw_indirect = GL_FALSE;
2841GLboolean __GLEW_ARB_multisample = GL_FALSE;
2842GLboolean __GLEW_ARB_multitexture = GL_FALSE;
2843GLboolean __GLEW_ARB_occlusion_query = GL_FALSE;
2844GLboolean __GLEW_ARB_occlusion_query2 = GL_FALSE;
2845GLboolean __GLEW_ARB_pixel_buffer_object = GL_FALSE;
2846GLboolean __GLEW_ARB_point_parameters = GL_FALSE;
2847GLboolean __GLEW_ARB_point_sprite = GL_FALSE;
2848GLboolean __GLEW_ARB_program_interface_query = GL_FALSE;
2849GLboolean __GLEW_ARB_provoking_vertex = GL_FALSE;
2850GLboolean __GLEW_ARB_query_buffer_object = GL_FALSE;
2851GLboolean __GLEW_ARB_robust_buffer_access_behavior = GL_FALSE;
2852GLboolean __GLEW_ARB_robustness = GL_FALSE;
2853GLboolean __GLEW_ARB_robustness_application_isolation = GL_FALSE;
2854GLboolean __GLEW_ARB_robustness_share_group_isolation = GL_FALSE;
2855GLboolean __GLEW_ARB_sample_shading = GL_FALSE;
2856GLboolean __GLEW_ARB_sampler_objects = GL_FALSE;
2857GLboolean __GLEW_ARB_seamless_cube_map = GL_FALSE;
2858GLboolean __GLEW_ARB_seamless_cubemap_per_texture = GL_FALSE;
2859GLboolean __GLEW_ARB_separate_shader_objects = GL_FALSE;
2860GLboolean __GLEW_ARB_shader_atomic_counters = GL_FALSE;
2861GLboolean __GLEW_ARB_shader_bit_encoding = GL_FALSE;
2862GLboolean __GLEW_ARB_shader_draw_parameters = GL_FALSE;
2863GLboolean __GLEW_ARB_shader_group_vote = GL_FALSE;
2864GLboolean __GLEW_ARB_shader_image_load_store = GL_FALSE;
2865GLboolean __GLEW_ARB_shader_image_size = GL_FALSE;
2866GLboolean __GLEW_ARB_shader_objects = GL_FALSE;
2867GLboolean __GLEW_ARB_shader_precision = GL_FALSE;
2868GLboolean __GLEW_ARB_shader_stencil_export = GL_FALSE;
2869GLboolean __GLEW_ARB_shader_storage_buffer_object = GL_FALSE;
2870GLboolean __GLEW_ARB_shader_subroutine = GL_FALSE;
2871GLboolean __GLEW_ARB_shader_texture_lod = GL_FALSE;
2872GLboolean __GLEW_ARB_shading_language_100 = GL_FALSE;
2873GLboolean __GLEW_ARB_shading_language_420pack = GL_FALSE;
2874GLboolean __GLEW_ARB_shading_language_include = GL_FALSE;
2875GLboolean __GLEW_ARB_shading_language_packing = GL_FALSE;
2876GLboolean __GLEW_ARB_shadow = GL_FALSE;
2877GLboolean __GLEW_ARB_shadow_ambient = GL_FALSE;
2878GLboolean __GLEW_ARB_sparse_texture = GL_FALSE;
2879GLboolean __GLEW_ARB_stencil_texturing = GL_FALSE;
2880GLboolean __GLEW_ARB_sync = GL_FALSE;
2881GLboolean __GLEW_ARB_tessellation_shader = GL_FALSE;
2882GLboolean __GLEW_ARB_texture_border_clamp = GL_FALSE;
2883GLboolean __GLEW_ARB_texture_buffer_object = GL_FALSE;
2884GLboolean __GLEW_ARB_texture_buffer_object_rgb32 = GL_FALSE;
2885GLboolean __GLEW_ARB_texture_buffer_range = GL_FALSE;
2886GLboolean __GLEW_ARB_texture_compression = GL_FALSE;
2887GLboolean __GLEW_ARB_texture_compression_bptc = GL_FALSE;
2888GLboolean __GLEW_ARB_texture_compression_rgtc = GL_FALSE;
2889GLboolean __GLEW_ARB_texture_cube_map = GL_FALSE;
2890GLboolean __GLEW_ARB_texture_cube_map_array = GL_FALSE;
2891GLboolean __GLEW_ARB_texture_env_add = GL_FALSE;
2892GLboolean __GLEW_ARB_texture_env_combine = GL_FALSE;
2893GLboolean __GLEW_ARB_texture_env_crossbar = GL_FALSE;
2894GLboolean __GLEW_ARB_texture_env_dot3 = GL_FALSE;
2895GLboolean __GLEW_ARB_texture_float = GL_FALSE;
2896GLboolean __GLEW_ARB_texture_gather = GL_FALSE;
2897GLboolean __GLEW_ARB_texture_mirror_clamp_to_edge = GL_FALSE;
2898GLboolean __GLEW_ARB_texture_mirrored_repeat = GL_FALSE;
2899GLboolean __GLEW_ARB_texture_multisample = GL_FALSE;
2900GLboolean __GLEW_ARB_texture_non_power_of_two = GL_FALSE;
2901GLboolean __GLEW_ARB_texture_query_levels = GL_FALSE;
2902GLboolean __GLEW_ARB_texture_query_lod = GL_FALSE;
2903GLboolean __GLEW_ARB_texture_rectangle = GL_FALSE;
2904GLboolean __GLEW_ARB_texture_rg = GL_FALSE;
2905GLboolean __GLEW_ARB_texture_rgb10_a2ui = GL_FALSE;
2906GLboolean __GLEW_ARB_texture_stencil8 = GL_FALSE;
2907GLboolean __GLEW_ARB_texture_storage = GL_FALSE;
2908GLboolean __GLEW_ARB_texture_storage_multisample = GL_FALSE;
2909GLboolean __GLEW_ARB_texture_swizzle = GL_FALSE;
2910GLboolean __GLEW_ARB_texture_view = GL_FALSE;
2911GLboolean __GLEW_ARB_timer_query = GL_FALSE;
2912GLboolean __GLEW_ARB_transform_feedback2 = GL_FALSE;
2913GLboolean __GLEW_ARB_transform_feedback3 = GL_FALSE;
2914GLboolean __GLEW_ARB_transform_feedback_instanced = GL_FALSE;
2915GLboolean __GLEW_ARB_transpose_matrix = GL_FALSE;
2916GLboolean __GLEW_ARB_uniform_buffer_object = GL_FALSE;
2917GLboolean __GLEW_ARB_vertex_array_bgra = GL_FALSE;
2918GLboolean __GLEW_ARB_vertex_array_object = GL_FALSE;
2919GLboolean __GLEW_ARB_vertex_attrib_64bit = GL_FALSE;
2920GLboolean __GLEW_ARB_vertex_attrib_binding = GL_FALSE;
2921GLboolean __GLEW_ARB_vertex_blend = GL_FALSE;
2922GLboolean __GLEW_ARB_vertex_buffer_object = GL_FALSE;
2923GLboolean __GLEW_ARB_vertex_program = GL_FALSE;
2924GLboolean __GLEW_ARB_vertex_shader = GL_FALSE;
2925GLboolean __GLEW_ARB_vertex_type_10f_11f_11f_rev = GL_FALSE;
2926GLboolean __GLEW_ARB_vertex_type_2_10_10_10_rev = GL_FALSE;
2927GLboolean __GLEW_ARB_viewport_array = GL_FALSE;
2928GLboolean __GLEW_ARB_window_pos = GL_FALSE;
2929GLboolean __GLEW_ATIX_point_sprites = GL_FALSE;
2930GLboolean __GLEW_ATIX_texture_env_combine3 = GL_FALSE;
2931GLboolean __GLEW_ATIX_texture_env_route = GL_FALSE;
2932GLboolean __GLEW_ATIX_vertex_shader_output_point_size = GL_FALSE;
2933GLboolean __GLEW_ATI_draw_buffers = GL_FALSE;
2934GLboolean __GLEW_ATI_element_array = GL_FALSE;
2935GLboolean __GLEW_ATI_envmap_bumpmap = GL_FALSE;
2936GLboolean __GLEW_ATI_fragment_shader = GL_FALSE;
2937GLboolean __GLEW_ATI_map_object_buffer = GL_FALSE;
2938GLboolean __GLEW_ATI_meminfo = GL_FALSE;
2939GLboolean __GLEW_ATI_pn_triangles = GL_FALSE;
2940GLboolean __GLEW_ATI_separate_stencil = GL_FALSE;
2941GLboolean __GLEW_ATI_shader_texture_lod = GL_FALSE;
2942GLboolean __GLEW_ATI_text_fragment_shader = GL_FALSE;
2943GLboolean __GLEW_ATI_texture_compression_3dc = GL_FALSE;
2944GLboolean __GLEW_ATI_texture_env_combine3 = GL_FALSE;
2945GLboolean __GLEW_ATI_texture_float = GL_FALSE;
2946GLboolean __GLEW_ATI_texture_mirror_once = GL_FALSE;
2947GLboolean __GLEW_ATI_vertex_array_object = GL_FALSE;
2948GLboolean __GLEW_ATI_vertex_attrib_array_object = GL_FALSE;
2949GLboolean __GLEW_ATI_vertex_streams = GL_FALSE;
2950GLboolean __GLEW_EXT_422_pixels = GL_FALSE;
2951GLboolean __GLEW_EXT_Cg_shader = GL_FALSE;
2952GLboolean __GLEW_EXT_abgr = GL_FALSE;
2953GLboolean __GLEW_EXT_bgra = GL_FALSE;
2954GLboolean __GLEW_EXT_bindable_uniform = GL_FALSE;
2955GLboolean __GLEW_EXT_blend_color = GL_FALSE;
2956GLboolean __GLEW_EXT_blend_equation_separate = GL_FALSE;
2957GLboolean __GLEW_EXT_blend_func_separate = GL_FALSE;
2958GLboolean __GLEW_EXT_blend_logic_op = GL_FALSE;
2959GLboolean __GLEW_EXT_blend_minmax = GL_FALSE;
2960GLboolean __GLEW_EXT_blend_subtract = GL_FALSE;
2961GLboolean __GLEW_EXT_clip_volume_hint = GL_FALSE;
2962GLboolean __GLEW_EXT_cmyka = GL_FALSE;
2963GLboolean __GLEW_EXT_color_subtable = GL_FALSE;
2964GLboolean __GLEW_EXT_compiled_vertex_array = GL_FALSE;
2965GLboolean __GLEW_EXT_convolution = GL_FALSE;
2966GLboolean __GLEW_EXT_coordinate_frame = GL_FALSE;
2967GLboolean __GLEW_EXT_copy_texture = GL_FALSE;
2968GLboolean __GLEW_EXT_cull_vertex = GL_FALSE;
2969GLboolean __GLEW_EXT_debug_marker = GL_FALSE;
2970GLboolean __GLEW_EXT_depth_bounds_test = GL_FALSE;
2971GLboolean __GLEW_EXT_direct_state_access = GL_FALSE;
2972GLboolean __GLEW_EXT_draw_buffers2 = GL_FALSE;
2973GLboolean __GLEW_EXT_draw_instanced = GL_FALSE;
2974GLboolean __GLEW_EXT_draw_range_elements = GL_FALSE;
2975GLboolean __GLEW_EXT_fog_coord = GL_FALSE;
2976GLboolean __GLEW_EXT_fragment_lighting = GL_FALSE;
2977GLboolean __GLEW_EXT_framebuffer_blit = GL_FALSE;
2978GLboolean __GLEW_EXT_framebuffer_multisample = GL_FALSE;
2979GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled = GL_FALSE;
2980GLboolean __GLEW_EXT_framebuffer_object = GL_FALSE;
2981GLboolean __GLEW_EXT_framebuffer_sRGB = GL_FALSE;
2982GLboolean __GLEW_EXT_geometry_shader4 = GL_FALSE;
2983GLboolean __GLEW_EXT_gpu_program_parameters = GL_FALSE;
2984GLboolean __GLEW_EXT_gpu_shader4 = GL_FALSE;
2985GLboolean __GLEW_EXT_histogram = GL_FALSE;
2986GLboolean __GLEW_EXT_index_array_formats = GL_FALSE;
2987GLboolean __GLEW_EXT_index_func = GL_FALSE;
2988GLboolean __GLEW_EXT_index_material = GL_FALSE;
2989GLboolean __GLEW_EXT_index_texture = GL_FALSE;
2990GLboolean __GLEW_EXT_light_texture = GL_FALSE;
2991GLboolean __GLEW_EXT_misc_attribute = GL_FALSE;
2992GLboolean __GLEW_EXT_multi_draw_arrays = GL_FALSE;
2993GLboolean __GLEW_EXT_multisample = GL_FALSE;
2994GLboolean __GLEW_EXT_packed_depth_stencil = GL_FALSE;
2995GLboolean __GLEW_EXT_packed_float = GL_FALSE;
2996GLboolean __GLEW_EXT_packed_pixels = GL_FALSE;
2997GLboolean __GLEW_EXT_paletted_texture = GL_FALSE;
2998GLboolean __GLEW_EXT_pixel_buffer_object = GL_FALSE;
2999GLboolean __GLEW_EXT_pixel_transform = GL_FALSE;
3000GLboolean __GLEW_EXT_pixel_transform_color_table = GL_FALSE;
3001GLboolean __GLEW_EXT_point_parameters = GL_FALSE;
3002GLboolean __GLEW_EXT_polygon_offset = GL_FALSE;
3003GLboolean __GLEW_EXT_provoking_vertex = GL_FALSE;
3004GLboolean __GLEW_EXT_rescale_normal = GL_FALSE;
3005GLboolean __GLEW_EXT_scene_marker = GL_FALSE;
3006GLboolean __GLEW_EXT_secondary_color = GL_FALSE;
3007GLboolean __GLEW_EXT_separate_shader_objects = GL_FALSE;
3008GLboolean __GLEW_EXT_separate_specular_color = GL_FALSE;
3009GLboolean __GLEW_EXT_shader_image_load_store = GL_FALSE;
3010GLboolean __GLEW_EXT_shadow_funcs = GL_FALSE;
3011GLboolean __GLEW_EXT_shared_texture_palette = GL_FALSE;
3012GLboolean __GLEW_EXT_stencil_clear_tag = GL_FALSE;
3013GLboolean __GLEW_EXT_stencil_two_side = GL_FALSE;
3014GLboolean __GLEW_EXT_stencil_wrap = GL_FALSE;
3015GLboolean __GLEW_EXT_subtexture = GL_FALSE;
3016GLboolean __GLEW_EXT_texture = GL_FALSE;
3017GLboolean __GLEW_EXT_texture3D = GL_FALSE;
3018GLboolean __GLEW_EXT_texture_array = GL_FALSE;
3019GLboolean __GLEW_EXT_texture_buffer_object = GL_FALSE;
3020GLboolean __GLEW_EXT_texture_compression_dxt1 = GL_FALSE;
3021GLboolean __GLEW_EXT_texture_compression_latc = GL_FALSE;
3022GLboolean __GLEW_EXT_texture_compression_rgtc = GL_FALSE;
3023GLboolean __GLEW_EXT_texture_compression_s3tc = GL_FALSE;
3024GLboolean __GLEW_EXT_texture_cube_map = GL_FALSE;
3025GLboolean __GLEW_EXT_texture_edge_clamp = GL_FALSE;
3026GLboolean __GLEW_EXT_texture_env = GL_FALSE;
3027GLboolean __GLEW_EXT_texture_env_add = GL_FALSE;
3028GLboolean __GLEW_EXT_texture_env_combine = GL_FALSE;
3029GLboolean __GLEW_EXT_texture_env_dot3 = GL_FALSE;
3030GLboolean __GLEW_EXT_texture_filter_anisotropic = GL_FALSE;
3031GLboolean __GLEW_EXT_texture_integer = GL_FALSE;
3032GLboolean __GLEW_EXT_texture_lod_bias = GL_FALSE;
3033GLboolean __GLEW_EXT_texture_mirror_clamp = GL_FALSE;
3034GLboolean __GLEW_EXT_texture_object = GL_FALSE;
3035GLboolean __GLEW_EXT_texture_perturb_normal = GL_FALSE;
3036GLboolean __GLEW_EXT_texture_rectangle = GL_FALSE;
3037GLboolean __GLEW_EXT_texture_sRGB = GL_FALSE;
3038GLboolean __GLEW_EXT_texture_sRGB_decode = GL_FALSE;
3039GLboolean __GLEW_EXT_texture_shared_exponent = GL_FALSE;
3040GLboolean __GLEW_EXT_texture_snorm = GL_FALSE;
3041GLboolean __GLEW_EXT_texture_swizzle = GL_FALSE;
3042GLboolean __GLEW_EXT_timer_query = GL_FALSE;
3043GLboolean __GLEW_EXT_transform_feedback = GL_FALSE;
3044GLboolean __GLEW_EXT_vertex_array = GL_FALSE;
3045GLboolean __GLEW_EXT_vertex_array_bgra = GL_FALSE;
3046GLboolean __GLEW_EXT_vertex_attrib_64bit = GL_FALSE;
3047GLboolean __GLEW_EXT_vertex_shader = GL_FALSE;
3048GLboolean __GLEW_EXT_vertex_weighting = GL_FALSE;
3049GLboolean __GLEW_EXT_x11_sync_object = GL_FALSE;
3050GLboolean __GLEW_GREMEDY_frame_terminator = GL_FALSE;
3051GLboolean __GLEW_GREMEDY_string_marker = GL_FALSE;
3052GLboolean __GLEW_HP_convolution_border_modes = GL_FALSE;
3053GLboolean __GLEW_HP_image_transform = GL_FALSE;
3054GLboolean __GLEW_HP_occlusion_test = GL_FALSE;
3055GLboolean __GLEW_HP_texture_lighting = GL_FALSE;
3056GLboolean __GLEW_IBM_cull_vertex = GL_FALSE;
3057GLboolean __GLEW_IBM_multimode_draw_arrays = GL_FALSE;
3058GLboolean __GLEW_IBM_rasterpos_clip = GL_FALSE;
3059GLboolean __GLEW_IBM_static_data = GL_FALSE;
3060GLboolean __GLEW_IBM_texture_mirrored_repeat = GL_FALSE;
3061GLboolean __GLEW_IBM_vertex_array_lists = GL_FALSE;
3062GLboolean __GLEW_INGR_color_clamp = GL_FALSE;
3063GLboolean __GLEW_INGR_interlace_read = GL_FALSE;
3064GLboolean __GLEW_INTEL_map_texture = GL_FALSE;
3065GLboolean __GLEW_INTEL_parallel_arrays = GL_FALSE;
3066GLboolean __GLEW_INTEL_texture_scissor = GL_FALSE;
3067GLboolean __GLEW_KHR_debug = GL_FALSE;
3068GLboolean __GLEW_KHR_texture_compression_astc_ldr = GL_FALSE;
3069GLboolean __GLEW_KTX_buffer_region = GL_FALSE;
3070GLboolean __GLEW_MESAX_texture_stack = GL_FALSE;
3071GLboolean __GLEW_MESA_pack_invert = GL_FALSE;
3072GLboolean __GLEW_MESA_resize_buffers = GL_FALSE;
3073GLboolean __GLEW_MESA_window_pos = GL_FALSE;
3074GLboolean __GLEW_MESA_ycbcr_texture = GL_FALSE;
3075GLboolean __GLEW_NVX_conditional_render = GL_FALSE;
3076GLboolean __GLEW_NVX_gpu_memory_info = GL_FALSE;
3077GLboolean __GLEW_NV_bindless_multi_draw_indirect = GL_FALSE;
3078GLboolean __GLEW_NV_bindless_texture = GL_FALSE;
3079GLboolean __GLEW_NV_blend_equation_advanced = GL_FALSE;
3080GLboolean __GLEW_NV_blend_equation_advanced_coherent = GL_FALSE;
3081GLboolean __GLEW_NV_blend_square = GL_FALSE;
3082GLboolean __GLEW_NV_compute_program5 = GL_FALSE;
3083GLboolean __GLEW_NV_conditional_render = GL_FALSE;
3084GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE;
3085GLboolean __GLEW_NV_copy_image = GL_FALSE;
3086GLboolean __GLEW_NV_deep_texture3D = GL_FALSE;
3087GLboolean __GLEW_NV_depth_buffer_float = GL_FALSE;
3088GLboolean __GLEW_NV_depth_clamp = GL_FALSE;
3089GLboolean __GLEW_NV_depth_range_unclamped = GL_FALSE;
3090GLboolean __GLEW_NV_draw_texture = GL_FALSE;
3091GLboolean __GLEW_NV_evaluators = GL_FALSE;
3092GLboolean __GLEW_NV_explicit_multisample = GL_FALSE;
3093GLboolean __GLEW_NV_fence = GL_FALSE;
3094GLboolean __GLEW_NV_float_buffer = GL_FALSE;
3095GLboolean __GLEW_NV_fog_distance = GL_FALSE;
3096GLboolean __GLEW_NV_fragment_program = GL_FALSE;
3097GLboolean __GLEW_NV_fragment_program2 = GL_FALSE;
3098GLboolean __GLEW_NV_fragment_program4 = GL_FALSE;
3099GLboolean __GLEW_NV_fragment_program_option = GL_FALSE;
3100GLboolean __GLEW_NV_framebuffer_multisample_coverage = GL_FALSE;
3101GLboolean __GLEW_NV_geometry_program4 = GL_FALSE;
3102GLboolean __GLEW_NV_geometry_shader4 = GL_FALSE;
3103GLboolean __GLEW_NV_gpu_program4 = GL_FALSE;
3104GLboolean __GLEW_NV_gpu_program5 = GL_FALSE;
3105GLboolean __GLEW_NV_gpu_program5_mem_extended = GL_FALSE;
3106GLboolean __GLEW_NV_gpu_program_fp64 = GL_FALSE;
3107GLboolean __GLEW_NV_gpu_shader5 = GL_FALSE;
3108GLboolean __GLEW_NV_half_float = GL_FALSE;
3109GLboolean __GLEW_NV_light_max_exponent = GL_FALSE;
3110GLboolean __GLEW_NV_multisample_coverage = GL_FALSE;
3111GLboolean __GLEW_NV_multisample_filter_hint = GL_FALSE;
3112GLboolean __GLEW_NV_occlusion_query = GL_FALSE;
3113GLboolean __GLEW_NV_packed_depth_stencil = GL_FALSE;
3114GLboolean __GLEW_NV_parameter_buffer_object = GL_FALSE;
3115GLboolean __GLEW_NV_parameter_buffer_object2 = GL_FALSE;
3116GLboolean __GLEW_NV_path_rendering = GL_FALSE;
3117GLboolean __GLEW_NV_pixel_data_range = GL_FALSE;
3118GLboolean __GLEW_NV_point_sprite = GL_FALSE;
3119GLboolean __GLEW_NV_present_video = GL_FALSE;
3120GLboolean __GLEW_NV_primitive_restart = GL_FALSE;
3121GLboolean __GLEW_NV_register_combiners = GL_FALSE;
3122GLboolean __GLEW_NV_register_combiners2 = GL_FALSE;
3123GLboolean __GLEW_NV_shader_atomic_counters = GL_FALSE;
3124GLboolean __GLEW_NV_shader_atomic_float = GL_FALSE;
3125GLboolean __GLEW_NV_shader_buffer_load = GL_FALSE;
3126GLboolean __GLEW_NV_shader_storage_buffer_object = GL_FALSE;
3127GLboolean __GLEW_NV_tessellation_program5 = GL_FALSE;
3128GLboolean __GLEW_NV_texgen_emboss = GL_FALSE;
3129GLboolean __GLEW_NV_texgen_reflection = GL_FALSE;
3130GLboolean __GLEW_NV_texture_barrier = GL_FALSE;
3131GLboolean __GLEW_NV_texture_compression_vtc = GL_FALSE;
3132GLboolean __GLEW_NV_texture_env_combine4 = GL_FALSE;
3133GLboolean __GLEW_NV_texture_expand_normal = GL_FALSE;
3134GLboolean __GLEW_NV_texture_multisample = GL_FALSE;
3135GLboolean __GLEW_NV_texture_rectangle = GL_FALSE;
3136GLboolean __GLEW_NV_texture_shader = GL_FALSE;
3137GLboolean __GLEW_NV_texture_shader2 = GL_FALSE;
3138GLboolean __GLEW_NV_texture_shader3 = GL_FALSE;
3139GLboolean __GLEW_NV_transform_feedback = GL_FALSE;
3140GLboolean __GLEW_NV_transform_feedback2 = GL_FALSE;
3141GLboolean __GLEW_NV_vdpau_interop = GL_FALSE;
3142GLboolean __GLEW_NV_vertex_array_range = GL_FALSE;
3143GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE;
3144GLboolean __GLEW_NV_vertex_attrib_integer_64bit = GL_FALSE;
3145GLboolean __GLEW_NV_vertex_buffer_unified_memory = GL_FALSE;
3146GLboolean __GLEW_NV_vertex_program = GL_FALSE;
3147GLboolean __GLEW_NV_vertex_program1_1 = GL_FALSE;
3148GLboolean __GLEW_NV_vertex_program2 = GL_FALSE;
3149GLboolean __GLEW_NV_vertex_program2_option = GL_FALSE;
3150GLboolean __GLEW_NV_vertex_program3 = GL_FALSE;
3151GLboolean __GLEW_NV_vertex_program4 = GL_FALSE;
3152GLboolean __GLEW_NV_video_capture = GL_FALSE;
3153GLboolean __GLEW_OES_byte_coordinates = GL_FALSE;
3154GLboolean __GLEW_OES_compressed_paletted_texture = GL_FALSE;
3155GLboolean __GLEW_OES_read_format = GL_FALSE;
3156GLboolean __GLEW_OES_single_precision = GL_FALSE;
3157GLboolean __GLEW_OML_interlace = GL_FALSE;
3158GLboolean __GLEW_OML_resample = GL_FALSE;
3159GLboolean __GLEW_OML_subsample = GL_FALSE;
3160GLboolean __GLEW_PGI_misc_hints = GL_FALSE;
3161GLboolean __GLEW_PGI_vertex_hints = GL_FALSE;
3162GLboolean __GLEW_REGAL_ES1_0_compatibility = GL_FALSE;
3163GLboolean __GLEW_REGAL_ES1_1_compatibility = GL_FALSE;
3164GLboolean __GLEW_REGAL_enable = GL_FALSE;
3165GLboolean __GLEW_REGAL_error_string = GL_FALSE;
3166GLboolean __GLEW_REGAL_extension_query = GL_FALSE;
3167GLboolean __GLEW_REGAL_log = GL_FALSE;
3168GLboolean __GLEW_REND_screen_coordinates = GL_FALSE;
3169GLboolean __GLEW_S3_s3tc = GL_FALSE;
3170GLboolean __GLEW_SGIS_color_range = GL_FALSE;
3171GLboolean __GLEW_SGIS_detail_texture = GL_FALSE;
3172GLboolean __GLEW_SGIS_fog_function = GL_FALSE;
3173GLboolean __GLEW_SGIS_generate_mipmap = GL_FALSE;
3174GLboolean __GLEW_SGIS_multisample = GL_FALSE;
3175GLboolean __GLEW_SGIS_pixel_texture = GL_FALSE;
3176GLboolean __GLEW_SGIS_point_line_texgen = GL_FALSE;
3177GLboolean __GLEW_SGIS_sharpen_texture = GL_FALSE;
3178GLboolean __GLEW_SGIS_texture4D = GL_FALSE;
3179GLboolean __GLEW_SGIS_texture_border_clamp = GL_FALSE;
3180GLboolean __GLEW_SGIS_texture_edge_clamp = GL_FALSE;
3181GLboolean __GLEW_SGIS_texture_filter4 = GL_FALSE;
3182GLboolean __GLEW_SGIS_texture_lod = GL_FALSE;
3183GLboolean __GLEW_SGIS_texture_select = GL_FALSE;
3184GLboolean __GLEW_SGIX_async = GL_FALSE;
3185GLboolean __GLEW_SGIX_async_histogram = GL_FALSE;
3186GLboolean __GLEW_SGIX_async_pixel = GL_FALSE;
3187GLboolean __GLEW_SGIX_blend_alpha_minmax = GL_FALSE;
3188GLboolean __GLEW_SGIX_clipmap = GL_FALSE;
3189GLboolean __GLEW_SGIX_convolution_accuracy = GL_FALSE;
3190GLboolean __GLEW_SGIX_depth_texture = GL_FALSE;
3191GLboolean __GLEW_SGIX_flush_raster = GL_FALSE;
3192GLboolean __GLEW_SGIX_fog_offset = GL_FALSE;
3193GLboolean __GLEW_SGIX_fog_texture = GL_FALSE;
3194GLboolean __GLEW_SGIX_fragment_specular_lighting = GL_FALSE;
3195GLboolean __GLEW_SGIX_framezoom = GL_FALSE;
3196GLboolean __GLEW_SGIX_interlace = GL_FALSE;
3197GLboolean __GLEW_SGIX_ir_instrument1 = GL_FALSE;
3198GLboolean __GLEW_SGIX_list_priority = GL_FALSE;
3199GLboolean __GLEW_SGIX_pixel_texture = GL_FALSE;
3200GLboolean __GLEW_SGIX_pixel_texture_bits = GL_FALSE;
3201GLboolean __GLEW_SGIX_reference_plane = GL_FALSE;
3202GLboolean __GLEW_SGIX_resample = GL_FALSE;
3203GLboolean __GLEW_SGIX_shadow = GL_FALSE;
3204GLboolean __GLEW_SGIX_shadow_ambient = GL_FALSE;
3205GLboolean __GLEW_SGIX_sprite = GL_FALSE;
3206GLboolean __GLEW_SGIX_tag_sample_buffer = GL_FALSE;
3207GLboolean __GLEW_SGIX_texture_add_env = GL_FALSE;
3208GLboolean __GLEW_SGIX_texture_coordinate_clamp = GL_FALSE;
3209GLboolean __GLEW_SGIX_texture_lod_bias = GL_FALSE;
3210GLboolean __GLEW_SGIX_texture_multi_buffer = GL_FALSE;
3211GLboolean __GLEW_SGIX_texture_range = GL_FALSE;
3212GLboolean __GLEW_SGIX_texture_scale_bias = GL_FALSE;
3213GLboolean __GLEW_SGIX_vertex_preclip = GL_FALSE;
3214GLboolean __GLEW_SGIX_vertex_preclip_hint = GL_FALSE;
3215GLboolean __GLEW_SGIX_ycrcb = GL_FALSE;
3216GLboolean __GLEW_SGI_color_matrix = GL_FALSE;
3217GLboolean __GLEW_SGI_color_table = GL_FALSE;
3218GLboolean __GLEW_SGI_texture_color_table = GL_FALSE;
3219GLboolean __GLEW_SUNX_constant_data = GL_FALSE;
3220GLboolean __GLEW_SUN_convolution_border_modes = GL_FALSE;
3221GLboolean __GLEW_SUN_global_alpha = GL_FALSE;
3222GLboolean __GLEW_SUN_mesh_array = GL_FALSE;
3223GLboolean __GLEW_SUN_read_video_pixels = GL_FALSE;
3224GLboolean __GLEW_SUN_slice_accum = GL_FALSE;
3225GLboolean __GLEW_SUN_triangle_list = GL_FALSE;
3226GLboolean __GLEW_SUN_vertex = GL_FALSE;
3227GLboolean __GLEW_WIN_phong_shading = GL_FALSE;
3228GLboolean __GLEW_WIN_specular_fog = GL_FALSE;
3229GLboolean __GLEW_WIN_swap_hint = GL_FALSE;
3230
3231#endif /* !GLEW_MX */
3232
3233#ifdef GL_VERSION_1_2
3234
3235static GLboolean _glewInit_GL_VERSION_1_2 (GLEW_CONTEXT_ARG_DEF_INIT)
3236{
3237 GLboolean r = GL_FALSE;
3238
3239 r = ((glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3D")) == NULL) || r;
3240 r = ((glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElements")) == NULL) || r;
3241 r = ((glTexImage3D = (PFNGLTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexImage3D")) == NULL) || r;
3242 r = ((glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3D")) == NULL) || r;
3243
3244 return r;
3245}
3246
3247#endif /* GL_VERSION_1_2 */
3248
3249#ifdef GL_VERSION_1_2_1
3250
3251#endif /* GL_VERSION_1_2_1 */
3252
3253#ifdef GL_VERSION_1_3
3254
3255static GLboolean _glewInit_GL_VERSION_1_3 (GLEW_CONTEXT_ARG_DEF_INIT)
3256{
3257 GLboolean r = GL_FALSE;
3258
3259 r = ((glActiveTexture = (PFNGLACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glActiveTexture")) == NULL) || r;
3260 r = ((glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTexture")) == NULL) || r;
3261 r = ((glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1D")) == NULL) || r;
3262 r = ((glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2D")) == NULL) || r;
3263 r = ((glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3D")) == NULL) || r;
3264 r = ((glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1D")) == NULL) || r;
3265 r = ((glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2D")) == NULL) || r;
3266 r = ((glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3D")) == NULL) || r;
3267 r = ((glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImage")) == NULL) || r;
3268 r = ((glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixd")) == NULL) || r;
3269 r = ((glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixf")) == NULL) || r;
3270 r = ((glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixd")) == NULL) || r;
3271 r = ((glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixf")) == NULL) || r;
3272 r = ((glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1d")) == NULL) || r;
3273 r = ((glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dv")) == NULL) || r;
3274 r = ((glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1f")) == NULL) || r;
3275 r = ((glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fv")) == NULL) || r;
3276 r = ((glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1i")) == NULL) || r;
3277 r = ((glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iv")) == NULL) || r;
3278 r = ((glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1s")) == NULL) || r;
3279 r = ((glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sv")) == NULL) || r;
3280 r = ((glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2d")) == NULL) || r;
3281 r = ((glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dv")) == NULL) || r;
3282 r = ((glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2f")) == NULL) || r;
3283 r = ((glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fv")) == NULL) || r;
3284 r = ((glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2i")) == NULL) || r;
3285 r = ((glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iv")) == NULL) || r;
3286 r = ((glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2s")) == NULL) || r;
3287 r = ((glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sv")) == NULL) || r;
3288 r = ((glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3d")) == NULL) || r;
3289 r = ((glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dv")) == NULL) || r;
3290 r = ((glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3f")) == NULL) || r;
3291 r = ((glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fv")) == NULL) || r;
3292 r = ((glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3i")) == NULL) || r;
3293 r = ((glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iv")) == NULL) || r;
3294 r = ((glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3s")) == NULL) || r;
3295 r = ((glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sv")) == NULL) || r;
3296 r = ((glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4d")) == NULL) || r;
3297 r = ((glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dv")) == NULL) || r;
3298 r = ((glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4f")) == NULL) || r;
3299 r = ((glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fv")) == NULL) || r;
3300 r = ((glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4i")) == NULL) || r;
3301 r = ((glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iv")) == NULL) || r;
3302 r = ((glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4s")) == NULL) || r;
3303 r = ((glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sv")) == NULL) || r;
3304 r = ((glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverage")) == NULL) || r;
3305
3306 return r;
3307}
3308
3309#endif /* GL_VERSION_1_3 */
3310
3311#ifdef GL_VERSION_1_4
3312
3313static GLboolean _glewInit_GL_VERSION_1_4 (GLEW_CONTEXT_ARG_DEF_INIT)
3314{
3315 GLboolean r = GL_FALSE;
3316
3317 r = ((glBlendColor = (PFNGLBLENDCOLORPROC)glewGetProcAddress((const GLubyte*)"glBlendColor")) == NULL) || r;
3318 r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
3319 r = ((glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparate")) == NULL) || r;
3320 r = ((glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointer")) == NULL) || r;
3321 r = ((glFogCoordd = (PFNGLFOGCOORDDPROC)glewGetProcAddress((const GLubyte*)"glFogCoordd")) == NULL) || r;
3322 r = ((glFogCoorddv = (PFNGLFOGCOORDDVPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddv")) == NULL) || r;
3323 r = ((glFogCoordf = (PFNGLFOGCOORDFPROC)glewGetProcAddress((const GLubyte*)"glFogCoordf")) == NULL) || r;
3324 r = ((glFogCoordfv = (PFNGLFOGCOORDFVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfv")) == NULL) || r;
3325 r = ((glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArrays")) == NULL) || r;
3326 r = ((glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElements")) == NULL) || r;
3327 r = ((glPointParameterf = (PFNGLPOINTPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glPointParameterf")) == NULL) || r;
3328 r = ((glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfv")) == NULL) || r;
3329 r = ((glPointParameteri = (PFNGLPOINTPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPointParameteri")) == NULL) || r;
3330 r = ((glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriv")) == NULL) || r;
3331 r = ((glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3b")) == NULL) || r;
3332 r = ((glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bv")) == NULL) || r;
3333 r = ((glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3d")) == NULL) || r;
3334 r = ((glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dv")) == NULL) || r;
3335 r = ((glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3f")) == NULL) || r;
3336 r = ((glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fv")) == NULL) || r;
3337 r = ((glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3i")) == NULL) || r;
3338 r = ((glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iv")) == NULL) || r;
3339 r = ((glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3s")) == NULL) || r;
3340 r = ((glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sv")) == NULL) || r;
3341 r = ((glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ub")) == NULL) || r;
3342 r = ((glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubv")) == NULL) || r;
3343 r = ((glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ui")) == NULL) || r;
3344 r = ((glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiv")) == NULL) || r;
3345 r = ((glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3us")) == NULL) || r;
3346 r = ((glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usv")) == NULL) || r;
3347 r = ((glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointer")) == NULL) || r;
3348 r = ((glWindowPos2d = (PFNGLWINDOWPOS2DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2d")) == NULL) || r;
3349 r = ((glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dv")) == NULL) || r;
3350 r = ((glWindowPos2f = (PFNGLWINDOWPOS2FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2f")) == NULL) || r;
3351 r = ((glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fv")) == NULL) || r;
3352 r = ((glWindowPos2i = (PFNGLWINDOWPOS2IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2i")) == NULL) || r;
3353 r = ((glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iv")) == NULL) || r;
3354 r = ((glWindowPos2s = (PFNGLWINDOWPOS2SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2s")) == NULL) || r;
3355 r = ((glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sv")) == NULL) || r;
3356 r = ((glWindowPos3d = (PFNGLWINDOWPOS3DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3d")) == NULL) || r;
3357 r = ((glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dv")) == NULL) || r;
3358 r = ((glWindowPos3f = (PFNGLWINDOWPOS3FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3f")) == NULL) || r;
3359 r = ((glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fv")) == NULL) || r;
3360 r = ((glWindowPos3i = (PFNGLWINDOWPOS3IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3i")) == NULL) || r;
3361 r = ((glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iv")) == NULL) || r;
3362 r = ((glWindowPos3s = (PFNGLWINDOWPOS3SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3s")) == NULL) || r;
3363 r = ((glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sv")) == NULL) || r;
3364
3365 return r;
3366}
3367
3368#endif /* GL_VERSION_1_4 */
3369
3370#ifdef GL_VERSION_1_5
3371
3372static GLboolean _glewInit_GL_VERSION_1_5 (GLEW_CONTEXT_ARG_DEF_INIT)
3373{
3374 GLboolean r = GL_FALSE;
3375
3376 r = ((glBeginQuery = (PFNGLBEGINQUERYPROC)glewGetProcAddress((const GLubyte*)"glBeginQuery")) == NULL) || r;
3377 r = ((glBindBuffer = (PFNGLBINDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindBuffer")) == NULL) || r;
3378 r = ((glBufferData = (PFNGLBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferData")) == NULL) || r;
3379 r = ((glBufferSubData = (PFNGLBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferSubData")) == NULL) || r;
3380 r = ((glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffers")) == NULL) || r;
3381 r = ((glDeleteQueries = (PFNGLDELETEQUERIESPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueries")) == NULL) || r;
3382 r = ((glEndQuery = (PFNGLENDQUERYPROC)glewGetProcAddress((const GLubyte*)"glEndQuery")) == NULL) || r;
3383 r = ((glGenBuffers = (PFNGLGENBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenBuffers")) == NULL) || r;
3384 r = ((glGenQueries = (PFNGLGENQUERIESPROC)glewGetProcAddress((const GLubyte*)"glGenQueries")) == NULL) || r;
3385 r = ((glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteriv")) == NULL) || r;
3386 r = ((glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointerv")) == NULL) || r;
3387 r = ((glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubData")) == NULL) || r;
3388 r = ((glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectiv")) == NULL) || r;
3389 r = ((glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuiv")) == NULL) || r;
3390 r = ((glGetQueryiv = (PFNGLGETQUERYIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryiv")) == NULL) || r;
3391 r = ((glIsBuffer = (PFNGLISBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsBuffer")) == NULL) || r;
3392 r = ((glIsQuery = (PFNGLISQUERYPROC)glewGetProcAddress((const GLubyte*)"glIsQuery")) == NULL) || r;
3393 r = ((glMapBuffer = (PFNGLMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glMapBuffer")) == NULL) || r;
3394 r = ((glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glUnmapBuffer")) == NULL) || r;
3395
3396 return r;
3397}
3398
3399#endif /* GL_VERSION_1_5 */
3400
3401#ifdef GL_VERSION_2_0
3402
3403static GLboolean _glewInit_GL_VERSION_2_0 (GLEW_CONTEXT_ARG_DEF_INIT)
3404{
3405 GLboolean r = GL_FALSE;
3406
3407 r = ((glAttachShader = (PFNGLATTACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glAttachShader")) == NULL) || r;
3408 r = ((glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocation")) == NULL) || r;
3409 r = ((glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparate")) == NULL) || r;
3410 r = ((glCompileShader = (PFNGLCOMPILESHADERPROC)glewGetProcAddress((const GLubyte*)"glCompileShader")) == NULL) || r;
3411 r = ((glCreateProgram = (PFNGLCREATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glCreateProgram")) == NULL) || r;
3412 r = ((glCreateShader = (PFNGLCREATESHADERPROC)glewGetProcAddress((const GLubyte*)"glCreateShader")) == NULL) || r;
3413 r = ((glDeleteProgram = (PFNGLDELETEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgram")) == NULL) || r;
3414 r = ((glDeleteShader = (PFNGLDELETESHADERPROC)glewGetProcAddress((const GLubyte*)"glDeleteShader")) == NULL) || r;
3415 r = ((glDetachShader = (PFNGLDETACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glDetachShader")) == NULL) || r;
3416 r = ((glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArray")) == NULL) || r;
3417 r = ((glDrawBuffers = (PFNGLDRAWBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffers")) == NULL) || r;
3418 r = ((glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArray")) == NULL) || r;
3419 r = ((glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttrib")) == NULL) || r;
3420 r = ((glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniform")) == NULL) || r;
3421 r = ((glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedShaders")) == NULL) || r;
3422 r = ((glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocation")) == NULL) || r;
3423 r = ((glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInfoLog")) == NULL) || r;
3424 r = ((glGetProgramiv = (PFNGLGETPROGRAMIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramiv")) == NULL) || r;
3425 r = ((glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetShaderInfoLog")) == NULL) || r;
3426 r = ((glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSource")) == NULL) || r;
3427 r = ((glGetShaderiv = (PFNGLGETSHADERIVPROC)glewGetProcAddress((const GLubyte*)"glGetShaderiv")) == NULL) || r;
3428 r = ((glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocation")) == NULL) || r;
3429 r = ((glGetUniformfv = (PFNGLGETUNIFORMFVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfv")) == NULL) || r;
3430 r = ((glGetUniformiv = (PFNGLGETUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformiv")) == NULL) || r;
3431 r = ((glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointerv")) == NULL) || r;
3432 r = ((glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdv")) == NULL) || r;
3433 r = ((glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfv")) == NULL) || r;
3434 r = ((glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribiv")) == NULL) || r;
3435 r = ((glIsProgram = (PFNGLISPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glIsProgram")) == NULL) || r;
3436 r = ((glIsShader = (PFNGLISSHADERPROC)glewGetProcAddress((const GLubyte*)"glIsShader")) == NULL) || r;
3437 r = ((glLinkProgram = (PFNGLLINKPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glLinkProgram")) == NULL) || r;
3438 r = ((glShaderSource = (PFNGLSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glShaderSource")) == NULL) || r;
3439 r = ((glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparate")) == NULL) || r;
3440 r = ((glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilMaskSeparate")) == NULL) || r;
3441 r = ((glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparate")) == NULL) || r;
3442 r = ((glUniform1f = (PFNGLUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glUniform1f")) == NULL) || r;
3443 r = ((glUniform1fv = (PFNGLUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glUniform1fv")) == NULL) || r;
3444 r = ((glUniform1i = (PFNGLUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glUniform1i")) == NULL) || r;
3445 r = ((glUniform1iv = (PFNGLUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glUniform1iv")) == NULL) || r;
3446 r = ((glUniform2f = (PFNGLUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glUniform2f")) == NULL) || r;
3447 r = ((glUniform2fv = (PFNGLUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glUniform2fv")) == NULL) || r;
3448 r = ((glUniform2i = (PFNGLUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glUniform2i")) == NULL) || r;
3449 r = ((glUniform2iv = (PFNGLUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glUniform2iv")) == NULL) || r;
3450 r = ((glUniform3f = (PFNGLUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glUniform3f")) == NULL) || r;
3451 r = ((glUniform3fv = (PFNGLUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glUniform3fv")) == NULL) || r;
3452 r = ((glUniform3i = (PFNGLUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glUniform3i")) == NULL) || r;
3453 r = ((glUniform3iv = (PFNGLUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glUniform3iv")) == NULL) || r;
3454 r = ((glUniform4f = (PFNGLUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glUniform4f")) == NULL) || r;
3455 r = ((glUniform4fv = (PFNGLUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glUniform4fv")) == NULL) || r;
3456 r = ((glUniform4i = (PFNGLUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glUniform4i")) == NULL) || r;
3457 r = ((glUniform4iv = (PFNGLUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glUniform4iv")) == NULL) || r;
3458 r = ((glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fv")) == NULL) || r;
3459 r = ((glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fv")) == NULL) || r;
3460 r = ((glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fv")) == NULL) || r;
3461 r = ((glUseProgram = (PFNGLUSEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glUseProgram")) == NULL) || r;
3462 r = ((glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glValidateProgram")) == NULL) || r;
3463 r = ((glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1d")) == NULL) || r;
3464 r = ((glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dv")) == NULL) || r;
3465 r = ((glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1f")) == NULL) || r;
3466 r = ((glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fv")) == NULL) || r;
3467 r = ((glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1s")) == NULL) || r;
3468 r = ((glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sv")) == NULL) || r;
3469 r = ((glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2d")) == NULL) || r;
3470 r = ((glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dv")) == NULL) || r;
3471 r = ((glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2f")) == NULL) || r;
3472 r = ((glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fv")) == NULL) || r;
3473 r = ((glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2s")) == NULL) || r;
3474 r = ((glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sv")) == NULL) || r;
3475 r = ((glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3d")) == NULL) || r;
3476 r = ((glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dv")) == NULL) || r;
3477 r = ((glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3f")) == NULL) || r;
3478 r = ((glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fv")) == NULL) || r;
3479 r = ((glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3s")) == NULL) || r;
3480 r = ((glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sv")) == NULL) || r;
3481 r = ((glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nbv")) == NULL) || r;
3482 r = ((glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Niv")) == NULL) || r;
3483 r = ((glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nsv")) == NULL) || r;
3484 r = ((glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nub")) == NULL) || r;
3485 r = ((glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nubv")) == NULL) || r;
3486 r = ((glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nuiv")) == NULL) || r;
3487 r = ((glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nusv")) == NULL) || r;
3488 r = ((glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bv")) == NULL) || r;
3489 r = ((glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4d")) == NULL) || r;
3490 r = ((glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dv")) == NULL) || r;
3491 r = ((glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4f")) == NULL) || r;
3492 r = ((glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fv")) == NULL) || r;
3493 r = ((glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4iv")) == NULL) || r;
3494 r = ((glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4s")) == NULL) || r;
3495 r = ((glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sv")) == NULL) || r;
3496 r = ((glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubv")) == NULL) || r;
3497 r = ((glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uiv")) == NULL) || r;
3498 r = ((glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usv")) == NULL) || r;
3499 r = ((glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointer")) == NULL) || r;
3500
3501 return r;
3502}
3503
3504#endif /* GL_VERSION_2_0 */
3505
3506#ifdef GL_VERSION_2_1
3507
3508static GLboolean _glewInit_GL_VERSION_2_1 (GLEW_CONTEXT_ARG_DEF_INIT)
3509{
3510 GLboolean r = GL_FALSE;
3511
3512 r = ((glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3fv")) == NULL) || r;
3513 r = ((glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4fv")) == NULL) || r;
3514 r = ((glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2fv")) == NULL) || r;
3515 r = ((glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4fv")) == NULL) || r;
3516 r = ((glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2fv")) == NULL) || r;
3517 r = ((glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3fv")) == NULL) || r;
3518
3519 return r;
3520}
3521
3522#endif /* GL_VERSION_2_1 */
3523
3524#ifdef GL_VERSION_3_0
3525
3526static GLboolean _glewInit_GL_VERSION_3_0 (GLEW_CONTEXT_ARG_DEF_INIT)
3527{
3528 GLboolean r = GL_FALSE;
3529
3530 r = ((glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRender")) == NULL) || r;
3531 r = ((glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedback")) == NULL) || r;
3532 r = ((glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocation")) == NULL) || r;
3533 r = ((glClampColor = (PFNGLCLAMPCOLORPROC)glewGetProcAddress((const GLubyte*)"glClampColor")) == NULL) || r;
3534 r = ((glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfi")) == NULL) || r;
3535 r = ((glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfv")) == NULL) || r;
3536 r = ((glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferiv")) == NULL) || r;
3537 r = ((glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferuiv")) == NULL) || r;
3538 r = ((glColorMaski = (PFNGLCOLORMASKIPROC)glewGetProcAddress((const GLubyte*)"glColorMaski")) == NULL) || r;
3539 r = ((glDisablei = (PFNGLDISABLEIPROC)glewGetProcAddress((const GLubyte*)"glDisablei")) == NULL) || r;
3540 r = ((glEnablei = (PFNGLENABLEIPROC)glewGetProcAddress((const GLubyte*)"glEnablei")) == NULL) || r;
3541 r = ((glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRender")) == NULL) || r;
3542 r = ((glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedback")) == NULL) || r;
3543 r = ((glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)glewGetProcAddress((const GLubyte*)"glGetBooleani_v")) == NULL) || r;
3544 r = ((glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocation")) == NULL) || r;
3545 r = ((glGetStringi = (PFNGLGETSTRINGIPROC)glewGetProcAddress((const GLubyte*)"glGetStringi")) == NULL) || r;
3546 r = ((glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIiv")) == NULL) || r;
3547 r = ((glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuiv")) == NULL) || r;
3548 r = ((glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVarying")) == NULL) || r;
3549 r = ((glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuiv")) == NULL) || r;
3550 r = ((glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIiv")) == NULL) || r;
3551 r = ((glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuiv")) == NULL) || r;
3552 r = ((glIsEnabledi = (PFNGLISENABLEDIPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledi")) == NULL) || r;
3553 r = ((glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIiv")) == NULL) || r;
3554 r = ((glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuiv")) == NULL) || r;
3555 r = ((glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryings")) == NULL) || r;
3556 r = ((glUniform1ui = (PFNGLUNIFORM1UIPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui")) == NULL) || r;
3557 r = ((glUniform1uiv = (PFNGLUNIFORM1UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiv")) == NULL) || r;
3558 r = ((glUniform2ui = (PFNGLUNIFORM2UIPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui")) == NULL) || r;
3559 r = ((glUniform2uiv = (PFNGLUNIFORM2UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiv")) == NULL) || r;
3560 r = ((glUniform3ui = (PFNGLUNIFORM3UIPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui")) == NULL) || r;
3561 r = ((glUniform3uiv = (PFNGLUNIFORM3UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiv")) == NULL) || r;
3562 r = ((glUniform4ui = (PFNGLUNIFORM4UIPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui")) == NULL) || r;
3563 r = ((glUniform4uiv = (PFNGLUNIFORM4UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiv")) == NULL) || r;
3564 r = ((glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1i")) == NULL) || r;
3565 r = ((glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iv")) == NULL) || r;
3566 r = ((glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ui")) == NULL) || r;
3567 r = ((glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiv")) == NULL) || r;
3568 r = ((glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2i")) == NULL) || r;
3569 r = ((glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iv")) == NULL) || r;
3570 r = ((glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ui")) == NULL) || r;
3571 r = ((glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiv")) == NULL) || r;
3572 r = ((glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3i")) == NULL) || r;
3573 r = ((glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iv")) == NULL) || r;
3574 r = ((glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ui")) == NULL) || r;
3575 r = ((glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiv")) == NULL) || r;
3576 r = ((glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bv")) == NULL) || r;
3577 r = ((glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4i")) == NULL) || r;
3578 r = ((glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iv")) == NULL) || r;
3579 r = ((glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4sv")) == NULL) || r;
3580 r = ((glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubv")) == NULL) || r;
3581 r = ((glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ui")) == NULL) || r;
3582 r = ((glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiv")) == NULL) || r;
3583 r = ((glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usv")) == NULL) || r;
3584 r = ((glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointer")) == NULL) || r;
3585
3586 return r;
3587}
3588
3589#endif /* GL_VERSION_3_0 */
3590
3591#ifdef GL_VERSION_3_1
3592
3593static GLboolean _glewInit_GL_VERSION_3_1 (GLEW_CONTEXT_ARG_DEF_INIT)
3594{
3595 GLboolean r = GL_FALSE;
3596
3597 r = ((glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstanced")) == NULL) || r;
3598 r = ((glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstanced")) == NULL) || r;
3599 r = ((glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndex")) == NULL) || r;
3600 r = ((glTexBuffer = (PFNGLTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glTexBuffer")) == NULL) || r;
3601
3602 return r;
3603}
3604
3605#endif /* GL_VERSION_3_1 */
3606
3607#ifdef GL_VERSION_3_2
3608
3609static GLboolean _glewInit_GL_VERSION_3_2 (GLEW_CONTEXT_ARG_DEF_INIT)
3610{
3611 GLboolean r = GL_FALSE;
3612
3613 r = ((glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture")) == NULL) || r;
3614 r = ((glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteri64v")) == NULL) || r;
3615 r = ((glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64i_v")) == NULL) || r;
3616
3617 return r;
3618}
3619
3620#endif /* GL_VERSION_3_2 */
3621
3622#ifdef GL_VERSION_3_3
3623
3624static GLboolean _glewInit_GL_VERSION_3_3 (GLEW_CONTEXT_ARG_DEF_INIT)
3625{
3626 GLboolean r = GL_FALSE;
3627
3628 r = ((glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisor")) == NULL) || r;
3629
3630 return r;
3631}
3632
3633#endif /* GL_VERSION_3_3 */
3634
3635#ifdef GL_VERSION_4_0
3636
3637static GLboolean _glewInit_GL_VERSION_4_0 (GLEW_CONTEXT_ARG_DEF_INIT)
3638{
3639 GLboolean r = GL_FALSE;
3640
3641 r = ((glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparatei")) == NULL) || r;
3642 r = ((glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationi")) == NULL) || r;
3643 r = ((glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparatei")) == NULL) || r;
3644 r = ((glBlendFunci = (PFNGLBLENDFUNCIPROC)glewGetProcAddress((const GLubyte*)"glBlendFunci")) == NULL) || r;
3645 r = ((glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShading")) == NULL) || r;
3646
3647 return r;
3648}
3649
3650#endif /* GL_VERSION_4_0 */
3651
3652#ifdef GL_VERSION_4_1
3653
3654#endif /* GL_VERSION_4_1 */
3655
3656#ifdef GL_VERSION_4_2
3657
3658#endif /* GL_VERSION_4_2 */
3659
3660#ifdef GL_VERSION_4_3
3661
3662#endif /* GL_VERSION_4_3 */
3663
3664#ifdef GL_VERSION_4_4
3665
3666#endif /* GL_VERSION_4_4 */
3667
3668#ifdef GL_3DFX_multisample
3669
3670#endif /* GL_3DFX_multisample */
3671
3672#ifdef GL_3DFX_tbuffer
3673
3674static GLboolean _glewInit_GL_3DFX_tbuffer (GLEW_CONTEXT_ARG_DEF_INIT)
3675{
3676 GLboolean r = GL_FALSE;
3677
3678 r = ((glTbufferMask3DFX = (PFNGLTBUFFERMASK3DFXPROC)glewGetProcAddress((const GLubyte*)"glTbufferMask3DFX")) == NULL) || r;
3679
3680 return r;
3681}
3682
3683#endif /* GL_3DFX_tbuffer */
3684
3685#ifdef GL_3DFX_texture_compression_FXT1
3686
3687#endif /* GL_3DFX_texture_compression_FXT1 */
3688
3689#ifdef GL_AMD_blend_minmax_factor
3690
3691#endif /* GL_AMD_blend_minmax_factor */
3692
3693#ifdef GL_AMD_conservative_depth
3694
3695#endif /* GL_AMD_conservative_depth */
3696
3697#ifdef GL_AMD_debug_output
3698
3699static GLboolean _glewInit_GL_AMD_debug_output (GLEW_CONTEXT_ARG_DEF_INIT)
3700{
3701 GLboolean r = GL_FALSE;
3702
3703 r = ((glDebugMessageCallbackAMD = (PFNGLDEBUGMESSAGECALLBACKAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallbackAMD")) == NULL) || r;
3704 r = ((glDebugMessageEnableAMD = (PFNGLDEBUGMESSAGEENABLEAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageEnableAMD")) == NULL) || r;
3705 r = ((glDebugMessageInsertAMD = (PFNGLDEBUGMESSAGEINSERTAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsertAMD")) == NULL) || r;
3706 r = ((glGetDebugMessageLogAMD = (PFNGLGETDEBUGMESSAGELOGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLogAMD")) == NULL) || r;
3707
3708 return r;
3709}
3710
3711#endif /* GL_AMD_debug_output */
3712
3713#ifdef GL_AMD_depth_clamp_separate
3714
3715#endif /* GL_AMD_depth_clamp_separate */
3716
3717#ifdef GL_AMD_draw_buffers_blend
3718
3719static GLboolean _glewInit_GL_AMD_draw_buffers_blend (GLEW_CONTEXT_ARG_DEF_INIT)
3720{
3721 GLboolean r = GL_FALSE;
3722
3723 r = ((glBlendEquationIndexedAMD = (PFNGLBLENDEQUATIONINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationIndexedAMD")) == NULL) || r;
3724 r = ((glBlendEquationSeparateIndexedAMD = (PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateIndexedAMD")) == NULL) || r;
3725 r = ((glBlendFuncIndexedAMD = (PFNGLBLENDFUNCINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncIndexedAMD")) == NULL) || r;
3726 r = ((glBlendFuncSeparateIndexedAMD = (PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateIndexedAMD")) == NULL) || r;
3727
3728 return r;
3729}
3730
3731#endif /* GL_AMD_draw_buffers_blend */
3732
3733#ifdef GL_AMD_interleaved_elements
3734
3735static GLboolean _glewInit_GL_AMD_interleaved_elements (GLEW_CONTEXT_ARG_DEF_INIT)
3736{
3737 GLboolean r = GL_FALSE;
3738
3739 r = ((glVertexAttribParameteriAMD = (PFNGLVERTEXATTRIBPARAMETERIAMDPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribParameteriAMD")) == NULL) || r;
3740
3741 return r;
3742}
3743
3744#endif /* GL_AMD_interleaved_elements */
3745
3746#ifdef GL_AMD_multi_draw_indirect
3747
3748static GLboolean _glewInit_GL_AMD_multi_draw_indirect (GLEW_CONTEXT_ARG_DEF_INIT)
3749{
3750 GLboolean r = GL_FALSE;
3751
3752 r = ((glMultiDrawArraysIndirectAMD = (PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectAMD")) == NULL) || r;
3753 r = ((glMultiDrawElementsIndirectAMD = (PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectAMD")) == NULL) || r;
3754
3755 return r;
3756}
3757
3758#endif /* GL_AMD_multi_draw_indirect */
3759
3760#ifdef GL_AMD_name_gen_delete
3761
3762static GLboolean _glewInit_GL_AMD_name_gen_delete (GLEW_CONTEXT_ARG_DEF_INIT)
3763{
3764 GLboolean r = GL_FALSE;
3765
3766 r = ((glDeleteNamesAMD = (PFNGLDELETENAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamesAMD")) == NULL) || r;
3767 r = ((glGenNamesAMD = (PFNGLGENNAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glGenNamesAMD")) == NULL) || r;
3768 r = ((glIsNameAMD = (PFNGLISNAMEAMDPROC)glewGetProcAddress((const GLubyte*)"glIsNameAMD")) == NULL) || r;
3769
3770 return r;
3771}
3772
3773#endif /* GL_AMD_name_gen_delete */
3774
3775#ifdef GL_AMD_performance_monitor
3776
3777static GLboolean _glewInit_GL_AMD_performance_monitor (GLEW_CONTEXT_ARG_DEF_INIT)
3778{
3779 GLboolean r = GL_FALSE;
3780
3781 r = ((glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glBeginPerfMonitorAMD")) == NULL) || r;
3782 r = ((glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glDeletePerfMonitorsAMD")) == NULL) || r;
3783 r = ((glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glEndPerfMonitorAMD")) == NULL) || r;
3784 r = ((glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glGenPerfMonitorsAMD")) == NULL) || r;
3785 r = ((glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterDataAMD")) == NULL) || r;
3786 r = ((glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterInfoAMD")) == NULL) || r;
3787 r = ((glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterStringAMD")) == NULL) || r;
3788 r = ((glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCountersAMD")) == NULL) || r;
3789 r = ((glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupStringAMD")) == NULL) || r;
3790 r = ((glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupsAMD")) == NULL) || r;
3791 r = ((glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glSelectPerfMonitorCountersAMD")) == NULL) || r;
3792
3793 return r;
3794}
3795
3796#endif /* GL_AMD_performance_monitor */
3797
3798#ifdef GL_AMD_pinned_memory
3799
3800#endif /* GL_AMD_pinned_memory */
3801
3802#ifdef GL_AMD_query_buffer_object
3803
3804#endif /* GL_AMD_query_buffer_object */
3805
3806#ifdef GL_AMD_sample_positions
3807
3808static GLboolean _glewInit_GL_AMD_sample_positions (GLEW_CONTEXT_ARG_DEF_INIT)
3809{
3810 GLboolean r = GL_FALSE;
3811
3812 r = ((glSetMultisamplefvAMD = (PFNGLSETMULTISAMPLEFVAMDPROC)glewGetProcAddress((const GLubyte*)"glSetMultisamplefvAMD")) == NULL) || r;
3813
3814 return r;
3815}
3816
3817#endif /* GL_AMD_sample_positions */
3818
3819#ifdef GL_AMD_seamless_cubemap_per_texture
3820
3821#endif /* GL_AMD_seamless_cubemap_per_texture */
3822
3823#ifdef GL_AMD_shader_stencil_export
3824
3825#endif /* GL_AMD_shader_stencil_export */
3826
3827#ifdef GL_AMD_shader_trinary_minmax
3828
3829#endif /* GL_AMD_shader_trinary_minmax */
3830
3831#ifdef GL_AMD_sparse_texture
3832
3833static GLboolean _glewInit_GL_AMD_sparse_texture (GLEW_CONTEXT_ARG_DEF_INIT)
3834{
3835 GLboolean r = GL_FALSE;
3836
3837 r = ((glTexStorageSparseAMD = (PFNGLTEXSTORAGESPARSEAMDPROC)glewGetProcAddress((const GLubyte*)"glTexStorageSparseAMD")) == NULL) || r;
3838 r = ((glTextureStorageSparseAMD = (PFNGLTEXTURESTORAGESPARSEAMDPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageSparseAMD")) == NULL) || r;
3839
3840 return r;
3841}
3842
3843#endif /* GL_AMD_sparse_texture */
3844
3845#ifdef GL_AMD_stencil_operation_extended
3846
3847static GLboolean _glewInit_GL_AMD_stencil_operation_extended (GLEW_CONTEXT_ARG_DEF_INIT)
3848{
3849 GLboolean r = GL_FALSE;
3850
3851 r = ((glStencilOpValueAMD = (PFNGLSTENCILOPVALUEAMDPROC)glewGetProcAddress((const GLubyte*)"glStencilOpValueAMD")) == NULL) || r;
3852
3853 return r;
3854}
3855
3856#endif /* GL_AMD_stencil_operation_extended */
3857
3858#ifdef GL_AMD_texture_texture4
3859
3860#endif /* GL_AMD_texture_texture4 */
3861
3862#ifdef GL_AMD_transform_feedback3_lines_triangles
3863
3864#endif /* GL_AMD_transform_feedback3_lines_triangles */
3865
3866#ifdef GL_AMD_vertex_shader_layer
3867
3868#endif /* GL_AMD_vertex_shader_layer */
3869
3870#ifdef GL_AMD_vertex_shader_tessellator
3871
3872static GLboolean _glewInit_GL_AMD_vertex_shader_tessellator (GLEW_CONTEXT_ARG_DEF_INIT)
3873{
3874 GLboolean r = GL_FALSE;
3875
3876 r = ((glTessellationFactorAMD = (PFNGLTESSELLATIONFACTORAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationFactorAMD")) == NULL) || r;
3877 r = ((glTessellationModeAMD = (PFNGLTESSELLATIONMODEAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationModeAMD")) == NULL) || r;
3878
3879 return r;
3880}
3881
3882#endif /* GL_AMD_vertex_shader_tessellator */
3883
3884#ifdef GL_AMD_vertex_shader_viewport_index
3885
3886#endif /* GL_AMD_vertex_shader_viewport_index */
3887
3888#ifdef GL_ANGLE_depth_texture
3889
3890#endif /* GL_ANGLE_depth_texture */
3891
3892#ifdef GL_ANGLE_framebuffer_blit
3893
3894static GLboolean _glewInit_GL_ANGLE_framebuffer_blit (GLEW_CONTEXT_ARG_DEF_INIT)
3895{
3896 GLboolean r = GL_FALSE;
3897
3898 r = ((glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferANGLE")) == NULL) || r;
3899
3900 return r;
3901}
3902
3903#endif /* GL_ANGLE_framebuffer_blit */
3904
3905#ifdef GL_ANGLE_framebuffer_multisample
3906
3907static GLboolean _glewInit_GL_ANGLE_framebuffer_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
3908{
3909 GLboolean r = GL_FALSE;
3910
3911 r = ((glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleANGLE")) == NULL) || r;
3912
3913 return r;
3914}
3915
3916#endif /* GL_ANGLE_framebuffer_multisample */
3917
3918#ifdef GL_ANGLE_instanced_arrays
3919
3920static GLboolean _glewInit_GL_ANGLE_instanced_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
3921{
3922 GLboolean r = GL_FALSE;
3923
3924 r = ((glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedANGLE")) == NULL) || r;
3925 r = ((glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedANGLE")) == NULL) || r;
3926 r = ((glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorANGLE")) == NULL) || r;
3927
3928 return r;
3929}
3930
3931#endif /* GL_ANGLE_instanced_arrays */
3932
3933#ifdef GL_ANGLE_pack_reverse_row_order
3934
3935#endif /* GL_ANGLE_pack_reverse_row_order */
3936
3937#ifdef GL_ANGLE_program_binary
3938
3939#endif /* GL_ANGLE_program_binary */
3940
3941#ifdef GL_ANGLE_texture_compression_dxt1
3942
3943#endif /* GL_ANGLE_texture_compression_dxt1 */
3944
3945#ifdef GL_ANGLE_texture_compression_dxt3
3946
3947#endif /* GL_ANGLE_texture_compression_dxt3 */
3948
3949#ifdef GL_ANGLE_texture_compression_dxt5
3950
3951#endif /* GL_ANGLE_texture_compression_dxt5 */
3952
3953#ifdef GL_ANGLE_texture_usage
3954
3955#endif /* GL_ANGLE_texture_usage */
3956
3957#ifdef GL_ANGLE_timer_query
3958
3959static GLboolean _glewInit_GL_ANGLE_timer_query (GLEW_CONTEXT_ARG_DEF_INIT)
3960{
3961 GLboolean r = GL_FALSE;
3962
3963 r = ((glBeginQueryANGLE = (PFNGLBEGINQUERYANGLEPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryANGLE")) == NULL) || r;
3964 r = ((glDeleteQueriesANGLE = (PFNGLDELETEQUERIESANGLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesANGLE")) == NULL) || r;
3965 r = ((glEndQueryANGLE = (PFNGLENDQUERYANGLEPROC)glewGetProcAddress((const GLubyte*)"glEndQueryANGLE")) == NULL) || r;
3966 r = ((glGenQueriesANGLE = (PFNGLGENQUERIESANGLEPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesANGLE")) == NULL) || r;
3967 r = ((glGetQueryObjecti64vANGLE = (PFNGLGETQUERYOBJECTI64VANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64vANGLE")) == NULL) || r;
3968 r = ((glGetQueryObjectivANGLE = (PFNGLGETQUERYOBJECTIVANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivANGLE")) == NULL) || r;
3969 r = ((glGetQueryObjectui64vANGLE = (PFNGLGETQUERYOBJECTUI64VANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64vANGLE")) == NULL) || r;
3970 r = ((glGetQueryObjectuivANGLE = (PFNGLGETQUERYOBJECTUIVANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivANGLE")) == NULL) || r;
3971 r = ((glGetQueryivANGLE = (PFNGLGETQUERYIVANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivANGLE")) == NULL) || r;
3972 r = ((glIsQueryANGLE = (PFNGLISQUERYANGLEPROC)glewGetProcAddress((const GLubyte*)"glIsQueryANGLE")) == NULL) || r;
3973 r = ((glQueryCounterANGLE = (PFNGLQUERYCOUNTERANGLEPROC)glewGetProcAddress((const GLubyte*)"glQueryCounterANGLE")) == NULL) || r;
3974
3975 return r;
3976}
3977
3978#endif /* GL_ANGLE_timer_query */
3979
3980#ifdef GL_ANGLE_translated_shader_source
3981
3982static GLboolean _glewInit_GL_ANGLE_translated_shader_source (GLEW_CONTEXT_ARG_DEF_INIT)
3983{
3984 GLboolean r = GL_FALSE;
3985
3986 r = ((glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetTranslatedShaderSourceANGLE")) == NULL) || r;
3987
3988 return r;
3989}
3990
3991#endif /* GL_ANGLE_translated_shader_source */
3992
3993#ifdef GL_APPLE_aux_depth_stencil
3994
3995#endif /* GL_APPLE_aux_depth_stencil */
3996
3997#ifdef GL_APPLE_client_storage
3998
3999#endif /* GL_APPLE_client_storage */
4000
4001#ifdef GL_APPLE_element_array
4002
4003static GLboolean _glewInit_GL_APPLE_element_array (GLEW_CONTEXT_ARG_DEF_INIT)
4004{
4005 GLboolean r = GL_FALSE;
4006
4007 r = ((glDrawElementArrayAPPLE = (PFNGLDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayAPPLE")) == NULL) || r;
4008 r = ((glDrawRangeElementArrayAPPLE = (PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayAPPLE")) == NULL) || r;
4009 r = ((glElementPointerAPPLE = (PFNGLELEMENTPOINTERAPPLEPROC)glewGetProcAddress((const GLubyte*)"glElementPointerAPPLE")) == NULL) || r;
4010 r = ((glMultiDrawElementArrayAPPLE = (PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementArrayAPPLE")) == NULL) || r;
4011 r = ((glMultiDrawRangeElementArrayAPPLE = (PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawRangeElementArrayAPPLE")) == NULL) || r;
4012
4013 return r;
4014}
4015
4016#endif /* GL_APPLE_element_array */
4017
4018#ifdef GL_APPLE_fence
4019
4020static GLboolean _glewInit_GL_APPLE_fence (GLEW_CONTEXT_ARG_DEF_INIT)
4021{
4022 GLboolean r = GL_FALSE;
4023
4024 r = ((glDeleteFencesAPPLE = (PFNGLDELETEFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesAPPLE")) == NULL) || r;
4025 r = ((glFinishFenceAPPLE = (PFNGLFINISHFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceAPPLE")) == NULL) || r;
4026 r = ((glFinishObjectAPPLE = (PFNGLFINISHOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishObjectAPPLE")) == NULL) || r;
4027 r = ((glGenFencesAPPLE = (PFNGLGENFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenFencesAPPLE")) == NULL) || r;
4028 r = ((glIsFenceAPPLE = (PFNGLISFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsFenceAPPLE")) == NULL) || r;
4029 r = ((glSetFenceAPPLE = (PFNGLSETFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glSetFenceAPPLE")) == NULL) || r;
4030 r = ((glTestFenceAPPLE = (PFNGLTESTFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestFenceAPPLE")) == NULL) || r;
4031 r = ((glTestObjectAPPLE = (PFNGLTESTOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestObjectAPPLE")) == NULL) || r;
4032
4033 return r;
4034}
4035
4036#endif /* GL_APPLE_fence */
4037
4038#ifdef GL_APPLE_float_pixels
4039
4040#endif /* GL_APPLE_float_pixels */
4041
4042#ifdef GL_APPLE_flush_buffer_range
4043
4044static GLboolean _glewInit_GL_APPLE_flush_buffer_range (GLEW_CONTEXT_ARG_DEF_INIT)
4045{
4046 GLboolean r = GL_FALSE;
4047
4048 r = ((glBufferParameteriAPPLE = (PFNGLBUFFERPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBufferParameteriAPPLE")) == NULL) || r;
4049 r = ((glFlushMappedBufferRangeAPPLE = (PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRangeAPPLE")) == NULL) || r;
4050
4051 return r;
4052}
4053
4054#endif /* GL_APPLE_flush_buffer_range */
4055
4056#ifdef GL_APPLE_object_purgeable
4057
4058static GLboolean _glewInit_GL_APPLE_object_purgeable (GLEW_CONTEXT_ARG_DEF_INIT)
4059{
4060 GLboolean r = GL_FALSE;
4061
4062 r = ((glGetObjectParameterivAPPLE = (PFNGLGETOBJECTPARAMETERIVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivAPPLE")) == NULL) || r;
4063 r = ((glObjectPurgeableAPPLE = (PFNGLOBJECTPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectPurgeableAPPLE")) == NULL) || r;
4064 r = ((glObjectUnpurgeableAPPLE = (PFNGLOBJECTUNPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectUnpurgeableAPPLE")) == NULL) || r;
4065
4066 return r;
4067}
4068
4069#endif /* GL_APPLE_object_purgeable */
4070
4071#ifdef GL_APPLE_pixel_buffer
4072
4073#endif /* GL_APPLE_pixel_buffer */
4074
4075#ifdef GL_APPLE_rgb_422
4076
4077#endif /* GL_APPLE_rgb_422 */
4078
4079#ifdef GL_APPLE_row_bytes
4080
4081#endif /* GL_APPLE_row_bytes */
4082
4083#ifdef GL_APPLE_specular_vector
4084
4085#endif /* GL_APPLE_specular_vector */
4086
4087#ifdef GL_APPLE_texture_range
4088
4089static GLboolean _glewInit_GL_APPLE_texture_range (GLEW_CONTEXT_ARG_DEF_INIT)
4090{
4091 GLboolean r = GL_FALSE;
4092
4093 r = ((glGetTexParameterPointervAPPLE = (PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterPointervAPPLE")) == NULL) || r;
4094 r = ((glTextureRangeAPPLE = (PFNGLTEXTURERANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureRangeAPPLE")) == NULL) || r;
4095
4096 return r;
4097}
4098
4099#endif /* GL_APPLE_texture_range */
4100
4101#ifdef GL_APPLE_transform_hint
4102
4103#endif /* GL_APPLE_transform_hint */
4104
4105#ifdef GL_APPLE_vertex_array_object
4106
4107static GLboolean _glewInit_GL_APPLE_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
4108{
4109 GLboolean r = GL_FALSE;
4110
4111 r = ((glBindVertexArrayAPPLE = (PFNGLBINDVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArrayAPPLE")) == NULL) || r;
4112 r = ((glDeleteVertexArraysAPPLE = (PFNGLDELETEVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArraysAPPLE")) == NULL) || r;
4113 r = ((glGenVertexArraysAPPLE = (PFNGLGENVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArraysAPPLE")) == NULL) || r;
4114 r = ((glIsVertexArrayAPPLE = (PFNGLISVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArrayAPPLE")) == NULL) || r;
4115
4116 return r;
4117}
4118
4119#endif /* GL_APPLE_vertex_array_object */
4120
4121#ifdef GL_APPLE_vertex_array_range
4122
4123static GLboolean _glewInit_GL_APPLE_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT)
4124{
4125 GLboolean r = GL_FALSE;
4126
4127 r = ((glFlushVertexArrayRangeAPPLE = (PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeAPPLE")) == NULL) || r;
4128 r = ((glVertexArrayParameteriAPPLE = (PFNGLVERTEXARRAYPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayParameteriAPPLE")) == NULL) || r;
4129 r = ((glVertexArrayRangeAPPLE = (PFNGLVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeAPPLE")) == NULL) || r;
4130
4131 return r;
4132}
4133
4134#endif /* GL_APPLE_vertex_array_range */
4135
4136#ifdef GL_APPLE_vertex_program_evaluators
4137
4138static GLboolean _glewInit_GL_APPLE_vertex_program_evaluators (GLEW_CONTEXT_ARG_DEF_INIT)
4139{
4140 GLboolean r = GL_FALSE;
4141
4142 r = ((glDisableVertexAttribAPPLE = (PFNGLDISABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribAPPLE")) == NULL) || r;
4143 r = ((glEnableVertexAttribAPPLE = (PFNGLENABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribAPPLE")) == NULL) || r;
4144 r = ((glIsVertexAttribEnabledAPPLE = (PFNGLISVERTEXATTRIBENABLEDAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexAttribEnabledAPPLE")) == NULL) || r;
4145 r = ((glMapVertexAttrib1dAPPLE = (PFNGLMAPVERTEXATTRIB1DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1dAPPLE")) == NULL) || r;
4146 r = ((glMapVertexAttrib1fAPPLE = (PFNGLMAPVERTEXATTRIB1FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1fAPPLE")) == NULL) || r;
4147 r = ((glMapVertexAttrib2dAPPLE = (PFNGLMAPVERTEXATTRIB2DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2dAPPLE")) == NULL) || r;
4148 r = ((glMapVertexAttrib2fAPPLE = (PFNGLMAPVERTEXATTRIB2FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2fAPPLE")) == NULL) || r;
4149
4150 return r;
4151}
4152
4153#endif /* GL_APPLE_vertex_program_evaluators */
4154
4155#ifdef GL_APPLE_ycbcr_422
4156
4157#endif /* GL_APPLE_ycbcr_422 */
4158
4159#ifdef GL_ARB_ES2_compatibility
4160
4161static GLboolean _glewInit_GL_ARB_ES2_compatibility (GLEW_CONTEXT_ARG_DEF_INIT)
4162{
4163 GLboolean r = GL_FALSE;
4164
4165 r = ((glClearDepthf = (PFNGLCLEARDEPTHFPROC)glewGetProcAddress((const GLubyte*)"glClearDepthf")) == NULL) || r;
4166 r = ((glDepthRangef = (PFNGLDEPTHRANGEFPROC)glewGetProcAddress((const GLubyte*)"glDepthRangef")) == NULL) || r;
4167 r = ((glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)glewGetProcAddress((const GLubyte*)"glGetShaderPrecisionFormat")) == NULL) || r;
4168 r = ((glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)glewGetProcAddress((const GLubyte*)"glReleaseShaderCompiler")) == NULL) || r;
4169 r = ((glShaderBinary = (PFNGLSHADERBINARYPROC)glewGetProcAddress((const GLubyte*)"glShaderBinary")) == NULL) || r;
4170
4171 return r;
4172}
4173
4174#endif /* GL_ARB_ES2_compatibility */
4175
4176#ifdef GL_ARB_ES3_compatibility
4177
4178#endif /* GL_ARB_ES3_compatibility */
4179
4180#ifdef GL_ARB_arrays_of_arrays
4181
4182#endif /* GL_ARB_arrays_of_arrays */
4183
4184#ifdef GL_ARB_base_instance
4185
4186static GLboolean _glewInit_GL_ARB_base_instance (GLEW_CONTEXT_ARG_DEF_INIT)
4187{
4188 GLboolean r = GL_FALSE;
4189
4190 r = ((glDrawArraysInstancedBaseInstance = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedBaseInstance")) == NULL) || r;
4191 r = ((glDrawElementsInstancedBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseInstance")) == NULL) || r;
4192 r = ((glDrawElementsInstancedBaseVertexBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertexBaseInstance")) == NULL) || r;
4193
4194 return r;
4195}
4196
4197#endif /* GL_ARB_base_instance */
4198
4199#ifdef GL_ARB_bindless_texture
4200
4201static GLboolean _glewInit_GL_ARB_bindless_texture (GLEW_CONTEXT_ARG_DEF_INIT)
4202{
4203 GLboolean r = GL_FALSE;
4204
4205 r = ((glGetImageHandleARB = (PFNGLGETIMAGEHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetImageHandleARB")) == NULL) || r;
4206 r = ((glGetTextureHandleARB = (PFNGLGETTEXTUREHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetTextureHandleARB")) == NULL) || r;
4207 r = ((glGetTextureSamplerHandleARB = (PFNGLGETTEXTURESAMPLERHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetTextureSamplerHandleARB")) == NULL) || r;
4208 r = ((glGetVertexAttribLui64vARB = (PFNGLGETVERTEXATTRIBLUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLui64vARB")) == NULL) || r;
4209 r = ((glIsImageHandleResidentARB = (PFNGLISIMAGEHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glIsImageHandleResidentARB")) == NULL) || r;
4210 r = ((glIsTextureHandleResidentARB = (PFNGLISTEXTUREHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glIsTextureHandleResidentARB")) == NULL) || r;
4211 r = ((glMakeImageHandleNonResidentARB = (PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleNonResidentARB")) == NULL) || r;
4212 r = ((glMakeImageHandleResidentARB = (PFNGLMAKEIMAGEHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleResidentARB")) == NULL) || r;
4213 r = ((glMakeTextureHandleNonResidentARB = (PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleNonResidentARB")) == NULL) || r;
4214 r = ((glMakeTextureHandleResidentARB = (PFNGLMAKETEXTUREHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleResidentARB")) == NULL) || r;
4215 r = ((glProgramUniformHandleui64ARB = (PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64ARB")) == NULL) || r;
4216 r = ((glProgramUniformHandleui64vARB = (PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64vARB")) == NULL) || r;
4217 r = ((glUniformHandleui64ARB = (PFNGLUNIFORMHANDLEUI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64ARB")) == NULL) || r;
4218 r = ((glUniformHandleui64vARB = (PFNGLUNIFORMHANDLEUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64vARB")) == NULL) || r;
4219 r = ((glVertexAttribL1ui64ARB = (PFNGLVERTEXATTRIBL1UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64ARB")) == NULL) || r;
4220 r = ((glVertexAttribL1ui64vARB = (PFNGLVERTEXATTRIBL1UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64vARB")) == NULL) || r;
4221
4222 return r;
4223}
4224
4225#endif /* GL_ARB_bindless_texture */
4226
4227#ifdef GL_ARB_blend_func_extended
4228
4229static GLboolean _glewInit_GL_ARB_blend_func_extended (GLEW_CONTEXT_ARG_DEF_INIT)
4230{
4231 GLboolean r = GL_FALSE;
4232
4233 r = ((glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationIndexed")) == NULL) || r;
4234 r = ((glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataIndex")) == NULL) || r;
4235
4236 return r;
4237}
4238
4239#endif /* GL_ARB_blend_func_extended */
4240
4241#ifdef GL_ARB_buffer_storage
4242
4243static GLboolean _glewInit_GL_ARB_buffer_storage (GLEW_CONTEXT_ARG_DEF_INIT)
4244{
4245 GLboolean r = GL_FALSE;
4246
4247 r = ((glBufferStorage = (PFNGLBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glBufferStorage")) == NULL) || r;
4248 r = ((glNamedBufferStorageEXT = (PFNGLNAMEDBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferStorageEXT")) == NULL) || r;
4249
4250 return r;
4251}
4252
4253#endif /* GL_ARB_buffer_storage */
4254
4255#ifdef GL_ARB_cl_event
4256
4257static GLboolean _glewInit_GL_ARB_cl_event (GLEW_CONTEXT_ARG_DEF_INIT)
4258{
4259 GLboolean r = GL_FALSE;
4260
4261 r = ((glCreateSyncFromCLeventARB = (PFNGLCREATESYNCFROMCLEVENTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateSyncFromCLeventARB")) == NULL) || r;
4262
4263 return r;
4264}
4265
4266#endif /* GL_ARB_cl_event */
4267
4268#ifdef GL_ARB_clear_buffer_object
4269
4270static GLboolean _glewInit_GL_ARB_clear_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
4271{
4272 GLboolean r = GL_FALSE;
4273
4274 r = ((glClearBufferData = (PFNGLCLEARBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glClearBufferData")) == NULL) || r;
4275 r = ((glClearBufferSubData = (PFNGLCLEARBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glClearBufferSubData")) == NULL) || r;
4276 r = ((glClearNamedBufferDataEXT = (PFNGLCLEARNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferDataEXT")) == NULL) || r;
4277 r = ((glClearNamedBufferSubDataEXT = (PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferSubDataEXT")) == NULL) || r;
4278
4279 return r;
4280}
4281
4282#endif /* GL_ARB_clear_buffer_object */
4283
4284#ifdef GL_ARB_clear_texture
4285
4286static GLboolean _glewInit_GL_ARB_clear_texture (GLEW_CONTEXT_ARG_DEF_INIT)
4287{
4288 GLboolean r = GL_FALSE;
4289
4290 r = ((glClearTexImage = (PFNGLCLEARTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glClearTexImage")) == NULL) || r;
4291 r = ((glClearTexSubImage = (PFNGLCLEARTEXSUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glClearTexSubImage")) == NULL) || r;
4292
4293 return r;
4294}
4295
4296#endif /* GL_ARB_clear_texture */
4297
4298#ifdef GL_ARB_color_buffer_float
4299
4300static GLboolean _glewInit_GL_ARB_color_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)
4301{
4302 GLboolean r = GL_FALSE;
4303
4304 r = ((glClampColorARB = (PFNGLCLAMPCOLORARBPROC)glewGetProcAddress((const GLubyte*)"glClampColorARB")) == NULL) || r;
4305
4306 return r;
4307}
4308
4309#endif /* GL_ARB_color_buffer_float */
4310
4311#ifdef GL_ARB_compatibility
4312
4313#endif /* GL_ARB_compatibility */
4314
4315#ifdef GL_ARB_compressed_texture_pixel_storage
4316
4317#endif /* GL_ARB_compressed_texture_pixel_storage */
4318
4319#ifdef GL_ARB_compute_shader
4320
4321static GLboolean _glewInit_GL_ARB_compute_shader (GLEW_CONTEXT_ARG_DEF_INIT)
4322{
4323 GLboolean r = GL_FALSE;
4324
4325 r = ((glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)glewGetProcAddress((const GLubyte*)"glDispatchCompute")) == NULL) || r;
4326 r = ((glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDispatchComputeIndirect")) == NULL) || r;
4327
4328 return r;
4329}
4330
4331#endif /* GL_ARB_compute_shader */
4332
4333#ifdef GL_ARB_compute_variable_group_size
4334
4335static GLboolean _glewInit_GL_ARB_compute_variable_group_size (GLEW_CONTEXT_ARG_DEF_INIT)
4336{
4337 GLboolean r = GL_FALSE;
4338
4339 r = ((glDispatchComputeGroupSizeARB = (PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC)glewGetProcAddress((const GLubyte*)"glDispatchComputeGroupSizeARB")) == NULL) || r;
4340
4341 return r;
4342}
4343
4344#endif /* GL_ARB_compute_variable_group_size */
4345
4346#ifdef GL_ARB_conservative_depth
4347
4348#endif /* GL_ARB_conservative_depth */
4349
4350#ifdef GL_ARB_copy_buffer
4351
4352static GLboolean _glewInit_GL_ARB_copy_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
4353{
4354 GLboolean r = GL_FALSE;
4355
4356 r = ((glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyBufferSubData")) == NULL) || r;
4357
4358 return r;
4359}
4360
4361#endif /* GL_ARB_copy_buffer */
4362
4363#ifdef GL_ARB_copy_image
4364
4365static GLboolean _glewInit_GL_ARB_copy_image (GLEW_CONTEXT_ARG_DEF_INIT)
4366{
4367 GLboolean r = GL_FALSE;
4368
4369 r = ((glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubData")) == NULL) || r;
4370
4371 return r;
4372}
4373
4374#endif /* GL_ARB_copy_image */
4375
4376#ifdef GL_ARB_debug_output
4377
4378static GLboolean _glewInit_GL_ARB_debug_output (GLEW_CONTEXT_ARG_DEF_INIT)
4379{
4380 GLboolean r = GL_FALSE;
4381
4382 r = ((glDebugMessageCallbackARB = (PFNGLDEBUGMESSAGECALLBACKARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallbackARB")) == NULL) || r;
4383 r = ((glDebugMessageControlARB = (PFNGLDEBUGMESSAGECONTROLARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageControlARB")) == NULL) || r;
4384 r = ((glDebugMessageInsertARB = (PFNGLDEBUGMESSAGEINSERTARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsertARB")) == NULL) || r;
4385 r = ((glGetDebugMessageLogARB = (PFNGLGETDEBUGMESSAGELOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLogARB")) == NULL) || r;
4386
4387 return r;
4388}
4389
4390#endif /* GL_ARB_debug_output */
4391
4392#ifdef GL_ARB_depth_buffer_float
4393
4394#endif /* GL_ARB_depth_buffer_float */
4395
4396#ifdef GL_ARB_depth_clamp
4397
4398#endif /* GL_ARB_depth_clamp */
4399
4400#ifdef GL_ARB_depth_texture
4401
4402#endif /* GL_ARB_depth_texture */
4403
4404#ifdef GL_ARB_draw_buffers
4405
4406static GLboolean _glewInit_GL_ARB_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
4407{
4408 GLboolean r = GL_FALSE;
4409
4410 r = ((glDrawBuffersARB = (PFNGLDRAWBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersARB")) == NULL) || r;
4411
4412 return r;
4413}
4414
4415#endif /* GL_ARB_draw_buffers */
4416
4417#ifdef GL_ARB_draw_buffers_blend
4418
4419static GLboolean _glewInit_GL_ARB_draw_buffers_blend (GLEW_CONTEXT_ARG_DEF_INIT)
4420{
4421 GLboolean r = GL_FALSE;
4422
4423 r = ((glBlendEquationSeparateiARB = (PFNGLBLENDEQUATIONSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateiARB")) == NULL) || r;
4424 r = ((glBlendEquationiARB = (PFNGLBLENDEQUATIONIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationiARB")) == NULL) || r;
4425 r = ((glBlendFuncSeparateiARB = (PFNGLBLENDFUNCSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateiARB")) == NULL) || r;
4426 r = ((glBlendFunciARB = (PFNGLBLENDFUNCIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFunciARB")) == NULL) || r;
4427
4428 return r;
4429}
4430
4431#endif /* GL_ARB_draw_buffers_blend */
4432
4433#ifdef GL_ARB_draw_elements_base_vertex
4434
4435static GLboolean _glewInit_GL_ARB_draw_elements_base_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
4436{
4437 GLboolean r = GL_FALSE;
4438
4439 r = ((glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsBaseVertex")) == NULL) || r;
4440 r = ((glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertex")) == NULL) || r;
4441 r = ((glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsBaseVertex")) == NULL) || r;
4442 r = ((glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsBaseVertex")) == NULL) || r;
4443
4444 return r;
4445}
4446
4447#endif /* GL_ARB_draw_elements_base_vertex */
4448
4449#ifdef GL_ARB_draw_indirect
4450
4451static GLboolean _glewInit_GL_ARB_draw_indirect (GLEW_CONTEXT_ARG_DEF_INIT)
4452{
4453 GLboolean r = GL_FALSE;
4454
4455 r = ((glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysIndirect")) == NULL) || r;
4456 r = ((glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsIndirect")) == NULL) || r;
4457
4458 return r;
4459}
4460
4461#endif /* GL_ARB_draw_indirect */
4462
4463#ifdef GL_ARB_draw_instanced
4464
4465#endif /* GL_ARB_draw_instanced */
4466
4467#ifdef GL_ARB_enhanced_layouts
4468
4469#endif /* GL_ARB_enhanced_layouts */
4470
4471#ifdef GL_ARB_explicit_attrib_location
4472
4473#endif /* GL_ARB_explicit_attrib_location */
4474
4475#ifdef GL_ARB_explicit_uniform_location
4476
4477#endif /* GL_ARB_explicit_uniform_location */
4478
4479#ifdef GL_ARB_fragment_coord_conventions
4480
4481#endif /* GL_ARB_fragment_coord_conventions */
4482
4483#ifdef GL_ARB_fragment_layer_viewport
4484
4485#endif /* GL_ARB_fragment_layer_viewport */
4486
4487#ifdef GL_ARB_fragment_program
4488
4489#endif /* GL_ARB_fragment_program */
4490
4491#ifdef GL_ARB_fragment_program_shadow
4492
4493#endif /* GL_ARB_fragment_program_shadow */
4494
4495#ifdef GL_ARB_fragment_shader
4496
4497#endif /* GL_ARB_fragment_shader */
4498
4499#ifdef GL_ARB_framebuffer_no_attachments
4500
4501static GLboolean _glewInit_GL_ARB_framebuffer_no_attachments (GLEW_CONTEXT_ARG_DEF_INIT)
4502{
4503 GLboolean r = GL_FALSE;
4504
4505 r = ((glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glFramebufferParameteri")) == NULL) || r;
4506 r = ((glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameteriv")) == NULL) || r;
4507 r = ((glGetNamedFramebufferParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferParameterivEXT")) == NULL) || r;
4508 r = ((glNamedFramebufferParameteriEXT = (PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferParameteriEXT")) == NULL) || r;
4509
4510 return r;
4511}
4512
4513#endif /* GL_ARB_framebuffer_no_attachments */
4514
4515#ifdef GL_ARB_framebuffer_object
4516
4517static GLboolean _glewInit_GL_ARB_framebuffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
4518{
4519 GLboolean r = GL_FALSE;
4520
4521 r = ((glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindFramebuffer")) == NULL) || r;
4522 r = ((glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbuffer")) == NULL) || r;
4523 r = ((glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebuffer")) == NULL) || r;
4524 r = ((glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatus")) == NULL) || r;
4525 r = ((glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffers")) == NULL) || r;
4526 r = ((glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffers")) == NULL) || r;
4527 r = ((glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbuffer")) == NULL) || r;
4528 r = ((glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1D")) == NULL) || r;
4529 r = ((glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2D")) == NULL) || r;
4530 r = ((glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3D")) == NULL) || r;
4531 r = ((glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayer")) == NULL) || r;
4532 r = ((glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffers")) == NULL) || r;
4533 r = ((glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffers")) == NULL) || r;
4534 r = ((glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmap")) == NULL) || r;
4535 r = ((glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameteriv")) == NULL) || r;
4536 r = ((glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameteriv")) == NULL) || r;
4537 r = ((glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsFramebuffer")) == NULL) || r;
4538 r = ((glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbuffer")) == NULL) || r;
4539 r = ((glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorage")) == NULL) || r;
4540 r = ((glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisample")) == NULL) || r;
4541
4542 return r;
4543}
4544
4545#endif /* GL_ARB_framebuffer_object */
4546
4547#ifdef GL_ARB_framebuffer_sRGB
4548
4549#endif /* GL_ARB_framebuffer_sRGB */
4550
4551#ifdef GL_ARB_geometry_shader4
4552
4553static GLboolean _glewInit_GL_ARB_geometry_shader4 (GLEW_CONTEXT_ARG_DEF_INIT)
4554{
4555 GLboolean r = GL_FALSE;
4556
4557 r = ((glFramebufferTextureARB = (PFNGLFRAMEBUFFERTEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureARB")) == NULL) || r;
4558 r = ((glFramebufferTextureFaceARB = (PFNGLFRAMEBUFFERTEXTUREFACEARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceARB")) == NULL) || r;
4559 r = ((glFramebufferTextureLayerARB = (PFNGLFRAMEBUFFERTEXTURELAYERARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerARB")) == NULL) || r;
4560 r = ((glProgramParameteriARB = (PFNGLPROGRAMPARAMETERIARBPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriARB")) == NULL) || r;
4561
4562 return r;
4563}
4564
4565#endif /* GL_ARB_geometry_shader4 */
4566
4567#ifdef GL_ARB_get_program_binary
4568
4569static GLboolean _glewInit_GL_ARB_get_program_binary (GLEW_CONTEXT_ARG_DEF_INIT)
4570{
4571 GLboolean r = GL_FALSE;
4572
4573 r = ((glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)glewGetProcAddress((const GLubyte*)"glGetProgramBinary")) == NULL) || r;
4574 r = ((glProgramBinary = (PFNGLPROGRAMBINARYPROC)glewGetProcAddress((const GLubyte*)"glProgramBinary")) == NULL) || r;
4575 r = ((glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteri")) == NULL) || r;
4576
4577 return r;
4578}
4579
4580#endif /* GL_ARB_get_program_binary */
4581
4582#ifdef GL_ARB_gpu_shader5
4583
4584#endif /* GL_ARB_gpu_shader5 */
4585
4586#ifdef GL_ARB_gpu_shader_fp64
4587
4588static GLboolean _glewInit_GL_ARB_gpu_shader_fp64 (GLEW_CONTEXT_ARG_DEF_INIT)
4589{
4590 GLboolean r = GL_FALSE;
4591
4592 r = ((glGetUniformdv = (PFNGLGETUNIFORMDVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformdv")) == NULL) || r;
4593 r = ((glUniform1d = (PFNGLUNIFORM1DPROC)glewGetProcAddress((const GLubyte*)"glUniform1d")) == NULL) || r;
4594 r = ((glUniform1dv = (PFNGLUNIFORM1DVPROC)glewGetProcAddress((const GLubyte*)"glUniform1dv")) == NULL) || r;
4595 r = ((glUniform2d = (PFNGLUNIFORM2DPROC)glewGetProcAddress((const GLubyte*)"glUniform2d")) == NULL) || r;
4596 r = ((glUniform2dv = (PFNGLUNIFORM2DVPROC)glewGetProcAddress((const GLubyte*)"glUniform2dv")) == NULL) || r;
4597 r = ((glUniform3d = (PFNGLUNIFORM3DPROC)glewGetProcAddress((const GLubyte*)"glUniform3d")) == NULL) || r;
4598 r = ((glUniform3dv = (PFNGLUNIFORM3DVPROC)glewGetProcAddress((const GLubyte*)"glUniform3dv")) == NULL) || r;
4599 r = ((glUniform4d = (PFNGLUNIFORM4DPROC)glewGetProcAddress((const GLubyte*)"glUniform4d")) == NULL) || r;
4600 r = ((glUniform4dv = (PFNGLUNIFORM4DVPROC)glewGetProcAddress((const GLubyte*)"glUniform4dv")) == NULL) || r;
4601 r = ((glUniformMatrix2dv = (PFNGLUNIFORMMATRIX2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2dv")) == NULL) || r;
4602 r = ((glUniformMatrix2x3dv = (PFNGLUNIFORMMATRIX2X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3dv")) == NULL) || r;
4603 r = ((glUniformMatrix2x4dv = (PFNGLUNIFORMMATRIX2X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4dv")) == NULL) || r;
4604 r = ((glUniformMatrix3dv = (PFNGLUNIFORMMATRIX3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3dv")) == NULL) || r;
4605 r = ((glUniformMatrix3x2dv = (PFNGLUNIFORMMATRIX3X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2dv")) == NULL) || r;
4606 r = ((glUniformMatrix3x4dv = (PFNGLUNIFORMMATRIX3X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4dv")) == NULL) || r;
4607 r = ((glUniformMatrix4dv = (PFNGLUNIFORMMATRIX4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4dv")) == NULL) || r;
4608 r = ((glUniformMatrix4x2dv = (PFNGLUNIFORMMATRIX4X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2dv")) == NULL) || r;
4609 r = ((glUniformMatrix4x3dv = (PFNGLUNIFORMMATRIX4X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3dv")) == NULL) || r;
4610
4611 return r;
4612}
4613
4614#endif /* GL_ARB_gpu_shader_fp64 */
4615
4616#ifdef GL_ARB_half_float_pixel
4617
4618#endif /* GL_ARB_half_float_pixel */
4619
4620#ifdef GL_ARB_half_float_vertex
4621
4622#endif /* GL_ARB_half_float_vertex */
4623
4624#ifdef GL_ARB_imaging
4625
4626static GLboolean _glewInit_GL_ARB_imaging (GLEW_CONTEXT_ARG_DEF_INIT)
4627{
4628 GLboolean r = GL_FALSE;
4629
4630 r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
4631 r = ((glColorSubTable = (PFNGLCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorSubTable")) == NULL) || r;
4632 r = ((glColorTable = (PFNGLCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorTable")) == NULL) || r;
4633 r = ((glColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfv")) == NULL) || r;
4634 r = ((glColorTableParameteriv = (PFNGLCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameteriv")) == NULL) || r;
4635 r = ((glConvolutionFilter1D = (PFNGLCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1D")) == NULL) || r;
4636 r = ((glConvolutionFilter2D = (PFNGLCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2D")) == NULL) || r;
4637 r = ((glConvolutionParameterf = (PFNGLCONVOLUTIONPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterf")) == NULL) || r;
4638 r = ((glConvolutionParameterfv = (PFNGLCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfv")) == NULL) || r;
4639 r = ((glConvolutionParameteri = (PFNGLCONVOLUTIONPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteri")) == NULL) || r;
4640 r = ((glConvolutionParameteriv = (PFNGLCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriv")) == NULL) || r;
4641 r = ((glCopyColorSubTable = (PFNGLCOPYCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTable")) == NULL) || r;
4642 r = ((glCopyColorTable = (PFNGLCOPYCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTable")) == NULL) || r;
4643 r = ((glCopyConvolutionFilter1D = (PFNGLCOPYCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1D")) == NULL) || r;
4644 r = ((glCopyConvolutionFilter2D = (PFNGLCOPYCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2D")) == NULL) || r;
4645 r = ((glGetColorTable = (PFNGLGETCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glGetColorTable")) == NULL) || r;
4646 r = ((glGetColorTableParameterfv = (PFNGLGETCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfv")) == NULL) || r;
4647 r = ((glGetColorTableParameteriv = (PFNGLGETCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameteriv")) == NULL) || r;
4648 r = ((glGetConvolutionFilter = (PFNGLGETCONVOLUTIONFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilter")) == NULL) || r;
4649 r = ((glGetConvolutionParameterfv = (PFNGLGETCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfv")) == NULL) || r;
4650 r = ((glGetConvolutionParameteriv = (PFNGLGETCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameteriv")) == NULL) || r;
4651 r = ((glGetHistogram = (PFNGLGETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glGetHistogram")) == NULL) || r;
4652 r = ((glGetHistogramParameterfv = (PFNGLGETHISTOGRAMPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfv")) == NULL) || r;
4653 r = ((glGetHistogramParameteriv = (PFNGLGETHISTOGRAMPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameteriv")) == NULL) || r;
4654 r = ((glGetMinmax = (PFNGLGETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glGetMinmax")) == NULL) || r;
4655 r = ((glGetMinmaxParameterfv = (PFNGLGETMINMAXPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfv")) == NULL) || r;
4656 r = ((glGetMinmaxParameteriv = (PFNGLGETMINMAXPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameteriv")) == NULL) || r;
4657 r = ((glGetSeparableFilter = (PFNGLGETSEPARABLEFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilter")) == NULL) || r;
4658 r = ((glHistogram = (PFNGLHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glHistogram")) == NULL) || r;
4659 r = ((glMinmax = (PFNGLMINMAXPROC)glewGetProcAddress((const GLubyte*)"glMinmax")) == NULL) || r;
4660 r = ((glResetHistogram = (PFNGLRESETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glResetHistogram")) == NULL) || r;
4661 r = ((glResetMinmax = (PFNGLRESETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glResetMinmax")) == NULL) || r;
4662 r = ((glSeparableFilter2D = (PFNGLSEPARABLEFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2D")) == NULL) || r;
4663
4664 return r;
4665}
4666
4667#endif /* GL_ARB_imaging */
4668
4669#ifdef GL_ARB_indirect_parameters
4670
4671static GLboolean _glewInit_GL_ARB_indirect_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
4672{
4673 GLboolean r = GL_FALSE;
4674
4675 r = ((glMultiDrawArraysIndirectCountARB = (PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectCountARB")) == NULL) || r;
4676 r = ((glMultiDrawElementsIndirectCountARB = (PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectCountARB")) == NULL) || r;
4677
4678 return r;
4679}
4680
4681#endif /* GL_ARB_indirect_parameters */
4682
4683#ifdef GL_ARB_instanced_arrays
4684
4685static GLboolean _glewInit_GL_ARB_instanced_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
4686{
4687 GLboolean r = GL_FALSE;
4688
4689 r = ((glDrawArraysInstancedARB = (PFNGLDRAWARRAYSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedARB")) == NULL) || r;
4690 r = ((glDrawElementsInstancedARB = (PFNGLDRAWELEMENTSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedARB")) == NULL) || r;
4691 r = ((glVertexAttribDivisorARB = (PFNGLVERTEXATTRIBDIVISORARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorARB")) == NULL) || r;
4692
4693 return r;
4694}
4695
4696#endif /* GL_ARB_instanced_arrays */
4697
4698#ifdef GL_ARB_internalformat_query
4699
4700static GLboolean _glewInit_GL_ARB_internalformat_query (GLEW_CONTEXT_ARG_DEF_INIT)
4701{
4702 GLboolean r = GL_FALSE;
4703
4704 r = ((glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformativ")) == NULL) || r;
4705
4706 return r;
4707}
4708
4709#endif /* GL_ARB_internalformat_query */
4710
4711#ifdef GL_ARB_internalformat_query2
4712
4713static GLboolean _glewInit_GL_ARB_internalformat_query2 (GLEW_CONTEXT_ARG_DEF_INIT)
4714{
4715 GLboolean r = GL_FALSE;
4716
4717 r = ((glGetInternalformati64v = (PFNGLGETINTERNALFORMATI64VPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformati64v")) == NULL) || r;
4718
4719 return r;
4720}
4721
4722#endif /* GL_ARB_internalformat_query2 */
4723
4724#ifdef GL_ARB_invalidate_subdata
4725
4726static GLboolean _glewInit_GL_ARB_invalidate_subdata (GLEW_CONTEXT_ARG_DEF_INIT)
4727{
4728 GLboolean r = GL_FALSE;
4729
4730 r = ((glInvalidateBufferData = (PFNGLINVALIDATEBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateBufferData")) == NULL) || r;
4731 r = ((glInvalidateBufferSubData = (PFNGLINVALIDATEBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateBufferSubData")) == NULL) || r;
4732 r = ((glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glInvalidateFramebuffer")) == NULL) || r;
4733 r = ((glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glInvalidateSubFramebuffer")) == NULL) || r;
4734 r = ((glInvalidateTexImage = (PFNGLINVALIDATETEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glInvalidateTexImage")) == NULL) || r;
4735 r = ((glInvalidateTexSubImage = (PFNGLINVALIDATETEXSUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glInvalidateTexSubImage")) == NULL) || r;
4736
4737 return r;
4738}
4739
4740#endif /* GL_ARB_invalidate_subdata */
4741
4742#ifdef GL_ARB_map_buffer_alignment
4743
4744#endif /* GL_ARB_map_buffer_alignment */
4745
4746#ifdef GL_ARB_map_buffer_range
4747
4748static GLboolean _glewInit_GL_ARB_map_buffer_range (GLEW_CONTEXT_ARG_DEF_INIT)
4749{
4750 GLboolean r = GL_FALSE;
4751
4752 r = ((glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRange")) == NULL) || r;
4753 r = ((glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glMapBufferRange")) == NULL) || r;
4754
4755 return r;
4756}
4757
4758#endif /* GL_ARB_map_buffer_range */
4759
4760#ifdef GL_ARB_matrix_palette
4761
4762static GLboolean _glewInit_GL_ARB_matrix_palette (GLEW_CONTEXT_ARG_DEF_INIT)
4763{
4764 GLboolean r = GL_FALSE;
4765
4766 r = ((glCurrentPaletteMatrixARB = (PFNGLCURRENTPALETTEMATRIXARBPROC)glewGetProcAddress((const GLubyte*)"glCurrentPaletteMatrixARB")) == NULL) || r;
4767 r = ((glMatrixIndexPointerARB = (PFNGLMATRIXINDEXPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexPointerARB")) == NULL) || r;
4768 r = ((glMatrixIndexubvARB = (PFNGLMATRIXINDEXUBVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexubvARB")) == NULL) || r;
4769 r = ((glMatrixIndexuivARB = (PFNGLMATRIXINDEXUIVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexuivARB")) == NULL) || r;
4770 r = ((glMatrixIndexusvARB = (PFNGLMATRIXINDEXUSVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexusvARB")) == NULL) || r;
4771
4772 return r;
4773}
4774
4775#endif /* GL_ARB_matrix_palette */
4776
4777#ifdef GL_ARB_multi_bind
4778
4779static GLboolean _glewInit_GL_ARB_multi_bind (GLEW_CONTEXT_ARG_DEF_INIT)
4780{
4781 GLboolean r = GL_FALSE;
4782
4783 r = ((glBindBuffersBase = (PFNGLBINDBUFFERSBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBuffersBase")) == NULL) || r;
4784 r = ((glBindBuffersRange = (PFNGLBINDBUFFERSRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBuffersRange")) == NULL) || r;
4785 r = ((glBindImageTextures = (PFNGLBINDIMAGETEXTURESPROC)glewGetProcAddress((const GLubyte*)"glBindImageTextures")) == NULL) || r;
4786 r = ((glBindSamplers = (PFNGLBINDSAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glBindSamplers")) == NULL) || r;
4787 r = ((glBindTextures = (PFNGLBINDTEXTURESPROC)glewGetProcAddress((const GLubyte*)"glBindTextures")) == NULL) || r;
4788 r = ((glBindVertexBuffers = (PFNGLBINDVERTEXBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glBindVertexBuffers")) == NULL) || r;
4789
4790 return r;
4791}
4792
4793#endif /* GL_ARB_multi_bind */
4794
4795#ifdef GL_ARB_multi_draw_indirect
4796
4797static GLboolean _glewInit_GL_ARB_multi_draw_indirect (GLEW_CONTEXT_ARG_DEF_INIT)
4798{
4799 GLboolean r = GL_FALSE;
4800
4801 r = ((glMultiDrawArraysIndirect = (PFNGLMULTIDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirect")) == NULL) || r;
4802 r = ((glMultiDrawElementsIndirect = (PFNGLMULTIDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirect")) == NULL) || r;
4803
4804 return r;
4805}
4806
4807#endif /* GL_ARB_multi_draw_indirect */
4808
4809#ifdef GL_ARB_multisample
4810
4811static GLboolean _glewInit_GL_ARB_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
4812{
4813 GLboolean r = GL_FALSE;
4814
4815 r = ((glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverageARB")) == NULL) || r;
4816
4817 return r;
4818}
4819
4820#endif /* GL_ARB_multisample */
4821
4822#ifdef GL_ARB_multitexture
4823
4824static GLboolean _glewInit_GL_ARB_multitexture (GLEW_CONTEXT_ARG_DEF_INIT)
4825{
4826 GLboolean r = GL_FALSE;
4827
4828 r = ((glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glActiveTextureARB")) == NULL) || r;
4829 r = ((glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTextureARB")) == NULL) || r;
4830 r = ((glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dARB")) == NULL) || r;
4831 r = ((glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dvARB")) == NULL) || r;
4832 r = ((glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fARB")) == NULL) || r;
4833 r = ((glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fvARB")) == NULL) || r;
4834 r = ((glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iARB")) == NULL) || r;
4835 r = ((glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1ivARB")) == NULL) || r;
4836 r = ((glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sARB")) == NULL) || r;
4837 r = ((glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1svARB")) == NULL) || r;
4838 r = ((glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dARB")) == NULL) || r;
4839 r = ((glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dvARB")) == NULL) || r;
4840 r = ((glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fARB")) == NULL) || r;
4841 r = ((glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fvARB")) == NULL) || r;
4842 r = ((glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iARB")) == NULL) || r;
4843 r = ((glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2ivARB")) == NULL) || r;
4844 r = ((glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sARB")) == NULL) || r;
4845 r = ((glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2svARB")) == NULL) || r;
4846 r = ((glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dARB")) == NULL) || r;
4847 r = ((glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dvARB")) == NULL) || r;
4848 r = ((glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fARB")) == NULL) || r;
4849 r = ((glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fvARB")) == NULL) || r;
4850 r = ((glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iARB")) == NULL) || r;
4851 r = ((glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3ivARB")) == NULL) || r;
4852 r = ((glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sARB")) == NULL) || r;
4853 r = ((glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3svARB")) == NULL) || r;
4854 r = ((glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dARB")) == NULL) || r;
4855 r = ((glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dvARB")) == NULL) || r;
4856 r = ((glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fARB")) == NULL) || r;
4857 r = ((glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fvARB")) == NULL) || r;
4858 r = ((glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iARB")) == NULL) || r;
4859 r = ((glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4ivARB")) == NULL) || r;
4860 r = ((glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sARB")) == NULL) || r;
4861 r = ((glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4svARB")) == NULL) || r;
4862
4863 return r;
4864}
4865
4866#endif /* GL_ARB_multitexture */
4867
4868#ifdef GL_ARB_occlusion_query
4869
4870static GLboolean _glewInit_GL_ARB_occlusion_query (GLEW_CONTEXT_ARG_DEF_INIT)
4871{
4872 GLboolean r = GL_FALSE;
4873
4874 r = ((glBeginQueryARB = (PFNGLBEGINQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryARB")) == NULL) || r;
4875 r = ((glDeleteQueriesARB = (PFNGLDELETEQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesARB")) == NULL) || r;
4876 r = ((glEndQueryARB = (PFNGLENDQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glEndQueryARB")) == NULL) || r;
4877 r = ((glGenQueriesARB = (PFNGLGENQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesARB")) == NULL) || r;
4878 r = ((glGetQueryObjectivARB = (PFNGLGETQUERYOBJECTIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivARB")) == NULL) || r;
4879 r = ((glGetQueryObjectuivARB = (PFNGLGETQUERYOBJECTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivARB")) == NULL) || r;
4880 r = ((glGetQueryivARB = (PFNGLGETQUERYIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivARB")) == NULL) || r;
4881 r = ((glIsQueryARB = (PFNGLISQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glIsQueryARB")) == NULL) || r;
4882
4883 return r;
4884}
4885
4886#endif /* GL_ARB_occlusion_query */
4887
4888#ifdef GL_ARB_occlusion_query2
4889
4890#endif /* GL_ARB_occlusion_query2 */
4891
4892#ifdef GL_ARB_pixel_buffer_object
4893
4894#endif /* GL_ARB_pixel_buffer_object */
4895
4896#ifdef GL_ARB_point_parameters
4897
4898static GLboolean _glewInit_GL_ARB_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
4899{
4900 GLboolean r = GL_FALSE;
4901
4902 r = ((glPointParameterfARB = (PFNGLPOINTPARAMETERFARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfARB")) == NULL) || r;
4903 r = ((glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvARB")) == NULL) || r;
4904
4905 return r;
4906}
4907
4908#endif /* GL_ARB_point_parameters */
4909
4910#ifdef GL_ARB_point_sprite
4911
4912#endif /* GL_ARB_point_sprite */
4913
4914#ifdef GL_ARB_program_interface_query
4915
4916static GLboolean _glewInit_GL_ARB_program_interface_query (GLEW_CONTEXT_ARG_DEF_INIT)
4917{
4918 GLboolean r = GL_FALSE;
4919
4920 r = ((glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInterfaceiv")) == NULL) || r;
4921 r = ((glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceIndex")) == NULL) || r;
4922 r = ((glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocation")) == NULL) || r;
4923 r = ((glGetProgramResourceLocationIndex = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocationIndex")) == NULL) || r;
4924 r = ((glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceName")) == NULL) || r;
4925 r = ((glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceiv")) == NULL) || r;
4926
4927 return r;
4928}
4929
4930#endif /* GL_ARB_program_interface_query */
4931
4932#ifdef GL_ARB_provoking_vertex
4933
4934static GLboolean _glewInit_GL_ARB_provoking_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
4935{
4936 GLboolean r = GL_FALSE;
4937
4938 r = ((glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertex")) == NULL) || r;
4939
4940 return r;
4941}
4942
4943#endif /* GL_ARB_provoking_vertex */
4944
4945#ifdef GL_ARB_query_buffer_object
4946
4947#endif /* GL_ARB_query_buffer_object */
4948
4949#ifdef GL_ARB_robust_buffer_access_behavior
4950
4951#endif /* GL_ARB_robust_buffer_access_behavior */
4952
4953#ifdef GL_ARB_robustness
4954
4955static GLboolean _glewInit_GL_ARB_robustness (GLEW_CONTEXT_ARG_DEF_INIT)
4956{
4957 GLboolean r = GL_FALSE;
4958
4959 r = ((glGetGraphicsResetStatusARB = (PFNGLGETGRAPHICSRESETSTATUSARBPROC)glewGetProcAddress((const GLubyte*)"glGetGraphicsResetStatusARB")) == NULL) || r;
4960 r = ((glGetnColorTableARB = (PFNGLGETNCOLORTABLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnColorTableARB")) == NULL) || r;
4961 r = ((glGetnCompressedTexImageARB = (PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnCompressedTexImageARB")) == NULL) || r;
4962 r = ((glGetnConvolutionFilterARB = (PFNGLGETNCONVOLUTIONFILTERARBPROC)glewGetProcAddress((const GLubyte*)"glGetnConvolutionFilterARB")) == NULL) || r;
4963 r = ((glGetnHistogramARB = (PFNGLGETNHISTOGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glGetnHistogramARB")) == NULL) || r;
4964 r = ((glGetnMapdvARB = (PFNGLGETNMAPDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapdvARB")) == NULL) || r;
4965 r = ((glGetnMapfvARB = (PFNGLGETNMAPFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapfvARB")) == NULL) || r;
4966 r = ((glGetnMapivARB = (PFNGLGETNMAPIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapivARB")) == NULL) || r;
4967 r = ((glGetnMinmaxARB = (PFNGLGETNMINMAXARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMinmaxARB")) == NULL) || r;
4968 r = ((glGetnPixelMapfvARB = (PFNGLGETNPIXELMAPFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapfvARB")) == NULL) || r;
4969 r = ((glGetnPixelMapuivARB = (PFNGLGETNPIXELMAPUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapuivARB")) == NULL) || r;
4970 r = ((glGetnPixelMapusvARB = (PFNGLGETNPIXELMAPUSVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapusvARB")) == NULL) || r;
4971 r = ((glGetnPolygonStippleARB = (PFNGLGETNPOLYGONSTIPPLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPolygonStippleARB")) == NULL) || r;
4972 r = ((glGetnSeparableFilterARB = (PFNGLGETNSEPARABLEFILTERARBPROC)glewGetProcAddress((const GLubyte*)"glGetnSeparableFilterARB")) == NULL) || r;
4973 r = ((glGetnTexImageARB = (PFNGLGETNTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnTexImageARB")) == NULL) || r;
4974 r = ((glGetnUniformdvARB = (PFNGLGETNUNIFORMDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformdvARB")) == NULL) || r;
4975 r = ((glGetnUniformfvARB = (PFNGLGETNUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformfvARB")) == NULL) || r;
4976 r = ((glGetnUniformivARB = (PFNGLGETNUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformivARB")) == NULL) || r;
4977 r = ((glGetnUniformuivARB = (PFNGLGETNUNIFORMUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformuivARB")) == NULL) || r;
4978 r = ((glReadnPixelsARB = (PFNGLREADNPIXELSARBPROC)glewGetProcAddress((const GLubyte*)"glReadnPixelsARB")) == NULL) || r;
4979
4980 return r;
4981}
4982
4983#endif /* GL_ARB_robustness */
4984
4985#ifdef GL_ARB_robustness_application_isolation
4986
4987#endif /* GL_ARB_robustness_application_isolation */
4988
4989#ifdef GL_ARB_robustness_share_group_isolation
4990
4991#endif /* GL_ARB_robustness_share_group_isolation */
4992
4993#ifdef GL_ARB_sample_shading
4994
4995static GLboolean _glewInit_GL_ARB_sample_shading (GLEW_CONTEXT_ARG_DEF_INIT)
4996{
4997 GLboolean r = GL_FALSE;
4998
4999 r = ((glMinSampleShadingARB = (PFNGLMINSAMPLESHADINGARBPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShadingARB")) == NULL) || r;
5000
5001 return r;
5002}
5003
5004#endif /* GL_ARB_sample_shading */
5005
5006#ifdef GL_ARB_sampler_objects
5007
5008static GLboolean _glewInit_GL_ARB_sampler_objects (GLEW_CONTEXT_ARG_DEF_INIT)
5009{
5010 GLboolean r = GL_FALSE;
5011
5012 r = ((glBindSampler = (PFNGLBINDSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glBindSampler")) == NULL) || r;
5013 r = ((glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteSamplers")) == NULL) || r;
5014 r = ((glGenSamplers = (PFNGLGENSAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glGenSamplers")) == NULL) || r;
5015 r = ((glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIiv")) == NULL) || r;
5016 r = ((glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIuiv")) == NULL) || r;
5017 r = ((glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterfv")) == NULL) || r;
5018 r = ((glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameteriv")) == NULL) || r;
5019 r = ((glIsSampler = (PFNGLISSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glIsSampler")) == NULL) || r;
5020 r = ((glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIiv")) == NULL) || r;
5021 r = ((glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIuiv")) == NULL) || r;
5022 r = ((glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterf")) == NULL) || r;
5023 r = ((glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterfv")) == NULL) || r;
5024 r = ((glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteri")) == NULL) || r;
5025 r = ((glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteriv")) == NULL) || r;
5026
5027 return r;
5028}
5029
5030#endif /* GL_ARB_sampler_objects */
5031
5032#ifdef GL_ARB_seamless_cube_map
5033
5034#endif /* GL_ARB_seamless_cube_map */
5035
5036#ifdef GL_ARB_seamless_cubemap_per_texture
5037
5038#endif /* GL_ARB_seamless_cubemap_per_texture */
5039
5040#ifdef GL_ARB_separate_shader_objects
5041
5042static GLboolean _glewInit_GL_ARB_separate_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)
5043{
5044 GLboolean r = GL_FALSE;
5045
5046 r = ((glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glActiveShaderProgram")) == NULL) || r;
5047 r = ((glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glBindProgramPipeline")) == NULL) || r;
5048 r = ((glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramv")) == NULL) || r;
5049 r = ((glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramPipelines")) == NULL) || r;
5050 r = ((glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glGenProgramPipelines")) == NULL) || r;
5051 r = ((glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramPipelineInfoLog")) == NULL) || r;
5052 r = ((glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramPipelineiv")) == NULL) || r;
5053 r = ((glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glIsProgramPipeline")) == NULL) || r;
5054 r = ((glProgramUniform1d = (PFNGLPROGRAMUNIFORM1DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1d")) == NULL) || r;
5055 r = ((glProgramUniform1dv = (PFNGLPROGRAMUNIFORM1DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1dv")) == NULL) || r;
5056 r = ((glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1f")) == NULL) || r;
5057 r = ((glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fv")) == NULL) || r;
5058 r = ((glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i")) == NULL) || r;
5059 r = ((glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1iv")) == NULL) || r;
5060 r = ((glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui")) == NULL) || r;
5061 r = ((glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uiv")) == NULL) || r;
5062 r = ((glProgramUniform2d = (PFNGLPROGRAMUNIFORM2DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2d")) == NULL) || r;
5063 r = ((glProgramUniform2dv = (PFNGLPROGRAMUNIFORM2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2dv")) == NULL) || r;
5064 r = ((glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2f")) == NULL) || r;
5065 r = ((glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fv")) == NULL) || r;
5066 r = ((glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i")) == NULL) || r;
5067 r = ((glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2iv")) == NULL) || r;
5068 r = ((glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui")) == NULL) || r;
5069 r = ((glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uiv")) == NULL) || r;
5070 r = ((glProgramUniform3d = (PFNGLPROGRAMUNIFORM3DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3d")) == NULL) || r;
5071 r = ((glProgramUniform3dv = (PFNGLPROGRAMUNIFORM3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3dv")) == NULL) || r;
5072 r = ((glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3f")) == NULL) || r;
5073 r = ((glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fv")) == NULL) || r;
5074 r = ((glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i")) == NULL) || r;
5075 r = ((glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3iv")) == NULL) || r;
5076 r = ((glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui")) == NULL) || r;
5077 r = ((glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uiv")) == NULL) || r;
5078 r = ((glProgramUniform4d = (PFNGLPROGRAMUNIFORM4DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4d")) == NULL) || r;
5079 r = ((glProgramUniform4dv = (PFNGLPROGRAMUNIFORM4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4dv")) == NULL) || r;
5080 r = ((glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4f")) == NULL) || r;
5081 r = ((glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fv")) == NULL) || r;
5082 r = ((glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i")) == NULL) || r;
5083 r = ((glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4iv")) == NULL) || r;
5084 r = ((glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui")) == NULL) || r;
5085 r = ((glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uiv")) == NULL) || r;
5086 r = ((glProgramUniformMatrix2dv = (PFNGLPROGRAMUNIFORMMATRIX2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2dv")) == NULL) || r;
5087 r = ((glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2fv")) == NULL) || r;
5088 r = ((glProgramUniformMatrix2x3dv = (PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3dv")) == NULL) || r;
5089 r = ((glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3fv")) == NULL) || r;
5090 r = ((glProgramUniformMatrix2x4dv = (PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4dv")) == NULL) || r;
5091 r = ((glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4fv")) == NULL) || r;
5092 r = ((glProgramUniformMatrix3dv = (PFNGLPROGRAMUNIFORMMATRIX3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3dv")) == NULL) || r;
5093 r = ((glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3fv")) == NULL) || r;
5094 r = ((glProgramUniformMatrix3x2dv = (PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2dv")) == NULL) || r;
5095 r = ((glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2fv")) == NULL) || r;
5096 r = ((glProgramUniformMatrix3x4dv = (PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4dv")) == NULL) || r;
5097 r = ((glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4fv")) == NULL) || r;
5098 r = ((glProgramUniformMatrix4dv = (PFNGLPROGRAMUNIFORMMATRIX4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4dv")) == NULL) || r;
5099 r = ((glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4fv")) == NULL) || r;
5100 r = ((glProgramUniformMatrix4x2dv = (PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2dv")) == NULL) || r;
5101 r = ((glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2fv")) == NULL) || r;
5102 r = ((glProgramUniformMatrix4x3dv = (PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3dv")) == NULL) || r;
5103 r = ((glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3fv")) == NULL) || r;
5104 r = ((glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)glewGetProcAddress((const GLubyte*)"glUseProgramStages")) == NULL) || r;
5105 r = ((glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramPipeline")) == NULL) || r;
5106
5107 return r;
5108}
5109
5110#endif /* GL_ARB_separate_shader_objects */
5111
5112#ifdef GL_ARB_shader_atomic_counters
5113
5114static GLboolean _glewInit_GL_ARB_shader_atomic_counters (GLEW_CONTEXT_ARG_DEF_INIT)
5115{
5116 GLboolean r = GL_FALSE;
5117
5118 r = ((glGetActiveAtomicCounterBufferiv = (PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAtomicCounterBufferiv")) == NULL) || r;
5119
5120 return r;
5121}
5122
5123#endif /* GL_ARB_shader_atomic_counters */
5124
5125#ifdef GL_ARB_shader_bit_encoding
5126
5127#endif /* GL_ARB_shader_bit_encoding */
5128
5129#ifdef GL_ARB_shader_draw_parameters
5130
5131#endif /* GL_ARB_shader_draw_parameters */
5132
5133#ifdef GL_ARB_shader_group_vote
5134
5135#endif /* GL_ARB_shader_group_vote */
5136
5137#ifdef GL_ARB_shader_image_load_store
5138
5139static GLboolean _glewInit_GL_ARB_shader_image_load_store (GLEW_CONTEXT_ARG_DEF_INIT)
5140{
5141 GLboolean r = GL_FALSE;
5142
5143 r = ((glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glBindImageTexture")) == NULL) || r;
5144 r = ((glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrier")) == NULL) || r;
5145
5146 return r;
5147}
5148
5149#endif /* GL_ARB_shader_image_load_store */
5150
5151#ifdef GL_ARB_shader_image_size
5152
5153#endif /* GL_ARB_shader_image_size */
5154
5155#ifdef GL_ARB_shader_objects
5156
5157static GLboolean _glewInit_GL_ARB_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)
5158{
5159 GLboolean r = GL_FALSE;
5160
5161 r = ((glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glAttachObjectARB")) == NULL) || r;
5162 r = ((glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderARB")) == NULL) || r;
5163 r = ((glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateProgramObjectARB")) == NULL) || r;
5164 r = ((glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderObjectARB")) == NULL) || r;
5165 r = ((glDeleteObjectARB = (PFNGLDELETEOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteObjectARB")) == NULL) || r;
5166 r = ((glDetachObjectARB = (PFNGLDETACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDetachObjectARB")) == NULL) || r;
5167 r = ((glGetActiveUniformARB = (PFNGLGETACTIVEUNIFORMARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformARB")) == NULL) || r;
5168 r = ((glGetAttachedObjectsARB = (PFNGLGETATTACHEDOBJECTSARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedObjectsARB")) == NULL) || r;
5169 r = ((glGetHandleARB = (PFNGLGETHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetHandleARB")) == NULL) || r;
5170 r = ((glGetInfoLogARB = (PFNGLGETINFOLOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetInfoLogARB")) == NULL) || r;
5171 r = ((glGetObjectParameterfvARB = (PFNGLGETOBJECTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterfvARB")) == NULL) || r;
5172 r = ((glGetObjectParameterivARB = (PFNGLGETOBJECTPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivARB")) == NULL) || r;
5173 r = ((glGetShaderSourceARB = (PFNGLGETSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSourceARB")) == NULL) || r;
5174 r = ((glGetUniformLocationARB = (PFNGLGETUNIFORMLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocationARB")) == NULL) || r;
5175 r = ((glGetUniformfvARB = (PFNGLGETUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfvARB")) == NULL) || r;
5176 r = ((glGetUniformivARB = (PFNGLGETUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformivARB")) == NULL) || r;
5177 r = ((glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glLinkProgramARB")) == NULL) || r;
5178 r = ((glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glShaderSourceARB")) == NULL) || r;
5179 r = ((glUniform1fARB = (PFNGLUNIFORM1FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fARB")) == NULL) || r;
5180 r = ((glUniform1fvARB = (PFNGLUNIFORM1FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fvARB")) == NULL) || r;
5181 r = ((glUniform1iARB = (PFNGLUNIFORM1IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1iARB")) == NULL) || r;
5182 r = ((glUniform1ivARB = (PFNGLUNIFORM1IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ivARB")) == NULL) || r;
5183 r = ((glUniform2fARB = (PFNGLUNIFORM2FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fARB")) == NULL) || r;
5184 r = ((glUniform2fvARB = (PFNGLUNIFORM2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fvARB")) == NULL) || r;
5185 r = ((glUniform2iARB = (PFNGLUNIFORM2IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2iARB")) == NULL) || r;
5186 r = ((glUniform2ivARB = (PFNGLUNIFORM2IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ivARB")) == NULL) || r;
5187 r = ((glUniform3fARB = (PFNGLUNIFORM3FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fARB")) == NULL) || r;
5188 r = ((glUniform3fvARB = (PFNGLUNIFORM3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fvARB")) == NULL) || r;
5189 r = ((glUniform3iARB = (PFNGLUNIFORM3IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3iARB")) == NULL) || r;
5190 r = ((glUniform3ivARB = (PFNGLUNIFORM3IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ivARB")) == NULL) || r;
5191 r = ((glUniform4fARB = (PFNGLUNIFORM4FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fARB")) == NULL) || r;
5192 r = ((glUniform4fvARB = (PFNGLUNIFORM4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fvARB")) == NULL) || r;
5193 r = ((glUniform4iARB = (PFNGLUNIFORM4IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4iARB")) == NULL) || r;
5194 r = ((glUniform4ivARB = (PFNGLUNIFORM4IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ivARB")) == NULL) || r;
5195 r = ((glUniformMatrix2fvARB = (PFNGLUNIFORMMATRIX2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fvARB")) == NULL) || r;
5196 r = ((glUniformMatrix3fvARB = (PFNGLUNIFORMMATRIX3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fvARB")) == NULL) || r;
5197 r = ((glUniformMatrix4fvARB = (PFNGLUNIFORMMATRIX4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fvARB")) == NULL) || r;
5198 r = ((glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glUseProgramObjectARB")) == NULL) || r;
5199 r = ((glValidateProgramARB = (PFNGLVALIDATEPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramARB")) == NULL) || r;
5200
5201 return r;
5202}
5203
5204#endif /* GL_ARB_shader_objects */
5205
5206#ifdef GL_ARB_shader_precision
5207
5208#endif /* GL_ARB_shader_precision */
5209
5210#ifdef GL_ARB_shader_stencil_export
5211
5212#endif /* GL_ARB_shader_stencil_export */
5213
5214#ifdef GL_ARB_shader_storage_buffer_object
5215
5216static GLboolean _glewInit_GL_ARB_shader_storage_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
5217{
5218 GLboolean r = GL_FALSE;
5219
5220 r = ((glShaderStorageBlockBinding = (PFNGLSHADERSTORAGEBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glShaderStorageBlockBinding")) == NULL) || r;
5221
5222 return r;
5223}
5224
5225#endif /* GL_ARB_shader_storage_buffer_object */
5226
5227#ifdef GL_ARB_shader_subroutine
5228
5229static GLboolean _glewInit_GL_ARB_shader_subroutine (GLEW_CONTEXT_ARG_DEF_INIT)
5230{
5231 GLboolean r = GL_FALSE;
5232
5233 r = ((glGetActiveSubroutineName = (PFNGLGETACTIVESUBROUTINENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineName")) == NULL) || r;
5234 r = ((glGetActiveSubroutineUniformName = (PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformName")) == NULL) || r;
5235 r = ((glGetActiveSubroutineUniformiv = (PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformiv")) == NULL) || r;
5236 r = ((glGetProgramStageiv = (PFNGLGETPROGRAMSTAGEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStageiv")) == NULL) || r;
5237 r = ((glGetSubroutineIndex = (PFNGLGETSUBROUTINEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineIndex")) == NULL) || r;
5238 r = ((glGetSubroutineUniformLocation = (PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineUniformLocation")) == NULL) || r;
5239 r = ((glGetUniformSubroutineuiv = (PFNGLGETUNIFORMSUBROUTINEUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformSubroutineuiv")) == NULL) || r;
5240 r = ((glUniformSubroutinesuiv = (PFNGLUNIFORMSUBROUTINESUIVPROC)glewGetProcAddress((const GLubyte*)"glUniformSubroutinesuiv")) == NULL) || r;
5241
5242 return r;
5243}
5244
5245#endif /* GL_ARB_shader_subroutine */
5246
5247#ifdef GL_ARB_shader_texture_lod
5248
5249#endif /* GL_ARB_shader_texture_lod */
5250
5251#ifdef GL_ARB_shading_language_100
5252
5253#endif /* GL_ARB_shading_language_100 */
5254
5255#ifdef GL_ARB_shading_language_420pack
5256
5257#endif /* GL_ARB_shading_language_420pack */
5258
5259#ifdef GL_ARB_shading_language_include
5260
5261static GLboolean _glewInit_GL_ARB_shading_language_include (GLEW_CONTEXT_ARG_DEF_INIT)
5262{
5263 GLboolean r = GL_FALSE;
5264
5265 r = ((glCompileShaderIncludeARB = (PFNGLCOMPILESHADERINCLUDEARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderIncludeARB")) == NULL) || r;
5266 r = ((glDeleteNamedStringARB = (PFNGLDELETENAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamedStringARB")) == NULL) || r;
5267 r = ((glGetNamedStringARB = (PFNGLGETNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringARB")) == NULL) || r;
5268 r = ((glGetNamedStringivARB = (PFNGLGETNAMEDSTRINGIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringivARB")) == NULL) || r;
5269 r = ((glIsNamedStringARB = (PFNGLISNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glIsNamedStringARB")) == NULL) || r;
5270 r = ((glNamedStringARB = (PFNGLNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glNamedStringARB")) == NULL) || r;
5271
5272 return r;
5273}
5274
5275#endif /* GL_ARB_shading_language_include */
5276
5277#ifdef GL_ARB_shading_language_packing
5278
5279#endif /* GL_ARB_shading_language_packing */
5280
5281#ifdef GL_ARB_shadow
5282
5283#endif /* GL_ARB_shadow */
5284
5285#ifdef GL_ARB_shadow_ambient
5286
5287#endif /* GL_ARB_shadow_ambient */
5288
5289#ifdef GL_ARB_sparse_texture
5290
5291static GLboolean _glewInit_GL_ARB_sparse_texture (GLEW_CONTEXT_ARG_DEF_INIT)
5292{
5293 GLboolean r = GL_FALSE;
5294
5295 r = ((glTexPageCommitmentARB = (PFNGLTEXPAGECOMMITMENTARBPROC)glewGetProcAddress((const GLubyte*)"glTexPageCommitmentARB")) == NULL) || r;
5296 r = ((glTexturePageCommitmentEXT = (PFNGLTEXTUREPAGECOMMITMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glTexturePageCommitmentEXT")) == NULL) || r;
5297
5298 return r;
5299}
5300
5301#endif /* GL_ARB_sparse_texture */
5302
5303#ifdef GL_ARB_stencil_texturing
5304
5305#endif /* GL_ARB_stencil_texturing */
5306
5307#ifdef GL_ARB_sync
5308
5309static GLboolean _glewInit_GL_ARB_sync (GLEW_CONTEXT_ARG_DEF_INIT)
5310{
5311 GLboolean r = GL_FALSE;
5312
5313 r = ((glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glClientWaitSync")) == NULL) || r;
5314 r = ((glDeleteSync = (PFNGLDELETESYNCPROC)glewGetProcAddress((const GLubyte*)"glDeleteSync")) == NULL) || r;
5315 r = ((glFenceSync = (PFNGLFENCESYNCPROC)glewGetProcAddress((const GLubyte*)"glFenceSync")) == NULL) || r;
5316 r = ((glGetInteger64v = (PFNGLGETINTEGER64VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64v")) == NULL) || r;
5317 r = ((glGetSynciv = (PFNGLGETSYNCIVPROC)glewGetProcAddress((const GLubyte*)"glGetSynciv")) == NULL) || r;
5318 r = ((glIsSync = (PFNGLISSYNCPROC)glewGetProcAddress((const GLubyte*)"glIsSync")) == NULL) || r;
5319 r = ((glWaitSync = (PFNGLWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glWaitSync")) == NULL) || r;
5320
5321 return r;
5322}
5323
5324#endif /* GL_ARB_sync */
5325
5326#ifdef GL_ARB_tessellation_shader
5327
5328static GLboolean _glewInit_GL_ARB_tessellation_shader (GLEW_CONTEXT_ARG_DEF_INIT)
5329{
5330 GLboolean r = GL_FALSE;
5331
5332 r = ((glPatchParameterfv = (PFNGLPATCHPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPatchParameterfv")) == NULL) || r;
5333 r = ((glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPatchParameteri")) == NULL) || r;
5334
5335 return r;
5336}
5337
5338#endif /* GL_ARB_tessellation_shader */
5339
5340#ifdef GL_ARB_texture_border_clamp
5341
5342#endif /* GL_ARB_texture_border_clamp */
5343
5344#ifdef GL_ARB_texture_buffer_object
5345
5346static GLboolean _glewInit_GL_ARB_texture_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
5347{
5348 GLboolean r = GL_FALSE;
5349
5350 r = ((glTexBufferARB = (PFNGLTEXBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glTexBufferARB")) == NULL) || r;
5351
5352 return r;
5353}
5354
5355#endif /* GL_ARB_texture_buffer_object */
5356
5357#ifdef GL_ARB_texture_buffer_object_rgb32
5358
5359#endif /* GL_ARB_texture_buffer_object_rgb32 */
5360
5361#ifdef GL_ARB_texture_buffer_range
5362
5363static GLboolean _glewInit_GL_ARB_texture_buffer_range (GLEW_CONTEXT_ARG_DEF_INIT)
5364{
5365 GLboolean r = GL_FALSE;
5366
5367 r = ((glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glTexBufferRange")) == NULL) || r;
5368 r = ((glTextureBufferRangeEXT = (PFNGLTEXTUREBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferRangeEXT")) == NULL) || r;
5369
5370 return r;
5371}
5372
5373#endif /* GL_ARB_texture_buffer_range */
5374
5375#ifdef GL_ARB_texture_compression
5376
5377static GLboolean _glewInit_GL_ARB_texture_compression (GLEW_CONTEXT_ARG_DEF_INIT)
5378{
5379 GLboolean r = GL_FALSE;
5380
5381 r = ((glCompressedTexImage1DARB = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1DARB")) == NULL) || r;
5382 r = ((glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2DARB")) == NULL) || r;
5383 r = ((glCompressedTexImage3DARB = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3DARB")) == NULL) || r;
5384 r = ((glCompressedTexSubImage1DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1DARB")) == NULL) || r;
5385 r = ((glCompressedTexSubImage2DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2DARB")) == NULL) || r;
5386 r = ((glCompressedTexSubImage3DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3DARB")) == NULL) || r;
5387 r = ((glGetCompressedTexImageARB = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImageARB")) == NULL) || r;
5388
5389 return r;
5390}
5391
5392#endif /* GL_ARB_texture_compression */
5393
5394#ifdef GL_ARB_texture_compression_bptc
5395
5396#endif /* GL_ARB_texture_compression_bptc */
5397
5398#ifdef GL_ARB_texture_compression_rgtc
5399
5400#endif /* GL_ARB_texture_compression_rgtc */
5401
5402#ifdef GL_ARB_texture_cube_map
5403
5404#endif /* GL_ARB_texture_cube_map */
5405
5406#ifdef GL_ARB_texture_cube_map_array
5407
5408#endif /* GL_ARB_texture_cube_map_array */
5409
5410#ifdef GL_ARB_texture_env_add
5411
5412#endif /* GL_ARB_texture_env_add */
5413
5414#ifdef GL_ARB_texture_env_combine
5415
5416#endif /* GL_ARB_texture_env_combine */
5417
5418#ifdef GL_ARB_texture_env_crossbar
5419
5420#endif /* GL_ARB_texture_env_crossbar */
5421
5422#ifdef GL_ARB_texture_env_dot3
5423
5424#endif /* GL_ARB_texture_env_dot3 */
5425
5426#ifdef GL_ARB_texture_float
5427
5428#endif /* GL_ARB_texture_float */
5429
5430#ifdef GL_ARB_texture_gather
5431
5432#endif /* GL_ARB_texture_gather */
5433
5434#ifdef GL_ARB_texture_mirror_clamp_to_edge
5435
5436#endif /* GL_ARB_texture_mirror_clamp_to_edge */
5437
5438#ifdef GL_ARB_texture_mirrored_repeat
5439
5440#endif /* GL_ARB_texture_mirrored_repeat */
5441
5442#ifdef GL_ARB_texture_multisample
5443
5444static GLboolean _glewInit_GL_ARB_texture_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
5445{
5446 GLboolean r = GL_FALSE;
5447
5448 r = ((glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefv")) == NULL) || r;
5449 r = ((glSampleMaski = (PFNGLSAMPLEMASKIPROC)glewGetProcAddress((const GLubyte*)"glSampleMaski")) == NULL) || r;
5450 r = ((glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisample")) == NULL) || r;
5451 r = ((glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisample")) == NULL) || r;
5452
5453 return r;
5454}
5455
5456#endif /* GL_ARB_texture_multisample */
5457
5458#ifdef GL_ARB_texture_non_power_of_two
5459
5460#endif /* GL_ARB_texture_non_power_of_two */
5461
5462#ifdef GL_ARB_texture_query_levels
5463
5464#endif /* GL_ARB_texture_query_levels */
5465
5466#ifdef GL_ARB_texture_query_lod
5467
5468#endif /* GL_ARB_texture_query_lod */
5469
5470#ifdef GL_ARB_texture_rectangle
5471
5472#endif /* GL_ARB_texture_rectangle */
5473
5474#ifdef GL_ARB_texture_rg
5475
5476#endif /* GL_ARB_texture_rg */
5477
5478#ifdef GL_ARB_texture_rgb10_a2ui
5479
5480#endif /* GL_ARB_texture_rgb10_a2ui */
5481
5482#ifdef GL_ARB_texture_stencil8
5483
5484#endif /* GL_ARB_texture_stencil8 */
5485
5486#ifdef GL_ARB_texture_storage
5487
5488static GLboolean _glewInit_GL_ARB_texture_storage (GLEW_CONTEXT_ARG_DEF_INIT)
5489{
5490 GLboolean r = GL_FALSE;
5491
5492 r = ((glTexStorage1D = (PFNGLTEXSTORAGE1DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage1D")) == NULL) || r;
5493 r = ((glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2D")) == NULL) || r;
5494 r = ((glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3D")) == NULL) || r;
5495 r = ((glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage1DEXT")) == NULL) || r;
5496 r = ((glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DEXT")) == NULL) || r;
5497 r = ((glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DEXT")) == NULL) || r;
5498
5499 return r;
5500}
5501
5502#endif /* GL_ARB_texture_storage */
5503
5504#ifdef GL_ARB_texture_storage_multisample
5505
5506static GLboolean _glewInit_GL_ARB_texture_storage_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
5507{
5508 GLboolean r = GL_FALSE;
5509
5510 r = ((glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2DMultisample")) == NULL) || r;
5511 r = ((glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3DMultisample")) == NULL) || r;
5512 r = ((glTextureStorage2DMultisampleEXT = (PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DMultisampleEXT")) == NULL) || r;
5513 r = ((glTextureStorage3DMultisampleEXT = (PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DMultisampleEXT")) == NULL) || r;
5514
5515 return r;
5516}
5517
5518#endif /* GL_ARB_texture_storage_multisample */
5519
5520#ifdef GL_ARB_texture_swizzle
5521
5522#endif /* GL_ARB_texture_swizzle */
5523
5524#ifdef GL_ARB_texture_view
5525
5526static GLboolean _glewInit_GL_ARB_texture_view (GLEW_CONTEXT_ARG_DEF_INIT)
5527{
5528 GLboolean r = GL_FALSE;
5529
5530 r = ((glTextureView = (PFNGLTEXTUREVIEWPROC)glewGetProcAddress((const GLubyte*)"glTextureView")) == NULL) || r;
5531
5532 return r;
5533}
5534
5535#endif /* GL_ARB_texture_view */
5536
5537#ifdef GL_ARB_timer_query
5538
5539static GLboolean _glewInit_GL_ARB_timer_query (GLEW_CONTEXT_ARG_DEF_INIT)
5540{
5541 GLboolean r = GL_FALSE;
5542
5543 r = ((glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64v")) == NULL) || r;
5544 r = ((glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64v")) == NULL) || r;
5545 r = ((glQueryCounter = (PFNGLQUERYCOUNTERPROC)glewGetProcAddress((const GLubyte*)"glQueryCounter")) == NULL) || r;
5546
5547 return r;
5548}
5549
5550#endif /* GL_ARB_timer_query */
5551
5552#ifdef GL_ARB_transform_feedback2
5553
5554static GLboolean _glewInit_GL_ARB_transform_feedback2 (GLEW_CONTEXT_ARG_DEF_INIT)
5555{
5556 GLboolean r = GL_FALSE;
5557
5558 r = ((glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedback")) == NULL) || r;
5559 r = ((glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacks")) == NULL) || r;
5560 r = ((glDrawTransformFeedback = (PFNGLDRAWTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedback")) == NULL) || r;
5561 r = ((glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacks")) == NULL) || r;
5562 r = ((glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedback")) == NULL) || r;
5563 r = ((glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedback")) == NULL) || r;
5564 r = ((glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedback")) == NULL) || r;
5565
5566 return r;
5567}
5568
5569#endif /* GL_ARB_transform_feedback2 */
5570
5571#ifdef GL_ARB_transform_feedback3
5572
5573static GLboolean _glewInit_GL_ARB_transform_feedback3 (GLEW_CONTEXT_ARG_DEF_INIT)
5574{
5575 GLboolean r = GL_FALSE;
5576
5577 r = ((glBeginQueryIndexed = (PFNGLBEGINQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryIndexed")) == NULL) || r;
5578 r = ((glDrawTransformFeedbackStream = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStream")) == NULL) || r;
5579 r = ((glEndQueryIndexed = (PFNGLENDQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glEndQueryIndexed")) == NULL) || r;
5580 r = ((glGetQueryIndexediv = (PFNGLGETQUERYINDEXEDIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryIndexediv")) == NULL) || r;
5581
5582 return r;
5583}
5584
5585#endif /* GL_ARB_transform_feedback3 */
5586
5587#ifdef GL_ARB_transform_feedback_instanced
5588
5589static GLboolean _glewInit_GL_ARB_transform_feedback_instanced (GLEW_CONTEXT_ARG_DEF_INIT)
5590{
5591 GLboolean r = GL_FALSE;
5592
5593 r = ((glDrawTransformFeedbackInstanced = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackInstanced")) == NULL) || r;
5594 r = ((glDrawTransformFeedbackStreamInstanced = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStreamInstanced")) == NULL) || r;
5595
5596 return r;
5597}
5598
5599#endif /* GL_ARB_transform_feedback_instanced */
5600
5601#ifdef GL_ARB_transpose_matrix
5602
5603static GLboolean _glewInit_GL_ARB_transpose_matrix (GLEW_CONTEXT_ARG_DEF_INIT)
5604{
5605 GLboolean r = GL_FALSE;
5606
5607 r = ((glLoadTransposeMatrixdARB = (PFNGLLOADTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixdARB")) == NULL) || r;
5608 r = ((glLoadTransposeMatrixfARB = (PFNGLLOADTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixfARB")) == NULL) || r;
5609 r = ((glMultTransposeMatrixdARB = (PFNGLMULTTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixdARB")) == NULL) || r;
5610 r = ((glMultTransposeMatrixfARB = (PFNGLMULTTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixfARB")) == NULL) || r;
5611
5612 return r;
5613}
5614
5615#endif /* GL_ARB_transpose_matrix */
5616
5617#ifdef GL_ARB_uniform_buffer_object
5618
5619static GLboolean _glewInit_GL_ARB_uniform_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
5620{
5621 GLboolean r = GL_FALSE;
5622
5623 r = ((glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBase")) == NULL) || r;
5624 r = ((glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRange")) == NULL) || r;
5625 r = ((glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockName")) == NULL) || r;
5626 r = ((glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockiv")) == NULL) || r;
5627 r = ((glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformName")) == NULL) || r;
5628 r = ((glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformsiv")) == NULL) || r;
5629 r = ((glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)glewGetProcAddress((const GLubyte*)"glGetIntegeri_v")) == NULL) || r;
5630 r = ((glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBlockIndex")) == NULL) || r;
5631 r = ((glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)glewGetProcAddress((const GLubyte*)"glGetUniformIndices")) == NULL) || r;
5632 r = ((glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glUniformBlockBinding")) == NULL) || r;
5633
5634 return r;
5635}
5636
5637#endif /* GL_ARB_uniform_buffer_object */
5638
5639#ifdef GL_ARB_vertex_array_bgra
5640
5641#endif /* GL_ARB_vertex_array_bgra */
5642
5643#ifdef GL_ARB_vertex_array_object
5644
5645static GLboolean _glewInit_GL_ARB_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
5646{
5647 GLboolean r = GL_FALSE;
5648
5649 r = ((glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArray")) == NULL) || r;
5650 r = ((glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArrays")) == NULL) || r;
5651 r = ((glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArrays")) == NULL) || r;
5652 r = ((glIsVertexArray = (PFNGLISVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArray")) == NULL) || r;
5653
5654 return r;
5655}
5656
5657#endif /* GL_ARB_vertex_array_object */
5658
5659#ifdef GL_ARB_vertex_attrib_64bit
5660
5661static GLboolean _glewInit_GL_ARB_vertex_attrib_64bit (GLEW_CONTEXT_ARG_DEF_INIT)
5662{
5663 GLboolean r = GL_FALSE;
5664
5665 r = ((glGetVertexAttribLdv = (PFNGLGETVERTEXATTRIBLDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdv")) == NULL) || r;
5666 r = ((glVertexAttribL1d = (PFNGLVERTEXATTRIBL1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1d")) == NULL) || r;
5667 r = ((glVertexAttribL1dv = (PFNGLVERTEXATTRIBL1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dv")) == NULL) || r;
5668 r = ((glVertexAttribL2d = (PFNGLVERTEXATTRIBL2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2d")) == NULL) || r;
5669 r = ((glVertexAttribL2dv = (PFNGLVERTEXATTRIBL2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dv")) == NULL) || r;
5670 r = ((glVertexAttribL3d = (PFNGLVERTEXATTRIBL3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3d")) == NULL) || r;
5671 r = ((glVertexAttribL3dv = (PFNGLVERTEXATTRIBL3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dv")) == NULL) || r;
5672 r = ((glVertexAttribL4d = (PFNGLVERTEXATTRIBL4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4d")) == NULL) || r;
5673 r = ((glVertexAttribL4dv = (PFNGLVERTEXATTRIBL4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dv")) == NULL) || r;
5674 r = ((glVertexAttribLPointer = (PFNGLVERTEXATTRIBLPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointer")) == NULL) || r;
5675
5676 return r;
5677}
5678
5679#endif /* GL_ARB_vertex_attrib_64bit */
5680
5681#ifdef GL_ARB_vertex_attrib_binding
5682
5683static GLboolean _glewInit_GL_ARB_vertex_attrib_binding (GLEW_CONTEXT_ARG_DEF_INIT)
5684{
5685 GLboolean r = GL_FALSE;
5686
5687 r = ((glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindVertexBuffer")) == NULL) || r;
5688 r = ((glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribBinding")) == NULL) || r;
5689 r = ((glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormat")) == NULL) || r;
5690 r = ((glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormat")) == NULL) || r;
5691 r = ((glVertexAttribLFormat = (PFNGLVERTEXATTRIBLFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormat")) == NULL) || r;
5692 r = ((glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexBindingDivisor")) == NULL) || r;
5693
5694 return r;
5695}
5696
5697#endif /* GL_ARB_vertex_attrib_binding */
5698
5699#ifdef GL_ARB_vertex_blend
5700
5701static GLboolean _glewInit_GL_ARB_vertex_blend (GLEW_CONTEXT_ARG_DEF_INIT)
5702{
5703 GLboolean r = GL_FALSE;
5704
5705 r = ((glVertexBlendARB = (PFNGLVERTEXBLENDARBPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendARB")) == NULL) || r;
5706 r = ((glWeightPointerARB = (PFNGLWEIGHTPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glWeightPointerARB")) == NULL) || r;
5707 r = ((glWeightbvARB = (PFNGLWEIGHTBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightbvARB")) == NULL) || r;
5708 r = ((glWeightdvARB = (PFNGLWEIGHTDVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightdvARB")) == NULL) || r;
5709 r = ((glWeightfvARB = (PFNGLWEIGHTFVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightfvARB")) == NULL) || r;
5710 r = ((glWeightivARB = (PFNGLWEIGHTIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightivARB")) == NULL) || r;
5711 r = ((glWeightsvARB = (PFNGLWEIGHTSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightsvARB")) == NULL) || r;
5712 r = ((glWeightubvARB = (PFNGLWEIGHTUBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightubvARB")) == NULL) || r;
5713 r = ((glWeightuivARB = (PFNGLWEIGHTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightuivARB")) == NULL) || r;
5714 r = ((glWeightusvARB = (PFNGLWEIGHTUSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightusvARB")) == NULL) || r;
5715
5716 return r;
5717}
5718
5719#endif /* GL_ARB_vertex_blend */
5720
5721#ifdef GL_ARB_vertex_buffer_object
5722
5723static GLboolean _glewInit_GL_ARB_vertex_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
5724{
5725 GLboolean r = GL_FALSE;
5726
5727 r = ((glBindBufferARB = (PFNGLBINDBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glBindBufferARB")) == NULL) || r;
5728 r = ((glBufferDataARB = (PFNGLBUFFERDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferDataARB")) == NULL) || r;
5729 r = ((glBufferSubDataARB = (PFNGLBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferSubDataARB")) == NULL) || r;
5730 r = ((glDeleteBuffersARB = (PFNGLDELETEBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffersARB")) == NULL) || r;
5731 r = ((glGenBuffersARB = (PFNGLGENBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glGenBuffersARB")) == NULL) || r;
5732 r = ((glGetBufferParameterivARB = (PFNGLGETBUFFERPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterivARB")) == NULL) || r;
5733 r = ((glGetBufferPointervARB = (PFNGLGETBUFFERPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointervARB")) == NULL) || r;
5734 r = ((glGetBufferSubDataARB = (PFNGLGETBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubDataARB")) == NULL) || r;
5735 r = ((glIsBufferARB = (PFNGLISBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glIsBufferARB")) == NULL) || r;
5736 r = ((glMapBufferARB = (PFNGLMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glMapBufferARB")) == NULL) || r;
5737 r = ((glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glUnmapBufferARB")) == NULL) || r;
5738
5739 return r;
5740}
5741
5742#endif /* GL_ARB_vertex_buffer_object */
5743
5744#ifdef GL_ARB_vertex_program
5745
5746static GLboolean _glewInit_GL_ARB_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT)
5747{
5748 GLboolean r = GL_FALSE;
5749
5750 r = ((glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glBindProgramARB")) == NULL) || r;
5751 r = ((glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsARB")) == NULL) || r;
5752 r = ((glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArrayARB")) == NULL) || r;
5753 r = ((glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArrayARB")) == NULL) || r;
5754 r = ((glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsARB")) == NULL) || r;
5755 r = ((glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterdvARB")) == NULL) || r;
5756 r = ((glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterfvARB")) == NULL) || r;
5757 r = ((glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterdvARB")) == NULL) || r;
5758 r = ((glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterfvARB")) == NULL) || r;
5759 r = ((glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringARB")) == NULL) || r;
5760 r = ((glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivARB")) == NULL) || r;
5761 r = ((glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervARB")) == NULL) || r;
5762 r = ((glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvARB")) == NULL) || r;
5763 r = ((glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvARB")) == NULL) || r;
5764 r = ((glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivARB")) == NULL) || r;
5765 r = ((glIsProgramARB = (PFNGLISPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glIsProgramARB")) == NULL) || r;
5766 r = ((glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dARB")) == NULL) || r;
5767 r = ((glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dvARB")) == NULL) || r;
5768 r = ((glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fARB")) == NULL) || r;
5769 r = ((glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fvARB")) == NULL) || r;
5770 r = ((glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dARB")) == NULL) || r;
5771 r = ((glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dvARB")) == NULL) || r;
5772 r = ((glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fARB")) == NULL) || r;
5773 r = ((glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fvARB")) == NULL) || r;
5774 r = ((glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glProgramStringARB")) == NULL) || r;
5775 r = ((glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dARB")) == NULL) || r;
5776 r = ((glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvARB")) == NULL) || r;
5777 r = ((glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fARB")) == NULL) || r;
5778 r = ((glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvARB")) == NULL) || r;
5779 r = ((glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sARB")) == NULL) || r;
5780 r = ((glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svARB")) == NULL) || r;
5781 r = ((glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dARB")) == NULL) || r;
5782 r = ((glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvARB")) == NULL) || r;
5783 r = ((glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fARB")) == NULL) || r;
5784 r = ((glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvARB")) == NULL) || r;
5785 r = ((glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sARB")) == NULL) || r;
5786 r = ((glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svARB")) == NULL) || r;
5787 r = ((glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dARB")) == NULL) || r;
5788 r = ((glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvARB")) == NULL) || r;
5789 r = ((glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fARB")) == NULL) || r;
5790 r = ((glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvARB")) == NULL) || r;
5791 r = ((glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sARB")) == NULL) || r;
5792 r = ((glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svARB")) == NULL) || r;
5793 r = ((glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NbvARB")) == NULL) || r;
5794 r = ((glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NivARB")) == NULL) || r;
5795 r = ((glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NsvARB")) == NULL) || r;
5796 r = ((glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubARB")) == NULL) || r;
5797 r = ((glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubvARB")) == NULL) || r;
5798 r = ((glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NuivARB")) == NULL) || r;
5799 r = ((glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NusvARB")) == NULL) || r;
5800 r = ((glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bvARB")) == NULL) || r;
5801 r = ((glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dARB")) == NULL) || r;
5802 r = ((glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvARB")) == NULL) || r;
5803 r = ((glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fARB")) == NULL) || r;
5804 r = ((glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvARB")) == NULL) || r;
5805 r = ((glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ivARB")) == NULL) || r;
5806 r = ((glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sARB")) == NULL) || r;
5807 r = ((glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svARB")) == NULL) || r;
5808 r = ((glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvARB")) == NULL) || r;
5809 r = ((glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uivARB")) == NULL) || r;
5810 r = ((glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usvARB")) == NULL) || r;
5811 r = ((glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerARB")) == NULL) || r;
5812
5813 return r;
5814}
5815
5816#endif /* GL_ARB_vertex_program */
5817
5818#ifdef GL_ARB_vertex_shader
5819
5820static GLboolean _glewInit_GL_ARB_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)
5821{
5822 GLboolean r = GL_FALSE;
5823
5824 r = ((glBindAttribLocationARB = (PFNGLBINDATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocationARB")) == NULL) || r;
5825 r = ((glGetActiveAttribARB = (PFNGLGETACTIVEATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttribARB")) == NULL) || r;
5826 r = ((glGetAttribLocationARB = (PFNGLGETATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocationARB")) == NULL) || r;
5827
5828 return r;
5829}
5830
5831#endif /* GL_ARB_vertex_shader */
5832
5833#ifdef GL_ARB_vertex_type_10f_11f_11f_rev
5834
5835#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
5836
5837#ifdef GL_ARB_vertex_type_2_10_10_10_rev
5838
5839static GLboolean _glewInit_GL_ARB_vertex_type_2_10_10_10_rev (GLEW_CONTEXT_ARG_DEF_INIT)
5840{
5841 GLboolean r = GL_FALSE;
5842
5843 r = ((glColorP3ui = (PFNGLCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glColorP3ui")) == NULL) || r;
5844 r = ((glColorP3uiv = (PFNGLCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP3uiv")) == NULL) || r;
5845 r = ((glColorP4ui = (PFNGLCOLORP4UIPROC)glewGetProcAddress((const GLubyte*)"glColorP4ui")) == NULL) || r;
5846 r = ((glColorP4uiv = (PFNGLCOLORP4UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP4uiv")) == NULL) || r;
5847 r = ((glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1ui")) == NULL) || r;
5848 r = ((glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1uiv")) == NULL) || r;
5849 r = ((glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2ui")) == NULL) || r;
5850 r = ((glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2uiv")) == NULL) || r;
5851 r = ((glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3ui")) == NULL) || r;
5852 r = ((glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3uiv")) == NULL) || r;
5853 r = ((glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4ui")) == NULL) || r;
5854 r = ((glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4uiv")) == NULL) || r;
5855 r = ((glNormalP3ui = (PFNGLNORMALP3UIPROC)glewGetProcAddress((const GLubyte*)"glNormalP3ui")) == NULL) || r;
5856 r = ((glNormalP3uiv = (PFNGLNORMALP3UIVPROC)glewGetProcAddress((const GLubyte*)"glNormalP3uiv")) == NULL) || r;
5857 r = ((glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3ui")) == NULL) || r;
5858 r = ((glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3uiv")) == NULL) || r;
5859 r = ((glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1ui")) == NULL) || r;
5860 r = ((glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1uiv")) == NULL) || r;
5861 r = ((glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2ui")) == NULL) || r;
5862 r = ((glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2uiv")) == NULL) || r;
5863 r = ((glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3ui")) == NULL) || r;
5864 r = ((glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3uiv")) == NULL) || r;
5865 r = ((glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4ui")) == NULL) || r;
5866 r = ((glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4uiv")) == NULL) || r;
5867 r = ((glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1ui")) == NULL) || r;
5868 r = ((glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1uiv")) == NULL) || r;
5869 r = ((glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2ui")) == NULL) || r;
5870 r = ((glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2uiv")) == NULL) || r;
5871 r = ((glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3ui")) == NULL) || r;
5872 r = ((glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3uiv")) == NULL) || r;
5873 r = ((glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4ui")) == NULL) || r;
5874 r = ((glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4uiv")) == NULL) || r;
5875 r = ((glVertexP2ui = (PFNGLVERTEXP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP2ui")) == NULL) || r;
5876 r = ((glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP2uiv")) == NULL) || r;
5877 r = ((glVertexP3ui = (PFNGLVERTEXP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP3ui")) == NULL) || r;
5878 r = ((glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP3uiv")) == NULL) || r;
5879 r = ((glVertexP4ui = (PFNGLVERTEXP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP4ui")) == NULL) || r;
5880 r = ((glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP4uiv")) == NULL) || r;
5881
5882 return r;
5883}
5884
5885#endif /* GL_ARB_vertex_type_2_10_10_10_rev */
5886
5887#ifdef GL_ARB_viewport_array
5888
5889static GLboolean _glewInit_GL_ARB_viewport_array (GLEW_CONTEXT_ARG_DEF_INIT)
5890{
5891 GLboolean r = GL_FALSE;
5892
5893 r = ((glDepthRangeArrayv = (PFNGLDEPTHRANGEARRAYVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeArrayv")) == NULL) || r;
5894 r = ((glDepthRangeIndexed = (PFNGLDEPTHRANGEINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeIndexed")) == NULL) || r;
5895 r = ((glGetDoublei_v = (PFNGLGETDOUBLEI_VPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_v")) == NULL) || r;
5896 r = ((glGetFloati_v = (PFNGLGETFLOATI_VPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_v")) == NULL) || r;
5897 r = ((glScissorArrayv = (PFNGLSCISSORARRAYVPROC)glewGetProcAddress((const GLubyte*)"glScissorArrayv")) == NULL) || r;
5898 r = ((glScissorIndexed = (PFNGLSCISSORINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexed")) == NULL) || r;
5899 r = ((glScissorIndexedv = (PFNGLSCISSORINDEXEDVPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexedv")) == NULL) || r;
5900 r = ((glViewportArrayv = (PFNGLVIEWPORTARRAYVPROC)glewGetProcAddress((const GLubyte*)"glViewportArrayv")) == NULL) || r;
5901 r = ((glViewportIndexedf = (PFNGLVIEWPORTINDEXEDFPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedf")) == NULL) || r;
5902 r = ((glViewportIndexedfv = (PFNGLVIEWPORTINDEXEDFVPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedfv")) == NULL) || r;
5903
5904 return r;
5905}
5906
5907#endif /* GL_ARB_viewport_array */
5908
5909#ifdef GL_ARB_window_pos
5910
5911static GLboolean _glewInit_GL_ARB_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)
5912{
5913 GLboolean r = GL_FALSE;
5914
5915 r = ((glWindowPos2dARB = (PFNGLWINDOWPOS2DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dARB")) == NULL) || r;
5916 r = ((glWindowPos2dvARB = (PFNGLWINDOWPOS2DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvARB")) == NULL) || r;
5917 r = ((glWindowPos2fARB = (PFNGLWINDOWPOS2FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fARB")) == NULL) || r;
5918 r = ((glWindowPos2fvARB = (PFNGLWINDOWPOS2FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvARB")) == NULL) || r;
5919 r = ((glWindowPos2iARB = (PFNGLWINDOWPOS2IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iARB")) == NULL) || r;
5920 r = ((glWindowPos2ivARB = (PFNGLWINDOWPOS2IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivARB")) == NULL) || r;
5921 r = ((glWindowPos2sARB = (PFNGLWINDOWPOS2SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sARB")) == NULL) || r;
5922 r = ((glWindowPos2svARB = (PFNGLWINDOWPOS2SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svARB")) == NULL) || r;
5923 r = ((glWindowPos3dARB = (PFNGLWINDOWPOS3DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dARB")) == NULL) || r;
5924 r = ((glWindowPos3dvARB = (PFNGLWINDOWPOS3DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvARB")) == NULL) || r;
5925 r = ((glWindowPos3fARB = (PFNGLWINDOWPOS3FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fARB")) == NULL) || r;
5926 r = ((glWindowPos3fvARB = (PFNGLWINDOWPOS3FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvARB")) == NULL) || r;
5927 r = ((glWindowPos3iARB = (PFNGLWINDOWPOS3IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iARB")) == NULL) || r;
5928 r = ((glWindowPos3ivARB = (PFNGLWINDOWPOS3IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivARB")) == NULL) || r;
5929 r = ((glWindowPos3sARB = (PFNGLWINDOWPOS3SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sARB")) == NULL) || r;
5930 r = ((glWindowPos3svARB = (PFNGLWINDOWPOS3SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svARB")) == NULL) || r;
5931
5932 return r;
5933}
5934
5935#endif /* GL_ARB_window_pos */
5936
5937#ifdef GL_ATIX_point_sprites
5938
5939#endif /* GL_ATIX_point_sprites */
5940
5941#ifdef GL_ATIX_texture_env_combine3
5942
5943#endif /* GL_ATIX_texture_env_combine3 */
5944
5945#ifdef GL_ATIX_texture_env_route
5946
5947#endif /* GL_ATIX_texture_env_route */
5948
5949#ifdef GL_ATIX_vertex_shader_output_point_size
5950
5951#endif /* GL_ATIX_vertex_shader_output_point_size */
5952
5953#ifdef GL_ATI_draw_buffers
5954
5955static GLboolean _glewInit_GL_ATI_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
5956{
5957 GLboolean r = GL_FALSE;
5958
5959 r = ((glDrawBuffersATI = (PFNGLDRAWBUFFERSATIPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersATI")) == NULL) || r;
5960
5961 return r;
5962}
5963
5964#endif /* GL_ATI_draw_buffers */
5965
5966#ifdef GL_ATI_element_array
5967
5968static GLboolean _glewInit_GL_ATI_element_array (GLEW_CONTEXT_ARG_DEF_INIT)
5969{
5970 GLboolean r = GL_FALSE;
5971
5972 r = ((glDrawElementArrayATI = (PFNGLDRAWELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayATI")) == NULL) || r;
5973 r = ((glDrawRangeElementArrayATI = (PFNGLDRAWRANGEELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayATI")) == NULL) || r;
5974 r = ((glElementPointerATI = (PFNGLELEMENTPOINTERATIPROC)glewGetProcAddress((const GLubyte*)"glElementPointerATI")) == NULL) || r;
5975
5976 return r;
5977}
5978
5979#endif /* GL_ATI_element_array */
5980
5981#ifdef GL_ATI_envmap_bumpmap
5982
5983static GLboolean _glewInit_GL_ATI_envmap_bumpmap (GLEW_CONTEXT_ARG_DEF_INIT)
5984{
5985 GLboolean r = GL_FALSE;
5986
5987 r = ((glGetTexBumpParameterfvATI = (PFNGLGETTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterfvATI")) == NULL) || r;
5988 r = ((glGetTexBumpParameterivATI = (PFNGLGETTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterivATI")) == NULL) || r;
5989 r = ((glTexBumpParameterfvATI = (PFNGLTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterfvATI")) == NULL) || r;
5990 r = ((glTexBumpParameterivATI = (PFNGLTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterivATI")) == NULL) || r;
5991
5992 return r;
5993}
5994
5995#endif /* GL_ATI_envmap_bumpmap */
5996
5997#ifdef GL_ATI_fragment_shader
5998
5999static GLboolean _glewInit_GL_ATI_fragment_shader (GLEW_CONTEXT_ARG_DEF_INIT)
6000{
6001 GLboolean r = GL_FALSE;
6002
6003 r = ((glAlphaFragmentOp1ATI = (PFNGLALPHAFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp1ATI")) == NULL) || r;
6004 r = ((glAlphaFragmentOp2ATI = (PFNGLALPHAFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp2ATI")) == NULL) || r;
6005 r = ((glAlphaFragmentOp3ATI = (PFNGLALPHAFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp3ATI")) == NULL) || r;
6006 r = ((glBeginFragmentShaderATI = (PFNGLBEGINFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBeginFragmentShaderATI")) == NULL) || r;
6007 r = ((glBindFragmentShaderATI = (PFNGLBINDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBindFragmentShaderATI")) == NULL) || r;
6008 r = ((glColorFragmentOp1ATI = (PFNGLCOLORFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp1ATI")) == NULL) || r;
6009 r = ((glColorFragmentOp2ATI = (PFNGLCOLORFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp2ATI")) == NULL) || r;
6010 r = ((glColorFragmentOp3ATI = (PFNGLCOLORFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp3ATI")) == NULL) || r;
6011 r = ((glDeleteFragmentShaderATI = (PFNGLDELETEFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glDeleteFragmentShaderATI")) == NULL) || r;
6012 r = ((glEndFragmentShaderATI = (PFNGLENDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glEndFragmentShaderATI")) == NULL) || r;
6013 r = ((glGenFragmentShadersATI = (PFNGLGENFRAGMENTSHADERSATIPROC)glewGetProcAddress((const GLubyte*)"glGenFragmentShadersATI")) == NULL) || r;
6014 r = ((glPassTexCoordATI = (PFNGLPASSTEXCOORDATIPROC)glewGetProcAddress((const GLubyte*)"glPassTexCoordATI")) == NULL) || r;
6015 r = ((glSampleMapATI = (PFNGLSAMPLEMAPATIPROC)glewGetProcAddress((const GLubyte*)"glSampleMapATI")) == NULL) || r;
6016 r = ((glSetFragmentShaderConstantATI = (PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)glewGetProcAddress((const GLubyte*)"glSetFragmentShaderConstantATI")) == NULL) || r;
6017
6018 return r;
6019}
6020
6021#endif /* GL_ATI_fragment_shader */
6022
6023#ifdef GL_ATI_map_object_buffer
6024
6025static GLboolean _glewInit_GL_ATI_map_object_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
6026{
6027 GLboolean r = GL_FALSE;
6028
6029 r = ((glMapObjectBufferATI = (PFNGLMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glMapObjectBufferATI")) == NULL) || r;
6030 r = ((glUnmapObjectBufferATI = (PFNGLUNMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUnmapObjectBufferATI")) == NULL) || r;
6031
6032 return r;
6033}
6034
6035#endif /* GL_ATI_map_object_buffer */
6036
6037#ifdef GL_ATI_meminfo
6038
6039#endif /* GL_ATI_meminfo */
6040
6041#ifdef GL_ATI_pn_triangles
6042
6043static GLboolean _glewInit_GL_ATI_pn_triangles (GLEW_CONTEXT_ARG_DEF_INIT)
6044{
6045 GLboolean r = GL_FALSE;
6046
6047 r = ((glPNTrianglesfATI = (PFNGLPNTRIANGLESFATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesfATI")) == NULL) || r;
6048 r = ((glPNTrianglesiATI = (PFNGLPNTRIANGLESIATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesiATI")) == NULL) || r;
6049
6050 return r;
6051}
6052
6053#endif /* GL_ATI_pn_triangles */
6054
6055#ifdef GL_ATI_separate_stencil
6056
6057static GLboolean _glewInit_GL_ATI_separate_stencil (GLEW_CONTEXT_ARG_DEF_INIT)
6058{
6059 GLboolean r = GL_FALSE;
6060
6061 r = ((glStencilFuncSeparateATI = (PFNGLSTENCILFUNCSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparateATI")) == NULL) || r;
6062 r = ((glStencilOpSeparateATI = (PFNGLSTENCILOPSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparateATI")) == NULL) || r;
6063
6064 return r;
6065}
6066
6067#endif /* GL_ATI_separate_stencil */
6068
6069#ifdef GL_ATI_shader_texture_lod
6070
6071#endif /* GL_ATI_shader_texture_lod */
6072
6073#ifdef GL_ATI_text_fragment_shader
6074
6075#endif /* GL_ATI_text_fragment_shader */
6076
6077#ifdef GL_ATI_texture_compression_3dc
6078
6079#endif /* GL_ATI_texture_compression_3dc */
6080
6081#ifdef GL_ATI_texture_env_combine3
6082
6083#endif /* GL_ATI_texture_env_combine3 */
6084
6085#ifdef GL_ATI_texture_float
6086
6087#endif /* GL_ATI_texture_float */
6088
6089#ifdef GL_ATI_texture_mirror_once
6090
6091#endif /* GL_ATI_texture_mirror_once */
6092
6093#ifdef GL_ATI_vertex_array_object
6094
6095static GLboolean _glewInit_GL_ATI_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
6096{
6097 GLboolean r = GL_FALSE;
6098
6099 r = ((glArrayObjectATI = (PFNGLARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glArrayObjectATI")) == NULL) || r;
6100 r = ((glFreeObjectBufferATI = (PFNGLFREEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glFreeObjectBufferATI")) == NULL) || r;
6101 r = ((glGetArrayObjectfvATI = (PFNGLGETARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectfvATI")) == NULL) || r;
6102 r = ((glGetArrayObjectivATI = (PFNGLGETARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectivATI")) == NULL) || r;
6103 r = ((glGetObjectBufferfvATI = (PFNGLGETOBJECTBUFFERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferfvATI")) == NULL) || r;
6104 r = ((glGetObjectBufferivATI = (PFNGLGETOBJECTBUFFERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferivATI")) == NULL) || r;
6105 r = ((glGetVariantArrayObjectfvATI = (PFNGLGETVARIANTARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectfvATI")) == NULL) || r;
6106 r = ((glGetVariantArrayObjectivATI = (PFNGLGETVARIANTARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectivATI")) == NULL) || r;
6107 r = ((glIsObjectBufferATI = (PFNGLISOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glIsObjectBufferATI")) == NULL) || r;
6108 r = ((glNewObjectBufferATI = (PFNGLNEWOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glNewObjectBufferATI")) == NULL) || r;
6109 r = ((glUpdateObjectBufferATI = (PFNGLUPDATEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUpdateObjectBufferATI")) == NULL) || r;
6110 r = ((glVariantArrayObjectATI = (PFNGLVARIANTARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVariantArrayObjectATI")) == NULL) || r;
6111
6112 return r;
6113}
6114
6115#endif /* GL_ATI_vertex_array_object */
6116
6117#ifdef GL_ATI_vertex_attrib_array_object
6118
6119static GLboolean _glewInit_GL_ATI_vertex_attrib_array_object (GLEW_CONTEXT_ARG_DEF_INIT)
6120{
6121 GLboolean r = GL_FALSE;
6122
6123 r = ((glGetVertexAttribArrayObjectfvATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectfvATI")) == NULL) || r;
6124 r = ((glGetVertexAttribArrayObjectivATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectivATI")) == NULL) || r;
6125 r = ((glVertexAttribArrayObjectATI = (PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribArrayObjectATI")) == NULL) || r;
6126
6127 return r;
6128}
6129
6130#endif /* GL_ATI_vertex_attrib_array_object */
6131
6132#ifdef GL_ATI_vertex_streams
6133
6134static GLboolean _glewInit_GL_ATI_vertex_streams (GLEW_CONTEXT_ARG_DEF_INIT)
6135{
6136 GLboolean r = GL_FALSE;
6137
6138 r = ((glClientActiveVertexStreamATI = (PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC)glewGetProcAddress((const GLubyte*)"glClientActiveVertexStreamATI")) == NULL) || r;
6139 r = ((glNormalStream3bATI = (PFNGLNORMALSTREAM3BATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bATI")) == NULL) || r;
6140 r = ((glNormalStream3bvATI = (PFNGLNORMALSTREAM3BVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bvATI")) == NULL) || r;
6141 r = ((glNormalStream3dATI = (PFNGLNORMALSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dATI")) == NULL) || r;
6142 r = ((glNormalStream3dvATI = (PFNGLNORMALSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dvATI")) == NULL) || r;
6143 r = ((glNormalStream3fATI = (PFNGLNORMALSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fATI")) == NULL) || r;
6144 r = ((glNormalStream3fvATI = (PFNGLNORMALSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fvATI")) == NULL) || r;
6145 r = ((glNormalStream3iATI = (PFNGLNORMALSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3iATI")) == NULL) || r;
6146 r = ((glNormalStream3ivATI = (PFNGLNORMALSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3ivATI")) == NULL) || r;
6147 r = ((glNormalStream3sATI = (PFNGLNORMALSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3sATI")) == NULL) || r;
6148 r = ((glNormalStream3svATI = (PFNGLNORMALSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3svATI")) == NULL) || r;
6149 r = ((glVertexBlendEnvfATI = (PFNGLVERTEXBLENDENVFATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnvfATI")) == NULL) || r;
6150 r = ((glVertexBlendEnviATI = (PFNGLVERTEXBLENDENVIATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnviATI")) == NULL) || r;
6151 r = ((glVertexStream1dATI = (PFNGLVERTEXSTREAM1DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1dATI")) == NULL) || r;
6152 r = ((glVertexStream1dvATI = (PFNGLVERTEXSTREAM1DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1dvATI")) == NULL) || r;
6153 r = ((glVertexStream1fATI = (PFNGLVERTEXSTREAM1FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1fATI")) == NULL) || r;
6154 r = ((glVertexStream1fvATI = (PFNGLVERTEXSTREAM1FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1fvATI")) == NULL) || r;
6155 r = ((glVertexStream1iATI = (PFNGLVERTEXSTREAM1IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1iATI")) == NULL) || r;
6156 r = ((glVertexStream1ivATI = (PFNGLVERTEXSTREAM1IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1ivATI")) == NULL) || r;
6157 r = ((glVertexStream1sATI = (PFNGLVERTEXSTREAM1SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1sATI")) == NULL) || r;
6158 r = ((glVertexStream1svATI = (PFNGLVERTEXSTREAM1SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1svATI")) == NULL) || r;
6159 r = ((glVertexStream2dATI = (PFNGLVERTEXSTREAM2DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dATI")) == NULL) || r;
6160 r = ((glVertexStream2dvATI = (PFNGLVERTEXSTREAM2DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dvATI")) == NULL) || r;
6161 r = ((glVertexStream2fATI = (PFNGLVERTEXSTREAM2FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fATI")) == NULL) || r;
6162 r = ((glVertexStream2fvATI = (PFNGLVERTEXSTREAM2FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fvATI")) == NULL) || r;
6163 r = ((glVertexStream2iATI = (PFNGLVERTEXSTREAM2IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2iATI")) == NULL) || r;
6164 r = ((glVertexStream2ivATI = (PFNGLVERTEXSTREAM2IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2ivATI")) == NULL) || r;
6165 r = ((glVertexStream2sATI = (PFNGLVERTEXSTREAM2SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2sATI")) == NULL) || r;
6166 r = ((glVertexStream2svATI = (PFNGLVERTEXSTREAM2SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2svATI")) == NULL) || r;
6167 r = ((glVertexStream3dATI = (PFNGLVERTEXSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dATI")) == NULL) || r;
6168 r = ((glVertexStream3dvATI = (PFNGLVERTEXSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dvATI")) == NULL) || r;
6169 r = ((glVertexStream3fATI = (PFNGLVERTEXSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fATI")) == NULL) || r;
6170 r = ((glVertexStream3fvATI = (PFNGLVERTEXSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fvATI")) == NULL) || r;
6171 r = ((glVertexStream3iATI = (PFNGLVERTEXSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3iATI")) == NULL) || r;
6172 r = ((glVertexStream3ivATI = (PFNGLVERTEXSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3ivATI")) == NULL) || r;
6173 r = ((glVertexStream3sATI = (PFNGLVERTEXSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3sATI")) == NULL) || r;
6174 r = ((glVertexStream3svATI = (PFNGLVERTEXSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3svATI")) == NULL) || r;
6175 r = ((glVertexStream4dATI = (PFNGLVERTEXSTREAM4DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dATI")) == NULL) || r;
6176 r = ((glVertexStream4dvATI = (PFNGLVERTEXSTREAM4DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dvATI")) == NULL) || r;
6177 r = ((glVertexStream4fATI = (PFNGLVERTEXSTREAM4FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fATI")) == NULL) || r;
6178 r = ((glVertexStream4fvATI = (PFNGLVERTEXSTREAM4FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fvATI")) == NULL) || r;
6179 r = ((glVertexStream4iATI = (PFNGLVERTEXSTREAM4IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4iATI")) == NULL) || r;
6180 r = ((glVertexStream4ivATI = (PFNGLVERTEXSTREAM4IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4ivATI")) == NULL) || r;
6181 r = ((glVertexStream4sATI = (PFNGLVERTEXSTREAM4SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4sATI")) == NULL) || r;
6182 r = ((glVertexStream4svATI = (PFNGLVERTEXSTREAM4SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4svATI")) == NULL) || r;
6183
6184 return r;
6185}
6186
6187#endif /* GL_ATI_vertex_streams */
6188
6189#ifdef GL_EXT_422_pixels
6190
6191#endif /* GL_EXT_422_pixels */
6192
6193#ifdef GL_EXT_Cg_shader
6194
6195#endif /* GL_EXT_Cg_shader */
6196
6197#ifdef GL_EXT_abgr
6198
6199#endif /* GL_EXT_abgr */
6200
6201#ifdef GL_EXT_bgra
6202
6203#endif /* GL_EXT_bgra */
6204
6205#ifdef GL_EXT_bindable_uniform
6206
6207static GLboolean _glewInit_GL_EXT_bindable_uniform (GLEW_CONTEXT_ARG_DEF_INIT)
6208{
6209 GLboolean r = GL_FALSE;
6210
6211 r = ((glGetUniformBufferSizeEXT = (PFNGLGETUNIFORMBUFFERSIZEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBufferSizeEXT")) == NULL) || r;
6212 r = ((glGetUniformOffsetEXT = (PFNGLGETUNIFORMOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformOffsetEXT")) == NULL) || r;
6213 r = ((glUniformBufferEXT = (PFNGLUNIFORMBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUniformBufferEXT")) == NULL) || r;
6214
6215 return r;
6216}
6217
6218#endif /* GL_EXT_bindable_uniform */
6219
6220#ifdef GL_EXT_blend_color
6221
6222static GLboolean _glewInit_GL_EXT_blend_color (GLEW_CONTEXT_ARG_DEF_INIT)
6223{
6224 GLboolean r = GL_FALSE;
6225
6226 r = ((glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)glewGetProcAddress((const GLubyte*)"glBlendColorEXT")) == NULL) || r;
6227
6228 return r;
6229}
6230
6231#endif /* GL_EXT_blend_color */
6232
6233#ifdef GL_EXT_blend_equation_separate
6234
6235static GLboolean _glewInit_GL_EXT_blend_equation_separate (GLEW_CONTEXT_ARG_DEF_INIT)
6236{
6237 GLboolean r = GL_FALSE;
6238
6239 r = ((glBlendEquationSeparateEXT = (PFNGLBLENDEQUATIONSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateEXT")) == NULL) || r;
6240
6241 return r;
6242}
6243
6244#endif /* GL_EXT_blend_equation_separate */
6245
6246#ifdef GL_EXT_blend_func_separate
6247
6248static GLboolean _glewInit_GL_EXT_blend_func_separate (GLEW_CONTEXT_ARG_DEF_INIT)
6249{
6250 GLboolean r = GL_FALSE;
6251
6252 r = ((glBlendFuncSeparateEXT = (PFNGLBLENDFUNCSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateEXT")) == NULL) || r;
6253
6254 return r;
6255}
6256
6257#endif /* GL_EXT_blend_func_separate */
6258
6259#ifdef GL_EXT_blend_logic_op
6260
6261#endif /* GL_EXT_blend_logic_op */
6262
6263#ifdef GL_EXT_blend_minmax
6264
6265static GLboolean _glewInit_GL_EXT_blend_minmax (GLEW_CONTEXT_ARG_DEF_INIT)
6266{
6267 GLboolean r = GL_FALSE;
6268
6269 r = ((glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationEXT")) == NULL) || r;
6270
6271 return r;
6272}
6273
6274#endif /* GL_EXT_blend_minmax */
6275
6276#ifdef GL_EXT_blend_subtract
6277
6278#endif /* GL_EXT_blend_subtract */
6279
6280#ifdef GL_EXT_clip_volume_hint
6281
6282#endif /* GL_EXT_clip_volume_hint */
6283
6284#ifdef GL_EXT_cmyka
6285
6286#endif /* GL_EXT_cmyka */
6287
6288#ifdef GL_EXT_color_subtable
6289
6290static GLboolean _glewInit_GL_EXT_color_subtable (GLEW_CONTEXT_ARG_DEF_INIT)
6291{
6292 GLboolean r = GL_FALSE;
6293
6294 r = ((glColorSubTableEXT = (PFNGLCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorSubTableEXT")) == NULL) || r;
6295 r = ((glCopyColorSubTableEXT = (PFNGLCOPYCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTableEXT")) == NULL) || r;
6296
6297 return r;
6298}
6299
6300#endif /* GL_EXT_color_subtable */
6301
6302#ifdef GL_EXT_compiled_vertex_array
6303
6304static GLboolean _glewInit_GL_EXT_compiled_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT)
6305{
6306 GLboolean r = GL_FALSE;
6307
6308 r = ((glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glLockArraysEXT")) == NULL) || r;
6309 r = ((glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glUnlockArraysEXT")) == NULL) || r;
6310
6311 return r;
6312}
6313
6314#endif /* GL_EXT_compiled_vertex_array */
6315
6316#ifdef GL_EXT_convolution
6317
6318static GLboolean _glewInit_GL_EXT_convolution (GLEW_CONTEXT_ARG_DEF_INIT)
6319{
6320 GLboolean r = GL_FALSE;
6321
6322 r = ((glConvolutionFilter1DEXT = (PFNGLCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1DEXT")) == NULL) || r;
6323 r = ((glConvolutionFilter2DEXT = (PFNGLCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2DEXT")) == NULL) || r;
6324 r = ((glConvolutionParameterfEXT = (PFNGLCONVOLUTIONPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfEXT")) == NULL) || r;
6325 r = ((glConvolutionParameterfvEXT = (PFNGLCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfvEXT")) == NULL) || r;
6326 r = ((glConvolutionParameteriEXT = (PFNGLCONVOLUTIONPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriEXT")) == NULL) || r;
6327 r = ((glConvolutionParameterivEXT = (PFNGLCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterivEXT")) == NULL) || r;
6328 r = ((glCopyConvolutionFilter1DEXT = (PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1DEXT")) == NULL) || r;
6329 r = ((glCopyConvolutionFilter2DEXT = (PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2DEXT")) == NULL) || r;
6330 r = ((glGetConvolutionFilterEXT = (PFNGLGETCONVOLUTIONFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilterEXT")) == NULL) || r;
6331 r = ((glGetConvolutionParameterfvEXT = (PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfvEXT")) == NULL) || r;
6332 r = ((glGetConvolutionParameterivEXT = (PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterivEXT")) == NULL) || r;
6333 r = ((glGetSeparableFilterEXT = (PFNGLGETSEPARABLEFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilterEXT")) == NULL) || r;
6334 r = ((glSeparableFilter2DEXT = (PFNGLSEPARABLEFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2DEXT")) == NULL) || r;
6335
6336 return r;
6337}
6338
6339#endif /* GL_EXT_convolution */
6340
6341#ifdef GL_EXT_coordinate_frame
6342
6343static GLboolean _glewInit_GL_EXT_coordinate_frame (GLEW_CONTEXT_ARG_DEF_INIT)
6344{
6345 GLboolean r = GL_FALSE;
6346
6347 r = ((glBinormalPointerEXT = (PFNGLBINORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glBinormalPointerEXT")) == NULL) || r;
6348 r = ((glTangentPointerEXT = (PFNGLTANGENTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTangentPointerEXT")) == NULL) || r;
6349
6350 return r;
6351}
6352
6353#endif /* GL_EXT_coordinate_frame */
6354
6355#ifdef GL_EXT_copy_texture
6356
6357static GLboolean _glewInit_GL_EXT_copy_texture (GLEW_CONTEXT_ARG_DEF_INIT)
6358{
6359 GLboolean r = GL_FALSE;
6360
6361 r = ((glCopyTexImage1DEXT = (PFNGLCOPYTEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage1DEXT")) == NULL) || r;
6362 r = ((glCopyTexImage2DEXT = (PFNGLCOPYTEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage2DEXT")) == NULL) || r;
6363 r = ((glCopyTexSubImage1DEXT = (PFNGLCOPYTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage1DEXT")) == NULL) || r;
6364 r = ((glCopyTexSubImage2DEXT = (PFNGLCOPYTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage2DEXT")) == NULL) || r;
6365 r = ((glCopyTexSubImage3DEXT = (PFNGLCOPYTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3DEXT")) == NULL) || r;
6366
6367 return r;
6368}
6369
6370#endif /* GL_EXT_copy_texture */
6371
6372#ifdef GL_EXT_cull_vertex
6373
6374static GLboolean _glewInit_GL_EXT_cull_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
6375{
6376 GLboolean r = GL_FALSE;
6377
6378 r = ((glCullParameterdvEXT = (PFNGLCULLPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterdvEXT")) == NULL) || r;
6379 r = ((glCullParameterfvEXT = (PFNGLCULLPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterfvEXT")) == NULL) || r;
6380
6381 return r;
6382}
6383
6384#endif /* GL_EXT_cull_vertex */
6385
6386#ifdef GL_EXT_debug_marker
6387
6388static GLboolean _glewInit_GL_EXT_debug_marker (GLEW_CONTEXT_ARG_DEF_INIT)
6389{
6390 GLboolean r = GL_FALSE;
6391
6392 r = ((glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glInsertEventMarkerEXT")) == NULL) || r;
6393 r = ((glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glPopGroupMarkerEXT")) == NULL) || r;
6394 r = ((glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glPushGroupMarkerEXT")) == NULL) || r;
6395
6396 return r;
6397}
6398
6399#endif /* GL_EXT_debug_marker */
6400
6401#ifdef GL_EXT_depth_bounds_test
6402
6403static GLboolean _glewInit_GL_EXT_depth_bounds_test (GLEW_CONTEXT_ARG_DEF_INIT)
6404{
6405 GLboolean r = GL_FALSE;
6406
6407 r = ((glDepthBoundsEXT = (PFNGLDEPTHBOUNDSEXTPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsEXT")) == NULL) || r;
6408
6409 return r;
6410}
6411
6412#endif /* GL_EXT_depth_bounds_test */
6413
6414#ifdef GL_EXT_direct_state_access
6415
6416static GLboolean _glewInit_GL_EXT_direct_state_access (GLEW_CONTEXT_ARG_DEF_INIT)
6417{
6418 GLboolean r = GL_FALSE;
6419
6420 r = ((glBindMultiTextureEXT = (PFNGLBINDMULTITEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindMultiTextureEXT")) == NULL) || r;
6421 r = ((glCheckNamedFramebufferStatusEXT = (PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckNamedFramebufferStatusEXT")) == NULL) || r;
6422 r = ((glClientAttribDefaultEXT = (PFNGLCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glClientAttribDefaultEXT")) == NULL) || r;
6423 r = ((glCompressedMultiTexImage1DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage1DEXT")) == NULL) || r;
6424 r = ((glCompressedMultiTexImage2DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage2DEXT")) == NULL) || r;
6425 r = ((glCompressedMultiTexImage3DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage3DEXT")) == NULL) || r;
6426 r = ((glCompressedMultiTexSubImage1DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage1DEXT")) == NULL) || r;
6427 r = ((glCompressedMultiTexSubImage2DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage2DEXT")) == NULL) || r;
6428 r = ((glCompressedMultiTexSubImage3DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage3DEXT")) == NULL) || r;
6429 r = ((glCompressedTextureImage1DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage1DEXT")) == NULL) || r;
6430 r = ((glCompressedTextureImage2DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage2DEXT")) == NULL) || r;
6431 r = ((glCompressedTextureImage3DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage3DEXT")) == NULL) || r;
6432 r = ((glCompressedTextureSubImage1DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage1DEXT")) == NULL) || r;
6433 r = ((glCompressedTextureSubImage2DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage2DEXT")) == NULL) || r;
6434 r = ((glCompressedTextureSubImage3DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage3DEXT")) == NULL) || r;
6435 r = ((glCopyMultiTexImage1DEXT = (PFNGLCOPYMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage1DEXT")) == NULL) || r;
6436 r = ((glCopyMultiTexImage2DEXT = (PFNGLCOPYMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage2DEXT")) == NULL) || r;
6437 r = ((glCopyMultiTexSubImage1DEXT = (PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage1DEXT")) == NULL) || r;
6438 r = ((glCopyMultiTexSubImage2DEXT = (PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage2DEXT")) == NULL) || r;
6439 r = ((glCopyMultiTexSubImage3DEXT = (PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage3DEXT")) == NULL) || r;
6440 r = ((glCopyTextureImage1DEXT = (PFNGLCOPYTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage1DEXT")) == NULL) || r;
6441 r = ((glCopyTextureImage2DEXT = (PFNGLCOPYTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage2DEXT")) == NULL) || r;
6442 r = ((glCopyTextureSubImage1DEXT = (PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage1DEXT")) == NULL) || r;
6443 r = ((glCopyTextureSubImage2DEXT = (PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage2DEXT")) == NULL) || r;
6444 r = ((glCopyTextureSubImage3DEXT = (PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage3DEXT")) == NULL) || r;
6445 r = ((glDisableClientStateIndexedEXT = (PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateIndexedEXT")) == NULL) || r;
6446 r = ((glDisableClientStateiEXT = (PFNGLDISABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateiEXT")) == NULL) || r;
6447 r = ((glDisableVertexArrayAttribEXT = (PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayAttribEXT")) == NULL) || r;
6448 r = ((glDisableVertexArrayEXT = (PFNGLDISABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayEXT")) == NULL) || r;
6449 r = ((glEnableClientStateIndexedEXT = (PFNGLENABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateIndexedEXT")) == NULL) || r;
6450 r = ((glEnableClientStateiEXT = (PFNGLENABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateiEXT")) == NULL) || r;
6451 r = ((glEnableVertexArrayAttribEXT = (PFNGLENABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayAttribEXT")) == NULL) || r;
6452 r = ((glEnableVertexArrayEXT = (PFNGLENABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayEXT")) == NULL) || r;
6453 r = ((glFlushMappedNamedBufferRangeEXT = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedNamedBufferRangeEXT")) == NULL) || r;
6454 r = ((glFramebufferDrawBufferEXT = (PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBufferEXT")) == NULL) || r;
6455 r = ((glFramebufferDrawBuffersEXT = (PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBuffersEXT")) == NULL) || r;
6456 r = ((glFramebufferReadBufferEXT = (PFNGLFRAMEBUFFERREADBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferReadBufferEXT")) == NULL) || r;
6457 r = ((glGenerateMultiTexMipmapEXT = (PFNGLGENERATEMULTITEXMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMultiTexMipmapEXT")) == NULL) || r;
6458 r = ((glGenerateTextureMipmapEXT = (PFNGLGENERATETEXTUREMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateTextureMipmapEXT")) == NULL) || r;
6459 r = ((glGetCompressedMultiTexImageEXT = (PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedMultiTexImageEXT")) == NULL) || r;
6460 r = ((glGetCompressedTextureImageEXT = (PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureImageEXT")) == NULL) || r;
6461 r = ((glGetDoubleIndexedvEXT = (PFNGLGETDOUBLEINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoubleIndexedvEXT")) == NULL) || r;
6462 r = ((glGetDoublei_vEXT = (PFNGLGETDOUBLEI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_vEXT")) == NULL) || r;
6463 r = ((glGetFloatIndexedvEXT = (PFNGLGETFLOATINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloatIndexedvEXT")) == NULL) || r;
6464 r = ((glGetFloati_vEXT = (PFNGLGETFLOATI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_vEXT")) == NULL) || r;
6465 r = ((glGetFramebufferParameterivEXT = (PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameterivEXT")) == NULL) || r;
6466 r = ((glGetMultiTexEnvfvEXT = (PFNGLGETMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvfvEXT")) == NULL) || r;
6467 r = ((glGetMultiTexEnvivEXT = (PFNGLGETMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvivEXT")) == NULL) || r;
6468 r = ((glGetMultiTexGendvEXT = (PFNGLGETMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGendvEXT")) == NULL) || r;
6469 r = ((glGetMultiTexGenfvEXT = (PFNGLGETMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenfvEXT")) == NULL) || r;
6470 r = ((glGetMultiTexGenivEXT = (PFNGLGETMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenivEXT")) == NULL) || r;
6471 r = ((glGetMultiTexImageEXT = (PFNGLGETMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexImageEXT")) == NULL) || r;
6472 r = ((glGetMultiTexLevelParameterfvEXT = (PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterfvEXT")) == NULL) || r;
6473 r = ((glGetMultiTexLevelParameterivEXT = (PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterivEXT")) == NULL) || r;
6474 r = ((glGetMultiTexParameterIivEXT = (PFNGLGETMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIivEXT")) == NULL) || r;
6475 r = ((glGetMultiTexParameterIuivEXT = (PFNGLGETMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIuivEXT")) == NULL) || r;
6476 r = ((glGetMultiTexParameterfvEXT = (PFNGLGETMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterfvEXT")) == NULL) || r;
6477 r = ((glGetMultiTexParameterivEXT = (PFNGLGETMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterivEXT")) == NULL) || r;
6478 r = ((glGetNamedBufferParameterivEXT = (PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterivEXT")) == NULL) || r;
6479 r = ((glGetNamedBufferPointervEXT = (PFNGLGETNAMEDBUFFERPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferPointervEXT")) == NULL) || r;
6480 r = ((glGetNamedBufferSubDataEXT = (PFNGLGETNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferSubDataEXT")) == NULL) || r;
6481 r = ((glGetNamedFramebufferAttachmentParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferAttachmentParameterivEXT")) == NULL) || r;
6482 r = ((glGetNamedProgramLocalParameterIivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIivEXT")) == NULL) || r;
6483 r = ((glGetNamedProgramLocalParameterIuivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIuivEXT")) == NULL) || r;
6484 r = ((glGetNamedProgramLocalParameterdvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterdvEXT")) == NULL) || r;
6485 r = ((glGetNamedProgramLocalParameterfvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterfvEXT")) == NULL) || r;
6486 r = ((glGetNamedProgramStringEXT = (PFNGLGETNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramStringEXT")) == NULL) || r;
6487 r = ((glGetNamedProgramivEXT = (PFNGLGETNAMEDPROGRAMIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramivEXT")) == NULL) || r;
6488 r = ((glGetNamedRenderbufferParameterivEXT = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedRenderbufferParameterivEXT")) == NULL) || r;
6489 r = ((glGetPointerIndexedvEXT = (PFNGLGETPOINTERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointerIndexedvEXT")) == NULL) || r;
6490 r = ((glGetPointeri_vEXT = (PFNGLGETPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointeri_vEXT")) == NULL) || r;
6491 r = ((glGetTextureImageEXT = (PFNGLGETTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureImageEXT")) == NULL) || r;
6492 r = ((glGetTextureLevelParameterfvEXT = (PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterfvEXT")) == NULL) || r;
6493 r = ((glGetTextureLevelParameterivEXT = (PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterivEXT")) == NULL) || r;
6494 r = ((glGetTextureParameterIivEXT = (PFNGLGETTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIivEXT")) == NULL) || r;
6495 r = ((glGetTextureParameterIuivEXT = (PFNGLGETTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIuivEXT")) == NULL) || r;
6496 r = ((glGetTextureParameterfvEXT = (PFNGLGETTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterfvEXT")) == NULL) || r;
6497 r = ((glGetTextureParameterivEXT = (PFNGLGETTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterivEXT")) == NULL) || r;
6498 r = ((glGetVertexArrayIntegeri_vEXT = (PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegeri_vEXT")) == NULL) || r;
6499 r = ((glGetVertexArrayIntegervEXT = (PFNGLGETVERTEXARRAYINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegervEXT")) == NULL) || r;
6500 r = ((glGetVertexArrayPointeri_vEXT = (PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointeri_vEXT")) == NULL) || r;
6501 r = ((glGetVertexArrayPointervEXT = (PFNGLGETVERTEXARRAYPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointervEXT")) == NULL) || r;
6502 r = ((glMapNamedBufferEXT = (PFNGLMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferEXT")) == NULL) || r;
6503 r = ((glMapNamedBufferRangeEXT = (PFNGLMAPNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferRangeEXT")) == NULL) || r;
6504 r = ((glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixFrustumEXT")) == NULL) || r;
6505 r = ((glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadIdentityEXT")) == NULL) || r;
6506 r = ((glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposedEXT")) == NULL) || r;
6507 r = ((glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposefEXT")) == NULL) || r;
6508 r = ((glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoaddEXT")) == NULL) || r;
6509 r = ((glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadfEXT")) == NULL) || r;
6510 r = ((glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposedEXT")) == NULL) || r;
6511 r = ((glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposefEXT")) == NULL) || r;
6512 r = ((glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultdEXT")) == NULL) || r;
6513 r = ((glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultfEXT")) == NULL) || r;
6514 r = ((glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixOrthoEXT")) == NULL) || r;
6515 r = ((glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPopEXT")) == NULL) || r;
6516 r = ((glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPushEXT")) == NULL) || r;
6517 r = ((glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatedEXT")) == NULL) || r;
6518 r = ((glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatefEXT")) == NULL) || r;
6519 r = ((glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScaledEXT")) == NULL) || r;
6520 r = ((glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScalefEXT")) == NULL) || r;
6521 r = ((glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatedEXT")) == NULL) || r;
6522 r = ((glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatefEXT")) == NULL) || r;
6523 r = ((glMultiTexBufferEXT = (PFNGLMULTITEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexBufferEXT")) == NULL) || r;
6524 r = ((glMultiTexCoordPointerEXT = (PFNGLMULTITEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordPointerEXT")) == NULL) || r;
6525 r = ((glMultiTexEnvfEXT = (PFNGLMULTITEXENVFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfEXT")) == NULL) || r;
6526 r = ((glMultiTexEnvfvEXT = (PFNGLMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfvEXT")) == NULL) || r;
6527 r = ((glMultiTexEnviEXT = (PFNGLMULTITEXENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnviEXT")) == NULL) || r;
6528 r = ((glMultiTexEnvivEXT = (PFNGLMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvivEXT")) == NULL) || r;
6529 r = ((glMultiTexGendEXT = (PFNGLMULTITEXGENDEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendEXT")) == NULL) || r;
6530 r = ((glMultiTexGendvEXT = (PFNGLMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendvEXT")) == NULL) || r;
6531 r = ((glMultiTexGenfEXT = (PFNGLMULTITEXGENFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfEXT")) == NULL) || r;
6532 r = ((glMultiTexGenfvEXT = (PFNGLMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfvEXT")) == NULL) || r;
6533 r = ((glMultiTexGeniEXT = (PFNGLMULTITEXGENIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGeniEXT")) == NULL) || r;
6534 r = ((glMultiTexGenivEXT = (PFNGLMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenivEXT")) == NULL) || r;
6535 r = ((glMultiTexImage1DEXT = (PFNGLMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage1DEXT")) == NULL) || r;
6536 r = ((glMultiTexImage2DEXT = (PFNGLMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage2DEXT")) == NULL) || r;
6537 r = ((glMultiTexImage3DEXT = (PFNGLMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage3DEXT")) == NULL) || r;
6538 r = ((glMultiTexParameterIivEXT = (PFNGLMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIivEXT")) == NULL) || r;
6539 r = ((glMultiTexParameterIuivEXT = (PFNGLMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIuivEXT")) == NULL) || r;
6540 r = ((glMultiTexParameterfEXT = (PFNGLMULTITEXPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfEXT")) == NULL) || r;
6541 r = ((glMultiTexParameterfvEXT = (PFNGLMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfvEXT")) == NULL) || r;
6542 r = ((glMultiTexParameteriEXT = (PFNGLMULTITEXPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameteriEXT")) == NULL) || r;
6543 r = ((glMultiTexParameterivEXT = (PFNGLMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterivEXT")) == NULL) || r;
6544 r = ((glMultiTexRenderbufferEXT = (PFNGLMULTITEXRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexRenderbufferEXT")) == NULL) || r;
6545 r = ((glMultiTexSubImage1DEXT = (PFNGLMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage1DEXT")) == NULL) || r;
6546 r = ((glMultiTexSubImage2DEXT = (PFNGLMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage2DEXT")) == NULL) || r;
6547 r = ((glMultiTexSubImage3DEXT = (PFNGLMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage3DEXT")) == NULL) || r;
6548 r = ((glNamedBufferDataEXT = (PFNGLNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferDataEXT")) == NULL) || r;
6549 r = ((glNamedBufferSubDataEXT = (PFNGLNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferSubDataEXT")) == NULL) || r;
6550 r = ((glNamedCopyBufferSubDataEXT = (PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedCopyBufferSubDataEXT")) == NULL) || r;
6551 r = ((glNamedFramebufferRenderbufferEXT = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferRenderbufferEXT")) == NULL) || r;
6552 r = ((glNamedFramebufferTexture1DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture1DEXT")) == NULL) || r;
6553 r = ((glNamedFramebufferTexture2DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture2DEXT")) == NULL) || r;
6554 r = ((glNamedFramebufferTexture3DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture3DEXT")) == NULL) || r;
6555 r = ((glNamedFramebufferTextureEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureEXT")) == NULL) || r;
6556 r = ((glNamedFramebufferTextureFaceEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureFaceEXT")) == NULL) || r;
6557 r = ((glNamedFramebufferTextureLayerEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureLayerEXT")) == NULL) || r;
6558 r = ((glNamedProgramLocalParameter4dEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dEXT")) == NULL) || r;
6559 r = ((glNamedProgramLocalParameter4dvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dvEXT")) == NULL) || r;
6560 r = ((glNamedProgramLocalParameter4fEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fEXT")) == NULL) || r;
6561 r = ((glNamedProgramLocalParameter4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fvEXT")) == NULL) || r;
6562 r = ((glNamedProgramLocalParameterI4iEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4iEXT")) == NULL) || r;
6563 r = ((glNamedProgramLocalParameterI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4ivEXT")) == NULL) || r;
6564 r = ((glNamedProgramLocalParameterI4uiEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uiEXT")) == NULL) || r;
6565 r = ((glNamedProgramLocalParameterI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uivEXT")) == NULL) || r;
6566 r = ((glNamedProgramLocalParameters4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameters4fvEXT")) == NULL) || r;
6567 r = ((glNamedProgramLocalParametersI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4ivEXT")) == NULL) || r;
6568 r = ((glNamedProgramLocalParametersI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4uivEXT")) == NULL) || r;
6569 r = ((glNamedProgramStringEXT = (PFNGLNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramStringEXT")) == NULL) || r;
6570 r = ((glNamedRenderbufferStorageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageEXT")) == NULL) || r;
6571 r = ((glNamedRenderbufferStorageMultisampleCoverageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleCoverageEXT")) == NULL) || r;
6572 r = ((glNamedRenderbufferStorageMultisampleEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleEXT")) == NULL) || r;
6573 r = ((glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fEXT")) == NULL) || r;
6574 r = ((glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fvEXT")) == NULL) || r;
6575 r = ((glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1iEXT")) == NULL) || r;
6576 r = ((glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ivEXT")) == NULL) || r;
6577 r = ((glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uiEXT")) == NULL) || r;
6578 r = ((glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uivEXT")) == NULL) || r;
6579 r = ((glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fEXT")) == NULL) || r;
6580 r = ((glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fvEXT")) == NULL) || r;
6581 r = ((glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2iEXT")) == NULL) || r;
6582 r = ((glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ivEXT")) == NULL) || r;
6583 r = ((glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uiEXT")) == NULL) || r;
6584 r = ((glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uivEXT")) == NULL) || r;
6585 r = ((glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fEXT")) == NULL) || r;
6586 r = ((glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fvEXT")) == NULL) || r;
6587 r = ((glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3iEXT")) == NULL) || r;
6588 r = ((glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ivEXT")) == NULL) || r;
6589 r = ((glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uiEXT")) == NULL) || r;
6590 r = ((glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uivEXT")) == NULL) || r;
6591 r = ((glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fEXT")) == NULL) || r;
6592 r = ((glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fvEXT")) == NULL) || r;
6593 r = ((glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4iEXT")) == NULL) || r;
6594 r = ((glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ivEXT")) == NULL) || r;
6595 r = ((glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uiEXT")) == NULL) || r;
6596 r = ((glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uivEXT")) == NULL) || r;
6597 r = ((glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2fvEXT")) == NULL) || r;
6598 r = ((glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3fvEXT")) == NULL) || r;
6599 r = ((glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4fvEXT")) == NULL) || r;
6600 r = ((glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3fvEXT")) == NULL) || r;
6601 r = ((glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2fvEXT")) == NULL) || r;
6602 r = ((glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4fvEXT")) == NULL) || r;
6603 r = ((glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4fvEXT")) == NULL) || r;
6604 r = ((glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2fvEXT")) == NULL) || r;
6605 r = ((glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3fvEXT")) == NULL) || r;
6606 r = ((glPushClientAttribDefaultEXT = (PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glPushClientAttribDefaultEXT")) == NULL) || r;
6607 r = ((glTextureBufferEXT = (PFNGLTEXTUREBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferEXT")) == NULL) || r;
6608 r = ((glTextureImage1DEXT = (PFNGLTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage1DEXT")) == NULL) || r;
6609 r = ((glTextureImage2DEXT = (PFNGLTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DEXT")) == NULL) || r;
6610 r = ((glTextureImage3DEXT = (PFNGLTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DEXT")) == NULL) || r;
6611 r = ((glTextureParameterIivEXT = (PFNGLTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIivEXT")) == NULL) || r;
6612 r = ((glTextureParameterIuivEXT = (PFNGLTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIuivEXT")) == NULL) || r;
6613 r = ((glTextureParameterfEXT = (PFNGLTEXTUREPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfEXT")) == NULL) || r;
6614 r = ((glTextureParameterfvEXT = (PFNGLTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfvEXT")) == NULL) || r;
6615 r = ((glTextureParameteriEXT = (PFNGLTEXTUREPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameteriEXT")) == NULL) || r;
6616 r = ((glTextureParameterivEXT = (PFNGLTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterivEXT")) == NULL) || r;
6617 r = ((glTextureRenderbufferEXT = (PFNGLTEXTURERENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureRenderbufferEXT")) == NULL) || r;
6618 r = ((glTextureSubImage1DEXT = (PFNGLTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage1DEXT")) == NULL) || r;
6619 r = ((glTextureSubImage2DEXT = (PFNGLTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage2DEXT")) == NULL) || r;
6620 r = ((glTextureSubImage3DEXT = (PFNGLTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage3DEXT")) == NULL) || r;
6621 r = ((glUnmapNamedBufferEXT = (PFNGLUNMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUnmapNamedBufferEXT")) == NULL) || r;
6622 r = ((glVertexArrayColorOffsetEXT = (PFNGLVERTEXARRAYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayColorOffsetEXT")) == NULL) || r;
6623 r = ((glVertexArrayEdgeFlagOffsetEXT = (PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayEdgeFlagOffsetEXT")) == NULL) || r;
6624 r = ((glVertexArrayFogCoordOffsetEXT = (PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayFogCoordOffsetEXT")) == NULL) || r;
6625 r = ((glVertexArrayIndexOffsetEXT = (PFNGLVERTEXARRAYINDEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayIndexOffsetEXT")) == NULL) || r;
6626 r = ((glVertexArrayMultiTexCoordOffsetEXT = (PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayMultiTexCoordOffsetEXT")) == NULL) || r;
6627 r = ((glVertexArrayNormalOffsetEXT = (PFNGLVERTEXARRAYNORMALOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayNormalOffsetEXT")) == NULL) || r;
6628 r = ((glVertexArraySecondaryColorOffsetEXT = (PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArraySecondaryColorOffsetEXT")) == NULL) || r;
6629 r = ((glVertexArrayTexCoordOffsetEXT = (PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayTexCoordOffsetEXT")) == NULL) || r;
6630 r = ((glVertexArrayVertexAttribIOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribIOffsetEXT")) == NULL) || r;
6631 r = ((glVertexArrayVertexAttribOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribOffsetEXT")) == NULL) || r;
6632 r = ((glVertexArrayVertexOffsetEXT = (PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexOffsetEXT")) == NULL) || r;
6633
6634 return r;
6635}
6636
6637#endif /* GL_EXT_direct_state_access */
6638
6639#ifdef GL_EXT_draw_buffers2
6640
6641static GLboolean _glewInit_GL_EXT_draw_buffers2 (GLEW_CONTEXT_ARG_DEF_INIT)
6642{
6643 GLboolean r = GL_FALSE;
6644
6645 r = ((glColorMaskIndexedEXT = (PFNGLCOLORMASKINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glColorMaskIndexedEXT")) == NULL) || r;
6646 r = ((glDisableIndexedEXT = (PFNGLDISABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableIndexedEXT")) == NULL) || r;
6647 r = ((glEnableIndexedEXT = (PFNGLENABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableIndexedEXT")) == NULL) || r;
6648 r = ((glGetBooleanIndexedvEXT = (PFNGLGETBOOLEANINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetBooleanIndexedvEXT")) == NULL) || r;
6649 r = ((glGetIntegerIndexedvEXT = (PFNGLGETINTEGERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerIndexedvEXT")) == NULL) || r;
6650 r = ((glIsEnabledIndexedEXT = (PFNGLISENABLEDINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledIndexedEXT")) == NULL) || r;
6651
6652 return r;
6653}
6654
6655#endif /* GL_EXT_draw_buffers2 */
6656
6657#ifdef GL_EXT_draw_instanced
6658
6659static GLboolean _glewInit_GL_EXT_draw_instanced (GLEW_CONTEXT_ARG_DEF_INIT)
6660{
6661 GLboolean r = GL_FALSE;
6662
6663 r = ((glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedEXT")) == NULL) || r;
6664 r = ((glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedEXT")) == NULL) || r;
6665
6666 return r;
6667}
6668
6669#endif /* GL_EXT_draw_instanced */
6670
6671#ifdef GL_EXT_draw_range_elements
6672
6673static GLboolean _glewInit_GL_EXT_draw_range_elements (GLEW_CONTEXT_ARG_DEF_INIT)
6674{
6675 GLboolean r = GL_FALSE;
6676
6677 r = ((glDrawRangeElementsEXT = (PFNGLDRAWRANGEELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsEXT")) == NULL) || r;
6678
6679 return r;
6680}
6681
6682#endif /* GL_EXT_draw_range_elements */
6683
6684#ifdef GL_EXT_fog_coord
6685
6686static GLboolean _glewInit_GL_EXT_fog_coord (GLEW_CONTEXT_ARG_DEF_INIT)
6687{
6688 GLboolean r = GL_FALSE;
6689
6690 r = ((glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerEXT")) == NULL) || r;
6691 r = ((glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddEXT")) == NULL) || r;
6692 r = ((glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddvEXT")) == NULL) || r;
6693 r = ((glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfEXT")) == NULL) || r;
6694 r = ((glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfvEXT")) == NULL) || r;
6695
6696 return r;
6697}
6698
6699#endif /* GL_EXT_fog_coord */
6700
6701#ifdef GL_EXT_fragment_lighting
6702
6703static GLboolean _glewInit_GL_EXT_fragment_lighting (GLEW_CONTEXT_ARG_DEF_INIT)
6704{
6705 GLboolean r = GL_FALSE;
6706
6707 r = ((glFragmentColorMaterialEXT = (PFNGLFRAGMENTCOLORMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialEXT")) == NULL) || r;
6708 r = ((glFragmentLightModelfEXT = (PFNGLFRAGMENTLIGHTMODELFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfEXT")) == NULL) || r;
6709 r = ((glFragmentLightModelfvEXT = (PFNGLFRAGMENTLIGHTMODELFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvEXT")) == NULL) || r;
6710 r = ((glFragmentLightModeliEXT = (PFNGLFRAGMENTLIGHTMODELIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliEXT")) == NULL) || r;
6711 r = ((glFragmentLightModelivEXT = (PFNGLFRAGMENTLIGHTMODELIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivEXT")) == NULL) || r;
6712 r = ((glFragmentLightfEXT = (PFNGLFRAGMENTLIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfEXT")) == NULL) || r;
6713 r = ((glFragmentLightfvEXT = (PFNGLFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvEXT")) == NULL) || r;
6714 r = ((glFragmentLightiEXT = (PFNGLFRAGMENTLIGHTIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiEXT")) == NULL) || r;
6715 r = ((glFragmentLightivEXT = (PFNGLFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivEXT")) == NULL) || r;
6716 r = ((glFragmentMaterialfEXT = (PFNGLFRAGMENTMATERIALFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfEXT")) == NULL) || r;
6717 r = ((glFragmentMaterialfvEXT = (PFNGLFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvEXT")) == NULL) || r;
6718 r = ((glFragmentMaterialiEXT = (PFNGLFRAGMENTMATERIALIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiEXT")) == NULL) || r;
6719 r = ((glFragmentMaterialivEXT = (PFNGLFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivEXT")) == NULL) || r;
6720 r = ((glGetFragmentLightfvEXT = (PFNGLGETFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvEXT")) == NULL) || r;
6721 r = ((glGetFragmentLightivEXT = (PFNGLGETFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivEXT")) == NULL) || r;
6722 r = ((glGetFragmentMaterialfvEXT = (PFNGLGETFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvEXT")) == NULL) || r;
6723 r = ((glGetFragmentMaterialivEXT = (PFNGLGETFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivEXT")) == NULL) || r;
6724 r = ((glLightEnviEXT = (PFNGLLIGHTENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glLightEnviEXT")) == NULL) || r;
6725
6726 return r;
6727}
6728
6729#endif /* GL_EXT_fragment_lighting */
6730
6731#ifdef GL_EXT_framebuffer_blit
6732
6733static GLboolean _glewInit_GL_EXT_framebuffer_blit (GLEW_CONTEXT_ARG_DEF_INIT)
6734{
6735 GLboolean r = GL_FALSE;
6736
6737 r = ((glBlitFramebufferEXT = (PFNGLBLITFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferEXT")) == NULL) || r;
6738
6739 return r;
6740}
6741
6742#endif /* GL_EXT_framebuffer_blit */
6743
6744#ifdef GL_EXT_framebuffer_multisample
6745
6746static GLboolean _glewInit_GL_EXT_framebuffer_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
6747{
6748 GLboolean r = GL_FALSE;
6749
6750 r = ((glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleEXT")) == NULL) || r;
6751
6752 return r;
6753}
6754
6755#endif /* GL_EXT_framebuffer_multisample */
6756
6757#ifdef GL_EXT_framebuffer_multisample_blit_scaled
6758
6759#endif /* GL_EXT_framebuffer_multisample_blit_scaled */
6760
6761#ifdef GL_EXT_framebuffer_object
6762
6763static GLboolean _glewInit_GL_EXT_framebuffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
6764{
6765 GLboolean r = GL_FALSE;
6766
6767 r = ((glBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindFramebufferEXT")) == NULL) || r;
6768 r = ((glBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbufferEXT")) == NULL) || r;
6769 r = ((glCheckFramebufferStatusEXT = (PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatusEXT")) == NULL) || r;
6770 r = ((glDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffersEXT")) == NULL) || r;
6771 r = ((glDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffersEXT")) == NULL) || r;
6772 r = ((glFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbufferEXT")) == NULL) || r;
6773 r = ((glFramebufferTexture1DEXT = (PFNGLFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1DEXT")) == NULL) || r;
6774 r = ((glFramebufferTexture2DEXT = (PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2DEXT")) == NULL) || r;
6775 r = ((glFramebufferTexture3DEXT = (PFNGLFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3DEXT")) == NULL) || r;
6776 r = ((glGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffersEXT")) == NULL) || r;
6777 r = ((glGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffersEXT")) == NULL) || r;
6778 r = ((glGenerateMipmapEXT = (PFNGLGENERATEMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmapEXT")) == NULL) || r;
6779 r = ((glGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameterivEXT")) == NULL) || r;
6780 r = ((glGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameterivEXT")) == NULL) || r;
6781 r = ((glIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsFramebufferEXT")) == NULL) || r;
6782 r = ((glIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbufferEXT")) == NULL) || r;
6783 r = ((glRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageEXT")) == NULL) || r;
6784
6785 return r;
6786}
6787
6788#endif /* GL_EXT_framebuffer_object */
6789
6790#ifdef GL_EXT_framebuffer_sRGB
6791
6792#endif /* GL_EXT_framebuffer_sRGB */
6793
6794#ifdef GL_EXT_geometry_shader4
6795
6796static GLboolean _glewInit_GL_EXT_geometry_shader4 (GLEW_CONTEXT_ARG_DEF_INIT)
6797{
6798 GLboolean r = GL_FALSE;
6799
6800 r = ((glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureEXT")) == NULL) || r;
6801 r = ((glFramebufferTextureFaceEXT = (PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceEXT")) == NULL) || r;
6802 r = ((glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriEXT")) == NULL) || r;
6803
6804 return r;
6805}
6806
6807#endif /* GL_EXT_geometry_shader4 */
6808
6809#ifdef GL_EXT_gpu_program_parameters
6810
6811static GLboolean _glewInit_GL_EXT_gpu_program_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
6812{
6813 GLboolean r = GL_FALSE;
6814
6815 r = ((glProgramEnvParameters4fvEXT = (PFNGLPROGRAMENVPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameters4fvEXT")) == NULL) || r;
6816 r = ((glProgramLocalParameters4fvEXT = (PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameters4fvEXT")) == NULL) || r;
6817
6818 return r;
6819}
6820
6821#endif /* GL_EXT_gpu_program_parameters */
6822
6823#ifdef GL_EXT_gpu_shader4
6824
6825static GLboolean _glewInit_GL_EXT_gpu_shader4 (GLEW_CONTEXT_ARG_DEF_INIT)
6826{
6827 GLboolean r = GL_FALSE;
6828
6829 r = ((glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationEXT")) == NULL) || r;
6830 r = ((glGetFragDataLocationEXT = (PFNGLGETFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocationEXT")) == NULL) || r;
6831 r = ((glGetUniformuivEXT = (PFNGLGETUNIFORMUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuivEXT")) == NULL) || r;
6832 r = ((glGetVertexAttribIivEXT = (PFNGLGETVERTEXATTRIBIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIivEXT")) == NULL) || r;
6833 r = ((glGetVertexAttribIuivEXT = (PFNGLGETVERTEXATTRIBIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuivEXT")) == NULL) || r;
6834 r = ((glUniform1uiEXT = (PFNGLUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiEXT")) == NULL) || r;
6835 r = ((glUniform1uivEXT = (PFNGLUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uivEXT")) == NULL) || r;
6836 r = ((glUniform2uiEXT = (PFNGLUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiEXT")) == NULL) || r;
6837 r = ((glUniform2uivEXT = (PFNGLUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uivEXT")) == NULL) || r;
6838 r = ((glUniform3uiEXT = (PFNGLUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiEXT")) == NULL) || r;
6839 r = ((glUniform3uivEXT = (PFNGLUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uivEXT")) == NULL) || r;
6840 r = ((glUniform4uiEXT = (PFNGLUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiEXT")) == NULL) || r;
6841 r = ((glUniform4uivEXT = (PFNGLUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uivEXT")) == NULL) || r;
6842 r = ((glVertexAttribI1iEXT = (PFNGLVERTEXATTRIBI1IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iEXT")) == NULL) || r;
6843 r = ((glVertexAttribI1ivEXT = (PFNGLVERTEXATTRIBI1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ivEXT")) == NULL) || r;
6844 r = ((glVertexAttribI1uiEXT = (PFNGLVERTEXATTRIBI1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiEXT")) == NULL) || r;
6845 r = ((glVertexAttribI1uivEXT = (PFNGLVERTEXATTRIBI1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uivEXT")) == NULL) || r;
6846 r = ((glVertexAttribI2iEXT = (PFNGLVERTEXATTRIBI2IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iEXT")) == NULL) || r;
6847 r = ((glVertexAttribI2ivEXT = (PFNGLVERTEXATTRIBI2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ivEXT")) == NULL) || r;
6848 r = ((glVertexAttribI2uiEXT = (PFNGLVERTEXATTRIBI2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiEXT")) == NULL) || r;
6849 r = ((glVertexAttribI2uivEXT = (PFNGLVERTEXATTRIBI2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uivEXT")) == NULL) || r;
6850 r = ((glVertexAttribI3iEXT = (PFNGLVERTEXATTRIBI3IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iEXT")) == NULL) || r;
6851 r = ((glVertexAttribI3ivEXT = (PFNGLVERTEXATTRIBI3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ivEXT")) == NULL) || r;
6852 r = ((glVertexAttribI3uiEXT = (PFNGLVERTEXATTRIBI3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiEXT")) == NULL) || r;
6853 r = ((glVertexAttribI3uivEXT = (PFNGLVERTEXATTRIBI3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uivEXT")) == NULL) || r;
6854 r = ((glVertexAttribI4bvEXT = (PFNGLVERTEXATTRIBI4BVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bvEXT")) == NULL) || r;
6855 r = ((glVertexAttribI4iEXT = (PFNGLVERTEXATTRIBI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iEXT")) == NULL) || r;
6856 r = ((glVertexAttribI4ivEXT = (PFNGLVERTEXATTRIBI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ivEXT")) == NULL) || r;
6857 r = ((glVertexAttribI4svEXT = (PFNGLVERTEXATTRIBI4SVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4svEXT")) == NULL) || r;
6858 r = ((glVertexAttribI4ubvEXT = (PFNGLVERTEXATTRIBI4UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubvEXT")) == NULL) || r;
6859 r = ((glVertexAttribI4uiEXT = (PFNGLVERTEXATTRIBI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiEXT")) == NULL) || r;
6860 r = ((glVertexAttribI4uivEXT = (PFNGLVERTEXATTRIBI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uivEXT")) == NULL) || r;
6861 r = ((glVertexAttribI4usvEXT = (PFNGLVERTEXATTRIBI4USVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usvEXT")) == NULL) || r;
6862 r = ((glVertexAttribIPointerEXT = (PFNGLVERTEXATTRIBIPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointerEXT")) == NULL) || r;
6863
6864 return r;
6865}
6866
6867#endif /* GL_EXT_gpu_shader4 */
6868
6869#ifdef GL_EXT_histogram
6870
6871static GLboolean _glewInit_GL_EXT_histogram (GLEW_CONTEXT_ARG_DEF_INIT)
6872{
6873 GLboolean r = GL_FALSE;
6874
6875 r = ((glGetHistogramEXT = (PFNGLGETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramEXT")) == NULL) || r;
6876 r = ((glGetHistogramParameterfvEXT = (PFNGLGETHISTOGRAMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfvEXT")) == NULL) || r;
6877 r = ((glGetHistogramParameterivEXT = (PFNGLGETHISTOGRAMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterivEXT")) == NULL) || r;
6878 r = ((glGetMinmaxEXT = (PFNGLGETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxEXT")) == NULL) || r;
6879 r = ((glGetMinmaxParameterfvEXT = (PFNGLGETMINMAXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfvEXT")) == NULL) || r;
6880 r = ((glGetMinmaxParameterivEXT = (PFNGLGETMINMAXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterivEXT")) == NULL) || r;
6881 r = ((glHistogramEXT = (PFNGLHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glHistogramEXT")) == NULL) || r;
6882 r = ((glMinmaxEXT = (PFNGLMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glMinmaxEXT")) == NULL) || r;
6883 r = ((glResetHistogramEXT = (PFNGLRESETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glResetHistogramEXT")) == NULL) || r;
6884 r = ((glResetMinmaxEXT = (PFNGLRESETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glResetMinmaxEXT")) == NULL) || r;
6885
6886 return r;
6887}
6888
6889#endif /* GL_EXT_histogram */
6890
6891#ifdef GL_EXT_index_array_formats
6892
6893#endif /* GL_EXT_index_array_formats */
6894
6895#ifdef GL_EXT_index_func
6896
6897static GLboolean _glewInit_GL_EXT_index_func (GLEW_CONTEXT_ARG_DEF_INIT)
6898{
6899 GLboolean r = GL_FALSE;
6900
6901 r = ((glIndexFuncEXT = (PFNGLINDEXFUNCEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexFuncEXT")) == NULL) || r;
6902
6903 return r;
6904}
6905
6906#endif /* GL_EXT_index_func */
6907
6908#ifdef GL_EXT_index_material
6909
6910static GLboolean _glewInit_GL_EXT_index_material (GLEW_CONTEXT_ARG_DEF_INIT)
6911{
6912 GLboolean r = GL_FALSE;
6913
6914 r = ((glIndexMaterialEXT = (PFNGLINDEXMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexMaterialEXT")) == NULL) || r;
6915
6916 return r;
6917}
6918
6919#endif /* GL_EXT_index_material */
6920
6921#ifdef GL_EXT_index_texture
6922
6923#endif /* GL_EXT_index_texture */
6924
6925#ifdef GL_EXT_light_texture
6926
6927static GLboolean _glewInit_GL_EXT_light_texture (GLEW_CONTEXT_ARG_DEF_INIT)
6928{
6929 GLboolean r = GL_FALSE;
6930
6931 r = ((glApplyTextureEXT = (PFNGLAPPLYTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glApplyTextureEXT")) == NULL) || r;
6932 r = ((glTextureLightEXT = (PFNGLTEXTURELIGHTEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureLightEXT")) == NULL) || r;
6933 r = ((glTextureMaterialEXT = (PFNGLTEXTUREMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureMaterialEXT")) == NULL) || r;
6934
6935 return r;
6936}
6937
6938#endif /* GL_EXT_light_texture */
6939
6940#ifdef GL_EXT_misc_attribute
6941
6942#endif /* GL_EXT_misc_attribute */
6943
6944#ifdef GL_EXT_multi_draw_arrays
6945
6946static GLboolean _glewInit_GL_EXT_multi_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
6947{
6948 GLboolean r = GL_FALSE;
6949
6950 r = ((glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysEXT")) == NULL) || r;
6951 r = ((glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsEXT")) == NULL) || r;
6952
6953 return r;
6954}
6955
6956#endif /* GL_EXT_multi_draw_arrays */
6957
6958#ifdef GL_EXT_multisample
6959
6960static GLboolean _glewInit_GL_EXT_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
6961{
6962 GLboolean r = GL_FALSE;
6963
6964 r = ((glSampleMaskEXT = (PFNGLSAMPLEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskEXT")) == NULL) || r;
6965 r = ((glSamplePatternEXT = (PFNGLSAMPLEPATTERNEXTPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternEXT")) == NULL) || r;
6966
6967 return r;
6968}
6969
6970#endif /* GL_EXT_multisample */
6971
6972#ifdef GL_EXT_packed_depth_stencil
6973
6974#endif /* GL_EXT_packed_depth_stencil */
6975
6976#ifdef GL_EXT_packed_float
6977
6978#endif /* GL_EXT_packed_float */
6979
6980#ifdef GL_EXT_packed_pixels
6981
6982#endif /* GL_EXT_packed_pixels */
6983
6984#ifdef GL_EXT_paletted_texture
6985
6986static GLboolean _glewInit_GL_EXT_paletted_texture (GLEW_CONTEXT_ARG_DEF_INIT)
6987{
6988 GLboolean r = GL_FALSE;
6989
6990 r = ((glColorTableEXT = (PFNGLCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorTableEXT")) == NULL) || r;
6991 r = ((glGetColorTableEXT = (PFNGLGETCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableEXT")) == NULL) || r;
6992 r = ((glGetColorTableParameterfvEXT = (PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvEXT")) == NULL) || r;
6993 r = ((glGetColorTableParameterivEXT = (PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivEXT")) == NULL) || r;
6994
6995 return r;
6996}
6997
6998#endif /* GL_EXT_paletted_texture */
6999
7000#ifdef GL_EXT_pixel_buffer_object
7001
7002#endif /* GL_EXT_pixel_buffer_object */
7003
7004#ifdef GL_EXT_pixel_transform
7005
7006static GLboolean _glewInit_GL_EXT_pixel_transform (GLEW_CONTEXT_ARG_DEF_INIT)
7007{
7008 GLboolean r = GL_FALSE;
7009
7010 r = ((glGetPixelTransformParameterfvEXT = (PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterfvEXT")) == NULL) || r;
7011 r = ((glGetPixelTransformParameterivEXT = (PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterivEXT")) == NULL) || r;
7012 r = ((glPixelTransformParameterfEXT = (PFNGLPIXELTRANSFORMPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfEXT")) == NULL) || r;
7013 r = ((glPixelTransformParameterfvEXT = (PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfvEXT")) == NULL) || r;
7014 r = ((glPixelTransformParameteriEXT = (PFNGLPIXELTRANSFORMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameteriEXT")) == NULL) || r;
7015 r = ((glPixelTransformParameterivEXT = (PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterivEXT")) == NULL) || r;
7016
7017 return r;
7018}
7019
7020#endif /* GL_EXT_pixel_transform */
7021
7022#ifdef GL_EXT_pixel_transform_color_table
7023
7024#endif /* GL_EXT_pixel_transform_color_table */
7025
7026#ifdef GL_EXT_point_parameters
7027
7028static GLboolean _glewInit_GL_EXT_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT)
7029{
7030 GLboolean r = GL_FALSE;
7031
7032 r = ((glPointParameterfEXT = (PFNGLPOINTPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfEXT")) == NULL) || r;
7033 r = ((glPointParameterfvEXT = (PFNGLPOINTPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvEXT")) == NULL) || r;
7034
7035 return r;
7036}
7037
7038#endif /* GL_EXT_point_parameters */
7039
7040#ifdef GL_EXT_polygon_offset
7041
7042static GLboolean _glewInit_GL_EXT_polygon_offset (GLEW_CONTEXT_ARG_DEF_INIT)
7043{
7044 GLboolean r = GL_FALSE;
7045
7046 r = ((glPolygonOffsetEXT = (PFNGLPOLYGONOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetEXT")) == NULL) || r;
7047
7048 return r;
7049}
7050
7051#endif /* GL_EXT_polygon_offset */
7052
7053#ifdef GL_EXT_provoking_vertex
7054
7055static GLboolean _glewInit_GL_EXT_provoking_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
7056{
7057 GLboolean r = GL_FALSE;
7058
7059 r = ((glProvokingVertexEXT = (PFNGLPROVOKINGVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertexEXT")) == NULL) || r;
7060
7061 return r;
7062}
7063
7064#endif /* GL_EXT_provoking_vertex */
7065
7066#ifdef GL_EXT_rescale_normal
7067
7068#endif /* GL_EXT_rescale_normal */
7069
7070#ifdef GL_EXT_scene_marker
7071
7072static GLboolean _glewInit_GL_EXT_scene_marker (GLEW_CONTEXT_ARG_DEF_INIT)
7073{
7074 GLboolean r = GL_FALSE;
7075
7076 r = ((glBeginSceneEXT = (PFNGLBEGINSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginSceneEXT")) == NULL) || r;
7077 r = ((glEndSceneEXT = (PFNGLENDSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glEndSceneEXT")) == NULL) || r;
7078
7079 return r;
7080}
7081
7082#endif /* GL_EXT_scene_marker */
7083
7084#ifdef GL_EXT_secondary_color
7085
7086static GLboolean _glewInit_GL_EXT_secondary_color (GLEW_CONTEXT_ARG_DEF_INIT)
7087{
7088 GLboolean r = GL_FALSE;
7089
7090 r = ((glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bEXT")) == NULL) || r;
7091 r = ((glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bvEXT")) == NULL) || r;
7092 r = ((glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dEXT")) == NULL) || r;
7093 r = ((glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dvEXT")) == NULL) || r;
7094 r = ((glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fEXT")) == NULL) || r;
7095 r = ((glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fvEXT")) == NULL) || r;
7096 r = ((glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iEXT")) == NULL) || r;
7097 r = ((glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ivEXT")) == NULL) || r;
7098 r = ((glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sEXT")) == NULL) || r;
7099 r = ((glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3svEXT")) == NULL) || r;
7100 r = ((glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubEXT")) == NULL) || r;
7101 r = ((glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubvEXT")) == NULL) || r;
7102 r = ((glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiEXT")) == NULL) || r;
7103 r = ((glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uivEXT")) == NULL) || r;
7104 r = ((glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usEXT")) == NULL) || r;
7105 r = ((glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usvEXT")) == NULL) || r;
7106 r = ((glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerEXT")) == NULL) || r;
7107
7108 return r;
7109}
7110
7111#endif /* GL_EXT_secondary_color */
7112
7113#ifdef GL_EXT_separate_shader_objects
7114
7115static GLboolean _glewInit_GL_EXT_separate_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT)
7116{
7117 GLboolean r = GL_FALSE;
7118
7119 r = ((glActiveProgramEXT = (PFNGLACTIVEPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveProgramEXT")) == NULL) || r;
7120 r = ((glCreateShaderProgramEXT = (PFNGLCREATESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramEXT")) == NULL) || r;
7121 r = ((glUseShaderProgramEXT = (PFNGLUSESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glUseShaderProgramEXT")) == NULL) || r;
7122
7123 return r;
7124}
7125
7126#endif /* GL_EXT_separate_shader_objects */
7127
7128#ifdef GL_EXT_separate_specular_color
7129
7130#endif /* GL_EXT_separate_specular_color */
7131
7132#ifdef GL_EXT_shader_image_load_store
7133
7134static GLboolean _glewInit_GL_EXT_shader_image_load_store (GLEW_CONTEXT_ARG_DEF_INIT)
7135{
7136 GLboolean r = GL_FALSE;
7137
7138 r = ((glBindImageTextureEXT = (PFNGLBINDIMAGETEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindImageTextureEXT")) == NULL) || r;
7139 r = ((glMemoryBarrierEXT = (PFNGLMEMORYBARRIEREXTPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrierEXT")) == NULL) || r;
7140
7141 return r;
7142}
7143
7144#endif /* GL_EXT_shader_image_load_store */
7145
7146#ifdef GL_EXT_shadow_funcs
7147
7148#endif /* GL_EXT_shadow_funcs */
7149
7150#ifdef GL_EXT_shared_texture_palette
7151
7152#endif /* GL_EXT_shared_texture_palette */
7153
7154#ifdef GL_EXT_stencil_clear_tag
7155
7156#endif /* GL_EXT_stencil_clear_tag */
7157
7158#ifdef GL_EXT_stencil_two_side
7159
7160static GLboolean _glewInit_GL_EXT_stencil_two_side (GLEW_CONTEXT_ARG_DEF_INIT)
7161{
7162 GLboolean r = GL_FALSE;
7163
7164 r = ((glActiveStencilFaceEXT = (PFNGLACTIVESTENCILFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveStencilFaceEXT")) == NULL) || r;
7165
7166 return r;
7167}
7168
7169#endif /* GL_EXT_stencil_two_side */
7170
7171#ifdef GL_EXT_stencil_wrap
7172
7173#endif /* GL_EXT_stencil_wrap */
7174
7175#ifdef GL_EXT_subtexture
7176
7177static GLboolean _glewInit_GL_EXT_subtexture (GLEW_CONTEXT_ARG_DEF_INIT)
7178{
7179 GLboolean r = GL_FALSE;
7180
7181 r = ((glTexSubImage1DEXT = (PFNGLTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage1DEXT")) == NULL) || r;
7182 r = ((glTexSubImage2DEXT = (PFNGLTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage2DEXT")) == NULL) || r;
7183 r = ((glTexSubImage3DEXT = (PFNGLTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3DEXT")) == NULL) || r;
7184
7185 return r;
7186}
7187
7188#endif /* GL_EXT_subtexture */
7189
7190#ifdef GL_EXT_texture
7191
7192#endif /* GL_EXT_texture */
7193
7194#ifdef GL_EXT_texture3D
7195
7196static GLboolean _glewInit_GL_EXT_texture3D (GLEW_CONTEXT_ARG_DEF_INIT)
7197{
7198 GLboolean r = GL_FALSE;
7199
7200 r = ((glTexImage3DEXT = (PFNGLTEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DEXT")) == NULL) || r;
7201
7202 return r;
7203}
7204
7205#endif /* GL_EXT_texture3D */
7206
7207#ifdef GL_EXT_texture_array
7208
7209static GLboolean _glewInit_GL_EXT_texture_array (GLEW_CONTEXT_ARG_DEF_INIT)
7210{
7211 GLboolean r = GL_FALSE;
7212
7213 r = ((glFramebufferTextureLayerEXT = (PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerEXT")) == NULL) || r;
7214
7215 return r;
7216}
7217
7218#endif /* GL_EXT_texture_array */
7219
7220#ifdef GL_EXT_texture_buffer_object
7221
7222static GLboolean _glewInit_GL_EXT_texture_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
7223{
7224 GLboolean r = GL_FALSE;
7225
7226 r = ((glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexBufferEXT")) == NULL) || r;
7227
7228 return r;
7229}
7230
7231#endif /* GL_EXT_texture_buffer_object */
7232
7233#ifdef GL_EXT_texture_compression_dxt1
7234
7235#endif /* GL_EXT_texture_compression_dxt1 */
7236
7237#ifdef GL_EXT_texture_compression_latc
7238
7239#endif /* GL_EXT_texture_compression_latc */
7240
7241#ifdef GL_EXT_texture_compression_rgtc
7242
7243#endif /* GL_EXT_texture_compression_rgtc */
7244
7245#ifdef GL_EXT_texture_compression_s3tc
7246
7247#endif /* GL_EXT_texture_compression_s3tc */
7248
7249#ifdef GL_EXT_texture_cube_map
7250
7251#endif /* GL_EXT_texture_cube_map */
7252
7253#ifdef GL_EXT_texture_edge_clamp
7254
7255#endif /* GL_EXT_texture_edge_clamp */
7256
7257#ifdef GL_EXT_texture_env
7258
7259#endif /* GL_EXT_texture_env */
7260
7261#ifdef GL_EXT_texture_env_add
7262
7263#endif /* GL_EXT_texture_env_add */
7264
7265#ifdef GL_EXT_texture_env_combine
7266
7267#endif /* GL_EXT_texture_env_combine */
7268
7269#ifdef GL_EXT_texture_env_dot3
7270
7271#endif /* GL_EXT_texture_env_dot3 */
7272
7273#ifdef GL_EXT_texture_filter_anisotropic
7274
7275#endif /* GL_EXT_texture_filter_anisotropic */
7276
7277#ifdef GL_EXT_texture_integer
7278
7279static GLboolean _glewInit_GL_EXT_texture_integer (GLEW_CONTEXT_ARG_DEF_INIT)
7280{
7281 GLboolean r = GL_FALSE;
7282
7283 r = ((glClearColorIiEXT = (PFNGLCLEARCOLORIIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIiEXT")) == NULL) || r;
7284 r = ((glClearColorIuiEXT = (PFNGLCLEARCOLORIUIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIuiEXT")) == NULL) || r;
7285 r = ((glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIivEXT")) == NULL) || r;
7286 r = ((glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuivEXT")) == NULL) || r;
7287 r = ((glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIivEXT")) == NULL) || r;
7288 r = ((glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuivEXT")) == NULL) || r;
7289
7290 return r;
7291}
7292
7293#endif /* GL_EXT_texture_integer */
7294
7295#ifdef GL_EXT_texture_lod_bias
7296
7297#endif /* GL_EXT_texture_lod_bias */
7298
7299#ifdef GL_EXT_texture_mirror_clamp
7300
7301#endif /* GL_EXT_texture_mirror_clamp */
7302
7303#ifdef GL_EXT_texture_object
7304
7305static GLboolean _glewInit_GL_EXT_texture_object (GLEW_CONTEXT_ARG_DEF_INIT)
7306{
7307 GLboolean r = GL_FALSE;
7308
7309 r = ((glAreTexturesResidentEXT = (PFNGLARETEXTURESRESIDENTEXTPROC)glewGetProcAddress((const GLubyte*)"glAreTexturesResidentEXT")) == NULL) || r;
7310 r = ((glBindTextureEXT = (PFNGLBINDTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureEXT")) == NULL) || r;
7311 r = ((glDeleteTexturesEXT = (PFNGLDELETETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteTexturesEXT")) == NULL) || r;
7312 r = ((glGenTexturesEXT = (PFNGLGENTEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glGenTexturesEXT")) == NULL) || r;
7313 r = ((glIsTextureEXT = (PFNGLISTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glIsTextureEXT")) == NULL) || r;
7314 r = ((glPrioritizeTexturesEXT = (PFNGLPRIORITIZETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glPrioritizeTexturesEXT")) == NULL) || r;
7315
7316 return r;
7317}
7318
7319#endif /* GL_EXT_texture_object */
7320
7321#ifdef GL_EXT_texture_perturb_normal
7322
7323static GLboolean _glewInit_GL_EXT_texture_perturb_normal (GLEW_CONTEXT_ARG_DEF_INIT)
7324{
7325 GLboolean r = GL_FALSE;
7326
7327 r = ((glTextureNormalEXT = (PFNGLTEXTURENORMALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureNormalEXT")) == NULL) || r;
7328
7329 return r;
7330}
7331
7332#endif /* GL_EXT_texture_perturb_normal */
7333
7334#ifdef GL_EXT_texture_rectangle
7335
7336#endif /* GL_EXT_texture_rectangle */
7337
7338#ifdef GL_EXT_texture_sRGB
7339
7340#endif /* GL_EXT_texture_sRGB */
7341
7342#ifdef GL_EXT_texture_sRGB_decode
7343
7344#endif /* GL_EXT_texture_sRGB_decode */
7345
7346#ifdef GL_EXT_texture_shared_exponent
7347
7348#endif /* GL_EXT_texture_shared_exponent */
7349
7350#ifdef GL_EXT_texture_snorm
7351
7352#endif /* GL_EXT_texture_snorm */
7353
7354#ifdef GL_EXT_texture_swizzle
7355
7356#endif /* GL_EXT_texture_swizzle */
7357
7358#ifdef GL_EXT_timer_query
7359
7360static GLboolean _glewInit_GL_EXT_timer_query (GLEW_CONTEXT_ARG_DEF_INIT)
7361{
7362 GLboolean r = GL_FALSE;
7363
7364 r = ((glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64vEXT")) == NULL) || r;
7365 r = ((glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64vEXT")) == NULL) || r;
7366
7367 return r;
7368}
7369
7370#endif /* GL_EXT_timer_query */
7371
7372#ifdef GL_EXT_transform_feedback
7373
7374static GLboolean _glewInit_GL_EXT_transform_feedback (GLEW_CONTEXT_ARG_DEF_INIT)
7375{
7376 GLboolean r = GL_FALSE;
7377
7378 r = ((glBeginTransformFeedbackEXT = (PFNGLBEGINTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackEXT")) == NULL) || r;
7379 r = ((glBindBufferBaseEXT = (PFNGLBINDBUFFERBASEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseEXT")) == NULL) || r;
7380 r = ((glBindBufferOffsetEXT = (PFNGLBINDBUFFEROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetEXT")) == NULL) || r;
7381 r = ((glBindBufferRangeEXT = (PFNGLBINDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeEXT")) == NULL) || r;
7382 r = ((glEndTransformFeedbackEXT = (PFNGLENDTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackEXT")) == NULL) || r;
7383 r = ((glGetTransformFeedbackVaryingEXT = (PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingEXT")) == NULL) || r;
7384 r = ((glTransformFeedbackVaryingsEXT = (PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsEXT")) == NULL) || r;
7385
7386 return r;
7387}
7388
7389#endif /* GL_EXT_transform_feedback */
7390
7391#ifdef GL_EXT_vertex_array
7392
7393static GLboolean _glewInit_GL_EXT_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT)
7394{
7395 GLboolean r = GL_FALSE;
7396
7397 r = ((glArrayElementEXT = (PFNGLARRAYELEMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glArrayElementEXT")) == NULL) || r;
7398 r = ((glColorPointerEXT = (PFNGLCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glColorPointerEXT")) == NULL) || r;
7399 r = ((glDrawArraysEXT = (PFNGLDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysEXT")) == NULL) || r;
7400 r = ((glEdgeFlagPointerEXT = (PFNGLEDGEFLAGPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerEXT")) == NULL) || r;
7401 r = ((glIndexPointerEXT = (PFNGLINDEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerEXT")) == NULL) || r;
7402 r = ((glNormalPointerEXT = (PFNGLNORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerEXT")) == NULL) || r;
7403 r = ((glTexCoordPointerEXT = (PFNGLTEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerEXT")) == NULL) || r;
7404 r = ((glVertexPointerEXT = (PFNGLVERTEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerEXT")) == NULL) || r;
7405
7406 return r;
7407}
7408
7409#endif /* GL_EXT_vertex_array */
7410
7411#ifdef GL_EXT_vertex_array_bgra
7412
7413#endif /* GL_EXT_vertex_array_bgra */
7414
7415#ifdef GL_EXT_vertex_attrib_64bit
7416
7417static GLboolean _glewInit_GL_EXT_vertex_attrib_64bit (GLEW_CONTEXT_ARG_DEF_INIT)
7418{
7419 GLboolean r = GL_FALSE;
7420
7421 r = ((glGetVertexAttribLdvEXT = (PFNGLGETVERTEXATTRIBLDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdvEXT")) == NULL) || r;
7422 r = ((glVertexArrayVertexAttribLOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribLOffsetEXT")) == NULL) || r;
7423 r = ((glVertexAttribL1dEXT = (PFNGLVERTEXATTRIBL1DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dEXT")) == NULL) || r;
7424 r = ((glVertexAttribL1dvEXT = (PFNGLVERTEXATTRIBL1DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dvEXT")) == NULL) || r;
7425 r = ((glVertexAttribL2dEXT = (PFNGLVERTEXATTRIBL2DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dEXT")) == NULL) || r;
7426 r = ((glVertexAttribL2dvEXT = (PFNGLVERTEXATTRIBL2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dvEXT")) == NULL) || r;
7427 r = ((glVertexAttribL3dEXT = (PFNGLVERTEXATTRIBL3DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dEXT")) == NULL) || r;
7428 r = ((glVertexAttribL3dvEXT = (PFNGLVERTEXATTRIBL3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dvEXT")) == NULL) || r;
7429 r = ((glVertexAttribL4dEXT = (PFNGLVERTEXATTRIBL4DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dEXT")) == NULL) || r;
7430 r = ((glVertexAttribL4dvEXT = (PFNGLVERTEXATTRIBL4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dvEXT")) == NULL) || r;
7431 r = ((glVertexAttribLPointerEXT = (PFNGLVERTEXATTRIBLPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointerEXT")) == NULL) || r;
7432
7433 return r;
7434}
7435
7436#endif /* GL_EXT_vertex_attrib_64bit */
7437
7438#ifdef GL_EXT_vertex_shader
7439
7440static GLboolean _glewInit_GL_EXT_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT)
7441{
7442 GLboolean r = GL_FALSE;
7443
7444 r = ((glBeginVertexShaderEXT = (PFNGLBEGINVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBeginVertexShaderEXT")) == NULL) || r;
7445 r = ((glBindLightParameterEXT = (PFNGLBINDLIGHTPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindLightParameterEXT")) == NULL) || r;
7446 r = ((glBindMaterialParameterEXT = (PFNGLBINDMATERIALPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindMaterialParameterEXT")) == NULL) || r;
7447 r = ((glBindParameterEXT = (PFNGLBINDPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindParameterEXT")) == NULL) || r;
7448 r = ((glBindTexGenParameterEXT = (PFNGLBINDTEXGENPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTexGenParameterEXT")) == NULL) || r;
7449 r = ((glBindTextureUnitParameterEXT = (PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureUnitParameterEXT")) == NULL) || r;
7450 r = ((glBindVertexShaderEXT = (PFNGLBINDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindVertexShaderEXT")) == NULL) || r;
7451 r = ((glDeleteVertexShaderEXT = (PFNGLDELETEVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexShaderEXT")) == NULL) || r;
7452 r = ((glDisableVariantClientStateEXT = (PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVariantClientStateEXT")) == NULL) || r;
7453 r = ((glEnableVariantClientStateEXT = (PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVariantClientStateEXT")) == NULL) || r;
7454 r = ((glEndVertexShaderEXT = (PFNGLENDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glEndVertexShaderEXT")) == NULL) || r;
7455 r = ((glExtractComponentEXT = (PFNGLEXTRACTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glExtractComponentEXT")) == NULL) || r;
7456 r = ((glGenSymbolsEXT = (PFNGLGENSYMBOLSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenSymbolsEXT")) == NULL) || r;
7457 r = ((glGenVertexShadersEXT = (PFNGLGENVERTEXSHADERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenVertexShadersEXT")) == NULL) || r;
7458 r = ((glGetInvariantBooleanvEXT = (PFNGLGETINVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantBooleanvEXT")) == NULL) || r;
7459 r = ((glGetInvariantFloatvEXT = (PFNGLGETINVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantFloatvEXT")) == NULL) || r;
7460 r = ((glGetInvariantIntegervEXT = (PFNGLGETINVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantIntegervEXT")) == NULL) || r;
7461 r = ((glGetLocalConstantBooleanvEXT = (PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantBooleanvEXT")) == NULL) || r;
7462 r = ((glGetLocalConstantFloatvEXT = (PFNGLGETLOCALCONSTANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantFloatvEXT")) == NULL) || r;
7463 r = ((glGetLocalConstantIntegervEXT = (PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantIntegervEXT")) == NULL) || r;
7464 r = ((glGetVariantBooleanvEXT = (PFNGLGETVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantBooleanvEXT")) == NULL) || r;
7465 r = ((glGetVariantFloatvEXT = (PFNGLGETVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantFloatvEXT")) == NULL) || r;
7466 r = ((glGetVariantIntegervEXT = (PFNGLGETVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantIntegervEXT")) == NULL) || r;
7467 r = ((glGetVariantPointervEXT = (PFNGLGETVARIANTPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantPointervEXT")) == NULL) || r;
7468 r = ((glInsertComponentEXT = (PFNGLINSERTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glInsertComponentEXT")) == NULL) || r;
7469 r = ((glIsVariantEnabledEXT = (PFNGLISVARIANTENABLEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsVariantEnabledEXT")) == NULL) || r;
7470 r = ((glSetInvariantEXT = (PFNGLSETINVARIANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetInvariantEXT")) == NULL) || r;
7471 r = ((glSetLocalConstantEXT = (PFNGLSETLOCALCONSTANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetLocalConstantEXT")) == NULL) || r;
7472 r = ((glShaderOp1EXT = (PFNGLSHADEROP1EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp1EXT")) == NULL) || r;
7473 r = ((glShaderOp2EXT = (PFNGLSHADEROP2EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp2EXT")) == NULL) || r;
7474 r = ((glShaderOp3EXT = (PFNGLSHADEROP3EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp3EXT")) == NULL) || r;
7475 r = ((glSwizzleEXT = (PFNGLSWIZZLEEXTPROC)glewGetProcAddress((const GLubyte*)"glSwizzleEXT")) == NULL) || r;
7476 r = ((glVariantPointerEXT = (PFNGLVARIANTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVariantPointerEXT")) == NULL) || r;
7477 r = ((glVariantbvEXT = (PFNGLVARIANTBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantbvEXT")) == NULL) || r;
7478 r = ((glVariantdvEXT = (PFNGLVARIANTDVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantdvEXT")) == NULL) || r;
7479 r = ((glVariantfvEXT = (PFNGLVARIANTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantfvEXT")) == NULL) || r;
7480 r = ((glVariantivEXT = (PFNGLVARIANTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantivEXT")) == NULL) || r;
7481 r = ((glVariantsvEXT = (PFNGLVARIANTSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantsvEXT")) == NULL) || r;
7482 r = ((glVariantubvEXT = (PFNGLVARIANTUBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantubvEXT")) == NULL) || r;
7483 r = ((glVariantuivEXT = (PFNGLVARIANTUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantuivEXT")) == NULL) || r;
7484 r = ((glVariantusvEXT = (PFNGLVARIANTUSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantusvEXT")) == NULL) || r;
7485 r = ((glWriteMaskEXT = (PFNGLWRITEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glWriteMaskEXT")) == NULL) || r;
7486
7487 return r;
7488}
7489
7490#endif /* GL_EXT_vertex_shader */
7491
7492#ifdef GL_EXT_vertex_weighting
7493
7494static GLboolean _glewInit_GL_EXT_vertex_weighting (GLEW_CONTEXT_ARG_DEF_INIT)
7495{
7496 GLboolean r = GL_FALSE;
7497
7498 r = ((glVertexWeightPointerEXT = (PFNGLVERTEXWEIGHTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightPointerEXT")) == NULL) || r;
7499 r = ((glVertexWeightfEXT = (PFNGLVERTEXWEIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfEXT")) == NULL) || r;
7500 r = ((glVertexWeightfvEXT = (PFNGLVERTEXWEIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfvEXT")) == NULL) || r;
7501
7502 return r;
7503}
7504
7505#endif /* GL_EXT_vertex_weighting */
7506
7507#ifdef GL_EXT_x11_sync_object
7508
7509static GLboolean _glewInit_GL_EXT_x11_sync_object (GLEW_CONTEXT_ARG_DEF_INIT)
7510{
7511 GLboolean r = GL_FALSE;
7512
7513 r = ((glImportSyncEXT = (PFNGLIMPORTSYNCEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSyncEXT")) == NULL) || r;
7514
7515 return r;
7516}
7517
7518#endif /* GL_EXT_x11_sync_object */
7519
7520#ifdef GL_GREMEDY_frame_terminator
7521
7522static GLboolean _glewInit_GL_GREMEDY_frame_terminator (GLEW_CONTEXT_ARG_DEF_INIT)
7523{
7524 GLboolean r = GL_FALSE;
7525
7526 r = ((glFrameTerminatorGREMEDY = (PFNGLFRAMETERMINATORGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glFrameTerminatorGREMEDY")) == NULL) || r;
7527
7528 return r;
7529}
7530
7531#endif /* GL_GREMEDY_frame_terminator */
7532
7533#ifdef GL_GREMEDY_string_marker
7534
7535static GLboolean _glewInit_GL_GREMEDY_string_marker (GLEW_CONTEXT_ARG_DEF_INIT)
7536{
7537 GLboolean r = GL_FALSE;
7538
7539 r = ((glStringMarkerGREMEDY = (PFNGLSTRINGMARKERGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glStringMarkerGREMEDY")) == NULL) || r;
7540
7541 return r;
7542}
7543
7544#endif /* GL_GREMEDY_string_marker */
7545
7546#ifdef GL_HP_convolution_border_modes
7547
7548#endif /* GL_HP_convolution_border_modes */
7549
7550#ifdef GL_HP_image_transform
7551
7552static GLboolean _glewInit_GL_HP_image_transform (GLEW_CONTEXT_ARG_DEF_INIT)
7553{
7554 GLboolean r = GL_FALSE;
7555
7556 r = ((glGetImageTransformParameterfvHP = (PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterfvHP")) == NULL) || r;
7557 r = ((glGetImageTransformParameterivHP = (PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterivHP")) == NULL) || r;
7558 r = ((glImageTransformParameterfHP = (PFNGLIMAGETRANSFORMPARAMETERFHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfHP")) == NULL) || r;
7559 r = ((glImageTransformParameterfvHP = (PFNGLIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfvHP")) == NULL) || r;
7560 r = ((glImageTransformParameteriHP = (PFNGLIMAGETRANSFORMPARAMETERIHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameteriHP")) == NULL) || r;
7561 r = ((glImageTransformParameterivHP = (PFNGLIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterivHP")) == NULL) || r;
7562
7563 return r;
7564}
7565
7566#endif /* GL_HP_image_transform */
7567
7568#ifdef GL_HP_occlusion_test
7569
7570#endif /* GL_HP_occlusion_test */
7571
7572#ifdef GL_HP_texture_lighting
7573
7574#endif /* GL_HP_texture_lighting */
7575
7576#ifdef GL_IBM_cull_vertex
7577
7578#endif /* GL_IBM_cull_vertex */
7579
7580#ifdef GL_IBM_multimode_draw_arrays
7581
7582static GLboolean _glewInit_GL_IBM_multimode_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
7583{
7584 GLboolean r = GL_FALSE;
7585
7586 r = ((glMultiModeDrawArraysIBM = (PFNGLMULTIMODEDRAWARRAYSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawArraysIBM")) == NULL) || r;
7587 r = ((glMultiModeDrawElementsIBM = (PFNGLMULTIMODEDRAWELEMENTSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawElementsIBM")) == NULL) || r;
7588
7589 return r;
7590}
7591
7592#endif /* GL_IBM_multimode_draw_arrays */
7593
7594#ifdef GL_IBM_rasterpos_clip
7595
7596#endif /* GL_IBM_rasterpos_clip */
7597
7598#ifdef GL_IBM_static_data
7599
7600#endif /* GL_IBM_static_data */
7601
7602#ifdef GL_IBM_texture_mirrored_repeat
7603
7604#endif /* GL_IBM_texture_mirrored_repeat */
7605
7606#ifdef GL_IBM_vertex_array_lists
7607
7608static GLboolean _glewInit_GL_IBM_vertex_array_lists (GLEW_CONTEXT_ARG_DEF_INIT)
7609{
7610 GLboolean r = GL_FALSE;
7611
7612 r = ((glColorPointerListIBM = (PFNGLCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glColorPointerListIBM")) == NULL) || r;
7613 r = ((glEdgeFlagPointerListIBM = (PFNGLEDGEFLAGPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerListIBM")) == NULL) || r;
7614 r = ((glFogCoordPointerListIBM = (PFNGLFOGCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerListIBM")) == NULL) || r;
7615 r = ((glIndexPointerListIBM = (PFNGLINDEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerListIBM")) == NULL) || r;
7616 r = ((glNormalPointerListIBM = (PFNGLNORMALPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerListIBM")) == NULL) || r;
7617 r = ((glSecondaryColorPointerListIBM = (PFNGLSECONDARYCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerListIBM")) == NULL) || r;
7618 r = ((glTexCoordPointerListIBM = (PFNGLTEXCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerListIBM")) == NULL) || r;
7619 r = ((glVertexPointerListIBM = (PFNGLVERTEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerListIBM")) == NULL) || r;
7620
7621 return r;
7622}
7623
7624#endif /* GL_IBM_vertex_array_lists */
7625
7626#ifdef GL_INGR_color_clamp
7627
7628#endif /* GL_INGR_color_clamp */
7629
7630#ifdef GL_INGR_interlace_read
7631
7632#endif /* GL_INGR_interlace_read */
7633
7634#ifdef GL_INTEL_map_texture
7635
7636static GLboolean _glewInit_GL_INTEL_map_texture (GLEW_CONTEXT_ARG_DEF_INIT)
7637{
7638 GLboolean r = GL_FALSE;
7639
7640 r = ((glMapTexture2DINTEL = (PFNGLMAPTEXTURE2DINTELPROC)glewGetProcAddress((const GLubyte*)"glMapTexture2DINTEL")) == NULL) || r;
7641 r = ((glSyncTextureINTEL = (PFNGLSYNCTEXTUREINTELPROC)glewGetProcAddress((const GLubyte*)"glSyncTextureINTEL")) == NULL) || r;
7642 r = ((glUnmapTexture2DINTEL = (PFNGLUNMAPTEXTURE2DINTELPROC)glewGetProcAddress((const GLubyte*)"glUnmapTexture2DINTEL")) == NULL) || r;
7643
7644 return r;
7645}
7646
7647#endif /* GL_INTEL_map_texture */
7648
7649#ifdef GL_INTEL_parallel_arrays
7650
7651static GLboolean _glewInit_GL_INTEL_parallel_arrays (GLEW_CONTEXT_ARG_DEF_INIT)
7652{
7653 GLboolean r = GL_FALSE;
7654
7655 r = ((glColorPointervINTEL = (PFNGLCOLORPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glColorPointervINTEL")) == NULL) || r;
7656 r = ((glNormalPointervINTEL = (PFNGLNORMALPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glNormalPointervINTEL")) == NULL) || r;
7657 r = ((glTexCoordPointervINTEL = (PFNGLTEXCOORDPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointervINTEL")) == NULL) || r;
7658 r = ((glVertexPointervINTEL = (PFNGLVERTEXPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glVertexPointervINTEL")) == NULL) || r;
7659
7660 return r;
7661}
7662
7663#endif /* GL_INTEL_parallel_arrays */
7664
7665#ifdef GL_INTEL_texture_scissor
7666
7667static GLboolean _glewInit_GL_INTEL_texture_scissor (GLEW_CONTEXT_ARG_DEF_INIT)
7668{
7669 GLboolean r = GL_FALSE;
7670
7671 r = ((glTexScissorFuncINTEL = (PFNGLTEXSCISSORFUNCINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorFuncINTEL")) == NULL) || r;
7672 r = ((glTexScissorINTEL = (PFNGLTEXSCISSORINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorINTEL")) == NULL) || r;
7673
7674 return r;
7675}
7676
7677#endif /* GL_INTEL_texture_scissor */
7678
7679#ifdef GL_KHR_debug
7680
7681static GLboolean _glewInit_GL_KHR_debug (GLEW_CONTEXT_ARG_DEF_INIT)
7682{
7683 GLboolean r = GL_FALSE;
7684
7685 r = ((glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallback")) == NULL) || r;
7686 r = ((glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageControl")) == NULL) || r;
7687 r = ((glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsert")) == NULL) || r;
7688 r = ((glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLog")) == NULL) || r;
7689 r = ((glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)glewGetProcAddress((const GLubyte*)"glGetObjectLabel")) == NULL) || r;
7690 r = ((glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)glewGetProcAddress((const GLubyte*)"glGetObjectPtrLabel")) == NULL) || r;
7691 r = ((glObjectLabel = (PFNGLOBJECTLABELPROC)glewGetProcAddress((const GLubyte*)"glObjectLabel")) == NULL) || r;
7692 r = ((glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)glewGetProcAddress((const GLubyte*)"glObjectPtrLabel")) == NULL) || r;
7693 r = ((glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)glewGetProcAddress((const GLubyte*)"glPopDebugGroup")) == NULL) || r;
7694 r = ((glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)glewGetProcAddress((const GLubyte*)"glPushDebugGroup")) == NULL) || r;
7695
7696 return r;
7697}
7698
7699#endif /* GL_KHR_debug */
7700
7701#ifdef GL_KHR_texture_compression_astc_ldr
7702
7703#endif /* GL_KHR_texture_compression_astc_ldr */
7704
7705#ifdef GL_KTX_buffer_region
7706
7707static GLboolean _glewInit_GL_KTX_buffer_region (GLEW_CONTEXT_ARG_DEF_INIT)
7708{
7709 GLboolean r = GL_FALSE;
7710
7711 r = ((glBufferRegionEnabled = (PFNGLBUFFERREGIONENABLEDPROC)glewGetProcAddress((const GLubyte*)"glBufferRegionEnabled")) == NULL) || r;
7712 r = ((glDeleteBufferRegion = (PFNGLDELETEBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glDeleteBufferRegion")) == NULL) || r;
7713 r = ((glDrawBufferRegion = (PFNGLDRAWBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glDrawBufferRegion")) == NULL) || r;
7714 r = ((glNewBufferRegion = (PFNGLNEWBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glNewBufferRegion")) == NULL) || r;
7715 r = ((glReadBufferRegion = (PFNGLREADBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glReadBufferRegion")) == NULL) || r;
7716
7717 return r;
7718}
7719
7720#endif /* GL_KTX_buffer_region */
7721
7722#ifdef GL_MESAX_texture_stack
7723
7724#endif /* GL_MESAX_texture_stack */
7725
7726#ifdef GL_MESA_pack_invert
7727
7728#endif /* GL_MESA_pack_invert */
7729
7730#ifdef GL_MESA_resize_buffers
7731
7732static GLboolean _glewInit_GL_MESA_resize_buffers (GLEW_CONTEXT_ARG_DEF_INIT)
7733{
7734 GLboolean r = GL_FALSE;
7735
7736 r = ((glResizeBuffersMESA = (PFNGLRESIZEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glResizeBuffersMESA")) == NULL) || r;
7737
7738 return r;
7739}
7740
7741#endif /* GL_MESA_resize_buffers */
7742
7743#ifdef GL_MESA_window_pos
7744
7745static GLboolean _glewInit_GL_MESA_window_pos (GLEW_CONTEXT_ARG_DEF_INIT)
7746{
7747 GLboolean r = GL_FALSE;
7748
7749 r = ((glWindowPos2dMESA = (PFNGLWINDOWPOS2DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dMESA")) == NULL) || r;
7750 r = ((glWindowPos2dvMESA = (PFNGLWINDOWPOS2DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvMESA")) == NULL) || r;
7751 r = ((glWindowPos2fMESA = (PFNGLWINDOWPOS2FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fMESA")) == NULL) || r;
7752 r = ((glWindowPos2fvMESA = (PFNGLWINDOWPOS2FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvMESA")) == NULL) || r;
7753 r = ((glWindowPos2iMESA = (PFNGLWINDOWPOS2IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iMESA")) == NULL) || r;
7754 r = ((glWindowPos2ivMESA = (PFNGLWINDOWPOS2IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivMESA")) == NULL) || r;
7755 r = ((glWindowPos2sMESA = (PFNGLWINDOWPOS2SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sMESA")) == NULL) || r;
7756 r = ((glWindowPos2svMESA = (PFNGLWINDOWPOS2SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svMESA")) == NULL) || r;
7757 r = ((glWindowPos3dMESA = (PFNGLWINDOWPOS3DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dMESA")) == NULL) || r;
7758 r = ((glWindowPos3dvMESA = (PFNGLWINDOWPOS3DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvMESA")) == NULL) || r;
7759 r = ((glWindowPos3fMESA = (PFNGLWINDOWPOS3FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fMESA")) == NULL) || r;
7760 r = ((glWindowPos3fvMESA = (PFNGLWINDOWPOS3FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvMESA")) == NULL) || r;
7761 r = ((glWindowPos3iMESA = (PFNGLWINDOWPOS3IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iMESA")) == NULL) || r;
7762 r = ((glWindowPos3ivMESA = (PFNGLWINDOWPOS3IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivMESA")) == NULL) || r;
7763 r = ((glWindowPos3sMESA = (PFNGLWINDOWPOS3SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sMESA")) == NULL) || r;
7764 r = ((glWindowPos3svMESA = (PFNGLWINDOWPOS3SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svMESA")) == NULL) || r;
7765 r = ((glWindowPos4dMESA = (PFNGLWINDOWPOS4DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dMESA")) == NULL) || r;
7766 r = ((glWindowPos4dvMESA = (PFNGLWINDOWPOS4DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dvMESA")) == NULL) || r;
7767 r = ((glWindowPos4fMESA = (PFNGLWINDOWPOS4FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fMESA")) == NULL) || r;
7768 r = ((glWindowPos4fvMESA = (PFNGLWINDOWPOS4FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fvMESA")) == NULL) || r;
7769 r = ((glWindowPos4iMESA = (PFNGLWINDOWPOS4IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4iMESA")) == NULL) || r;
7770 r = ((glWindowPos4ivMESA = (PFNGLWINDOWPOS4IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4ivMESA")) == NULL) || r;
7771 r = ((glWindowPos4sMESA = (PFNGLWINDOWPOS4SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4sMESA")) == NULL) || r;
7772 r = ((glWindowPos4svMESA = (PFNGLWINDOWPOS4SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4svMESA")) == NULL) || r;
7773
7774 return r;
7775}
7776
7777#endif /* GL_MESA_window_pos */
7778
7779#ifdef GL_MESA_ycbcr_texture
7780
7781#endif /* GL_MESA_ycbcr_texture */
7782
7783#ifdef GL_NVX_conditional_render
7784
7785static GLboolean _glewInit_GL_NVX_conditional_render (GLEW_CONTEXT_ARG_DEF_INIT)
7786{
7787 GLboolean r = GL_FALSE;
7788
7789 r = ((glBeginConditionalRenderNVX = (PFNGLBEGINCONDITIONALRENDERNVXPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRenderNVX")) == NULL) || r;
7790 r = ((glEndConditionalRenderNVX = (PFNGLENDCONDITIONALRENDERNVXPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRenderNVX")) == NULL) || r;
7791
7792 return r;
7793}
7794
7795#endif /* GL_NVX_conditional_render */
7796
7797#ifdef GL_NVX_gpu_memory_info
7798
7799#endif /* GL_NVX_gpu_memory_info */
7800
7801#ifdef GL_NV_bindless_multi_draw_indirect
7802
7803static GLboolean _glewInit_GL_NV_bindless_multi_draw_indirect (GLEW_CONTEXT_ARG_DEF_INIT)
7804{
7805 GLboolean r = GL_FALSE;
7806
7807 r = ((glMultiDrawArraysIndirectBindlessNV = (PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectBindlessNV")) == NULL) || r;
7808 r = ((glMultiDrawElementsIndirectBindlessNV = (PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectBindlessNV")) == NULL) || r;
7809
7810 return r;
7811}
7812
7813#endif /* GL_NV_bindless_multi_draw_indirect */
7814
7815#ifdef GL_NV_bindless_texture
7816
7817static GLboolean _glewInit_GL_NV_bindless_texture (GLEW_CONTEXT_ARG_DEF_INIT)
7818{
7819 GLboolean r = GL_FALSE;
7820
7821 r = ((glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetImageHandleNV")) == NULL) || r;
7822 r = ((glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureHandleNV")) == NULL) || r;
7823 r = ((glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureSamplerHandleNV")) == NULL) || r;
7824 r = ((glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsImageHandleResidentNV")) == NULL) || r;
7825 r = ((glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsTextureHandleResidentNV")) == NULL) || r;
7826 r = ((glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleNonResidentNV")) == NULL) || r;
7827 r = ((glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleResidentNV")) == NULL) || r;
7828 r = ((glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleNonResidentNV")) == NULL) || r;
7829 r = ((glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleResidentNV")) == NULL) || r;
7830 r = ((glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64NV")) == NULL) || r;
7831 r = ((glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64vNV")) == NULL) || r;
7832 r = ((glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64NV")) == NULL) || r;
7833 r = ((glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64vNV")) == NULL) || r;
7834
7835 return r;
7836}
7837
7838#endif /* GL_NV_bindless_texture */
7839
7840#ifdef GL_NV_blend_equation_advanced
7841
7842static GLboolean _glewInit_GL_NV_blend_equation_advanced (GLEW_CONTEXT_ARG_DEF_INIT)
7843{
7844 GLboolean r = GL_FALSE;
7845
7846 r = ((glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glBlendBarrierNV")) == NULL) || r;
7847 r = ((glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glBlendParameteriNV")) == NULL) || r;
7848
7849 return r;
7850}
7851
7852#endif /* GL_NV_blend_equation_advanced */
7853
7854#ifdef GL_NV_blend_equation_advanced_coherent
7855
7856#endif /* GL_NV_blend_equation_advanced_coherent */
7857
7858#ifdef GL_NV_blend_square
7859
7860#endif /* GL_NV_blend_square */
7861
7862#ifdef GL_NV_compute_program5
7863
7864#endif /* GL_NV_compute_program5 */
7865
7866#ifdef GL_NV_conditional_render
7867
7868static GLboolean _glewInit_GL_NV_conditional_render (GLEW_CONTEXT_ARG_DEF_INIT)
7869{
7870 GLboolean r = GL_FALSE;
7871
7872 r = ((glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRenderNV")) == NULL) || r;
7873 r = ((glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRenderNV")) == NULL) || r;
7874
7875 return r;
7876}
7877
7878#endif /* GL_NV_conditional_render */
7879
7880#ifdef GL_NV_copy_depth_to_color
7881
7882#endif /* GL_NV_copy_depth_to_color */
7883
7884#ifdef GL_NV_copy_image
7885
7886static GLboolean _glewInit_GL_NV_copy_image (GLEW_CONTEXT_ARG_DEF_INIT)
7887{
7888 GLboolean r = GL_FALSE;
7889
7890 r = ((glCopyImageSubDataNV = (PFNGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubDataNV")) == NULL) || r;
7891
7892 return r;
7893}
7894
7895#endif /* GL_NV_copy_image */
7896
7897#ifdef GL_NV_deep_texture3D
7898
7899#endif /* GL_NV_deep_texture3D */
7900
7901#ifdef GL_NV_depth_buffer_float
7902
7903static GLboolean _glewInit_GL_NV_depth_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT)
7904{
7905 GLboolean r = GL_FALSE;
7906
7907 r = ((glClearDepthdNV = (PFNGLCLEARDEPTHDNVPROC)glewGetProcAddress((const GLubyte*)"glClearDepthdNV")) == NULL) || r;
7908 r = ((glDepthBoundsdNV = (PFNGLDEPTHBOUNDSDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsdNV")) == NULL) || r;
7909 r = ((glDepthRangedNV = (PFNGLDEPTHRANGEDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangedNV")) == NULL) || r;
7910
7911 return r;
7912}
7913
7914#endif /* GL_NV_depth_buffer_float */
7915
7916#ifdef GL_NV_depth_clamp
7917
7918#endif /* GL_NV_depth_clamp */
7919
7920#ifdef GL_NV_depth_range_unclamped
7921
7922#endif /* GL_NV_depth_range_unclamped */
7923
7924#ifdef GL_NV_draw_texture
7925
7926static GLboolean _glewInit_GL_NV_draw_texture (GLEW_CONTEXT_ARG_DEF_INIT)
7927{
7928 GLboolean r = GL_FALSE;
7929
7930 r = ((glDrawTextureNV = (PFNGLDRAWTEXTURENVPROC)glewGetProcAddress((const GLubyte*)"glDrawTextureNV")) == NULL) || r;
7931
7932 return r;
7933}
7934
7935#endif /* GL_NV_draw_texture */
7936
7937#ifdef GL_NV_evaluators
7938
7939static GLboolean _glewInit_GL_NV_evaluators (GLEW_CONTEXT_ARG_DEF_INIT)
7940{
7941 GLboolean r = GL_FALSE;
7942
7943 r = ((glEvalMapsNV = (PFNGLEVALMAPSNVPROC)glewGetProcAddress((const GLubyte*)"glEvalMapsNV")) == NULL) || r;
7944 r = ((glGetMapAttribParameterfvNV = (PFNGLGETMAPATTRIBPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterfvNV")) == NULL) || r;
7945 r = ((glGetMapAttribParameterivNV = (PFNGLGETMAPATTRIBPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterivNV")) == NULL) || r;
7946 r = ((glGetMapControlPointsNV = (PFNGLGETMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapControlPointsNV")) == NULL) || r;
7947 r = ((glGetMapParameterfvNV = (PFNGLGETMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterfvNV")) == NULL) || r;
7948 r = ((glGetMapParameterivNV = (PFNGLGETMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterivNV")) == NULL) || r;
7949 r = ((glMapControlPointsNV = (PFNGLMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glMapControlPointsNV")) == NULL) || r;
7950 r = ((glMapParameterfvNV = (PFNGLMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterfvNV")) == NULL) || r;
7951 r = ((glMapParameterivNV = (PFNGLMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterivNV")) == NULL) || r;
7952
7953 return r;
7954}
7955
7956#endif /* GL_NV_evaluators */
7957
7958#ifdef GL_NV_explicit_multisample
7959
7960static GLboolean _glewInit_GL_NV_explicit_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
7961{
7962 GLboolean r = GL_FALSE;
7963
7964 r = ((glGetMultisamplefvNV = (PFNGLGETMULTISAMPLEFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefvNV")) == NULL) || r;
7965 r = ((glSampleMaskIndexedNV = (PFNGLSAMPLEMASKINDEXEDNVPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskIndexedNV")) == NULL) || r;
7966 r = ((glTexRenderbufferNV = (PFNGLTEXRENDERBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glTexRenderbufferNV")) == NULL) || r;
7967
7968 return r;
7969}
7970
7971#endif /* GL_NV_explicit_multisample */
7972
7973#ifdef GL_NV_fence
7974
7975static GLboolean _glewInit_GL_NV_fence (GLEW_CONTEXT_ARG_DEF_INIT)
7976{
7977 GLboolean r = GL_FALSE;
7978
7979 r = ((glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesNV")) == NULL) || r;
7980 r = ((glFinishFenceNV = (PFNGLFINISHFENCENVPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceNV")) == NULL) || r;
7981 r = ((glGenFencesNV = (PFNGLGENFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glGenFencesNV")) == NULL) || r;
7982 r = ((glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFenceivNV")) == NULL) || r;
7983 r = ((glIsFenceNV = (PFNGLISFENCENVPROC)glewGetProcAddress((const GLubyte*)"glIsFenceNV")) == NULL) || r;
7984 r = ((glSetFenceNV = (PFNGLSETFENCENVPROC)glewGetProcAddress((const GLubyte*)"glSetFenceNV")) == NULL) || r;
7985 r = ((glTestFenceNV = (PFNGLTESTFENCENVPROC)glewGetProcAddress((const GLubyte*)"glTestFenceNV")) == NULL) || r;
7986
7987 return r;
7988}
7989
7990#endif /* GL_NV_fence */
7991
7992#ifdef GL_NV_float_buffer
7993
7994#endif /* GL_NV_float_buffer */
7995
7996#ifdef GL_NV_fog_distance
7997
7998#endif /* GL_NV_fog_distance */
7999
8000#ifdef GL_NV_fragment_program
8001
8002static GLboolean _glewInit_GL_NV_fragment_program (GLEW_CONTEXT_ARG_DEF_INIT)
8003{
8004 GLboolean r = GL_FALSE;
8005
8006 r = ((glGetProgramNamedParameterdvNV = (PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterdvNV")) == NULL) || r;
8007 r = ((glGetProgramNamedParameterfvNV = (PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterfvNV")) == NULL) || r;
8008 r = ((glProgramNamedParameter4dNV = (PFNGLPROGRAMNAMEDPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dNV")) == NULL) || r;
8009 r = ((glProgramNamedParameter4dvNV = (PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dvNV")) == NULL) || r;
8010 r = ((glProgramNamedParameter4fNV = (PFNGLPROGRAMNAMEDPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fNV")) == NULL) || r;
8011 r = ((glProgramNamedParameter4fvNV = (PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fvNV")) == NULL) || r;
8012
8013 return r;
8014}
8015
8016#endif /* GL_NV_fragment_program */
8017
8018#ifdef GL_NV_fragment_program2
8019
8020#endif /* GL_NV_fragment_program2 */
8021
8022#ifdef GL_NV_fragment_program4
8023
8024#endif /* GL_NV_fragment_program4 */
8025
8026#ifdef GL_NV_fragment_program_option
8027
8028#endif /* GL_NV_fragment_program_option */
8029
8030#ifdef GL_NV_framebuffer_multisample_coverage
8031
8032static GLboolean _glewInit_GL_NV_framebuffer_multisample_coverage (GLEW_CONTEXT_ARG_DEF_INIT)
8033{
8034 GLboolean r = GL_FALSE;
8035
8036 r = ((glRenderbufferStorageMultisampleCoverageNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleCoverageNV")) == NULL) || r;
8037
8038 return r;
8039}
8040
8041#endif /* GL_NV_framebuffer_multisample_coverage */
8042
8043#ifdef GL_NV_geometry_program4
8044
8045static GLboolean _glewInit_GL_NV_geometry_program4 (GLEW_CONTEXT_ARG_DEF_INIT)
8046{
8047 GLboolean r = GL_FALSE;
8048
8049 r = ((glProgramVertexLimitNV = (PFNGLPROGRAMVERTEXLIMITNVPROC)glewGetProcAddress((const GLubyte*)"glProgramVertexLimitNV")) == NULL) || r;
8050
8051 return r;
8052}
8053
8054#endif /* GL_NV_geometry_program4 */
8055
8056#ifdef GL_NV_geometry_shader4
8057
8058#endif /* GL_NV_geometry_shader4 */
8059
8060#ifdef GL_NV_gpu_program4
8061
8062static GLboolean _glewInit_GL_NV_gpu_program4 (GLEW_CONTEXT_ARG_DEF_INIT)
8063{
8064 GLboolean r = GL_FALSE;
8065
8066 r = ((glProgramEnvParameterI4iNV = (PFNGLPROGRAMENVPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4iNV")) == NULL) || r;
8067 r = ((glProgramEnvParameterI4ivNV = (PFNGLPROGRAMENVPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4ivNV")) == NULL) || r;
8068 r = ((glProgramEnvParameterI4uiNV = (PFNGLPROGRAMENVPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uiNV")) == NULL) || r;
8069 r = ((glProgramEnvParameterI4uivNV = (PFNGLPROGRAMENVPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uivNV")) == NULL) || r;
8070 r = ((glProgramEnvParametersI4ivNV = (PFNGLPROGRAMENVPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4ivNV")) == NULL) || r;
8071 r = ((glProgramEnvParametersI4uivNV = (PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4uivNV")) == NULL) || r;
8072 r = ((glProgramLocalParameterI4iNV = (PFNGLPROGRAMLOCALPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4iNV")) == NULL) || r;
8073 r = ((glProgramLocalParameterI4ivNV = (PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4ivNV")) == NULL) || r;
8074 r = ((glProgramLocalParameterI4uiNV = (PFNGLPROGRAMLOCALPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uiNV")) == NULL) || r;
8075 r = ((glProgramLocalParameterI4uivNV = (PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uivNV")) == NULL) || r;
8076 r = ((glProgramLocalParametersI4ivNV = (PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4ivNV")) == NULL) || r;
8077 r = ((glProgramLocalParametersI4uivNV = (PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4uivNV")) == NULL) || r;
8078
8079 return r;
8080}
8081
8082#endif /* GL_NV_gpu_program4 */
8083
8084#ifdef GL_NV_gpu_program5
8085
8086#endif /* GL_NV_gpu_program5 */
8087
8088#ifdef GL_NV_gpu_program5_mem_extended
8089
8090#endif /* GL_NV_gpu_program5_mem_extended */
8091
8092#ifdef GL_NV_gpu_program_fp64
8093
8094#endif /* GL_NV_gpu_program_fp64 */
8095
8096#ifdef GL_NV_gpu_shader5
8097
8098static GLboolean _glewInit_GL_NV_gpu_shader5 (GLEW_CONTEXT_ARG_DEF_INIT)
8099{
8100 GLboolean r = GL_FALSE;
8101
8102 r = ((glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformi64vNV")) == NULL) || r;
8103 r = ((glGetUniformui64vNV = (PFNGLGETUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformui64vNV")) == NULL) || r;
8104 r = ((glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64NV")) == NULL) || r;
8105 r = ((glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64vNV")) == NULL) || r;
8106 r = ((glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64NV")) == NULL) || r;
8107 r = ((glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64vNV")) == NULL) || r;
8108 r = ((glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64NV")) == NULL) || r;
8109 r = ((glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64vNV")) == NULL) || r;
8110 r = ((glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64NV")) == NULL) || r;
8111 r = ((glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64vNV")) == NULL) || r;
8112 r = ((glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64NV")) == NULL) || r;
8113 r = ((glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64vNV")) == NULL) || r;
8114 r = ((glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64NV")) == NULL) || r;
8115 r = ((glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64vNV")) == NULL) || r;
8116 r = ((glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64NV")) == NULL) || r;
8117 r = ((glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64vNV")) == NULL) || r;
8118 r = ((glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64NV")) == NULL) || r;
8119 r = ((glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64vNV")) == NULL) || r;
8120 r = ((glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64NV")) == NULL) || r;
8121 r = ((glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64vNV")) == NULL) || r;
8122 r = ((glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64NV")) == NULL) || r;
8123 r = ((glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64vNV")) == NULL) || r;
8124 r = ((glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64NV")) == NULL) || r;
8125 r = ((glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64vNV")) == NULL) || r;
8126 r = ((glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64NV")) == NULL) || r;
8127 r = ((glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64vNV")) == NULL) || r;
8128 r = ((glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64NV")) == NULL) || r;
8129 r = ((glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64vNV")) == NULL) || r;
8130 r = ((glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64NV")) == NULL) || r;
8131 r = ((glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64vNV")) == NULL) || r;
8132 r = ((glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64NV")) == NULL) || r;
8133 r = ((glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64vNV")) == NULL) || r;
8134 r = ((glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64NV")) == NULL) || r;
8135 r = ((glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64vNV")) == NULL) || r;
8136
8137 return r;
8138}
8139
8140#endif /* GL_NV_gpu_shader5 */
8141
8142#ifdef GL_NV_half_float
8143
8144static GLboolean _glewInit_GL_NV_half_float (GLEW_CONTEXT_ARG_DEF_INIT)
8145{
8146 GLboolean r = GL_FALSE;
8147
8148 r = ((glColor3hNV = (PFNGLCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hNV")) == NULL) || r;
8149 r = ((glColor3hvNV = (PFNGLCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hvNV")) == NULL) || r;
8150 r = ((glColor4hNV = (PFNGLCOLOR4HNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hNV")) == NULL) || r;
8151 r = ((glColor4hvNV = (PFNGLCOLOR4HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hvNV")) == NULL) || r;
8152 r = ((glFogCoordhNV = (PFNGLFOGCOORDHNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhNV")) == NULL) || r;
8153 r = ((glFogCoordhvNV = (PFNGLFOGCOORDHVNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhvNV")) == NULL) || r;
8154 r = ((glMultiTexCoord1hNV = (PFNGLMULTITEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hNV")) == NULL) || r;
8155 r = ((glMultiTexCoord1hvNV = (PFNGLMULTITEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hvNV")) == NULL) || r;
8156 r = ((glMultiTexCoord2hNV = (PFNGLMULTITEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hNV")) == NULL) || r;
8157 r = ((glMultiTexCoord2hvNV = (PFNGLMULTITEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hvNV")) == NULL) || r;
8158 r = ((glMultiTexCoord3hNV = (PFNGLMULTITEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hNV")) == NULL) || r;
8159 r = ((glMultiTexCoord3hvNV = (PFNGLMULTITEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hvNV")) == NULL) || r;
8160 r = ((glMultiTexCoord4hNV = (PFNGLMULTITEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hNV")) == NULL) || r;
8161 r = ((glMultiTexCoord4hvNV = (PFNGLMULTITEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hvNV")) == NULL) || r;
8162 r = ((glNormal3hNV = (PFNGLNORMAL3HNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hNV")) == NULL) || r;
8163 r = ((glNormal3hvNV = (PFNGLNORMAL3HVNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hvNV")) == NULL) || r;
8164 r = ((glSecondaryColor3hNV = (PFNGLSECONDARYCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hNV")) == NULL) || r;
8165 r = ((glSecondaryColor3hvNV = (PFNGLSECONDARYCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hvNV")) == NULL) || r;
8166 r = ((glTexCoord1hNV = (PFNGLTEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hNV")) == NULL) || r;
8167 r = ((glTexCoord1hvNV = (PFNGLTEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hvNV")) == NULL) || r;
8168 r = ((glTexCoord2hNV = (PFNGLTEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hNV")) == NULL) || r;
8169 r = ((glTexCoord2hvNV = (PFNGLTEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hvNV")) == NULL) || r;
8170 r = ((glTexCoord3hNV = (PFNGLTEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hNV")) == NULL) || r;
8171 r = ((glTexCoord3hvNV = (PFNGLTEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hvNV")) == NULL) || r;
8172 r = ((glTexCoord4hNV = (PFNGLTEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hNV")) == NULL) || r;
8173 r = ((glTexCoord4hvNV = (PFNGLTEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hvNV")) == NULL) || r;
8174 r = ((glVertex2hNV = (PFNGLVERTEX2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hNV")) == NULL) || r;
8175 r = ((glVertex2hvNV = (PFNGLVERTEX2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hvNV")) == NULL) || r;
8176 r = ((glVertex3hNV = (PFNGLVERTEX3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hNV")) == NULL) || r;
8177 r = ((glVertex3hvNV = (PFNGLVERTEX3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hvNV")) == NULL) || r;
8178 r = ((glVertex4hNV = (PFNGLVERTEX4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hNV")) == NULL) || r;
8179 r = ((glVertex4hvNV = (PFNGLVERTEX4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hvNV")) == NULL) || r;
8180 r = ((glVertexAttrib1hNV = (PFNGLVERTEXATTRIB1HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hNV")) == NULL) || r;
8181 r = ((glVertexAttrib1hvNV = (PFNGLVERTEXATTRIB1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hvNV")) == NULL) || r;
8182 r = ((glVertexAttrib2hNV = (PFNGLVERTEXATTRIB2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hNV")) == NULL) || r;
8183 r = ((glVertexAttrib2hvNV = (PFNGLVERTEXATTRIB2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hvNV")) == NULL) || r;
8184 r = ((glVertexAttrib3hNV = (PFNGLVERTEXATTRIB3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hNV")) == NULL) || r;
8185 r = ((glVertexAttrib3hvNV = (PFNGLVERTEXATTRIB3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hvNV")) == NULL) || r;
8186 r = ((glVertexAttrib4hNV = (PFNGLVERTEXATTRIB4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hNV")) == NULL) || r;
8187 r = ((glVertexAttrib4hvNV = (PFNGLVERTEXATTRIB4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hvNV")) == NULL) || r;
8188 r = ((glVertexAttribs1hvNV = (PFNGLVERTEXATTRIBS1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1hvNV")) == NULL) || r;
8189 r = ((glVertexAttribs2hvNV = (PFNGLVERTEXATTRIBS2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2hvNV")) == NULL) || r;
8190 r = ((glVertexAttribs3hvNV = (PFNGLVERTEXATTRIBS3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3hvNV")) == NULL) || r;
8191 r = ((glVertexAttribs4hvNV = (PFNGLVERTEXATTRIBS4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4hvNV")) == NULL) || r;
8192 r = ((glVertexWeighthNV = (PFNGLVERTEXWEIGHTHNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthNV")) == NULL) || r;
8193 r = ((glVertexWeighthvNV = (PFNGLVERTEXWEIGHTHVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthvNV")) == NULL) || r;
8194
8195 return r;
8196}
8197
8198#endif /* GL_NV_half_float */
8199
8200#ifdef GL_NV_light_max_exponent
8201
8202#endif /* GL_NV_light_max_exponent */
8203
8204#ifdef GL_NV_multisample_coverage
8205
8206#endif /* GL_NV_multisample_coverage */
8207
8208#ifdef GL_NV_multisample_filter_hint
8209
8210#endif /* GL_NV_multisample_filter_hint */
8211
8212#ifdef GL_NV_occlusion_query
8213
8214static GLboolean _glewInit_GL_NV_occlusion_query (GLEW_CONTEXT_ARG_DEF_INIT)
8215{
8216 GLboolean r = GL_FALSE;
8217
8218 r = ((glBeginOcclusionQueryNV = (PFNGLBEGINOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glBeginOcclusionQueryNV")) == NULL) || r;
8219 r = ((glDeleteOcclusionQueriesNV = (PFNGLDELETEOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteOcclusionQueriesNV")) == NULL) || r;
8220 r = ((glEndOcclusionQueryNV = (PFNGLENDOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glEndOcclusionQueryNV")) == NULL) || r;
8221 r = ((glGenOcclusionQueriesNV = (PFNGLGENOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glGenOcclusionQueriesNV")) == NULL) || r;
8222 r = ((glGetOcclusionQueryivNV = (PFNGLGETOCCLUSIONQUERYIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryivNV")) == NULL) || r;
8223 r = ((glGetOcclusionQueryuivNV = (PFNGLGETOCCLUSIONQUERYUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryuivNV")) == NULL) || r;
8224 r = ((glIsOcclusionQueryNV = (PFNGLISOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glIsOcclusionQueryNV")) == NULL) || r;
8225
8226 return r;
8227}
8228
8229#endif /* GL_NV_occlusion_query */
8230
8231#ifdef GL_NV_packed_depth_stencil
8232
8233#endif /* GL_NV_packed_depth_stencil */
8234
8235#ifdef GL_NV_parameter_buffer_object
8236
8237static GLboolean _glewInit_GL_NV_parameter_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT)
8238{
8239 GLboolean r = GL_FALSE;
8240
8241 r = ((glProgramBufferParametersIivNV = (PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIivNV")) == NULL) || r;
8242 r = ((glProgramBufferParametersIuivNV = (PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIuivNV")) == NULL) || r;
8243 r = ((glProgramBufferParametersfvNV = (PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersfvNV")) == NULL) || r;
8244
8245 return r;
8246}
8247
8248#endif /* GL_NV_parameter_buffer_object */
8249
8250#ifdef GL_NV_parameter_buffer_object2
8251
8252#endif /* GL_NV_parameter_buffer_object2 */
8253
8254#ifdef GL_NV_path_rendering
8255
8256static GLboolean _glewInit_GL_NV_path_rendering (GLEW_CONTEXT_ARG_DEF_INIT)
8257{
8258 GLboolean r = GL_FALSE;
8259
8260 r = ((glCopyPathNV = (PFNGLCOPYPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCopyPathNV")) == NULL) || r;
8261 r = ((glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glCoverFillPathInstancedNV")) == NULL) || r;
8262 r = ((glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCoverFillPathNV")) == NULL) || r;
8263 r = ((glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glCoverStrokePathInstancedNV")) == NULL) || r;
8264 r = ((glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCoverStrokePathNV")) == NULL) || r;
8265 r = ((glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glDeletePathsNV")) == NULL) || r;
8266 r = ((glGenPathsNV = (PFNGLGENPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glGenPathsNV")) == NULL) || r;
8267 r = ((glGetPathColorGenfvNV = (PFNGLGETPATHCOLORGENFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathColorGenfvNV")) == NULL) || r;
8268 r = ((glGetPathColorGenivNV = (PFNGLGETPATHCOLORGENIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathColorGenivNV")) == NULL) || r;
8269 r = ((glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathCommandsNV")) == NULL) || r;
8270 r = ((glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathCoordsNV")) == NULL) || r;
8271 r = ((glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathDashArrayNV")) == NULL) || r;
8272 r = ((glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathLengthNV")) == NULL) || r;
8273 r = ((glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)glewGetProcAddress((const GLubyte*)"glGetPathMetricRangeNV")) == NULL) || r;
8274 r = ((glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathMetricsNV")) == NULL) || r;
8275 r = ((glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathParameterfvNV")) == NULL) || r;
8276 r = ((glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathParameterivNV")) == NULL) || r;
8277 r = ((glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathSpacingNV")) == NULL) || r;
8278 r = ((glGetPathTexGenfvNV = (PFNGLGETPATHTEXGENFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathTexGenfvNV")) == NULL) || r;
8279 r = ((glGetPathTexGenivNV = (PFNGLGETPATHTEXGENIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathTexGenivNV")) == NULL) || r;
8280 r = ((glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glInterpolatePathsNV")) == NULL) || r;
8281 r = ((glIsPathNV = (PFNGLISPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPathNV")) == NULL) || r;
8282 r = ((glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPointInFillPathNV")) == NULL) || r;
8283 r = ((glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPointInStrokePathNV")) == NULL) || r;
8284 r = ((glPathColorGenNV = (PFNGLPATHCOLORGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathColorGenNV")) == NULL) || r;
8285 r = ((glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathCommandsNV")) == NULL) || r;
8286 r = ((glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathCoordsNV")) == NULL) || r;
8287 r = ((glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)glewGetProcAddress((const GLubyte*)"glPathCoverDepthFuncNV")) == NULL) || r;
8288 r = ((glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glPathDashArrayNV")) == NULL) || r;
8289 r = ((glPathFogGenNV = (PFNGLPATHFOGGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathFogGenNV")) == NULL) || r;
8290 r = ((glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphRangeNV")) == NULL) || r;
8291 r = ((glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphsNV")) == NULL) || r;
8292 r = ((glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterfNV")) == NULL) || r;
8293 r = ((glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterfvNV")) == NULL) || r;
8294 r = ((glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPathParameteriNV")) == NULL) || r;
8295 r = ((glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterivNV")) == NULL) || r;
8296 r = ((glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)glewGetProcAddress((const GLubyte*)"glPathStencilDepthOffsetNV")) == NULL) || r;
8297 r = ((glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)glewGetProcAddress((const GLubyte*)"glPathStencilFuncNV")) == NULL) || r;
8298 r = ((glPathStringNV = (PFNGLPATHSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glPathStringNV")) == NULL) || r;
8299 r = ((glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathSubCommandsNV")) == NULL) || r;
8300 r = ((glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathSubCoordsNV")) == NULL) || r;
8301 r = ((glPathTexGenNV = (PFNGLPATHTEXGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathTexGenNV")) == NULL) || r;
8302 r = ((glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)glewGetProcAddress((const GLubyte*)"glPointAlongPathNV")) == NULL) || r;
8303 r = ((glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilFillPathInstancedNV")) == NULL) || r;
8304 r = ((glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilFillPathNV")) == NULL) || r;
8305 r = ((glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilStrokePathInstancedNV")) == NULL) || r;
8306 r = ((glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilStrokePathNV")) == NULL) || r;
8307 r = ((glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)glewGetProcAddress((const GLubyte*)"glTransformPathNV")) == NULL) || r;
8308 r = ((glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glWeightPathsNV")) == NULL) || r;
8309
8310 return r;
8311}
8312
8313#endif /* GL_NV_path_rendering */
8314
8315#ifdef GL_NV_pixel_data_range
8316
8317static GLboolean _glewInit_GL_NV_pixel_data_range (GLEW_CONTEXT_ARG_DEF_INIT)
8318{
8319 GLboolean r = GL_FALSE;
8320
8321 r = ((glFlushPixelDataRangeNV = (PFNGLFLUSHPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushPixelDataRangeNV")) == NULL) || r;
8322 r = ((glPixelDataRangeNV = (PFNGLPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glPixelDataRangeNV")) == NULL) || r;
8323
8324 return r;
8325}
8326
8327#endif /* GL_NV_pixel_data_range */
8328
8329#ifdef GL_NV_point_sprite
8330
8331static GLboolean _glewInit_GL_NV_point_sprite (GLEW_CONTEXT_ARG_DEF_INIT)
8332{
8333 GLboolean r = GL_FALSE;
8334
8335 r = ((glPointParameteriNV = (PFNGLPOINTPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriNV")) == NULL) || r;
8336 r = ((glPointParameterivNV = (PFNGLPOINTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterivNV")) == NULL) || r;
8337
8338 return r;
8339}
8340
8341#endif /* GL_NV_point_sprite */
8342
8343#ifdef GL_NV_present_video
8344
8345static GLboolean _glewInit_GL_NV_present_video (GLEW_CONTEXT_ARG_DEF_INIT)
8346{
8347 GLboolean r = GL_FALSE;
8348
8349 r = ((glGetVideoi64vNV = (PFNGLGETVIDEOI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoi64vNV")) == NULL) || r;
8350 r = ((glGetVideoivNV = (PFNGLGETVIDEOIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoivNV")) == NULL) || r;
8351 r = ((glGetVideoui64vNV = (PFNGLGETVIDEOUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoui64vNV")) == NULL) || r;
8352 r = ((glGetVideouivNV = (PFNGLGETVIDEOUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideouivNV")) == NULL) || r;
8353 r = ((glPresentFrameDualFillNV = (PFNGLPRESENTFRAMEDUALFILLNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameDualFillNV")) == NULL) || r;
8354 r = ((glPresentFrameKeyedNV = (PFNGLPRESENTFRAMEKEYEDNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameKeyedNV")) == NULL) || r;
8355
8356 return r;
8357}
8358
8359#endif /* GL_NV_present_video */
8360
8361#ifdef GL_NV_primitive_restart
8362
8363static GLboolean _glewInit_GL_NV_primitive_restart (GLEW_CONTEXT_ARG_DEF_INIT)
8364{
8365 GLboolean r = GL_FALSE;
8366
8367 r = ((glPrimitiveRestartIndexNV = (PFNGLPRIMITIVERESTARTINDEXNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndexNV")) == NULL) || r;
8368 r = ((glPrimitiveRestartNV = (PFNGLPRIMITIVERESTARTNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartNV")) == NULL) || r;
8369
8370 return r;
8371}
8372
8373#endif /* GL_NV_primitive_restart */
8374
8375#ifdef GL_NV_register_combiners
8376
8377static GLboolean _glewInit_GL_NV_register_combiners (GLEW_CONTEXT_ARG_DEF_INIT)
8378{
8379 GLboolean r = GL_FALSE;
8380
8381 r = ((glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerInputNV")) == NULL) || r;
8382 r = ((glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerOutputNV")) == NULL) || r;
8383 r = ((glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfNV")) == NULL) || r;
8384 r = ((glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfvNV")) == NULL) || r;
8385 r = ((glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameteriNV")) == NULL) || r;
8386 r = ((glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterivNV")) == NULL) || r;
8387 r = ((glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glFinalCombinerInputNV")) == NULL) || r;
8388 r = ((glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterfvNV")) == NULL) || r;
8389 r = ((glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterivNV")) == NULL) || r;
8390 r = ((glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterfvNV")) == NULL) || r;
8391 r = ((glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterivNV")) == NULL) || r;
8392 r = ((glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterfvNV")) == NULL) || r;
8393 r = ((glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterivNV")) == NULL) || r;
8394
8395 return r;
8396}
8397
8398#endif /* GL_NV_register_combiners */
8399
8400#ifdef GL_NV_register_combiners2
8401
8402static GLboolean _glewInit_GL_NV_register_combiners2 (GLEW_CONTEXT_ARG_DEF_INIT)
8403{
8404 GLboolean r = GL_FALSE;
8405
8406 r = ((glCombinerStageParameterfvNV = (PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerStageParameterfvNV")) == NULL) || r;
8407 r = ((glGetCombinerStageParameterfvNV = (PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerStageParameterfvNV")) == NULL) || r;
8408
8409 return r;
8410}
8411
8412#endif /* GL_NV_register_combiners2 */
8413
8414#ifdef GL_NV_shader_atomic_counters
8415
8416#endif /* GL_NV_shader_atomic_counters */
8417
8418#ifdef GL_NV_shader_atomic_float
8419
8420#endif /* GL_NV_shader_atomic_float */
8421
8422#ifdef GL_NV_shader_buffer_load
8423
8424static GLboolean _glewInit_GL_NV_shader_buffer_load (GLEW_CONTEXT_ARG_DEF_INIT)
8425{
8426 GLboolean r = GL_FALSE;
8427
8428 r = ((glGetBufferParameterui64vNV = (PFNGLGETBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterui64vNV")) == NULL) || r;
8429 r = ((glGetIntegerui64vNV = (PFNGLGETINTEGERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64vNV")) == NULL) || r;
8430 r = ((glGetNamedBufferParameterui64vNV = (PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterui64vNV")) == NULL) || r;
8431 r = ((glIsBufferResidentNV = (PFNGLISBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsBufferResidentNV")) == NULL) || r;
8432 r = ((glIsNamedBufferResidentNV = (PFNGLISNAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsNamedBufferResidentNV")) == NULL) || r;
8433 r = ((glMakeBufferNonResidentNV = (PFNGLMAKEBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferNonResidentNV")) == NULL) || r;
8434 r = ((glMakeBufferResidentNV = (PFNGLMAKEBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferResidentNV")) == NULL) || r;
8435 r = ((glMakeNamedBufferNonResidentNV = (PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferNonResidentNV")) == NULL) || r;
8436 r = ((glMakeNamedBufferResidentNV = (PFNGLMAKENAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferResidentNV")) == NULL) || r;
8437 r = ((glProgramUniformui64NV = (PFNGLPROGRAMUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64NV")) == NULL) || r;
8438 r = ((glProgramUniformui64vNV = (PFNGLPROGRAMUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64vNV")) == NULL) || r;
8439 r = ((glUniformui64NV = (PFNGLUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64NV")) == NULL) || r;
8440 r = ((glUniformui64vNV = (PFNGLUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64vNV")) == NULL) || r;
8441
8442 return r;
8443}
8444
8445#endif /* GL_NV_shader_buffer_load */
8446
8447#ifdef GL_NV_shader_storage_buffer_object
8448
8449#endif /* GL_NV_shader_storage_buffer_object */
8450
8451#ifdef GL_NV_tessellation_program5
8452
8453#endif /* GL_NV_tessellation_program5 */
8454
8455#ifdef GL_NV_texgen_emboss
8456
8457#endif /* GL_NV_texgen_emboss */
8458
8459#ifdef GL_NV_texgen_reflection
8460
8461#endif /* GL_NV_texgen_reflection */
8462
8463#ifdef GL_NV_texture_barrier
8464
8465static GLboolean _glewInit_GL_NV_texture_barrier (GLEW_CONTEXT_ARG_DEF_INIT)
8466{
8467 GLboolean r = GL_FALSE;
8468
8469 r = ((glTextureBarrierNV = (PFNGLTEXTUREBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glTextureBarrierNV")) == NULL) || r;
8470
8471 return r;
8472}
8473
8474#endif /* GL_NV_texture_barrier */
8475
8476#ifdef GL_NV_texture_compression_vtc
8477
8478#endif /* GL_NV_texture_compression_vtc */
8479
8480#ifdef GL_NV_texture_env_combine4
8481
8482#endif /* GL_NV_texture_env_combine4 */
8483
8484#ifdef GL_NV_texture_expand_normal
8485
8486#endif /* GL_NV_texture_expand_normal */
8487
8488#ifdef GL_NV_texture_multisample
8489
8490static GLboolean _glewInit_GL_NV_texture_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
8491{
8492 GLboolean r = GL_FALSE;
8493
8494 r = ((glTexImage2DMultisampleCoverageNV = (PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisampleCoverageNV")) == NULL) || r;
8495 r = ((glTexImage3DMultisampleCoverageNV = (PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisampleCoverageNV")) == NULL) || r;
8496 r = ((glTextureImage2DMultisampleCoverageNV = (PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DMultisampleCoverageNV")) == NULL) || r;
8497 r = ((glTextureImage2DMultisampleNV = (PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DMultisampleNV")) == NULL) || r;
8498 r = ((glTextureImage3DMultisampleCoverageNV = (PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DMultisampleCoverageNV")) == NULL) || r;
8499 r = ((glTextureImage3DMultisampleNV = (PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DMultisampleNV")) == NULL) || r;
8500
8501 return r;
8502}
8503
8504#endif /* GL_NV_texture_multisample */
8505
8506#ifdef GL_NV_texture_rectangle
8507
8508#endif /* GL_NV_texture_rectangle */
8509
8510#ifdef GL_NV_texture_shader
8511
8512#endif /* GL_NV_texture_shader */
8513
8514#ifdef GL_NV_texture_shader2
8515
8516#endif /* GL_NV_texture_shader2 */
8517
8518#ifdef GL_NV_texture_shader3
8519
8520#endif /* GL_NV_texture_shader3 */
8521
8522#ifdef GL_NV_transform_feedback
8523
8524static GLboolean _glewInit_GL_NV_transform_feedback (GLEW_CONTEXT_ARG_DEF_INIT)
8525{
8526 GLboolean r = GL_FALSE;
8527
8528 r = ((glActiveVaryingNV = (PFNGLACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glActiveVaryingNV")) == NULL) || r;
8529 r = ((glBeginTransformFeedbackNV = (PFNGLBEGINTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackNV")) == NULL) || r;
8530 r = ((glBindBufferBaseNV = (PFNGLBINDBUFFERBASENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseNV")) == NULL) || r;
8531 r = ((glBindBufferOffsetNV = (PFNGLBINDBUFFEROFFSETNVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetNV")) == NULL) || r;
8532 r = ((glBindBufferRangeNV = (PFNGLBINDBUFFERRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeNV")) == NULL) || r;
8533 r = ((glEndTransformFeedbackNV = (PFNGLENDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackNV")) == NULL) || r;
8534 r = ((glGetActiveVaryingNV = (PFNGLGETACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveVaryingNV")) == NULL) || r;
8535 r = ((glGetTransformFeedbackVaryingNV = (PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingNV")) == NULL) || r;
8536 r = ((glGetVaryingLocationNV = (PFNGLGETVARYINGLOCATIONNVPROC)glewGetProcAddress((const GLubyte*)"glGetVaryingLocationNV")) == NULL) || r;
8537 r = ((glTransformFeedbackAttribsNV = (PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackAttribsNV")) == NULL) || r;
8538 r = ((glTransformFeedbackVaryingsNV = (PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsNV")) == NULL) || r;
8539
8540 return r;
8541}
8542
8543#endif /* GL_NV_transform_feedback */
8544
8545#ifdef GL_NV_transform_feedback2
8546
8547static GLboolean _glewInit_GL_NV_transform_feedback2 (GLEW_CONTEXT_ARG_DEF_INIT)
8548{
8549 GLboolean r = GL_FALSE;
8550
8551 r = ((glBindTransformFeedbackNV = (PFNGLBINDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedbackNV")) == NULL) || r;
8552 r = ((glDeleteTransformFeedbacksNV = (PFNGLDELETETRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacksNV")) == NULL) || r;
8553 r = ((glDrawTransformFeedbackNV = (PFNGLDRAWTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackNV")) == NULL) || r;
8554 r = ((glGenTransformFeedbacksNV = (PFNGLGENTRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacksNV")) == NULL) || r;
8555 r = ((glIsTransformFeedbackNV = (PFNGLISTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedbackNV")) == NULL) || r;
8556 r = ((glPauseTransformFeedbackNV = (PFNGLPAUSETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedbackNV")) == NULL) || r;
8557 r = ((glResumeTransformFeedbackNV = (PFNGLRESUMETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedbackNV")) == NULL) || r;
8558
8559 return r;
8560}
8561
8562#endif /* GL_NV_transform_feedback2 */
8563
8564#ifdef GL_NV_vdpau_interop
8565
8566static GLboolean _glewInit_GL_NV_vdpau_interop (GLEW_CONTEXT_ARG_DEF_INIT)
8567{
8568 GLboolean r = GL_FALSE;
8569
8570 r = ((glVDPAUFiniNV = (PFNGLVDPAUFININVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUFiniNV")) == NULL) || r;
8571 r = ((glVDPAUGetSurfaceivNV = (PFNGLVDPAUGETSURFACEIVNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUGetSurfaceivNV")) == NULL) || r;
8572 r = ((glVDPAUInitNV = (PFNGLVDPAUINITNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUInitNV")) == NULL) || r;
8573 r = ((glVDPAUIsSurfaceNV = (PFNGLVDPAUISSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUIsSurfaceNV")) == NULL) || r;
8574 r = ((glVDPAUMapSurfacesNV = (PFNGLVDPAUMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUMapSurfacesNV")) == NULL) || r;
8575 r = ((glVDPAURegisterOutputSurfaceNV = (PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterOutputSurfaceNV")) == NULL) || r;
8576 r = ((glVDPAURegisterVideoSurfaceNV = (PFNGLVDPAUREGISTERVIDEOSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterVideoSurfaceNV")) == NULL) || r;
8577 r = ((glVDPAUSurfaceAccessNV = (PFNGLVDPAUSURFACEACCESSNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUSurfaceAccessNV")) == NULL) || r;
8578 r = ((glVDPAUUnmapSurfacesNV = (PFNGLVDPAUUNMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnmapSurfacesNV")) == NULL) || r;
8579 r = ((glVDPAUUnregisterSurfaceNV = (PFNGLVDPAUUNREGISTERSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnregisterSurfaceNV")) == NULL) || r;
8580
8581 return r;
8582}
8583
8584#endif /* GL_NV_vdpau_interop */
8585
8586#ifdef GL_NV_vertex_array_range
8587
8588static GLboolean _glewInit_GL_NV_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT)
8589{
8590 GLboolean r = GL_FALSE;
8591
8592 r = ((glFlushVertexArrayRangeNV = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeNV")) == NULL) || r;
8593 r = ((glVertexArrayRangeNV = (PFNGLVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeNV")) == NULL) || r;
8594
8595 return r;
8596}
8597
8598#endif /* GL_NV_vertex_array_range */
8599
8600#ifdef GL_NV_vertex_array_range2
8601
8602#endif /* GL_NV_vertex_array_range2 */
8603
8604#ifdef GL_NV_vertex_attrib_integer_64bit
8605
8606static GLboolean _glewInit_GL_NV_vertex_attrib_integer_64bit (GLEW_CONTEXT_ARG_DEF_INIT)
8607{
8608 GLboolean r = GL_FALSE;
8609
8610 r = ((glGetVertexAttribLi64vNV = (PFNGLGETVERTEXATTRIBLI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLi64vNV")) == NULL) || r;
8611 r = ((glGetVertexAttribLui64vNV = (PFNGLGETVERTEXATTRIBLUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLui64vNV")) == NULL) || r;
8612 r = ((glVertexAttribL1i64NV = (PFNGLVERTEXATTRIBL1I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64NV")) == NULL) || r;
8613 r = ((glVertexAttribL1i64vNV = (PFNGLVERTEXATTRIBL1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64vNV")) == NULL) || r;
8614 r = ((glVertexAttribL1ui64NV = (PFNGLVERTEXATTRIBL1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64NV")) == NULL) || r;
8615 r = ((glVertexAttribL1ui64vNV = (PFNGLVERTEXATTRIBL1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64vNV")) == NULL) || r;
8616 r = ((glVertexAttribL2i64NV = (PFNGLVERTEXATTRIBL2I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64NV")) == NULL) || r;
8617 r = ((glVertexAttribL2i64vNV = (PFNGLVERTEXATTRIBL2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64vNV")) == NULL) || r;
8618 r = ((glVertexAttribL2ui64NV = (PFNGLVERTEXATTRIBL2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64NV")) == NULL) || r;
8619 r = ((glVertexAttribL2ui64vNV = (PFNGLVERTEXATTRIBL2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64vNV")) == NULL) || r;
8620 r = ((glVertexAttribL3i64NV = (PFNGLVERTEXATTRIBL3I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64NV")) == NULL) || r;
8621 r = ((glVertexAttribL3i64vNV = (PFNGLVERTEXATTRIBL3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64vNV")) == NULL) || r;
8622 r = ((glVertexAttribL3ui64NV = (PFNGLVERTEXATTRIBL3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64NV")) == NULL) || r;
8623 r = ((glVertexAttribL3ui64vNV = (PFNGLVERTEXATTRIBL3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64vNV")) == NULL) || r;
8624 r = ((glVertexAttribL4i64NV = (PFNGLVERTEXATTRIBL4I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64NV")) == NULL) || r;
8625 r = ((glVertexAttribL4i64vNV = (PFNGLVERTEXATTRIBL4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64vNV")) == NULL) || r;
8626 r = ((glVertexAttribL4ui64NV = (PFNGLVERTEXATTRIBL4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64NV")) == NULL) || r;
8627 r = ((glVertexAttribL4ui64vNV = (PFNGLVERTEXATTRIBL4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64vNV")) == NULL) || r;
8628 r = ((glVertexAttribLFormatNV = (PFNGLVERTEXATTRIBLFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormatNV")) == NULL) || r;
8629
8630 return r;
8631}
8632
8633#endif /* GL_NV_vertex_attrib_integer_64bit */
8634
8635#ifdef GL_NV_vertex_buffer_unified_memory
8636
8637static GLboolean _glewInit_GL_NV_vertex_buffer_unified_memory (GLEW_CONTEXT_ARG_DEF_INIT)
8638{
8639 GLboolean r = GL_FALSE;
8640
8641 r = ((glBufferAddressRangeNV = (PFNGLBUFFERADDRESSRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBufferAddressRangeNV")) == NULL) || r;
8642 r = ((glColorFormatNV = (PFNGLCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glColorFormatNV")) == NULL) || r;
8643 r = ((glEdgeFlagFormatNV = (PFNGLEDGEFLAGFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagFormatNV")) == NULL) || r;
8644 r = ((glFogCoordFormatNV = (PFNGLFOGCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordFormatNV")) == NULL) || r;
8645 r = ((glGetIntegerui64i_vNV = (PFNGLGETINTEGERUI64I_VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64i_vNV")) == NULL) || r;
8646 r = ((glIndexFormatNV = (PFNGLINDEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glIndexFormatNV")) == NULL) || r;
8647 r = ((glNormalFormatNV = (PFNGLNORMALFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glNormalFormatNV")) == NULL) || r;
8648 r = ((glSecondaryColorFormatNV = (PFNGLSECONDARYCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorFormatNV")) == NULL) || r;
8649 r = ((glTexCoordFormatNV = (PFNGLTEXCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordFormatNV")) == NULL) || r;
8650 r = ((glVertexAttribFormatNV = (PFNGLVERTEXATTRIBFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormatNV")) == NULL) || r;
8651 r = ((glVertexAttribIFormatNV = (PFNGLVERTEXATTRIBIFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormatNV")) == NULL) || r;
8652 r = ((glVertexFormatNV = (PFNGLVERTEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexFormatNV")) == NULL) || r;
8653
8654 return r;
8655}
8656
8657#endif /* GL_NV_vertex_buffer_unified_memory */
8658
8659#ifdef GL_NV_vertex_program
8660
8661static GLboolean _glewInit_GL_NV_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT)
8662{
8663 GLboolean r = GL_FALSE;
8664
8665 r = ((glAreProgramsResidentNV = (PFNGLAREPROGRAMSRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glAreProgramsResidentNV")) == NULL) || r;
8666 r = ((glBindProgramNV = (PFNGLBINDPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glBindProgramNV")) == NULL) || r;
8667 r = ((glDeleteProgramsNV = (PFNGLDELETEPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsNV")) == NULL) || r;
8668 r = ((glExecuteProgramNV = (PFNGLEXECUTEPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glExecuteProgramNV")) == NULL) || r;
8669 r = ((glGenProgramsNV = (PFNGLGENPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsNV")) == NULL) || r;
8670 r = ((glGetProgramParameterdvNV = (PFNGLGETPROGRAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterdvNV")) == NULL) || r;
8671 r = ((glGetProgramParameterfvNV = (PFNGLGETPROGRAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterfvNV")) == NULL) || r;
8672 r = ((glGetProgramStringNV = (PFNGLGETPROGRAMSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringNV")) == NULL) || r;
8673 r = ((glGetProgramivNV = (PFNGLGETPROGRAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivNV")) == NULL) || r;
8674 r = ((glGetTrackMatrixivNV = (PFNGLGETTRACKMATRIXIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetTrackMatrixivNV")) == NULL) || r;
8675 r = ((glGetVertexAttribPointervNV = (PFNGLGETVERTEXATTRIBPOINTERVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervNV")) == NULL) || r;
8676 r = ((glGetVertexAttribdvNV = (PFNGLGETVERTEXATTRIBDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvNV")) == NULL) || r;
8677 r = ((glGetVertexAttribfvNV = (PFNGLGETVERTEXATTRIBFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvNV")) == NULL) || r;
8678 r = ((glGetVertexAttribivNV = (PFNGLGETVERTEXATTRIBIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivNV")) == NULL) || r;
8679 r = ((glIsProgramNV = (PFNGLISPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glIsProgramNV")) == NULL) || r;
8680 r = ((glLoadProgramNV = (PFNGLLOADPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glLoadProgramNV")) == NULL) || r;
8681 r = ((glProgramParameter4dNV = (PFNGLPROGRAMPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dNV")) == NULL) || r;
8682 r = ((glProgramParameter4dvNV = (PFNGLPROGRAMPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dvNV")) == NULL) || r;
8683 r = ((glProgramParameter4fNV = (PFNGLPROGRAMPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fNV")) == NULL) || r;
8684 r = ((glProgramParameter4fvNV = (PFNGLPROGRAMPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fvNV")) == NULL) || r;
8685 r = ((glProgramParameters4dvNV = (PFNGLPROGRAMPARAMETERS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4dvNV")) == NULL) || r;
8686 r = ((glProgramParameters4fvNV = (PFNGLPROGRAMPARAMETERS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4fvNV")) == NULL) || r;
8687 r = ((glRequestResidentProgramsNV = (PFNGLREQUESTRESIDENTPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glRequestResidentProgramsNV")) == NULL) || r;
8688 r = ((glTrackMatrixNV = (PFNGLTRACKMATRIXNVPROC)glewGetProcAddress((const GLubyte*)"glTrackMatrixNV")) == NULL) || r;
8689 r = ((glVertexAttrib1dNV = (PFNGLVERTEXATTRIB1DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dNV")) == NULL) || r;
8690 r = ((glVertexAttrib1dvNV = (PFNGLVERTEXATTRIB1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvNV")) == NULL) || r;
8691 r = ((glVertexAttrib1fNV = (PFNGLVERTEXATTRIB1FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fNV")) == NULL) || r;
8692 r = ((glVertexAttrib1fvNV = (PFNGLVERTEXATTRIB1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvNV")) == NULL) || r;
8693 r = ((glVertexAttrib1sNV = (PFNGLVERTEXATTRIB1SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sNV")) == NULL) || r;
8694 r = ((glVertexAttrib1svNV = (PFNGLVERTEXATTRIB1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svNV")) == NULL) || r;
8695 r = ((glVertexAttrib2dNV = (PFNGLVERTEXATTRIB2DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dNV")) == NULL) || r;
8696 r = ((glVertexAttrib2dvNV = (PFNGLVERTEXATTRIB2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvNV")) == NULL) || r;
8697 r = ((glVertexAttrib2fNV = (PFNGLVERTEXATTRIB2FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fNV")) == NULL) || r;
8698 r = ((glVertexAttrib2fvNV = (PFNGLVERTEXATTRIB2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvNV")) == NULL) || r;
8699 r = ((glVertexAttrib2sNV = (PFNGLVERTEXATTRIB2SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sNV")) == NULL) || r;
8700 r = ((glVertexAttrib2svNV = (PFNGLVERTEXATTRIB2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svNV")) == NULL) || r;
8701 r = ((glVertexAttrib3dNV = (PFNGLVERTEXATTRIB3DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dNV")) == NULL) || r;
8702 r = ((glVertexAttrib3dvNV = (PFNGLVERTEXATTRIB3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvNV")) == NULL) || r;
8703 r = ((glVertexAttrib3fNV = (PFNGLVERTEXATTRIB3FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fNV")) == NULL) || r;
8704 r = ((glVertexAttrib3fvNV = (PFNGLVERTEXATTRIB3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvNV")) == NULL) || r;
8705 r = ((glVertexAttrib3sNV = (PFNGLVERTEXATTRIB3SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sNV")) == NULL) || r;
8706 r = ((glVertexAttrib3svNV = (PFNGLVERTEXATTRIB3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svNV")) == NULL) || r;
8707 r = ((glVertexAttrib4dNV = (PFNGLVERTEXATTRIB4DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dNV")) == NULL) || r;
8708 r = ((glVertexAttrib4dvNV = (PFNGLVERTEXATTRIB4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvNV")) == NULL) || r;
8709 r = ((glVertexAttrib4fNV = (PFNGLVERTEXATTRIB4FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fNV")) == NULL) || r;
8710 r = ((glVertexAttrib4fvNV = (PFNGLVERTEXATTRIB4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvNV")) == NULL) || r;
8711 r = ((glVertexAttrib4sNV = (PFNGLVERTEXATTRIB4SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sNV")) == NULL) || r;
8712 r = ((glVertexAttrib4svNV = (PFNGLVERTEXATTRIB4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svNV")) == NULL) || r;
8713 r = ((glVertexAttrib4ubNV = (PFNGLVERTEXATTRIB4UBNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubNV")) == NULL) || r;
8714 r = ((glVertexAttrib4ubvNV = (PFNGLVERTEXATTRIB4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvNV")) == NULL) || r;
8715 r = ((glVertexAttribPointerNV = (PFNGLVERTEXATTRIBPOINTERNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerNV")) == NULL) || r;
8716 r = ((glVertexAttribs1dvNV = (PFNGLVERTEXATTRIBS1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1dvNV")) == NULL) || r;
8717 r = ((glVertexAttribs1fvNV = (PFNGLVERTEXATTRIBS1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1fvNV")) == NULL) || r;
8718 r = ((glVertexAttribs1svNV = (PFNGLVERTEXATTRIBS1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1svNV")) == NULL) || r;
8719 r = ((glVertexAttribs2dvNV = (PFNGLVERTEXATTRIBS2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2dvNV")) == NULL) || r;
8720 r = ((glVertexAttribs2fvNV = (PFNGLVERTEXATTRIBS2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2fvNV")) == NULL) || r;
8721 r = ((glVertexAttribs2svNV = (PFNGLVERTEXATTRIBS2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2svNV")) == NULL) || r;
8722 r = ((glVertexAttribs3dvNV = (PFNGLVERTEXATTRIBS3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3dvNV")) == NULL) || r;
8723 r = ((glVertexAttribs3fvNV = (PFNGLVERTEXATTRIBS3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3fvNV")) == NULL) || r;
8724 r = ((glVertexAttribs3svNV = (PFNGLVERTEXATTRIBS3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3svNV")) == NULL) || r;
8725 r = ((glVertexAttribs4dvNV = (PFNGLVERTEXATTRIBS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4dvNV")) == NULL) || r;
8726 r = ((glVertexAttribs4fvNV = (PFNGLVERTEXATTRIBS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4fvNV")) == NULL) || r;
8727 r = ((glVertexAttribs4svNV = (PFNGLVERTEXATTRIBS4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4svNV")) == NULL) || r;
8728 r = ((glVertexAttribs4ubvNV = (PFNGLVERTEXATTRIBS4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4ubvNV")) == NULL) || r;
8729
8730 return r;
8731}
8732
8733#endif /* GL_NV_vertex_program */
8734
8735#ifdef GL_NV_vertex_program1_1
8736
8737#endif /* GL_NV_vertex_program1_1 */
8738
8739#ifdef GL_NV_vertex_program2
8740
8741#endif /* GL_NV_vertex_program2 */
8742
8743#ifdef GL_NV_vertex_program2_option
8744
8745#endif /* GL_NV_vertex_program2_option */
8746
8747#ifdef GL_NV_vertex_program3
8748
8749#endif /* GL_NV_vertex_program3 */
8750
8751#ifdef GL_NV_vertex_program4
8752
8753#endif /* GL_NV_vertex_program4 */
8754
8755#ifdef GL_NV_video_capture
8756
8757static GLboolean _glewInit_GL_NV_video_capture (GLEW_CONTEXT_ARG_DEF_INIT)
8758{
8759 GLboolean r = GL_FALSE;
8760
8761 r = ((glBeginVideoCaptureNV = (PFNGLBEGINVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glBeginVideoCaptureNV")) == NULL) || r;
8762 r = ((glBindVideoCaptureStreamBufferNV = (PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glBindVideoCaptureStreamBufferNV")) == NULL) || r;
8763 r = ((glBindVideoCaptureStreamTextureNV = (PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC)glewGetProcAddress((const GLubyte*)"glBindVideoCaptureStreamTextureNV")) == NULL) || r;
8764 r = ((glEndVideoCaptureNV = (PFNGLENDVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glEndVideoCaptureNV")) == NULL) || r;
8765 r = ((glGetVideoCaptureStreamdvNV = (PFNGLGETVIDEOCAPTURESTREAMDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamdvNV")) == NULL) || r;
8766 r = ((glGetVideoCaptureStreamfvNV = (PFNGLGETVIDEOCAPTURESTREAMFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamfvNV")) == NULL) || r;
8767 r = ((glGetVideoCaptureStreamivNV = (PFNGLGETVIDEOCAPTURESTREAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamivNV")) == NULL) || r;
8768 r = ((glGetVideoCaptureivNV = (PFNGLGETVIDEOCAPTUREIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureivNV")) == NULL) || r;
8769 r = ((glVideoCaptureNV = (PFNGLVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureNV")) == NULL) || r;
8770 r = ((glVideoCaptureStreamParameterdvNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterdvNV")) == NULL) || r;
8771 r = ((glVideoCaptureStreamParameterfvNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterfvNV")) == NULL) || r;
8772 r = ((glVideoCaptureStreamParameterivNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterivNV")) == NULL) || r;
8773
8774 return r;
8775}
8776
8777#endif /* GL_NV_video_capture */
8778
8779#ifdef GL_OES_byte_coordinates
8780
8781#endif /* GL_OES_byte_coordinates */
8782
8783#ifdef GL_OES_compressed_paletted_texture
8784
8785#endif /* GL_OES_compressed_paletted_texture */
8786
8787#ifdef GL_OES_read_format
8788
8789#endif /* GL_OES_read_format */
8790
8791#ifdef GL_OES_single_precision
8792
8793static GLboolean _glewInit_GL_OES_single_precision (GLEW_CONTEXT_ARG_DEF_INIT)
8794{
8795 GLboolean r = GL_FALSE;
8796
8797 r = ((glClearDepthfOES = (PFNGLCLEARDEPTHFOESPROC)glewGetProcAddress((const GLubyte*)"glClearDepthfOES")) == NULL) || r;
8798 r = ((glClipPlanefOES = (PFNGLCLIPPLANEFOESPROC)glewGetProcAddress((const GLubyte*)"glClipPlanefOES")) == NULL) || r;
8799 r = ((glDepthRangefOES = (PFNGLDEPTHRANGEFOESPROC)glewGetProcAddress((const GLubyte*)"glDepthRangefOES")) == NULL) || r;
8800 r = ((glFrustumfOES = (PFNGLFRUSTUMFOESPROC)glewGetProcAddress((const GLubyte*)"glFrustumfOES")) == NULL) || r;
8801 r = ((glGetClipPlanefOES = (PFNGLGETCLIPPLANEFOESPROC)glewGetProcAddress((const GLubyte*)"glGetClipPlanefOES")) == NULL) || r;
8802 r = ((glOrthofOES = (PFNGLORTHOFOESPROC)glewGetProcAddress((const GLubyte*)"glOrthofOES")) == NULL) || r;
8803
8804 return r;
8805}
8806
8807#endif /* GL_OES_single_precision */
8808
8809#ifdef GL_OML_interlace
8810
8811#endif /* GL_OML_interlace */
8812
8813#ifdef GL_OML_resample
8814
8815#endif /* GL_OML_resample */
8816
8817#ifdef GL_OML_subsample
8818
8819#endif /* GL_OML_subsample */
8820
8821#ifdef GL_PGI_misc_hints
8822
8823#endif /* GL_PGI_misc_hints */
8824
8825#ifdef GL_PGI_vertex_hints
8826
8827#endif /* GL_PGI_vertex_hints */
8828
8829#ifdef GL_REGAL_ES1_0_compatibility
8830
8831static GLboolean _glewInit_GL_REGAL_ES1_0_compatibility (GLEW_CONTEXT_ARG_DEF_INIT)
8832{
8833 GLboolean r = GL_FALSE;
8834
8835 r = ((glAlphaFuncx = (PFNGLALPHAFUNCXPROC)glewGetProcAddress((const GLubyte*)"glAlphaFuncx")) == NULL) || r;
8836 r = ((glClearColorx = (PFNGLCLEARCOLORXPROC)glewGetProcAddress((const GLubyte*)"glClearColorx")) == NULL) || r;
8837 r = ((glClearDepthx = (PFNGLCLEARDEPTHXPROC)glewGetProcAddress((const GLubyte*)"glClearDepthx")) == NULL) || r;
8838 r = ((glColor4x = (PFNGLCOLOR4XPROC)glewGetProcAddress((const GLubyte*)"glColor4x")) == NULL) || r;
8839 r = ((glDepthRangex = (PFNGLDEPTHRANGEXPROC)glewGetProcAddress((const GLubyte*)"glDepthRangex")) == NULL) || r;
8840 r = ((glFogx = (PFNGLFOGXPROC)glewGetProcAddress((const GLubyte*)"glFogx")) == NULL) || r;
8841 r = ((glFogxv = (PFNGLFOGXVPROC)glewGetProcAddress((const GLubyte*)"glFogxv")) == NULL) || r;
8842 r = ((glFrustumf = (PFNGLFRUSTUMFPROC)glewGetProcAddress((const GLubyte*)"glFrustumf")) == NULL) || r;
8843 r = ((glFrustumx = (PFNGLFRUSTUMXPROC)glewGetProcAddress((const GLubyte*)"glFrustumx")) == NULL) || r;
8844 r = ((glLightModelx = (PFNGLLIGHTMODELXPROC)glewGetProcAddress((const GLubyte*)"glLightModelx")) == NULL) || r;
8845 r = ((glLightModelxv = (PFNGLLIGHTMODELXVPROC)glewGetProcAddress((const GLubyte*)"glLightModelxv")) == NULL) || r;
8846 r = ((glLightx = (PFNGLLIGHTXPROC)glewGetProcAddress((const GLubyte*)"glLightx")) == NULL) || r;
8847 r = ((glLightxv = (PFNGLLIGHTXVPROC)glewGetProcAddress((const GLubyte*)"glLightxv")) == NULL) || r;
8848 r = ((glLineWidthx = (PFNGLLINEWIDTHXPROC)glewGetProcAddress((const GLubyte*)"glLineWidthx")) == NULL) || r;
8849 r = ((glLoadMatrixx = (PFNGLLOADMATRIXXPROC)glewGetProcAddress((const GLubyte*)"glLoadMatrixx")) == NULL) || r;
8850 r = ((glMaterialx = (PFNGLMATERIALXPROC)glewGetProcAddress((const GLubyte*)"glMaterialx")) == NULL) || r;
8851 r = ((glMaterialxv = (PFNGLMATERIALXVPROC)glewGetProcAddress((const GLubyte*)"glMaterialxv")) == NULL) || r;
8852 r = ((glMultMatrixx = (PFNGLMULTMATRIXXPROC)glewGetProcAddress((const GLubyte*)"glMultMatrixx")) == NULL) || r;
8853 r = ((glMultiTexCoord4x = (PFNGLMULTITEXCOORD4XPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4x")) == NULL) || r;
8854 r = ((glNormal3x = (PFNGLNORMAL3XPROC)glewGetProcAddress((const GLubyte*)"glNormal3x")) == NULL) || r;
8855 r = ((glOrthof = (PFNGLORTHOFPROC)glewGetProcAddress((const GLubyte*)"glOrthof")) == NULL) || r;
8856 r = ((glOrthox = (PFNGLORTHOXPROC)glewGetProcAddress((const GLubyte*)"glOrthox")) == NULL) || r;
8857 r = ((glPointSizex = (PFNGLPOINTSIZEXPROC)glewGetProcAddress((const GLubyte*)"glPointSizex")) == NULL) || r;
8858 r = ((glPolygonOffsetx = (PFNGLPOLYGONOFFSETXPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetx")) == NULL) || r;
8859 r = ((glRotatex = (PFNGLROTATEXPROC)glewGetProcAddress((const GLubyte*)"glRotatex")) == NULL) || r;
8860 r = ((glSampleCoveragex = (PFNGLSAMPLECOVERAGEXPROC)glewGetProcAddress((const GLubyte*)"glSampleCoveragex")) == NULL) || r;
8861 r = ((glScalex = (PFNGLSCALEXPROC)glewGetProcAddress((const GLubyte*)"glScalex")) == NULL) || r;
8862 r = ((glTexEnvx = (PFNGLTEXENVXPROC)glewGetProcAddress((const GLubyte*)"glTexEnvx")) == NULL) || r;
8863 r = ((glTexEnvxv = (PFNGLTEXENVXVPROC)glewGetProcAddress((const GLubyte*)"glTexEnvxv")) == NULL) || r;
8864 r = ((glTexParameterx = (PFNGLTEXPARAMETERXPROC)glewGetProcAddress((const GLubyte*)"glTexParameterx")) == NULL) || r;
8865 r = ((glTranslatex = (PFNGLTRANSLATEXPROC)glewGetProcAddress((const GLubyte*)"glTranslatex")) == NULL) || r;
8866
8867 return r;
8868}
8869
8870#endif /* GL_REGAL_ES1_0_compatibility */
8871
8872#ifdef GL_REGAL_ES1_1_compatibility
8873
8874static GLboolean _glewInit_GL_REGAL_ES1_1_compatibility (GLEW_CONTEXT_ARG_DEF_INIT)
8875{
8876 GLboolean r = GL_FALSE;
8877
8878 r = ((glClipPlanef = (PFNGLCLIPPLANEFPROC)glewGetProcAddress((const GLubyte*)"glClipPlanef")) == NULL) || r;
8879 r = ((glClipPlanex = (PFNGLCLIPPLANEXPROC)glewGetProcAddress((const GLubyte*)"glClipPlanex")) == NULL) || r;
8880 r = ((glGetClipPlanef = (PFNGLGETCLIPPLANEFPROC)glewGetProcAddress((const GLubyte*)"glGetClipPlanef")) == NULL) || r;
8881 r = ((glGetClipPlanex = (PFNGLGETCLIPPLANEXPROC)glewGetProcAddress((const GLubyte*)"glGetClipPlanex")) == NULL) || r;
8882 r = ((glGetFixedv = (PFNGLGETFIXEDVPROC)glewGetProcAddress((const GLubyte*)"glGetFixedv")) == NULL) || r;
8883 r = ((glGetLightxv = (PFNGLGETLIGHTXVPROC)glewGetProcAddress((const GLubyte*)"glGetLightxv")) == NULL) || r;
8884 r = ((glGetMaterialxv = (PFNGLGETMATERIALXVPROC)glewGetProcAddress((const GLubyte*)"glGetMaterialxv")) == NULL) || r;
8885 r = ((glGetTexEnvxv = (PFNGLGETTEXENVXVPROC)glewGetProcAddress((const GLubyte*)"glGetTexEnvxv")) == NULL) || r;
8886 r = ((glGetTexParameterxv = (PFNGLGETTEXPARAMETERXVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterxv")) == NULL) || r;
8887 r = ((glPointParameterx = (PFNGLPOINTPARAMETERXPROC)glewGetProcAddress((const GLubyte*)"glPointParameterx")) == NULL) || r;
8888 r = ((glPointParameterxv = (PFNGLPOINTPARAMETERXVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterxv")) == NULL) || r;
8889 r = ((glPointSizePointerOES = (PFNGLPOINTSIZEPOINTEROESPROC)glewGetProcAddress((const GLubyte*)"glPointSizePointerOES")) == NULL) || r;
8890 r = ((glTexParameterxv = (PFNGLTEXPARAMETERXVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterxv")) == NULL) || r;
8891
8892 return r;
8893}
8894
8895#endif /* GL_REGAL_ES1_1_compatibility */
8896
8897#ifdef GL_REGAL_enable
8898
8899#endif /* GL_REGAL_enable */
8900
8901#ifdef GL_REGAL_error_string
8902
8903static GLboolean _glewInit_GL_REGAL_error_string (GLEW_CONTEXT_ARG_DEF_INIT)
8904{
8905 GLboolean r = GL_FALSE;
8906
8907 r = ((glErrorStringREGAL = (PFNGLERRORSTRINGREGALPROC)glewGetProcAddress((const GLubyte*)"glErrorStringREGAL")) == NULL) || r;
8908
8909 return r;
8910}
8911
8912#endif /* GL_REGAL_error_string */
8913
8914#ifdef GL_REGAL_extension_query
8915
8916static GLboolean _glewInit_GL_REGAL_extension_query (GLEW_CONTEXT_ARG_DEF_INIT)
8917{
8918 GLboolean r = GL_FALSE;
8919
8920 r = ((glGetExtensionREGAL = (PFNGLGETEXTENSIONREGALPROC)glewGetProcAddress((const GLubyte*)"glGetExtensionREGAL")) == NULL) || r;
8921 r = ((glIsSupportedREGAL = (PFNGLISSUPPORTEDREGALPROC)glewGetProcAddress((const GLubyte*)"glIsSupportedREGAL")) == NULL) || r;
8922
8923 return r;
8924}
8925
8926#endif /* GL_REGAL_extension_query */
8927
8928#ifdef GL_REGAL_log
8929
8930static GLboolean _glewInit_GL_REGAL_log (GLEW_CONTEXT_ARG_DEF_INIT)
8931{
8932 GLboolean r = GL_FALSE;
8933
8934 r = ((glLogMessageCallbackREGAL = (PFNGLLOGMESSAGECALLBACKREGALPROC)glewGetProcAddress((const GLubyte*)"glLogMessageCallbackREGAL")) == NULL) || r;
8935
8936 return r;
8937}
8938
8939#endif /* GL_REGAL_log */
8940
8941#ifdef GL_REND_screen_coordinates
8942
8943#endif /* GL_REND_screen_coordinates */
8944
8945#ifdef GL_S3_s3tc
8946
8947#endif /* GL_S3_s3tc */
8948
8949#ifdef GL_SGIS_color_range
8950
8951#endif /* GL_SGIS_color_range */
8952
8953#ifdef GL_SGIS_detail_texture
8954
8955static GLboolean _glewInit_GL_SGIS_detail_texture (GLEW_CONTEXT_ARG_DEF_INIT)
8956{
8957 GLboolean r = GL_FALSE;
8958
8959 r = ((glDetailTexFuncSGIS = (PFNGLDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glDetailTexFuncSGIS")) == NULL) || r;
8960 r = ((glGetDetailTexFuncSGIS = (PFNGLGETDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetDetailTexFuncSGIS")) == NULL) || r;
8961
8962 return r;
8963}
8964
8965#endif /* GL_SGIS_detail_texture */
8966
8967#ifdef GL_SGIS_fog_function
8968
8969static GLboolean _glewInit_GL_SGIS_fog_function (GLEW_CONTEXT_ARG_DEF_INIT)
8970{
8971 GLboolean r = GL_FALSE;
8972
8973 r = ((glFogFuncSGIS = (PFNGLFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glFogFuncSGIS")) == NULL) || r;
8974 r = ((glGetFogFuncSGIS = (PFNGLGETFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetFogFuncSGIS")) == NULL) || r;
8975
8976 return r;
8977}
8978
8979#endif /* GL_SGIS_fog_function */
8980
8981#ifdef GL_SGIS_generate_mipmap
8982
8983#endif /* GL_SGIS_generate_mipmap */
8984
8985#ifdef GL_SGIS_multisample
8986
8987static GLboolean _glewInit_GL_SGIS_multisample (GLEW_CONTEXT_ARG_DEF_INIT)
8988{
8989 GLboolean r = GL_FALSE;
8990
8991 r = ((glSampleMaskSGIS = (PFNGLSAMPLEMASKSGISPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskSGIS")) == NULL) || r;
8992 r = ((glSamplePatternSGIS = (PFNGLSAMPLEPATTERNSGISPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternSGIS")) == NULL) || r;
8993
8994 return r;
8995}
8996
8997#endif /* GL_SGIS_multisample */
8998
8999#ifdef GL_SGIS_pixel_texture
9000
9001#endif /* GL_SGIS_pixel_texture */
9002
9003#ifdef GL_SGIS_point_line_texgen
9004
9005#endif /* GL_SGIS_point_line_texgen */
9006
9007#ifdef GL_SGIS_sharpen_texture
9008
9009static GLboolean _glewInit_GL_SGIS_sharpen_texture (GLEW_CONTEXT_ARG_DEF_INIT)
9010{
9011 GLboolean r = GL_FALSE;
9012
9013 r = ((glGetSharpenTexFuncSGIS = (PFNGLGETSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetSharpenTexFuncSGIS")) == NULL) || r;
9014 r = ((glSharpenTexFuncSGIS = (PFNGLSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glSharpenTexFuncSGIS")) == NULL) || r;
9015
9016 return r;
9017}
9018
9019#endif /* GL_SGIS_sharpen_texture */
9020
9021#ifdef GL_SGIS_texture4D
9022
9023static GLboolean _glewInit_GL_SGIS_texture4D (GLEW_CONTEXT_ARG_DEF_INIT)
9024{
9025 GLboolean r = GL_FALSE;
9026
9027 r = ((glTexImage4DSGIS = (PFNGLTEXIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexImage4DSGIS")) == NULL) || r;
9028 r = ((glTexSubImage4DSGIS = (PFNGLTEXSUBIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage4DSGIS")) == NULL) || r;
9029
9030 return r;
9031}
9032
9033#endif /* GL_SGIS_texture4D */
9034
9035#ifdef GL_SGIS_texture_border_clamp
9036
9037#endif /* GL_SGIS_texture_border_clamp */
9038
9039#ifdef GL_SGIS_texture_edge_clamp
9040
9041#endif /* GL_SGIS_texture_edge_clamp */
9042
9043#ifdef GL_SGIS_texture_filter4
9044
9045static GLboolean _glewInit_GL_SGIS_texture_filter4 (GLEW_CONTEXT_ARG_DEF_INIT)
9046{
9047 GLboolean r = GL_FALSE;
9048
9049 r = ((glGetTexFilterFuncSGIS = (PFNGLGETTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetTexFilterFuncSGIS")) == NULL) || r;
9050 r = ((glTexFilterFuncSGIS = (PFNGLTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glTexFilterFuncSGIS")) == NULL) || r;
9051
9052 return r;
9053}
9054
9055#endif /* GL_SGIS_texture_filter4 */
9056
9057#ifdef GL_SGIS_texture_lod
9058
9059#endif /* GL_SGIS_texture_lod */
9060
9061#ifdef GL_SGIS_texture_select
9062
9063#endif /* GL_SGIS_texture_select */
9064
9065#ifdef GL_SGIX_async
9066
9067static GLboolean _glewInit_GL_SGIX_async (GLEW_CONTEXT_ARG_DEF_INIT)
9068{
9069 GLboolean r = GL_FALSE;
9070
9071 r = ((glAsyncMarkerSGIX = (PFNGLASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glAsyncMarkerSGIX")) == NULL) || r;
9072 r = ((glDeleteAsyncMarkersSGIX = (PFNGLDELETEASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteAsyncMarkersSGIX")) == NULL) || r;
9073 r = ((glFinishAsyncSGIX = (PFNGLFINISHASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glFinishAsyncSGIX")) == NULL) || r;
9074 r = ((glGenAsyncMarkersSGIX = (PFNGLGENASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenAsyncMarkersSGIX")) == NULL) || r;
9075 r = ((glIsAsyncMarkerSGIX = (PFNGLISASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsAsyncMarkerSGIX")) == NULL) || r;
9076 r = ((glPollAsyncSGIX = (PFNGLPOLLASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glPollAsyncSGIX")) == NULL) || r;
9077
9078 return r;
9079}
9080
9081#endif /* GL_SGIX_async */
9082
9083#ifdef GL_SGIX_async_histogram
9084
9085#endif /* GL_SGIX_async_histogram */
9086
9087#ifdef GL_SGIX_async_pixel
9088
9089#endif /* GL_SGIX_async_pixel */
9090
9091#ifdef GL_SGIX_blend_alpha_minmax
9092
9093#endif /* GL_SGIX_blend_alpha_minmax */
9094
9095#ifdef GL_SGIX_clipmap
9096
9097#endif /* GL_SGIX_clipmap */
9098
9099#ifdef GL_SGIX_convolution_accuracy
9100
9101#endif /* GL_SGIX_convolution_accuracy */
9102
9103#ifdef GL_SGIX_depth_texture
9104
9105#endif /* GL_SGIX_depth_texture */
9106
9107#ifdef GL_SGIX_flush_raster
9108
9109static GLboolean _glewInit_GL_SGIX_flush_raster (GLEW_CONTEXT_ARG_DEF_INIT)
9110{
9111 GLboolean r = GL_FALSE;
9112
9113 r = ((glFlushRasterSGIX = (PFNGLFLUSHRASTERSGIXPROC)glewGetProcAddress((const GLubyte*)"glFlushRasterSGIX")) == NULL) || r;
9114
9115 return r;
9116}
9117
9118#endif /* GL_SGIX_flush_raster */
9119
9120#ifdef GL_SGIX_fog_offset
9121
9122#endif /* GL_SGIX_fog_offset */
9123
9124#ifdef GL_SGIX_fog_texture
9125
9126static GLboolean _glewInit_GL_SGIX_fog_texture (GLEW_CONTEXT_ARG_DEF_INIT)
9127{
9128 GLboolean r = GL_FALSE;
9129
9130 r = ((glTextureFogSGIX = (PFNGLTEXTUREFOGSGIXPROC)glewGetProcAddress((const GLubyte*)"glTextureFogSGIX")) == NULL) || r;
9131
9132 return r;
9133}
9134
9135#endif /* GL_SGIX_fog_texture */
9136
9137#ifdef GL_SGIX_fragment_specular_lighting
9138
9139static GLboolean _glewInit_GL_SGIX_fragment_specular_lighting (GLEW_CONTEXT_ARG_DEF_INIT)
9140{
9141 GLboolean r = GL_FALSE;
9142
9143 r = ((glFragmentColorMaterialSGIX = (PFNGLFRAGMENTCOLORMATERIALSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialSGIX")) == NULL) || r;
9144 r = ((glFragmentLightModelfSGIX = (PFNGLFRAGMENTLIGHTMODELFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfSGIX")) == NULL) || r;
9145 r = ((glFragmentLightModelfvSGIX = (PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvSGIX")) == NULL) || r;
9146 r = ((glFragmentLightModeliSGIX = (PFNGLFRAGMENTLIGHTMODELISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliSGIX")) == NULL) || r;
9147 r = ((glFragmentLightModelivSGIX = (PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivSGIX")) == NULL) || r;
9148 r = ((glFragmentLightfSGIX = (PFNGLFRAGMENTLIGHTFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfSGIX")) == NULL) || r;
9149 r = ((glFragmentLightfvSGIX = (PFNGLFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvSGIX")) == NULL) || r;
9150 r = ((glFragmentLightiSGIX = (PFNGLFRAGMENTLIGHTISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiSGIX")) == NULL) || r;
9151 r = ((glFragmentLightivSGIX = (PFNGLFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivSGIX")) == NULL) || r;
9152 r = ((glFragmentMaterialfSGIX = (PFNGLFRAGMENTMATERIALFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfSGIX")) == NULL) || r;
9153 r = ((glFragmentMaterialfvSGIX = (PFNGLFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvSGIX")) == NULL) || r;
9154 r = ((glFragmentMaterialiSGIX = (PFNGLFRAGMENTMATERIALISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiSGIX")) == NULL) || r;
9155 r = ((glFragmentMaterialivSGIX = (PFNGLFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivSGIX")) == NULL) || r;
9156 r = ((glGetFragmentLightfvSGIX = (PFNGLGETFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvSGIX")) == NULL) || r;
9157 r = ((glGetFragmentLightivSGIX = (PFNGLGETFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivSGIX")) == NULL) || r;
9158 r = ((glGetFragmentMaterialfvSGIX = (PFNGLGETFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvSGIX")) == NULL) || r;
9159 r = ((glGetFragmentMaterialivSGIX = (PFNGLGETFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivSGIX")) == NULL) || r;
9160
9161 return r;
9162}
9163
9164#endif /* GL_SGIX_fragment_specular_lighting */
9165
9166#ifdef GL_SGIX_framezoom
9167
9168static GLboolean _glewInit_GL_SGIX_framezoom (GLEW_CONTEXT_ARG_DEF_INIT)
9169{
9170 GLboolean r = GL_FALSE;
9171
9172 r = ((glFrameZoomSGIX = (PFNGLFRAMEZOOMSGIXPROC)glewGetProcAddress((const GLubyte*)"glFrameZoomSGIX")) == NULL) || r;
9173
9174 return r;
9175}
9176
9177#endif /* GL_SGIX_framezoom */
9178
9179#ifdef GL_SGIX_interlace
9180
9181#endif /* GL_SGIX_interlace */
9182
9183#ifdef GL_SGIX_ir_instrument1
9184
9185#endif /* GL_SGIX_ir_instrument1 */
9186
9187#ifdef GL_SGIX_list_priority
9188
9189#endif /* GL_SGIX_list_priority */
9190
9191#ifdef GL_SGIX_pixel_texture
9192
9193static GLboolean _glewInit_GL_SGIX_pixel_texture (GLEW_CONTEXT_ARG_DEF_INIT)
9194{
9195 GLboolean r = GL_FALSE;
9196
9197 r = ((glPixelTexGenSGIX = (PFNGLPIXELTEXGENSGIXPROC)glewGetProcAddress((const GLubyte*)"glPixelTexGenSGIX")) == NULL) || r;
9198
9199 return r;
9200}
9201
9202#endif /* GL_SGIX_pixel_texture */
9203
9204#ifdef GL_SGIX_pixel_texture_bits
9205
9206#endif /* GL_SGIX_pixel_texture_bits */
9207
9208#ifdef GL_SGIX_reference_plane
9209
9210static GLboolean _glewInit_GL_SGIX_reference_plane (GLEW_CONTEXT_ARG_DEF_INIT)
9211{
9212 GLboolean r = GL_FALSE;
9213
9214 r = ((glReferencePlaneSGIX = (PFNGLREFERENCEPLANESGIXPROC)glewGetProcAddress((const GLubyte*)"glReferencePlaneSGIX")) == NULL) || r;
9215
9216 return r;
9217}
9218
9219#endif /* GL_SGIX_reference_plane */
9220
9221#ifdef GL_SGIX_resample
9222
9223#endif /* GL_SGIX_resample */
9224
9225#ifdef GL_SGIX_shadow
9226
9227#endif /* GL_SGIX_shadow */
9228
9229#ifdef GL_SGIX_shadow_ambient
9230
9231#endif /* GL_SGIX_shadow_ambient */
9232
9233#ifdef GL_SGIX_sprite
9234
9235static GLboolean _glewInit_GL_SGIX_sprite (GLEW_CONTEXT_ARG_DEF_INIT)
9236{
9237 GLboolean r = GL_FALSE;
9238
9239 r = ((glSpriteParameterfSGIX = (PFNGLSPRITEPARAMETERFSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfSGIX")) == NULL) || r;
9240 r = ((glSpriteParameterfvSGIX = (PFNGLSPRITEPARAMETERFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfvSGIX")) == NULL) || r;
9241 r = ((glSpriteParameteriSGIX = (PFNGLSPRITEPARAMETERISGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameteriSGIX")) == NULL) || r;
9242 r = ((glSpriteParameterivSGIX = (PFNGLSPRITEPARAMETERIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterivSGIX")) == NULL) || r;
9243
9244 return r;
9245}
9246
9247#endif /* GL_SGIX_sprite */
9248
9249#ifdef GL_SGIX_tag_sample_buffer
9250
9251static GLboolean _glewInit_GL_SGIX_tag_sample_buffer (GLEW_CONTEXT_ARG_DEF_INIT)
9252{
9253 GLboolean r = GL_FALSE;
9254
9255 r = ((glTagSampleBufferSGIX = (PFNGLTAGSAMPLEBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glTagSampleBufferSGIX")) == NULL) || r;
9256
9257 return r;
9258}
9259
9260#endif /* GL_SGIX_tag_sample_buffer */
9261
9262#ifdef GL_SGIX_texture_add_env
9263
9264#endif /* GL_SGIX_texture_add_env */
9265
9266#ifdef GL_SGIX_texture_coordinate_clamp
9267
9268#endif /* GL_SGIX_texture_coordinate_clamp */
9269
9270#ifdef GL_SGIX_texture_lod_bias
9271
9272#endif /* GL_SGIX_texture_lod_bias */
9273
9274#ifdef GL_SGIX_texture_multi_buffer
9275
9276#endif /* GL_SGIX_texture_multi_buffer */
9277
9278#ifdef GL_SGIX_texture_range
9279
9280#endif /* GL_SGIX_texture_range */
9281
9282#ifdef GL_SGIX_texture_scale_bias
9283
9284#endif /* GL_SGIX_texture_scale_bias */
9285
9286#ifdef GL_SGIX_vertex_preclip
9287
9288#endif /* GL_SGIX_vertex_preclip */
9289
9290#ifdef GL_SGIX_vertex_preclip_hint
9291
9292#endif /* GL_SGIX_vertex_preclip_hint */
9293
9294#ifdef GL_SGIX_ycrcb
9295
9296#endif /* GL_SGIX_ycrcb */
9297
9298#ifdef GL_SGI_color_matrix
9299
9300#endif /* GL_SGI_color_matrix */
9301
9302#ifdef GL_SGI_color_table
9303
9304static GLboolean _glewInit_GL_SGI_color_table (GLEW_CONTEXT_ARG_DEF_INIT)
9305{
9306 GLboolean r = GL_FALSE;
9307
9308 r = ((glColorTableParameterfvSGI = (PFNGLCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfvSGI")) == NULL) || r;
9309 r = ((glColorTableParameterivSGI = (PFNGLCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterivSGI")) == NULL) || r;
9310 r = ((glColorTableSGI = (PFNGLCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableSGI")) == NULL) || r;
9311 r = ((glCopyColorTableSGI = (PFNGLCOPYCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTableSGI")) == NULL) || r;
9312 r = ((glGetColorTableParameterfvSGI = (PFNGLGETCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvSGI")) == NULL) || r;
9313 r = ((glGetColorTableParameterivSGI = (PFNGLGETCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivSGI")) == NULL) || r;
9314 r = ((glGetColorTableSGI = (PFNGLGETCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableSGI")) == NULL) || r;
9315
9316 return r;
9317}
9318
9319#endif /* GL_SGI_color_table */
9320
9321#ifdef GL_SGI_texture_color_table
9322
9323#endif /* GL_SGI_texture_color_table */
9324
9325#ifdef GL_SUNX_constant_data
9326
9327static GLboolean _glewInit_GL_SUNX_constant_data (GLEW_CONTEXT_ARG_DEF_INIT)
9328{
9329 GLboolean r = GL_FALSE;
9330
9331 r = ((glFinishTextureSUNX = (PFNGLFINISHTEXTURESUNXPROC)glewGetProcAddress((const GLubyte*)"glFinishTextureSUNX")) == NULL) || r;
9332
9333 return r;
9334}
9335
9336#endif /* GL_SUNX_constant_data */
9337
9338#ifdef GL_SUN_convolution_border_modes
9339
9340#endif /* GL_SUN_convolution_border_modes */
9341
9342#ifdef GL_SUN_global_alpha
9343
9344static GLboolean _glewInit_GL_SUN_global_alpha (GLEW_CONTEXT_ARG_DEF_INIT)
9345{
9346 GLboolean r = GL_FALSE;
9347
9348 r = ((glGlobalAlphaFactorbSUN = (PFNGLGLOBALALPHAFACTORBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorbSUN")) == NULL) || r;
9349 r = ((glGlobalAlphaFactordSUN = (PFNGLGLOBALALPHAFACTORDSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactordSUN")) == NULL) || r;
9350 r = ((glGlobalAlphaFactorfSUN = (PFNGLGLOBALALPHAFACTORFSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorfSUN")) == NULL) || r;
9351 r = ((glGlobalAlphaFactoriSUN = (PFNGLGLOBALALPHAFACTORISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoriSUN")) == NULL) || r;
9352 r = ((glGlobalAlphaFactorsSUN = (PFNGLGLOBALALPHAFACTORSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorsSUN")) == NULL) || r;
9353 r = ((glGlobalAlphaFactorubSUN = (PFNGLGLOBALALPHAFACTORUBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorubSUN")) == NULL) || r;
9354 r = ((glGlobalAlphaFactoruiSUN = (PFNGLGLOBALALPHAFACTORUISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoruiSUN")) == NULL) || r;
9355 r = ((glGlobalAlphaFactorusSUN = (PFNGLGLOBALALPHAFACTORUSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorusSUN")) == NULL) || r;
9356
9357 return r;
9358}
9359
9360#endif /* GL_SUN_global_alpha */
9361
9362#ifdef GL_SUN_mesh_array
9363
9364#endif /* GL_SUN_mesh_array */
9365
9366#ifdef GL_SUN_read_video_pixels
9367
9368static GLboolean _glewInit_GL_SUN_read_video_pixels (GLEW_CONTEXT_ARG_DEF_INIT)
9369{
9370 GLboolean r = GL_FALSE;
9371
9372 r = ((glReadVideoPixelsSUN = (PFNGLREADVIDEOPIXELSSUNPROC)glewGetProcAddress((const GLubyte*)"glReadVideoPixelsSUN")) == NULL) || r;
9373
9374 return r;
9375}
9376
9377#endif /* GL_SUN_read_video_pixels */
9378
9379#ifdef GL_SUN_slice_accum
9380
9381#endif /* GL_SUN_slice_accum */
9382
9383#ifdef GL_SUN_triangle_list
9384
9385static GLboolean _glewInit_GL_SUN_triangle_list (GLEW_CONTEXT_ARG_DEF_INIT)
9386{
9387 GLboolean r = GL_FALSE;
9388
9389 r = ((glReplacementCodePointerSUN = (PFNGLREPLACEMENTCODEPOINTERSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodePointerSUN")) == NULL) || r;
9390 r = ((glReplacementCodeubSUN = (PFNGLREPLACEMENTCODEUBSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubSUN")) == NULL) || r;
9391 r = ((glReplacementCodeubvSUN = (PFNGLREPLACEMENTCODEUBVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubvSUN")) == NULL) || r;
9392 r = ((glReplacementCodeuiSUN = (PFNGLREPLACEMENTCODEUISUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiSUN")) == NULL) || r;
9393 r = ((glReplacementCodeuivSUN = (PFNGLREPLACEMENTCODEUIVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuivSUN")) == NULL) || r;
9394 r = ((glReplacementCodeusSUN = (PFNGLREPLACEMENTCODEUSSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusSUN")) == NULL) || r;
9395 r = ((glReplacementCodeusvSUN = (PFNGLREPLACEMENTCODEUSVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusvSUN")) == NULL) || r;
9396
9397 return r;
9398}
9399
9400#endif /* GL_SUN_triangle_list */
9401
9402#ifdef GL_SUN_vertex
9403
9404static GLboolean _glewInit_GL_SUN_vertex (GLEW_CONTEXT_ARG_DEF_INIT)
9405{
9406 GLboolean r = GL_FALSE;
9407
9408 r = ((glColor3fVertex3fSUN = (PFNGLCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fSUN")) == NULL) || r;
9409 r = ((glColor3fVertex3fvSUN = (PFNGLCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fvSUN")) == NULL) || r;
9410 r = ((glColor4fNormal3fVertex3fSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fSUN")) == NULL) || r;
9411 r = ((glColor4fNormal3fVertex3fvSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fvSUN")) == NULL) || r;
9412 r = ((glColor4ubVertex2fSUN = (PFNGLCOLOR4UBVERTEX2FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fSUN")) == NULL) || r;
9413 r = ((glColor4ubVertex2fvSUN = (PFNGLCOLOR4UBVERTEX2FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fvSUN")) == NULL) || r;
9414 r = ((glColor4ubVertex3fSUN = (PFNGLCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fSUN")) == NULL) || r;
9415 r = ((glColor4ubVertex3fvSUN = (PFNGLCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fvSUN")) == NULL) || r;
9416 r = ((glNormal3fVertex3fSUN = (PFNGLNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fSUN")) == NULL) || r;
9417 r = ((glNormal3fVertex3fvSUN = (PFNGLNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fvSUN")) == NULL) || r;
9418 r = ((glReplacementCodeuiColor3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fSUN")) == NULL) || r;
9419 r = ((glReplacementCodeuiColor3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fvSUN")) == NULL) || r;
9420 r = ((glReplacementCodeuiColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fSUN")) == NULL) || r;
9421 r = ((glReplacementCodeuiColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fvSUN")) == NULL) || r;
9422 r = ((glReplacementCodeuiColor4ubVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fSUN")) == NULL) || r;
9423 r = ((glReplacementCodeuiColor4ubVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fvSUN")) == NULL) || r;
9424 r = ((glReplacementCodeuiNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fSUN")) == NULL) || r;
9425 r = ((glReplacementCodeuiNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fvSUN")) == NULL) || r;
9426 r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
9427 r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
9428 r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
9429 r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
9430 r = ((glReplacementCodeuiTexCoord2fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fSUN")) == NULL) || r;
9431 r = ((glReplacementCodeuiTexCoord2fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fvSUN")) == NULL) || r;
9432 r = ((glReplacementCodeuiVertex3fSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fSUN")) == NULL) || r;
9433 r = ((glReplacementCodeuiVertex3fvSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fvSUN")) == NULL) || r;
9434 r = ((glTexCoord2fColor3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fSUN")) == NULL) || r;
9435 r = ((glTexCoord2fColor3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fvSUN")) == NULL) || r;
9436 r = ((glTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
9437 r = ((glTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
9438 r = ((glTexCoord2fColor4ubVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fSUN")) == NULL) || r;
9439 r = ((glTexCoord2fColor4ubVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fvSUN")) == NULL) || r;
9440 r = ((glTexCoord2fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
9441 r = ((glTexCoord2fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
9442 r = ((glTexCoord2fVertex3fSUN = (PFNGLTEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fSUN")) == NULL) || r;
9443 r = ((glTexCoord2fVertex3fvSUN = (PFNGLTEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fvSUN")) == NULL) || r;
9444 r = ((glTexCoord4fColor4fNormal3fVertex4fSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fSUN")) == NULL) || r;
9445 r = ((glTexCoord4fColor4fNormal3fVertex4fvSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fvSUN")) == NULL) || r;
9446 r = ((glTexCoord4fVertex4fSUN = (PFNGLTEXCOORD4FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fSUN")) == NULL) || r;
9447 r = ((glTexCoord4fVertex4fvSUN = (PFNGLTEXCOORD4FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fvSUN")) == NULL) || r;
9448
9449 return r;
9450}
9451
9452#endif /* GL_SUN_vertex */
9453
9454#ifdef GL_WIN_phong_shading
9455
9456#endif /* GL_WIN_phong_shading */
9457
9458#ifdef GL_WIN_specular_fog
9459
9460#endif /* GL_WIN_specular_fog */
9461
9462#ifdef GL_WIN_swap_hint
9463
9464static GLboolean _glewInit_GL_WIN_swap_hint (GLEW_CONTEXT_ARG_DEF_INIT)
9465{
9466 GLboolean r = GL_FALSE;
9467
9468 r = ((glAddSwapHintRectWIN = (PFNGLADDSWAPHINTRECTWINPROC)glewGetProcAddress((const GLubyte*)"glAddSwapHintRectWIN")) == NULL) || r;
9469
9470 return r;
9471}
9472
9473#endif /* GL_WIN_swap_hint */
9474
9475/* ------------------------------------------------------------------------- */
9476
9477GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
9478{
9479 const GLubyte* start;
9480 const GLubyte* end;
9481 start = (const GLubyte*)glGetString(GL_EXTENSIONS);
9482 if (start == 0)
9483 return GL_FALSE;
9484 end = start + _glewStrLen(start);
9485 return _glewSearchExtension(name, start, end);
9486}
9487
9488/* ------------------------------------------------------------------------- */
9489
9490// BANSHEE SPECIFIC START
9491//#ifndef GLEW_MX
9492//static
9493//#endif
9494// BANSHEE SPECIFIC END
9495GLenum GLEWAPIENTRY glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
9496{
9497 const GLubyte* s;
9498 GLuint dot;
9499 GLint major, minor;
9500 const GLubyte* extStart;
9501 const GLubyte* extEnd;
9502 /* query opengl version */
9503 s = glGetString(GL_VERSION);
9504 dot = _glewStrCLen(s, '.');
9505 if (dot == 0)
9506 return GLEW_ERROR_NO_GL_VERSION;
9507
9508 major = s[dot-1]-'0';
9509 minor = s[dot+1]-'0';
9510
9511 if (minor < 0 || minor > 9)
9512 minor = 0;
9513 if (major<0 || major>9)
9514 return GLEW_ERROR_NO_GL_VERSION;
9515
9516
9517 if (major == 1 && minor == 0)
9518 {
9519 return GLEW_ERROR_GL_VERSION_10_ONLY;
9520 }
9521 else
9522 {
9523 CONST_CAST(GLEW_VERSION_4_4) = ( major > 4 ) || ( major == 4 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
9524 CONST_CAST(GLEW_VERSION_4_3) = GLEW_VERSION_4_4 == GL_TRUE || ( major == 4 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
9525 CONST_CAST(GLEW_VERSION_4_2) = GLEW_VERSION_4_3 == GL_TRUE || ( major == 4 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
9526 CONST_CAST(GLEW_VERSION_4_1) = GLEW_VERSION_4_2 == GL_TRUE || ( major == 4 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
9527 CONST_CAST(GLEW_VERSION_4_0) = GLEW_VERSION_4_1 == GL_TRUE || ( major == 4 ) ? GL_TRUE : GL_FALSE;
9528 CONST_CAST(GLEW_VERSION_3_3) = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
9529 CONST_CAST(GLEW_VERSION_3_2) = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
9530 CONST_CAST(GLEW_VERSION_3_1) = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
9531 CONST_CAST(GLEW_VERSION_3_0) = GLEW_VERSION_3_1 == GL_TRUE || ( major == 3 ) ? GL_TRUE : GL_FALSE;
9532 CONST_CAST(GLEW_VERSION_2_1) = GLEW_VERSION_3_0 == GL_TRUE || ( major == 2 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
9533 CONST_CAST(GLEW_VERSION_2_0) = GLEW_VERSION_2_1 == GL_TRUE || ( major == 2 ) ? GL_TRUE : GL_FALSE;
9534 CONST_CAST(GLEW_VERSION_1_5) = GLEW_VERSION_2_0 == GL_TRUE || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
9535 CONST_CAST(GLEW_VERSION_1_4) = GLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
9536 CONST_CAST(GLEW_VERSION_1_3) = GLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
9537 CONST_CAST(GLEW_VERSION_1_2_1) = GLEW_VERSION_1_3 == GL_TRUE ? GL_TRUE : GL_FALSE;
9538 CONST_CAST(GLEW_VERSION_1_2) = GLEW_VERSION_1_2_1 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
9539 CONST_CAST(GLEW_VERSION_1_1) = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
9540 }
9541
9542 /* query opengl extensions string */
9543 extStart = glGetString(GL_EXTENSIONS);
9544 if (extStart == 0)
9545 extStart = (const GLubyte*)"";
9546 extEnd = extStart + _glewStrLen(extStart);
9547
9548 /* initialize extensions */
9549#ifdef GL_VERSION_1_2
9550 if (glewExperimental || GLEW_VERSION_1_2) CONST_CAST(GLEW_VERSION_1_2) = !_glewInit_GL_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT);
9551#endif /* GL_VERSION_1_2 */
9552#ifdef GL_VERSION_1_2_1
9553#endif /* GL_VERSION_1_2_1 */
9554#ifdef GL_VERSION_1_3
9555 if (glewExperimental || GLEW_VERSION_1_3) CONST_CAST(GLEW_VERSION_1_3) = !_glewInit_GL_VERSION_1_3(GLEW_CONTEXT_ARG_VAR_INIT);
9556#endif /* GL_VERSION_1_3 */
9557#ifdef GL_VERSION_1_4
9558 if (glewExperimental || GLEW_VERSION_1_4) CONST_CAST(GLEW_VERSION_1_4) = !_glewInit_GL_VERSION_1_4(GLEW_CONTEXT_ARG_VAR_INIT);
9559#endif /* GL_VERSION_1_4 */
9560#ifdef GL_VERSION_1_5
9561 if (glewExperimental || GLEW_VERSION_1_5) CONST_CAST(GLEW_VERSION_1_5) = !_glewInit_GL_VERSION_1_5(GLEW_CONTEXT_ARG_VAR_INIT);
9562#endif /* GL_VERSION_1_5 */
9563#ifdef GL_VERSION_2_0
9564 if (glewExperimental || GLEW_VERSION_2_0) CONST_CAST(GLEW_VERSION_2_0) = !_glewInit_GL_VERSION_2_0(GLEW_CONTEXT_ARG_VAR_INIT);
9565#endif /* GL_VERSION_2_0 */
9566#ifdef GL_VERSION_2_1
9567 if (glewExperimental || GLEW_VERSION_2_1) CONST_CAST(GLEW_VERSION_2_1) = !_glewInit_GL_VERSION_2_1(GLEW_CONTEXT_ARG_VAR_INIT);
9568#endif /* GL_VERSION_2_1 */
9569#ifdef GL_VERSION_3_0
9570 if (glewExperimental || GLEW_VERSION_3_0) CONST_CAST(GLEW_VERSION_3_0) = !_glewInit_GL_VERSION_3_0(GLEW_CONTEXT_ARG_VAR_INIT);
9571#endif /* GL_VERSION_3_0 */
9572#ifdef GL_VERSION_3_1
9573 if (glewExperimental || GLEW_VERSION_3_1) CONST_CAST(GLEW_VERSION_3_1) = !_glewInit_GL_VERSION_3_1(GLEW_CONTEXT_ARG_VAR_INIT);
9574#endif /* GL_VERSION_3_1 */
9575#ifdef GL_VERSION_3_2
9576 if (glewExperimental || GLEW_VERSION_3_2) CONST_CAST(GLEW_VERSION_3_2) = !_glewInit_GL_VERSION_3_2(GLEW_CONTEXT_ARG_VAR_INIT);
9577#endif /* GL_VERSION_3_2 */
9578#ifdef GL_VERSION_3_3
9579 if (glewExperimental || GLEW_VERSION_3_3) CONST_CAST(GLEW_VERSION_3_3) = !_glewInit_GL_VERSION_3_3(GLEW_CONTEXT_ARG_VAR_INIT);
9580#endif /* GL_VERSION_3_3 */
9581#ifdef GL_VERSION_4_0
9582 if (glewExperimental || GLEW_VERSION_4_0) CONST_CAST(GLEW_VERSION_4_0) = !_glewInit_GL_VERSION_4_0(GLEW_CONTEXT_ARG_VAR_INIT);
9583#endif /* GL_VERSION_4_0 */
9584#ifdef GL_VERSION_4_1
9585#endif /* GL_VERSION_4_1 */
9586#ifdef GL_VERSION_4_2
9587#endif /* GL_VERSION_4_2 */
9588#ifdef GL_VERSION_4_3
9589#endif /* GL_VERSION_4_3 */
9590#ifdef GL_VERSION_4_4
9591#endif /* GL_VERSION_4_4 */
9592#ifdef GL_3DFX_multisample
9593 CONST_CAST(GLEW_3DFX_multisample) = _glewSearchExtension("GL_3DFX_multisample", extStart, extEnd);
9594#endif /* GL_3DFX_multisample */
9595#ifdef GL_3DFX_tbuffer
9596 CONST_CAST(GLEW_3DFX_tbuffer) = _glewSearchExtension("GL_3DFX_tbuffer", extStart, extEnd);
9597 if (glewExperimental || GLEW_3DFX_tbuffer) CONST_CAST(GLEW_3DFX_tbuffer) = !_glewInit_GL_3DFX_tbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
9598#endif /* GL_3DFX_tbuffer */
9599#ifdef GL_3DFX_texture_compression_FXT1
9600 CONST_CAST(GLEW_3DFX_texture_compression_FXT1) = _glewSearchExtension("GL_3DFX_texture_compression_FXT1", extStart, extEnd);
9601#endif /* GL_3DFX_texture_compression_FXT1 */
9602#ifdef GL_AMD_blend_minmax_factor
9603 CONST_CAST(GLEW_AMD_blend_minmax_factor) = _glewSearchExtension("GL_AMD_blend_minmax_factor", extStart, extEnd);
9604#endif /* GL_AMD_blend_minmax_factor */
9605#ifdef GL_AMD_conservative_depth
9606 CONST_CAST(GLEW_AMD_conservative_depth) = _glewSearchExtension("GL_AMD_conservative_depth", extStart, extEnd);
9607#endif /* GL_AMD_conservative_depth */
9608#ifdef GL_AMD_debug_output
9609 CONST_CAST(GLEW_AMD_debug_output) = _glewSearchExtension("GL_AMD_debug_output", extStart, extEnd);
9610 if (glewExperimental || GLEW_AMD_debug_output) CONST_CAST(GLEW_AMD_debug_output) = !_glewInit_GL_AMD_debug_output(GLEW_CONTEXT_ARG_VAR_INIT);
9611#endif /* GL_AMD_debug_output */
9612#ifdef GL_AMD_depth_clamp_separate
9613 CONST_CAST(GLEW_AMD_depth_clamp_separate) = _glewSearchExtension("GL_AMD_depth_clamp_separate", extStart, extEnd);
9614#endif /* GL_AMD_depth_clamp_separate */
9615#ifdef GL_AMD_draw_buffers_blend
9616 CONST_CAST(GLEW_AMD_draw_buffers_blend) = _glewSearchExtension("GL_AMD_draw_buffers_blend", extStart, extEnd);
9617 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);
9618#endif /* GL_AMD_draw_buffers_blend */
9619#ifdef GL_AMD_interleaved_elements
9620 CONST_CAST(GLEW_AMD_interleaved_elements) = _glewSearchExtension("GL_AMD_interleaved_elements", extStart, extEnd);
9621 if (glewExperimental || GLEW_AMD_interleaved_elements) CONST_CAST(GLEW_AMD_interleaved_elements) = !_glewInit_GL_AMD_interleaved_elements(GLEW_CONTEXT_ARG_VAR_INIT);
9622#endif /* GL_AMD_interleaved_elements */
9623#ifdef GL_AMD_multi_draw_indirect
9624 CONST_CAST(GLEW_AMD_multi_draw_indirect) = _glewSearchExtension("GL_AMD_multi_draw_indirect", extStart, extEnd);
9625 if (glewExperimental || GLEW_AMD_multi_draw_indirect) CONST_CAST(GLEW_AMD_multi_draw_indirect) = !_glewInit_GL_AMD_multi_draw_indirect(GLEW_CONTEXT_ARG_VAR_INIT);
9626#endif /* GL_AMD_multi_draw_indirect */
9627#ifdef GL_AMD_name_gen_delete
9628 CONST_CAST(GLEW_AMD_name_gen_delete) = _glewSearchExtension("GL_AMD_name_gen_delete", extStart, extEnd);
9629 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);
9630#endif /* GL_AMD_name_gen_delete */
9631#ifdef GL_AMD_performance_monitor
9632 CONST_CAST(GLEW_AMD_performance_monitor) = _glewSearchExtension("GL_AMD_performance_monitor", extStart, extEnd);
9633 if (glewExperimental || GLEW_AMD_performance_monitor) CONST_CAST(GLEW_AMD_performance_monitor) = !_glewInit_GL_AMD_performance_monitor(GLEW_CONTEXT_ARG_VAR_INIT);
9634#endif /* GL_AMD_performance_monitor */
9635#ifdef GL_AMD_pinned_memory
9636 CONST_CAST(GLEW_AMD_pinned_memory) = _glewSearchExtension("GL_AMD_pinned_memory", extStart, extEnd);
9637#endif /* GL_AMD_pinned_memory */
9638#ifdef GL_AMD_query_buffer_object
9639 CONST_CAST(GLEW_AMD_query_buffer_object) = _glewSearchExtension("GL_AMD_query_buffer_object", extStart, extEnd);
9640#endif /* GL_AMD_query_buffer_object */
9641#ifdef GL_AMD_sample_positions
9642 CONST_CAST(GLEW_AMD_sample_positions) = _glewSearchExtension("GL_AMD_sample_positions", extStart, extEnd);
9643 if (glewExperimental || GLEW_AMD_sample_positions) CONST_CAST(GLEW_AMD_sample_positions) = !_glewInit_GL_AMD_sample_positions(GLEW_CONTEXT_ARG_VAR_INIT);
9644#endif /* GL_AMD_sample_positions */
9645#ifdef GL_AMD_seamless_cubemap_per_texture
9646 CONST_CAST(GLEW_AMD_seamless_cubemap_per_texture) = _glewSearchExtension("GL_AMD_seamless_cubemap_per_texture", extStart, extEnd);
9647#endif /* GL_AMD_seamless_cubemap_per_texture */
9648#ifdef GL_AMD_shader_stencil_export
9649 CONST_CAST(GLEW_AMD_shader_stencil_export) = _glewSearchExtension("GL_AMD_shader_stencil_export", extStart, extEnd);
9650#endif /* GL_AMD_shader_stencil_export */
9651#ifdef GL_AMD_shader_trinary_minmax
9652 CONST_CAST(GLEW_AMD_shader_trinary_minmax) = _glewSearchExtension("GL_AMD_shader_trinary_minmax", extStart, extEnd);
9653#endif /* GL_AMD_shader_trinary_minmax */
9654#ifdef GL_AMD_sparse_texture
9655 CONST_CAST(GLEW_AMD_sparse_texture) = _glewSearchExtension("GL_AMD_sparse_texture", extStart, extEnd);
9656 if (glewExperimental || GLEW_AMD_sparse_texture) CONST_CAST(GLEW_AMD_sparse_texture) = !_glewInit_GL_AMD_sparse_texture(GLEW_CONTEXT_ARG_VAR_INIT);
9657#endif /* GL_AMD_sparse_texture */
9658#ifdef GL_AMD_stencil_operation_extended
9659 CONST_CAST(GLEW_AMD_stencil_operation_extended) = _glewSearchExtension("GL_AMD_stencil_operation_extended", extStart, extEnd);
9660 if (glewExperimental || GLEW_AMD_stencil_operation_extended) CONST_CAST(GLEW_AMD_stencil_operation_extended) = !_glewInit_GL_AMD_stencil_operation_extended(GLEW_CONTEXT_ARG_VAR_INIT);
9661#endif /* GL_AMD_stencil_operation_extended */
9662#ifdef GL_AMD_texture_texture4
9663 CONST_CAST(GLEW_AMD_texture_texture4) = _glewSearchExtension("GL_AMD_texture_texture4", extStart, extEnd);
9664#endif /* GL_AMD_texture_texture4 */
9665#ifdef GL_AMD_transform_feedback3_lines_triangles
9666 CONST_CAST(GLEW_AMD_transform_feedback3_lines_triangles) = _glewSearchExtension("GL_AMD_transform_feedback3_lines_triangles", extStart, extEnd);
9667#endif /* GL_AMD_transform_feedback3_lines_triangles */
9668#ifdef GL_AMD_vertex_shader_layer
9669 CONST_CAST(GLEW_AMD_vertex_shader_layer) = _glewSearchExtension("GL_AMD_vertex_shader_layer", extStart, extEnd);
9670#endif /* GL_AMD_vertex_shader_layer */
9671#ifdef GL_AMD_vertex_shader_tessellator
9672 CONST_CAST(GLEW_AMD_vertex_shader_tessellator) = _glewSearchExtension("GL_AMD_vertex_shader_tessellator", extStart, extEnd);
9673 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);
9674#endif /* GL_AMD_vertex_shader_tessellator */
9675#ifdef GL_AMD_vertex_shader_viewport_index
9676 CONST_CAST(GLEW_AMD_vertex_shader_viewport_index) = _glewSearchExtension("GL_AMD_vertex_shader_viewport_index", extStart, extEnd);
9677#endif /* GL_AMD_vertex_shader_viewport_index */
9678#ifdef GL_ANGLE_depth_texture
9679 CONST_CAST(GLEW_ANGLE_depth_texture) = _glewSearchExtension("GL_ANGLE_depth_texture", extStart, extEnd);
9680#endif /* GL_ANGLE_depth_texture */
9681#ifdef GL_ANGLE_framebuffer_blit
9682 CONST_CAST(GLEW_ANGLE_framebuffer_blit) = _glewSearchExtension("GL_ANGLE_framebuffer_blit", extStart, extEnd);
9683 if (glewExperimental || GLEW_ANGLE_framebuffer_blit) CONST_CAST(GLEW_ANGLE_framebuffer_blit) = !_glewInit_GL_ANGLE_framebuffer_blit(GLEW_CONTEXT_ARG_VAR_INIT);
9684#endif /* GL_ANGLE_framebuffer_blit */
9685#ifdef GL_ANGLE_framebuffer_multisample
9686 CONST_CAST(GLEW_ANGLE_framebuffer_multisample) = _glewSearchExtension("GL_ANGLE_framebuffer_multisample", extStart, extEnd);
9687 if (glewExperimental || GLEW_ANGLE_framebuffer_multisample) CONST_CAST(GLEW_ANGLE_framebuffer_multisample) = !_glewInit_GL_ANGLE_framebuffer_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
9688#endif /* GL_ANGLE_framebuffer_multisample */
9689#ifdef GL_ANGLE_instanced_arrays
9690 CONST_CAST(GLEW_ANGLE_instanced_arrays) = _glewSearchExtension("GL_ANGLE_instanced_arrays", extStart, extEnd);
9691 if (glewExperimental || GLEW_ANGLE_instanced_arrays) CONST_CAST(GLEW_ANGLE_instanced_arrays) = !_glewInit_GL_ANGLE_instanced_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
9692#endif /* GL_ANGLE_instanced_arrays */
9693#ifdef GL_ANGLE_pack_reverse_row_order
9694 CONST_CAST(GLEW_ANGLE_pack_reverse_row_order) = _glewSearchExtension("GL_ANGLE_pack_reverse_row_order", extStart, extEnd);
9695#endif /* GL_ANGLE_pack_reverse_row_order */
9696#ifdef GL_ANGLE_program_binary
9697 CONST_CAST(GLEW_ANGLE_program_binary) = _glewSearchExtension("GL_ANGLE_program_binary", extStart, extEnd);
9698#endif /* GL_ANGLE_program_binary */
9699#ifdef GL_ANGLE_texture_compression_dxt1
9700 CONST_CAST(GLEW_ANGLE_texture_compression_dxt1) = _glewSearchExtension("GL_ANGLE_texture_compression_dxt1", extStart, extEnd);
9701#endif /* GL_ANGLE_texture_compression_dxt1 */
9702#ifdef GL_ANGLE_texture_compression_dxt3
9703 CONST_CAST(GLEW_ANGLE_texture_compression_dxt3) = _glewSearchExtension("GL_ANGLE_texture_compression_dxt3", extStart, extEnd);
9704#endif /* GL_ANGLE_texture_compression_dxt3 */
9705#ifdef GL_ANGLE_texture_compression_dxt5
9706 CONST_CAST(GLEW_ANGLE_texture_compression_dxt5) = _glewSearchExtension("GL_ANGLE_texture_compression_dxt5", extStart, extEnd);
9707#endif /* GL_ANGLE_texture_compression_dxt5 */
9708#ifdef GL_ANGLE_texture_usage
9709 CONST_CAST(GLEW_ANGLE_texture_usage) = _glewSearchExtension("GL_ANGLE_texture_usage", extStart, extEnd);
9710#endif /* GL_ANGLE_texture_usage */
9711#ifdef GL_ANGLE_timer_query
9712 CONST_CAST(GLEW_ANGLE_timer_query) = _glewSearchExtension("GL_ANGLE_timer_query", extStart, extEnd);
9713 if (glewExperimental || GLEW_ANGLE_timer_query) CONST_CAST(GLEW_ANGLE_timer_query) = !_glewInit_GL_ANGLE_timer_query(GLEW_CONTEXT_ARG_VAR_INIT);
9714#endif /* GL_ANGLE_timer_query */
9715#ifdef GL_ANGLE_translated_shader_source
9716 CONST_CAST(GLEW_ANGLE_translated_shader_source) = _glewSearchExtension("GL_ANGLE_translated_shader_source", extStart, extEnd);
9717 if (glewExperimental || GLEW_ANGLE_translated_shader_source) CONST_CAST(GLEW_ANGLE_translated_shader_source) = !_glewInit_GL_ANGLE_translated_shader_source(GLEW_CONTEXT_ARG_VAR_INIT);
9718#endif /* GL_ANGLE_translated_shader_source */
9719#ifdef GL_APPLE_aux_depth_stencil
9720 CONST_CAST(GLEW_APPLE_aux_depth_stencil) = _glewSearchExtension("GL_APPLE_aux_depth_stencil", extStart, extEnd);
9721#endif /* GL_APPLE_aux_depth_stencil */
9722#ifdef GL_APPLE_client_storage
9723 CONST_CAST(GLEW_APPLE_client_storage) = _glewSearchExtension("GL_APPLE_client_storage", extStart, extEnd);
9724#endif /* GL_APPLE_client_storage */
9725#ifdef GL_APPLE_element_array
9726 CONST_CAST(GLEW_APPLE_element_array) = _glewSearchExtension("GL_APPLE_element_array", extStart, extEnd);
9727 if (glewExperimental || GLEW_APPLE_element_array) CONST_CAST(GLEW_APPLE_element_array) = !_glewInit_GL_APPLE_element_array(GLEW_CONTEXT_ARG_VAR_INIT);
9728#endif /* GL_APPLE_element_array */
9729#ifdef GL_APPLE_fence
9730 CONST_CAST(GLEW_APPLE_fence) = _glewSearchExtension("GL_APPLE_fence", extStart, extEnd);
9731 if (glewExperimental || GLEW_APPLE_fence) CONST_CAST(GLEW_APPLE_fence) = !_glewInit_GL_APPLE_fence(GLEW_CONTEXT_ARG_VAR_INIT);
9732#endif /* GL_APPLE_fence */
9733#ifdef GL_APPLE_float_pixels
9734 CONST_CAST(GLEW_APPLE_float_pixels) = _glewSearchExtension("GL_APPLE_float_pixels", extStart, extEnd);
9735#endif /* GL_APPLE_float_pixels */
9736#ifdef GL_APPLE_flush_buffer_range
9737 CONST_CAST(GLEW_APPLE_flush_buffer_range) = _glewSearchExtension("GL_APPLE_flush_buffer_range", extStart, extEnd);
9738 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);
9739#endif /* GL_APPLE_flush_buffer_range */
9740#ifdef GL_APPLE_object_purgeable
9741 CONST_CAST(GLEW_APPLE_object_purgeable) = _glewSearchExtension("GL_APPLE_object_purgeable", extStart, extEnd);
9742 if (glewExperimental || GLEW_APPLE_object_purgeable) CONST_CAST(GLEW_APPLE_object_purgeable) = !_glewInit_GL_APPLE_object_purgeable(GLEW_CONTEXT_ARG_VAR_INIT);
9743#endif /* GL_APPLE_object_purgeable */
9744#ifdef GL_APPLE_pixel_buffer
9745 CONST_CAST(GLEW_APPLE_pixel_buffer) = _glewSearchExtension("GL_APPLE_pixel_buffer", extStart, extEnd);
9746#endif /* GL_APPLE_pixel_buffer */
9747#ifdef GL_APPLE_rgb_422
9748 CONST_CAST(GLEW_APPLE_rgb_422) = _glewSearchExtension("GL_APPLE_rgb_422", extStart, extEnd);
9749#endif /* GL_APPLE_rgb_422 */
9750#ifdef GL_APPLE_row_bytes
9751 CONST_CAST(GLEW_APPLE_row_bytes) = _glewSearchExtension("GL_APPLE_row_bytes", extStart, extEnd);
9752#endif /* GL_APPLE_row_bytes */
9753#ifdef GL_APPLE_specular_vector
9754 CONST_CAST(GLEW_APPLE_specular_vector) = _glewSearchExtension("GL_APPLE_specular_vector", extStart, extEnd);
9755#endif /* GL_APPLE_specular_vector */
9756#ifdef GL_APPLE_texture_range
9757 CONST_CAST(GLEW_APPLE_texture_range) = _glewSearchExtension("GL_APPLE_texture_range", extStart, extEnd);
9758 if (glewExperimental || GLEW_APPLE_texture_range) CONST_CAST(GLEW_APPLE_texture_range) = !_glewInit_GL_APPLE_texture_range(GLEW_CONTEXT_ARG_VAR_INIT);
9759#endif /* GL_APPLE_texture_range */
9760#ifdef GL_APPLE_transform_hint
9761 CONST_CAST(GLEW_APPLE_transform_hint) = _glewSearchExtension("GL_APPLE_transform_hint", extStart, extEnd);
9762#endif /* GL_APPLE_transform_hint */
9763#ifdef GL_APPLE_vertex_array_object
9764 CONST_CAST(GLEW_APPLE_vertex_array_object) = _glewSearchExtension("GL_APPLE_vertex_array_object", extStart, extEnd);
9765 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);
9766#endif /* GL_APPLE_vertex_array_object */
9767#ifdef GL_APPLE_vertex_array_range
9768 CONST_CAST(GLEW_APPLE_vertex_array_range) = _glewSearchExtension("GL_APPLE_vertex_array_range", extStart, extEnd);
9769 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);
9770#endif /* GL_APPLE_vertex_array_range */
9771#ifdef GL_APPLE_vertex_program_evaluators
9772 CONST_CAST(GLEW_APPLE_vertex_program_evaluators) = _glewSearchExtension("GL_APPLE_vertex_program_evaluators", extStart, extEnd);
9773 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);
9774#endif /* GL_APPLE_vertex_program_evaluators */
9775#ifdef GL_APPLE_ycbcr_422
9776 CONST_CAST(GLEW_APPLE_ycbcr_422) = _glewSearchExtension("GL_APPLE_ycbcr_422", extStart, extEnd);
9777#endif /* GL_APPLE_ycbcr_422 */
9778#ifdef GL_ARB_ES2_compatibility
9779 CONST_CAST(GLEW_ARB_ES2_compatibility) = _glewSearchExtension("GL_ARB_ES2_compatibility", extStart, extEnd);
9780 if (glewExperimental || GLEW_ARB_ES2_compatibility) CONST_CAST(GLEW_ARB_ES2_compatibility) = !_glewInit_GL_ARB_ES2_compatibility(GLEW_CONTEXT_ARG_VAR_INIT);
9781#endif /* GL_ARB_ES2_compatibility */
9782#ifdef GL_ARB_ES3_compatibility
9783 CONST_CAST(GLEW_ARB_ES3_compatibility) = _glewSearchExtension("GL_ARB_ES3_compatibility", extStart, extEnd);
9784#endif /* GL_ARB_ES3_compatibility */
9785#ifdef GL_ARB_arrays_of_arrays
9786 CONST_CAST(GLEW_ARB_arrays_of_arrays) = _glewSearchExtension("GL_ARB_arrays_of_arrays", extStart, extEnd);
9787#endif /* GL_ARB_arrays_of_arrays */
9788#ifdef GL_ARB_base_instance
9789 CONST_CAST(GLEW_ARB_base_instance) = _glewSearchExtension("GL_ARB_base_instance", extStart, extEnd);
9790 if (glewExperimental || GLEW_ARB_base_instance) CONST_CAST(GLEW_ARB_base_instance) = !_glewInit_GL_ARB_base_instance(GLEW_CONTEXT_ARG_VAR_INIT);
9791#endif /* GL_ARB_base_instance */
9792#ifdef GL_ARB_bindless_texture
9793 CONST_CAST(GLEW_ARB_bindless_texture) = _glewSearchExtension("GL_ARB_bindless_texture", extStart, extEnd);
9794 if (glewExperimental || GLEW_ARB_bindless_texture) CONST_CAST(GLEW_ARB_bindless_texture) = !_glewInit_GL_ARB_bindless_texture(GLEW_CONTEXT_ARG_VAR_INIT);
9795#endif /* GL_ARB_bindless_texture */
9796#ifdef GL_ARB_blend_func_extended
9797 CONST_CAST(GLEW_ARB_blend_func_extended) = _glewSearchExtension("GL_ARB_blend_func_extended", extStart, extEnd);
9798 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);
9799#endif /* GL_ARB_blend_func_extended */
9800#ifdef GL_ARB_buffer_storage
9801 CONST_CAST(GLEW_ARB_buffer_storage) = _glewSearchExtension("GL_ARB_buffer_storage", extStart, extEnd);
9802 if (glewExperimental || GLEW_ARB_buffer_storage) CONST_CAST(GLEW_ARB_buffer_storage) = !_glewInit_GL_ARB_buffer_storage(GLEW_CONTEXT_ARG_VAR_INIT);
9803#endif /* GL_ARB_buffer_storage */
9804#ifdef GL_ARB_cl_event
9805 CONST_CAST(GLEW_ARB_cl_event) = _glewSearchExtension("GL_ARB_cl_event", extStart, extEnd);
9806 if (glewExperimental || GLEW_ARB_cl_event) CONST_CAST(GLEW_ARB_cl_event) = !_glewInit_GL_ARB_cl_event(GLEW_CONTEXT_ARG_VAR_INIT);
9807#endif /* GL_ARB_cl_event */
9808#ifdef GL_ARB_clear_buffer_object
9809 CONST_CAST(GLEW_ARB_clear_buffer_object) = _glewSearchExtension("GL_ARB_clear_buffer_object", extStart, extEnd);
9810 if (glewExperimental || GLEW_ARB_clear_buffer_object) CONST_CAST(GLEW_ARB_clear_buffer_object) = !_glewInit_GL_ARB_clear_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
9811#endif /* GL_ARB_clear_buffer_object */
9812#ifdef GL_ARB_clear_texture
9813 CONST_CAST(GLEW_ARB_clear_texture) = _glewSearchExtension("GL_ARB_clear_texture", extStart, extEnd);
9814 if (glewExperimental || GLEW_ARB_clear_texture) CONST_CAST(GLEW_ARB_clear_texture) = !_glewInit_GL_ARB_clear_texture(GLEW_CONTEXT_ARG_VAR_INIT);
9815#endif /* GL_ARB_clear_texture */
9816#ifdef GL_ARB_color_buffer_float
9817 CONST_CAST(GLEW_ARB_color_buffer_float) = _glewSearchExtension("GL_ARB_color_buffer_float", extStart, extEnd);
9818 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);
9819#endif /* GL_ARB_color_buffer_float */
9820#ifdef GL_ARB_compatibility
9821 CONST_CAST(GLEW_ARB_compatibility) = _glewSearchExtension("GL_ARB_compatibility", extStart, extEnd);
9822#endif /* GL_ARB_compatibility */
9823#ifdef GL_ARB_compressed_texture_pixel_storage
9824 CONST_CAST(GLEW_ARB_compressed_texture_pixel_storage) = _glewSearchExtension("GL_ARB_compressed_texture_pixel_storage", extStart, extEnd);
9825#endif /* GL_ARB_compressed_texture_pixel_storage */
9826#ifdef GL_ARB_compute_shader
9827 CONST_CAST(GLEW_ARB_compute_shader) = _glewSearchExtension("GL_ARB_compute_shader", extStart, extEnd);
9828 if (glewExperimental || GLEW_ARB_compute_shader) CONST_CAST(GLEW_ARB_compute_shader) = !_glewInit_GL_ARB_compute_shader(GLEW_CONTEXT_ARG_VAR_INIT);
9829#endif /* GL_ARB_compute_shader */
9830#ifdef GL_ARB_compute_variable_group_size
9831 CONST_CAST(GLEW_ARB_compute_variable_group_size) = _glewSearchExtension("GL_ARB_compute_variable_group_size", extStart, extEnd);
9832 if (glewExperimental || GLEW_ARB_compute_variable_group_size) CONST_CAST(GLEW_ARB_compute_variable_group_size) = !_glewInit_GL_ARB_compute_variable_group_size(GLEW_CONTEXT_ARG_VAR_INIT);
9833#endif /* GL_ARB_compute_variable_group_size */
9834#ifdef GL_ARB_conservative_depth
9835 CONST_CAST(GLEW_ARB_conservative_depth) = _glewSearchExtension("GL_ARB_conservative_depth", extStart, extEnd);
9836#endif /* GL_ARB_conservative_depth */
9837#ifdef GL_ARB_copy_buffer
9838 CONST_CAST(GLEW_ARB_copy_buffer) = _glewSearchExtension("GL_ARB_copy_buffer", extStart, extEnd);
9839 if (glewExperimental || GLEW_ARB_copy_buffer) CONST_CAST(GLEW_ARB_copy_buffer) = !_glewInit_GL_ARB_copy_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
9840#endif /* GL_ARB_copy_buffer */
9841#ifdef GL_ARB_copy_image
9842 CONST_CAST(GLEW_ARB_copy_image) = _glewSearchExtension("GL_ARB_copy_image", extStart, extEnd);
9843 if (glewExperimental || GLEW_ARB_copy_image) CONST_CAST(GLEW_ARB_copy_image) = !_glewInit_GL_ARB_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
9844#endif /* GL_ARB_copy_image */
9845#ifdef GL_ARB_debug_output
9846 CONST_CAST(GLEW_ARB_debug_output) = _glewSearchExtension("GL_ARB_debug_output", extStart, extEnd);
9847 if (glewExperimental || GLEW_ARB_debug_output) CONST_CAST(GLEW_ARB_debug_output) = !_glewInit_GL_ARB_debug_output(GLEW_CONTEXT_ARG_VAR_INIT);
9848#endif /* GL_ARB_debug_output */
9849#ifdef GL_ARB_depth_buffer_float
9850 CONST_CAST(GLEW_ARB_depth_buffer_float) = _glewSearchExtension("GL_ARB_depth_buffer_float", extStart, extEnd);
9851#endif /* GL_ARB_depth_buffer_float */
9852#ifdef GL_ARB_depth_clamp
9853 CONST_CAST(GLEW_ARB_depth_clamp) = _glewSearchExtension("GL_ARB_depth_clamp", extStart, extEnd);
9854#endif /* GL_ARB_depth_clamp */
9855#ifdef GL_ARB_depth_texture
9856 CONST_CAST(GLEW_ARB_depth_texture) = _glewSearchExtension("GL_ARB_depth_texture", extStart, extEnd);
9857#endif /* GL_ARB_depth_texture */
9858#ifdef GL_ARB_draw_buffers
9859 CONST_CAST(GLEW_ARB_draw_buffers) = _glewSearchExtension("GL_ARB_draw_buffers", extStart, extEnd);
9860 if (glewExperimental || GLEW_ARB_draw_buffers) CONST_CAST(GLEW_ARB_draw_buffers) = !_glewInit_GL_ARB_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
9861#endif /* GL_ARB_draw_buffers */
9862#ifdef GL_ARB_draw_buffers_blend
9863 CONST_CAST(GLEW_ARB_draw_buffers_blend) = _glewSearchExtension("GL_ARB_draw_buffers_blend", extStart, extEnd);
9864 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);
9865#endif /* GL_ARB_draw_buffers_blend */
9866#ifdef GL_ARB_draw_elements_base_vertex
9867 CONST_CAST(GLEW_ARB_draw_elements_base_vertex) = _glewSearchExtension("GL_ARB_draw_elements_base_vertex", extStart, extEnd);
9868 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);
9869#endif /* GL_ARB_draw_elements_base_vertex */
9870#ifdef GL_ARB_draw_indirect
9871 CONST_CAST(GLEW_ARB_draw_indirect) = _glewSearchExtension("GL_ARB_draw_indirect", extStart, extEnd);
9872 if (glewExperimental || GLEW_ARB_draw_indirect) CONST_CAST(GLEW_ARB_draw_indirect) = !_glewInit_GL_ARB_draw_indirect(GLEW_CONTEXT_ARG_VAR_INIT);
9873#endif /* GL_ARB_draw_indirect */
9874#ifdef GL_ARB_draw_instanced
9875 CONST_CAST(GLEW_ARB_draw_instanced) = _glewSearchExtension("GL_ARB_draw_instanced", extStart, extEnd);
9876#endif /* GL_ARB_draw_instanced */
9877#ifdef GL_ARB_enhanced_layouts
9878 CONST_CAST(GLEW_ARB_enhanced_layouts) = _glewSearchExtension("GL_ARB_enhanced_layouts", extStart, extEnd);
9879#endif /* GL_ARB_enhanced_layouts */
9880#ifdef GL_ARB_explicit_attrib_location
9881 CONST_CAST(GLEW_ARB_explicit_attrib_location) = _glewSearchExtension("GL_ARB_explicit_attrib_location", extStart, extEnd);
9882#endif /* GL_ARB_explicit_attrib_location */
9883#ifdef GL_ARB_explicit_uniform_location
9884 CONST_CAST(GLEW_ARB_explicit_uniform_location) = _glewSearchExtension("GL_ARB_explicit_uniform_location", extStart, extEnd);
9885#endif /* GL_ARB_explicit_uniform_location */
9886#ifdef GL_ARB_fragment_coord_conventions
9887 CONST_CAST(GLEW_ARB_fragment_coord_conventions) = _glewSearchExtension("GL_ARB_fragment_coord_conventions", extStart, extEnd);
9888#endif /* GL_ARB_fragment_coord_conventions */
9889#ifdef GL_ARB_fragment_layer_viewport
9890 CONST_CAST(GLEW_ARB_fragment_layer_viewport) = _glewSearchExtension("GL_ARB_fragment_layer_viewport", extStart, extEnd);
9891#endif /* GL_ARB_fragment_layer_viewport */
9892#ifdef GL_ARB_fragment_program
9893 CONST_CAST(GLEW_ARB_fragment_program) = _glewSearchExtension("GL_ARB_fragment_program", extStart, extEnd);
9894#endif /* GL_ARB_fragment_program */
9895#ifdef GL_ARB_fragment_program_shadow
9896 CONST_CAST(GLEW_ARB_fragment_program_shadow) = _glewSearchExtension("GL_ARB_fragment_program_shadow", extStart, extEnd);
9897#endif /* GL_ARB_fragment_program_shadow */
9898#ifdef GL_ARB_fragment_shader
9899 CONST_CAST(GLEW_ARB_fragment_shader) = _glewSearchExtension("GL_ARB_fragment_shader", extStart, extEnd);
9900#endif /* GL_ARB_fragment_shader */
9901#ifdef GL_ARB_framebuffer_no_attachments
9902 CONST_CAST(GLEW_ARB_framebuffer_no_attachments) = _glewSearchExtension("GL_ARB_framebuffer_no_attachments", extStart, extEnd);
9903 if (glewExperimental || GLEW_ARB_framebuffer_no_attachments) CONST_CAST(GLEW_ARB_framebuffer_no_attachments) = !_glewInit_GL_ARB_framebuffer_no_attachments(GLEW_CONTEXT_ARG_VAR_INIT);
9904#endif /* GL_ARB_framebuffer_no_attachments */
9905#ifdef GL_ARB_framebuffer_object
9906 CONST_CAST(GLEW_ARB_framebuffer_object) = _glewSearchExtension("GL_ARB_framebuffer_object", extStart, extEnd);
9907 if (glewExperimental || GLEW_ARB_framebuffer_object) CONST_CAST(GLEW_ARB_framebuffer_object) = !_glewInit_GL_ARB_framebuffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
9908#endif /* GL_ARB_framebuffer_object */
9909#ifdef GL_ARB_framebuffer_sRGB
9910 CONST_CAST(GLEW_ARB_framebuffer_sRGB) = _glewSearchExtension("GL_ARB_framebuffer_sRGB", extStart, extEnd);
9911#endif /* GL_ARB_framebuffer_sRGB */
9912#ifdef GL_ARB_geometry_shader4
9913 CONST_CAST(GLEW_ARB_geometry_shader4) = _glewSearchExtension("GL_ARB_geometry_shader4", extStart, extEnd);
9914 if (glewExperimental || GLEW_ARB_geometry_shader4) CONST_CAST(GLEW_ARB_geometry_shader4) = !_glewInit_GL_ARB_geometry_shader4(GLEW_CONTEXT_ARG_VAR_INIT);
9915#endif /* GL_ARB_geometry_shader4 */
9916#ifdef GL_ARB_get_program_binary
9917 CONST_CAST(GLEW_ARB_get_program_binary) = _glewSearchExtension("GL_ARB_get_program_binary", extStart, extEnd);
9918 if (glewExperimental || GLEW_ARB_get_program_binary) CONST_CAST(GLEW_ARB_get_program_binary) = !_glewInit_GL_ARB_get_program_binary(GLEW_CONTEXT_ARG_VAR_INIT);
9919#endif /* GL_ARB_get_program_binary */
9920#ifdef GL_ARB_gpu_shader5
9921 CONST_CAST(GLEW_ARB_gpu_shader5) = _glewSearchExtension("GL_ARB_gpu_shader5", extStart, extEnd);
9922#endif /* GL_ARB_gpu_shader5 */
9923#ifdef GL_ARB_gpu_shader_fp64
9924 CONST_CAST(GLEW_ARB_gpu_shader_fp64) = _glewSearchExtension("GL_ARB_gpu_shader_fp64", extStart, extEnd);
9925 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);
9926#endif /* GL_ARB_gpu_shader_fp64 */
9927#ifdef GL_ARB_half_float_pixel
9928 CONST_CAST(GLEW_ARB_half_float_pixel) = _glewSearchExtension("GL_ARB_half_float_pixel", extStart, extEnd);
9929#endif /* GL_ARB_half_float_pixel */
9930#ifdef GL_ARB_half_float_vertex
9931 CONST_CAST(GLEW_ARB_half_float_vertex) = _glewSearchExtension("GL_ARB_half_float_vertex", extStart, extEnd);
9932#endif /* GL_ARB_half_float_vertex */
9933#ifdef GL_ARB_imaging
9934 CONST_CAST(GLEW_ARB_imaging) = _glewSearchExtension("GL_ARB_imaging", extStart, extEnd);
9935 if (glewExperimental || GLEW_ARB_imaging) CONST_CAST(GLEW_ARB_imaging) = !_glewInit_GL_ARB_imaging(GLEW_CONTEXT_ARG_VAR_INIT);
9936#endif /* GL_ARB_imaging */
9937#ifdef GL_ARB_indirect_parameters
9938 CONST_CAST(GLEW_ARB_indirect_parameters) = _glewSearchExtension("GL_ARB_indirect_parameters", extStart, extEnd);
9939 if (glewExperimental || GLEW_ARB_indirect_parameters) CONST_CAST(GLEW_ARB_indirect_parameters) = !_glewInit_GL_ARB_indirect_parameters(GLEW_CONTEXT_ARG_VAR_INIT);
9940#endif /* GL_ARB_indirect_parameters */
9941#ifdef GL_ARB_instanced_arrays
9942 CONST_CAST(GLEW_ARB_instanced_arrays) = _glewSearchExtension("GL_ARB_instanced_arrays", extStart, extEnd);
9943 if (glewExperimental || GLEW_ARB_instanced_arrays) CONST_CAST(GLEW_ARB_instanced_arrays) = !_glewInit_GL_ARB_instanced_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
9944#endif /* GL_ARB_instanced_arrays */
9945#ifdef GL_ARB_internalformat_query
9946 CONST_CAST(GLEW_ARB_internalformat_query) = _glewSearchExtension("GL_ARB_internalformat_query", extStart, extEnd);
9947 if (glewExperimental || GLEW_ARB_internalformat_query) CONST_CAST(GLEW_ARB_internalformat_query) = !_glewInit_GL_ARB_internalformat_query(GLEW_CONTEXT_ARG_VAR_INIT);
9948#endif /* GL_ARB_internalformat_query */
9949#ifdef GL_ARB_internalformat_query2
9950 CONST_CAST(GLEW_ARB_internalformat_query2) = _glewSearchExtension("GL_ARB_internalformat_query2", extStart, extEnd);
9951 if (glewExperimental || GLEW_ARB_internalformat_query2) CONST_CAST(GLEW_ARB_internalformat_query2) = !_glewInit_GL_ARB_internalformat_query2(GLEW_CONTEXT_ARG_VAR_INIT);
9952#endif /* GL_ARB_internalformat_query2 */
9953#ifdef GL_ARB_invalidate_subdata
9954 CONST_CAST(GLEW_ARB_invalidate_subdata) = _glewSearchExtension("GL_ARB_invalidate_subdata", extStart, extEnd);
9955 if (glewExperimental || GLEW_ARB_invalidate_subdata) CONST_CAST(GLEW_ARB_invalidate_subdata) = !_glewInit_GL_ARB_invalidate_subdata(GLEW_CONTEXT_ARG_VAR_INIT);
9956#endif /* GL_ARB_invalidate_subdata */
9957#ifdef GL_ARB_map_buffer_alignment
9958 CONST_CAST(GLEW_ARB_map_buffer_alignment) = _glewSearchExtension("GL_ARB_map_buffer_alignment", extStart, extEnd);
9959#endif /* GL_ARB_map_buffer_alignment */
9960#ifdef GL_ARB_map_buffer_range
9961 CONST_CAST(GLEW_ARB_map_buffer_range) = _glewSearchExtension("GL_ARB_map_buffer_range", extStart, extEnd);
9962 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);
9963#endif /* GL_ARB_map_buffer_range */
9964#ifdef GL_ARB_matrix_palette
9965 CONST_CAST(GLEW_ARB_matrix_palette) = _glewSearchExtension("GL_ARB_matrix_palette", extStart, extEnd);
9966 if (glewExperimental || GLEW_ARB_matrix_palette) CONST_CAST(GLEW_ARB_matrix_palette) = !_glewInit_GL_ARB_matrix_palette(GLEW_CONTEXT_ARG_VAR_INIT);
9967#endif /* GL_ARB_matrix_palette */
9968#ifdef GL_ARB_multi_bind
9969 CONST_CAST(GLEW_ARB_multi_bind) = _glewSearchExtension("GL_ARB_multi_bind", extStart, extEnd);
9970 if (glewExperimental || GLEW_ARB_multi_bind) CONST_CAST(GLEW_ARB_multi_bind) = !_glewInit_GL_ARB_multi_bind(GLEW_CONTEXT_ARG_VAR_INIT);
9971#endif /* GL_ARB_multi_bind */
9972#ifdef GL_ARB_multi_draw_indirect
9973 CONST_CAST(GLEW_ARB_multi_draw_indirect) = _glewSearchExtension("GL_ARB_multi_draw_indirect", extStart, extEnd);
9974 if (glewExperimental || GLEW_ARB_multi_draw_indirect) CONST_CAST(GLEW_ARB_multi_draw_indirect) = !_glewInit_GL_ARB_multi_draw_indirect(GLEW_CONTEXT_ARG_VAR_INIT);
9975#endif /* GL_ARB_multi_draw_indirect */
9976#ifdef GL_ARB_multisample
9977 CONST_CAST(GLEW_ARB_multisample) = _glewSearchExtension("GL_ARB_multisample", extStart, extEnd);
9978 if (glewExperimental || GLEW_ARB_multisample) CONST_CAST(GLEW_ARB_multisample) = !_glewInit_GL_ARB_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
9979#endif /* GL_ARB_multisample */
9980#ifdef GL_ARB_multitexture
9981 CONST_CAST(GLEW_ARB_multitexture) = _glewSearchExtension("GL_ARB_multitexture", extStart, extEnd);
9982 if (glewExperimental || GLEW_ARB_multitexture) CONST_CAST(GLEW_ARB_multitexture) = !_glewInit_GL_ARB_multitexture(GLEW_CONTEXT_ARG_VAR_INIT);
9983#endif /* GL_ARB_multitexture */
9984#ifdef GL_ARB_occlusion_query
9985 CONST_CAST(GLEW_ARB_occlusion_query) = _glewSearchExtension("GL_ARB_occlusion_query", extStart, extEnd);
9986 if (glewExperimental || GLEW_ARB_occlusion_query) CONST_CAST(GLEW_ARB_occlusion_query) = !_glewInit_GL_ARB_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT);
9987#endif /* GL_ARB_occlusion_query */
9988#ifdef GL_ARB_occlusion_query2
9989 CONST_CAST(GLEW_ARB_occlusion_query2) = _glewSearchExtension("GL_ARB_occlusion_query2", extStart, extEnd);
9990#endif /* GL_ARB_occlusion_query2 */
9991#ifdef GL_ARB_pixel_buffer_object
9992 CONST_CAST(GLEW_ARB_pixel_buffer_object) = _glewSearchExtension("GL_ARB_pixel_buffer_object", extStart, extEnd);
9993#endif /* GL_ARB_pixel_buffer_object */
9994#ifdef GL_ARB_point_parameters
9995 CONST_CAST(GLEW_ARB_point_parameters) = _glewSearchExtension("GL_ARB_point_parameters", extStart, extEnd);
9996 if (glewExperimental || GLEW_ARB_point_parameters) CONST_CAST(GLEW_ARB_point_parameters) = !_glewInit_GL_ARB_point_parameters(GLEW_CONTEXT_ARG_VAR_INIT);
9997#endif /* GL_ARB_point_parameters */
9998#ifdef GL_ARB_point_sprite
9999 CONST_CAST(GLEW_ARB_point_sprite) = _glewSearchExtension("GL_ARB_point_sprite", extStart, extEnd);
10000#endif /* GL_ARB_point_sprite */
10001#ifdef GL_ARB_program_interface_query
10002 CONST_CAST(GLEW_ARB_program_interface_query) = _glewSearchExtension("GL_ARB_program_interface_query", extStart, extEnd);
10003 if (glewExperimental || GLEW_ARB_program_interface_query) CONST_CAST(GLEW_ARB_program_interface_query) = !_glewInit_GL_ARB_program_interface_query(GLEW_CONTEXT_ARG_VAR_INIT);
10004#endif /* GL_ARB_program_interface_query */
10005#ifdef GL_ARB_provoking_vertex
10006 CONST_CAST(GLEW_ARB_provoking_vertex) = _glewSearchExtension("GL_ARB_provoking_vertex", extStart, extEnd);
10007 if (glewExperimental || GLEW_ARB_provoking_vertex) CONST_CAST(GLEW_ARB_provoking_vertex) = !_glewInit_GL_ARB_provoking_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
10008#endif /* GL_ARB_provoking_vertex */
10009#ifdef GL_ARB_query_buffer_object
10010 CONST_CAST(GLEW_ARB_query_buffer_object) = _glewSearchExtension("GL_ARB_query_buffer_object", extStart, extEnd);
10011#endif /* GL_ARB_query_buffer_object */
10012#ifdef GL_ARB_robust_buffer_access_behavior
10013 CONST_CAST(GLEW_ARB_robust_buffer_access_behavior) = _glewSearchExtension("GL_ARB_robust_buffer_access_behavior", extStart, extEnd);
10014#endif /* GL_ARB_robust_buffer_access_behavior */
10015#ifdef GL_ARB_robustness
10016 CONST_CAST(GLEW_ARB_robustness) = _glewSearchExtension("GL_ARB_robustness", extStart, extEnd);
10017 if (glewExperimental || GLEW_ARB_robustness) CONST_CAST(GLEW_ARB_robustness) = !_glewInit_GL_ARB_robustness(GLEW_CONTEXT_ARG_VAR_INIT);
10018#endif /* GL_ARB_robustness */
10019#ifdef GL_ARB_robustness_application_isolation
10020 CONST_CAST(GLEW_ARB_robustness_application_isolation) = _glewSearchExtension("GL_ARB_robustness_application_isolation", extStart, extEnd);
10021#endif /* GL_ARB_robustness_application_isolation */
10022#ifdef GL_ARB_robustness_share_group_isolation
10023 CONST_CAST(GLEW_ARB_robustness_share_group_isolation) = _glewSearchExtension("GL_ARB_robustness_share_group_isolation", extStart, extEnd);
10024#endif /* GL_ARB_robustness_share_group_isolation */
10025#ifdef GL_ARB_sample_shading
10026 CONST_CAST(GLEW_ARB_sample_shading) = _glewSearchExtension("GL_ARB_sample_shading", extStart, extEnd);
10027 if (glewExperimental || GLEW_ARB_sample_shading) CONST_CAST(GLEW_ARB_sample_shading) = !_glewInit_GL_ARB_sample_shading(GLEW_CONTEXT_ARG_VAR_INIT);
10028#endif /* GL_ARB_sample_shading */
10029#ifdef GL_ARB_sampler_objects
10030 CONST_CAST(GLEW_ARB_sampler_objects) = _glewSearchExtension("GL_ARB_sampler_objects", extStart, extEnd);
10031 if (glewExperimental || GLEW_ARB_sampler_objects) CONST_CAST(GLEW_ARB_sampler_objects) = !_glewInit_GL_ARB_sampler_objects(GLEW_CONTEXT_ARG_VAR_INIT);
10032#endif /* GL_ARB_sampler_objects */
10033#ifdef GL_ARB_seamless_cube_map
10034 CONST_CAST(GLEW_ARB_seamless_cube_map) = _glewSearchExtension("GL_ARB_seamless_cube_map", extStart, extEnd);
10035#endif /* GL_ARB_seamless_cube_map */
10036#ifdef GL_ARB_seamless_cubemap_per_texture
10037 CONST_CAST(GLEW_ARB_seamless_cubemap_per_texture) = _glewSearchExtension("GL_ARB_seamless_cubemap_per_texture", extStart, extEnd);
10038#endif /* GL_ARB_seamless_cubemap_per_texture */
10039#ifdef GL_ARB_separate_shader_objects
10040 CONST_CAST(GLEW_ARB_separate_shader_objects) = _glewSearchExtension("GL_ARB_separate_shader_objects", extStart, extEnd);
10041 if (glewExperimental || GLEW_ARB_separate_shader_objects) CONST_CAST(GLEW_ARB_separate_shader_objects) = !_glewInit_GL_ARB_separate_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT);
10042#endif /* GL_ARB_separate_shader_objects */
10043#ifdef GL_ARB_shader_atomic_counters
10044 CONST_CAST(GLEW_ARB_shader_atomic_counters) = _glewSearchExtension("GL_ARB_shader_atomic_counters", extStart, extEnd);
10045 if (glewExperimental || GLEW_ARB_shader_atomic_counters) CONST_CAST(GLEW_ARB_shader_atomic_counters) = !_glewInit_GL_ARB_shader_atomic_counters(GLEW_CONTEXT_ARG_VAR_INIT);
10046#endif /* GL_ARB_shader_atomic_counters */
10047#ifdef GL_ARB_shader_bit_encoding
10048 CONST_CAST(GLEW_ARB_shader_bit_encoding) = _glewSearchExtension("GL_ARB_shader_bit_encoding", extStart, extEnd);
10049#endif /* GL_ARB_shader_bit_encoding */
10050#ifdef GL_ARB_shader_draw_parameters
10051 CONST_CAST(GLEW_ARB_shader_draw_parameters) = _glewSearchExtension("GL_ARB_shader_draw_parameters", extStart, extEnd);
10052#endif /* GL_ARB_shader_draw_parameters */
10053#ifdef GL_ARB_shader_group_vote
10054 CONST_CAST(GLEW_ARB_shader_group_vote) = _glewSearchExtension("GL_ARB_shader_group_vote", extStart, extEnd);
10055#endif /* GL_ARB_shader_group_vote */
10056#ifdef GL_ARB_shader_image_load_store
10057 CONST_CAST(GLEW_ARB_shader_image_load_store) = _glewSearchExtension("GL_ARB_shader_image_load_store", extStart, extEnd);
10058 if (glewExperimental || GLEW_ARB_shader_image_load_store) CONST_CAST(GLEW_ARB_shader_image_load_store) = !_glewInit_GL_ARB_shader_image_load_store(GLEW_CONTEXT_ARG_VAR_INIT);
10059#endif /* GL_ARB_shader_image_load_store */
10060#ifdef GL_ARB_shader_image_size
10061 CONST_CAST(GLEW_ARB_shader_image_size) = _glewSearchExtension("GL_ARB_shader_image_size", extStart, extEnd);
10062#endif /* GL_ARB_shader_image_size */
10063#ifdef GL_ARB_shader_objects
10064 CONST_CAST(GLEW_ARB_shader_objects) = _glewSearchExtension("GL_ARB_shader_objects", extStart, extEnd);
10065 if (glewExperimental || GLEW_ARB_shader_objects) CONST_CAST(GLEW_ARB_shader_objects) = !_glewInit_GL_ARB_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT);
10066#endif /* GL_ARB_shader_objects */
10067#ifdef GL_ARB_shader_precision
10068 CONST_CAST(GLEW_ARB_shader_precision) = _glewSearchExtension("GL_ARB_shader_precision", extStart, extEnd);
10069#endif /* GL_ARB_shader_precision */
10070#ifdef GL_ARB_shader_stencil_export
10071 CONST_CAST(GLEW_ARB_shader_stencil_export) = _glewSearchExtension("GL_ARB_shader_stencil_export", extStart, extEnd);
10072#endif /* GL_ARB_shader_stencil_export */
10073#ifdef GL_ARB_shader_storage_buffer_object
10074 CONST_CAST(GLEW_ARB_shader_storage_buffer_object) = _glewSearchExtension("GL_ARB_shader_storage_buffer_object", extStart, extEnd);
10075 if (glewExperimental || GLEW_ARB_shader_storage_buffer_object) CONST_CAST(GLEW_ARB_shader_storage_buffer_object) = !_glewInit_GL_ARB_shader_storage_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
10076#endif /* GL_ARB_shader_storage_buffer_object */
10077#ifdef GL_ARB_shader_subroutine
10078 CONST_CAST(GLEW_ARB_shader_subroutine) = _glewSearchExtension("GL_ARB_shader_subroutine", extStart, extEnd);
10079 if (glewExperimental || GLEW_ARB_shader_subroutine) CONST_CAST(GLEW_ARB_shader_subroutine) = !_glewInit_GL_ARB_shader_subroutine(GLEW_CONTEXT_ARG_VAR_INIT);
10080#endif /* GL_ARB_shader_subroutine */
10081#ifdef GL_ARB_shader_texture_lod
10082 CONST_CAST(GLEW_ARB_shader_texture_lod) = _glewSearchExtension("GL_ARB_shader_texture_lod", extStart, extEnd);
10083#endif /* GL_ARB_shader_texture_lod */
10084#ifdef GL_ARB_shading_language_100
10085 CONST_CAST(GLEW_ARB_shading_language_100) = _glewSearchExtension("GL_ARB_shading_language_100", extStart, extEnd);
10086#endif /* GL_ARB_shading_language_100 */
10087#ifdef GL_ARB_shading_language_420pack
10088 CONST_CAST(GLEW_ARB_shading_language_420pack) = _glewSearchExtension("GL_ARB_shading_language_420pack", extStart, extEnd);
10089#endif /* GL_ARB_shading_language_420pack */
10090#ifdef GL_ARB_shading_language_include
10091 CONST_CAST(GLEW_ARB_shading_language_include) = _glewSearchExtension("GL_ARB_shading_language_include", extStart, extEnd);
10092 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);
10093#endif /* GL_ARB_shading_language_include */
10094#ifdef GL_ARB_shading_language_packing
10095 CONST_CAST(GLEW_ARB_shading_language_packing) = _glewSearchExtension("GL_ARB_shading_language_packing", extStart, extEnd);
10096#endif /* GL_ARB_shading_language_packing */
10097#ifdef GL_ARB_shadow
10098 CONST_CAST(GLEW_ARB_shadow) = _glewSearchExtension("GL_ARB_shadow", extStart, extEnd);
10099#endif /* GL_ARB_shadow */
10100#ifdef GL_ARB_shadow_ambient
10101 CONST_CAST(GLEW_ARB_shadow_ambient) = _glewSearchExtension("GL_ARB_shadow_ambient", extStart, extEnd);
10102#endif /* GL_ARB_shadow_ambient */
10103#ifdef GL_ARB_sparse_texture
10104 CONST_CAST(GLEW_ARB_sparse_texture) = _glewSearchExtension("GL_ARB_sparse_texture", extStart, extEnd);
10105 if (glewExperimental || GLEW_ARB_sparse_texture) CONST_CAST(GLEW_ARB_sparse_texture) = !_glewInit_GL_ARB_sparse_texture(GLEW_CONTEXT_ARG_VAR_INIT);
10106#endif /* GL_ARB_sparse_texture */
10107#ifdef GL_ARB_stencil_texturing
10108 CONST_CAST(GLEW_ARB_stencil_texturing) = _glewSearchExtension("GL_ARB_stencil_texturing", extStart, extEnd);
10109#endif /* GL_ARB_stencil_texturing */
10110#ifdef GL_ARB_sync
10111 CONST_CAST(GLEW_ARB_sync) = _glewSearchExtension("GL_ARB_sync", extStart, extEnd);
10112 if (glewExperimental || GLEW_ARB_sync) CONST_CAST(GLEW_ARB_sync) = !_glewInit_GL_ARB_sync(GLEW_CONTEXT_ARG_VAR_INIT);
10113#endif /* GL_ARB_sync */
10114#ifdef GL_ARB_tessellation_shader
10115 CONST_CAST(GLEW_ARB_tessellation_shader) = _glewSearchExtension("GL_ARB_tessellation_shader", extStart, extEnd);
10116 if (glewExperimental || GLEW_ARB_tessellation_shader) CONST_CAST(GLEW_ARB_tessellation_shader) = !_glewInit_GL_ARB_tessellation_shader(GLEW_CONTEXT_ARG_VAR_INIT);
10117#endif /* GL_ARB_tessellation_shader */
10118#ifdef GL_ARB_texture_border_clamp
10119 CONST_CAST(GLEW_ARB_texture_border_clamp) = _glewSearchExtension("GL_ARB_texture_border_clamp", extStart, extEnd);
10120#endif /* GL_ARB_texture_border_clamp */
10121#ifdef GL_ARB_texture_buffer_object
10122 CONST_CAST(GLEW_ARB_texture_buffer_object) = _glewSearchExtension("GL_ARB_texture_buffer_object", extStart, extEnd);
10123 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);
10124#endif /* GL_ARB_texture_buffer_object */
10125#ifdef GL_ARB_texture_buffer_object_rgb32
10126 CONST_CAST(GLEW_ARB_texture_buffer_object_rgb32) = _glewSearchExtension("GL_ARB_texture_buffer_object_rgb32", extStart, extEnd);
10127#endif /* GL_ARB_texture_buffer_object_rgb32 */
10128#ifdef GL_ARB_texture_buffer_range
10129 CONST_CAST(GLEW_ARB_texture_buffer_range) = _glewSearchExtension("GL_ARB_texture_buffer_range", extStart, extEnd);
10130 if (glewExperimental || GLEW_ARB_texture_buffer_range) CONST_CAST(GLEW_ARB_texture_buffer_range) = !_glewInit_GL_ARB_texture_buffer_range(GLEW_CONTEXT_ARG_VAR_INIT);
10131#endif /* GL_ARB_texture_buffer_range */
10132#ifdef GL_ARB_texture_compression
10133 CONST_CAST(GLEW_ARB_texture_compression) = _glewSearchExtension("GL_ARB_texture_compression", extStart, extEnd);
10134 if (glewExperimental || GLEW_ARB_texture_compression) CONST_CAST(GLEW_ARB_texture_compression) = !_glewInit_GL_ARB_texture_compression(GLEW_CONTEXT_ARG_VAR_INIT);
10135#endif /* GL_ARB_texture_compression */
10136#ifdef GL_ARB_texture_compression_bptc
10137 CONST_CAST(GLEW_ARB_texture_compression_bptc) = _glewSearchExtension("GL_ARB_texture_compression_bptc", extStart, extEnd);
10138#endif /* GL_ARB_texture_compression_bptc */
10139#ifdef GL_ARB_texture_compression_rgtc
10140 CONST_CAST(GLEW_ARB_texture_compression_rgtc) = _glewSearchExtension("GL_ARB_texture_compression_rgtc", extStart, extEnd);
10141#endif /* GL_ARB_texture_compression_rgtc */
10142#ifdef GL_ARB_texture_cube_map
10143 CONST_CAST(GLEW_ARB_texture_cube_map) = _glewSearchExtension("GL_ARB_texture_cube_map", extStart, extEnd);
10144#endif /* GL_ARB_texture_cube_map */
10145#ifdef GL_ARB_texture_cube_map_array
10146 CONST_CAST(GLEW_ARB_texture_cube_map_array) = _glewSearchExtension("GL_ARB_texture_cube_map_array", extStart, extEnd);
10147#endif /* GL_ARB_texture_cube_map_array */
10148#ifdef GL_ARB_texture_env_add
10149 CONST_CAST(GLEW_ARB_texture_env_add) = _glewSearchExtension("GL_ARB_texture_env_add", extStart, extEnd);
10150#endif /* GL_ARB_texture_env_add */
10151#ifdef GL_ARB_texture_env_combine
10152 CONST_CAST(GLEW_ARB_texture_env_combine) = _glewSearchExtension("GL_ARB_texture_env_combine", extStart, extEnd);
10153#endif /* GL_ARB_texture_env_combine */
10154#ifdef GL_ARB_texture_env_crossbar
10155 CONST_CAST(GLEW_ARB_texture_env_crossbar) = _glewSearchExtension("GL_ARB_texture_env_crossbar", extStart, extEnd);
10156#endif /* GL_ARB_texture_env_crossbar */
10157#ifdef GL_ARB_texture_env_dot3
10158 CONST_CAST(GLEW_ARB_texture_env_dot3) = _glewSearchExtension("GL_ARB_texture_env_dot3", extStart, extEnd);
10159#endif /* GL_ARB_texture_env_dot3 */
10160#ifdef GL_ARB_texture_float
10161 CONST_CAST(GLEW_ARB_texture_float) = _glewSearchExtension("GL_ARB_texture_float", extStart, extEnd);
10162#endif /* GL_ARB_texture_float */
10163#ifdef GL_ARB_texture_gather
10164 CONST_CAST(GLEW_ARB_texture_gather) = _glewSearchExtension("GL_ARB_texture_gather", extStart, extEnd);
10165#endif /* GL_ARB_texture_gather */
10166#ifdef GL_ARB_texture_mirror_clamp_to_edge
10167 CONST_CAST(GLEW_ARB_texture_mirror_clamp_to_edge) = _glewSearchExtension("GL_ARB_texture_mirror_clamp_to_edge", extStart, extEnd);
10168#endif /* GL_ARB_texture_mirror_clamp_to_edge */
10169#ifdef GL_ARB_texture_mirrored_repeat
10170 CONST_CAST(GLEW_ARB_texture_mirrored_repeat) = _glewSearchExtension("GL_ARB_texture_mirrored_repeat", extStart, extEnd);
10171#endif /* GL_ARB_texture_mirrored_repeat */
10172#ifdef GL_ARB_texture_multisample
10173 CONST_CAST(GLEW_ARB_texture_multisample) = _glewSearchExtension("GL_ARB_texture_multisample", extStart, extEnd);
10174 if (glewExperimental || GLEW_ARB_texture_multisample) CONST_CAST(GLEW_ARB_texture_multisample) = !_glewInit_GL_ARB_texture_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
10175#endif /* GL_ARB_texture_multisample */
10176#ifdef GL_ARB_texture_non_power_of_two
10177 CONST_CAST(GLEW_ARB_texture_non_power_of_two) = _glewSearchExtension("GL_ARB_texture_non_power_of_two", extStart, extEnd);
10178#endif /* GL_ARB_texture_non_power_of_two */
10179#ifdef GL_ARB_texture_query_levels
10180 CONST_CAST(GLEW_ARB_texture_query_levels) = _glewSearchExtension("GL_ARB_texture_query_levels", extStart, extEnd);
10181#endif /* GL_ARB_texture_query_levels */
10182#ifdef GL_ARB_texture_query_lod
10183 CONST_CAST(GLEW_ARB_texture_query_lod) = _glewSearchExtension("GL_ARB_texture_query_lod", extStart, extEnd);
10184#endif /* GL_ARB_texture_query_lod */
10185#ifdef GL_ARB_texture_rectangle
10186 CONST_CAST(GLEW_ARB_texture_rectangle) = _glewSearchExtension("GL_ARB_texture_rectangle", extStart, extEnd);
10187#endif /* GL_ARB_texture_rectangle */
10188#ifdef GL_ARB_texture_rg
10189 CONST_CAST(GLEW_ARB_texture_rg) = _glewSearchExtension("GL_ARB_texture_rg", extStart, extEnd);
10190#endif /* GL_ARB_texture_rg */
10191#ifdef GL_ARB_texture_rgb10_a2ui
10192 CONST_CAST(GLEW_ARB_texture_rgb10_a2ui) = _glewSearchExtension("GL_ARB_texture_rgb10_a2ui", extStart, extEnd);
10193#endif /* GL_ARB_texture_rgb10_a2ui */
10194#ifdef GL_ARB_texture_stencil8
10195 CONST_CAST(GLEW_ARB_texture_stencil8) = _glewSearchExtension("GL_ARB_texture_stencil8", extStart, extEnd);
10196#endif /* GL_ARB_texture_stencil8 */
10197#ifdef GL_ARB_texture_storage
10198 CONST_CAST(GLEW_ARB_texture_storage) = _glewSearchExtension("GL_ARB_texture_storage", extStart, extEnd);
10199 if (glewExperimental || GLEW_ARB_texture_storage) CONST_CAST(GLEW_ARB_texture_storage) = !_glewInit_GL_ARB_texture_storage(GLEW_CONTEXT_ARG_VAR_INIT);
10200#endif /* GL_ARB_texture_storage */
10201#ifdef GL_ARB_texture_storage_multisample
10202 CONST_CAST(GLEW_ARB_texture_storage_multisample) = _glewSearchExtension("GL_ARB_texture_storage_multisample", extStart, extEnd);
10203 if (glewExperimental || GLEW_ARB_texture_storage_multisample) CONST_CAST(GLEW_ARB_texture_storage_multisample) = !_glewInit_GL_ARB_texture_storage_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
10204#endif /* GL_ARB_texture_storage_multisample */
10205#ifdef GL_ARB_texture_swizzle
10206 CONST_CAST(GLEW_ARB_texture_swizzle) = _glewSearchExtension("GL_ARB_texture_swizzle", extStart, extEnd);
10207#endif /* GL_ARB_texture_swizzle */
10208#ifdef GL_ARB_texture_view
10209 CONST_CAST(GLEW_ARB_texture_view) = _glewSearchExtension("GL_ARB_texture_view", extStart, extEnd);
10210 if (glewExperimental || GLEW_ARB_texture_view) CONST_CAST(GLEW_ARB_texture_view) = !_glewInit_GL_ARB_texture_view(GLEW_CONTEXT_ARG_VAR_INIT);
10211#endif /* GL_ARB_texture_view */
10212#ifdef GL_ARB_timer_query
10213 CONST_CAST(GLEW_ARB_timer_query) = _glewSearchExtension("GL_ARB_timer_query", extStart, extEnd);
10214 if (glewExperimental || GLEW_ARB_timer_query) CONST_CAST(GLEW_ARB_timer_query) = !_glewInit_GL_ARB_timer_query(GLEW_CONTEXT_ARG_VAR_INIT);
10215#endif /* GL_ARB_timer_query */
10216#ifdef GL_ARB_transform_feedback2
10217 CONST_CAST(GLEW_ARB_transform_feedback2) = _glewSearchExtension("GL_ARB_transform_feedback2", extStart, extEnd);
10218 if (glewExperimental || GLEW_ARB_transform_feedback2) CONST_CAST(GLEW_ARB_transform_feedback2) = !_glewInit_GL_ARB_transform_feedback2(GLEW_CONTEXT_ARG_VAR_INIT);
10219#endif /* GL_ARB_transform_feedback2 */
10220#ifdef GL_ARB_transform_feedback3
10221 CONST_CAST(GLEW_ARB_transform_feedback3) = _glewSearchExtension("GL_ARB_transform_feedback3", extStart, extEnd);
10222 if (glewExperimental || GLEW_ARB_transform_feedback3) CONST_CAST(GLEW_ARB_transform_feedback3) = !_glewInit_GL_ARB_transform_feedback3(GLEW_CONTEXT_ARG_VAR_INIT);
10223#endif /* GL_ARB_transform_feedback3 */
10224#ifdef GL_ARB_transform_feedback_instanced
10225 CONST_CAST(GLEW_ARB_transform_feedback_instanced) = _glewSearchExtension("GL_ARB_transform_feedback_instanced", extStart, extEnd);
10226 if (glewExperimental || GLEW_ARB_transform_feedback_instanced) CONST_CAST(GLEW_ARB_transform_feedback_instanced) = !_glewInit_GL_ARB_transform_feedback_instanced(GLEW_CONTEXT_ARG_VAR_INIT);
10227#endif /* GL_ARB_transform_feedback_instanced */
10228#ifdef GL_ARB_transpose_matrix
10229 CONST_CAST(GLEW_ARB_transpose_matrix) = _glewSearchExtension("GL_ARB_transpose_matrix", extStart, extEnd);
10230 if (glewExperimental || GLEW_ARB_transpose_matrix) CONST_CAST(GLEW_ARB_transpose_matrix) = !_glewInit_GL_ARB_transpose_matrix(GLEW_CONTEXT_ARG_VAR_INIT);
10231#endif /* GL_ARB_transpose_matrix */
10232#ifdef GL_ARB_uniform_buffer_object
10233 CONST_CAST(GLEW_ARB_uniform_buffer_object) = _glewSearchExtension("GL_ARB_uniform_buffer_object", extStart, extEnd);
10234 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);
10235#endif /* GL_ARB_uniform_buffer_object */
10236#ifdef GL_ARB_vertex_array_bgra
10237 CONST_CAST(GLEW_ARB_vertex_array_bgra) = _glewSearchExtension("GL_ARB_vertex_array_bgra", extStart, extEnd);
10238#endif /* GL_ARB_vertex_array_bgra */
10239#ifdef GL_ARB_vertex_array_object
10240 CONST_CAST(GLEW_ARB_vertex_array_object) = _glewSearchExtension("GL_ARB_vertex_array_object", extStart, extEnd);
10241 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);
10242#endif /* GL_ARB_vertex_array_object */
10243#ifdef GL_ARB_vertex_attrib_64bit
10244 CONST_CAST(GLEW_ARB_vertex_attrib_64bit) = _glewSearchExtension("GL_ARB_vertex_attrib_64bit", extStart, extEnd);
10245 if (glewExperimental || GLEW_ARB_vertex_attrib_64bit) CONST_CAST(GLEW_ARB_vertex_attrib_64bit) = !_glewInit_GL_ARB_vertex_attrib_64bit(GLEW_CONTEXT_ARG_VAR_INIT);
10246#endif /* GL_ARB_vertex_attrib_64bit */
10247#ifdef GL_ARB_vertex_attrib_binding
10248 CONST_CAST(GLEW_ARB_vertex_attrib_binding) = _glewSearchExtension("GL_ARB_vertex_attrib_binding", extStart, extEnd);
10249 if (glewExperimental || GLEW_ARB_vertex_attrib_binding) CONST_CAST(GLEW_ARB_vertex_attrib_binding) = !_glewInit_GL_ARB_vertex_attrib_binding(GLEW_CONTEXT_ARG_VAR_INIT);
10250#endif /* GL_ARB_vertex_attrib_binding */
10251#ifdef GL_ARB_vertex_blend
10252 CONST_CAST(GLEW_ARB_vertex_blend) = _glewSearchExtension("GL_ARB_vertex_blend", extStart, extEnd);
10253 if (glewExperimental || GLEW_ARB_vertex_blend) CONST_CAST(GLEW_ARB_vertex_blend) = !_glewInit_GL_ARB_vertex_blend(GLEW_CONTEXT_ARG_VAR_INIT);
10254#endif /* GL_ARB_vertex_blend */
10255#ifdef GL_ARB_vertex_buffer_object
10256 CONST_CAST(GLEW_ARB_vertex_buffer_object) = _glewSearchExtension("GL_ARB_vertex_buffer_object", extStart, extEnd);
10257 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);
10258#endif /* GL_ARB_vertex_buffer_object */
10259#ifdef GL_ARB_vertex_program
10260 CONST_CAST(GLEW_ARB_vertex_program) = _glewSearchExtension("GL_ARB_vertex_program", extStart, extEnd);
10261 if (glewExperimental || GLEW_ARB_vertex_program) CONST_CAST(GLEW_ARB_vertex_program) = !_glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT);
10262#endif /* GL_ARB_vertex_program */
10263#ifdef GL_ARB_vertex_shader
10264 CONST_CAST(GLEW_ARB_vertex_shader) = _glewSearchExtension("GL_ARB_vertex_shader", extStart, extEnd);
10265 if (glewExperimental || GLEW_ARB_vertex_shader) CONST_CAST(GLEW_ARB_vertex_shader) = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT);
10266#endif /* GL_ARB_vertex_shader */
10267#ifdef GL_ARB_vertex_type_10f_11f_11f_rev
10268 CONST_CAST(GLEW_ARB_vertex_type_10f_11f_11f_rev) = _glewSearchExtension("GL_ARB_vertex_type_10f_11f_11f_rev", extStart, extEnd);
10269#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
10270#ifdef GL_ARB_vertex_type_2_10_10_10_rev
10271 CONST_CAST(GLEW_ARB_vertex_type_2_10_10_10_rev) = _glewSearchExtension("GL_ARB_vertex_type_2_10_10_10_rev", extStart, extEnd);
10272 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);
10273#endif /* GL_ARB_vertex_type_2_10_10_10_rev */
10274#ifdef GL_ARB_viewport_array
10275 CONST_CAST(GLEW_ARB_viewport_array) = _glewSearchExtension("GL_ARB_viewport_array", extStart, extEnd);
10276 if (glewExperimental || GLEW_ARB_viewport_array) CONST_CAST(GLEW_ARB_viewport_array) = !_glewInit_GL_ARB_viewport_array(GLEW_CONTEXT_ARG_VAR_INIT);
10277#endif /* GL_ARB_viewport_array */
10278#ifdef GL_ARB_window_pos
10279 CONST_CAST(GLEW_ARB_window_pos) = _glewSearchExtension("GL_ARB_window_pos", extStart, extEnd);
10280 if (glewExperimental || GLEW_ARB_window_pos) CONST_CAST(GLEW_ARB_window_pos) = !_glewInit_GL_ARB_window_pos(GLEW_CONTEXT_ARG_VAR_INIT);
10281#endif /* GL_ARB_window_pos */
10282#ifdef GL_ATIX_point_sprites
10283 CONST_CAST(GLEW_ATIX_point_sprites) = _glewSearchExtension("GL_ATIX_point_sprites", extStart, extEnd);
10284#endif /* GL_ATIX_point_sprites */
10285#ifdef GL_ATIX_texture_env_combine3
10286 CONST_CAST(GLEW_ATIX_texture_env_combine3) = _glewSearchExtension("GL_ATIX_texture_env_combine3", extStart, extEnd);
10287#endif /* GL_ATIX_texture_env_combine3 */
10288#ifdef GL_ATIX_texture_env_route
10289 CONST_CAST(GLEW_ATIX_texture_env_route) = _glewSearchExtension("GL_ATIX_texture_env_route", extStart, extEnd);
10290#endif /* GL_ATIX_texture_env_route */
10291#ifdef GL_ATIX_vertex_shader_output_point_size
10292 CONST_CAST(GLEW_ATIX_vertex_shader_output_point_size) = _glewSearchExtension("GL_ATIX_vertex_shader_output_point_size", extStart, extEnd);
10293#endif /* GL_ATIX_vertex_shader_output_point_size */
10294#ifdef GL_ATI_draw_buffers
10295 CONST_CAST(GLEW_ATI_draw_buffers) = _glewSearchExtension("GL_ATI_draw_buffers", extStart, extEnd);
10296 if (glewExperimental || GLEW_ATI_draw_buffers) CONST_CAST(GLEW_ATI_draw_buffers) = !_glewInit_GL_ATI_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
10297#endif /* GL_ATI_draw_buffers */
10298#ifdef GL_ATI_element_array
10299 CONST_CAST(GLEW_ATI_element_array) = _glewSearchExtension("GL_ATI_element_array", extStart, extEnd);
10300 if (glewExperimental || GLEW_ATI_element_array) CONST_CAST(GLEW_ATI_element_array) = !_glewInit_GL_ATI_element_array(GLEW_CONTEXT_ARG_VAR_INIT);
10301#endif /* GL_ATI_element_array */
10302#ifdef GL_ATI_envmap_bumpmap
10303 CONST_CAST(GLEW_ATI_envmap_bumpmap) = _glewSearchExtension("GL_ATI_envmap_bumpmap", extStart, extEnd);
10304 if (glewExperimental || GLEW_ATI_envmap_bumpmap) CONST_CAST(GLEW_ATI_envmap_bumpmap) = !_glewInit_GL_ATI_envmap_bumpmap(GLEW_CONTEXT_ARG_VAR_INIT);
10305#endif /* GL_ATI_envmap_bumpmap */
10306#ifdef GL_ATI_fragment_shader
10307 CONST_CAST(GLEW_ATI_fragment_shader) = _glewSearchExtension("GL_ATI_fragment_shader", extStart, extEnd);
10308 if (glewExperimental || GLEW_ATI_fragment_shader) CONST_CAST(GLEW_ATI_fragment_shader) = !_glewInit_GL_ATI_fragment_shader(GLEW_CONTEXT_ARG_VAR_INIT);
10309#endif /* GL_ATI_fragment_shader */
10310#ifdef GL_ATI_map_object_buffer
10311 CONST_CAST(GLEW_ATI_map_object_buffer) = _glewSearchExtension("GL_ATI_map_object_buffer", extStart, extEnd);
10312 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);
10313#endif /* GL_ATI_map_object_buffer */
10314#ifdef GL_ATI_meminfo
10315 CONST_CAST(GLEW_ATI_meminfo) = _glewSearchExtension("GL_ATI_meminfo", extStart, extEnd);
10316#endif /* GL_ATI_meminfo */
10317#ifdef GL_ATI_pn_triangles
10318 CONST_CAST(GLEW_ATI_pn_triangles) = _glewSearchExtension("GL_ATI_pn_triangles", extStart, extEnd);
10319 if (glewExperimental || GLEW_ATI_pn_triangles) CONST_CAST(GLEW_ATI_pn_triangles) = !_glewInit_GL_ATI_pn_triangles(GLEW_CONTEXT_ARG_VAR_INIT);
10320#endif /* GL_ATI_pn_triangles */
10321#ifdef GL_ATI_separate_stencil
10322 CONST_CAST(GLEW_ATI_separate_stencil) = _glewSearchExtension("GL_ATI_separate_stencil", extStart, extEnd);
10323 if (glewExperimental || GLEW_ATI_separate_stencil) CONST_CAST(GLEW_ATI_separate_stencil) = !_glewInit_GL_ATI_separate_stencil(GLEW_CONTEXT_ARG_VAR_INIT);
10324#endif /* GL_ATI_separate_stencil */
10325#ifdef GL_ATI_shader_texture_lod
10326 CONST_CAST(GLEW_ATI_shader_texture_lod) = _glewSearchExtension("GL_ATI_shader_texture_lod", extStart, extEnd);
10327#endif /* GL_ATI_shader_texture_lod */
10328#ifdef GL_ATI_text_fragment_shader
10329 CONST_CAST(GLEW_ATI_text_fragment_shader) = _glewSearchExtension("GL_ATI_text_fragment_shader", extStart, extEnd);
10330#endif /* GL_ATI_text_fragment_shader */
10331#ifdef GL_ATI_texture_compression_3dc
10332 CONST_CAST(GLEW_ATI_texture_compression_3dc) = _glewSearchExtension("GL_ATI_texture_compression_3dc", extStart, extEnd);
10333#endif /* GL_ATI_texture_compression_3dc */
10334#ifdef GL_ATI_texture_env_combine3
10335 CONST_CAST(GLEW_ATI_texture_env_combine3) = _glewSearchExtension("GL_ATI_texture_env_combine3", extStart, extEnd);
10336#endif /* GL_ATI_texture_env_combine3 */
10337#ifdef GL_ATI_texture_float
10338 CONST_CAST(GLEW_ATI_texture_float) = _glewSearchExtension("GL_ATI_texture_float", extStart, extEnd);
10339#endif /* GL_ATI_texture_float */
10340#ifdef GL_ATI_texture_mirror_once
10341 CONST_CAST(GLEW_ATI_texture_mirror_once) = _glewSearchExtension("GL_ATI_texture_mirror_once", extStart, extEnd);
10342#endif /* GL_ATI_texture_mirror_once */
10343#ifdef GL_ATI_vertex_array_object
10344 CONST_CAST(GLEW_ATI_vertex_array_object) = _glewSearchExtension("GL_ATI_vertex_array_object", extStart, extEnd);
10345 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);
10346#endif /* GL_ATI_vertex_array_object */
10347#ifdef GL_ATI_vertex_attrib_array_object
10348 CONST_CAST(GLEW_ATI_vertex_attrib_array_object) = _glewSearchExtension("GL_ATI_vertex_attrib_array_object", extStart, extEnd);
10349 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);
10350#endif /* GL_ATI_vertex_attrib_array_object */
10351#ifdef GL_ATI_vertex_streams
10352 CONST_CAST(GLEW_ATI_vertex_streams) = _glewSearchExtension("GL_ATI_vertex_streams", extStart, extEnd);
10353 if (glewExperimental || GLEW_ATI_vertex_streams) CONST_CAST(GLEW_ATI_vertex_streams) = !_glewInit_GL_ATI_vertex_streams(GLEW_CONTEXT_ARG_VAR_INIT);
10354#endif /* GL_ATI_vertex_streams */
10355#ifdef GL_EXT_422_pixels
10356 CONST_CAST(GLEW_EXT_422_pixels) = _glewSearchExtension("GL_EXT_422_pixels", extStart, extEnd);
10357#endif /* GL_EXT_422_pixels */
10358#ifdef GL_EXT_Cg_shader
10359 CONST_CAST(GLEW_EXT_Cg_shader) = _glewSearchExtension("GL_EXT_Cg_shader", extStart, extEnd);
10360#endif /* GL_EXT_Cg_shader */
10361#ifdef GL_EXT_abgr
10362 CONST_CAST(GLEW_EXT_abgr) = _glewSearchExtension("GL_EXT_abgr", extStart, extEnd);
10363#endif /* GL_EXT_abgr */
10364#ifdef GL_EXT_bgra
10365 CONST_CAST(GLEW_EXT_bgra) = _glewSearchExtension("GL_EXT_bgra", extStart, extEnd);
10366#endif /* GL_EXT_bgra */
10367#ifdef GL_EXT_bindable_uniform
10368 CONST_CAST(GLEW_EXT_bindable_uniform) = _glewSearchExtension("GL_EXT_bindable_uniform", extStart, extEnd);
10369 if (glewExperimental || GLEW_EXT_bindable_uniform) CONST_CAST(GLEW_EXT_bindable_uniform) = !_glewInit_GL_EXT_bindable_uniform(GLEW_CONTEXT_ARG_VAR_INIT);
10370#endif /* GL_EXT_bindable_uniform */
10371#ifdef GL_EXT_blend_color
10372 CONST_CAST(GLEW_EXT_blend_color) = _glewSearchExtension("GL_EXT_blend_color", extStart, extEnd);
10373 if (glewExperimental || GLEW_EXT_blend_color) CONST_CAST(GLEW_EXT_blend_color) = !_glewInit_GL_EXT_blend_color(GLEW_CONTEXT_ARG_VAR_INIT);
10374#endif /* GL_EXT_blend_color */
10375#ifdef GL_EXT_blend_equation_separate
10376 CONST_CAST(GLEW_EXT_blend_equation_separate) = _glewSearchExtension("GL_EXT_blend_equation_separate", extStart, extEnd);
10377 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);
10378#endif /* GL_EXT_blend_equation_separate */
10379#ifdef GL_EXT_blend_func_separate
10380 CONST_CAST(GLEW_EXT_blend_func_separate) = _glewSearchExtension("GL_EXT_blend_func_separate", extStart, extEnd);
10381 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);
10382#endif /* GL_EXT_blend_func_separate */
10383#ifdef GL_EXT_blend_logic_op
10384 CONST_CAST(GLEW_EXT_blend_logic_op) = _glewSearchExtension("GL_EXT_blend_logic_op", extStart, extEnd);
10385#endif /* GL_EXT_blend_logic_op */
10386#ifdef GL_EXT_blend_minmax
10387 CONST_CAST(GLEW_EXT_blend_minmax) = _glewSearchExtension("GL_EXT_blend_minmax", extStart, extEnd);
10388 if (glewExperimental || GLEW_EXT_blend_minmax) CONST_CAST(GLEW_EXT_blend_minmax) = !_glewInit_GL_EXT_blend_minmax(GLEW_CONTEXT_ARG_VAR_INIT);
10389#endif /* GL_EXT_blend_minmax */
10390#ifdef GL_EXT_blend_subtract
10391 CONST_CAST(GLEW_EXT_blend_subtract) = _glewSearchExtension("GL_EXT_blend_subtract", extStart, extEnd);
10392#endif /* GL_EXT_blend_subtract */
10393#ifdef GL_EXT_clip_volume_hint
10394 CONST_CAST(GLEW_EXT_clip_volume_hint) = _glewSearchExtension("GL_EXT_clip_volume_hint", extStart, extEnd);
10395#endif /* GL_EXT_clip_volume_hint */
10396#ifdef GL_EXT_cmyka
10397 CONST_CAST(GLEW_EXT_cmyka) = _glewSearchExtension("GL_EXT_cmyka", extStart, extEnd);
10398#endif /* GL_EXT_cmyka */
10399#ifdef GL_EXT_color_subtable
10400 CONST_CAST(GLEW_EXT_color_subtable) = _glewSearchExtension("GL_EXT_color_subtable", extStart, extEnd);
10401 if (glewExperimental || GLEW_EXT_color_subtable) CONST_CAST(GLEW_EXT_color_subtable) = !_glewInit_GL_EXT_color_subtable(GLEW_CONTEXT_ARG_VAR_INIT);
10402#endif /* GL_EXT_color_subtable */
10403#ifdef GL_EXT_compiled_vertex_array
10404 CONST_CAST(GLEW_EXT_compiled_vertex_array) = _glewSearchExtension("GL_EXT_compiled_vertex_array", extStart, extEnd);
10405 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);
10406#endif /* GL_EXT_compiled_vertex_array */
10407#ifdef GL_EXT_convolution
10408 CONST_CAST(GLEW_EXT_convolution) = _glewSearchExtension("GL_EXT_convolution", extStart, extEnd);
10409 if (glewExperimental || GLEW_EXT_convolution) CONST_CAST(GLEW_EXT_convolution) = !_glewInit_GL_EXT_convolution(GLEW_CONTEXT_ARG_VAR_INIT);
10410#endif /* GL_EXT_convolution */
10411#ifdef GL_EXT_coordinate_frame
10412 CONST_CAST(GLEW_EXT_coordinate_frame) = _glewSearchExtension("GL_EXT_coordinate_frame", extStart, extEnd);
10413 if (glewExperimental || GLEW_EXT_coordinate_frame) CONST_CAST(GLEW_EXT_coordinate_frame) = !_glewInit_GL_EXT_coordinate_frame(GLEW_CONTEXT_ARG_VAR_INIT);
10414#endif /* GL_EXT_coordinate_frame */
10415#ifdef GL_EXT_copy_texture
10416 CONST_CAST(GLEW_EXT_copy_texture) = _glewSearchExtension("GL_EXT_copy_texture", extStart, extEnd);
10417 if (glewExperimental || GLEW_EXT_copy_texture) CONST_CAST(GLEW_EXT_copy_texture) = !_glewInit_GL_EXT_copy_texture(GLEW_CONTEXT_ARG_VAR_INIT);
10418#endif /* GL_EXT_copy_texture */
10419#ifdef GL_EXT_cull_vertex
10420 CONST_CAST(GLEW_EXT_cull_vertex) = _glewSearchExtension("GL_EXT_cull_vertex", extStart, extEnd);
10421 if (glewExperimental || GLEW_EXT_cull_vertex) CONST_CAST(GLEW_EXT_cull_vertex) = !_glewInit_GL_EXT_cull_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
10422#endif /* GL_EXT_cull_vertex */
10423#ifdef GL_EXT_debug_marker
10424 CONST_CAST(GLEW_EXT_debug_marker) = _glewSearchExtension("GL_EXT_debug_marker", extStart, extEnd);
10425 if (glewExperimental || GLEW_EXT_debug_marker) CONST_CAST(GLEW_EXT_debug_marker) = !_glewInit_GL_EXT_debug_marker(GLEW_CONTEXT_ARG_VAR_INIT);
10426#endif /* GL_EXT_debug_marker */
10427#ifdef GL_EXT_depth_bounds_test
10428 CONST_CAST(GLEW_EXT_depth_bounds_test) = _glewSearchExtension("GL_EXT_depth_bounds_test", extStart, extEnd);
10429 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);
10430#endif /* GL_EXT_depth_bounds_test */
10431#ifdef GL_EXT_direct_state_access
10432 CONST_CAST(GLEW_EXT_direct_state_access) = _glewSearchExtension("GL_EXT_direct_state_access", extStart, extEnd);
10433 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);
10434#endif /* GL_EXT_direct_state_access */
10435#ifdef GL_EXT_draw_buffers2
10436 CONST_CAST(GLEW_EXT_draw_buffers2) = _glewSearchExtension("GL_EXT_draw_buffers2", extStart, extEnd);
10437 if (glewExperimental || GLEW_EXT_draw_buffers2) CONST_CAST(GLEW_EXT_draw_buffers2) = !_glewInit_GL_EXT_draw_buffers2(GLEW_CONTEXT_ARG_VAR_INIT);
10438#endif /* GL_EXT_draw_buffers2 */
10439#ifdef GL_EXT_draw_instanced
10440 CONST_CAST(GLEW_EXT_draw_instanced) = _glewSearchExtension("GL_EXT_draw_instanced", extStart, extEnd);
10441 if (glewExperimental || GLEW_EXT_draw_instanced) CONST_CAST(GLEW_EXT_draw_instanced) = !_glewInit_GL_EXT_draw_instanced(GLEW_CONTEXT_ARG_VAR_INIT);
10442#endif /* GL_EXT_draw_instanced */
10443#ifdef GL_EXT_draw_range_elements
10444 CONST_CAST(GLEW_EXT_draw_range_elements) = _glewSearchExtension("GL_EXT_draw_range_elements", extStart, extEnd);
10445 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);
10446#endif /* GL_EXT_draw_range_elements */
10447#ifdef GL_EXT_fog_coord
10448 CONST_CAST(GLEW_EXT_fog_coord) = _glewSearchExtension("GL_EXT_fog_coord", extStart, extEnd);
10449 if (glewExperimental || GLEW_EXT_fog_coord) CONST_CAST(GLEW_EXT_fog_coord) = !_glewInit_GL_EXT_fog_coord(GLEW_CONTEXT_ARG_VAR_INIT);
10450#endif /* GL_EXT_fog_coord */
10451#ifdef GL_EXT_fragment_lighting
10452 CONST_CAST(GLEW_EXT_fragment_lighting) = _glewSearchExtension("GL_EXT_fragment_lighting", extStart, extEnd);
10453 if (glewExperimental || GLEW_EXT_fragment_lighting) CONST_CAST(GLEW_EXT_fragment_lighting) = !_glewInit_GL_EXT_fragment_lighting(GLEW_CONTEXT_ARG_VAR_INIT);
10454#endif /* GL_EXT_fragment_lighting */
10455#ifdef GL_EXT_framebuffer_blit
10456 CONST_CAST(GLEW_EXT_framebuffer_blit) = _glewSearchExtension("GL_EXT_framebuffer_blit", extStart, extEnd);
10457 if (glewExperimental || GLEW_EXT_framebuffer_blit) CONST_CAST(GLEW_EXT_framebuffer_blit) = !_glewInit_GL_EXT_framebuffer_blit(GLEW_CONTEXT_ARG_VAR_INIT);
10458#endif /* GL_EXT_framebuffer_blit */
10459#ifdef GL_EXT_framebuffer_multisample
10460 CONST_CAST(GLEW_EXT_framebuffer_multisample) = _glewSearchExtension("GL_EXT_framebuffer_multisample", extStart, extEnd);
10461 if (glewExperimental || GLEW_EXT_framebuffer_multisample) CONST_CAST(GLEW_EXT_framebuffer_multisample) = !_glewInit_GL_EXT_framebuffer_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
10462#endif /* GL_EXT_framebuffer_multisample */
10463#ifdef GL_EXT_framebuffer_multisample_blit_scaled
10464 CONST_CAST(GLEW_EXT_framebuffer_multisample_blit_scaled) = _glewSearchExtension("GL_EXT_framebuffer_multisample_blit_scaled", extStart, extEnd);
10465#endif /* GL_EXT_framebuffer_multisample_blit_scaled */
10466#ifdef GL_EXT_framebuffer_object
10467 CONST_CAST(GLEW_EXT_framebuffer_object) = _glewSearchExtension("GL_EXT_framebuffer_object", extStart, extEnd);
10468 if (glewExperimental || GLEW_EXT_framebuffer_object) CONST_CAST(GLEW_EXT_framebuffer_object) = !_glewInit_GL_EXT_framebuffer_object(GLEW_CONTEXT_ARG_VAR_INIT);
10469#endif /* GL_EXT_framebuffer_object */
10470#ifdef GL_EXT_framebuffer_sRGB
10471 CONST_CAST(GLEW_EXT_framebuffer_sRGB) = _glewSearchExtension("GL_EXT_framebuffer_sRGB", extStart, extEnd);
10472#endif /* GL_EXT_framebuffer_sRGB */
10473#ifdef GL_EXT_geometry_shader4
10474 CONST_CAST(GLEW_EXT_geometry_shader4) = _glewSearchExtension("GL_EXT_geometry_shader4", extStart, extEnd);
10475 if (glewExperimental || GLEW_EXT_geometry_shader4) CONST_CAST(GLEW_EXT_geometry_shader4) = !_glewInit_GL_EXT_geometry_shader4(GLEW_CONTEXT_ARG_VAR_INIT);
10476#endif /* GL_EXT_geometry_shader4 */
10477#ifdef GL_EXT_gpu_program_parameters
10478 CONST_CAST(GLEW_EXT_gpu_program_parameters) = _glewSearchExtension("GL_EXT_gpu_program_parameters", extStart, extEnd);
10479 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);
10480#endif /* GL_EXT_gpu_program_parameters */
10481#ifdef GL_EXT_gpu_shader4
10482 CONST_CAST(GLEW_EXT_gpu_shader4) = _glewSearchExtension("GL_EXT_gpu_shader4", extStart, extEnd);
10483 if (glewExperimental || GLEW_EXT_gpu_shader4) CONST_CAST(GLEW_EXT_gpu_shader4) = !_glewInit_GL_EXT_gpu_shader4(GLEW_CONTEXT_ARG_VAR_INIT);
10484#endif /* GL_EXT_gpu_shader4 */
10485#ifdef GL_EXT_histogram
10486 CONST_CAST(GLEW_EXT_histogram) = _glewSearchExtension("GL_EXT_histogram", extStart, extEnd);
10487 if (glewExperimental || GLEW_EXT_histogram) CONST_CAST(GLEW_EXT_histogram) = !_glewInit_GL_EXT_histogram(GLEW_CONTEXT_ARG_VAR_INIT);
10488#endif /* GL_EXT_histogram */
10489#ifdef GL_EXT_index_array_formats
10490 CONST_CAST(GLEW_EXT_index_array_formats) = _glewSearchExtension("GL_EXT_index_array_formats", extStart, extEnd);
10491#endif /* GL_EXT_index_array_formats */
10492#ifdef GL_EXT_index_func
10493 CONST_CAST(GLEW_EXT_index_func) = _glewSearchExtension("GL_EXT_index_func", extStart, extEnd);
10494 if (glewExperimental || GLEW_EXT_index_func) CONST_CAST(GLEW_EXT_index_func) = !_glewInit_GL_EXT_index_func(GLEW_CONTEXT_ARG_VAR_INIT);
10495#endif /* GL_EXT_index_func */
10496#ifdef GL_EXT_index_material
10497 CONST_CAST(GLEW_EXT_index_material) = _glewSearchExtension("GL_EXT_index_material", extStart, extEnd);
10498 if (glewExperimental || GLEW_EXT_index_material) CONST_CAST(GLEW_EXT_index_material) = !_glewInit_GL_EXT_index_material(GLEW_CONTEXT_ARG_VAR_INIT);
10499#endif /* GL_EXT_index_material */
10500#ifdef GL_EXT_index_texture
10501 CONST_CAST(GLEW_EXT_index_texture) = _glewSearchExtension("GL_EXT_index_texture", extStart, extEnd);
10502#endif /* GL_EXT_index_texture */
10503#ifdef GL_EXT_light_texture
10504 CONST_CAST(GLEW_EXT_light_texture) = _glewSearchExtension("GL_EXT_light_texture", extStart, extEnd);
10505 if (glewExperimental || GLEW_EXT_light_texture) CONST_CAST(GLEW_EXT_light_texture) = !_glewInit_GL_EXT_light_texture(GLEW_CONTEXT_ARG_VAR_INIT);
10506#endif /* GL_EXT_light_texture */
10507#ifdef GL_EXT_misc_attribute
10508 CONST_CAST(GLEW_EXT_misc_attribute) = _glewSearchExtension("GL_EXT_misc_attribute", extStart, extEnd);
10509#endif /* GL_EXT_misc_attribute */
10510#ifdef GL_EXT_multi_draw_arrays
10511 CONST_CAST(GLEW_EXT_multi_draw_arrays) = _glewSearchExtension("GL_EXT_multi_draw_arrays", extStart, extEnd);
10512 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);
10513#endif /* GL_EXT_multi_draw_arrays */
10514#ifdef GL_EXT_multisample
10515 CONST_CAST(GLEW_EXT_multisample) = _glewSearchExtension("GL_EXT_multisample", extStart, extEnd);
10516 if (glewExperimental || GLEW_EXT_multisample) CONST_CAST(GLEW_EXT_multisample) = !_glewInit_GL_EXT_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
10517#endif /* GL_EXT_multisample */
10518#ifdef GL_EXT_packed_depth_stencil
10519 CONST_CAST(GLEW_EXT_packed_depth_stencil) = _glewSearchExtension("GL_EXT_packed_depth_stencil", extStart, extEnd);
10520#endif /* GL_EXT_packed_depth_stencil */
10521#ifdef GL_EXT_packed_float
10522 CONST_CAST(GLEW_EXT_packed_float) = _glewSearchExtension("GL_EXT_packed_float", extStart, extEnd);
10523#endif /* GL_EXT_packed_float */
10524#ifdef GL_EXT_packed_pixels
10525 CONST_CAST(GLEW_EXT_packed_pixels) = _glewSearchExtension("GL_EXT_packed_pixels", extStart, extEnd);
10526#endif /* GL_EXT_packed_pixels */
10527#ifdef GL_EXT_paletted_texture
10528 CONST_CAST(GLEW_EXT_paletted_texture) = _glewSearchExtension("GL_EXT_paletted_texture", extStart, extEnd);
10529 if (glewExperimental || GLEW_EXT_paletted_texture) CONST_CAST(GLEW_EXT_paletted_texture) = !_glewInit_GL_EXT_paletted_texture(GLEW_CONTEXT_ARG_VAR_INIT);
10530#endif /* GL_EXT_paletted_texture */
10531#ifdef GL_EXT_pixel_buffer_object
10532 CONST_CAST(GLEW_EXT_pixel_buffer_object) = _glewSearchExtension("GL_EXT_pixel_buffer_object", extStart, extEnd);
10533#endif /* GL_EXT_pixel_buffer_object */
10534#ifdef GL_EXT_pixel_transform
10535 CONST_CAST(GLEW_EXT_pixel_transform) = _glewSearchExtension("GL_EXT_pixel_transform", extStart, extEnd);
10536 if (glewExperimental || GLEW_EXT_pixel_transform) CONST_CAST(GLEW_EXT_pixel_transform) = !_glewInit_GL_EXT_pixel_transform(GLEW_CONTEXT_ARG_VAR_INIT);
10537#endif /* GL_EXT_pixel_transform */
10538#ifdef GL_EXT_pixel_transform_color_table
10539 CONST_CAST(GLEW_EXT_pixel_transform_color_table) = _glewSearchExtension("GL_EXT_pixel_transform_color_table", extStart, extEnd);
10540#endif /* GL_EXT_pixel_transform_color_table */
10541#ifdef GL_EXT_point_parameters
10542 CONST_CAST(GLEW_EXT_point_parameters) = _glewSearchExtension("GL_EXT_point_parameters", extStart, extEnd);
10543 if (glewExperimental || GLEW_EXT_point_parameters) CONST_CAST(GLEW_EXT_point_parameters) = !_glewInit_GL_EXT_point_parameters(GLEW_CONTEXT_ARG_VAR_INIT);
10544#endif /* GL_EXT_point_parameters */
10545#ifdef GL_EXT_polygon_offset
10546 CONST_CAST(GLEW_EXT_polygon_offset) = _glewSearchExtension("GL_EXT_polygon_offset", extStart, extEnd);
10547 if (glewExperimental || GLEW_EXT_polygon_offset) CONST_CAST(GLEW_EXT_polygon_offset) = !_glewInit_GL_EXT_polygon_offset(GLEW_CONTEXT_ARG_VAR_INIT);
10548#endif /* GL_EXT_polygon_offset */
10549#ifdef GL_EXT_provoking_vertex
10550 CONST_CAST(GLEW_EXT_provoking_vertex) = _glewSearchExtension("GL_EXT_provoking_vertex", extStart, extEnd);
10551 if (glewExperimental || GLEW_EXT_provoking_vertex) CONST_CAST(GLEW_EXT_provoking_vertex) = !_glewInit_GL_EXT_provoking_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
10552#endif /* GL_EXT_provoking_vertex */
10553#ifdef GL_EXT_rescale_normal
10554 CONST_CAST(GLEW_EXT_rescale_normal) = _glewSearchExtension("GL_EXT_rescale_normal", extStart, extEnd);
10555#endif /* GL_EXT_rescale_normal */
10556#ifdef GL_EXT_scene_marker
10557 CONST_CAST(GLEW_EXT_scene_marker) = _glewSearchExtension("GL_EXT_scene_marker", extStart, extEnd);
10558 if (glewExperimental || GLEW_EXT_scene_marker) CONST_CAST(GLEW_EXT_scene_marker) = !_glewInit_GL_EXT_scene_marker(GLEW_CONTEXT_ARG_VAR_INIT);
10559#endif /* GL_EXT_scene_marker */
10560#ifdef GL_EXT_secondary_color
10561 CONST_CAST(GLEW_EXT_secondary_color) = _glewSearchExtension("GL_EXT_secondary_color", extStart, extEnd);
10562 if (glewExperimental || GLEW_EXT_secondary_color) CONST_CAST(GLEW_EXT_secondary_color) = !_glewInit_GL_EXT_secondary_color(GLEW_CONTEXT_ARG_VAR_INIT);
10563#endif /* GL_EXT_secondary_color */
10564#ifdef GL_EXT_separate_shader_objects
10565 CONST_CAST(GLEW_EXT_separate_shader_objects) = _glewSearchExtension("GL_EXT_separate_shader_objects", extStart, extEnd);
10566 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);
10567#endif /* GL_EXT_separate_shader_objects */
10568#ifdef GL_EXT_separate_specular_color
10569 CONST_CAST(GLEW_EXT_separate_specular_color) = _glewSearchExtension("GL_EXT_separate_specular_color", extStart, extEnd);
10570#endif /* GL_EXT_separate_specular_color */
10571#ifdef GL_EXT_shader_image_load_store
10572 CONST_CAST(GLEW_EXT_shader_image_load_store) = _glewSearchExtension("GL_EXT_shader_image_load_store", extStart, extEnd);
10573 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);
10574#endif /* GL_EXT_shader_image_load_store */
10575#ifdef GL_EXT_shadow_funcs
10576 CONST_CAST(GLEW_EXT_shadow_funcs) = _glewSearchExtension("GL_EXT_shadow_funcs", extStart, extEnd);
10577#endif /* GL_EXT_shadow_funcs */
10578#ifdef GL_EXT_shared_texture_palette
10579 CONST_CAST(GLEW_EXT_shared_texture_palette) = _glewSearchExtension("GL_EXT_shared_texture_palette", extStart, extEnd);
10580#endif /* GL_EXT_shared_texture_palette */
10581#ifdef GL_EXT_stencil_clear_tag
10582 CONST_CAST(GLEW_EXT_stencil_clear_tag) = _glewSearchExtension("GL_EXT_stencil_clear_tag", extStart, extEnd);
10583#endif /* GL_EXT_stencil_clear_tag */
10584#ifdef GL_EXT_stencil_two_side
10585 CONST_CAST(GLEW_EXT_stencil_two_side) = _glewSearchExtension("GL_EXT_stencil_two_side", extStart, extEnd);
10586 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);
10587#endif /* GL_EXT_stencil_two_side */
10588#ifdef GL_EXT_stencil_wrap
10589 CONST_CAST(GLEW_EXT_stencil_wrap) = _glewSearchExtension("GL_EXT_stencil_wrap", extStart, extEnd);
10590#endif /* GL_EXT_stencil_wrap */
10591#ifdef GL_EXT_subtexture
10592 CONST_CAST(GLEW_EXT_subtexture) = _glewSearchExtension("GL_EXT_subtexture", extStart, extEnd);
10593 if (glewExperimental || GLEW_EXT_subtexture) CONST_CAST(GLEW_EXT_subtexture) = !_glewInit_GL_EXT_subtexture(GLEW_CONTEXT_ARG_VAR_INIT);
10594#endif /* GL_EXT_subtexture */
10595#ifdef GL_EXT_texture
10596 CONST_CAST(GLEW_EXT_texture) = _glewSearchExtension("GL_EXT_texture", extStart, extEnd);
10597#endif /* GL_EXT_texture */
10598#ifdef GL_EXT_texture3D
10599 CONST_CAST(GLEW_EXT_texture3D) = _glewSearchExtension("GL_EXT_texture3D", extStart, extEnd);
10600 if (glewExperimental || GLEW_EXT_texture3D) CONST_CAST(GLEW_EXT_texture3D) = !_glewInit_GL_EXT_texture3D(GLEW_CONTEXT_ARG_VAR_INIT);
10601#endif /* GL_EXT_texture3D */
10602#ifdef GL_EXT_texture_array
10603 CONST_CAST(GLEW_EXT_texture_array) = _glewSearchExtension("GL_EXT_texture_array", extStart, extEnd);
10604 if (glewExperimental || GLEW_EXT_texture_array) CONST_CAST(GLEW_EXT_texture_array) = !_glewInit_GL_EXT_texture_array(GLEW_CONTEXT_ARG_VAR_INIT);
10605#endif /* GL_EXT_texture_array */
10606#ifdef GL_EXT_texture_buffer_object
10607 CONST_CAST(GLEW_EXT_texture_buffer_object) = _glewSearchExtension("GL_EXT_texture_buffer_object", extStart, extEnd);
10608 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);
10609#endif /* GL_EXT_texture_buffer_object */
10610#ifdef GL_EXT_texture_compression_dxt1
10611 CONST_CAST(GLEW_EXT_texture_compression_dxt1) = _glewSearchExtension("GL_EXT_texture_compression_dxt1", extStart, extEnd);
10612#endif /* GL_EXT_texture_compression_dxt1 */
10613#ifdef GL_EXT_texture_compression_latc
10614 CONST_CAST(GLEW_EXT_texture_compression_latc) = _glewSearchExtension("GL_EXT_texture_compression_latc", extStart, extEnd);
10615#endif /* GL_EXT_texture_compression_latc */
10616#ifdef GL_EXT_texture_compression_rgtc
10617 CONST_CAST(GLEW_EXT_texture_compression_rgtc) = _glewSearchExtension("GL_EXT_texture_compression_rgtc", extStart, extEnd);
10618#endif /* GL_EXT_texture_compression_rgtc */
10619#ifdef GL_EXT_texture_compression_s3tc
10620 CONST_CAST(GLEW_EXT_texture_compression_s3tc) = _glewSearchExtension("GL_EXT_texture_compression_s3tc", extStart, extEnd);
10621#endif /* GL_EXT_texture_compression_s3tc */
10622#ifdef GL_EXT_texture_cube_map
10623 CONST_CAST(GLEW_EXT_texture_cube_map) = _glewSearchExtension("GL_EXT_texture_cube_map", extStart, extEnd);
10624#endif /* GL_EXT_texture_cube_map */
10625#ifdef GL_EXT_texture_edge_clamp
10626 CONST_CAST(GLEW_EXT_texture_edge_clamp) = _glewSearchExtension("GL_EXT_texture_edge_clamp", extStart, extEnd);
10627#endif /* GL_EXT_texture_edge_clamp */
10628#ifdef GL_EXT_texture_env
10629 CONST_CAST(GLEW_EXT_texture_env) = _glewSearchExtension("GL_EXT_texture_env", extStart, extEnd);
10630#endif /* GL_EXT_texture_env */
10631#ifdef GL_EXT_texture_env_add
10632 CONST_CAST(GLEW_EXT_texture_env_add) = _glewSearchExtension("GL_EXT_texture_env_add", extStart, extEnd);
10633#endif /* GL_EXT_texture_env_add */
10634#ifdef GL_EXT_texture_env_combine
10635 CONST_CAST(GLEW_EXT_texture_env_combine) = _glewSearchExtension("GL_EXT_texture_env_combine", extStart, extEnd);
10636#endif /* GL_EXT_texture_env_combine */
10637#ifdef GL_EXT_texture_env_dot3
10638 CONST_CAST(GLEW_EXT_texture_env_dot3) = _glewSearchExtension("GL_EXT_texture_env_dot3", extStart, extEnd);
10639#endif /* GL_EXT_texture_env_dot3 */
10640#ifdef GL_EXT_texture_filter_anisotropic
10641 CONST_CAST(GLEW_EXT_texture_filter_anisotropic) = _glewSearchExtension("GL_EXT_texture_filter_anisotropic", extStart, extEnd);
10642#endif /* GL_EXT_texture_filter_anisotropic */
10643#ifdef GL_EXT_texture_integer
10644 CONST_CAST(GLEW_EXT_texture_integer) = _glewSearchExtension("GL_EXT_texture_integer", extStart, extEnd);
10645 if (glewExperimental || GLEW_EXT_texture_integer) CONST_CAST(GLEW_EXT_texture_integer) = !_glewInit_GL_EXT_texture_integer(GLEW_CONTEXT_ARG_VAR_INIT);
10646#endif /* GL_EXT_texture_integer */
10647#ifdef GL_EXT_texture_lod_bias
10648 CONST_CAST(GLEW_EXT_texture_lod_bias) = _glewSearchExtension("GL_EXT_texture_lod_bias", extStart, extEnd);
10649#endif /* GL_EXT_texture_lod_bias */
10650#ifdef GL_EXT_texture_mirror_clamp
10651 CONST_CAST(GLEW_EXT_texture_mirror_clamp) = _glewSearchExtension("GL_EXT_texture_mirror_clamp", extStart, extEnd);
10652#endif /* GL_EXT_texture_mirror_clamp */
10653#ifdef GL_EXT_texture_object
10654 CONST_CAST(GLEW_EXT_texture_object) = _glewSearchExtension("GL_EXT_texture_object", extStart, extEnd);
10655 if (glewExperimental || GLEW_EXT_texture_object) CONST_CAST(GLEW_EXT_texture_object) = !_glewInit_GL_EXT_texture_object(GLEW_CONTEXT_ARG_VAR_INIT);
10656#endif /* GL_EXT_texture_object */
10657#ifdef GL_EXT_texture_perturb_normal
10658 CONST_CAST(GLEW_EXT_texture_perturb_normal) = _glewSearchExtension("GL_EXT_texture_perturb_normal", extStart, extEnd);
10659 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);
10660#endif /* GL_EXT_texture_perturb_normal */
10661#ifdef GL_EXT_texture_rectangle
10662 CONST_CAST(GLEW_EXT_texture_rectangle) = _glewSearchExtension("GL_EXT_texture_rectangle", extStart, extEnd);
10663#endif /* GL_EXT_texture_rectangle */
10664#ifdef GL_EXT_texture_sRGB
10665 CONST_CAST(GLEW_EXT_texture_sRGB) = _glewSearchExtension("GL_EXT_texture_sRGB", extStart, extEnd);
10666#endif /* GL_EXT_texture_sRGB */
10667#ifdef GL_EXT_texture_sRGB_decode
10668 CONST_CAST(GLEW_EXT_texture_sRGB_decode) = _glewSearchExtension("GL_EXT_texture_sRGB_decode", extStart, extEnd);
10669#endif /* GL_EXT_texture_sRGB_decode */
10670#ifdef GL_EXT_texture_shared_exponent
10671 CONST_CAST(GLEW_EXT_texture_shared_exponent) = _glewSearchExtension("GL_EXT_texture_shared_exponent", extStart, extEnd);
10672#endif /* GL_EXT_texture_shared_exponent */
10673#ifdef GL_EXT_texture_snorm
10674 CONST_CAST(GLEW_EXT_texture_snorm) = _glewSearchExtension("GL_EXT_texture_snorm", extStart, extEnd);
10675#endif /* GL_EXT_texture_snorm */
10676#ifdef GL_EXT_texture_swizzle
10677 CONST_CAST(GLEW_EXT_texture_swizzle) = _glewSearchExtension("GL_EXT_texture_swizzle", extStart, extEnd);
10678#endif /* GL_EXT_texture_swizzle */
10679#ifdef GL_EXT_timer_query
10680 CONST_CAST(GLEW_EXT_timer_query) = _glewSearchExtension("GL_EXT_timer_query", extStart, extEnd);
10681 if (glewExperimental || GLEW_EXT_timer_query) CONST_CAST(GLEW_EXT_timer_query) = !_glewInit_GL_EXT_timer_query(GLEW_CONTEXT_ARG_VAR_INIT);
10682#endif /* GL_EXT_timer_query */
10683#ifdef GL_EXT_transform_feedback
10684 CONST_CAST(GLEW_EXT_transform_feedback) = _glewSearchExtension("GL_EXT_transform_feedback", extStart, extEnd);
10685 if (glewExperimental || GLEW_EXT_transform_feedback) CONST_CAST(GLEW_EXT_transform_feedback) = !_glewInit_GL_EXT_transform_feedback(GLEW_CONTEXT_ARG_VAR_INIT);
10686#endif /* GL_EXT_transform_feedback */
10687#ifdef GL_EXT_vertex_array
10688 CONST_CAST(GLEW_EXT_vertex_array) = _glewSearchExtension("GL_EXT_vertex_array", extStart, extEnd);
10689 if (glewExperimental || GLEW_EXT_vertex_array) CONST_CAST(GLEW_EXT_vertex_array) = !_glewInit_GL_EXT_vertex_array(GLEW_CONTEXT_ARG_VAR_INIT);
10690#endif /* GL_EXT_vertex_array */
10691#ifdef GL_EXT_vertex_array_bgra
10692 CONST_CAST(GLEW_EXT_vertex_array_bgra) = _glewSearchExtension("GL_EXT_vertex_array_bgra", extStart, extEnd);
10693#endif /* GL_EXT_vertex_array_bgra */
10694#ifdef GL_EXT_vertex_attrib_64bit
10695 CONST_CAST(GLEW_EXT_vertex_attrib_64bit) = _glewSearchExtension("GL_EXT_vertex_attrib_64bit", extStart, extEnd);
10696 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);
10697#endif /* GL_EXT_vertex_attrib_64bit */
10698#ifdef GL_EXT_vertex_shader
10699 CONST_CAST(GLEW_EXT_vertex_shader) = _glewSearchExtension("GL_EXT_vertex_shader", extStart, extEnd);
10700 if (glewExperimental || GLEW_EXT_vertex_shader) CONST_CAST(GLEW_EXT_vertex_shader) = !_glewInit_GL_EXT_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT);
10701#endif /* GL_EXT_vertex_shader */
10702#ifdef GL_EXT_vertex_weighting
10703 CONST_CAST(GLEW_EXT_vertex_weighting) = _glewSearchExtension("GL_EXT_vertex_weighting", extStart, extEnd);
10704 if (glewExperimental || GLEW_EXT_vertex_weighting) CONST_CAST(GLEW_EXT_vertex_weighting) = !_glewInit_GL_EXT_vertex_weighting(GLEW_CONTEXT_ARG_VAR_INIT);
10705#endif /* GL_EXT_vertex_weighting */
10706#ifdef GL_EXT_x11_sync_object
10707 CONST_CAST(GLEW_EXT_x11_sync_object) = _glewSearchExtension("GL_EXT_x11_sync_object", extStart, extEnd);
10708 if (glewExperimental || GLEW_EXT_x11_sync_object) CONST_CAST(GLEW_EXT_x11_sync_object) = !_glewInit_GL_EXT_x11_sync_object(GLEW_CONTEXT_ARG_VAR_INIT);
10709#endif /* GL_EXT_x11_sync_object */
10710#ifdef GL_GREMEDY_frame_terminator
10711 CONST_CAST(GLEW_GREMEDY_frame_terminator) = _glewSearchExtension("GL_GREMEDY_frame_terminator", extStart, extEnd);
10712 if (glewExperimental || GLEW_GREMEDY_frame_terminator) CONST_CAST(GLEW_GREMEDY_frame_terminator) = !_glewInit_GL_GREMEDY_frame_terminator(GLEW_CONTEXT_ARG_VAR_INIT);
10713#endif /* GL_GREMEDY_frame_terminator */
10714#ifdef GL_GREMEDY_string_marker
10715 CONST_CAST(GLEW_GREMEDY_string_marker) = _glewSearchExtension("GL_GREMEDY_string_marker", extStart, extEnd);
10716 if (glewExperimental || GLEW_GREMEDY_string_marker) CONST_CAST(GLEW_GREMEDY_string_marker) = !_glewInit_GL_GREMEDY_string_marker(GLEW_CONTEXT_ARG_VAR_INIT);
10717#endif /* GL_GREMEDY_string_marker */
10718#ifdef GL_HP_convolution_border_modes
10719 CONST_CAST(GLEW_HP_convolution_border_modes) = _glewSearchExtension("GL_HP_convolution_border_modes", extStart, extEnd);
10720#endif /* GL_HP_convolution_border_modes */
10721#ifdef GL_HP_image_transform
10722 CONST_CAST(GLEW_HP_image_transform) = _glewSearchExtension("GL_HP_image_transform", extStart, extEnd);
10723 if (glewExperimental || GLEW_HP_image_transform) CONST_CAST(GLEW_HP_image_transform) = !_glewInit_GL_HP_image_transform(GLEW_CONTEXT_ARG_VAR_INIT);
10724#endif /* GL_HP_image_transform */
10725#ifdef GL_HP_occlusion_test
10726 CONST_CAST(GLEW_HP_occlusion_test) = _glewSearchExtension("GL_HP_occlusion_test", extStart, extEnd);
10727#endif /* GL_HP_occlusion_test */
10728#ifdef GL_HP_texture_lighting
10729 CONST_CAST(GLEW_HP_texture_lighting) = _glewSearchExtension("GL_HP_texture_lighting", extStart, extEnd);
10730#endif /* GL_HP_texture_lighting */
10731#ifdef GL_IBM_cull_vertex
10732 CONST_CAST(GLEW_IBM_cull_vertex) = _glewSearchExtension("GL_IBM_cull_vertex", extStart, extEnd);
10733#endif /* GL_IBM_cull_vertex */
10734#ifdef GL_IBM_multimode_draw_arrays
10735 CONST_CAST(GLEW_IBM_multimode_draw_arrays) = _glewSearchExtension("GL_IBM_multimode_draw_arrays", extStart, extEnd);
10736 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);
10737#endif /* GL_IBM_multimode_draw_arrays */
10738#ifdef GL_IBM_rasterpos_clip
10739 CONST_CAST(GLEW_IBM_rasterpos_clip) = _glewSearchExtension("GL_IBM_rasterpos_clip", extStart, extEnd);
10740#endif /* GL_IBM_rasterpos_clip */
10741#ifdef GL_IBM_static_data
10742 CONST_CAST(GLEW_IBM_static_data) = _glewSearchExtension("GL_IBM_static_data", extStart, extEnd);
10743#endif /* GL_IBM_static_data */
10744#ifdef GL_IBM_texture_mirrored_repeat
10745 CONST_CAST(GLEW_IBM_texture_mirrored_repeat) = _glewSearchExtension("GL_IBM_texture_mirrored_repeat", extStart, extEnd);
10746#endif /* GL_IBM_texture_mirrored_repeat */
10747#ifdef GL_IBM_vertex_array_lists
10748 CONST_CAST(GLEW_IBM_vertex_array_lists) = _glewSearchExtension("GL_IBM_vertex_array_lists", extStart, extEnd);
10749 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);
10750#endif /* GL_IBM_vertex_array_lists */
10751#ifdef GL_INGR_color_clamp
10752 CONST_CAST(GLEW_INGR_color_clamp) = _glewSearchExtension("GL_INGR_color_clamp", extStart, extEnd);
10753#endif /* GL_INGR_color_clamp */
10754#ifdef GL_INGR_interlace_read
10755 CONST_CAST(GLEW_INGR_interlace_read) = _glewSearchExtension("GL_INGR_interlace_read", extStart, extEnd);
10756#endif /* GL_INGR_interlace_read */
10757#ifdef GL_INTEL_map_texture
10758 CONST_CAST(GLEW_INTEL_map_texture) = _glewSearchExtension("GL_INTEL_map_texture", extStart, extEnd);
10759 if (glewExperimental || GLEW_INTEL_map_texture) CONST_CAST(GLEW_INTEL_map_texture) = !_glewInit_GL_INTEL_map_texture(GLEW_CONTEXT_ARG_VAR_INIT);
10760#endif /* GL_INTEL_map_texture */
10761#ifdef GL_INTEL_parallel_arrays
10762 CONST_CAST(GLEW_INTEL_parallel_arrays) = _glewSearchExtension("GL_INTEL_parallel_arrays", extStart, extEnd);
10763 if (glewExperimental || GLEW_INTEL_parallel_arrays) CONST_CAST(GLEW_INTEL_parallel_arrays) = !_glewInit_GL_INTEL_parallel_arrays(GLEW_CONTEXT_ARG_VAR_INIT);
10764#endif /* GL_INTEL_parallel_arrays */
10765#ifdef GL_INTEL_texture_scissor
10766 CONST_CAST(GLEW_INTEL_texture_scissor) = _glewSearchExtension("GL_INTEL_texture_scissor", extStart, extEnd);
10767 if (glewExperimental || GLEW_INTEL_texture_scissor) CONST_CAST(GLEW_INTEL_texture_scissor) = !_glewInit_GL_INTEL_texture_scissor(GLEW_CONTEXT_ARG_VAR_INIT);
10768#endif /* GL_INTEL_texture_scissor */
10769#ifdef GL_KHR_debug
10770 CONST_CAST(GLEW_KHR_debug) = _glewSearchExtension("GL_KHR_debug", extStart, extEnd);
10771 if (glewExperimental || GLEW_KHR_debug) CONST_CAST(GLEW_KHR_debug) = !_glewInit_GL_KHR_debug(GLEW_CONTEXT_ARG_VAR_INIT);
10772#endif /* GL_KHR_debug */
10773#ifdef GL_KHR_texture_compression_astc_ldr
10774 CONST_CAST(GLEW_KHR_texture_compression_astc_ldr) = _glewSearchExtension("GL_KHR_texture_compression_astc_ldr", extStart, extEnd);
10775#endif /* GL_KHR_texture_compression_astc_ldr */
10776#ifdef GL_KTX_buffer_region
10777 CONST_CAST(GLEW_KTX_buffer_region) = _glewSearchExtension("GL_KTX_buffer_region", extStart, extEnd);
10778 if (glewExperimental || GLEW_KTX_buffer_region) CONST_CAST(GLEW_KTX_buffer_region) = !_glewInit_GL_KTX_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT);
10779#endif /* GL_KTX_buffer_region */
10780#ifdef GL_MESAX_texture_stack
10781 CONST_CAST(GLEW_MESAX_texture_stack) = _glewSearchExtension("GL_MESAX_texture_stack", extStart, extEnd);
10782#endif /* GL_MESAX_texture_stack */
10783#ifdef GL_MESA_pack_invert
10784 CONST_CAST(GLEW_MESA_pack_invert) = _glewSearchExtension("GL_MESA_pack_invert", extStart, extEnd);
10785#endif /* GL_MESA_pack_invert */
10786#ifdef GL_MESA_resize_buffers
10787 CONST_CAST(GLEW_MESA_resize_buffers) = _glewSearchExtension("GL_MESA_resize_buffers", extStart, extEnd);
10788 if (glewExperimental || GLEW_MESA_resize_buffers) CONST_CAST(GLEW_MESA_resize_buffers) = !_glewInit_GL_MESA_resize_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
10789#endif /* GL_MESA_resize_buffers */
10790#ifdef GL_MESA_window_pos
10791 CONST_CAST(GLEW_MESA_window_pos) = _glewSearchExtension("GL_MESA_window_pos", extStart, extEnd);
10792 if (glewExperimental || GLEW_MESA_window_pos) CONST_CAST(GLEW_MESA_window_pos) = !_glewInit_GL_MESA_window_pos(GLEW_CONTEXT_ARG_VAR_INIT);
10793#endif /* GL_MESA_window_pos */
10794#ifdef GL_MESA_ycbcr_texture
10795 CONST_CAST(GLEW_MESA_ycbcr_texture) = _glewSearchExtension("GL_MESA_ycbcr_texture", extStart, extEnd);
10796#endif /* GL_MESA_ycbcr_texture */
10797#ifdef GL_NVX_conditional_render
10798 CONST_CAST(GLEW_NVX_conditional_render) = _glewSearchExtension("GL_NVX_conditional_render", extStart, extEnd);
10799 if (glewExperimental || GLEW_NVX_conditional_render) CONST_CAST(GLEW_NVX_conditional_render) = !_glewInit_GL_NVX_conditional_render(GLEW_CONTEXT_ARG_VAR_INIT);
10800#endif /* GL_NVX_conditional_render */
10801#ifdef GL_NVX_gpu_memory_info
10802 CONST_CAST(GLEW_NVX_gpu_memory_info) = _glewSearchExtension("GL_NVX_gpu_memory_info", extStart, extEnd);
10803#endif /* GL_NVX_gpu_memory_info */
10804#ifdef GL_NV_bindless_multi_draw_indirect
10805 CONST_CAST(GLEW_NV_bindless_multi_draw_indirect) = _glewSearchExtension("GL_NV_bindless_multi_draw_indirect", extStart, extEnd);
10806 if (glewExperimental || GLEW_NV_bindless_multi_draw_indirect) CONST_CAST(GLEW_NV_bindless_multi_draw_indirect) = !_glewInit_GL_NV_bindless_multi_draw_indirect(GLEW_CONTEXT_ARG_VAR_INIT);
10807#endif /* GL_NV_bindless_multi_draw_indirect */
10808#ifdef GL_NV_bindless_texture
10809 CONST_CAST(GLEW_NV_bindless_texture) = _glewSearchExtension("GL_NV_bindless_texture", extStart, extEnd);
10810 if (glewExperimental || GLEW_NV_bindless_texture) CONST_CAST(GLEW_NV_bindless_texture) = !_glewInit_GL_NV_bindless_texture(GLEW_CONTEXT_ARG_VAR_INIT);
10811#endif /* GL_NV_bindless_texture */
10812#ifdef GL_NV_blend_equation_advanced
10813 CONST_CAST(GLEW_NV_blend_equation_advanced) = _glewSearchExtension("GL_NV_blend_equation_advanced", extStart, extEnd);
10814 if (glewExperimental || GLEW_NV_blend_equation_advanced) CONST_CAST(GLEW_NV_blend_equation_advanced) = !_glewInit_GL_NV_blend_equation_advanced(GLEW_CONTEXT_ARG_VAR_INIT);
10815#endif /* GL_NV_blend_equation_advanced */
10816#ifdef GL_NV_blend_equation_advanced_coherent
10817 CONST_CAST(GLEW_NV_blend_equation_advanced_coherent) = _glewSearchExtension("GL_NV_blend_equation_advanced_coherent", extStart, extEnd);
10818#endif /* GL_NV_blend_equation_advanced_coherent */
10819#ifdef GL_NV_blend_square
10820 CONST_CAST(GLEW_NV_blend_square) = _glewSearchExtension("GL_NV_blend_square", extStart, extEnd);
10821#endif /* GL_NV_blend_square */
10822#ifdef GL_NV_compute_program5
10823 CONST_CAST(GLEW_NV_compute_program5) = _glewSearchExtension("GL_NV_compute_program5", extStart, extEnd);
10824#endif /* GL_NV_compute_program5 */
10825#ifdef GL_NV_conditional_render
10826 CONST_CAST(GLEW_NV_conditional_render) = _glewSearchExtension("GL_NV_conditional_render", extStart, extEnd);
10827 if (glewExperimental || GLEW_NV_conditional_render) CONST_CAST(GLEW_NV_conditional_render) = !_glewInit_GL_NV_conditional_render(GLEW_CONTEXT_ARG_VAR_INIT);
10828#endif /* GL_NV_conditional_render */
10829#ifdef GL_NV_copy_depth_to_color
10830 CONST_CAST(GLEW_NV_copy_depth_to_color) = _glewSearchExtension("GL_NV_copy_depth_to_color", extStart, extEnd);
10831#endif /* GL_NV_copy_depth_to_color */
10832#ifdef GL_NV_copy_image
10833 CONST_CAST(GLEW_NV_copy_image) = _glewSearchExtension("GL_NV_copy_image", extStart, extEnd);
10834 if (glewExperimental || GLEW_NV_copy_image) CONST_CAST(GLEW_NV_copy_image) = !_glewInit_GL_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
10835#endif /* GL_NV_copy_image */
10836#ifdef GL_NV_deep_texture3D
10837 CONST_CAST(GLEW_NV_deep_texture3D) = _glewSearchExtension("GL_NV_deep_texture3D", extStart, extEnd);
10838#endif /* GL_NV_deep_texture3D */
10839#ifdef GL_NV_depth_buffer_float
10840 CONST_CAST(GLEW_NV_depth_buffer_float) = _glewSearchExtension("GL_NV_depth_buffer_float", extStart, extEnd);
10841 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);
10842#endif /* GL_NV_depth_buffer_float */
10843#ifdef GL_NV_depth_clamp
10844 CONST_CAST(GLEW_NV_depth_clamp) = _glewSearchExtension("GL_NV_depth_clamp", extStart, extEnd);
10845#endif /* GL_NV_depth_clamp */
10846#ifdef GL_NV_depth_range_unclamped
10847 CONST_CAST(GLEW_NV_depth_range_unclamped) = _glewSearchExtension("GL_NV_depth_range_unclamped", extStart, extEnd);
10848#endif /* GL_NV_depth_range_unclamped */
10849#ifdef GL_NV_draw_texture
10850 CONST_CAST(GLEW_NV_draw_texture) = _glewSearchExtension("GL_NV_draw_texture", extStart, extEnd);
10851 if (glewExperimental || GLEW_NV_draw_texture) CONST_CAST(GLEW_NV_draw_texture) = !_glewInit_GL_NV_draw_texture(GLEW_CONTEXT_ARG_VAR_INIT);
10852#endif /* GL_NV_draw_texture */
10853#ifdef GL_NV_evaluators
10854 CONST_CAST(GLEW_NV_evaluators) = _glewSearchExtension("GL_NV_evaluators", extStart, extEnd);
10855 if (glewExperimental || GLEW_NV_evaluators) CONST_CAST(GLEW_NV_evaluators) = !_glewInit_GL_NV_evaluators(GLEW_CONTEXT_ARG_VAR_INIT);
10856#endif /* GL_NV_evaluators */
10857#ifdef GL_NV_explicit_multisample
10858 CONST_CAST(GLEW_NV_explicit_multisample) = _glewSearchExtension("GL_NV_explicit_multisample", extStart, extEnd);
10859 if (glewExperimental || GLEW_NV_explicit_multisample) CONST_CAST(GLEW_NV_explicit_multisample) = !_glewInit_GL_NV_explicit_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
10860#endif /* GL_NV_explicit_multisample */
10861#ifdef GL_NV_fence
10862 CONST_CAST(GLEW_NV_fence) = _glewSearchExtension("GL_NV_fence", extStart, extEnd);
10863 if (glewExperimental || GLEW_NV_fence) CONST_CAST(GLEW_NV_fence) = !_glewInit_GL_NV_fence(GLEW_CONTEXT_ARG_VAR_INIT);
10864#endif /* GL_NV_fence */
10865#ifdef GL_NV_float_buffer
10866 CONST_CAST(GLEW_NV_float_buffer) = _glewSearchExtension("GL_NV_float_buffer", extStart, extEnd);
10867#endif /* GL_NV_float_buffer */
10868#ifdef GL_NV_fog_distance
10869 CONST_CAST(GLEW_NV_fog_distance) = _glewSearchExtension("GL_NV_fog_distance", extStart, extEnd);
10870#endif /* GL_NV_fog_distance */
10871#ifdef GL_NV_fragment_program
10872 CONST_CAST(GLEW_NV_fragment_program) = _glewSearchExtension("GL_NV_fragment_program", extStart, extEnd);
10873 if (glewExperimental || GLEW_NV_fragment_program) CONST_CAST(GLEW_NV_fragment_program) = !_glewInit_GL_NV_fragment_program(GLEW_CONTEXT_ARG_VAR_INIT);
10874#endif /* GL_NV_fragment_program */
10875#ifdef GL_NV_fragment_program2
10876 CONST_CAST(GLEW_NV_fragment_program2) = _glewSearchExtension("GL_NV_fragment_program2", extStart, extEnd);
10877#endif /* GL_NV_fragment_program2 */
10878#ifdef GL_NV_fragment_program4
10879 CONST_CAST(GLEW_NV_fragment_program4) = _glewSearchExtension("GL_NV_gpu_program4", extStart, extEnd);
10880#endif /* GL_NV_fragment_program4 */
10881#ifdef GL_NV_fragment_program_option
10882 CONST_CAST(GLEW_NV_fragment_program_option) = _glewSearchExtension("GL_NV_fragment_program_option", extStart, extEnd);
10883#endif /* GL_NV_fragment_program_option */
10884#ifdef GL_NV_framebuffer_multisample_coverage
10885 CONST_CAST(GLEW_NV_framebuffer_multisample_coverage) = _glewSearchExtension("GL_NV_framebuffer_multisample_coverage", extStart, extEnd);
10886 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);
10887#endif /* GL_NV_framebuffer_multisample_coverage */
10888#ifdef GL_NV_geometry_program4
10889 CONST_CAST(GLEW_NV_geometry_program4) = _glewSearchExtension("GL_NV_gpu_program4", extStart, extEnd);
10890 if (glewExperimental || GLEW_NV_geometry_program4) CONST_CAST(GLEW_NV_geometry_program4) = !_glewInit_GL_NV_geometry_program4(GLEW_CONTEXT_ARG_VAR_INIT);
10891#endif /* GL_NV_geometry_program4 */
10892#ifdef GL_NV_geometry_shader4
10893 CONST_CAST(GLEW_NV_geometry_shader4) = _glewSearchExtension("GL_NV_geometry_shader4", extStart, extEnd);
10894#endif /* GL_NV_geometry_shader4 */
10895#ifdef GL_NV_gpu_program4
10896 CONST_CAST(GLEW_NV_gpu_program4) = _glewSearchExtension("GL_NV_gpu_program4", extStart, extEnd);
10897 if (glewExperimental || GLEW_NV_gpu_program4) CONST_CAST(GLEW_NV_gpu_program4) = !_glewInit_GL_NV_gpu_program4(GLEW_CONTEXT_ARG_VAR_INIT);
10898#endif /* GL_NV_gpu_program4 */
10899#ifdef GL_NV_gpu_program5
10900 CONST_CAST(GLEW_NV_gpu_program5) = _glewSearchExtension("GL_NV_gpu_program5", extStart, extEnd);
10901#endif /* GL_NV_gpu_program5 */
10902#ifdef GL_NV_gpu_program5_mem_extended
10903 CONST_CAST(GLEW_NV_gpu_program5_mem_extended) = _glewSearchExtension("GL_NV_gpu_program5_mem_extended", extStart, extEnd);
10904#endif /* GL_NV_gpu_program5_mem_extended */
10905#ifdef GL_NV_gpu_program_fp64
10906 CONST_CAST(GLEW_NV_gpu_program_fp64) = _glewSearchExtension("GL_NV_gpu_program_fp64", extStart, extEnd);
10907#endif /* GL_NV_gpu_program_fp64 */
10908#ifdef GL_NV_gpu_shader5
10909 CONST_CAST(GLEW_NV_gpu_shader5) = _glewSearchExtension("GL_NV_gpu_shader5", extStart, extEnd);
10910 if (glewExperimental || GLEW_NV_gpu_shader5) CONST_CAST(GLEW_NV_gpu_shader5) = !_glewInit_GL_NV_gpu_shader5(GLEW_CONTEXT_ARG_VAR_INIT);
10911#endif /* GL_NV_gpu_shader5 */
10912#ifdef GL_NV_half_float
10913 CONST_CAST(GLEW_NV_half_float) = _glewSearchExtension("GL_NV_half_float", extStart, extEnd);
10914 if (glewExperimental || GLEW_NV_half_float) CONST_CAST(GLEW_NV_half_float) = !_glewInit_GL_NV_half_float(GLEW_CONTEXT_ARG_VAR_INIT);
10915#endif /* GL_NV_half_float */
10916#ifdef GL_NV_light_max_exponent
10917 CONST_CAST(GLEW_NV_light_max_exponent) = _glewSearchExtension("GL_NV_light_max_exponent", extStart, extEnd);
10918#endif /* GL_NV_light_max_exponent */
10919#ifdef GL_NV_multisample_coverage
10920 CONST_CAST(GLEW_NV_multisample_coverage) = _glewSearchExtension("GL_NV_multisample_coverage", extStart, extEnd);
10921#endif /* GL_NV_multisample_coverage */
10922#ifdef GL_NV_multisample_filter_hint
10923 CONST_CAST(GLEW_NV_multisample_filter_hint) = _glewSearchExtension("GL_NV_multisample_filter_hint", extStart, extEnd);
10924#endif /* GL_NV_multisample_filter_hint */
10925#ifdef GL_NV_occlusion_query
10926 CONST_CAST(GLEW_NV_occlusion_query) = _glewSearchExtension("GL_NV_occlusion_query", extStart, extEnd);
10927 if (glewExperimental || GLEW_NV_occlusion_query) CONST_CAST(GLEW_NV_occlusion_query) = !_glewInit_GL_NV_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT);
10928#endif /* GL_NV_occlusion_query */
10929#ifdef GL_NV_packed_depth_stencil
10930 CONST_CAST(GLEW_NV_packed_depth_stencil) = _glewSearchExtension("GL_NV_packed_depth_stencil", extStart, extEnd);
10931#endif /* GL_NV_packed_depth_stencil */
10932#ifdef GL_NV_parameter_buffer_object
10933 CONST_CAST(GLEW_NV_parameter_buffer_object) = _glewSearchExtension("GL_NV_parameter_buffer_object", extStart, extEnd);
10934 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);
10935#endif /* GL_NV_parameter_buffer_object */
10936#ifdef GL_NV_parameter_buffer_object2
10937 CONST_CAST(GLEW_NV_parameter_buffer_object2) = _glewSearchExtension("GL_NV_parameter_buffer_object2", extStart, extEnd);
10938#endif /* GL_NV_parameter_buffer_object2 */
10939#ifdef GL_NV_path_rendering
10940 CONST_CAST(GLEW_NV_path_rendering) = _glewSearchExtension("GL_NV_path_rendering", extStart, extEnd);
10941 if (glewExperimental || GLEW_NV_path_rendering) CONST_CAST(GLEW_NV_path_rendering) = !_glewInit_GL_NV_path_rendering(GLEW_CONTEXT_ARG_VAR_INIT);
10942#endif /* GL_NV_path_rendering */
10943#ifdef GL_NV_pixel_data_range
10944 CONST_CAST(GLEW_NV_pixel_data_range) = _glewSearchExtension("GL_NV_pixel_data_range", extStart, extEnd);
10945 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);
10946#endif /* GL_NV_pixel_data_range */
10947#ifdef GL_NV_point_sprite
10948 CONST_CAST(GLEW_NV_point_sprite) = _glewSearchExtension("GL_NV_point_sprite", extStart, extEnd);
10949 if (glewExperimental || GLEW_NV_point_sprite) CONST_CAST(GLEW_NV_point_sprite) = !_glewInit_GL_NV_point_sprite(GLEW_CONTEXT_ARG_VAR_INIT);
10950#endif /* GL_NV_point_sprite */
10951#ifdef GL_NV_present_video
10952 CONST_CAST(GLEW_NV_present_video) = _glewSearchExtension("GL_NV_present_video", extStart, extEnd);
10953 if (glewExperimental || GLEW_NV_present_video) CONST_CAST(GLEW_NV_present_video) = !_glewInit_GL_NV_present_video(GLEW_CONTEXT_ARG_VAR_INIT);
10954#endif /* GL_NV_present_video */
10955#ifdef GL_NV_primitive_restart
10956 CONST_CAST(GLEW_NV_primitive_restart) = _glewSearchExtension("GL_NV_primitive_restart", extStart, extEnd);
10957 if (glewExperimental || GLEW_NV_primitive_restart) CONST_CAST(GLEW_NV_primitive_restart) = !_glewInit_GL_NV_primitive_restart(GLEW_CONTEXT_ARG_VAR_INIT);
10958#endif /* GL_NV_primitive_restart */
10959#ifdef GL_NV_register_combiners
10960 CONST_CAST(GLEW_NV_register_combiners) = _glewSearchExtension("GL_NV_register_combiners", extStart, extEnd);
10961 if (glewExperimental || GLEW_NV_register_combiners) CONST_CAST(GLEW_NV_register_combiners) = !_glewInit_GL_NV_register_combiners(GLEW_CONTEXT_ARG_VAR_INIT);
10962#endif /* GL_NV_register_combiners */
10963#ifdef GL_NV_register_combiners2
10964 CONST_CAST(GLEW_NV_register_combiners2) = _glewSearchExtension("GL_NV_register_combiners2", extStart, extEnd);
10965 if (glewExperimental || GLEW_NV_register_combiners2) CONST_CAST(GLEW_NV_register_combiners2) = !_glewInit_GL_NV_register_combiners2(GLEW_CONTEXT_ARG_VAR_INIT);
10966#endif /* GL_NV_register_combiners2 */
10967#ifdef GL_NV_shader_atomic_counters
10968 CONST_CAST(GLEW_NV_shader_atomic_counters) = _glewSearchExtension("GL_NV_shader_atomic_counters", extStart, extEnd);
10969#endif /* GL_NV_shader_atomic_counters */
10970#ifdef GL_NV_shader_atomic_float
10971 CONST_CAST(GLEW_NV_shader_atomic_float) = _glewSearchExtension("GL_NV_shader_atomic_float", extStart, extEnd);
10972#endif /* GL_NV_shader_atomic_float */
10973#ifdef GL_NV_shader_buffer_load
10974 CONST_CAST(GLEW_NV_shader_buffer_load) = _glewSearchExtension("GL_NV_shader_buffer_load", extStart, extEnd);
10975 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);
10976#endif /* GL_NV_shader_buffer_load */
10977#ifdef GL_NV_shader_storage_buffer_object
10978 CONST_CAST(GLEW_NV_shader_storage_buffer_object) = _glewSearchExtension("GL_NV_shader_storage_buffer_object", extStart, extEnd);
10979#endif /* GL_NV_shader_storage_buffer_object */
10980#ifdef GL_NV_tessellation_program5
10981 CONST_CAST(GLEW_NV_tessellation_program5) = _glewSearchExtension("GL_NV_gpu_program5", extStart, extEnd);
10982#endif /* GL_NV_tessellation_program5 */
10983#ifdef GL_NV_texgen_emboss
10984 CONST_CAST(GLEW_NV_texgen_emboss) = _glewSearchExtension("GL_NV_texgen_emboss", extStart, extEnd);
10985#endif /* GL_NV_texgen_emboss */
10986#ifdef GL_NV_texgen_reflection
10987 CONST_CAST(GLEW_NV_texgen_reflection) = _glewSearchExtension("GL_NV_texgen_reflection", extStart, extEnd);
10988#endif /* GL_NV_texgen_reflection */
10989#ifdef GL_NV_texture_barrier
10990 CONST_CAST(GLEW_NV_texture_barrier) = _glewSearchExtension("GL_NV_texture_barrier", extStart, extEnd);
10991 if (glewExperimental || GLEW_NV_texture_barrier) CONST_CAST(GLEW_NV_texture_barrier) = !_glewInit_GL_NV_texture_barrier(GLEW_CONTEXT_ARG_VAR_INIT);
10992#endif /* GL_NV_texture_barrier */
10993#ifdef GL_NV_texture_compression_vtc
10994 CONST_CAST(GLEW_NV_texture_compression_vtc) = _glewSearchExtension("GL_NV_texture_compression_vtc", extStart, extEnd);
10995#endif /* GL_NV_texture_compression_vtc */
10996#ifdef GL_NV_texture_env_combine4
10997 CONST_CAST(GLEW_NV_texture_env_combine4) = _glewSearchExtension("GL_NV_texture_env_combine4", extStart, extEnd);
10998#endif /* GL_NV_texture_env_combine4 */
10999#ifdef GL_NV_texture_expand_normal
11000 CONST_CAST(GLEW_NV_texture_expand_normal) = _glewSearchExtension("GL_NV_texture_expand_normal", extStart, extEnd);
11001#endif /* GL_NV_texture_expand_normal */
11002#ifdef GL_NV_texture_multisample
11003 CONST_CAST(GLEW_NV_texture_multisample) = _glewSearchExtension("GL_NV_texture_multisample", extStart, extEnd);
11004 if (glewExperimental || GLEW_NV_texture_multisample) CONST_CAST(GLEW_NV_texture_multisample) = !_glewInit_GL_NV_texture_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
11005#endif /* GL_NV_texture_multisample */
11006#ifdef GL_NV_texture_rectangle
11007 CONST_CAST(GLEW_NV_texture_rectangle) = _glewSearchExtension("GL_NV_texture_rectangle", extStart, extEnd);
11008#endif /* GL_NV_texture_rectangle */
11009#ifdef GL_NV_texture_shader
11010 CONST_CAST(GLEW_NV_texture_shader) = _glewSearchExtension("GL_NV_texture_shader", extStart, extEnd);
11011#endif /* GL_NV_texture_shader */
11012#ifdef GL_NV_texture_shader2
11013 CONST_CAST(GLEW_NV_texture_shader2) = _glewSearchExtension("GL_NV_texture_shader2", extStart, extEnd);
11014#endif /* GL_NV_texture_shader2 */
11015#ifdef GL_NV_texture_shader3
11016 CONST_CAST(GLEW_NV_texture_shader3) = _glewSearchExtension("GL_NV_texture_shader3", extStart, extEnd);
11017#endif /* GL_NV_texture_shader3 */
11018#ifdef GL_NV_transform_feedback
11019 CONST_CAST(GLEW_NV_transform_feedback) = _glewSearchExtension("GL_NV_transform_feedback", extStart, extEnd);
11020 if (glewExperimental || GLEW_NV_transform_feedback) CONST_CAST(GLEW_NV_transform_feedback) = !_glewInit_GL_NV_transform_feedback(GLEW_CONTEXT_ARG_VAR_INIT);
11021#endif /* GL_NV_transform_feedback */
11022#ifdef GL_NV_transform_feedback2
11023 CONST_CAST(GLEW_NV_transform_feedback2) = _glewSearchExtension("GL_NV_transform_feedback2", extStart, extEnd);
11024 if (glewExperimental || GLEW_NV_transform_feedback2) CONST_CAST(GLEW_NV_transform_feedback2) = !_glewInit_GL_NV_transform_feedback2(GLEW_CONTEXT_ARG_VAR_INIT);
11025#endif /* GL_NV_transform_feedback2 */
11026#ifdef GL_NV_vdpau_interop
11027 CONST_CAST(GLEW_NV_vdpau_interop) = _glewSearchExtension("GL_NV_vdpau_interop", extStart, extEnd);
11028 if (glewExperimental || GLEW_NV_vdpau_interop) CONST_CAST(GLEW_NV_vdpau_interop) = !_glewInit_GL_NV_vdpau_interop(GLEW_CONTEXT_ARG_VAR_INIT);
11029#endif /* GL_NV_vdpau_interop */
11030#ifdef GL_NV_vertex_array_range
11031 CONST_CAST(GLEW_NV_vertex_array_range) = _glewSearchExtension("GL_NV_vertex_array_range", extStart, extEnd);
11032 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);
11033#endif /* GL_NV_vertex_array_range */
11034#ifdef GL_NV_vertex_array_range2
11035 CONST_CAST(GLEW_NV_vertex_array_range2) = _glewSearchExtension("GL_NV_vertex_array_range2", extStart, extEnd);
11036#endif /* GL_NV_vertex_array_range2 */
11037#ifdef GL_NV_vertex_attrib_integer_64bit
11038 CONST_CAST(GLEW_NV_vertex_attrib_integer_64bit) = _glewSearchExtension("GL_NV_vertex_attrib_integer_64bit", extStart, extEnd);
11039 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);
11040#endif /* GL_NV_vertex_attrib_integer_64bit */
11041#ifdef GL_NV_vertex_buffer_unified_memory
11042 CONST_CAST(GLEW_NV_vertex_buffer_unified_memory) = _glewSearchExtension("GL_NV_vertex_buffer_unified_memory", extStart, extEnd);
11043 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);
11044#endif /* GL_NV_vertex_buffer_unified_memory */
11045#ifdef GL_NV_vertex_program
11046 CONST_CAST(GLEW_NV_vertex_program) = _glewSearchExtension("GL_NV_vertex_program", extStart, extEnd);
11047 if (glewExperimental || GLEW_NV_vertex_program) CONST_CAST(GLEW_NV_vertex_program) = !_glewInit_GL_NV_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT);
11048#endif /* GL_NV_vertex_program */
11049#ifdef GL_NV_vertex_program1_1
11050 CONST_CAST(GLEW_NV_vertex_program1_1) = _glewSearchExtension("GL_NV_vertex_program1_1", extStart, extEnd);
11051#endif /* GL_NV_vertex_program1_1 */
11052#ifdef GL_NV_vertex_program2
11053 CONST_CAST(GLEW_NV_vertex_program2) = _glewSearchExtension("GL_NV_vertex_program2", extStart, extEnd);
11054#endif /* GL_NV_vertex_program2 */
11055#ifdef GL_NV_vertex_program2_option
11056 CONST_CAST(GLEW_NV_vertex_program2_option) = _glewSearchExtension("GL_NV_vertex_program2_option", extStart, extEnd);
11057#endif /* GL_NV_vertex_program2_option */
11058#ifdef GL_NV_vertex_program3
11059 CONST_CAST(GLEW_NV_vertex_program3) = _glewSearchExtension("GL_NV_vertex_program3", extStart, extEnd);
11060#endif /* GL_NV_vertex_program3 */
11061#ifdef GL_NV_vertex_program4
11062 CONST_CAST(GLEW_NV_vertex_program4) = _glewSearchExtension("GL_NV_gpu_program4", extStart, extEnd);
11063#endif /* GL_NV_vertex_program4 */
11064#ifdef GL_NV_video_capture
11065 CONST_CAST(GLEW_NV_video_capture) = _glewSearchExtension("GL_NV_video_capture", extStart, extEnd);
11066 if (glewExperimental || GLEW_NV_video_capture) CONST_CAST(GLEW_NV_video_capture) = !_glewInit_GL_NV_video_capture(GLEW_CONTEXT_ARG_VAR_INIT);
11067#endif /* GL_NV_video_capture */
11068#ifdef GL_OES_byte_coordinates
11069 CONST_CAST(GLEW_OES_byte_coordinates) = _glewSearchExtension("GL_OES_byte_coordinates", extStart, extEnd);
11070#endif /* GL_OES_byte_coordinates */
11071#ifdef GL_OES_compressed_paletted_texture
11072 CONST_CAST(GLEW_OES_compressed_paletted_texture) = _glewSearchExtension("GL_OES_compressed_paletted_texture", extStart, extEnd);
11073#endif /* GL_OES_compressed_paletted_texture */
11074#ifdef GL_OES_read_format
11075 CONST_CAST(GLEW_OES_read_format) = _glewSearchExtension("GL_OES_read_format", extStart, extEnd);
11076#endif /* GL_OES_read_format */
11077#ifdef GL_OES_single_precision
11078 CONST_CAST(GLEW_OES_single_precision) = _glewSearchExtension("GL_OES_single_precision", extStart, extEnd);
11079 if (glewExperimental || GLEW_OES_single_precision) CONST_CAST(GLEW_OES_single_precision) = !_glewInit_GL_OES_single_precision(GLEW_CONTEXT_ARG_VAR_INIT);
11080#endif /* GL_OES_single_precision */
11081#ifdef GL_OML_interlace
11082 CONST_CAST(GLEW_OML_interlace) = _glewSearchExtension("GL_OML_interlace", extStart, extEnd);
11083#endif /* GL_OML_interlace */
11084#ifdef GL_OML_resample
11085 CONST_CAST(GLEW_OML_resample) = _glewSearchExtension("GL_OML_resample", extStart, extEnd);
11086#endif /* GL_OML_resample */
11087#ifdef GL_OML_subsample
11088 CONST_CAST(GLEW_OML_subsample) = _glewSearchExtension("GL_OML_subsample", extStart, extEnd);
11089#endif /* GL_OML_subsample */
11090#ifdef GL_PGI_misc_hints
11091 CONST_CAST(GLEW_PGI_misc_hints) = _glewSearchExtension("GL_PGI_misc_hints", extStart, extEnd);
11092#endif /* GL_PGI_misc_hints */
11093#ifdef GL_PGI_vertex_hints
11094 CONST_CAST(GLEW_PGI_vertex_hints) = _glewSearchExtension("GL_PGI_vertex_hints", extStart, extEnd);
11095#endif /* GL_PGI_vertex_hints */
11096#ifdef GL_REGAL_ES1_0_compatibility
11097 CONST_CAST(GLEW_REGAL_ES1_0_compatibility) = _glewSearchExtension("GL_REGAL_ES1_0_compatibility", extStart, extEnd);
11098 if (glewExperimental || GLEW_REGAL_ES1_0_compatibility) CONST_CAST(GLEW_REGAL_ES1_0_compatibility) = !_glewInit_GL_REGAL_ES1_0_compatibility(GLEW_CONTEXT_ARG_VAR_INIT);
11099#endif /* GL_REGAL_ES1_0_compatibility */
11100#ifdef GL_REGAL_ES1_1_compatibility
11101 CONST_CAST(GLEW_REGAL_ES1_1_compatibility) = _glewSearchExtension("GL_REGAL_ES1_1_compatibility", extStart, extEnd);
11102 if (glewExperimental || GLEW_REGAL_ES1_1_compatibility) CONST_CAST(GLEW_REGAL_ES1_1_compatibility) = !_glewInit_GL_REGAL_ES1_1_compatibility(GLEW_CONTEXT_ARG_VAR_INIT);
11103#endif /* GL_REGAL_ES1_1_compatibility */
11104#ifdef GL_REGAL_enable
11105 CONST_CAST(GLEW_REGAL_enable) = _glewSearchExtension("GL_REGAL_enable", extStart, extEnd);
11106#endif /* GL_REGAL_enable */
11107#ifdef GL_REGAL_error_string
11108 CONST_CAST(GLEW_REGAL_error_string) = _glewSearchExtension("GL_REGAL_error_string", extStart, extEnd);
11109 if (glewExperimental || GLEW_REGAL_error_string) CONST_CAST(GLEW_REGAL_error_string) = !_glewInit_GL_REGAL_error_string(GLEW_CONTEXT_ARG_VAR_INIT);
11110#endif /* GL_REGAL_error_string */
11111#ifdef GL_REGAL_extension_query
11112 CONST_CAST(GLEW_REGAL_extension_query) = _glewSearchExtension("GL_REGAL_extension_query", extStart, extEnd);
11113 if (glewExperimental || GLEW_REGAL_extension_query) CONST_CAST(GLEW_REGAL_extension_query) = !_glewInit_GL_REGAL_extension_query(GLEW_CONTEXT_ARG_VAR_INIT);
11114#endif /* GL_REGAL_extension_query */
11115#ifdef GL_REGAL_log
11116 CONST_CAST(GLEW_REGAL_log) = _glewSearchExtension("GL_REGAL_log", extStart, extEnd);
11117 if (glewExperimental || GLEW_REGAL_log) CONST_CAST(GLEW_REGAL_log) = !_glewInit_GL_REGAL_log(GLEW_CONTEXT_ARG_VAR_INIT);
11118#endif /* GL_REGAL_log */
11119#ifdef GL_REND_screen_coordinates
11120 CONST_CAST(GLEW_REND_screen_coordinates) = _glewSearchExtension("GL_REND_screen_coordinates", extStart, extEnd);
11121#endif /* GL_REND_screen_coordinates */
11122#ifdef GL_S3_s3tc
11123 CONST_CAST(GLEW_S3_s3tc) = _glewSearchExtension("GL_S3_s3tc", extStart, extEnd);
11124#endif /* GL_S3_s3tc */
11125#ifdef GL_SGIS_color_range
11126 CONST_CAST(GLEW_SGIS_color_range) = _glewSearchExtension("GL_SGIS_color_range", extStart, extEnd);
11127#endif /* GL_SGIS_color_range */
11128#ifdef GL_SGIS_detail_texture
11129 CONST_CAST(GLEW_SGIS_detail_texture) = _glewSearchExtension("GL_SGIS_detail_texture", extStart, extEnd);
11130 if (glewExperimental || GLEW_SGIS_detail_texture) CONST_CAST(GLEW_SGIS_detail_texture) = !_glewInit_GL_SGIS_detail_texture(GLEW_CONTEXT_ARG_VAR_INIT);
11131#endif /* GL_SGIS_detail_texture */
11132#ifdef GL_SGIS_fog_function
11133 CONST_CAST(GLEW_SGIS_fog_function) = _glewSearchExtension("GL_SGIS_fog_function", extStart, extEnd);
11134 if (glewExperimental || GLEW_SGIS_fog_function) CONST_CAST(GLEW_SGIS_fog_function) = !_glewInit_GL_SGIS_fog_function(GLEW_CONTEXT_ARG_VAR_INIT);
11135#endif /* GL_SGIS_fog_function */
11136#ifdef GL_SGIS_generate_mipmap
11137 CONST_CAST(GLEW_SGIS_generate_mipmap) = _glewSearchExtension("GL_SGIS_generate_mipmap", extStart, extEnd);
11138#endif /* GL_SGIS_generate_mipmap */
11139#ifdef GL_SGIS_multisample
11140 CONST_CAST(GLEW_SGIS_multisample) = _glewSearchExtension("GL_SGIS_multisample", extStart, extEnd);
11141 if (glewExperimental || GLEW_SGIS_multisample) CONST_CAST(GLEW_SGIS_multisample) = !_glewInit_GL_SGIS_multisample(GLEW_CONTEXT_ARG_VAR_INIT);
11142#endif /* GL_SGIS_multisample */
11143#ifdef GL_SGIS_pixel_texture
11144 CONST_CAST(GLEW_SGIS_pixel_texture) = _glewSearchExtension("GL_SGIS_pixel_texture", extStart, extEnd);
11145#endif /* GL_SGIS_pixel_texture */
11146#ifdef GL_SGIS_point_line_texgen
11147 CONST_CAST(GLEW_SGIS_point_line_texgen) = _glewSearchExtension("GL_SGIS_point_line_texgen", extStart, extEnd);
11148#endif /* GL_SGIS_point_line_texgen */
11149#ifdef GL_SGIS_sharpen_texture
11150 CONST_CAST(GLEW_SGIS_sharpen_texture) = _glewSearchExtension("GL_SGIS_sharpen_texture", extStart, extEnd);
11151 if (glewExperimental || GLEW_SGIS_sharpen_texture) CONST_CAST(GLEW_SGIS_sharpen_texture) = !_glewInit_GL_SGIS_sharpen_texture(GLEW_CONTEXT_ARG_VAR_INIT);
11152#endif /* GL_SGIS_sharpen_texture */
11153#ifdef GL_SGIS_texture4D
11154 CONST_CAST(GLEW_SGIS_texture4D) = _glewSearchExtension("GL_SGIS_texture4D", extStart, extEnd);
11155 if (glewExperimental || GLEW_SGIS_texture4D) CONST_CAST(GLEW_SGIS_texture4D) = !_glewInit_GL_SGIS_texture4D(GLEW_CONTEXT_ARG_VAR_INIT);
11156#endif /* GL_SGIS_texture4D */
11157#ifdef GL_SGIS_texture_border_clamp
11158 CONST_CAST(GLEW_SGIS_texture_border_clamp) = _glewSearchExtension("GL_SGIS_texture_border_clamp", extStart, extEnd);
11159#endif /* GL_SGIS_texture_border_clamp */
11160#ifdef GL_SGIS_texture_edge_clamp
11161 CONST_CAST(GLEW_SGIS_texture_edge_clamp) = _glewSearchExtension("GL_SGIS_texture_edge_clamp", extStart, extEnd);
11162#endif /* GL_SGIS_texture_edge_clamp */
11163#ifdef GL_SGIS_texture_filter4
11164 CONST_CAST(GLEW_SGIS_texture_filter4) = _glewSearchExtension("GL_SGIS_texture_filter4", extStart, extEnd);
11165 if (glewExperimental || GLEW_SGIS_texture_filter4) CONST_CAST(GLEW_SGIS_texture_filter4) = !_glewInit_GL_SGIS_texture_filter4(GLEW_CONTEXT_ARG_VAR_INIT);
11166#endif /* GL_SGIS_texture_filter4 */
11167#ifdef GL_SGIS_texture_lod
11168 CONST_CAST(GLEW_SGIS_texture_lod) = _glewSearchExtension("GL_SGIS_texture_lod", extStart, extEnd);
11169#endif /* GL_SGIS_texture_lod */
11170#ifdef GL_SGIS_texture_select
11171 CONST_CAST(GLEW_SGIS_texture_select) = _glewSearchExtension("GL_SGIS_texture_select", extStart, extEnd);
11172#endif /* GL_SGIS_texture_select */
11173#ifdef GL_SGIX_async
11174 CONST_CAST(GLEW_SGIX_async) = _glewSearchExtension("GL_SGIX_async", extStart, extEnd);
11175 if (glewExperimental || GLEW_SGIX_async) CONST_CAST(GLEW_SGIX_async) = !_glewInit_GL_SGIX_async(GLEW_CONTEXT_ARG_VAR_INIT);
11176#endif /* GL_SGIX_async */
11177#ifdef GL_SGIX_async_histogram
11178 CONST_CAST(GLEW_SGIX_async_histogram) = _glewSearchExtension("GL_SGIX_async_histogram", extStart, extEnd);
11179#endif /* GL_SGIX_async_histogram */
11180#ifdef GL_SGIX_async_pixel
11181 CONST_CAST(GLEW_SGIX_async_pixel) = _glewSearchExtension("GL_SGIX_async_pixel", extStart, extEnd);
11182#endif /* GL_SGIX_async_pixel */
11183#ifdef GL_SGIX_blend_alpha_minmax
11184 CONST_CAST(GLEW_SGIX_blend_alpha_minmax) = _glewSearchExtension("GL_SGIX_blend_alpha_minmax", extStart, extEnd);
11185#endif /* GL_SGIX_blend_alpha_minmax */
11186#ifdef GL_SGIX_clipmap
11187 CONST_CAST(GLEW_SGIX_clipmap) = _glewSearchExtension("GL_SGIX_clipmap", extStart, extEnd);
11188#endif /* GL_SGIX_clipmap */
11189#ifdef GL_SGIX_convolution_accuracy
11190 CONST_CAST(GLEW_SGIX_convolution_accuracy) = _glewSearchExtension("GL_SGIX_convolution_accuracy", extStart, extEnd);
11191#endif /* GL_SGIX_convolution_accuracy */
11192#ifdef GL_SGIX_depth_texture
11193 CONST_CAST(GLEW_SGIX_depth_texture) = _glewSearchExtension("GL_SGIX_depth_texture", extStart, extEnd);
11194#endif /* GL_SGIX_depth_texture */
11195#ifdef GL_SGIX_flush_raster
11196 CONST_CAST(GLEW_SGIX_flush_raster) = _glewSearchExtension("GL_SGIX_flush_raster", extStart, extEnd);
11197 if (glewExperimental || GLEW_SGIX_flush_raster) CONST_CAST(GLEW_SGIX_flush_raster) = !_glewInit_GL_SGIX_flush_raster(GLEW_CONTEXT_ARG_VAR_INIT);
11198#endif /* GL_SGIX_flush_raster */
11199#ifdef GL_SGIX_fog_offset
11200 CONST_CAST(GLEW_SGIX_fog_offset) = _glewSearchExtension("GL_SGIX_fog_offset", extStart, extEnd);
11201#endif /* GL_SGIX_fog_offset */
11202#ifdef GL_SGIX_fog_texture
11203 CONST_CAST(GLEW_SGIX_fog_texture) = _glewSearchExtension("GL_SGIX_fog_texture", extStart, extEnd);
11204 if (glewExperimental || GLEW_SGIX_fog_texture) CONST_CAST(GLEW_SGIX_fog_texture) = !_glewInit_GL_SGIX_fog_texture(GLEW_CONTEXT_ARG_VAR_INIT);
11205#endif /* GL_SGIX_fog_texture */
11206#ifdef GL_SGIX_fragment_specular_lighting
11207 CONST_CAST(GLEW_SGIX_fragment_specular_lighting) = _glewSearchExtension("GL_SGIX_fragment_specular_lighting", extStart, extEnd);
11208 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);
11209#endif /* GL_SGIX_fragment_specular_lighting */
11210#ifdef GL_SGIX_framezoom
11211 CONST_CAST(GLEW_SGIX_framezoom) = _glewSearchExtension("GL_SGIX_framezoom", extStart, extEnd);
11212 if (glewExperimental || GLEW_SGIX_framezoom) CONST_CAST(GLEW_SGIX_framezoom) = !_glewInit_GL_SGIX_framezoom(GLEW_CONTEXT_ARG_VAR_INIT);
11213#endif /* GL_SGIX_framezoom */
11214#ifdef GL_SGIX_interlace
11215 CONST_CAST(GLEW_SGIX_interlace) = _glewSearchExtension("GL_SGIX_interlace", extStart, extEnd);
11216#endif /* GL_SGIX_interlace */
11217#ifdef GL_SGIX_ir_instrument1
11218 CONST_CAST(GLEW_SGIX_ir_instrument1) = _glewSearchExtension("GL_SGIX_ir_instrument1", extStart, extEnd);
11219#endif /* GL_SGIX_ir_instrument1 */
11220#ifdef GL_SGIX_list_priority
11221 CONST_CAST(GLEW_SGIX_list_priority) = _glewSearchExtension("GL_SGIX_list_priority", extStart, extEnd);
11222#endif /* GL_SGIX_list_priority */
11223#ifdef GL_SGIX_pixel_texture
11224 CONST_CAST(GLEW_SGIX_pixel_texture) = _glewSearchExtension("GL_SGIX_pixel_texture", extStart, extEnd);
11225 if (glewExperimental || GLEW_SGIX_pixel_texture) CONST_CAST(GLEW_SGIX_pixel_texture) = !_glewInit_GL_SGIX_pixel_texture(GLEW_CONTEXT_ARG_VAR_INIT);
11226#endif /* GL_SGIX_pixel_texture */
11227#ifdef GL_SGIX_pixel_texture_bits
11228 CONST_CAST(GLEW_SGIX_pixel_texture_bits) = _glewSearchExtension("GL_SGIX_pixel_texture_bits", extStart, extEnd);
11229#endif /* GL_SGIX_pixel_texture_bits */
11230#ifdef GL_SGIX_reference_plane
11231 CONST_CAST(GLEW_SGIX_reference_plane) = _glewSearchExtension("GL_SGIX_reference_plane", extStart, extEnd);
11232 if (glewExperimental || GLEW_SGIX_reference_plane) CONST_CAST(GLEW_SGIX_reference_plane) = !_glewInit_GL_SGIX_reference_plane(GLEW_CONTEXT_ARG_VAR_INIT);
11233#endif /* GL_SGIX_reference_plane */
11234#ifdef GL_SGIX_resample
11235 CONST_CAST(GLEW_SGIX_resample) = _glewSearchExtension("GL_SGIX_resample", extStart, extEnd);
11236#endif /* GL_SGIX_resample */
11237#ifdef GL_SGIX_shadow
11238 CONST_CAST(GLEW_SGIX_shadow) = _glewSearchExtension("GL_SGIX_shadow", extStart, extEnd);
11239#endif /* GL_SGIX_shadow */
11240#ifdef GL_SGIX_shadow_ambient
11241 CONST_CAST(GLEW_SGIX_shadow_ambient) = _glewSearchExtension("GL_SGIX_shadow_ambient", extStart, extEnd);
11242#endif /* GL_SGIX_shadow_ambient */
11243#ifdef GL_SGIX_sprite
11244 CONST_CAST(GLEW_SGIX_sprite) = _glewSearchExtension("GL_SGIX_sprite", extStart, extEnd);
11245 if (glewExperimental || GLEW_SGIX_sprite) CONST_CAST(GLEW_SGIX_sprite) = !_glewInit_GL_SGIX_sprite(GLEW_CONTEXT_ARG_VAR_INIT);
11246#endif /* GL_SGIX_sprite */
11247#ifdef GL_SGIX_tag_sample_buffer
11248 CONST_CAST(GLEW_SGIX_tag_sample_buffer) = _glewSearchExtension("GL_SGIX_tag_sample_buffer", extStart, extEnd);
11249 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);
11250#endif /* GL_SGIX_tag_sample_buffer */
11251#ifdef GL_SGIX_texture_add_env
11252 CONST_CAST(GLEW_SGIX_texture_add_env) = _glewSearchExtension("GL_SGIX_texture_add_env", extStart, extEnd);
11253#endif /* GL_SGIX_texture_add_env */
11254#ifdef GL_SGIX_texture_coordinate_clamp
11255 CONST_CAST(GLEW_SGIX_texture_coordinate_clamp) = _glewSearchExtension("GL_SGIX_texture_coordinate_clamp", extStart, extEnd);
11256#endif /* GL_SGIX_texture_coordinate_clamp */
11257#ifdef GL_SGIX_texture_lod_bias
11258 CONST_CAST(GLEW_SGIX_texture_lod_bias) = _glewSearchExtension("GL_SGIX_texture_lod_bias", extStart, extEnd);
11259#endif /* GL_SGIX_texture_lod_bias */
11260#ifdef GL_SGIX_texture_multi_buffer
11261 CONST_CAST(GLEW_SGIX_texture_multi_buffer) = _glewSearchExtension("GL_SGIX_texture_multi_buffer", extStart, extEnd);
11262#endif /* GL_SGIX_texture_multi_buffer */
11263#ifdef GL_SGIX_texture_range
11264 CONST_CAST(GLEW_SGIX_texture_range) = _glewSearchExtension("GL_SGIX_texture_range", extStart, extEnd);
11265#endif /* GL_SGIX_texture_range */
11266#ifdef GL_SGIX_texture_scale_bias
11267 CONST_CAST(GLEW_SGIX_texture_scale_bias) = _glewSearchExtension("GL_SGIX_texture_scale_bias", extStart, extEnd);
11268#endif /* GL_SGIX_texture_scale_bias */
11269#ifdef GL_SGIX_vertex_preclip
11270 CONST_CAST(GLEW_SGIX_vertex_preclip) = _glewSearchExtension("GL_SGIX_vertex_preclip", extStart, extEnd);
11271#endif /* GL_SGIX_vertex_preclip */
11272#ifdef GL_SGIX_vertex_preclip_hint
11273 CONST_CAST(GLEW_SGIX_vertex_preclip_hint) = _glewSearchExtension("GL_SGIX_vertex_preclip_hint", extStart, extEnd);
11274#endif /* GL_SGIX_vertex_preclip_hint */
11275#ifdef GL_SGIX_ycrcb
11276 CONST_CAST(GLEW_SGIX_ycrcb) = _glewSearchExtension("GL_SGIX_ycrcb", extStart, extEnd);
11277#endif /* GL_SGIX_ycrcb */
11278#ifdef GL_SGI_color_matrix
11279 CONST_CAST(GLEW_SGI_color_matrix) = _glewSearchExtension("GL_SGI_color_matrix", extStart, extEnd);
11280#endif /* GL_SGI_color_matrix */
11281#ifdef GL_SGI_color_table
11282 CONST_CAST(GLEW_SGI_color_table) = _glewSearchExtension("GL_SGI_color_table", extStart, extEnd);
11283 if (glewExperimental || GLEW_SGI_color_table) CONST_CAST(GLEW_SGI_color_table) = !_glewInit_GL_SGI_color_table(GLEW_CONTEXT_ARG_VAR_INIT);
11284#endif /* GL_SGI_color_table */
11285#ifdef GL_SGI_texture_color_table
11286 CONST_CAST(GLEW_SGI_texture_color_table) = _glewSearchExtension("GL_SGI_texture_color_table", extStart, extEnd);
11287#endif /* GL_SGI_texture_color_table */
11288#ifdef GL_SUNX_constant_data
11289 CONST_CAST(GLEW_SUNX_constant_data) = _glewSearchExtension("GL_SUNX_constant_data", extStart, extEnd);
11290 if (glewExperimental || GLEW_SUNX_constant_data) CONST_CAST(GLEW_SUNX_constant_data) = !_glewInit_GL_SUNX_constant_data(GLEW_CONTEXT_ARG_VAR_INIT);
11291#endif /* GL_SUNX_constant_data */
11292#ifdef GL_SUN_convolution_border_modes
11293 CONST_CAST(GLEW_SUN_convolution_border_modes) = _glewSearchExtension("GL_SUN_convolution_border_modes", extStart, extEnd);
11294#endif /* GL_SUN_convolution_border_modes */
11295#ifdef GL_SUN_global_alpha
11296 CONST_CAST(GLEW_SUN_global_alpha) = _glewSearchExtension("GL_SUN_global_alpha", extStart, extEnd);
11297 if (glewExperimental || GLEW_SUN_global_alpha) CONST_CAST(GLEW_SUN_global_alpha) = !_glewInit_GL_SUN_global_alpha(GLEW_CONTEXT_ARG_VAR_INIT);
11298#endif /* GL_SUN_global_alpha */
11299#ifdef GL_SUN_mesh_array
11300 CONST_CAST(GLEW_SUN_mesh_array) = _glewSearchExtension("GL_SUN_mesh_array", extStart, extEnd);
11301#endif /* GL_SUN_mesh_array */
11302#ifdef GL_SUN_read_video_pixels
11303 CONST_CAST(GLEW_SUN_read_video_pixels) = _glewSearchExtension("GL_SUN_read_video_pixels", extStart, extEnd);
11304 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);
11305#endif /* GL_SUN_read_video_pixels */
11306#ifdef GL_SUN_slice_accum
11307 CONST_CAST(GLEW_SUN_slice_accum) = _glewSearchExtension("GL_SUN_slice_accum", extStart, extEnd);
11308#endif /* GL_SUN_slice_accum */
11309#ifdef GL_SUN_triangle_list
11310 CONST_CAST(GLEW_SUN_triangle_list) = _glewSearchExtension("GL_SUN_triangle_list", extStart, extEnd);
11311 if (glewExperimental || GLEW_SUN_triangle_list) CONST_CAST(GLEW_SUN_triangle_list) = !_glewInit_GL_SUN_triangle_list(GLEW_CONTEXT_ARG_VAR_INIT);
11312#endif /* GL_SUN_triangle_list */
11313#ifdef GL_SUN_vertex
11314 CONST_CAST(GLEW_SUN_vertex) = _glewSearchExtension("GL_SUN_vertex", extStart, extEnd);
11315 if (glewExperimental || GLEW_SUN_vertex) CONST_CAST(GLEW_SUN_vertex) = !_glewInit_GL_SUN_vertex(GLEW_CONTEXT_ARG_VAR_INIT);
11316#endif /* GL_SUN_vertex */
11317#ifdef GL_WIN_phong_shading
11318 CONST_CAST(GLEW_WIN_phong_shading) = _glewSearchExtension("GL_WIN_phong_shading", extStart, extEnd);
11319#endif /* GL_WIN_phong_shading */
11320#ifdef GL_WIN_specular_fog
11321 CONST_CAST(GLEW_WIN_specular_fog) = _glewSearchExtension("GL_WIN_specular_fog", extStart, extEnd);
11322#endif /* GL_WIN_specular_fog */
11323#ifdef GL_WIN_swap_hint
11324 CONST_CAST(GLEW_WIN_swap_hint) = _glewSearchExtension("GL_WIN_swap_hint", extStart, extEnd);
11325 if (glewExperimental || GLEW_WIN_swap_hint) CONST_CAST(GLEW_WIN_swap_hint) = !_glewInit_GL_WIN_swap_hint(GLEW_CONTEXT_ARG_VAR_INIT);
11326#endif /* GL_WIN_swap_hint */
11327
11328 return GLEW_OK;
11329}
11330
11331
11332#if defined(_WIN32)
11333
11334#if !defined(GLEW_MX)
11335
11336PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL = NULL;
11337
11338PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD = NULL;
11339PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD = NULL;
11340PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD = NULL;
11341PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD = NULL;
11342PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD = NULL;
11343PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD = NULL;
11344PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD = NULL;
11345PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD = NULL;
11346PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD = NULL;
11347
11348PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB = NULL;
11349PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB = NULL;
11350PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB = NULL;
11351PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB = NULL;
11352
11353PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB = NULL;
11354
11355PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB = NULL;
11356
11357PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB = NULL;
11358PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB = NULL;
11359
11360PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB = NULL;
11361PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB = NULL;
11362PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB = NULL;
11363PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB = NULL;
11364PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB = NULL;
11365
11366PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB = NULL;
11367PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB = NULL;
11368PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB = NULL;
11369
11370PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB = NULL;
11371PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB = NULL;
11372PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB = NULL;
11373
11374PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT = NULL;
11375PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT = NULL;
11376PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT = NULL;
11377PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT = NULL;
11378
11379PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT = NULL;
11380
11381PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT = NULL;
11382PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT = NULL;
11383
11384PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT = NULL;
11385PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT = NULL;
11386PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT = NULL;
11387PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT = NULL;
11388PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT = NULL;
11389
11390PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT = NULL;
11391PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT = NULL;
11392PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT = NULL;
11393
11394PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT = NULL;
11395PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT = NULL;
11396
11397PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D = NULL;
11398PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D = NULL;
11399
11400PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D = NULL;
11401PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D = NULL;
11402PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D = NULL;
11403PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D = NULL;
11404
11405PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D = NULL;
11406PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D = NULL;
11407PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D = NULL;
11408PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D = NULL;
11409PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D = NULL;
11410PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D = NULL;
11411PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D = NULL;
11412PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D = NULL;
11413PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D = NULL;
11414PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D = NULL;
11415PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D = NULL;
11416PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D = NULL;
11417
11418PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D = NULL;
11419PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D = NULL;
11420PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D = NULL;
11421PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D = NULL;
11422
11423PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D = NULL;
11424PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D = NULL;
11425PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D = NULL;
11426PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D = NULL;
11427
11428PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D = NULL;
11429PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D = NULL;
11430PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D = NULL;
11431PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D = NULL;
11432
11433PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV = NULL;
11434PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV = NULL;
11435PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV = NULL;
11436PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV = NULL;
11437PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV = NULL;
11438PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV = NULL;
11439PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV = NULL;
11440PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV = NULL;
11441
11442PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV = NULL;
11443
11444PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV = NULL;
11445PFNWGLDELETEDCNVPROC __wglewDeleteDCNV = NULL;
11446PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV = NULL;
11447PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV = NULL;
11448PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV = NULL;
11449
11450PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV = NULL;
11451PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV = NULL;
11452PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV = NULL;
11453
11454PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV = NULL;
11455PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV = NULL;
11456PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV = NULL;
11457PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV = NULL;
11458PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV = NULL;
11459PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV = NULL;
11460
11461PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV = NULL;
11462PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV = NULL;
11463
11464PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV = NULL;
11465PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV = NULL;
11466PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV = NULL;
11467PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV = NULL;
11468PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV = NULL;
11469
11470PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV = NULL;
11471PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV = NULL;
11472PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV = NULL;
11473PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV = NULL;
11474PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV = NULL;
11475PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV = NULL;
11476
11477PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML = NULL;
11478PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML = NULL;
11479PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML = NULL;
11480PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML = NULL;
11481PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML = NULL;
11482PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML = NULL;
11483GLboolean __WGLEW_3DFX_multisample = GL_FALSE;
11484GLboolean __WGLEW_3DL_stereo_control = GL_FALSE;
11485GLboolean __WGLEW_AMD_gpu_association = GL_FALSE;
11486GLboolean __WGLEW_ARB_buffer_region = GL_FALSE;
11487GLboolean __WGLEW_ARB_create_context = GL_FALSE;
11488GLboolean __WGLEW_ARB_create_context_profile = GL_FALSE;
11489GLboolean __WGLEW_ARB_create_context_robustness = GL_FALSE;
11490GLboolean __WGLEW_ARB_extensions_string = GL_FALSE;
11491GLboolean __WGLEW_ARB_framebuffer_sRGB = GL_FALSE;
11492GLboolean __WGLEW_ARB_make_current_read = GL_FALSE;
11493GLboolean __WGLEW_ARB_multisample = GL_FALSE;
11494GLboolean __WGLEW_ARB_pbuffer = GL_FALSE;
11495GLboolean __WGLEW_ARB_pixel_format = GL_FALSE;
11496GLboolean __WGLEW_ARB_pixel_format_float = GL_FALSE;
11497GLboolean __WGLEW_ARB_render_texture = GL_FALSE;
11498GLboolean __WGLEW_ARB_robustness_application_isolation = GL_FALSE;
11499GLboolean __WGLEW_ARB_robustness_share_group_isolation = GL_FALSE;
11500GLboolean __WGLEW_ATI_pixel_format_float = GL_FALSE;
11501GLboolean __WGLEW_ATI_render_texture_rectangle = GL_FALSE;
11502GLboolean __WGLEW_EXT_create_context_es2_profile = GL_FALSE;
11503GLboolean __WGLEW_EXT_create_context_es_profile = GL_FALSE;
11504GLboolean __WGLEW_EXT_depth_float = GL_FALSE;
11505GLboolean __WGLEW_EXT_display_color_table = GL_FALSE;
11506GLboolean __WGLEW_EXT_extensions_string = GL_FALSE;
11507GLboolean __WGLEW_EXT_framebuffer_sRGB = GL_FALSE;
11508GLboolean __WGLEW_EXT_make_current_read = GL_FALSE;
11509GLboolean __WGLEW_EXT_multisample = GL_FALSE;
11510GLboolean __WGLEW_EXT_pbuffer = GL_FALSE;
11511GLboolean __WGLEW_EXT_pixel_format = GL_FALSE;
11512GLboolean __WGLEW_EXT_pixel_format_packed_float = GL_FALSE;
11513GLboolean __WGLEW_EXT_swap_control = GL_FALSE;
11514GLboolean __WGLEW_EXT_swap_control_tear = GL_FALSE;
11515GLboolean __WGLEW_I3D_digital_video_control = GL_FALSE;
11516GLboolean __WGLEW_I3D_gamma = GL_FALSE;
11517GLboolean __WGLEW_I3D_genlock = GL_FALSE;
11518GLboolean __WGLEW_I3D_image_buffer = GL_FALSE;
11519GLboolean __WGLEW_I3D_swap_frame_lock = GL_FALSE;
11520GLboolean __WGLEW_I3D_swap_frame_usage = GL_FALSE;
11521GLboolean __WGLEW_NV_DX_interop = GL_FALSE;
11522GLboolean __WGLEW_NV_DX_interop2 = GL_FALSE;
11523GLboolean __WGLEW_NV_copy_image = GL_FALSE;
11524GLboolean __WGLEW_NV_float_buffer = GL_FALSE;
11525GLboolean __WGLEW_NV_gpu_affinity = GL_FALSE;
11526GLboolean __WGLEW_NV_multisample_coverage = GL_FALSE;
11527GLboolean __WGLEW_NV_present_video = GL_FALSE;
11528GLboolean __WGLEW_NV_render_depth_texture = GL_FALSE;
11529GLboolean __WGLEW_NV_render_texture_rectangle = GL_FALSE;
11530GLboolean __WGLEW_NV_swap_group = GL_FALSE;
11531GLboolean __WGLEW_NV_vertex_array_range = GL_FALSE;
11532GLboolean __WGLEW_NV_video_capture = GL_FALSE;
11533GLboolean __WGLEW_NV_video_output = GL_FALSE;
11534GLboolean __WGLEW_OML_sync_control = GL_FALSE;
11535
11536#endif /* !GLEW_MX */
11537
11538#ifdef WGL_3DFX_multisample
11539
11540#endif /* WGL_3DFX_multisample */
11541
11542#ifdef WGL_3DL_stereo_control
11543
11544static GLboolean _glewInit_WGL_3DL_stereo_control (WGLEW_CONTEXT_ARG_DEF_INIT)
11545{
11546 GLboolean r = GL_FALSE;
11547
11548 r = ((wglSetStereoEmitterState3DL = (PFNWGLSETSTEREOEMITTERSTATE3DLPROC)glewGetProcAddress((const GLubyte*)"wglSetStereoEmitterState3DL")) == NULL) || r;
11549
11550 return r;
11551}
11552
11553#endif /* WGL_3DL_stereo_control */
11554
11555#ifdef WGL_AMD_gpu_association
11556
11557static GLboolean _glewInit_WGL_AMD_gpu_association (WGLEW_CONTEXT_ARG_DEF_INIT)
11558{
11559 GLboolean r = GL_FALSE;
11560
11561 r = ((wglBlitContextFramebufferAMD = (PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC)glewGetProcAddress((const GLubyte*)"wglBlitContextFramebufferAMD")) == NULL) || r;
11562 r = ((wglCreateAssociatedContextAMD = (PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAMD")) == NULL) || r;
11563 r = ((wglCreateAssociatedContextAttribsAMD = (PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAttribsAMD")) == NULL) || r;
11564 r = ((wglDeleteAssociatedContextAMD = (PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglDeleteAssociatedContextAMD")) == NULL) || r;
11565 r = ((wglGetContextGPUIDAMD = (PFNWGLGETCONTEXTGPUIDAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetContextGPUIDAMD")) == NULL) || r;
11566 r = ((wglGetCurrentAssociatedContextAMD = (PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentAssociatedContextAMD")) == NULL) || r;
11567 r = ((wglGetGPUIDsAMD = (PFNWGLGETGPUIDSAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUIDsAMD")) == NULL) || r;
11568 r = ((wglGetGPUInfoAMD = (PFNWGLGETGPUINFOAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUInfoAMD")) == NULL) || r;
11569 r = ((wglMakeAssociatedContextCurrentAMD = (PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)glewGetProcAddress((const GLubyte*)"wglMakeAssociatedContextCurrentAMD")) == NULL) || r;
11570
11571 return r;
11572}
11573
11574#endif /* WGL_AMD_gpu_association */
11575
11576#ifdef WGL_ARB_buffer_region
11577
11578static GLboolean _glewInit_WGL_ARB_buffer_region (WGLEW_CONTEXT_ARG_DEF_INIT)
11579{
11580 GLboolean r = GL_FALSE;
11581
11582 r = ((wglCreateBufferRegionARB = (PFNWGLCREATEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateBufferRegionARB")) == NULL) || r;
11583 r = ((wglDeleteBufferRegionARB = (PFNWGLDELETEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglDeleteBufferRegionARB")) == NULL) || r;
11584 r = ((wglRestoreBufferRegionARB = (PFNWGLRESTOREBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglRestoreBufferRegionARB")) == NULL) || r;
11585 r = ((wglSaveBufferRegionARB = (PFNWGLSAVEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglSaveBufferRegionARB")) == NULL) || r;
11586
11587 return r;
11588}
11589
11590#endif /* WGL_ARB_buffer_region */
11591
11592#ifdef WGL_ARB_create_context
11593
11594static GLboolean _glewInit_WGL_ARB_create_context (WGLEW_CONTEXT_ARG_DEF_INIT)
11595{
11596 GLboolean r = GL_FALSE;
11597
11598 r = ((wglCreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateContextAttribsARB")) == NULL) || r;
11599
11600 return r;
11601}
11602
11603#endif /* WGL_ARB_create_context */
11604
11605#ifdef WGL_ARB_create_context_profile
11606
11607#endif /* WGL_ARB_create_context_profile */
11608
11609#ifdef WGL_ARB_create_context_robustness
11610
11611#endif /* WGL_ARB_create_context_robustness */
11612
11613#ifdef WGL_ARB_extensions_string
11614
11615static GLboolean _glewInit_WGL_ARB_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT)
11616{
11617 GLboolean r = GL_FALSE;
11618
11619 r = ((wglGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB")) == NULL) || r;
11620
11621 return r;
11622}
11623
11624#endif /* WGL_ARB_extensions_string */
11625
11626#ifdef WGL_ARB_framebuffer_sRGB
11627
11628#endif /* WGL_ARB_framebuffer_sRGB */
11629
11630#ifdef WGL_ARB_make_current_read
11631
11632static GLboolean _glewInit_WGL_ARB_make_current_read (WGLEW_CONTEXT_ARG_DEF_INIT)
11633{
11634 GLboolean r = GL_FALSE;
11635
11636 r = ((wglGetCurrentReadDCARB = (PFNWGLGETCURRENTREADDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCARB")) == NULL) || r;
11637 r = ((wglMakeContextCurrentARB = (PFNWGLMAKECONTEXTCURRENTARBPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentARB")) == NULL) || r;
11638
11639 return r;
11640}
11641
11642#endif /* WGL_ARB_make_current_read */
11643
11644#ifdef WGL_ARB_multisample
11645
11646#endif /* WGL_ARB_multisample */
11647
11648#ifdef WGL_ARB_pbuffer
11649
11650static GLboolean _glewInit_WGL_ARB_pbuffer (WGLEW_CONTEXT_ARG_DEF_INIT)
11651{
11652 GLboolean r = GL_FALSE;
11653
11654 r = ((wglCreatePbufferARB = (PFNWGLCREATEPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferARB")) == NULL) || r;
11655 r = ((wglDestroyPbufferARB = (PFNWGLDESTROYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferARB")) == NULL) || r;
11656 r = ((wglGetPbufferDCARB = (PFNWGLGETPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCARB")) == NULL) || r;
11657 r = ((wglQueryPbufferARB = (PFNWGLQUERYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferARB")) == NULL) || r;
11658 r = ((wglReleasePbufferDCARB = (PFNWGLRELEASEPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCARB")) == NULL) || r;
11659
11660 return r;
11661}
11662
11663#endif /* WGL_ARB_pbuffer */
11664
11665#ifdef WGL_ARB_pixel_format
11666
11667static GLboolean _glewInit_WGL_ARB_pixel_format (WGLEW_CONTEXT_ARG_DEF_INIT)
11668{
11669 GLboolean r = GL_FALSE;
11670
11671 r = ((wglChoosePixelFormatARB = (PFNWGLCHOOSEPIXELFORMATARBPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatARB")) == NULL) || r;
11672 r = ((wglGetPixelFormatAttribfvARB = (PFNWGLGETPIXELFORMATATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvARB")) == NULL) || r;
11673 r = ((wglGetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivARB")) == NULL) || r;
11674
11675 return r;
11676}
11677
11678#endif /* WGL_ARB_pixel_format */
11679
11680#ifdef WGL_ARB_pixel_format_float
11681
11682#endif /* WGL_ARB_pixel_format_float */
11683
11684#ifdef WGL_ARB_render_texture
11685
11686static GLboolean _glewInit_WGL_ARB_render_texture (WGLEW_CONTEXT_ARG_DEF_INIT)
11687{
11688 GLboolean r = GL_FALSE;
11689
11690 r = ((wglBindTexImageARB = (PFNWGLBINDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglBindTexImageARB")) == NULL) || r;
11691 r = ((wglReleaseTexImageARB = (PFNWGLRELEASETEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglReleaseTexImageARB")) == NULL) || r;
11692 r = ((wglSetPbufferAttribARB = (PFNWGLSETPBUFFERATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"wglSetPbufferAttribARB")) == NULL) || r;
11693
11694 return r;
11695}
11696
11697#endif /* WGL_ARB_render_texture */
11698
11699#ifdef WGL_ARB_robustness_application_isolation
11700
11701#endif /* WGL_ARB_robustness_application_isolation */
11702
11703#ifdef WGL_ARB_robustness_share_group_isolation
11704
11705#endif /* WGL_ARB_robustness_share_group_isolation */
11706
11707#ifdef WGL_ATI_pixel_format_float
11708
11709#endif /* WGL_ATI_pixel_format_float */
11710
11711#ifdef WGL_ATI_render_texture_rectangle
11712
11713#endif /* WGL_ATI_render_texture_rectangle */
11714
11715#ifdef WGL_EXT_create_context_es2_profile
11716
11717#endif /* WGL_EXT_create_context_es2_profile */
11718
11719#ifdef WGL_EXT_create_context_es_profile
11720
11721#endif /* WGL_EXT_create_context_es_profile */
11722
11723#ifdef WGL_EXT_depth_float
11724
11725#endif /* WGL_EXT_depth_float */
11726
11727#ifdef WGL_EXT_display_color_table
11728
11729static GLboolean _glewInit_WGL_EXT_display_color_table (WGLEW_CONTEXT_ARG_DEF_INIT)
11730{
11731 GLboolean r = GL_FALSE;
11732
11733 r = ((wglBindDisplayColorTableEXT = (PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglBindDisplayColorTableEXT")) == NULL) || r;
11734 r = ((wglCreateDisplayColorTableEXT = (PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglCreateDisplayColorTableEXT")) == NULL) || r;
11735 r = ((wglDestroyDisplayColorTableEXT = (PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyDisplayColorTableEXT")) == NULL) || r;
11736 r = ((wglLoadDisplayColorTableEXT = (PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglLoadDisplayColorTableEXT")) == NULL) || r;
11737
11738 return r;
11739}
11740
11741#endif /* WGL_EXT_display_color_table */
11742
11743#ifdef WGL_EXT_extensions_string
11744
11745static GLboolean _glewInit_WGL_EXT_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT)
11746{
11747 GLboolean r = GL_FALSE;
11748
11749 r = ((wglGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT")) == NULL) || r;
11750
11751 return r;
11752}
11753
11754#endif /* WGL_EXT_extensions_string */
11755
11756#ifdef WGL_EXT_framebuffer_sRGB
11757
11758#endif /* WGL_EXT_framebuffer_sRGB */
11759
11760#ifdef WGL_EXT_make_current_read
11761
11762static GLboolean _glewInit_WGL_EXT_make_current_read (WGLEW_CONTEXT_ARG_DEF_INIT)
11763{
11764 GLboolean r = GL_FALSE;
11765
11766 r = ((wglGetCurrentReadDCEXT = (PFNWGLGETCURRENTREADDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCEXT")) == NULL) || r;
11767 r = ((wglMakeContextCurrentEXT = (PFNWGLMAKECONTEXTCURRENTEXTPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentEXT")) == NULL) || r;
11768
11769 return r;
11770}
11771
11772#endif /* WGL_EXT_make_current_read */
11773
11774#ifdef WGL_EXT_multisample
11775
11776#endif /* WGL_EXT_multisample */
11777
11778#ifdef WGL_EXT_pbuffer
11779
11780static GLboolean _glewInit_WGL_EXT_pbuffer (WGLEW_CONTEXT_ARG_DEF_INIT)
11781{
11782 GLboolean r = GL_FALSE;
11783
11784 r = ((wglCreatePbufferEXT = (PFNWGLCREATEPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferEXT")) == NULL) || r;
11785 r = ((wglDestroyPbufferEXT = (PFNWGLDESTROYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferEXT")) == NULL) || r;
11786 r = ((wglGetPbufferDCEXT = (PFNWGLGETPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCEXT")) == NULL) || r;
11787 r = ((wglQueryPbufferEXT = (PFNWGLQUERYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferEXT")) == NULL) || r;
11788 r = ((wglReleasePbufferDCEXT = (PFNWGLRELEASEPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCEXT")) == NULL) || r;
11789
11790 return r;
11791}
11792
11793#endif /* WGL_EXT_pbuffer */
11794
11795#ifdef WGL_EXT_pixel_format
11796
11797static GLboolean _glewInit_WGL_EXT_pixel_format (WGLEW_CONTEXT_ARG_DEF_INIT)
11798{
11799 GLboolean r = GL_FALSE;
11800
11801 r = ((wglChoosePixelFormatEXT = (PFNWGLCHOOSEPIXELFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatEXT")) == NULL) || r;
11802 r = ((wglGetPixelFormatAttribfvEXT = (PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvEXT")) == NULL) || r;
11803 r = ((wglGetPixelFormatAttribivEXT = (PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivEXT")) == NULL) || r;
11804
11805 return r;
11806}
11807
11808#endif /* WGL_EXT_pixel_format */
11809
11810#ifdef WGL_EXT_pixel_format_packed_float
11811
11812#endif /* WGL_EXT_pixel_format_packed_float */
11813
11814#ifdef WGL_EXT_swap_control
11815
11816static GLboolean _glewInit_WGL_EXT_swap_control (WGLEW_CONTEXT_ARG_DEF_INIT)
11817{
11818 GLboolean r = GL_FALSE;
11819
11820 r = ((wglGetSwapIntervalEXT = (PFNWGLGETSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetSwapIntervalEXT")) == NULL) || r;
11821 r = ((wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglSwapIntervalEXT")) == NULL) || r;
11822
11823 return r;
11824}
11825
11826#endif /* WGL_EXT_swap_control */
11827
11828#ifdef WGL_EXT_swap_control_tear
11829
11830#endif /* WGL_EXT_swap_control_tear */
11831
11832#ifdef WGL_I3D_digital_video_control
11833
11834static GLboolean _glewInit_WGL_I3D_digital_video_control (WGLEW_CONTEXT_ARG_DEF_INIT)
11835{
11836 GLboolean r = GL_FALSE;
11837
11838 r = ((wglGetDigitalVideoParametersI3D = (PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetDigitalVideoParametersI3D")) == NULL) || r;
11839 r = ((wglSetDigitalVideoParametersI3D = (PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetDigitalVideoParametersI3D")) == NULL) || r;
11840
11841 return r;
11842}
11843
11844#endif /* WGL_I3D_digital_video_control */
11845
11846#ifdef WGL_I3D_gamma
11847
11848static GLboolean _glewInit_WGL_I3D_gamma (WGLEW_CONTEXT_ARG_DEF_INIT)
11849{
11850 GLboolean r = GL_FALSE;
11851
11852 r = ((wglGetGammaTableI3D = (PFNWGLGETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableI3D")) == NULL) || r;
11853 r = ((wglGetGammaTableParametersI3D = (PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableParametersI3D")) == NULL) || r;
11854 r = ((wglSetGammaTableI3D = (PFNWGLSETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableI3D")) == NULL) || r;
11855 r = ((wglSetGammaTableParametersI3D = (PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableParametersI3D")) == NULL) || r;
11856
11857 return r;
11858}
11859
11860#endif /* WGL_I3D_gamma */
11861
11862#ifdef WGL_I3D_genlock
11863
11864static GLboolean _glewInit_WGL_I3D_genlock (WGLEW_CONTEXT_ARG_DEF_INIT)
11865{
11866 GLboolean r = GL_FALSE;
11867
11868 r = ((wglDisableGenlockI3D = (PFNWGLDISABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableGenlockI3D")) == NULL) || r;
11869 r = ((wglEnableGenlockI3D = (PFNWGLENABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableGenlockI3D")) == NULL) || r;
11870 r = ((wglGenlockSampleRateI3D = (PFNWGLGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSampleRateI3D")) == NULL) || r;
11871 r = ((wglGenlockSourceDelayI3D = (PFNWGLGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceDelayI3D")) == NULL) || r;
11872 r = ((wglGenlockSourceEdgeI3D = (PFNWGLGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceEdgeI3D")) == NULL) || r;
11873 r = ((wglGenlockSourceI3D = (PFNWGLGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceI3D")) == NULL) || r;
11874 r = ((wglGetGenlockSampleRateI3D = (PFNWGLGETGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSampleRateI3D")) == NULL) || r;
11875 r = ((wglGetGenlockSourceDelayI3D = (PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceDelayI3D")) == NULL) || r;
11876 r = ((wglGetGenlockSourceEdgeI3D = (PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceEdgeI3D")) == NULL) || r;
11877 r = ((wglGetGenlockSourceI3D = (PFNWGLGETGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceI3D")) == NULL) || r;
11878 r = ((wglIsEnabledGenlockI3D = (PFNWGLISENABLEDGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledGenlockI3D")) == NULL) || r;
11879 r = ((wglQueryGenlockMaxSourceDelayI3D = (PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryGenlockMaxSourceDelayI3D")) == NULL) || r;
11880
11881 return r;
11882}
11883
11884#endif /* WGL_I3D_genlock */
11885
11886#ifdef WGL_I3D_image_buffer
11887
11888static GLboolean _glewInit_WGL_I3D_image_buffer (WGLEW_CONTEXT_ARG_DEF_INIT)
11889{
11890 GLboolean r = GL_FALSE;
11891
11892 r = ((wglAssociateImageBufferEventsI3D = (PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglAssociateImageBufferEventsI3D")) == NULL) || r;
11893 r = ((wglCreateImageBufferI3D = (PFNWGLCREATEIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglCreateImageBufferI3D")) == NULL) || r;
11894 r = ((wglDestroyImageBufferI3D = (PFNWGLDESTROYIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglDestroyImageBufferI3D")) == NULL) || r;
11895 r = ((wglReleaseImageBufferEventsI3D = (PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglReleaseImageBufferEventsI3D")) == NULL) || r;
11896
11897 return r;
11898}
11899
11900#endif /* WGL_I3D_image_buffer */
11901
11902#ifdef WGL_I3D_swap_frame_lock
11903
11904static GLboolean _glewInit_WGL_I3D_swap_frame_lock (WGLEW_CONTEXT_ARG_DEF_INIT)
11905{
11906 GLboolean r = GL_FALSE;
11907
11908 r = ((wglDisableFrameLockI3D = (PFNWGLDISABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableFrameLockI3D")) == NULL) || r;
11909 r = ((wglEnableFrameLockI3D = (PFNWGLENABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableFrameLockI3D")) == NULL) || r;
11910 r = ((wglIsEnabledFrameLockI3D = (PFNWGLISENABLEDFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledFrameLockI3D")) == NULL) || r;
11911 r = ((wglQueryFrameLockMasterI3D = (PFNWGLQUERYFRAMELOCKMASTERI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameLockMasterI3D")) == NULL) || r;
11912
11913 return r;
11914}
11915
11916#endif /* WGL_I3D_swap_frame_lock */
11917
11918#ifdef WGL_I3D_swap_frame_usage
11919
11920static GLboolean _glewInit_WGL_I3D_swap_frame_usage (WGLEW_CONTEXT_ARG_DEF_INIT)
11921{
11922 GLboolean r = GL_FALSE;
11923
11924 r = ((wglBeginFrameTrackingI3D = (PFNWGLBEGINFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglBeginFrameTrackingI3D")) == NULL) || r;
11925 r = ((wglEndFrameTrackingI3D = (PFNWGLENDFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglEndFrameTrackingI3D")) == NULL) || r;
11926 r = ((wglGetFrameUsageI3D = (PFNWGLGETFRAMEUSAGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetFrameUsageI3D")) == NULL) || r;
11927 r = ((wglQueryFrameTrackingI3D = (PFNWGLQUERYFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameTrackingI3D")) == NULL) || r;
11928
11929 return r;
11930}
11931
11932#endif /* WGL_I3D_swap_frame_usage */
11933
11934#ifdef WGL_NV_DX_interop
11935
11936static GLboolean _glewInit_WGL_NV_DX_interop (WGLEW_CONTEXT_ARG_DEF_INIT)
11937{
11938 GLboolean r = GL_FALSE;
11939
11940 r = ((wglDXCloseDeviceNV = (PFNWGLDXCLOSEDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglDXCloseDeviceNV")) == NULL) || r;
11941 r = ((wglDXLockObjectsNV = (PFNWGLDXLOCKOBJECTSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXLockObjectsNV")) == NULL) || r;
11942 r = ((wglDXObjectAccessNV = (PFNWGLDXOBJECTACCESSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXObjectAccessNV")) == NULL) || r;
11943 r = ((wglDXOpenDeviceNV = (PFNWGLDXOPENDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglDXOpenDeviceNV")) == NULL) || r;
11944 r = ((wglDXRegisterObjectNV = (PFNWGLDXREGISTEROBJECTNVPROC)glewGetProcAddress((const GLubyte*)"wglDXRegisterObjectNV")) == NULL) || r;
11945 r = ((wglDXSetResourceShareHandleNV = (PFNWGLDXSETRESOURCESHAREHANDLENVPROC)glewGetProcAddress((const GLubyte*)"wglDXSetResourceShareHandleNV")) == NULL) || r;
11946 r = ((wglDXUnlockObjectsNV = (PFNWGLDXUNLOCKOBJECTSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXUnlockObjectsNV")) == NULL) || r;
11947 r = ((wglDXUnregisterObjectNV = (PFNWGLDXUNREGISTEROBJECTNVPROC)glewGetProcAddress((const GLubyte*)"wglDXUnregisterObjectNV")) == NULL) || r;
11948
11949 return r;
11950}
11951
11952#endif /* WGL_NV_DX_interop */
11953
11954#ifdef WGL_NV_DX_interop2
11955
11956#endif /* WGL_NV_DX_interop2 */
11957
11958#ifdef WGL_NV_copy_image
11959
11960static GLboolean _glewInit_WGL_NV_copy_image (WGLEW_CONTEXT_ARG_DEF_INIT)
11961{
11962 GLboolean r = GL_FALSE;
11963
11964 r = ((wglCopyImageSubDataNV = (PFNWGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"wglCopyImageSubDataNV")) == NULL) || r;
11965
11966 return r;
11967}
11968
11969#endif /* WGL_NV_copy_image */
11970
11971#ifdef WGL_NV_float_buffer
11972
11973#endif /* WGL_NV_float_buffer */
11974
11975#ifdef WGL_NV_gpu_affinity
11976
11977static GLboolean _glewInit_WGL_NV_gpu_affinity (WGLEW_CONTEXT_ARG_DEF_INIT)
11978{
11979 GLboolean r = GL_FALSE;
11980
11981 r = ((wglCreateAffinityDCNV = (PFNWGLCREATEAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglCreateAffinityDCNV")) == NULL) || r;
11982 r = ((wglDeleteDCNV = (PFNWGLDELETEDCNVPROC)glewGetProcAddress((const GLubyte*)"wglDeleteDCNV")) == NULL) || r;
11983 r = ((wglEnumGpuDevicesNV = (PFNWGLENUMGPUDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpuDevicesNV")) == NULL) || r;
11984 r = ((wglEnumGpusFromAffinityDCNV = (PFNWGLENUMGPUSFROMAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusFromAffinityDCNV")) == NULL) || r;
11985 r = ((wglEnumGpusNV = (PFNWGLENUMGPUSNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusNV")) == NULL) || r;
11986
11987 return r;
11988}
11989
11990#endif /* WGL_NV_gpu_affinity */
11991
11992#ifdef WGL_NV_multisample_coverage
11993
11994#endif /* WGL_NV_multisample_coverage */
11995
11996#ifdef WGL_NV_present_video
11997
11998static GLboolean _glewInit_WGL_NV_present_video (WGLEW_CONTEXT_ARG_DEF_INIT)
11999{
12000 GLboolean r = GL_FALSE;
12001
12002 r = ((wglBindVideoDeviceNV = (PFNWGLBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoDeviceNV")) == NULL) || r;
12003 r = ((wglEnumerateVideoDevicesNV = (PFNWGLENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumerateVideoDevicesNV")) == NULL) || r;
12004 r = ((wglQueryCurrentContextNV = (PFNWGLQUERYCURRENTCONTEXTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryCurrentContextNV")) == NULL) || r;
12005
12006 return r;
12007}
12008
12009#endif /* WGL_NV_present_video */
12010
12011#ifdef WGL_NV_render_depth_texture
12012
12013#endif /* WGL_NV_render_depth_texture */
12014
12015#ifdef WGL_NV_render_texture_rectangle
12016
12017#endif /* WGL_NV_render_texture_rectangle */
12018
12019#ifdef WGL_NV_swap_group
12020
12021static GLboolean _glewInit_WGL_NV_swap_group (WGLEW_CONTEXT_ARG_DEF_INIT)
12022{
12023 GLboolean r = GL_FALSE;
12024
12025 r = ((wglBindSwapBarrierNV = (PFNWGLBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"wglBindSwapBarrierNV")) == NULL) || r;
12026 r = ((wglJoinSwapGroupNV = (PFNWGLJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglJoinSwapGroupNV")) == NULL) || r;
12027 r = ((wglQueryFrameCountNV = (PFNWGLQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameCountNV")) == NULL) || r;
12028 r = ((wglQueryMaxSwapGroupsNV = (PFNWGLQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryMaxSwapGroupsNV")) == NULL) || r;
12029 r = ((wglQuerySwapGroupNV = (PFNWGLQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglQuerySwapGroupNV")) == NULL) || r;
12030 r = ((wglResetFrameCountNV = (PFNWGLRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglResetFrameCountNV")) == NULL) || r;
12031
12032 return r;
12033}
12034
12035#endif /* WGL_NV_swap_group */
12036
12037#ifdef WGL_NV_vertex_array_range
12038
12039static GLboolean _glewInit_WGL_NV_vertex_array_range (WGLEW_CONTEXT_ARG_DEF_INIT)
12040{
12041 GLboolean r = GL_FALSE;
12042
12043 r = ((wglAllocateMemoryNV = (PFNWGLALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglAllocateMemoryNV")) == NULL) || r;
12044 r = ((wglFreeMemoryNV = (PFNWGLFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglFreeMemoryNV")) == NULL) || r;
12045
12046 return r;
12047}
12048
12049#endif /* WGL_NV_vertex_array_range */
12050
12051#ifdef WGL_NV_video_capture
12052
12053static GLboolean _glewInit_WGL_NV_video_capture (WGLEW_CONTEXT_ARG_DEF_INIT)
12054{
12055 GLboolean r = GL_FALSE;
12056
12057 r = ((wglBindVideoCaptureDeviceNV = (PFNWGLBINDVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoCaptureDeviceNV")) == NULL) || r;
12058 r = ((wglEnumerateVideoCaptureDevicesNV = (PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumerateVideoCaptureDevicesNV")) == NULL) || r;
12059 r = ((wglLockVideoCaptureDeviceNV = (PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglLockVideoCaptureDeviceNV")) == NULL) || r;
12060 r = ((wglQueryVideoCaptureDeviceNV = (PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglQueryVideoCaptureDeviceNV")) == NULL) || r;
12061 r = ((wglReleaseVideoCaptureDeviceNV = (PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoCaptureDeviceNV")) == NULL) || r;
12062
12063 return r;
12064}
12065
12066#endif /* WGL_NV_video_capture */
12067
12068#ifdef WGL_NV_video_output
12069
12070static GLboolean _glewInit_WGL_NV_video_output (WGLEW_CONTEXT_ARG_DEF_INIT)
12071{
12072 GLboolean r = GL_FALSE;
12073
12074 r = ((wglBindVideoImageNV = (PFNWGLBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoImageNV")) == NULL) || r;
12075 r = ((wglGetVideoDeviceNV = (PFNWGLGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoDeviceNV")) == NULL) || r;
12076 r = ((wglGetVideoInfoNV = (PFNWGLGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoInfoNV")) == NULL) || r;
12077 r = ((wglReleaseVideoDeviceNV = (PFNWGLRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoDeviceNV")) == NULL) || r;
12078 r = ((wglReleaseVideoImageNV = (PFNWGLRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoImageNV")) == NULL) || r;
12079 r = ((wglSendPbufferToVideoNV = (PFNWGLSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"wglSendPbufferToVideoNV")) == NULL) || r;
12080
12081 return r;
12082}
12083
12084#endif /* WGL_NV_video_output */
12085
12086#ifdef WGL_OML_sync_control
12087
12088static GLboolean _glewInit_WGL_OML_sync_control (WGLEW_CONTEXT_ARG_DEF_INIT)
12089{
12090 GLboolean r = GL_FALSE;
12091
12092 r = ((wglGetMscRateOML = (PFNWGLGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetMscRateOML")) == NULL) || r;
12093 r = ((wglGetSyncValuesOML = (PFNWGLGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetSyncValuesOML")) == NULL) || r;
12094 r = ((wglSwapBuffersMscOML = (PFNWGLSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapBuffersMscOML")) == NULL) || r;
12095 r = ((wglSwapLayerBuffersMscOML = (PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapLayerBuffersMscOML")) == NULL) || r;
12096 r = ((wglWaitForMscOML = (PFNWGLWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForMscOML")) == NULL) || r;
12097 r = ((wglWaitForSbcOML = (PFNWGLWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForSbcOML")) == NULL) || r;
12098
12099 return r;
12100}
12101
12102#endif /* WGL_OML_sync_control */
12103
12104/* ------------------------------------------------------------------------- */
12105
12106static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL;
12107static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;
12108
12109GLboolean GLEWAPIENTRY wglewGetExtension (const char* name)
12110{
12111 const GLubyte* start;
12112 const GLubyte* end;
12113 if (_wglewGetExtensionsStringARB == NULL)
12114 if (_wglewGetExtensionsStringEXT == NULL)
12115 return GL_FALSE;
12116 else
12117 start = (const GLubyte*)_wglewGetExtensionsStringEXT();
12118 else
12119 start = (const GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC());
12120 if (start == 0)
12121 return GL_FALSE;
12122 end = start + _glewStrLen(start);
12123 return _glewSearchExtension(name, start, end);
12124}
12125
12126GLenum GLEWAPIENTRY wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST)
12127{
12128 GLboolean crippled;
12129 const GLubyte* extStart;
12130 const GLubyte* extEnd;
12131 /* find wgl extension string query functions */
12132 _wglewGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB");
12133 _wglewGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT");
12134 /* query wgl extension string */
12135 if (_wglewGetExtensionsStringARB == NULL)
12136 if (_wglewGetExtensionsStringEXT == NULL)
12137 extStart = (const GLubyte*)"";
12138 else
12139 extStart = (const GLubyte*)_wglewGetExtensionsStringEXT();
12140 else
12141 extStart = (const GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC());
12142 extEnd = extStart + _glewStrLen(extStart);
12143 /* initialize extensions */
12144 crippled = _wglewGetExtensionsStringARB == NULL && _wglewGetExtensionsStringEXT == NULL;
12145#ifdef WGL_3DFX_multisample
12146 CONST_CAST(WGLEW_3DFX_multisample) = _glewSearchExtension("WGL_3DFX_multisample", extStart, extEnd);
12147#endif /* WGL_3DFX_multisample */
12148#ifdef WGL_3DL_stereo_control
12149 CONST_CAST(WGLEW_3DL_stereo_control) = _glewSearchExtension("WGL_3DL_stereo_control", extStart, extEnd);
12150 if (glewExperimental || WGLEW_3DL_stereo_control|| crippled) CONST_CAST(WGLEW_3DL_stereo_control)= !_glewInit_WGL_3DL_stereo_control(GLEW_CONTEXT_ARG_VAR_INIT);
12151#endif /* WGL_3DL_stereo_control */
12152#ifdef WGL_AMD_gpu_association
12153 CONST_CAST(WGLEW_AMD_gpu_association) = _glewSearchExtension("WGL_AMD_gpu_association", extStart, extEnd);
12154 if (glewExperimental || WGLEW_AMD_gpu_association|| crippled) CONST_CAST(WGLEW_AMD_gpu_association)= !_glewInit_WGL_AMD_gpu_association(GLEW_CONTEXT_ARG_VAR_INIT);
12155#endif /* WGL_AMD_gpu_association */
12156#ifdef WGL_ARB_buffer_region
12157 CONST_CAST(WGLEW_ARB_buffer_region) = _glewSearchExtension("WGL_ARB_buffer_region", extStart, extEnd);
12158 if (glewExperimental || WGLEW_ARB_buffer_region|| crippled) CONST_CAST(WGLEW_ARB_buffer_region)= !_glewInit_WGL_ARB_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT);
12159#endif /* WGL_ARB_buffer_region */
12160#ifdef WGL_ARB_create_context
12161 CONST_CAST(WGLEW_ARB_create_context) = _glewSearchExtension("WGL_ARB_create_context", extStart, extEnd);
12162 if (glewExperimental || WGLEW_ARB_create_context|| crippled) CONST_CAST(WGLEW_ARB_create_context)= !_glewInit_WGL_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT);
12163#endif /* WGL_ARB_create_context */
12164#ifdef WGL_ARB_create_context_profile
12165 CONST_CAST(WGLEW_ARB_create_context_profile) = _glewSearchExtension("WGL_ARB_create_context_profile", extStart, extEnd);
12166#endif /* WGL_ARB_create_context_profile */
12167#ifdef WGL_ARB_create_context_robustness
12168 CONST_CAST(WGLEW_ARB_create_context_robustness) = _glewSearchExtension("WGL_ARB_create_context_robustness", extStart, extEnd);
12169#endif /* WGL_ARB_create_context_robustness */
12170#ifdef WGL_ARB_extensions_string
12171 CONST_CAST(WGLEW_ARB_extensions_string) = _glewSearchExtension("WGL_ARB_extensions_string", extStart, extEnd);
12172 if (glewExperimental || WGLEW_ARB_extensions_string|| crippled) CONST_CAST(WGLEW_ARB_extensions_string)= !_glewInit_WGL_ARB_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT);
12173#endif /* WGL_ARB_extensions_string */
12174#ifdef WGL_ARB_framebuffer_sRGB
12175 CONST_CAST(WGLEW_ARB_framebuffer_sRGB) = _glewSearchExtension("WGL_ARB_framebuffer_sRGB", extStart, extEnd);
12176#endif /* WGL_ARB_framebuffer_sRGB */
12177#ifdef WGL_ARB_make_current_read
12178 CONST_CAST(WGLEW_ARB_make_current_read) = _glewSearchExtension("WGL_ARB_make_current_read", extStart, extEnd);
12179 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);
12180#endif /* WGL_ARB_make_current_read */
12181#ifdef WGL_ARB_multisample
12182 CONST_CAST(WGLEW_ARB_multisample) = _glewSearchExtension("WGL_ARB_multisample", extStart, extEnd);
12183#endif /* WGL_ARB_multisample */
12184#ifdef WGL_ARB_pbuffer
12185 CONST_CAST(WGLEW_ARB_pbuffer) = _glewSearchExtension("WGL_ARB_pbuffer", extStart, extEnd);
12186 if (glewExperimental || WGLEW_ARB_pbuffer|| crippled) CONST_CAST(WGLEW_ARB_pbuffer)= !_glewInit_WGL_ARB_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
12187#endif /* WGL_ARB_pbuffer */
12188#ifdef WGL_ARB_pixel_format
12189 CONST_CAST(WGLEW_ARB_pixel_format) = _glewSearchExtension("WGL_ARB_pixel_format", extStart, extEnd);
12190 if (glewExperimental || WGLEW_ARB_pixel_format|| crippled) CONST_CAST(WGLEW_ARB_pixel_format)= !_glewInit_WGL_ARB_pixel_format(GLEW_CONTEXT_ARG_VAR_INIT);
12191#endif /* WGL_ARB_pixel_format */
12192#ifdef WGL_ARB_pixel_format_float
12193 CONST_CAST(WGLEW_ARB_pixel_format_float) = _glewSearchExtension("WGL_ARB_pixel_format_float", extStart, extEnd);
12194#endif /* WGL_ARB_pixel_format_float */
12195#ifdef WGL_ARB_render_texture
12196 CONST_CAST(WGLEW_ARB_render_texture) = _glewSearchExtension("WGL_ARB_render_texture", extStart, extEnd);
12197 if (glewExperimental || WGLEW_ARB_render_texture|| crippled) CONST_CAST(WGLEW_ARB_render_texture)= !_glewInit_WGL_ARB_render_texture(GLEW_CONTEXT_ARG_VAR_INIT);
12198#endif /* WGL_ARB_render_texture */
12199#ifdef WGL_ARB_robustness_application_isolation
12200 CONST_CAST(WGLEW_ARB_robustness_application_isolation) = _glewSearchExtension("WGL_ARB_robustness_application_isolation", extStart, extEnd);
12201#endif /* WGL_ARB_robustness_application_isolation */
12202#ifdef WGL_ARB_robustness_share_group_isolation
12203 CONST_CAST(WGLEW_ARB_robustness_share_group_isolation) = _glewSearchExtension("WGL_ARB_robustness_share_group_isolation", extStart, extEnd);
12204#endif /* WGL_ARB_robustness_share_group_isolation */
12205#ifdef WGL_ATI_pixel_format_float
12206 CONST_CAST(WGLEW_ATI_pixel_format_float) = _glewSearchExtension("WGL_ATI_pixel_format_float", extStart, extEnd);
12207#endif /* WGL_ATI_pixel_format_float */
12208#ifdef WGL_ATI_render_texture_rectangle
12209 CONST_CAST(WGLEW_ATI_render_texture_rectangle) = _glewSearchExtension("WGL_ATI_render_texture_rectangle", extStart, extEnd);
12210#endif /* WGL_ATI_render_texture_rectangle */
12211#ifdef WGL_EXT_create_context_es2_profile
12212 CONST_CAST(WGLEW_EXT_create_context_es2_profile) = _glewSearchExtension("WGL_EXT_create_context_es2_profile", extStart, extEnd);
12213#endif /* WGL_EXT_create_context_es2_profile */
12214#ifdef WGL_EXT_create_context_es_profile
12215 CONST_CAST(WGLEW_EXT_create_context_es_profile) = _glewSearchExtension("WGL_EXT_create_context_es_profile", extStart, extEnd);
12216#endif /* WGL_EXT_create_context_es_profile */
12217#ifdef WGL_EXT_depth_float
12218 CONST_CAST(WGLEW_EXT_depth_float) = _glewSearchExtension("WGL_EXT_depth_float", extStart, extEnd);
12219#endif /* WGL_EXT_depth_float */
12220#ifdef WGL_EXT_display_color_table
12221 CONST_CAST(WGLEW_EXT_display_color_table) = _glewSearchExtension("WGL_EXT_display_color_table", extStart, extEnd);
12222 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);
12223#endif /* WGL_EXT_display_color_table */
12224#ifdef WGL_EXT_extensions_string
12225 CONST_CAST(WGLEW_EXT_extensions_string) = _glewSearchExtension("WGL_EXT_extensions_string", extStart, extEnd);
12226 if (glewExperimental || WGLEW_EXT_extensions_string|| crippled) CONST_CAST(WGLEW_EXT_extensions_string)= !_glewInit_WGL_EXT_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT);
12227#endif /* WGL_EXT_extensions_string */
12228#ifdef WGL_EXT_framebuffer_sRGB
12229 CONST_CAST(WGLEW_EXT_framebuffer_sRGB) = _glewSearchExtension("WGL_EXT_framebuffer_sRGB", extStart, extEnd);
12230#endif /* WGL_EXT_framebuffer_sRGB */
12231#ifdef WGL_EXT_make_current_read
12232 CONST_CAST(WGLEW_EXT_make_current_read) = _glewSearchExtension("WGL_EXT_make_current_read", extStart, extEnd);
12233 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);
12234#endif /* WGL_EXT_make_current_read */
12235#ifdef WGL_EXT_multisample
12236 CONST_CAST(WGLEW_EXT_multisample) = _glewSearchExtension("WGL_EXT_multisample", extStart, extEnd);
12237#endif /* WGL_EXT_multisample */
12238#ifdef WGL_EXT_pbuffer
12239 CONST_CAST(WGLEW_EXT_pbuffer) = _glewSearchExtension("WGL_EXT_pbuffer", extStart, extEnd);
12240 if (glewExperimental || WGLEW_EXT_pbuffer|| crippled) CONST_CAST(WGLEW_EXT_pbuffer)= !_glewInit_WGL_EXT_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
12241#endif /* WGL_EXT_pbuffer */
12242#ifdef WGL_EXT_pixel_format
12243 CONST_CAST(WGLEW_EXT_pixel_format) = _glewSearchExtension("WGL_EXT_pixel_format", extStart, extEnd);
12244 if (glewExperimental || WGLEW_EXT_pixel_format|| crippled) CONST_CAST(WGLEW_EXT_pixel_format)= !_glewInit_WGL_EXT_pixel_format(GLEW_CONTEXT_ARG_VAR_INIT);
12245#endif /* WGL_EXT_pixel_format */
12246#ifdef WGL_EXT_pixel_format_packed_float
12247 CONST_CAST(WGLEW_EXT_pixel_format_packed_float) = _glewSearchExtension("WGL_EXT_pixel_format_packed_float", extStart, extEnd);
12248#endif /* WGL_EXT_pixel_format_packed_float */
12249#ifdef WGL_EXT_swap_control
12250 CONST_CAST(WGLEW_EXT_swap_control) = _glewSearchExtension("WGL_EXT_swap_control", extStart, extEnd);
12251 if (glewExperimental || WGLEW_EXT_swap_control|| crippled) CONST_CAST(WGLEW_EXT_swap_control)= !_glewInit_WGL_EXT_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
12252#endif /* WGL_EXT_swap_control */
12253#ifdef WGL_EXT_swap_control_tear
12254 CONST_CAST(WGLEW_EXT_swap_control_tear) = _glewSearchExtension("WGL_EXT_swap_control_tear", extStart, extEnd);
12255#endif /* WGL_EXT_swap_control_tear */
12256#ifdef WGL_I3D_digital_video_control
12257 CONST_CAST(WGLEW_I3D_digital_video_control) = _glewSearchExtension("WGL_I3D_digital_video_control", extStart, extEnd);
12258 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);
12259#endif /* WGL_I3D_digital_video_control */
12260#ifdef WGL_I3D_gamma
12261 CONST_CAST(WGLEW_I3D_gamma) = _glewSearchExtension("WGL_I3D_gamma", extStart, extEnd);
12262 if (glewExperimental || WGLEW_I3D_gamma|| crippled) CONST_CAST(WGLEW_I3D_gamma)= !_glewInit_WGL_I3D_gamma(GLEW_CONTEXT_ARG_VAR_INIT);
12263#endif /* WGL_I3D_gamma */
12264#ifdef WGL_I3D_genlock
12265 CONST_CAST(WGLEW_I3D_genlock) = _glewSearchExtension("WGL_I3D_genlock", extStart, extEnd);
12266 if (glewExperimental || WGLEW_I3D_genlock|| crippled) CONST_CAST(WGLEW_I3D_genlock)= !_glewInit_WGL_I3D_genlock(GLEW_CONTEXT_ARG_VAR_INIT);
12267#endif /* WGL_I3D_genlock */
12268#ifdef WGL_I3D_image_buffer
12269 CONST_CAST(WGLEW_I3D_image_buffer) = _glewSearchExtension("WGL_I3D_image_buffer", extStart, extEnd);
12270 if (glewExperimental || WGLEW_I3D_image_buffer|| crippled) CONST_CAST(WGLEW_I3D_image_buffer)= !_glewInit_WGL_I3D_image_buffer(GLEW_CONTEXT_ARG_VAR_INIT);
12271#endif /* WGL_I3D_image_buffer */
12272#ifdef WGL_I3D_swap_frame_lock
12273 CONST_CAST(WGLEW_I3D_swap_frame_lock) = _glewSearchExtension("WGL_I3D_swap_frame_lock", extStart, extEnd);
12274 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);
12275#endif /* WGL_I3D_swap_frame_lock */
12276#ifdef WGL_I3D_swap_frame_usage
12277 CONST_CAST(WGLEW_I3D_swap_frame_usage) = _glewSearchExtension("WGL_I3D_swap_frame_usage", extStart, extEnd);
12278 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);
12279#endif /* WGL_I3D_swap_frame_usage */
12280#ifdef WGL_NV_DX_interop
12281 CONST_CAST(WGLEW_NV_DX_interop) = _glewSearchExtension("WGL_NV_DX_interop", extStart, extEnd);
12282 if (glewExperimental || WGLEW_NV_DX_interop|| crippled) CONST_CAST(WGLEW_NV_DX_interop)= !_glewInit_WGL_NV_DX_interop(GLEW_CONTEXT_ARG_VAR_INIT);
12283#endif /* WGL_NV_DX_interop */
12284#ifdef WGL_NV_DX_interop2
12285 CONST_CAST(WGLEW_NV_DX_interop2) = _glewSearchExtension("WGL_NV_DX_interop2", extStart, extEnd);
12286#endif /* WGL_NV_DX_interop2 */
12287#ifdef WGL_NV_copy_image
12288 CONST_CAST(WGLEW_NV_copy_image) = _glewSearchExtension("WGL_NV_copy_image", extStart, extEnd);
12289 if (glewExperimental || WGLEW_NV_copy_image|| crippled) CONST_CAST(WGLEW_NV_copy_image)= !_glewInit_WGL_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
12290#endif /* WGL_NV_copy_image */
12291#ifdef WGL_NV_float_buffer
12292 CONST_CAST(WGLEW_NV_float_buffer) = _glewSearchExtension("WGL_NV_float_buffer", extStart, extEnd);
12293#endif /* WGL_NV_float_buffer */
12294#ifdef WGL_NV_gpu_affinity
12295 CONST_CAST(WGLEW_NV_gpu_affinity) = _glewSearchExtension("WGL_NV_gpu_affinity", extStart, extEnd);
12296 if (glewExperimental || WGLEW_NV_gpu_affinity|| crippled) CONST_CAST(WGLEW_NV_gpu_affinity)= !_glewInit_WGL_NV_gpu_affinity(GLEW_CONTEXT_ARG_VAR_INIT);
12297#endif /* WGL_NV_gpu_affinity */
12298#ifdef WGL_NV_multisample_coverage
12299 CONST_CAST(WGLEW_NV_multisample_coverage) = _glewSearchExtension("WGL_NV_multisample_coverage", extStart, extEnd);
12300#endif /* WGL_NV_multisample_coverage */
12301#ifdef WGL_NV_present_video
12302 CONST_CAST(WGLEW_NV_present_video) = _glewSearchExtension("WGL_NV_present_video", extStart, extEnd);
12303 if (glewExperimental || WGLEW_NV_present_video|| crippled) CONST_CAST(WGLEW_NV_present_video)= !_glewInit_WGL_NV_present_video(GLEW_CONTEXT_ARG_VAR_INIT);
12304#endif /* WGL_NV_present_video */
12305#ifdef WGL_NV_render_depth_texture
12306 CONST_CAST(WGLEW_NV_render_depth_texture) = _glewSearchExtension("WGL_NV_render_depth_texture", extStart, extEnd);
12307#endif /* WGL_NV_render_depth_texture */
12308#ifdef WGL_NV_render_texture_rectangle
12309 CONST_CAST(WGLEW_NV_render_texture_rectangle) = _glewSearchExtension("WGL_NV_render_texture_rectangle", extStart, extEnd);
12310#endif /* WGL_NV_render_texture_rectangle */
12311#ifdef WGL_NV_swap_group
12312 CONST_CAST(WGLEW_NV_swap_group) = _glewSearchExtension("WGL_NV_swap_group", extStart, extEnd);
12313 if (glewExperimental || WGLEW_NV_swap_group|| crippled) CONST_CAST(WGLEW_NV_swap_group)= !_glewInit_WGL_NV_swap_group(GLEW_CONTEXT_ARG_VAR_INIT);
12314#endif /* WGL_NV_swap_group */
12315#ifdef WGL_NV_vertex_array_range
12316 CONST_CAST(WGLEW_NV_vertex_array_range) = _glewSearchExtension("WGL_NV_vertex_array_range", extStart, extEnd);
12317 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);
12318#endif /* WGL_NV_vertex_array_range */
12319#ifdef WGL_NV_video_capture
12320 CONST_CAST(WGLEW_NV_video_capture) = _glewSearchExtension("WGL_NV_video_capture", extStart, extEnd);
12321 if (glewExperimental || WGLEW_NV_video_capture|| crippled) CONST_CAST(WGLEW_NV_video_capture)= !_glewInit_WGL_NV_video_capture(GLEW_CONTEXT_ARG_VAR_INIT);
12322#endif /* WGL_NV_video_capture */
12323#ifdef WGL_NV_video_output
12324 CONST_CAST(WGLEW_NV_video_output) = _glewSearchExtension("WGL_NV_video_output", extStart, extEnd);
12325 if (glewExperimental || WGLEW_NV_video_output|| crippled) CONST_CAST(WGLEW_NV_video_output)= !_glewInit_WGL_NV_video_output(GLEW_CONTEXT_ARG_VAR_INIT);
12326#endif /* WGL_NV_video_output */
12327#ifdef WGL_OML_sync_control
12328 CONST_CAST(WGLEW_OML_sync_control) = _glewSearchExtension("WGL_OML_sync_control", extStart, extEnd);
12329 if (glewExperimental || WGLEW_OML_sync_control|| crippled) CONST_CAST(WGLEW_OML_sync_control)= !_glewInit_WGL_OML_sync_control(GLEW_CONTEXT_ARG_VAR_INIT);
12330#endif /* WGL_OML_sync_control */
12331
12332 return GLEW_OK;
12333}
12334
12335#elif !defined(__ANDROID__) && !defined(__native_client__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
12336
12337PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay = NULL;
12338
12339PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig = NULL;
12340PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext = NULL;
12341PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer = NULL;
12342PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap = NULL;
12343PFNGLXCREATEWINDOWPROC __glewXCreateWindow = NULL;
12344PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer = NULL;
12345PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap = NULL;
12346PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow = NULL;
12347PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable = NULL;
12348PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib = NULL;
12349PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs = NULL;
12350PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent = NULL;
12351PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig = NULL;
12352PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent = NULL;
12353PFNGLXQUERYCONTEXTPROC __glewXQueryContext = NULL;
12354PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable = NULL;
12355PFNGLXSELECTEVENTPROC __glewXSelectEvent = NULL;
12356
12357PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC __glewXBlitContextFramebufferAMD = NULL;
12358PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC __glewXCreateAssociatedContextAMD = NULL;
12359PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __glewXCreateAssociatedContextAttribsAMD = NULL;
12360PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC __glewXDeleteAssociatedContextAMD = NULL;
12361PFNGLXGETCONTEXTGPUIDAMDPROC __glewXGetContextGPUIDAMD = NULL;
12362PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC __glewXGetCurrentAssociatedContextAMD = NULL;
12363PFNGLXGETGPUIDSAMDPROC __glewXGetGPUIDsAMD = NULL;
12364PFNGLXGETGPUINFOAMDPROC __glewXGetGPUInfoAMD = NULL;
12365PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __glewXMakeAssociatedContextCurrentAMD = NULL;
12366
12367PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB = NULL;
12368
12369PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI = NULL;
12370PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI = NULL;
12371PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI = NULL;
12372
12373PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT = NULL;
12374PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT = NULL;
12375PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT = NULL;
12376PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT = NULL;
12377
12378PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT = NULL;
12379
12380PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT = NULL;
12381PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT = NULL;
12382
12383PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA = NULL;
12384
12385PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA = NULL;
12386
12387PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA = NULL;
12388
12389PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA = NULL;
12390
12391PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA = NULL;
12392
12393PFNGLXGETSWAPINTERVALMESAPROC __glewXGetSwapIntervalMESA = NULL;
12394PFNGLXSWAPINTERVALMESAPROC __glewXSwapIntervalMESA = NULL;
12395
12396PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV = NULL;
12397
12398PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV = NULL;
12399PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV = NULL;
12400
12401PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV = NULL;
12402PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV = NULL;
12403PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV = NULL;
12404PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV = NULL;
12405PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV = NULL;
12406PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV = NULL;
12407
12408PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV = NULL;
12409PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV = NULL;
12410
12411PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV = NULL;
12412PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV = NULL;
12413PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV = NULL;
12414PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV = NULL;
12415PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV = NULL;
12416
12417PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV = NULL;
12418PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV = NULL;
12419PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV = NULL;
12420PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV = NULL;
12421PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV = NULL;
12422PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV = NULL;
12423
12424PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML = NULL;
12425PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML = NULL;
12426PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML = NULL;
12427PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML = NULL;
12428PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML = NULL;
12429
12430PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX = NULL;
12431PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX = NULL;
12432PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX = NULL;
12433PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX = NULL;
12434PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX = NULL;
12435PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX = NULL;
12436
12437PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX = NULL;
12438PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX = NULL;
12439PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX = NULL;
12440PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX = NULL;
12441PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX = NULL;
12442PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX = NULL;
12443PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX = NULL;
12444PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX = NULL;
12445
12446PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX = NULL;
12447PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX = NULL;
12448PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX = NULL;
12449PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX = NULL;
12450PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX = NULL;
12451
12452PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX = NULL;
12453PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX = NULL;
12454
12455PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX = NULL;
12456
12457PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX = NULL;
12458PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX = NULL;
12459PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX = NULL;
12460PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX = NULL;
12461PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX = NULL;
12462
12463PFNGLXCUSHIONSGIPROC __glewXCushionSGI = NULL;
12464
12465PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI = NULL;
12466PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI = NULL;
12467
12468PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI = NULL;
12469
12470PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI = NULL;
12471PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI = NULL;
12472
12473PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN = NULL;
12474
12475PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN = NULL;
12476PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN = NULL;
12477
12478#if !defined(GLEW_MX)
12479
12480GLboolean __GLXEW_VERSION_1_0 = GL_FALSE;
12481GLboolean __GLXEW_VERSION_1_1 = GL_FALSE;
12482GLboolean __GLXEW_VERSION_1_2 = GL_FALSE;
12483GLboolean __GLXEW_VERSION_1_3 = GL_FALSE;
12484GLboolean __GLXEW_VERSION_1_4 = GL_FALSE;
12485GLboolean __GLXEW_3DFX_multisample = GL_FALSE;
12486GLboolean __GLXEW_AMD_gpu_association = GL_FALSE;
12487GLboolean __GLXEW_ARB_create_context = GL_FALSE;
12488GLboolean __GLXEW_ARB_create_context_profile = GL_FALSE;
12489GLboolean __GLXEW_ARB_create_context_robustness = GL_FALSE;
12490GLboolean __GLXEW_ARB_fbconfig_float = GL_FALSE;
12491GLboolean __GLXEW_ARB_framebuffer_sRGB = GL_FALSE;
12492GLboolean __GLXEW_ARB_get_proc_address = GL_FALSE;
12493GLboolean __GLXEW_ARB_multisample = GL_FALSE;
12494GLboolean __GLXEW_ARB_robustness_application_isolation = GL_FALSE;
12495GLboolean __GLXEW_ARB_robustness_share_group_isolation = GL_FALSE;
12496GLboolean __GLXEW_ARB_vertex_buffer_object = GL_FALSE;
12497GLboolean __GLXEW_ATI_pixel_format_float = GL_FALSE;
12498GLboolean __GLXEW_ATI_render_texture = GL_FALSE;
12499GLboolean __GLXEW_EXT_buffer_age = GL_FALSE;
12500GLboolean __GLXEW_EXT_create_context_es2_profile = GL_FALSE;
12501GLboolean __GLXEW_EXT_create_context_es_profile = GL_FALSE;
12502GLboolean __GLXEW_EXT_fbconfig_packed_float = GL_FALSE;
12503GLboolean __GLXEW_EXT_framebuffer_sRGB = GL_FALSE;
12504GLboolean __GLXEW_EXT_import_context = GL_FALSE;
12505GLboolean __GLXEW_EXT_scene_marker = GL_FALSE;
12506GLboolean __GLXEW_EXT_swap_control = GL_FALSE;
12507GLboolean __GLXEW_EXT_swap_control_tear = GL_FALSE;
12508GLboolean __GLXEW_EXT_texture_from_pixmap = GL_FALSE;
12509GLboolean __GLXEW_EXT_visual_info = GL_FALSE;
12510GLboolean __GLXEW_EXT_visual_rating = GL_FALSE;
12511GLboolean __GLXEW_INTEL_swap_event = GL_FALSE;
12512GLboolean __GLXEW_MESA_agp_offset = GL_FALSE;
12513GLboolean __GLXEW_MESA_copy_sub_buffer = GL_FALSE;
12514GLboolean __GLXEW_MESA_pixmap_colormap = GL_FALSE;
12515GLboolean __GLXEW_MESA_release_buffers = GL_FALSE;
12516GLboolean __GLXEW_MESA_set_3dfx_mode = GL_FALSE;
12517GLboolean __GLXEW_MESA_swap_control = GL_FALSE;
12518GLboolean __GLXEW_NV_copy_image = GL_FALSE;
12519GLboolean __GLXEW_NV_float_buffer = GL_FALSE;
12520GLboolean __GLXEW_NV_multisample_coverage = GL_FALSE;
12521GLboolean __GLXEW_NV_present_video = GL_FALSE;
12522GLboolean __GLXEW_NV_swap_group = GL_FALSE;
12523GLboolean __GLXEW_NV_vertex_array_range = GL_FALSE;
12524GLboolean __GLXEW_NV_video_capture = GL_FALSE;
12525GLboolean __GLXEW_NV_video_output = GL_FALSE;
12526GLboolean __GLXEW_OML_swap_method = GL_FALSE;
12527GLboolean __GLXEW_OML_sync_control = GL_FALSE;
12528GLboolean __GLXEW_SGIS_blended_overlay = GL_FALSE;
12529GLboolean __GLXEW_SGIS_color_range = GL_FALSE;
12530GLboolean __GLXEW_SGIS_multisample = GL_FALSE;
12531GLboolean __GLXEW_SGIS_shared_multisample = GL_FALSE;
12532GLboolean __GLXEW_SGIX_fbconfig = GL_FALSE;
12533GLboolean __GLXEW_SGIX_hyperpipe = GL_FALSE;
12534GLboolean __GLXEW_SGIX_pbuffer = GL_FALSE;
12535GLboolean __GLXEW_SGIX_swap_barrier = GL_FALSE;
12536GLboolean __GLXEW_SGIX_swap_group = GL_FALSE;
12537GLboolean __GLXEW_SGIX_video_resize = GL_FALSE;
12538GLboolean __GLXEW_SGIX_visual_select_group = GL_FALSE;
12539GLboolean __GLXEW_SGI_cushion = GL_FALSE;
12540GLboolean __GLXEW_SGI_make_current_read = GL_FALSE;
12541GLboolean __GLXEW_SGI_swap_control = GL_FALSE;
12542GLboolean __GLXEW_SGI_video_sync = GL_FALSE;
12543GLboolean __GLXEW_SUN_get_transparent_index = GL_FALSE;
12544GLboolean __GLXEW_SUN_video_resize = GL_FALSE;
12545
12546#endif /* !GLEW_MX */
12547
12548#ifdef GLX_VERSION_1_2
12549
12550static GLboolean _glewInit_GLX_VERSION_1_2 (GLXEW_CONTEXT_ARG_DEF_INIT)
12551{
12552 GLboolean r = GL_FALSE;
12553
12554 r = ((glXGetCurrentDisplay = (PFNGLXGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentDisplay")) == NULL) || r;
12555
12556 return r;
12557}
12558
12559#endif /* GLX_VERSION_1_2 */
12560
12561#ifdef GLX_VERSION_1_3
12562
12563static GLboolean _glewInit_GLX_VERSION_1_3 (GLXEW_CONTEXT_ARG_DEF_INIT)
12564{
12565 GLboolean r = GL_FALSE;
12566
12567 r = ((glXChooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfig")) == NULL) || r;
12568 r = ((glXCreateNewContext = (PFNGLXCREATENEWCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXCreateNewContext")) == NULL) || r;
12569 r = ((glXCreatePbuffer = (PFNGLXCREATEPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXCreatePbuffer")) == NULL) || r;
12570 r = ((glXCreatePixmap = (PFNGLXCREATEPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXCreatePixmap")) == NULL) || r;
12571 r = ((glXCreateWindow = (PFNGLXCREATEWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXCreateWindow")) == NULL) || r;
12572 r = ((glXDestroyPbuffer = (PFNGLXDESTROYPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPbuffer")) == NULL) || r;
12573 r = ((glXDestroyPixmap = (PFNGLXDESTROYPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPixmap")) == NULL) || r;
12574 r = ((glXDestroyWindow = (PFNGLXDESTROYWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXDestroyWindow")) == NULL) || r;
12575 r = ((glXGetCurrentReadDrawable = (PFNGLXGETCURRENTREADDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawable")) == NULL) || r;
12576 r = ((glXGetFBConfigAttrib = (PFNGLXGETFBCONFIGATTRIBPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttrib")) == NULL) || r;
12577 r = ((glXGetFBConfigs = (PFNGLXGETFBCONFIGSPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigs")) == NULL) || r;
12578 r = ((glXGetSelectedEvent = (PFNGLXGETSELECTEDEVENTPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEvent")) == NULL) || r;
12579 r = ((glXGetVisualFromFBConfig = (PFNGLXGETVISUALFROMFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfig")) == NULL) || r;
12580 r = ((glXMakeContextCurrent = (PFNGLXMAKECONTEXTCURRENTPROC)glewGetProcAddress((const GLubyte*)"glXMakeContextCurrent")) == NULL) || r;
12581 r = ((glXQueryContext = (PFNGLXQUERYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContext")) == NULL) || r;
12582 r = ((glXQueryDrawable = (PFNGLXQUERYDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXQueryDrawable")) == NULL) || r;
12583 r = ((glXSelectEvent = (PFNGLXSELECTEVENTPROC)glewGetProcAddress((const GLubyte*)"glXSelectEvent")) == NULL) || r;
12584
12585 return r;
12586}
12587
12588#endif /* GLX_VERSION_1_3 */
12589
12590#ifdef GLX_VERSION_1_4
12591
12592#endif /* GLX_VERSION_1_4 */
12593
12594#ifdef GLX_3DFX_multisample
12595
12596#endif /* GLX_3DFX_multisample */
12597
12598#ifdef GLX_AMD_gpu_association
12599
12600static GLboolean _glewInit_GLX_AMD_gpu_association (GLXEW_CONTEXT_ARG_DEF_INIT)
12601{
12602 GLboolean r = GL_FALSE;
12603
12604 r = ((glXBlitContextFramebufferAMD = (PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC)glewGetProcAddress((const GLubyte*)"glXBlitContextFramebufferAMD")) == NULL) || r;
12605 r = ((glXCreateAssociatedContextAMD = (PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"glXCreateAssociatedContextAMD")) == NULL) || r;
12606 r = ((glXCreateAssociatedContextAttribsAMD = (PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)glewGetProcAddress((const GLubyte*)"glXCreateAssociatedContextAttribsAMD")) == NULL) || r;
12607 r = ((glXDeleteAssociatedContextAMD = (PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"glXDeleteAssociatedContextAMD")) == NULL) || r;
12608 r = ((glXGetContextGPUIDAMD = (PFNGLXGETCONTEXTGPUIDAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetContextGPUIDAMD")) == NULL) || r;
12609 r = ((glXGetCurrentAssociatedContextAMD = (PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentAssociatedContextAMD")) == NULL) || r;
12610 r = ((glXGetGPUIDsAMD = (PFNGLXGETGPUIDSAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetGPUIDsAMD")) == NULL) || r;
12611 r = ((glXGetGPUInfoAMD = (PFNGLXGETGPUINFOAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetGPUInfoAMD")) == NULL) || r;
12612 r = ((glXMakeAssociatedContextCurrentAMD = (PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)glewGetProcAddress((const GLubyte*)"glXMakeAssociatedContextCurrentAMD")) == NULL) || r;
12613
12614 return r;
12615}
12616
12617#endif /* GLX_AMD_gpu_association */
12618
12619#ifdef GLX_ARB_create_context
12620
12621static GLboolean _glewInit_GLX_ARB_create_context (GLXEW_CONTEXT_ARG_DEF_INIT)
12622{
12623 GLboolean r = GL_FALSE;
12624
12625 r = ((glXCreateContextAttribsARB = (PFNGLXCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextAttribsARB")) == NULL) || r;
12626
12627 return r;
12628}
12629
12630#endif /* GLX_ARB_create_context */
12631
12632#ifdef GLX_ARB_create_context_profile
12633
12634#endif /* GLX_ARB_create_context_profile */
12635
12636#ifdef GLX_ARB_create_context_robustness
12637
12638#endif /* GLX_ARB_create_context_robustness */
12639
12640#ifdef GLX_ARB_fbconfig_float
12641
12642#endif /* GLX_ARB_fbconfig_float */
12643
12644#ifdef GLX_ARB_framebuffer_sRGB
12645
12646#endif /* GLX_ARB_framebuffer_sRGB */
12647
12648#ifdef GLX_ARB_get_proc_address
12649
12650#endif /* GLX_ARB_get_proc_address */
12651
12652#ifdef GLX_ARB_multisample
12653
12654#endif /* GLX_ARB_multisample */
12655
12656#ifdef GLX_ARB_robustness_application_isolation
12657
12658#endif /* GLX_ARB_robustness_application_isolation */
12659
12660#ifdef GLX_ARB_robustness_share_group_isolation
12661
12662#endif /* GLX_ARB_robustness_share_group_isolation */
12663
12664#ifdef GLX_ARB_vertex_buffer_object
12665
12666#endif /* GLX_ARB_vertex_buffer_object */
12667
12668#ifdef GLX_ATI_pixel_format_float
12669
12670#endif /* GLX_ATI_pixel_format_float */
12671
12672#ifdef GLX_ATI_render_texture
12673
12674static GLboolean _glewInit_GLX_ATI_render_texture (GLXEW_CONTEXT_ARG_DEF_INIT)
12675{
12676 GLboolean r = GL_FALSE;
12677
12678 r = ((glXBindTexImageATI = (PFNGLXBINDTEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageATI")) == NULL) || r;
12679 r = ((glXDrawableAttribATI = (PFNGLXDRAWABLEATTRIBATIPROC)glewGetProcAddress((const GLubyte*)"glXDrawableAttribATI")) == NULL) || r;
12680 r = ((glXReleaseTexImageATI = (PFNGLXRELEASETEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageATI")) == NULL) || r;
12681
12682 return r;
12683}
12684
12685#endif /* GLX_ATI_render_texture */
12686
12687#ifdef GLX_EXT_buffer_age
12688
12689#endif /* GLX_EXT_buffer_age */
12690
12691#ifdef GLX_EXT_create_context_es2_profile
12692
12693#endif /* GLX_EXT_create_context_es2_profile */
12694
12695#ifdef GLX_EXT_create_context_es_profile
12696
12697#endif /* GLX_EXT_create_context_es_profile */
12698
12699#ifdef GLX_EXT_fbconfig_packed_float
12700
12701#endif /* GLX_EXT_fbconfig_packed_float */
12702
12703#ifdef GLX_EXT_framebuffer_sRGB
12704
12705#endif /* GLX_EXT_framebuffer_sRGB */
12706
12707#ifdef GLX_EXT_import_context
12708
12709static GLboolean _glewInit_GLX_EXT_import_context (GLXEW_CONTEXT_ARG_DEF_INIT)
12710{
12711 GLboolean r = GL_FALSE;
12712
12713 r = ((glXFreeContextEXT = (PFNGLXFREECONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXFreeContextEXT")) == NULL) || r;
12714 r = ((glXGetContextIDEXT = (PFNGLXGETCONTEXTIDEXTPROC)glewGetProcAddress((const GLubyte*)"glXGetContextIDEXT")) == NULL) || r;
12715 r = ((glXImportContextEXT = (PFNGLXIMPORTCONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXImportContextEXT")) == NULL) || r;
12716 r = ((glXQueryContextInfoEXT = (PFNGLXQUERYCONTEXTINFOEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContextInfoEXT")) == NULL) || r;
12717
12718 return r;
12719}
12720
12721#endif /* GLX_EXT_import_context */
12722
12723#ifdef GLX_EXT_scene_marker
12724
12725#endif /* GLX_EXT_scene_marker */
12726
12727#ifdef GLX_EXT_swap_control
12728
12729static GLboolean _glewInit_GLX_EXT_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT)
12730{
12731 GLboolean r = GL_FALSE;
12732
12733 r = ((glXSwapIntervalEXT = (PFNGLXSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalEXT")) == NULL) || r;
12734
12735 return r;
12736}
12737
12738#endif /* GLX_EXT_swap_control */
12739
12740#ifdef GLX_EXT_swap_control_tear
12741
12742#endif /* GLX_EXT_swap_control_tear */
12743
12744#ifdef GLX_EXT_texture_from_pixmap
12745
12746static GLboolean _glewInit_GLX_EXT_texture_from_pixmap (GLXEW_CONTEXT_ARG_DEF_INIT)
12747{
12748 GLboolean r = GL_FALSE;
12749
12750 r = ((glXBindTexImageEXT = (PFNGLXBINDTEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageEXT")) == NULL) || r;
12751 r = ((glXReleaseTexImageEXT = (PFNGLXRELEASETEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageEXT")) == NULL) || r;
12752
12753 return r;
12754}
12755
12756#endif /* GLX_EXT_texture_from_pixmap */
12757
12758#ifdef GLX_EXT_visual_info
12759
12760#endif /* GLX_EXT_visual_info */
12761
12762#ifdef GLX_EXT_visual_rating
12763
12764#endif /* GLX_EXT_visual_rating */
12765
12766#ifdef GLX_INTEL_swap_event
12767
12768#endif /* GLX_INTEL_swap_event */
12769
12770#ifdef GLX_MESA_agp_offset
12771
12772static GLboolean _glewInit_GLX_MESA_agp_offset (GLXEW_CONTEXT_ARG_DEF_INIT)
12773{
12774 GLboolean r = GL_FALSE;
12775
12776 r = ((glXGetAGPOffsetMESA = (PFNGLXGETAGPOFFSETMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetAGPOffsetMESA")) == NULL) || r;
12777
12778 return r;
12779}
12780
12781#endif /* GLX_MESA_agp_offset */
12782
12783#ifdef GLX_MESA_copy_sub_buffer
12784
12785static GLboolean _glewInit_GLX_MESA_copy_sub_buffer (GLXEW_CONTEXT_ARG_DEF_INIT)
12786{
12787 GLboolean r = GL_FALSE;
12788
12789 r = ((glXCopySubBufferMESA = (PFNGLXCOPYSUBBUFFERMESAPROC)glewGetProcAddress((const GLubyte*)"glXCopySubBufferMESA")) == NULL) || r;
12790
12791 return r;
12792}
12793
12794#endif /* GLX_MESA_copy_sub_buffer */
12795
12796#ifdef GLX_MESA_pixmap_colormap
12797
12798static GLboolean _glewInit_GLX_MESA_pixmap_colormap (GLXEW_CONTEXT_ARG_DEF_INIT)
12799{
12800 GLboolean r = GL_FALSE;
12801
12802 r = ((glXCreateGLXPixmapMESA = (PFNGLXCREATEGLXPIXMAPMESAPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapMESA")) == NULL) || r;
12803
12804 return r;
12805}
12806
12807#endif /* GLX_MESA_pixmap_colormap */
12808
12809#ifdef GLX_MESA_release_buffers
12810
12811static GLboolean _glewInit_GLX_MESA_release_buffers (GLXEW_CONTEXT_ARG_DEF_INIT)
12812{
12813 GLboolean r = GL_FALSE;
12814
12815 r = ((glXReleaseBuffersMESA = (PFNGLXRELEASEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glXReleaseBuffersMESA")) == NULL) || r;
12816
12817 return r;
12818}
12819
12820#endif /* GLX_MESA_release_buffers */
12821
12822#ifdef GLX_MESA_set_3dfx_mode
12823
12824static GLboolean _glewInit_GLX_MESA_set_3dfx_mode (GLXEW_CONTEXT_ARG_DEF_INIT)
12825{
12826 GLboolean r = GL_FALSE;
12827
12828 r = ((glXSet3DfxModeMESA = (PFNGLXSET3DFXMODEMESAPROC)glewGetProcAddress((const GLubyte*)"glXSet3DfxModeMESA")) == NULL) || r;
12829
12830 return r;
12831}
12832
12833#endif /* GLX_MESA_set_3dfx_mode */
12834
12835#ifdef GLX_MESA_swap_control
12836
12837static GLboolean _glewInit_GLX_MESA_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT)
12838{
12839 GLboolean r = GL_FALSE;
12840
12841 r = ((glXGetSwapIntervalMESA = (PFNGLXGETSWAPINTERVALMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetSwapIntervalMESA")) == NULL) || r;
12842 r = ((glXSwapIntervalMESA = (PFNGLXSWAPINTERVALMESAPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalMESA")) == NULL) || r;
12843
12844 return r;
12845}
12846
12847#endif /* GLX_MESA_swap_control */
12848
12849#ifdef GLX_NV_copy_image
12850
12851static GLboolean _glewInit_GLX_NV_copy_image (GLXEW_CONTEXT_ARG_DEF_INIT)
12852{
12853 GLboolean r = GL_FALSE;
12854
12855 r = ((glXCopyImageSubDataNV = (PFNGLXCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXCopyImageSubDataNV")) == NULL) || r;
12856
12857 return r;
12858}
12859
12860#endif /* GLX_NV_copy_image */
12861
12862#ifdef GLX_NV_float_buffer
12863
12864#endif /* GLX_NV_float_buffer */
12865
12866#ifdef GLX_NV_multisample_coverage
12867
12868#endif /* GLX_NV_multisample_coverage */
12869
12870#ifdef GLX_NV_present_video
12871
12872static GLboolean _glewInit_GLX_NV_present_video (GLXEW_CONTEXT_ARG_DEF_INIT)
12873{
12874 GLboolean r = GL_FALSE;
12875
12876 r = ((glXBindVideoDeviceNV = (PFNGLXBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoDeviceNV")) == NULL) || r;
12877 r = ((glXEnumerateVideoDevicesNV = (PFNGLXENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"glXEnumerateVideoDevicesNV")) == NULL) || r;
12878
12879 return r;
12880}
12881
12882#endif /* GLX_NV_present_video */
12883
12884#ifdef GLX_NV_swap_group
12885
12886static GLboolean _glewInit_GLX_NV_swap_group (GLXEW_CONTEXT_ARG_DEF_INIT)
12887{
12888 GLboolean r = GL_FALSE;
12889
12890 r = ((glXBindSwapBarrierNV = (PFNGLXBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierNV")) == NULL) || r;
12891 r = ((glXJoinSwapGroupNV = (PFNGLXJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupNV")) == NULL) || r;
12892 r = ((glXQueryFrameCountNV = (PFNGLXQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryFrameCountNV")) == NULL) || r;
12893 r = ((glXQueryMaxSwapGroupsNV = (PFNGLXQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapGroupsNV")) == NULL) || r;
12894 r = ((glXQuerySwapGroupNV = (PFNGLXQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXQuerySwapGroupNV")) == NULL) || r;
12895 r = ((glXResetFrameCountNV = (PFNGLXRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXResetFrameCountNV")) == NULL) || r;
12896
12897 return r;
12898}
12899
12900#endif /* GLX_NV_swap_group */
12901
12902#ifdef GLX_NV_vertex_array_range
12903
12904static GLboolean _glewInit_GLX_NV_vertex_array_range (GLXEW_CONTEXT_ARG_DEF_INIT)
12905{
12906 GLboolean r = GL_FALSE;
12907
12908 r = ((glXAllocateMemoryNV = (PFNGLXALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXAllocateMemoryNV")) == NULL) || r;
12909 r = ((glXFreeMemoryNV = (PFNGLXFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXFreeMemoryNV")) == NULL) || r;
12910
12911 return r;
12912}
12913
12914#endif /* GLX_NV_vertex_array_range */
12915
12916#ifdef GLX_NV_video_capture
12917
12918static GLboolean _glewInit_GLX_NV_video_capture (GLXEW_CONTEXT_ARG_DEF_INIT)
12919{
12920 GLboolean r = GL_FALSE;
12921
12922 r = ((glXBindVideoCaptureDeviceNV = (PFNGLXBINDVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoCaptureDeviceNV")) == NULL) || r;
12923 r = ((glXEnumerateVideoCaptureDevicesNV = (PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"glXEnumerateVideoCaptureDevicesNV")) == NULL) || r;
12924 r = ((glXLockVideoCaptureDeviceNV = (PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXLockVideoCaptureDeviceNV")) == NULL) || r;
12925 r = ((glXQueryVideoCaptureDeviceNV = (PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXQueryVideoCaptureDeviceNV")) == NULL) || r;
12926 r = ((glXReleaseVideoCaptureDeviceNV = (PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoCaptureDeviceNV")) == NULL) || r;
12927
12928 return r;
12929}
12930
12931#endif /* GLX_NV_video_capture */
12932
12933#ifdef GLX_NV_video_output
12934
12935static GLboolean _glewInit_GLX_NV_video_output (GLXEW_CONTEXT_ARG_DEF_INIT)
12936{
12937 GLboolean r = GL_FALSE;
12938
12939 r = ((glXBindVideoImageNV = (PFNGLXBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoImageNV")) == NULL) || r;
12940 r = ((glXGetVideoDeviceNV = (PFNGLXGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoDeviceNV")) == NULL) || r;
12941 r = ((glXGetVideoInfoNV = (PFNGLXGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoInfoNV")) == NULL) || r;
12942 r = ((glXReleaseVideoDeviceNV = (PFNGLXRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoDeviceNV")) == NULL) || r;
12943 r = ((glXReleaseVideoImageNV = (PFNGLXRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoImageNV")) == NULL) || r;
12944 r = ((glXSendPbufferToVideoNV = (PFNGLXSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"glXSendPbufferToVideoNV")) == NULL) || r;
12945
12946 return r;
12947}
12948
12949#endif /* GLX_NV_video_output */
12950
12951#ifdef GLX_OML_swap_method
12952
12953#endif /* GLX_OML_swap_method */
12954
12955#ifdef GLX_OML_sync_control
12956
12957static GLboolean _glewInit_GLX_OML_sync_control (GLXEW_CONTEXT_ARG_DEF_INIT)
12958{
12959 GLboolean r = GL_FALSE;
12960
12961 r = ((glXGetMscRateOML = (PFNGLXGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetMscRateOML")) == NULL) || r;
12962 r = ((glXGetSyncValuesOML = (PFNGLXGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetSyncValuesOML")) == NULL) || r;
12963 r = ((glXSwapBuffersMscOML = (PFNGLXSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXSwapBuffersMscOML")) == NULL) || r;
12964 r = ((glXWaitForMscOML = (PFNGLXWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForMscOML")) == NULL) || r;
12965 r = ((glXWaitForSbcOML = (PFNGLXWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForSbcOML")) == NULL) || r;
12966
12967 return r;
12968}
12969
12970#endif /* GLX_OML_sync_control */
12971
12972#ifdef GLX_SGIS_blended_overlay
12973
12974#endif /* GLX_SGIS_blended_overlay */
12975
12976#ifdef GLX_SGIS_color_range
12977
12978#endif /* GLX_SGIS_color_range */
12979
12980#ifdef GLX_SGIS_multisample
12981
12982#endif /* GLX_SGIS_multisample */
12983
12984#ifdef GLX_SGIS_shared_multisample
12985
12986#endif /* GLX_SGIS_shared_multisample */
12987
12988#ifdef GLX_SGIX_fbconfig
12989
12990static GLboolean _glewInit_GLX_SGIX_fbconfig (GLXEW_CONTEXT_ARG_DEF_INIT)
12991{
12992 GLboolean r = GL_FALSE;
12993
12994 r = ((glXChooseFBConfigSGIX = (PFNGLXCHOOSEFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfigSGIX")) == NULL) || r;
12995 r = ((glXCreateContextWithConfigSGIX = (PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextWithConfigSGIX")) == NULL) || r;
12996 r = ((glXCreateGLXPixmapWithConfigSGIX = (PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapWithConfigSGIX")) == NULL) || r;
12997 r = ((glXGetFBConfigAttribSGIX = (PFNGLXGETFBCONFIGATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttribSGIX")) == NULL) || r;
12998 r = ((glXGetFBConfigFromVisualSGIX = (PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigFromVisualSGIX")) == NULL) || r;
12999 r = ((glXGetVisualFromFBConfigSGIX = (PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfigSGIX")) == NULL) || r;
13000
13001 return r;
13002}
13003
13004#endif /* GLX_SGIX_fbconfig */
13005
13006#ifdef GLX_SGIX_hyperpipe
13007
13008static GLboolean _glewInit_GLX_SGIX_hyperpipe (GLXEW_CONTEXT_ARG_DEF_INIT)
13009{
13010 GLboolean r = GL_FALSE;
13011
13012 r = ((glXBindHyperpipeSGIX = (PFNGLXBINDHYPERPIPESGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindHyperpipeSGIX")) == NULL) || r;
13013 r = ((glXDestroyHyperpipeConfigSGIX = (PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyHyperpipeConfigSGIX")) == NULL) || r;
13014 r = ((glXHyperpipeAttribSGIX = (PFNGLXHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeAttribSGIX")) == NULL) || r;
13015 r = ((glXHyperpipeConfigSGIX = (PFNGLXHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeConfigSGIX")) == NULL) || r;
13016 r = ((glXQueryHyperpipeAttribSGIX = (PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeAttribSGIX")) == NULL) || r;
13017 r = ((glXQueryHyperpipeBestAttribSGIX = (PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeBestAttribSGIX")) == NULL) || r;
13018 r = ((glXQueryHyperpipeConfigSGIX = (PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeConfigSGIX")) == NULL) || r;
13019 r = ((glXQueryHyperpipeNetworkSGIX = (PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeNetworkSGIX")) == NULL) || r;
13020
13021 return r;
13022}
13023
13024#endif /* GLX_SGIX_hyperpipe */
13025
13026#ifdef GLX_SGIX_pbuffer
13027
13028static GLboolean _glewInit_GLX_SGIX_pbuffer (GLXEW_CONTEXT_ARG_DEF_INIT)
13029{
13030 GLboolean r = GL_FALSE;
13031
13032 r = ((glXCreateGLXPbufferSGIX = (PFNGLXCREATEGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPbufferSGIX")) == NULL) || r;
13033 r = ((glXDestroyGLXPbufferSGIX = (PFNGLXDESTROYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyGLXPbufferSGIX")) == NULL) || r;
13034 r = ((glXGetSelectedEventSGIX = (PFNGLXGETSELECTEDEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEventSGIX")) == NULL) || r;
13035 r = ((glXQueryGLXPbufferSGIX = (PFNGLXQUERYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryGLXPbufferSGIX")) == NULL) || r;
13036 r = ((glXSelectEventSGIX = (PFNGLXSELECTEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXSelectEventSGIX")) == NULL) || r;
13037
13038 return r;
13039}
13040
13041#endif /* GLX_SGIX_pbuffer */
13042
13043#ifdef GLX_SGIX_swap_barrier
13044
13045static GLboolean _glewInit_GLX_SGIX_swap_barrier (GLXEW_CONTEXT_ARG_DEF_INIT)
13046{
13047 GLboolean r = GL_FALSE;
13048
13049 r = ((glXBindSwapBarrierSGIX = (PFNGLXBINDSWAPBARRIERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierSGIX")) == NULL) || r;
13050 r = ((glXQueryMaxSwapBarriersSGIX = (PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapBarriersSGIX")) == NULL) || r;
13051
13052 return r;
13053}
13054
13055#endif /* GLX_SGIX_swap_barrier */
13056
13057#ifdef GLX_SGIX_swap_group
13058
13059static GLboolean _glewInit_GLX_SGIX_swap_group (GLXEW_CONTEXT_ARG_DEF_INIT)
13060{
13061 GLboolean r = GL_FALSE;
13062
13063 r = ((glXJoinSwapGroupSGIX = (PFNGLXJOINSWAPGROUPSGIXPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupSGIX")) == NULL) || r;
13064
13065 return r;
13066}
13067
13068#endif /* GLX_SGIX_swap_group */
13069
13070#ifdef GLX_SGIX_video_resize
13071
13072static GLboolean _glewInit_GLX_SGIX_video_resize (GLXEW_CONTEXT_ARG_DEF_INIT)
13073{
13074 GLboolean r = GL_FALSE;
13075
13076 r = ((glXBindChannelToWindowSGIX = (PFNGLXBINDCHANNELTOWINDOWSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindChannelToWindowSGIX")) == NULL) || r;
13077 r = ((glXChannelRectSGIX = (PFNGLXCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSGIX")) == NULL) || r;
13078 r = ((glXChannelRectSyncSGIX = (PFNGLXCHANNELRECTSYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSyncSGIX")) == NULL) || r;
13079 r = ((glXQueryChannelDeltasSGIX = (PFNGLXQUERYCHANNELDELTASSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelDeltasSGIX")) == NULL) || r;
13080 r = ((glXQueryChannelRectSGIX = (PFNGLXQUERYCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelRectSGIX")) == NULL) || r;
13081
13082 return r;
13083}
13084
13085#endif /* GLX_SGIX_video_resize */
13086
13087#ifdef GLX_SGIX_visual_select_group
13088
13089#endif /* GLX_SGIX_visual_select_group */
13090
13091#ifdef GLX_SGI_cushion
13092
13093static GLboolean _glewInit_GLX_SGI_cushion (GLXEW_CONTEXT_ARG_DEF_INIT)
13094{
13095 GLboolean r = GL_FALSE;
13096
13097 r = ((glXCushionSGI = (PFNGLXCUSHIONSGIPROC)glewGetProcAddress((const GLubyte*)"glXCushionSGI")) == NULL) || r;
13098
13099 return r;
13100}
13101
13102#endif /* GLX_SGI_cushion */
13103
13104#ifdef GLX_SGI_make_current_read
13105
13106static GLboolean _glewInit_GLX_SGI_make_current_read (GLXEW_CONTEXT_ARG_DEF_INIT)
13107{
13108 GLboolean r = GL_FALSE;
13109
13110 r = ((glXGetCurrentReadDrawableSGI = (PFNGLXGETCURRENTREADDRAWABLESGIPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawableSGI")) == NULL) || r;
13111 r = ((glXMakeCurrentReadSGI = (PFNGLXMAKECURRENTREADSGIPROC)glewGetProcAddress((const GLubyte*)"glXMakeCurrentReadSGI")) == NULL) || r;
13112
13113 return r;
13114}
13115
13116#endif /* GLX_SGI_make_current_read */
13117
13118#ifdef GLX_SGI_swap_control
13119
13120static GLboolean _glewInit_GLX_SGI_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT)
13121{
13122 GLboolean r = GL_FALSE;
13123
13124 r = ((glXSwapIntervalSGI = (PFNGLXSWAPINTERVALSGIPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalSGI")) == NULL) || r;
13125
13126 return r;
13127}
13128
13129#endif /* GLX_SGI_swap_control */
13130
13131#ifdef GLX_SGI_video_sync
13132
13133static GLboolean _glewInit_GLX_SGI_video_sync (GLXEW_CONTEXT_ARG_DEF_INIT)
13134{
13135 GLboolean r = GL_FALSE;
13136
13137 r = ((glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoSyncSGI")) == NULL) || r;
13138 r = ((glXWaitVideoSyncSGI = (PFNGLXWAITVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXWaitVideoSyncSGI")) == NULL) || r;
13139
13140 return r;
13141}
13142
13143#endif /* GLX_SGI_video_sync */
13144
13145#ifdef GLX_SUN_get_transparent_index
13146
13147static GLboolean _glewInit_GLX_SUN_get_transparent_index (GLXEW_CONTEXT_ARG_DEF_INIT)
13148{
13149 GLboolean r = GL_FALSE;
13150
13151 r = ((glXGetTransparentIndexSUN = (PFNGLXGETTRANSPARENTINDEXSUNPROC)glewGetProcAddress((const GLubyte*)"glXGetTransparentIndexSUN")) == NULL) || r;
13152
13153 return r;
13154}
13155
13156#endif /* GLX_SUN_get_transparent_index */
13157
13158#ifdef GLX_SUN_video_resize
13159
13160static GLboolean _glewInit_GLX_SUN_video_resize (GLXEW_CONTEXT_ARG_DEF_INIT)
13161{
13162 GLboolean r = GL_FALSE;
13163
13164 r = ((glXGetVideoResizeSUN = (PFNGLXGETVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoResizeSUN")) == NULL) || r;
13165 r = ((glXVideoResizeSUN = (PFNGLXVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXVideoResizeSUN")) == NULL) || r;
13166
13167 return r;
13168}
13169
13170#endif /* GLX_SUN_video_resize */
13171
13172/* ------------------------------------------------------------------------ */
13173
13174GLboolean glxewGetExtension (const char* name)
13175{
13176 const GLubyte* start;
13177 const GLubyte* end;
13178
13179 if (glXGetCurrentDisplay == NULL) return GL_FALSE;
13180 start = (const GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS);
13181 if (0 == start) return GL_FALSE;
13182 end = start + _glewStrLen(start);
13183 return _glewSearchExtension(name, start, end);
13184}
13185
13186GLenum glxewContextInit (GLXEW_CONTEXT_ARG_DEF_LIST)
13187{
13188 int major, minor;
13189 const GLubyte* extStart;
13190 const GLubyte* extEnd;
13191 /* initialize core GLX 1.2 */
13192 if (_glewInit_GLX_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT)) return GLEW_ERROR_GLX_VERSION_11_ONLY;
13193 /* initialize flags */
13194 CONST_CAST(GLXEW_VERSION_1_0) = GL_TRUE;
13195 CONST_CAST(GLXEW_VERSION_1_1) = GL_TRUE;
13196 CONST_CAST(GLXEW_VERSION_1_2) = GL_TRUE;
13197 CONST_CAST(GLXEW_VERSION_1_3) = GL_TRUE;
13198 CONST_CAST(GLXEW_VERSION_1_4) = GL_TRUE;
13199 /* query GLX version */
13200 glXQueryVersion(glXGetCurrentDisplay(), &major, &minor);
13201 if (major == 1 && minor <= 3)
13202 {
13203 switch (minor)
13204 {
13205 case 3:
13206 CONST_CAST(GLXEW_VERSION_1_4) = GL_FALSE;
13207 break;
13208 case 2:
13209 CONST_CAST(GLXEW_VERSION_1_4) = GL_FALSE;
13210 CONST_CAST(GLXEW_VERSION_1_3) = GL_FALSE;
13211 break;
13212 default:
13213 return GLEW_ERROR_GLX_VERSION_11_ONLY;
13214 break;
13215 }
13216 }
13217 /* query GLX extension string */
13218 extStart = 0;
13219 if (glXGetCurrentDisplay != NULL)
13220 extStart = (const GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS);
13221 if (extStart == 0)
13222 extStart = (const GLubyte *)"";
13223 extEnd = extStart + _glewStrLen(extStart);
13224 /* initialize extensions */
13225#ifdef GLX_VERSION_1_3
13226 if (glewExperimental || GLXEW_VERSION_1_3) CONST_CAST(GLXEW_VERSION_1_3) = !_glewInit_GLX_VERSION_1_3(GLEW_CONTEXT_ARG_VAR_INIT);
13227#endif /* GLX_VERSION_1_3 */
13228#ifdef GLX_3DFX_multisample
13229 CONST_CAST(GLXEW_3DFX_multisample) = _glewSearchExtension("GLX_3DFX_multisample", extStart, extEnd);
13230#endif /* GLX_3DFX_multisample */
13231#ifdef GLX_AMD_gpu_association
13232 CONST_CAST(GLXEW_AMD_gpu_association) = _glewSearchExtension("GLX_AMD_gpu_association", extStart, extEnd);
13233 if (glewExperimental || GLXEW_AMD_gpu_association) CONST_CAST(GLXEW_AMD_gpu_association) = !_glewInit_GLX_AMD_gpu_association(GLEW_CONTEXT_ARG_VAR_INIT);
13234#endif /* GLX_AMD_gpu_association */
13235#ifdef GLX_ARB_create_context
13236 CONST_CAST(GLXEW_ARB_create_context) = _glewSearchExtension("GLX_ARB_create_context", extStart, extEnd);
13237 if (glewExperimental || GLXEW_ARB_create_context) CONST_CAST(GLXEW_ARB_create_context) = !_glewInit_GLX_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT);
13238#endif /* GLX_ARB_create_context */
13239#ifdef GLX_ARB_create_context_profile
13240 CONST_CAST(GLXEW_ARB_create_context_profile) = _glewSearchExtension("GLX_ARB_create_context_profile", extStart, extEnd);
13241#endif /* GLX_ARB_create_context_profile */
13242#ifdef GLX_ARB_create_context_robustness
13243 CONST_CAST(GLXEW_ARB_create_context_robustness) = _glewSearchExtension("GLX_ARB_create_context_robustness", extStart, extEnd);
13244#endif /* GLX_ARB_create_context_robustness */
13245#ifdef GLX_ARB_fbconfig_float
13246 CONST_CAST(GLXEW_ARB_fbconfig_float) = _glewSearchExtension("GLX_ARB_fbconfig_float", extStart, extEnd);
13247#endif /* GLX_ARB_fbconfig_float */
13248#ifdef GLX_ARB_framebuffer_sRGB
13249 CONST_CAST(GLXEW_ARB_framebuffer_sRGB) = _glewSearchExtension("GLX_ARB_framebuffer_sRGB", extStart, extEnd);
13250#endif /* GLX_ARB_framebuffer_sRGB */
13251#ifdef GLX_ARB_get_proc_address
13252 CONST_CAST(GLXEW_ARB_get_proc_address) = _glewSearchExtension("GLX_ARB_get_proc_address", extStart, extEnd);
13253#endif /* GLX_ARB_get_proc_address */
13254#ifdef GLX_ARB_multisample
13255 CONST_CAST(GLXEW_ARB_multisample) = _glewSearchExtension("GLX_ARB_multisample", extStart, extEnd);
13256#endif /* GLX_ARB_multisample */
13257#ifdef GLX_ARB_robustness_application_isolation
13258 CONST_CAST(GLXEW_ARB_robustness_application_isolation) = _glewSearchExtension("GLX_ARB_robustness_application_isolation", extStart, extEnd);
13259#endif /* GLX_ARB_robustness_application_isolation */
13260#ifdef GLX_ARB_robustness_share_group_isolation
13261 CONST_CAST(GLXEW_ARB_robustness_share_group_isolation) = _glewSearchExtension("GLX_ARB_robustness_share_group_isolation", extStart, extEnd);
13262#endif /* GLX_ARB_robustness_share_group_isolation */
13263#ifdef GLX_ARB_vertex_buffer_object
13264 CONST_CAST(GLXEW_ARB_vertex_buffer_object) = _glewSearchExtension("GLX_ARB_vertex_buffer_object", extStart, extEnd);
13265#endif /* GLX_ARB_vertex_buffer_object */
13266#ifdef GLX_ATI_pixel_format_float
13267 CONST_CAST(GLXEW_ATI_pixel_format_float) = _glewSearchExtension("GLX_ATI_pixel_format_float", extStart, extEnd);
13268#endif /* GLX_ATI_pixel_format_float */
13269#ifdef GLX_ATI_render_texture
13270 CONST_CAST(GLXEW_ATI_render_texture) = _glewSearchExtension("GLX_ATI_render_texture", extStart, extEnd);
13271 if (glewExperimental || GLXEW_ATI_render_texture) CONST_CAST(GLXEW_ATI_render_texture) = !_glewInit_GLX_ATI_render_texture(GLEW_CONTEXT_ARG_VAR_INIT);
13272#endif /* GLX_ATI_render_texture */
13273#ifdef GLX_EXT_buffer_age
13274 CONST_CAST(GLXEW_EXT_buffer_age) = _glewSearchExtension("GLX_EXT_buffer_age", extStart, extEnd);
13275#endif /* GLX_EXT_buffer_age */
13276#ifdef GLX_EXT_create_context_es2_profile
13277 CONST_CAST(GLXEW_EXT_create_context_es2_profile) = _glewSearchExtension("GLX_EXT_create_context_es2_profile", extStart, extEnd);
13278#endif /* GLX_EXT_create_context_es2_profile */
13279#ifdef GLX_EXT_create_context_es_profile
13280 CONST_CAST(GLXEW_EXT_create_context_es_profile) = _glewSearchExtension("GLX_EXT_create_context_es_profile", extStart, extEnd);
13281#endif /* GLX_EXT_create_context_es_profile */
13282#ifdef GLX_EXT_fbconfig_packed_float
13283 CONST_CAST(GLXEW_EXT_fbconfig_packed_float) = _glewSearchExtension("GLX_EXT_fbconfig_packed_float", extStart, extEnd);
13284#endif /* GLX_EXT_fbconfig_packed_float */
13285#ifdef GLX_EXT_framebuffer_sRGB
13286 CONST_CAST(GLXEW_EXT_framebuffer_sRGB) = _glewSearchExtension("GLX_EXT_framebuffer_sRGB", extStart, extEnd);
13287#endif /* GLX_EXT_framebuffer_sRGB */
13288#ifdef GLX_EXT_import_context
13289 CONST_CAST(GLXEW_EXT_import_context) = _glewSearchExtension("GLX_EXT_import_context", extStart, extEnd);
13290 if (glewExperimental || GLXEW_EXT_import_context) CONST_CAST(GLXEW_EXT_import_context) = !_glewInit_GLX_EXT_import_context(GLEW_CONTEXT_ARG_VAR_INIT);
13291#endif /* GLX_EXT_import_context */
13292#ifdef GLX_EXT_scene_marker
13293 CONST_CAST(GLXEW_EXT_scene_marker) = _glewSearchExtension("GLX_EXT_scene_marker", extStart, extEnd);
13294#endif /* GLX_EXT_scene_marker */
13295#ifdef GLX_EXT_swap_control
13296 CONST_CAST(GLXEW_EXT_swap_control) = _glewSearchExtension("GLX_EXT_swap_control", extStart, extEnd);
13297 if (glewExperimental || GLXEW_EXT_swap_control) CONST_CAST(GLXEW_EXT_swap_control) = !_glewInit_GLX_EXT_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
13298#endif /* GLX_EXT_swap_control */
13299#ifdef GLX_EXT_swap_control_tear
13300 CONST_CAST(GLXEW_EXT_swap_control_tear) = _glewSearchExtension("GLX_EXT_swap_control_tear", extStart, extEnd);
13301#endif /* GLX_EXT_swap_control_tear */
13302#ifdef GLX_EXT_texture_from_pixmap
13303 CONST_CAST(GLXEW_EXT_texture_from_pixmap) = _glewSearchExtension("GLX_EXT_texture_from_pixmap", extStart, extEnd);
13304 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);
13305#endif /* GLX_EXT_texture_from_pixmap */
13306#ifdef GLX_EXT_visual_info
13307 CONST_CAST(GLXEW_EXT_visual_info) = _glewSearchExtension("GLX_EXT_visual_info", extStart, extEnd);
13308#endif /* GLX_EXT_visual_info */
13309#ifdef GLX_EXT_visual_rating
13310 CONST_CAST(GLXEW_EXT_visual_rating) = _glewSearchExtension("GLX_EXT_visual_rating", extStart, extEnd);
13311#endif /* GLX_EXT_visual_rating */
13312#ifdef GLX_INTEL_swap_event
13313 CONST_CAST(GLXEW_INTEL_swap_event) = _glewSearchExtension("GLX_INTEL_swap_event", extStart, extEnd);
13314#endif /* GLX_INTEL_swap_event */
13315#ifdef GLX_MESA_agp_offset
13316 CONST_CAST(GLXEW_MESA_agp_offset) = _glewSearchExtension("GLX_MESA_agp_offset", extStart, extEnd);
13317 if (glewExperimental || GLXEW_MESA_agp_offset) CONST_CAST(GLXEW_MESA_agp_offset) = !_glewInit_GLX_MESA_agp_offset(GLEW_CONTEXT_ARG_VAR_INIT);
13318#endif /* GLX_MESA_agp_offset */
13319#ifdef GLX_MESA_copy_sub_buffer
13320 CONST_CAST(GLXEW_MESA_copy_sub_buffer) = _glewSearchExtension("GLX_MESA_copy_sub_buffer", extStart, extEnd);
13321 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);
13322#endif /* GLX_MESA_copy_sub_buffer */
13323#ifdef GLX_MESA_pixmap_colormap
13324 CONST_CAST(GLXEW_MESA_pixmap_colormap) = _glewSearchExtension("GLX_MESA_pixmap_colormap", extStart, extEnd);
13325 if (glewExperimental || GLXEW_MESA_pixmap_colormap) CONST_CAST(GLXEW_MESA_pixmap_colormap) = !_glewInit_GLX_MESA_pixmap_colormap(GLEW_CONTEXT_ARG_VAR_INIT);
13326#endif /* GLX_MESA_pixmap_colormap */
13327#ifdef GLX_MESA_release_buffers
13328 CONST_CAST(GLXEW_MESA_release_buffers) = _glewSearchExtension("GLX_MESA_release_buffers", extStart, extEnd);
13329 if (glewExperimental || GLXEW_MESA_release_buffers) CONST_CAST(GLXEW_MESA_release_buffers) = !_glewInit_GLX_MESA_release_buffers(GLEW_CONTEXT_ARG_VAR_INIT);
13330#endif /* GLX_MESA_release_buffers */
13331#ifdef GLX_MESA_set_3dfx_mode
13332 CONST_CAST(GLXEW_MESA_set_3dfx_mode) = _glewSearchExtension("GLX_MESA_set_3dfx_mode", extStart, extEnd);
13333 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);
13334#endif /* GLX_MESA_set_3dfx_mode */
13335#ifdef GLX_MESA_swap_control
13336 CONST_CAST(GLXEW_MESA_swap_control) = _glewSearchExtension("GLX_MESA_swap_control", extStart, extEnd);
13337 if (glewExperimental || GLXEW_MESA_swap_control) CONST_CAST(GLXEW_MESA_swap_control) = !_glewInit_GLX_MESA_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
13338#endif /* GLX_MESA_swap_control */
13339#ifdef GLX_NV_copy_image
13340 CONST_CAST(GLXEW_NV_copy_image) = _glewSearchExtension("GLX_NV_copy_image", extStart, extEnd);
13341 if (glewExperimental || GLXEW_NV_copy_image) CONST_CAST(GLXEW_NV_copy_image) = !_glewInit_GLX_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT);
13342#endif /* GLX_NV_copy_image */
13343#ifdef GLX_NV_float_buffer
13344 CONST_CAST(GLXEW_NV_float_buffer) = _glewSearchExtension("GLX_NV_float_buffer", extStart, extEnd);
13345#endif /* GLX_NV_float_buffer */
13346#ifdef GLX_NV_multisample_coverage
13347 CONST_CAST(GLXEW_NV_multisample_coverage) = _glewSearchExtension("GLX_NV_multisample_coverage", extStart, extEnd);
13348#endif /* GLX_NV_multisample_coverage */
13349#ifdef GLX_NV_present_video
13350 CONST_CAST(GLXEW_NV_present_video) = _glewSearchExtension("GLX_NV_present_video", extStart, extEnd);
13351 if (glewExperimental || GLXEW_NV_present_video) CONST_CAST(GLXEW_NV_present_video) = !_glewInit_GLX_NV_present_video(GLEW_CONTEXT_ARG_VAR_INIT);
13352#endif /* GLX_NV_present_video */
13353#ifdef GLX_NV_swap_group
13354 CONST_CAST(GLXEW_NV_swap_group) = _glewSearchExtension("GLX_NV_swap_group", extStart, extEnd);
13355 if (glewExperimental || GLXEW_NV_swap_group) CONST_CAST(GLXEW_NV_swap_group) = !_glewInit_GLX_NV_swap_group(GLEW_CONTEXT_ARG_VAR_INIT);
13356#endif /* GLX_NV_swap_group */
13357#ifdef GLX_NV_vertex_array_range
13358 CONST_CAST(GLXEW_NV_vertex_array_range) = _glewSearchExtension("GLX_NV_vertex_array_range", extStart, extEnd);
13359 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);
13360#endif /* GLX_NV_vertex_array_range */
13361#ifdef GLX_NV_video_capture
13362 CONST_CAST(GLXEW_NV_video_capture) = _glewSearchExtension("GLX_NV_video_capture", extStart, extEnd);
13363 if (glewExperimental || GLXEW_NV_video_capture) CONST_CAST(GLXEW_NV_video_capture) = !_glewInit_GLX_NV_video_capture(GLEW_CONTEXT_ARG_VAR_INIT);
13364#endif /* GLX_NV_video_capture */
13365#ifdef GLX_NV_video_output
13366 CONST_CAST(GLXEW_NV_video_output) = _glewSearchExtension("GLX_NV_video_output", extStart, extEnd);
13367 if (glewExperimental || GLXEW_NV_video_output) CONST_CAST(GLXEW_NV_video_output) = !_glewInit_GLX_NV_video_output(GLEW_CONTEXT_ARG_VAR_INIT);
13368#endif /* GLX_NV_video_output */
13369#ifdef GLX_OML_swap_method
13370 CONST_CAST(GLXEW_OML_swap_method) = _glewSearchExtension("GLX_OML_swap_method", extStart, extEnd);
13371#endif /* GLX_OML_swap_method */
13372#ifdef GLX_OML_sync_control
13373 CONST_CAST(GLXEW_OML_sync_control) = _glewSearchExtension("GLX_OML_sync_control", extStart, extEnd);
13374 if (glewExperimental || GLXEW_OML_sync_control) CONST_CAST(GLXEW_OML_sync_control) = !_glewInit_GLX_OML_sync_control(GLEW_CONTEXT_ARG_VAR_INIT);
13375#endif /* GLX_OML_sync_control */
13376#ifdef GLX_SGIS_blended_overlay
13377 CONST_CAST(GLXEW_SGIS_blended_overlay) = _glewSearchExtension("GLX_SGIS_blended_overlay", extStart, extEnd);
13378#endif /* GLX_SGIS_blended_overlay */
13379#ifdef GLX_SGIS_color_range
13380 CONST_CAST(GLXEW_SGIS_color_range) = _glewSearchExtension("GLX_SGIS_color_range", extStart, extEnd);
13381#endif /* GLX_SGIS_color_range */
13382#ifdef GLX_SGIS_multisample
13383 CONST_CAST(GLXEW_SGIS_multisample) = _glewSearchExtension("GLX_SGIS_multisample", extStart, extEnd);
13384#endif /* GLX_SGIS_multisample */
13385#ifdef GLX_SGIS_shared_multisample
13386 CONST_CAST(GLXEW_SGIS_shared_multisample) = _glewSearchExtension("GLX_SGIS_shared_multisample", extStart, extEnd);
13387#endif /* GLX_SGIS_shared_multisample */
13388#ifdef GLX_SGIX_fbconfig
13389 CONST_CAST(GLXEW_SGIX_fbconfig) = _glewSearchExtension("GLX_SGIX_fbconfig", extStart, extEnd);
13390 if (glewExperimental || GLXEW_SGIX_fbconfig) CONST_CAST(GLXEW_SGIX_fbconfig) = !_glewInit_GLX_SGIX_fbconfig(GLEW_CONTEXT_ARG_VAR_INIT);
13391#endif /* GLX_SGIX_fbconfig */
13392#ifdef GLX_SGIX_hyperpipe
13393 CONST_CAST(GLXEW_SGIX_hyperpipe) = _glewSearchExtension("GLX_SGIX_hyperpipe", extStart, extEnd);
13394 if (glewExperimental || GLXEW_SGIX_hyperpipe) CONST_CAST(GLXEW_SGIX_hyperpipe) = !_glewInit_GLX_SGIX_hyperpipe(GLEW_CONTEXT_ARG_VAR_INIT);
13395#endif /* GLX_SGIX_hyperpipe */
13396#ifdef GLX_SGIX_pbuffer
13397 CONST_CAST(GLXEW_SGIX_pbuffer) = _glewSearchExtension("GLX_SGIX_pbuffer", extStart, extEnd);
13398 if (glewExperimental || GLXEW_SGIX_pbuffer) CONST_CAST(GLXEW_SGIX_pbuffer) = !_glewInit_GLX_SGIX_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT);
13399#endif /* GLX_SGIX_pbuffer */
13400#ifdef GLX_SGIX_swap_barrier
13401 CONST_CAST(GLXEW_SGIX_swap_barrier) = _glewSearchExtension("GLX_SGIX_swap_barrier", extStart, extEnd);
13402 if (glewExperimental || GLXEW_SGIX_swap_barrier) CONST_CAST(GLXEW_SGIX_swap_barrier) = !_glewInit_GLX_SGIX_swap_barrier(GLEW_CONTEXT_ARG_VAR_INIT);
13403#endif /* GLX_SGIX_swap_barrier */
13404#ifdef GLX_SGIX_swap_group
13405 CONST_CAST(GLXEW_SGIX_swap_group) = _glewSearchExtension("GLX_SGIX_swap_group", extStart, extEnd);
13406 if (glewExperimental || GLXEW_SGIX_swap_group) CONST_CAST(GLXEW_SGIX_swap_group) = !_glewInit_GLX_SGIX_swap_group(GLEW_CONTEXT_ARG_VAR_INIT);
13407#endif /* GLX_SGIX_swap_group */
13408#ifdef GLX_SGIX_video_resize
13409 CONST_CAST(GLXEW_SGIX_video_resize) = _glewSearchExtension("GLX_SGIX_video_resize", extStart, extEnd);
13410 if (glewExperimental || GLXEW_SGIX_video_resize) CONST_CAST(GLXEW_SGIX_video_resize) = !_glewInit_GLX_SGIX_video_resize(GLEW_CONTEXT_ARG_VAR_INIT);
13411#endif /* GLX_SGIX_video_resize */
13412#ifdef GLX_SGIX_visual_select_group
13413 CONST_CAST(GLXEW_SGIX_visual_select_group) = _glewSearchExtension("GLX_SGIX_visual_select_group", extStart, extEnd);
13414#endif /* GLX_SGIX_visual_select_group */
13415#ifdef GLX_SGI_cushion
13416 CONST_CAST(GLXEW_SGI_cushion) = _glewSearchExtension("GLX_SGI_cushion", extStart, extEnd);
13417 if (glewExperimental || GLXEW_SGI_cushion) CONST_CAST(GLXEW_SGI_cushion) = !_glewInit_GLX_SGI_cushion(GLEW_CONTEXT_ARG_VAR_INIT);
13418#endif /* GLX_SGI_cushion */
13419#ifdef GLX_SGI_make_current_read
13420 CONST_CAST(GLXEW_SGI_make_current_read) = _glewSearchExtension("GLX_SGI_make_current_read", extStart, extEnd);
13421 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);
13422#endif /* GLX_SGI_make_current_read */
13423#ifdef GLX_SGI_swap_control
13424 CONST_CAST(GLXEW_SGI_swap_control) = _glewSearchExtension("GLX_SGI_swap_control", extStart, extEnd);
13425 if (glewExperimental || GLXEW_SGI_swap_control) CONST_CAST(GLXEW_SGI_swap_control) = !_glewInit_GLX_SGI_swap_control(GLEW_CONTEXT_ARG_VAR_INIT);
13426#endif /* GLX_SGI_swap_control */
13427#ifdef GLX_SGI_video_sync
13428 CONST_CAST(GLXEW_SGI_video_sync) = _glewSearchExtension("GLX_SGI_video_sync", extStart, extEnd);
13429 if (glewExperimental || GLXEW_SGI_video_sync) CONST_CAST(GLXEW_SGI_video_sync) = !_glewInit_GLX_SGI_video_sync(GLEW_CONTEXT_ARG_VAR_INIT);
13430#endif /* GLX_SGI_video_sync */
13431#ifdef GLX_SUN_get_transparent_index
13432 CONST_CAST(GLXEW_SUN_get_transparent_index) = _glewSearchExtension("GLX_SUN_get_transparent_index", extStart, extEnd);
13433 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);
13434#endif /* GLX_SUN_get_transparent_index */
13435#ifdef GLX_SUN_video_resize
13436 CONST_CAST(GLXEW_SUN_video_resize) = _glewSearchExtension("GLX_SUN_video_resize", extStart, extEnd);
13437 if (glewExperimental || GLXEW_SUN_video_resize) CONST_CAST(GLXEW_SUN_video_resize) = !_glewInit_GLX_SUN_video_resize(GLEW_CONTEXT_ARG_VAR_INIT);
13438#endif /* GLX_SUN_video_resize */
13439
13440 return GLEW_OK;
13441}
13442
13443#endif /* !defined(__ANDROID__) && !defined(__native_client__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) */
13444
13445/* ------------------------------------------------------------------------ */
13446
13447const GLubyte * GLEWAPIENTRY glewGetErrorString (GLenum error)
13448{
13449 static const GLubyte* _glewErrorString[] =
13450 {
13451 (const GLubyte*)"No error",
13452 (const GLubyte*)"Missing GL version",
13453 (const GLubyte*)"GL 1.1 and up are not supported",
13454 (const GLubyte*)"GLX 1.2 and up are not supported",
13455 (const GLubyte*)"Unknown error"
13456 };
13457 const int max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1;
13458 return _glewErrorString[(int)error > max_error ? max_error : (int)error];
13459}
13460
13461const GLubyte * GLEWAPIENTRY glewGetString (GLenum name)
13462{
13463 static const GLubyte* _glewString[] =
13464 {
13465 (const GLubyte*)NULL,
13466 (const GLubyte*)"1.10.0",
13467 (const GLubyte*)"1",
13468 (const GLubyte*)"10",
13469 (const GLubyte*)"0"
13470 };
13471 const int max_string = sizeof(_glewString)/sizeof(*_glewString) - 1;
13472 return _glewString[(int)name > max_string ? 0 : (int)name];
13473}
13474
13475/* ------------------------------------------------------------------------ */
13476
13477GLboolean glewExperimental = GL_TRUE;
13478
13479#if !defined(GLEW_MX)
13480
13481#if defined(_WIN32)
13482extern GLenum GLEWAPIENTRY wglewContextInit (void);
13483#elif !defined(__ANDROID__) && !defined(__native_client__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
13484extern GLenum GLEWAPIENTRY glxewContextInit (void);
13485#endif /* _WIN32 */
13486
13487// BANSHEE SPECIFIC START
13488
13489//GLenum GLEWAPIENTRY glewInit (void)
13490//{
13491// GLenum r;
13492// r = glewContextInit();
13493// if ( r != 0 ) return r;
13494//#if defined(_WIN32)
13495// return wglewContextInit();
13496//#elif !defined(__ANDROID__) && !defined(__native_client__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) /* _UNIX */
13497// return glxewContextInit();
13498//#else
13499// return r;
13500//#endif /* _WIN32 */
13501//}
13502
13503// BANSHEE SPECIFIC END
13504
13505#endif /* !GLEW_MX */
13506#ifdef GLEW_MX
13507GLboolean GLEWAPIENTRY glewContextIsSupported (const GLEWContext* ctx, const char* name)
13508#else
13509GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
13510#endif
13511{
13512 GLubyte* pos = (GLubyte*)name;
13513 GLuint len = _glewStrLen(pos);
13514 GLboolean ret = GL_TRUE;
13515 while (ret && len > 0)
13516 {
13517 if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3))
13518 {
13519 if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
13520 {
13521#ifdef GL_VERSION_1_2
13522 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
13523 {
13524 ret = GLEW_VERSION_1_2;
13525 continue;
13526 }
13527#endif
13528#ifdef GL_VERSION_1_2_1
13529 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2_1", 5))
13530 {
13531 ret = GLEW_VERSION_1_2_1;
13532 continue;
13533 }
13534#endif
13535#ifdef GL_VERSION_1_3
13536 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
13537 {
13538 ret = GLEW_VERSION_1_3;
13539 continue;
13540 }
13541#endif
13542#ifdef GL_VERSION_1_4
13543 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
13544 {
13545 ret = GLEW_VERSION_1_4;
13546 continue;
13547 }
13548#endif
13549#ifdef GL_VERSION_1_5
13550 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_5", 3))
13551 {
13552 ret = GLEW_VERSION_1_5;
13553 continue;
13554 }
13555#endif
13556#ifdef GL_VERSION_2_0
13557 if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_0", 3))
13558 {
13559 ret = GLEW_VERSION_2_0;
13560 continue;
13561 }
13562#endif
13563#ifdef GL_VERSION_2_1
13564 if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_1", 3))
13565 {
13566 ret = GLEW_VERSION_2_1;
13567 continue;
13568 }
13569#endif
13570#ifdef GL_VERSION_3_0
13571 if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_0", 3))
13572 {
13573 ret = GLEW_VERSION_3_0;
13574 continue;
13575 }
13576#endif
13577#ifdef GL_VERSION_3_1
13578 if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_1", 3))
13579 {
13580 ret = GLEW_VERSION_3_1;
13581 continue;
13582 }
13583#endif
13584#ifdef GL_VERSION_3_2
13585 if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_2", 3))
13586 {
13587 ret = GLEW_VERSION_3_2;
13588 continue;
13589 }
13590#endif
13591#ifdef GL_VERSION_3_3
13592 if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_3", 3))
13593 {
13594 ret = GLEW_VERSION_3_3;
13595 continue;
13596 }
13597#endif
13598#ifdef GL_VERSION_4_0
13599 if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_0", 3))
13600 {
13601 ret = GLEW_VERSION_4_0;
13602 continue;
13603 }
13604#endif
13605#ifdef GL_VERSION_4_1
13606 if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_1", 3))
13607 {
13608 ret = GLEW_VERSION_4_1;
13609 continue;
13610 }
13611#endif
13612#ifdef GL_VERSION_4_2
13613 if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_2", 3))
13614 {
13615 ret = GLEW_VERSION_4_2;
13616 continue;
13617 }
13618#endif
13619#ifdef GL_VERSION_4_3
13620 if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_3", 3))
13621 {
13622 ret = GLEW_VERSION_4_3;
13623 continue;
13624 }
13625#endif
13626#ifdef GL_VERSION_4_4
13627 if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_4", 3))
13628 {
13629 ret = GLEW_VERSION_4_4;
13630 continue;
13631 }
13632#endif
13633 }
13634 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
13635 {
13636#ifdef GL_3DFX_multisample
13637 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
13638 {
13639 ret = GLEW_3DFX_multisample;
13640 continue;
13641 }
13642#endif
13643#ifdef GL_3DFX_tbuffer
13644 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tbuffer", 7))
13645 {
13646 ret = GLEW_3DFX_tbuffer;
13647 continue;
13648 }
13649#endif
13650#ifdef GL_3DFX_texture_compression_FXT1
13651 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_FXT1", 24))
13652 {
13653 ret = GLEW_3DFX_texture_compression_FXT1;
13654 continue;
13655 }
13656#endif
13657 }
13658 if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
13659 {
13660#ifdef GL_AMD_blend_minmax_factor
13661 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax_factor", 19))
13662 {
13663 ret = GLEW_AMD_blend_minmax_factor;
13664 continue;
13665 }
13666#endif
13667#ifdef GL_AMD_conservative_depth
13668 if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
13669 {
13670 ret = GLEW_AMD_conservative_depth;
13671 continue;
13672 }
13673#endif
13674#ifdef GL_AMD_debug_output
13675 if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_output", 12))
13676 {
13677 ret = GLEW_AMD_debug_output;
13678 continue;
13679 }
13680#endif
13681#ifdef GL_AMD_depth_clamp_separate
13682 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp_separate", 20))
13683 {
13684 ret = GLEW_AMD_depth_clamp_separate;
13685 continue;
13686 }
13687#endif
13688#ifdef GL_AMD_draw_buffers_blend
13689 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18))
13690 {
13691 ret = GLEW_AMD_draw_buffers_blend;
13692 continue;
13693 }
13694#endif
13695#ifdef GL_AMD_interleaved_elements
13696 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interleaved_elements", 20))
13697 {
13698 ret = GLEW_AMD_interleaved_elements;
13699 continue;
13700 }
13701#endif
13702#ifdef GL_AMD_multi_draw_indirect
13703 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19))
13704 {
13705 ret = GLEW_AMD_multi_draw_indirect;
13706 continue;
13707 }
13708#endif
13709#ifdef GL_AMD_name_gen_delete
13710 if (_glewStrSame3(&pos, &len, (const GLubyte*)"name_gen_delete", 15))
13711 {
13712 ret = GLEW_AMD_name_gen_delete;
13713 continue;
13714 }
13715#endif
13716#ifdef GL_AMD_performance_monitor
13717 if (_glewStrSame3(&pos, &len, (const GLubyte*)"performance_monitor", 19))
13718 {
13719 ret = GLEW_AMD_performance_monitor;
13720 continue;
13721 }
13722#endif
13723#ifdef GL_AMD_pinned_memory
13724 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pinned_memory", 13))
13725 {
13726 ret = GLEW_AMD_pinned_memory;
13727 continue;
13728 }
13729#endif
13730#ifdef GL_AMD_query_buffer_object
13731 if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_buffer_object", 19))
13732 {
13733 ret = GLEW_AMD_query_buffer_object;
13734 continue;
13735 }
13736#endif
13737#ifdef GL_AMD_sample_positions
13738 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_positions", 16))
13739 {
13740 ret = GLEW_AMD_sample_positions;
13741 continue;
13742 }
13743#endif
13744#ifdef GL_AMD_seamless_cubemap_per_texture
13745 if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cubemap_per_texture", 28))
13746 {
13747 ret = GLEW_AMD_seamless_cubemap_per_texture;
13748 continue;
13749 }
13750#endif
13751#ifdef GL_AMD_shader_stencil_export
13752 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_export", 21))
13753 {
13754 ret = GLEW_AMD_shader_stencil_export;
13755 continue;
13756 }
13757#endif
13758#ifdef GL_AMD_shader_trinary_minmax
13759 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_trinary_minmax", 21))
13760 {
13761 ret = GLEW_AMD_shader_trinary_minmax;
13762 continue;
13763 }
13764#endif
13765#ifdef GL_AMD_sparse_texture
13766 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture", 14))
13767 {
13768 ret = GLEW_AMD_sparse_texture;
13769 continue;
13770 }
13771#endif
13772#ifdef GL_AMD_stencil_operation_extended
13773 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_operation_extended", 26))
13774 {
13775 ret = GLEW_AMD_stencil_operation_extended;
13776 continue;
13777 }
13778#endif
13779#ifdef GL_AMD_texture_texture4
13780 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_texture4", 16))
13781 {
13782 ret = GLEW_AMD_texture_texture4;
13783 continue;
13784 }
13785#endif
13786#ifdef GL_AMD_transform_feedback3_lines_triangles
13787 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3_lines_triangles", 35))
13788 {
13789 ret = GLEW_AMD_transform_feedback3_lines_triangles;
13790 continue;
13791 }
13792#endif
13793#ifdef GL_AMD_vertex_shader_layer
13794 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_layer", 19))
13795 {
13796 ret = GLEW_AMD_vertex_shader_layer;
13797 continue;
13798 }
13799#endif
13800#ifdef GL_AMD_vertex_shader_tessellator
13801 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_tessellator", 25))
13802 {
13803 ret = GLEW_AMD_vertex_shader_tessellator;
13804 continue;
13805 }
13806#endif
13807#ifdef GL_AMD_vertex_shader_viewport_index
13808 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_viewport_index", 28))
13809 {
13810 ret = GLEW_AMD_vertex_shader_viewport_index;
13811 continue;
13812 }
13813#endif
13814 }
13815 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ANGLE_", 6))
13816 {
13817#ifdef GL_ANGLE_depth_texture
13818 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
13819 {
13820 ret = GLEW_ANGLE_depth_texture;
13821 continue;
13822 }
13823#endif
13824#ifdef GL_ANGLE_framebuffer_blit
13825 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
13826 {
13827 ret = GLEW_ANGLE_framebuffer_blit;
13828 continue;
13829 }
13830#endif
13831#ifdef GL_ANGLE_framebuffer_multisample
13832 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
13833 {
13834 ret = GLEW_ANGLE_framebuffer_multisample;
13835 continue;
13836 }
13837#endif
13838#ifdef GL_ANGLE_instanced_arrays
13839 if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
13840 {
13841 ret = GLEW_ANGLE_instanced_arrays;
13842 continue;
13843 }
13844#endif
13845#ifdef GL_ANGLE_pack_reverse_row_order
13846 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_reverse_row_order", 22))
13847 {
13848 ret = GLEW_ANGLE_pack_reverse_row_order;
13849 continue;
13850 }
13851#endif
13852#ifdef GL_ANGLE_program_binary
13853 if (_glewStrSame3(&pos, &len, (const GLubyte*)"program_binary", 14))
13854 {
13855 ret = GLEW_ANGLE_program_binary;
13856 continue;
13857 }
13858#endif
13859#ifdef GL_ANGLE_texture_compression_dxt1
13860 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt1", 24))
13861 {
13862 ret = GLEW_ANGLE_texture_compression_dxt1;
13863 continue;
13864 }
13865#endif
13866#ifdef GL_ANGLE_texture_compression_dxt3
13867 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt3", 24))
13868 {
13869 ret = GLEW_ANGLE_texture_compression_dxt3;
13870 continue;
13871 }
13872#endif
13873#ifdef GL_ANGLE_texture_compression_dxt5
13874 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt5", 24))
13875 {
13876 ret = GLEW_ANGLE_texture_compression_dxt5;
13877 continue;
13878 }
13879#endif
13880#ifdef GL_ANGLE_texture_usage
13881 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_usage", 13))
13882 {
13883 ret = GLEW_ANGLE_texture_usage;
13884 continue;
13885 }
13886#endif
13887#ifdef GL_ANGLE_timer_query
13888 if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
13889 {
13890 ret = GLEW_ANGLE_timer_query;
13891 continue;
13892 }
13893#endif
13894#ifdef GL_ANGLE_translated_shader_source
13895 if (_glewStrSame3(&pos, &len, (const GLubyte*)"translated_shader_source", 24))
13896 {
13897 ret = GLEW_ANGLE_translated_shader_source;
13898 continue;
13899 }
13900#endif
13901 }
13902 if (_glewStrSame2(&pos, &len, (const GLubyte*)"APPLE_", 6))
13903 {
13904#ifdef GL_APPLE_aux_depth_stencil
13905 if (_glewStrSame3(&pos, &len, (const GLubyte*)"aux_depth_stencil", 17))
13906 {
13907 ret = GLEW_APPLE_aux_depth_stencil;
13908 continue;
13909 }
13910#endif
13911#ifdef GL_APPLE_client_storage
13912 if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_storage", 14))
13913 {
13914 ret = GLEW_APPLE_client_storage;
13915 continue;
13916 }
13917#endif
13918#ifdef GL_APPLE_element_array
13919 if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
13920 {
13921 ret = GLEW_APPLE_element_array;
13922 continue;
13923 }
13924#endif
13925#ifdef GL_APPLE_fence
13926 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
13927 {
13928 ret = GLEW_APPLE_fence;
13929 continue;
13930 }
13931#endif
13932#ifdef GL_APPLE_float_pixels
13933 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_pixels", 12))
13934 {
13935 ret = GLEW_APPLE_float_pixels;
13936 continue;
13937 }
13938#endif
13939#ifdef GL_APPLE_flush_buffer_range
13940 if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_buffer_range", 18))
13941 {
13942 ret = GLEW_APPLE_flush_buffer_range;
13943 continue;
13944 }
13945#endif
13946#ifdef GL_APPLE_object_purgeable
13947 if (_glewStrSame3(&pos, &len, (const GLubyte*)"object_purgeable", 16))
13948 {
13949 ret = GLEW_APPLE_object_purgeable;
13950 continue;
13951 }
13952#endif
13953#ifdef GL_APPLE_pixel_buffer
13954 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer", 12))
13955 {
13956 ret = GLEW_APPLE_pixel_buffer;
13957 continue;
13958 }
13959#endif
13960#ifdef GL_APPLE_rgb_422
13961 if (_glewStrSame3(&pos, &len, (const GLubyte*)"rgb_422", 7))
13962 {
13963 ret = GLEW_APPLE_rgb_422;
13964 continue;
13965 }
13966#endif
13967#ifdef GL_APPLE_row_bytes
13968 if (_glewStrSame3(&pos, &len, (const GLubyte*)"row_bytes", 9))
13969 {
13970 ret = GLEW_APPLE_row_bytes;
13971 continue;
13972 }
13973#endif
13974#ifdef GL_APPLE_specular_vector
13975 if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_vector", 15))
13976 {
13977 ret = GLEW_APPLE_specular_vector;
13978 continue;
13979 }
13980#endif
13981#ifdef GL_APPLE_texture_range
13982 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
13983 {
13984 ret = GLEW_APPLE_texture_range;
13985 continue;
13986 }
13987#endif
13988#ifdef GL_APPLE_transform_hint
13989 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_hint", 14))
13990 {
13991 ret = GLEW_APPLE_transform_hint;
13992 continue;
13993 }
13994#endif
13995#ifdef GL_APPLE_vertex_array_object
13996 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
13997 {
13998 ret = GLEW_APPLE_vertex_array_object;
13999 continue;
14000 }
14001#endif
14002#ifdef GL_APPLE_vertex_array_range
14003 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
14004 {
14005 ret = GLEW_APPLE_vertex_array_range;
14006 continue;
14007 }
14008#endif
14009#ifdef GL_APPLE_vertex_program_evaluators
14010 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program_evaluators", 25))
14011 {
14012 ret = GLEW_APPLE_vertex_program_evaluators;
14013 continue;
14014 }
14015#endif
14016#ifdef GL_APPLE_ycbcr_422
14017 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_422", 9))
14018 {
14019 ret = GLEW_APPLE_ycbcr_422;
14020 continue;
14021 }
14022#endif
14023 }
14024 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
14025 {
14026#ifdef GL_ARB_ES2_compatibility
14027 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES2_compatibility", 17))
14028 {
14029 ret = GLEW_ARB_ES2_compatibility;
14030 continue;
14031 }
14032#endif
14033#ifdef GL_ARB_ES3_compatibility
14034 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES3_compatibility", 17))
14035 {
14036 ret = GLEW_ARB_ES3_compatibility;
14037 continue;
14038 }
14039#endif
14040#ifdef GL_ARB_arrays_of_arrays
14041 if (_glewStrSame3(&pos, &len, (const GLubyte*)"arrays_of_arrays", 16))
14042 {
14043 ret = GLEW_ARB_arrays_of_arrays;
14044 continue;
14045 }
14046#endif
14047#ifdef GL_ARB_base_instance
14048 if (_glewStrSame3(&pos, &len, (const GLubyte*)"base_instance", 13))
14049 {
14050 ret = GLEW_ARB_base_instance;
14051 continue;
14052 }
14053#endif
14054#ifdef GL_ARB_bindless_texture
14055 if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_texture", 16))
14056 {
14057 ret = GLEW_ARB_bindless_texture;
14058 continue;
14059 }
14060#endif
14061#ifdef GL_ARB_blend_func_extended
14062 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_extended", 19))
14063 {
14064 ret = GLEW_ARB_blend_func_extended;
14065 continue;
14066 }
14067#endif
14068#ifdef GL_ARB_buffer_storage
14069 if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_storage", 14))
14070 {
14071 ret = GLEW_ARB_buffer_storage;
14072 continue;
14073 }
14074#endif
14075#ifdef GL_ARB_cl_event
14076 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cl_event", 8))
14077 {
14078 ret = GLEW_ARB_cl_event;
14079 continue;
14080 }
14081#endif
14082#ifdef GL_ARB_clear_buffer_object
14083 if (_glewStrSame3(&pos, &len, (const GLubyte*)"clear_buffer_object", 19))
14084 {
14085 ret = GLEW_ARB_clear_buffer_object;
14086 continue;
14087 }
14088#endif
14089#ifdef GL_ARB_clear_texture
14090 if (_glewStrSame3(&pos, &len, (const GLubyte*)"clear_texture", 13))
14091 {
14092 ret = GLEW_ARB_clear_texture;
14093 continue;
14094 }
14095#endif
14096#ifdef GL_ARB_color_buffer_float
14097 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_float", 18))
14098 {
14099 ret = GLEW_ARB_color_buffer_float;
14100 continue;
14101 }
14102#endif
14103#ifdef GL_ARB_compatibility
14104 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compatibility", 13))
14105 {
14106 ret = GLEW_ARB_compatibility;
14107 continue;
14108 }
14109#endif
14110#ifdef GL_ARB_compressed_texture_pixel_storage
14111 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_texture_pixel_storage", 32))
14112 {
14113 ret = GLEW_ARB_compressed_texture_pixel_storage;
14114 continue;
14115 }
14116#endif
14117#ifdef GL_ARB_compute_shader
14118 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_shader", 14))
14119 {
14120 ret = GLEW_ARB_compute_shader;
14121 continue;
14122 }
14123#endif
14124#ifdef GL_ARB_compute_variable_group_size
14125 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_variable_group_size", 27))
14126 {
14127 ret = GLEW_ARB_compute_variable_group_size;
14128 continue;
14129 }
14130#endif
14131#ifdef GL_ARB_conservative_depth
14132 if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
14133 {
14134 ret = GLEW_ARB_conservative_depth;
14135 continue;
14136 }
14137#endif
14138#ifdef GL_ARB_copy_buffer
14139 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_buffer", 11))
14140 {
14141 ret = GLEW_ARB_copy_buffer;
14142 continue;
14143 }
14144#endif
14145#ifdef GL_ARB_copy_image
14146 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
14147 {
14148 ret = GLEW_ARB_copy_image;
14149 continue;
14150 }
14151#endif
14152#ifdef GL_ARB_debug_output
14153 if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_output", 12))
14154 {
14155 ret = GLEW_ARB_debug_output;
14156 continue;
14157 }
14158#endif
14159#ifdef GL_ARB_depth_buffer_float
14160 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18))
14161 {
14162 ret = GLEW_ARB_depth_buffer_float;
14163 continue;
14164 }
14165#endif
14166#ifdef GL_ARB_depth_clamp
14167 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11))
14168 {
14169 ret = GLEW_ARB_depth_clamp;
14170 continue;
14171 }
14172#endif
14173#ifdef GL_ARB_depth_texture
14174 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
14175 {
14176 ret = GLEW_ARB_depth_texture;
14177 continue;
14178 }
14179#endif
14180#ifdef GL_ARB_draw_buffers
14181 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
14182 {
14183 ret = GLEW_ARB_draw_buffers;
14184 continue;
14185 }
14186#endif
14187#ifdef GL_ARB_draw_buffers_blend
14188 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18))
14189 {
14190 ret = GLEW_ARB_draw_buffers_blend;
14191 continue;
14192 }
14193#endif
14194#ifdef GL_ARB_draw_elements_base_vertex
14195 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_elements_base_vertex", 25))
14196 {
14197 ret = GLEW_ARB_draw_elements_base_vertex;
14198 continue;
14199 }
14200#endif
14201#ifdef GL_ARB_draw_indirect
14202 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_indirect", 13))
14203 {
14204 ret = GLEW_ARB_draw_indirect;
14205 continue;
14206 }
14207#endif
14208#ifdef GL_ARB_draw_instanced
14209 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
14210 {
14211 ret = GLEW_ARB_draw_instanced;
14212 continue;
14213 }
14214#endif
14215#ifdef GL_ARB_enhanced_layouts
14216 if (_glewStrSame3(&pos, &len, (const GLubyte*)"enhanced_layouts", 16))
14217 {
14218 ret = GLEW_ARB_enhanced_layouts;
14219 continue;
14220 }
14221#endif
14222#ifdef GL_ARB_explicit_attrib_location
14223 if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_attrib_location", 24))
14224 {
14225 ret = GLEW_ARB_explicit_attrib_location;
14226 continue;
14227 }
14228#endif
14229#ifdef GL_ARB_explicit_uniform_location
14230 if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_uniform_location", 25))
14231 {
14232 ret = GLEW_ARB_explicit_uniform_location;
14233 continue;
14234 }
14235#endif
14236#ifdef GL_ARB_fragment_coord_conventions
14237 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_coord_conventions", 26))
14238 {
14239 ret = GLEW_ARB_fragment_coord_conventions;
14240 continue;
14241 }
14242#endif
14243#ifdef GL_ARB_fragment_layer_viewport
14244 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_layer_viewport", 23))
14245 {
14246 ret = GLEW_ARB_fragment_layer_viewport;
14247 continue;
14248 }
14249#endif
14250#ifdef GL_ARB_fragment_program
14251 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
14252 {
14253 ret = GLEW_ARB_fragment_program;
14254 continue;
14255 }
14256#endif
14257#ifdef GL_ARB_fragment_program_shadow
14258 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_shadow", 23))
14259 {
14260 ret = GLEW_ARB_fragment_program_shadow;
14261 continue;
14262 }
14263#endif
14264#ifdef GL_ARB_fragment_shader
14265 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
14266 {
14267 ret = GLEW_ARB_fragment_shader;
14268 continue;
14269 }
14270#endif
14271#ifdef GL_ARB_framebuffer_no_attachments
14272 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_no_attachments", 26))
14273 {
14274 ret = GLEW_ARB_framebuffer_no_attachments;
14275 continue;
14276 }
14277#endif
14278#ifdef GL_ARB_framebuffer_object
14279 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18))
14280 {
14281 ret = GLEW_ARB_framebuffer_object;
14282 continue;
14283 }
14284#endif
14285#ifdef GL_ARB_framebuffer_sRGB
14286 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
14287 {
14288 ret = GLEW_ARB_framebuffer_sRGB;
14289 continue;
14290 }
14291#endif
14292#ifdef GL_ARB_geometry_shader4
14293 if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
14294 {
14295 ret = GLEW_ARB_geometry_shader4;
14296 continue;
14297 }
14298#endif
14299#ifdef GL_ARB_get_program_binary
14300 if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_program_binary", 18))
14301 {
14302 ret = GLEW_ARB_get_program_binary;
14303 continue;
14304 }
14305#endif
14306#ifdef GL_ARB_gpu_shader5
14307 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
14308 {
14309 ret = GLEW_ARB_gpu_shader5;
14310 continue;
14311 }
14312#endif
14313#ifdef GL_ARB_gpu_shader_fp64
14314 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_fp64", 15))
14315 {
14316 ret = GLEW_ARB_gpu_shader_fp64;
14317 continue;
14318 }
14319#endif
14320#ifdef GL_ARB_half_float_pixel
14321 if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_pixel", 16))
14322 {
14323 ret = GLEW_ARB_half_float_pixel;
14324 continue;
14325 }
14326#endif
14327#ifdef GL_ARB_half_float_vertex
14328 if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_vertex", 17))
14329 {
14330 ret = GLEW_ARB_half_float_vertex;
14331 continue;
14332 }
14333#endif
14334#ifdef GL_ARB_imaging
14335 if (_glewStrSame3(&pos, &len, (const GLubyte*)"imaging", 7))
14336 {
14337 ret = GLEW_ARB_imaging;
14338 continue;
14339 }
14340#endif
14341#ifdef GL_ARB_indirect_parameters
14342 if (_glewStrSame3(&pos, &len, (const GLubyte*)"indirect_parameters", 19))
14343 {
14344 ret = GLEW_ARB_indirect_parameters;
14345 continue;
14346 }
14347#endif
14348#ifdef GL_ARB_instanced_arrays
14349 if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
14350 {
14351 ret = GLEW_ARB_instanced_arrays;
14352 continue;
14353 }
14354#endif
14355#ifdef GL_ARB_internalformat_query
14356 if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_query", 20))
14357 {
14358 ret = GLEW_ARB_internalformat_query;
14359 continue;
14360 }
14361#endif
14362#ifdef GL_ARB_internalformat_query2
14363 if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_query2", 21))
14364 {
14365 ret = GLEW_ARB_internalformat_query2;
14366 continue;
14367 }
14368#endif
14369#ifdef GL_ARB_invalidate_subdata
14370 if (_glewStrSame3(&pos, &len, (const GLubyte*)"invalidate_subdata", 18))
14371 {
14372 ret = GLEW_ARB_invalidate_subdata;
14373 continue;
14374 }
14375#endif
14376#ifdef GL_ARB_map_buffer_alignment
14377 if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_alignment", 20))
14378 {
14379 ret = GLEW_ARB_map_buffer_alignment;
14380 continue;
14381 }
14382#endif
14383#ifdef GL_ARB_map_buffer_range
14384 if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_range", 16))
14385 {
14386 ret = GLEW_ARB_map_buffer_range;
14387 continue;
14388 }
14389#endif
14390#ifdef GL_ARB_matrix_palette
14391 if (_glewStrSame3(&pos, &len, (const GLubyte*)"matrix_palette", 14))
14392 {
14393 ret = GLEW_ARB_matrix_palette;
14394 continue;
14395 }
14396#endif
14397#ifdef GL_ARB_multi_bind
14398 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_bind", 10))
14399 {
14400 ret = GLEW_ARB_multi_bind;
14401 continue;
14402 }
14403#endif
14404#ifdef GL_ARB_multi_draw_indirect
14405 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19))
14406 {
14407 ret = GLEW_ARB_multi_draw_indirect;
14408 continue;
14409 }
14410#endif
14411#ifdef GL_ARB_multisample
14412 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
14413 {
14414 ret = GLEW_ARB_multisample;
14415 continue;
14416 }
14417#endif
14418#ifdef GL_ARB_multitexture
14419 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multitexture", 12))
14420 {
14421 ret = GLEW_ARB_multitexture;
14422 continue;
14423 }
14424#endif
14425#ifdef GL_ARB_occlusion_query
14426 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
14427 {
14428 ret = GLEW_ARB_occlusion_query;
14429 continue;
14430 }
14431#endif
14432#ifdef GL_ARB_occlusion_query2
14433 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query2", 16))
14434 {
14435 ret = GLEW_ARB_occlusion_query2;
14436 continue;
14437 }
14438#endif
14439#ifdef GL_ARB_pixel_buffer_object
14440 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
14441 {
14442 ret = GLEW_ARB_pixel_buffer_object;
14443 continue;
14444 }
14445#endif
14446#ifdef GL_ARB_point_parameters
14447 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
14448 {
14449 ret = GLEW_ARB_point_parameters;
14450 continue;
14451 }
14452#endif
14453#ifdef GL_ARB_point_sprite
14454 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
14455 {
14456 ret = GLEW_ARB_point_sprite;
14457 continue;
14458 }
14459#endif
14460#ifdef GL_ARB_program_interface_query
14461 if (_glewStrSame3(&pos, &len, (const GLubyte*)"program_interface_query", 23))
14462 {
14463 ret = GLEW_ARB_program_interface_query;
14464 continue;
14465 }
14466#endif
14467#ifdef GL_ARB_provoking_vertex
14468 if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16))
14469 {
14470 ret = GLEW_ARB_provoking_vertex;
14471 continue;
14472 }
14473#endif
14474#ifdef GL_ARB_query_buffer_object
14475 if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_buffer_object", 19))
14476 {
14477 ret = GLEW_ARB_query_buffer_object;
14478 continue;
14479 }
14480#endif
14481#ifdef GL_ARB_robust_buffer_access_behavior
14482 if (_glewStrSame3(&pos, &len, (const GLubyte*)"robust_buffer_access_behavior", 29))
14483 {
14484 ret = GLEW_ARB_robust_buffer_access_behavior;
14485 continue;
14486 }
14487#endif
14488#ifdef GL_ARB_robustness
14489 if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness", 10))
14490 {
14491 ret = GLEW_ARB_robustness;
14492 continue;
14493 }
14494#endif
14495#ifdef GL_ARB_robustness_application_isolation
14496 if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32))
14497 {
14498 ret = GLEW_ARB_robustness_application_isolation;
14499 continue;
14500 }
14501#endif
14502#ifdef GL_ARB_robustness_share_group_isolation
14503 if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32))
14504 {
14505 ret = GLEW_ARB_robustness_share_group_isolation;
14506 continue;
14507 }
14508#endif
14509#ifdef GL_ARB_sample_shading
14510 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_shading", 14))
14511 {
14512 ret = GLEW_ARB_sample_shading;
14513 continue;
14514 }
14515#endif
14516#ifdef GL_ARB_sampler_objects
14517 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sampler_objects", 15))
14518 {
14519 ret = GLEW_ARB_sampler_objects;
14520 continue;
14521 }
14522#endif
14523#ifdef GL_ARB_seamless_cube_map
14524 if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cube_map", 17))
14525 {
14526 ret = GLEW_ARB_seamless_cube_map;
14527 continue;
14528 }
14529#endif
14530#ifdef GL_ARB_seamless_cubemap_per_texture
14531 if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cubemap_per_texture", 28))
14532 {
14533 ret = GLEW_ARB_seamless_cubemap_per_texture;
14534 continue;
14535 }
14536#endif
14537#ifdef GL_ARB_separate_shader_objects
14538 if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_shader_objects", 23))
14539 {
14540 ret = GLEW_ARB_separate_shader_objects;
14541 continue;
14542 }
14543#endif
14544#ifdef GL_ARB_shader_atomic_counters
14545 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counters", 22))
14546 {
14547 ret = GLEW_ARB_shader_atomic_counters;
14548 continue;
14549 }
14550#endif
14551#ifdef GL_ARB_shader_bit_encoding
14552 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_bit_encoding", 19))
14553 {
14554 ret = GLEW_ARB_shader_bit_encoding;
14555 continue;
14556 }
14557#endif
14558#ifdef GL_ARB_shader_draw_parameters
14559 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_draw_parameters", 22))
14560 {
14561 ret = GLEW_ARB_shader_draw_parameters;
14562 continue;
14563 }
14564#endif
14565#ifdef GL_ARB_shader_group_vote
14566 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_group_vote", 17))
14567 {
14568 ret = GLEW_ARB_shader_group_vote;
14569 continue;
14570 }
14571#endif
14572#ifdef GL_ARB_shader_image_load_store
14573 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_store", 23))
14574 {
14575 ret = GLEW_ARB_shader_image_load_store;
14576 continue;
14577 }
14578#endif
14579#ifdef GL_ARB_shader_image_size
14580 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_size", 17))
14581 {
14582 ret = GLEW_ARB_shader_image_size;
14583 continue;
14584 }
14585#endif
14586#ifdef GL_ARB_shader_objects
14587 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_objects", 14))
14588 {
14589 ret = GLEW_ARB_shader_objects;
14590 continue;
14591 }
14592#endif
14593#ifdef GL_ARB_shader_precision
14594 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_precision", 16))
14595 {
14596 ret = GLEW_ARB_shader_precision;
14597 continue;
14598 }
14599#endif
14600#ifdef GL_ARB_shader_stencil_export
14601 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_export", 21))
14602 {
14603 ret = GLEW_ARB_shader_stencil_export;
14604 continue;
14605 }
14606#endif
14607#ifdef GL_ARB_shader_storage_buffer_object
14608 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_storage_buffer_object", 28))
14609 {
14610 ret = GLEW_ARB_shader_storage_buffer_object;
14611 continue;
14612 }
14613#endif
14614#ifdef GL_ARB_shader_subroutine
14615 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_subroutine", 17))
14616 {
14617 ret = GLEW_ARB_shader_subroutine;
14618 continue;
14619 }
14620#endif
14621#ifdef GL_ARB_shader_texture_lod
14622 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
14623 {
14624 ret = GLEW_ARB_shader_texture_lod;
14625 continue;
14626 }
14627#endif
14628#ifdef GL_ARB_shading_language_100
14629 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_100", 20))
14630 {
14631 ret = GLEW_ARB_shading_language_100;
14632 continue;
14633 }
14634#endif
14635#ifdef GL_ARB_shading_language_420pack
14636 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_420pack", 24))
14637 {
14638 ret = GLEW_ARB_shading_language_420pack;
14639 continue;
14640 }
14641#endif
14642#ifdef GL_ARB_shading_language_include
14643 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_include", 24))
14644 {
14645 ret = GLEW_ARB_shading_language_include;
14646 continue;
14647 }
14648#endif
14649#ifdef GL_ARB_shading_language_packing
14650 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_packing", 24))
14651 {
14652 ret = GLEW_ARB_shading_language_packing;
14653 continue;
14654 }
14655#endif
14656#ifdef GL_ARB_shadow
14657 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
14658 {
14659 ret = GLEW_ARB_shadow;
14660 continue;
14661 }
14662#endif
14663#ifdef GL_ARB_shadow_ambient
14664 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
14665 {
14666 ret = GLEW_ARB_shadow_ambient;
14667 continue;
14668 }
14669#endif
14670#ifdef GL_ARB_sparse_texture
14671 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture", 14))
14672 {
14673 ret = GLEW_ARB_sparse_texture;
14674 continue;
14675 }
14676#endif
14677#ifdef GL_ARB_stencil_texturing
14678 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_texturing", 17))
14679 {
14680 ret = GLEW_ARB_stencil_texturing;
14681 continue;
14682 }
14683#endif
14684#ifdef GL_ARB_sync
14685 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync", 4))
14686 {
14687 ret = GLEW_ARB_sync;
14688 continue;
14689 }
14690#endif
14691#ifdef GL_ARB_tessellation_shader
14692 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_shader", 19))
14693 {
14694 ret = GLEW_ARB_tessellation_shader;
14695 continue;
14696 }
14697#endif
14698#ifdef GL_ARB_texture_border_clamp
14699 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
14700 {
14701 ret = GLEW_ARB_texture_border_clamp;
14702 continue;
14703 }
14704#endif
14705#ifdef GL_ARB_texture_buffer_object
14706 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21))
14707 {
14708 ret = GLEW_ARB_texture_buffer_object;
14709 continue;
14710 }
14711#endif
14712#ifdef GL_ARB_texture_buffer_object_rgb32
14713 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object_rgb32", 27))
14714 {
14715 ret = GLEW_ARB_texture_buffer_object_rgb32;
14716 continue;
14717 }
14718#endif
14719#ifdef GL_ARB_texture_buffer_range
14720 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_range", 20))
14721 {
14722 ret = GLEW_ARB_texture_buffer_range;
14723 continue;
14724 }
14725#endif
14726#ifdef GL_ARB_texture_compression
14727 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression", 19))
14728 {
14729 ret = GLEW_ARB_texture_compression;
14730 continue;
14731 }
14732#endif
14733#ifdef GL_ARB_texture_compression_bptc
14734 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_bptc", 24))
14735 {
14736 ret = GLEW_ARB_texture_compression_bptc;
14737 continue;
14738 }
14739#endif
14740#ifdef GL_ARB_texture_compression_rgtc
14741 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24))
14742 {
14743 ret = GLEW_ARB_texture_compression_rgtc;
14744 continue;
14745 }
14746#endif
14747#ifdef GL_ARB_texture_cube_map
14748 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
14749 {
14750 ret = GLEW_ARB_texture_cube_map;
14751 continue;
14752 }
14753#endif
14754#ifdef GL_ARB_texture_cube_map_array
14755 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map_array", 22))
14756 {
14757 ret = GLEW_ARB_texture_cube_map_array;
14758 continue;
14759 }
14760#endif
14761#ifdef GL_ARB_texture_env_add
14762 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
14763 {
14764 ret = GLEW_ARB_texture_env_add;
14765 continue;
14766 }
14767#endif
14768#ifdef GL_ARB_texture_env_combine
14769 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
14770 {
14771 ret = GLEW_ARB_texture_env_combine;
14772 continue;
14773 }
14774#endif
14775#ifdef GL_ARB_texture_env_crossbar
14776 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_crossbar", 20))
14777 {
14778 ret = GLEW_ARB_texture_env_crossbar;
14779 continue;
14780 }
14781#endif
14782#ifdef GL_ARB_texture_env_dot3
14783 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
14784 {
14785 ret = GLEW_ARB_texture_env_dot3;
14786 continue;
14787 }
14788#endif
14789#ifdef GL_ARB_texture_float
14790 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
14791 {
14792 ret = GLEW_ARB_texture_float;
14793 continue;
14794 }
14795#endif
14796#ifdef GL_ARB_texture_gather
14797 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_gather", 14))
14798 {
14799 ret = GLEW_ARB_texture_gather;
14800 continue;
14801 }
14802#endif
14803#ifdef GL_ARB_texture_mirror_clamp_to_edge
14804 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_clamp_to_edge", 28))
14805 {
14806 ret = GLEW_ARB_texture_mirror_clamp_to_edge;
14807 continue;
14808 }
14809#endif
14810#ifdef GL_ARB_texture_mirrored_repeat
14811 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
14812 {
14813 ret = GLEW_ARB_texture_mirrored_repeat;
14814 continue;
14815 }
14816#endif
14817#ifdef GL_ARB_texture_multisample
14818 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multisample", 19))
14819 {
14820 ret = GLEW_ARB_texture_multisample;
14821 continue;
14822 }
14823#endif
14824#ifdef GL_ARB_texture_non_power_of_two
14825 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_non_power_of_two", 24))
14826 {
14827 ret = GLEW_ARB_texture_non_power_of_two;
14828 continue;
14829 }
14830#endif
14831#ifdef GL_ARB_texture_query_levels
14832 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_query_levels", 20))
14833 {
14834 ret = GLEW_ARB_texture_query_levels;
14835 continue;
14836 }
14837#endif
14838#ifdef GL_ARB_texture_query_lod
14839 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_query_lod", 17))
14840 {
14841 ret = GLEW_ARB_texture_query_lod;
14842 continue;
14843 }
14844#endif
14845#ifdef GL_ARB_texture_rectangle
14846 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
14847 {
14848 ret = GLEW_ARB_texture_rectangle;
14849 continue;
14850 }
14851#endif
14852#ifdef GL_ARB_texture_rg
14853 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rg", 10))
14854 {
14855 ret = GLEW_ARB_texture_rg;
14856 continue;
14857 }
14858#endif
14859#ifdef GL_ARB_texture_rgb10_a2ui
14860 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rgb10_a2ui", 18))
14861 {
14862 ret = GLEW_ARB_texture_rgb10_a2ui;
14863 continue;
14864 }
14865#endif
14866#ifdef GL_ARB_texture_stencil8
14867 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_stencil8", 16))
14868 {
14869 ret = GLEW_ARB_texture_stencil8;
14870 continue;
14871 }
14872#endif
14873#ifdef GL_ARB_texture_storage
14874 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage", 15))
14875 {
14876 ret = GLEW_ARB_texture_storage;
14877 continue;
14878 }
14879#endif
14880#ifdef GL_ARB_texture_storage_multisample
14881 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage_multisample", 27))
14882 {
14883 ret = GLEW_ARB_texture_storage_multisample;
14884 continue;
14885 }
14886#endif
14887#ifdef GL_ARB_texture_swizzle
14888 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15))
14889 {
14890 ret = GLEW_ARB_texture_swizzle;
14891 continue;
14892 }
14893#endif
14894#ifdef GL_ARB_texture_view
14895 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_view", 12))
14896 {
14897 ret = GLEW_ARB_texture_view;
14898 continue;
14899 }
14900#endif
14901#ifdef GL_ARB_timer_query
14902 if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
14903 {
14904 ret = GLEW_ARB_timer_query;
14905 continue;
14906 }
14907#endif
14908#ifdef GL_ARB_transform_feedback2
14909 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19))
14910 {
14911 ret = GLEW_ARB_transform_feedback2;
14912 continue;
14913 }
14914#endif
14915#ifdef GL_ARB_transform_feedback3
14916 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3", 19))
14917 {
14918 ret = GLEW_ARB_transform_feedback3;
14919 continue;
14920 }
14921#endif
14922#ifdef GL_ARB_transform_feedback_instanced
14923 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback_instanced", 28))
14924 {
14925 ret = GLEW_ARB_transform_feedback_instanced;
14926 continue;
14927 }
14928#endif
14929#ifdef GL_ARB_transpose_matrix
14930 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transpose_matrix", 16))
14931 {
14932 ret = GLEW_ARB_transpose_matrix;
14933 continue;
14934 }
14935#endif
14936#ifdef GL_ARB_uniform_buffer_object
14937 if (_glewStrSame3(&pos, &len, (const GLubyte*)"uniform_buffer_object", 21))
14938 {
14939 ret = GLEW_ARB_uniform_buffer_object;
14940 continue;
14941 }
14942#endif
14943#ifdef GL_ARB_vertex_array_bgra
14944 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17))
14945 {
14946 ret = GLEW_ARB_vertex_array_bgra;
14947 continue;
14948 }
14949#endif
14950#ifdef GL_ARB_vertex_array_object
14951 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
14952 {
14953 ret = GLEW_ARB_vertex_array_object;
14954 continue;
14955 }
14956#endif
14957#ifdef GL_ARB_vertex_attrib_64bit
14958 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_64bit", 19))
14959 {
14960 ret = GLEW_ARB_vertex_attrib_64bit;
14961 continue;
14962 }
14963#endif
14964#ifdef GL_ARB_vertex_attrib_binding
14965 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_binding", 21))
14966 {
14967 ret = GLEW_ARB_vertex_attrib_binding;
14968 continue;
14969 }
14970#endif
14971#ifdef GL_ARB_vertex_blend
14972 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_blend", 12))
14973 {
14974 ret = GLEW_ARB_vertex_blend;
14975 continue;
14976 }
14977#endif
14978#ifdef GL_ARB_vertex_buffer_object
14979 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20))
14980 {
14981 ret = GLEW_ARB_vertex_buffer_object;
14982 continue;
14983 }
14984#endif
14985#ifdef GL_ARB_vertex_program
14986 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
14987 {
14988 ret = GLEW_ARB_vertex_program;
14989 continue;
14990 }
14991#endif
14992#ifdef GL_ARB_vertex_shader
14993 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
14994 {
14995 ret = GLEW_ARB_vertex_shader;
14996 continue;
14997 }
14998#endif
14999#ifdef GL_ARB_vertex_type_10f_11f_11f_rev
15000 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_type_10f_11f_11f_rev", 27))
15001 {
15002 ret = GLEW_ARB_vertex_type_10f_11f_11f_rev;
15003 continue;
15004 }
15005#endif
15006#ifdef GL_ARB_vertex_type_2_10_10_10_rev
15007 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_type_2_10_10_10_rev", 26))
15008 {
15009 ret = GLEW_ARB_vertex_type_2_10_10_10_rev;
15010 continue;
15011 }
15012#endif
15013#ifdef GL_ARB_viewport_array
15014 if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_array", 14))
15015 {
15016 ret = GLEW_ARB_viewport_array;
15017 continue;
15018 }
15019#endif
15020#ifdef GL_ARB_window_pos
15021 if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
15022 {
15023 ret = GLEW_ARB_window_pos;
15024 continue;
15025 }
15026#endif
15027 }
15028 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATIX_", 5))
15029 {
15030#ifdef GL_ATIX_point_sprites
15031 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprites", 13))
15032 {
15033 ret = GLEW_ATIX_point_sprites;
15034 continue;
15035 }
15036#endif
15037#ifdef GL_ATIX_texture_env_combine3
15038 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
15039 {
15040 ret = GLEW_ATIX_texture_env_combine3;
15041 continue;
15042 }
15043#endif
15044#ifdef GL_ATIX_texture_env_route
15045 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_route", 17))
15046 {
15047 ret = GLEW_ATIX_texture_env_route;
15048 continue;
15049 }
15050#endif
15051#ifdef GL_ATIX_vertex_shader_output_point_size
15052 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_output_point_size", 31))
15053 {
15054 ret = GLEW_ATIX_vertex_shader_output_point_size;
15055 continue;
15056 }
15057#endif
15058 }
15059 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
15060 {
15061#ifdef GL_ATI_draw_buffers
15062 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
15063 {
15064 ret = GLEW_ATI_draw_buffers;
15065 continue;
15066 }
15067#endif
15068#ifdef GL_ATI_element_array
15069 if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
15070 {
15071 ret = GLEW_ATI_element_array;
15072 continue;
15073 }
15074#endif
15075#ifdef GL_ATI_envmap_bumpmap
15076 if (_glewStrSame3(&pos, &len, (const GLubyte*)"envmap_bumpmap", 14))
15077 {
15078 ret = GLEW_ATI_envmap_bumpmap;
15079 continue;
15080 }
15081#endif
15082#ifdef GL_ATI_fragment_shader
15083 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
15084 {
15085 ret = GLEW_ATI_fragment_shader;
15086 continue;
15087 }
15088#endif
15089#ifdef GL_ATI_map_object_buffer
15090 if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_object_buffer", 17))
15091 {
15092 ret = GLEW_ATI_map_object_buffer;
15093 continue;
15094 }
15095#endif
15096#ifdef GL_ATI_meminfo
15097 if (_glewStrSame3(&pos, &len, (const GLubyte*)"meminfo", 7))
15098 {
15099 ret = GLEW_ATI_meminfo;
15100 continue;
15101 }
15102#endif
15103#ifdef GL_ATI_pn_triangles
15104 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pn_triangles", 12))
15105 {
15106 ret = GLEW_ATI_pn_triangles;
15107 continue;
15108 }
15109#endif
15110#ifdef GL_ATI_separate_stencil
15111 if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_stencil", 16))
15112 {
15113 ret = GLEW_ATI_separate_stencil;
15114 continue;
15115 }
15116#endif
15117#ifdef GL_ATI_shader_texture_lod
15118 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
15119 {
15120 ret = GLEW_ATI_shader_texture_lod;
15121 continue;
15122 }
15123#endif
15124#ifdef GL_ATI_text_fragment_shader
15125 if (_glewStrSame3(&pos, &len, (const GLubyte*)"text_fragment_shader", 20))
15126 {
15127 ret = GLEW_ATI_text_fragment_shader;
15128 continue;
15129 }
15130#endif
15131#ifdef GL_ATI_texture_compression_3dc
15132 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_3dc", 23))
15133 {
15134 ret = GLEW_ATI_texture_compression_3dc;
15135 continue;
15136 }
15137#endif
15138#ifdef GL_ATI_texture_env_combine3
15139 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
15140 {
15141 ret = GLEW_ATI_texture_env_combine3;
15142 continue;
15143 }
15144#endif
15145#ifdef GL_ATI_texture_float
15146 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
15147 {
15148 ret = GLEW_ATI_texture_float;
15149 continue;
15150 }
15151#endif
15152#ifdef GL_ATI_texture_mirror_once
15153 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_once", 19))
15154 {
15155 ret = GLEW_ATI_texture_mirror_once;
15156 continue;
15157 }
15158#endif
15159#ifdef GL_ATI_vertex_array_object
15160 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
15161 {
15162 ret = GLEW_ATI_vertex_array_object;
15163 continue;
15164 }
15165#endif
15166#ifdef GL_ATI_vertex_attrib_array_object
15167 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_array_object", 26))
15168 {
15169 ret = GLEW_ATI_vertex_attrib_array_object;
15170 continue;
15171 }
15172#endif
15173#ifdef GL_ATI_vertex_streams
15174 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_streams", 14))
15175 {
15176 ret = GLEW_ATI_vertex_streams;
15177 continue;
15178 }
15179#endif
15180 }
15181 if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
15182 {
15183#ifdef GL_EXT_422_pixels
15184 if (_glewStrSame3(&pos, &len, (const GLubyte*)"422_pixels", 10))
15185 {
15186 ret = GLEW_EXT_422_pixels;
15187 continue;
15188 }
15189#endif
15190#ifdef GL_EXT_Cg_shader
15191 if (_glewStrSame3(&pos, &len, (const GLubyte*)"Cg_shader", 9))
15192 {
15193 ret = GLEW_EXT_Cg_shader;
15194 continue;
15195 }
15196#endif
15197#ifdef GL_EXT_abgr
15198 if (_glewStrSame3(&pos, &len, (const GLubyte*)"abgr", 4))
15199 {
15200 ret = GLEW_EXT_abgr;
15201 continue;
15202 }
15203#endif
15204#ifdef GL_EXT_bgra
15205 if (_glewStrSame3(&pos, &len, (const GLubyte*)"bgra", 4))
15206 {
15207 ret = GLEW_EXT_bgra;
15208 continue;
15209 }
15210#endif
15211#ifdef GL_EXT_bindable_uniform
15212 if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindable_uniform", 16))
15213 {
15214 ret = GLEW_EXT_bindable_uniform;
15215 continue;
15216 }
15217#endif
15218#ifdef GL_EXT_blend_color
15219 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_color", 11))
15220 {
15221 ret = GLEW_EXT_blend_color;
15222 continue;
15223 }
15224#endif
15225#ifdef GL_EXT_blend_equation_separate
15226 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_separate", 23))
15227 {
15228 ret = GLEW_EXT_blend_equation_separate;
15229 continue;
15230 }
15231#endif
15232#ifdef GL_EXT_blend_func_separate
15233 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_separate", 19))
15234 {
15235 ret = GLEW_EXT_blend_func_separate;
15236 continue;
15237 }
15238#endif
15239#ifdef GL_EXT_blend_logic_op
15240 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_logic_op", 14))
15241 {
15242 ret = GLEW_EXT_blend_logic_op;
15243 continue;
15244 }
15245#endif
15246#ifdef GL_EXT_blend_minmax
15247 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax", 12))
15248 {
15249 ret = GLEW_EXT_blend_minmax;
15250 continue;
15251 }
15252#endif
15253#ifdef GL_EXT_blend_subtract
15254 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_subtract", 14))
15255 {
15256 ret = GLEW_EXT_blend_subtract;
15257 continue;
15258 }
15259#endif
15260#ifdef GL_EXT_clip_volume_hint
15261 if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_volume_hint", 16))
15262 {
15263 ret = GLEW_EXT_clip_volume_hint;
15264 continue;
15265 }
15266#endif
15267#ifdef GL_EXT_cmyka
15268 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cmyka", 5))
15269 {
15270 ret = GLEW_EXT_cmyka;
15271 continue;
15272 }
15273#endif
15274#ifdef GL_EXT_color_subtable
15275 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_subtable", 14))
15276 {
15277 ret = GLEW_EXT_color_subtable;
15278 continue;
15279 }
15280#endif
15281#ifdef GL_EXT_compiled_vertex_array
15282 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compiled_vertex_array", 21))
15283 {
15284 ret = GLEW_EXT_compiled_vertex_array;
15285 continue;
15286 }
15287#endif
15288#ifdef GL_EXT_convolution
15289 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution", 11))
15290 {
15291 ret = GLEW_EXT_convolution;
15292 continue;
15293 }
15294#endif
15295#ifdef GL_EXT_coordinate_frame
15296 if (_glewStrSame3(&pos, &len, (const GLubyte*)"coordinate_frame", 16))
15297 {
15298 ret = GLEW_EXT_coordinate_frame;
15299 continue;
15300 }
15301#endif
15302#ifdef GL_EXT_copy_texture
15303 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_texture", 12))
15304 {
15305 ret = GLEW_EXT_copy_texture;
15306 continue;
15307 }
15308#endif
15309#ifdef GL_EXT_cull_vertex
15310 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
15311 {
15312 ret = GLEW_EXT_cull_vertex;
15313 continue;
15314 }
15315#endif
15316#ifdef GL_EXT_debug_marker
15317 if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_marker", 12))
15318 {
15319 ret = GLEW_EXT_debug_marker;
15320 continue;
15321 }
15322#endif
15323#ifdef GL_EXT_depth_bounds_test
15324 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_bounds_test", 17))
15325 {
15326 ret = GLEW_EXT_depth_bounds_test;
15327 continue;
15328 }
15329#endif
15330#ifdef GL_EXT_direct_state_access
15331 if (_glewStrSame3(&pos, &len, (const GLubyte*)"direct_state_access", 19))
15332 {
15333 ret = GLEW_EXT_direct_state_access;
15334 continue;
15335 }
15336#endif
15337#ifdef GL_EXT_draw_buffers2
15338 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers2", 13))
15339 {
15340 ret = GLEW_EXT_draw_buffers2;
15341 continue;
15342 }
15343#endif
15344#ifdef GL_EXT_draw_instanced
15345 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
15346 {
15347 ret = GLEW_EXT_draw_instanced;
15348 continue;
15349 }
15350#endif
15351#ifdef GL_EXT_draw_range_elements
15352 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_range_elements", 19))
15353 {
15354 ret = GLEW_EXT_draw_range_elements;
15355 continue;
15356 }
15357#endif
15358#ifdef GL_EXT_fog_coord
15359 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_coord", 9))
15360 {
15361 ret = GLEW_EXT_fog_coord;
15362 continue;
15363 }
15364#endif
15365#ifdef GL_EXT_fragment_lighting
15366 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_lighting", 17))
15367 {
15368 ret = GLEW_EXT_fragment_lighting;
15369 continue;
15370 }
15371#endif
15372#ifdef GL_EXT_framebuffer_blit
15373 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
15374 {
15375 ret = GLEW_EXT_framebuffer_blit;
15376 continue;
15377 }
15378#endif
15379#ifdef GL_EXT_framebuffer_multisample
15380 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
15381 {
15382 ret = GLEW_EXT_framebuffer_multisample;
15383 continue;
15384 }
15385#endif
15386#ifdef GL_EXT_framebuffer_multisample_blit_scaled
15387 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample_blit_scaled", 35))
15388 {
15389 ret = GLEW_EXT_framebuffer_multisample_blit_scaled;
15390 continue;
15391 }
15392#endif
15393#ifdef GL_EXT_framebuffer_object
15394 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18))
15395 {
15396 ret = GLEW_EXT_framebuffer_object;
15397 continue;
15398 }
15399#endif
15400#ifdef GL_EXT_framebuffer_sRGB
15401 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
15402 {
15403 ret = GLEW_EXT_framebuffer_sRGB;
15404 continue;
15405 }
15406#endif
15407#ifdef GL_EXT_geometry_shader4
15408 if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
15409 {
15410 ret = GLEW_EXT_geometry_shader4;
15411 continue;
15412 }
15413#endif
15414#ifdef GL_EXT_gpu_program_parameters
15415 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_parameters", 22))
15416 {
15417 ret = GLEW_EXT_gpu_program_parameters;
15418 continue;
15419 }
15420#endif
15421#ifdef GL_EXT_gpu_shader4
15422 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader4", 11))
15423 {
15424 ret = GLEW_EXT_gpu_shader4;
15425 continue;
15426 }
15427#endif
15428#ifdef GL_EXT_histogram
15429 if (_glewStrSame3(&pos, &len, (const GLubyte*)"histogram", 9))
15430 {
15431 ret = GLEW_EXT_histogram;
15432 continue;
15433 }
15434#endif
15435#ifdef GL_EXT_index_array_formats
15436 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_array_formats", 19))
15437 {
15438 ret = GLEW_EXT_index_array_formats;
15439 continue;
15440 }
15441#endif
15442#ifdef GL_EXT_index_func
15443 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_func", 10))
15444 {
15445 ret = GLEW_EXT_index_func;
15446 continue;
15447 }
15448#endif
15449#ifdef GL_EXT_index_material
15450 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_material", 14))
15451 {
15452 ret = GLEW_EXT_index_material;
15453 continue;
15454 }
15455#endif
15456#ifdef GL_EXT_index_texture
15457 if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_texture", 13))
15458 {
15459 ret = GLEW_EXT_index_texture;
15460 continue;
15461 }
15462#endif
15463#ifdef GL_EXT_light_texture
15464 if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_texture", 13))
15465 {
15466 ret = GLEW_EXT_light_texture;
15467 continue;
15468 }
15469#endif
15470#ifdef GL_EXT_misc_attribute
15471 if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_attribute", 14))
15472 {
15473 ret = GLEW_EXT_misc_attribute;
15474 continue;
15475 }
15476#endif
15477#ifdef GL_EXT_multi_draw_arrays
15478 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_arrays", 17))
15479 {
15480 ret = GLEW_EXT_multi_draw_arrays;
15481 continue;
15482 }
15483#endif
15484#ifdef GL_EXT_multisample
15485 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
15486 {
15487 ret = GLEW_EXT_multisample;
15488 continue;
15489 }
15490#endif
15491#ifdef GL_EXT_packed_depth_stencil
15492 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
15493 {
15494 ret = GLEW_EXT_packed_depth_stencil;
15495 continue;
15496 }
15497#endif
15498#ifdef GL_EXT_packed_float
15499 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_float", 12))
15500 {
15501 ret = GLEW_EXT_packed_float;
15502 continue;
15503 }
15504#endif
15505#ifdef GL_EXT_packed_pixels
15506 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_pixels", 13))
15507 {
15508 ret = GLEW_EXT_packed_pixels;
15509 continue;
15510 }
15511#endif
15512#ifdef GL_EXT_paletted_texture
15513 if (_glewStrSame3(&pos, &len, (const GLubyte*)"paletted_texture", 16))
15514 {
15515 ret = GLEW_EXT_paletted_texture;
15516 continue;
15517 }
15518#endif
15519#ifdef GL_EXT_pixel_buffer_object
15520 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
15521 {
15522 ret = GLEW_EXT_pixel_buffer_object;
15523 continue;
15524 }
15525#endif
15526#ifdef GL_EXT_pixel_transform
15527 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform", 15))
15528 {
15529 ret = GLEW_EXT_pixel_transform;
15530 continue;
15531 }
15532#endif
15533#ifdef GL_EXT_pixel_transform_color_table
15534 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform_color_table", 27))
15535 {
15536 ret = GLEW_EXT_pixel_transform_color_table;
15537 continue;
15538 }
15539#endif
15540#ifdef GL_EXT_point_parameters
15541 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
15542 {
15543 ret = GLEW_EXT_point_parameters;
15544 continue;
15545 }
15546#endif
15547#ifdef GL_EXT_polygon_offset
15548 if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset", 14))
15549 {
15550 ret = GLEW_EXT_polygon_offset;
15551 continue;
15552 }
15553#endif
15554#ifdef GL_EXT_provoking_vertex
15555 if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16))
15556 {
15557 ret = GLEW_EXT_provoking_vertex;
15558 continue;
15559 }
15560#endif
15561#ifdef GL_EXT_rescale_normal
15562 if (_glewStrSame3(&pos, &len, (const GLubyte*)"rescale_normal", 14))
15563 {
15564 ret = GLEW_EXT_rescale_normal;
15565 continue;
15566 }
15567#endif
15568#ifdef GL_EXT_scene_marker
15569 if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
15570 {
15571 ret = GLEW_EXT_scene_marker;
15572 continue;
15573 }
15574#endif
15575#ifdef GL_EXT_secondary_color
15576 if (_glewStrSame3(&pos, &len, (const GLubyte*)"secondary_color", 15))
15577 {
15578 ret = GLEW_EXT_secondary_color;
15579 continue;
15580 }
15581#endif
15582#ifdef GL_EXT_separate_shader_objects
15583 if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_shader_objects", 23))
15584 {
15585 ret = GLEW_EXT_separate_shader_objects;
15586 continue;
15587 }
15588#endif
15589#ifdef GL_EXT_separate_specular_color
15590 if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_specular_color", 23))
15591 {
15592 ret = GLEW_EXT_separate_specular_color;
15593 continue;
15594 }
15595#endif
15596#ifdef GL_EXT_shader_image_load_store
15597 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_store", 23))
15598 {
15599 ret = GLEW_EXT_shader_image_load_store;
15600 continue;
15601 }
15602#endif
15603#ifdef GL_EXT_shadow_funcs
15604 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_funcs", 12))
15605 {
15606 ret = GLEW_EXT_shadow_funcs;
15607 continue;
15608 }
15609#endif
15610#ifdef GL_EXT_shared_texture_palette
15611 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_texture_palette", 22))
15612 {
15613 ret = GLEW_EXT_shared_texture_palette;
15614 continue;
15615 }
15616#endif
15617#ifdef GL_EXT_stencil_clear_tag
15618 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_clear_tag", 17))
15619 {
15620 ret = GLEW_EXT_stencil_clear_tag;
15621 continue;
15622 }
15623#endif
15624#ifdef GL_EXT_stencil_two_side
15625 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_two_side", 16))
15626 {
15627 ret = GLEW_EXT_stencil_two_side;
15628 continue;
15629 }
15630#endif
15631#ifdef GL_EXT_stencil_wrap
15632 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_wrap", 12))
15633 {
15634 ret = GLEW_EXT_stencil_wrap;
15635 continue;
15636 }
15637#endif
15638#ifdef GL_EXT_subtexture
15639 if (_glewStrSame3(&pos, &len, (const GLubyte*)"subtexture", 10))
15640 {
15641 ret = GLEW_EXT_subtexture;
15642 continue;
15643 }
15644#endif
15645#ifdef GL_EXT_texture
15646 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture", 7))
15647 {
15648 ret = GLEW_EXT_texture;
15649 continue;
15650 }
15651#endif
15652#ifdef GL_EXT_texture3D
15653 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture3D", 9))
15654 {
15655 ret = GLEW_EXT_texture3D;
15656 continue;
15657 }
15658#endif
15659#ifdef GL_EXT_texture_array
15660 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_array", 13))
15661 {
15662 ret = GLEW_EXT_texture_array;
15663 continue;
15664 }
15665#endif
15666#ifdef GL_EXT_texture_buffer_object
15667 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21))
15668 {
15669 ret = GLEW_EXT_texture_buffer_object;
15670 continue;
15671 }
15672#endif
15673#ifdef GL_EXT_texture_compression_dxt1
15674 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt1", 24))
15675 {
15676 ret = GLEW_EXT_texture_compression_dxt1;
15677 continue;
15678 }
15679#endif
15680#ifdef GL_EXT_texture_compression_latc
15681 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_latc", 24))
15682 {
15683 ret = GLEW_EXT_texture_compression_latc;
15684 continue;
15685 }
15686#endif
15687#ifdef GL_EXT_texture_compression_rgtc
15688 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24))
15689 {
15690 ret = GLEW_EXT_texture_compression_rgtc;
15691 continue;
15692 }
15693#endif
15694#ifdef GL_EXT_texture_compression_s3tc
15695 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc", 24))
15696 {
15697 ret = GLEW_EXT_texture_compression_s3tc;
15698 continue;
15699 }
15700#endif
15701#ifdef GL_EXT_texture_cube_map
15702 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
15703 {
15704 ret = GLEW_EXT_texture_cube_map;
15705 continue;
15706 }
15707#endif
15708#ifdef GL_EXT_texture_edge_clamp
15709 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
15710 {
15711 ret = GLEW_EXT_texture_edge_clamp;
15712 continue;
15713 }
15714#endif
15715#ifdef GL_EXT_texture_env
15716 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env", 11))
15717 {
15718 ret = GLEW_EXT_texture_env;
15719 continue;
15720 }
15721#endif
15722#ifdef GL_EXT_texture_env_add
15723 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
15724 {
15725 ret = GLEW_EXT_texture_env_add;
15726 continue;
15727 }
15728#endif
15729#ifdef GL_EXT_texture_env_combine
15730 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
15731 {
15732 ret = GLEW_EXT_texture_env_combine;
15733 continue;
15734 }
15735#endif
15736#ifdef GL_EXT_texture_env_dot3
15737 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
15738 {
15739 ret = GLEW_EXT_texture_env_dot3;
15740 continue;
15741 }
15742#endif
15743#ifdef GL_EXT_texture_filter_anisotropic
15744 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_anisotropic", 26))
15745 {
15746 ret = GLEW_EXT_texture_filter_anisotropic;
15747 continue;
15748 }
15749#endif
15750#ifdef GL_EXT_texture_integer
15751 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_integer", 15))
15752 {
15753 ret = GLEW_EXT_texture_integer;
15754 continue;
15755 }
15756#endif
15757#ifdef GL_EXT_texture_lod_bias
15758 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
15759 {
15760 ret = GLEW_EXT_texture_lod_bias;
15761 continue;
15762 }
15763#endif
15764#ifdef GL_EXT_texture_mirror_clamp
15765 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_clamp", 20))
15766 {
15767 ret = GLEW_EXT_texture_mirror_clamp;
15768 continue;
15769 }
15770#endif
15771#ifdef GL_EXT_texture_object
15772 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_object", 14))
15773 {
15774 ret = GLEW_EXT_texture_object;
15775 continue;
15776 }
15777#endif
15778#ifdef GL_EXT_texture_perturb_normal
15779 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_perturb_normal", 22))
15780 {
15781 ret = GLEW_EXT_texture_perturb_normal;
15782 continue;
15783 }
15784#endif
15785#ifdef GL_EXT_texture_rectangle
15786 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
15787 {
15788 ret = GLEW_EXT_texture_rectangle;
15789 continue;
15790 }
15791#endif
15792#ifdef GL_EXT_texture_sRGB
15793 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB", 12))
15794 {
15795 ret = GLEW_EXT_texture_sRGB;
15796 continue;
15797 }
15798#endif
15799#ifdef GL_EXT_texture_sRGB_decode
15800 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB_decode", 19))
15801 {
15802 ret = GLEW_EXT_texture_sRGB_decode;
15803 continue;
15804 }
15805#endif
15806#ifdef GL_EXT_texture_shared_exponent
15807 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shared_exponent", 23))
15808 {
15809 ret = GLEW_EXT_texture_shared_exponent;
15810 continue;
15811 }
15812#endif
15813#ifdef GL_EXT_texture_snorm
15814 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_snorm", 13))
15815 {
15816 ret = GLEW_EXT_texture_snorm;
15817 continue;
15818 }
15819#endif
15820#ifdef GL_EXT_texture_swizzle
15821 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15))
15822 {
15823 ret = GLEW_EXT_texture_swizzle;
15824 continue;
15825 }
15826#endif
15827#ifdef GL_EXT_timer_query
15828 if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
15829 {
15830 ret = GLEW_EXT_timer_query;
15831 continue;
15832 }
15833#endif
15834#ifdef GL_EXT_transform_feedback
15835 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18))
15836 {
15837 ret = GLEW_EXT_transform_feedback;
15838 continue;
15839 }
15840#endif
15841#ifdef GL_EXT_vertex_array
15842 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array", 12))
15843 {
15844 ret = GLEW_EXT_vertex_array;
15845 continue;
15846 }
15847#endif
15848#ifdef GL_EXT_vertex_array_bgra
15849 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17))
15850 {
15851 ret = GLEW_EXT_vertex_array_bgra;
15852 continue;
15853 }
15854#endif
15855#ifdef GL_EXT_vertex_attrib_64bit
15856 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_64bit", 19))
15857 {
15858 ret = GLEW_EXT_vertex_attrib_64bit;
15859 continue;
15860 }
15861#endif
15862#ifdef GL_EXT_vertex_shader
15863 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
15864 {
15865 ret = GLEW_EXT_vertex_shader;
15866 continue;
15867 }
15868#endif
15869#ifdef GL_EXT_vertex_weighting
15870 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_weighting", 16))
15871 {
15872 ret = GLEW_EXT_vertex_weighting;
15873 continue;
15874 }
15875#endif
15876#ifdef GL_EXT_x11_sync_object
15877 if (_glewStrSame3(&pos, &len, (const GLubyte*)"x11_sync_object", 15))
15878 {
15879 ret = GLEW_EXT_x11_sync_object;
15880 continue;
15881 }
15882#endif
15883 }
15884 if (_glewStrSame2(&pos, &len, (const GLubyte*)"GREMEDY_", 8))
15885 {
15886#ifdef GL_GREMEDY_frame_terminator
15887 if (_glewStrSame3(&pos, &len, (const GLubyte*)"frame_terminator", 16))
15888 {
15889 ret = GLEW_GREMEDY_frame_terminator;
15890 continue;
15891 }
15892#endif
15893#ifdef GL_GREMEDY_string_marker
15894 if (_glewStrSame3(&pos, &len, (const GLubyte*)"string_marker", 13))
15895 {
15896 ret = GLEW_GREMEDY_string_marker;
15897 continue;
15898 }
15899#endif
15900 }
15901 if (_glewStrSame2(&pos, &len, (const GLubyte*)"HP_", 3))
15902 {
15903#ifdef GL_HP_convolution_border_modes
15904 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
15905 {
15906 ret = GLEW_HP_convolution_border_modes;
15907 continue;
15908 }
15909#endif
15910#ifdef GL_HP_image_transform
15911 if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_transform", 15))
15912 {
15913 ret = GLEW_HP_image_transform;
15914 continue;
15915 }
15916#endif
15917#ifdef GL_HP_occlusion_test
15918 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_test", 14))
15919 {
15920 ret = GLEW_HP_occlusion_test;
15921 continue;
15922 }
15923#endif
15924#ifdef GL_HP_texture_lighting
15925 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lighting", 16))
15926 {
15927 ret = GLEW_HP_texture_lighting;
15928 continue;
15929 }
15930#endif
15931 }
15932 if (_glewStrSame2(&pos, &len, (const GLubyte*)"IBM_", 4))
15933 {
15934#ifdef GL_IBM_cull_vertex
15935 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
15936 {
15937 ret = GLEW_IBM_cull_vertex;
15938 continue;
15939 }
15940#endif
15941#ifdef GL_IBM_multimode_draw_arrays
15942 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multimode_draw_arrays", 21))
15943 {
15944 ret = GLEW_IBM_multimode_draw_arrays;
15945 continue;
15946 }
15947#endif
15948#ifdef GL_IBM_rasterpos_clip
15949 if (_glewStrSame3(&pos, &len, (const GLubyte*)"rasterpos_clip", 14))
15950 {
15951 ret = GLEW_IBM_rasterpos_clip;
15952 continue;
15953 }
15954#endif
15955#ifdef GL_IBM_static_data
15956 if (_glewStrSame3(&pos, &len, (const GLubyte*)"static_data", 11))
15957 {
15958 ret = GLEW_IBM_static_data;
15959 continue;
15960 }
15961#endif
15962#ifdef GL_IBM_texture_mirrored_repeat
15963 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
15964 {
15965 ret = GLEW_IBM_texture_mirrored_repeat;
15966 continue;
15967 }
15968#endif
15969#ifdef GL_IBM_vertex_array_lists
15970 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_lists", 18))
15971 {
15972 ret = GLEW_IBM_vertex_array_lists;
15973 continue;
15974 }
15975#endif
15976 }
15977 if (_glewStrSame2(&pos, &len, (const GLubyte*)"INGR_", 5))
15978 {
15979#ifdef GL_INGR_color_clamp
15980 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_clamp", 11))
15981 {
15982 ret = GLEW_INGR_color_clamp;
15983 continue;
15984 }
15985#endif
15986#ifdef GL_INGR_interlace_read
15987 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace_read", 14))
15988 {
15989 ret = GLEW_INGR_interlace_read;
15990 continue;
15991 }
15992#endif
15993 }
15994 if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6))
15995 {
15996#ifdef GL_INTEL_map_texture
15997 if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_texture", 11))
15998 {
15999 ret = GLEW_INTEL_map_texture;
16000 continue;
16001 }
16002#endif
16003#ifdef GL_INTEL_parallel_arrays
16004 if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_arrays", 15))
16005 {
16006 ret = GLEW_INTEL_parallel_arrays;
16007 continue;
16008 }
16009#endif
16010#ifdef GL_INTEL_texture_scissor
16011 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scissor", 15))
16012 {
16013 ret = GLEW_INTEL_texture_scissor;
16014 continue;
16015 }
16016#endif
16017 }
16018 if (_glewStrSame2(&pos, &len, (const GLubyte*)"KHR_", 4))
16019 {
16020#ifdef GL_KHR_debug
16021 if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug", 5))
16022 {
16023 ret = GLEW_KHR_debug;
16024 continue;
16025 }
16026#endif
16027#ifdef GL_KHR_texture_compression_astc_ldr
16028 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_ldr", 28))
16029 {
16030 ret = GLEW_KHR_texture_compression_astc_ldr;
16031 continue;
16032 }
16033#endif
16034 }
16035 if (_glewStrSame2(&pos, &len, (const GLubyte*)"KTX_", 4))
16036 {
16037#ifdef GL_KTX_buffer_region
16038 if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
16039 {
16040 ret = GLEW_KTX_buffer_region;
16041 continue;
16042 }
16043#endif
16044 }
16045 if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESAX_", 6))
16046 {
16047#ifdef GL_MESAX_texture_stack
16048 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_stack", 13))
16049 {
16050 ret = GLEW_MESAX_texture_stack;
16051 continue;
16052 }
16053#endif
16054 }
16055 if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
16056 {
16057#ifdef GL_MESA_pack_invert
16058 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_invert", 11))
16059 {
16060 ret = GLEW_MESA_pack_invert;
16061 continue;
16062 }
16063#endif
16064#ifdef GL_MESA_resize_buffers
16065 if (_glewStrSame3(&pos, &len, (const GLubyte*)"resize_buffers", 14))
16066 {
16067 ret = GLEW_MESA_resize_buffers;
16068 continue;
16069 }
16070#endif
16071#ifdef GL_MESA_window_pos
16072 if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
16073 {
16074 ret = GLEW_MESA_window_pos;
16075 continue;
16076 }
16077#endif
16078#ifdef GL_MESA_ycbcr_texture
16079 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_texture", 13))
16080 {
16081 ret = GLEW_MESA_ycbcr_texture;
16082 continue;
16083 }
16084#endif
16085 }
16086 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NVX_", 4))
16087 {
16088#ifdef GL_NVX_conditional_render
16089 if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render", 18))
16090 {
16091 ret = GLEW_NVX_conditional_render;
16092 continue;
16093 }
16094#endif
16095#ifdef GL_NVX_gpu_memory_info
16096 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_memory_info", 15))
16097 {
16098 ret = GLEW_NVX_gpu_memory_info;
16099 continue;
16100 }
16101#endif
16102 }
16103 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
16104 {
16105#ifdef GL_NV_bindless_multi_draw_indirect
16106 if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_multi_draw_indirect", 28))
16107 {
16108 ret = GLEW_NV_bindless_multi_draw_indirect;
16109 continue;
16110 }
16111#endif
16112#ifdef GL_NV_bindless_texture
16113 if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_texture", 16))
16114 {
16115 ret = GLEW_NV_bindless_texture;
16116 continue;
16117 }
16118#endif
16119#ifdef GL_NV_blend_equation_advanced
16120 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced", 23))
16121 {
16122 ret = GLEW_NV_blend_equation_advanced;
16123 continue;
16124 }
16125#endif
16126#ifdef GL_NV_blend_equation_advanced_coherent
16127 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced_coherent", 32))
16128 {
16129 ret = GLEW_NV_blend_equation_advanced_coherent;
16130 continue;
16131 }
16132#endif
16133#ifdef GL_NV_blend_square
16134 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_square", 12))
16135 {
16136 ret = GLEW_NV_blend_square;
16137 continue;
16138 }
16139#endif
16140#ifdef GL_NV_compute_program5
16141 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_program5", 16))
16142 {
16143 ret = GLEW_NV_compute_program5;
16144 continue;
16145 }
16146#endif
16147#ifdef GL_NV_conditional_render
16148 if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render", 18))
16149 {
16150 ret = GLEW_NV_conditional_render;
16151 continue;
16152 }
16153#endif
16154#ifdef GL_NV_copy_depth_to_color
16155 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_depth_to_color", 19))
16156 {
16157 ret = GLEW_NV_copy_depth_to_color;
16158 continue;
16159 }
16160#endif
16161#ifdef GL_NV_copy_image
16162 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
16163 {
16164 ret = GLEW_NV_copy_image;
16165 continue;
16166 }
16167#endif
16168#ifdef GL_NV_deep_texture3D
16169 if (_glewStrSame3(&pos, &len, (const GLubyte*)"deep_texture3D", 14))
16170 {
16171 ret = GLEW_NV_deep_texture3D;
16172 continue;
16173 }
16174#endif
16175#ifdef GL_NV_depth_buffer_float
16176 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18))
16177 {
16178 ret = GLEW_NV_depth_buffer_float;
16179 continue;
16180 }
16181#endif
16182#ifdef GL_NV_depth_clamp
16183 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11))
16184 {
16185 ret = GLEW_NV_depth_clamp;
16186 continue;
16187 }
16188#endif
16189#ifdef GL_NV_depth_range_unclamped
16190 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_range_unclamped", 21))
16191 {
16192 ret = GLEW_NV_depth_range_unclamped;
16193 continue;
16194 }
16195#endif
16196#ifdef GL_NV_draw_texture
16197 if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_texture", 12))
16198 {
16199 ret = GLEW_NV_draw_texture;
16200 continue;
16201 }
16202#endif
16203#ifdef GL_NV_evaluators
16204 if (_glewStrSame3(&pos, &len, (const GLubyte*)"evaluators", 10))
16205 {
16206 ret = GLEW_NV_evaluators;
16207 continue;
16208 }
16209#endif
16210#ifdef GL_NV_explicit_multisample
16211 if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_multisample", 20))
16212 {
16213 ret = GLEW_NV_explicit_multisample;
16214 continue;
16215 }
16216#endif
16217#ifdef GL_NV_fence
16218 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
16219 {
16220 ret = GLEW_NV_fence;
16221 continue;
16222 }
16223#endif
16224#ifdef GL_NV_float_buffer
16225 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
16226 {
16227 ret = GLEW_NV_float_buffer;
16228 continue;
16229 }
16230#endif
16231#ifdef GL_NV_fog_distance
16232 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_distance", 12))
16233 {
16234 ret = GLEW_NV_fog_distance;
16235 continue;
16236 }
16237#endif
16238#ifdef GL_NV_fragment_program
16239 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
16240 {
16241 ret = GLEW_NV_fragment_program;
16242 continue;
16243 }
16244#endif
16245#ifdef GL_NV_fragment_program2
16246 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program2", 17))
16247 {
16248 ret = GLEW_NV_fragment_program2;
16249 continue;
16250 }
16251#endif
16252#ifdef GL_NV_fragment_program4
16253 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program4", 17))
16254 {
16255 ret = GLEW_NV_fragment_program4;
16256 continue;
16257 }
16258#endif
16259#ifdef GL_NV_fragment_program_option
16260 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_option", 23))
16261 {
16262 ret = GLEW_NV_fragment_program_option;
16263 continue;
16264 }
16265#endif
16266#ifdef GL_NV_framebuffer_multisample_coverage
16267 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample_coverage", 32))
16268 {
16269 ret = GLEW_NV_framebuffer_multisample_coverage;
16270 continue;
16271 }
16272#endif
16273#ifdef GL_NV_geometry_program4
16274 if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_program4", 17))
16275 {
16276 ret = GLEW_NV_geometry_program4;
16277 continue;
16278 }
16279#endif
16280#ifdef GL_NV_geometry_shader4
16281 if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
16282 {
16283 ret = GLEW_NV_geometry_shader4;
16284 continue;
16285 }
16286#endif
16287#ifdef GL_NV_gpu_program4
16288 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program4", 12))
16289 {
16290 ret = GLEW_NV_gpu_program4;
16291 continue;
16292 }
16293#endif
16294#ifdef GL_NV_gpu_program5
16295 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program5", 12))
16296 {
16297 ret = GLEW_NV_gpu_program5;
16298 continue;
16299 }
16300#endif
16301#ifdef GL_NV_gpu_program5_mem_extended
16302 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program5_mem_extended", 25))
16303 {
16304 ret = GLEW_NV_gpu_program5_mem_extended;
16305 continue;
16306 }
16307#endif
16308#ifdef GL_NV_gpu_program_fp64
16309 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_fp64", 16))
16310 {
16311 ret = GLEW_NV_gpu_program_fp64;
16312 continue;
16313 }
16314#endif
16315#ifdef GL_NV_gpu_shader5
16316 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
16317 {
16318 ret = GLEW_NV_gpu_shader5;
16319 continue;
16320 }
16321#endif
16322#ifdef GL_NV_half_float
16323 if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float", 10))
16324 {
16325 ret = GLEW_NV_half_float;
16326 continue;
16327 }
16328#endif
16329#ifdef GL_NV_light_max_exponent
16330 if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_max_exponent", 18))
16331 {
16332 ret = GLEW_NV_light_max_exponent;
16333 continue;
16334 }
16335#endif
16336#ifdef GL_NV_multisample_coverage
16337 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
16338 {
16339 ret = GLEW_NV_multisample_coverage;
16340 continue;
16341 }
16342#endif
16343#ifdef GL_NV_multisample_filter_hint
16344 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_filter_hint", 23))
16345 {
16346 ret = GLEW_NV_multisample_filter_hint;
16347 continue;
16348 }
16349#endif
16350#ifdef GL_NV_occlusion_query
16351 if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
16352 {
16353 ret = GLEW_NV_occlusion_query;
16354 continue;
16355 }
16356#endif
16357#ifdef GL_NV_packed_depth_stencil
16358 if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
16359 {
16360 ret = GLEW_NV_packed_depth_stencil;
16361 continue;
16362 }
16363#endif
16364#ifdef GL_NV_parameter_buffer_object
16365 if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object", 23))
16366 {
16367 ret = GLEW_NV_parameter_buffer_object;
16368 continue;
16369 }
16370#endif
16371#ifdef GL_NV_parameter_buffer_object2
16372 if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object2", 24))
16373 {
16374 ret = GLEW_NV_parameter_buffer_object2;
16375 continue;
16376 }
16377#endif
16378#ifdef GL_NV_path_rendering
16379 if (_glewStrSame3(&pos, &len, (const GLubyte*)"path_rendering", 14))
16380 {
16381 ret = GLEW_NV_path_rendering;
16382 continue;
16383 }
16384#endif
16385#ifdef GL_NV_pixel_data_range
16386 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_data_range", 16))
16387 {
16388 ret = GLEW_NV_pixel_data_range;
16389 continue;
16390 }
16391#endif
16392#ifdef GL_NV_point_sprite
16393 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
16394 {
16395 ret = GLEW_NV_point_sprite;
16396 continue;
16397 }
16398#endif
16399#ifdef GL_NV_present_video
16400 if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
16401 {
16402 ret = GLEW_NV_present_video;
16403 continue;
16404 }
16405#endif
16406#ifdef GL_NV_primitive_restart
16407 if (_glewStrSame3(&pos, &len, (const GLubyte*)"primitive_restart", 17))
16408 {
16409 ret = GLEW_NV_primitive_restart;
16410 continue;
16411 }
16412#endif
16413#ifdef GL_NV_register_combiners
16414 if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners", 18))
16415 {
16416 ret = GLEW_NV_register_combiners;
16417 continue;
16418 }
16419#endif
16420#ifdef GL_NV_register_combiners2
16421 if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners2", 19))
16422 {
16423 ret = GLEW_NV_register_combiners2;
16424 continue;
16425 }
16426#endif
16427#ifdef GL_NV_shader_atomic_counters
16428 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counters", 22))
16429 {
16430 ret = GLEW_NV_shader_atomic_counters;
16431 continue;
16432 }
16433#endif
16434#ifdef GL_NV_shader_atomic_float
16435 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_float", 19))
16436 {
16437 ret = GLEW_NV_shader_atomic_float;
16438 continue;
16439 }
16440#endif
16441#ifdef GL_NV_shader_buffer_load
16442 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_buffer_load", 18))
16443 {
16444 ret = GLEW_NV_shader_buffer_load;
16445 continue;
16446 }
16447#endif
16448#ifdef GL_NV_shader_storage_buffer_object
16449 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_storage_buffer_object", 28))
16450 {
16451 ret = GLEW_NV_shader_storage_buffer_object;
16452 continue;
16453 }
16454#endif
16455#ifdef GL_NV_tessellation_program5
16456 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_program5", 21))
16457 {
16458 ret = GLEW_NV_tessellation_program5;
16459 continue;
16460 }
16461#endif
16462#ifdef GL_NV_texgen_emboss
16463 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_emboss", 13))
16464 {
16465 ret = GLEW_NV_texgen_emboss;
16466 continue;
16467 }
16468#endif
16469#ifdef GL_NV_texgen_reflection
16470 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_reflection", 17))
16471 {
16472 ret = GLEW_NV_texgen_reflection;
16473 continue;
16474 }
16475#endif
16476#ifdef GL_NV_texture_barrier
16477 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_barrier", 15))
16478 {
16479 ret = GLEW_NV_texture_barrier;
16480 continue;
16481 }
16482#endif
16483#ifdef GL_NV_texture_compression_vtc
16484 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_vtc", 23))
16485 {
16486 ret = GLEW_NV_texture_compression_vtc;
16487 continue;
16488 }
16489#endif
16490#ifdef GL_NV_texture_env_combine4
16491 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine4", 20))
16492 {
16493 ret = GLEW_NV_texture_env_combine4;
16494 continue;
16495 }
16496#endif
16497#ifdef GL_NV_texture_expand_normal
16498 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_expand_normal", 21))
16499 {
16500 ret = GLEW_NV_texture_expand_normal;
16501 continue;
16502 }
16503#endif
16504#ifdef GL_NV_texture_multisample
16505 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multisample", 19))
16506 {
16507 ret = GLEW_NV_texture_multisample;
16508 continue;
16509 }
16510#endif
16511#ifdef GL_NV_texture_rectangle
16512 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
16513 {
16514 ret = GLEW_NV_texture_rectangle;
16515 continue;
16516 }
16517#endif
16518#ifdef GL_NV_texture_shader
16519 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader", 14))
16520 {
16521 ret = GLEW_NV_texture_shader;
16522 continue;
16523 }
16524#endif
16525#ifdef GL_NV_texture_shader2
16526 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader2", 15))
16527 {
16528 ret = GLEW_NV_texture_shader2;
16529 continue;
16530 }
16531#endif
16532#ifdef GL_NV_texture_shader3
16533 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader3", 15))
16534 {
16535 ret = GLEW_NV_texture_shader3;
16536 continue;
16537 }
16538#endif
16539#ifdef GL_NV_transform_feedback
16540 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18))
16541 {
16542 ret = GLEW_NV_transform_feedback;
16543 continue;
16544 }
16545#endif
16546#ifdef GL_NV_transform_feedback2
16547 if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19))
16548 {
16549 ret = GLEW_NV_transform_feedback2;
16550 continue;
16551 }
16552#endif
16553#ifdef GL_NV_vdpau_interop
16554 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vdpau_interop", 13))
16555 {
16556 ret = GLEW_NV_vdpau_interop;
16557 continue;
16558 }
16559#endif
16560#ifdef GL_NV_vertex_array_range
16561 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
16562 {
16563 ret = GLEW_NV_vertex_array_range;
16564 continue;
16565 }
16566#endif
16567#ifdef GL_NV_vertex_array_range2
16568 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range2", 19))
16569 {
16570 ret = GLEW_NV_vertex_array_range2;
16571 continue;
16572 }
16573#endif
16574#ifdef GL_NV_vertex_attrib_integer_64bit
16575 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_integer_64bit", 27))
16576 {
16577 ret = GLEW_NV_vertex_attrib_integer_64bit;
16578 continue;
16579 }
16580#endif
16581#ifdef GL_NV_vertex_buffer_unified_memory
16582 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_unified_memory", 28))
16583 {
16584 ret = GLEW_NV_vertex_buffer_unified_memory;
16585 continue;
16586 }
16587#endif
16588#ifdef GL_NV_vertex_program
16589 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
16590 {
16591 ret = GLEW_NV_vertex_program;
16592 continue;
16593 }
16594#endif
16595#ifdef GL_NV_vertex_program1_1
16596 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program1_1", 17))
16597 {
16598 ret = GLEW_NV_vertex_program1_1;
16599 continue;
16600 }
16601#endif
16602#ifdef GL_NV_vertex_program2
16603 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2", 15))
16604 {
16605 ret = GLEW_NV_vertex_program2;
16606 continue;
16607 }
16608#endif
16609#ifdef GL_NV_vertex_program2_option
16610 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2_option", 22))
16611 {
16612 ret = GLEW_NV_vertex_program2_option;
16613 continue;
16614 }
16615#endif
16616#ifdef GL_NV_vertex_program3
16617 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program3", 15))
16618 {
16619 ret = GLEW_NV_vertex_program3;
16620 continue;
16621 }
16622#endif
16623#ifdef GL_NV_vertex_program4
16624 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program4", 15))
16625 {
16626 ret = GLEW_NV_vertex_program4;
16627 continue;
16628 }
16629#endif
16630#ifdef GL_NV_video_capture
16631 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13))
16632 {
16633 ret = GLEW_NV_video_capture;
16634 continue;
16635 }
16636#endif
16637 }
16638 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OES_", 4))
16639 {
16640#ifdef GL_OES_byte_coordinates
16641 if (_glewStrSame3(&pos, &len, (const GLubyte*)"byte_coordinates", 16))
16642 {
16643 ret = GLEW_OES_byte_coordinates;
16644 continue;
16645 }
16646#endif
16647#ifdef GL_OES_compressed_paletted_texture
16648 if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_paletted_texture", 27))
16649 {
16650 ret = GLEW_OES_compressed_paletted_texture;
16651 continue;
16652 }
16653#endif
16654#ifdef GL_OES_read_format
16655 if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_format", 11))
16656 {
16657 ret = GLEW_OES_read_format;
16658 continue;
16659 }
16660#endif
16661#ifdef GL_OES_single_precision
16662 if (_glewStrSame3(&pos, &len, (const GLubyte*)"single_precision", 16))
16663 {
16664 ret = GLEW_OES_single_precision;
16665 continue;
16666 }
16667#endif
16668 }
16669 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
16670 {
16671#ifdef GL_OML_interlace
16672 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
16673 {
16674 ret = GLEW_OML_interlace;
16675 continue;
16676 }
16677#endif
16678#ifdef GL_OML_resample
16679 if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
16680 {
16681 ret = GLEW_OML_resample;
16682 continue;
16683 }
16684#endif
16685#ifdef GL_OML_subsample
16686 if (_glewStrSame3(&pos, &len, (const GLubyte*)"subsample", 9))
16687 {
16688 ret = GLEW_OML_subsample;
16689 continue;
16690 }
16691#endif
16692 }
16693 if (_glewStrSame2(&pos, &len, (const GLubyte*)"PGI_", 4))
16694 {
16695#ifdef GL_PGI_misc_hints
16696 if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_hints", 10))
16697 {
16698 ret = GLEW_PGI_misc_hints;
16699 continue;
16700 }
16701#endif
16702#ifdef GL_PGI_vertex_hints
16703 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_hints", 12))
16704 {
16705 ret = GLEW_PGI_vertex_hints;
16706 continue;
16707 }
16708#endif
16709 }
16710 if (_glewStrSame2(&pos, &len, (const GLubyte*)"REGAL_", 6))
16711 {
16712#ifdef GL_REGAL_ES1_0_compatibility
16713 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES1_0_compatibility", 19))
16714 {
16715 ret = GLEW_REGAL_ES1_0_compatibility;
16716 continue;
16717 }
16718#endif
16719#ifdef GL_REGAL_ES1_1_compatibility
16720 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES1_1_compatibility", 19))
16721 {
16722 ret = GLEW_REGAL_ES1_1_compatibility;
16723 continue;
16724 }
16725#endif
16726#ifdef GL_REGAL_enable
16727 if (_glewStrSame3(&pos, &len, (const GLubyte*)"enable", 6))
16728 {
16729 ret = GLEW_REGAL_enable;
16730 continue;
16731 }
16732#endif
16733#ifdef GL_REGAL_error_string
16734 if (_glewStrSame3(&pos, &len, (const GLubyte*)"error_string", 12))
16735 {
16736 ret = GLEW_REGAL_error_string;
16737 continue;
16738 }
16739#endif
16740#ifdef GL_REGAL_extension_query
16741 if (_glewStrSame3(&pos, &len, (const GLubyte*)"extension_query", 15))
16742 {
16743 ret = GLEW_REGAL_extension_query;
16744 continue;
16745 }
16746#endif
16747#ifdef GL_REGAL_log
16748 if (_glewStrSame3(&pos, &len, (const GLubyte*)"log", 3))
16749 {
16750 ret = GLEW_REGAL_log;
16751 continue;
16752 }
16753#endif
16754 }
16755 if (_glewStrSame2(&pos, &len, (const GLubyte*)"REND_", 5))
16756 {
16757#ifdef GL_REND_screen_coordinates
16758 if (_glewStrSame3(&pos, &len, (const GLubyte*)"screen_coordinates", 18))
16759 {
16760 ret = GLEW_REND_screen_coordinates;
16761 continue;
16762 }
16763#endif
16764 }
16765 if (_glewStrSame2(&pos, &len, (const GLubyte*)"S3_", 3))
16766 {
16767#ifdef GL_S3_s3tc
16768 if (_glewStrSame3(&pos, &len, (const GLubyte*)"s3tc", 4))
16769 {
16770 ret = GLEW_S3_s3tc;
16771 continue;
16772 }
16773#endif
16774 }
16775 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
16776 {
16777#ifdef GL_SGIS_color_range
16778 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
16779 {
16780 ret = GLEW_SGIS_color_range;
16781 continue;
16782 }
16783#endif
16784#ifdef GL_SGIS_detail_texture
16785 if (_glewStrSame3(&pos, &len, (const GLubyte*)"detail_texture", 14))
16786 {
16787 ret = GLEW_SGIS_detail_texture;
16788 continue;
16789 }
16790#endif
16791#ifdef GL_SGIS_fog_function
16792 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_function", 12))
16793 {
16794 ret = GLEW_SGIS_fog_function;
16795 continue;
16796 }
16797#endif
16798#ifdef GL_SGIS_generate_mipmap
16799 if (_glewStrSame3(&pos, &len, (const GLubyte*)"generate_mipmap", 15))
16800 {
16801 ret = GLEW_SGIS_generate_mipmap;
16802 continue;
16803 }
16804#endif
16805#ifdef GL_SGIS_multisample
16806 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
16807 {
16808 ret = GLEW_SGIS_multisample;
16809 continue;
16810 }
16811#endif
16812#ifdef GL_SGIS_pixel_texture
16813 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
16814 {
16815 ret = GLEW_SGIS_pixel_texture;
16816 continue;
16817 }
16818#endif
16819#ifdef GL_SGIS_point_line_texgen
16820 if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_line_texgen", 17))
16821 {
16822 ret = GLEW_SGIS_point_line_texgen;
16823 continue;
16824 }
16825#endif
16826#ifdef GL_SGIS_sharpen_texture
16827 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sharpen_texture", 15))
16828 {
16829 ret = GLEW_SGIS_sharpen_texture;
16830 continue;
16831 }
16832#endif
16833#ifdef GL_SGIS_texture4D
16834 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture4D", 9))
16835 {
16836 ret = GLEW_SGIS_texture4D;
16837 continue;
16838 }
16839#endif
16840#ifdef GL_SGIS_texture_border_clamp
16841 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
16842 {
16843 ret = GLEW_SGIS_texture_border_clamp;
16844 continue;
16845 }
16846#endif
16847#ifdef GL_SGIS_texture_edge_clamp
16848 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
16849 {
16850 ret = GLEW_SGIS_texture_edge_clamp;
16851 continue;
16852 }
16853#endif
16854#ifdef GL_SGIS_texture_filter4
16855 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter4", 15))
16856 {
16857 ret = GLEW_SGIS_texture_filter4;
16858 continue;
16859 }
16860#endif
16861#ifdef GL_SGIS_texture_lod
16862 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod", 11))
16863 {
16864 ret = GLEW_SGIS_texture_lod;
16865 continue;
16866 }
16867#endif
16868#ifdef GL_SGIS_texture_select
16869 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_select", 14))
16870 {
16871 ret = GLEW_SGIS_texture_select;
16872 continue;
16873 }
16874#endif
16875 }
16876 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
16877 {
16878#ifdef GL_SGIX_async
16879 if (_glewStrSame3(&pos, &len, (const GLubyte*)"async", 5))
16880 {
16881 ret = GLEW_SGIX_async;
16882 continue;
16883 }
16884#endif
16885#ifdef GL_SGIX_async_histogram
16886 if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_histogram", 15))
16887 {
16888 ret = GLEW_SGIX_async_histogram;
16889 continue;
16890 }
16891#endif
16892#ifdef GL_SGIX_async_pixel
16893 if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_pixel", 11))
16894 {
16895 ret = GLEW_SGIX_async_pixel;
16896 continue;
16897 }
16898#endif
16899#ifdef GL_SGIX_blend_alpha_minmax
16900 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_alpha_minmax", 18))
16901 {
16902 ret = GLEW_SGIX_blend_alpha_minmax;
16903 continue;
16904 }
16905#endif
16906#ifdef GL_SGIX_clipmap
16907 if (_glewStrSame3(&pos, &len, (const GLubyte*)"clipmap", 7))
16908 {
16909 ret = GLEW_SGIX_clipmap;
16910 continue;
16911 }
16912#endif
16913#ifdef GL_SGIX_convolution_accuracy
16914 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_accuracy", 20))
16915 {
16916 ret = GLEW_SGIX_convolution_accuracy;
16917 continue;
16918 }
16919#endif
16920#ifdef GL_SGIX_depth_texture
16921 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
16922 {
16923 ret = GLEW_SGIX_depth_texture;
16924 continue;
16925 }
16926#endif
16927#ifdef GL_SGIX_flush_raster
16928 if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_raster", 12))
16929 {
16930 ret = GLEW_SGIX_flush_raster;
16931 continue;
16932 }
16933#endif
16934#ifdef GL_SGIX_fog_offset
16935 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_offset", 10))
16936 {
16937 ret = GLEW_SGIX_fog_offset;
16938 continue;
16939 }
16940#endif
16941#ifdef GL_SGIX_fog_texture
16942 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_texture", 11))
16943 {
16944 ret = GLEW_SGIX_fog_texture;
16945 continue;
16946 }
16947#endif
16948#ifdef GL_SGIX_fragment_specular_lighting
16949 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_specular_lighting", 26))
16950 {
16951 ret = GLEW_SGIX_fragment_specular_lighting;
16952 continue;
16953 }
16954#endif
16955#ifdef GL_SGIX_framezoom
16956 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framezoom", 9))
16957 {
16958 ret = GLEW_SGIX_framezoom;
16959 continue;
16960 }
16961#endif
16962#ifdef GL_SGIX_interlace
16963 if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
16964 {
16965 ret = GLEW_SGIX_interlace;
16966 continue;
16967 }
16968#endif
16969#ifdef GL_SGIX_ir_instrument1
16970 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ir_instrument1", 14))
16971 {
16972 ret = GLEW_SGIX_ir_instrument1;
16973 continue;
16974 }
16975#endif
16976#ifdef GL_SGIX_list_priority
16977 if (_glewStrSame3(&pos, &len, (const GLubyte*)"list_priority", 13))
16978 {
16979 ret = GLEW_SGIX_list_priority;
16980 continue;
16981 }
16982#endif
16983#ifdef GL_SGIX_pixel_texture
16984 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
16985 {
16986 ret = GLEW_SGIX_pixel_texture;
16987 continue;
16988 }
16989#endif
16990#ifdef GL_SGIX_pixel_texture_bits
16991 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture_bits", 18))
16992 {
16993 ret = GLEW_SGIX_pixel_texture_bits;
16994 continue;
16995 }
16996#endif
16997#ifdef GL_SGIX_reference_plane
16998 if (_glewStrSame3(&pos, &len, (const GLubyte*)"reference_plane", 15))
16999 {
17000 ret = GLEW_SGIX_reference_plane;
17001 continue;
17002 }
17003#endif
17004#ifdef GL_SGIX_resample
17005 if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
17006 {
17007 ret = GLEW_SGIX_resample;
17008 continue;
17009 }
17010#endif
17011#ifdef GL_SGIX_shadow
17012 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
17013 {
17014 ret = GLEW_SGIX_shadow;
17015 continue;
17016 }
17017#endif
17018#ifdef GL_SGIX_shadow_ambient
17019 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
17020 {
17021 ret = GLEW_SGIX_shadow_ambient;
17022 continue;
17023 }
17024#endif
17025#ifdef GL_SGIX_sprite
17026 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sprite", 6))
17027 {
17028 ret = GLEW_SGIX_sprite;
17029 continue;
17030 }
17031#endif
17032#ifdef GL_SGIX_tag_sample_buffer
17033 if (_glewStrSame3(&pos, &len, (const GLubyte*)"tag_sample_buffer", 17))
17034 {
17035 ret = GLEW_SGIX_tag_sample_buffer;
17036 continue;
17037 }
17038#endif
17039#ifdef GL_SGIX_texture_add_env
17040 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_add_env", 15))
17041 {
17042 ret = GLEW_SGIX_texture_add_env;
17043 continue;
17044 }
17045#endif
17046#ifdef GL_SGIX_texture_coordinate_clamp
17047 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_coordinate_clamp", 24))
17048 {
17049 ret = GLEW_SGIX_texture_coordinate_clamp;
17050 continue;
17051 }
17052#endif
17053#ifdef GL_SGIX_texture_lod_bias
17054 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
17055 {
17056 ret = GLEW_SGIX_texture_lod_bias;
17057 continue;
17058 }
17059#endif
17060#ifdef GL_SGIX_texture_multi_buffer
17061 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multi_buffer", 20))
17062 {
17063 ret = GLEW_SGIX_texture_multi_buffer;
17064 continue;
17065 }
17066#endif
17067#ifdef GL_SGIX_texture_range
17068 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
17069 {
17070 ret = GLEW_SGIX_texture_range;
17071 continue;
17072 }
17073#endif
17074#ifdef GL_SGIX_texture_scale_bias
17075 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scale_bias", 18))
17076 {
17077 ret = GLEW_SGIX_texture_scale_bias;
17078 continue;
17079 }
17080#endif
17081#ifdef GL_SGIX_vertex_preclip
17082 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip", 14))
17083 {
17084 ret = GLEW_SGIX_vertex_preclip;
17085 continue;
17086 }
17087#endif
17088#ifdef GL_SGIX_vertex_preclip_hint
17089 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip_hint", 19))
17090 {
17091 ret = GLEW_SGIX_vertex_preclip_hint;
17092 continue;
17093 }
17094#endif
17095#ifdef GL_SGIX_ycrcb
17096 if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcb", 5))
17097 {
17098 ret = GLEW_SGIX_ycrcb;
17099 continue;
17100 }
17101#endif
17102 }
17103 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
17104 {
17105#ifdef GL_SGI_color_matrix
17106 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_matrix", 12))
17107 {
17108 ret = GLEW_SGI_color_matrix;
17109 continue;
17110 }
17111#endif
17112#ifdef GL_SGI_color_table
17113 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_table", 11))
17114 {
17115 ret = GLEW_SGI_color_table;
17116 continue;
17117 }
17118#endif
17119#ifdef GL_SGI_texture_color_table
17120 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_color_table", 19))
17121 {
17122 ret = GLEW_SGI_texture_color_table;
17123 continue;
17124 }
17125#endif
17126 }
17127 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUNX_", 5))
17128 {
17129#ifdef GL_SUNX_constant_data
17130 if (_glewStrSame3(&pos, &len, (const GLubyte*)"constant_data", 13))
17131 {
17132 ret = GLEW_SUNX_constant_data;
17133 continue;
17134 }
17135#endif
17136 }
17137 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
17138 {
17139#ifdef GL_SUN_convolution_border_modes
17140 if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
17141 {
17142 ret = GLEW_SUN_convolution_border_modes;
17143 continue;
17144 }
17145#endif
17146#ifdef GL_SUN_global_alpha
17147 if (_glewStrSame3(&pos, &len, (const GLubyte*)"global_alpha", 12))
17148 {
17149 ret = GLEW_SUN_global_alpha;
17150 continue;
17151 }
17152#endif
17153#ifdef GL_SUN_mesh_array
17154 if (_glewStrSame3(&pos, &len, (const GLubyte*)"mesh_array", 10))
17155 {
17156 ret = GLEW_SUN_mesh_array;
17157 continue;
17158 }
17159#endif
17160#ifdef GL_SUN_read_video_pixels
17161 if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_video_pixels", 17))
17162 {
17163 ret = GLEW_SUN_read_video_pixels;
17164 continue;
17165 }
17166#endif
17167#ifdef GL_SUN_slice_accum
17168 if (_glewStrSame3(&pos, &len, (const GLubyte*)"slice_accum", 11))
17169 {
17170 ret = GLEW_SUN_slice_accum;
17171 continue;
17172 }
17173#endif
17174#ifdef GL_SUN_triangle_list
17175 if (_glewStrSame3(&pos, &len, (const GLubyte*)"triangle_list", 13))
17176 {
17177 ret = GLEW_SUN_triangle_list;
17178 continue;
17179 }
17180#endif
17181#ifdef GL_SUN_vertex
17182 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex", 6))
17183 {
17184 ret = GLEW_SUN_vertex;
17185 continue;
17186 }
17187#endif
17188 }
17189 if (_glewStrSame2(&pos, &len, (const GLubyte*)"WIN_", 4))
17190 {
17191#ifdef GL_WIN_phong_shading
17192 if (_glewStrSame3(&pos, &len, (const GLubyte*)"phong_shading", 13))
17193 {
17194 ret = GLEW_WIN_phong_shading;
17195 continue;
17196 }
17197#endif
17198#ifdef GL_WIN_specular_fog
17199 if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_fog", 12))
17200 {
17201 ret = GLEW_WIN_specular_fog;
17202 continue;
17203 }
17204#endif
17205#ifdef GL_WIN_swap_hint
17206 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_hint", 9))
17207 {
17208 ret = GLEW_WIN_swap_hint;
17209 continue;
17210 }
17211#endif
17212 }
17213 }
17214 ret = (len == 0);
17215 }
17216 return ret;
17217}
17218
17219#if defined(_WIN32)
17220
17221#if defined(GLEW_MX)
17222GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext* ctx, const char* name)
17223#else
17224GLboolean GLEWAPIENTRY wglewIsSupported (const char* name)
17225#endif
17226{
17227 GLubyte* pos = (GLubyte*)name;
17228 GLuint len = _glewStrLen(pos);
17229 GLboolean ret = GL_TRUE;
17230 while (ret && len > 0)
17231 {
17232 if (_glewStrSame1(&pos, &len, (const GLubyte*)"WGL_", 4))
17233 {
17234 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
17235 {
17236#ifdef WGL_3DFX_multisample
17237 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
17238 {
17239 ret = WGLEW_3DFX_multisample;
17240 continue;
17241 }
17242#endif
17243 }
17244 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DL_", 4))
17245 {
17246#ifdef WGL_3DL_stereo_control
17247 if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_control", 14))
17248 {
17249 ret = WGLEW_3DL_stereo_control;
17250 continue;
17251 }
17252#endif
17253 }
17254 if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
17255 {
17256#ifdef WGL_AMD_gpu_association
17257 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15))
17258 {
17259 ret = WGLEW_AMD_gpu_association;
17260 continue;
17261 }
17262#endif
17263 }
17264 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
17265 {
17266#ifdef WGL_ARB_buffer_region
17267 if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
17268 {
17269 ret = WGLEW_ARB_buffer_region;
17270 continue;
17271 }
17272#endif
17273#ifdef WGL_ARB_create_context
17274 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
17275 {
17276 ret = WGLEW_ARB_create_context;
17277 continue;
17278 }
17279#endif
17280#ifdef WGL_ARB_create_context_profile
17281 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22))
17282 {
17283 ret = WGLEW_ARB_create_context_profile;
17284 continue;
17285 }
17286#endif
17287#ifdef WGL_ARB_create_context_robustness
17288 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25))
17289 {
17290 ret = WGLEW_ARB_create_context_robustness;
17291 continue;
17292 }
17293#endif
17294#ifdef WGL_ARB_extensions_string
17295 if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
17296 {
17297 ret = WGLEW_ARB_extensions_string;
17298 continue;
17299 }
17300#endif
17301#ifdef WGL_ARB_framebuffer_sRGB
17302 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
17303 {
17304 ret = WGLEW_ARB_framebuffer_sRGB;
17305 continue;
17306 }
17307#endif
17308#ifdef WGL_ARB_make_current_read
17309 if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
17310 {
17311 ret = WGLEW_ARB_make_current_read;
17312 continue;
17313 }
17314#endif
17315#ifdef WGL_ARB_multisample
17316 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
17317 {
17318 ret = WGLEW_ARB_multisample;
17319 continue;
17320 }
17321#endif
17322#ifdef WGL_ARB_pbuffer
17323 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
17324 {
17325 ret = WGLEW_ARB_pbuffer;
17326 continue;
17327 }
17328#endif
17329#ifdef WGL_ARB_pixel_format
17330 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
17331 {
17332 ret = WGLEW_ARB_pixel_format;
17333 continue;
17334 }
17335#endif
17336#ifdef WGL_ARB_pixel_format_float
17337 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
17338 {
17339 ret = WGLEW_ARB_pixel_format_float;
17340 continue;
17341 }
17342#endif
17343#ifdef WGL_ARB_render_texture
17344 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
17345 {
17346 ret = WGLEW_ARB_render_texture;
17347 continue;
17348 }
17349#endif
17350#ifdef WGL_ARB_robustness_application_isolation
17351 if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32))
17352 {
17353 ret = WGLEW_ARB_robustness_application_isolation;
17354 continue;
17355 }
17356#endif
17357#ifdef WGL_ARB_robustness_share_group_isolation
17358 if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32))
17359 {
17360 ret = WGLEW_ARB_robustness_share_group_isolation;
17361 continue;
17362 }
17363#endif
17364 }
17365 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
17366 {
17367#ifdef WGL_ATI_pixel_format_float
17368 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
17369 {
17370 ret = WGLEW_ATI_pixel_format_float;
17371 continue;
17372 }
17373#endif
17374#ifdef WGL_ATI_render_texture_rectangle
17375 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
17376 {
17377 ret = WGLEW_ATI_render_texture_rectangle;
17378 continue;
17379 }
17380#endif
17381 }
17382 if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
17383 {
17384#ifdef WGL_EXT_create_context_es2_profile
17385 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es2_profile", 26))
17386 {
17387 ret = WGLEW_EXT_create_context_es2_profile;
17388 continue;
17389 }
17390#endif
17391#ifdef WGL_EXT_create_context_es_profile
17392 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es_profile", 25))
17393 {
17394 ret = WGLEW_EXT_create_context_es_profile;
17395 continue;
17396 }
17397#endif
17398#ifdef WGL_EXT_depth_float
17399 if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_float", 11))
17400 {
17401 ret = WGLEW_EXT_depth_float;
17402 continue;
17403 }
17404#endif
17405#ifdef WGL_EXT_display_color_table
17406 if (_glewStrSame3(&pos, &len, (const GLubyte*)"display_color_table", 19))
17407 {
17408 ret = WGLEW_EXT_display_color_table;
17409 continue;
17410 }
17411#endif
17412#ifdef WGL_EXT_extensions_string
17413 if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
17414 {
17415 ret = WGLEW_EXT_extensions_string;
17416 continue;
17417 }
17418#endif
17419#ifdef WGL_EXT_framebuffer_sRGB
17420 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
17421 {
17422 ret = WGLEW_EXT_framebuffer_sRGB;
17423 continue;
17424 }
17425#endif
17426#ifdef WGL_EXT_make_current_read
17427 if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
17428 {
17429 ret = WGLEW_EXT_make_current_read;
17430 continue;
17431 }
17432#endif
17433#ifdef WGL_EXT_multisample
17434 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
17435 {
17436 ret = WGLEW_EXT_multisample;
17437 continue;
17438 }
17439#endif
17440#ifdef WGL_EXT_pbuffer
17441 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
17442 {
17443 ret = WGLEW_EXT_pbuffer;
17444 continue;
17445 }
17446#endif
17447#ifdef WGL_EXT_pixel_format
17448 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
17449 {
17450 ret = WGLEW_EXT_pixel_format;
17451 continue;
17452 }
17453#endif
17454#ifdef WGL_EXT_pixel_format_packed_float
17455 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_packed_float", 25))
17456 {
17457 ret = WGLEW_EXT_pixel_format_packed_float;
17458 continue;
17459 }
17460#endif
17461#ifdef WGL_EXT_swap_control
17462 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
17463 {
17464 ret = WGLEW_EXT_swap_control;
17465 continue;
17466 }
17467#endif
17468#ifdef WGL_EXT_swap_control_tear
17469 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control_tear", 17))
17470 {
17471 ret = WGLEW_EXT_swap_control_tear;
17472 continue;
17473 }
17474#endif
17475 }
17476 if (_glewStrSame2(&pos, &len, (const GLubyte*)"I3D_", 4))
17477 {
17478#ifdef WGL_I3D_digital_video_control
17479 if (_glewStrSame3(&pos, &len, (const GLubyte*)"digital_video_control", 21))
17480 {
17481 ret = WGLEW_I3D_digital_video_control;
17482 continue;
17483 }
17484#endif
17485#ifdef WGL_I3D_gamma
17486 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gamma", 5))
17487 {
17488 ret = WGLEW_I3D_gamma;
17489 continue;
17490 }
17491#endif
17492#ifdef WGL_I3D_genlock
17493 if (_glewStrSame3(&pos, &len, (const GLubyte*)"genlock", 7))
17494 {
17495 ret = WGLEW_I3D_genlock;
17496 continue;
17497 }
17498#endif
17499#ifdef WGL_I3D_image_buffer
17500 if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_buffer", 12))
17501 {
17502 ret = WGLEW_I3D_image_buffer;
17503 continue;
17504 }
17505#endif
17506#ifdef WGL_I3D_swap_frame_lock
17507 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_lock", 15))
17508 {
17509 ret = WGLEW_I3D_swap_frame_lock;
17510 continue;
17511 }
17512#endif
17513#ifdef WGL_I3D_swap_frame_usage
17514 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_usage", 16))
17515 {
17516 ret = WGLEW_I3D_swap_frame_usage;
17517 continue;
17518 }
17519#endif
17520 }
17521 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
17522 {
17523#ifdef WGL_NV_DX_interop
17524 if (_glewStrSame3(&pos, &len, (const GLubyte*)"DX_interop", 10))
17525 {
17526 ret = WGLEW_NV_DX_interop;
17527 continue;
17528 }
17529#endif
17530#ifdef WGL_NV_DX_interop2
17531 if (_glewStrSame3(&pos, &len, (const GLubyte*)"DX_interop2", 11))
17532 {
17533 ret = WGLEW_NV_DX_interop2;
17534 continue;
17535 }
17536#endif
17537#ifdef WGL_NV_copy_image
17538 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
17539 {
17540 ret = WGLEW_NV_copy_image;
17541 continue;
17542 }
17543#endif
17544#ifdef WGL_NV_float_buffer
17545 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
17546 {
17547 ret = WGLEW_NV_float_buffer;
17548 continue;
17549 }
17550#endif
17551#ifdef WGL_NV_gpu_affinity
17552 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_affinity", 12))
17553 {
17554 ret = WGLEW_NV_gpu_affinity;
17555 continue;
17556 }
17557#endif
17558#ifdef WGL_NV_multisample_coverage
17559 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
17560 {
17561 ret = WGLEW_NV_multisample_coverage;
17562 continue;
17563 }
17564#endif
17565#ifdef WGL_NV_present_video
17566 if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
17567 {
17568 ret = WGLEW_NV_present_video;
17569 continue;
17570 }
17571#endif
17572#ifdef WGL_NV_render_depth_texture
17573 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_depth_texture", 20))
17574 {
17575 ret = WGLEW_NV_render_depth_texture;
17576 continue;
17577 }
17578#endif
17579#ifdef WGL_NV_render_texture_rectangle
17580 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
17581 {
17582 ret = WGLEW_NV_render_texture_rectangle;
17583 continue;
17584 }
17585#endif
17586#ifdef WGL_NV_swap_group
17587 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
17588 {
17589 ret = WGLEW_NV_swap_group;
17590 continue;
17591 }
17592#endif
17593#ifdef WGL_NV_vertex_array_range
17594 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
17595 {
17596 ret = WGLEW_NV_vertex_array_range;
17597 continue;
17598 }
17599#endif
17600#ifdef WGL_NV_video_capture
17601 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13))
17602 {
17603 ret = WGLEW_NV_video_capture;
17604 continue;
17605 }
17606#endif
17607#ifdef WGL_NV_video_output
17608 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_output", 12))
17609 {
17610 ret = WGLEW_NV_video_output;
17611 continue;
17612 }
17613#endif
17614 }
17615 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
17616 {
17617#ifdef WGL_OML_sync_control
17618 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
17619 {
17620 ret = WGLEW_OML_sync_control;
17621 continue;
17622 }
17623#endif
17624 }
17625 }
17626 ret = (len == 0);
17627 }
17628 return ret;
17629}
17630
17631#elif !defined(__ANDROID__) && !defined(__native_client__) && !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
17632
17633#if defined(GLEW_MX)
17634GLboolean glxewContextIsSupported (const GLXEWContext* ctx, const char* name)
17635#else
17636GLboolean glxewIsSupported (const char* name)
17637#endif
17638{
17639 GLubyte* pos = (GLubyte*)name;
17640 GLuint len = _glewStrLen(pos);
17641 GLboolean ret = GL_TRUE;
17642 while (ret && len > 0)
17643 {
17644 if(_glewStrSame1(&pos, &len, (const GLubyte*)"GLX_", 4))
17645 {
17646 if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
17647 {
17648#ifdef GLX_VERSION_1_2
17649 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
17650 {
17651 ret = GLXEW_VERSION_1_2;
17652 continue;
17653 }
17654#endif
17655#ifdef GLX_VERSION_1_3
17656 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
17657 {
17658 ret = GLXEW_VERSION_1_3;
17659 continue;
17660 }
17661#endif
17662#ifdef GLX_VERSION_1_4
17663 if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
17664 {
17665 ret = GLXEW_VERSION_1_4;
17666 continue;
17667 }
17668#endif
17669 }
17670 if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
17671 {
17672#ifdef GLX_3DFX_multisample
17673 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
17674 {
17675 ret = GLXEW_3DFX_multisample;
17676 continue;
17677 }
17678#endif
17679 }
17680 if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
17681 {
17682#ifdef GLX_AMD_gpu_association
17683 if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15))
17684 {
17685 ret = GLXEW_AMD_gpu_association;
17686 continue;
17687 }
17688#endif
17689 }
17690 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
17691 {
17692#ifdef GLX_ARB_create_context
17693 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
17694 {
17695 ret = GLXEW_ARB_create_context;
17696 continue;
17697 }
17698#endif
17699#ifdef GLX_ARB_create_context_profile
17700 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22))
17701 {
17702 ret = GLXEW_ARB_create_context_profile;
17703 continue;
17704 }
17705#endif
17706#ifdef GLX_ARB_create_context_robustness
17707 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25))
17708 {
17709 ret = GLXEW_ARB_create_context_robustness;
17710 continue;
17711 }
17712#endif
17713#ifdef GLX_ARB_fbconfig_float
17714 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_float", 14))
17715 {
17716 ret = GLXEW_ARB_fbconfig_float;
17717 continue;
17718 }
17719#endif
17720#ifdef GLX_ARB_framebuffer_sRGB
17721 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
17722 {
17723 ret = GLXEW_ARB_framebuffer_sRGB;
17724 continue;
17725 }
17726#endif
17727#ifdef GLX_ARB_get_proc_address
17728 if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_proc_address", 16))
17729 {
17730 ret = GLXEW_ARB_get_proc_address;
17731 continue;
17732 }
17733#endif
17734#ifdef GLX_ARB_multisample
17735 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
17736 {
17737 ret = GLXEW_ARB_multisample;
17738 continue;
17739 }
17740#endif
17741#ifdef GLX_ARB_robustness_application_isolation
17742 if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32))
17743 {
17744 ret = GLXEW_ARB_robustness_application_isolation;
17745 continue;
17746 }
17747#endif
17748#ifdef GLX_ARB_robustness_share_group_isolation
17749 if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32))
17750 {
17751 ret = GLXEW_ARB_robustness_share_group_isolation;
17752 continue;
17753 }
17754#endif
17755#ifdef GLX_ARB_vertex_buffer_object
17756 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20))
17757 {
17758 ret = GLXEW_ARB_vertex_buffer_object;
17759 continue;
17760 }
17761#endif
17762 }
17763 if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
17764 {
17765#ifdef GLX_ATI_pixel_format_float
17766 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
17767 {
17768 ret = GLXEW_ATI_pixel_format_float;
17769 continue;
17770 }
17771#endif
17772#ifdef GLX_ATI_render_texture
17773 if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
17774 {
17775 ret = GLXEW_ATI_render_texture;
17776 continue;
17777 }
17778#endif
17779 }
17780 if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
17781 {
17782#ifdef GLX_EXT_buffer_age
17783 if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_age", 10))
17784 {
17785 ret = GLXEW_EXT_buffer_age;
17786 continue;
17787 }
17788#endif
17789#ifdef GLX_EXT_create_context_es2_profile
17790 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es2_profile", 26))
17791 {
17792 ret = GLXEW_EXT_create_context_es2_profile;
17793 continue;
17794 }
17795#endif
17796#ifdef GLX_EXT_create_context_es_profile
17797 if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es_profile", 25))
17798 {
17799 ret = GLXEW_EXT_create_context_es_profile;
17800 continue;
17801 }
17802#endif
17803#ifdef GLX_EXT_fbconfig_packed_float
17804 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_packed_float", 21))
17805 {
17806 ret = GLXEW_EXT_fbconfig_packed_float;
17807 continue;
17808 }
17809#endif
17810#ifdef GLX_EXT_framebuffer_sRGB
17811 if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
17812 {
17813 ret = GLXEW_EXT_framebuffer_sRGB;
17814 continue;
17815 }
17816#endif
17817#ifdef GLX_EXT_import_context
17818 if (_glewStrSame3(&pos, &len, (const GLubyte*)"import_context", 14))
17819 {
17820 ret = GLXEW_EXT_import_context;
17821 continue;
17822 }
17823#endif
17824#ifdef GLX_EXT_scene_marker
17825 if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
17826 {
17827 ret = GLXEW_EXT_scene_marker;
17828 continue;
17829 }
17830#endif
17831#ifdef GLX_EXT_swap_control
17832 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
17833 {
17834 ret = GLXEW_EXT_swap_control;
17835 continue;
17836 }
17837#endif
17838#ifdef GLX_EXT_swap_control_tear
17839 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control_tear", 17))
17840 {
17841 ret = GLXEW_EXT_swap_control_tear;
17842 continue;
17843 }
17844#endif
17845#ifdef GLX_EXT_texture_from_pixmap
17846 if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_from_pixmap", 19))
17847 {
17848 ret = GLXEW_EXT_texture_from_pixmap;
17849 continue;
17850 }
17851#endif
17852#ifdef GLX_EXT_visual_info
17853 if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_info", 11))
17854 {
17855 ret = GLXEW_EXT_visual_info;
17856 continue;
17857 }
17858#endif
17859#ifdef GLX_EXT_visual_rating
17860 if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_rating", 13))
17861 {
17862 ret = GLXEW_EXT_visual_rating;
17863 continue;
17864 }
17865#endif
17866 }
17867 if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6))
17868 {
17869#ifdef GLX_INTEL_swap_event
17870 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_event", 10))
17871 {
17872 ret = GLXEW_INTEL_swap_event;
17873 continue;
17874 }
17875#endif
17876 }
17877 if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
17878 {
17879#ifdef GLX_MESA_agp_offset
17880 if (_glewStrSame3(&pos, &len, (const GLubyte*)"agp_offset", 10))
17881 {
17882 ret = GLXEW_MESA_agp_offset;
17883 continue;
17884 }
17885#endif
17886#ifdef GLX_MESA_copy_sub_buffer
17887 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_sub_buffer", 15))
17888 {
17889 ret = GLXEW_MESA_copy_sub_buffer;
17890 continue;
17891 }
17892#endif
17893#ifdef GLX_MESA_pixmap_colormap
17894 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixmap_colormap", 15))
17895 {
17896 ret = GLXEW_MESA_pixmap_colormap;
17897 continue;
17898 }
17899#endif
17900#ifdef GLX_MESA_release_buffers
17901 if (_glewStrSame3(&pos, &len, (const GLubyte*)"release_buffers", 15))
17902 {
17903 ret = GLXEW_MESA_release_buffers;
17904 continue;
17905 }
17906#endif
17907#ifdef GLX_MESA_set_3dfx_mode
17908 if (_glewStrSame3(&pos, &len, (const GLubyte*)"set_3dfx_mode", 13))
17909 {
17910 ret = GLXEW_MESA_set_3dfx_mode;
17911 continue;
17912 }
17913#endif
17914#ifdef GLX_MESA_swap_control
17915 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
17916 {
17917 ret = GLXEW_MESA_swap_control;
17918 continue;
17919 }
17920#endif
17921 }
17922 if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
17923 {
17924#ifdef GLX_NV_copy_image
17925 if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
17926 {
17927 ret = GLXEW_NV_copy_image;
17928 continue;
17929 }
17930#endif
17931#ifdef GLX_NV_float_buffer
17932 if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
17933 {
17934 ret = GLXEW_NV_float_buffer;
17935 continue;
17936 }
17937#endif
17938#ifdef GLX_NV_multisample_coverage
17939 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
17940 {
17941 ret = GLXEW_NV_multisample_coverage;
17942 continue;
17943 }
17944#endif
17945#ifdef GLX_NV_present_video
17946 if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
17947 {
17948 ret = GLXEW_NV_present_video;
17949 continue;
17950 }
17951#endif
17952#ifdef GLX_NV_swap_group
17953 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
17954 {
17955 ret = GLXEW_NV_swap_group;
17956 continue;
17957 }
17958#endif
17959#ifdef GLX_NV_vertex_array_range
17960 if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
17961 {
17962 ret = GLXEW_NV_vertex_array_range;
17963 continue;
17964 }
17965#endif
17966#ifdef GLX_NV_video_capture
17967 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13))
17968 {
17969 ret = GLXEW_NV_video_capture;
17970 continue;
17971 }
17972#endif
17973#ifdef GLX_NV_video_output
17974 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_output", 12))
17975 {
17976 ret = GLXEW_NV_video_output;
17977 continue;
17978 }
17979#endif
17980 }
17981 if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
17982 {
17983#ifdef GLX_OML_swap_method
17984 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_method", 11))
17985 {
17986 ret = GLXEW_OML_swap_method;
17987 continue;
17988 }
17989#endif
17990#ifdef GLX_OML_sync_control
17991 if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
17992 {
17993 ret = GLXEW_OML_sync_control;
17994 continue;
17995 }
17996#endif
17997 }
17998 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
17999 {
18000#ifdef GLX_SGIS_blended_overlay
18001 if (_glewStrSame3(&pos, &len, (const GLubyte*)"blended_overlay", 15))
18002 {
18003 ret = GLXEW_SGIS_blended_overlay;
18004 continue;
18005 }
18006#endif
18007#ifdef GLX_SGIS_color_range
18008 if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
18009 {
18010 ret = GLXEW_SGIS_color_range;
18011 continue;
18012 }
18013#endif
18014#ifdef GLX_SGIS_multisample
18015 if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
18016 {
18017 ret = GLXEW_SGIS_multisample;
18018 continue;
18019 }
18020#endif
18021#ifdef GLX_SGIS_shared_multisample
18022 if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_multisample", 18))
18023 {
18024 ret = GLXEW_SGIS_shared_multisample;
18025 continue;
18026 }
18027#endif
18028 }
18029 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
18030 {
18031#ifdef GLX_SGIX_fbconfig
18032 if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig", 8))
18033 {
18034 ret = GLXEW_SGIX_fbconfig;
18035 continue;
18036 }
18037#endif
18038#ifdef GLX_SGIX_hyperpipe
18039 if (_glewStrSame3(&pos, &len, (const GLubyte*)"hyperpipe", 9))
18040 {
18041 ret = GLXEW_SGIX_hyperpipe;
18042 continue;
18043 }
18044#endif
18045#ifdef GLX_SGIX_pbuffer
18046 if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
18047 {
18048 ret = GLXEW_SGIX_pbuffer;
18049 continue;
18050 }
18051#endif
18052#ifdef GLX_SGIX_swap_barrier
18053 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_barrier", 12))
18054 {
18055 ret = GLXEW_SGIX_swap_barrier;
18056 continue;
18057 }
18058#endif
18059#ifdef GLX_SGIX_swap_group
18060 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
18061 {
18062 ret = GLXEW_SGIX_swap_group;
18063 continue;
18064 }
18065#endif
18066#ifdef GLX_SGIX_video_resize
18067 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
18068 {
18069 ret = GLXEW_SGIX_video_resize;
18070 continue;
18071 }
18072#endif
18073#ifdef GLX_SGIX_visual_select_group
18074 if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_select_group", 19))
18075 {
18076 ret = GLXEW_SGIX_visual_select_group;
18077 continue;
18078 }
18079#endif
18080 }
18081 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
18082 {
18083#ifdef GLX_SGI_cushion
18084 if (_glewStrSame3(&pos, &len, (const GLubyte*)"cushion", 7))
18085 {
18086 ret = GLXEW_SGI_cushion;
18087 continue;
18088 }
18089#endif
18090#ifdef GLX_SGI_make_current_read
18091 if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
18092 {
18093 ret = GLXEW_SGI_make_current_read;
18094 continue;
18095 }
18096#endif
18097#ifdef GLX_SGI_swap_control
18098 if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
18099 {
18100 ret = GLXEW_SGI_swap_control;
18101 continue;
18102 }
18103#endif
18104#ifdef GLX_SGI_video_sync
18105 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_sync", 10))
18106 {
18107 ret = GLXEW_SGI_video_sync;
18108 continue;
18109 }
18110#endif
18111 }
18112 if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
18113 {
18114#ifdef GLX_SUN_get_transparent_index
18115 if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_transparent_index", 21))
18116 {
18117 ret = GLXEW_SUN_get_transparent_index;
18118 continue;
18119 }
18120#endif
18121#ifdef GLX_SUN_video_resize
18122 if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
18123 {
18124 ret = GLXEW_SUN_video_resize;
18125 continue;
18126 }
18127#endif
18128 }
18129 }
18130 ret = (len == 0);
18131 }
18132 return ret;
18133}
18134
18135#endif /* _WIN32 */
18136