source: trunk/contrib/glew-1.7.0/include/GL/glew.h @ 944

Last change on this file since 944 was 944, checked in by sam, 10 years ago

build: add a Win64 cross-build script and upgrade glew to 1.7.0.

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