source: trunk/external/glew-1.9.0/include/GL/glew.h @ 2364

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

build: renormalise a lot of files.

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