source: trunk/contrib/glew-1.6.0/include/GL/glew.h @ 794

Last change on this file since 794 was 794, checked in by sam, 9 years ago

contrib: add glew 1.6.0 binaries for Win32.

File size: 784.9 KB
Line 
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/*
33 * Mesa 3-D graphics library
34 * Version:  7.0
35 *
36 * Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
37 *
38 * Permission is hereby granted, free of charge, to any person obtaining a
39 * copy of this software and associated documentation files (the "Software"),
40 * to deal in the Software without restriction, including without limitation
41 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
42 * and/or sell copies of the Software, and to permit persons to whom the
43 * Software is furnished to do so, subject to the following conditions:
44 *
45 * The above copyright notice and this permission notice shall be included
46 * in all copies or substantial portions of the Software.
47 *
48 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
49 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
51 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
52 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
53 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
54 */
55
56/*
57** Copyright (c) 2007 The Khronos Group Inc.
58**
59** Permission is hereby granted, free of charge, to any person obtaining a
60** copy of this software and/or associated documentation files (the
61** "Materials"), to deal in the Materials without restriction, including
62** without limitation the rights to use, copy, modify, merge, publish,
63** distribute, sublicense, and/or sell copies of the Materials, and to
64** permit persons to whom the Materials are furnished to do so, subject to
65** the following conditions:
66**
67** The above copyright notice and this permission notice shall be included
68** in all copies or substantial portions of the Materials.
69**
70** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
71** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
72** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
73** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
74** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
75** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
76** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
77*/
78
79#ifndef __glew_h__
80#define __glew_h__
81#define __GLEW_H__
82
83#if defined(__gl_h_) || defined(__GL_H__) || defined(__X_GL_H)
84#error gl.h included before glew.h
85#endif
86#if defined(__glext_h_) || defined(__GLEXT_H_)
87#error glext.h included before glew.h
88#endif
89#if defined(__gl_ATI_h_)
90#error glATI.h included before glew.h
91#endif
92
93#define __gl_h_
94#define __GL_H__
95#define __X_GL_H
96#define __glext_h_
97#define __GLEXT_H_
98#define __gl_ATI_h_
99
100#if defined(_WIN32)
101
102/*
103 * GLEW does not include <windows.h> to avoid name space pollution.
104 * GL needs GLAPI and GLAPIENTRY, GLU needs APIENTRY, CALLBACK, and wchar_t
105 * defined properly.
106 */
107/* <windef.h> */
108#ifndef APIENTRY
109#define GLEW_APIENTRY_DEFINED
110#  if defined(__MINGW32__) || defined(__CYGWIN__)
111#    define APIENTRY __stdcall
112#  elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__)
113#    define APIENTRY __stdcall
114#  else
115#    define APIENTRY
116#  endif
117#endif
118#ifndef GLAPI
119#  if defined(__MINGW32__) || defined(__CYGWIN__)
120#    define GLAPI extern
121#  endif
122#endif
123/* <winnt.h> */
124#ifndef CALLBACK
125#define GLEW_CALLBACK_DEFINED
126#  if defined(__MINGW32__) || defined(__CYGWIN__)
127#    define CALLBACK __attribute__ ((__stdcall__))
128#  elif (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS)
129#    define CALLBACK __stdcall
130#  else
131#    define CALLBACK
132#  endif
133#endif
134/* <wingdi.h> and <winnt.h> */
135#ifndef WINGDIAPI
136#define GLEW_WINGDIAPI_DEFINED
137#define WINGDIAPI __declspec(dllimport)
138#endif
139/* <ctype.h> */
140#if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED)
141typedef unsigned short wchar_t;
142#  define _WCHAR_T_DEFINED
143#endif
144/* <stddef.h> */
145#if !defined(_W64)
146#  if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && defined(_MSC_VER) && _MSC_VER >= 1300
147#    define _W64 __w64
148#  else
149#    define _W64
150#  endif
151#endif
152#if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) && !defined(__MINGW64__)
153#  ifdef _WIN64
154typedef __int64 ptrdiff_t;
155#  else
156typedef _W64 int ptrdiff_t;
157#  endif
158#  define _PTRDIFF_T_DEFINED
159#  define _PTRDIFF_T_
160#endif
161
162#ifndef GLAPI
163#  if defined(__MINGW32__) || defined(__CYGWIN__)
164#    define GLAPI extern
165#  else
166#    define GLAPI WINGDIAPI
167#  endif
168#endif
169
170#ifndef GLAPIENTRY
171#define GLAPIENTRY APIENTRY
172#endif
173
174/*
175 * GLEW_STATIC is defined for static library.
176 * GLEW_BUILD  is defined for building the DLL library.
177 */
178
179#ifdef GLEW_STATIC
180#  define GLEWAPI extern
181#else
182#  ifdef GLEW_BUILD
183#    define GLEWAPI extern __declspec(dllexport)
184#  else
185#    define GLEWAPI extern __declspec(dllimport)
186#  endif
187#endif
188
189#else /* _UNIX */
190
191/*
192 * Needed for ptrdiff_t in turn needed by VBO.  This is defined by ISO
193 * C.  On my system, this amounts to _3 lines_ of included code, all of
194 * them pretty much harmless.  If you know of a way of detecting 32 vs
195 * 64 _targets_ at compile time you are free to replace this with
196 * something that's portable.  For now, _this_ is the portable solution.
197 * (mem, 2004-01-04)
198 */
199
200#include <stddef.h>
201
202/* SGI MIPSPro doesn't like stdint.h in C++ mode */
203
204#if defined(__sgi) && !defined(__GNUC__)
205#include <inttypes.h>
206#else
207#include <stdint.h>
208#endif
209
210#define GLEW_APIENTRY_DEFINED
211#define APIENTRY
212
213/*
214 * GLEW_STATIC is defined for static library.
215 */
216
217#ifdef GLEW_STATIC
218#  define GLEWAPI extern
219#else
220#  if defined(__GNUC__) && __GNUC__>=4
221#   define GLEWAPI extern __attribute__ ((visibility("default")))
222#  elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
223#   define GLEWAPI extern __global
224#  else
225#   define GLEWAPI extern
226#  endif
227#endif
228
229/* <glu.h> */
230#ifndef GLAPI
231#define GLAPI extern
232#endif
233#ifndef GLAPIENTRY
234#define GLAPIENTRY
235#endif
236
237#endif /* _WIN32 */
238
239#ifdef __cplusplus
240extern "C" {
241#endif
242
243/* ----------------------------- GL_VERSION_1_1 ---------------------------- */
244
245#ifndef GL_VERSION_1_1
246#define GL_VERSION_1_1 1
247
248typedef unsigned int GLenum;
249typedef unsigned int GLbitfield;
250typedef unsigned int GLuint;
251typedef int GLint;
252typedef int GLsizei;
253typedef unsigned char GLboolean;
254typedef signed char GLbyte;
255typedef short GLshort;
256typedef unsigned char GLubyte;
257typedef unsigned short GLushort;
258typedef unsigned long GLulong;
259typedef float GLfloat;
260typedef float GLclampf;
261typedef double GLdouble;
262typedef double GLclampd;
263typedef void GLvoid;
264#if defined(_MSC_VER) && _MSC_VER < 1400
265typedef __int64 GLint64EXT;
266typedef unsigned __int64 GLuint64EXT;
267#elif defined(_MSC_VER) || defined(__BORLANDC__)
268typedef signed long long GLint64EXT;
269typedef unsigned long long GLuint64EXT;
270#else
271#  if defined(__MINGW32__) || defined(__CYGWIN__)
272#include <inttypes.h>
273#  endif
274typedef int64_t GLint64EXT;
275typedef uint64_t GLuint64EXT;
276#endif
277typedef GLint64EXT  GLint64;
278typedef GLuint64EXT GLuint64;
279typedef struct __GLsync *GLsync;
280
281typedef char GLchar;
282
283#define GL_ZERO 0
284#define GL_FALSE 0
285#define GL_LOGIC_OP 0x0BF1
286#define GL_NONE 0
287#define GL_TEXTURE_COMPONENTS 0x1003
288#define GL_NO_ERROR 0
289#define GL_POINTS 0x0000
290#define GL_CURRENT_BIT 0x00000001
291#define GL_TRUE 1
292#define GL_ONE 1
293#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
294#define GL_LINES 0x0001
295#define GL_LINE_LOOP 0x0002
296#define GL_POINT_BIT 0x00000002
297#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
298#define GL_LINE_STRIP 0x0003
299#define GL_LINE_BIT 0x00000004
300#define GL_TRIANGLES 0x0004
301#define GL_TRIANGLE_STRIP 0x0005
302#define GL_TRIANGLE_FAN 0x0006
303#define GL_QUADS 0x0007
304#define GL_QUAD_STRIP 0x0008
305#define GL_POLYGON_BIT 0x00000008
306#define GL_POLYGON 0x0009
307#define GL_POLYGON_STIPPLE_BIT 0x00000010
308#define GL_PIXEL_MODE_BIT 0x00000020
309#define GL_LIGHTING_BIT 0x00000040
310#define GL_FOG_BIT 0x00000080
311#define GL_DEPTH_BUFFER_BIT 0x00000100
312#define GL_ACCUM 0x0100
313#define GL_LOAD 0x0101
314#define GL_RETURN 0x0102
315#define GL_MULT 0x0103
316#define GL_ADD 0x0104
317#define GL_NEVER 0x0200
318#define GL_ACCUM_BUFFER_BIT 0x00000200
319#define GL_LESS 0x0201
320#define GL_EQUAL 0x0202
321#define GL_LEQUAL 0x0203
322#define GL_GREATER 0x0204
323#define GL_NOTEQUAL 0x0205
324#define GL_GEQUAL 0x0206
325#define GL_ALWAYS 0x0207
326#define GL_SRC_COLOR 0x0300
327#define GL_ONE_MINUS_SRC_COLOR 0x0301
328#define GL_SRC_ALPHA 0x0302
329#define GL_ONE_MINUS_SRC_ALPHA 0x0303
330#define GL_DST_ALPHA 0x0304
331#define GL_ONE_MINUS_DST_ALPHA 0x0305
332#define GL_DST_COLOR 0x0306
333#define GL_ONE_MINUS_DST_COLOR 0x0307
334#define GL_SRC_ALPHA_SATURATE 0x0308
335#define GL_STENCIL_BUFFER_BIT 0x00000400
336#define GL_FRONT_LEFT 0x0400
337#define GL_FRONT_RIGHT 0x0401
338#define GL_BACK_LEFT 0x0402
339#define GL_BACK_RIGHT 0x0403
340#define GL_FRONT 0x0404
341#define GL_BACK 0x0405
342#define GL_LEFT 0x0406
343#define GL_RIGHT 0x0407
344#define GL_FRONT_AND_BACK 0x0408
345#define GL_AUX0 0x0409
346#define GL_AUX1 0x040A
347#define GL_AUX2 0x040B
348#define GL_AUX3 0x040C
349#define GL_INVALID_ENUM 0x0500
350#define GL_INVALID_VALUE 0x0501
351#define GL_INVALID_OPERATION 0x0502
352#define GL_STACK_OVERFLOW 0x0503
353#define GL_STACK_UNDERFLOW 0x0504
354#define GL_OUT_OF_MEMORY 0x0505
355#define GL_2D 0x0600
356#define GL_3D 0x0601
357#define GL_3D_COLOR 0x0602
358#define GL_3D_COLOR_TEXTURE 0x0603
359#define GL_4D_COLOR_TEXTURE 0x0604
360#define GL_PASS_THROUGH_TOKEN 0x0700
361#define GL_POINT_TOKEN 0x0701
362#define GL_LINE_TOKEN 0x0702
363#define GL_POLYGON_TOKEN 0x0703
364#define GL_BITMAP_TOKEN 0x0704
365#define GL_DRAW_PIXEL_TOKEN 0x0705
366#define GL_COPY_PIXEL_TOKEN 0x0706
367#define GL_LINE_RESET_TOKEN 0x0707
368#define GL_EXP 0x0800
369#define GL_VIEWPORT_BIT 0x00000800
370#define GL_EXP2 0x0801
371#define GL_CW 0x0900
372#define GL_CCW 0x0901
373#define GL_COEFF 0x0A00
374#define GL_ORDER 0x0A01
375#define GL_DOMAIN 0x0A02
376#define GL_CURRENT_COLOR 0x0B00
377#define GL_CURRENT_INDEX 0x0B01
378#define GL_CURRENT_NORMAL 0x0B02
379#define GL_CURRENT_TEXTURE_COORDS 0x0B03
380#define GL_CURRENT_RASTER_COLOR 0x0B04
381#define GL_CURRENT_RASTER_INDEX 0x0B05
382#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
383#define GL_CURRENT_RASTER_POSITION 0x0B07
384#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
385#define GL_CURRENT_RASTER_DISTANCE 0x0B09
386#define GL_POINT_SMOOTH 0x0B10
387#define GL_POINT_SIZE 0x0B11
388#define GL_POINT_SIZE_RANGE 0x0B12
389#define GL_POINT_SIZE_GRANULARITY 0x0B13
390#define GL_LINE_SMOOTH 0x0B20
391#define GL_LINE_WIDTH 0x0B21
392#define GL_LINE_WIDTH_RANGE 0x0B22
393#define GL_LINE_WIDTH_GRANULARITY 0x0B23
394#define GL_LINE_STIPPLE 0x0B24
395#define GL_LINE_STIPPLE_PATTERN 0x0B25
396#define GL_LINE_STIPPLE_REPEAT 0x0B26
397#define GL_LIST_MODE 0x0B30
398#define GL_MAX_LIST_NESTING 0x0B31
399#define GL_LIST_BASE 0x0B32
400#define GL_LIST_INDEX 0x0B33
401#define GL_POLYGON_MODE 0x0B40
402#define GL_POLYGON_SMOOTH 0x0B41
403#define GL_POLYGON_STIPPLE 0x0B42
404#define GL_EDGE_FLAG 0x0B43
405#define GL_CULL_FACE 0x0B44
406#define GL_CULL_FACE_MODE 0x0B45
407#define GL_FRONT_FACE 0x0B46
408#define GL_LIGHTING 0x0B50
409#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
410#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
411#define GL_LIGHT_MODEL_AMBIENT 0x0B53
412#define GL_SHADE_MODEL 0x0B54
413#define GL_COLOR_MATERIAL_FACE 0x0B55
414#define GL_COLOR_MATERIAL_PARAMETER 0x0B56
415#define GL_COLOR_MATERIAL 0x0B57
416#define GL_FOG 0x0B60
417#define GL_FOG_INDEX 0x0B61
418#define GL_FOG_DENSITY 0x0B62
419#define GL_FOG_START 0x0B63
420#define GL_FOG_END 0x0B64
421#define GL_FOG_MODE 0x0B65
422#define GL_FOG_COLOR 0x0B66
423#define GL_DEPTH_RANGE 0x0B70
424#define GL_DEPTH_TEST 0x0B71
425#define GL_DEPTH_WRITEMASK 0x0B72
426#define GL_DEPTH_CLEAR_VALUE 0x0B73
427#define GL_DEPTH_FUNC 0x0B74
428#define GL_ACCUM_CLEAR_VALUE 0x0B80
429#define GL_STENCIL_TEST 0x0B90
430#define GL_STENCIL_CLEAR_VALUE 0x0B91
431#define GL_STENCIL_FUNC 0x0B92
432#define GL_STENCIL_VALUE_MASK 0x0B93
433#define GL_STENCIL_FAIL 0x0B94
434#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
435#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
436#define GL_STENCIL_REF 0x0B97
437#define GL_STENCIL_WRITEMASK 0x0B98
438#define GL_MATRIX_MODE 0x0BA0
439#define GL_NORMALIZE 0x0BA1
440#define GL_VIEWPORT 0x0BA2
441#define GL_MODELVIEW_STACK_DEPTH 0x0BA3
442#define GL_PROJECTION_STACK_DEPTH 0x0BA4
443#define GL_TEXTURE_STACK_DEPTH 0x0BA5
444#define GL_MODELVIEW_MATRIX 0x0BA6
445#define GL_PROJECTION_MATRIX 0x0BA7
446#define GL_TEXTURE_MATRIX 0x0BA8
447#define GL_ATTRIB_STACK_DEPTH 0x0BB0
448#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
449#define GL_ALPHA_TEST 0x0BC0
450#define GL_ALPHA_TEST_FUNC 0x0BC1
451#define GL_ALPHA_TEST_REF 0x0BC2
452#define GL_DITHER 0x0BD0
453#define GL_BLEND_DST 0x0BE0
454#define GL_BLEND_SRC 0x0BE1
455#define GL_BLEND 0x0BE2
456#define GL_LOGIC_OP_MODE 0x0BF0
457#define GL_INDEX_LOGIC_OP 0x0BF1
458#define GL_COLOR_LOGIC_OP 0x0BF2
459#define GL_AUX_BUFFERS 0x0C00
460#define GL_DRAW_BUFFER 0x0C01
461#define GL_READ_BUFFER 0x0C02
462#define GL_SCISSOR_BOX 0x0C10
463#define GL_SCISSOR_TEST 0x0C11
464#define GL_INDEX_CLEAR_VALUE 0x0C20
465#define GL_INDEX_WRITEMASK 0x0C21
466#define GL_COLOR_CLEAR_VALUE 0x0C22
467#define GL_COLOR_WRITEMASK 0x0C23
468#define GL_INDEX_MODE 0x0C30
469#define GL_RGBA_MODE 0x0C31
470#define GL_DOUBLEBUFFER 0x0C32
471#define GL_STEREO 0x0C33
472#define GL_RENDER_MODE 0x0C40
473#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
474#define GL_POINT_SMOOTH_HINT 0x0C51
475#define GL_LINE_SMOOTH_HINT 0x0C52
476#define GL_POLYGON_SMOOTH_HINT 0x0C53
477#define GL_FOG_HINT 0x0C54
478#define GL_TEXTURE_GEN_S 0x0C60
479#define GL_TEXTURE_GEN_T 0x0C61
480#define GL_TEXTURE_GEN_R 0x0C62
481#define GL_TEXTURE_GEN_Q 0x0C63
482#define GL_PIXEL_MAP_I_TO_I 0x0C70
483#define GL_PIXEL_MAP_S_TO_S 0x0C71
484#define GL_PIXEL_MAP_I_TO_R 0x0C72
485#define GL_PIXEL_MAP_I_TO_G 0x0C73
486#define GL_PIXEL_MAP_I_TO_B 0x0C74
487#define GL_PIXEL_MAP_I_TO_A 0x0C75
488#define GL_PIXEL_MAP_R_TO_R 0x0C76
489#define GL_PIXEL_MAP_G_TO_G 0x0C77
490#define GL_PIXEL_MAP_B_TO_B 0x0C78
491#define GL_PIXEL_MAP_A_TO_A 0x0C79
492#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
493#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
494#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
495#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
496#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
497#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
498#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
499#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
500#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
501#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
502#define GL_UNPACK_SWAP_BYTES 0x0CF0
503#define GL_UNPACK_LSB_FIRST 0x0CF1
504#define GL_UNPACK_ROW_LENGTH 0x0CF2
505#define GL_UNPACK_SKIP_ROWS 0x0CF3
506#define GL_UNPACK_SKIP_PIXELS 0x0CF4
507#define GL_UNPACK_ALIGNMENT 0x0CF5
508#define GL_PACK_SWAP_BYTES 0x0D00
509#define GL_PACK_LSB_FIRST 0x0D01
510#define GL_PACK_ROW_LENGTH 0x0D02
511#define GL_PACK_SKIP_ROWS 0x0D03
512#define GL_PACK_SKIP_PIXELS 0x0D04
513#define GL_PACK_ALIGNMENT 0x0D05
514#define GL_MAP_COLOR 0x0D10
515#define GL_MAP_STENCIL 0x0D11
516#define GL_INDEX_SHIFT 0x0D12
517#define GL_INDEX_OFFSET 0x0D13
518#define GL_RED_SCALE 0x0D14
519#define GL_RED_BIAS 0x0D15
520#define GL_ZOOM_X 0x0D16
521#define GL_ZOOM_Y 0x0D17
522#define GL_GREEN_SCALE 0x0D18
523#define GL_GREEN_BIAS 0x0D19
524#define GL_BLUE_SCALE 0x0D1A
525#define GL_BLUE_BIAS 0x0D1B
526#define GL_ALPHA_SCALE 0x0D1C
527#define GL_ALPHA_BIAS 0x0D1D
528#define GL_DEPTH_SCALE 0x0D1E
529#define GL_DEPTH_BIAS 0x0D1F
530#define GL_MAX_EVAL_ORDER 0x0D30
531#define GL_MAX_LIGHTS 0x0D31
532#define GL_MAX_CLIP_PLANES 0x0D32
533#define GL_MAX_TEXTURE_SIZE 0x0D33
534#define GL_MAX_PIXEL_MAP_TABLE 0x0D34
535#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
536#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
537#define GL_MAX_NAME_STACK_DEPTH 0x0D37
538#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
539#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
540#define GL_MAX_VIEWPORT_DIMS 0x0D3A
541#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
542#define GL_SUBPIXEL_BITS 0x0D50
543#define GL_INDEX_BITS 0x0D51
544#define GL_RED_BITS 0x0D52
545#define GL_GREEN_BITS 0x0D53
546#define GL_BLUE_BITS 0x0D54
547#define GL_ALPHA_BITS 0x0D55
548#define GL_DEPTH_BITS 0x0D56
549#define GL_STENCIL_BITS 0x0D57
550#define GL_ACCUM_RED_BITS 0x0D58
551#define GL_ACCUM_GREEN_BITS 0x0D59
552#define GL_ACCUM_BLUE_BITS 0x0D5A
553#define GL_ACCUM_ALPHA_BITS 0x0D5B
554#define GL_NAME_STACK_DEPTH 0x0D70
555#define GL_AUTO_NORMAL 0x0D80
556#define GL_MAP1_COLOR_4 0x0D90
557#define GL_MAP1_INDEX 0x0D91
558#define GL_MAP1_NORMAL 0x0D92
559#define GL_MAP1_TEXTURE_COORD_1 0x0D93
560#define GL_MAP1_TEXTURE_COORD_2 0x0D94
561#define GL_MAP1_TEXTURE_COORD_3 0x0D95
562#define GL_MAP1_TEXTURE_COORD_4 0x0D96
563#define GL_MAP1_VERTEX_3 0x0D97
564#define GL_MAP1_VERTEX_4 0x0D98
565#define GL_MAP2_COLOR_4 0x0DB0
566#define GL_MAP2_INDEX 0x0DB1
567#define GL_MAP2_NORMAL 0x0DB2
568#define GL_MAP2_TEXTURE_COORD_1 0x0DB3
569#define GL_MAP2_TEXTURE_COORD_2 0x0DB4
570#define GL_MAP2_TEXTURE_COORD_3 0x0DB5
571#define GL_MAP2_TEXTURE_COORD_4 0x0DB6
572#define GL_MAP2_VERTEX_3 0x0DB7
573#define GL_MAP2_VERTEX_4 0x0DB8
574#define GL_MAP1_GRID_DOMAIN 0x0DD0
575#define GL_MAP1_GRID_SEGMENTS 0x0DD1
576#define GL_MAP2_GRID_DOMAIN 0x0DD2
577#define GL_MAP2_GRID_SEGMENTS 0x0DD3
578#define GL_TEXTURE_1D 0x0DE0
579#define GL_TEXTURE_2D 0x0DE1
580#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
581#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
582#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
583#define GL_SELECTION_BUFFER_POINTER 0x0DF3
584#define GL_SELECTION_BUFFER_SIZE 0x0DF4
585#define GL_TEXTURE_WIDTH 0x1000
586#define GL_TRANSFORM_BIT 0x00001000
587#define GL_TEXTURE_HEIGHT 0x1001
588#define GL_TEXTURE_INTERNAL_FORMAT 0x1003
589#define GL_TEXTURE_BORDER_COLOR 0x1004
590#define GL_TEXTURE_BORDER 0x1005
591#define GL_DONT_CARE 0x1100
592#define GL_FASTEST 0x1101
593#define GL_NICEST 0x1102
594#define GL_AMBIENT 0x1200
595#define GL_DIFFUSE 0x1201
596#define GL_SPECULAR 0x1202
597#define GL_POSITION 0x1203
598#define GL_SPOT_DIRECTION 0x1204
599#define GL_SPOT_EXPONENT 0x1205
600#define GL_SPOT_CUTOFF 0x1206
601#define GL_CONSTANT_ATTENUATION 0x1207
602#define GL_LINEAR_ATTENUATION 0x1208
603#define GL_QUADRATIC_ATTENUATION 0x1209
604#define GL_COMPILE 0x1300
605#define GL_COMPILE_AND_EXECUTE 0x1301
606#define GL_BYTE 0x1400
607#define GL_UNSIGNED_BYTE 0x1401
608#define GL_SHORT 0x1402
609#define GL_UNSIGNED_SHORT 0x1403
610#define GL_INT 0x1404
611#define GL_UNSIGNED_INT 0x1405
612#define GL_FLOAT 0x1406
613#define GL_2_BYTES 0x1407
614#define GL_3_BYTES 0x1408
615#define GL_4_BYTES 0x1409
616#define GL_DOUBLE 0x140A
617#define GL_CLEAR 0x1500
618#define GL_AND 0x1501
619#define GL_AND_REVERSE 0x1502
620#define GL_COPY 0x1503
621#define GL_AND_INVERTED 0x1504
622#define GL_NOOP 0x1505
623#define GL_XOR 0x1506
624#define GL_OR 0x1507
625#define GL_NOR 0x1508
626#define GL_EQUIV 0x1509
627#define GL_INVERT 0x150A
628#define GL_OR_REVERSE 0x150B
629#define GL_COPY_INVERTED 0x150C
630#define GL_OR_INVERTED 0x150D
631#define GL_NAND 0x150E
632#define GL_SET 0x150F
633#define GL_EMISSION 0x1600
634#define GL_SHININESS 0x1601
635#define GL_AMBIENT_AND_DIFFUSE 0x1602
636#define GL_COLOR_INDEXES 0x1603
637#define GL_MODELVIEW 0x1700
638#define GL_PROJECTION 0x1701
639#define GL_TEXTURE 0x1702
640#define GL_COLOR 0x1800
641#define GL_DEPTH 0x1801
642#define GL_STENCIL 0x1802
643#define GL_COLOR_INDEX 0x1900
644#define GL_STENCIL_INDEX 0x1901
645#define GL_DEPTH_COMPONENT 0x1902
646#define GL_RED 0x1903
647#define GL_GREEN 0x1904
648#define GL_BLUE 0x1905
649#define GL_ALPHA 0x1906
650#define GL_RGB 0x1907
651#define GL_RGBA 0x1908
652#define GL_LUMINANCE 0x1909
653#define GL_LUMINANCE_ALPHA 0x190A
654#define GL_BITMAP 0x1A00
655#define GL_POINT 0x1B00
656#define GL_LINE 0x1B01
657#define GL_FILL 0x1B02
658#define GL_RENDER 0x1C00
659#define GL_FEEDBACK 0x1C01
660#define GL_SELECT 0x1C02
661#define GL_FLAT 0x1D00
662#define GL_SMOOTH 0x1D01
663#define GL_KEEP 0x1E00
664#define GL_REPLACE 0x1E01
665#define GL_INCR 0x1E02
666#define GL_DECR 0x1E03
667#define GL_VENDOR 0x1F00
668#define GL_RENDERER 0x1F01
669#define GL_VERSION 0x1F02
670#define GL_EXTENSIONS 0x1F03
671#define GL_S 0x2000
672#define GL_ENABLE_BIT 0x00002000
673#define GL_T 0x2001
674#define GL_R 0x2002
675#define GL_Q 0x2003
676#define GL_MODULATE 0x2100
677#define GL_DECAL 0x2101
678#define GL_TEXTURE_ENV_MODE 0x2200
679#define GL_TEXTURE_ENV_COLOR 0x2201
680#define GL_TEXTURE_ENV 0x2300
681#define GL_EYE_LINEAR 0x2400
682#define GL_OBJECT_LINEAR 0x2401
683#define GL_SPHERE_MAP 0x2402
684#define GL_TEXTURE_GEN_MODE 0x2500
685#define GL_OBJECT_PLANE 0x2501
686#define GL_EYE_PLANE 0x2502
687#define GL_NEAREST 0x2600
688#define GL_LINEAR 0x2601
689#define GL_NEAREST_MIPMAP_NEAREST 0x2700
690#define GL_LINEAR_MIPMAP_NEAREST 0x2701
691#define GL_NEAREST_MIPMAP_LINEAR 0x2702
692#define GL_LINEAR_MIPMAP_LINEAR 0x2703
693#define GL_TEXTURE_MAG_FILTER 0x2800
694#define GL_TEXTURE_MIN_FILTER 0x2801
695#define GL_TEXTURE_WRAP_S 0x2802
696#define GL_TEXTURE_WRAP_T 0x2803
697#define GL_CLAMP 0x2900
698#define GL_REPEAT 0x2901
699#define GL_POLYGON_OFFSET_UNITS 0x2A00
700#define GL_POLYGON_OFFSET_POINT 0x2A01
701#define GL_POLYGON_OFFSET_LINE 0x2A02
702#define GL_R3_G3_B2 0x2A10
703#define GL_V2F 0x2A20
704#define GL_V3F 0x2A21
705#define GL_C4UB_V2F 0x2A22
706#define GL_C4UB_V3F 0x2A23
707#define GL_C3F_V3F 0x2A24
708#define GL_N3F_V3F 0x2A25
709#define GL_C4F_N3F_V3F 0x2A26
710#define GL_T2F_V3F 0x2A27
711#define GL_T4F_V4F 0x2A28
712#define GL_T2F_C4UB_V3F 0x2A29
713#define GL_T2F_C3F_V3F 0x2A2A
714#define GL_T2F_N3F_V3F 0x2A2B
715#define GL_T2F_C4F_N3F_V3F 0x2A2C
716#define GL_T4F_C4F_N3F_V4F 0x2A2D
717#define GL_CLIP_PLANE0 0x3000
718#define GL_CLIP_PLANE1 0x3001
719#define GL_CLIP_PLANE2 0x3002
720#define GL_CLIP_PLANE3 0x3003
721#define GL_CLIP_PLANE4 0x3004
722#define GL_CLIP_PLANE5 0x3005
723#define GL_LIGHT0 0x4000
724#define GL_COLOR_BUFFER_BIT 0x00004000
725#define GL_LIGHT1 0x4001
726#define GL_LIGHT2 0x4002
727#define GL_LIGHT3 0x4003
728#define GL_LIGHT4 0x4004
729#define GL_LIGHT5 0x4005
730#define GL_LIGHT6 0x4006
731#define GL_LIGHT7 0x4007
732#define GL_HINT_BIT 0x00008000
733#define GL_POLYGON_OFFSET_FILL 0x8037
734#define GL_POLYGON_OFFSET_FACTOR 0x8038
735#define GL_ALPHA4 0x803B
736#define GL_ALPHA8 0x803C
737#define GL_ALPHA12 0x803D
738#define GL_ALPHA16 0x803E
739#define GL_LUMINANCE4 0x803F
740#define GL_LUMINANCE8 0x8040
741#define GL_LUMINANCE12 0x8041
742#define GL_LUMINANCE16 0x8042
743#define GL_LUMINANCE4_ALPHA4 0x8043
744#define GL_LUMINANCE6_ALPHA2 0x8044
745#define GL_LUMINANCE8_ALPHA8 0x8045
746#define GL_LUMINANCE12_ALPHA4 0x8046
747#define GL_LUMINANCE12_ALPHA12 0x8047
748#define GL_LUMINANCE16_ALPHA16 0x8048
749#define GL_INTENSITY 0x8049
750#define GL_INTENSITY4 0x804A
751#define GL_INTENSITY8 0x804B
752#define GL_INTENSITY12 0x804C
753#define GL_INTENSITY16 0x804D
754#define GL_RGB4 0x804F
755#define GL_RGB5 0x8050
756#define GL_RGB8 0x8051
757#define GL_RGB10 0x8052
758#define GL_RGB12 0x8053
759#define GL_RGB16 0x8054
760#define GL_RGBA2 0x8055
761#define GL_RGBA4 0x8056
762#define GL_RGB5_A1 0x8057
763#define GL_RGBA8 0x8058
764#define GL_RGB10_A2 0x8059
765#define GL_RGBA12 0x805A
766#define GL_RGBA16 0x805B
767#define GL_TEXTURE_RED_SIZE 0x805C
768#define GL_TEXTURE_GREEN_SIZE 0x805D
769#define GL_TEXTURE_BLUE_SIZE 0x805E
770#define GL_TEXTURE_ALPHA_SIZE 0x805F
771#define GL_TEXTURE_LUMINANCE_SIZE 0x8060
772#define GL_TEXTURE_INTENSITY_SIZE 0x8061
773#define GL_PROXY_TEXTURE_1D 0x8063
774#define GL_PROXY_TEXTURE_2D 0x8064
775#define GL_TEXTURE_PRIORITY 0x8066
776#define GL_TEXTURE_RESIDENT 0x8067
777#define GL_TEXTURE_BINDING_1D 0x8068
778#define GL_TEXTURE_BINDING_2D 0x8069
779#define GL_VERTEX_ARRAY 0x8074
780#define GL_NORMAL_ARRAY 0x8075
781#define GL_COLOR_ARRAY 0x8076
782#define GL_INDEX_ARRAY 0x8077
783#define GL_TEXTURE_COORD_ARRAY 0x8078
784#define GL_EDGE_FLAG_ARRAY 0x8079
785#define GL_VERTEX_ARRAY_SIZE 0x807A
786#define GL_VERTEX_ARRAY_TYPE 0x807B
787#define GL_VERTEX_ARRAY_STRIDE 0x807C
788#define GL_NORMAL_ARRAY_TYPE 0x807E
789#define GL_NORMAL_ARRAY_STRIDE 0x807F
790#define GL_COLOR_ARRAY_SIZE 0x8081
791#define GL_COLOR_ARRAY_TYPE 0x8082
792#define GL_COLOR_ARRAY_STRIDE 0x8083
793#define GL_INDEX_ARRAY_TYPE 0x8085
794#define GL_INDEX_ARRAY_STRIDE 0x8086
795#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
796#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
797#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
798#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
799#define GL_VERTEX_ARRAY_POINTER 0x808E
800#define GL_NORMAL_ARRAY_POINTER 0x808F
801#define GL_COLOR_ARRAY_POINTER 0x8090
802#define GL_INDEX_ARRAY_POINTER 0x8091
803#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
804#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
805#define GL_COLOR_INDEX1_EXT 0x80E2
806#define GL_COLOR_INDEX2_EXT 0x80E3
807#define GL_COLOR_INDEX4_EXT 0x80E4
808#define GL_COLOR_INDEX8_EXT 0x80E5
809#define GL_COLOR_INDEX12_EXT 0x80E6
810#define GL_COLOR_INDEX16_EXT 0x80E7
811#define GL_EVAL_BIT 0x00010000
812#define GL_LIST_BIT 0x00020000
813#define GL_TEXTURE_BIT 0x00040000
814#define GL_SCISSOR_BIT 0x00080000
815#define GL_ALL_ATTRIB_BITS 0x000fffff
816#define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff
817
818GLAPI void GLAPIENTRY glAccum (GLenum op, GLfloat value);
819GLAPI void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref);
820GLAPI GLboolean GLAPIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
821GLAPI void GLAPIENTRY glArrayElement (GLint i);
822GLAPI void GLAPIENTRY glBegin (GLenum mode);
823GLAPI void GLAPIENTRY glBindTexture (GLenum target, GLuint texture);
824GLAPI void GLAPIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
825GLAPI void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
826GLAPI void GLAPIENTRY glCallList (GLuint list);
827GLAPI void GLAPIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
828GLAPI void GLAPIENTRY glClear (GLbitfield mask);
829GLAPI void GLAPIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
830GLAPI void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
831GLAPI void GLAPIENTRY glClearDepth (GLclampd depth);
832GLAPI void GLAPIENTRY glClearIndex (GLfloat c);
833GLAPI void GLAPIENTRY glClearStencil (GLint s);
834GLAPI void GLAPIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
835GLAPI void GLAPIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
836GLAPI void GLAPIENTRY glColor3bv (const GLbyte *v);
837GLAPI void GLAPIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
838GLAPI void GLAPIENTRY glColor3dv (const GLdouble *v);
839GLAPI void GLAPIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
840GLAPI void GLAPIENTRY glColor3fv (const GLfloat *v);
841GLAPI void GLAPIENTRY glColor3i (GLint red, GLint green, GLint blue);
842GLAPI void GLAPIENTRY glColor3iv (const GLint *v);
843GLAPI void GLAPIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
844GLAPI void GLAPIENTRY glColor3sv (const GLshort *v);
845GLAPI void GLAPIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
846GLAPI void GLAPIENTRY glColor3ubv (const GLubyte *v);
847GLAPI void GLAPIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
848GLAPI void GLAPIENTRY glColor3uiv (const GLuint *v);
849GLAPI void GLAPIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
850GLAPI void GLAPIENTRY glColor3usv (const GLushort *v);
851GLAPI void GLAPIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
852GLAPI void GLAPIENTRY glColor4bv (const GLbyte *v);
853GLAPI void GLAPIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
854GLAPI void GLAPIENTRY glColor4dv (const GLdouble *v);
855GLAPI void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
856GLAPI void GLAPIENTRY glColor4fv (const GLfloat *v);
857GLAPI void GLAPIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
858GLAPI void GLAPIENTRY glColor4iv (const GLint *v);
859GLAPI void GLAPIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
860GLAPI void GLAPIENTRY glColor4sv (const GLshort *v);
861GLAPI void GLAPIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
862GLAPI void GLAPIENTRY glColor4ubv (const GLubyte *v);
863GLAPI void GLAPIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
864GLAPI void GLAPIENTRY glColor4uiv (const GLuint *v);
865GLAPI void GLAPIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
866GLAPI void GLAPIENTRY glColor4usv (const GLushort *v);
867GLAPI void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
868GLAPI void GLAPIENTRY glColorMaterial (GLenum face, GLenum mode);
869GLAPI void GLAPIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
870GLAPI void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
871GLAPI void GLAPIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
872GLAPI void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
873GLAPI void GLAPIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
874GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
875GLAPI void GLAPIENTRY glCullFace (GLenum mode);
876GLAPI void GLAPIENTRY glDeleteLists (GLuint list, GLsizei range);
877GLAPI void GLAPIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
878GLAPI void GLAPIENTRY glDepthFunc (GLenum func);
879GLAPI void GLAPIENTRY glDepthMask (GLboolean flag);
880GLAPI void GLAPIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
881GLAPI void GLAPIENTRY glDisable (GLenum cap);
882GLAPI void GLAPIENTRY glDisableClientState (GLenum array);
883GLAPI void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
884GLAPI void GLAPIENTRY glDrawBuffer (GLenum mode);
885GLAPI void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
886GLAPI void GLAPIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
887GLAPI void GLAPIENTRY glEdgeFlag (GLboolean flag);
888GLAPI void GLAPIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer);
889GLAPI void GLAPIENTRY glEdgeFlagv (const GLboolean *flag);
890GLAPI void GLAPIENTRY glEnable (GLenum cap);
891GLAPI void GLAPIENTRY glEnableClientState (GLenum array);
892GLAPI void GLAPIENTRY glEnd (void);
893GLAPI void GLAPIENTRY glEndList (void);
894GLAPI void GLAPIENTRY glEvalCoord1d (GLdouble u);
895GLAPI void GLAPIENTRY glEvalCoord1dv (const GLdouble *u);
896GLAPI void GLAPIENTRY glEvalCoord1f (GLfloat u);
897GLAPI void GLAPIENTRY glEvalCoord1fv (const GLfloat *u);
898GLAPI void GLAPIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
899GLAPI void GLAPIENTRY glEvalCoord2dv (const GLdouble *u);
900GLAPI void GLAPIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
901GLAPI void GLAPIENTRY glEvalCoord2fv (const GLfloat *u);
902GLAPI void GLAPIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
903GLAPI void GLAPIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
904GLAPI void GLAPIENTRY glEvalPoint1 (GLint i);
905GLAPI void GLAPIENTRY glEvalPoint2 (GLint i, GLint j);
906GLAPI void GLAPIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
907GLAPI void GLAPIENTRY glFinish (void);
908GLAPI void GLAPIENTRY glFlush (void);
909GLAPI void GLAPIENTRY glFogf (GLenum pname, GLfloat param);
910GLAPI void GLAPIENTRY glFogfv (GLenum pname, const GLfloat *params);
911GLAPI void GLAPIENTRY glFogi (GLenum pname, GLint param);
912GLAPI void GLAPIENTRY glFogiv (GLenum pname, const GLint *params);
913GLAPI void GLAPIENTRY glFrontFace (GLenum mode);
914GLAPI void GLAPIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
915GLAPI GLuint GLAPIENTRY glGenLists (GLsizei range);
916GLAPI void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures);
917GLAPI void GLAPIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
918GLAPI void GLAPIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
919GLAPI void GLAPIENTRY glGetDoublev (GLenum pname, GLdouble *params);
920GLAPI GLenum GLAPIENTRY glGetError (void);
921GLAPI void GLAPIENTRY glGetFloatv (GLenum pname, GLfloat *params);
922GLAPI void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params);
923GLAPI void GLAPIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
924GLAPI void GLAPIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
925GLAPI void GLAPIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
926GLAPI void GLAPIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
927GLAPI void GLAPIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
928GLAPI void GLAPIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
929GLAPI void GLAPIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
930GLAPI void GLAPIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
931GLAPI void GLAPIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
932GLAPI void GLAPIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
933GLAPI void GLAPIENTRY glGetPointerv (GLenum pname, GLvoid* *params);
934GLAPI void GLAPIENTRY glGetPolygonStipple (GLubyte *mask);
935GLAPI const GLubyte * GLAPIENTRY glGetString (GLenum name);
936GLAPI void GLAPIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
937GLAPI void GLAPIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
938GLAPI void GLAPIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
939GLAPI void GLAPIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
940GLAPI void GLAPIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
941GLAPI void GLAPIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
942GLAPI void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
943GLAPI void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
944GLAPI void GLAPIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
945GLAPI void GLAPIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
946GLAPI void GLAPIENTRY glHint (GLenum target, GLenum mode);
947GLAPI void GLAPIENTRY glIndexMask (GLuint mask);
948GLAPI void GLAPIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
949GLAPI void GLAPIENTRY glIndexd (GLdouble c);
950GLAPI void GLAPIENTRY glIndexdv (const GLdouble *c);
951GLAPI void GLAPIENTRY glIndexf (GLfloat c);
952GLAPI void GLAPIENTRY glIndexfv (const GLfloat *c);
953GLAPI void GLAPIENTRY glIndexi (GLint c);
954GLAPI void GLAPIENTRY glIndexiv (const GLint *c);
955GLAPI void GLAPIENTRY glIndexs (GLshort c);
956GLAPI void GLAPIENTRY glIndexsv (const GLshort *c);
957GLAPI void GLAPIENTRY glIndexub (GLubyte c);
958GLAPI void GLAPIENTRY glIndexubv (const GLubyte *c);
959GLAPI void GLAPIENTRY glInitNames (void);
960GLAPI void GLAPIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
961GLAPI GLboolean GLAPIENTRY glIsEnabled (GLenum cap);
962GLAPI GLboolean GLAPIENTRY glIsList (GLuint list);
963GLAPI GLboolean GLAPIENTRY glIsTexture (GLuint texture);
964GLAPI void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param);
965GLAPI void GLAPIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
966GLAPI void GLAPIENTRY glLightModeli (GLenum pname, GLint param);
967GLAPI void GLAPIENTRY glLightModeliv (GLenum pname, const GLint *params);
968GLAPI void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
969GLAPI void GLAPIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
970GLAPI void GLAPIENTRY glLighti (GLenum light, GLenum pname, GLint param);
971GLAPI void GLAPIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
972GLAPI void GLAPIENTRY glLineStipple (GLint factor, GLushort pattern);
973GLAPI void GLAPIENTRY glLineWidth (GLfloat width);
974GLAPI void GLAPIENTRY glListBase (GLuint base);
975GLAPI void GLAPIENTRY glLoadIdentity (void);
976GLAPI void GLAPIENTRY glLoadMatrixd (const GLdouble *m);
977GLAPI void GLAPIENTRY glLoadMatrixf (const GLfloat *m);
978GLAPI void GLAPIENTRY glLoadName (GLuint name);
979GLAPI void GLAPIENTRY glLogicOp (GLenum opcode);
980GLAPI void GLAPIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
981GLAPI void GLAPIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
982GLAPI void GLAPIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
983GLAPI void GLAPIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
984GLAPI void GLAPIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
985GLAPI void GLAPIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
986GLAPI void GLAPIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
987GLAPI void GLAPIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
988GLAPI void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
989GLAPI void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
990GLAPI void GLAPIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
991GLAPI void GLAPIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
992GLAPI void GLAPIENTRY glMatrixMode (GLenum mode);
993GLAPI void GLAPIENTRY glMultMatrixd (const GLdouble *m);
994GLAPI void GLAPIENTRY glMultMatrixf (const GLfloat *m);
995GLAPI void GLAPIENTRY glNewList (GLuint list, GLenum mode);
996GLAPI void GLAPIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
997GLAPI void GLAPIENTRY glNormal3bv (const GLbyte *v);
998GLAPI void GLAPIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
999GLAPI void GLAPIENTRY glNormal3dv (const GLdouble *v);
1000GLAPI void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
1001GLAPI void GLAPIENTRY glNormal3fv (const GLfloat *v);
1002GLAPI void GLAPIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
1003GLAPI void GLAPIENTRY glNormal3iv (const GLint *v);
1004GLAPI void GLAPIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
1005GLAPI void GLAPIENTRY glNormal3sv (const GLshort *v);
1006GLAPI void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
1007GLAPI void GLAPIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
1008GLAPI void GLAPIENTRY glPassThrough (GLfloat token);
1009GLAPI void GLAPIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
1010GLAPI void GLAPIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
1011GLAPI void GLAPIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
1012GLAPI void GLAPIENTRY glPixelStoref (GLenum pname, GLfloat param);
1013GLAPI void GLAPIENTRY glPixelStorei (GLenum pname, GLint param);
1014GLAPI void GLAPIENTRY glPixelTransferf (GLenum pname, GLfloat param);
1015GLAPI void GLAPIENTRY glPixelTransferi (GLenum pname, GLint param);
1016GLAPI void GLAPIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
1017GLAPI void GLAPIENTRY glPointSize (GLfloat size);
1018GLAPI void GLAPIENTRY glPolygonMode (GLenum face, GLenum mode);
1019GLAPI void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
1020GLAPI void GLAPIENTRY glPolygonStipple (const GLubyte *mask);
1021GLAPI void GLAPIENTRY glPopAttrib (void);
1022GLAPI void GLAPIENTRY glPopClientAttrib (void);
1023GLAPI void GLAPIENTRY glPopMatrix (void);
1024GLAPI void GLAPIENTRY glPopName (void);
1025GLAPI void GLAPIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
1026GLAPI void GLAPIENTRY glPushAttrib (GLbitfield mask);
1027GLAPI void GLAPIENTRY glPushClientAttrib (GLbitfield mask);
1028GLAPI void GLAPIENTRY glPushMatrix (void);
1029GLAPI void GLAPIENTRY glPushName (GLuint name);
1030GLAPI void GLAPIENTRY glRasterPos2d (GLdouble x, GLdouble y);
1031GLAPI void GLAPIENTRY glRasterPos2dv (const GLdouble *v);
1032GLAPI void GLAPIENTRY glRasterPos2f (GLfloat x, GLfloat y);
1033GLAPI void GLAPIENTRY glRasterPos2fv (const GLfloat *v);
1034GLAPI void GLAPIENTRY glRasterPos2i (GLint x, GLint y);
1035GLAPI void GLAPIENTRY glRasterPos2iv (const GLint *v);
1036GLAPI void GLAPIENTRY glRasterPos2s (GLshort x, GLshort y);
1037GLAPI void GLAPIENTRY glRasterPos2sv (const GLshort *v);
1038GLAPI void GLAPIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
1039GLAPI void GLAPIENTRY glRasterPos3dv (const GLdouble *v);
1040GLAPI void GLAPIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
1041GLAPI void GLAPIENTRY glRasterPos3fv (const GLfloat *v);
1042GLAPI void GLAPIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
1043GLAPI void GLAPIENTRY glRasterPos3iv (const GLint *v);
1044GLAPI void GLAPIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
1045GLAPI void GLAPIENTRY glRasterPos3sv (const GLshort *v);
1046GLAPI void GLAPIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1047GLAPI void GLAPIENTRY glRasterPos4dv (const GLdouble *v);
1048GLAPI void GLAPIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1049GLAPI void GLAPIENTRY glRasterPos4fv (const GLfloat *v);
1050GLAPI void GLAPIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
1051GLAPI void GLAPIENTRY glRasterPos4iv (const GLint *v);
1052GLAPI void GLAPIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
1053GLAPI void GLAPIENTRY glRasterPos4sv (const GLshort *v);
1054GLAPI void GLAPIENTRY glReadBuffer (GLenum mode);
1055GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
1056GLAPI void GLAPIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1057GLAPI void GLAPIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
1058GLAPI void GLAPIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1059GLAPI void GLAPIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
1060GLAPI void GLAPIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1061GLAPI void GLAPIENTRY glRectiv (const GLint *v1, const GLint *v2);
1062GLAPI void GLAPIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1063GLAPI void GLAPIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
1064GLAPI GLint GLAPIENTRY glRenderMode (GLenum mode);
1065GLAPI void GLAPIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1066GLAPI void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1067GLAPI void GLAPIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
1068GLAPI void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
1069GLAPI void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
1070GLAPI void GLAPIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
1071GLAPI void GLAPIENTRY glShadeModel (GLenum mode);
1072GLAPI void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
1073GLAPI void GLAPIENTRY glStencilMask (GLuint mask);
1074GLAPI void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1075GLAPI void GLAPIENTRY glTexCoord1d (GLdouble s);
1076GLAPI void GLAPIENTRY glTexCoord1dv (const GLdouble *v);
1077GLAPI void GLAPIENTRY glTexCoord1f (GLfloat s);
1078GLAPI void GLAPIENTRY glTexCoord1fv (const GLfloat *v);
1079GLAPI void GLAPIENTRY glTexCoord1i (GLint s);
1080GLAPI void GLAPIENTRY glTexCoord1iv (const GLint *v);
1081GLAPI void GLAPIENTRY glTexCoord1s (GLshort s);
1082GLAPI void GLAPIENTRY glTexCoord1sv (const GLshort *v);
1083GLAPI void GLAPIENTRY glTexCoord2d (GLdouble s, GLdouble t);
1084GLAPI void GLAPIENTRY glTexCoord2dv (const GLdouble *v);
1085GLAPI void GLAPIENTRY glTexCoord2f (GLfloat s, GLfloat t);
1086GLAPI void GLAPIENTRY glTexCoord2fv (const GLfloat *v);
1087GLAPI void GLAPIENTRY glTexCoord2i (GLint s, GLint t);
1088GLAPI void GLAPIENTRY glTexCoord2iv (const GLint *v);
1089GLAPI void GLAPIENTRY glTexCoord2s (GLshort s, GLshort t);
1090GLAPI void GLAPIENTRY glTexCoord2sv (const GLshort *v);
1091GLAPI void GLAPIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1092GLAPI void GLAPIENTRY glTexCoord3dv (const GLdouble *v);
1093GLAPI void GLAPIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1094GLAPI void GLAPIENTRY glTexCoord3fv (const GLfloat *v);
1095GLAPI void GLAPIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
1096GLAPI void GLAPIENTRY glTexCoord3iv (const GLint *v);
1097GLAPI void GLAPIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
1098GLAPI void GLAPIENTRY glTexCoord3sv (const GLshort *v);
1099GLAPI void GLAPIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1100GLAPI void GLAPIENTRY glTexCoord4dv (const GLdouble *v);
1101GLAPI void GLAPIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1102GLAPI void GLAPIENTRY glTexCoord4fv (const GLfloat *v);
1103GLAPI void GLAPIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1104GLAPI void GLAPIENTRY glTexCoord4iv (const GLint *v);
1105GLAPI void GLAPIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1106GLAPI void GLAPIENTRY glTexCoord4sv (const GLshort *v);
1107GLAPI void GLAPIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1108GLAPI void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1109GLAPI void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
1110GLAPI void GLAPIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
1111GLAPI void GLAPIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
1112GLAPI void GLAPIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
1113GLAPI void GLAPIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
1114GLAPI void GLAPIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1115GLAPI void GLAPIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
1116GLAPI void GLAPIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
1117GLAPI void GLAPIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
1118GLAPI void GLAPIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1119GLAPI void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1120GLAPI void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1121GLAPI void GLAPIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1122GLAPI void GLAPIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
1123GLAPI void GLAPIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
1124GLAPI void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
1125GLAPI void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1126GLAPI void GLAPIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
1127GLAPI void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1128GLAPI void GLAPIENTRY glVertex2d (GLdouble x, GLdouble y);
1129GLAPI void GLAPIENTRY glVertex2dv (const GLdouble *v);
1130GLAPI void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y);
1131GLAPI void GLAPIENTRY glVertex2fv (const GLfloat *v);
1132GLAPI void GLAPIENTRY glVertex2i (GLint x, GLint y);
1133GLAPI void GLAPIENTRY glVertex2iv (const GLint *v);
1134GLAPI void GLAPIENTRY glVertex2s (GLshort x, GLshort y);
1135GLAPI void GLAPIENTRY glVertex2sv (const GLshort *v);
1136GLAPI void GLAPIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1137GLAPI void GLAPIENTRY glVertex3dv (const GLdouble *v);
1138GLAPI void GLAPIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1139GLAPI void GLAPIENTRY glVertex3fv (const GLfloat *v);
1140GLAPI void GLAPIENTRY glVertex3i (GLint x, GLint y, GLint z);
1141GLAPI void GLAPIENTRY glVertex3iv (const GLint *v);
1142GLAPI void GLAPIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
1143GLAPI void GLAPIENTRY glVertex3sv (const GLshort *v);
1144GLAPI void GLAPIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1145GLAPI void GLAPIENTRY glVertex4dv (const GLdouble *v);
1146GLAPI void GLAPIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1147GLAPI void GLAPIENTRY glVertex4fv (const GLfloat *v);
1148GLAPI void GLAPIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
1149GLAPI void GLAPIENTRY glVertex4iv (const GLint *v);
1150GLAPI void GLAPIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1151GLAPI void GLAPIENTRY glVertex4sv (const GLshort *v);
1152GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1153GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
1154
1155#define GLEW_VERSION_1_1 GLEW_GET_VAR(__GLEW_VERSION_1_1)
1156
1157#endif /* GL_VERSION_1_1 */
1158
1159/* ---------------------------------- GLU ---------------------------------- */
1160
1161#ifndef GLEW_NO_GLU
1162/* this is where we can safely include GLU */
1163#  if defined(__APPLE__) && defined(__MACH__)
1164#    include <OpenGL/glu.h>
1165#  else
1166#    include <GL/glu.h>
1167#  endif
1168#endif
1169
1170/* ----------------------------- GL_VERSION_1_2 ---------------------------- */
1171
1172#ifndef GL_VERSION_1_2
1173#define GL_VERSION_1_2 1
1174
1175#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
1176#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
1177#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
1178#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
1179#define GL_UNSIGNED_BYTE_3_3_2 0x8032
1180#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
1181#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
1182#define GL_UNSIGNED_INT_8_8_8_8 0x8035
1183#define GL_UNSIGNED_INT_10_10_10_2 0x8036
1184#define GL_RESCALE_NORMAL 0x803A
1185#define GL_TEXTURE_BINDING_3D 0x806A
1186#define GL_PACK_SKIP_IMAGES 0x806B
1187#define GL_PACK_IMAGE_HEIGHT 0x806C
1188#define GL_UNPACK_SKIP_IMAGES 0x806D
1189#define GL_UNPACK_IMAGE_HEIGHT 0x806E
1190#define GL_TEXTURE_3D 0x806F
1191#define GL_PROXY_TEXTURE_3D 0x8070
1192#define GL_TEXTURE_DEPTH 0x8071
1193#define GL_TEXTURE_WRAP_R 0x8072
1194#define GL_MAX_3D_TEXTURE_SIZE 0x8073
1195#define GL_BGR 0x80E0
1196#define GL_BGRA 0x80E1
1197#define GL_MAX_ELEMENTS_VERTICES 0x80E8
1198#define GL_MAX_ELEMENTS_INDICES 0x80E9
1199#define GL_CLAMP_TO_EDGE 0x812F
1200#define GL_TEXTURE_MIN_LOD 0x813A
1201#define GL_TEXTURE_MAX_LOD 0x813B
1202#define GL_TEXTURE_BASE_LEVEL 0x813C
1203#define GL_TEXTURE_MAX_LEVEL 0x813D
1204#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
1205#define GL_SINGLE_COLOR 0x81F9
1206#define GL_SEPARATE_SPECULAR_COLOR 0x81FA
1207#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
1208#define GL_UNSIGNED_SHORT_5_6_5 0x8363
1209#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
1210#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
1211#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
1212#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
1213#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
1214#define GL_ALIASED_POINT_SIZE_RANGE 0x846D
1215#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
1216
1217typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1218typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
1219typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1220typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
1221
1222#define glCopyTexSubImage3D GLEW_GET_FUN(__glewCopyTexSubImage3D)
1223#define glDrawRangeElements GLEW_GET_FUN(__glewDrawRangeElements)
1224#define glTexImage3D GLEW_GET_FUN(__glewTexImage3D)
1225#define glTexSubImage3D GLEW_GET_FUN(__glewTexSubImage3D)
1226
1227#define GLEW_VERSION_1_2 GLEW_GET_VAR(__GLEW_VERSION_1_2)
1228
1229#endif /* GL_VERSION_1_2 */
1230
1231/* ---------------------------- GL_VERSION_1_2_1 --------------------------- */
1232
1233#ifndef GL_VERSION_1_2_1
1234#define GL_VERSION_1_2_1 1
1235
1236#define GLEW_VERSION_1_2_1 GLEW_GET_VAR(__GLEW_VERSION_1_2_1)
1237
1238#endif /* GL_VERSION_1_2_1 */
1239
1240/* ----------------------------- GL_VERSION_1_3 ---------------------------- */
1241
1242#ifndef GL_VERSION_1_3
1243#define GL_VERSION_1_3 1
1244
1245#define GL_MULTISAMPLE 0x809D
1246#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
1247#define GL_SAMPLE_ALPHA_TO_ONE 0x809F
1248#define GL_SAMPLE_COVERAGE 0x80A0
1249#define GL_SAMPLE_BUFFERS 0x80A8
1250#define GL_SAMPLES 0x80A9
1251#define GL_SAMPLE_COVERAGE_VALUE 0x80AA
1252#define GL_SAMPLE_COVERAGE_INVERT 0x80AB
1253#define GL_CLAMP_TO_BORDER 0x812D
1254#define GL_TEXTURE0 0x84C0
1255#define GL_TEXTURE1 0x84C1
1256#define GL_TEXTURE2 0x84C2
1257#define GL_TEXTURE3 0x84C3
1258#define GL_TEXTURE4 0x84C4
1259#define GL_TEXTURE5 0x84C5
1260#define GL_TEXTURE6 0x84C6
1261#define GL_TEXTURE7 0x84C7
1262#define GL_TEXTURE8 0x84C8
1263#define GL_TEXTURE9 0x84C9
1264#define GL_TEXTURE10 0x84CA
1265#define GL_TEXTURE11 0x84CB
1266#define GL_TEXTURE12 0x84CC
1267#define GL_TEXTURE13 0x84CD
1268#define GL_TEXTURE14 0x84CE
1269#define GL_TEXTURE15 0x84CF
1270#define GL_TEXTURE16 0x84D0
1271#define GL_TEXTURE17 0x84D1
1272#define GL_TEXTURE18 0x84D2
1273#define GL_TEXTURE19 0x84D3
1274#define GL_TEXTURE20 0x84D4
1275#define GL_TEXTURE21 0x84D5
1276#define GL_TEXTURE22 0x84D6
1277#define GL_TEXTURE23 0x84D7
1278#define GL_TEXTURE24 0x84D8
1279#define GL_TEXTURE25 0x84D9
1280#define GL_TEXTURE26 0x84DA
1281#define GL_TEXTURE27 0x84DB
1282#define GL_TEXTURE28 0x84DC
1283#define GL_TEXTURE29 0x84DD
1284#define GL_TEXTURE30 0x84DE
1285#define GL_TEXTURE31 0x84DF
1286#define GL_ACTIVE_TEXTURE 0x84E0
1287#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
1288#define GL_MAX_TEXTURE_UNITS 0x84E2
1289#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
1290#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
1291#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
1292#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
1293#define GL_SUBTRACT 0x84E7
1294#define GL_COMPRESSED_ALPHA 0x84E9
1295#define GL_COMPRESSED_LUMINANCE 0x84EA
1296#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
1297#define GL_COMPRESSED_INTENSITY 0x84EC
1298#define GL_COMPRESSED_RGB 0x84ED
1299#define GL_COMPRESSED_RGBA 0x84EE
1300#define GL_TEXTURE_COMPRESSION_HINT 0x84EF
1301#define GL_NORMAL_MAP 0x8511
1302#define GL_REFLECTION_MAP 0x8512
1303#define GL_TEXTURE_CUBE_MAP 0x8513
1304#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
1305#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
1306#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
1307#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
1308#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
1309#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
1310#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
1311#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
1312#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
1313#define GL_COMBINE 0x8570
1314#define GL_COMBINE_RGB 0x8571
1315#define GL_COMBINE_ALPHA 0x8572
1316#define GL_RGB_SCALE 0x8573
1317#define GL_ADD_SIGNED 0x8574
1318#define GL_INTERPOLATE 0x8575
1319#define GL_CONSTANT 0x8576
1320#define GL_PRIMARY_COLOR 0x8577
1321#define GL_PREVIOUS 0x8578
1322#define GL_SOURCE0_RGB 0x8580
1323#define GL_SOURCE1_RGB 0x8581
1324#define GL_SOURCE2_RGB 0x8582
1325#define GL_SOURCE0_ALPHA 0x8588
1326#define GL_SOURCE1_ALPHA 0x8589
1327#define GL_SOURCE2_ALPHA 0x858A
1328#define GL_OPERAND0_RGB 0x8590
1329#define GL_OPERAND1_RGB 0x8591
1330#define GL_OPERAND2_RGB 0x8592
1331#define GL_OPERAND0_ALPHA 0x8598
1332#define GL_OPERAND1_ALPHA 0x8599
1333#define GL_OPERAND2_ALPHA 0x859A
1334#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
1335#define GL_TEXTURE_COMPRESSED 0x86A1
1336#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
1337#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
1338#define GL_DOT3_RGB 0x86AE
1339#define GL_DOT3_RGBA 0x86AF
1340#define GL_MULTISAMPLE_BIT 0x20000000
1341
1342typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture);
1343typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
1344typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
1345typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
1346typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
1347typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
1348typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
1349typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
1350typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLvoid *img);
1351typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
1352typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
1353typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
1354typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
1355typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
1356typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
1357typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
1358typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
1359typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
1360typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
1361typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
1362typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
1363typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
1364typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
1365typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
1366typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
1367typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
1368typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
1369typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
1370typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
1371typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
1372typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
1373typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
1374typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
1375typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
1376typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
1377typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
1378typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
1379typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1380typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
1381typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1382typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
1383typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
1384typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
1385typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1386typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
1387typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
1388
1389#define glActiveTexture GLEW_GET_FUN(__glewActiveTexture)
1390#define glClientActiveTexture GLEW_GET_FUN(__glewClientActiveTexture)
1391#define glCompressedTexImage1D GLEW_GET_FUN(__glewCompressedTexImage1D)
1392#define glCompressedTexImage2D GLEW_GET_FUN(__glewCompressedTexImage2D)
1393#define glCompressedTexImage3D GLEW_GET_FUN(__glewCompressedTexImage3D)
1394#define glCompressedTexSubImage1D GLEW_GET_FUN(__glewCompressedTexSubImage1D)
1395#define glCompressedTexSubImage2D GLEW_GET_FUN(__glewCompressedTexSubImage2D)
1396#define glCompressedTexSubImage3D GLEW_GET_FUN(__glewCompressedTexSubImage3D)
1397#define glGetCompressedTexImage GLEW_GET_FUN(__glewGetCompressedTexImage)
1398#define glLoadTransposeMatrixd GLEW_GET_FUN(__glewLoadTransposeMatrixd)
1399#define glLoadTransposeMatrixf GLEW_GET_FUN(__glewLoadTransposeMatrixf)
1400#define glMultTransposeMatrixd GLEW_GET_FUN(__glewMultTransposeMatrixd)
1401#define glMultTransposeMatrixf GLEW_GET_FUN(__glewMultTransposeMatrixf)
1402#define glMultiTexCoord1d GLEW_GET_FUN(__glewMultiTexCoord1d)
1403#define glMultiTexCoord1dv GLEW_GET_FUN(__glewMultiTexCoord1dv)
1404#define glMultiTexCoord1f GLEW_GET_FUN(__glewMultiTexCoord1f)
1405#define glMultiTexCoord1fv GLEW_GET_FUN(__glewMultiTexCoord1fv)
1406#define glMultiTexCoord1i GLEW_GET_FUN(__glewMultiTexCoord1i)
1407#define glMultiTexCoord1iv GLEW_GET_FUN(__glewMultiTexCoord1iv)
1408#define glMultiTexCoord1s GLEW_GET_FUN(__glewMultiTexCoord1s)
1409#define glMultiTexCoord1sv GLEW_GET_FUN(__glewMultiTexCoord1sv)
1410#define glMultiTexCoord2d GLEW_GET_FUN(__glewMultiTexCoord2d)
1411#define glMultiTexCoord2dv GLEW_GET_FUN(__glewMultiTexCoord2dv)
1412#define glMultiTexCoord2f GLEW_GET_FUN(__glewMultiTexCoord2f)
1413#define glMultiTexCoord2fv GLEW_GET_FUN(__glewMultiTexCoord2fv)
1414#define glMultiTexCoord2i GLEW_GET_FUN(__glewMultiTexCoord2i)
1415#define glMultiTexCoord2iv GLEW_GET_FUN(__glewMultiTexCoord2iv)
1416#define glMultiTexCoord2s GLEW_GET_FUN(__glewMultiTexCoord2s)
1417#define glMultiTexCoord2sv GLEW_GET_FUN(__glewMultiTexCoord2sv)
1418#define glMultiTexCoord3d GLEW_GET_FUN(__glewMultiTexCoord3d)
1419#define glMultiTexCoord3dv GLEW_GET_FUN(__glewMultiTexCoord3dv)
1420#define glMultiTexCoord3f GLEW_GET_FUN(__glewMultiTexCoord3f)
1421#define glMultiTexCoord3fv GLEW_GET_FUN(__glewMultiTexCoord3fv)
1422#define glMultiTexCoord3i GLEW_GET_FUN(__glewMultiTexCoord3i)
1423#define glMultiTexCoord3iv GLEW_GET_FUN(__glewMultiTexCoord3iv)
1424#define glMultiTexCoord3s GLEW_GET_FUN(__glewMultiTexCoord3s)
1425#define glMultiTexCoord3sv GLEW_GET_FUN(__glewMultiTexCoord3sv)
1426#define glMultiTexCoord4d GLEW_GET_FUN(__glewMultiTexCoord4d)
1427#define glMultiTexCoord4dv GLEW_GET_FUN(__glewMultiTexCoord4dv)
1428#define glMultiTexCoord4f GLEW_GET_FUN(__glewMultiTexCoord4f)
1429#define glMultiTexCoord4fv GLEW_GET_FUN(__glewMultiTexCoord4fv)
1430#define glMultiTexCoord4i GLEW_GET_FUN(__glewMultiTexCoord4i)
1431#define glMultiTexCoord4iv GLEW_GET_FUN(__glewMultiTexCoord4iv)
1432#define glMultiTexCoord4s GLEW_GET_FUN(__glewMultiTexCoord4s)
1433#define glMultiTexCoord4sv GLEW_GET_FUN(__glewMultiTexCoord4sv)
1434#define glSampleCoverage GLEW_GET_FUN(__glewSampleCoverage)
1435
1436#define GLEW_VERSION_1_3 GLEW_GET_VAR(__GLEW_VERSION_1_3)
1437
1438#endif /* GL_VERSION_1_3 */
1439
1440/* ----------------------------- GL_VERSION_1_4 ---------------------------- */
1441
1442#ifndef GL_VERSION_1_4
1443#define GL_VERSION_1_4 1
1444
1445#define GL_BLEND_DST_RGB 0x80C8
1446#define GL_BLEND_SRC_RGB 0x80C9
1447#define GL_BLEND_DST_ALPHA 0x80CA
1448#define GL_BLEND_SRC_ALPHA 0x80CB
1449#define GL_POINT_SIZE_MIN 0x8126
1450#define GL_POINT_SIZE_MAX 0x8127
1451#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
1452#define GL_POINT_DISTANCE_ATTENUATION 0x8129
1453#define GL_GENERATE_MIPMAP 0x8191
1454#define GL_GENERATE_MIPMAP_HINT 0x8192
1455#define GL_DEPTH_COMPONENT16 0x81A5
1456#define GL_DEPTH_COMPONENT24 0x81A6
1457#define GL_DEPTH_COMPONENT32 0x81A7
1458#define GL_MIRRORED_REPEAT 0x8370
1459#define GL_FOG_COORDINATE_SOURCE 0x8450
1460#define GL_FOG_COORDINATE 0x8451
1461#define GL_FRAGMENT_DEPTH 0x8452
1462#define GL_CURRENT_FOG_COORDINATE 0x8453
1463#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
1464#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
1465#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
1466#define GL_FOG_COORDINATE_ARRAY 0x8457
1467#define GL_COLOR_SUM 0x8458
1468#define GL_CURRENT_SECONDARY_COLOR 0x8459
1469#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
1470#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
1471#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
1472#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
1473#define GL_SECONDARY_COLOR_ARRAY 0x845E
1474#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
1475#define GL_TEXTURE_FILTER_CONTROL 0x8500
1476#define GL_TEXTURE_LOD_BIAS 0x8501
1477#define GL_INCR_WRAP 0x8507
1478#define GL_DECR_WRAP 0x8508
1479#define GL_TEXTURE_DEPTH_SIZE 0x884A
1480#define GL_DEPTH_TEXTURE_MODE 0x884B
1481#define GL_TEXTURE_COMPARE_MODE 0x884C
1482#define GL_TEXTURE_COMPARE_FUNC 0x884D
1483#define GL_COMPARE_R_TO_TEXTURE 0x884E
1484
1485typedef void (GLAPIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1486typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
1487typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
1488typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
1489typedef void (GLAPIENTRY * PFNGLFOGCOORDDPROC) (GLdouble coord);
1490typedef void (GLAPIENTRY * PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
1491typedef void (GLAPIENTRY * PFNGLFOGCOORDFPROC) (GLfloat coord);
1492typedef void (GLAPIENTRY * PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
1493typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
1494typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);
1495typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
1496typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
1497typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
1498typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
1499typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
1500typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
1501typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
1502typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
1503typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
1504typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
1505typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
1506typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
1507typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
1508typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
1509typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
1510typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
1511typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
1512typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
1513typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
1514typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
1515typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1516typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
1517typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVPROC) (const GLdouble *p);
1518typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
1519typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVPROC) (const GLfloat *p);
1520typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
1521typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVPROC) (const GLint *p);
1522typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
1523typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVPROC) (const GLshort *p);
1524typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
1525typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVPROC) (const GLdouble *p);
1526typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
1527typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVPROC) (const GLfloat *p);
1528typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
1529typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVPROC) (const GLint *p);
1530typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
1531typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVPROC) (const GLshort *p);
1532
1533#define glBlendColor GLEW_GET_FUN(__glewBlendColor)
1534#define glBlendEquation GLEW_GET_FUN(__glewBlendEquation)
1535#define glBlendFuncSeparate GLEW_GET_FUN(__glewBlendFuncSeparate)
1536#define glFogCoordPointer GLEW_GET_FUN(__glewFogCoordPointer)
1537#define glFogCoordd GLEW_GET_FUN(__glewFogCoordd)
1538#define glFogCoorddv GLEW_GET_FUN(__glewFogCoorddv)
1539#define glFogCoordf GLEW_GET_FUN(__glewFogCoordf)
1540#define glFogCoordfv GLEW_GET_FUN(__glewFogCoordfv)
1541#define glMultiDrawArrays GLEW_GET_FUN(__glewMultiDrawArrays)
1542#define glMultiDrawElements GLEW_GET_FUN(__glewMultiDrawElements)
1543#define glPointParameterf GLEW_GET_FUN(__glewPointParameterf)
1544#define glPointParameterfv GLEW_GET_FUN(__glewPointParameterfv)
1545#define glPointParameteri GLEW_GET_FUN(__glewPointParameteri)
1546#define glPointParameteriv GLEW_GET_FUN(__glewPointParameteriv)
1547#define glSecondaryColor3b GLEW_GET_FUN(__glewSecondaryColor3b)
1548#define glSecondaryColor3bv GLEW_GET_FUN(__glewSecondaryColor3bv)
1549#define glSecondaryColor3d GLEW_GET_FUN(__glewSecondaryColor3d)
1550#define glSecondaryColor3dv GLEW_GET_FUN(__glewSecondaryColor3dv)
1551#define glSecondaryColor3f GLEW_GET_FUN(__glewSecondaryColor3f)
1552#define glSecondaryColor3fv GLEW_GET_FUN(__glewSecondaryColor3fv)
1553#define glSecondaryColor3i GLEW_GET_FUN(__glewSecondaryColor3i)
1554#define glSecondaryColor3iv GLEW_GET_FUN(__glewSecondaryColor3iv)
1555#define glSecondaryColor3s GLEW_GET_FUN(__glewSecondaryColor3s)
1556#define glSecondaryColor3sv GLEW_GET_FUN(__glewSecondaryColor3sv)
1557#define glSecondaryColor3ub GLEW_GET_FUN(__glewSecondaryColor3ub)
1558#define glSecondaryColor3ubv GLEW_GET_FUN(__glewSecondaryColor3ubv)
1559#define glSecondaryColor3ui GLEW_GET_FUN(__glewSecondaryColor3ui)
1560#define glSecondaryColor3uiv GLEW_GET_FUN(__glewSecondaryColor3uiv)
1561#define glSecondaryColor3us GLEW_GET_FUN(__glewSecondaryColor3us)
1562#define glSecondaryColor3usv GLEW_GET_FUN(__glewSecondaryColor3usv)
1563#define glSecondaryColorPointer GLEW_GET_FUN(__glewSecondaryColorPointer)
1564#define glWindowPos2d GLEW_GET_FUN(__glewWindowPos2d)
1565#define glWindowPos2dv GLEW_GET_FUN(__glewWindowPos2dv)
1566#define glWindowPos2f GLEW_GET_FUN(__glewWindowPos2f)
1567#define glWindowPos2fv GLEW_GET_FUN(__glewWindowPos2fv)
1568#define glWindowPos2i GLEW_GET_FUN(__glewWindowPos2i)
1569#define glWindowPos2iv GLEW_GET_FUN(__glewWindowPos2iv)
1570#define glWindowPos2s GLEW_GET_FUN(__glewWindowPos2s)
1571#define glWindowPos2sv GLEW_GET_FUN(__glewWindowPos2sv)
1572#define glWindowPos3d GLEW_GET_FUN(__glewWindowPos3d)
1573#define glWindowPos3dv GLEW_GET_FUN(__glewWindowPos3dv)
1574#define glWindowPos3f GLEW_GET_FUN(__glewWindowPos3f)
1575#define glWindowPos3fv GLEW_GET_FUN(__glewWindowPos3fv)
1576#define glWindowPos3i GLEW_GET_FUN(__glewWindowPos3i)
1577#define glWindowPos3iv GLEW_GET_FUN(__glewWindowPos3iv)
1578#define glWindowPos3s GLEW_GET_FUN(__glewWindowPos3s)
1579#define glWindowPos3sv GLEW_GET_FUN(__glewWindowPos3sv)
1580
1581#define GLEW_VERSION_1_4 GLEW_GET_VAR(__GLEW_VERSION_1_4)
1582
1583#endif /* GL_VERSION_1_4 */
1584
1585/* ----------------------------- GL_VERSION_1_5 ---------------------------- */
1586
1587#ifndef GL_VERSION_1_5
1588#define GL_VERSION_1_5 1
1589
1590#define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE
1591#define GL_FOG_COORD GL_FOG_COORDINATE
1592#define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY
1593#define GL_SRC0_RGB GL_SOURCE0_RGB
1594#define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER
1595#define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE
1596#define GL_SRC1_ALPHA GL_SOURCE1_ALPHA
1597#define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE
1598#define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE
1599#define GL_SRC0_ALPHA GL_SOURCE0_ALPHA
1600#define GL_SRC1_RGB GL_SOURCE1_RGB
1601#define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
1602#define GL_SRC2_ALPHA GL_SOURCE2_ALPHA
1603#define GL_SRC2_RGB GL_SOURCE2_RGB
1604#define GL_BUFFER_SIZE 0x8764
1605#define GL_BUFFER_USAGE 0x8765
1606#define GL_QUERY_COUNTER_BITS 0x8864
1607#define GL_CURRENT_QUERY 0x8865
1608#define GL_QUERY_RESULT 0x8866
1609#define GL_QUERY_RESULT_AVAILABLE 0x8867
1610#define GL_ARRAY_BUFFER 0x8892
1611#define GL_ELEMENT_ARRAY_BUFFER 0x8893
1612#define GL_ARRAY_BUFFER_BINDING 0x8894
1613#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
1614#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
1615#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
1616#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
1617#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
1618#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
1619#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
1620#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
1621#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
1622#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
1623#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
1624#define GL_READ_ONLY 0x88B8
1625#define GL_WRITE_ONLY 0x88B9
1626#define GL_READ_WRITE 0x88BA
1627#define GL_BUFFER_ACCESS 0x88BB
1628#define GL_BUFFER_MAPPED 0x88BC
1629#define GL_BUFFER_MAP_POINTER 0x88BD
1630#define GL_STREAM_DRAW 0x88E0
1631#define GL_STREAM_READ 0x88E1
1632#define GL_STREAM_COPY 0x88E2
1633#define GL_STATIC_DRAW 0x88E4
1634#define GL_STATIC_READ 0x88E5
1635#define GL_STATIC_COPY 0x88E6
1636#define GL_DYNAMIC_DRAW 0x88E8
1637#define GL_DYNAMIC_READ 0x88E9
1638#define GL_DYNAMIC_COPY 0x88EA
1639#define GL_SAMPLES_PASSED 0x8914
1640
1641typedef ptrdiff_t GLintptr;
1642typedef ptrdiff_t GLsizeiptr;
1643
1644typedef void (GLAPIENTRY * PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
1645typedef void (GLAPIENTRY * PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
1646typedef void (GLAPIENTRY * PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
1647typedef void (GLAPIENTRY * PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);
1648typedef void (GLAPIENTRY * PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint* buffers);
1649typedef void (GLAPIENTRY * PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint* ids);
1650typedef void (GLAPIENTRY * PFNGLENDQUERYPROC) (GLenum target);
1651typedef void (GLAPIENTRY * PFNGLGENBUFFERSPROC) (GLsizei n, GLuint* buffers);
1652typedef void (GLAPIENTRY * PFNGLGENQUERIESPROC) (GLsizei n, GLuint* ids);
1653typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
1654typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid** params);
1655typedef void (GLAPIENTRY * PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid* data);
1656typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint* params);
1657typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint* params);
1658typedef void (GLAPIENTRY * PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint* params);
1659typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERPROC) (GLuint buffer);
1660typedef GLboolean (GLAPIENTRY * PFNGLISQUERYPROC) (GLuint id);
1661typedef GLvoid* (GLAPIENTRY * PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
1662typedef GLboolean (GLAPIENTRY * PFNGLUNMAPBUFFERPROC) (GLenum target);
1663
1664#define glBeginQuery GLEW_GET_FUN(__glewBeginQuery)
1665#define glBindBuffer GLEW_GET_FUN(__glewBindBuffer)
1666#define glBufferData GLEW_GET_FUN(__glewBufferData)
1667#define glBufferSubData GLEW_GET_FUN(__glewBufferSubData)
1668#define glDeleteBuffers GLEW_GET_FUN(__glewDeleteBuffers)
1669#define glDeleteQueries GLEW_GET_FUN(__glewDeleteQueries)
1670#define glEndQuery GLEW_GET_FUN(__glewEndQuery)
1671#define glGenBuffers GLEW_GET_FUN(__glewGenBuffers)
1672#define glGenQueries GLEW_GET_FUN(__glewGenQueries)
1673#define glGetBufferParameteriv GLEW_GET_FUN(__glewGetBufferParameteriv)
1674#define glGetBufferPointerv GLEW_GET_FUN(__glewGetBufferPointerv)
1675#define glGetBufferSubData GLEW_GET_FUN(__glewGetBufferSubData)
1676#define glGetQueryObjectiv GLEW_GET_FUN(__glewGetQueryObjectiv)
1677#define glGetQueryObjectuiv GLEW_GET_FUN(__glewGetQueryObjectuiv)
1678#define glGetQueryiv GLEW_GET_FUN(__glewGetQueryiv)
1679#define glIsBuffer GLEW_GET_FUN(__glewIsBuffer)
1680#define glIsQuery GLEW_GET_FUN(__glewIsQuery)
1681#define glMapBuffer GLEW_GET_FUN(__glewMapBuffer)
1682#define glUnmapBuffer GLEW_GET_FUN(__glewUnmapBuffer)
1683
1684#define GLEW_VERSION_1_5 GLEW_GET_VAR(__GLEW_VERSION_1_5)
1685
1686#endif /* GL_VERSION_1_5 */
1687
1688/* ----------------------------- GL_VERSION_2_0 ---------------------------- */
1689
1690#ifndef GL_VERSION_2_0
1691#define GL_VERSION_2_0 1
1692
1693#define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION
1694#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
1695#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
1696#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
1697#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
1698#define GL_CURRENT_VERTEX_ATTRIB 0x8626
1699#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
1700#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
1701#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
1702#define GL_STENCIL_BACK_FUNC 0x8800
1703#define GL_STENCIL_BACK_FAIL 0x8801
1704#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
1705#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
1706#define GL_MAX_DRAW_BUFFERS 0x8824
1707#define GL_DRAW_BUFFER0 0x8825
1708#define GL_DRAW_BUFFER1 0x8826
1709#define GL_DRAW_BUFFER2 0x8827
1710#define GL_DRAW_BUFFER3 0x8828
1711#define GL_DRAW_BUFFER4 0x8829
1712#define GL_DRAW_BUFFER5 0x882A
1713#define GL_DRAW_BUFFER6 0x882B
1714#define GL_DRAW_BUFFER7 0x882C
1715#define GL_DRAW_BUFFER8 0x882D
1716#define GL_DRAW_BUFFER9 0x882E
1717#define GL_DRAW_BUFFER10 0x882F
1718#define GL_DRAW_BUFFER11 0x8830
1719#define GL_DRAW_BUFFER12 0x8831
1720#define GL_DRAW_BUFFER13 0x8832
1721#define GL_DRAW_BUFFER14 0x8833
1722#define GL_DRAW_BUFFER15 0x8834
1723#define GL_BLEND_EQUATION_ALPHA 0x883D
1724#define GL_POINT_SPRITE 0x8861
1725#define GL_COORD_REPLACE 0x8862
1726#define GL_MAX_VERTEX_ATTRIBS 0x8869
1727#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
1728#define GL_MAX_TEXTURE_COORDS 0x8871
1729#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
1730#define GL_FRAGMENT_SHADER 0x8B30
1731#define GL_VERTEX_SHADER 0x8B31
1732#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
1733#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
1734#define GL_MAX_VARYING_FLOATS 0x8B4B
1735#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
1736#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
1737#define GL_SHADER_TYPE 0x8B4F
1738#define GL_FLOAT_VEC2 0x8B50
1739#define GL_FLOAT_VEC3 0x8B51
1740#define GL_FLOAT_VEC4 0x8B52
1741#define GL_INT_VEC2 0x8B53
1742#define GL_INT_VEC3 0x8B54
1743#define GL_INT_VEC4 0x8B55
1744#define GL_BOOL 0x8B56
1745#define GL_BOOL_VEC2 0x8B57
1746#define GL_BOOL_VEC3 0x8B58
1747#define GL_BOOL_VEC4 0x8B59
1748#define GL_FLOAT_MAT2 0x8B5A
1749#define GL_FLOAT_MAT3 0x8B5B
1750#define GL_FLOAT_MAT4 0x8B5C
1751#define GL_SAMPLER_1D 0x8B5D
1752#define GL_SAMPLER_2D 0x8B5E
1753#define GL_SAMPLER_3D 0x8B5F
1754#define GL_SAMPLER_CUBE 0x8B60
1755#define GL_SAMPLER_1D_SHADOW 0x8B61
1756#define GL_SAMPLER_2D_SHADOW 0x8B62
1757#define GL_DELETE_STATUS 0x8B80
1758#define GL_COMPILE_STATUS 0x8B81
1759#define GL_LINK_STATUS 0x8B82
1760#define GL_VALIDATE_STATUS 0x8B83
1761#define GL_INFO_LOG_LENGTH 0x8B84
1762#define GL_ATTACHED_SHADERS 0x8B85
1763#define GL_ACTIVE_UNIFORMS 0x8B86
1764#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
1765#define GL_SHADER_SOURCE_LENGTH 0x8B88
1766#define GL_ACTIVE_ATTRIBUTES 0x8B89
1767#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
1768#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
1769#define GL_SHADING_LANGUAGE_VERSION 0x8B8C
1770#define GL_CURRENT_PROGRAM 0x8B8D
1771#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
1772#define GL_LOWER_LEFT 0x8CA1
1773#define GL_UPPER_LEFT 0x8CA2
1774#define GL_STENCIL_BACK_REF 0x8CA3
1775#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
1776#define GL_STENCIL_BACK_WRITEMASK 0x8CA5
1777
1778typedef void (GLAPIENTRY * PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
1779typedef void (GLAPIENTRY * PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar* name);
1780typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum, GLenum);
1781typedef void (GLAPIENTRY * PFNGLCOMPILESHADERPROC) (GLuint shader);
1782typedef GLuint (GLAPIENTRY * PFNGLCREATEPROGRAMPROC) (void);
1783typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROC) (GLenum type);
1784typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPROC) (GLuint program);
1785typedef void (GLAPIENTRY * PFNGLDELETESHADERPROC) (GLuint shader);
1786typedef void (GLAPIENTRY * PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
1787typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint);
1788typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum* bufs);
1789typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint);
1790typedef void (GLAPIENTRY * PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
1791typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
1792typedef void (GLAPIENTRY * PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders);
1793typedef GLint (GLAPIENTRY * PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar* name);
1794typedef void (GLAPIENTRY * PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
1795typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint* param);
1796typedef void (GLAPIENTRY * PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
1797typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEPROC) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* source);
1798typedef void (GLAPIENTRY * PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint* param);
1799typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar* name);
1800typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat* params);
1801typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint* params);
1802typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint, GLenum, GLvoid**);
1803typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVPROC) (GLuint, GLenum, GLdouble*);
1804typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVPROC) (GLuint, GLenum, GLfloat*);
1805typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVPROC) (GLuint, GLenum, GLint*);
1806typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPROC) (GLuint program);
1807typedef GLboolean (GLAPIENTRY * PFNGLISSHADERPROC) (GLuint shader);
1808typedef void (GLAPIENTRY * PFNGLLINKPROGRAMPROC) (GLuint program);
1809typedef void (GLAPIENTRY * PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths);
1810typedef void (GLAPIENTRY * PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
1811typedef void (GLAPIENTRY * PFNGLSTENCILMASKSEPARATEPROC) (GLenum, GLuint);
1812typedef void (GLAPIENTRY * PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
1813typedef void (GLAPIENTRY * PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
1814typedef void (GLAPIENTRY * PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1815typedef void (GLAPIENTRY * PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
1816typedef void (GLAPIENTRY * PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint* value);
1817typedef void (GLAPIENTRY * PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
1818typedef void (GLAPIENTRY * PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1819typedef void (GLAPIENTRY * PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
1820typedef void (GLAPIENTRY * PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint* value);
1821typedef void (GLAPIENTRY * PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1822typedef void (GLAPIENTRY * PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1823typedef void (GLAPIENTRY * PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
1824typedef void (GLAPIENTRY * PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint* value);
1825typedef void (GLAPIENTRY * PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1826typedef void (GLAPIENTRY * PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1827typedef void (GLAPIENTRY * PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1828typedef void (GLAPIENTRY * PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint* value);
1829typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1830typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1831typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1832typedef void (GLAPIENTRY * PFNGLUSEPROGRAMPROC) (GLuint program);
1833typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMPROC) (GLuint program);
1834typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
1835typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble* v);
1836typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
1837typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat* v);
1838typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
1839typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort* v);
1840typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
1841typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble* v);
1842typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
1843typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat* v);
1844typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
1845typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort* v);
1846typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1847typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble* v);
1848typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
1849typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat* v);
1850typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
1851typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort* v);
1852typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte* v);
1853typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint* v);
1854typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort* v);
1855typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
1856typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte* v);
1857typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint* v);
1858typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort* v);
1859typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte* v);
1860typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1861typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble* v);
1862typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1863typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat* v);
1864typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint* v);
1865typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
1866typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort* v);
1867typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte* v);
1868typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint* v);
1869typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort* v);
1870typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer);
1871
1872#define glAttachShader GLEW_GET_FUN(__glewAttachShader)
1873#define glBindAttribLocation GLEW_GET_FUN(__glewBindAttribLocation)
1874#define glBlendEquationSeparate GLEW_GET_FUN(__glewBlendEquationSeparate)
1875#define glCompileShader GLEW_GET_FUN(__glewCompileShader)
1876#define glCreateProgram GLEW_GET_FUN(__glewCreateProgram)
1877#define glCreateShader GLEW_GET_FUN(__glewCreateShader)
1878#define glDeleteProgram GLEW_GET_FUN(__glewDeleteProgram)
1879#define glDeleteShader GLEW_GET_FUN(__glewDeleteShader)
1880#define glDetachShader GLEW_GET_FUN(__glewDetachShader)
1881#define glDisableVertexAttribArray GLEW_GET_FUN(__glewDisableVertexAttribArray)
1882#define glDrawBuffers GLEW_GET_FUN(__glewDrawBuffers)
1883#define glEnableVertexAttribArray GLEW_GET_FUN(__glewEnableVertexAttribArray)
1884#define glGetActiveAttrib GLEW_GET_FUN(__glewGetActiveAttrib)
1885#define glGetActiveUniform GLEW_GET_FUN(__glewGetActiveUniform)
1886#define glGetAttachedShaders GLEW_GET_FUN(__glewGetAttachedShaders)
1887#define glGetAttribLocation GLEW_GET_FUN(__glewGetAttribLocation)
1888#define glGetProgramInfoLog GLEW_GET_FUN(__glewGetProgramInfoLog)
1889#define glGetProgramiv GLEW_GET_FUN(__glewGetProgramiv)
1890#define glGetShaderInfoLog GLEW_GET_FUN(__glewGetShaderInfoLog)
1891#define glGetShaderSource GLEW_GET_FUN(__glewGetShaderSource)
1892#define glGetShaderiv GLEW_GET_FUN(__glewGetShaderiv)
1893#define glGetUniformLocation GLEW_GET_FUN(__glewGetUniformLocation)
1894#define glGetUniformfv GLEW_GET_FUN(__glewGetUniformfv)
1895#define glGetUniformiv GLEW_GET_FUN(__glewGetUniformiv)
1896#define glGetVertexAttribPointerv GLEW_GET_FUN(__glewGetVertexAttribPointerv)
1897#define glGetVertexAttribdv GLEW_GET_FUN(__glewGetVertexAttribdv)
1898#define glGetVertexAttribfv GLEW_GET_FUN(__glewGetVertexAttribfv)
1899#define glGetVertexAttribiv GLEW_GET_FUN(__glewGetVertexAttribiv)
1900#define glIsProgram GLEW_GET_FUN(__glewIsProgram)
1901#define glIsShader GLEW_GET_FUN(__glewIsShader)
1902#define glLinkProgram GLEW_GET_FUN(__glewLinkProgram)
1903#define glShaderSource GLEW_GET_FUN(__glewShaderSource)
1904#define glStencilFuncSeparate GLEW_GET_FUN(__glewStencilFuncSeparate)
1905#define glStencilMaskSeparate GLEW_GET_FUN(__glewStencilMaskSeparate)
1906#define glStencilOpSeparate GLEW_GET_FUN(__glewStencilOpSeparate)
1907#define glUniform1f GLEW_GET_FUN(__glewUniform1f)
1908#define glUniform1fv GLEW_GET_FUN(__glewUniform1fv)
1909#define glUniform1i GLEW_GET_FUN(__glewUniform1i)
1910#define glUniform1iv GLEW_GET_FUN(__glewUniform1iv)
1911#define glUniform2f GLEW_GET_FUN(__glewUniform2f)
1912#define glUniform2fv GLEW_GET_FUN(__glewUniform2fv)
1913#define glUniform2i GLEW_GET_FUN(__glewUniform2i)
1914#define glUniform2iv GLEW_GET_FUN(__glewUniform2iv)
1915#define glUniform3f GLEW_GET_FUN(__glewUniform3f)
1916#define glUniform3fv GLEW_GET_FUN(__glewUniform3fv)
1917#define glUniform3i GLEW_GET_FUN(__glewUniform3i)
1918#define glUniform3iv GLEW_GET_FUN(__glewUniform3iv)
1919#define glUniform4f GLEW_GET_FUN(__glewUniform4f)
1920#define glUniform4fv GLEW_GET_FUN(__glewUniform4fv)
1921#define glUniform4i GLEW_GET_FUN(__glewUniform4i)
1922#define glUniform4iv GLEW_GET_FUN(__glewUniform4iv)
1923#define glUniformMatrix2fv GLEW_GET_FUN(__glewUniformMatrix2fv)
1924#define glUniformMatrix3fv GLEW_GET_FUN(__glewUniformMatrix3fv)
1925#define glUniformMatrix4fv GLEW_GET_FUN(__glewUniformMatrix4fv)
1926#define glUseProgram GLEW_GET_FUN(__glewUseProgram)
1927#define glValidateProgram GLEW_GET_FUN(__glewValidateProgram)
1928#define glVertexAttrib1d GLEW_GET_FUN(__glewVertexAttrib1d)
1929#define glVertexAttrib1dv GLEW_GET_FUN(__glewVertexAttrib1dv)
1930#define glVertexAttrib1f GLEW_GET_FUN(__glewVertexAttrib1f)
1931#define glVertexAttrib1fv GLEW_GET_FUN(__glewVertexAttrib1fv)
1932#define glVertexAttrib1s GLEW_GET_FUN(__glewVertexAttrib1s)
1933#define glVertexAttrib1sv GLEW_GET_FUN(__glewVertexAttrib1sv)
1934#define glVertexAttrib2d GLEW_GET_FUN(__glewVertexAttrib2d)
1935#define glVertexAttrib2dv GLEW_GET_FUN(__glewVertexAttrib2dv)
1936#define glVertexAttrib2f GLEW_GET_FUN(__glewVertexAttrib2f)
1937#define glVertexAttrib2fv GLEW_GET_FUN(__glewVertexAttrib2fv)
1938#define glVertexAttrib2s GLEW_GET_FUN(__glewVertexAttrib2s)
1939#define glVertexAttrib2sv GLEW_GET_FUN(__glewVertexAttrib2sv)
1940#define glVertexAttrib3d GLEW_GET_FUN(__glewVertexAttrib3d)
1941#define glVertexAttrib3dv GLEW_GET_FUN(__glewVertexAttrib3dv)
1942#define glVertexAttrib3f GLEW_GET_FUN(__glewVertexAttrib3f)
1943#define glVertexAttrib3fv GLEW_GET_FUN(__glewVertexAttrib3fv)
1944#define glVertexAttrib3s GLEW_GET_FUN(__glewVertexAttrib3s)
1945#define glVertexAttrib3sv GLEW_GET_FUN(__glewVertexAttrib3sv)
1946#define glVertexAttrib4Nbv GLEW_GET_FUN(__glewVertexAttrib4Nbv)
1947#define glVertexAttrib4Niv GLEW_GET_FUN(__glewVertexAttrib4Niv)
1948#define glVertexAttrib4Nsv GLEW_GET_FUN(__glewVertexAttrib4Nsv)
1949#define glVertexAttrib4Nub GLEW_GET_FUN(__glewVertexAttrib4Nub)
1950#define glVertexAttrib4Nubv GLEW_GET_FUN(__glewVertexAttrib4Nubv)
1951#define glVertexAttrib4Nuiv GLEW_GET_FUN(__glewVertexAttrib4Nuiv)
1952#define glVertexAttrib4Nusv GLEW_GET_FUN(__glewVertexAttrib4Nusv)
1953#define glVertexAttrib4bv GLEW_GET_FUN(__glewVertexAttrib4bv)
1954#define glVertexAttrib4d GLEW_GET_FUN(__glewVertexAttrib4d)
1955#define glVertexAttrib4dv GLEW_GET_FUN(__glewVertexAttrib4dv)
1956#define glVertexAttrib4f GLEW_GET_FUN(__glewVertexAttrib4f)
1957#define glVertexAttrib4fv GLEW_GET_FUN(__glewVertexAttrib4fv)
1958#define glVertexAttrib4iv GLEW_GET_FUN(__glewVertexAttrib4iv)
1959#define glVertexAttrib4s GLEW_GET_FUN(__glewVertexAttrib4s)
1960#define glVertexAttrib4sv GLEW_GET_FUN(__glewVertexAttrib4sv)
1961#define glVertexAttrib4ubv GLEW_GET_FUN(__glewVertexAttrib4ubv)
1962#define glVertexAttrib4uiv GLEW_GET_FUN(__glewVertexAttrib4uiv)
1963#define glVertexAttrib4usv GLEW_GET_FUN(__glewVertexAttrib4usv)
1964#define glVertexAttribPointer GLEW_GET_FUN(__glewVertexAttribPointer)
1965
1966#define GLEW_VERSION_2_0 GLEW_GET_VAR(__GLEW_VERSION_2_0)
1967
1968#endif /* GL_VERSION_2_0 */
1969
1970/* ----------------------------- GL_VERSION_2_1 ---------------------------- */
1971
1972#ifndef GL_VERSION_2_1
1973#define GL_VERSION_2_1 1
1974
1975#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
1976#define GL_PIXEL_PACK_BUFFER 0x88EB
1977#define GL_PIXEL_UNPACK_BUFFER 0x88EC
1978#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
1979#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
1980#define GL_FLOAT_MAT2x3 0x8B65
1981#define GL_FLOAT_MAT2x4 0x8B66
1982#define GL_FLOAT_MAT3x2 0x8B67
1983#define GL_FLOAT_MAT3x4 0x8B68
1984#define GL_FLOAT_MAT4x2 0x8B69
1985#define GL_FLOAT_MAT4x3 0x8B6A
1986#define GL_SRGB 0x8C40
1987#define GL_SRGB8 0x8C41
1988#define GL_SRGB_ALPHA 0x8C42
1989#define GL_SRGB8_ALPHA8 0x8C43
1990#define GL_SLUMINANCE_ALPHA 0x8C44
1991#define GL_SLUMINANCE8_ALPHA8 0x8C45
1992#define GL_SLUMINANCE 0x8C46
1993#define GL_SLUMINANCE8 0x8C47
1994#define GL_COMPRESSED_SRGB 0x8C48
1995#define GL_COMPRESSED_SRGB_ALPHA 0x8C49
1996#define GL_COMPRESSED_SLUMINANCE 0x8C4A
1997#define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
1998
1999typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2000typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2001typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2002typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2003typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2004typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2005
2006#define glUniformMatrix2x3fv GLEW_GET_FUN(__glewUniformMatrix2x3fv)
2007#define glUniformMatrix2x4fv GLEW_GET_FUN(__glewUniformMatrix2x4fv)
2008#define glUniformMatrix3x2fv GLEW_GET_FUN(__glewUniformMatrix3x2fv)
2009#define glUniformMatrix3x4fv GLEW_GET_FUN(__glewUniformMatrix3x4fv)
2010#define glUniformMatrix4x2fv GLEW_GET_FUN(__glewUniformMatrix4x2fv)
2011#define glUniformMatrix4x3fv GLEW_GET_FUN(__glewUniformMatrix4x3fv)
2012
2013#define GLEW_VERSION_2_1 GLEW_GET_VAR(__GLEW_VERSION_2_1)
2014
2015#endif /* GL_VERSION_2_1 */
2016
2017/* ----------------------------- GL_VERSION_3_0 ---------------------------- */
2018
2019#ifndef GL_VERSION_3_0
2020#define GL_VERSION_3_0 1
2021
2022#define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES
2023#define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5
2024#define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1
2025#define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3
2026#define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB
2027#define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0
2028#define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4
2029#define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2
2030#define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS
2031#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
2032#define GL_MAJOR_VERSION 0x821B
2033#define GL_MINOR_VERSION 0x821C
2034#define GL_NUM_EXTENSIONS 0x821D
2035#define GL_CONTEXT_FLAGS 0x821E
2036#define GL_DEPTH_BUFFER 0x8223
2037#define GL_STENCIL_BUFFER 0x8224
2038#define GL_COMPRESSED_RED 0x8225
2039#define GL_COMPRESSED_RG 0x8226
2040#define GL_RGBA32F 0x8814
2041#define GL_RGB32F 0x8815
2042#define GL_RGBA16F 0x881A
2043#define GL_RGB16F 0x881B
2044#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
2045#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
2046#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
2047#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
2048#define GL_CLAMP_VERTEX_COLOR 0x891A
2049#define GL_CLAMP_FRAGMENT_COLOR 0x891B
2050#define GL_CLAMP_READ_COLOR 0x891C
2051#define GL_FIXED_ONLY 0x891D
2052#define GL_TEXTURE_RED_TYPE 0x8C10
2053#define GL_TEXTURE_GREEN_TYPE 0x8C11
2054#define GL_TEXTURE_BLUE_TYPE 0x8C12
2055#define GL_TEXTURE_ALPHA_TYPE 0x8C13
2056#define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
2057#define GL_TEXTURE_INTENSITY_TYPE 0x8C15
2058#define GL_TEXTURE_DEPTH_TYPE 0x8C16
2059#define GL_UNSIGNED_NORMALIZED 0x8C17
2060#define GL_TEXTURE_1D_ARRAY 0x8C18
2061#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
2062#define GL_TEXTURE_2D_ARRAY 0x8C1A
2063#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
2064#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
2065#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
2066#define GL_R11F_G11F_B10F 0x8C3A
2067#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
2068#define GL_RGB9_E5 0x8C3D
2069#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
2070#define GL_TEXTURE_SHARED_SIZE 0x8C3F
2071#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
2072#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
2073#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
2074#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
2075#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
2076#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
2077#define GL_PRIMITIVES_GENERATED 0x8C87
2078#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
2079#define GL_RASTERIZER_DISCARD 0x8C89
2080#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
2081#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
2082#define GL_INTERLEAVED_ATTRIBS 0x8C8C
2083#define GL_SEPARATE_ATTRIBS 0x8C8D
2084#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
2085#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
2086#define GL_RGBA32UI 0x8D70
2087#define GL_RGB32UI 0x8D71
2088#define GL_RGBA16UI 0x8D76
2089#define GL_RGB16UI 0x8D77
2090#define GL_RGBA8UI 0x8D7C
2091#define GL_RGB8UI 0x8D7D
2092#define GL_RGBA32I 0x8D82
2093#define GL_RGB32I 0x8D83
2094#define GL_RGBA16I 0x8D88
2095#define GL_RGB16I 0x8D89
2096#define GL_RGBA8I 0x8D8E
2097#define GL_RGB8I 0x8D8F
2098#define GL_RED_INTEGER 0x8D94
2099#define GL_GREEN_INTEGER 0x8D95
2100#define GL_BLUE_INTEGER 0x8D96
2101#define GL_ALPHA_INTEGER 0x8D97
2102#define GL_RGB_INTEGER 0x8D98
2103#define GL_RGBA_INTEGER 0x8D99
2104#define GL_BGR_INTEGER 0x8D9A
2105#define GL_BGRA_INTEGER 0x8D9B
2106#define GL_SAMPLER_1D_ARRAY 0x8DC0
2107#define GL_SAMPLER_2D_ARRAY 0x8DC1
2108#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
2109#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
2110#define GL_SAMPLER_CUBE_SHADOW 0x8DC5
2111#define GL_UNSIGNED_INT_VEC2 0x8DC6
2112#define GL_UNSIGNED_INT_VEC3 0x8DC7
2113#define GL_UNSIGNED_INT_VEC4 0x8DC8
2114#define GL_INT_SAMPLER_1D 0x8DC9
2115#define GL_INT_SAMPLER_2D 0x8DCA
2116#define GL_INT_SAMPLER_3D 0x8DCB
2117#define GL_INT_SAMPLER_CUBE 0x8DCC
2118#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
2119#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
2120#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
2121#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
2122#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
2123#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
2124#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
2125#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
2126#define GL_QUERY_WAIT 0x8E13
2127#define GL_QUERY_NO_WAIT 0x8E14
2128#define GL_QUERY_BY_REGION_WAIT 0x8E15
2129#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
2130
2131typedef void (GLAPIENTRY * PFNGLBEGINCONDITIONALRENDERPROC) (GLuint, GLenum);
2132typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum);
2133typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONPROC) (GLuint, GLuint, const GLchar*);
2134typedef void (GLAPIENTRY * PFNGLCLAMPCOLORPROC) (GLenum, GLenum);
2135typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFIPROC) (GLenum, GLint, GLfloat, GLint);
2136typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFVPROC) (GLenum, GLint, const GLfloat*);
2137typedef void (GLAPIENTRY * PFNGLCLEARBUFFERIVPROC) (GLenum, GLint, const GLint*);
2138typedef void (GLAPIENTRY * PFNGLCLEARBUFFERUIVPROC) (GLenum, GLint, const GLuint*);
2139typedef void (GLAPIENTRY * PFNGLCOLORMASKIPROC) (GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
2140typedef void (GLAPIENTRY * PFNGLDISABLEIPROC) (GLenum, GLuint);
2141typedef void (GLAPIENTRY * PFNGLENABLEIPROC) (GLenum, GLuint);
2142typedef void (GLAPIENTRY * PFNGLENDCONDITIONALRENDERPROC) (void);
2143typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKPROC) (void);
2144typedef void (GLAPIENTRY * PFNGLGETBOOLEANI_VPROC) (GLenum, GLuint, GLboolean*);
2145typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATALOCATIONPROC) (GLuint, const GLchar*);
2146typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGIPROC) (GLenum, GLuint);
2147typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIIVPROC) (GLenum, GLenum, GLint*);
2148typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIUIVPROC) (GLenum, GLenum, GLuint*);
2149typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
2150typedef void (GLAPIENTRY * PFNGLGETUNIFORMUIVPROC) (GLuint, GLint, GLuint*);
2151typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIIVPROC) (GLuint, GLenum, GLint*);
2152typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint, GLenum, GLuint*);
2153typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDIPROC) (GLenum, GLuint);
2154typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIIVPROC) (GLenum, GLenum, const GLint*);
2155typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIUIVPROC) (GLenum, GLenum, const GLuint*);
2156typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint, GLsizei, const GLchar **, GLenum);
2157typedef void (GLAPIENTRY * PFNGLUNIFORM1UIPROC) (GLint, GLuint);
2158typedef void (GLAPIENTRY * PFNGLUNIFORM1UIVPROC) (GLint, GLsizei, const GLuint*);
2159typedef void (GLAPIENTRY * PFNGLUNIFORM2UIPROC) (GLint, GLuint, GLuint);
2160typedef void (GLAPIENTRY * PFNGLUNIFORM2UIVPROC) (GLint, GLsizei, const GLuint*);
2161typedef void (GLAPIENTRY * PFNGLUNIFORM3UIPROC) (GLint, GLuint, GLuint, GLuint);
2162typedef void (GLAPIENTRY * PFNGLUNIFORM3UIVPROC) (GLint, GLsizei, const GLuint*);
2163typedef void (GLAPIENTRY * PFNGLUNIFORM4UIPROC) (GLint, GLuint, GLuint, GLuint, GLuint);
2164typedef void (GLAPIENTRY * PFNGLUNIFORM4UIVPROC) (GLint, GLsizei, const GLuint*);
2165typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IPROC) (GLuint, GLint);
2166typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IVPROC) (GLuint, const GLint*);
2167typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIPROC) (GLuint, GLuint);
2168typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIVPROC) (GLuint, const GLuint*);
2169typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IPROC) (GLuint, GLint, GLint);
2170typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IVPROC) (GLuint, const GLint*);
2171typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIPROC) (GLuint, GLuint, GLuint);
2172typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIVPROC) (GLuint, const GLuint*);
2173typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IPROC) (GLuint, GLint, GLint, GLint);
2174typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IVPROC) (GLuint, const GLint*);
2175typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIPROC) (GLuint, GLuint, GLuint, GLuint);
2176typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIVPROC) (GLuint, const GLuint*);
2177typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4BVPROC) (GLuint, const GLbyte*);
2178typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IPROC) (GLuint, GLint, GLint, GLint, GLint);
2179typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IVPROC) (GLuint, const GLint*);
2180typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4SVPROC) (GLuint, const GLshort*);
2181typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UBVPROC) (GLuint, const GLubyte*);
2182typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIPROC) (GLuint, GLuint, GLuint, GLuint, GLuint);
2183typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIVPROC) (GLuint, const GLuint*);
2184typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4USVPROC) (GLuint, const GLushort*);
2185typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint, GLint, GLenum, GLsizei, const GLvoid*);
2186
2187#define glBeginConditionalRender GLEW_GET_FUN(__glewBeginConditionalRender)
2188#define glBeginTransformFeedback GLEW_GET_FUN(__glewBeginTransformFeedback)
2189#define glBindFragDataLocation GLEW_GET_FUN(__glewBindFragDataLocation)
2190#define glClampColor GLEW_GET_FUN(__glewClampColor)
2191#define glClearBufferfi GLEW_GET_FUN(__glewClearBufferfi)
2192#define glClearBufferfv GLEW_GET_FUN(__glewClearBufferfv)
2193#define glClearBufferiv GLEW_GET_FUN(__glewClearBufferiv)
2194#define glClearBufferuiv GLEW_GET_FUN(__glewClearBufferuiv)
2195#define glColorMaski GLEW_GET_FUN(__glewColorMaski)
2196#define glDisablei GLEW_GET_FUN(__glewDisablei)
2197#define glEnablei GLEW_GET_FUN(__glewEnablei)
2198#define glEndConditionalRender GLEW_GET_FUN(__glewEndConditionalRender)
2199#define glEndTransformFeedback GLEW_GET_FUN(__glewEndTransformFeedback)
2200#define glGetBooleani_v GLEW_GET_FUN(__glewGetBooleani_v)
2201#define glGetFragDataLocation GLEW_GET_FUN(__glewGetFragDataLocation)
2202#define glGetStringi GLEW_GET_FUN(__glewGetStringi)
2203#define glGetTexParameterIiv GLEW_GET_FUN(__glewGetTexParameterIiv)
2204#define glGetTexParameterIuiv GLEW_GET_FUN(__glewGetTexParameterIuiv)
2205#define glGetTransformFeedbackVarying GLEW_GET_FUN(__glewGetTransformFeedbackVarying)
2206#define glGetUniformuiv GLEW_GET_FUN(__glewGetUniformuiv)
2207#define glGetVertexAttribIiv GLEW_GET_FUN(__glewGetVertexAttribIiv)
2208#define glGetVertexAttribIuiv GLEW_GET_FUN(__glewGetVertexAttribIuiv)
2209#define glIsEnabledi GLEW_GET_FUN(__glewIsEnabledi)
2210#define glTexParameterIiv GLEW_GET_FUN(__glewTexParameterIiv)
2211#define glTexParameterIuiv GLEW_GET_FUN(__glewTexParameterIuiv)
2212#define glTransformFeedbackVaryings GLEW_GET_FUN(__glewTransformFeedbackVaryings)
2213#define glUniform1ui GLEW_GET_FUN(__glewUniform1ui)
2214#define glUniform1uiv GLEW_GET_FUN(__glewUniform1uiv)
2215#define glUniform2ui GLEW_GET_FUN(__glewUniform2ui)
2216#define glUniform2uiv GLEW_GET_FUN(__glewUniform2uiv)
2217#define glUniform3ui GLEW_GET_FUN(__glewUniform3ui)
2218#define glUniform3uiv GLEW_GET_FUN(__glewUniform3uiv)
2219#define glUniform4ui GLEW_GET_FUN(__glewUniform4ui)
2220#define glUniform4uiv GLEW_GET_FUN(__glewUniform4uiv)
2221#define glVertexAttribI1i GLEW_GET_FUN(__glewVertexAttribI1i)
2222#define glVertexAttribI1iv GLEW_GET_FUN(__glewVertexAttribI1iv)
2223#define glVertexAttribI1ui GLEW_GET_FUN(__glewVertexAttribI1ui)
2224#define glVertexAttribI1uiv GLEW_GET_FUN(__glewVertexAttribI1uiv)
2225#define glVertexAttribI2i GLEW_GET_FUN(__glewVertexAttribI2i)
2226#define glVertexAttribI2iv GLEW_GET_FUN(__glewVertexAttribI2iv)
2227#define glVertexAttribI2ui GLEW_GET_FUN(__glewVertexAttribI2ui)
2228#define glVertexAttribI2uiv GLEW_GET_FUN(__glewVertexAttribI2uiv)
2229#define glVertexAttribI3i GLEW_GET_FUN(__glewVertexAttribI3i)
2230#define glVertexAttribI3iv GLEW_GET_FUN(__glewVertexAttribI3iv)
2231#define glVertexAttribI3ui GLEW_GET_FUN(__glewVertexAttribI3ui)
2232#define glVertexAttribI3uiv GLEW_GET_FUN(__glewVertexAttribI3uiv)
2233#define glVertexAttribI4bv GLEW_GET_FUN(__glewVertexAttribI4bv)
2234#define glVertexAttribI4i GLEW_GET_FUN(__glewVertexAttribI4i)
2235#define glVertexAttribI4iv GLEW_GET_FUN(__glewVertexAttribI4iv)
2236#define glVertexAttribI4sv GLEW_GET_FUN(__glewVertexAttribI4sv)
2237#define glVertexAttribI4ubv GLEW_GET_FUN(__glewVertexAttribI4ubv)
2238#define glVertexAttribI4ui GLEW_GET_FUN(__glewVertexAttribI4ui)
2239#define glVertexAttribI4uiv GLEW_GET_FUN(__glewVertexAttribI4uiv)
2240#define glVertexAttribI4usv GLEW_GET_FUN(__glewVertexAttribI4usv)
2241#define glVertexAttribIPointer GLEW_GET_FUN(__glewVertexAttribIPointer)
2242
2243#define GLEW_VERSION_3_0 GLEW_GET_VAR(__GLEW_VERSION_3_0)
2244
2245#endif /* GL_VERSION_3_0 */
2246
2247/* ----------------------------- GL_VERSION_3_1 ---------------------------- */
2248
2249#ifndef GL_VERSION_3_1
2250#define GL_VERSION_3_1 1
2251
2252#define GL_TEXTURE_RECTANGLE 0x84F5
2253#define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
2254#define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
2255#define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
2256#define GL_SAMPLER_2D_RECT 0x8B63
2257#define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
2258#define GL_TEXTURE_BUFFER 0x8C2A
2259#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
2260#define GL_TEXTURE_BINDING_BUFFER 0x8C2C
2261#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
2262#define GL_TEXTURE_BUFFER_FORMAT 0x8C2E
2263#define GL_SAMPLER_BUFFER 0x8DC2
2264#define GL_INT_SAMPLER_2D_RECT 0x8DCD
2265#define GL_INT_SAMPLER_BUFFER 0x8DD0
2266#define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
2267#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
2268#define GL_RED_SNORM 0x8F90
2269#define GL_RG_SNORM 0x8F91
2270#define GL_RGB_SNORM 0x8F92
2271#define GL_RGBA_SNORM 0x8F93
2272#define GL_R8_SNORM 0x8F94
2273#define GL_RG8_SNORM 0x8F95
2274#define GL_RGB8_SNORM 0x8F96
2275#define GL_RGBA8_SNORM 0x8F97
2276#define GL_R16_SNORM 0x8F98
2277#define GL_RG16_SNORM 0x8F99
2278#define GL_RGB16_SNORM 0x8F9A
2279#define GL_RGBA16_SNORM 0x8F9B
2280#define GL_SIGNED_NORMALIZED 0x8F9C
2281#define GL_PRIMITIVE_RESTART 0x8F9D
2282#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
2283#define GL_BUFFER_ACCESS_FLAGS 0x911F
2284#define GL_BUFFER_MAP_LENGTH 0x9120
2285#define GL_BUFFER_MAP_OFFSET 0x9121
2286
2287typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum, GLint, GLsizei, GLsizei);
2288typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum, GLsizei, GLenum, const GLvoid*, GLsizei);
2289typedef void (GLAPIENTRY * PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint);
2290typedef void (GLAPIENTRY * PFNGLTEXBUFFERPROC) (GLenum, GLenum, GLuint);
2291
2292#define glDrawArraysInstanced GLEW_GET_FUN(__glewDrawArraysInstanced)
2293#define glDrawElementsInstanced GLEW_GET_FUN(__glewDrawElementsInstanced)
2294#define glPrimitiveRestartIndex GLEW_GET_FUN(__glewPrimitiveRestartIndex)
2295#define glTexBuffer GLEW_GET_FUN(__glewTexBuffer)
2296
2297#define GLEW_VERSION_3_1 GLEW_GET_VAR(__GLEW_VERSION_3_1)
2298
2299#endif /* GL_VERSION_3_1 */
2300
2301/* ----------------------------- GL_VERSION_3_2 ---------------------------- */
2302
2303#ifndef GL_VERSION_3_2
2304#define GL_VERSION_3_2 1
2305
2306#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
2307#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
2308#define GL_LINES_ADJACENCY 0x000A
2309#define GL_LINE_STRIP_ADJACENCY 0x000B
2310#define GL_TRIANGLES_ADJACENCY 0x000C
2311#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
2312#define GL_PROGRAM_POINT_SIZE 0x8642
2313#define GL_GEOMETRY_VERTICES_OUT 0x8916
2314#define GL_GEOMETRY_INPUT_TYPE 0x8917
2315#define GL_GEOMETRY_OUTPUT_TYPE 0x8918
2316#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
2317#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
2318#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
2319#define GL_GEOMETRY_SHADER 0x8DD9
2320#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
2321#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
2322#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
2323#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
2324#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
2325#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
2326#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
2327#define GL_CONTEXT_PROFILE_MASK 0x9126
2328
2329typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum, GLenum, GLuint, GLint);
2330typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum, GLenum, GLint64 *);
2331typedef void (GLAPIENTRY * PFNGLGETINTEGER64I_VPROC) (GLenum, GLuint, GLint64 *);
2332
2333#define glFramebufferTexture GLEW_GET_FUN(__glewFramebufferTexture)
2334#define glGetBufferParameteri64v GLEW_GET_FUN(__glewGetBufferParameteri64v)
2335#define glGetInteger64i_v GLEW_GET_FUN(__glewGetInteger64i_v)
2336
2337#define GLEW_VERSION_3_2 GLEW_GET_VAR(__GLEW_VERSION_3_2)
2338
2339#endif /* GL_VERSION_3_2 */
2340
2341/* ----------------------------- GL_VERSION_3_3 ---------------------------- */
2342
2343#ifndef GL_VERSION_3_3
2344#define GL_VERSION_3_3 1
2345
2346#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
2347#define GL_ANY_SAMPLES_PASSED 0x8C2F
2348#define GL_TEXTURE_SWIZZLE_R 0x8E42
2349#define GL_TEXTURE_SWIZZLE_G 0x8E43
2350#define GL_TEXTURE_SWIZZLE_B 0x8E44
2351#define GL_TEXTURE_SWIZZLE_A 0x8E45
2352#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
2353#define GL_RGB10_A2UI 0x906F
2354
2355typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
2356
2357#define glVertexAttribDivisor GLEW_GET_FUN(__glewVertexAttribDivisor)
2358
2359#define GLEW_VERSION_3_3 GLEW_GET_VAR(__GLEW_VERSION_3_3)
2360
2361#endif /* GL_VERSION_3_3 */
2362
2363/* ----------------------------- GL_VERSION_4_0 ---------------------------- */
2364
2365#ifndef GL_VERSION_4_0
2366#define GL_VERSION_4_0 1
2367
2368#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
2369#define GL_SAMPLE_SHADING 0x8C36
2370#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
2371#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
2372#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
2373#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
2374#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
2375#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
2376#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
2377#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS 0x8F9F
2378#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
2379#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
2380#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
2381#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
2382#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
2383#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
2384#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
2385
2386typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
2387typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
2388typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
2389typedef void (GLAPIENTRY * PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
2390typedef void (GLAPIENTRY * PFNGLMINSAMPLESHADINGPROC) (GLclampf value);
2391
2392#define glBlendEquationSeparatei GLEW_GET_FUN(__glewBlendEquationSeparatei)
2393#define glBlendEquationi GLEW_GET_FUN(__glewBlendEquationi)
2394#define glBlendFuncSeparatei GLEW_GET_FUN(__glewBlendFuncSeparatei)
2395#define glBlendFunci GLEW_GET_FUN(__glewBlendFunci)
2396#define glMinSampleShading GLEW_GET_FUN(__glewMinSampleShading)
2397
2398#define GLEW_VERSION_4_0 GLEW_GET_VAR(__GLEW_VERSION_4_0)
2399
2400#endif /* GL_VERSION_4_0 */
2401
2402/* ----------------------------- GL_VERSION_4_1 ---------------------------- */
2403
2404#ifndef GL_VERSION_4_1
2405#define GL_VERSION_4_1 1
2406
2407#define GLEW_VERSION_4_1 GLEW_GET_VAR(__GLEW_VERSION_4_1)
2408
2409#endif /* GL_VERSION_4_1 */
2410
2411/* -------------------------- GL_3DFX_multisample -------------------------- */
2412
2413#ifndef GL_3DFX_multisample
2414#define GL_3DFX_multisample 1
2415
2416#define GL_MULTISAMPLE_3DFX 0x86B2
2417#define GL_SAMPLE_BUFFERS_3DFX 0x86B3
2418#define GL_SAMPLES_3DFX 0x86B4
2419#define GL_MULTISAMPLE_BIT_3DFX 0x20000000
2420
2421#define GLEW_3DFX_multisample GLEW_GET_VAR(__GLEW_3DFX_multisample)
2422
2423#endif /* GL_3DFX_multisample */
2424
2425/* ---------------------------- GL_3DFX_tbuffer ---------------------------- */
2426
2427#ifndef GL_3DFX_tbuffer
2428#define GL_3DFX_tbuffer 1
2429
2430typedef void (GLAPIENTRY * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
2431
2432#define glTbufferMask3DFX GLEW_GET_FUN(__glewTbufferMask3DFX)
2433
2434#define GLEW_3DFX_tbuffer GLEW_GET_VAR(__GLEW_3DFX_tbuffer)
2435
2436#endif /* GL_3DFX_tbuffer */
2437
2438/* -------------------- GL_3DFX_texture_compression_FXT1 ------------------- */
2439
2440#ifndef GL_3DFX_texture_compression_FXT1
2441#define GL_3DFX_texture_compression_FXT1 1
2442
2443#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
2444#define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
2445
2446#define GLEW_3DFX_texture_compression_FXT1 GLEW_GET_VAR(__GLEW_3DFX_texture_compression_FXT1)
2447
2448#endif /* GL_3DFX_texture_compression_FXT1 */
2449
2450/* ----------------------- GL_AMD_blend_minmax_factor ---------------------- */
2451
2452#ifndef GL_AMD_blend_minmax_factor
2453#define GL_AMD_blend_minmax_factor 1
2454
2455#define GL_FACTOR_MIN_AMD 0x901C
2456#define GL_FACTOR_MAX_AMD 0x901D
2457
2458#define GLEW_AMD_blend_minmax_factor GLEW_GET_VAR(__GLEW_AMD_blend_minmax_factor)
2459
2460#endif /* GL_AMD_blend_minmax_factor */
2461
2462/* ----------------------- GL_AMD_conservative_depth ----------------------- */
2463
2464#ifndef GL_AMD_conservative_depth
2465#define GL_AMD_conservative_depth 1
2466
2467#define GLEW_AMD_conservative_depth GLEW_GET_VAR(__GLEW_AMD_conservative_depth)
2468
2469#endif /* GL_AMD_conservative_depth */
2470
2471/* -------------------------- GL_AMD_debug_output -------------------------- */
2472
2473#ifndef GL_AMD_debug_output
2474#define GL_AMD_debug_output 1
2475
2476#define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
2477#define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
2478#define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
2479#define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
2480#define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
2481#define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
2482#define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
2483#define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
2484#define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
2485#define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
2486#define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
2487#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
2488#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
2489#define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
2490
2491typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam);
2492
2493typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void* userParam);
2494typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled);
2495typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const char* buf);
2496typedef GLuint (GLAPIENTRY * PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum* categories, GLuint* severities, GLuint* ids, GLsizei* lengths, char* message);
2497
2498#define glDebugMessageCallbackAMD GLEW_GET_FUN(__glewDebugMessageCallbackAMD)
2499#define glDebugMessageEnableAMD GLEW_GET_FUN(__glewDebugMessageEnableAMD)
2500#define glDebugMessageInsertAMD GLEW_GET_FUN(__glewDebugMessageInsertAMD)
2501#define glGetDebugMessageLogAMD GLEW_GET_FUN(__glewGetDebugMessageLogAMD)
2502
2503#define GLEW_AMD_debug_output GLEW_GET_VAR(__GLEW_AMD_debug_output)
2504
2505#endif /* GL_AMD_debug_output */
2506
2507/* ---------------------- GL_AMD_depth_clamp_separate ---------------------- */
2508
2509#ifndef GL_AMD_depth_clamp_separate
2510#define GL_AMD_depth_clamp_separate 1
2511
2512#define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
2513#define GL_DEPTH_CLAMP_FAR_AMD 0x901F
2514
2515#define GLEW_AMD_depth_clamp_separate GLEW_GET_VAR(__GLEW_AMD_depth_clamp_separate)
2516
2517#endif /* GL_AMD_depth_clamp_separate */
2518
2519/* ----------------------- GL_AMD_draw_buffers_blend ----------------------- */
2520
2521#ifndef GL_AMD_draw_buffers_blend
2522#define GL_AMD_draw_buffers_blend 1
2523
2524typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
2525typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
2526typedef void (GLAPIENTRY * PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
2527typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
2528
2529#define glBlendEquationIndexedAMD GLEW_GET_FUN(__glewBlendEquationIndexedAMD)
2530#define glBlendEquationSeparateIndexedAMD GLEW_GET_FUN(__glewBlendEquationSeparateIndexedAMD)
2531#define glBlendFuncIndexedAMD GLEW_GET_FUN(__glewBlendFuncIndexedAMD)
2532#define glBlendFuncSeparateIndexedAMD GLEW_GET_FUN(__glewBlendFuncSeparateIndexedAMD)
2533
2534#define GLEW_AMD_draw_buffers_blend GLEW_GET_VAR(__GLEW_AMD_draw_buffers_blend)
2535
2536#endif /* GL_AMD_draw_buffers_blend */
2537
2538/* ------------------------- GL_AMD_name_gen_delete ------------------------ */
2539
2540#ifndef GL_AMD_name_gen_delete
2541#define GL_AMD_name_gen_delete 1
2542
2543#define GL_DATA_BUFFER_AMD 0x9151
2544#define GL_PERFORMANCE_MONITOR_AMD 0x9152
2545#define GL_QUERY_OBJECT_AMD 0x9153
2546#define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
2547#define GL_SAMPLER_OBJECT_AMD 0x9155
2548
2549typedef void (GLAPIENTRY * PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint* names);
2550typedef void (GLAPIENTRY * PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint* names);
2551typedef GLboolean (GLAPIENTRY * PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
2552
2553#define glDeleteNamesAMD GLEW_GET_FUN(__glewDeleteNamesAMD)
2554#define glGenNamesAMD GLEW_GET_FUN(__glewGenNamesAMD)
2555#define glIsNameAMD GLEW_GET_FUN(__glewIsNameAMD)
2556
2557#define GLEW_AMD_name_gen_delete GLEW_GET_VAR(__GLEW_AMD_name_gen_delete)
2558
2559#endif /* GL_AMD_name_gen_delete */
2560
2561/* ----------------------- GL_AMD_performance_monitor ---------------------- */
2562
2563#ifndef GL_AMD_performance_monitor
2564#define GL_AMD_performance_monitor 1
2565
2566#define GL_UNSIGNED_INT 0x1405
2567#define GL_FLOAT 0x1406
2568#define GL_COUNTER_TYPE_AMD 0x8BC0
2569#define GL_COUNTER_RANGE_AMD 0x8BC1
2570#define GL_UNSIGNED_INT64_AMD 0x8BC2
2571#define GL_PERCENTAGE_AMD 0x8BC3
2572#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
2573#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
2574#define GL_PERFMON_RESULT_AMD 0x8BC6
2575
2576typedef void (GLAPIENTRY * PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
2577typedef void (GLAPIENTRY * PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors);
2578typedef void (GLAPIENTRY * PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
2579typedef void (GLAPIENTRY * PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors);
2580typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint *bytesWritten);
2581typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void* data);
2582typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, char *counterString);
2583typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint* numCounters, GLint *maxActiveCounters, GLsizei countersSize, GLuint *counters);
2584typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei* length, char *groupString);
2585typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint* numGroups, GLsizei groupsSize, GLuint *groups);
2586typedef void (GLAPIENTRY * PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* counterList);
2587
2588#define glBeginPerfMonitorAMD GLEW_GET_FUN(__glewBeginPerfMonitorAMD)
2589#define glDeletePerfMonitorsAMD GLEW_GET_FUN(__glewDeletePerfMonitorsAMD)
2590#define glEndPerfMonitorAMD GLEW_GET_FUN(__glewEndPerfMonitorAMD)
2591#define glGenPerfMonitorsAMD GLEW_GET_FUN(__glewGenPerfMonitorsAMD)
2592#define glGetPerfMonitorCounterDataAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterDataAMD)
2593#define glGetPerfMonitorCounterInfoAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterInfoAMD)
2594#define glGetPerfMonitorCounterStringAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterStringAMD)
2595#define glGetPerfMonitorCountersAMD GLEW_GET_FUN(__glewGetPerfMonitorCountersAMD)
2596#define glGetPerfMonitorGroupStringAMD GLEW_GET_FUN(__glewGetPerfMonitorGroupStringAMD)
2597#define glGetPerfMonitorGroupsAMD GLEW_GET_FUN(__glewGetPerfMonitorGroupsAMD)
2598#define glSelectPerfMonitorCountersAMD GLEW_GET_FUN(__glewSelectPerfMonitorCountersAMD)
2599
2600#define GLEW_AMD_performance_monitor GLEW_GET_VAR(__GLEW_AMD_performance_monitor)
2601
2602#endif /* GL_AMD_performance_monitor */
2603
2604/* ------------------------ GL_AMD_sample_positions ------------------------ */
2605
2606#ifndef GL_AMD_sample_positions
2607#define GL_AMD_sample_positions 1
2608
2609#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
2610
2611typedef void (GLAPIENTRY * PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat* val);
2612
2613#define glSetMultisamplefvAMD GLEW_GET_FUN(__glewSetMultisamplefvAMD)
2614
2615#define GLEW_AMD_sample_positions GLEW_GET_VAR(__GLEW_AMD_sample_positions)
2616
2617#endif /* GL_AMD_sample_positions */
2618
2619/* ------------------ GL_AMD_seamless_cubemap_per_texture ------------------ */
2620
2621#ifndef GL_AMD_seamless_cubemap_per_texture
2622#define GL_AMD_seamless_cubemap_per_texture 1
2623
2624#define GL_TEXTURE_CUBE_MAP_SEAMLESS_ARB 0x884F
2625
2626#define GLEW_AMD_seamless_cubemap_per_texture GLEW_GET_VAR(__GLEW_AMD_seamless_cubemap_per_texture)
2627
2628#endif /* GL_AMD_seamless_cubemap_per_texture */
2629
2630/* ---------------------- GL_AMD_shader_stencil_export --------------------- */
2631
2632#ifndef GL_AMD_shader_stencil_export
2633#define GL_AMD_shader_stencil_export 1
2634
2635#define GLEW_AMD_shader_stencil_export GLEW_GET_VAR(__GLEW_AMD_shader_stencil_export)
2636
2637#endif /* GL_AMD_shader_stencil_export */
2638
2639/* ------------------------ GL_AMD_texture_texture4 ------------------------ */
2640
2641#ifndef GL_AMD_texture_texture4
2642#define GL_AMD_texture_texture4 1
2643
2644#define GLEW_AMD_texture_texture4 GLEW_GET_VAR(__GLEW_AMD_texture_texture4)
2645
2646#endif /* GL_AMD_texture_texture4 */
2647
2648/* --------------- GL_AMD_transform_feedback3_lines_triangles -------------- */
2649
2650#ifndef GL_AMD_transform_feedback3_lines_triangles
2651#define GL_AMD_transform_feedback3_lines_triangles 1
2652
2653#define GLEW_AMD_transform_feedback3_lines_triangles GLEW_GET_VAR(__GLEW_AMD_transform_feedback3_lines_triangles)
2654
2655#endif /* GL_AMD_transform_feedback3_lines_triangles */
2656
2657/* -------------------- GL_AMD_vertex_shader_tessellator ------------------- */
2658
2659#ifndef GL_AMD_vertex_shader_tessellator
2660#define GL_AMD_vertex_shader_tessellator 1
2661
2662#define GL_SAMPLER_BUFFER_AMD 0x9001
2663#define GL_INT_SAMPLER_BUFFER_AMD 0x9002
2664#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
2665#define GL_TESSELLATION_MODE_AMD 0x9004
2666#define GL_TESSELLATION_FACTOR_AMD 0x9005
2667#define GL_DISCRETE_AMD 0x9006
2668#define GL_CONTINUOUS_AMD 0x9007
2669
2670typedef void (GLAPIENTRY * PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
2671typedef void (GLAPIENTRY * PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
2672
2673#define glTessellationFactorAMD GLEW_GET_FUN(__glewTessellationFactorAMD)
2674#define glTessellationModeAMD GLEW_GET_FUN(__glewTessellationModeAMD)
2675
2676#define GLEW_AMD_vertex_shader_tessellator GLEW_GET_VAR(__GLEW_AMD_vertex_shader_tessellator)
2677
2678#endif /* GL_AMD_vertex_shader_tessellator */
2679
2680/* ----------------------- GL_APPLE_aux_depth_stencil ---------------------- */
2681
2682#ifndef GL_APPLE_aux_depth_stencil
2683#define GL_APPLE_aux_depth_stencil 1
2684
2685#define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
2686
2687#define GLEW_APPLE_aux_depth_stencil GLEW_GET_VAR(__GLEW_APPLE_aux_depth_stencil)
2688
2689#endif /* GL_APPLE_aux_depth_stencil */
2690
2691/* ------------------------ GL_APPLE_client_storage ------------------------ */
2692
2693#ifndef GL_APPLE_client_storage
2694#define GL_APPLE_client_storage 1
2695
2696#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
2697
2698#define GLEW_APPLE_client_storage GLEW_GET_VAR(__GLEW_APPLE_client_storage)
2699
2700#endif /* GL_APPLE_client_storage */
2701
2702/* ------------------------- GL_APPLE_element_array ------------------------ */
2703
2704#ifndef GL_APPLE_element_array
2705#define GL_APPLE_element_array 1
2706
2707#define GL_ELEMENT_ARRAY_APPLE 0x8A0C
2708#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
2709#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
2710
2711typedef void (GLAPIENTRY * PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
2712typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
2713typedef void (GLAPIENTRY * PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void* pointer);
2714typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount);
2715typedef void (GLAPIENTRY * PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei *count, GLsizei primcount);
2716
2717#define glDrawElementArrayAPPLE GLEW_GET_FUN(__glewDrawElementArrayAPPLE)
2718#define glDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewDrawRangeElementArrayAPPLE)
2719#define glElementPointerAPPLE GLEW_GET_FUN(__glewElementPointerAPPLE)
2720#define glMultiDrawElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawElementArrayAPPLE)
2721#define glMultiDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawRangeElementArrayAPPLE)
2722
2723#define GLEW_APPLE_element_array GLEW_GET_VAR(__GLEW_APPLE_element_array)
2724
2725#endif /* GL_APPLE_element_array */
2726
2727/* ----------------------------- GL_APPLE_fence ---------------------------- */
2728
2729#ifndef GL_APPLE_fence
2730#define GL_APPLE_fence 1
2731
2732#define GL_DRAW_PIXELS_APPLE 0x8A0A
2733#define GL_FENCE_APPLE 0x8A0B
2734
2735typedef void (GLAPIENTRY * PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint* fences);
2736typedef void (GLAPIENTRY * PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
2737typedef void (GLAPIENTRY * PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
2738typedef void (GLAPIENTRY * PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint* fences);
2739typedef GLboolean (GLAPIENTRY * PFNGLISFENCEAPPLEPROC) (GLuint fence);
2740typedef void (GLAPIENTRY * PFNGLSETFENCEAPPLEPROC) (GLuint fence);
2741typedef GLboolean (GLAPIENTRY * PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
2742typedef GLboolean (GLAPIENTRY * PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
2743
2744#define glDeleteFencesAPPLE GLEW_GET_FUN(__glewDeleteFencesAPPLE)
2745#define glFinishFenceAPPLE GLEW_GET_FUN(__glewFinishFenceAPPLE)
2746#define glFinishObjectAPPLE GLEW_GET_FUN(__glewFinishObjectAPPLE)
2747#define glGenFencesAPPLE GLEW_GET_FUN(__glewGenFencesAPPLE)
2748#define glIsFenceAPPLE GLEW_GET_FUN(__glewIsFenceAPPLE)
2749#define glSetFenceAPPLE GLEW_GET_FUN(__glewSetFenceAPPLE)
2750#define glTestFenceAPPLE GLEW_GET_FUN(__glewTestFenceAPPLE)
2751#define glTestObjectAPPLE GLEW_GET_FUN(__glewTestObjectAPPLE)
2752
2753#define GLEW_APPLE_fence GLEW_GET_VAR(__GLEW_APPLE_fence)
2754
2755#endif /* GL_APPLE_fence */
2756
2757/* ------------------------- GL_APPLE_float_pixels ------------------------- */
2758
2759#ifndef GL_APPLE_float_pixels
2760#define GL_APPLE_float_pixels 1
2761
2762#define GL_HALF_APPLE 0x140B
2763#define GL_RGBA_FLOAT32_APPLE 0x8814
2764#define GL_RGB_FLOAT32_APPLE 0x8815
2765#define GL_ALPHA_FLOAT32_APPLE 0x8816
2766#define GL_INTENSITY_FLOAT32_APPLE 0x8817
2767#define GL_LUMINANCE_FLOAT32_APPLE 0x8818
2768#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
2769#define GL_RGBA_FLOAT16_APPLE 0x881A
2770#define GL_RGB_FLOAT16_APPLE 0x881B
2771#define GL_ALPHA_FLOAT16_APPLE 0x881C
2772#define GL_INTENSITY_FLOAT16_APPLE 0x881D
2773#define GL_LUMINANCE_FLOAT16_APPLE 0x881E
2774#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
2775#define GL_COLOR_FLOAT_APPLE 0x8A0F
2776
2777#define GLEW_APPLE_float_pixels GLEW_GET_VAR(__GLEW_APPLE_float_pixels)
2778
2779#endif /* GL_APPLE_float_pixels */
2780
2781/* ---------------------- GL_APPLE_flush_buffer_range ---------------------- */
2782
2783#ifndef GL_APPLE_flush_buffer_range
2784#define GL_APPLE_flush_buffer_range 1
2785
2786#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
2787#define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
2788
2789typedef void (GLAPIENTRY * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
2790typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
2791
2792#define glBufferParameteriAPPLE GLEW_GET_FUN(__glewBufferParameteriAPPLE)
2793#define glFlushMappedBufferRangeAPPLE GLEW_GET_FUN(__glewFlushMappedBufferRangeAPPLE)
2794
2795#define GLEW_APPLE_flush_buffer_range GLEW_GET_VAR(__GLEW_APPLE_flush_buffer_range)
2796
2797#endif /* GL_APPLE_flush_buffer_range */
2798
2799/* ----------------------- GL_APPLE_object_purgeable ----------------------- */
2800
2801#ifndef GL_APPLE_object_purgeable
2802#define GL_APPLE_object_purgeable 1
2803
2804#define GL_BUFFER_OBJECT_APPLE 0x85B3
2805#define GL_RELEASED_APPLE 0x8A19
2806#define GL_VOLATILE_APPLE 0x8A1A
2807#define GL_RETAINED_APPLE 0x8A1B
2808#define GL_UNDEFINED_APPLE 0x8A1C
2809#define GL_PURGEABLE_APPLE 0x8A1D
2810
2811typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint* params);
2812typedef GLenum (GLAPIENTRY * PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
2813typedef GLenum (GLAPIENTRY * PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
2814
2815#define glGetObjectParameterivAPPLE GLEW_GET_FUN(__glewGetObjectParameterivAPPLE)
2816#define glObjectPurgeableAPPLE GLEW_GET_FUN(__glewObjectPurgeableAPPLE)
2817#define glObjectUnpurgeableAPPLE GLEW_GET_FUN(__glewObjectUnpurgeableAPPLE)
2818
2819#define GLEW_APPLE_object_purgeable GLEW_GET_VAR(__GLEW_APPLE_object_purgeable)
2820
2821#endif /* GL_APPLE_object_purgeable */
2822
2823/* ------------------------- GL_APPLE_pixel_buffer ------------------------- */
2824
2825#ifndef GL_APPLE_pixel_buffer
2826#define GL_APPLE_pixel_buffer 1
2827
2828#define GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10
2829
2830#define GLEW_APPLE_pixel_buffer GLEW_GET_VAR(__GLEW_APPLE_pixel_buffer)
2831
2832#endif /* GL_APPLE_pixel_buffer */
2833
2834/* ---------------------------- GL_APPLE_rgb_422 --------------------------- */
2835
2836#ifndef GL_APPLE_rgb_422
2837#define GL_APPLE_rgb_422 1
2838
2839#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
2840#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
2841#define GL_RGB_422_APPLE 0x8A1F
2842
2843#define GLEW_APPLE_rgb_422 GLEW_GET_VAR(__GLEW_APPLE_rgb_422)
2844
2845#endif /* GL_APPLE_rgb_422 */
2846
2847/* --------------------------- GL_APPLE_row_bytes -------------------------- */
2848
2849#ifndef GL_APPLE_row_bytes
2850#define GL_APPLE_row_bytes 1
2851
2852#define GL_PACK_ROW_BYTES_APPLE 0x8A15
2853#define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
2854
2855#define GLEW_APPLE_row_bytes GLEW_GET_VAR(__GLEW_APPLE_row_bytes)
2856
2857#endif /* GL_APPLE_row_bytes */
2858
2859/* ------------------------ GL_APPLE_specular_vector ----------------------- */
2860
2861#ifndef GL_APPLE_specular_vector
2862#define GL_APPLE_specular_vector 1
2863
2864#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
2865
2866#define GLEW_APPLE_specular_vector GLEW_GET_VAR(__GLEW_APPLE_specular_vector)
2867
2868#endif /* GL_APPLE_specular_vector */
2869
2870/* ------------------------- GL_APPLE_texture_range ------------------------ */
2871
2872#ifndef GL_APPLE_texture_range
2873#define GL_APPLE_texture_range 1
2874
2875#define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
2876#define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
2877#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
2878#define GL_STORAGE_PRIVATE_APPLE 0x85BD
2879#define GL_STORAGE_CACHED_APPLE 0x85BE
2880#define GL_STORAGE_SHARED_APPLE 0x85BF
2881
2882typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid **params);
2883typedef void (GLAPIENTRY * PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, GLvoid *pointer);
2884
2885#define glGetTexParameterPointervAPPLE GLEW_GET_FUN(__glewGetTexParameterPointervAPPLE)
2886#define glTextureRangeAPPLE GLEW_GET_FUN(__glewTextureRangeAPPLE)
2887
2888#define GLEW_APPLE_texture_range GLEW_GET_VAR(__GLEW_APPLE_texture_range)
2889
2890#endif /* GL_APPLE_texture_range */
2891
2892/* ------------------------ GL_APPLE_transform_hint ------------------------ */
2893
2894#ifndef GL_APPLE_transform_hint
2895#define GL_APPLE_transform_hint 1
2896
2897#define GL_TRANSFORM_HINT_APPLE 0x85B1
2898
2899#define GLEW_APPLE_transform_hint GLEW_GET_VAR(__GLEW_APPLE_transform_hint)
2900
2901#endif /* GL_APPLE_transform_hint */
2902
2903/* ---------------------- GL_APPLE_vertex_array_object --------------------- */
2904
2905#ifndef GL_APPLE_vertex_array_object
2906#define GL_APPLE_vertex_array_object 1
2907
2908#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
2909
2910typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
2911typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays);
2912typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays);
2913typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
2914
2915#define glBindVertexArrayAPPLE GLEW_GET_FUN(__glewBindVertexArrayAPPLE)
2916#define glDeleteVertexArraysAPPLE GLEW_GET_FUN(__glewDeleteVertexArraysAPPLE)
2917#define glGenVertexArraysAPPLE GLEW_GET_FUN(__glewGenVertexArraysAPPLE)
2918#define glIsVertexArrayAPPLE GLEW_GET_FUN(__glewIsVertexArrayAPPLE)
2919
2920#define GLEW_APPLE_vertex_array_object GLEW_GET_VAR(__GLEW_APPLE_vertex_array_object)
2921
2922#endif /* GL_APPLE_vertex_array_object */
2923
2924/* ---------------------- GL_APPLE_vertex_array_range ---------------------- */
2925
2926#ifndef GL_APPLE_vertex_array_range
2927#define GL_APPLE_vertex_array_range 1
2928
2929#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
2930#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
2931#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
2932#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 0x8520
2933#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
2934#define GL_STORAGE_CLIENT_APPLE 0x85B4
2935#define GL_STORAGE_CACHED_APPLE 0x85BE
2936#define GL_STORAGE_SHARED_APPLE 0x85BF
2937
2938typedef void (GLAPIENTRY * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void* pointer);
2939typedef void (GLAPIENTRY * PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
2940typedef void (GLAPIENTRY * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void* pointer);
2941
2942#define glFlushVertexArrayRangeAPPLE GLEW_GET_FUN(__glewFlushVertexArrayRangeAPPLE)
2943#define glVertexArrayParameteriAPPLE GLEW_GET_FUN(__glewVertexArrayParameteriAPPLE)
2944#define glVertexArrayRangeAPPLE GLEW_GET_FUN(__glewVertexArrayRangeAPPLE)
2945
2946#define GLEW_APPLE_vertex_array_range GLEW_GET_VAR(__GLEW_APPLE_vertex_array_range)
2947
2948#endif /* GL_APPLE_vertex_array_range */
2949
2950/* ------------------- GL_APPLE_vertex_program_evaluators ------------------ */
2951
2952#ifndef GL_APPLE_vertex_program_evaluators
2953#define GL_APPLE_vertex_program_evaluators 1
2954
2955#define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
2956#define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
2957#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
2958#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
2959#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
2960#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
2961#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
2962#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
2963#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
2964#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
2965
2966typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
2967typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
2968typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
2969typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble* points);
2970typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points);
2971typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble* points);
2972typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat* points);
2973
2974#define glDisableVertexAttribAPPLE GLEW_GET_FUN(__glewDisableVertexAttribAPPLE)
2975#define glEnableVertexAttribAPPLE GLEW_GET_FUN(__glewEnableVertexAttribAPPLE)
2976#define glIsVertexAttribEnabledAPPLE GLEW_GET_FUN(__glewIsVertexAttribEnabledAPPLE)
2977#define glMapVertexAttrib1dAPPLE GLEW_GET_FUN(__glewMapVertexAttrib1dAPPLE)
2978#define glMapVertexAttrib1fAPPLE GLEW_GET_FUN(__glewMapVertexAttrib1fAPPLE)
2979#define glMapVertexAttrib2dAPPLE GLEW_GET_FUN(__glewMapVertexAttrib2dAPPLE)
2980#define glMapVertexAttrib2fAPPLE GLEW_GET_FUN(__glewMapVertexAttrib2fAPPLE)
2981
2982#define GLEW_APPLE_vertex_program_evaluators GLEW_GET_VAR(__GLEW_APPLE_vertex_program_evaluators)
2983
2984#endif /* GL_APPLE_vertex_program_evaluators */
2985
2986/* --------------------------- GL_APPLE_ycbcr_422 -------------------------- */
2987
2988#ifndef GL_APPLE_ycbcr_422
2989#define GL_APPLE_ycbcr_422 1
2990
2991#define GL_YCBCR_422_APPLE 0x85B9
2992#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
2993#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
2994
2995#define GLEW_APPLE_ycbcr_422 GLEW_GET_VAR(__GLEW_APPLE_ycbcr_422)
2996
2997#endif /* GL_APPLE_ycbcr_422 */
2998
2999/* ------------------------ GL_ARB_ES2_compatibility ----------------------- */
3000
3001#ifndef GL_ARB_ES2_compatibility
3002#define GL_ARB_ES2_compatibility 1
3003
3004#define GL_FIXED 0x140C
3005#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
3006#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
3007#define GL_LOW_FLOAT 0x8DF0
3008#define GL_MEDIUM_FLOAT 0x8DF1
3009#define GL_HIGH_FLOAT 0x8DF2
3010#define GL_LOW_INT 0x8DF3
3011#define GL_MEDIUM_INT 0x8DF4
3012#define GL_HIGH_INT 0x8DF5
3013#define GL_SHADER_BINARY_FORMATS 0x8DF8
3014#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
3015#define GL_SHADER_COMPILER 0x8DFA
3016#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
3017#define GL_MAX_VARYING_VECTORS 0x8DFC
3018#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
3019
3020typedef void (GLAPIENTRY * PFNGLCLEARDEPTHFPROC) (GLclampf d);
3021typedef void (GLAPIENTRY * PFNGLDEPTHRANGEFPROC) (GLclampf n, GLclampf f);
3022typedef void (GLAPIENTRY * PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint* range, GLint *precision);
3023typedef void (GLAPIENTRY * PFNGLRELEASESHADERCOMPILERPROC) (void);
3024typedef void (GLAPIENTRY * PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint* shaders, GLenum binaryformat, const GLvoid*binary, GLsizei length);
3025
3026#define glClearDepthf GLEW_GET_FUN(__glewClearDepthf)
3027#define glDepthRangef GLEW_GET_FUN(__glewDepthRangef)
3028#define glGetShaderPrecisionFormat GLEW_GET_FUN(__glewGetShaderPrecisionFormat)
3029#define glReleaseShaderCompiler GLEW_GET_FUN(__glewReleaseShaderCompiler)
3030#define glShaderBinary GLEW_GET_FUN(__glewShaderBinary)
3031
3032#define GLEW_ARB_ES2_compatibility GLEW_GET_VAR(__GLEW_ARB_ES2_compatibility)
3033
3034#endif /* GL_ARB_ES2_compatibility */
3035
3036/* ----------------------- GL_ARB_blend_func_extended ---------------------- */
3037
3038#ifndef GL_ARB_blend_func_extended
3039#define GL_ARB_blend_func_extended 1
3040
3041#define GL_SRC1_COLOR 0x88F9
3042#define GL_ONE_MINUS_SRC1_COLOR 0x88FA
3043#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
3044#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
3045
3046typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const char * name);
3047typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const char * name);
3048
3049#define glBindFragDataLocationIndexed GLEW_GET_FUN(__glewBindFragDataLocationIndexed)
3050#define glGetFragDataIndex GLEW_GET_FUN(__glewGetFragDataIndex)
3051
3052#define GLEW_ARB_blend_func_extended GLEW_GET_VAR(__GLEW_ARB_blend_func_extended)
3053
3054#endif /* GL_ARB_blend_func_extended */
3055
3056/* ---------------------------- GL_ARB_cl_event ---------------------------- */
3057
3058#ifndef GL_ARB_cl_event
3059#define GL_ARB_cl_event 1
3060
3061#define GL_SYNC_CL_EVENT_ARB 0x8240
3062#define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
3063
3064typedef struct _cl_context *cl_context;
3065typedef struct _cl_event *cl_event;
3066
3067typedef GLsync (GLAPIENTRY * PFNGLCREATESYNCFROMCLEVENTARBPROC) (cl_context context, cl_event event, GLbitfield flags);
3068
3069#define glCreateSyncFromCLeventARB GLEW_GET_FUN(__glewCreateSyncFromCLeventARB)
3070
3071#define GLEW_ARB_cl_event GLEW_GET_VAR(__GLEW_ARB_cl_event)
3072
3073#endif /* GL_ARB_cl_event */
3074
3075/* ----------------------- GL_ARB_color_buffer_float ----------------------- */
3076
3077#ifndef GL_ARB_color_buffer_float
3078#define GL_ARB_color_buffer_float 1
3079
3080#define GL_RGBA_FLOAT_MODE_ARB 0x8820
3081#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
3082#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
3083#define GL_CLAMP_READ_COLOR_ARB 0x891C
3084#define GL_FIXED_ONLY_ARB 0x891D
3085
3086typedef void (GLAPIENTRY * PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
3087
3088#define glClampColorARB GLEW_GET_FUN(__glewClampColorARB)
3089
3090#define GLEW_ARB_color_buffer_float GLEW_GET_VAR(__GLEW_ARB_color_buffer_float)
3091
3092#endif /* GL_ARB_color_buffer_float */
3093
3094/* -------------------------- GL_ARB_compatibility ------------------------- */
3095
3096#ifndef GL_ARB_compatibility
3097#define GL_ARB_compatibility 1
3098
3099#define GLEW_ARB_compatibility GLEW_GET_VAR(__GLEW_ARB_compatibility)
3100
3101#endif /* GL_ARB_compatibility */
3102
3103/* --------------------------- GL_ARB_copy_buffer -------------------------- */
3104
3105#ifndef GL_ARB_copy_buffer
3106#define GL_ARB_copy_buffer 1
3107
3108#define GL_COPY_READ_BUFFER 0x8F36
3109#define GL_COPY_WRITE_BUFFER 0x8F37
3110
3111typedef void (GLAPIENTRY * PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size);
3112
3113#define glCopyBufferSubData GLEW_GET_FUN(__glewCopyBufferSubData)
3114
3115#define GLEW_ARB_copy_buffer GLEW_GET_VAR(__GLEW_ARB_copy_buffer)
3116
3117#endif /* GL_ARB_copy_buffer */
3118
3119/* -------------------------- GL_ARB_debug_output -------------------------- */
3120
3121#ifndef GL_ARB_debug_output
3122#define GL_ARB_debug_output 1
3123
3124#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
3125#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
3126#define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
3127#define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
3128#define GL_DEBUG_SOURCE_API_ARB 0x8246
3129#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
3130#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
3131#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
3132#define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
3133#define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
3134#define GL_DEBUG_TYPE_ERROR_ARB 0x824C
3135#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
3136#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
3137#define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
3138#define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
3139#define GL_DEBUG_TYPE_OTHER_ARB 0x8251
3140#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
3141#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
3142#define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
3143#define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
3144#define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
3145#define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
3146
3147typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam);
3148
3149typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, void* userParam);
3150typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled);
3151typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* buf);
3152typedef GLuint (GLAPIENTRY * PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, char* messageLog);
3153
3154#define glDebugMessageCallbackARB GLEW_GET_FUN(__glewDebugMessageCallbackARB)
3155#define glDebugMessageControlARB GLEW_GET_FUN(__glewDebugMessageControlARB)
3156#define glDebugMessageInsertARB GLEW_GET_FUN(__glewDebugMessageInsertARB)
3157#define glGetDebugMessageLogARB GLEW_GET_FUN(__glewGetDebugMessageLogARB)
3158
3159#define GLEW_ARB_debug_output GLEW_GET_VAR(__GLEW_ARB_debug_output)
3160
3161#endif /* GL_ARB_debug_output */
3162
3163/* ----------------------- GL_ARB_depth_buffer_float ----------------------- */
3164
3165#ifndef GL_ARB_depth_buffer_float
3166#define GL_ARB_depth_buffer_float 1
3167
3168#define GL_DEPTH_COMPONENT32F 0x8CAC
3169#define GL_DEPTH32F_STENCIL8 0x8CAD
3170#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
3171
3172#define GLEW_ARB_depth_buffer_float GLEW_GET_VAR(__GLEW_ARB_depth_buffer_float)
3173
3174#endif /* GL_ARB_depth_buffer_float */
3175
3176/* --------------------------- GL_ARB_depth_clamp -------------------------- */
3177
3178#ifndef GL_ARB_depth_clamp
3179#define GL_ARB_depth_clamp 1
3180
3181#define GL_DEPTH_CLAMP 0x864F
3182
3183#define GLEW_ARB_depth_clamp GLEW_GET_VAR(__GLEW_ARB_depth_clamp)
3184
3185#endif /* GL_ARB_depth_clamp */
3186
3187/* -------------------------- GL_ARB_depth_texture ------------------------- */
3188
3189#ifndef GL_ARB_depth_texture
3190#define GL_ARB_depth_texture 1
3191
3192#define GL_DEPTH_COMPONENT16_ARB 0x81A5
3193#define GL_DEPTH_COMPONENT24_ARB 0x81A6
3194#define GL_DEPTH_COMPONENT32_ARB 0x81A7
3195#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
3196#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
3197
3198#define GLEW_ARB_depth_texture GLEW_GET_VAR(__GLEW_ARB_depth_texture)
3199
3200#endif /* GL_ARB_depth_texture */
3201
3202/* -------------------------- GL_ARB_draw_buffers -------------------------- */
3203
3204#ifndef GL_ARB_draw_buffers
3205#define GL_ARB_draw_buffers 1
3206
3207#define GL_MAX_DRAW_BUFFERS_ARB 0x8824
3208#define GL_DRAW_BUFFER0_ARB 0x8825
3209#define GL_DRAW_BUFFER1_ARB 0x8826
3210#define GL_DRAW_BUFFER2_ARB 0x8827
3211#define GL_DRAW_BUFFER3_ARB 0x8828
3212#define GL_DRAW_BUFFER4_ARB 0x8829
3213#define GL_DRAW_BUFFER5_ARB 0x882A
3214#define GL_DRAW_BUFFER6_ARB 0x882B
3215#define GL_DRAW_BUFFER7_ARB 0x882C
3216#define GL_DRAW_BUFFER8_ARB 0x882D
3217#define GL_DRAW_BUFFER9_ARB 0x882E
3218#define GL_DRAW_BUFFER10_ARB 0x882F
3219#define GL_DRAW_BUFFER11_ARB 0x8830
3220#define GL_DRAW_BUFFER12_ARB 0x8831
3221#define GL_DRAW_BUFFER13_ARB 0x8832
3222#define GL_DRAW_BUFFER14_ARB 0x8833
3223#define GL_DRAW_BUFFER15_ARB 0x8834
3224
3225typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum* bufs);
3226
3227#define glDrawBuffersARB GLEW_GET_FUN(__glewDrawBuffersARB)
3228
3229#define GLEW_ARB_draw_buffers GLEW_GET_VAR(__GLEW_ARB_draw_buffers)
3230
3231#endif /* GL_ARB_draw_buffers */
3232
3233/* ----------------------- GL_ARB_draw_buffers_blend ----------------------- */
3234
3235#ifndef GL_ARB_draw_buffers_blend
3236#define GL_ARB_draw_buffers_blend 1
3237
3238typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3239typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
3240typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3241typedef void (GLAPIENTRY * PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
3242
3243#define glBlendEquationSeparateiARB GLEW_GET_FUN(__glewBlendEquationSeparateiARB)
3244#define glBlendEquationiARB GLEW_GET_FUN(__glewBlendEquationiARB)
3245#define glBlendFuncSeparateiARB GLEW_GET_FUN(__glewBlendFuncSeparateiARB)
3246#define glBlendFunciARB GLEW_GET_FUN(__glewBlendFunciARB)
3247
3248#define GLEW_ARB_draw_buffers_blend GLEW_GET_VAR(__GLEW_ARB_draw_buffers_blend)
3249
3250#endif /* GL_ARB_draw_buffers_blend */
3251
3252/* -------------------- GL_ARB_draw_elements_base_vertex ------------------- */
3253
3254#ifndef GL_ARB_draw_elements_base_vertex
3255#define GL_ARB_draw_elements_base_vertex 1
3256
3257typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, void* indices, GLint basevertex);
3258typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLint basevertex);
3259typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, void* indices, GLint basevertex);
3260typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei* count, GLenum type, GLvoid**indices, GLsizei primcount, GLint *basevertex);
3261
3262#define glDrawElementsBaseVertex GLEW_GET_FUN(__glewDrawElementsBaseVertex)
3263#define glDrawElementsInstancedBaseVertex GLEW_GET_FUN(__glewDrawElementsInstancedBaseVertex)
3264#define glDrawRangeElementsBaseVertex GLEW_GET_FUN(__glewDrawRangeElementsBaseVertex)
3265#define glMultiDrawElementsBaseVertex GLEW_GET_FUN(__glewMultiDrawElementsBaseVertex)
3266
3267#define GLEW_ARB_draw_elements_base_vertex GLEW_GET_VAR(__GLEW_ARB_draw_elements_base_vertex)
3268
3269#endif /* GL_ARB_draw_elements_base_vertex */
3270
3271/* -------------------------- GL_ARB_draw_indirect ------------------------- */
3272
3273#ifndef GL_ARB_draw_indirect
3274#define GL_ARB_draw_indirect 1
3275
3276#define GL_DRAW_INDIRECT_BUFFER 0x8F3F
3277#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
3278
3279typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void* indirect);
3280typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void* indirect);
3281
3282#define glDrawArraysIndirect GLEW_GET_FUN(__glewDrawArraysIndirect)
3283#define glDrawElementsIndirect GLEW_GET_FUN(__glewDrawElementsIndirect)
3284
3285#define GLEW_ARB_draw_indirect GLEW_GET_VAR(__GLEW_ARB_draw_indirect)
3286
3287#endif /* GL_ARB_draw_indirect */
3288
3289/* ------------------------- GL_ARB_draw_instanced ------------------------- */
3290
3291#ifndef GL_ARB_draw_instanced
3292#define GL_ARB_draw_instanced 1
3293
3294#define GLEW_ARB_draw_instanced GLEW_GET_VAR(__GLEW_ARB_draw_instanced)
3295
3296#endif /* GL_ARB_draw_instanced */
3297
3298/* -------------------- GL_ARB_explicit_attrib_location -------------------- */
3299
3300#ifndef GL_ARB_explicit_attrib_location
3301#define GL_ARB_explicit_attrib_location 1
3302
3303#define GLEW_ARB_explicit_attrib_location GLEW_GET_VAR(__GLEW_ARB_explicit_attrib_location)
3304
3305#endif /* GL_ARB_explicit_attrib_location */
3306
3307/* ------------------- GL_ARB_fragment_coord_conventions ------------------- */
3308
3309#ifndef GL_ARB_fragment_coord_conventions
3310#define GL_ARB_fragment_coord_conventions 1
3311
3312#define GLEW_ARB_fragment_coord_conventions GLEW_GET_VAR(__GLEW_ARB_fragment_coord_conventions)
3313
3314#endif /* GL_ARB_fragment_coord_conventions */
3315
3316/* ------------------------ GL_ARB_fragment_program ------------------------ */
3317
3318#ifndef GL_ARB_fragment_program
3319#define GL_ARB_fragment_program 1
3320
3321#define GL_FRAGMENT_PROGRAM_ARB 0x8804
3322#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
3323#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
3324#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
3325#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
3326#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
3327#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
3328#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
3329#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
3330#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
3331#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
3332#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
3333#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
3334#define GL_MAX_TEXTURE_COORDS_ARB 0x8871
3335#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
3336
3337#define GLEW_ARB_fragment_program GLEW_GET_VAR(__GLEW_ARB_fragment_program)
3338
3339#endif /* GL_ARB_fragment_program */
3340
3341/* --------------------- GL_ARB_fragment_program_shadow -------------------- */
3342
3343#ifndef GL_ARB_fragment_program_shadow
3344#define GL_ARB_fragment_program_shadow 1
3345
3346#define GLEW_ARB_fragment_program_shadow GLEW_GET_VAR(__GLEW_ARB_fragment_program_shadow)
3347
3348#endif /* GL_ARB_fragment_program_shadow */
3349
3350/* ------------------------- GL_ARB_fragment_shader ------------------------ */
3351
3352#ifndef GL_ARB_fragment_shader
3353#define GL_ARB_fragment_shader 1
3354
3355#define GL_FRAGMENT_SHADER_ARB 0x8B30
3356#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
3357#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
3358
3359#define GLEW_ARB_fragment_shader GLEW_GET_VAR(__GLEW_ARB_fragment_shader)
3360
3361#endif /* GL_ARB_fragment_shader */
3362
3363/* ----------------------- GL_ARB_framebuffer_object ----------------------- */
3364
3365#ifndef GL_ARB_framebuffer_object
3366#define GL_ARB_framebuffer_object 1
3367
3368#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
3369#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
3370#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
3371#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
3372#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
3373#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
3374#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
3375#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
3376#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
3377#define GL_FRAMEBUFFER_DEFAULT 0x8218
3378#define GL_FRAMEBUFFER_UNDEFINED 0x8219
3379#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
3380#define GL_INDEX 0x8222
3381#define GL_MAX_RENDERBUFFER_SIZE 0x84E8
3382#define GL_DEPTH_STENCIL 0x84F9
3383#define GL_UNSIGNED_INT_24_8 0x84FA
3384#define GL_DEPTH24_STENCIL8 0x88F0
3385#define GL_TEXTURE_STENCIL_SIZE 0x88F1
3386#define GL_UNSIGNED_NORMALIZED 0x8C17
3387#define GL_SRGB 0x8C40
3388#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
3389#define GL_FRAMEBUFFER_BINDING 0x8CA6
3390#define GL_RENDERBUFFER_BINDING 0x8CA7
3391#define GL_READ_FRAMEBUFFER 0x8CA8
3392#define GL_DRAW_FRAMEBUFFER 0x8CA9
3393#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
3394#define GL_RENDERBUFFER_SAMPLES 0x8CAB
3395#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
3396#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
3397#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
3398#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
3399#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
3400#define GL_FRAMEBUFFER_COMPLETE 0x8CD5
3401#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
3402#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
3403#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
3404#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
3405#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
3406#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
3407#define GL_COLOR_ATTACHMENT0 0x8CE0
3408#define GL_COLOR_ATTACHMENT1 0x8CE1
3409#define GL_COLOR_ATTACHMENT2 0x8CE2
3410#define GL_COLOR_ATTACHMENT3 0x8CE3
3411#define GL_COLOR_ATTACHMENT4 0x8CE4
3412#define GL_COLOR_ATTACHMENT5 0x8CE5
3413#define GL_COLOR_ATTACHMENT6 0x8CE6
3414#define GL_COLOR_ATTACHMENT7 0x8CE7
3415#define GL_COLOR_ATTACHMENT8 0x8CE8
3416#define GL_COLOR_ATTACHMENT9 0x8CE9
3417#define GL_COLOR_ATTACHMENT10 0x8CEA
3418#define GL_COLOR_ATTACHMENT11 0x8CEB
3419#define GL_COLOR_ATTACHMENT12 0x8CEC
3420#define GL_COLOR_ATTACHMENT13 0x8CED
3421#define GL_COLOR_ATTACHMENT14 0x8CEE
3422#define GL_COLOR_ATTACHMENT15 0x8CEF
3423#define GL_DEPTH_ATTACHMENT 0x8D00
3424#define GL_STENCIL_ATTACHMENT 0x8D20
3425#define GL_FRAMEBUFFER 0x8D40
3426#define GL_RENDERBUFFER 0x8D41
3427#define GL_RENDERBUFFER_WIDTH 0x8D42
3428#define GL_RENDERBUFFER_HEIGHT 0x8D43
3429#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
3430#define GL_STENCIL_INDEX1 0x8D46
3431#define GL_STENCIL_INDEX4 0x8D47
3432#define GL_STENCIL_INDEX8 0x8D48
3433#define GL_STENCIL_INDEX16 0x8D49
3434#define GL_RENDERBUFFER_RED_SIZE 0x8D50
3435#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
3436#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
3437#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
3438#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
3439#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
3440#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
3441#define GL_MAX_SAMPLES 0x8D57
3442
3443typedef void (GLAPIENTRY * PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
3444typedef void (GLAPIENTRY * PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
3445typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
3446typedef GLenum (GLAPIENTRY * PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
3447typedef void (GLAPIENTRY * PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint* framebuffers);
3448typedef void (GLAPIENTRY * PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint* renderbuffers);
3449typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
3450typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
3451typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
3452typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer);
3453typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target,GLenum attachment, GLuint texture,GLint level,GLint layer);
3454typedef void (GLAPIENTRY * PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint* framebuffers);
3455typedef void (GLAPIENTRY * PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint* renderbuffers);
3456typedef void (GLAPIENTRY * PFNGLGENERATEMIPMAPPROC) (GLenum target);
3457typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
3458typedef void (GLAPIENTRY * PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
3459typedef GLboolean (GLAPIENTRY * PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
3460typedef GLboolean (GLAPIENTRY * PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
3461typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
3462typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
3463
3464#define glBindFramebuffer GLEW_GET_FUN(__glewBindFramebuffer)
3465#define glBindRenderbuffer GLEW_GET_FUN(__glewBindRenderbuffer)
3466#define glBlitFramebuffer GLEW_GET_FUN(__glewBlitFramebuffer)
3467#define glCheckFramebufferStatus GLEW_GET_FUN(__glewCheckFramebufferStatus)
3468#define glDeleteFramebuffers GLEW_GET_FUN(__glewDeleteFramebuffers)
3469#define glDeleteRenderbuffers GLEW_GET_FUN(__glewDeleteRenderbuffers)
3470#define glFramebufferRenderbuffer GLEW_GET_FUN(__glewFramebufferRenderbuffer)
3471#define glFramebufferTexture1D GLEW_GET_FUN(__glewFramebufferTexture1D)
3472#define glFramebufferTexture2D GLEW_GET_FUN(__glewFramebufferTexture2D)
3473#define glFramebufferTexture3D GLEW_GET_FUN(__glewFramebufferTexture3D)
3474#define glFramebufferTextureLayer GLEW_GET_FUN(__glewFramebufferTextureLayer)
3475#define glGenFramebuffers GLEW_GET_FUN(__glewGenFramebuffers)
3476#define glGenRenderbuffers GLEW_GET_FUN(__glewGenRenderbuffers)
3477#define glGenerateMipmap GLEW_GET_FUN(__glewGenerateMipmap)
3478#define glGetFramebufferAttachmentParameteriv GLEW_GET_FUN(__glewGetFramebufferAttachmentParameteriv)
3479#define glGetRenderbufferParameteriv GLEW_GET_FUN(__glewGetRenderbufferParameteriv)
3480#define glIsFramebuffer GLEW_GET_FUN(__glewIsFramebuffer)
3481#define glIsRenderbuffer GLEW_GET_FUN(__glewIsRenderbuffer)
3482#define glRenderbufferStorage GLEW_GET_FUN(__glewRenderbufferStorage)
3483#define glRenderbufferStorageMultisample GLEW_GET_FUN(__glewRenderbufferStorageMultisample)
3484
3485#define GLEW_ARB_framebuffer_object GLEW_GET_VAR(__GLEW_ARB_framebuffer_object)
3486
3487#endif /* GL_ARB_framebuffer_object */
3488
3489/* ------------------------ GL_ARB_framebuffer_sRGB ------------------------ */
3490
3491#ifndef GL_ARB_framebuffer_sRGB
3492#define GL_ARB_framebuffer_sRGB 1
3493
3494#define GL_FRAMEBUFFER_SRGB 0x8DB9
3495
3496#define GLEW_ARB_framebuffer_sRGB GLEW_GET_VAR(__GLEW_ARB_framebuffer_sRGB)
3497
3498#endif /* GL_ARB_framebuffer_sRGB */
3499
3500/* ------------------------ GL_ARB_geometry_shader4 ------------------------ */
3501
3502#ifndef GL_ARB_geometry_shader4
3503#define GL_ARB_geometry_shader4 1
3504
3505#define GL_LINES_ADJACENCY_ARB 0xA
3506#define GL_LINE_STRIP_ADJACENCY_ARB 0xB
3507#define GL_TRIANGLES_ADJACENCY_ARB 0xC
3508#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0xD
3509#define GL_PROGRAM_POINT_SIZE_ARB 0x8642
3510#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
3511#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
3512#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
3513#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
3514#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
3515#define GL_GEOMETRY_SHADER_ARB 0x8DD9
3516#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
3517#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
3518#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
3519#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
3520#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
3521#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
3522#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
3523#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
3524
3525typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
3526typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3527typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3528typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
3529
3530#define glFramebufferTextureARB GLEW_GET_FUN(__glewFramebufferTextureARB)
3531#define glFramebufferTextureFaceARB GLEW_GET_FUN(__glewFramebufferTextureFaceARB)
3532#define glFramebufferTextureLayerARB GLEW_GET_FUN(__glewFramebufferTextureLayerARB)
3533#define glProgramParameteriARB GLEW_GET_FUN(__glewProgramParameteriARB)
3534
3535#define GLEW_ARB_geometry_shader4 GLEW_GET_VAR(__GLEW_ARB_geometry_shader4)
3536
3537#endif /* GL_ARB_geometry_shader4 */
3538
3539/* ----------------------- GL_ARB_get_program_binary ----------------------- */
3540
3541#ifndef GL_ARB_get_program_binary
3542#define GL_ARB_get_program_binary 1
3543
3544#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
3545#define GL_PROGRAM_BINARY_LENGTH 0x8741
3546#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
3547#define GL_PROGRAM_BINARY_FORMATS 0x87FF
3548
3549typedef void (GLAPIENTRY * PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLenum *binaryFormat, GLvoid*binary);
3550typedef void (GLAPIENTRY * PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void* binary, GLsizei length);
3551typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
3552
3553#define glGetProgramBinary GLEW_GET_FUN(__glewGetProgramBinary)
3554#define glProgramBinary GLEW_GET_FUN(__glewProgramBinary)
3555#define glProgramParameteri GLEW_GET_FUN(__glewProgramParameteri)
3556
3557#define GLEW_ARB_get_program_binary GLEW_GET_VAR(__GLEW_ARB_get_program_binary)
3558
3559#endif /* GL_ARB_get_program_binary */
3560
3561/* --------------------------- GL_ARB_gpu_shader5 -------------------------- */
3562
3563#ifndef GL_ARB_gpu_shader5
3564#define GL_ARB_gpu_shader5 1
3565
3566#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
3567#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
3568#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
3569#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
3570#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
3571#define GL_MAX_VERTEX_STREAMS 0x8E71
3572
3573#define GLEW_ARB_gpu_shader5 GLEW_GET_VAR(__GLEW_ARB_gpu_shader5)
3574
3575#endif /* GL_ARB_gpu_shader5 */
3576
3577/* ------------------------- GL_ARB_gpu_shader_fp64 ------------------------ */
3578
3579#ifndef GL_ARB_gpu_shader_fp64
3580#define GL_ARB_gpu_shader_fp64 1
3581
3582#define GL_DOUBLE_MAT2 0x8F46
3583#define GL_DOUBLE_MAT3 0x8F47
3584#define GL_DOUBLE_MAT4 0x8F48
3585#define GL_DOUBLE_MAT2x3 0x8F49
3586#define GL_DOUBLE_MAT2x4 0x8F4A
3587#define GL_DOUBLE_MAT3x2 0x8F4B
3588#define GL_DOUBLE_MAT3x4 0x8F4C
3589#define GL_DOUBLE_MAT4x2 0x8F4D
3590#define GL_DOUBLE_MAT4x3 0x8F4E
3591#define GL_DOUBLE_VEC2 0x8FFC
3592#define GL_DOUBLE_VEC3 0x8FFD
3593#define GL_DOUBLE_VEC4 0x8FFE
3594
3595typedef void (GLAPIENTRY * PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble* params);
3596typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
3597typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
3598typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
3599typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
3600typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
3601typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
3602typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3603typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
3604typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3605typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3606typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3607typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3608typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3609typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3610typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3611typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3612typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3613typedef void (GLAPIENTRY * PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
3614typedef void (GLAPIENTRY * PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble* value);
3615typedef void (GLAPIENTRY * PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
3616typedef void (GLAPIENTRY * PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble* value);
3617typedef void (GLAPIENTRY * PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
3618typedef void (GLAPIENTRY * PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble* value);
3619typedef void (GLAPIENTRY * PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3620typedef void (GLAPIENTRY * PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble* value);
3621typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3622typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3623typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3624typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3625typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3626typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3627typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3628typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3629typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3630
3631#define glGetUniformdv GLEW_GET_FUN(__glewGetUniformdv)
3632#define glProgramUniform1dEXT GLEW_GET_FUN(__glewProgramUniform1dEXT)
3633#define glProgramUniform1dvEXT GLEW_GET_FUN(__glewProgramUniform1dvEXT)
3634#define glProgramUniform2dEXT GLEW_GET_FUN(__glewProgramUniform2dEXT)
3635#define glProgramUniform2dvEXT GLEW_GET_FUN(__glewProgramUniform2dvEXT)
3636#define glProgramUniform3dEXT GLEW_GET_FUN(__glewProgramUniform3dEXT)
3637#define glProgramUniform3dvEXT GLEW_GET_FUN(__glewProgramUniform3dvEXT)
3638#define glProgramUniform4dEXT GLEW_GET_FUN(__glewProgramUniform4dEXT)
3639#define glProgramUniform4dvEXT GLEW_GET_FUN(__glewProgramUniform4dvEXT)
3640#define glProgramUniformMatrix2dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2dvEXT)
3641#define glProgramUniformMatrix2x3dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x3dvEXT)
3642#define glProgramUniformMatrix2x4dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x4dvEXT)
3643#define glProgramUniformMatrix3dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3dvEXT)
3644#define glProgramUniformMatrix3x2dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x2dvEXT)
3645#define glProgramUniformMatrix3x4dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x4dvEXT)
3646#define glProgramUniformMatrix4dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4dvEXT)
3647#define glProgramUniformMatrix4x2dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x2dvEXT)
3648#define glProgramUniformMatrix4x3dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x3dvEXT)
3649#define glUniform1d GLEW_GET_FUN(__glewUniform1d)
3650#define glUniform1dv GLEW_GET_FUN(__glewUniform1dv)
3651#define glUniform2d GLEW_GET_FUN(__glewUniform2d)
3652#define glUniform2dv GLEW_GET_FUN(__glewUniform2dv)
3653#define glUniform3d GLEW_GET_FUN(__glewUniform3d)
3654#define glUniform3dv GLEW_GET_FUN(__glewUniform3dv)
3655#define glUniform4d GLEW_GET_FUN(__glewUniform4d)
3656#define glUniform4dv GLEW_GET_FUN(__glewUniform4dv)
3657#define glUniformMatrix2dv GLEW_GET_FUN(__glewUniformMatrix2dv)
3658#define glUniformMatrix2x3dv GLEW_GET_FUN(__glewUniformMatrix2x3dv)
3659#define glUniformMatrix2x4dv GLEW_GET_FUN(__glewUniformMatrix2x4dv)
3660#define glUniformMatrix3dv GLEW_GET_FUN(__glewUniformMatrix3dv)
3661#define glUniformMatrix3x2dv GLEW_GET_FUN(__glewUniformMatrix3x2dv)
3662#define glUniformMatrix3x4dv GLEW_GET_FUN(__glewUniformMatrix3x4dv)
3663#define glUniformMatrix4dv GLEW_GET_FUN(__glewUniformMatrix4dv)
3664#define glUniformMatrix4x2dv GLEW_GET_FUN(__glewUniformMatrix4x2dv)
3665#define glUniformMatrix4x3dv GLEW_GET_FUN(__glewUniformMatrix4x3dv)
3666
3667#define GLEW_ARB_gpu_shader_fp64 GLEW_GET_VAR(__GLEW_ARB_gpu_shader_fp64)
3668
3669#endif /* GL_ARB_gpu_shader_fp64 */
3670
3671/* ------------------------ GL_ARB_half_float_pixel ------------------------ */
3672
3673#ifndef GL_ARB_half_float_pixel
3674#define GL_ARB_half_float_pixel 1
3675
3676#define GL_HALF_FLOAT_ARB 0x140B
3677
3678#define GLEW_ARB_half_float_pixel GLEW_GET_VAR(__GLEW_ARB_half_float_pixel)
3679
3680#endif /* GL_ARB_half_float_pixel */
3681
3682/* ------------------------ GL_ARB_half_float_vertex ----------------------- */
3683
3684#ifndef GL_ARB_half_float_vertex
3685#define GL_ARB_half_float_vertex 1
3686
3687#define GL_HALF_FLOAT 0x140B
3688
3689#define GLEW_ARB_half_float_vertex GLEW_GET_VAR(__GLEW_ARB_half_float_vertex)
3690
3691#endif /* GL_ARB_half_float_vertex */
3692
3693/* ----------------------------- GL_ARB_imaging ---------------------------- */
3694
3695#ifndef GL_ARB_imaging
3696#define GL_ARB_imaging 1
3697
3698#define GL_CONSTANT_COLOR 0x8001
3699#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
3700#define GL_CONSTANT_ALPHA 0x8003
3701#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
3702#define GL_BLEND_COLOR 0x8005
3703#define GL_FUNC_ADD 0x8006
3704#define GL_MIN 0x8007
3705#define GL_MAX 0x8008
3706#define GL_BLEND_EQUATION 0x8009
3707#define GL_FUNC_SUBTRACT 0x800A
3708#define GL_FUNC_REVERSE_SUBTRACT 0x800B
3709#define GL_CONVOLUTION_1D 0x8010
3710#define GL_CONVOLUTION_2D 0x8011
3711#define GL_SEPARABLE_2D 0x8012
3712#define GL_CONVOLUTION_BORDER_MODE 0x8013
3713#define GL_CONVOLUTION_FILTER_SCALE 0x8014
3714#define GL_CONVOLUTION_FILTER_BIAS 0x8015
3715#define GL_REDUCE 0x8016
3716#define GL_CONVOLUTION_FORMAT 0x8017
3717#define GL_CONVOLUTION_WIDTH 0x8018
3718#define GL_CONVOLUTION_HEIGHT 0x8019
3719#define GL_MAX_CONVOLUTION_WIDTH 0x801A
3720#define GL_MAX_CONVOLUTION_HEIGHT 0x801B
3721#define GL_POST_CONVOLUTION_RED_SCALE 0x801C
3722#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
3723#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
3724#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
3725#define GL_POST_CONVOLUTION_RED_BIAS 0x8020
3726#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
3727#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
3728#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
3729#define GL_HISTOGRAM 0x8024
3730#define GL_PROXY_HISTOGRAM 0x8025
3731#define GL_HISTOGRAM_WIDTH 0x8026
3732#define GL_HISTOGRAM_FORMAT 0x8027
3733#define GL_HISTOGRAM_RED_SIZE 0x8028
3734#define GL_HISTOGRAM_GREEN_SIZE 0x8029
3735#define GL_HISTOGRAM_BLUE_SIZE 0x802A
3736#define GL_HISTOGRAM_ALPHA_SIZE 0x802B
3737#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
3738#define GL_HISTOGRAM_SINK 0x802D
3739#define GL_MINMAX 0x802E
3740#define GL_MINMAX_FORMAT 0x802F
3741#define GL_MINMAX_SINK 0x8030
3742#define GL_TABLE_TOO_LARGE 0x8031
3743#define GL_COLOR_MATRIX 0x80B1
3744#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
3745#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
3746#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
3747#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
3748#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
3749#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
3750#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
3751#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
3752#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
3753#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
3754#define GL_COLOR_TABLE 0x80D0
3755#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
3756#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
3757#define GL_PROXY_COLOR_TABLE 0x80D3
3758#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
3759#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
3760#define GL_COLOR_TABLE_SCALE 0x80D6
3761#define GL_COLOR_TABLE_BIAS 0x80D7
3762#define GL_COLOR_TABLE_FORMAT 0x80D8
3763#define GL_COLOR_TABLE_WIDTH 0x80D9
3764#define GL_COLOR_TABLE_RED_SIZE 0x80DA
3765#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
3766#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
3767#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
3768#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
3769#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
3770#define GL_IGNORE_BORDER 0x8150
3771#define GL_CONSTANT_BORDER 0x8151
3772#define GL_WRAP_BORDER 0x8152
3773#define GL_REPLICATE_BORDER 0x8153
3774#define GL_CONVOLUTION_BORDER_COLOR 0x8154
3775
3776typedef void (GLAPIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
3777typedef void (GLAPIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
3778typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3779typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3780typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
3781typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
3782typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
3783typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3784typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
3785typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3786typedef void (GLAPIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3787typedef void (GLAPIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3788typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3789typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3790typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
3791typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3792typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3793typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
3794typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3795typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3796typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
3797typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3798typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3799typedef void (GLAPIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values);
3800typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3801typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3802typedef void (GLAPIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
3803typedef void (GLAPIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3804typedef void (GLAPIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3805typedef void (GLAPIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target);
3806typedef void (GLAPIENTRY * PFNGLRESETMINMAXPROC) (GLenum target);
3807typedef void (GLAPIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
3808
3809#define glColorSubTable GLEW_GET_FUN(__glewColorSubTable)
3810#define glColorTable GLEW_GET_FUN(__glewColorTable)
3811#define glColorTableParameterfv GLEW_GET_FUN(__glewColorTableParameterfv)
3812#define glColorTableParameteriv GLEW_GET_FUN(__glewColorTableParameteriv)
3813#define glConvolutionFilter1D GLEW_GET_FUN(__glewConvolutionFilter1D)
3814#define glConvolutionFilter2D GLEW_GET_FUN(__glewConvolutionFilter2D)
3815#define glConvolutionParameterf GLEW_GET_FUN(__glewConvolutionParameterf)
3816#define glConvolutionParameterfv GLEW_GET_FUN(__glewConvolutionParameterfv)
3817#define glConvolutionParameteri GLEW_GET_FUN(__glewConvolutionParameteri)
3818#define glConvolutionParameteriv GLEW_GET_FUN(__glewConvolutionParameteriv)
3819#define glCopyColorSubTable GLEW_GET_FUN(__glewCopyColorSubTable)
3820#define glCopyColorTable GLEW_GET_FUN(__glewCopyColorTable)
3821#define glCopyConvolutionFilter1D GLEW_GET_FUN(__glewCopyConvolutionFilter1D)
3822#define glCopyConvolutionFilter2D GLEW_GET_FUN(__glewCopyConvolutionFilter2D)
3823#define glGetColorTable GLEW_GET_FUN(__glewGetColorTable)
3824#define glGetColorTableParameterfv GLEW_GET_FUN(__glewGetColorTableParameterfv)
3825#define glGetColorTableParameteriv GLEW_GET_FUN(__glewGetColorTableParameteriv)
3826#define glGetConvolutionFilter GLEW_GET_FUN(__glewGetConvolutionFilter)
3827#define glGetConvolutionParameterfv GLEW_GET_FUN(__glewGetConvolutionParameterfv)
3828#define glGetConvolutionParameteriv GLEW_GET_FUN(__glewGetConvolutionParameteriv)
3829#define glGetHistogram GLEW_GET_FUN(__glewGetHistogram)
3830#define glGetHistogramParameterfv GLEW_GET_FUN(__glewGetHistogramParameterfv)
3831#define glGetHistogramParameteriv GLEW_GET_FUN(__glewGetHistogramParameteriv)
3832#define glGetMinmax GLEW_GET_FUN(__glewGetMinmax)
3833#define glGetMinmaxParameterfv GLEW_GET_FUN(__glewGetMinmaxParameterfv)
3834#define glGetMinmaxParameteriv GLEW_GET_FUN(__glewGetMinmaxParameteriv)
3835#define glGetSeparableFilter GLEW_GET_FUN(__glewGetSeparableFilter)
3836#define glHistogram GLEW_GET_FUN(__glewHistogram)
3837#define glMinmax GLEW_GET_FUN(__glewMinmax)
3838#define glResetHistogram GLEW_GET_FUN(__glewResetHistogram)
3839#define glResetMinmax GLEW_GET_FUN(__glewResetMinmax)
3840#define glSeparableFilter2D GLEW_GET_FUN(__glewSeparableFilter2D)
3841
3842#define GLEW_ARB_imaging GLEW_GET_VAR(__GLEW_ARB_imaging)
3843
3844#endif /* GL_ARB_imaging */
3845
3846/* ------------------------ GL_ARB_instanced_arrays ------------------------ */
3847
3848#ifndef GL_ARB_instanced_arrays
3849#define GL_ARB_instanced_arrays 1
3850
3851#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
3852
3853typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3854typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount);
3855typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
3856
3857#define glDrawArraysInstancedARB GLEW_GET_FUN(__glewDrawArraysInstancedARB)
3858#define glDrawElementsInstancedARB GLEW_GET_FUN(__glewDrawElementsInstancedARB)
3859#define glVertexAttribDivisorARB GLEW_GET_FUN(__glewVertexAttribDivisorARB)
3860
3861#define GLEW_ARB_instanced_arrays GLEW_GET_VAR(__GLEW_ARB_instanced_arrays)
3862
3863#endif /* GL_ARB_instanced_arrays */
3864
3865/* ------------------------ GL_ARB_map_buffer_range ------------------------ */
3866
3867#ifndef GL_ARB_map_buffer_range
3868#define GL_ARB_map_buffer_range 1
3869
3870#define GL_MAP_READ_BIT 0x0001
3871#define GL_MAP_WRITE_BIT 0x0002
3872#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
3873#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
3874#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
3875#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
3876
3877typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
3878typedef GLvoid * (GLAPIENTRY * PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
3879
3880#define glFlushMappedBufferRange GLEW_GET_FUN(__glewFlushMappedBufferRange)
3881#define glMapBufferRange GLEW_GET_FUN(__glewMapBufferRange)
3882
3883#define GLEW_ARB_map_buffer_range GLEW_GET_VAR(__GLEW_ARB_map_buffer_range)
3884
3885#endif /* GL_ARB_map_buffer_range */
3886
3887/* ------------------------- GL_ARB_matrix_palette ------------------------- */
3888
3889#ifndef GL_ARB_matrix_palette
3890#define GL_ARB_matrix_palette 1
3891
3892#define GL_MATRIX_PALETTE_ARB 0x8840
3893#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
3894#define GL_MAX_PALETTE_MATRICES_ARB 0x8842
3895#define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
3896#define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
3897#define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
3898#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
3899#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
3900#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
3901#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
3902
3903typedef void (GLAPIENTRY * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3904typedef void (GLAPIENTRY * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
3905typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, GLubyte *indices);
3906typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, GLuint *indices);
3907typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, GLushort *indices);
3908
3909#define glCurrentPaletteMatrixARB GLEW_GET_FUN(__glewCurrentPaletteMatrixARB)
3910#define glMatrixIndexPointerARB GLEW_GET_FUN(__glewMatrixIndexPointerARB)
3911#define glMatrixIndexubvARB GLEW_GET_FUN(__glewMatrixIndexubvARB)
3912#define glMatrixIndexuivARB GLEW_GET_FUN(__glewMatrixIndexuivARB)
3913#define glMatrixIndexusvARB GLEW_GET_FUN(__glewMatrixIndexusvARB)
3914
3915#define GLEW_ARB_matrix_palette GLEW_GET_VAR(__GLEW_ARB_matrix_palette)
3916
3917#endif /* GL_ARB_matrix_palette */
3918
3919/* --------------------------- GL_ARB_multisample -------------------------- */
3920
3921#ifndef GL_ARB_multisample
3922#define GL_ARB_multisample 1
3923
3924#define GL_MULTISAMPLE_ARB 0x809D
3925#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
3926#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
3927#define GL_SAMPLE_COVERAGE_ARB 0x80A0
3928#define GL_SAMPLE_BUFFERS_ARB 0x80A8
3929#define GL_SAMPLES_ARB 0x80A9
3930#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
3931#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
3932#define GL_MULTISAMPLE_BIT_ARB 0x20000000
3933
3934typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
3935
3936#define glSampleCoverageARB GLEW_GET_FUN(__glewSampleCoverageARB)
3937
3938#define GLEW_ARB_multisample GLEW_GET_VAR(__GLEW_ARB_multisample)
3939
3940#endif /* GL_ARB_multisample */
3941
3942/* -------------------------- GL_ARB_multitexture -------------------------- */
3943
3944#ifndef GL_ARB_multitexture
3945#define GL_ARB_multitexture 1
3946
3947#define GL_TEXTURE0_ARB 0x84C0
3948#define GL_TEXTURE1_ARB 0x84C1
3949#define GL_TEXTURE2_ARB 0x84C2
3950#define GL_TEXTURE3_ARB 0x84C3
3951#define GL_TEXTURE4_ARB 0x84C4
3952#define GL_TEXTURE5_ARB 0x84C5
3953#define GL_TEXTURE6_ARB 0x84C6
3954#define GL_TEXTURE7_ARB 0x84C7
3955#define GL_TEXTURE8_ARB 0x84C8
3956#define GL_TEXTURE9_ARB 0x84C9
3957#define GL_TEXTURE10_ARB 0x84CA
3958#define GL_TEXTURE11_ARB 0x84CB
3959#define GL_TEXTURE12_ARB 0x84CC
3960#define GL_TEXTURE13_ARB 0x84CD
3961#define GL_TEXTURE14_ARB 0x84CE
3962#define GL_TEXTURE15_ARB 0x84CF
3963#define GL_TEXTURE16_ARB 0x84D0
3964#define GL_TEXTURE17_ARB 0x84D1
3965#define GL_TEXTURE18_ARB 0x84D2
3966#define GL_TEXTURE19_ARB 0x84D3
3967#define GL_TEXTURE20_ARB 0x84D4
3968#define GL_TEXTURE21_ARB 0x84D5
3969#define GL_TEXTURE22_ARB 0x84D6
3970#define GL_TEXTURE23_ARB 0x84D7
3971#define GL_TEXTURE24_ARB 0x84D8
3972#define GL_TEXTURE25_ARB 0x84D9
3973#define GL_TEXTURE26_ARB 0x84DA
3974#define GL_TEXTURE27_ARB 0x84DB
3975#define GL_TEXTURE28_ARB 0x84DC
3976#define GL_TEXTURE29_ARB 0x84DD
3977#define GL_TEXTURE30_ARB 0x84DE
3978#define GL_TEXTURE31_ARB 0x84DF
3979#define GL_ACTIVE_TEXTURE_ARB 0x84E0
3980#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
3981#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
3982
3983typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3984typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3985typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3986typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3987typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3988typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3989typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3990typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3991typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3992typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3993typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3994typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3995typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3996typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3997typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3998typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3999typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
4000typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
4001typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
4002typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
4003typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
4004typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
4005typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
4006typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
4007typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
4008typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
4009typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
4010typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
4011typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
4012typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
4013typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
4014typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
4015typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
4016typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
4017
4018#define glActiveTextureARB GLEW_GET_FUN(__glewActiveTextureARB)
4019#define glClientActiveTextureARB GLEW_GET_FUN(__glewClientActiveTextureARB)
4020#define glMultiTexCoord1dARB GLEW_GET_FUN(__glewMultiTexCoord1dARB)
4021#define glMultiTexCoord1dvARB GLEW_GET_FUN(__glewMultiTexCoord1dvARB)
4022#define glMultiTexCoord1fARB GLEW_GET_FUN(__glewMultiTexCoord1fARB)
4023#define glMultiTexCoord1fvARB GLEW_GET_FUN(__glewMultiTexCoord1fvARB)
4024#define glMultiTexCoord1iARB GLEW_GET_FUN(__glewMultiTexCoord1iARB)
4025#define glMultiTexCoord1ivARB GLEW_GET_FUN(__glewMultiTexCoord1ivARB)
4026#define glMultiTexCoord1sARB GLEW_GET_FUN(__glewMultiTexCoord1sARB)
4027#define glMultiTexCoord1svARB GLEW_GET_FUN(__glewMultiTexCoord1svARB)
4028#define glMultiTexCoord2dARB GLEW_GET_FUN(__glewMultiTexCoord2dARB)
4029#define glMultiTexCoord2dvARB GLEW_GET_FUN(__glewMultiTexCoord2dvARB)
4030#define glMultiTexCoord2fARB GLEW_GET_FUN(__glewMultiTexCoord2fARB)
4031#define glMultiTexCoord2fvARB GLEW_GET_FUN(__glewMultiTexCoord2fvARB)
4032#define glMultiTexCoord2iARB GLEW_GET_FUN(__glewMultiTexCoord2iARB)
4033#define glMultiTexCoord2ivARB GLEW_GET_FUN(__glewMultiTexCoord2ivARB)
4034#define glMultiTexCoord2sARB GLEW_GET_FUN(__glewMultiTexCoord2sARB)
4035#define glMultiTexCoord2svARB GLEW_GET_FUN(__glewMultiTexCoord2svARB)
4036#define glMultiTexCoord3dARB GLEW_GET_FUN(__glewMultiTexCoord3dARB)
4037#define glMultiTexCoord3dvARB GLEW_GET_FUN(__glewMultiTexCoord3dvARB)
4038#define glMultiTexCoord3fARB GLEW_GET_FUN(__glewMultiTexCoord3fARB)
4039#define glMultiTexCoord3fvARB GLEW_GET_FUN(__glewMultiTexCoord3fvARB)
4040#define glMultiTexCoord3iARB GLEW_GET_FUN(__glewMultiTexCoord3iARB)
4041#define glMultiTexCoord3ivARB GLEW_GET_FUN(__glewMultiTexCoord3ivARB)
4042#define glMultiTexCoord3sARB GLEW_GET_FUN(__glewMultiTexCoord3sARB)
4043#define glMultiTexCoord3svARB GLEW_GET_FUN(__glewMultiTexCoord3svARB)
4044#define glMultiTexCoord4dARB GLEW_GET_FUN(__glewMultiTexCoord4dARB)
4045#define glMultiTexCoord4dvARB GLEW_GET_FUN(__glewMultiTexCoord4dvARB)
4046#define glMultiTexCoord4fARB GLEW_GET_FUN(__glewMultiTexCoord4fARB)
4047#define glMultiTexCoord4fvARB GLEW_GET_FUN(__glewMultiTexCoord4fvARB)
4048#define glMultiTexCoord4iARB GLEW_GET_FUN(__glewMultiTexCoord4iARB)
4049#define glMultiTexCoord4ivARB GLEW_GET_FUN(__glewMultiTexCoord4ivARB)
4050#define glMultiTexCoord4sARB GLEW_GET_FUN(__glewMultiTexCoord4sARB)
4051#define glMultiTexCoord4svARB GLEW_GET_FUN(__glewMultiTexCoord4svARB)
4052
4053#define GLEW_ARB_multitexture GLEW_GET_VAR(__GLEW_ARB_multitexture)
4054
4055#endif /* GL_ARB_multitexture */
4056
4057/* ------------------------- GL_ARB_occlusion_query ------------------------ */
4058
4059#ifndef GL_ARB_occlusion_query
4060#define GL_ARB_occlusion_query 1
4061
4062#define GL_QUERY_COUNTER_BITS_ARB 0x8864
4063#define GL_CURRENT_QUERY_ARB 0x8865
4064#define GL_QUERY_RESULT_ARB 0x8866
4065#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
4066#define GL_SAMPLES_PASSED_ARB 0x8914
4067
4068typedef void (GLAPIENTRY * PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
4069typedef void (GLAPIENTRY * PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint* ids);
4070typedef void (GLAPIENTRY * PFNGLENDQUERYARBPROC) (GLenum target);
4071typedef void (GLAPIENTRY * PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint* ids);
4072typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint* params);
4073typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint* params);
4074typedef void (GLAPIENTRY * PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint* params);
4075typedef GLboolean (GLAPIENTRY * PFNGLISQUERYARBPROC) (GLuint id);
4076
4077#define glBeginQueryARB GLEW_GET_FUN(__glewBeginQueryARB)
4078#define glDeleteQueriesARB GLEW_GET_FUN(__glewDeleteQueriesARB)
4079#define glEndQueryARB GLEW_GET_FUN(__glewEndQueryARB)
4080#define glGenQueriesARB GLEW_GET_FUN(__glewGenQueriesARB)
4081#define glGetQueryObjectivARB GLEW_GET_FUN(__glewGetQueryObjectivARB)
4082#define glGetQueryObjectuivARB GLEW_GET_FUN(__glewGetQueryObjectuivARB)
4083#define glGetQueryivARB GLEW_GET_FUN(__glewGetQueryivARB)
4084#define glIsQueryARB GLEW_GET_FUN(__glewIsQueryARB)
4085
4086#define GLEW_ARB_occlusion_query GLEW_GET_VAR(__GLEW_ARB_occlusion_query)
4087
4088#endif /* GL_ARB_occlusion_query */
4089
4090/* ------------------------ GL_ARB_occlusion_query2 ------------------------ */
4091
4092#ifndef GL_ARB_occlusion_query2
4093#define GL_ARB_occlusion_query2 1
4094
4095#define GL_ANY_SAMPLES_PASSED 0x8C2F
4096
4097#define GLEW_ARB_occlusion_query2 GLEW_GET_VAR(__GLEW_ARB_occlusion_query2)
4098
4099#endif /* GL_ARB_occlusion_query2 */
4100
4101/* ----------------------- GL_ARB_pixel_buffer_object ---------------------- */
4102
4103#ifndef GL_ARB_pixel_buffer_object
4104#define GL_ARB_pixel_buffer_object 1
4105
4106#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
4107#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
4108#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
4109#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
4110
4111#define GLEW_ARB_pixel_buffer_object GLEW_GET_VAR(__GLEW_ARB_pixel_buffer_object)
4112
4113#endif /* GL_ARB_pixel_buffer_object */
4114
4115/* ------------------------ GL_ARB_point_parameters ------------------------ */
4116
4117#ifndef GL_ARB_point_parameters
4118#define GL_ARB_point_parameters 1
4119
4120#define GL_POINT_SIZE_MIN_ARB 0x8126
4121#define GL_POINT_SIZE_MAX_ARB 0x8127
4122#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
4123#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
4124
4125typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
4126typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat* params);
4127
4128#define glPointParameterfARB GLEW_GET_FUN(__glewPointParameterfARB)
4129#define glPointParameterfvARB GLEW_GET_FUN(__glewPointParameterfvARB)
4130
4131#define GLEW_ARB_point_parameters GLEW_GET_VAR(__GLEW_ARB_point_parameters)
4132
4133#endif /* GL_ARB_point_parameters */
4134
4135/* -------------------------- GL_ARB_point_sprite -------------------------- */
4136
4137#ifndef GL_ARB_point_sprite
4138#define GL_ARB_point_sprite 1
4139
4140#define GL_POINT_SPRITE_ARB 0x8861
4141#define GL_COORD_REPLACE_ARB 0x8862
4142
4143#define GLEW_ARB_point_sprite GLEW_GET_VAR(__GLEW_ARB_point_sprite)
4144
4145#endif /* GL_ARB_point_sprite */
4146
4147/* ------------------------ GL_ARB_provoking_vertex ------------------------ */
4148
4149#ifndef GL_ARB_provoking_vertex
4150#define GL_ARB_provoking_vertex 1
4151
4152#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
4153#define GL_FIRST_VERTEX_CONVENTION 0x8E4D
4154#define GL_LAST_VERTEX_CONVENTION 0x8E4E
4155#define GL_PROVOKING_VERTEX 0x8E4F
4156
4157typedef void (GLAPIENTRY * PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
4158
4159#define glProvokingVertex GLEW_GET_FUN(__glewProvokingVertex)
4160
4161#define GLEW_ARB_provoking_vertex GLEW_GET_VAR(__GLEW_ARB_provoking_vertex)
4162
4163#endif /* GL_ARB_provoking_vertex */
4164
4165/* --------------------------- GL_ARB_robustness --------------------------- */
4166
4167#ifndef GL_ARB_robustness
4168#define GL_ARB_robustness 1
4169
4170#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
4171#define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
4172#define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
4173#define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
4174#define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
4175#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
4176#define GL_NO_RESET_NOTIFICATION_ARB 0x8261
4177
4178typedef void (GLAPIENTRY * PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* table);
4179typedef void (GLAPIENTRY * PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void* img);
4180typedef void (GLAPIENTRY * PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* image);
4181typedef void (GLAPIENTRY * PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values);
4182typedef void (GLAPIENTRY * PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble* v);
4183typedef void (GLAPIENTRY * PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat* v);
4184typedef void (GLAPIENTRY * PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint* v);
4185typedef void (GLAPIENTRY * PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values);
4186typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat* values);
4187typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint* values);
4188typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort* values);
4189typedef void (GLAPIENTRY * PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte* pattern);
4190typedef void (GLAPIENTRY * PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void* row, GLsizei columnBufSize, GLvoid*column, GLvoid*span);
4191typedef void (GLAPIENTRY * PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void* img);
4192typedef void (GLAPIENTRY * PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble* params);
4193typedef void (GLAPIENTRY * PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat* params);
4194typedef void (GLAPIENTRY * PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint* params);
4195typedef void (GLAPIENTRY * PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint* params);
4196typedef void (GLAPIENTRY * PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void* data);
4197
4198#define glGetnColorTableARB GLEW_GET_FUN(__glewGetnColorTableARB)
4199#define glGetnCompressedTexImageARB GLEW_GET_FUN(__glewGetnCompressedTexImageARB)
4200#define glGetnConvolutionFilterARB GLEW_GET_FUN(__glewGetnConvolutionFilterARB)
4201#define glGetnHistogramARB GLEW_GET_FUN(__glewGetnHistogramARB)
4202#define glGetnMapdvARB GLEW_GET_FUN(__glewGetnMapdvARB)
4203#define glGetnMapfvARB GLEW_GET_FUN(__glewGetnMapfvARB)
4204#define glGetnMapivARB GLEW_GET_FUN(__glewGetnMapivARB)
4205#define glGetnMinmaxARB GLEW_GET_FUN(__glewGetnMinmaxARB)
4206#define glGetnPixelMapfvARB GLEW_GET_FUN(__glewGetnPixelMapfvARB)
4207#define glGetnPixelMapuivARB GLEW_GET_FUN(__glewGetnPixelMapuivARB)
4208#define glGetnPixelMapusvARB GLEW_GET_FUN(__glewGetnPixelMapusvARB)
4209#define glGetnPolygonStippleARB GLEW_GET_FUN(__glewGetnPolygonStippleARB)
4210#define glGetnSeparableFilterARB GLEW_GET_FUN(__glewGetnSeparableFilterARB)
4211#define glGetnTexImageARB GLEW_GET_FUN(__glewGetnTexImageARB)
4212#define glGetnUniformdvARB GLEW_GET_FUN(__glewGetnUniformdvARB)
4213#define glGetnUniformfvARB GLEW_GET_FUN(__glewGetnUniformfvARB)
4214#define glGetnUniformivARB GLEW_GET_FUN(__glewGetnUniformivARB)
4215#define glGetnUniformuivARB GLEW_GET_FUN(__glewGetnUniformuivARB)
4216#define glReadnPixelsARB GLEW_GET_FUN(__glewReadnPixelsARB)
4217
4218#define GLEW_ARB_robustness GLEW_GET_VAR(__GLEW_ARB_robustness)
4219
4220#endif /* GL_ARB_robustness */
4221
4222/* ------------------------- GL_ARB_sample_shading ------------------------- */
4223
4224#ifndef GL_ARB_sample_shading
4225#define GL_ARB_sample_shading 1
4226
4227#define GL_SAMPLE_SHADING_ARB 0x8C36
4228#define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
4229
4230typedef void (GLAPIENTRY * PFNGLMINSAMPLESHADINGARBPROC) (GLclampf value);
4231
4232#define glMinSampleShadingARB GLEW_GET_FUN(__glewMinSampleShadingARB)
4233
4234#define GLEW_ARB_sample_shading GLEW_GET_VAR(__GLEW_ARB_sample_shading)
4235
4236#endif /* GL_ARB_sample_shading */
4237
4238/* ------------------------- GL_ARB_sampler_objects ------------------------ */
4239
4240#ifndef GL_ARB_sampler_objects
4241#define GL_ARB_sampler_objects 1
4242
4243#define GL_SAMPLER_BINDING 0x8919
4244
4245typedef void (GLAPIENTRY * PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
4246typedef void (GLAPIENTRY * PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint * samplers);
4247typedef void (GLAPIENTRY * PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint* samplers);
4248typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint* params);
4249typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint* params);
4250typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat* params);
4251typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint* params);
4252typedef GLboolean (GLAPIENTRY * PFNGLISSAMPLERPROC) (GLuint sampler);
4253typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint* params);
4254typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint* params);
4255typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
4256typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat* params);
4257typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
4258typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint* params);
4259
4260#define glBindSampler GLEW_GET_FUN(__glewBindSampler)
4261#define glDeleteSamplers GLEW_GET_FUN(__glewDeleteSamplers)
4262#define glGenSamplers GLEW_GET_FUN(__glewGenSamplers)
4263#define glGetSamplerParameterIiv GLEW_GET_FUN(__glewGetSamplerParameterIiv)
4264#define glGetSamplerParameterIuiv GLEW_GET_FUN(__glewGetSamplerParameterIuiv)
4265#define glGetSamplerParameterfv GLEW_GET_FUN(__glewGetSamplerParameterfv)
4266#define glGetSamplerParameteriv GLEW_GET_FUN(__glewGetSamplerParameteriv)
4267#define glIsSampler GLEW_GET_FUN(__glewIsSampler)
4268#define glSamplerParameterIiv GLEW_GET_FUN(__glewSamplerParameterIiv)
4269#define glSamplerParameterIuiv GLEW_GET_FUN(__glewSamplerParameterIuiv)
4270#define glSamplerParameterf GLEW_GET_FUN(__glewSamplerParameterf)
4271#define glSamplerParameterfv GLEW_GET_FUN(__glewSamplerParameterfv)
4272#define glSamplerParameteri GLEW_GET_FUN(__glewSamplerParameteri)
4273#define glSamplerParameteriv GLEW_GET_FUN(__glewSamplerParameteriv)
4274
4275#define GLEW_ARB_sampler_objects GLEW_GET_VAR(__GLEW_ARB_sampler_objects)
4276
4277#endif /* GL_ARB_sampler_objects */
4278
4279/* ------------------------ GL_ARB_seamless_cube_map ----------------------- */
4280
4281#ifndef GL_ARB_seamless_cube_map
4282#define GL_ARB_seamless_cube_map 1
4283
4284#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
4285
4286#define GLEW_ARB_seamless_cube_map GLEW_GET_VAR(__GLEW_ARB_seamless_cube_map)
4287
4288#endif /* GL_ARB_seamless_cube_map */
4289
4290/* --------------------- GL_ARB_separate_shader_objects -------------------- */
4291
4292#ifndef GL_ARB_separate_shader_objects
4293#define GL_ARB_separate_shader_objects 1
4294
4295#define GL_VERTEX_SHADER_BIT 0x00000001
4296#define GL_FRAGMENT_SHADER_BIT 0x00000002
4297#define GL_GEOMETRY_SHADER_BIT 0x00000004
4298#define GL_TESS_CONTROL_SHADER_BIT 0x00000008
4299#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
4300#define GL_PROGRAM_SEPARABLE 0x8258
4301#define GL_ACTIVE_PROGRAM 0x8259
4302#define GL_PROGRAM_PIPELINE_BINDING 0x825A
4303#define GL_ALL_SHADER_BITS 0xFFFFFFFF
4304
4305typedef void (GLAPIENTRY * PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
4306typedef void (GLAPIENTRY * PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
4307typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const char ** strings);
4308typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint* pipelines);
4309typedef void (GLAPIENTRY * PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint* pipelines);
4310typedef void (GLAPIENTRY * PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei* length, char *infoLog);
4311typedef void (GLAPIENTRY * PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint* params);
4312typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
4313typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble x);
4314typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
4315typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat x);
4316typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
4317typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint x);
4318typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
4319typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint x);
4320typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
4321typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
4322typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
4323typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y);
4324typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
4325typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint x, GLint y);
4326typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
4327typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint x, GLuint y);
4328typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
4329typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
4330typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
4331typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
4332typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
4333typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z);
4334typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
4335typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint x, GLuint y, GLuint z);
4336typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
4337typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4338typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
4339typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4340typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
4341typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);
4342typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
4343typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint x, GLuint y, GLuint z, GLuint w);
4344typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
4345typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4346typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4347typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4348typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4349typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4350typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4351typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4352typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4353typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4354typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4355typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4356typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4357typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4358typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4359typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4360typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4361typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4362typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4363typedef void (GLAPIENTRY * PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
4364typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
4365
4366#define glActiveShaderProgram GLEW_GET_FUN(__glewActiveShaderProgram)
4367#define glBindProgramPipeline GLEW_GET_FUN(__glewBindProgramPipeline)
4368#define glCreateShaderProgramv GLEW_GET_FUN(__glewCreateShaderProgramv)
4369#define glDeleteProgramPipelines GLEW_GET_FUN(__glewDeleteProgramPipelines)
4370#define glGenProgramPipelines GLEW_GET_FUN(__glewGenProgramPipelines)
4371#define glGetProgramPipelineInfoLog GLEW_GET_FUN(__glewGetProgramPipelineInfoLog)
4372#define glGetProgramPipelineiv GLEW_GET_FUN(__glewGetProgramPipelineiv)
4373#define glIsProgramPipeline GLEW_GET_FUN(__glewIsProgramPipeline)
4374#define glProgramUniform1d GLEW_GET_FUN(__glewProgramUniform1d)
4375#define glProgramUniform1dv GLEW_GET_FUN(__glewProgramUniform1dv)
4376#define glProgramUniform1f GLEW_GET_FUN(__glewProgramUniform1f)
4377#define glProgramUniform1fv GLEW_GET_FUN(__glewProgramUniform1fv)
4378#define glProgramUniform1i GLEW_GET_FUN(__glewProgramUniform1i)
4379#define glProgramUniform1iv GLEW_GET_FUN(__glewProgramUniform1iv)
4380#define glProgramUniform1ui GLEW_GET_FUN(__glewProgramUniform1ui)
4381#define glProgramUniform1uiv GLEW_GET_FUN(__glewProgramUniform1uiv)
4382#define glProgramUniform2d GLEW_GET_FUN(__glewProgramUniform2d)
4383#define glProgramUniform2dv GLEW_GET_FUN(__glewProgramUniform2dv)
4384#define glProgramUniform2f GLEW_GET_FUN(__glewProgramUniform2f)
4385#define glProgramUniform2fv GLEW_GET_FUN(__glewProgramUniform2fv)
4386#define glProgramUniform2i GLEW_GET_FUN(__glewProgramUniform2i)
4387#define glProgramUniform2iv GLEW_GET_FUN(__glewProgramUniform2iv)
4388#define glProgramUniform2ui GLEW_GET_FUN(__glewProgramUniform2ui)
4389#define glProgramUniform2uiv GLEW_GET_FUN(__glewProgramUniform2uiv)
4390#define glProgramUniform3d GLEW_GET_FUN(__glewProgramUniform3d)
4391#define glProgramUniform3dv GLEW_GET_FUN(__glewProgramUniform3dv)
4392#define glProgramUniform3f GLEW_GET_FUN(__glewProgramUniform3f)
4393#define glProgramUniform3fv GLEW_GET_FUN(__glewProgramUniform3fv)
4394#define glProgramUniform3i GLEW_GET_FUN(__glewProgramUniform3i)
4395#define glProgramUniform3iv GLEW_GET_FUN(__glewProgramUniform3iv)
4396#define glProgramUniform3ui GLEW_GET_FUN(__glewProgramUniform3ui)
4397#define glProgramUniform3uiv GLEW_GET_FUN(__glewProgramUniform3uiv)
4398#define glProgramUniform4d GLEW_GET_FUN(__glewProgramUniform4d)
4399#define glProgramUniform4dv GLEW_GET_FUN(__glewProgramUniform4dv)
4400#define glProgramUniform4f GLEW_GET_FUN(__glewProgramUniform4f)
4401#define glProgramUniform4fv GLEW_GET_FUN(__glewProgramUniform4fv)
4402#define glProgramUniform4i GLEW_GET_FUN(__glewProgramUniform4i)
4403#define glProgramUniform4iv GLEW_GET_FUN(__glewProgramUniform4iv)
4404#define glProgramUniform4ui GLEW_GET_FUN(__glewProgramUniform4ui)
4405#define glProgramUniform4uiv GLEW_GET_FUN(__glewProgramUniform4uiv)
4406#define glProgramUniformMatrix2dv GLEW_GET_FUN(__glewProgramUniformMatrix2dv)
4407#define glProgramUniformMatrix2fv GLEW_GET_FUN(__glewProgramUniformMatrix2fv)
4408#define glProgramUniformMatrix2x3dv GLEW_GET_FUN(__glewProgramUniformMatrix2x3dv)
4409#define glProgramUniformMatrix2x3fv GLEW_GET_FUN(__glewProgramUniformMatrix2x3fv)
4410#define glProgramUniformMatrix2x4dv GLEW_GET_FUN(__glewProgramUniformMatrix2x4dv)
4411#define glProgramUniformMatrix2x4fv GLEW_GET_FUN(__glewProgramUniformMatrix2x4fv)
4412#define glProgramUniformMatrix3dv GLEW_GET_FUN(__glewProgramUniformMatrix3dv)
4413#define glProgramUniformMatrix3fv GLEW_GET_FUN(__glewProgramUniformMatrix3fv)
4414#define glProgramUniformMatrix3x2dv GLEW_GET_FUN(__glewProgramUniformMatrix3x2dv)
4415#define glProgramUniformMatrix3x2fv GLEW_GET_FUN(__glewProgramUniformMatrix3x2fv)
4416#define glProgramUniformMatrix3x4dv GLEW_GET_FUN(__glewProgramUniformMatrix3x4dv)
4417#define glProgramUniformMatrix3x4fv GLEW_GET_FUN(__glewProgramUniformMatrix3x4fv)
4418#define glProgramUniformMatrix4dv GLEW_GET_FUN(__glewProgramUniformMatrix4dv)
4419#define glProgramUniformMatrix4fv GLEW_GET_FUN(__glewProgramUniformMatrix4fv)
4420#define glProgramUniformMatrix4x2dv GLEW_GET_FUN(__glewProgramUniformMatrix4x2dv)
4421#define glProgramUniformMatrix4x2fv GLEW_GET_FUN(__glewProgramUniformMatrix4x2fv)
4422#define glProgramUniformMatrix4x3dv GLEW_GET_FUN(__glewProgramUniformMatrix4x3dv)
4423#define glProgramUniformMatrix4x3fv GLEW_GET_FUN(__glewProgramUniformMatrix4x3fv)
4424#define glUseProgramStages GLEW_GET_FUN(__glewUseProgramStages)
4425#define glValidateProgramPipeline GLEW_GET_FUN(__glewValidateProgramPipeline)
4426
4427#define GLEW_ARB_separate_shader_objects GLEW_GET_VAR(__GLEW_ARB_separate_shader_objects)
4428
4429#endif /* GL_ARB_separate_shader_objects */
4430
4431/* ----------------------- GL_ARB_shader_bit_encoding ---------------------- */
4432
4433#ifndef GL_ARB_shader_bit_encoding
4434#define GL_ARB_shader_bit_encoding 1
4435
4436#define GLEW_ARB_shader_bit_encoding GLEW_GET_VAR(__GLEW_ARB_shader_bit_encoding)
4437
4438#endif /* GL_ARB_shader_bit_encoding */
4439
4440/* ------------------------- GL_ARB_shader_objects ------------------------- */
4441
4442#ifndef GL_ARB_shader_objects
4443#define GL_ARB_shader_objects 1
4444
4445#define GL_PROGRAM_OBJECT_ARB 0x8B40
4446#define GL_SHADER_OBJECT_ARB 0x8B48
4447#define GL_OBJECT_TYPE_ARB 0x8B4E
4448#define GL_OBJECT_SUBTYPE_ARB 0x8B4F
4449#define GL_FLOAT_VEC2_ARB 0x8B50
4450#define GL_FLOAT_VEC3_ARB 0x8B51
4451#define GL_FLOAT_VEC4_ARB 0x8B52
4452#define GL_INT_VEC2_ARB 0x8B53
4453#define GL_INT_VEC3_ARB 0x8B54
4454#define GL_INT_VEC4_ARB 0x8B55
4455#define GL_BOOL_ARB 0x8B56
4456#define GL_BOOL_VEC2_ARB 0x8B57
4457#define GL_BOOL_VEC3_ARB 0x8B58
4458#define GL_BOOL_VEC4_ARB 0x8B59
4459#define GL_FLOAT_MAT2_ARB 0x8B5A
4460#define GL_FLOAT_MAT3_ARB 0x8B5B
4461#define GL_FLOAT_MAT4_ARB 0x8B5C
4462#define GL_SAMPLER_1D_ARB 0x8B5D
4463#define GL_SAMPLER_2D_ARB 0x8B5E
4464#define GL_SAMPLER_3D_ARB 0x8B5F
4465#define GL_SAMPLER_CUBE_ARB 0x8B60
4466#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
4467#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
4468#define GL_SAMPLER_2D_RECT_ARB 0x8B63
4469#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
4470#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
4471#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
4472#define GL_OBJECT_LINK_STATUS_ARB 0x8B82
4473#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
4474#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
4475#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
4476#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
4477#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
4478#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
4479
4480typedef char GLcharARB;
4481typedef unsigned int GLhandleARB;
4482
4483typedef void (GLAPIENTRY * PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
4484typedef void (GLAPIENTRY * PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
4485typedef GLhandleARB (GLAPIENTRY * PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
4486typedef GLhandleARB (GLAPIENTRY * PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
4487typedef void (GLAPIENTRY * PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
4488typedef void (GLAPIENTRY * PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
4489typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name);
4490typedef void (GLAPIENTRY * PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB *obj);
4491typedef GLhandleARB (GLAPIENTRY * PFNGLGETHANDLEARBPROC) (GLenum pname);
4492typedef void (GLAPIENTRY * PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *infoLog);
4493typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat* params);
4494typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint* params);
4495typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *source);
4496typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB* name);
4497typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat* params);
4498typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint* params);
4499typedef void (GLAPIENTRY * PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
4500typedef void (GLAPIENTRY * PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint *length);
4501typedef void (GLAPIENTRY * PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
4502typedef void (GLAPIENTRY * PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
4503typedef void (GLAPIENTRY * PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
4504typedef void (GLAPIENTRY * PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint* value);
4505typedef void (GLAPIENTRY * PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
4506typedef void (GLAPIENTRY * PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
4507typedef void (GLAPIENTRY * PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
4508typedef void (GLAPIENTRY * PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint* value);
4509typedef void (GLAPIENTRY * PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
4510typedef void (GLAPIENTRY * PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
4511typedef void (GLAPIENTRY * PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
4512typedef void (GLAPIENTRY * PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint* value);
4513typedef void (GLAPIENTRY * PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
4514typedef void (GLAPIENTRY * PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
4515typedef void (GLAPIENTRY * PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
4516typedef void (GLAPIENTRY * PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint* value);
4517typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4518typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4519typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4520typedef void (GLAPIENTRY * PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
4521typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
4522
4523#define glAttachObjectARB GLEW_GET_FUN(__glewAttachObjectARB)
4524#define glCompileShaderARB GLEW_GET_FUN(__glewCompileShaderARB)
4525#define glCreateProgramObjectARB GLEW_GET_FUN(__glewCreateProgramObjectARB)
4526#define glCreateShaderObjectARB GLEW_GET_FUN(__glewCreateShaderObjectARB)
4527#define glDeleteObjectARB GLEW_GET_FUN(__glewDeleteObjectARB)
4528#define glDetachObjectARB GLEW_GET_FUN(__glewDetachObjectARB)
4529#define glGetActiveUniformARB GLEW_GET_FUN(__glewGetActiveUniformARB)
4530#define glGetAttachedObjectsARB GLEW_GET_FUN(__glewGetAttachedObjectsARB)
4531#define glGetHandleARB GLEW_GET_FUN(__glewGetHandleARB)
4532#define glGetInfoLogARB GLEW_GET_FUN(__glewGetInfoLogARB)
4533#define glGetObjectParameterfvARB GLEW_GET_FUN(__glewGetObjectParameterfvARB)
4534#define glGetObjectParameterivARB GLEW_GET_FUN(__glewGetObjectParameterivARB)
4535#define glGetShaderSourceARB GLEW_GET_FUN(__glewGetShaderSourceARB)
4536#define glGetUniformLocationARB GLEW_GET_FUN(__glewGetUniformLocationARB)
4537#define glGetUniformfvARB GLEW_GET_FUN(__glewGetUniformfvARB)
4538#define glGetUniformivARB GLEW_GET_FUN(__glewGetUniformivARB)
4539#define glLinkProgramARB GLEW_GET_FUN(__glewLinkProgramARB)
4540#define glShaderSourceARB GLEW_GET_FUN(__glewShaderSourceARB)
4541#define glUniform1fARB GLEW_GET_FUN(__glewUniform1fARB)
4542#define glUniform1fvARB GLEW_GET_FUN(__glewUniform1fvARB)
4543#define glUniform1iARB GLEW_GET_FUN(__glewUniform1iARB)
4544#define glUniform1ivARB GLEW_GET_FUN(__glewUniform1ivARB)
4545#define glUniform2fARB GLEW_GET_FUN(__glewUniform2fARB)
4546#define glUniform2fvARB GLEW_GET_FUN(__glewUniform2fvARB)
4547#define glUniform2iARB GLEW_GET_FUN(__glewUniform2iARB)
4548#define glUniform2ivARB GLEW_GET_FUN(__glewUniform2ivARB)
4549#define glUniform3fARB GLEW_GET_FUN(__glewUniform3fARB)
4550#define glUniform3fvARB GLEW_GET_FUN(__glewUniform3fvARB)
4551#define glUniform3iARB GLEW_GET_FUN(__glewUniform3iARB)
4552#define glUniform3ivARB GLEW_GET_FUN(__glewUniform3ivARB)
4553#define glUniform4fARB GLEW_GET_FUN(__glewUniform4fARB)
4554#define glUniform4fvARB GLEW_GET_FUN(__glewUniform4fvARB)
4555#define glUniform4iARB GLEW_GET_FUN(__glewUniform4iARB)
4556#define glUniform4ivARB GLEW_GET_FUN(__glewUniform4ivARB)
4557#define glUniformMatrix2fvARB GLEW_GET_FUN(__glewUniformMatrix2fvARB)
4558#define glUniformMatrix3fvARB GLEW_GET_FUN(__glewUniformMatrix3fvARB)
4559#define glUniformMatrix4fvARB GLEW_GET_FUN(__glewUniformMatrix4fvARB)
4560#define glUseProgramObjectARB GLEW_GET_FUN(__glewUseProgramObjectARB)
4561#define glValidateProgramARB GLEW_GET_FUN(__glewValidateProgramARB)
4562
4563#define GLEW_ARB_shader_objects GLEW_GET_VAR(__GLEW_ARB_shader_objects)
4564
4565#endif /* GL_ARB_shader_objects */
4566
4567/* ------------------------ GL_ARB_shader_precision ------------------------ */
4568
4569#ifndef GL_ARB_shader_precision
4570#define GL_ARB_shader_precision 1
4571
4572#define GLEW_ARB_shader_precision GLEW_GET_VAR(__GLEW_ARB_shader_precision)
4573
4574#endif /* GL_ARB_shader_precision */
4575
4576/* ---------------------- GL_ARB_shader_stencil_export --------------------- */
4577
4578#ifndef GL_ARB_shader_stencil_export
4579#define GL_ARB_shader_stencil_export 1
4580
4581#define GLEW_ARB_shader_stencil_export GLEW_GET_VAR(__GLEW_ARB_shader_stencil_export)
4582
4583#endif /* GL_ARB_shader_stencil_export */
4584
4585/* ------------------------ GL_ARB_shader_subroutine ----------------------- */
4586
4587#ifndef GL_ARB_shader_subroutine
4588#define GL_ARB_shader_subroutine 1
4589
4590#define GL_ACTIVE_SUBROUTINES 0x8DE5
4591#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
4592#define GL_MAX_SUBROUTINES 0x8DE7
4593#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
4594#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
4595#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
4596#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
4597#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
4598#define GL_COMPATIBLE_SUBROUTINES 0x8E4B
4599
4600typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, char *name);
4601typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, char *name);
4602typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint* values);
4603typedef void (GLAPIENTRY * PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint* values);
4604typedef GLuint (GLAPIENTRY * PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const char* name);
4605typedef GLint (GLAPIENTRY * PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const char* name);
4606typedef void (GLAPIENTRY * PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint* params);
4607typedef void (GLAPIENTRY * PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint* indices);
4608
4609#define glGetActiveSubroutineName GLEW_GET_FUN(__glewGetActiveSubroutineName)
4610#define glGetActiveSubroutineUniformName GLEW_GET_FUN(__glewGetActiveSubroutineUniformName)
4611#define glGetActiveSubroutineUniformiv GLEW_GET_FUN(__glewGetActiveSubroutineUniformiv)
4612#define glGetProgramStageiv GLEW_GET_FUN(__glewGetProgramStageiv)
4613#define glGetSubroutineIndex GLEW_GET_FUN(__glewGetSubroutineIndex)
4614#define glGetSubroutineUniformLocation GLEW_GET_FUN(__glewGetSubroutineUniformLocation)
4615#define glGetUniformSubroutineuiv GLEW_GET_FUN(__glewGetUniformSubroutineuiv)
4616#define glUniformSubroutinesuiv GLEW_GET_FUN(__glewUniformSubroutinesuiv)
4617
4618#define GLEW_ARB_shader_subroutine GLEW_GET_VAR(__GLEW_ARB_shader_subroutine)
4619
4620#endif /* GL_ARB_shader_subroutine */
4621
4622/* ----------------------- GL_ARB_shader_texture_lod ----------------------- */
4623
4624#ifndef GL_ARB_shader_texture_lod
4625#define GL_ARB_shader_texture_lod 1
4626
4627#define GLEW_ARB_shader_texture_lod GLEW_GET_VAR(__GLEW_ARB_shader_texture_lod)
4628
4629#endif /* GL_ARB_shader_texture_lod */
4630
4631/* ---------------------- GL_ARB_shading_language_100 ---------------------- */
4632
4633#ifndef GL_ARB_shading_language_100
4634#define GL_ARB_shading_language_100 1
4635
4636#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
4637
4638#define GLEW_ARB_shading_language_100 GLEW_GET_VAR(__GLEW_ARB_shading_language_100)
4639
4640#endif /* GL_ARB_shading_language_100 */
4641
4642/* -------------------- GL_ARB_shading_language_include -------------------- */
4643
4644#ifndef GL_ARB_shading_language_include
4645#define GL_ARB_shading_language_include 1
4646
4647#define GL_SHADER_INCLUDE_ARB 0x8DAE
4648#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
4649#define GL_NAMED_STRING_TYPE_ARB 0x8DEA
4650
4651typedef void (GLAPIENTRY * PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const char ** path, const GLint *length);
4652typedef void (GLAPIENTRY * PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const char* name);
4653typedef void (GLAPIENTRY * PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const char* name, GLsizei bufSize, GLint *stringlen, char *string);
4654typedef void (GLAPIENTRY * PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const char* name, GLenum pname, GLint *params);
4655typedef GLboolean (GLAPIENTRY * PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const char* name);
4656typedef void (GLAPIENTRY * PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const char* name, GLint stringlen, const char *string);
4657
4658#define glCompileShaderIncludeARB GLEW_GET_FUN(__glewCompileShaderIncludeARB)
4659#define glDeleteNamedStringARB GLEW_GET_FUN(__glewDeleteNamedStringARB)
4660#define glGetNamedStringARB GLEW_GET_FUN(__glewGetNamedStringARB)
4661#define glGetNamedStringivARB GLEW_GET_FUN(__glewGetNamedStringivARB)
4662#define glIsNamedStringARB GLEW_GET_FUN(__glewIsNamedStringARB)
4663#define glNamedStringARB GLEW_GET_FUN(__glewNamedStringARB)
4664
4665#define GLEW_ARB_shading_language_include GLEW_GET_VAR(__GLEW_ARB_shading_language_include)
4666
4667#endif /* GL_ARB_shading_language_include */
4668
4669/* ----------------------------- GL_ARB_shadow ----------------------------- */
4670
4671#ifndef GL_ARB_shadow
4672#define GL_ARB_shadow 1
4673
4674#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
4675#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
4676#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
4677
4678#define GLEW_ARB_shadow GLEW_GET_VAR(__GLEW_ARB_shadow)
4679
4680#endif /* GL_ARB_shadow */
4681
4682/* ------------------------- GL_ARB_shadow_ambient ------------------------- */
4683
4684#ifndef GL_ARB_shadow_ambient
4685#define GL_ARB_shadow_ambient 1
4686
4687#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
4688
4689#define GLEW_ARB_shadow_ambient GLEW_GET_VAR(__GLEW_ARB_shadow_ambient)
4690
4691#endif /* GL_ARB_shadow_ambient */
4692
4693/* ------------------------------ GL_ARB_sync ------------------------------ */
4694
4695#ifndef GL_ARB_sync
4696#define GL_ARB_sync 1
4697
4698#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
4699#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
4700#define GL_OBJECT_TYPE 0x9112
4701#define GL_SYNC_CONDITION 0x9113
4702#define GL_SYNC_STATUS 0x9114
4703#define GL_SYNC_FLAGS 0x9115
4704#define GL_SYNC_FENCE 0x9116
4705#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
4706#define GL_UNSIGNALED 0x9118
4707#define GL_SIGNALED 0x9119
4708#define GL_ALREADY_SIGNALED 0x911A
4709#define GL_TIMEOUT_EXPIRED 0x911B
4710#define GL_CONDITION_SATISFIED 0x911C
4711#define GL_WAIT_FAILED 0x911D
4712#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFF
4713
4714typedef GLenum (GLAPIENTRY * PFNGLCLIENTWAITSYNCPROC) (GLsync GLsync,GLbitfield flags,GLuint64 timeout);
4715typedef void (GLAPIENTRY * PFNGLDELETESYNCPROC) (GLsync GLsync);
4716typedef GLsync (GLAPIENTRY * PFNGLFENCESYNCPROC) (GLenum condition,GLbitfield flags);
4717typedef void (GLAPIENTRY * PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64* params);
4718typedef void (GLAPIENTRY * PFNGLGETSYNCIVPROC) (GLsync GLsync,GLenum pname,GLsizei bufSize,GLsizei* length, GLint *values);
4719typedef GLboolean (GLAPIENTRY * PFNGLISSYNCPROC) (GLsync GLsync);
4720typedef void (GLAPIENTRY * PFNGLWAITSYNCPROC) (GLsync GLsync,GLbitfield flags,GLuint64 timeout);
4721
4722#define glClientWaitSync GLEW_GET_FUN(__glewClientWaitSync)
4723#define glDeleteSync GLEW_GET_FUN(__glewDeleteSync)
4724#define glFenceSync GLEW_GET_FUN(__glewFenceSync)
4725#define glGetInteger64v GLEW_GET_FUN(__glewGetInteger64v)
4726#define glGetSynciv GLEW_GET_FUN(__glewGetSynciv)
4727#define glIsSync GLEW_GET_FUN(__glewIsSync)
4728#define glWaitSync GLEW_GET_FUN(__glewWaitSync)
4729
4730#define GLEW_ARB_sync GLEW_GET_VAR(__GLEW_ARB_sync)
4731
4732#endif /* GL_ARB_sync */
4733
4734/* ----------------------- GL_ARB_tessellation_shader ---------------------- */
4735
4736#ifndef GL_ARB_tessellation_shader
4737#define GL_ARB_tessellation_shader 1
4738
4739#define GL_PATCHES 0xE
4740#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
4741#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
4742#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
4743#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
4744#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
4745#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
4746#define GL_PATCH_VERTICES 0x8E72
4747#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
4748#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
4749#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
4750#define GL_TESS_GEN_MODE 0x8E76
4751#define GL_TESS_GEN_SPACING 0x8E77
4752#define GL_TESS_GEN_VERTEX_ORDER 0x8E78
4753#define GL_TESS_GEN_POINT_MODE 0x8E79
4754#define GL_ISOLINES 0x8E7A
4755#define GL_FRACTIONAL_ODD 0x8E7B
4756#define GL_FRACTIONAL_EVEN 0x8E7C
4757#define GL_MAX_PATCH_VERTICES 0x8E7D
4758#define GL_MAX_TESS_GEN_LEVEL 0x8E7E
4759#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
4760#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
4761#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
4762#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
4763#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
4764#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
4765#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
4766#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
4767#define GL_TESS_EVALUATION_SHADER 0x8E87
4768#define GL_TESS_CONTROL_SHADER 0x8E88
4769#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
4770#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
4771
4772typedef void (GLAPIENTRY * PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat* values);
4773typedef void (GLAPIENTRY * PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
4774
4775#define glPatchParameterfv GLEW_GET_FUN(__glewPatchParameterfv)
4776#define glPatchParameteri GLEW_GET_FUN(__glewPatchParameteri)
4777
4778#define GLEW_ARB_tessellation_shader GLEW_GET_VAR(__GLEW_ARB_tessellation_shader)
4779
4780#endif /* GL_ARB_tessellation_shader */
4781
4782/* ---------------------- GL_ARB_texture_border_clamp ---------------------- */
4783
4784#ifndef GL_ARB_texture_border_clamp
4785#define GL_ARB_texture_border_clamp 1
4786
4787#define GL_CLAMP_TO_BORDER_ARB 0x812D
4788
4789#define GLEW_ARB_texture_border_clamp GLEW_GET_VAR(__GLEW_ARB_texture_border_clamp)
4790
4791#endif /* GL_ARB_texture_border_clamp */
4792
4793/* ---------------------- GL_ARB_texture_buffer_object --------------------- */
4794
4795#ifndef GL_ARB_texture_buffer_object
4796#define GL_ARB_texture_buffer_object 1
4797
4798#define GL_TEXTURE_BUFFER_ARB 0x8C2A
4799#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
4800#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
4801#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
4802#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
4803
4804typedef void (GLAPIENTRY * PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
4805
4806#define glTexBufferARB GLEW_GET_FUN(__glewTexBufferARB)
4807
4808#define GLEW_ARB_texture_buffer_object GLEW_GET_VAR(__GLEW_ARB_texture_buffer_object)
4809
4810#endif /* GL_ARB_texture_buffer_object */
4811
4812/* ------------------- GL_ARB_texture_buffer_object_rgb32 ------------------ */
4813
4814#ifndef GL_ARB_texture_buffer_object_rgb32
4815#define GL_ARB_texture_buffer_object_rgb32 1
4816
4817#define GLEW_ARB_texture_buffer_object_rgb32 GLEW_GET_VAR(__GLEW_ARB_texture_buffer_object_rgb32)
4818
4819#endif /* GL_ARB_texture_buffer_object_rgb32 */
4820
4821/* ----------------------- GL_ARB_texture_compression ---------------------- */
4822
4823#ifndef GL_ARB_texture_compression
4824#define GL_ARB_texture_compression 1
4825
4826#define GL_COMPRESSED_ALPHA_ARB 0x84E9
4827#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
4828#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
4829#define GL_COMPRESSED_INTENSITY_ARB 0x84EC
4830#define GL_COMPRESSED_RGB_ARB 0x84ED
4831#define GL_COMPRESSED_RGBA_ARB 0x84EE
4832#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
4833#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
4834#define GL_TEXTURE_COMPRESSED_ARB 0x86A1
4835#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
4836#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
4837
4838typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data);
4839typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
4840typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
4841typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data);
4842typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
4843typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
4844typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, void* img);
4845
4846#define glCompressedTexImage1DARB GLEW_GET_FUN(__glewCompressedTexImage1DARB)
4847#define glCompressedTexImage2DARB GLEW_GET_FUN(__glewCompressedTexImage2DARB)
4848#define glCompressedTexImage3DARB GLEW_GET_FUN(__glewCompressedTexImage3DARB)
4849#define glCompressedTexSubImage1DARB GLEW_GET_FUN(__glewCompressedTexSubImage1DARB)
4850#define glCompressedTexSubImage2DARB GLEW_GET_FUN(__glewCompressedTexSubImage2DARB)
4851#define glCompressedTexSubImage3DARB GLEW_GET_FUN(__glewCompressedTexSubImage3DARB)
4852#define glGetCompressedTexImageARB GLEW_GET_FUN(__glewGetCompressedTexImageARB)
4853
4854#define GLEW_ARB_texture_compression GLEW_GET_VAR(__GLEW_ARB_texture_compression)
4855
4856#endif /* GL_ARB_texture_compression */
4857
4858/* -------------------- GL_ARB_texture_compression_bptc -------------------- */
4859
4860#ifndef GL_ARB_texture_compression_bptc
4861#define GL_ARB_texture_compression_bptc 1
4862
4863#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
4864#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
4865#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
4866#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
4867
4868#define GLEW_ARB_texture_compression_bptc GLEW_GET_VAR(__GLEW_ARB_texture_compression_bptc)
4869
4870#endif /* GL_ARB_texture_compression_bptc */
4871
4872/* -------------------- GL_ARB_texture_compression_rgtc -------------------- */
4873
4874#ifndef GL_ARB_texture_compression_rgtc
4875#define GL_ARB_texture_compression_rgtc 1
4876
4877#define GL_COMPRESSED_RED_RGTC1 0x8DBB
4878#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
4879#define GL_COMPRESSED_RG_RGTC2 0x8DBD
4880#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
4881
4882#define GLEW_ARB_texture_compression_rgtc GLEW_GET_VAR(__GLEW_ARB_texture_compression_rgtc)
4883
4884#endif /* GL_ARB_texture_compression_rgtc */
4885
4886/* ------------------------ GL_ARB_texture_cube_map ------------------------ */
4887
4888#ifndef GL_ARB_texture_cube_map
4889#define GL_ARB_texture_cube_map 1
4890
4891#define GL_NORMAL_MAP_ARB 0x8511
4892#define GL_REFLECTION_MAP_ARB 0x8512
4893#define GL_TEXTURE_CUBE_MAP_ARB 0x8513
4894#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
4895#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
4896#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
4897#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
4898#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
4899#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
4900#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
4901#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
4902#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
4903
4904#define GLEW_ARB_texture_cube_map GLEW_GET_VAR(__GLEW_ARB_texture_cube_map)
4905
4906#endif /* GL_ARB_texture_cube_map */
4907
4908/* --------------------- GL_ARB_texture_cube_map_array --------------------- */
4909
4910#ifndef GL_ARB_texture_cube_map_array
4911#define GL_ARB_texture_cube_map_array 1
4912
4913#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
4914#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
4915#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
4916#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
4917#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
4918#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
4919#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
4920
4921#define GLEW_ARB_texture_cube_map_array GLEW_GET_VAR(__GLEW_ARB_texture_cube_map_array)
4922
4923#endif /* GL_ARB_texture_cube_map_array */
4924
4925/* ------------------------- GL_ARB_texture_env_add ------------------------ */
4926
4927#ifndef GL_ARB_texture_env_add
4928#define GL_ARB_texture_env_add 1
4929
4930#define GLEW_ARB_texture_env_add GLEW_GET_VAR(__GLEW_ARB_texture_env_add)
4931
4932#endif /* GL_ARB_texture_env_add */
4933
4934/* ----------------------- GL_ARB_texture_env_combine ---------------------- */
4935
4936#ifndef GL_ARB_texture_env_combine
4937#define GL_ARB_texture_env_combine 1
4938
4939#define GL_SUBTRACT_ARB 0x84E7
4940#define GL_COMBINE_ARB 0x8570
4941#define GL_COMBINE_RGB_ARB 0x8571
4942#define GL_COMBINE_ALPHA_ARB 0x8572
4943#define GL_RGB_SCALE_ARB 0x8573
4944#define GL_ADD_SIGNED_ARB 0x8574
4945#define GL_INTERPOLATE_ARB 0x8575
4946#define GL_CONSTANT_ARB 0x8576
4947#define GL_PRIMARY_COLOR_ARB 0x8577
4948#define GL_PREVIOUS_ARB 0x8578
4949#define GL_SOURCE0_RGB_ARB 0x8580
4950#define GL_SOURCE1_RGB_ARB 0x8581
4951#define GL_SOURCE2_RGB_ARB 0x8582
4952#define GL_SOURCE0_ALPHA_ARB 0x8588
4953#define GL_SOURCE1_ALPHA_ARB 0x8589
4954#define GL_SOURCE2_ALPHA_ARB 0x858A
4955#define GL_OPERAND0_RGB_ARB 0x8590
4956#define GL_OPERAND1_RGB_ARB 0x8591
4957#define GL_OPERAND2_RGB_ARB 0x8592
4958#define GL_OPERAND0_ALPHA_ARB 0x8598
4959#define GL_OPERAND1_ALPHA_ARB 0x8599
4960#define GL_OPERAND2_ALPHA_ARB 0x859A
4961
4962#define GLEW_ARB_texture_env_combine GLEW_GET_VAR(__GLEW_ARB_texture_env_combine)
4963
4964#endif /* GL_ARB_texture_env_combine */
4965
4966/* ---------------------- GL_ARB_texture_env_crossbar ---------------------- */
4967
4968#ifndef GL_ARB_texture_env_crossbar
4969#define GL_ARB_texture_env_crossbar 1
4970
4971#define GLEW_ARB_texture_env_crossbar GLEW_GET_VAR(__GLEW_ARB_texture_env_crossbar)
4972
4973#endif /* GL_ARB_texture_env_crossbar */
4974
4975/* ------------------------ GL_ARB_texture_env_dot3 ------------------------ */
4976
4977#ifndef GL_ARB_texture_env_dot3
4978#define GL_ARB_texture_env_dot3 1
4979
4980#define GL_DOT3_RGB_ARB 0x86AE
4981#define GL_DOT3_RGBA_ARB 0x86AF
4982
4983#define GLEW_ARB_texture_env_dot3 GLEW_GET_VAR(__GLEW_ARB_texture_env_dot3)
4984
4985#endif /* GL_ARB_texture_env_dot3 */
4986
4987/* -------------------------- GL_ARB_texture_float ------------------------- */
4988
4989#ifndef GL_ARB_texture_float
4990#define GL_ARB_texture_float 1
4991
4992#define GL_RGBA32F_ARB 0x8814
4993#define GL_RGB32F_ARB 0x8815
4994#define GL_ALPHA32F_ARB 0x8816
4995#define GL_INTENSITY32F_ARB 0x8817
4996#define GL_LUMINANCE32F_ARB 0x8818
4997#define GL_LUMINANCE_ALPHA32F_ARB 0x8819
4998#define GL_RGBA16F_ARB 0x881A
4999#define GL_RGB16F_ARB 0x881B
5000#define GL_ALPHA16F_ARB 0x881C
5001#define GL_INTENSITY16F_ARB 0x881D
5002#define GL_LUMINANCE16F_ARB 0x881E
5003#define GL_LUMINANCE_ALPHA16F_ARB 0x881F
5004#define GL_TEXTURE_RED_TYPE_ARB 0x8C10
5005#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
5006#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
5007#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
5008#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
5009#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
5010#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
5011#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
5012
5013#define GLEW_ARB_texture_float GLEW_GET_VAR(__GLEW_ARB_texture_float)
5014
5015#endif /* GL_ARB_texture_float */
5016
5017/* ------------------------- GL_ARB_texture_gather ------------------------- */
5018
5019#ifndef GL_ARB_texture_gather
5020#define GL_ARB_texture_gather 1
5021
5022#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
5023#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
5024#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
5025
5026#define GLEW_ARB_texture_gather GLEW_GET_VAR(__GLEW_ARB_texture_gather)
5027
5028#endif /* GL_ARB_texture_gather */
5029
5030/* --------------------- GL_ARB_texture_mirrored_repeat -------------------- */
5031
5032#ifndef GL_ARB_texture_mirrored_repeat
5033#define GL_ARB_texture_mirrored_repeat 1
5034
5035#define GL_MIRRORED_REPEAT_ARB 0x8370
5036
5037#define GLEW_ARB_texture_mirrored_repeat GLEW_GET_VAR(__GLEW_ARB_texture_mirrored_repeat)
5038
5039#endif /* GL_ARB_texture_mirrored_repeat */
5040
5041/* ----------------------- GL_ARB_texture_multisample ---------------------- */
5042
5043#ifndef GL_ARB_texture_multisample
5044#define GL_ARB_texture_multisample 1
5045
5046#define GL_SAMPLE_POSITION 0x8E50
5047#define GL_SAMPLE_MASK 0x8E51
5048#define GL_SAMPLE_MASK_VALUE 0x8E52
5049#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
5050#define GL_TEXTURE_2D_MULTISAMPLE 0x9100
5051#define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
5052#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
5053#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
5054#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
5055#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
5056#define GL_TEXTURE_SAMPLES 0x9106
5057#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
5058#define GL_SAMPLER_2D_MULTISAMPLE 0x9108
5059#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
5060#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
5061#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
5062#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
5063#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
5064#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
5065#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
5066#define GL_MAX_INTEGER_SAMPLES 0x9110
5067
5068typedef void (GLAPIENTRY * PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat* val);
5069typedef void (GLAPIENTRY * PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask);
5070typedef void (GLAPIENTRY * PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
5071typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
5072
5073#define glGetMultisamplefv GLEW_GET_FUN(__glewGetMultisamplefv)
5074#define glSampleMaski GLEW_GET_FUN(__glewSampleMaski)
5075#define glTexImage2DMultisample GLEW_GET_FUN(__glewTexImage2DMultisample)
5076#define glTexImage3DMultisample GLEW_GET_FUN(__glewTexImage3DMultisample)
5077
5078#define GLEW_ARB_texture_multisample GLEW_GET_VAR(__GLEW_ARB_texture_multisample)
5079
5080#endif /* GL_ARB_texture_multisample */
5081
5082/* -------------------- GL_ARB_texture_non_power_of_two -------------------- */
5083
5084#ifndef GL_ARB_texture_non_power_of_two
5085#define GL_ARB_texture_non_power_of_two 1
5086
5087#define GLEW_ARB_texture_non_power_of_two GLEW_GET_VAR(__GLEW_ARB_texture_non_power_of_two)
5088
5089#endif /* GL_ARB_texture_non_power_of_two */
5090
5091/* ------------------------ GL_ARB_texture_query_lod ----------------------- */
5092
5093#ifndef GL_ARB_texture_query_lod
5094#define GL_ARB_texture_query_lod 1
5095
5096#define GLEW_ARB_texture_query_lod GLEW_GET_VAR(__GLEW_ARB_texture_query_lod)
5097
5098#endif /* GL_ARB_texture_query_lod */
5099
5100/* ------------------------ GL_ARB_texture_rectangle ----------------------- */
5101
5102#ifndef GL_ARB_texture_rectangle
5103#define GL_ARB_texture_rectangle 1
5104
5105#define GL_TEXTURE_RECTANGLE_ARB 0x84F5
5106#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
5107#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
5108#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
5109#define GL_SAMPLER_2D_RECT_ARB 0x8B63
5110#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
5111
5112#define GLEW_ARB_texture_rectangle GLEW_GET_VAR(__GLEW_ARB_texture_rectangle)
5113
5114#endif /* GL_ARB_texture_rectangle */
5115
5116/* --------------------------- GL_ARB_texture_rg --------------------------- */
5117
5118#ifndef GL_ARB_texture_rg
5119#define GL_ARB_texture_rg 1
5120
5121#define GL_RED 0x1903
5122#define GL_COMPRESSED_RED 0x8225
5123#define GL_COMPRESSED_RG 0x8226
5124#define GL_RG 0x8227
5125#define GL_RG_INTEGER 0x8228
5126#define GL_R8 0x8229
5127#define GL_R16 0x822A
5128#define GL_RG8 0x822B
5129#define GL_RG16 0x822C
5130#define GL_R16F 0x822D
5131#define GL_R32F 0x822E
5132#define GL_RG16F 0x822F
5133#define GL_RG32F 0x8230
5134#define GL_R8I 0x8231
5135#define GL_R8UI 0x8232
5136#define GL_R16I 0x8233
5137#define GL_R16UI 0x8234
5138#define GL_R32I 0x8235
5139#define GL_R32UI 0x8236
5140#define GL_RG8I 0x8237
5141#define GL_RG8UI 0x8238
5142#define GL_RG16I 0x8239
5143#define GL_RG16UI 0x823A
5144#define GL_RG32I 0x823B
5145#define GL_RG32UI 0x823C
5146
5147#define GLEW_ARB_texture_rg GLEW_GET_VAR(__GLEW_ARB_texture_rg)
5148
5149#endif /* GL_ARB_texture_rg */
5150
5151/* ----------------------- GL_ARB_texture_rgb10_a2ui ----------------------- */
5152
5153#ifndef GL_ARB_texture_rgb10_a2ui
5154#define GL_ARB_texture_rgb10_a2ui 1
5155
5156#define GL_RGB10_A2UI 0x906F
5157
5158#define GLEW_ARB_texture_rgb10_a2ui GLEW_GET_VAR(__GLEW_ARB_texture_rgb10_a2ui)
5159
5160#endif /* GL_ARB_texture_rgb10_a2ui */
5161
5162/* ------------------------- GL_ARB_texture_swizzle ------------------------ */
5163
5164#ifndef GL_ARB_texture_swizzle
5165#define GL_ARB_texture_swizzle 1
5166
5167#define GL_TEXTURE_SWIZZLE_R 0x8E42
5168#define GL_TEXTURE_SWIZZLE_G 0x8E43
5169#define GL_TEXTURE_SWIZZLE_B 0x8E44
5170#define GL_TEXTURE_SWIZZLE_A 0x8E45
5171#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
5172
5173#define GLEW_ARB_texture_swizzle GLEW_GET_VAR(__GLEW_ARB_texture_swizzle)
5174
5175#endif /* GL_ARB_texture_swizzle */
5176
5177/* --------------------------- GL_ARB_timer_query -------------------------- */
5178
5179#ifndef GL_ARB_timer_query
5180#define GL_ARB_timer_query 1
5181
5182#define GL_TIME_ELAPSED 0x88BF
5183#define GL_TIMESTAMP 0x8E28
5184
5185typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64* params);
5186typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64* params);
5187typedef void (GLAPIENTRY * PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
5188
5189#define glGetQueryObjecti64v GLEW_GET_FUN(__glewGetQueryObjecti64v)
5190#define glGetQueryObjectui64v GLEW_GET_FUN(__glewGetQueryObjectui64v)
5191#define glQueryCounter GLEW_GET_FUN(__glewQueryCounter)
5192
5193#define GLEW_ARB_timer_query GLEW_GET_VAR(__GLEW_ARB_timer_query)
5194
5195#endif /* GL_ARB_timer_query */
5196
5197/* ----------------------- GL_ARB_transform_feedback2 ---------------------- */
5198
5199#ifndef GL_ARB_transform_feedback2
5200#define GL_ARB_transform_feedback2 1
5201
5202#define GL_TRANSFORM_FEEDBACK 0x8E22
5203#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
5204#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
5205#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
5206
5207typedef void (GLAPIENTRY * PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
5208typedef void (GLAPIENTRY * PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint* ids);
5209typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
5210typedef void (GLAPIENTRY * PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint* ids);
5211typedef GLboolean (GLAPIENTRY * PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
5212typedef void (GLAPIENTRY * PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
5213typedef void (GLAPIENTRY * PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
5214
5215#define glBindTransformFeedback GLEW_GET_FUN(__glewBindTransformFeedback)
5216#define glDeleteTransformFeedbacks GLEW_GET_FUN(__glewDeleteTransformFeedbacks)
5217#define glDrawTransformFeedback GLEW_GET_FUN(__glewDrawTransformFeedback)
5218#define glGenTransformFeedbacks GLEW_GET_FUN(__glewGenTransformFeedbacks)
5219#define glIsTransformFeedback GLEW_GET_FUN(__glewIsTransformFeedback)
5220#define glPauseTransformFeedback GLEW_GET_FUN(__glewPauseTransformFeedback)
5221#define glResumeTransformFeedback GLEW_GET_FUN(__glewResumeTransformFeedback)
5222
5223#define GLEW_ARB_transform_feedback2 GLEW_GET_VAR(__GLEW_ARB_transform_feedback2)
5224
5225#endif /* GL_ARB_transform_feedback2 */
5226
5227/* ----------------------- GL_ARB_transform_feedback3 ---------------------- */
5228
5229#ifndef GL_ARB_transform_feedback3
5230#define GL_ARB_transform_feedback3 1
5231
5232#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
5233#define GL_MAX_VERTEX_STREAMS 0x8E71
5234
5235typedef void (GLAPIENTRY * PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
5236typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
5237typedef void (GLAPIENTRY * PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
5238typedef void (GLAPIENTRY * PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint* params);
5239
5240#define glBeginQueryIndexed GLEW_GET_FUN(__glewBeginQueryIndexed)
5241#define glDrawTransformFeedbackStream GLEW_GET_FUN(__glewDrawTransformFeedbackStream)
5242#define glEndQueryIndexed GLEW_GET_FUN(__glewEndQueryIndexed)
5243#define glGetQueryIndexediv GLEW_GET_FUN(__glewGetQueryIndexediv)
5244
5245#define GLEW_ARB_transform_feedback3 GLEW_GET_VAR(__GLEW_ARB_transform_feedback3)
5246
5247#endif /* GL_ARB_transform_feedback3 */
5248
5249/* ------------------------ GL_ARB_transpose_matrix ------------------------ */
5250
5251#ifndef GL_ARB_transpose_matrix
5252#define GL_ARB_transpose_matrix 1
5253
5254#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
5255#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
5256#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
5257#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
5258
5259typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (GLdouble m[16]);
5260typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (GLfloat m[16]);
5261typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (GLdouble m[16]);
5262typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (GLfloat m[16]);
5263
5264#define glLoadTransposeMatrixdARB GLEW_GET_FUN(__glewLoadTransposeMatrixdARB)
5265#define glLoadTransposeMatrixfARB GLEW_GET_FUN(__glewLoadTransposeMatrixfARB)
5266#define glMultTransposeMatrixdARB GLEW_GET_FUN(__glewMultTransposeMatrixdARB)
5267#define glMultTransposeMatrixfARB GLEW_GET_FUN(__glewMultTransposeMatrixfARB)
5268
5269#define GLEW_ARB_transpose_matrix GLEW_GET_VAR(__GLEW_ARB_transpose_matrix)
5270
5271#endif /* GL_ARB_transpose_matrix */
5272
5273/* ---------------------- GL_ARB_uniform_buffer_object --------------------- */
5274
5275#ifndef GL_ARB_uniform_buffer_object
5276#define GL_ARB_uniform_buffer_object 1
5277
5278#define GL_UNIFORM_BUFFER 0x8A11
5279#define GL_UNIFORM_BUFFER_BINDING 0x8A28
5280#define GL_UNIFORM_BUFFER_START 0x8A29
5281#define GL_UNIFORM_BUFFER_SIZE 0x8A2A
5282#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
5283#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
5284#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
5285#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
5286#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
5287#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
5288#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
5289#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
5290#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
5291#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
5292#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
5293#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
5294#define GL_UNIFORM_TYPE 0x8A37
5295#define GL_UNIFORM_SIZE 0x8A38
5296#define GL_UNIFORM_NAME_LENGTH 0x8A39
5297#define GL_UNIFORM_BLOCK_INDEX 0x8A3A
5298#define GL_UNIFORM_OFFSET 0x8A3B
5299#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
5300#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
5301#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
5302#define GL_UNIFORM_BLOCK_BINDING 0x8A3F
5303#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
5304#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
5305#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
5306#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
5307#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
5308#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
5309#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
5310#define GL_INVALID_INDEX 0xFFFFFFFF
5311
5312typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
5313typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
5314typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, char* uniformBlockName);
5315typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params);
5316typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, char* uniformName);
5317typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params);
5318typedef void (GLAPIENTRY * PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint* data);
5319typedef GLuint (GLAPIENTRY * PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const char* uniformBlockName);
5320typedef void (GLAPIENTRY * PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const char** uniformNames, GLuint* uniformIndices);
5321typedef void (GLAPIENTRY * PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
5322
5323#define glBindBufferBase GLEW_GET_FUN(__glewBindBufferBase)
5324#define glBindBufferRange GLEW_GET_FUN(__glewBindBufferRange)
5325#define glGetActiveUniformBlockName GLEW_GET_FUN(__glewGetActiveUniformBlockName)
5326#define glGetActiveUniformBlockiv GLEW_GET_FUN(__glewGetActiveUniformBlockiv)
5327#define glGetActiveUniformName GLEW_GET_FUN(__glewGetActiveUniformName)
5328#define glGetActiveUniformsiv GLEW_GET_FUN(__glewGetActiveUniformsiv)
5329#define glGetIntegeri_v GLEW_GET_FUN(__glewGetIntegeri_v)
5330#define glGetUniformBlockIndex GLEW_GET_FUN(__glewGetUniformBlockIndex)
5331#define glGetUniformIndices GLEW_GET_FUN(__glewGetUniformIndices)
5332#define glUniformBlockBinding GLEW_GET_FUN(__glewUniformBlockBinding)
5333
5334#define GLEW_ARB_uniform_buffer_object GLEW_GET_VAR(__GLEW_ARB_uniform_buffer_object)
5335
5336#endif /* GL_ARB_uniform_buffer_object */
5337
5338/* ------------------------ GL_ARB_vertex_array_bgra ----------------------- */
5339
5340#ifndef GL_ARB_vertex_array_bgra
5341#define GL_ARB_vertex_array_bgra 1
5342
5343#define GL_BGRA 0x80E1
5344
5345#define GLEW_ARB_vertex_array_bgra GLEW_GET_VAR(__GLEW_ARB_vertex_array_bgra)
5346
5347#endif /* GL_ARB_vertex_array_bgra */
5348
5349/* ----------------------- GL_ARB_vertex_array_object ---------------------- */
5350
5351#ifndef GL_ARB_vertex_array_object
5352#define GL_ARB_vertex_array_object 1
5353
5354#define GL_VERTEX_ARRAY_BINDING 0x85B5
5355
5356typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYPROC) (GLuint array);
5357typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint* arrays);
5358typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint* arrays);
5359typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXARRAYPROC) (GLuint array);
5360
5361#define glBindVertexArray GLEW_GET_FUN(__glewBindVertexArray)
5362#define glDeleteVertexArrays GLEW_GET_FUN(__glewDeleteVertexArrays)
5363#define glGenVertexArrays GLEW_GET_FUN(__glewGenVertexArrays)
5364#define glIsVertexArray GLEW_GET_FUN(__glewIsVertexArray)
5365
5366#define GLEW_ARB_vertex_array_object GLEW_GET_VAR(__GLEW_ARB_vertex_array_object)
5367
5368#endif /* GL_ARB_vertex_array_object */
5369
5370/* ----------------------- GL_ARB_vertex_attrib_64bit ---------------------- */
5371
5372#ifndef GL_ARB_vertex_attrib_64bit
5373#define GL_ARB_vertex_attrib_64bit 1
5374
5375#define GL_DOUBLE_MAT2 0x8F46
5376#define GL_DOUBLE_MAT3 0x8F47
5377#define GL_DOUBLE_MAT4 0x8F48
5378#define GL_DOUBLE_VEC2 0x8FFC
5379#define GL_DOUBLE_VEC3 0x8FFD
5380#define GL_DOUBLE_VEC4 0x8FFE
5381
5382typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble* params);
5383typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
5384typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble* v);
5385typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
5386typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble* v);
5387typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
5388typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble* v);
5389typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5390typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble* v);
5391typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer);
5392
5393#define glGetVertexAttribLdv GLEW_GET_FUN(__glewGetVertexAttribLdv)
5394#define glVertexAttribL1d GLEW_GET_FUN(__glewVertexAttribL1d)
5395#define glVertexAttribL1dv GLEW_GET_FUN(__glewVertexAttribL1dv)
5396#define glVertexAttribL2d GLEW_GET_FUN(__glewVertexAttribL2d)
5397#define glVertexAttribL2dv GLEW_GET_FUN(__glewVertexAttribL2dv)
5398#define glVertexAttribL3d GLEW_GET_FUN(__glewVertexAttribL3d)
5399#define glVertexAttribL3dv GLEW_GET_FUN(__glewVertexAttribL3dv)
5400#define glVertexAttribL4d GLEW_GET_FUN(__glewVertexAttribL4d)
5401#define glVertexAttribL4dv GLEW_GET_FUN(__glewVertexAttribL4dv)
5402#define glVertexAttribLPointer GLEW_GET_FUN(__glewVertexAttribLPointer)
5403
5404#define GLEW_ARB_vertex_attrib_64bit GLEW_GET_VAR(__GLEW_ARB_vertex_attrib_64bit)
5405
5406#endif /* GL_ARB_vertex_attrib_64bit */
5407
5408/* -------------------------- GL_ARB_vertex_blend -------------------------- */
5409
5410#ifndef GL_ARB_vertex_blend
5411#define GL_ARB_vertex_blend 1
5412
5413#define GL_MODELVIEW0_ARB 0x1700
5414#define GL_MODELVIEW1_ARB 0x850A
5415#define GL_MAX_VERTEX_UNITS_ARB 0x86A4
5416#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
5417#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
5418#define GL_VERTEX_BLEND_ARB 0x86A7
5419#define GL_CURRENT_WEIGHT_ARB 0x86A8
5420#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
5421#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
5422#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
5423#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
5424#define GL_WEIGHT_ARRAY_ARB 0x86AD
5425#define GL_MODELVIEW2_ARB 0x8722
5426#define GL_MODELVIEW3_ARB 0x8723
5427#define GL_MODELVIEW4_ARB 0x8724
5428#define GL_MODELVIEW5_ARB 0x8725
5429#define GL_MODELVIEW6_ARB 0x8726
5430#define GL_MODELVIEW7_ARB 0x8727
5431#define GL_MODELVIEW8_ARB 0x8728
5432#define GL_MODELVIEW9_ARB 0x8729
5433#define GL_MODELVIEW10_ARB 0x872A
5434#define GL_MODELVIEW11_ARB 0x872B
5435#define GL_MODELVIEW12_ARB 0x872C
5436#define GL_MODELVIEW13_ARB 0x872D
5437#define GL_MODELVIEW14_ARB 0x872E
5438#define GL_MODELVIEW15_ARB 0x872F
5439#define GL_MODELVIEW16_ARB 0x8730
5440#define GL_MODELVIEW17_ARB 0x8731
5441#define GL_MODELVIEW18_ARB 0x8732
5442#define GL_MODELVIEW19_ARB 0x8733
5443#define GL_MODELVIEW20_ARB 0x8734
5444#define GL_MODELVIEW21_ARB 0x8735
5445#define GL_MODELVIEW22_ARB 0x8736
5446#define GL_MODELVIEW23_ARB 0x8737
5447#define GL_MODELVIEW24_ARB 0x8738
5448#define GL_MODELVIEW25_ARB 0x8739
5449#define GL_MODELVIEW26_ARB 0x873A
5450#define GL_MODELVIEW27_ARB 0x873B
5451#define GL_MODELVIEW28_ARB 0x873C
5452#define GL_MODELVIEW29_ARB 0x873D
5453#define GL_MODELVIEW30_ARB 0x873E
5454#define GL_MODELVIEW31_ARB 0x873F
5455
5456typedef void (GLAPIENTRY * PFNGLVERTEXBLENDARBPROC) (GLint count);
5457typedef void (GLAPIENTRY * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
5458typedef void (GLAPIENTRY * PFNGLWEIGHTBVARBPROC) (GLint size, GLbyte *weights);
5459typedef void (GLAPIENTRY * PFNGLWEIGHTDVARBPROC) (GLint size, GLdouble *weights);
5460typedef void (GLAPIENTRY * PFNGLWEIGHTFVARBPROC) (GLint size, GLfloat *weights);
5461typedef void (GLAPIENTRY * PFNGLWEIGHTIVARBPROC) (GLint size, GLint *weights);
5462typedef void (GLAPIENTRY * PFNGLWEIGHTSVARBPROC) (GLint size, GLshort *weights);
5463typedef void (GLAPIENTRY * PFNGLWEIGHTUBVARBPROC) (GLint size, GLubyte *weights);
5464typedef void (GLAPIENTRY * PFNGLWEIGHTUIVARBPROC) (GLint size, GLuint *weights);
5465typedef void (GLAPIENTRY * PFNGLWEIGHTUSVARBPROC) (GLint size, GLushort *weights);
5466
5467#define glVertexBlendARB GLEW_GET_FUN(__glewVertexBlendARB)
5468#define glWeightPointerARB GLEW_GET_FUN(__glewWeightPointerARB)
5469#define glWeightbvARB GLEW_GET_FUN(__glewWeightbvARB)
5470#define glWeightdvARB GLEW_GET_FUN(__glewWeightdvARB)
5471#define glWeightfvARB GLEW_GET_FUN(__glewWeightfvARB)
5472#define glWeightivARB GLEW_GET_FUN(__glewWeightivARB)
5473#define glWeightsvARB GLEW_GET_FUN(__glewWeightsvARB)
5474#define glWeightubvARB GLEW_GET_FUN(__glewWeightubvARB)
5475#define glWeightuivARB GLEW_GET_FUN(__glewWeightuivARB)
5476#define glWeightusvARB GLEW_GET_FUN(__glewWeightusvARB)
5477
5478#define GLEW_ARB_vertex_blend GLEW_GET_VAR(__GLEW_ARB_vertex_blend)
5479
5480#endif /* GL_ARB_vertex_blend */
5481
5482/* ---------------------- GL_ARB_vertex_buffer_object ---------------------- */
5483
5484#ifndef GL_ARB_vertex_buffer_object
5485#define GL_ARB_vertex_buffer_object 1
5486
5487#define GL_BUFFER_SIZE_ARB 0x8764
5488#define GL_BUFFER_USAGE_ARB 0x8765
5489#define GL_ARRAY_BUFFER_ARB 0x8892
5490#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
5491#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
5492#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
5493#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
5494#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
5495#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
5496#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
5497#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
5498#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
5499#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
5500#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
5501#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
5502#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
5503#define GL_READ_ONLY_ARB 0x88B8
5504#define GL_WRITE_ONLY_ARB 0x88B9
5505#define GL_READ_WRITE_ARB 0x88BA
5506#define GL_BUFFER_ACCESS_ARB 0x88BB
5507#define GL_BUFFER_MAPPED_ARB 0x88BC
5508#define GL_BUFFER_MAP_POINTER_ARB 0x88BD
5509#define GL_STREAM_DRAW_ARB 0x88E0
5510#define GL_STREAM_READ_ARB 0x88E1
5511#define GL_STREAM_COPY_ARB 0x88E2
5512#define GL_STATIC_DRAW_ARB 0x88E4
5513#define GL_STATIC_READ_ARB 0x88E5
5514#define GL_STATIC_COPY_ARB 0x88E6
5515#define GL_DYNAMIC_DRAW_ARB 0x88E8
5516#define GL_DYNAMIC_READ_ARB 0x88E9
5517#define GL_DYNAMIC_COPY_ARB 0x88EA
5518
5519typedef ptrdiff_t GLintptrARB;
5520typedef ptrdiff_t GLsizeiptrARB;
5521
5522typedef void (GLAPIENTRY * PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
5523typedef void (GLAPIENTRY * PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage);
5524typedef void (GLAPIENTRY * PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data);
5525typedef void (GLAPIENTRY * PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint* buffers);
5526typedef void (GLAPIENTRY * PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint* buffers);
5527typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint* params);
5528typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid** params);
5529typedef void (GLAPIENTRY * PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid* data);
5530typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERARBPROC) (GLuint buffer);
5531typedef GLvoid * (GLAPIENTRY * PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
5532typedef GLboolean (GLAPIENTRY * PFNGLUNMAPBUFFERARBPROC) (GLenum target);
5533
5534#define glBindBufferARB GLEW_GET_FUN(__glewBindBufferARB)
5535#define glBufferDataARB GLEW_GET_FUN(__glewBufferDataARB)
5536#define glBufferSubDataARB GLEW_GET_FUN(__glewBufferSubDataARB)
5537#define glDeleteBuffersARB GLEW_GET_FUN(__glewDeleteBuffersARB)
5538#define glGenBuffersARB GLEW_GET_FUN(__glewGenBuffersARB)
5539#define glGetBufferParameterivARB GLEW_GET_FUN(__glewGetBufferParameterivARB)
5540#define glGetBufferPointervARB GLEW_GET_FUN(__glewGetBufferPointervARB)
5541#define glGetBufferSubDataARB GLEW_GET_FUN(__glewGetBufferSubDataARB)
5542#define glIsBufferARB GLEW_GET_FUN(__glewIsBufferARB)
5543#define glMapBufferARB GLEW_GET_FUN(__glewMapBufferARB)
5544#define glUnmapBufferARB GLEW_GET_FUN(__glewUnmapBufferARB)
5545
5546#define GLEW_ARB_vertex_buffer_object GLEW_GET_VAR(__GLEW_ARB_vertex_buffer_object)
5547
5548#endif /* GL_ARB_vertex_buffer_object */
5549
5550/* ------------------------- GL_ARB_vertex_program ------------------------- */
5551
5552#ifndef GL_ARB_vertex_program
5553#define GL_ARB_vertex_program 1
5554
5555#define GL_COLOR_SUM_ARB 0x8458
5556#define GL_VERTEX_PROGRAM_ARB 0x8620
5557#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
5558#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
5559#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
5560#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
5561#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
5562#define GL_PROGRAM_LENGTH_ARB 0x8627
5563#define GL_PROGRAM_STRING_ARB 0x8628
5564#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
5565#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
5566#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
5567#define GL_CURRENT_MATRIX_ARB 0x8641
5568#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
5569#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
5570#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
5571#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
5572#define GL_PROGRAM_BINDING_ARB 0x8677
5573#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
5574#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
5575#define GL_PROGRAM_ERROR_STRING_ARB 0x8874
5576#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
5577#define GL_PROGRAM_FORMAT_ARB 0x8876
5578#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
5579#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
5580#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
5581#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
5582#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
5583#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
5584#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
5585#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
5586#define GL_PROGRAM_PARAMETERS_ARB 0x88A8
5587#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
5588#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
5589#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
5590#define GL_PROGRAM_ATTRIBS_ARB 0x88AC
5591#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
5592#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
5593#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
5594#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
5595#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
5596#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
5597#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
5598#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
5599#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
5600#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
5601#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
5602#define GL_MATRIX0_ARB 0x88C0
5603#define GL_MATRIX1_ARB 0x88C1
5604#define GL_MATRIX2_ARB 0x88C2
5605#define GL_MATRIX3_ARB 0x88C3
5606#define GL_MATRIX4_ARB 0x88C4
5607#define GL_MATRIX5_ARB 0x88C5
5608#define GL_MATRIX6_ARB 0x88C6
5609#define GL_MATRIX7_ARB 0x88C7
5610#define GL_MATRIX8_ARB 0x88C8
5611#define GL_MATRIX9_ARB 0x88C9
5612#define GL_MATRIX10_ARB 0x88CA
5613#define GL_MATRIX11_ARB 0x88CB
5614#define GL_MATRIX12_ARB 0x88CC
5615#define GL_MATRIX13_ARB 0x88CD
5616#define GL_MATRIX14_ARB 0x88CE
5617#define GL_MATRIX15_ARB 0x88CF
5618#define GL_MATRIX16_ARB 0x88D0
5619#define GL_MATRIX17_ARB 0x88D1
5620#define GL_MATRIX18_ARB 0x88D2
5621#define GL_MATRIX19_ARB 0x88D3
5622#define GL_MATRIX20_ARB 0x88D4
5623#define GL_MATRIX21_ARB 0x88D5
5624#define GL_MATRIX22_ARB 0x88D6
5625#define GL_MATRIX23_ARB 0x88D7
5626#define GL_MATRIX24_ARB 0x88D8
5627#define GL_MATRIX25_ARB 0x88D9
5628#define GL_MATRIX26_ARB 0x88DA
5629#define GL_MATRIX27_ARB 0x88DB
5630#define GL_MATRIX28_ARB 0x88DC
5631#define GL_MATRIX29_ARB 0x88DD
5632#define GL_MATRIX30_ARB 0x88DE
5633#define GL_MATRIX31_ARB 0x88DF
5634
5635typedef void (GLAPIENTRY * PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
5636typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint* programs);
5637typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
5638typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
5639typedef void (GLAPIENTRY * PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint* programs);
5640typedef void (GLAPIENTRY * PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble* params);
5641typedef void (GLAPIENTRY * PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat* params);
5642typedef void (GLAPIENTRY * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble* params);
5643typedef void (GLAPIENTRY * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat* params);
5644typedef void (GLAPIENTRY * PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void* string);
5645typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint* params);
5646typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid** pointer);
5647typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble* params);
5648typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat* params);
5649typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint* params);
5650typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMARBPROC) (GLuint program);
5651typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5652typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble* params);
5653typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5654typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat* params);
5655typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5656typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble* params);
5657typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5658typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat* params);
5659typedef void (GLAPIENTRY * PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void* string);
5660typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
5661typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble* v);
5662typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
5663typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat* v);
5664typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
5665typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort* v);
5666typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
5667typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble* v);
5668typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
5669typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat* v);
5670typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
5671typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort* v);
5672typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
5673typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble* v);
5674typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
5675typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat* v);
5676typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
5677typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort* v);
5678typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte* v);
5679typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint* v);
5680typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort* v);
5681typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
5682typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte* v);
5683typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint* v);
5684typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort* v);
5685typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte* v);
5686typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5687typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble* v);
5688typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5689typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat* v);
5690typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint* v);
5691typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
5692typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort* v);
5693typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte* v);
5694typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint* v);
5695typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort* v);
5696typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* pointer);
5697
5698#define glBindProgramARB GLEW_GET_FUN(__glewBindProgramARB)
5699#define glDeleteProgramsARB GLEW_GET_FUN(__glewDeleteProgramsARB)
5700#define glDisableVertexAttribArrayARB GLEW_GET_FUN(__glewDisableVertexAttribArrayARB)
5701#define glEnableVertexAttribArrayARB GLEW_GET_FUN(__glewEnableVertexAttribArrayARB)
5702#define glGenProgramsARB GLEW_GET_FUN(__glewGenProgramsARB)
5703#define glGetProgramEnvParameterdvARB GLEW_GET_FUN(__glewGetProgramEnvParameterdvARB)
5704#define glGetProgramEnvParameterfvARB GLEW_GET_FUN(__glewGetProgramEnvParameterfvARB)
5705#define glGetProgramLocalParameterdvARB GLEW_GET_FUN(__glewGetProgramLocalParameterdvARB)
5706#define glGetProgramLocalParameterfvARB GLEW_GET_FUN(__glewGetProgramLocalParameterfvARB)
5707#define glGetProgramStringARB GLEW_GET_FUN(__glewGetProgramStringARB)
5708#define glGetProgramivARB GLEW_GET_FUN(__glewGetProgramivARB)
5709#define glGetVertexAttribPointervARB GLEW_GET_FUN(__glewGetVertexAttribPointervARB)
5710#define glGetVertexAttribdvARB GLEW_GET_FUN(__glewGetVertexAttribdvARB)
5711#define glGetVertexAttribfvARB GLEW_GET_FUN(__glewGetVertexAttribfvARB)
5712#define glGetVertexAttribivARB GLEW_GET_FUN(__glewGetVertexAttribivARB)
5713#define glIsProgramARB GLEW_GET_FUN(__glewIsProgramARB)
5714#define glProgramEnvParameter4dARB GLEW_GET_FUN(__glewProgramEnvParameter4dARB)
5715#define glProgramEnvParameter4dvARB GLEW_GET_FUN(__glewProgramEnvParameter4dvARB)
5716#define glProgramEnvParameter4fARB GLEW_GET_FUN(__glewProgramEnvParameter4fARB)
5717#define glProgramEnvParameter4fvARB GLEW_GET_FUN(__glewProgramEnvParameter4fvARB)
5718#define glProgramLocalParameter4dARB GLEW_GET_FUN(__glewProgramLocalParameter4dARB)
5719#define glProgramLocalParameter4dvARB GLEW_GET_FUN(__glewProgramLocalParameter4dvARB)
5720#define glProgramLocalParameter4fARB GLEW_GET_FUN(__glewProgramLocalParameter4fARB)
5721#define glProgramLocalParameter4fvARB GLEW_GET_FUN(__glewProgramLocalParameter4fvARB)
5722#define glProgramStringARB GLEW_GET_FUN(__glewProgramStringARB)
5723#define glVertexAttrib1dARB GLEW_GET_FUN(__glewVertexAttrib1dARB)
5724#define glVertexAttrib1dvARB GLEW_GET_FUN(__glewVertexAttrib1dvARB)
5725#define glVertexAttrib1fARB GLEW_GET_FUN(__glewVertexAttrib1fARB)
5726#define glVertexAttrib1fvARB GLEW_GET_FUN(__glewVertexAttrib1fvARB)
5727#define glVertexAttrib1sARB GLEW_GET_FUN(__glewVertexAttrib1sARB)
5728#define glVertexAttrib1svARB GLEW_GET_FUN(__glewVertexAttrib1svARB)
5729#define glVertexAttrib2dARB GLEW_GET_FUN(__glewVertexAttrib2dARB)
5730#define glVertexAttrib2dvARB GLEW_GET_FUN(__glewVertexAttrib2dvARB)
5731#define glVertexAttrib2fARB GLEW_GET_FUN(__glewVertexAttrib2fARB)
5732#define glVertexAttrib2fvARB GLEW_GET_FUN(__glewVertexAttrib2fvARB)
5733#define glVertexAttrib2sARB GLEW_GET_FUN(__glewVertexAttrib2sARB)
5734#define glVertexAttrib2svARB GLEW_GET_FUN(__glewVertexAttrib2svARB)
5735#define glVertexAttrib3dARB GLEW_GET_FUN(__glewVertexAttrib3dARB)
5736#define glVertexAttrib3dvARB GLEW_GET_FUN(__glewVertexAttrib3dvARB)
5737#define glVertexAttrib3fARB GLEW_GET_FUN(__glewVertexAttrib3fARB)
5738#define glVertexAttrib3fvARB GLEW_GET_FUN(__glewVertexAttrib3fvARB)
5739#define glVertexAttrib3sARB GLEW_GET_FUN(__glewVertexAttrib3sARB)
5740#define glVertexAttrib3svARB GLEW_GET_FUN(__glewVertexAttrib3svARB)
5741#define glVertexAttrib4NbvARB GLEW_GET_FUN(__glewVertexAttrib4NbvARB)
5742#define glVertexAttrib4NivARB GLEW_GET_FUN(__glewVertexAttrib4NivARB)
5743#define glVertexAttrib4NsvARB GLEW_GET_FUN(__glewVertexAttrib4NsvARB)
5744#define glVertexAttrib4NubARB GLEW_GET_FUN(__glewVertexAttrib4NubARB)
5745#define glVertexAttrib4NubvARB GLEW_GET_FUN(__glewVertexAttrib4NubvARB)
5746#define glVertexAttrib4NuivARB GLEW_GET_FUN(__glewVertexAttrib4NuivARB)
5747#define glVertexAttrib4NusvARB GLEW_GET_FUN(__glewVertexAttrib4NusvARB)
5748#define glVertexAttrib4bvARB GLEW_GET_FUN(__glewVertexAttrib4bvARB)
5749#define glVertexAttrib4dARB GLEW_GET_FUN(__glewVertexAttrib4dARB)
5750#define glVertexAttrib4dvARB GLEW_GET_FUN(__glewVertexAttrib4dvARB)
5751#define glVertexAttrib4fARB GLEW_GET_FUN(__glewVertexAttrib4fARB)
5752#define glVertexAttrib4fvARB GLEW_GET_FUN(__glewVertexAttrib4fvARB)
5753#define glVertexAttrib4ivARB GLEW_GET_FUN(__glewVertexAttrib4ivARB)
5754#define glVertexAttrib4sARB GLEW_GET_FUN(__glewVertexAttrib4sARB)
5755#define glVertexAttrib4svARB GLEW_GET_FUN(__glewVertexAttrib4svARB)
5756#define glVertexAttrib4ubvARB GLEW_GET_FUN(__glewVertexAttrib4ubvARB)
5757#define glVertexAttrib4uivARB GLEW_GET_FUN(__glewVertexAttrib4uivARB)
5758#define glVertexAttrib4usvARB GLEW_GET_FUN(__glewVertexAttrib4usvARB)
5759#define glVertexAttribPointerARB GLEW_GET_FUN(__glewVertexAttribPointerARB)
5760
5761#define GLEW_ARB_vertex_program GLEW_GET_VAR(__GLEW_ARB_vertex_program)
5762
5763#endif /* GL_ARB_vertex_program */
5764
5765/* -------------------------- GL_ARB_vertex_shader ------------------------- */
5766
5767#ifndef GL_ARB_vertex_shader
5768#define GL_ARB_vertex_shader 1
5769
5770#define GL_VERTEX_SHADER_ARB 0x8B31
5771#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
5772#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
5773#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
5774#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
5775#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
5776#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
5777
5778typedef void (GLAPIENTRY * PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB* name);
5779typedef void (GLAPIENTRY * PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name);
5780typedef GLint (GLAPIENTRY * PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB* name);
5781
5782#define glBindAttribLocationARB GLEW_GET_FUN(__glewBindAttribLocationARB)
5783#define glGetActiveAttribARB GLEW_GET_FUN(__glewGetActiveAttribARB)
5784#define glGetAttribLocationARB GLEW_GET_FUN(__glewGetAttribLocationARB)
5785
5786#define GLEW_ARB_vertex_shader GLEW_GET_VAR(__GLEW_ARB_vertex_shader)
5787
5788#endif /* GL_ARB_vertex_shader */
5789
5790/* ------------------- GL_ARB_vertex_type_2_10_10_10_rev ------------------- */
5791
5792#ifndef GL_ARB_vertex_type_2_10_10_10_rev
5793#define GL_ARB_vertex_type_2_10_10_10_rev 1
5794
5795#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
5796#define GL_INT_2_10_10_10_REV 0x8D9F
5797
5798typedef void (GLAPIENTRY * PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
5799typedef void (GLAPIENTRY * PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint* color);
5800typedef void (GLAPIENTRY * PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
5801typedef void (GLAPIENTRY * PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint* color);
5802typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
5803typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint* coords);
5804typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
5805typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint* coords);
5806typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
5807typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint* coords);
5808typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
5809typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint* coords);
5810typedef void (GLAPIENTRY * PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
5811typedef void (GLAPIENTRY * PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint* coords);
5812typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
5813typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint* color);
5814typedef void (GLAPIENTRY * PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
5815typedef void (GLAPIENTRY * PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint* coords);
5816typedef void (GLAPIENTRY * PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
5817typedef void (GLAPIENTRY * PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint* coords);
5818typedef void (GLAPIENTRY * PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
5819typedef void (GLAPIENTRY * PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint* coords);
5820typedef void (GLAPIENTRY * PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
5821typedef void (GLAPIENTRY * PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint* coords);
5822typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
5823typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value);
5824typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
5825typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value);
5826typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
5827typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value);
5828typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
5829typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value);
5830typedef void (GLAPIENTRY * PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
5831typedef void (GLAPIENTRY * PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint* value);
5832typedef void (GLAPIENTRY * PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
5833typedef void (GLAPIENTRY * PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint* value);
5834typedef void (GLAPIENTRY * PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
5835typedef void (GLAPIENTRY * PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint* value);
5836
5837#define glColorP3ui GLEW_GET_FUN(__glewColorP3ui)
5838#define glColorP3uiv GLEW_GET_FUN(__glewColorP3uiv)
5839#define glColorP4ui GLEW_GET_FUN(__glewColorP4ui)
5840#define glColorP4uiv GLEW_GET_FUN(__glewColorP4uiv)
5841#define glMultiTexCoordP1ui GLEW_GET_FUN(__glewMultiTexCoordP1ui)
5842#define glMultiTexCoordP1uiv GLEW_GET_FUN(__glewMultiTexCoordP1uiv)
5843#define glMultiTexCoordP2ui GLEW_GET_FUN(__glewMultiTexCoordP2ui)
5844#define glMultiTexCoordP2uiv GLEW_GET_FUN(__glewMultiTexCoordP2uiv)
5845#define glMultiTexCoordP3ui GLEW_GET_FUN(__glewMultiTexCoordP3ui)
5846#define glMultiTexCoordP3uiv GLEW_GET_FUN(__glewMultiTexCoordP3uiv)
5847#define glMultiTexCoordP4ui GLEW_GET_FUN(__glewMultiTexCoordP4ui)
5848#define glMultiTexCoordP4uiv GLEW_GET_FUN(__glewMultiTexCoordP4uiv)
5849#define glNormalP3ui GLEW_GET_FUN(__glewNormalP3ui)
5850#define glNormalP3uiv GLEW_GET_FUN(__glewNormalP3uiv)
5851#define glSecondaryColorP3ui GLEW_GET_FUN(__glewSecondaryColorP3ui)
5852#define glSecondaryColorP3uiv GLEW_GET_FUN(__glewSecondaryColorP3uiv)
5853#define glTexCoordP1ui GLEW_GET_FUN(__glewTexCoordP1ui)
5854#define glTexCoordP1uiv GLEW_GET_FUN(__glewTexCoordP1uiv)
5855#define glTexCoordP2ui GLEW_GET_FUN(__glewTexCoordP2ui)
5856#define glTexCoordP2uiv GLEW_GET_FUN(__glewTexCoordP2uiv)
5857#define glTexCoordP3ui GLEW_GET_FUN(__glewTexCoordP3ui)
5858#define glTexCoordP3uiv GLEW_GET_FUN(__glewTexCoordP3uiv)
5859#define glTexCoordP4ui GLEW_GET_FUN(__glewTexCoordP4ui)
5860#define glTexCoordP4uiv GLEW_GET_FUN(__glewTexCoordP4uiv)
5861#define glVertexAttribP1ui GLEW_GET_FUN(__glewVertexAttribP1ui)
5862#define glVertexAttribP1uiv GLEW_GET_FUN(__glewVertexAttribP1uiv)
5863#define glVertexAttribP2ui GLEW_GET_FUN(__glewVertexAttribP2ui)
5864#define glVertexAttribP2uiv GLEW_GET_FUN(__glewVertexAttribP2uiv)
5865#define glVertexAttribP3ui GLEW_GET_FUN(__glewVertexAttribP3ui)
5866#define glVertexAttribP3uiv GLEW_GET_FUN(__glewVertexAttribP3uiv)
5867#define glVertexAttribP4ui GLEW_GET_FUN(__glewVertexAttribP4ui)
5868#define glVertexAttribP4uiv GLEW_GET_FUN(__glewVertexAttribP4uiv)
5869#define glVertexP2ui GLEW_GET_FUN(__glewVertexP2ui)
5870#define glVertexP2uiv GLEW_GET_FUN(__glewVertexP2uiv)
5871#define glVertexP3ui GLEW_GET_FUN(__glewVertexP3ui)
5872#define glVertexP3uiv GLEW_GET_FUN(__glewVertexP3uiv)
5873#define glVertexP4ui GLEW_GET_FUN(__glewVertexP4ui)
5874#define glVertexP4uiv GLEW_GET_FUN(__glewVertexP4uiv)
5875
5876#define GLEW_ARB_vertex_type_2_10_10_10_rev GLEW_GET_VAR(__GLEW_ARB_vertex_type_2_10_10_10_rev)
5877
5878#endif /* GL_ARB_vertex_type_2_10_10_10_rev */
5879
5880/* ------------------------- GL_ARB_viewport_array ------------------------- */
5881
5882#ifndef GL_ARB_viewport_array
5883#define GL_ARB_viewport_array 1
5884
5885#define GL_DEPTH_RANGE 0x0B70
5886#define GL_VIEWPORT 0x0BA2
5887#define GL_SCISSOR_BOX 0x0C10
5888#define GL_SCISSOR_TEST 0x0C11
5889#define GL_MAX_VIEWPORTS 0x825B
5890#define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
5891#define GL_VIEWPORT_BOUNDS_RANGE 0x825D
5892#define GL_LAYER_PROVOKING_VERTEX 0x825E
5893#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
5894#define GL_UNDEFINED_VERTEX 0x8260
5895#define GL_FIRST_VERTEX_CONVENTION 0x8E4D
5896#define GL_LAST_VERTEX_CONVENTION 0x8E4E
5897#define GL_PROVOKING_VERTEX 0x8E4F
5898
5899typedef void (GLAPIENTRY * PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLclampd * v);
5900typedef void (GLAPIENTRY * PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLclampd n, GLclampd f);
5901typedef void (GLAPIENTRY * PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble* data);
5902typedef void (GLAPIENTRY * PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat* data);
5903typedef void (GLAPIENTRY * PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint * v);
5904typedef void (GLAPIENTRY * PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
5905typedef void (GLAPIENTRY * PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint * v);
5906typedef void (GLAPIENTRY * PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat * v);
5907typedef void (GLAPIENTRY * PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
5908typedef void (GLAPIENTRY * PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat * v);
5909
5910#define glDepthRangeArrayv GLEW_GET_FUN(__glewDepthRangeArrayv)
5911#define glDepthRangeIndexed GLEW_GET_FUN(__glewDepthRangeIndexed)
5912#define glGetDoublei_v GLEW_GET_FUN(__glewGetDoublei_v)
5913#define glGetFloati_v GLEW_GET_FUN(__glewGetFloati_v)
5914#define glScissorArrayv GLEW_GET_FUN(__glewScissorArrayv)
5915#define glScissorIndexed GLEW_GET_FUN(__glewScissorIndexed)
5916#define glScissorIndexedv GLEW_GET_FUN(__glewScissorIndexedv)
5917#define glViewportArrayv GLEW_GET_FUN(__glewViewportArrayv)
5918#define glViewportIndexedf GLEW_GET_FUN(__glewViewportIndexedf)
5919#define glViewportIndexedfv GLEW_GET_FUN(__glewViewportIndexedfv)
5920
5921#define GLEW_ARB_viewport_array GLEW_GET_VAR(__GLEW_ARB_viewport_array)
5922
5923#endif /* GL_ARB_viewport_array */
5924
5925/* --------------------------- GL_ARB_window_pos --------------------------- */
5926
5927#ifndef GL_ARB_window_pos
5928#define GL_ARB_window_pos 1
5929
5930typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
5931typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVARBPROC) (const GLdouble* p);
5932typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
5933typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVARBPROC) (const GLfloat* p);
5934typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
5935typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVARBPROC) (const GLint* p);
5936typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
5937typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVARBPROC) (const GLshort* p);
5938typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
5939typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVARBPROC) (const GLdouble* p);
5940typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
5941typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVARBPROC) (const GLfloat* p);
5942typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
5943typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVARBPROC) (const GLint* p);
5944typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
5945typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVARBPROC) (const GLshort* p);
5946
5947#define glWindowPos2dARB GLEW_GET_FUN(__glewWindowPos2dARB)
5948#define glWindowPos2dvARB GLEW_GET_FUN(__glewWindowPos2dvARB)
5949#define glWindowPos2fARB GLEW_GET_FUN(__glewWindowPos2fARB)
5950#define glWindowPos2fvARB GLEW_GET_FUN(__glewWindowPos2fvARB)
5951#define glWindowPos2iARB GLEW_GET_FUN(__glewWindowPos2iARB)
5952#define glWindowPos2ivARB GLEW_GET_FUN(__glewWindowPos2ivARB)
5953#define glWindowPos2sARB GLEW_GET_FUN(__glewWindowPos2sARB)
5954#define glWindowPos2svARB GLEW_GET_FUN(__glewWindowPos2svARB)
5955#define glWindowPos3dARB GLEW_GET_FUN(__glewWindowPos3dARB)
5956#define glWindowPos3dvARB GLEW_GET_FUN(__glewWindowPos3dvARB)
5957#define glWindowPos3fARB GLEW_GET_FUN(__glewWindowPos3fARB)
5958#define glWindowPos3fvARB GLEW_GET_FUN(__glewWindowPos3fvARB)
5959#define glWindowPos3iARB GLEW_GET_FUN(__glewWindowPos3iARB)
5960#define glWindowPos3ivARB GLEW_GET_FUN(__glewWindowPos3ivARB)
5961#define glWindowPos3sARB GLEW_GET_FUN(__glewWindowPos3sARB)
5962#define glWindowPos3svARB GLEW_GET_FUN(__glewWindowPos3svARB)
5963
5964#define GLEW_ARB_window_pos GLEW_GET_VAR(__GLEW_ARB_window_pos)
5965
5966#endif /* GL_ARB_window_pos */
5967
5968/* ------------------------- GL_ATIX_point_sprites ------------------------- */
5969
5970#ifndef GL_ATIX_point_sprites
5971#define GL_ATIX_point_sprites 1
5972
5973#define GL_TEXTURE_POINT_MODE_ATIX 0x60B0
5974#define GL_TEXTURE_POINT_ONE_COORD_ATIX 0x60B1
5975#define GL_TEXTURE_POINT_SPRITE_ATIX 0x60B2
5976#define GL_POINT_SPRITE_CULL_MODE_ATIX 0x60B3
5977#define GL_POINT_SPRITE_CULL_CENTER_ATIX 0x60B4
5978#define GL_POINT_SPRITE_CULL_CLIP_ATIX 0x60B5
5979
5980#define GLEW_ATIX_point_sprites GLEW_GET_VAR(__GLEW_ATIX_point_sprites)
5981
5982#endif /* GL_ATIX_point_sprites */
5983
5984/* ---------------------- GL_ATIX_texture_env_combine3 --------------------- */
5985
5986#ifndef GL_ATIX_texture_env_combine3
5987#define GL_ATIX_texture_env_combine3 1
5988
5989#define GL_MODULATE_ADD_ATIX 0x8744
5990#define GL_MODULATE_SIGNED_ADD_ATIX 0x8745
5991#define GL_MODULATE_SUBTRACT_ATIX 0x8746
5992
5993#define GLEW_ATIX_texture_env_combine3 GLEW_GET_VAR(__GLEW_ATIX_texture_env_combine3)
5994
5995#endif /* GL_ATIX_texture_env_combine3 */
5996
5997/* ----------------------- GL_ATIX_texture_env_route ----------------------- */
5998
5999#ifndef GL_ATIX_texture_env_route
6000#define GL_ATIX_texture_env_route 1
6001
6002#define GL_SECONDARY_COLOR_ATIX 0x8747
6003#define GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748
6004#define GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749
6005
6006#define GLEW_ATIX_texture_env_route GLEW_GET_VAR(__GLEW_ATIX_texture_env_route)
6007
6008#endif /* GL_ATIX_texture_env_route */
6009
6010/* ---------------- GL_ATIX_vertex_shader_output_point_size ---------------- */
6011
6012#ifndef GL_ATIX_vertex_shader_output_point_size
6013#define GL_ATIX_vertex_shader_output_point_size 1
6014
6015#define GL_OUTPUT_POINT_SIZE_ATIX 0x610E
6016
6017#define GLEW_ATIX_vertex_shader_output_point_size GLEW_GET_VAR(__GLEW_ATIX_vertex_shader_output_point_size)
6018
6019#endif /* GL_ATIX_vertex_shader_output_point_size */
6020
6021/* -------------------------- GL_ATI_draw_buffers -------------------------- */
6022
6023#ifndef GL_ATI_draw_buffers
6024#define GL_ATI_draw_buffers 1
6025
6026#define GL_MAX_DRAW_BUFFERS_ATI 0x8824
6027#define GL_DRAW_BUFFER0_ATI 0x8825
6028#define GL_DRAW_BUFFER1_ATI 0x8826
6029#define GL_DRAW_BUFFER2_ATI 0x8827
6030#define GL_DRAW_BUFFER3_ATI 0x8828
6031#define GL_DRAW_BUFFER4_ATI 0x8829
6032#define GL_DRAW_BUFFER5_ATI 0x882A
6033#define GL_DRAW_BUFFER6_ATI 0x882B
6034#define GL_DRAW_BUFFER7_ATI 0x882C
6035#define GL_DRAW_BUFFER8_ATI 0x882D
6036#define GL_DRAW_BUFFER9_ATI 0x882E
6037#define GL_DRAW_BUFFER10_ATI 0x882F
6038#define GL_DRAW_BUFFER11_ATI 0x8830
6039#define GL_DRAW_BUFFER12_ATI 0x8831
6040#define GL_DRAW_BUFFER13_ATI 0x8832
6041#define GL_DRAW_BUFFER14_ATI 0x8833
6042#define GL_DRAW_BUFFER15_ATI 0x8834
6043
6044typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum* bufs);
6045
6046#define glDrawBuffersATI GLEW_GET_FUN(__glewDrawBuffersATI)
6047
6048#define GLEW_ATI_draw_buffers GLEW_GET_VAR(__GLEW_ATI_draw_buffers)
6049
6050#endif /* GL_ATI_draw_buffers */
6051
6052/* -------------------------- GL_ATI_element_array ------------------------- */
6053
6054#ifndef GL_ATI_element_array
6055#define GL_ATI_element_array 1
6056
6057#define GL_ELEMENT_ARRAY_ATI 0x8768
6058#define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
6059#define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
6060
6061typedef void (GLAPIENTRY * PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
6062typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
6063typedef void (GLAPIENTRY * PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void* pointer);
6064
6065#define glDrawElementArrayATI GLEW_GET_FUN(__glewDrawElementArrayATI)
6066#define glDrawRangeElementArrayATI GLEW_GET_FUN(__glewDrawRangeElementArrayATI)
6067#define glElementPointerATI GLEW_GET_FUN(__glewElementPointerATI)
6068
6069#define GLEW_ATI_element_array GLEW_GET_VAR(__GLEW_ATI_element_array)
6070
6071#endif /* GL_ATI_element_array */
6072
6073/* ------------------------- GL_ATI_envmap_bumpmap ------------------------- */
6074
6075#ifndef GL_ATI_envmap_bumpmap
6076#define GL_ATI_envmap_bumpmap 1
6077
6078#define GL_BUMP_ROT_MATRIX_ATI 0x8775
6079#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
6080#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
6081#define GL_BUMP_TEX_UNITS_ATI 0x8778
6082#define GL_DUDV_ATI 0x8779
6083#define GL_DU8DV8_ATI 0x877A
6084#define GL_BUMP_ENVMAP_ATI 0x877B
6085#define GL_BUMP_TARGET_ATI 0x877C
6086
6087typedef void (GLAPIENTRY * PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
6088typedef void (GLAPIENTRY * PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
6089typedef void (GLAPIENTRY * PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
6090typedef void (GLAPIENTRY * PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
6091
6092#define glGetTexBumpParameterfvATI GLEW_GET_FUN(__glewGetTexBumpParameterfvATI)
6093#define glGetTexBumpParameterivATI GLEW_GET_FUN(__glewGetTexBumpParameterivATI)
6094#define glTexBumpParameterfvATI GLEW_GET_FUN(__glewTexBumpParameterfvATI)
6095#define glTexBumpParameterivATI GLEW_GET_FUN(__glewTexBumpParameterivATI)
6096
6097#define GLEW_ATI_envmap_bumpmap GLEW_GET_VAR(__GLEW_ATI_envmap_bumpmap)
6098
6099#endif /* GL_ATI_envmap_bumpmap */
6100
6101/* ------------------------- GL_ATI_fragment_shader ------------------------ */
6102
6103#ifndef GL_ATI_fragment_shader
6104#define GL_ATI_fragment_shader 1
6105
6106#define GL_RED_BIT_ATI 0x00000001
6107#define GL_2X_BIT_ATI 0x00000001
6108#define GL_4X_BIT_ATI 0x00000002
6109#define GL_GREEN_BIT_ATI 0x00000002
6110#define GL_COMP_BIT_ATI 0x00000002
6111#define GL_BLUE_BIT_ATI 0x00000004
6112#define GL_8X_BIT_ATI 0x00000004
6113#define GL_NEGATE_BIT_ATI 0x00000004
6114#define GL_BIAS_BIT_ATI 0x00000008
6115#define GL_HALF_BIT_ATI 0x00000008
6116#define GL_QUARTER_BIT_ATI 0x00000010
6117#define GL_EIGHTH_BIT_ATI 0x00000020
6118#define GL_SATURATE_BIT_ATI 0x00000040
6119#define GL_FRAGMENT_SHADER_ATI 0x8920
6120#define GL_REG_0_ATI 0x8921
6121#define GL_REG_1_ATI 0x8922
6122#define GL_REG_2_ATI 0x8923
6123#define GL_REG_3_ATI 0x8924
6124#define GL_REG_4_ATI 0x8925
6125#define GL_REG_5_ATI 0x8926
6126#define GL_CON_0_ATI 0x8941
6127#define GL_CON_1_ATI 0x8942
6128#define GL_CON_2_ATI 0x8943
6129#define GL_CON_3_ATI 0x8944
6130#define GL_CON_4_ATI 0x8945
6131#define GL_CON_5_ATI 0x8946
6132#define GL_CON_6_ATI 0x8947
6133#define GL_CON_7_ATI 0x8948
6134#define GL_MOV_ATI 0x8961
6135#define GL_ADD_ATI 0x8963
6136#define GL_MUL_ATI 0x8964
6137#define GL_SUB_ATI 0x8965
6138#define GL_DOT3_ATI 0x8966
6139#define GL_DOT4_ATI 0x8967
6140#define GL_MAD_ATI 0x8968
6141#define GL_LERP_ATI 0x8969
6142#define GL_CND_ATI 0x896A
6143#define GL_CND0_ATI 0x896B
6144#define GL_DOT2_ADD_ATI 0x896C
6145#define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
6146#define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
6147#define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
6148#define GL_NUM_PASSES_ATI 0x8970
6149#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
6150#define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
6151#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
6152#define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
6153#define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
6154#define GL_SWIZZLE_STR_ATI 0x8976
6155#define GL_SWIZZLE_STQ_ATI 0x8977
6156#define GL_SWIZZLE_STR_DR_ATI 0x8978
6157#define GL_SWIZZLE_STQ_DQ_ATI 0x8979
6158#define GL_SWIZZLE_STRQ_ATI 0x897A
6159#define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
6160
6161typedef void (GLAPIENTRY * PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6162typedef void (GLAPIENTRY * PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6163typedef void (GLAPIENTRY * PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
6164typedef void (GLAPIENTRY * PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
6165typedef void (GLAPIENTRY * PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
6166typedef void (GLAPIENTRY * PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6167typedef void (GLAPIENTRY * PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6168typedef void (GLAPIENTRY * PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
6169typedef void (GLAPIENTRY * PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
6170typedef void (GLAPIENTRY * PFNGLENDFRAGMENTSHADERATIPROC) (void);
6171typedef GLuint (GLAPIENTRY * PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
6172typedef void (GLAPIENTRY * PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
6173typedef void (GLAPIENTRY * PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
6174typedef void (GLAPIENTRY * PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat* value);
6175
6176#define glAlphaFragmentOp1ATI GLEW_GET_FUN(__glewAlphaFragmentOp1ATI)
6177#define glAlphaFragmentOp2ATI GLEW_GET_FUN(__glewAlphaFragmentOp2ATI)
6178#define glAlphaFragmentOp3ATI GLEW_GET_FUN(__glewAlphaFragmentOp3ATI)
6179#define glBeginFragmentShaderATI GLEW_GET_FUN(__glewBeginFragmentShaderATI)
6180#define glBindFragmentShaderATI GLEW_GET_FUN(__glewBindFragmentShaderATI)
6181#define glColorFragmentOp1ATI GLEW_GET_FUN(__glewColorFragmentOp1ATI)
6182#define glColorFragmentOp2ATI GLEW_GET_FUN(__glewColorFragmentOp2ATI)
6183#define glColorFragmentOp3ATI GLEW_GET_FUN(__glewColorFragmentOp3ATI)
6184#define glDeleteFragmentShaderATI GLEW_GET_FUN(__glewDeleteFragmentShaderATI)
6185#define glEndFragmentShaderATI GLEW_GET_FUN(__glewEndFragmentShaderATI)
6186#define glGenFragmentShadersATI GLEW_GET_FUN(__glewGenFragmentShadersATI)
6187#define glPassTexCoordATI GLEW_GET_FUN(__glewPassTexCoordATI)
6188#define glSampleMapATI GLEW_GET_FUN(__glewSampleMapATI)
6189#define glSetFragmentShaderConstantATI GLEW_GET_FUN(__glewSetFragmentShaderConstantATI)
6190
6191#define GLEW_ATI_fragment_shader GLEW_GET_VAR(__GLEW_ATI_fragment_shader)
6192
6193#endif /* GL_ATI_fragment_shader */
6194
6195/* ------------------------ GL_ATI_map_object_buffer ----------------------- */
6196
6197#ifndef GL_ATI_map_object_buffer
6198#define GL_ATI_map_object_buffer 1
6199
6200typedef void* (GLAPIENTRY * PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
6201typedef void (GLAPIENTRY * PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
6202
6203#define glMapObjectBufferATI GLEW_GET_FUN(__glewMapObjectBufferATI)
6204#define glUnmapObjectBufferATI GLEW_GET_FUN(__glewUnmapObjectBufferATI)
6205
6206#define GLEW_ATI_map_object_buffer GLEW_GET_VAR(__GLEW_ATI_map_object_buffer)
6207
6208#endif /* GL_ATI_map_object_buffer */
6209
6210/* ----------------------------- GL_ATI_meminfo ---------------------------- */
6211
6212#ifndef GL_ATI_meminfo
6213#define GL_ATI_meminfo 1
6214
6215#define GL_VBO_FREE_MEMORY_ATI 0x87FB
6216#define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
6217#define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
6218
6219#define GLEW_ATI_meminfo GLEW_GET_VAR(__GLEW_ATI_meminfo)
6220
6221#endif /* GL_ATI_meminfo */
6222
6223/* -------------------------- GL_ATI_pn_triangles -------------------------- */
6224
6225#ifndef GL_ATI_pn_triangles
6226#define GL_ATI_pn_triangles 1
6227
6228#define GL_PN_TRIANGLES_ATI 0x87F0
6229#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
6230#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
6231#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
6232#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
6233#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
6234#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
6235#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
6236#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
6237
6238typedef void (GLAPIENTRY * PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
6239typedef void (GLAPIENTRY * PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
6240
6241#define glPNTrianglesfATI GLEW_GET_FUN(__glewPNTrianglesfATI)
6242#define glPNTrianglesiATI GLEW_GET_FUN(__glewPNTrianglesiATI)
6243
6244#define GLEW_ATI_pn_triangles GLEW_GET_VAR(__GLEW_ATI_pn_triangles)
6245
6246#endif /* GL_ATI_pn_triangles */
6247
6248/* ------------------------ GL_ATI_separate_stencil ------------------------ */
6249
6250#ifndef GL_ATI_separate_stencil
6251#define GL_ATI_separate_stencil 1
6252
6253#define GL_STENCIL_BACK_FUNC_ATI 0x8800
6254#define GL_STENCIL_BACK_FAIL_ATI 0x8801
6255#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
6256#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
6257
6258typedef void (GLAPIENTRY * PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
6259typedef void (GLAPIENTRY * PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
6260
6261#define glStencilFuncSeparateATI GLEW_GET_FUN(__glewStencilFuncSeparateATI)
6262#define glStencilOpSeparateATI GLEW_GET_FUN(__glewStencilOpSeparateATI)
6263
6264#define GLEW_ATI_separate_stencil GLEW_GET_VAR(__GLEW_ATI_separate_stencil)
6265
6266#endif /* GL_ATI_separate_stencil */
6267
6268/* ----------------------- GL_ATI_shader_texture_lod ----------------------- */
6269
6270#ifndef GL_ATI_shader_texture_lod
6271#define GL_ATI_shader_texture_lod 1
6272
6273#define GLEW_ATI_shader_texture_lod GLEW_GET_VAR(__GLEW_ATI_shader_texture_lod)
6274
6275#endif /* GL_ATI_shader_texture_lod */
6276
6277/* ---------------------- GL_ATI_text_fragment_shader ---------------------- */
6278
6279#ifndef GL_ATI_text_fragment_shader
6280#define GL_ATI_text_fragment_shader 1
6281
6282#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
6283
6284#define GLEW_ATI_text_fragment_shader GLEW_GET_VAR(__GLEW_ATI_text_fragment_shader)
6285
6286#endif /* GL_ATI_text_fragment_shader */
6287
6288/* --------------------- GL_ATI_texture_compression_3dc -------------------- */
6289
6290#ifndef GL_ATI_texture_compression_3dc
6291#define GL_ATI_texture_compression_3dc 1
6292
6293#define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837
6294
6295#define GLEW_ATI_texture_compression_3dc GLEW_GET_VAR(__GLEW_ATI_texture_compression_3dc)
6296
6297#endif /* GL_ATI_texture_compression_3dc */
6298
6299/* ---------------------- GL_ATI_texture_env_combine3 ---------------------- */
6300
6301#ifndef GL_ATI_texture_env_combine3
6302#define GL_ATI_texture_env_combine3 1
6303
6304#define GL_MODULATE_ADD_ATI 0x8744
6305#define GL_MODULATE_SIGNED_ADD_ATI 0x8745
6306#define GL_MODULATE_SUBTRACT_ATI 0x8746
6307
6308#define GLEW_ATI_texture_env_combine3 GLEW_GET_VAR(__GLEW_ATI_texture_env_combine3)
6309
6310#endif /* GL_ATI_texture_env_combine3 */
6311
6312/* -------------------------- GL_ATI_texture_float ------------------------- */
6313
6314#ifndef GL_ATI_texture_float
6315#define GL_ATI_texture_float 1
6316
6317#define GL_RGBA_FLOAT32_ATI 0x8814
6318#define GL_RGB_FLOAT32_ATI 0x8815
6319#define GL_ALPHA_FLOAT32_ATI 0x8816
6320#define GL_INTENSITY_FLOAT32_ATI 0x8817
6321#define GL_LUMINANCE_FLOAT32_ATI 0x8818
6322#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
6323#define GL_RGBA_FLOAT16_ATI 0x881A
6324#define GL_RGB_FLOAT16_ATI 0x881B
6325#define GL_ALPHA_FLOAT16_ATI 0x881C
6326#define GL_INTENSITY_FLOAT16_ATI 0x881D
6327#define GL_LUMINANCE_FLOAT16_ATI 0x881E
6328#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
6329
6330#define GLEW_ATI_texture_float GLEW_GET_VAR(__GLEW_ATI_texture_float)
6331
6332#endif /* GL_ATI_texture_float */
6333
6334/* ----------------------- GL_ATI_texture_mirror_once ---------------------- */
6335
6336#ifndef GL_ATI_texture_mirror_once
6337#define GL_ATI_texture_mirror_once 1
6338
6339#define GL_MIRROR_CLAMP_ATI 0x8742
6340#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
6341
6342#define GLEW_ATI_texture_mirror_once GLEW_GET_VAR(__GLEW_ATI_texture_mirror_once)
6343
6344#endif /* GL_ATI_texture_mirror_once */
6345
6346/* ----------------------- GL_ATI_vertex_array_object ---------------------- */
6347
6348#ifndef GL_ATI_vertex_array_object
6349#define GL_ATI_vertex_array_object 1
6350
6351#define GL_STATIC_ATI 0x8760
6352#define GL_DYNAMIC_ATI 0x8761
6353#define GL_PRESERVE_ATI 0x8762
6354#define GL_DISCARD_ATI 0x8763
6355#define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
6356#define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
6357#define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
6358#define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
6359
6360typedef void (GLAPIENTRY * PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6361typedef void (GLAPIENTRY * PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
6362typedef void (GLAPIENTRY * PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat* params);
6363typedef void (GLAPIENTRY * PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint* params);
6364typedef void (GLAPIENTRY * PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat* params);
6365typedef void (GLAPIENTRY * PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint* params);
6366typedef void (GLAPIENTRY * PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat* params);
6367typedef void (GLAPIENTRY * PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint* params);
6368typedef GLboolean (GLAPIENTRY * PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
6369typedef GLuint (GLAPIENTRY * PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void* pointer, GLenum usage);
6370typedef void (GLAPIENTRY * PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void* pointer, GLenum preserve);
6371typedef void (GLAPIENTRY * PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6372
6373#define glArrayObjectATI GLEW_GET_FUN(__glewArrayObjectATI)
6374#define glFreeObjectBufferATI GLEW_GET_FUN(__glewFreeObjectBufferATI)
6375#define glGetArrayObjectfvATI GLEW_GET_FUN(__glewGetArrayObjectfvATI)
6376#define glGetArrayObjectivATI GLEW_GET_FUN(__glewGetArrayObjectivATI)
6377#define glGetObjectBufferfvATI GLEW_GET_FUN(__glewGetObjectBufferfvATI)
6378#define glGetObjectBufferivATI GLEW_GET_FUN(__glewGetObjectBufferivATI)
6379#define glGetVariantArrayObjectfvATI GLEW_GET_FUN(__glewGetVariantArrayObjectfvATI)
6380#define glGetVariantArrayObjectivATI GLEW_GET_FUN(__glewGetVariantArrayObjectivATI)
6381#define glIsObjectBufferATI GLEW_GET_FUN(__glewIsObjectBufferATI)
6382#define glNewObjectBufferATI GLEW_GET_FUN(__glewNewObjectBufferATI)
6383#define glUpdateObjectBufferATI GLEW_GET_FUN(__glewUpdateObjectBufferATI)
6384#define glVariantArrayObjectATI GLEW_GET_FUN(__glewVariantArrayObjectATI)
6385
6386#define GLEW_ATI_vertex_array_object GLEW_GET_VAR(__GLEW_ATI_vertex_array_object)
6387
6388#endif /* GL_ATI_vertex_array_object */
6389
6390/* ------------------- GL_ATI_vertex_attrib_array_object ------------------- */
6391
6392#ifndef GL_ATI_vertex_attrib_array_object
6393#define GL_ATI_vertex_attrib_array_object 1
6394
6395typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat* params);
6396typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint* params);
6397typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6398
6399#define glGetVertexAttribArrayObjectfvATI GLEW_GET_FUN(__glewGetVertexAttribArrayObjectfvATI)
6400#define glGetVertexAttribArrayObjectivATI GLEW_GET_FUN(__glewGetVertexAttribArrayObjectivATI)
6401#define glVertexAttribArrayObjectATI GLEW_GET_FUN(__glewVertexAttribArrayObjectATI)
6402
6403#define GLEW_ATI_vertex_attrib_array_object GLEW_GET_VAR(__GLEW_ATI_vertex_attrib_array_object)
6404
6405#endif /* GL_ATI_vertex_attrib_array_object */
6406
6407/* ------------------------- GL_ATI_vertex_streams ------------------------- */
6408
6409#ifndef GL_ATI_vertex_streams
6410#define GL_ATI_vertex_streams 1
6411
6412#define GL_MAX_VERTEX_STREAMS_ATI 0x876B
6413#define GL_VERTEX_SOURCE_ATI 0x876C
6414#define GL_VERTEX_STREAM0_ATI 0x876D
6415#define GL_VERTEX_STREAM1_ATI 0x876E
6416#define GL_VERTEX_STREAM2_ATI 0x876F
6417#define GL_VERTEX_STREAM3_ATI 0x8770
6418#define GL_VERTEX_STREAM4_ATI 0x8771
6419#define GL_VERTEX_STREAM5_ATI 0x8772
6420#define GL_VERTEX_STREAM6_ATI 0x8773
6421#define GL_VERTEX_STREAM7_ATI 0x8774
6422
6423typedef void (GLAPIENTRY * PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
6424typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte x, GLbyte y, GLbyte z);
6425typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *v);
6426typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6427typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v);
6428typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6429typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v);
6430typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
6431typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *v);
6432typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
6433typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *v);
6434typedef void (GLAPIENTRY * PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
6435typedef void (GLAPIENTRY * PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
6436typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
6437typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *v);
6438typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
6439typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *v);
6440typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
6441typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *v);
6442typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
6443typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *v);
6444typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6445typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v);
6446typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6447typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v);
6448typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
6449typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *v);
6450typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
6451typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *v);
6452typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6453typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *v);
6454typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6455typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *v);
6456typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6457typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *v);
6458typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6459typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *v);
6460
6461#define glClientActiveVertexStreamATI GLEW_GET_FUN(__glewClientActiveVertexStreamATI)
6462#define glNormalStream3bATI GLEW_GET_FUN(__glewNormalStream3bATI)
6463#define glNormalStream3bvATI GLEW_GET_FUN(__glewNormalStream3bvATI)
6464#define glNormalStream3dATI GLEW_GET_FUN(__glewNormalStream3dATI)
6465#define glNormalStream3dvATI GLEW_GET_FUN(__glewNormalStream3dvATI)
6466#define glNormalStream3fATI GLEW_GET_FUN(__glewNormalStream3fATI)
6467#define glNormalStream3fvATI GLEW_GET_FUN(__glewNormalStream3fvATI)
6468#define glNormalStream3iATI GLEW_GET_FUN(__glewNormalStream3iATI)
6469#define glNormalStream3ivATI GLEW_GET_FUN(__glewNormalStream3ivATI)
6470#define glNormalStream3sATI GLEW_GET_FUN(__glewNormalStream3sATI)
6471#define glNormalStream3svATI GLEW_GET_FUN(__glewNormalStream3svATI)
6472#define glVertexBlendEnvfATI GLEW_GET_FUN(__glewVertexBlendEnvfATI)
6473#define glVertexBlendEnviATI GLEW_GET_FUN(__glewVertexBlendEnviATI)
6474#define glVertexStream2dATI GLEW_GET_FUN(__glewVertexStream2dATI)
6475#define glVertexStream2dvATI GLEW_GET_FUN(__glewVertexStream2dvATI)
6476#define glVertexStream2fATI GLEW_GET_FUN(__glewVertexStream2fATI)
6477#define glVertexStream2fvATI GLEW_GET_FUN(__glewVertexStream2fvATI)
6478#define glVertexStream2iATI GLEW_GET_FUN(__glewVertexStream2iATI)
6479#define glVertexStream2ivATI GLEW_GET_FUN(__glewVertexStream2ivATI)
6480#define glVertexStream2sATI GLEW_GET_FUN(__glewVertexStream2sATI)
6481#define glVertexStream2svATI GLEW_GET_FUN(__glewVertexStream2svATI)
6482#define glVertexStream3dATI GLEW_GET_FUN(__glewVertexStream3dATI)
6483#define glVertexStream3dvATI GLEW_GET_FUN(__glewVertexStream3dvATI)
6484#define glVertexStream3fATI GLEW_GET_FUN(__glewVertexStream3fATI)
6485#define glVertexStream3fvATI GLEW_GET_FUN(__glewVertexStream3fvATI)
6486#define glVertexStream3iATI GLEW_GET_FUN(__glewVertexStream3iATI)
6487#define glVertexStream3ivATI GLEW_GET_FUN(__glewVertexStream3ivATI)
6488#define glVertexStream3sATI GLEW_GET_FUN(__glewVertexStream3sATI)
6489#define glVertexStream3svATI GLEW_GET_FUN(__glewVertexStream3svATI)
6490#define glVertexStream4dATI GLEW_GET_FUN(__glewVertexStream4dATI)
6491#define glVertexStream4dvATI GLEW_GET_FUN(__glewVertexStream4dvATI)
6492#define glVertexStream4fATI GLEW_GET_FUN(__glewVertexStream4fATI)
6493#define glVertexStream4fvATI GLEW_GET_FUN(__glewVertexStream4fvATI)
6494#define glVertexStream4iATI GLEW_GET_FUN(__glewVertexStream4iATI)
6495#define glVertexStream4ivATI GLEW_GET_FUN(__glewVertexStream4ivATI)
6496#define glVertexStream4sATI GLEW_GET_FUN(__glewVertexStream4sATI)
6497#define glVertexStream4svATI GLEW_GET_FUN(__glewVertexStream4svATI)
6498
6499#define GLEW_ATI_vertex_streams GLEW_GET_VAR(__GLEW_ATI_vertex_streams)
6500
6501#endif /* GL_ATI_vertex_streams */
6502
6503/* --------------------------- GL_EXT_422_pixels --------------------------- */
6504
6505#ifndef GL_EXT_422_pixels
6506#define GL_EXT_422_pixels 1
6507
6508#define GL_422_EXT 0x80CC
6509#define GL_422_REV_EXT 0x80CD
6510#define GL_422_AVERAGE_EXT 0x80CE
6511#define GL_422_REV_AVERAGE_EXT 0x80CF
6512
6513#define GLEW_EXT_422_pixels GLEW_GET_VAR(__GLEW_EXT_422_pixels)
6514
6515#endif /* GL_EXT_422_pixels */
6516
6517/* ---------------------------- GL_EXT_Cg_shader --------------------------- */
6518
6519#ifndef GL_EXT_Cg_shader
6520#define GL_EXT_Cg_shader 1
6521
6522#define GL_CG_VERTEX_SHADER_EXT 0x890E
6523#define GL_CG_FRAGMENT_SHADER_EXT 0x890F
6524
6525#define GLEW_EXT_Cg_shader GLEW_GET_VAR(__GLEW_EXT_Cg_shader)
6526
6527#endif /* GL_EXT_Cg_shader */
6528
6529/* ------------------------------ GL_EXT_abgr ------------------------------ */
6530
6531#ifndef GL_EXT_abgr
6532#define GL_EXT_abgr 1
6533
6534#define GL_ABGR_EXT 0x8000
6535
6536#define GLEW_EXT_abgr GLEW_GET_VAR(__GLEW_EXT_abgr)
6537
6538#endif /* GL_EXT_abgr */
6539
6540/* ------------------------------ GL_EXT_bgra ------------------------------ */
6541
6542#ifndef GL_EXT_bgra
6543#define GL_EXT_bgra 1
6544
6545#define GL_BGR_EXT 0x80E0
6546#define GL_BGRA_EXT 0x80E1
6547
6548#define GLEW_EXT_bgra GLEW_GET_VAR(__GLEW_EXT_bgra)
6549
6550#endif /* GL_EXT_bgra */
6551
6552/* ------------------------ GL_EXT_bindable_uniform ------------------------ */
6553
6554#ifndef GL_EXT_bindable_uniform
6555#define GL_EXT_bindable_uniform 1
6556
6557#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
6558#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
6559#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
6560#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
6561#define GL_UNIFORM_BUFFER_EXT 0x8DEE
6562#define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
6563
6564typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
6565typedef GLintptr (GLAPIENTRY * PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
6566typedef void (GLAPIENTRY * PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
6567
6568#define glGetUniformBufferSizeEXT GLEW_GET_FUN(__glewGetUniformBufferSizeEXT)
6569#define glGetUniformOffsetEXT GLEW_GET_FUN(__glewGetUniformOffsetEXT)
6570#define glUniformBufferEXT GLEW_GET_FUN(__glewUniformBufferEXT)
6571
6572#define GLEW_EXT_bindable_uniform GLEW_GET_VAR(__GLEW_EXT_bindable_uniform)
6573
6574#endif /* GL_EXT_bindable_uniform */
6575
6576/* --------------------------- GL_EXT_blend_color -------------------------- */
6577
6578#ifndef GL_EXT_blend_color
6579#define GL_EXT_blend_color 1
6580
6581#define GL_CONSTANT_COLOR_EXT 0x8001
6582#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
6583#define GL_CONSTANT_ALPHA_EXT 0x8003
6584#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
6585#define GL_BLEND_COLOR_EXT 0x8005
6586
6587typedef void (GLAPIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
6588
6589#define glBlendColorEXT GLEW_GET_FUN(__glewBlendColorEXT)
6590
6591#define GLEW_EXT_blend_color GLEW_GET_VAR(__GLEW_EXT_blend_color)
6592
6593#endif /* GL_EXT_blend_color */
6594
6595/* --------------------- GL_EXT_blend_equation_separate -------------------- */
6596
6597#ifndef GL_EXT_blend_equation_separate
6598#define GL_EXT_blend_equation_separate 1
6599
6600#define GL_BLEND_EQUATION_RGB_EXT 0x8009
6601#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
6602
6603typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
6604
6605#define glBlendEquationSeparateEXT GLEW_GET_FUN(__glewBlendEquationSeparateEXT)
6606
6607#define GLEW_EXT_blend_equation_separate GLEW_GET_VAR(__GLEW_EXT_blend_equation_separate)
6608
6609#endif /* GL_EXT_blend_equation_separate */
6610
6611/* ----------------------- GL_EXT_blend_func_separate ---------------------- */
6612
6613#ifndef GL_EXT_blend_func_separate
6614#define GL_EXT_blend_func_separate 1
6615
6616#define GL_BLEND_DST_RGB_EXT 0x80C8
6617#define GL_BLEND_SRC_RGB_EXT 0x80C9
6618#define GL_BLEND_DST_ALPHA_EXT 0x80CA
6619#define GL_BLEND_SRC_ALPHA_EXT 0x80CB
6620
6621typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6622
6623#define glBlendFuncSeparateEXT GLEW_GET_FUN(__glewBlendFuncSeparateEXT)
6624
6625#define GLEW_EXT_blend_func_separate GLEW_GET_VAR(__GLEW_EXT_blend_func_separate)
6626
6627#endif /* GL_EXT_blend_func_separate */
6628
6629/* ------------------------- GL_EXT_blend_logic_op ------------------------- */
6630
6631#ifndef GL_EXT_blend_logic_op
6632#define GL_EXT_blend_logic_op 1
6633
6634#define GLEW_EXT_blend_logic_op GLEW_GET_VAR(__GLEW_EXT_blend_logic_op)
6635
6636#endif /* GL_EXT_blend_logic_op */
6637
6638/* -------------------------- GL_EXT_blend_minmax -------------------------- */
6639
6640#ifndef GL_EXT_blend_minmax
6641#define GL_EXT_blend_minmax 1
6642
6643#define GL_FUNC_ADD_EXT 0x8006
6644#define GL_MIN_EXT 0x8007
6645#define GL_MAX_EXT 0x8008
6646#define GL_BLEND_EQUATION_EXT 0x8009
6647
6648typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
6649
6650#define glBlendEquationEXT GLEW_GET_FUN(__glewBlendEquationEXT)
6651
6652#define GLEW_EXT_blend_minmax GLEW_GET_VAR(__GLEW_EXT_blend_minmax)
6653
6654#endif /* GL_EXT_blend_minmax */
6655
6656/* ------------------------- GL_EXT_blend_subtract ------------------------- */
6657
6658#ifndef GL_EXT_blend_subtract
6659#define GL_EXT_blend_subtract 1
6660
6661#define GL_FUNC_SUBTRACT_EXT 0x800A
6662#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
6663
6664#define GLEW_EXT_blend_subtract GLEW_GET_VAR(__GLEW_EXT_blend_subtract)
6665
6666#endif /* GL_EXT_blend_subtract */
6667
6668/* ------------------------ GL_EXT_clip_volume_hint ------------------------ */
6669
6670#ifndef GL_EXT_clip_volume_hint
6671#define GL_EXT_clip_volume_hint 1
6672
6673#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
6674
6675#define GLEW_EXT_clip_volume_hint GLEW_GET_VAR(__GLEW_EXT_clip_volume_hint)
6676
6677#endif /* GL_EXT_clip_volume_hint */
6678
6679/* ------------------------------ GL_EXT_cmyka ----------------------------- */
6680
6681#ifndef GL_EXT_cmyka
6682#define GL_EXT_cmyka 1
6683
6684#define GL_CMYK_EXT 0x800C
6685#define GL_CMYKA_EXT 0x800D
6686#define GL_PACK_CMYK_HINT_EXT 0x800E
6687#define GL_UNPACK_CMYK_HINT_EXT 0x800F
6688
6689#define GLEW_EXT_cmyka GLEW_GET_VAR(__GLEW_EXT_cmyka)
6690
6691#endif /* GL_EXT_cmyka */
6692
6693/* ------------------------- GL_EXT_color_subtable ------------------------- */
6694
6695#ifndef GL_EXT_color_subtable
6696#define GL_EXT_color_subtable 1
6697
6698typedef void (GLAPIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void* data);
6699typedef void (GLAPIENTRY * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6700
6701#define glColorSubTableEXT GLEW_GET_FUN(__glewColorSubTableEXT)
6702#define glCopyColorSubTableEXT GLEW_GET_FUN(__glewCopyColorSubTableEXT)
6703
6704#define GLEW_EXT_color_subtable GLEW_GET_VAR(__GLEW_EXT_color_subtable)
6705
6706#endif /* GL_EXT_color_subtable */
6707
6708/* ---------------------- GL_EXT_compiled_vertex_array --------------------- */
6709
6710#ifndef GL_EXT_compiled_vertex_array
6711#define GL_EXT_compiled_vertex_array 1
6712
6713#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
6714#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
6715
6716typedef void (GLAPIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
6717typedef void (GLAPIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void);
6718
6719#define glLockArraysEXT GLEW_GET_FUN(__glewLockArraysEXT)
6720#define glUnlockArraysEXT GLEW_GET_FUN(__glewUnlockArraysEXT)
6721
6722#define GLEW_EXT_compiled_vertex_array GLEW_GET_VAR(__GLEW_EXT_compiled_vertex_array)
6723
6724#endif /* GL_EXT_compiled_vertex_array */
6725
6726/* --------------------------- GL_EXT_convolution -------------------------- */
6727
6728#ifndef GL_EXT_convolution
6729#define GL_EXT_convolution 1
6730
6731#define GL_CONVOLUTION_1D_EXT 0x8010
6732#define GL_CONVOLUTION_2D_EXT 0x8011
6733#define GL_SEPARABLE_2D_EXT 0x8012
6734#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
6735#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
6736#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
6737#define GL_REDUCE_EXT 0x8016
6738#define GL_CONVOLUTION_FORMAT_EXT 0x8017
6739#define GL_CONVOLUTION_WIDTH_EXT 0x8018
6740#define GL_CONVOLUTION_HEIGHT_EXT 0x8019
6741#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
6742#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
6743#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
6744#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
6745#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
6746#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
6747#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
6748#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
6749#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
6750#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
6751
6752typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void* image);
6753typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* image);
6754typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
6755typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat* params);
6756typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
6757typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint* params);
6758typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6759typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6760typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void* image);
6761typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params);
6762typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
6763typedef void (GLAPIENTRY * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void* row, void* column, void* span);
6764typedef void (GLAPIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* row, const void* column);
6765
6766#define glConvolutionFilter1DEXT GLEW_GET_FUN(__glewConvolutionFilter1DEXT)
6767#define glConvolutionFilter2DEXT GLEW_GET_FUN(__glewConvolutionFilter2DEXT)
6768#define glConvolutionParameterfEXT GLEW_GET_FUN(__glewConvolutionParameterfEXT)
6769#define glConvolutionParameterfvEXT GLEW_GET_FUN(__glewConvolutionParameterfvEXT)
6770#define glConvolutionParameteriEXT GLEW_GET_FUN(__glewConvolutionParameteriEXT)
6771#define glConvolutionParameterivEXT GLEW_GET_FUN(__glewConvolutionParameterivEXT)
6772#define glCopyConvolutionFilter1DEXT GLEW_GET_FUN(__glewCopyConvolutionFilter1DEXT)
6773#define glCopyConvolutionFilter2DEXT GLEW_GET_FUN(__glewCopyConvolutionFilter2DEXT)
6774#define glGetConvolutionFilterEXT GLEW_GET_FUN(__glewGetConvolutionFilterEXT)
6775#define glGetConvolutionParameterfvEXT GLEW_GET_FUN(__glewGetConvolutionParameterfvEXT)
6776#define glGetConvolutionParameterivEXT GLEW_GET_FUN(__glewGetConvolutionParameterivEXT)
6777#define glGetSeparableFilterEXT GLEW_GET_FUN(__glewGetSeparableFilterEXT)
6778#define glSeparableFilter2DEXT GLEW_GET_FUN(__glewSeparableFilter2DEXT)
6779
6780#define GLEW_EXT_convolution GLEW_GET_VAR(__GLEW_EXT_convolution)
6781
6782#endif /* GL_EXT_convolution */
6783
6784/* ------------------------ GL_EXT_coordinate_frame ------------------------ */
6785
6786#ifndef GL_EXT_coordinate_frame
6787#define GL_EXT_coordinate_frame 1
6788
6789#define GL_TANGENT_ARRAY_EXT 0x8439
6790#define GL_BINORMAL_ARRAY_EXT 0x843A
6791#define GL_CURRENT_TANGENT_EXT 0x843B
6792#define GL_CURRENT_BINORMAL_EXT 0x843C
6793#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
6794#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
6795#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
6796#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
6797#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
6798#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
6799#define GL_MAP1_TANGENT_EXT 0x8444
6800#define GL_MAP2_TANGENT_EXT 0x8445
6801#define GL_MAP1_BINORMAL_EXT 0x8446
6802#define GL_MAP2_BINORMAL_EXT 0x8447
6803
6804typedef void (GLAPIENTRY * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, void* pointer);
6805typedef void (GLAPIENTRY * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, void* pointer);
6806
6807#define glBinormalPointerEXT GLEW_GET_FUN(__glewBinormalPointerEXT)
6808#define glTangentPointerEXT GLEW_GET_FUN(__glewTangentPointerEXT)
6809
6810#define GLEW_EXT_coordinate_frame GLEW_GET_VAR(__GLEW_EXT_coordinate_frame)
6811
6812#endif /* GL_EXT_coordinate_frame */
6813
6814/* -------------------------- GL_EXT_copy_texture -------------------------- */
6815
6816#ifndef GL_EXT_copy_texture
6817#define GL_EXT_copy_texture 1
6818
6819typedef void (GLAPIENTRY * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6820typedef void (GLAPIENTRY * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6821typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6822typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6823typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6824
6825#define glCopyTexImage1DEXT GLEW_GET_FUN(__glewCopyTexImage1DEXT)
6826#define glCopyTexImage2DEXT GLEW_GET_FUN(__glewCopyTexImage2DEXT)
6827#define glCopyTexSubImage1DEXT GLEW_GET_FUN(__glewCopyTexSubImage1DEXT)
6828#define glCopyTexSubImage2DEXT GLEW_GET_FUN(__glewCopyTexSubImage2DEXT)
6829#define glCopyTexSubImage3DEXT GLEW_GET_FUN(__glewCopyTexSubImage3DEXT)
6830
6831#define GLEW_EXT_copy_texture GLEW_GET_VAR(__GLEW_EXT_copy_texture)
6832
6833#endif /* GL_EXT_copy_texture */
6834
6835/* --------------------------- GL_EXT_cull_vertex -------------------------- */
6836
6837#ifndef GL_EXT_cull_vertex
6838#define GL_EXT_cull_vertex 1
6839
6840#define GL_CULL_VERTEX_EXT 0x81AA
6841#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
6842#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
6843
6844typedef void (GLAPIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble* params);
6845typedef void (GLAPIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat* params);
6846
6847#define glCullParameterdvEXT GLEW_GET_FUN(__glewCullParameterdvEXT)
6848#define glCullParameterfvEXT GLEW_GET_FUN(__glewCullParameterfvEXT)
6849
6850#define GLEW_EXT_cull_vertex GLEW_GET_VAR(__GLEW_EXT_cull_vertex)
6851
6852#endif /* GL_EXT_cull_vertex */
6853
6854/* ------------------------ GL_EXT_depth_bounds_test ----------------------- */
6855
6856#ifndef GL_EXT_depth_bounds_test
6857#define GL_EXT_depth_bounds_test 1
6858
6859#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
6860#define GL_DEPTH_BOUNDS_EXT 0x8891
6861
6862typedef void (GLAPIENTRY * PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6863
6864#define glDepthBoundsEXT GLEW_GET_FUN(__glewDepthBoundsEXT)
6865
6866#define GLEW_EXT_depth_bounds_test GLEW_GET_VAR(__GLEW_EXT_depth_bounds_test)
6867
6868#endif /* GL_EXT_depth_bounds_test */
6869
6870/* ----------------------- GL_EXT_direct_state_access ---------------------- */
6871
6872#ifndef GL_EXT_direct_state_access
6873#define GL_EXT_direct_state_access 1
6874
6875#define GL_PROGRAM_MATRIX_EXT 0x8E2D
6876#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
6877#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
6878
6879typedef void (GLAPIENTRY * PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
6880typedef GLenum (GLAPIENTRY * PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
6881typedef void (GLAPIENTRY * PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6882typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data);
6883typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
6884typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
6885typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data);
6886typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
6887typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
6888typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data);
6889typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
6890typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
6891typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data);
6892typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
6893typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
6894typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6895typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6896typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6897typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6898typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6899typedef void (GLAPIENTRY * PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6900typedef void (GLAPIENTRY * PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6901typedef void (GLAPIENTRY * PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6902typedef void (GLAPIENTRY * PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6903typedef void (GLAPIENTRY * PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6904typedef void (GLAPIENTRY * PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6905typedef void (GLAPIENTRY * PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6906typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
6907typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6908typedef void (GLAPIENTRY * PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6909typedef void (GLAPIENTRY * PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6910typedef void (GLAPIENTRY * PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
6911typedef void (GLAPIENTRY * PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6912typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
6913typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6914typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum* bufs);
6915typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6916typedef void (GLAPIENTRY * PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
6917typedef void (GLAPIENTRY * PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
6918typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, void* img);
6919typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, void* img);
6920typedef void (GLAPIENTRY * PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble* params);
6921typedef void (GLAPIENTRY * PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble* params);
6922typedef void (GLAPIENTRY * PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat* params);
6923typedef void (GLAPIENTRY * PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat* params);
6924typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint* param);
6925typedef void (GLAPIENTRY * PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat* params);
6926typedef void (GLAPIENTRY * PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint* params);
6927typedef void (GLAPIENTRY * PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble* params);
6928typedef void (GLAPIENTRY * PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat* params);
6929typedef void (GLAPIENTRY * PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint* params);
6930typedef void (GLAPIENTRY * PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void* pixels);
6931typedef void (GLAPIENTRY * PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat* params);
6932typedef void (GLAPIENTRY * PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint* params);
6933typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint* params);
6934typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint* params);
6935typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat* params);
6936typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint* params);
6937typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint* params);
6938typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void** params);
6939typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void* data);
6940typedef void (GLAPIENTRY * PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint* params);
6941typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint* params);
6942typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint* params);
6943typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble* params);
6944typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat* params);
6945typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void* string);
6946typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint* params);
6947typedef void (GLAPIENTRY * PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint* params);
6948typedef void (GLAPIENTRY * PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid** params);
6949typedef void (GLAPIENTRY * PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, GLvoid** params);
6950typedef void (GLAPIENTRY * PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void* pixels);
6951typedef void (GLAPIENTRY * PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat* params);
6952typedef void (GLAPIENTRY * PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint* params);
6953typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint* params);
6954typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint* params);
6955typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat* params);
6956typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint* params);
6957typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint* param);
6958typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint* param);
6959typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLvoid** param);
6960typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, GLvoid** param);
6961typedef GLvoid * (GLAPIENTRY * PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
6962typedef GLvoid * (GLAPIENTRY * PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
6963typedef void (GLAPIENTRY * PFNGLMATRIXFRUSTUMEXTPROC) (GLenum matrixMode, GLdouble l, GLdouble r, GLdouble b, GLdouble t, GLdouble n, GLdouble f);
6964typedef void (GLAPIENTRY * PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum matrixMode);
6965typedef void (GLAPIENTRY * PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum matrixMode, const GLdouble* m);
6966typedef void (GLAPIENTRY * PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum matrixMode, const GLfloat* m);
6967typedef void (GLAPIENTRY * PFNGLMATRIXLOADDEXTPROC) (GLenum matrixMode, const GLdouble* m);
6968typedef void (GLAPIENTRY * PFNGLMATRIXLOADFEXTPROC) (GLenum matrixMode, const GLfloat* m);
6969typedef void (GLAPIENTRY * PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum matrixMode, const GLdouble* m);
6970typedef void (GLAPIENTRY * PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum matrixMode, const GLfloat* m);
6971typedef void (GLAPIENTRY * PFNGLMATRIXMULTDEXTPROC) (GLenum matrixMode, const GLdouble* m);
6972typedef void (GLAPIENTRY * PFNGLMATRIXMULTFEXTPROC) (GLenum matrixMode, const GLfloat* m);
6973typedef void (GLAPIENTRY * PFNGLMATRIXORTHOEXTPROC) (GLenum matrixMode, GLdouble l, GLdouble r, GLdouble b, GLdouble t, GLdouble n, GLdouble f);
6974typedef void (GLAPIENTRY * PFNGLMATRIXPOPEXTPROC) (GLenum matrixMode);
6975typedef void (GLAPIENTRY * PFNGLMATRIXPUSHEXTPROC) (GLenum matrixMode);
6976typedef void (GLAPIENTRY * PFNGLMATRIXROTATEDEXTPROC) (GLenum matrixMode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
6977typedef void (GLAPIENTRY * PFNGLMATRIXROTATEFEXTPROC) (GLenum matrixMode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
6978typedef void (GLAPIENTRY * PFNGLMATRIXSCALEDEXTPROC) (GLenum matrixMode, GLdouble x, GLdouble y, GLdouble z);
6979typedef void (GLAPIENTRY * PFNGLMATRIXSCALEFEXTPROC) (GLenum matrixMode, GLfloat x, GLfloat y, GLfloat z);
6980typedef void (GLAPIENTRY * PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum matrixMode, GLdouble x, GLdouble y, GLdouble z);
6981typedef void (GLAPIENTRY * PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum matrixMode, GLfloat x, GLfloat y, GLfloat z);
6982typedef void (GLAPIENTRY * PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
6983typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void* pointer);
6984typedef void (GLAPIENTRY * PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6985typedef void (GLAPIENTRY * PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat* params);
6986typedef void (GLAPIENTRY * PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6987typedef void (GLAPIENTRY * PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint* params);
6988typedef void (GLAPIENTRY * PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
6989typedef void (GLAPIENTRY * PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble* params);
6990typedef void (GLAPIENTRY * PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
6991typedef void (GLAPIENTRY * PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat* params);
6992typedef void (GLAPIENTRY * PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
6993typedef void (GLAPIENTRY * PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint* params);
6994typedef void (GLAPIENTRY * PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void* pixels);
6995typedef void (GLAPIENTRY * PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels);
6996typedef void (GLAPIENTRY * PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
6997typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint* params);
6998typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint* params);
6999typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
7000typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat* param);
7001typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
7002typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint* param);
7003typedef void (GLAPIENTRY * PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
7004typedef void (GLAPIENTRY * PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels);
7005typedef void (GLAPIENTRY * PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels);
7006typedef void (GLAPIENTRY * PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
7007typedef void (GLAPIENTRY * PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void* data, GLenum usage);
7008typedef void (GLAPIENTRY * PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void* data);
7009typedef void (GLAPIENTRY * PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
7010typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7011typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7012typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7013typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7014typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
7015typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
7016typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
7017typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7018typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble* params);
7019typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7020typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat* params);
7021typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
7022typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint* params);
7023typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7024typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint* params);
7025typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat* params);
7026typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint* params);
7027typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint* params);
7028typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void* string);
7029typedef void (GLAPIENTRY * PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
7030typedef void (GLAPIENTRY * PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
7031typedef void (GLAPIENTRY * PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7032typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
7033typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
7034typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
7035typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
7036typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
7037typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
7038typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
7039typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
7040typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
7041typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
7042typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
7043typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
7044typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
7045typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
7046typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
7047typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
7048typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
7049typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
7050typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
7051typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
7052typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
7053typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
7054typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7055typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
7056typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
7057typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
7058typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
7059typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
7060typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
7061typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
7062typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
7063typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
7064typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
7065typedef void (GLAPIENTRY * PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
7066typedef void (GLAPIENTRY * PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
7067typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void* pixels);
7068typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels);
7069typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
7070typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint* params);
7071typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint* params);
7072typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
7073typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat* param);
7074typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
7075typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint* param);
7076typedef void (GLAPIENTRY * PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
7077typedef void (GLAPIENTRY * PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels);
7078typedef void (GLAPIENTRY * PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels);
7079typedef void (GLAPIENTRY * PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
7080typedef GLboolean (GLAPIENTRY * PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
7081typedef void (GLAPIENTRY * PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7082typedef void (GLAPIENTRY * PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
7083typedef void (GLAPIENTRY * PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7084typedef void (GLAPIENTRY * PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7085typedef void (GLAPIENTRY * PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7086typedef void (GLAPIENTRY * PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7087typedef void (GLAPIENTRY * PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7088typedef void (GLAPIENTRY * PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7089typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7090typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
7091typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7092
7093#define glBindMultiTextureEXT GLEW_GET_FUN(__glewBindMultiTextureEXT)
7094#define glCheckNamedFramebufferStatusEXT GLEW_GET_FUN(__glewCheckNamedFramebufferStatusEXT)
7095#define glClientAttribDefaultEXT GLEW_GET_FUN(__glewClientAttribDefaultEXT)
7096#define glCompressedMultiTexImage1DEXT GLEW_GET_FUN(__glewCompressedMultiTexImage1DEXT)
7097#define glCompressedMultiTexImage2DEXT GLEW_GET_FUN(__glewCompressedMultiTexImage2DEXT)
7098#define glCompressedMultiTexImage3DEXT GLEW_GET_FUN(__glewCompressedMultiTexImage3DEXT)
7099#define glCompressedMultiTexSubImage1DEXT GLEW_GET_FUN(__glewCompressedMultiTexSubImage1DEXT)
7100#define glCompressedMultiTexSubImage2DEXT GLEW_GET_FUN(__glewCompressedMultiTexSubImage2DEXT)
7101#define glCompressedMultiTexSubImage3DEXT GLEW_GET_FUN(__glewCompressedMultiTexSubImage3DEXT)
7102#define glCompressedTextureImage1DEXT GLEW_GET_FUN(__glewCompressedTextureImage1DEXT)
7103#define glCompressedTextureImage2DEXT GLEW_GET_FUN(__glewCompressedTextureImage2DEXT)
7104#define glCompressedTextureImage3DEXT GLEW_GET_FUN(__glewCompressedTextureImage3DEXT)
7105#define glCompressedTextureSubImage1DEXT GLEW_GET_FUN(__glewCompressedTextureSubImage1DEXT)
7106#define glCompressedTextureSubImage2DEXT GLEW_GET_FUN(__glewCompressedTextureSubImage2DEXT)
7107#define glCompressedTextureSubImage3DEXT GLEW_GET_FUN(__glewCompressedTextureSubImage3DEXT)
7108#define glCopyMultiTexImage1DEXT GLEW_GET_FUN(__glewCopyMultiTexImage1DEXT)
7109#define glCopyMultiTexImage2DEXT GLEW_GET_FUN(__glewCopyMultiTexImage2DEXT)
7110#define glCopyMultiTexSubImage1DEXT GLEW_GET_FUN(__glewCopyMultiTexSubImage1DEXT)
7111#define glCopyMultiTexSubImage2DEXT GLEW_GET_FUN(__glewCopyMultiTexSubImage2DEXT)
7112#define glCopyMultiTexSubImage3DEXT GLEW_GET_FUN(__glewCopyMultiTexSubImage3DEXT)
7113#define glCopyTextureImage1DEXT GLEW_GET_FUN(__glewCopyTextureImage1DEXT)
7114#define glCopyTextureImage2DEXT GLEW_GET_FUN(__glewCopyTextureImage2DEXT)
7115#define glCopyTextureSubImage1DEXT GLEW_GET_FUN(__glewCopyTextureSubImage1DEXT)
7116#define glCopyTextureSubImage2DEXT GLEW_GET_FUN(__glewCopyTextureSubImage2DEXT)
7117#define glCopyTextureSubImage3DEXT GLEW_GET_FUN(__glewCopyTextureSubImage3DEXT)
7118#define glDisableClientStateIndexedEXT GLEW_GET_FUN(__glewDisableClientStateIndexedEXT)
7119#define glDisableClientStateiEXT GLEW_GET_FUN(__glewDisableClientStateiEXT)
7120#define glDisableVertexArrayAttribEXT GLEW_GET_FUN(__glewDisableVertexArrayAttribEXT)
7121#define glDisableVertexArrayEXT GLEW_GET_FUN(__glewDisableVertexArrayEXT)
7122#define glEnableClientStateIndexedEXT GLEW_GET_FUN(__glewEnableClientStateIndexedEXT)
7123#define glEnableClientStateiEXT GLEW_GET_FUN(__glewEnableClientStateiEXT)
7124#define glEnableVertexArrayAttribEXT GLEW_GET_FUN(__glewEnableVertexArrayAttribEXT)
7125#define glEnableVertexArrayEXT GLEW_GET_FUN(__glewEnableVertexArrayEXT)
7126#define glFlushMappedNamedBufferRangeEXT GLEW_GET_FUN(__glewFlushMappedNamedBufferRangeEXT)
7127#define glFramebufferDrawBufferEXT GLEW_GET_FUN(__glewFramebufferDrawBufferEXT)
7128#define glFramebufferDrawBuffersEXT GLEW_GET_FUN(__glewFramebufferDrawBuffersEXT)
7129#define glFramebufferReadBufferEXT GLEW_GET_FUN(__glewFramebufferReadBufferEXT)
7130#define glGenerateMultiTexMipmapEXT GLEW_GET_FUN(__glewGenerateMultiTexMipmapEXT)
7131#define glGenerateTextureMipmapEXT GLEW_GET_FUN(__glewGenerateTextureMipmapEXT)
7132#define glGetCompressedMultiTexImageEXT GLEW_GET_FUN(__glewGetCompressedMultiTexImageEXT)
7133#define glGetCompressedTextureImageEXT GLEW_GET_FUN(__glewGetCompressedTextureImageEXT)
7134#define glGetDoubleIndexedvEXT GLEW_GET_FUN(__glewGetDoubleIndexedvEXT)
7135#define glGetDoublei_vEXT GLEW_GET_FUN(__glewGetDoublei_vEXT)
7136#define glGetFloatIndexedvEXT GLEW_GET_FUN(__glewGetFloatIndexedvEXT)
7137#define glGetFloati_vEXT GLEW_GET_FUN(__glewGetFloati_vEXT)
7138#define glGetFramebufferParameterivEXT GLEW_GET_FUN(__glewGetFramebufferParameterivEXT)
7139#define glGetMultiTexEnvfvEXT GLEW_GET_FUN(__glewGetMultiTexEnvfvEXT)
7140#define glGetMultiTexEnvivEXT GLEW_GET_FUN(__glewGetMultiTexEnvivEXT)
7141#define glGetMultiTexGendvEXT GLEW_GET_FUN(__glewGetMultiTexGendvEXT)
7142#define glGetMultiTexGenfvEXT GLEW_GET_FUN(__glewGetMultiTexGenfvEXT)
7143#define glGetMultiTexGenivEXT GLEW_GET_FUN(__glewGetMultiTexGenivEXT)
7144#define glGetMultiTexImageEXT GLEW_GET_FUN(__glewGetMultiTexImageEXT)
7145#define glGetMultiTexLevelParameterfvEXT GLEW_GET_FUN(__glewGetMultiTexLevelParameterfvEXT)
7146#define glGetMultiTexLevelParameterivEXT GLEW_GET_FUN(__glewGetMultiTexLevelParameterivEXT)
7147#define glGetMultiTexParameterIivEXT GLEW_GET_FUN(__glewGetMultiTexParameterIivEXT)
7148#define glGetMultiTexParameterIuivEXT GLEW_GET_FUN(__glewGetMultiTexParameterIuivEXT)
7149#define glGetMultiTexParameterfvEXT GLEW_GET_FUN(__glewGetMultiTexParameterfvEXT)
7150#define glGetMultiTexParameterivEXT GLEW_GET_FUN(__glewGetMultiTexParameterivEXT)
7151#define glGetNamedBufferParameterivEXT GLEW_GET_FUN(__glewGetNamedBufferParameterivEXT)
7152#define glGetNamedBufferPointervEXT GLEW_GET_FUN(__glewGetNamedBufferPointervEXT)
7153#define glGetNamedBufferSubDataEXT GLEW_GET_FUN(__glewGetNamedBufferSubDataEXT)
7154#define glGetNamedFramebufferAttachmentParameterivEXT GLEW_GET_FUN(__glewGetNamedFramebufferAttachmentParameterivEXT)
7155#define glGetNamedProgramLocalParameterIivEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterIivEXT)
7156#define glGetNamedProgramLocalParameterIuivEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterIuivEXT)
7157#define glGetNamedProgramLocalParameterdvEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterdvEXT)
7158#define glGetNamedProgramLocalParameterfvEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterfvEXT)
7159#define glGetNamedProgramStringEXT GLEW_GET_FUN(__glewGetNamedProgramStringEXT)
7160#define glGetNamedProgramivEXT GLEW_GET_FUN(__glewGetNamedProgramivEXT)
7161#define glGetNamedRenderbufferParameterivEXT GLEW_GET_FUN(__glewGetNamedRenderbufferParameterivEXT)
7162#define glGetPointerIndexedvEXT GLEW_GET_FUN(__glewGetPointerIndexedvEXT)
7163#define glGetPointeri_vEXT GLEW_GET_FUN(__glewGetPointeri_vEXT)
7164#define glGetTextureImageEXT GLEW_GET_FUN(__glewGetTextureImageEXT)
7165#define glGetTextureLevelParameterfvEXT GLEW_GET_FUN(__glewGetTextureLevelParameterfvEXT)
7166#define glGetTextureLevelParameterivEXT GLEW_GET_FUN(__glewGetTextureLevelParameterivEXT)
7167#define glGetTextureParameterIivEXT GLEW_GET_FUN(__glewGetTextureParameterIivEXT)
7168#define glGetTextureParameterIuivEXT GLEW_GET_FUN(__glewGetTextureParameterIuivEXT)
7169#define glGetTextureParameterfvEXT GLEW_GET_FUN(__glewGetTextureParameterfvEXT)
7170#define glGetTextureParameterivEXT GLEW_GET_FUN(__glewGetTextureParameterivEXT)
7171#define glGetVertexArrayIntegeri_vEXT GLEW_GET_FUN(__glewGetVertexArrayIntegeri_vEXT)
7172#define glGetVertexArrayIntegervEXT GLEW_GET_FUN(__glewGetVertexArrayIntegervEXT)
7173#define glGetVertexArrayPointeri_vEXT GLEW_GET_FUN(__glewGetVertexArrayPointeri_vEXT)
7174#define glGetVertexArrayPointervEXT GLEW_GET_FUN(__glewGetVertexArrayPointervEXT)
7175#define glMapNamedBufferEXT GLEW_GET_FUN(__glewMapNamedBufferEXT)
7176#define glMapNamedBufferRangeEXT GLEW_GET_FUN(__glewMapNamedBufferRangeEXT)
7177#define glMatrixFrustumEXT GLEW_GET_FUN(__glewMatrixFrustumEXT)
7178#define glMatrixLoadIdentityEXT GLEW_GET_FUN(__glewMatrixLoadIdentityEXT)
7179#define glMatrixLoadTransposedEXT GLEW_GET_FUN(__glewMatrixLoadTransposedEXT)
7180#define glMatrixLoadTransposefEXT GLEW_GET_FUN(__glewMatrixLoadTransposefEXT)
7181#define glMatrixLoaddEXT GLEW_GET_FUN(__glewMatrixLoaddEXT)
7182#define glMatrixLoadfEXT GLEW_GET_FUN(__glewMatrixLoadfEXT)
7183#define glMatrixMultTransposedEXT GLEW_GET_FUN(__glewMatrixMultTransposedEXT)
7184#define glMatrixMultTransposefEXT GLEW_GET_FUN(__glewMatrixMultTransposefEXT)
7185#define glMatrixMultdEXT GLEW_GET_FUN(__glewMatrixMultdEXT)
7186#define glMatrixMultfEXT GLEW_GET_FUN(__glewMatrixMultfEXT)
7187#define glMatrixOrthoEXT GLEW_GET_FUN(__glewMatrixOrthoEXT)
7188#define glMatrixPopEXT GLEW_GET_FUN(__glewMatrixPopEXT)
7189#define glMatrixPushEXT GLEW_GET_FUN(__glewMatrixPushEXT)
7190#define glMatrixRotatedEXT GLEW_GET_FUN(__glewMatrixRotatedEXT)
7191#define glMatrixRotatefEXT GLEW_GET_FUN(__glewMatrixRotatefEXT)
7192#define glMatrixScaledEXT GLEW_GET_FUN(__glewMatrixScaledEXT)
7193#define glMatrixScalefEXT GLEW_GET_FUN(__glewMatrixScalefEXT)
7194#define glMatrixTranslatedEXT GLEW_GET_FUN(__glewMatrixTranslatedEXT)
7195#define glMatrixTranslatefEXT GLEW_GET_FUN(__glewMatrixTranslatefEXT)
7196#define glMultiTexBufferEXT GLEW_GET_FUN(__glewMultiTexBufferEXT)
7197#define glMultiTexCoordPointerEXT GLEW_GET_FUN(__glewMultiTexCoordPointerEXT)
7198#define glMultiTexEnvfEXT GLEW_GET_FUN(__glewMultiTexEnvfEXT)
7199#define glMultiTexEnvfvEXT GLEW_GET_FUN(__glewMultiTexEnvfvEXT)
7200#define glMultiTexEnviEXT GLEW_GET_FUN(__glewMultiTexEnviEXT)
7201#define glMultiTexEnvivEXT GLEW_GET_FUN(__glewMultiTexEnvivEXT)
7202#define glMultiTexGendEXT GLEW_GET_FUN(__glewMultiTexGendEXT)
7203#define glMultiTexGendvEXT GLEW_GET_FUN(__glewMultiTexGendvEXT)
7204#define glMultiTexGenfEXT GLEW_GET_FUN(__glewMultiTexGenfEXT)
7205#define glMultiTexGenfvEXT GLEW_GET_FUN(__glewMultiTexGenfvEXT)
7206#define glMultiTexGeniEXT GLEW_GET_FUN(__glewMultiTexGeniEXT)
7207#define glMultiTexGenivEXT GLEW_GET_FUN(__glewMultiTexGenivEXT)
7208#define glMultiTexImage1DEXT GLEW_GET_FUN(__glewMultiTexImage1DEXT)
7209#define glMultiTexImage2DEXT GLEW_GET_FUN(__glewMultiTexImage2DEXT)
7210#define glMultiTexImage3DEXT GLEW_GET_FUN(__glewMultiTexImage3DEXT)
7211#define glMultiTexParameterIivEXT GLEW_GET_FUN(__glewMultiTexParameterIivEXT)
7212#define glMultiTexParameterIuivEXT GLEW_GET_FUN(__glewMultiTexParameterIuivEXT)
7213#define glMultiTexParameterfEXT GLEW_GET_FUN(__glewMultiTexParameterfEXT)
7214#define glMultiTexParameterfvEXT GLEW_GET_FUN(__glewMultiTexParameterfvEXT)
7215#define glMultiTexParameteriEXT GLEW_GET_FUN(__glewMultiTexParameteriEXT)
7216#define glMultiTexParameterivEXT GLEW_GET_FUN(__glewMultiTexParameterivEXT)
7217#define glMultiTexRenderbufferEXT GLEW_GET_FUN(__glewMultiTexRenderbufferEXT)
7218#define glMultiTexSubImage1DEXT GLEW_GET_FUN(__glewMultiTexSubImage1DEXT)
7219#define glMultiTexSubImage2DEXT GLEW_GET_FUN(__glewMultiTexSubImage2DEXT)
7220#define glMultiTexSubImage3DEXT GLEW_GET_FUN(__glewMultiTexSubImage3DEXT)
7221#define glNamedBufferDataEXT GLEW_GET_FUN(__glewNamedBufferDataEXT)
7222#define glNamedBufferSubDataEXT GLEW_GET_FUN(__glewNamedBufferSubDataEXT)
7223#define glNamedCopyBufferSubDataEXT GLEW_GET_FUN(__glewNamedCopyBufferSubDataEXT)
7224#define glNamedFramebufferRenderbufferEXT GLEW_GET_FUN(__glewNamedFramebufferRenderbufferEXT)
7225#define glNamedFramebufferTexture1DEXT GLEW_GET_FUN(__glewNamedFramebufferTexture1DEXT)
7226#define glNamedFramebufferTexture2DEXT GLEW_GET_FUN(__glewNamedFramebufferTexture2DEXT)
7227#define glNamedFramebufferTexture3DEXT GLEW_GET_FUN(__glewNamedFramebufferTexture3DEXT)
7228#define glNamedFramebufferTextureEXT GLEW_GET_FUN(__glewNamedFramebufferTextureEXT)
7229#define glNamedFramebufferTextureFaceEXT GLEW_GET_FUN(__glewNamedFramebufferTextureFaceEXT)
7230#define glNamedFramebufferTextureLayerEXT GLEW_GET_FUN(__glewNamedFramebufferTextureLayerEXT)
7231#define glNamedProgramLocalParameter4dEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4dEXT)
7232#define glNamedProgramLocalParameter4dvEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4dvEXT)
7233#define glNamedProgramLocalParameter4fEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4fEXT)
7234#define glNamedProgramLocalParameter4fvEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4fvEXT)
7235#define glNamedProgramLocalParameterI4iEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4iEXT)
7236#define glNamedProgramLocalParameterI4ivEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4ivEXT)
7237#define glNamedProgramLocalParameterI4uiEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4uiEXT)
7238#define glNamedProgramLocalParameterI4uivEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4uivEXT)
7239#define glNamedProgramLocalParameters4fvEXT GLEW_GET_FUN(__glewNamedProgramLocalParameters4fvEXT)
7240#define glNamedProgramLocalParametersI4ivEXT GLEW_GET_FUN(__glewNamedProgramLocalParametersI4ivEXT)
7241#define glNamedProgramLocalParametersI4uivEXT GLEW_GET_FUN(__glewNamedProgramLocalParametersI4uivEXT)
7242#define glNamedProgramStringEXT GLEW_GET_FUN(__glewNamedProgramStringEXT)
7243#define glNamedRenderbufferStorageEXT GLEW_GET_FUN(__glewNamedRenderbufferStorageEXT)
7244#define glNamedRenderbufferStorageMultisampleCoverageEXT GLEW_GET_FUN(__glewNamedRenderbufferStorageMultisampleCoverageEXT)
7245#define glNamedRenderbufferStorageMultisampleEXT GLEW_GET_FUN(__glewNamedRenderbufferStorageMultisampleEXT)
7246#define glProgramUniform1fEXT GLEW_GET_FUN(__glewProgramUniform1fEXT)
7247#define glProgramUniform1fvEXT GLEW_GET_FUN(__glewProgramUniform1fvEXT)
7248#define glProgramUniform1iEXT GLEW_GET_FUN(__glewProgramUniform1iEXT)
7249#define glProgramUniform1ivEXT GLEW_GET_FUN(__glewProgramUniform1ivEXT)
7250#define glProgramUniform1uiEXT GLEW_GET_FUN(__glewProgramUniform1uiEXT)
7251#define glProgramUniform1uivEXT GLEW_GET_FUN(__glewProgramUniform1uivEXT)
7252#define glProgramUniform2fEXT GLEW_GET_FUN(__glewProgramUniform2fEXT)
7253#define glProgramUniform2fvEXT GLEW_GET_FUN(__glewProgramUniform2fvEXT)
7254#define glProgramUniform2iEXT GLEW_GET_FUN(__glewProgramUniform2iEXT)
7255#define glProgramUniform2ivEXT GLEW_GET_FUN(__glewProgramUniform2ivEXT)
7256#define glProgramUniform2uiEXT GLEW_GET_FUN(__glewProgramUniform2uiEXT)
7257#define glProgramUniform2uivEXT GLEW_GET_FUN(__glewProgramUniform2uivEXT)
7258#define glProgramUniform3fEXT GLEW_GET_FUN(__glewProgramUniform3fEXT)
7259#define glProgramUniform3fvEXT GLEW_GET_FUN(__glewProgramUniform3fvEXT)
7260#define glProgramUniform3iEXT GLEW_GET_FUN(__glewProgramUniform3iEXT)
7261#define glProgramUniform3ivEXT GLEW_GET_FUN(__glewProgramUniform3ivEXT)
7262#define glProgramUniform3uiEXT GLEW_GET_FUN(__glewProgramUniform3uiEXT)
7263#define glProgramUniform3uivEXT GLEW_GET_FUN(__glewProgramUniform3uivEXT)
7264#define glProgramUniform4fEXT GLEW_GET_FUN(__glewProgramUniform4fEXT)
7265#define glProgramUniform4fvEXT GLEW_GET_FUN(__glewProgramUniform4fvEXT)
7266#define glProgramUniform4iEXT GLEW_GET_FUN(__glewProgramUniform4iEXT)
7267#define glProgramUniform4ivEXT GLEW_GET_FUN(__glewProgramUniform4ivEXT)
7268#define glProgramUniform4uiEXT GLEW_GET_FUN(__glewProgramUniform4uiEXT)
7269#define glProgramUniform4uivEXT GLEW_GET_FUN(__glewProgramUniform4uivEXT)
7270#define glProgramUniformMatrix2fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2fvEXT)
7271#define glProgramUniformMatrix2x3fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x3fvEXT)
7272#define glProgramUniformMatrix2x4fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x4fvEXT)
7273#define glProgramUniformMatrix3fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3fvEXT)
7274#define glProgramUniformMatrix3x2fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x2fvEXT)
7275#define glProgramUniformMatrix3x4fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x4fvEXT)
7276#define glProgramUniformMatrix4fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4fvEXT)
7277#define glProgramUniformMatrix4x2fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x2fvEXT)
7278#define glProgramUniformMatrix4x3fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x3fvEXT)
7279#define glPushClientAttribDefaultEXT GLEW_GET_FUN(__glewPushClientAttribDefaultEXT)
7280#define glTextureBufferEXT GLEW_GET_FUN(__glewTextureBufferEXT)
7281#define glTextureImage1DEXT GLEW_GET_FUN(__glewTextureImage1DEXT)
7282#define glTextureImage2DEXT GLEW_GET_FUN(__glewTextureImage2DEXT)
7283#define glTextureImage3DEXT GLEW_GET_FUN(__glewTextureImage3DEXT)
7284#define glTextureParameterIivEXT GLEW_GET_FUN(__glewTextureParameterIivEXT)
7285#define glTextureParameterIuivEXT GLEW_GET_FUN(__glewTextureParameterIuivEXT)
7286#define glTextureParameterfEXT GLEW_GET_FUN(__glewTextureParameterfEXT)
7287#define glTextureParameterfvEXT GLEW_GET_FUN(__glewTextureParameterfvEXT)
7288#define glTextureParameteriEXT GLEW_GET_FUN(__glewTextureParameteriEXT)
7289#define glTextureParameterivEXT GLEW_GET_FUN(__glewTextureParameterivEXT)
7290#define glTextureRenderbufferEXT GLEW_GET_FUN(__glewTextureRenderbufferEXT)
7291#define glTextureSubImage1DEXT GLEW_GET_FUN(__glewTextureSubImage1DEXT)
7292#define glTextureSubImage2DEXT GLEW_GET_FUN(__glewTextureSubImage2DEXT)
7293#define glTextureSubImage3DEXT GLEW_GET_FUN(__glewTextureSubImage3DEXT)
7294#define glUnmapNamedBufferEXT GLEW_GET_FUN(__glewUnmapNamedBufferEXT)
7295#define glVertexArrayColorOffsetEXT GLEW_GET_FUN(__glewVertexArrayColorOffsetEXT)
7296#define glVertexArrayEdgeFlagOffsetEXT GLEW_GET_FUN(__glewVertexArrayEdgeFlagOffsetEXT)
7297#define glVertexArrayFogCoordOffsetEXT GLEW_GET_FUN(__glewVertexArrayFogCoordOffsetEXT)
7298#define glVertexArrayIndexOffsetEXT GLEW_GET_FUN(__glewVertexArrayIndexOffsetEXT)
7299#define glVertexArrayMultiTexCoordOffsetEXT GLEW_GET_FUN(__glewVertexArrayMultiTexCoordOffsetEXT)
7300#define glVertexArrayNormalOffsetEXT GLEW_GET_FUN(__glewVertexArrayNormalOffsetEXT)
7301#define glVertexArraySecondaryColorOffsetEXT GLEW_GET_FUN(__glewVertexArraySecondaryColorOffsetEXT)
7302#define glVertexArrayTexCoordOffsetEXT GLEW_GET_FUN(__glewVertexArrayTexCoordOffsetEXT)
7303#define glVertexArrayVertexAttribIOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexAttribIOffsetEXT)
7304#define glVertexArrayVertexAttribOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexAttribOffsetEXT)
7305#define glVertexArrayVertexOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexOffsetEXT)
7306
7307#define GLEW_EXT_direct_state_access GLEW_GET_VAR(__GLEW_EXT_direct_state_access)
7308
7309#endif /* GL_EXT_direct_state_access */
7310
7311/* -------------------------- GL_EXT_draw_buffers2 ------------------------- */
7312
7313#ifndef GL_EXT_draw_buffers2
7314#define GL_EXT_draw_buffers2 1
7315
7316typedef void (GLAPIENTRY * PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
7317typedef void (GLAPIENTRY * PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
7318typedef void (GLAPIENTRY * PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
7319typedef void (GLAPIENTRY * PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum value, GLuint index, GLboolean* data);
7320typedef void (GLAPIENTRY * PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum value, GLuint index, GLint* data);
7321typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
7322
7323#define glColorMaskIndexedEXT GLEW_GET_FUN(__glewColorMaskIndexedEXT)
7324#define glDisableIndexedEXT GLEW_GET_FUN(__glewDisableIndexedEXT)
7325#define glEnableIndexedEXT GLEW_GET_FUN(__glewEnableIndexedEXT)
7326#define glGetBooleanIndexedvEXT GLEW_GET_FUN(__glewGetBooleanIndexedvEXT)
7327#define glGetIntegerIndexedvEXT GLEW_GET_FUN(__glewGetIntegerIndexedvEXT)
7328#define glIsEnabledIndexedEXT GLEW_GET_FUN(__glewIsEnabledIndexedEXT)
7329
7330#define GLEW_EXT_draw_buffers2 GLEW_GET_VAR(__GLEW_EXT_draw_buffers2)
7331
7332#endif /* GL_EXT_draw_buffers2 */
7333
7334/* ------------------------- GL_EXT_draw_instanced ------------------------- */
7335
7336#ifndef GL_EXT_draw_instanced
7337#define GL_EXT_draw_instanced 1
7338
7339typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
7340typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
7341
7342#define glDrawArraysInstancedEXT GLEW_GET_FUN(__glewDrawArraysInstancedEXT)
7343#define glDrawElementsInstancedEXT GLEW_GET_FUN(__glewDrawElementsInstancedEXT)
7344
7345#define GLEW_EXT_draw_instanced GLEW_GET_VAR(__GLEW_EXT_draw_instanced)
7346
7347#endif /* GL_EXT_draw_instanced */
7348
7349/* ----------------------- GL_EXT_draw_range_elements ---------------------- */
7350
7351#ifndef GL_EXT_draw_range_elements
7352#define GL_EXT_draw_range_elements 1
7353
7354#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
7355#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
7356
7357typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
7358
7359#define glDrawRangeElementsEXT GLEW_GET_FUN(__glewDrawRangeElementsEXT)
7360
7361#define GLEW_EXT_draw_range_elements GLEW_GET_VAR(__GLEW_EXT_draw_range_elements)
7362
7363#endif /* GL_EXT_draw_range_elements */
7364
7365/* ---------------------------- GL_EXT_fog_coord --------------------------- */
7366
7367#ifndef GL_EXT_fog_coord
7368#define GL_EXT_fog_coord 1
7369
7370#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
7371#define GL_FOG_COORDINATE_EXT 0x8451
7372#define GL_FRAGMENT_DEPTH_EXT 0x8452
7373#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
7374#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
7375#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
7376#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
7377#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
7378
7379typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
7380typedef void (GLAPIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
7381typedef void (GLAPIENTRY * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
7382typedef void (GLAPIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
7383typedef void (GLAPIENTRY * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
7384
7385#define glFogCoordPointerEXT GLEW_GET_FUN(__glewFogCoordPointerEXT)
7386#define glFogCoorddEXT GLEW_GET_FUN(__glewFogCoorddEXT)
7387#define glFogCoorddvEXT GLEW_GET_FUN(__glewFogCoorddvEXT)
7388#define glFogCoordfEXT GLEW_GET_FUN(__glewFogCoordfEXT)
7389#define glFogCoordfvEXT GLEW_GET_FUN(__glewFogCoordfvEXT)
7390
7391#define GLEW_EXT_fog_coord GLEW_GET_VAR(__GLEW_EXT_fog_coord)
7392
7393#endif /* GL_EXT_fog_coord */
7394
7395/* ------------------------ GL_EXT_fragment_lighting ----------------------- */
7396
7397#ifndef GL_EXT_fragment_lighting
7398#define GL_EXT_fragment_lighting 1
7399
7400#define GL_FRAGMENT_LIGHTING_EXT 0x8400
7401#define GL_FRAGMENT_COLOR_MATERIAL_EXT 0x8401
7402#define GL_FRAGMENT_COLOR_MATERIAL_FACE_EXT 0x8402
7403#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_EXT 0x8403
7404#define GL_MAX_FRAGMENT_LIGHTS_EXT 0x8404
7405#define GL_MAX_ACTIVE_LIGHTS_EXT 0x8405
7406#define GL_CURRENT_RASTER_NORMAL_EXT 0x8406
7407#define GL_LIGHT_ENV_MODE_EXT 0x8407
7408#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_EXT 0x8408
7409#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_EXT 0x8409
7410#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_EXT 0x840A
7411#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_EXT 0x840B
7412#define GL_FRAGMENT_LIGHT0_EXT 0x840C
7413#define GL_FRAGMENT_LIGHT7_EXT 0x8413
7414
7415typedef void (GLAPIENTRY * PFNGLFRAGMENTCOLORMATERIALEXTPROC) (GLenum face, GLenum mode);
7416typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFEXTPROC) (GLenum pname, GLfloat param);
7417typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFVEXTPROC) (GLenum pname, GLfloat* params);
7418typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIEXTPROC) (GLenum pname, GLint param);
7419typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIVEXTPROC) (GLenum pname, GLint* params);
7420typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFEXTPROC) (GLenum light, GLenum pname, GLfloat param);
7421typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVEXTPROC) (GLenum light, GLenum pname, GLfloat* params);
7422typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIEXTPROC) (GLenum light, GLenum pname, GLint param);
7423typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVEXTPROC) (GLenum light, GLenum pname, GLint* params);
7424typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFEXTPROC) (GLenum face, GLenum pname, const GLfloat param);
7425typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFVEXTPROC) (GLenum face, GLenum pname, const GLfloat* params);
7426typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALIEXTPROC) (GLenum face, GLenum pname, const GLint param);
7427typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALIVEXTPROC) (GLenum face, GLenum pname, const GLint* params);
7428typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTFVEXTPROC) (GLenum light, GLenum pname, GLfloat* params);
7429typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTIVEXTPROC) (GLenum light, GLenum pname, GLint* params);
7430typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALFVEXTPROC) (GLenum face, GLenum pname, const GLfloat* params);
7431typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVEXTPROC) (GLenum face, GLenum pname, const GLint* params);
7432typedef void (GLAPIENTRY * PFNGLLIGHTENVIEXTPROC) (GLenum pname, GLint param);
7433
7434#define glFragmentColorMaterialEXT GLEW_GET_FUN(__glewFragmentColorMaterialEXT)
7435#define glFragmentLightModelfEXT GLEW_GET_FUN(__glewFragmentLightModelfEXT)
7436#define glFragmentLightModelfvEXT GLEW_GET_FUN(__glewFragmentLightModelfvEXT)
7437#define glFragmentLightModeliEXT GLEW_GET_FUN(__glewFragmentLightModeliEXT)
7438#define glFragmentLightModelivEXT GLEW_GET_FUN(__glewFragmentLightModelivEXT)
7439#define glFragmentLightfEXT GLEW_GET_FUN(__glewFragmentLightfEXT)
7440#define glFragmentLightfvEXT GLEW_GET_FUN(__glewFragmentLightfvEXT)
7441#define glFragmentLightiEXT GLEW_GET_FUN(__glewFragmentLightiEXT)
7442#define glFragmentLightivEXT GLEW_GET_FUN(__glewFragmentLightivEXT)
7443#define glFragmentMaterialfEXT GLEW_GET_FUN(__glewFragmentMaterialfEXT)
7444#define glFragmentMaterialfvEXT GLEW_GET_FUN(__glewFragmentMaterialfvEXT)
7445#define glFragmentMaterialiEXT GLEW_GET_FUN(__glewFragmentMaterialiEXT)
7446#define glFragmentMaterialivEXT GLEW_GET_FUN(__glewFragmentMaterialivEXT)
7447#define glGetFragmentLightfvEXT GLEW_GET_FUN(__glewGetFragmentLightfvEXT)
7448#define glGetFragmentLightivEXT GLEW_GET_FUN(__glewGetFragmentLightivEXT)
7449#define glGetFragmentMaterialfvEXT GLEW_GET_FUN(__glewGetFragmentMaterialfvEXT)
7450#define glGetFragmentMaterialivEXT GLEW_GET_FUN(__glewGetFragmentMaterialivEXT)
7451#define glLightEnviEXT GLEW_GET_FUN(__glewLightEnviEXT)
7452
7453#define GLEW_EXT_fragment_lighting GLEW_GET_VAR(__GLEW_EXT_fragment_lighting)
7454
7455#endif /* GL_EXT_fragment_lighting */
7456
7457/* ------------------------ GL_EXT_framebuffer_blit ------------------------ */
7458
7459#ifndef GL_EXT_framebuffer_blit
7460#define GL_EXT_framebuffer_blit 1
7461
7462#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
7463#define GL_READ_FRAMEBUFFER_EXT 0x8CA8
7464#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
7465#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
7466
7467typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7468
7469#define glBlitFramebufferEXT GLEW_GET_FUN(__glewBlitFramebufferEXT)
7470
7471#define GLEW_EXT_framebuffer_blit GLEW_GET_VAR(__GLEW_EXT_framebuffer_blit)
7472
7473#endif /* GL_EXT_framebuffer_blit */
7474
7475/* --------------------- GL_EXT_framebuffer_multisample -------------------- */
7476
7477#ifndef GL_EXT_framebuffer_multisample
7478#define GL_EXT_framebuffer_multisample 1
7479
7480#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
7481#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
7482#define GL_MAX_SAMPLES_EXT 0x8D57
7483
7484typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7485
7486#define glRenderbufferStorageMultisampleEXT GLEW_GET_FUN(__glewRenderbufferStorageMultisampleEXT)
7487
7488#define GLEW_EXT_framebuffer_multisample GLEW_GET_VAR(__GLEW_EXT_framebuffer_multisample)
7489
7490#endif /* GL_EXT_framebuffer_multisample */
7491
7492/* ----------------------- GL_EXT_framebuffer_object ----------------------- */
7493
7494#ifndef GL_EXT_framebuffer_object
7495#define GL_EXT_framebuffer_object 1
7496
7497#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
7498#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
7499#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
7500#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
7501#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
7502#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
7503#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
7504#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
7505#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
7506#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
7507#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
7508#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
7509#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
7510#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
7511#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
7512#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
7513#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
7514#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
7515#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
7516#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
7517#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
7518#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
7519#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
7520#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
7521#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
7522#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
7523#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
7524#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
7525#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
7526#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
7527#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
7528#define GL_COLOR_ATTACHMENT13_EXT 0x8CED
7529#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
7530#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
7531#define GL_DEPTH_ATTACHMENT_EXT 0x8D00
7532#define GL_STENCIL_ATTACHMENT_EXT 0x8D20
7533#define GL_FRAMEBUFFER_EXT 0x8D40
7534#define GL_RENDERBUFFER_EXT 0x8D41
7535#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
7536#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
7537#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
7538#define GL_STENCIL_INDEX1_EXT 0x8D46
7539#define GL_STENCIL_INDEX4_EXT 0x8D47
7540#define GL_STENCIL_INDEX8_EXT 0x8D48
7541#define GL_STENCIL_INDEX16_EXT 0x8D49
7542#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
7543#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
7544#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
7545#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
7546#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
7547#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
7548
7549typedef void (GLAPIENTRY * PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
7550typedef void (GLAPIENTRY * PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
7551typedef GLenum (GLAPIENTRY * PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
7552typedef void (GLAPIENTRY * PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint* framebuffers);
7553typedef void (GLAPIENTRY * PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint* renderbuffers);
7554typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7555typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7556typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7557typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7558typedef void (GLAPIENTRY * PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint* framebuffers);
7559typedef void (GLAPIENTRY * PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint* renderbuffers);
7560typedef void (GLAPIENTRY * PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
7561typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
7562typedef void (GLAPIENTRY * PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
7563typedef GLboolean (GLAPIENTRY * PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
7564typedef GLboolean (GLAPIENTRY * PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
7565typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7566
7567#define glBindFramebufferEXT GLEW_GET_FUN(__glewBindFramebufferEXT)
7568#define glBindRenderbufferEXT GLEW_GET_FUN(__glewBindRenderbufferEXT)
7569#define glCheckFramebufferStatusEXT GLEW_GET_FUN(__glewCheckFramebufferStatusEXT)
7570#define glDeleteFramebuffersEXT GLEW_GET_FUN(__glewDeleteFramebuffersEXT)
7571#define glDeleteRenderbuffersEXT GLEW_GET_FUN(__glewDeleteRenderbuffersEXT)
7572#define glFramebufferRenderbufferEXT GLEW_GET_FUN(__glewFramebufferRenderbufferEXT)
7573#define glFramebufferTexture1DEXT GLEW_GET_FUN(__glewFramebufferTexture1DEXT)
7574#define glFramebufferTexture2DEXT GLEW_GET_FUN(__glewFramebufferTexture2DEXT)
7575#define glFramebufferTexture3DEXT GLEW_GET_FUN(__glewFramebufferTexture3DEXT)
7576#define glGenFramebuffersEXT GLEW_GET_FUN(__glewGenFramebuffersEXT)
7577#define glGenRenderbuffersEXT GLEW_GET_FUN(__glewGenRenderbuffersEXT)
7578#define glGenerateMipmapEXT GLEW_GET_FUN(__glewGenerateMipmapEXT)
7579#define glGetFramebufferAttachmentParameterivEXT GLEW_GET_FUN(__glewGetFramebufferAttachmentParameterivEXT)
7580#define glGetRenderbufferParameterivEXT GLEW_GET_FUN(__glewGetRenderbufferParameterivEXT)
7581#define glIsFramebufferEXT GLEW_GET_FUN(__glewIsFramebufferEXT)
7582#define glIsRenderbufferEXT GLEW_GET_FUN(__glewIsRenderbufferEXT)
7583#define glRenderbufferStorageEXT GLEW_GET_FUN(__glewRenderbufferStorageEXT)
7584
7585#define GLEW_EXT_framebuffer_object GLEW_GET_VAR(__GLEW_EXT_framebuffer_object)
7586
7587#endif /* GL_EXT_framebuffer_object */
7588
7589/* ------------------------ GL_EXT_framebuffer_sRGB ------------------------ */
7590
7591#ifndef GL_EXT_framebuffer_sRGB
7592#define GL_EXT_framebuffer_sRGB 1
7593
7594#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
7595#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
7596
7597#define GLEW_EXT_framebuffer_sRGB GLEW_GET_VAR(__GLEW_EXT_framebuffer_sRGB)
7598
7599#endif /* GL_EXT_framebuffer_sRGB */
7600
7601/* ------------------------ GL_EXT_geometry_shader4 ------------------------ */
7602
7603#ifndef GL_EXT_geometry_shader4
7604#define GL_EXT_geometry_shader4 1
7605
7606#define GL_LINES_ADJACENCY_EXT 0xA
7607#define GL_LINE_STRIP_ADJACENCY_EXT 0xB
7608#define GL_TRIANGLES_ADJACENCY_EXT 0xC
7609#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0xD
7610#define GL_PROGRAM_POINT_SIZE_EXT 0x8642
7611#define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
7612#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
7613#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
7614#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
7615#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
7616#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
7617#define GL_GEOMETRY_SHADER_EXT 0x8DD9
7618#define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
7619#define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
7620#define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
7621#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
7622#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
7623#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
7624#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
7625#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
7626
7627typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
7628typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
7629typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
7630
7631#define glFramebufferTextureEXT GLEW_GET_FUN(__glewFramebufferTextureEXT)
7632#define glFramebufferTextureFaceEXT GLEW_GET_FUN(__glewFramebufferTextureFaceEXT)
7633#define glProgramParameteriEXT GLEW_GET_FUN(__glewProgramParameteriEXT)
7634
7635#define GLEW_EXT_geometry_shader4 GLEW_GET_VAR(__GLEW_EXT_geometry_shader4)
7636
7637#endif /* GL_EXT_geometry_shader4 */
7638
7639/* --------------------- GL_EXT_gpu_program_parameters --------------------- */
7640
7641#ifndef GL_EXT_gpu_program_parameters
7642#define GL_EXT_gpu_program_parameters 1
7643
7644typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat* params);
7645typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat* params);
7646
7647#define glProgramEnvParameters4fvEXT GLEW_GET_FUN(__glewProgramEnvParameters4fvEXT)
7648#define glProgramLocalParameters4fvEXT GLEW_GET_FUN(__glewProgramLocalParameters4fvEXT)
7649
7650#define GLEW_EXT_gpu_program_parameters GLEW_GET_VAR(__GLEW_EXT_gpu_program_parameters)
7651
7652#endif /* GL_EXT_gpu_program_parameters */
7653
7654/* --------------------------- GL_EXT_gpu_shader4 -------------------------- */
7655
7656#ifndef GL_EXT_gpu_shader4
7657#define GL_EXT_gpu_shader4 1
7658
7659#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
7660#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
7661#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
7662#define GL_SAMPLER_BUFFER_EXT 0x8DC2
7663#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
7664#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
7665#define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
7666#define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
7667#define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
7668#define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
7669#define GL_INT_SAMPLER_1D_EXT 0x8DC9
7670#define GL_INT_SAMPLER_2D_EXT 0x8DCA
7671#define GL_INT_SAMPLER_3D_EXT 0x8DCB
7672#define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
7673#define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
7674#define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
7675#define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
7676#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
7677#define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
7678#define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
7679#define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
7680#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
7681#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
7682#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
7683#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
7684#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
7685
7686typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
7687typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
7688typedef void (GLAPIENTRY * PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
7689typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
7690typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
7691typedef void (GLAPIENTRY * PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
7692typedef void (GLAPIENTRY * PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7693typedef void (GLAPIENTRY * PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
7694typedef void (GLAPIENTRY * PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7695typedef void (GLAPIENTRY * PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
7696typedef void (GLAPIENTRY * PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7697typedef void (GLAPIENTRY * PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7698typedef void (GLAPIENTRY * PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7699typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
7700typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
7701typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
7702typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
7703typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
7704typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
7705typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
7706typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
7707typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
7708typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
7709typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
7710typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
7711typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
7712typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
7713typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
7714typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
7715typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
7716typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7717typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
7718typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
7719typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
7720
7721#define glBindFragDataLocationEXT GLEW_GET_FUN(__glewBindFragDataLocationEXT)
7722#define glGetFragDataLocationEXT GLEW_GET_FUN(__glewGetFragDataLocationEXT)
7723#define glGetUniformuivEXT GLEW_GET_FUN(__glewGetUniformuivEXT)
7724#define glGetVertexAttribIivEXT GLEW_GET_FUN(__glewGetVertexAttribIivEXT)
7725#define glGetVertexAttribIuivEXT GLEW_GET_FUN(__glewGetVertexAttribIuivEXT)
7726#define glUniform1uiEXT GLEW_GET_FUN(__glewUniform1uiEXT)
7727#define glUniform1uivEXT GLEW_GET_FUN(__glewUniform1uivEXT)
7728#define glUniform2uiEXT GLEW_GET_FUN(__glewUniform2uiEXT)
7729#define glUniform2uivEXT GLEW_GET_FUN(__glewUniform2uivEXT)
7730#define glUniform3uiEXT GLEW_GET_FUN(__glewUniform3uiEXT)
7731#define glUniform3uivEXT GLEW_GET_FUN(__glewUniform3uivEXT)
7732#define glUniform4uiEXT GLEW_GET_FUN(__glewUniform4uiEXT)
7733#define glUniform4uivEXT GLEW_GET_FUN(__glewUniform4uivEXT)
7734#define glVertexAttribI1iEXT GLEW_GET_FUN(__glewVertexAttribI1iEXT)
7735#define glVertexAttribI1ivEXT GLEW_GET_FUN(__glewVertexAttribI1ivEXT)
7736#define glVertexAttribI1uiEXT GLEW_GET_FUN(__glewVertexAttribI1uiEXT)
7737#define glVertexAttribI1uivEXT GLEW_GET_FUN(__glewVertexAttribI1uivEXT)
7738#define glVertexAttribI2iEXT GLEW_GET_FUN(__glewVertexAttribI2iEXT)
7739#define glVertexAttribI2ivEXT GLEW_GET_FUN(__glewVertexAttribI2ivEXT)
7740#define glVertexAttribI2uiEXT GLEW_GET_FUN(__glewVertexAttribI2uiEXT)
7741#define glVertexAttribI2uivEXT GLEW_GET_FUN(__glewVertexAttribI2uivEXT)
7742#define glVertexAttribI3iEXT GLEW_GET_FUN(__glewVertexAttribI3iEXT)
7743#define glVertexAttribI3ivEXT GLEW_GET_FUN(__glewVertexAttribI3ivEXT)
7744#define glVertexAttribI3uiEXT GLEW_GET_FUN(__glewVertexAttribI3uiEXT)
7745#define glVertexAttribI3uivEXT GLEW_GET_FUN(__glewVertexAttribI3uivEXT)
7746#define glVertexAttribI4bvEXT GLEW_GET_FUN(__glewVertexAttribI4bvEXT)
7747#define glVertexAttribI4iEXT GLEW_GET_FUN(__glewVertexAttribI4iEXT)
7748#define glVertexAttribI4ivEXT GLEW_GET_FUN(__glewVertexAttribI4ivEXT)
7749#define glVertexAttribI4svEXT GLEW_GET_FUN(__glewVertexAttribI4svEXT)
7750#define glVertexAttribI4ubvEXT GLEW_GET_FUN(__glewVertexAttribI4ubvEXT)
7751#define glVertexAttribI4uiEXT GLEW_GET_FUN(__glewVertexAttribI4uiEXT)
7752#define glVertexAttribI4uivEXT GLEW_GET_FUN(__glewVertexAttribI4uivEXT)
7753#define glVertexAttribI4usvEXT GLEW_GET_FUN(__glewVertexAttribI4usvEXT)
7754#define glVertexAttribIPointerEXT GLEW_GET_FUN(__glewVertexAttribIPointerEXT)
7755
7756#define GLEW_EXT_gpu_shader4 GLEW_GET_VAR(__GLEW_EXT_gpu_shader4)
7757
7758#endif /* GL_EXT_gpu_shader4 */
7759
7760/* ---------------------------- GL_EXT_histogram --------------------------- */
7761
7762#ifndef GL_EXT_histogram
7763#define GL_EXT_histogram 1
7764
7765#define GL_HISTOGRAM_EXT 0x8024
7766#define GL_PROXY_HISTOGRAM_EXT 0x8025
7767#define GL_HISTOGRAM_WIDTH_EXT 0x8026
7768#define GL_HISTOGRAM_FORMAT_EXT 0x8027
7769#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
7770#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
7771#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
7772#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
7773#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
7774#define GL_HISTOGRAM_SINK_EXT 0x802D
7775#define GL_MINMAX_EXT 0x802E
7776#define GL_MINMAX_FORMAT_EXT 0x802F
7777#define GL_MINMAX_SINK_EXT 0x8030
7778
7779typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values);
7780typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params);
7781typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
7782typedef void (GLAPIENTRY * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values);
7783typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params);
7784typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
7785typedef void (GLAPIENTRY * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7786typedef void (GLAPIENTRY * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
7787typedef void (GLAPIENTRY * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
7788typedef void (GLAPIENTRY * PFNGLRESETMINMAXEXTPROC) (GLenum target);
7789
7790#define glGetHistogramEXT GLEW_GET_FUN(__glewGetHistogramEXT)
7791#define glGetHistogramParameterfvEXT GLEW_GET_FUN(__glewGetHistogramParameterfvEXT)
7792#define glGetHistogramParameterivEXT GLEW_GET_FUN(__glewGetHistogramParameterivEXT)
7793#define glGetMinmaxEXT GLEW_GET_FUN(__glewGetMinmaxEXT)
7794#define glGetMinmaxParameterfvEXT GLEW_GET_FUN(__glewGetMinmaxParameterfvEXT)
7795#define glGetMinmaxParameterivEXT GLEW_GET_FUN(__glewGetMinmaxParameterivEXT)
7796#define glHistogramEXT GLEW_GET_FUN(__glewHistogramEXT)
7797#define glMinmaxEXT GLEW_GET_FUN(__glewMinmaxEXT)
7798#define glResetHistogramEXT GLEW_GET_FUN(__glewResetHistogramEXT)
7799#define glResetMinmaxEXT GLEW_GET_FUN(__glewResetMinmaxEXT)
7800
7801#define GLEW_EXT_histogram GLEW_GET_VAR(__GLEW_EXT_histogram)
7802
7803#endif /* GL_EXT_histogram */
7804
7805/* ----------------------- GL_EXT_index_array_formats ---------------------- */
7806
7807#ifndef GL_EXT_index_array_formats
7808#define GL_EXT_index_array_formats 1
7809
7810#define GLEW_EXT_index_array_formats GLEW_GET_VAR(__GLEW_EXT_index_array_formats)
7811
7812#endif /* GL_EXT_index_array_formats */
7813
7814/* --------------------------- GL_EXT_index_func --------------------------- */
7815
7816#ifndef GL_EXT_index_func
7817#define GL_EXT_index_func 1
7818
7819typedef void (GLAPIENTRY * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLfloat ref);
7820
7821#define glIndexFuncEXT GLEW_GET_FUN(__glewIndexFuncEXT)
7822
7823#define GLEW_EXT_index_func GLEW_GET_VAR(__GLEW_EXT_index_func)
7824
7825#endif /* GL_EXT_index_func */
7826
7827/* ------------------------- GL_EXT_index_material ------------------------- */
7828
7829#ifndef GL_EXT_index_material
7830#define GL_EXT_index_material 1
7831
7832typedef void (GLAPIENTRY * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
7833
7834#define glIndexMaterialEXT GLEW_GET_FUN(__glewIndexMaterialEXT)
7835
7836#define GLEW_EXT_index_material GLEW_GET_VAR(__GLEW_EXT_index_material)
7837
7838#endif /* GL_EXT_index_material */
7839
7840/* -------------------------- GL_EXT_index_texture ------------------------- */
7841
7842#ifndef GL_EXT_index_texture
7843#define GL_EXT_index_texture 1
7844
7845#define GLEW_EXT_index_texture GLEW_GET_VAR(__GLEW_EXT_index_texture)
7846
7847#endif /* GL_EXT_index_texture */
7848
7849/* -------------------------- GL_EXT_light_texture ------------------------- */
7850
7851#ifndef GL_EXT_light_texture
7852#define GL_EXT_light_texture 1
7853
7854#define GL_FRAGMENT_MATERIAL_EXT 0x8349
7855#define GL_FRAGMENT_NORMAL_EXT 0x834A
7856#define GL_FRAGMENT_COLOR_EXT 0x834C
7857#define GL_ATTENUATION_EXT 0x834D
7858#define GL_SHADOW_ATTENUATION_EXT 0x834E
7859#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
7860#define GL_TEXTURE_LIGHT_EXT 0x8350
7861#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
7862#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
7863#define GL_FRAGMENT_DEPTH_EXT 0x8452
7864
7865typedef void (GLAPIENTRY * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
7866typedef void (GLAPIENTRY * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
7867typedef void (GLAPIENTRY * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
7868
7869#define glApplyTextureEXT GLEW_GET_FUN(__glewApplyTextureEXT)
7870#define glTextureLightEXT GLEW_GET_FUN(__glewTextureLightEXT)
7871#define glTextureMaterialEXT GLEW_GET_FUN(__glewTextureMaterialEXT)
7872
7873#define GLEW_EXT_light_texture GLEW_GET_VAR(__GLEW_EXT_light_texture)
7874
7875#endif /* GL_EXT_light_texture */
7876
7877/* ------------------------- GL_EXT_misc_attribute ------------------------- */
7878
7879#ifndef GL_EXT_misc_attribute
7880#define GL_EXT_misc_attribute 1
7881
7882#define GLEW_EXT_misc_attribute GLEW_GET_VAR(__GLEW_EXT_misc_attribute)
7883
7884#endif /* GL_EXT_misc_attribute */
7885
7886/* ------------------------ GL_EXT_multi_draw_arrays ----------------------- */
7887
7888#ifndef GL_EXT_multi_draw_arrays
7889#define GL_EXT_multi_draw_arrays 1
7890
7891typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount);
7892typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, GLsizei* count, GLenum type, const GLvoid **indices, GLsizei primcount);
7893
7894#define glMultiDrawArraysEXT GLEW_GET_FUN(__glewMultiDrawArraysEXT)
7895#define glMultiDrawElementsEXT GLEW_GET_FUN(__glewMultiDrawElementsEXT)
7896
7897#define GLEW_EXT_multi_draw_arrays GLEW_GET_VAR(__GLEW_EXT_multi_draw_arrays)
7898
7899#endif /* GL_EXT_multi_draw_arrays */
7900
7901/* --------------------------- GL_EXT_multisample -------------------------- */
7902
7903#ifndef GL_EXT_multisample
7904#define GL_EXT_multisample 1
7905
7906#define GL_MULTISAMPLE_EXT 0x809D
7907#define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
7908#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
7909#define GL_SAMPLE_MASK_EXT 0x80A0
7910#define GL_1PASS_EXT 0x80A1
7911#define GL_2PASS_0_EXT 0x80A2
7912#define GL_2PASS_1_EXT 0x80A3
7913#define GL_4PASS_0_EXT 0x80A4
7914#define GL_4PASS_1_EXT 0x80A5
7915#define GL_4PASS_2_EXT 0x80A6
7916#define GL_4PASS_3_EXT 0x80A7
7917#define GL_SAMPLE_BUFFERS_EXT 0x80A8
7918#define GL_SAMPLES_EXT 0x80A9
7919#define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
7920#define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
7921#define GL_SAMPLE_PATTERN_EXT 0x80AC
7922#define GL_MULTISAMPLE_BIT_EXT 0x20000000
7923
7924typedef void (GLAPIENTRY * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
7925typedef void (GLAPIENTRY * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
7926
7927#define glSampleMaskEXT GLEW_GET_FUN(__glewSampleMaskEXT)
7928#define glSamplePatternEXT GLEW_GET_FUN(__glewSamplePatternEXT)
7929
7930#define GLEW_EXT_multisample GLEW_GET_VAR(__GLEW_EXT_multisample)
7931
7932#endif /* GL_EXT_multisample */
7933
7934/* ---------------------- GL_EXT_packed_depth_stencil ---------------------- */
7935
7936#ifndef GL_EXT_packed_depth_stencil
7937#define GL_EXT_packed_depth_stencil 1
7938
7939#define GL_DEPTH_STENCIL_EXT 0x84F9
7940#define GL_UNSIGNED_INT_24_8_EXT 0x84FA
7941#define GL_DEPTH24_STENCIL8_EXT 0x88F0
7942#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
7943
7944#define GLEW_EXT_packed_depth_stencil GLEW_GET_VAR(__GLEW_EXT_packed_depth_stencil)
7945
7946#endif /* GL_EXT_packed_depth_stencil */
7947
7948/* -------------------------- GL_EXT_packed_float -------------------------- */
7949
7950#ifndef GL_EXT_packed_float
7951#define GL_EXT_packed_float 1
7952
7953#define GL_R11F_G11F_B10F_EXT 0x8C3A
7954#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
7955#define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
7956
7957#define GLEW_EXT_packed_float GLEW_GET_VAR(__GLEW_EXT_packed_float)
7958
7959#endif /* GL_EXT_packed_float */
7960
7961/* -------------------------- GL_EXT_packed_pixels ------------------------- */
7962
7963#ifndef GL_EXT_packed_pixels
7964#define GL_EXT_packed_pixels 1
7965
7966#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
7967#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
7968#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
7969#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
7970#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
7971
7972#define GLEW_EXT_packed_pixels GLEW_GET_VAR(__GLEW_EXT_packed_pixels)
7973
7974#endif /* GL_EXT_packed_pixels */
7975
7976/* ------------------------ GL_EXT_paletted_texture ------------------------ */
7977
7978#ifndef GL_EXT_paletted_texture
7979#define GL_EXT_paletted_texture 1
7980
7981#define GL_TEXTURE_1D 0x0DE0
7982#define GL_TEXTURE_2D 0x0DE1
7983#define GL_PROXY_TEXTURE_1D 0x8063
7984#define GL_PROXY_TEXTURE_2D 0x8064
7985#define GL_TEXTURE_3D_EXT 0x806F
7986#define GL_PROXY_TEXTURE_3D_EXT 0x8070
7987#define GL_COLOR_TABLE_FORMAT_EXT 0x80D8
7988#define GL_COLOR_TABLE_WIDTH_EXT 0x80D9
7989#define GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA
7990#define GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB
7991#define GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC
7992#define GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD
7993#define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE
7994#define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF
7995#define GL_COLOR_INDEX1_EXT 0x80E2
7996#define GL_COLOR_INDEX2_EXT 0x80E3
7997#define GL_COLOR_INDEX4_EXT 0x80E4
7998#define GL_COLOR_INDEX8_EXT 0x80E5
7999#define GL_COLOR_INDEX12_EXT 0x80E6
8000#define GL_COLOR_INDEX16_EXT 0x80E7
8001#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
8002#define GL_TEXTURE_CUBE_MAP_ARB 0x8513
8003#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
8004
8005typedef void (GLAPIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void* data);
8006typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void* data);
8007typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params);
8008typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
8009
8010#define glColorTableEXT GLEW_GET_FUN(__glewColorTableEXT)
8011#define glGetColorTableEXT GLEW_GET_FUN(__glewGetColorTableEXT)
8012#define glGetColorTableParameterfvEXT GLEW_GET_FUN(__glewGetColorTableParameterfvEXT)
8013#define glGetColorTableParameterivEXT GLEW_GET_FUN(__glewGetColorTableParameterivEXT)
8014
8015#define GLEW_EXT_paletted_texture GLEW_GET_VAR(__GLEW_EXT_paletted_texture)
8016
8017#endif /* GL_EXT_paletted_texture */
8018
8019/* ----------------------- GL_EXT_pixel_buffer_object ---------------------- */
8020
8021#ifndef GL_EXT_pixel_buffer_object
8022#define GL_EXT_pixel_buffer_object 1
8023
8024#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
8025#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
8026#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
8027#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
8028
8029#define GLEW_EXT_pixel_buffer_object GLEW_GET_VAR(__GLEW_EXT_pixel_buffer_object)
8030
8031#endif /* GL_EXT_pixel_buffer_object */
8032
8033/* ------------------------- GL_EXT_pixel_transform ------------------------ */
8034
8035#ifndef GL_EXT_pixel_transform
8036#define GL_EXT_pixel_transform 1
8037
8038#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
8039#define GL_PIXEL_MAG_FILTER_EXT 0x8331
8040#define GL_PIXEL_MIN_FILTER_EXT 0x8332
8041#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
8042#define GL_CUBIC_EXT 0x8334
8043#define GL_AVERAGE_EXT 0x8335
8044#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
8045#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
8046#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
8047
8048typedef void (GLAPIENTRY * PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat* params);
8049typedef void (GLAPIENTRY * PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint* params);
8050typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, const GLfloat param);
8051typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat* params);
8052typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, const GLint param);
8053typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint* params);
8054
8055#define glGetPixelTransformParameterfvEXT GLEW_GET_FUN(__glewGetPixelTransformParameterfvEXT)
8056#define glGetPixelTransformParameterivEXT GLEW_GET_FUN(__glewGetPixelTransformParameterivEXT)
8057#define glPixelTransformParameterfEXT GLEW_GET_FUN(__glewPixelTransformParameterfEXT)
8058#define glPixelTransformParameterfvEXT GLEW_GET_FUN(__glewPixelTransformParameterfvEXT)
8059#define glPixelTransformParameteriEXT GLEW_GET_FUN(__glewPixelTransformParameteriEXT)
8060#define glPixelTransformParameterivEXT GLEW_GET_FUN(__glewPixelTransformParameterivEXT)
8061
8062#define GLEW_EXT_pixel_transform GLEW_GET_VAR(__GLEW_EXT_pixel_transform)
8063
8064#endif /* GL_EXT_pixel_transform */
8065
8066/* ------------------- GL_EXT_pixel_transform_color_table ------------------ */
8067
8068#ifndef GL_EXT_pixel_transform_color_table
8069#define GL_EXT_pixel_transform_color_table 1
8070
8071#define GLEW_EXT_pixel_transform_color_table GLEW_GET_VAR(__GLEW_EXT_pixel_transform_color_table)
8072
8073#endif /* GL_EXT_pixel_transform_color_table */
8074
8075/* ------------------------ GL_EXT_point_parameters ------------------------ */
8076
8077#ifndef GL_EXT_point_parameters
8078#define GL_EXT_point_parameters 1
8079
8080#define GL_POINT_SIZE_MIN_EXT 0x8126
8081#define GL_POINT_SIZE_MAX_EXT 0x8127
8082#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
8083#define GL_DISTANCE_ATTENUATION_EXT 0x8129
8084
8085typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
8086typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat* params);
8087
8088#define glPointParameterfEXT GLEW_GET_FUN(__glewPointParameterfEXT)
8089#define glPointParameterfvEXT GLEW_GET_FUN(__glewPointParameterfvEXT)
8090
8091#define GLEW_EXT_point_parameters GLEW_GET_VAR(__GLEW_EXT_point_parameters)
8092
8093#endif /* GL_EXT_point_parameters */
8094
8095/* ------------------------- GL_EXT_polygon_offset ------------------------- */
8096
8097#ifndef GL_EXT_polygon_offset
8098#define GL_EXT_polygon_offset 1
8099
8100#define GL_POLYGON_OFFSET_EXT 0x8037
8101#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
8102#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
8103
8104typedef void (GLAPIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
8105
8106#define glPolygonOffsetEXT GLEW_GET_FUN(__glewPolygonOffsetEXT)
8107
8108#define GLEW_EXT_polygon_offset GLEW_GET_VAR(__GLEW_EXT_polygon_offset)
8109
8110#endif /* GL_EXT_polygon_offset */
8111
8112/* ------------------------ GL_EXT_provoking_vertex ------------------------ */
8113
8114#ifndef GL_EXT_provoking_vertex
8115#define GL_EXT_provoking_vertex 1
8116
8117#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
8118#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
8119#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
8120#define GL_PROVOKING_VERTEX_EXT 0x8E4F
8121
8122typedef void (GLAPIENTRY * PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
8123
8124#define glProvokingVertexEXT GLEW_GET_FUN(__glewProvokingVertexEXT)
8125
8126#define GLEW_EXT_provoking_vertex GLEW_GET_VAR(__GLEW_EXT_provoking_vertex)
8127
8128#endif /* GL_EXT_provoking_vertex */
8129
8130/* ------------------------- GL_EXT_rescale_normal ------------------------- */
8131
8132#ifndef GL_EXT_rescale_normal
8133#define GL_EXT_rescale_normal 1
8134
8135#define GL_RESCALE_NORMAL_EXT 0x803A
8136
8137#define GLEW_EXT_rescale_normal GLEW_GET_VAR(__GLEW_EXT_rescale_normal)
8138
8139#endif /* GL_EXT_rescale_normal */
8140
8141/* -------------------------- GL_EXT_scene_marker -------------------------- */
8142
8143#ifndef GL_EXT_scene_marker
8144#define GL_EXT_scene_marker 1
8145
8146typedef void (GLAPIENTRY * PFNGLBEGINSCENEEXTPROC) (void);
8147typedef void (GLAPIENTRY * PFNGLENDSCENEEXTPROC) (void);
8148
8149#define glBeginSceneEXT GLEW_GET_FUN(__glewBeginSceneEXT)
8150#define glEndSceneEXT GLEW_GET_FUN(__glewEndSceneEXT)
8151
8152#define GLEW_EXT_scene_marker GLEW_GET_VAR(__GLEW_EXT_scene_marker)
8153
8154#endif /* GL_EXT_scene_marker */
8155
8156/* ------------------------- GL_EXT_secondary_color ------------------------ */
8157
8158#ifndef GL_EXT_secondary_color
8159#define GL_EXT_secondary_color 1
8160
8161#define GL_COLOR_SUM_EXT 0x8458
8162#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
8163#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
8164#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
8165#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
8166#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
8167#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
8168
8169typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
8170typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
8171typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
8172typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
8173typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
8174typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
8175typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
8176typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
8177typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
8178typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
8179typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
8180typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
8181typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
8182typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
8183typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
8184typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
8185typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
8186
8187#define glSecondaryColor3bEXT GLEW_GET_FUN(__glewSecondaryColor3bEXT)
8188#define glSecondaryColor3bvEXT GLEW_GET_FUN(__glewSecondaryColor3bvEXT)
8189#define glSecondaryColor3dEXT GLEW_GET_FUN(__glewSecondaryColor3dEXT)
8190#define glSecondaryColor3dvEXT GLEW_GET_FUN(__glewSecondaryColor3dvEXT)
8191#define glSecondaryColor3fEXT GLEW_GET_FUN(__glewSecondaryColor3fEXT)
8192#define glSecondaryColor3fvEXT GLEW_GET_FUN(__glewSecondaryColor3fvEXT)
8193#define glSecondaryColor3iEXT GLEW_GET_FUN(__glewSecondaryColor3iEXT)
8194#define glSecondaryColor3ivEXT GLEW_GET_FUN(__glewSecondaryColor3ivEXT)
8195#define glSecondaryColor3sEXT GLEW_GET_FUN(__glewSecondaryColor3sEXT)
8196#define glSecondaryColor3svEXT GLEW_GET_FUN(__glewSecondaryColor3svEXT)
8197#define glSecondaryColor3ubEXT GLEW_GET_FUN(__glewSecondaryColor3ubEXT)
8198#define glSecondaryColor3ubvEXT GLEW_GET_FUN(__glewSecondaryColor3ubvEXT)
8199#define glSecondaryColor3uiEXT GLEW_GET_FUN(__glewSecondaryColor3uiEXT)
8200#define glSecondaryColor3uivEXT GLEW_GET_FUN(__glewSecondaryColor3uivEXT)
8201#define glSecondaryColor3usEXT GLEW_GET_FUN(__glewSecondaryColor3usEXT)
8202#define glSecondaryColor3usvEXT GLEW_GET_FUN(__glewSecondaryColor3usvEXT)
8203#define glSecondaryColorPointerEXT GLEW_GET_FUN(__glewSecondaryColorPointerEXT)
8204
8205#define GLEW_EXT_secondary_color GLEW_GET_VAR(__GLEW_EXT_secondary_color)
8206
8207#endif /* GL_EXT_secondary_color */
8208
8209/* --------------------- GL_EXT_separate_shader_objects -------------------- */
8210
8211#ifndef GL_EXT_separate_shader_objects
8212#define GL_EXT_separate_shader_objects 1
8213
8214#define GL_ACTIVE_PROGRAM_EXT 0x8B8D
8215
8216typedef void (GLAPIENTRY * PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
8217typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const char* string);
8218typedef void (GLAPIENTRY * PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
8219
8220#define glActiveProgramEXT GLEW_GET_FUN(__glewActiveProgramEXT)
8221#define glCreateShaderProgramEXT GLEW_GET_FUN(__glewCreateShaderProgramEXT)
8222#define glUseShaderProgramEXT GLEW_GET_FUN(__glewUseShaderProgramEXT)
8223
8224#define GLEW_EXT_separate_shader_objects GLEW_GET_VAR(__GLEW_EXT_separate_shader_objects)
8225
8226#endif /* GL_EXT_separate_shader_objects */
8227
8228/* --------------------- GL_EXT_separate_specular_color -------------------- */
8229
8230#ifndef GL_EXT_separate_specular_color
8231#define GL_EXT_separate_specular_color 1
8232
8233#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
8234#define GL_SINGLE_COLOR_EXT 0x81F9
8235#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
8236
8237#define GLEW_EXT_separate_specular_color GLEW_GET_VAR(__GLEW_EXT_separate_specular_color)
8238
8239#endif /* GL_EXT_separate_specular_color */
8240
8241/* --------------------- GL_EXT_shader_image_load_store -------------------- */
8242
8243#ifndef GL_EXT_shader_image_load_store
8244#define GL_EXT_shader_image_load_store 1
8245
8246#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
8247#define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
8248#define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
8249#define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
8250#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
8251#define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
8252#define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
8253#define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
8254#define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
8255#define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
8256#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
8257#define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
8258#define GL_MAX_IMAGE_UNITS_EXT 0x8F38
8259#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
8260#define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
8261#define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
8262#define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
8263#define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
8264#define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
8265#define GL_IMAGE_1D_EXT 0x904C
8266#define GL_IMAGE_2D_EXT 0x904D
8267#define GL_IMAGE_3D_EXT 0x904E
8268#define GL_IMAGE_2D_RECT_EXT 0x904F
8269#define GL_IMAGE_CUBE_EXT 0x9050
8270#define GL_IMAGE_BUFFER_EXT 0x9051
8271#define GL_IMAGE_1D_ARRAY_EXT 0x9052
8272#define GL_IMAGE_2D_ARRAY_EXT 0x9053
8273#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
8274#define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
8275#define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
8276#define GL_INT_IMAGE_1D_EXT 0x9057
8277#define GL_INT_IMAGE_2D_EXT 0x9058
8278#define GL_INT_IMAGE_3D_EXT 0x9059
8279#define GL_INT_IMAGE_2D_RECT_EXT 0x905A
8280#define GL_INT_IMAGE_CUBE_EXT 0x905B
8281#define GL_INT_IMAGE_BUFFER_EXT 0x905C
8282#define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
8283#define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
8284#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
8285#define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
8286#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
8287#define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
8288#define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
8289#define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
8290#define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
8291#define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
8292#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
8293#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
8294#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
8295#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
8296#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
8297#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
8298#define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
8299#define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
8300#define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
8301
8302typedef void (GLAPIENTRY * PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
8303typedef void (GLAPIENTRY * PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
8304
8305#define glBindImageTextureEXT GLEW_GET_FUN(__glewBindImageTextureEXT)
8306#define glMemoryBarrierEXT GLEW_GET_FUN(__glewMemoryBarrierEXT)
8307
8308#define GLEW_EXT_shader_image_load_store GLEW_GET_VAR(__GLEW_EXT_shader_image_load_store)
8309
8310#endif /* GL_EXT_shader_image_load_store */
8311
8312/* -------------------------- GL_EXT_shadow_funcs -------------------------- */
8313
8314#ifndef GL_EXT_shadow_funcs
8315#define GL_EXT_shadow_funcs 1
8316
8317#define GLEW_EXT_shadow_funcs GLEW_GET_VAR(__GLEW_EXT_shadow_funcs)
8318
8319#endif /* GL_EXT_shadow_funcs */
8320
8321/* --------------------- GL_EXT_shared_texture_palette --------------------- */
8322
8323#ifndef GL_EXT_shared_texture_palette
8324#define GL_EXT_shared_texture_palette 1
8325
8326#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
8327
8328#define GLEW_EXT_shared_texture_palette GLEW_GET_VAR(__GLEW_EXT_shared_texture_palette)
8329
8330#endif /* GL_EXT_shared_texture_palette */
8331
8332/* ------------------------ GL_EXT_stencil_clear_tag ----------------------- */
8333
8334#ifndef GL_EXT_stencil_clear_tag
8335#define GL_EXT_stencil_clear_tag 1
8336
8337#define GL_STENCIL_TAG_BITS_EXT 0x88F2
8338#define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
8339
8340#define GLEW_EXT_stencil_clear_tag GLEW_GET_VAR(__GLEW_EXT_stencil_clear_tag)
8341
8342#endif /* GL_EXT_stencil_clear_tag */
8343
8344/* ------------------------ GL_EXT_stencil_two_side ------------------------ */
8345
8346#ifndef GL_EXT_stencil_two_side
8347#define GL_EXT_stencil_two_side 1
8348
8349#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
8350#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
8351
8352typedef void (GLAPIENTRY * PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
8353
8354#define glActiveStencilFaceEXT GLEW_GET_FUN(__glewActiveStencilFaceEXT)
8355
8356#define GLEW_EXT_stencil_two_side GLEW_GET_VAR(__GLEW_EXT_stencil_two_side)
8357
8358#endif /* GL_EXT_stencil_two_side */
8359
8360/* -------------------------- GL_EXT_stencil_wrap -------------------------- */
8361
8362#ifndef GL_EXT_stencil_wrap
8363#define GL_EXT_stencil_wrap 1
8364
8365#define GL_INCR_WRAP_EXT 0x8507
8366#define GL_DECR_WRAP_EXT 0x8508
8367
8368#define GLEW_EXT_stencil_wrap GLEW_GET_VAR(__GLEW_EXT_stencil_wrap)
8369
8370#endif /* GL_EXT_stencil_wrap */
8371
8372/* --------------------------- GL_EXT_subtexture --------------------------- */
8373
8374#ifndef GL_EXT_subtexture
8375#define GL_EXT_subtexture 1
8376
8377typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels);
8378typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels);
8379typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
8380
8381#define glTexSubImage1DEXT GLEW_GET_FUN(__glewTexSubImage1DEXT)
8382#define glTexSubImage2DEXT GLEW_GET_FUN(__glewTexSubImage2DEXT)
8383#define glTexSubImage3DEXT GLEW_GET_FUN(__glewTexSubImage3DEXT)
8384
8385#define GLEW_EXT_subtexture GLEW_GET_VAR(__GLEW_EXT_subtexture)
8386
8387#endif /* GL_EXT_subtexture */
8388
8389/* ----------------------------- GL_EXT_texture ---------------------------- */
8390
8391#ifndef GL_EXT_texture
8392#define GL_EXT_texture 1
8393
8394#define GL_ALPHA4_EXT 0x803B
8395#define GL_ALPHA8_EXT 0x803C
8396#define GL_ALPHA12_EXT 0x803D
8397#define GL_ALPHA16_EXT 0x803E
8398#define GL_LUMINANCE4_EXT 0x803F
8399#define GL_LUMINANCE8_EXT 0x8040
8400#define GL_LUMINANCE12_EXT 0x8041
8401#define GL_LUMINANCE16_EXT 0x8042
8402#define GL_LUMINANCE4_ALPHA4_EXT 0x8043
8403#define GL_LUMINANCE6_ALPHA2_EXT 0x8044
8404#define GL_LUMINANCE8_ALPHA8_EXT 0x8045
8405#define GL_LUMINANCE12_ALPHA4_EXT 0x8046
8406#define GL_LUMINANCE12_ALPHA12_EXT 0x8047
8407#define GL_LUMINANCE16_ALPHA16_EXT 0x8048
8408#define GL_INTENSITY_EXT 0x8049
8409#define GL_INTENSITY4_EXT 0x804A
8410#define GL_INTENSITY8_EXT 0x804B
8411#define GL_INTENSITY12_EXT 0x804C
8412#define GL_INTENSITY16_EXT 0x804D
8413#define GL_RGB2_EXT 0x804E
8414#define GL_RGB4_EXT 0x804F
8415#define GL_RGB5_EXT 0x8050
8416#define GL_RGB8_EXT 0x8051
8417#define GL_RGB10_EXT 0x8052
8418#define GL_RGB12_EXT 0x8053
8419#define GL_RGB16_EXT 0x8054
8420#define GL_RGBA2_EXT 0x8055
8421#define GL_RGBA4_EXT 0x8056
8422#define GL_RGB5_A1_EXT 0x8057
8423#define GL_RGBA8_EXT 0x8058
8424#define GL_RGB10_A2_EXT 0x8059
8425#define GL_RGBA12_EXT 0x805A
8426#define GL_RGBA16_EXT 0x805B
8427#define GL_TEXTURE_RED_SIZE_EXT 0x805C
8428#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
8429#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
8430#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
8431#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
8432#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
8433#define GL_REPLACE_EXT 0x8062
8434#define GL_PROXY_TEXTURE_1D_EXT 0x8063
8435#define GL_PROXY_TEXTURE_2D_EXT 0x8064
8436
8437#define GLEW_EXT_texture GLEW_GET_VAR(__GLEW_EXT_texture)
8438
8439#endif /* GL_EXT_texture */
8440
8441/* ---------------------------- GL_EXT_texture3D --------------------------- */
8442
8443#ifndef GL_EXT_texture3D
8444#define GL_EXT_texture3D 1
8445
8446#define GL_PACK_SKIP_IMAGES_EXT 0x806B
8447#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
8448#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
8449#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
8450#define GL_TEXTURE_3D_EXT 0x806F
8451#define GL_PROXY_TEXTURE_3D_EXT 0x8070
8452#define GL_TEXTURE_DEPTH_EXT 0x8071
8453#define GL_TEXTURE_WRAP_R_EXT 0x8072
8454#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
8455
8456typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
8457
8458#define glTexImage3DEXT GLEW_GET_FUN(__glewTexImage3DEXT)
8459
8460#define GLEW_EXT_texture3D GLEW_GET_VAR(__GLEW_EXT_texture3D)
8461
8462#endif /* GL_EXT_texture3D */
8463
8464/* -------------------------- GL_EXT_texture_array ------------------------- */
8465
8466#ifndef GL_EXT_texture_array
8467#define GL_EXT_texture_array 1
8468
8469#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
8470#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
8471#define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
8472#define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
8473#define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
8474#define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
8475#define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
8476#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
8477
8478typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8479
8480#define glFramebufferTextureLayerEXT GLEW_GET_FUN(__glewFramebufferTextureLayerEXT)
8481
8482#define GLEW_EXT_texture_array GLEW_GET_VAR(__GLEW_EXT_texture_array)
8483
8484#endif /* GL_EXT_texture_array */
8485
8486/* ---------------------- GL_EXT_texture_buffer_object --------------------- */
8487
8488#ifndef GL_EXT_texture_buffer_object
8489#define GL_EXT_texture_buffer_object 1
8490
8491#define GL_TEXTURE_BUFFER_EXT 0x8C2A
8492#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
8493#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
8494#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
8495#define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
8496
8497typedef void (GLAPIENTRY * PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
8498
8499#define glTexBufferEXT GLEW_GET_FUN(__glewTexBufferEXT)
8500
8501#define GLEW_EXT_texture_buffer_object GLEW_GET_VAR(__GLEW_EXT_texture_buffer_object)
8502
8503#endif /* GL_EXT_texture_buffer_object */
8504
8505/* -------------------- GL_EXT_texture_compression_dxt1 -------------------- */
8506
8507#ifndef GL_EXT_texture_compression_dxt1
8508#define GL_EXT_texture_compression_dxt1 1
8509
8510#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
8511#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
8512
8513#define GLEW_EXT_texture_compression_dxt1 GLEW_GET_VAR(__GLEW_EXT_texture_compression_dxt1)
8514
8515#endif /* GL_EXT_texture_compression_dxt1 */
8516
8517/* -------------------- GL_EXT_texture_compression_latc -------------------- */
8518
8519#ifndef GL_EXT_texture_compression_latc
8520#define GL_EXT_texture_compression_latc 1
8521
8522#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
8523#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
8524#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
8525#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
8526
8527#define GLEW_EXT_texture_compression_latc GLEW_GET_VAR(__GLEW_EXT_texture_compression_latc)
8528
8529#endif /* GL_EXT_texture_compression_latc */
8530
8531/* -------------------- GL_EXT_texture_compression_rgtc -------------------- */
8532
8533#ifndef GL_EXT_texture_compression_rgtc
8534#define GL_EXT_texture_compression_rgtc 1
8535
8536#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
8537#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
8538#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
8539#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
8540
8541#define GLEW_EXT_texture_compression_rgtc GLEW_GET_VAR(__GLEW_EXT_texture_compression_rgtc)
8542
8543#endif /* GL_EXT_texture_compression_rgtc */
8544
8545/* -------------------- GL_EXT_texture_compression_s3tc -------------------- */
8546
8547#ifndef GL_EXT_texture_compression_s3tc
8548#define GL_EXT_texture_compression_s3tc 1
8549
8550#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
8551#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
8552#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
8553#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
8554
8555#define GLEW_EXT_texture_compression_s3tc GLEW_GET_VAR(__GLEW_EXT_texture_compression_s3tc)
8556
8557#endif /* GL_EXT_texture_compression_s3tc */
8558
8559/* ------------------------ GL_EXT_texture_cube_map ------------------------ */
8560
8561#ifndef GL_EXT_texture_cube_map
8562#define GL_EXT_texture_cube_map 1
8563
8564#define GL_NORMAL_MAP_EXT 0x8511
8565#define GL_REFLECTION_MAP_EXT 0x8512
8566#define GL_TEXTURE_CUBE_MAP_EXT 0x8513
8567#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
8568#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
8569#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
8570#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
8571#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
8572#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
8573#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
8574#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
8575#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
8576
8577#define GLEW_EXT_texture_cube_map GLEW_GET_VAR(__GLEW_EXT_texture_cube_map)
8578
8579#endif /* GL_EXT_texture_cube_map */
8580
8581/* ----------------------- GL_EXT_texture_edge_clamp ----------------------- */
8582
8583#ifndef GL_EXT_texture_edge_clamp
8584#define GL_EXT_texture_edge_clamp 1
8585
8586#define GL_CLAMP_TO_EDGE_EXT 0x812F
8587
8588#define GLEW_EXT_texture_edge_clamp GLEW_GET_VAR(__GLEW_EXT_texture_edge_clamp)
8589
8590#endif /* GL_EXT_texture_edge_clamp */
8591
8592/* --------------------------- GL_EXT_texture_env -------------------------- */
8593
8594#ifndef GL_EXT_texture_env
8595#define GL_EXT_texture_env 1
8596
8597#define GL_TEXTURE_ENV0_EXT 0
8598#define GL_ENV_BLEND_EXT 0
8599#define GL_TEXTURE_ENV_SHIFT_EXT 0
8600#define GL_ENV_REPLACE_EXT 0
8601#define GL_ENV_ADD_EXT 0
8602#define GL_ENV_SUBTRACT_EXT 0
8603#define GL_TEXTURE_ENV_MODE_ALPHA_EXT 0
8604#define GL_ENV_REVERSE_SUBTRACT_EXT 0
8605#define GL_ENV_REVERSE_BLEND_EXT 0
8606#define GL_ENV_COPY_EXT 0
8607#define GL_ENV_MODULATE_EXT 0
8608
8609#define GLEW_EXT_texture_env GLEW_GET_VAR(__GLEW_EXT_texture_env)
8610
8611#endif /* GL_EXT_texture_env */
8612
8613/* ------------------------- GL_EXT_texture_env_add ------------------------ */
8614
8615#ifndef GL_EXT_texture_env_add
8616#define GL_EXT_texture_env_add 1
8617
8618#define GLEW_EXT_texture_env_add GLEW_GET_VAR(__GLEW_EXT_texture_env_add)
8619
8620#endif /* GL_EXT_texture_env_add */
8621
8622/* ----------------------- GL_EXT_texture_env_combine ---------------------- */
8623
8624#ifndef GL_EXT_texture_env_combine
8625#define GL_EXT_texture_env_combine 1
8626
8627#define GL_COMBINE_EXT 0x8570
8628#define GL_COMBINE_RGB_EXT 0x8571
8629#define GL_COMBINE_ALPHA_EXT 0x8572
8630#define GL_RGB_SCALE_EXT 0x8573
8631#define GL_ADD_SIGNED_EXT 0x8574
8632#define GL_INTERPOLATE_EXT 0x8575
8633#define GL_CONSTANT_EXT 0x8576
8634#define GL_PRIMARY_COLOR_EXT 0x8577
8635#define GL_PREVIOUS_EXT 0x8578
8636#define GL_SOURCE0_RGB_EXT 0x8580
8637#define GL_SOURCE1_RGB_EXT 0x8581
8638#define GL_SOURCE2_RGB_EXT 0x8582
8639#define GL_SOURCE0_ALPHA_EXT 0x8588
8640#define GL_SOURCE1_ALPHA_EXT 0x8589
8641#define GL_SOURCE2_ALPHA_EXT 0x858A
8642#define GL_OPERAND0_RGB_EXT 0x8590
8643#define GL_OPERAND1_RGB_EXT 0x8591
8644#define GL_OPERAND2_RGB_EXT 0x8592
8645#define GL_OPERAND0_ALPHA_EXT 0x8598
8646#define GL_OPERAND1_ALPHA_EXT 0x8599
8647#define GL_OPERAND2_ALPHA_EXT 0x859A
8648
8649#define GLEW_EXT_texture_env_combine GLEW_GET_VAR(__GLEW_EXT_texture_env_combine)
8650
8651#endif /* GL_EXT_texture_env_combine */
8652
8653/* ------------------------ GL_EXT_texture_env_dot3 ------------------------ */
8654
8655#ifndef GL_EXT_texture_env_dot3
8656#define GL_EXT_texture_env_dot3 1
8657
8658#define GL_DOT3_RGB_EXT 0x8740
8659#define GL_DOT3_RGBA_EXT 0x8741
8660
8661#define GLEW_EXT_texture_env_dot3 GLEW_GET_VAR(__GLEW_EXT_texture_env_dot3)
8662
8663#endif /* GL_EXT_texture_env_dot3 */
8664
8665/* ------------------- GL_EXT_texture_filter_anisotropic ------------------- */
8666
8667#ifndef GL_EXT_texture_filter_anisotropic
8668#define GL_EXT_texture_filter_anisotropic 1
8669
8670#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
8671#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
8672
8673#define GLEW_EXT_texture_filter_anisotropic GLEW_GET_VAR(__GLEW_EXT_texture_filter_anisotropic)
8674
8675#endif /* GL_EXT_texture_filter_anisotropic */
8676
8677/* ------------------------- GL_EXT_texture_integer ------------------------ */
8678
8679#ifndef GL_EXT_texture_integer
8680#define GL_EXT_texture_integer 1
8681
8682#define GL_RGBA32UI_EXT 0x8D70
8683#define GL_RGB32UI_EXT 0x8D71
8684#define GL_ALPHA32UI_EXT 0x8D72
8685#define GL_INTENSITY32UI_EXT 0x8D73
8686#define GL_LUMINANCE32UI_EXT 0x8D74
8687#define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
8688#define GL_RGBA16UI_EXT 0x8D76
8689#define GL_RGB16UI_EXT 0x8D77
8690#define GL_ALPHA16UI_EXT 0x8D78
8691#define GL_INTENSITY16UI_EXT 0x8D79
8692#define GL_LUMINANCE16UI_EXT 0x8D7A
8693#define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
8694#define GL_RGBA8UI_EXT 0x8D7C
8695#define GL_RGB8UI_EXT 0x8D7D
8696#define GL_ALPHA8UI_EXT 0x8D7E
8697#define GL_INTENSITY8UI_EXT 0x8D7F
8698#define GL_LUMINANCE8UI_EXT 0x8D80
8699#define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
8700#define GL_RGBA32I_EXT 0x8D82
8701#define GL_RGB32I_EXT 0x8D83
8702#define GL_ALPHA32I_EXT 0x8D84
8703#define GL_INTENSITY32I_EXT 0x8D85
8704#define GL_LUMINANCE32I_EXT 0x8D86
8705#define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
8706#define GL_RGBA16I_EXT 0x8D88
8707#define GL_RGB16I_EXT 0x8D89
8708#define GL_ALPHA16I_EXT 0x8D8A
8709#define GL_INTENSITY16I_EXT 0x8D8B
8710#define GL_LUMINANCE16I_EXT 0x8D8C
8711#define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
8712#define GL_RGBA8I_EXT 0x8D8E
8713#define GL_RGB8I_EXT 0x8D8F
8714#define GL_ALPHA8I_EXT 0x8D90
8715#define GL_INTENSITY8I_EXT 0x8D91
8716#define GL_LUMINANCE8I_EXT 0x8D92
8717#define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
8718#define GL_RED_INTEGER_EXT 0x8D94
8719#define GL_GREEN_INTEGER_EXT 0x8D95
8720#define GL_BLUE_INTEGER_EXT 0x8D96
8721#define GL_ALPHA_INTEGER_EXT 0x8D97
8722#define GL_RGB_INTEGER_EXT 0x8D98
8723#define GL_RGBA_INTEGER_EXT 0x8D99
8724#define GL_BGR_INTEGER_EXT 0x8D9A
8725#define GL_BGRA_INTEGER_EXT 0x8D9B
8726#define GL_LUMINANCE_INTEGER_EXT 0x8D9C
8727#define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
8728#define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
8729
8730typedef void (GLAPIENTRY * PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
8731typedef void (GLAPIENTRY * PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
8732typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
8733typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
8734typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
8735typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
8736
8737#define glClearColorIiEXT GLEW_GET_FUN(__glewClearColorIiEXT)
8738#define glClearColorIuiEXT GLEW_GET_FUN(__glewClearColorIuiEXT)
8739#define glGetTexParameterIivEXT GLEW_GET_FUN(__glewGetTexParameterIivEXT)
8740#define glGetTexParameterIuivEXT GLEW_GET_FUN(__glewGetTexParameterIuivEXT)
8741#define glTexParameterIivEXT GLEW_GET_FUN(__glewTexParameterIivEXT)
8742#define glTexParameterIuivEXT GLEW_GET_FUN(__glewTexParameterIuivEXT)
8743
8744#define GLEW_EXT_texture_integer GLEW_GET_VAR(__GLEW_EXT_texture_integer)
8745
8746#endif /* GL_EXT_texture_integer */
8747
8748/* ------------------------ GL_EXT_texture_lod_bias ------------------------ */
8749
8750#ifndef GL_EXT_texture_lod_bias
8751#define GL_EXT_texture_lod_bias 1
8752
8753#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
8754#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
8755#define GL_TEXTURE_LOD_BIAS_EXT 0x8501
8756
8757#define GLEW_EXT_texture_lod_bias GLEW_GET_VAR(__GLEW_EXT_texture_lod_bias)
8758
8759#endif /* GL_EXT_texture_lod_bias */
8760
8761/* ---------------------- GL_EXT_texture_mirror_clamp ---------------------- */
8762
8763#ifndef GL_EXT_texture_mirror_clamp
8764#define GL_EXT_texture_mirror_clamp 1
8765
8766#define GL_MIRROR_CLAMP_EXT 0x8742
8767#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
8768#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
8769
8770#define GLEW_EXT_texture_mirror_clamp GLEW_GET_VAR(__GLEW_EXT_texture_mirror_clamp)
8771
8772#endif /* GL_EXT_texture_mirror_clamp */
8773
8774/* ------------------------- GL_EXT_texture_object ------------------------- */
8775
8776#ifndef GL_EXT_texture_object
8777#define GL_EXT_texture_object 1
8778
8779#define GL_TEXTURE_PRIORITY_EXT 0x8066
8780#define GL_TEXTURE_RESIDENT_EXT 0x8067
8781#define GL_TEXTURE_1D_BINDING_EXT 0x8068
8782#define GL_TEXTURE_2D_BINDING_EXT 0x8069
8783#define GL_TEXTURE_3D_BINDING_EXT 0x806A
8784
8785typedef GLboolean (GLAPIENTRY * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint* textures, GLboolean* residences);
8786typedef void (GLAPIENTRY * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
8787typedef void (GLAPIENTRY * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint* textures);
8788typedef void (GLAPIENTRY * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint* textures);
8789typedef GLboolean (GLAPIENTRY * PFNGLISTEXTUREEXTPROC) (GLuint texture);
8790typedef void (GLAPIENTRY * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint* textures, const GLclampf* priorities);
8791
8792#define glAreTexturesResidentEXT GLEW_GET_FUN(__glewAreTexturesResidentEXT)
8793#define glBindTextureEXT GLEW_GET_FUN(__glewBindTextureEXT)
8794#define glDeleteTexturesEXT GLEW_GET_FUN(__glewDeleteTexturesEXT)
8795#define glGenTexturesEXT GLEW_GET_FUN(__glewGenTexturesEXT)
8796#define glIsTextureEXT GLEW_GET_FUN(__glewIsTextureEXT)
8797#define glPrioritizeTexturesEXT GLEW_GET_FUN(__glewPrioritizeTexturesEXT)
8798
8799#define GLEW_EXT_texture_object GLEW_GET_VAR(__GLEW_EXT_texture_object)
8800
8801#endif /* GL_EXT_texture_object */
8802
8803/* --------------------- GL_EXT_texture_perturb_normal --------------------- */
8804
8805#ifndef GL_EXT_texture_perturb_normal
8806#define GL_EXT_texture_perturb_normal 1
8807
8808#define GL_PERTURB_EXT 0x85AE
8809#define GL_TEXTURE_NORMAL_EXT 0x85AF
8810
8811typedef void (GLAPIENTRY * PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
8812
8813#define glTextureNormalEXT GLEW_GET_FUN(__glewTextureNormalEXT)
8814
8815#define GLEW_EXT_texture_perturb_normal GLEW_GET_VAR(__GLEW_EXT_texture_perturb_normal)
8816
8817#endif /* GL_EXT_texture_perturb_normal */
8818
8819/* ------------------------ GL_EXT_texture_rectangle ----------------------- */
8820
8821#ifndef GL_EXT_texture_rectangle
8822#define GL_EXT_texture_rectangle 1
8823
8824#define GL_TEXTURE_RECTANGLE_EXT 0x84F5
8825#define GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6
8826#define GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7
8827#define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8
8828
8829#define GLEW_EXT_texture_rectangle GLEW_GET_VAR(__GLEW_EXT_texture_rectangle)
8830
8831#endif /* GL_EXT_texture_rectangle */
8832
8833/* -------------------------- GL_EXT_texture_sRGB -------------------------- */
8834
8835#ifndef GL_EXT_texture_sRGB
8836#define GL_EXT_texture_sRGB 1
8837
8838#define GL_SRGB_EXT 0x8C40
8839#define GL_SRGB8_EXT 0x8C41
8840#define GL_SRGB_ALPHA_EXT 0x8C42
8841#define GL_SRGB8_ALPHA8_EXT 0x8C43
8842#define GL_SLUMINANCE_ALPHA_EXT 0x8C44
8843#define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
8844#define GL_SLUMINANCE_EXT 0x8C46
8845#define GL_SLUMINANCE8_EXT 0x8C47
8846#define GL_COMPRESSED_SRGB_EXT 0x8C48
8847#define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
8848#define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
8849#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
8850#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
8851#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
8852#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
8853#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
8854
8855#define GLEW_EXT_texture_sRGB GLEW_GET_VAR(__GLEW_EXT_texture_sRGB)
8856
8857#endif /* GL_EXT_texture_sRGB */
8858
8859/* ----------------------- GL_EXT_texture_sRGB_decode ---------------------- */
8860
8861#ifndef GL_EXT_texture_sRGB_decode
8862#define GL_EXT_texture_sRGB_decode 1
8863
8864#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
8865#define GL_DECODE_EXT 0x8A49
8866#define GL_SKIP_DECODE_EXT 0x8A4A
8867
8868#define GLEW_EXT_texture_sRGB_decode GLEW_GET_VAR(__GLEW_EXT_texture_sRGB_decode)
8869
8870#endif /* GL_EXT_texture_sRGB_decode */
8871
8872/* --------------------- GL_EXT_texture_shared_exponent -------------------- */
8873
8874#ifndef GL_EXT_texture_shared_exponent
8875#define GL_EXT_texture_shared_exponent 1
8876
8877#define GL_RGB9_E5_EXT 0x8C3D
8878#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
8879#define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
8880
8881#define GLEW_EXT_texture_shared_exponent GLEW_GET_VAR(__GLEW_EXT_texture_shared_exponent)
8882
8883#endif /* GL_EXT_texture_shared_exponent */
8884
8885/* -------------------------- GL_EXT_texture_snorm ------------------------- */
8886
8887#ifndef GL_EXT_texture_snorm
8888#define GL_EXT_texture_snorm 1
8889
8890#define GL_RED_SNORM 0x8F90
8891#define GL_RG_SNORM 0x8F91
8892#define GL_RGB_SNORM 0x8F92
8893#define GL_RGBA_SNORM 0x8F93
8894#define GL_R8_SNORM 0x8F94
8895#define GL_RG8_SNORM 0x8F95
8896#define GL_RGB8_SNORM 0x8F96
8897#define GL_RGBA8_SNORM 0x8F97
8898#define GL_R16_SNORM 0x8F98
8899#define GL_RG16_SNORM 0x8F99
8900#define GL_RGB16_SNORM 0x8F9A
8901#define GL_RGBA16_SNORM 0x8F9B
8902#define GL_SIGNED_NORMALIZED 0x8F9C
8903#define GL_ALPHA_SNORM 0x9010
8904#define GL_LUMINANCE_SNORM 0x9011
8905#define GL_LUMINANCE_ALPHA_SNORM 0x9012
8906#define GL_INTENSITY_SNORM 0x9013
8907#define GL_ALPHA8_SNORM 0x9014
8908#define GL_LUMINANCE8_SNORM 0x9015
8909#define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
8910#define GL_INTENSITY8_SNORM 0x9017
8911#define GL_ALPHA16_SNORM 0x9018
8912#define GL_LUMINANCE16_SNORM 0x9019
8913#define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
8914#define GL_INTENSITY16_SNORM 0x901B
8915
8916#define GLEW_EXT_texture_snorm GLEW_GET_VAR(__GLEW_EXT_texture_snorm)
8917
8918#endif /* GL_EXT_texture_snorm */
8919
8920/* ------------------------- GL_EXT_texture_swizzle ------------------------ */
8921
8922#ifndef GL_EXT_texture_swizzle
8923#define GL_EXT_texture_swizzle 1
8924
8925#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
8926#define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
8927#define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
8928#define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
8929#define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
8930
8931#define GLEW_EXT_texture_swizzle GLEW_GET_VAR(__GLEW_EXT_texture_swizzle)
8932
8933#endif /* GL_EXT_texture_swizzle */
8934
8935/* --------------------------- GL_EXT_timer_query -------------------------- */
8936
8937#ifndef GL_EXT_timer_query
8938#define GL_EXT_timer_query 1
8939
8940#define GL_TIME_ELAPSED_EXT 0x88BF
8941
8942typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
8943typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
8944
8945#define glGetQueryObjecti64vEXT GLEW_GET_FUN(__glewGetQueryObjecti64vEXT)
8946#define glGetQueryObjectui64vEXT GLEW_GET_FUN(__glewGetQueryObjectui64vEXT)
8947
8948#define GLEW_EXT_timer_query GLEW_GET_VAR(__GLEW_EXT_timer_query)
8949
8950#endif /* GL_EXT_timer_query */
8951
8952/* ----------------------- GL_EXT_transform_feedback ----------------------- */
8953
8954#ifndef GL_EXT_transform_feedback
8955#define GL_EXT_transform_feedback 1
8956
8957#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
8958#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
8959#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
8960#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
8961#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
8962#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
8963#define GL_PRIMITIVES_GENERATED_EXT 0x8C87
8964#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
8965#define GL_RASTERIZER_DISCARD_EXT 0x8C89
8966#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
8967#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
8968#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
8969#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
8970#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
8971#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
8972
8973typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
8974typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
8975typedef void (GLAPIENTRY * PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
8976typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
8977typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
8978typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei *size, GLenum *type, char *name);
8979typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const char ** varyings, GLenum bufferMode);
8980
8981#define glBeginTransformFeedbackEXT GLEW_GET_FUN(__glewBeginTransformFeedbackEXT)
8982#define glBindBufferBaseEXT GLEW_GET_FUN(__glewBindBufferBaseEXT)
8983#define glBindBufferOffsetEXT GLEW_GET_FUN(__glewBindBufferOffsetEXT)
8984#define glBindBufferRangeEXT GLEW_GET_FUN(__glewBindBufferRangeEXT)
8985#define glEndTransformFeedbackEXT GLEW_GET_FUN(__glewEndTransformFeedbackEXT)
8986#define glGetTransformFeedbackVaryingEXT GLEW_GET_FUN(__glewGetTransformFeedbackVaryingEXT)
8987#define glTransformFeedbackVaryingsEXT GLEW_GET_FUN(__glewTransformFeedbackVaryingsEXT)
8988
8989#define GLEW_EXT_transform_feedback GLEW_GET_VAR(__GLEW_EXT_transform_feedback)
8990
8991#endif /* GL_EXT_transform_feedback */
8992
8993/* -------------------------- GL_EXT_vertex_array -------------------------- */
8994
8995#ifndef GL_EXT_vertex_array
8996#define GL_EXT_vertex_array 1
8997
8998#define GL_DOUBLE_EXT 0x140A
8999#define GL_VERTEX_ARRAY_EXT 0x8074
9000#define GL_NORMAL_ARRAY_EXT 0x8075
9001#define GL_COLOR_ARRAY_EXT 0x8076
9002#define GL_INDEX_ARRAY_EXT 0x8077
9003#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
9004#define GL_EDGE_FLAG_ARRAY_EXT 0x8079
9005#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
9006#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
9007#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
9008#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
9009#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
9010#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
9011#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
9012#define GL_COLOR_ARRAY_SIZE_EXT 0x8081
9013#define GL_COLOR_ARRAY_TYPE_EXT 0x8082
9014#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
9015#define GL_COLOR_ARRAY_COUNT_EXT 0x8084
9016#define GL_INDEX_ARRAY_TYPE_EXT 0x8085
9017#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
9018#define GL_INDEX_ARRAY_COUNT_EXT 0x8087
9019#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
9020#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
9021#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
9022#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
9023#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
9024#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
9025#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
9026#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
9027#define GL_COLOR_ARRAY_POINTER_EXT 0x8090
9028#define GL_INDEX_ARRAY_POINTER_EXT 0x8091
9029#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
9030#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
9031
9032typedef void (GLAPIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i);
9033typedef void (GLAPIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer);
9034typedef void (GLAPIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
9035typedef void (GLAPIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean* pointer);
9036typedef void (GLAPIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void* pointer);
9037typedef void (GLAPIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void* pointer);
9038typedef void (GLAPIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer);
9039typedef void (GLAPIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer);
9040
9041#define glArrayElementEXT GLEW_GET_FUN(__glewArrayElementEXT)
9042#define glColorPointerEXT GLEW_GET_FUN(__glewColorPointerEXT)
9043#define glDrawArraysEXT GLEW_GET_FUN(__glewDrawArraysEXT)
9044#define glEdgeFlagPointerEXT GLEW_GET_FUN(__glewEdgeFlagPointerEXT)
9045#define glIndexPointerEXT GLEW_GET_FUN(__glewIndexPointerEXT)
9046#define glNormalPointerEXT GLEW_GET_FUN(__glewNormalPointerEXT)
9047#define glTexCoordPointerEXT GLEW_GET_FUN(__glewTexCoordPointerEXT)
9048#define glVertexPointerEXT GLEW_GET_FUN(__glewVertexPointerEXT)
9049
9050#define GLEW_EXT_vertex_array GLEW_GET_VAR(__GLEW_EXT_vertex_array)
9051
9052#endif /* GL_EXT_vertex_array */
9053
9054/* ------------------------ GL_EXT_vertex_array_bgra ----------------------- */
9055
9056#ifndef GL_EXT_vertex_array_bgra
9057#define GL_EXT_vertex_array_bgra 1
9058
9059#define GL_BGRA 0x80E1
9060
9061#define GLEW_EXT_vertex_array_bgra GLEW_GET_VAR(__GLEW_EXT_vertex_array_bgra)
9062
9063#endif /* GL_EXT_vertex_array_bgra */
9064
9065/* ----------------------- GL_EXT_vertex_attrib_64bit ---------------------- */
9066
9067#ifndef GL_EXT_vertex_attrib_64bit
9068#define GL_EXT_vertex_attrib_64bit 1
9069
9070#define GL_DOUBLE_MAT2_EXT 0x8F46
9071#define GL_DOUBLE_MAT3_EXT 0x8F47
9072#define GL_DOUBLE_MAT4_EXT 0x8F48
9073#define GL_DOUBLE_MAT2x3_EXT 0x8F49
9074#define GL_DOUBLE_MAT2x4_EXT 0x8F4A
9075#define GL_DOUBLE_MAT3x2_EXT 0x8F4B
9076#define GL_DOUBLE_MAT3x4_EXT 0x8F4C
9077#define GL_DOUBLE_MAT4x2_EXT 0x8F4D
9078#define GL_DOUBLE_MAT4x3_EXT 0x8F4E
9079#define GL_DOUBLE_VEC2_EXT 0x8FFC
9080#define GL_DOUBLE_VEC3_EXT 0x8FFD
9081#define GL_DOUBLE_VEC4_EXT 0x8FFE
9082
9083typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble* params);
9084typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
9085typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
9086typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble* v);
9087typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
9088typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble* v);
9089typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
9090typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble* v);
9091typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9092typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble* v);
9093typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer);
9094
9095#define glGetVertexAttribLdvEXT GLEW_GET_FUN(__glewGetVertexAttribLdvEXT)
9096#define glVertexArrayVertexAttribLOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexAttribLOffsetEXT)
9097#define glVertexAttribL1dEXT GLEW_GET_FUN(__glewVertexAttribL1dEXT)
9098#define glVertexAttribL1dvEXT GLEW_GET_FUN(__glewVertexAttribL1dvEXT)
9099#define glVertexAttribL2dEXT GLEW_GET_FUN(__glewVertexAttribL2dEXT)
9100#define glVertexAttribL2dvEXT GLEW_GET_FUN(__glewVertexAttribL2dvEXT)
9101#define glVertexAttribL3dEXT GLEW_GET_FUN(__glewVertexAttribL3dEXT)
9102#define glVertexAttribL3dvEXT GLEW_GET_FUN(__glewVertexAttribL3dvEXT)
9103#define glVertexAttribL4dEXT GLEW_GET_FUN(__glewVertexAttribL4dEXT)
9104#define glVertexAttribL4dvEXT GLEW_GET_FUN(__glewVertexAttribL4dvEXT)
9105#define glVertexAttribLPointerEXT GLEW_GET_FUN(__glewVertexAttribLPointerEXT)
9106
9107#define GLEW_EXT_vertex_attrib_64bit GLEW_GET_VAR(__GLEW_EXT_vertex_attrib_64bit)
9108
9109#endif /* GL_EXT_vertex_attrib_64bit */
9110
9111/* -------------------------- GL_EXT_vertex_shader ------------------------- */
9112
9113#ifndef GL_EXT_vertex_shader
9114#define GL_EXT_vertex_shader 1
9115
9116#define GL_VERTEX_SHADER_EXT 0x8780
9117#define GL_VERTEX_SHADER_BINDING_EXT 0x8781
9118#define GL_OP_INDEX_EXT 0x8782
9119#define GL_OP_NEGATE_EXT 0x8783
9120#define GL_OP_DOT3_EXT 0x8784
9121#define GL_OP_DOT4_EXT 0x8785
9122#define GL_OP_MUL_EXT 0x8786
9123#define GL_OP_ADD_EXT 0x8787
9124#define GL_OP_MADD_EXT 0x8788
9125#define GL_OP_FRAC_EXT 0x8789
9126#define GL_OP_MAX_EXT 0x878A
9127#define GL_OP_MIN_EXT 0x878B
9128#define GL_OP_SET_GE_EXT 0x878C
9129#define GL_OP_SET_LT_EXT 0x878D
9130#define GL_OP_CLAMP_EXT 0x878E
9131#define GL_OP_FLOOR_EXT 0x878F
9132#define GL_OP_ROUND_EXT 0x8790
9133#define GL_OP_EXP_BASE_2_EXT 0x8791
9134#define GL_OP_LOG_BASE_2_EXT 0x8792
9135#define GL_OP_POWER_EXT 0x8793
9136#define GL_OP_RECIP_EXT 0x8794
9137#define GL_OP_RECIP_SQRT_EXT 0x8795
9138#define GL_OP_SUB_EXT 0x8796
9139#define GL_OP_CROSS_PRODUCT_EXT 0x8797
9140#define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
9141#define GL_OP_MOV_EXT 0x8799
9142#define GL_OUTPUT_VERTEX_EXT 0x879A
9143#define GL_OUTPUT_COLOR0_EXT 0x879B
9144#define GL_OUTPUT_COLOR1_EXT 0x879C
9145#define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
9146#define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
9147#define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
9148#define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
9149#define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
9150#define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
9151#define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
9152#define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
9153#define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
9154#define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
9155#define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
9156#define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
9157#define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
9158#define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
9159#define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
9160#define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
9161#define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
9162#define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
9163#define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
9164#define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
9165#define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
9166#define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
9167#define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
9168#define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
9169#define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
9170#define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
9171#define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
9172#define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
9173#define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
9174#define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
9175#define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
9176#define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
9177#define GL_OUTPUT_FOG_EXT 0x87BD
9178#define GL_SCALAR_EXT 0x87BE
9179#define GL_VECTOR_EXT 0x87BF
9180#define GL_MATRIX_EXT 0x87C0
9181#define GL_VARIANT_EXT 0x87C1
9182#define GL_INVARIANT_EXT 0x87C2
9183#define GL_LOCAL_CONSTANT_EXT 0x87C3
9184#define GL_LOCAL_EXT 0x87C4
9185#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
9186#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
9187#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
9188#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
9189#define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
9190#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
9191#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
9192#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CC
9193#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CD
9194#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
9195#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
9196#define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
9197#define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
9198#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
9199#define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
9200#define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
9201#define GL_X_EXT 0x87D5
9202#define GL_Y_EXT 0x87D6
9203#define GL_Z_EXT 0x87D7
9204#define GL_W_EXT 0x87D8
9205#define GL_NEGATIVE_X_EXT 0x87D9
9206#define GL_NEGATIVE_Y_EXT 0x87DA
9207#define GL_NEGATIVE_Z_EXT 0x87DB
9208#define GL_NEGATIVE_W_EXT 0x87DC
9209#define GL_ZERO_EXT 0x87DD
9210#define GL_ONE_EXT 0x87DE
9211#define GL_NEGATIVE_ONE_EXT 0x87DF
9212#define GL_NORMALIZED_RANGE_EXT 0x87E0
9213#define GL_FULL_RANGE_EXT 0x87E1
9214#define GL_CURRENT_VERTEX_EXT 0x87E2
9215#define GL_MVP_MATRIX_EXT 0x87E3
9216#define GL_VARIANT_VALUE_EXT 0x87E4
9217#define GL_VARIANT_DATATYPE_EXT 0x87E5
9218#define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
9219#define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
9220#define GL_VARIANT_ARRAY_EXT 0x87E8
9221#define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
9222#define GL_INVARIANT_VALUE_EXT 0x87EA
9223#define GL_INVARIANT_DATATYPE_EXT 0x87EB
9224#define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
9225#define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
9226
9227typedef void (GLAPIENTRY * PFNGLBEGINVERTEXSHADEREXTPROC) (void);
9228typedef GLuint (GLAPIENTRY * PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
9229typedef GLuint (GLAPIENTRY * PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
9230typedef GLuint (GLAPIENTRY * PFNGLBINDPARAMETEREXTPROC) (GLenum value);
9231typedef GLuint (GLAPIENTRY * PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
9232typedef GLuint (GLAPIENTRY * PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
9233typedef void (GLAPIENTRY * PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
9234typedef void (GLAPIENTRY * PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
9235typedef void (GLAPIENTRY * PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
9236typedef void (GLAPIENTRY * PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
9237typedef void (GLAPIENTRY * PFNGLENDVERTEXSHADEREXTPROC) (void);
9238typedef void (GLAPIENTRY * PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
9239typedef GLuint (GLAPIENTRY * PFNGLGENSYMBOLSEXTPROC) (GLenum dataType, GLenum storageType, GLenum range, GLuint components);
9240typedef GLuint (GLAPIENTRY * PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
9241typedef void (GLAPIENTRY * PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
9242typedef void (GLAPIENTRY * PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
9243typedef void (GLAPIENTRY * PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
9244typedef void (GLAPIENTRY * PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
9245typedef void (GLAPIENTRY * PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
9246typedef void (GLAPIENTRY * PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
9247typedef void (GLAPIENTRY * PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
9248typedef void (GLAPIENTRY * PFNGLGETVARIA