Equalizer  1.8.0
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
glew.h
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)
145 typedef 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
158 typedef __int64 ptrdiff_t;
159 # else
160 typedef _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
254 extern "C" {
255 #endif
256 
257 /* ----------------------------- GL_VERSION_1_1 ---------------------------- */
258 
259 #ifndef GL_VERSION_1_1
260 #define GL_VERSION_1_1 1
261 
262 typedef unsigned int GLenum;
263 typedef unsigned int GLbitfield;
264 typedef unsigned int GLuint;
265 typedef int GLint;
266 typedef int GLsizei;
267 typedef unsigned char GLboolean;
268 typedef signed char GLbyte;
269 typedef short GLshort;
270 typedef unsigned char GLubyte;
271 typedef unsigned short GLushort;
272 typedef unsigned long GLulong;
273 typedef float GLfloat;
274 typedef float GLclampf;
275 typedef double GLdouble;
276 typedef double GLclampd;
277 typedef void GLvoid;
278 #if defined(_MSC_VER) && _MSC_VER < 1400
279 typedef __int64 GLint64EXT;
280 typedef unsigned __int64 GLuint64EXT;
281 #elif defined(_MSC_VER) || defined(__BORLANDC__)
282 typedef signed long long GLint64EXT;
283 typedef unsigned long long GLuint64EXT;
284 #else
285 # if defined(__MINGW32__) || defined(__CYGWIN__)
286 #include <inttypes.h>
287 # endif
288 typedef int64_t GLint64EXT;
289 typedef uint64_t GLuint64EXT;
290 #endif
291 typedef GLint64EXT GLint64;
292 typedef GLuint64EXT GLuint64;
293 typedef struct __GLsync *GLsync;
294 
295 typedef 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 
832 GLAPI void GLAPIENTRY glAccum (GLenum op, GLfloat value);
833 GLAPI void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref);
834 GLAPI GLboolean GLAPIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
835 GLAPI void GLAPIENTRY glArrayElement (GLint i);
836 GLAPI void GLAPIENTRY glBegin (GLenum mode);
837 GLAPI void GLAPIENTRY glBindTexture (GLenum target, GLuint texture);
838 GLAPI void GLAPIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
839 GLAPI void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
840 GLAPI void GLAPIENTRY glCallList (GLuint list);
841 GLAPI void GLAPIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
842 GLAPI void GLAPIENTRY glClear (GLbitfield mask);
843 GLAPI void GLAPIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
844 GLAPI void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
845 GLAPI void GLAPIENTRY glClearDepth (GLclampd depth);
846 GLAPI void GLAPIENTRY glClearIndex (GLfloat c);
847 GLAPI void GLAPIENTRY glClearStencil (GLint s);
848 GLAPI void GLAPIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
849 GLAPI void GLAPIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
850 GLAPI void GLAPIENTRY glColor3bv (const GLbyte *v);
851 GLAPI void GLAPIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
852 GLAPI void GLAPIENTRY glColor3dv (const GLdouble *v);
853 GLAPI void GLAPIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
854 GLAPI void GLAPIENTRY glColor3fv (const GLfloat *v);
855 GLAPI void GLAPIENTRY glColor3i (GLint red, GLint green, GLint blue);
856 GLAPI void GLAPIENTRY glColor3iv (const GLint *v);
857 GLAPI void GLAPIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
858 GLAPI void GLAPIENTRY glColor3sv (const GLshort *v);
859 GLAPI void GLAPIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
860 GLAPI void GLAPIENTRY glColor3ubv (const GLubyte *v);
861 GLAPI void GLAPIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
862 GLAPI void GLAPIENTRY glColor3uiv (const GLuint *v);
863 GLAPI void GLAPIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
864 GLAPI void GLAPIENTRY glColor3usv (const GLushort *v);
865 GLAPI void GLAPIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
866 GLAPI void GLAPIENTRY glColor4bv (const GLbyte *v);
867 GLAPI void GLAPIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
868 GLAPI void GLAPIENTRY glColor4dv (const GLdouble *v);
869 GLAPI void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
870 GLAPI void GLAPIENTRY glColor4fv (const GLfloat *v);
871 GLAPI void GLAPIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
872 GLAPI void GLAPIENTRY glColor4iv (const GLint *v);
873 GLAPI void GLAPIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
874 GLAPI void GLAPIENTRY glColor4sv (const GLshort *v);
875 GLAPI void GLAPIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
876 GLAPI void GLAPIENTRY glColor4ubv (const GLubyte *v);
877 GLAPI void GLAPIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
878 GLAPI void GLAPIENTRY glColor4uiv (const GLuint *v);
879 GLAPI void GLAPIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
880 GLAPI void GLAPIENTRY glColor4usv (const GLushort *v);
881 GLAPI void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
882 GLAPI void GLAPIENTRY glColorMaterial (GLenum face, GLenum mode);
883 GLAPI void GLAPIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
884 GLAPI void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
885 GLAPI void GLAPIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
886 GLAPI void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
887 GLAPI void GLAPIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
888 GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
889 GLAPI void GLAPIENTRY glCullFace (GLenum mode);
890 GLAPI void GLAPIENTRY glDeleteLists (GLuint list, GLsizei range);
891 GLAPI void GLAPIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
892 GLAPI void GLAPIENTRY glDepthFunc (GLenum func);
893 GLAPI void GLAPIENTRY glDepthMask (GLboolean flag);
894 GLAPI void GLAPIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
895 GLAPI void GLAPIENTRY glDisable (GLenum cap);
896 GLAPI void GLAPIENTRY glDisableClientState (GLenum array);
897 GLAPI void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
898 GLAPI void GLAPIENTRY glDrawBuffer (GLenum mode);
899 GLAPI void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
900 GLAPI void GLAPIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
901 GLAPI void GLAPIENTRY glEdgeFlag (GLboolean flag);
902 GLAPI void GLAPIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer);
903 GLAPI void GLAPIENTRY glEdgeFlagv (const GLboolean *flag);
904 GLAPI void GLAPIENTRY glEnable (GLenum cap);
905 GLAPI void GLAPIENTRY glEnableClientState (GLenum array);
906 GLAPI void GLAPIENTRY glEnd (void);
907 GLAPI void GLAPIENTRY glEndList (void);
908 GLAPI void GLAPIENTRY glEvalCoord1d (GLdouble u);
909 GLAPI void GLAPIENTRY glEvalCoord1dv (const GLdouble *u);
910 GLAPI void GLAPIENTRY glEvalCoord1f (GLfloat u);
911 GLAPI void GLAPIENTRY glEvalCoord1fv (const GLfloat *u);
912 GLAPI void GLAPIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
913 GLAPI void GLAPIENTRY glEvalCoord2dv (const GLdouble *u);
914 GLAPI void GLAPIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
915 GLAPI void GLAPIENTRY glEvalCoord2fv (const GLfloat *u);
916 GLAPI void GLAPIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
917 GLAPI void GLAPIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
918 GLAPI void GLAPIENTRY glEvalPoint1 (GLint i);
919 GLAPI void GLAPIENTRY glEvalPoint2 (GLint i, GLint j);
920 GLAPI void GLAPIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
921 GLAPI void GLAPIENTRY glFinish (void);
922 GLAPI void GLAPIENTRY glFlush (void);
923 GLAPI void GLAPIENTRY glFogf (GLenum pname, GLfloat param);
924 GLAPI void GLAPIENTRY glFogfv (GLenum pname, const GLfloat *params);
925 GLAPI void GLAPIENTRY glFogi (GLenum pname, GLint param);
926 GLAPI void GLAPIENTRY glFogiv (GLenum pname, const GLint *params);
927 GLAPI void GLAPIENTRY glFrontFace (GLenum mode);
928 GLAPI void GLAPIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
929 GLAPI GLuint GLAPIENTRY glGenLists (GLsizei range);
930 GLAPI void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures);
931 GLAPI void GLAPIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
932 GLAPI void GLAPIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
933 GLAPI void GLAPIENTRY glGetDoublev (GLenum pname, GLdouble *params);
934 GLAPI GLenum GLAPIENTRY glGetError (void);
935 GLAPI void GLAPIENTRY glGetFloatv (GLenum pname, GLfloat *params);
936 GLAPI void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params);
937 GLAPI void GLAPIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
938 GLAPI void GLAPIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
939 GLAPI void GLAPIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
940 GLAPI void GLAPIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
941 GLAPI void GLAPIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
942 GLAPI void GLAPIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
943 GLAPI void GLAPIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
944 GLAPI void GLAPIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
945 GLAPI void GLAPIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
946 GLAPI void GLAPIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
947 GLAPI void GLAPIENTRY glGetPointerv (GLenum pname, GLvoid* *params);
948 GLAPI void GLAPIENTRY glGetPolygonStipple (GLubyte *mask);
949 GLAPI const GLubyte * GLAPIENTRY glGetString (GLenum name);
950 GLAPI void GLAPIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
951 GLAPI void GLAPIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
952 GLAPI void GLAPIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
953 GLAPI void GLAPIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
954 GLAPI void GLAPIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
955 GLAPI void GLAPIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
956 GLAPI void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
957 GLAPI void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
958 GLAPI void GLAPIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
959 GLAPI void GLAPIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
960 GLAPI void GLAPIENTRY glHint (GLenum target, GLenum mode);
961 GLAPI void GLAPIENTRY glIndexMask (GLuint mask);
962 GLAPI void GLAPIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
963 GLAPI void GLAPIENTRY glIndexd (GLdouble c);
964 GLAPI void GLAPIENTRY glIndexdv (const GLdouble *c);
965 GLAPI void GLAPIENTRY glIndexf (GLfloat c);
966 GLAPI void GLAPIENTRY glIndexfv (const GLfloat *c);
967 GLAPI void GLAPIENTRY glIndexi (GLint c);
968 GLAPI void GLAPIENTRY glIndexiv (const GLint *c);
969 GLAPI void GLAPIENTRY glIndexs (GLshort c);
970 GLAPI void GLAPIENTRY glIndexsv (const GLshort *c);
971 GLAPI void GLAPIENTRY glIndexub (GLubyte c);
972 GLAPI void GLAPIENTRY glIndexubv (const GLubyte *c);
973 GLAPI void GLAPIENTRY glInitNames (void);
974 GLAPI void GLAPIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
975 GLAPI GLboolean GLAPIENTRY glIsEnabled (GLenum cap);
976 GLAPI GLboolean GLAPIENTRY glIsList (GLuint list);
977 GLAPI GLboolean GLAPIENTRY glIsTexture (GLuint texture);
978 GLAPI void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param);
979 GLAPI void GLAPIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
980 GLAPI void GLAPIENTRY glLightModeli (GLenum pname, GLint param);
981 GLAPI void GLAPIENTRY glLightModeliv (GLenum pname, const GLint *params);
982 GLAPI void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
983 GLAPI void GLAPIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
984 GLAPI void GLAPIENTRY glLighti (GLenum light, GLenum pname, GLint param);
985 GLAPI void GLAPIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
986 GLAPI void GLAPIENTRY glLineStipple (GLint factor, GLushort pattern);
987 GLAPI void GLAPIENTRY glLineWidth (GLfloat width);
988 GLAPI void GLAPIENTRY glListBase (GLuint base);
989 GLAPI void GLAPIENTRY glLoadIdentity (void);
990 GLAPI void GLAPIENTRY glLoadMatrixd (const GLdouble *m);
991 GLAPI void GLAPIENTRY glLoadMatrixf (const GLfloat *m);
992 GLAPI void GLAPIENTRY glLoadName (GLuint name);
993 GLAPI void GLAPIENTRY glLogicOp (GLenum opcode);
994 GLAPI void GLAPIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
995 GLAPI void GLAPIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
996 GLAPI void GLAPIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
997 GLAPI void GLAPIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
998 GLAPI void GLAPIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
999 GLAPI void GLAPIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
1000 GLAPI void GLAPIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
1001 GLAPI void GLAPIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
1002 GLAPI void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
1003 GLAPI void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
1004 GLAPI void GLAPIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
1005 GLAPI void GLAPIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
1006 GLAPI void GLAPIENTRY glMatrixMode (GLenum mode);
1007 GLAPI void GLAPIENTRY glMultMatrixd (const GLdouble *m);
1008 GLAPI void GLAPIENTRY glMultMatrixf (const GLfloat *m);
1009 GLAPI void GLAPIENTRY glNewList (GLuint list, GLenum mode);
1010 GLAPI void GLAPIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
1011 GLAPI void GLAPIENTRY glNormal3bv (const GLbyte *v);
1012 GLAPI void GLAPIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
1013 GLAPI void GLAPIENTRY glNormal3dv (const GLdouble *v);
1014 GLAPI void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
1015 GLAPI void GLAPIENTRY glNormal3fv (const GLfloat *v);
1016 GLAPI void GLAPIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
1017 GLAPI void GLAPIENTRY glNormal3iv (const GLint *v);
1018 GLAPI void GLAPIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
1019 GLAPI void GLAPIENTRY glNormal3sv (const GLshort *v);
1020 GLAPI void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
1021 GLAPI void GLAPIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
1022 GLAPI void GLAPIENTRY glPassThrough (GLfloat token);
1023 GLAPI void GLAPIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
1024 GLAPI void GLAPIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
1025 GLAPI void GLAPIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
1026 GLAPI void GLAPIENTRY glPixelStoref (GLenum pname, GLfloat param);
1027 GLAPI void GLAPIENTRY glPixelStorei (GLenum pname, GLint param);
1028 GLAPI void GLAPIENTRY glPixelTransferf (GLenum pname, GLfloat param);
1029 GLAPI void GLAPIENTRY glPixelTransferi (GLenum pname, GLint param);
1030 GLAPI void GLAPIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
1031 GLAPI void GLAPIENTRY glPointSize (GLfloat size);
1032 GLAPI void GLAPIENTRY glPolygonMode (GLenum face, GLenum mode);
1033 GLAPI void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
1034 GLAPI void GLAPIENTRY glPolygonStipple (const GLubyte *mask);
1035 GLAPI void GLAPIENTRY glPopAttrib (void);
1036 GLAPI void GLAPIENTRY glPopClientAttrib (void);
1037 GLAPI void GLAPIENTRY glPopMatrix (void);
1038 GLAPI void GLAPIENTRY glPopName (void);
1039 GLAPI void GLAPIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
1040 GLAPI void GLAPIENTRY glPushAttrib (GLbitfield mask);
1041 GLAPI void GLAPIENTRY glPushClientAttrib (GLbitfield mask);
1042 GLAPI void GLAPIENTRY glPushMatrix (void);
1043 GLAPI void GLAPIENTRY glPushName (GLuint name);
1044 GLAPI void GLAPIENTRY glRasterPos2d (GLdouble x, GLdouble y);
1045 GLAPI void GLAPIENTRY glRasterPos2dv (const GLdouble *v);
1046 GLAPI void GLAPIENTRY glRasterPos2f (GLfloat x, GLfloat y);
1047 GLAPI void GLAPIENTRY glRasterPos2fv (const GLfloat *v);
1048 GLAPI void GLAPIENTRY glRasterPos2i (GLint x, GLint y);
1049 GLAPI void GLAPIENTRY glRasterPos2iv (const GLint *v);
1050 GLAPI void GLAPIENTRY glRasterPos2s (GLshort x, GLshort y);
1051 GLAPI void GLAPIENTRY glRasterPos2sv (const GLshort *v);
1052 GLAPI void GLAPIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
1053 GLAPI void GLAPIENTRY glRasterPos3dv (const GLdouble *v);
1054 GLAPI void GLAPIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
1055 GLAPI void GLAPIENTRY glRasterPos3fv (const GLfloat *v);
1056 GLAPI void GLAPIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
1057 GLAPI void GLAPIENTRY glRasterPos3iv (const GLint *v);
1058 GLAPI void GLAPIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
1059 GLAPI void GLAPIENTRY glRasterPos3sv (const GLshort *v);
1060 GLAPI void GLAPIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1061 GLAPI void GLAPIENTRY glRasterPos4dv (const GLdouble *v);
1062 GLAPI void GLAPIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1063 GLAPI void GLAPIENTRY glRasterPos4fv (const GLfloat *v);
1064 GLAPI void GLAPIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
1065 GLAPI void GLAPIENTRY glRasterPos4iv (const GLint *v);
1066 GLAPI void GLAPIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
1067 GLAPI void GLAPIENTRY glRasterPos4sv (const GLshort *v);
1068 GLAPI void GLAPIENTRY glReadBuffer (GLenum mode);
1069 GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
1070 GLAPI void GLAPIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1071 GLAPI void GLAPIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
1072 GLAPI void GLAPIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1073 GLAPI void GLAPIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
1074 GLAPI void GLAPIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1075 GLAPI void GLAPIENTRY glRectiv (const GLint *v1, const GLint *v2);
1076 GLAPI void GLAPIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1077 GLAPI void GLAPIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
1078 GLAPI GLint GLAPIENTRY glRenderMode (GLenum mode);
1079 GLAPI void GLAPIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1080 GLAPI void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1081 GLAPI void GLAPIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
1082 GLAPI void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
1083 GLAPI void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
1084 GLAPI void GLAPIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
1085 GLAPI void GLAPIENTRY glShadeModel (GLenum mode);
1086 GLAPI void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
1087 GLAPI void GLAPIENTRY glStencilMask (GLuint mask);
1088 GLAPI void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1089 GLAPI void GLAPIENTRY glTexCoord1d (GLdouble s);
1090 GLAPI void GLAPIENTRY glTexCoord1dv (const GLdouble *v);
1091 GLAPI void GLAPIENTRY glTexCoord1f (GLfloat s);
1092 GLAPI void GLAPIENTRY glTexCoord1fv (const GLfloat *v);
1093 GLAPI void GLAPIENTRY glTexCoord1i (GLint s);
1094 GLAPI void GLAPIENTRY glTexCoord1iv (const GLint *v);
1095 GLAPI void GLAPIENTRY glTexCoord1s (GLshort s);
1096 GLAPI void GLAPIENTRY glTexCoord1sv (const GLshort *v);
1097 GLAPI void GLAPIENTRY glTexCoord2d (GLdouble s, GLdouble t);
1098 GLAPI void GLAPIENTRY glTexCoord2dv (const GLdouble *v);
1099 GLAPI void GLAPIENTRY glTexCoord2f (GLfloat s, GLfloat t);
1100 GLAPI void GLAPIENTRY glTexCoord2fv (const GLfloat *v);
1101 GLAPI void GLAPIENTRY glTexCoord2i (GLint s, GLint t);
1102 GLAPI void GLAPIENTRY glTexCoord2iv (const GLint *v);
1103 GLAPI void GLAPIENTRY glTexCoord2s (GLshort s, GLshort t);
1104 GLAPI void GLAPIENTRY glTexCoord2sv (const GLshort *v);
1105 GLAPI void GLAPIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1106 GLAPI void GLAPIENTRY glTexCoord3dv (const GLdouble *v);
1107 GLAPI void GLAPIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1108 GLAPI void GLAPIENTRY glTexCoord3fv (const GLfloat *v);
1109 GLAPI void GLAPIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
1110 GLAPI void GLAPIENTRY glTexCoord3iv (const GLint *v);
1111 GLAPI void GLAPIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
1112 GLAPI void GLAPIENTRY glTexCoord3sv (const GLshort *v);
1113 GLAPI void GLAPIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1114 GLAPI void GLAPIENTRY glTexCoord4dv (const GLdouble *v);
1115 GLAPI void GLAPIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1116 GLAPI void GLAPIENTRY glTexCoord4fv (const GLfloat *v);
1117 GLAPI void GLAPIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1118 GLAPI void GLAPIENTRY glTexCoord4iv (const GLint *v);
1119 GLAPI void GLAPIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1120 GLAPI void GLAPIENTRY glTexCoord4sv (const GLshort *v);
1121 GLAPI void GLAPIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1122 GLAPI void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1123 GLAPI void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
1124 GLAPI void GLAPIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
1125 GLAPI void GLAPIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
1126 GLAPI void GLAPIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
1127 GLAPI void GLAPIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
1128 GLAPI void GLAPIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1129 GLAPI void GLAPIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
1130 GLAPI void GLAPIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
1131 GLAPI void GLAPIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
1132 GLAPI void GLAPIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1133 GLAPI void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1134 GLAPI void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1135 GLAPI void GLAPIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1136 GLAPI void GLAPIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
1137 GLAPI void GLAPIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
1138 GLAPI void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
1139 GLAPI void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1140 GLAPI void GLAPIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
1141 GLAPI void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1142 GLAPI void GLAPIENTRY glVertex2d (GLdouble x, GLdouble y);
1143 GLAPI void GLAPIENTRY glVertex2dv (const GLdouble *v);
1144 GLAPI void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y);
1145 GLAPI void GLAPIENTRY glVertex2fv (const GLfloat *v);
1146 GLAPI void GLAPIENTRY glVertex2i (GLint x, GLint y);
1147 GLAPI void GLAPIENTRY glVertex2iv (const GLint *v);
1148 GLAPI void GLAPIENTRY glVertex2s (GLshort x, GLshort y);
1149 GLAPI void GLAPIENTRY glVertex2sv (const GLshort *v);
1150 GLAPI void GLAPIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1151 GLAPI void GLAPIENTRY glVertex3dv (const GLdouble *v);
1152 GLAPI void GLAPIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1153 GLAPI void GLAPIENTRY glVertex3fv (const GLfloat *v);
1154 GLAPI void GLAPIENTRY glVertex3i (GLint x, GLint y, GLint z);
1155 GLAPI void GLAPIENTRY glVertex3iv (const GLint *v);
1156 GLAPI void GLAPIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
1157 GLAPI void GLAPIENTRY glVertex3sv (const GLshort *v);
1158 GLAPI void GLAPIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1159 GLAPI void GLAPIENTRY glVertex4dv (const GLdouble *v);
1160 GLAPI void GLAPIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1161 GLAPI void GLAPIENTRY glVertex4fv (const GLfloat *v);
1162 GLAPI void GLAPIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
1163 GLAPI void GLAPIENTRY glVertex4iv (const GLint *v);
1164 GLAPI void GLAPIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1165 GLAPI void GLAPIENTRY glVertex4sv (const GLshort *v);
1166 GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1167 GLAPI 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 
1231 typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1232 typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
1233 typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1234 typedef 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 
1356 typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture);
1357 typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
1358 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
1359 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
1360 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
1361 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
1362 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
1363 typedef 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);
1364 typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLvoid *img);
1365 typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
1366 typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
1367 typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
1368 typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
1369 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
1370 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
1371 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
1372 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
1373 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
1374 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
1375 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
1376 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
1377 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
1378 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
1379 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
1380 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
1381 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
1382 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
1383 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
1384 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
1385 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
1386 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
1387 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
1388 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
1389 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
1390 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
1391 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
1392 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
1393 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1394 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
1395 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1396 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
1397 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
1398 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
1399 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1400 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
1401 typedef 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 
1499 typedef void (GLAPIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1500 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
1501 typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
1502 typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
1503 typedef void (GLAPIENTRY * PFNGLFOGCOORDDPROC) (GLdouble coord);
1504 typedef void (GLAPIENTRY * PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
1505 typedef void (GLAPIENTRY * PFNGLFOGCOORDFPROC) (GLfloat coord);
1506 typedef void (GLAPIENTRY * PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
1507 typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
1508 typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei drawcount);
1509 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
1510 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
1511 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
1512 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
1513 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
1514 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
1515 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
1516 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
1517 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
1518 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
1519 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
1520 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
1521 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
1522 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
1523 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
1524 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
1525 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
1526 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
1527 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
1528 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
1529 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1530 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
1531 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVPROC) (const GLdouble *p);
1532 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
1533 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVPROC) (const GLfloat *p);
1534 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
1535 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVPROC) (const GLint *p);
1536 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
1537 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVPROC) (const GLshort *p);
1538 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
1539 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVPROC) (const GLdouble *p);
1540 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
1541 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVPROC) (const GLfloat *p);
1542 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
1543 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVPROC) (const GLint *p);
1544 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
1545 typedef 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 
1655 typedef ptrdiff_t GLintptr;
1656 typedef ptrdiff_t GLsizeiptr;
1657 
1658 typedef void (GLAPIENTRY * PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
1659 typedef void (GLAPIENTRY * PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
1660 typedef void (GLAPIENTRY * PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
1661 typedef void (GLAPIENTRY * PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);
1662 typedef void (GLAPIENTRY * PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint* buffers);
1663 typedef void (GLAPIENTRY * PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint* ids);
1664 typedef void (GLAPIENTRY * PFNGLENDQUERYPROC) (GLenum target);
1665 typedef void (GLAPIENTRY * PFNGLGENBUFFERSPROC) (GLsizei n, GLuint* buffers);
1666 typedef void (GLAPIENTRY * PFNGLGENQUERIESPROC) (GLsizei n, GLuint* ids);
1667 typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
1668 typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid** params);
1669 typedef void (GLAPIENTRY * PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid* data);
1670 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint* params);
1671 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint* params);
1672 typedef void (GLAPIENTRY * PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint* params);
1673 typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERPROC) (GLuint buffer);
1674 typedef GLboolean (GLAPIENTRY * PFNGLISQUERYPROC) (GLuint id);
1675 typedef GLvoid* (GLAPIENTRY * PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
1676 typedef 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 
1792 typedef void (GLAPIENTRY * PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
1793 typedef void (GLAPIENTRY * PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar* name);
1794 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum, GLenum);
1795 typedef void (GLAPIENTRY * PFNGLCOMPILESHADERPROC) (GLuint shader);
1796 typedef GLuint (GLAPIENTRY * PFNGLCREATEPROGRAMPROC) (void);
1797 typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROC) (GLenum type);
1798 typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPROC) (GLuint program);
1799 typedef void (GLAPIENTRY * PFNGLDELETESHADERPROC) (GLuint shader);
1800 typedef void (GLAPIENTRY * PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
1801 typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint);
1802 typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum* bufs);
1803 typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint);
1804 typedef void (GLAPIENTRY * PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
1805 typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
1806 typedef void (GLAPIENTRY * PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders);
1807 typedef GLint (GLAPIENTRY * PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar* name);
1808 typedef void (GLAPIENTRY * PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
1809 typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint* param);
1810 typedef void (GLAPIENTRY * PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
1811 typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEPROC) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* source);
1812 typedef void (GLAPIENTRY * PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint* param);
1813 typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar* name);
1814 typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat* params);
1815 typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint* params);
1816 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint, GLenum, GLvoid**);
1817 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVPROC) (GLuint, GLenum, GLdouble*);
1818 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVPROC) (GLuint, GLenum, GLfloat*);
1819 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVPROC) (GLuint, GLenum, GLint*);
1820 typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPROC) (GLuint program);
1821 typedef GLboolean (GLAPIENTRY * PFNGLISSHADERPROC) (GLuint shader);
1822 typedef void (GLAPIENTRY * PFNGLLINKPROGRAMPROC) (GLuint program);
1823 typedef void (GLAPIENTRY * PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths);
1824 typedef void (GLAPIENTRY * PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
1825 typedef void (GLAPIENTRY * PFNGLSTENCILMASKSEPARATEPROC) (GLenum, GLuint);
1826 typedef void (GLAPIENTRY * PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
1827 typedef void (GLAPIENTRY * PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
1828 typedef void (GLAPIENTRY * PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1829 typedef void (GLAPIENTRY * PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
1830 typedef void (GLAPIENTRY * PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint* value);
1831 typedef void (GLAPIENTRY * PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
1832 typedef void (GLAPIENTRY * PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1833 typedef void (GLAPIENTRY * PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
1834 typedef void (GLAPIENTRY * PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint* value);
1835 typedef void (GLAPIENTRY * PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1836 typedef void (GLAPIENTRY * PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1837 typedef void (GLAPIENTRY * PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
1838 typedef void (GLAPIENTRY * PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint* value);
1839 typedef void (GLAPIENTRY * PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1840 typedef void (GLAPIENTRY * PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1841 typedef void (GLAPIENTRY * PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1842 typedef void (GLAPIENTRY * PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint* value);
1843 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1844 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1845 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1846 typedef void (GLAPIENTRY * PFNGLUSEPROGRAMPROC) (GLuint program);
1847 typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMPROC) (GLuint program);
1848 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
1849 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble* v);
1850 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
1851 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat* v);
1852 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
1853 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort* v);
1854 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
1855 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble* v);
1856 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
1857 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat* v);
1858 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
1859 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort* v);
1860 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1861 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble* v);
1862 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
1863 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat* v);
1864 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
1865 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort* v);
1866 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte* v);
1867 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint* v);
1868 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort* v);
1869 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
1870 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte* v);
1871 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint* v);
1872 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort* v);
1873 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte* v);
1874 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1875 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble* v);
1876 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1877 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat* v);
1878 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint* v);
1879 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
1880 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort* v);
1881 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte* v);
1882 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint* v);
1883 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort* v);
1884 typedef 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 
2013 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2014 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2015 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2016 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2017 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2018 typedef 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 
2144 typedef void (GLAPIENTRY * PFNGLBEGINCONDITIONALRENDERPROC) (GLuint, GLenum);
2145 typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum);
2146 typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONPROC) (GLuint, GLuint, const GLchar*);
2147 typedef void (GLAPIENTRY * PFNGLCLAMPCOLORPROC) (GLenum, GLenum);
2148 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFIPROC) (GLenum, GLint, GLfloat, GLint);
2149 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFVPROC) (GLenum, GLint, const GLfloat*);
2150 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERIVPROC) (GLenum, GLint, const GLint*);
2151 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERUIVPROC) (GLenum, GLint, const GLuint*);
2152 typedef void (GLAPIENTRY * PFNGLCOLORMASKIPROC) (GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
2153 typedef void (GLAPIENTRY * PFNGLDISABLEIPROC) (GLenum, GLuint);
2154 typedef void (GLAPIENTRY * PFNGLENABLEIPROC) (GLenum, GLuint);
2155 typedef void (GLAPIENTRY * PFNGLENDCONDITIONALRENDERPROC) (void);
2156 typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKPROC) (void);
2157 typedef void (GLAPIENTRY * PFNGLGETBOOLEANI_VPROC) (GLenum, GLuint, GLboolean*);
2158 typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATALOCATIONPROC) (GLuint, const GLchar*);
2159 typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGIPROC) (GLenum, GLuint);
2160 typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIIVPROC) (GLenum, GLenum, GLint*);
2161 typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIUIVPROC) (GLenum, GLenum, GLuint*);
2162 typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
2163 typedef void (GLAPIENTRY * PFNGLGETUNIFORMUIVPROC) (GLuint, GLint, GLuint*);
2164 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIIVPROC) (GLuint, GLenum, GLint*);
2165 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint, GLenum, GLuint*);
2166 typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDIPROC) (GLenum, GLuint);
2167 typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIIVPROC) (GLenum, GLenum, const GLint*);
2168 typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIUIVPROC) (GLenum, GLenum, const GLuint*);
2169 typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint, GLsizei, const GLchar **, GLenum);
2170 typedef void (GLAPIENTRY * PFNGLUNIFORM1UIPROC) (GLint, GLuint);
2171 typedef void (GLAPIENTRY * PFNGLUNIFORM1UIVPROC) (GLint, GLsizei, const GLuint*);
2172 typedef void (GLAPIENTRY * PFNGLUNIFORM2UIPROC) (GLint, GLuint, GLuint);
2173 typedef void (GLAPIENTRY * PFNGLUNIFORM2UIVPROC) (GLint, GLsizei, const GLuint*);
2174 typedef void (GLAPIENTRY * PFNGLUNIFORM3UIPROC) (GLint, GLuint, GLuint, GLuint);
2175 typedef void (GLAPIENTRY * PFNGLUNIFORM3UIVPROC) (GLint, GLsizei, const GLuint*);
2176 typedef void (GLAPIENTRY * PFNGLUNIFORM4UIPROC) (GLint, GLuint, GLuint, GLuint, GLuint);
2177 typedef void (GLAPIENTRY * PFNGLUNIFORM4UIVPROC) (GLint, GLsizei, const GLuint*);
2178 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IPROC) (GLuint, GLint);
2179 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IVPROC) (GLuint, const GLint*);
2180 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIPROC) (GLuint, GLuint);
2181 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIVPROC) (GLuint, const GLuint*);
2182 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IPROC) (GLuint, GLint, GLint);
2183 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IVPROC) (GLuint, const GLint*);
2184 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIPROC) (GLuint, GLuint, GLuint);
2185 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIVPROC) (GLuint, const GLuint*);
2186 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IPROC) (GLuint, GLint, GLint, GLint);
2187 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IVPROC) (GLuint, const GLint*);
2188 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIPROC) (GLuint, GLuint, GLuint, GLuint);
2189 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIVPROC) (GLuint, const GLuint*);
2190 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4BVPROC) (GLuint, const GLbyte*);
2191 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IPROC) (GLuint, GLint, GLint, GLint, GLint);
2192 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IVPROC) (GLuint, const GLint*);
2193 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4SVPROC) (GLuint, const GLshort*);
2194 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UBVPROC) (GLuint, const GLubyte*);
2195 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIPROC) (GLuint, GLuint, GLuint, GLuint, GLuint);
2196 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIVPROC) (GLuint, const GLuint*);
2197 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4USVPROC) (GLuint, const GLushort*);
2198 typedef 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 
2300 typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum, GLint, GLsizei, GLsizei);
2301 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum, GLsizei, GLenum, const GLvoid*, GLsizei);
2302 typedef void (GLAPIENTRY * PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint);
2303 typedef 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 
2342 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum, GLenum, GLuint, GLint);
2343 typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum, GLenum, GLint64 *);
2344 typedef 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 
2367 typedef 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 
2398 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
2399 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
2400 typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
2401 typedef void (GLAPIENTRY * PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
2402 typedef 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 
2468 typedef 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 
2529 typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam);
2530 
2531 typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void* userParam);
2532 typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled);
2533 typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar* buf);
2534 typedef 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 
2562 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
2563 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
2564 typedef void (GLAPIENTRY * PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
2565 typedef 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 
2581 typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void* indirect, GLsizei primcount, GLsizei stride);
2582 typedef 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 
2602 typedef void (GLAPIENTRY * PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint* names);
2603 typedef void (GLAPIENTRY * PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint* names);
2604 typedef 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 
2627 typedef void (GLAPIENTRY * PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
2628 typedef void (GLAPIENTRY * PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors);
2629 typedef void (GLAPIENTRY * PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
2630 typedef void (GLAPIENTRY * PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors);
2631 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint *bytesWritten);
2632 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void* data);
2633 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, GLchar *counterString);
2634 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint* numCounters, GLint *maxActiveCounters, GLsizei countersSize, GLuint *counters);
2635 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei* length, GLchar *groupString);
2636 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint* numGroups, GLsizei groupsSize, GLuint *groups);
2637 typedef 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 
2686 typedef 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 
2724 typedef 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 
2772 typedef void (GLAPIENTRY * PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
2773 typedef 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 
2822 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
2823 typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
2824 typedef void (GLAPIENTRY * PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void* pointer);
2825 typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount);
2826 typedef 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 
2846 typedef void (GLAPIENTRY * PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint* fences);
2847 typedef void (GLAPIENTRY * PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
2848 typedef void (GLAPIENTRY * PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
2849 typedef void (GLAPIENTRY * PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint* fences);
2850 typedef GLboolean (GLAPIENTRY * PFNGLISFENCEAPPLEPROC) (GLuint fence);
2851 typedef void (GLAPIENTRY * PFNGLSETFENCEAPPLEPROC) (GLuint fence);
2852 typedef GLboolean (GLAPIENTRY * PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
2853 typedef 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 
2900 typedef void (GLAPIENTRY * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
2901 typedef 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 
2922 typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint* params);
2923 typedef GLenum (GLAPIENTRY * PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
2924 typedef 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 
2993 typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid **params);
2994 typedef 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 
3021 typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
3022 typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays);
3023 typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays);
3024 typedef 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 
3049 typedef void (GLAPIENTRY * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void* pointer);
3050 typedef void (GLAPIENTRY * PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
3051 typedef 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 
3077 typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
3078 typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
3079 typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
3080 typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble* points);
3081 typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points);
3082 typedef 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);
3083 typedef 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 
3130 typedef void (GLAPIENTRY * PFNGLCLEARDEPTHFPROC) (GLclampf d);
3131 typedef void (GLAPIENTRY * PFNGLDEPTHRANGEFPROC) (GLclampf n, GLclampf f);
3132 typedef void (GLAPIENTRY * PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint* range, GLint *precision);
3133 typedef void (GLAPIENTRY * PFNGLRELEASESHADERCOMPILERPROC) (void);
3134 typedef 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 
3183 typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount, GLuint baseinstance);
3184 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLuint baseinstance);
3185 typedef 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 
3205 typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar * name);
3206 typedef 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 
3223 typedef struct _cl_context *cl_context;
3224 typedef struct _cl_event *cl_event;
3225 
3226 typedef 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 
3239 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const GLvoid* data);
3240 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid* data);
3241 typedef void (GLAPIENTRY * PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const GLvoid* data);
3242 typedef 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 
3264 typedef 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 
3323 typedef void (GLAPIENTRY * PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
3324 typedef 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 
3350 typedef 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 
3363 typedef 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 
3399 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam);
3400 
3401 typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, void* userParam);
3402 typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled);
3403 typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* buf);
3404 typedef 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 
3477 typedef 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 
3490 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3491 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
3492 typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3493 typedef 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 
3509 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, void* indices, GLint basevertex);
3510 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLint basevertex);
3511 typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, void* indices, GLint basevertex);
3512 typedef 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 
3531 typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void* indirect);
3532 typedef 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 
3650 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
3651 typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
3652 typedef void (GLAPIENTRY * PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint* params);
3653 typedef 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 
3744 typedef void (GLAPIENTRY * PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
3745 typedef void (GLAPIENTRY * PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
3746 typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
3747 typedef GLenum (GLAPIENTRY * PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
3748 typedef void (GLAPIENTRY * PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint* framebuffers);
3749 typedef void (GLAPIENTRY * PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint* renderbuffers);
3750 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
3751 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
3752 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
3753 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer);
3754 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target,GLenum attachment, GLuint texture,GLint level,GLint layer);
3755 typedef void (GLAPIENTRY * PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint* framebuffers);
3756 typedef void (GLAPIENTRY * PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint* renderbuffers);
3757 typedef void (GLAPIENTRY * PFNGLGENERATEMIPMAPPROC) (GLenum target);
3758 typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
3759 typedef void (GLAPIENTRY * PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
3760 typedef GLboolean (GLAPIENTRY * PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
3761 typedef GLboolean (GLAPIENTRY * PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
3762 typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
3763 typedef 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 
3826 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
3827 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3828 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3829 typedef 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 
3850 typedef void (GLAPIENTRY * PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLenum *binaryFormat, GLvoid*binary);
3851 typedef void (GLAPIENTRY * PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void* binary, GLsizei length);
3852 typedef 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 
3896 typedef void (GLAPIENTRY * PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble* params);
3897 typedef void (GLAPIENTRY * PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
3898 typedef void (GLAPIENTRY * PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble* value);
3899 typedef void (GLAPIENTRY * PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
3900 typedef void (GLAPIENTRY * PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble* value);
3901 typedef void (GLAPIENTRY * PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
3902 typedef void (GLAPIENTRY * PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble* value);
3903 typedef void (GLAPIENTRY * PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3904 typedef void (GLAPIENTRY * PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble* value);
3905 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3906 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3907 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3908 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3909 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3910 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3911 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3912 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
3913 typedef 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 
4043 typedef void (GLAPIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
4044 typedef void (GLAPIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
4045 typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
4046 typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
4047 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
4048 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
4049 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
4050 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
4051 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
4052 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
4053 typedef void (GLAPIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
4054 typedef void (GLAPIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
4055 typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
4056 typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
4057 typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
4058 typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
4059 typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
4060 typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
4061 typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
4062 typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
4063 typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
4064 typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
4065 typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
4066 typedef void (GLAPIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values);
4067 typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
4068 typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
4069 typedef void (GLAPIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
4070 typedef void (GLAPIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
4071 typedef void (GLAPIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
4072 typedef void (GLAPIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target);
4073 typedef void (GLAPIENTRY * PFNGLRESETMINMAXPROC) (GLenum target);
4074 typedef 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 
4120 typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
4121 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount);
4122 typedef 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 
4139 typedef 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 
4265 typedef 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 
4278 typedef void (GLAPIENTRY * PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
4279 typedef void (GLAPIENTRY * PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
4280 typedef void (GLAPIENTRY * PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum* attachments);
4281 typedef void (GLAPIENTRY * PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height);
4282 typedef void (GLAPIENTRY * PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
4283 typedef 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 
4319 typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
4320 typedef 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 
4345 typedef void (GLAPIENTRY * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
4346 typedef void (GLAPIENTRY * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
4347 typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, GLubyte *indices);
4348 typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, GLuint *indices);
4349 typedef 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 
4366 typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void* indirect, GLsizei primcount, GLsizei stride);
4367 typedef 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 
4391 typedef 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 
4440 typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
4441 typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
4442 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
4443 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
4444 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
4445 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
4446 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
4447 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
4448 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
4449 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
4450 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
4451 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
4452 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
4453 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
4454 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
4455 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
4456 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
4457 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
4458 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
4459 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
4460 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
4461 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
4462 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
4463 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
4464 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
4465 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
4466 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
4467 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
4468 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
4469 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
4470 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
4471 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
4472 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
4473 typedef 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 
4525 typedef void (GLAPIENTRY * PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
4526 typedef void (GLAPIENTRY * PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint* ids);
4527 typedef void (GLAPIENTRY * PFNGLENDQUERYARBPROC) (GLenum target);
4528 typedef void (GLAPIENTRY * PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint* ids);
4529 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint* params);
4530 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint* params);
4531 typedef void (GLAPIENTRY * PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint* params);
4532 typedef 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 
4582 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
4583 typedef 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 
4657 typedef void (GLAPIENTRY * PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint* params);
4658 typedef GLuint (GLAPIENTRY * PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar* name);
4659 typedef GLint (GLAPIENTRY * PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar* name);
4660 typedef GLint (GLAPIENTRY * PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar* name);
4661 typedef void (GLAPIENTRY * PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei* length, GLchar *name);
4662 typedef 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 
4685 typedef 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 
4715 typedef GLenum (GLAPIENTRY * PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
4716 typedef void (GLAPIENTRY * PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* table);
4717 typedef void (GLAPIENTRY * PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void* img);
4718 typedef void (GLAPIENTRY * PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* image);
4719 typedef void (GLAPIENTRY * PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values);
4720 typedef void (GLAPIENTRY * PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble* v);
4721 typedef void (GLAPIENTRY * PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat* v);
4722 typedef void (GLAPIENTRY * PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint* v);
4723 typedef void (GLAPIENTRY * PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values);
4724 typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat* values);
4725 typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint* values);
4726 typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort* values);
4727 typedef void (GLAPIENTRY * PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte* pattern);
4728 typedef void (GLAPIENTRY * PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void* row, GLsizei columnBufSize, GLvoid*column, GLvoid*span);
4729 typedef void (GLAPIENTRY * PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void* img);
4730 typedef void (GLAPIENTRY * PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble* params);
4731 typedef void (GLAPIENTRY * PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat* params);
4732 typedef void (GLAPIENTRY * PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint* params);
4733 typedef void (GLAPIENTRY * PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint* params);
4734 typedef 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 
4787 typedef 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 
4802 typedef void (GLAPIENTRY * PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
4803 typedef void (GLAPIENTRY * PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint * samplers);
4804 typedef void (GLAPIENTRY * PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint* samplers);
4805 typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint* params);
4806 typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint* params);
4807 typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat* params);
4808 typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint* params);
4809 typedef GLboolean (GLAPIENTRY * PFNGLISSAMPLERPROC) (GLuint sampler);
4810 typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint* params);
4811 typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint* params);
4812 typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
4813 typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat* params);
4814 typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
4815 typedef 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 
4862 typedef void (GLAPIENTRY * PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
4863 typedef void (GLAPIENTRY * PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
4864 typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar ** strings);
4865 typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint* pipelines);
4866 typedef void (GLAPIENTRY * PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint* pipelines);
4867 typedef void (GLAPIENTRY * PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei* length, GLchar *infoLog);
4868 typedef void (GLAPIENTRY * PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint* params);
4869 typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
4870 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble x);
4871 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
4872 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat x);
4873 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
4874 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint x);
4875 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
4876 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint x);
4877 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
4878 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
4879 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
4880 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y);
4881 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
4882 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint x, GLint y);
4883 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
4884 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint x, GLuint y);
4885 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
4886 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
4887 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
4888 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
4889 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
4890 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z);
4891 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
4892 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint x, GLuint y, GLuint z);
4893 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
4894 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4895 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
4896 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4897 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
4898 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);
4899 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
4900 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint x, GLuint y, GLuint z, GLuint w);
4901 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
4902 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4903 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4904 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4905 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4906 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4907 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4908 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4909 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4910 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4911 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4912 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4913 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4914 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4915 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4916 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4917 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4918 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
4919 typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
4920 typedef void (GLAPIENTRY * PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
4921 typedef 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 
5023 typedef 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 
5110 typedef void (GLAPIENTRY * PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
5111 typedef 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 
5169 typedef char GLcharARB;
5170 typedef unsigned int GLhandleARB;
5171 
5172 typedef void (GLAPIENTRY * PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
5173 typedef void (GLAPIENTRY * PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
5174 typedef GLhandleARB (GLAPIENTRY * PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
5175 typedef GLhandleARB (GLAPIENTRY * PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
5176 typedef void (GLAPIENTRY * PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
5177 typedef void (GLAPIENTRY * PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
5178 typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name);
5179 typedef void (GLAPIENTRY * PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB *obj);
5180 typedef GLhandleARB (GLAPIENTRY * PFNGLGETHANDLEARBPROC) (GLenum pname);
5181 typedef void (GLAPIENTRY * PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *infoLog);
5182 typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat* params);
5183 typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint* params);
5184 typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *source);
5185 typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB* name);
5186 typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat* params);
5187 typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint* params);
5188 typedef void (GLAPIENTRY * PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
5189 typedef void (GLAPIENTRY * PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint *length);
5190 typedef void (GLAPIENTRY * PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
5191 typedef void (GLAPIENTRY * PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
5192 typedef void (GLAPIENTRY * PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
5193 typedef void (GLAPIENTRY * PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint* value);
5194 typedef void (GLAPIENTRY * PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
5195 typedef void (GLAPIENTRY * PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
5196 typedef void (GLAPIENTRY * PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
5197 typedef void (GLAPIENTRY * PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint* value);
5198 typedef void (GLAPIENTRY * PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
5199 typedef void (GLAPIENTRY * PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
5200 typedef void (GLAPIENTRY * PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
5201 typedef void (GLAPIENTRY * PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint* value);
5202 typedef void (GLAPIENTRY * PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
5203 typedef void (GLAPIENTRY * PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
5204 typedef void (GLAPIENTRY * PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
5205 typedef void (GLAPIENTRY * PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint* value);
5206 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
5207 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
5208 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
5209 typedef void (GLAPIENTRY * PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
5210 typedef 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 
5296 typedef 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 
5319 typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, GLchar *name);
5320 typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, GLchar *name);
5321 typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint* values);
5322 typedef void (GLAPIENTRY * PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint* values);
5323 typedef GLuint (GLAPIENTRY * PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar* name);
5324 typedef GLint (GLAPIENTRY * PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar* name);
5325 typedef void (GLAPIENTRY * PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint* params);
5326 typedef 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 
5379 typedef void (GLAPIENTRY * PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar ** path, const GLint *length);
5380 typedef void (GLAPIENTRY * PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar* name);
5381 typedef void (GLAPIENTRY * PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar* name, GLsizei bufSize, GLint *stringlen, GLchar *string);
5382 typedef void (GLAPIENTRY * PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar* name, GLenum pname, GLint *params);
5383 typedef GLboolean (GLAPIENTRY * PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar* name);
5384 typedef 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 
5462 typedef GLenum (GLAPIENTRY * PFNGLCLIENTWAITSYNCPROC) (GLsync GLsync,GLbitfield flags,GLuint64 timeout);
5463 typedef void (GLAPIENTRY * PFNGLDELETESYNCPROC) (GLsync GLsync);
5464 typedef GLsync (GLAPIENTRY * PFNGLFENCESYNCPROC) (GLenum condition,GLbitfield flags);
5465 typedef void (GLAPIENTRY * PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64* params);
5466 typedef void (GLAPIENTRY * PFNGLGETSYNCIVPROC) (GLsync GLsync,GLenum pname,GLsizei bufSize,GLsizei* length, GLint *values);
5467 typedef GLboolean (GLAPIENTRY * PFNGLISSYNCPROC) (GLsync GLsync);
5468 typedef 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 
5520 typedef void (GLAPIENTRY * PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat* values);
5521 typedef 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 
5552 typedef 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 
5578 typedef void (GLAPIENTRY * PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
5579 typedef 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 
5605 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data);
5606 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
5607 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
5608 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data);
5609 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
5610 typedef 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);
5611 typedef 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 
5835 typedef void (GLAPIENTRY * PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat* val);
5836 typedef void (GLAPIENTRY * PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask);
5837 typedef void (GLAPIENTRY * PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
5838 typedef 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 
5944 typedef void (GLAPIENTRY * PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
5945 typedef void (GLAPIENTRY * PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
5946 typedef void (GLAPIENTRY * PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
5947 typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
5948 typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
5949 typedef 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 
5967 typedef void (GLAPIENTRY * PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
5968 typedef void (GLAPIENTRY * PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
5969 typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
5970 typedef 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 
6007 typedef 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 
6023 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64* params);
6024 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64* params);
6025 typedef 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 
6045 typedef void (GLAPIENTRY * PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
6046 typedef void (GLAPIENTRY * PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint* ids);
6047 typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
6048 typedef void (GLAPIENTRY * PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint* ids);
6049 typedef GLboolean (GLAPIENTRY * PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
6050 typedef void (GLAPIENTRY * PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
6051 typedef 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 
6073 typedef void (GLAPIENTRY * PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
6074 typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
6075 typedef void (GLAPIENTRY * PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
6076 typedef 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 
6092 typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei primcount);
6093 typedef 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 
6112 typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (GLdouble m[16]);
6113 typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (GLfloat m[16]);
6114 typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (GLdouble m[16]);
6115 typedef 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 
6165 typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
6166 typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
6167 typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName);
6168 typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params);
6169 typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName);
6170 typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params);
6171 typedef void (GLAPIENTRY * PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint* data);
6172 typedef GLuint (GLAPIENTRY * PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar* uniformBlockName);
6173 typedef void (GLAPIENTRY * PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar** uniformNames, GLuint* uniformIndices);
6174 typedef 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 
6209 typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYPROC) (GLuint array);
6210 typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint* arrays);
6211 typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint* arrays);
6212 typedef 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 
6235 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble* params);
6236 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
6237 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble* v);
6238 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
6239 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble* v);
6240 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
6241 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble* v);
6242 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6243 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble* v);
6244 typedef 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 
6274 typedef void (GLAPIENTRY * PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
6275 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
6276 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
6277 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6278 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6279 typedef 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 
6340 typedef void (GLAPIENTRY * PFNGLVERTEXBLENDARBPROC) (GLint count);
6341 typedef void (GLAPIENTRY * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
6342 typedef void (GLAPIENTRY * PFNGLWEIGHTBVARBPROC) (GLint size, GLbyte *weights);
6343 typedef void (GLAPIENTRY * PFNGLWEIGHTDVARBPROC) (GLint size, GLdouble *weights);
6344 typedef void (GLAPIENTRY * PFNGLWEIGHTFVARBPROC) (GLint size, GLfloat *weights);
6345 typedef void (GLAPIENTRY * PFNGLWEIGHTIVARBPROC) (GLint size, GLint *weights);
6346 typedef void (GLAPIENTRY * PFNGLWEIGHTSVARBPROC) (GLint size, GLshort *weights);
6347 typedef void (GLAPIENTRY * PFNGLWEIGHTUBVARBPROC) (GLint size, GLubyte *weights);
6348 typedef void (GLAPIENTRY * PFNGLWEIGHTUIVARBPROC) (GLint size, GLuint *weights);
6349 typedef 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