HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
glew.h
Go to the documentation of this file.
1 /*
2 ** The OpenGL Extension Wrangler Library
3 ** Copyright (C) 2008-2015, Nigel Stewart <nigels[]users sourceforge net>
4 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
5 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
6 ** Copyright (C) 2002, Lev Povalahev
7 ** All rights reserved.
8 **
9 ** Redistribution and use in source and binary forms, with or without
10 ** modification, are permitted provided that the following conditions are met:
11 **
12 ** * Redistributions of source code must retain the above copyright notice,
13 ** this list of conditions and the following disclaimer.
14 ** * Redistributions in binary form must reproduce the above copyright notice,
15 ** this list of conditions and the following disclaimer in the documentation
16 ** and/or other materials provided with the distribution.
17 ** * The name of the author may be used to endorse or promote products
18 ** derived from this software without specific prior written permission.
19 **
20 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
24 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 ** THE POSSIBILITY OF SUCH DAMAGE.
31 */
32 
33 /*
34  * Mesa 3-D graphics library
35  * Version: 7.0
36  *
37  * Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
38  *
39  * Permission is hereby granted, free of charge, to any person obtaining a
40  * copy of this software and associated documentation files (the "Software"),
41  * to deal in the Software without restriction, including without limitation
42  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
43  * and/or sell copies of the Software, and to permit persons to whom the
44  * Software is furnished to do so, subject to the following conditions:
45  *
46  * The above copyright notice and this permission notice shall be included
47  * in all copies or substantial portions of the Software.
48  *
49  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
50  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
52  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
53  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
54  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
55  */
56 
57 /*
58 ** Copyright (c) 2007 The Khronos Group Inc.
59 **
60 ** Permission is hereby granted, free of charge, to any person obtaining a
61 ** copy of this software and/or associated documentation files (the
62 ** "Materials"), to deal in the Materials without restriction, including
63 ** without limitation the rights to use, copy, modify, merge, publish,
64 ** distribute, sublicense, and/or sell copies of the Materials, and to
65 ** permit persons to whom the Materials are furnished to do so, subject to
66 ** the following conditions:
67 **
68 ** The above copyright notice and this permission notice shall be included
69 ** in all copies or substantial portions of the Materials.
70 **
71 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
72 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
73 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
74 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
75 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
76 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
77 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
78 */
79 
80 #ifndef __glew_h__
81 #define __glew_h__
82 #define __GLEW_H__
83 
84 #if defined(__gl_h_) || defined(__GL_H__) || defined(_GL_H) || defined(__X_GL_H)
85 #error gl.h included before glew.h
86 #endif
87 #if defined(__gl2_h_)
88 #error gl2.h included before glew.h
89 #endif
90 #if defined(__gltypes_h_)
91 #error gltypes.h included before glew.h
92 #endif
93 #if defined(__REGAL_H__)
94 #error Regal.h included before glew.h
95 #endif
96 #if defined(__glext_h_) || defined(__GLEXT_H_)
97 #error glext.h included before glew.h
98 #endif
99 #if defined(__gl_ATI_h_)
100 #error glATI.h included before glew.h
101 #endif
102 
103 #define __gl_h_
104 #define __gl2_h_
105 #define __GL_H__
106 #define _GL_H
107 #define __gltypes_h_
108 #define __REGAL_H__
109 #define __X_GL_H
110 #define __glext_h_
111 #define __GLEXT_H_
112 #define __gl_ATI_h_
113 
114 #if defined(_WIN32)
115 
116 /*
117  * GLEW does not include <windows.h> to avoid name space pollution.
118  * GL needs GLAPI and GLAPIENTRY, GLU needs APIENTRY, CALLBACK, and wchar_t
119  * defined properly.
120  */
121 /* <windef.h> and <gl.h>*/
122 #ifdef APIENTRY
123 # ifndef GLAPIENTRY
124 # define GLAPIENTRY APIENTRY
125 # endif
126 # ifndef GLEWAPIENTRY
127 # define GLEWAPIENTRY APIENTRY
128 # endif
129 #else
130 #define GLEW_APIENTRY_DEFINED
131 # if defined(__MINGW32__) || defined(__CYGWIN__) || (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__)
132 # define APIENTRY __stdcall
133 # ifndef GLAPIENTRY
134 # define GLAPIENTRY __stdcall
135 # endif
136 # ifndef GLEWAPIENTRY
137 # define GLEWAPIENTRY __stdcall
138 # endif
139 # else
140 # define APIENTRY
141 # endif
142 #endif
143 #ifndef GLAPI
144 # if defined(__MINGW32__) || defined(__CYGWIN__)
145 # define GLAPI extern
146 # endif
147 #endif
148 /* <winnt.h> */
149 #ifndef CALLBACK
150 #define GLEW_CALLBACK_DEFINED
151 # if defined(__MINGW32__) || defined(__CYGWIN__)
152 # define CALLBACK __attribute__ ((__stdcall__))
153 # elif (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS)
154 # define CALLBACK __stdcall
155 # else
156 # define CALLBACK
157 # endif
158 #endif
159 /* <wingdi.h> and <winnt.h> */
160 #ifndef WINGDIAPI
161 #define GLEW_WINGDIAPI_DEFINED
162 #define WINGDIAPI __declspec(dllimport)
163 #endif
164 /* <ctype.h> */
165 #if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED)
166 typedef unsigned short wchar_t;
167 # define _WCHAR_T_DEFINED
168 #endif
169 /* <stddef.h> */
170 #if !defined(_W64)
171 # if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && defined(_MSC_VER) && _MSC_VER >= 1300
172 # define _W64 __w64
173 # else
174 # define _W64
175 # endif
176 #endif
177 #if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) && !defined(__MINGW64__)
178 # ifdef _WIN64
179 typedef __int64 ptrdiff_t;
180 # else
181 typedef _W64 int ptrdiff_t;
182 # endif
183 # define _PTRDIFF_T_DEFINED
184 # define _PTRDIFF_T_
185 #endif
186 
187 #ifndef GLAPI
188 # if defined(__MINGW32__) || defined(__CYGWIN__)
189 # define GLAPI extern
190 # else
191 # define GLAPI WINGDIAPI
192 # endif
193 #endif
194 
195 /*
196  * GLEW_STATIC is defined for static library.
197  * GLEW_BUILD is defined for building the DLL library.
198  */
199 
200 #ifdef GLEW_STATIC
201 # define GLEWAPI extern
202 #else
203 # ifdef GLEW_BUILD
204 # define GLEWAPI extern __declspec(dllexport)
205 # else
206 # define GLEWAPI extern __declspec(dllimport)
207 # endif
208 #endif
209 
210 #else /* _UNIX */
211 
212 /*
213  * Needed for ptrdiff_t in turn needed by VBO. This is defined by ISO
214  * C. On my system, this amounts to _3 lines_ of included code, all of
215  * them pretty much harmless. If you know of a way of detecting 32 vs
216  * 64 _targets_ at compile time you are free to replace this with
217  * something that's portable. For now, _this_ is the portable solution.
218  * (mem, 2004-01-04)
219  */
220 
221 #include <stddef.h>
222 
223 /* SGI MIPSPro doesn't like stdint.h in C++ mode */
224 /* ID: 3376260 Solaris 9 has inttypes.h, but not stdint.h */
225 
226 #if (defined(__sgi) || defined(__sun)) && !defined(__GNUC__)
227 #include <inttypes.h>
228 #else
229 #include <stdint.h>
230 #endif
231 
232 #define GLEW_APIENTRY_DEFINED
233 #define APIENTRY
234 
235 /*
236  * GLEW_STATIC is defined for static library.
237  */
238 
239 #ifdef GLEW_STATIC
240 # define GLEWAPI extern
241 #else
242 # if defined(__GNUC__) && __GNUC__>=4
243 # define GLEWAPI extern __attribute__ ((visibility("default")))
244 # elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
245 # define GLEWAPI extern __global
246 # else
247 # define GLEWAPI extern
248 # endif
249 #endif
250 
251 /* <glu.h> */
252 #ifndef GLAPI
253 #define GLAPI extern
254 #endif
255 
256 #endif /* _WIN32 */
257 
258 #ifndef GLAPIENTRY
259 #define GLAPIENTRY
260 #endif
261 
262 #ifndef GLEWAPIENTRY
263 #define GLEWAPIENTRY
264 #endif
265 
266 #ifdef __cplusplus
267 extern "C" {
268 #endif
269 
270 /* ----------------------------- GL_VERSION_1_1 ---------------------------- */
271 
272 #ifndef GL_VERSION_1_1
273 #define GL_VERSION_1_1 1
274 
275 typedef unsigned int GLenum;
276 typedef unsigned int GLbitfield;
277 typedef unsigned int GLuint;
278 typedef int GLint;
279 typedef int GLsizei;
280 typedef unsigned char GLboolean;
281 typedef signed char GLbyte;
282 typedef short GLshort;
283 typedef unsigned char GLubyte;
284 typedef unsigned short GLushort;
285 typedef unsigned long GLulong;
286 typedef float GLfloat;
287 typedef float GLclampf;
288 typedef double GLdouble;
289 typedef double GLclampd;
290 typedef void GLvoid;
291 #if defined(_MSC_VER) && _MSC_VER < 1400
292 typedef __int64 GLint64EXT;
293 typedef unsigned __int64 GLuint64EXT;
294 #elif defined(_MSC_VER) || defined(__BORLANDC__)
295 typedef signed long long GLint64EXT;
296 typedef unsigned long long GLuint64EXT;
297 #else
298 # if defined(__MINGW32__) || defined(__CYGWIN__)
299 #include <inttypes.h>
300 # endif
301 typedef int64_t GLint64EXT;
302 typedef uint64_t GLuint64EXT;
303 #endif
304 typedef GLint64EXT GLint64;
305 typedef GLuint64EXT GLuint64;
306 typedef struct __GLsync *GLsync;
307 
308 typedef char GLchar;
309 
310 #define GL_ZERO 0
311 #define GL_FALSE 0
312 #define GL_LOGIC_OP 0x0BF1
313 #define GL_NONE 0
314 #define GL_TEXTURE_COMPONENTS 0x1003
315 #define GL_NO_ERROR 0
316 #define GL_POINTS 0x0000
317 #define GL_CURRENT_BIT 0x00000001
318 #define GL_TRUE 1
319 #define GL_ONE 1
320 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
321 #define GL_LINES 0x0001
322 #define GL_LINE_LOOP 0x0002
323 #define GL_POINT_BIT 0x00000002
324 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
325 #define GL_LINE_STRIP 0x0003
326 #define GL_LINE_BIT 0x00000004
327 #define GL_TRIANGLES 0x0004
328 #define GL_TRIANGLE_STRIP 0x0005
329 #define GL_TRIANGLE_FAN 0x0006
330 #define GL_QUADS 0x0007
331 #define GL_QUAD_STRIP 0x0008
332 #define GL_POLYGON_BIT 0x00000008
333 #define GL_POLYGON 0x0009
334 #define GL_POLYGON_STIPPLE_BIT 0x00000010
335 #define GL_PIXEL_MODE_BIT 0x00000020
336 #define GL_LIGHTING_BIT 0x00000040
337 #define GL_FOG_BIT 0x00000080
338 #define GL_DEPTH_BUFFER_BIT 0x00000100
339 #define GL_ACCUM 0x0100
340 #define GL_LOAD 0x0101
341 #define GL_RETURN 0x0102
342 #define GL_MULT 0x0103
343 #define GL_ADD 0x0104
344 #define GL_NEVER 0x0200
345 #define GL_ACCUM_BUFFER_BIT 0x00000200
346 #define GL_LESS 0x0201
347 #define GL_EQUAL 0x0202
348 #define GL_LEQUAL 0x0203
349 #define GL_GREATER 0x0204
350 #define GL_NOTEQUAL 0x0205
351 #define GL_GEQUAL 0x0206
352 #define GL_ALWAYS 0x0207
353 #define GL_SRC_COLOR 0x0300
354 #define GL_ONE_MINUS_SRC_COLOR 0x0301
355 #define GL_SRC_ALPHA 0x0302
356 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
357 #define GL_DST_ALPHA 0x0304
358 #define GL_ONE_MINUS_DST_ALPHA 0x0305
359 #define GL_DST_COLOR 0x0306
360 #define GL_ONE_MINUS_DST_COLOR 0x0307
361 #define GL_SRC_ALPHA_SATURATE 0x0308
362 #define GL_STENCIL_BUFFER_BIT 0x00000400
363 #define GL_FRONT_LEFT 0x0400
364 #define GL_FRONT_RIGHT 0x0401
365 #define GL_BACK_LEFT 0x0402
366 #define GL_BACK_RIGHT 0x0403
367 #define GL_FRONT 0x0404
368 #define GL_BACK 0x0405
369 #define GL_LEFT 0x0406
370 #define GL_RIGHT 0x0407
371 #define GL_FRONT_AND_BACK 0x0408
372 #define GL_AUX0 0x0409
373 #define GL_AUX1 0x040A
374 #define GL_AUX2 0x040B
375 #define GL_AUX3 0x040C
376 #define GL_INVALID_ENUM 0x0500
377 #define GL_INVALID_VALUE 0x0501
378 #define GL_INVALID_OPERATION 0x0502
379 #define GL_STACK_OVERFLOW 0x0503
380 #define GL_STACK_UNDERFLOW 0x0504
381 #define GL_OUT_OF_MEMORY 0x0505
382 #define GL_2D 0x0600
383 #define GL_3D 0x0601
384 #define GL_3D_COLOR 0x0602
385 #define GL_3D_COLOR_TEXTURE 0x0603
386 #define GL_4D_COLOR_TEXTURE 0x0604
387 #define GL_PASS_THROUGH_TOKEN 0x0700
388 #define GL_POINT_TOKEN 0x0701
389 #define GL_LINE_TOKEN 0x0702
390 #define GL_POLYGON_TOKEN 0x0703
391 #define GL_BITMAP_TOKEN 0x0704
392 #define GL_DRAW_PIXEL_TOKEN 0x0705
393 #define GL_COPY_PIXEL_TOKEN 0x0706
394 #define GL_LINE_RESET_TOKEN 0x0707
395 #define GL_EXP 0x0800
396 #define GL_VIEWPORT_BIT 0x00000800
397 #define GL_EXP2 0x0801
398 #define GL_CW 0x0900
399 #define GL_CCW 0x0901
400 #define GL_COEFF 0x0A00
401 #define GL_ORDER 0x0A01
402 #define GL_DOMAIN 0x0A02
403 #define GL_CURRENT_COLOR 0x0B00
404 #define GL_CURRENT_INDEX 0x0B01
405 #define GL_CURRENT_NORMAL 0x0B02
406 #define GL_CURRENT_TEXTURE_COORDS 0x0B03
407 #define GL_CURRENT_RASTER_COLOR 0x0B04
408 #define GL_CURRENT_RASTER_INDEX 0x0B05
409 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
410 #define GL_CURRENT_RASTER_POSITION 0x0B07
411 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
412 #define GL_CURRENT_RASTER_DISTANCE 0x0B09
413 #define GL_POINT_SMOOTH 0x0B10
414 #define GL_POINT_SIZE 0x0B11
415 #define GL_POINT_SIZE_RANGE 0x0B12
416 #define GL_POINT_SIZE_GRANULARITY 0x0B13
417 #define GL_LINE_SMOOTH 0x0B20
418 #define GL_LINE_WIDTH 0x0B21
419 #define GL_LINE_WIDTH_RANGE 0x0B22
420 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
421 #define GL_LINE_STIPPLE 0x0B24
422 #define GL_LINE_STIPPLE_PATTERN 0x0B25
423 #define GL_LINE_STIPPLE_REPEAT 0x0B26
424 #define GL_LIST_MODE 0x0B30
425 #define GL_MAX_LIST_NESTING 0x0B31
426 #define GL_LIST_BASE 0x0B32
427 #define GL_LIST_INDEX 0x0B33
428 #define GL_POLYGON_MODE 0x0B40
429 #define GL_POLYGON_SMOOTH 0x0B41
430 #define GL_POLYGON_STIPPLE 0x0B42
431 #define GL_EDGE_FLAG 0x0B43
432 #define GL_CULL_FACE 0x0B44
433 #define GL_CULL_FACE_MODE 0x0B45
434 #define GL_FRONT_FACE 0x0B46
435 #define GL_LIGHTING 0x0B50
436 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
437 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
438 #define GL_LIGHT_MODEL_AMBIENT 0x0B53
439 #define GL_SHADE_MODEL 0x0B54
440 #define GL_COLOR_MATERIAL_FACE 0x0B55
441 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
442 #define GL_COLOR_MATERIAL 0x0B57
443 #define GL_FOG 0x0B60
444 #define GL_FOG_INDEX 0x0B61
445 #define GL_FOG_DENSITY 0x0B62
446 #define GL_FOG_START 0x0B63
447 #define GL_FOG_END 0x0B64
448 #define GL_FOG_MODE 0x0B65
449 #define GL_FOG_COLOR 0x0B66
450 #define GL_DEPTH_RANGE 0x0B70
451 #define GL_DEPTH_TEST 0x0B71
452 #define GL_DEPTH_WRITEMASK 0x0B72
453 #define GL_DEPTH_CLEAR_VALUE 0x0B73
454 #define GL_DEPTH_FUNC 0x0B74
455 #define GL_ACCUM_CLEAR_VALUE 0x0B80
456 #define GL_STENCIL_TEST 0x0B90
457 #define GL_STENCIL_CLEAR_VALUE 0x0B91
458 #define GL_STENCIL_FUNC 0x0B92
459 #define GL_STENCIL_VALUE_MASK 0x0B93
460 #define GL_STENCIL_FAIL 0x0B94
461 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
462 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
463 #define GL_STENCIL_REF 0x0B97
464 #define GL_STENCIL_WRITEMASK 0x0B98
465 #define GL_MATRIX_MODE 0x0BA0
466 #define GL_NORMALIZE 0x0BA1
467 #define GL_VIEWPORT 0x0BA2
468 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
469 #define GL_PROJECTION_STACK_DEPTH 0x0BA4
470 #define GL_TEXTURE_STACK_DEPTH 0x0BA5
471 #define GL_MODELVIEW_MATRIX 0x0BA6
472 #define GL_PROJECTION_MATRIX 0x0BA7
473 #define GL_TEXTURE_MATRIX 0x0BA8
474 #define GL_ATTRIB_STACK_DEPTH 0x0BB0
475 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
476 #define GL_ALPHA_TEST 0x0BC0
477 #define GL_ALPHA_TEST_FUNC 0x0BC1
478 #define GL_ALPHA_TEST_REF 0x0BC2
479 #define GL_DITHER 0x0BD0
480 #define GL_BLEND_DST 0x0BE0
481 #define GL_BLEND_SRC 0x0BE1
482 #define GL_BLEND 0x0BE2
483 #define GL_LOGIC_OP_MODE 0x0BF0
484 #define GL_INDEX_LOGIC_OP 0x0BF1
485 #define GL_COLOR_LOGIC_OP 0x0BF2
486 #define GL_AUX_BUFFERS 0x0C00
487 #define GL_DRAW_BUFFER 0x0C01
488 #define GL_READ_BUFFER 0x0C02
489 #define GL_SCISSOR_BOX 0x0C10
490 #define GL_SCISSOR_TEST 0x0C11
491 #define GL_INDEX_CLEAR_VALUE 0x0C20
492 #define GL_INDEX_WRITEMASK 0x0C21
493 #define GL_COLOR_CLEAR_VALUE 0x0C22
494 #define GL_COLOR_WRITEMASK 0x0C23
495 #define GL_INDEX_MODE 0x0C30
496 #define GL_RGBA_MODE 0x0C31
497 #define GL_DOUBLEBUFFER 0x0C32
498 #define GL_STEREO 0x0C33
499 #define GL_RENDER_MODE 0x0C40
500 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
501 #define GL_POINT_SMOOTH_HINT 0x0C51
502 #define GL_LINE_SMOOTH_HINT 0x0C52
503 #define GL_POLYGON_SMOOTH_HINT 0x0C53
504 #define GL_FOG_HINT 0x0C54
505 #define GL_TEXTURE_GEN_S 0x0C60
506 #define GL_TEXTURE_GEN_T 0x0C61
507 #define GL_TEXTURE_GEN_R 0x0C62
508 #define GL_TEXTURE_GEN_Q 0x0C63
509 #define GL_PIXEL_MAP_I_TO_I 0x0C70
510 #define GL_PIXEL_MAP_S_TO_S 0x0C71
511 #define GL_PIXEL_MAP_I_TO_R 0x0C72
512 #define GL_PIXEL_MAP_I_TO_G 0x0C73
513 #define GL_PIXEL_MAP_I_TO_B 0x0C74
514 #define GL_PIXEL_MAP_I_TO_A 0x0C75
515 #define GL_PIXEL_MAP_R_TO_R 0x0C76
516 #define GL_PIXEL_MAP_G_TO_G 0x0C77
517 #define GL_PIXEL_MAP_B_TO_B 0x0C78
518 #define GL_PIXEL_MAP_A_TO_A 0x0C79
519 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
520 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
521 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
522 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
523 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
524 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
525 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
526 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
527 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
528 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
529 #define GL_UNPACK_SWAP_BYTES 0x0CF0
530 #define GL_UNPACK_LSB_FIRST 0x0CF1
531 #define GL_UNPACK_ROW_LENGTH 0x0CF2
532 #define GL_UNPACK_SKIP_ROWS 0x0CF3
533 #define GL_UNPACK_SKIP_PIXELS 0x0CF4
534 #define GL_UNPACK_ALIGNMENT 0x0CF5
535 #define GL_PACK_SWAP_BYTES 0x0D00
536 #define GL_PACK_LSB_FIRST 0x0D01
537 #define GL_PACK_ROW_LENGTH 0x0D02
538 #define GL_PACK_SKIP_ROWS 0x0D03
539 #define GL_PACK_SKIP_PIXELS 0x0D04
540 #define GL_PACK_ALIGNMENT 0x0D05
541 #define GL_MAP_COLOR 0x0D10
542 #define GL_MAP_STENCIL 0x0D11
543 #define GL_INDEX_SHIFT 0x0D12
544 #define GL_INDEX_OFFSET 0x0D13
545 #define GL_RED_SCALE 0x0D14
546 #define GL_RED_BIAS 0x0D15
547 #define GL_ZOOM_X 0x0D16
548 #define GL_ZOOM_Y 0x0D17
549 #define GL_GREEN_SCALE 0x0D18
550 #define GL_GREEN_BIAS 0x0D19
551 #define GL_BLUE_SCALE 0x0D1A
552 #define GL_BLUE_BIAS 0x0D1B
553 #define GL_ALPHA_SCALE 0x0D1C
554 #define GL_ALPHA_BIAS 0x0D1D
555 #define GL_DEPTH_SCALE 0x0D1E
556 #define GL_DEPTH_BIAS 0x0D1F
557 #define GL_MAX_EVAL_ORDER 0x0D30
558 #define GL_MAX_LIGHTS 0x0D31
559 #define GL_MAX_CLIP_PLANES 0x0D32
560 #define GL_MAX_TEXTURE_SIZE 0x0D33
561 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
562 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
563 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
564 #define GL_MAX_NAME_STACK_DEPTH 0x0D37
565 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
566 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
567 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
568 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
569 #define GL_SUBPIXEL_BITS 0x0D50
570 #define GL_INDEX_BITS 0x0D51
571 #define GL_RED_BITS 0x0D52
572 #define GL_GREEN_BITS 0x0D53
573 #define GL_BLUE_BITS 0x0D54
574 #define GL_ALPHA_BITS 0x0D55
575 #define GL_DEPTH_BITS 0x0D56
576 #define GL_STENCIL_BITS 0x0D57
577 #define GL_ACCUM_RED_BITS 0x0D58
578 #define GL_ACCUM_GREEN_BITS 0x0D59
579 #define GL_ACCUM_BLUE_BITS 0x0D5A
580 #define GL_ACCUM_ALPHA_BITS 0x0D5B
581 #define GL_NAME_STACK_DEPTH 0x0D70
582 #define GL_AUTO_NORMAL 0x0D80
583 #define GL_MAP1_COLOR_4 0x0D90
584 #define GL_MAP1_INDEX 0x0D91
585 #define GL_MAP1_NORMAL 0x0D92
586 #define GL_MAP1_TEXTURE_COORD_1 0x0D93
587 #define GL_MAP1_TEXTURE_COORD_2 0x0D94
588 #define GL_MAP1_TEXTURE_COORD_3 0x0D95
589 #define GL_MAP1_TEXTURE_COORD_4 0x0D96
590 #define GL_MAP1_VERTEX_3 0x0D97
591 #define GL_MAP1_VERTEX_4 0x0D98
592 #define GL_MAP2_COLOR_4 0x0DB0
593 #define GL_MAP2_INDEX 0x0DB1
594 #define GL_MAP2_NORMAL 0x0DB2
595 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
596 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
597 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
598 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
599 #define GL_MAP2_VERTEX_3 0x0DB7
600 #define GL_MAP2_VERTEX_4 0x0DB8
601 #define GL_MAP1_GRID_DOMAIN 0x0DD0
602 #define GL_MAP1_GRID_SEGMENTS 0x0DD1
603 #define GL_MAP2_GRID_DOMAIN 0x0DD2
604 #define GL_MAP2_GRID_SEGMENTS 0x0DD3
605 #define GL_TEXTURE_1D 0x0DE0
606 #define GL_TEXTURE_2D 0x0DE1
607 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
608 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
609 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
610 #define GL_SELECTION_BUFFER_POINTER 0x0DF3
611 #define GL_SELECTION_BUFFER_SIZE 0x0DF4
612 #define GL_TEXTURE_WIDTH 0x1000
613 #define GL_TRANSFORM_BIT 0x00001000
614 #define GL_TEXTURE_HEIGHT 0x1001
615 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
616 #define GL_TEXTURE_BORDER_COLOR 0x1004
617 #define GL_TEXTURE_BORDER 0x1005
618 #define GL_DONT_CARE 0x1100
619 #define GL_FASTEST 0x1101
620 #define GL_NICEST 0x1102
621 #define GL_AMBIENT 0x1200
622 #define GL_DIFFUSE 0x1201
623 #define GL_SPECULAR 0x1202
624 #define GL_POSITION 0x1203
625 #define GL_SPOT_DIRECTION 0x1204
626 #define GL_SPOT_EXPONENT 0x1205
627 #define GL_SPOT_CUTOFF 0x1206
628 #define GL_CONSTANT_ATTENUATION 0x1207
629 #define GL_LINEAR_ATTENUATION 0x1208
630 #define GL_QUADRATIC_ATTENUATION 0x1209
631 #define GL_COMPILE 0x1300
632 #define GL_COMPILE_AND_EXECUTE 0x1301
633 #define GL_BYTE 0x1400
634 #define GL_UNSIGNED_BYTE 0x1401
635 #define GL_SHORT 0x1402
636 #define GL_UNSIGNED_SHORT 0x1403
637 #define GL_INT 0x1404
638 #define GL_UNSIGNED_INT 0x1405
639 #define GL_FLOAT 0x1406
640 #define GL_2_BYTES 0x1407
641 #define GL_3_BYTES 0x1408
642 #define GL_4_BYTES 0x1409
643 #define GL_DOUBLE 0x140A
644 #define GL_CLEAR 0x1500
645 #define GL_AND 0x1501
646 #define GL_AND_REVERSE 0x1502
647 #define GL_COPY 0x1503
648 #define GL_AND_INVERTED 0x1504
649 #define GL_NOOP 0x1505
650 #define GL_XOR 0x1506
651 #define GL_OR 0x1507
652 #define GL_NOR 0x1508
653 #define GL_EQUIV 0x1509
654 #define GL_INVERT 0x150A
655 #define GL_OR_REVERSE 0x150B
656 #define GL_COPY_INVERTED 0x150C
657 #define GL_OR_INVERTED 0x150D
658 #define GL_NAND 0x150E
659 #define GL_SET 0x150F
660 #define GL_EMISSION 0x1600
661 #define GL_SHININESS 0x1601
662 #define GL_AMBIENT_AND_DIFFUSE 0x1602
663 #define GL_COLOR_INDEXES 0x1603
664 #define GL_MODELVIEW 0x1700
665 #define GL_PROJECTION 0x1701
666 #define GL_TEXTURE 0x1702
667 #define GL_COLOR 0x1800
668 #define GL_DEPTH 0x1801
669 #define GL_STENCIL 0x1802
670 #define GL_COLOR_INDEX 0x1900
671 #define GL_STENCIL_INDEX 0x1901
672 #define GL_DEPTH_COMPONENT 0x1902
673 #define GL_RED 0x1903
674 #define GL_GREEN 0x1904
675 #define GL_BLUE 0x1905
676 #define GL_ALPHA 0x1906
677 #define GL_RGB 0x1907
678 #define GL_RGBA 0x1908
679 #define GL_LUMINANCE 0x1909
680 #define GL_LUMINANCE_ALPHA 0x190A
681 #define GL_BITMAP 0x1A00
682 #define GL_POINT 0x1B00
683 #define GL_LINE 0x1B01
684 #define GL_FILL 0x1B02
685 #define GL_RENDER 0x1C00
686 #define GL_FEEDBACK 0x1C01
687 #define GL_SELECT 0x1C02
688 #define GL_FLAT 0x1D00
689 #define GL_SMOOTH 0x1D01
690 #define GL_KEEP 0x1E00
691 #define GL_REPLACE 0x1E01
692 #define GL_INCR 0x1E02
693 #define GL_DECR 0x1E03
694 #define GL_VENDOR 0x1F00
695 #define GL_RENDERER 0x1F01
696 #define GL_VERSION 0x1F02
697 #define GL_EXTENSIONS 0x1F03
698 #define GL_S 0x2000
699 #define GL_ENABLE_BIT 0x00002000
700 #define GL_T 0x2001
701 #define GL_R 0x2002
702 #define GL_Q 0x2003
703 #define GL_MODULATE 0x2100
704 #define GL_DECAL 0x2101
705 #define GL_TEXTURE_ENV_MODE 0x2200
706 #define GL_TEXTURE_ENV_COLOR 0x2201
707 #define GL_TEXTURE_ENV 0x2300
708 #define GL_EYE_LINEAR 0x2400
709 #define GL_OBJECT_LINEAR 0x2401
710 #define GL_SPHERE_MAP 0x2402
711 #define GL_TEXTURE_GEN_MODE 0x2500
712 #define GL_OBJECT_PLANE 0x2501
713 #define GL_EYE_PLANE 0x2502
714 #define GL_NEAREST 0x2600
715 #define GL_LINEAR 0x2601
716 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
717 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
718 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
719 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
720 #define GL_TEXTURE_MAG_FILTER 0x2800
721 #define GL_TEXTURE_MIN_FILTER 0x2801
722 #define GL_TEXTURE_WRAP_S 0x2802
723 #define GL_TEXTURE_WRAP_T 0x2803
724 #define GL_CLAMP 0x2900
725 #define GL_REPEAT 0x2901
726 #define GL_POLYGON_OFFSET_UNITS 0x2A00
727 #define GL_POLYGON_OFFSET_POINT 0x2A01
728 #define GL_POLYGON_OFFSET_LINE 0x2A02
729 #define GL_R3_G3_B2 0x2A10
730 #define GL_V2F 0x2A20
731 #define GL_V3F 0x2A21
732 #define GL_C4UB_V2F 0x2A22
733 #define GL_C4UB_V3F 0x2A23
734 #define GL_C3F_V3F 0x2A24
735 #define GL_N3F_V3F 0x2A25
736 #define GL_C4F_N3F_V3F 0x2A26
737 #define GL_T2F_V3F 0x2A27
738 #define GL_T4F_V4F 0x2A28
739 #define GL_T2F_C4UB_V3F 0x2A29
740 #define GL_T2F_C3F_V3F 0x2A2A
741 #define GL_T2F_N3F_V3F 0x2A2B
742 #define GL_T2F_C4F_N3F_V3F 0x2A2C
743 #define GL_T4F_C4F_N3F_V4F 0x2A2D
744 #define GL_CLIP_PLANE0 0x3000
745 #define GL_CLIP_PLANE1 0x3001
746 #define GL_CLIP_PLANE2 0x3002
747 #define GL_CLIP_PLANE3 0x3003
748 #define GL_CLIP_PLANE4 0x3004
749 #define GL_CLIP_PLANE5 0x3005
750 #define GL_LIGHT0 0x4000
751 #define GL_COLOR_BUFFER_BIT 0x00004000
752 #define GL_LIGHT1 0x4001
753 #define GL_LIGHT2 0x4002
754 #define GL_LIGHT3 0x4003
755 #define GL_LIGHT4 0x4004
756 #define GL_LIGHT5 0x4005
757 #define GL_LIGHT6 0x4006
758 #define GL_LIGHT7 0x4007
759 #define GL_HINT_BIT 0x00008000
760 #define GL_POLYGON_OFFSET_FILL 0x8037
761 #define GL_POLYGON_OFFSET_FACTOR 0x8038
762 #define GL_ALPHA4 0x803B
763 #define GL_ALPHA8 0x803C
764 #define GL_ALPHA12 0x803D
765 #define GL_ALPHA16 0x803E
766 #define GL_LUMINANCE4 0x803F
767 #define GL_LUMINANCE8 0x8040
768 #define GL_LUMINANCE12 0x8041
769 #define GL_LUMINANCE16 0x8042
770 #define GL_LUMINANCE4_ALPHA4 0x8043
771 #define GL_LUMINANCE6_ALPHA2 0x8044
772 #define GL_LUMINANCE8_ALPHA8 0x8045
773 #define GL_LUMINANCE12_ALPHA4 0x8046
774 #define GL_LUMINANCE12_ALPHA12 0x8047
775 #define GL_LUMINANCE16_ALPHA16 0x8048
776 #define GL_INTENSITY 0x8049
777 #define GL_INTENSITY4 0x804A
778 #define GL_INTENSITY8 0x804B
779 #define GL_INTENSITY12 0x804C
780 #define GL_INTENSITY16 0x804D
781 #define GL_RGB4 0x804F
782 #define GL_RGB5 0x8050
783 #define GL_RGB8 0x8051
784 #define GL_RGB10 0x8052
785 #define GL_RGB12 0x8053
786 #define GL_RGB16 0x8054
787 #define GL_RGBA2 0x8055
788 #define GL_RGBA4 0x8056
789 #define GL_RGB5_A1 0x8057
790 #define GL_RGBA8 0x8058
791 #define GL_RGB10_A2 0x8059
792 #define GL_RGBA12 0x805A
793 #define GL_RGBA16 0x805B
794 #define GL_TEXTURE_RED_SIZE 0x805C
795 #define GL_TEXTURE_GREEN_SIZE 0x805D
796 #define GL_TEXTURE_BLUE_SIZE 0x805E
797 #define GL_TEXTURE_ALPHA_SIZE 0x805F
798 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
799 #define GL_TEXTURE_INTENSITY_SIZE 0x8061
800 #define GL_PROXY_TEXTURE_1D 0x8063
801 #define GL_PROXY_TEXTURE_2D 0x8064
802 #define GL_TEXTURE_PRIORITY 0x8066
803 #define GL_TEXTURE_RESIDENT 0x8067
804 #define GL_TEXTURE_BINDING_1D 0x8068
805 #define GL_TEXTURE_BINDING_2D 0x8069
806 #define GL_VERTEX_ARRAY 0x8074
807 #define GL_NORMAL_ARRAY 0x8075
808 #define GL_COLOR_ARRAY 0x8076
809 #define GL_INDEX_ARRAY 0x8077
810 #define GL_TEXTURE_COORD_ARRAY 0x8078
811 #define GL_EDGE_FLAG_ARRAY 0x8079
812 #define GL_VERTEX_ARRAY_SIZE 0x807A
813 #define GL_VERTEX_ARRAY_TYPE 0x807B
814 #define GL_VERTEX_ARRAY_STRIDE 0x807C
815 #define GL_NORMAL_ARRAY_TYPE 0x807E
816 #define GL_NORMAL_ARRAY_STRIDE 0x807F
817 #define GL_COLOR_ARRAY_SIZE 0x8081
818 #define GL_COLOR_ARRAY_TYPE 0x8082
819 #define GL_COLOR_ARRAY_STRIDE 0x8083
820 #define GL_INDEX_ARRAY_TYPE 0x8085
821 #define GL_INDEX_ARRAY_STRIDE 0x8086
822 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
823 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
824 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
825 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
826 #define GL_VERTEX_ARRAY_POINTER 0x808E
827 #define GL_NORMAL_ARRAY_POINTER 0x808F
828 #define GL_COLOR_ARRAY_POINTER 0x8090
829 #define GL_INDEX_ARRAY_POINTER 0x8091
830 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
831 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
832 #define GL_COLOR_INDEX1_EXT 0x80E2
833 #define GL_COLOR_INDEX2_EXT 0x80E3
834 #define GL_COLOR_INDEX4_EXT 0x80E4
835 #define GL_COLOR_INDEX8_EXT 0x80E5
836 #define GL_COLOR_INDEX12_EXT 0x80E6
837 #define GL_COLOR_INDEX16_EXT 0x80E7
838 #define GL_EVAL_BIT 0x00010000
839 #define GL_LIST_BIT 0x00020000
840 #define GL_TEXTURE_BIT 0x00040000
841 #define GL_SCISSOR_BIT 0x00080000
842 #define GL_ALL_ATTRIB_BITS 0x000fffff
843 #define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff
844 
845 GLAPI void GLAPIENTRY glAccum (GLenum op, GLfloat value);
846 GLAPI void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref);
847 GLAPI GLboolean GLAPIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
848 GLAPI void GLAPIENTRY glArrayElement (GLint i);
849 GLAPI void GLAPIENTRY glBegin (GLenum mode);
850 GLAPI void GLAPIENTRY glBindTexture (GLenum target, GLuint texture);
851 GLAPI void GLAPIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
852 GLAPI void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
853 GLAPI void GLAPIENTRY glCallList (GLuint list);
854 GLAPI void GLAPIENTRY glCallLists (GLsizei n, GLenum type, const void *lists);
855 GLAPI void GLAPIENTRY glClear (GLbitfield mask);
856 GLAPI void GLAPIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
857 GLAPI void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
858 GLAPI void GLAPIENTRY glClearDepth (GLclampd depth);
859 GLAPI void GLAPIENTRY glClearIndex (GLfloat c);
860 GLAPI void GLAPIENTRY glClearStencil (GLint s);
861 GLAPI void GLAPIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
862 GLAPI void GLAPIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
863 GLAPI void GLAPIENTRY glColor3bv (const GLbyte *v);
864 GLAPI void GLAPIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
865 GLAPI void GLAPIENTRY glColor3dv (const GLdouble *v);
866 GLAPI void GLAPIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
867 GLAPI void GLAPIENTRY glColor3fv (const GLfloat *v);
868 GLAPI void GLAPIENTRY glColor3i (GLint red, GLint green, GLint blue);
869 GLAPI void GLAPIENTRY glColor3iv (const GLint *v);
870 GLAPI void GLAPIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
871 GLAPI void GLAPIENTRY glColor3sv (const GLshort *v);
872 GLAPI void GLAPIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
873 GLAPI void GLAPIENTRY glColor3ubv (const GLubyte *v);
874 GLAPI void GLAPIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
875 GLAPI void GLAPIENTRY glColor3uiv (const GLuint *v);
876 GLAPI void GLAPIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
877 GLAPI void GLAPIENTRY glColor3usv (const GLushort *v);
878 GLAPI void GLAPIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
879 GLAPI void GLAPIENTRY glColor4bv (const GLbyte *v);
880 GLAPI void GLAPIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
881 GLAPI void GLAPIENTRY glColor4dv (const GLdouble *v);
882 GLAPI void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
883 GLAPI void GLAPIENTRY glColor4fv (const GLfloat *v);
884 GLAPI void GLAPIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
885 GLAPI void GLAPIENTRY glColor4iv (const GLint *v);
886 GLAPI void GLAPIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
887 GLAPI void GLAPIENTRY glColor4sv (const GLshort *v);
888 GLAPI void GLAPIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
889 GLAPI void GLAPIENTRY glColor4ubv (const GLubyte *v);
890 GLAPI void GLAPIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
891 GLAPI void GLAPIENTRY glColor4uiv (const GLuint *v);
892 GLAPI void GLAPIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
893 GLAPI void GLAPIENTRY glColor4usv (const GLushort *v);
894 GLAPI void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
895 GLAPI void GLAPIENTRY glColorMaterial (GLenum face, GLenum mode);
896 GLAPI void GLAPIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
897 GLAPI void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
898 GLAPI void GLAPIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
899 GLAPI void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
900 GLAPI void GLAPIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
901 GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
902 GLAPI void GLAPIENTRY glCullFace (GLenum mode);
903 GLAPI void GLAPIENTRY glDeleteLists (GLuint list, GLsizei range);
904 GLAPI void GLAPIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
905 GLAPI void GLAPIENTRY glDepthFunc (GLenum func);
906 GLAPI void GLAPIENTRY glDepthMask (GLboolean flag);
907 GLAPI void GLAPIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
908 GLAPI void GLAPIENTRY glDisable (GLenum cap);
910 GLAPI void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
911 GLAPI void GLAPIENTRY glDrawBuffer (GLenum mode);
912 GLAPI void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices);
913 GLAPI void GLAPIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
914 GLAPI void GLAPIENTRY glEdgeFlag (GLboolean flag);
915 GLAPI void GLAPIENTRY glEdgeFlagPointer (GLsizei stride, const void *pointer);
916 GLAPI void GLAPIENTRY glEdgeFlagv (const GLboolean *flag);
917 GLAPI void GLAPIENTRY glEnable (GLenum cap);
919 GLAPI void GLAPIENTRY glEnd (void);
920 GLAPI void GLAPIENTRY glEndList (void);
921 GLAPI void GLAPIENTRY glEvalCoord1d (GLdouble u);
922 GLAPI void GLAPIENTRY glEvalCoord1dv (const GLdouble *u);
923 GLAPI void GLAPIENTRY glEvalCoord1f (GLfloat u);
924 GLAPI void GLAPIENTRY glEvalCoord1fv (const GLfloat *u);
925 GLAPI void GLAPIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
926 GLAPI void GLAPIENTRY glEvalCoord2dv (const GLdouble *u);
927 GLAPI void GLAPIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
928 GLAPI void GLAPIENTRY glEvalCoord2fv (const GLfloat *u);
929 GLAPI void GLAPIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
930 GLAPI void GLAPIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
931 GLAPI void GLAPIENTRY glEvalPoint1 (GLint i);
932 GLAPI void GLAPIENTRY glEvalPoint2 (GLint i, GLint j);
933 GLAPI void GLAPIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
934 GLAPI void GLAPIENTRY glFinish (void);
935 GLAPI void GLAPIENTRY glFlush (void);
936 GLAPI void GLAPIENTRY glFogf (GLenum pname, GLfloat param);
937 GLAPI void GLAPIENTRY glFogfv (GLenum pname, const GLfloat *params);
938 GLAPI void GLAPIENTRY glFogi (GLenum pname, GLint param);
939 GLAPI void GLAPIENTRY glFogiv (GLenum pname, const GLint *params);
940 GLAPI void GLAPIENTRY glFrontFace (GLenum mode);
941 GLAPI void GLAPIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
942 GLAPI GLuint GLAPIENTRY glGenLists (GLsizei range);
943 GLAPI void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures);
944 GLAPI void GLAPIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
945 GLAPI void GLAPIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
946 GLAPI void GLAPIENTRY glGetDoublev (GLenum pname, GLdouble *params);
947 GLAPI GLenum GLAPIENTRY glGetError (void);
948 GLAPI void GLAPIENTRY glGetFloatv (GLenum pname, GLfloat *params);
949 GLAPI void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params);
950 GLAPI void GLAPIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
951 GLAPI void GLAPIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
952 GLAPI void GLAPIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
953 GLAPI void GLAPIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
954 GLAPI void GLAPIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
955 GLAPI void GLAPIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
956 GLAPI void GLAPIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
957 GLAPI void GLAPIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
958 GLAPI void GLAPIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
959 GLAPI void GLAPIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
960 GLAPI void GLAPIENTRY glGetPointerv (GLenum pname, void* *params);
961 GLAPI void GLAPIENTRY glGetPolygonStipple (GLubyte *mask);
962 GLAPI const GLubyte * GLAPIENTRY glGetString (GLenum name);
963 GLAPI void GLAPIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
964 GLAPI void GLAPIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
965 GLAPI void GLAPIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
966 GLAPI void GLAPIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
967 GLAPI void GLAPIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
968 GLAPI void GLAPIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
969 GLAPI void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
970 GLAPI void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
971 GLAPI void GLAPIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
972 GLAPI void GLAPIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
973 GLAPI void GLAPIENTRY glHint (GLenum target, GLenum mode);
974 GLAPI void GLAPIENTRY glIndexMask (GLuint mask);
975 GLAPI void GLAPIENTRY glIndexPointer (GLenum type, GLsizei stride, const void *pointer);
976 GLAPI void GLAPIENTRY glIndexd (GLdouble c);
977 GLAPI void GLAPIENTRY glIndexdv (const GLdouble *c);
978 GLAPI void GLAPIENTRY glIndexf (GLfloat c);
979 GLAPI void GLAPIENTRY glIndexfv (const GLfloat *c);
980 GLAPI void GLAPIENTRY glIndexi (GLint c);
981 GLAPI void GLAPIENTRY glIndexiv (const GLint *c);
982 GLAPI void GLAPIENTRY glIndexs (GLshort c);
983 GLAPI void GLAPIENTRY glIndexsv (const GLshort *c);
984 GLAPI void GLAPIENTRY glIndexub (GLubyte c);
985 GLAPI void GLAPIENTRY glIndexubv (const GLubyte *c);
986 GLAPI void GLAPIENTRY glInitNames (void);
987 GLAPI void GLAPIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const void *pointer);
988 GLAPI GLboolean GLAPIENTRY glIsEnabled (GLenum cap);
989 GLAPI GLboolean GLAPIENTRY glIsList (GLuint list);
990 GLAPI GLboolean GLAPIENTRY glIsTexture (GLuint texture);
991 GLAPI void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param);
992 GLAPI void GLAPIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
993 GLAPI void GLAPIENTRY glLightModeli (GLenum pname, GLint param);
994 GLAPI void GLAPIENTRY glLightModeliv (GLenum pname, const GLint *params);
995 GLAPI void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
996 GLAPI void GLAPIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
997 GLAPI void GLAPIENTRY glLighti (GLenum light, GLenum pname, GLint param);
998 GLAPI void GLAPIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
999 GLAPI void GLAPIENTRY glLineStipple (GLint factor, GLushort pattern);
1000 GLAPI void GLAPIENTRY glLineWidth (GLfloat width);
1001 GLAPI void GLAPIENTRY glListBase (GLuint base);
1002 GLAPI void GLAPIENTRY glLoadIdentity (void);
1003 GLAPI void GLAPIENTRY glLoadMatrixd (const GLdouble *m);
1004 GLAPI void GLAPIENTRY glLoadMatrixf (const GLfloat *m);
1005 GLAPI void GLAPIENTRY glLoadName (GLuint name);
1006 GLAPI void GLAPIENTRY glLogicOp (GLenum opcode);
1007 GLAPI void GLAPIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
1008 GLAPI void GLAPIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
1009 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);
1010 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);
1011 GLAPI void GLAPIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
1012 GLAPI void GLAPIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
1013 GLAPI void GLAPIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
1014 GLAPI void GLAPIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
1015 GLAPI void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
1016 GLAPI void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
1017 GLAPI void GLAPIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
1018 GLAPI void GLAPIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
1019 GLAPI void GLAPIENTRY glMatrixMode (GLenum mode);
1020 GLAPI void GLAPIENTRY glMultMatrixd (const GLdouble *m);
1021 GLAPI void GLAPIENTRY glMultMatrixf (const GLfloat *m);
1022 GLAPI void GLAPIENTRY glNewList (GLuint list, GLenum mode);
1023 GLAPI void GLAPIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
1024 GLAPI void GLAPIENTRY glNormal3bv (const GLbyte *v);
1025 GLAPI void GLAPIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
1026 GLAPI void GLAPIENTRY glNormal3dv (const GLdouble *v);
1027 GLAPI void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
1028 GLAPI void GLAPIENTRY glNormal3fv (const GLfloat *v);
1029 GLAPI void GLAPIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
1030 GLAPI void GLAPIENTRY glNormal3iv (const GLint *v);
1031 GLAPI void GLAPIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
1032 GLAPI void GLAPIENTRY glNormal3sv (const GLshort *v);
1033 GLAPI void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride, const void *pointer);
1034 GLAPI void GLAPIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
1035 GLAPI void GLAPIENTRY glPassThrough (GLfloat token);
1036 GLAPI void GLAPIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
1037 GLAPI void GLAPIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
1038 GLAPI void GLAPIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
1039 GLAPI void GLAPIENTRY glPixelStoref (GLenum pname, GLfloat param);
1040 GLAPI void GLAPIENTRY glPixelStorei (GLenum pname, GLint param);
1041 GLAPI void GLAPIENTRY glPixelTransferf (GLenum pname, GLfloat param);
1042 GLAPI void GLAPIENTRY glPixelTransferi (GLenum pname, GLint param);
1043 GLAPI void GLAPIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
1044 GLAPI void GLAPIENTRY glPointSize (GLfloat size);
1045 GLAPI void GLAPIENTRY glPolygonMode (GLenum face, GLenum mode);
1046 GLAPI void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
1047 GLAPI void GLAPIENTRY glPolygonStipple (const GLubyte *mask);
1048 GLAPI void GLAPIENTRY glPopAttrib (void);
1049 GLAPI void GLAPIENTRY glPopClientAttrib (void);
1050 GLAPI void GLAPIENTRY glPopMatrix (void);
1051 GLAPI void GLAPIENTRY glPopName (void);
1052 GLAPI void GLAPIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
1053 GLAPI void GLAPIENTRY glPushAttrib (GLbitfield mask);
1054 GLAPI void GLAPIENTRY glPushClientAttrib (GLbitfield mask);
1055 GLAPI void GLAPIENTRY glPushMatrix (void);
1056 GLAPI void GLAPIENTRY glPushName (GLuint name);
1057 GLAPI void GLAPIENTRY glRasterPos2d (GLdouble x, GLdouble y);
1058 GLAPI void GLAPIENTRY glRasterPos2dv (const GLdouble *v);
1059 GLAPI void GLAPIENTRY glRasterPos2f (GLfloat x, GLfloat y);
1060 GLAPI void GLAPIENTRY glRasterPos2fv (const GLfloat *v);
1061 GLAPI void GLAPIENTRY glRasterPos2i (GLint x, GLint y);
1062 GLAPI void GLAPIENTRY glRasterPos2iv (const GLint *v);
1063 GLAPI void GLAPIENTRY glRasterPos2s (GLshort x, GLshort y);
1064 GLAPI void GLAPIENTRY glRasterPos2sv (const GLshort *v);
1065 GLAPI void GLAPIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
1066 GLAPI void GLAPIENTRY glRasterPos3dv (const GLdouble *v);
1067 GLAPI void GLAPIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
1068 GLAPI void GLAPIENTRY glRasterPos3fv (const GLfloat *v);
1069 GLAPI void GLAPIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
1070 GLAPI void GLAPIENTRY glRasterPos3iv (const GLint *v);
1071 GLAPI void GLAPIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
1072 GLAPI void GLAPIENTRY glRasterPos3sv (const GLshort *v);
1073 GLAPI void GLAPIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1074 GLAPI void GLAPIENTRY glRasterPos4dv (const GLdouble *v);
1075 GLAPI void GLAPIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1076 GLAPI void GLAPIENTRY glRasterPos4fv (const GLfloat *v);
1077 GLAPI void GLAPIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
1078 GLAPI void GLAPIENTRY glRasterPos4iv (const GLint *v);
1079 GLAPI void GLAPIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
1080 GLAPI void GLAPIENTRY glRasterPos4sv (const GLshort *v);
1081 GLAPI void GLAPIENTRY glReadBuffer (GLenum mode);
1082 GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
1083 GLAPI void GLAPIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1084 GLAPI void GLAPIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
1085 GLAPI void GLAPIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1086 GLAPI void GLAPIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
1087 GLAPI void GLAPIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1088 GLAPI void GLAPIENTRY glRectiv (const GLint *v1, const GLint *v2);
1089 GLAPI void GLAPIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1090 GLAPI void GLAPIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
1091 GLAPI GLint GLAPIENTRY glRenderMode (GLenum mode);
1092 GLAPI void GLAPIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1093 GLAPI void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1094 GLAPI void GLAPIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
1095 GLAPI void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
1096 GLAPI void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
1097 GLAPI void GLAPIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
1098 GLAPI void GLAPIENTRY glShadeModel (GLenum mode);
1099 GLAPI void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
1100 GLAPI void GLAPIENTRY glStencilMask (GLuint mask);
1101 GLAPI void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1102 GLAPI void GLAPIENTRY glTexCoord1d (GLdouble s);
1103 GLAPI void GLAPIENTRY glTexCoord1dv (const GLdouble *v);
1104 GLAPI void GLAPIENTRY glTexCoord1f (GLfloat s);
1105 GLAPI void GLAPIENTRY glTexCoord1fv (const GLfloat *v);
1106 GLAPI void GLAPIENTRY glTexCoord1i (GLint s);
1107 GLAPI void GLAPIENTRY glTexCoord1iv (const GLint *v);
1108 GLAPI void GLAPIENTRY glTexCoord1s (GLshort s);
1109 GLAPI void GLAPIENTRY glTexCoord1sv (const GLshort *v);
1110 GLAPI void GLAPIENTRY glTexCoord2d (GLdouble s, GLdouble t);
1111 GLAPI void GLAPIENTRY glTexCoord2dv (const GLdouble *v);
1112 GLAPI void GLAPIENTRY glTexCoord2f (GLfloat s, GLfloat t);
1113 GLAPI void GLAPIENTRY glTexCoord2fv (const GLfloat *v);
1114 GLAPI void GLAPIENTRY glTexCoord2i (GLint s, GLint t);
1115 GLAPI void GLAPIENTRY glTexCoord2iv (const GLint *v);
1116 GLAPI void GLAPIENTRY glTexCoord2s (GLshort s, GLshort t);
1117 GLAPI void GLAPIENTRY glTexCoord2sv (const GLshort *v);
1118 GLAPI void GLAPIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1119 GLAPI void GLAPIENTRY glTexCoord3dv (const GLdouble *v);
1120 GLAPI void GLAPIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1121 GLAPI void GLAPIENTRY glTexCoord3fv (const GLfloat *v);
1122 GLAPI void GLAPIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
1123 GLAPI void GLAPIENTRY glTexCoord3iv (const GLint *v);
1124 GLAPI void GLAPIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
1125 GLAPI void GLAPIENTRY glTexCoord3sv (const GLshort *v);
1126 GLAPI void GLAPIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1127 GLAPI void GLAPIENTRY glTexCoord4dv (const GLdouble *v);
1128 GLAPI void GLAPIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1129 GLAPI void GLAPIENTRY glTexCoord4fv (const GLfloat *v);
1130 GLAPI void GLAPIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1131 GLAPI void GLAPIENTRY glTexCoord4iv (const GLint *v);
1132 GLAPI void GLAPIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1133 GLAPI void GLAPIENTRY glTexCoord4sv (const GLshort *v);
1134 GLAPI void GLAPIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
1135 GLAPI void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1136 GLAPI void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
1137 GLAPI void GLAPIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
1138 GLAPI void GLAPIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
1139 GLAPI void GLAPIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
1140 GLAPI void GLAPIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
1141 GLAPI void GLAPIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1142 GLAPI void GLAPIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
1143 GLAPI void GLAPIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
1144 GLAPI void GLAPIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
1145 GLAPI void GLAPIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
1146 GLAPI void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
1147 GLAPI void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1148 GLAPI void GLAPIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1149 GLAPI void GLAPIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
1150 GLAPI void GLAPIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
1151 GLAPI void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
1152 GLAPI void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
1153 GLAPI void GLAPIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
1154 GLAPI void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1155 GLAPI void GLAPIENTRY glVertex2d (GLdouble x, GLdouble y);
1156 GLAPI void GLAPIENTRY glVertex2dv (const GLdouble *v);
1157 GLAPI void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y);
1158 GLAPI void GLAPIENTRY glVertex2fv (const GLfloat *v);
1159 GLAPI void GLAPIENTRY glVertex2i (GLint x, GLint y);
1160 GLAPI void GLAPIENTRY glVertex2iv (const GLint *v);
1161 GLAPI void GLAPIENTRY glVertex2s (GLshort x, GLshort y);
1162 GLAPI void GLAPIENTRY glVertex2sv (const GLshort *v);
1163 GLAPI void GLAPIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1164 GLAPI void GLAPIENTRY glVertex3dv (const GLdouble *v);
1165 GLAPI void GLAPIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1166 GLAPI void GLAPIENTRY glVertex3fv (const GLfloat *v);
1167 GLAPI void GLAPIENTRY glVertex3i (GLint x, GLint y, GLint z);
1168 GLAPI void GLAPIENTRY glVertex3iv (const GLint *v);
1169 GLAPI void GLAPIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
1170 GLAPI void GLAPIENTRY glVertex3sv (const GLshort *v);
1171 GLAPI void GLAPIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1172 GLAPI void GLAPIENTRY glVertex4dv (const GLdouble *v);
1173 GLAPI void GLAPIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1174 GLAPI void GLAPIENTRY glVertex4fv (const GLfloat *v);
1175 GLAPI void GLAPIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
1176 GLAPI void GLAPIENTRY glVertex4iv (const GLint *v);
1177 GLAPI void GLAPIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1178 GLAPI void GLAPIENTRY glVertex4sv (const GLshort *v);
1179 GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
1180 GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
1181 
1182 #define GLEW_VERSION_1_1 GLEW_GET_VAR(__GLEW_VERSION_1_1)
1183 
1184 #endif /* GL_VERSION_1_1 */
1185 
1186 /* ---------------------------------- GLU ---------------------------------- */
1187 
1188 #ifndef GLEW_NO_GLU
1189 # ifdef __APPLE__
1190 # include <Availability.h>
1191 # if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
1192 # define GLEW_NO_GLU
1193 # endif
1194 # endif
1195 #endif
1196 
1197 #ifndef GLEW_NO_GLU
1198 /* this is where we can safely include GLU */
1199 # if defined(__APPLE__) && defined(__MACH__)
1200 # include <OpenGL/glu.h>
1201 # else
1202 # include <GL/glu.h>
1203 # endif
1204 #endif
1205 
1206 /* ----------------------------- GL_VERSION_1_2 ---------------------------- */
1207 
1208 #ifndef GL_VERSION_1_2
1209 #define GL_VERSION_1_2 1
1210 
1211 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
1212 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
1213 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
1214 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
1215 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
1216 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
1217 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
1218 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
1219 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
1220 #define GL_RESCALE_NORMAL 0x803A
1221 #define GL_TEXTURE_BINDING_3D 0x806A
1222 #define GL_PACK_SKIP_IMAGES 0x806B
1223 #define GL_PACK_IMAGE_HEIGHT 0x806C
1224 #define GL_UNPACK_SKIP_IMAGES 0x806D
1225 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
1226 #define GL_TEXTURE_3D 0x806F
1227 #define GL_PROXY_TEXTURE_3D 0x8070
1228 #define GL_TEXTURE_DEPTH 0x8071
1229 #define GL_TEXTURE_WRAP_R 0x8072
1230 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
1231 #define GL_BGR 0x80E0
1232 #define GL_BGRA 0x80E1
1233 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
1234 #define GL_MAX_ELEMENTS_INDICES 0x80E9
1235 #define GL_CLAMP_TO_EDGE 0x812F
1236 #define GL_TEXTURE_MIN_LOD 0x813A
1237 #define GL_TEXTURE_MAX_LOD 0x813B
1238 #define GL_TEXTURE_BASE_LEVEL 0x813C
1239 #define GL_TEXTURE_MAX_LEVEL 0x813D
1240 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
1241 #define GL_SINGLE_COLOR 0x81F9
1242 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
1243 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
1244 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
1245 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
1246 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
1247 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
1248 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
1249 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
1250 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
1251 
1252 typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1253 typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
1254 typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
1255 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 void *pixels);
1256 
1257 #define glCopyTexSubImage3D GLEW_GET_FUN(__glewCopyTexSubImage3D)
1258 #define glDrawRangeElements GLEW_GET_FUN(__glewDrawRangeElements)
1259 #define glTexImage3D GLEW_GET_FUN(__glewTexImage3D)
1260 #define glTexSubImage3D GLEW_GET_FUN(__glewTexSubImage3D)
1261 
1262 #define GLEW_VERSION_1_2 GLEW_GET_VAR(__GLEW_VERSION_1_2)
1263 
1264 #endif /* GL_VERSION_1_2 */
1265 
1266 /* ---------------------------- GL_VERSION_1_2_1 --------------------------- */
1267 
1268 #ifndef GL_VERSION_1_2_1
1269 #define GL_VERSION_1_2_1 1
1270 
1271 #define GLEW_VERSION_1_2_1 GLEW_GET_VAR(__GLEW_VERSION_1_2_1)
1272 
1273 #endif /* GL_VERSION_1_2_1 */
1274 
1275 /* ----------------------------- GL_VERSION_1_3 ---------------------------- */
1276 
1277 #ifndef GL_VERSION_1_3
1278 #define GL_VERSION_1_3 1
1279 
1280 #define GL_MULTISAMPLE 0x809D
1281 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
1282 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
1283 #define GL_SAMPLE_COVERAGE 0x80A0
1284 #define GL_SAMPLE_BUFFERS 0x80A8
1285 #define GL_SAMPLES 0x80A9
1286 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
1287 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
1288 #define GL_CLAMP_TO_BORDER 0x812D
1289 #define GL_TEXTURE0 0x84C0
1290 #define GL_TEXTURE1 0x84C1
1291 #define GL_TEXTURE2 0x84C2
1292 #define GL_TEXTURE3 0x84C3
1293 #define GL_TEXTURE4 0x84C4
1294 #define GL_TEXTURE5 0x84C5
1295 #define GL_TEXTURE6 0x84C6
1296 #define GL_TEXTURE7 0x84C7
1297 #define GL_TEXTURE8 0x84C8
1298 #define GL_TEXTURE9 0x84C9
1299 #define GL_TEXTURE10 0x84CA
1300 #define GL_TEXTURE11 0x84CB
1301 #define GL_TEXTURE12 0x84CC
1302 #define GL_TEXTURE13 0x84CD
1303 #define GL_TEXTURE14 0x84CE
1304 #define GL_TEXTURE15 0x84CF
1305 #define GL_TEXTURE16 0x84D0
1306 #define GL_TEXTURE17 0x84D1
1307 #define GL_TEXTURE18 0x84D2
1308 #define GL_TEXTURE19 0x84D3
1309 #define GL_TEXTURE20 0x84D4
1310 #define GL_TEXTURE21 0x84D5
1311 #define GL_TEXTURE22 0x84D6
1312 #define GL_TEXTURE23 0x84D7
1313 #define GL_TEXTURE24 0x84D8
1314 #define GL_TEXTURE25 0x84D9
1315 #define GL_TEXTURE26 0x84DA
1316 #define GL_TEXTURE27 0x84DB
1317 #define GL_TEXTURE28 0x84DC
1318 #define GL_TEXTURE29 0x84DD
1319 #define GL_TEXTURE30 0x84DE
1320 #define GL_TEXTURE31 0x84DF
1321 #define GL_ACTIVE_TEXTURE 0x84E0
1322 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
1323 #define GL_MAX_TEXTURE_UNITS 0x84E2
1324 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
1325 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
1326 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
1327 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
1328 #define GL_SUBTRACT 0x84E7
1329 #define GL_COMPRESSED_ALPHA 0x84E9
1330 #define GL_COMPRESSED_LUMINANCE 0x84EA
1331 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
1332 #define GL_COMPRESSED_INTENSITY 0x84EC
1333 #define GL_COMPRESSED_RGB 0x84ED
1334 #define GL_COMPRESSED_RGBA 0x84EE
1335 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
1336 #define GL_NORMAL_MAP 0x8511
1337 #define GL_REFLECTION_MAP 0x8512
1338 #define GL_TEXTURE_CUBE_MAP 0x8513
1339 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
1340 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
1341 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
1342 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
1343 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
1344 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
1345 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
1346 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
1347 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
1348 #define GL_COMBINE 0x8570
1349 #define GL_COMBINE_RGB 0x8571
1350 #define GL_COMBINE_ALPHA 0x8572
1351 #define GL_RGB_SCALE 0x8573
1352 #define GL_ADD_SIGNED 0x8574
1353 #define GL_INTERPOLATE 0x8575
1354 #define GL_CONSTANT 0x8576
1355 #define GL_PRIMARY_COLOR 0x8577
1356 #define GL_PREVIOUS 0x8578
1357 #define GL_SOURCE0_RGB 0x8580
1358 #define GL_SOURCE1_RGB 0x8581
1359 #define GL_SOURCE2_RGB 0x8582
1360 #define GL_SOURCE0_ALPHA 0x8588
1361 #define GL_SOURCE1_ALPHA 0x8589
1362 #define GL_SOURCE2_ALPHA 0x858A
1363 #define GL_OPERAND0_RGB 0x8590
1364 #define GL_OPERAND1_RGB 0x8591
1365 #define GL_OPERAND2_RGB 0x8592
1366 #define GL_OPERAND0_ALPHA 0x8598
1367 #define GL_OPERAND1_ALPHA 0x8599
1368 #define GL_OPERAND2_ALPHA 0x859A
1369 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
1370 #define GL_TEXTURE_COMPRESSED 0x86A1
1371 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
1372 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
1373 #define GL_DOT3_RGB 0x86AE
1374 #define GL_DOT3_RGBA 0x86AF
1375 #define GL_MULTISAMPLE_BIT 0x20000000
1376 
1377 typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture);
1378 typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
1379 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
1380 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
1381 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
1382 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
1383 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
1384 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 void *data);
1385 typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, void *img);
1386 typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
1387 typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
1388 typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
1389 typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
1390 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
1391 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
1392 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
1393 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
1394 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
1395 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
1396 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
1397 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
1398 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
1399 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
1400 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
1401 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
1402 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
1403 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
1404 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
1405 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
1406 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
1407 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
1408 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
1409 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
1410 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
1411 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
1412 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
1413 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
1414 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1415 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
1416 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1417 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
1418 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
1419 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
1420 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1421 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
1422 typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
1423 
1424 #define glActiveTexture GLEW_GET_FUN(__glewActiveTexture)
1425 #define glClientActiveTexture GLEW_GET_FUN(__glewClientActiveTexture)
1426 #define glCompressedTexImage1D GLEW_GET_FUN(__glewCompressedTexImage1D)
1427 #define glCompressedTexImage2D GLEW_GET_FUN(__glewCompressedTexImage2D)
1428 #define glCompressedTexImage3D GLEW_GET_FUN(__glewCompressedTexImage3D)
1429 #define glCompressedTexSubImage1D GLEW_GET_FUN(__glewCompressedTexSubImage1D)
1430 #define glCompressedTexSubImage2D GLEW_GET_FUN(__glewCompressedTexSubImage2D)
1431 #define glCompressedTexSubImage3D GLEW_GET_FUN(__glewCompressedTexSubImage3D)
1432 #define glGetCompressedTexImage GLEW_GET_FUN(__glewGetCompressedTexImage)
1433 #define glLoadTransposeMatrixd GLEW_GET_FUN(__glewLoadTransposeMatrixd)
1434 #define glLoadTransposeMatrixf GLEW_GET_FUN(__glewLoadTransposeMatrixf)
1435 #define glMultTransposeMatrixd GLEW_GET_FUN(__glewMultTransposeMatrixd)
1436 #define glMultTransposeMatrixf GLEW_GET_FUN(__glewMultTransposeMatrixf)
1437 #define glMultiTexCoord1d GLEW_GET_FUN(__glewMultiTexCoord1d)
1438 #define glMultiTexCoord1dv GLEW_GET_FUN(__glewMultiTexCoord1dv)
1439 #define glMultiTexCoord1f GLEW_GET_FUN(__glewMultiTexCoord1f)
1440 #define glMultiTexCoord1fv GLEW_GET_FUN(__glewMultiTexCoord1fv)
1441 #define glMultiTexCoord1i GLEW_GET_FUN(__glewMultiTexCoord1i)
1442 #define glMultiTexCoord1iv GLEW_GET_FUN(__glewMultiTexCoord1iv)
1443 #define glMultiTexCoord1s GLEW_GET_FUN(__glewMultiTexCoord1s)
1444 #define glMultiTexCoord1sv GLEW_GET_FUN(__glewMultiTexCoord1sv)
1445 #define glMultiTexCoord2d GLEW_GET_FUN(__glewMultiTexCoord2d)
1446 #define glMultiTexCoord2dv GLEW_GET_FUN(__glewMultiTexCoord2dv)
1447 #define glMultiTexCoord2f GLEW_GET_FUN(__glewMultiTexCoord2f)
1448 #define glMultiTexCoord2fv GLEW_GET_FUN(__glewMultiTexCoord2fv)
1449 #define glMultiTexCoord2i GLEW_GET_FUN(__glewMultiTexCoord2i)
1450 #define glMultiTexCoord2iv GLEW_GET_FUN(__glewMultiTexCoord2iv)
1451 #define glMultiTexCoord2s GLEW_GET_FUN(__glewMultiTexCoord2s)
1452 #define glMultiTexCoord2sv GLEW_GET_FUN(__glewMultiTexCoord2sv)
1453 #define glMultiTexCoord3d GLEW_GET_FUN(__glewMultiTexCoord3d)
1454 #define glMultiTexCoord3dv GLEW_GET_FUN(__glewMultiTexCoord3dv)
1455 #define glMultiTexCoord3f GLEW_GET_FUN(__glewMultiTexCoord3f)
1456 #define glMultiTexCoord3fv GLEW_GET_FUN(__glewMultiTexCoord3fv)
1457 #define glMultiTexCoord3i GLEW_GET_FUN(__glewMultiTexCoord3i)
1458 #define glMultiTexCoord3iv GLEW_GET_FUN(__glewMultiTexCoord3iv)
1459 #define glMultiTexCoord3s GLEW_GET_FUN(__glewMultiTexCoord3s)
1460 #define glMultiTexCoord3sv GLEW_GET_FUN(__glewMultiTexCoord3sv)
1461 #define glMultiTexCoord4d GLEW_GET_FUN(__glewMultiTexCoord4d)
1462 #define glMultiTexCoord4dv GLEW_GET_FUN(__glewMultiTexCoord4dv)
1463 #define glMultiTexCoord4f GLEW_GET_FUN(__glewMultiTexCoord4f)
1464 #define glMultiTexCoord4fv GLEW_GET_FUN(__glewMultiTexCoord4fv)
1465 #define glMultiTexCoord4i GLEW_GET_FUN(__glewMultiTexCoord4i)
1466 #define glMultiTexCoord4iv GLEW_GET_FUN(__glewMultiTexCoord4iv)
1467 #define glMultiTexCoord4s GLEW_GET_FUN(__glewMultiTexCoord4s)
1468 #define glMultiTexCoord4sv GLEW_GET_FUN(__glewMultiTexCoord4sv)
1469 #define glSampleCoverage GLEW_GET_FUN(__glewSampleCoverage)
1470 
1471 #define GLEW_VERSION_1_3 GLEW_GET_VAR(__GLEW_VERSION_1_3)
1472 
1473 #endif /* GL_VERSION_1_3 */
1474 
1475 /* ----------------------------- GL_VERSION_1_4 ---------------------------- */
1476 
1477 #ifndef GL_VERSION_1_4
1478 #define GL_VERSION_1_4 1
1479 
1480 #define GL_BLEND_DST_RGB 0x80C8
1481 #define GL_BLEND_SRC_RGB 0x80C9
1482 #define GL_BLEND_DST_ALPHA 0x80CA
1483 #define GL_BLEND_SRC_ALPHA 0x80CB
1484 #define GL_POINT_SIZE_MIN 0x8126
1485 #define GL_POINT_SIZE_MAX 0x8127
1486 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
1487 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
1488 #define GL_GENERATE_MIPMAP 0x8191
1489 #define GL_GENERATE_MIPMAP_HINT 0x8192
1490 #define GL_DEPTH_COMPONENT16 0x81A5
1491 #define GL_DEPTH_COMPONENT24 0x81A6
1492 #define GL_DEPTH_COMPONENT32 0x81A7
1493 #define GL_MIRRORED_REPEAT 0x8370
1494 #define GL_FOG_COORDINATE_SOURCE 0x8450
1495 #define GL_FOG_COORDINATE 0x8451
1496 #define GL_FRAGMENT_DEPTH 0x8452
1497 #define GL_CURRENT_FOG_COORDINATE 0x8453
1498 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
1499 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
1500 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
1501 #define GL_FOG_COORDINATE_ARRAY 0x8457
1502 #define GL_COLOR_SUM 0x8458
1503 #define GL_CURRENT_SECONDARY_COLOR 0x8459
1504 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
1505 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
1506 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
1507 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
1508 #define GL_SECONDARY_COLOR_ARRAY 0x845E
1509 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
1510 #define GL_TEXTURE_FILTER_CONTROL 0x8500
1511 #define GL_TEXTURE_LOD_BIAS 0x8501
1512 #define GL_INCR_WRAP 0x8507
1513 #define GL_DECR_WRAP 0x8508
1514 #define GL_TEXTURE_DEPTH_SIZE 0x884A
1515 #define GL_DEPTH_TEXTURE_MODE 0x884B
1516 #define GL_TEXTURE_COMPARE_MODE 0x884C
1517 #define GL_TEXTURE_COMPARE_FUNC 0x884D
1518 #define GL_COMPARE_R_TO_TEXTURE 0x884E
1519 
1520 typedef void (GLAPIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1521 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
1522 typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
1523 typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
1524 typedef void (GLAPIENTRY * PFNGLFOGCOORDDPROC) (GLdouble coord);
1525 typedef void (GLAPIENTRY * PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
1526 typedef void (GLAPIENTRY * PFNGLFOGCOORDFPROC) (GLfloat coord);
1527 typedef void (GLAPIENTRY * PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
1528 typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
1529 typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const* indices, GLsizei drawcount);
1530 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
1531 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
1532 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
1533 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
1534 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
1535 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
1536 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
1537 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
1538 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
1539 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
1540 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
1541 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
1542 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
1543 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
1544 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
1545 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
1546 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
1547 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
1548 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
1549 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
1550 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
1551 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
1552 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVPROC) (const GLdouble *p);
1553 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
1554 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVPROC) (const GLfloat *p);
1555 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
1556 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVPROC) (const GLint *p);
1557 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
1558 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVPROC) (const GLshort *p);
1559 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
1560 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVPROC) (const GLdouble *p);
1561 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
1562 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVPROC) (const GLfloat *p);
1563 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
1564 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVPROC) (const GLint *p);
1565 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
1566 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVPROC) (const GLshort *p);
1567 
1568 #define glBlendColor GLEW_GET_FUN(__glewBlendColor)
1569 #define glBlendEquation GLEW_GET_FUN(__glewBlendEquation)
1570 #define glBlendFuncSeparate GLEW_GET_FUN(__glewBlendFuncSeparate)
1571 #define glFogCoordPointer GLEW_GET_FUN(__glewFogCoordPointer)
1572 #define glFogCoordd GLEW_GET_FUN(__glewFogCoordd)
1573 #define glFogCoorddv GLEW_GET_FUN(__glewFogCoorddv)
1574 #define glFogCoordf GLEW_GET_FUN(__glewFogCoordf)
1575 #define glFogCoordfv GLEW_GET_FUN(__glewFogCoordfv)
1576 #define glMultiDrawArrays GLEW_GET_FUN(__glewMultiDrawArrays)
1577 #define glMultiDrawElements GLEW_GET_FUN(__glewMultiDrawElements)
1578 #define glPointParameterf GLEW_GET_FUN(__glewPointParameterf)
1579 #define glPointParameterfv GLEW_GET_FUN(__glewPointParameterfv)
1580 #define glPointParameteri GLEW_GET_FUN(__glewPointParameteri)
1581 #define glPointParameteriv GLEW_GET_FUN(__glewPointParameteriv)
1582 #define glSecondaryColor3b GLEW_GET_FUN(__glewSecondaryColor3b)
1583 #define glSecondaryColor3bv GLEW_GET_FUN(__glewSecondaryColor3bv)
1584 #define glSecondaryColor3d GLEW_GET_FUN(__glewSecondaryColor3d)
1585 #define glSecondaryColor3dv GLEW_GET_FUN(__glewSecondaryColor3dv)
1586 #define glSecondaryColor3f GLEW_GET_FUN(__glewSecondaryColor3f)
1587 #define glSecondaryColor3fv GLEW_GET_FUN(__glewSecondaryColor3fv)
1588 #define glSecondaryColor3i GLEW_GET_FUN(__glewSecondaryColor3i)
1589 #define glSecondaryColor3iv GLEW_GET_FUN(__glewSecondaryColor3iv)
1590 #define glSecondaryColor3s GLEW_GET_FUN(__glewSecondaryColor3s)
1591 #define glSecondaryColor3sv GLEW_GET_FUN(__glewSecondaryColor3sv)
1592 #define glSecondaryColor3ub GLEW_GET_FUN(__glewSecondaryColor3ub)
1593 #define glSecondaryColor3ubv GLEW_GET_FUN(__glewSecondaryColor3ubv)
1594 #define glSecondaryColor3ui GLEW_GET_FUN(__glewSecondaryColor3ui)
1595 #define glSecondaryColor3uiv GLEW_GET_FUN(__glewSecondaryColor3uiv)
1596 #define glSecondaryColor3us GLEW_GET_FUN(__glewSecondaryColor3us)
1597 #define glSecondaryColor3usv GLEW_GET_FUN(__glewSecondaryColor3usv)
1598 #define glSecondaryColorPointer GLEW_GET_FUN(__glewSecondaryColorPointer)
1599 #define glWindowPos2d GLEW_GET_FUN(__glewWindowPos2d)
1600 #define glWindowPos2dv GLEW_GET_FUN(__glewWindowPos2dv)
1601 #define glWindowPos2f GLEW_GET_FUN(__glewWindowPos2f)
1602 #define glWindowPos2fv GLEW_GET_FUN(__glewWindowPos2fv)
1603 #define glWindowPos2i GLEW_GET_FUN(__glewWindowPos2i)
1604 #define glWindowPos2iv GLEW_GET_FUN(__glewWindowPos2iv)
1605 #define glWindowPos2s GLEW_GET_FUN(__glewWindowPos2s)
1606 #define glWindowPos2sv GLEW_GET_FUN(__glewWindowPos2sv)
1607 #define glWindowPos3d GLEW_GET_FUN(__glewWindowPos3d)
1608 #define glWindowPos3dv GLEW_GET_FUN(__glewWindowPos3dv)
1609 #define glWindowPos3f GLEW_GET_FUN(__glewWindowPos3f)
1610 #define glWindowPos3fv GLEW_GET_FUN(__glewWindowPos3fv)
1611 #define glWindowPos3i GLEW_GET_FUN(__glewWindowPos3i)
1612 #define glWindowPos3iv GLEW_GET_FUN(__glewWindowPos3iv)
1613 #define glWindowPos3s GLEW_GET_FUN(__glewWindowPos3s)
1614 #define glWindowPos3sv GLEW_GET_FUN(__glewWindowPos3sv)
1615 
1616 #define GLEW_VERSION_1_4 GLEW_GET_VAR(__GLEW_VERSION_1_4)
1617 
1618 #endif /* GL_VERSION_1_4 */
1619 
1620 /* ----------------------------- GL_VERSION_1_5 ---------------------------- */
1621 
1622 #ifndef GL_VERSION_1_5
1623 #define GL_VERSION_1_5 1
1624 
1625 #define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE
1626 #define GL_FOG_COORD GL_FOG_COORDINATE
1627 #define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY
1628 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
1629 #define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER
1630 #define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE
1631 #define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE
1632 #define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE
1633 #define GL_SRC0_ALPHA GL_SOURCE0_ALPHA
1634 #define GL_SRC0_RGB GL_SOURCE0_RGB
1635 #define GL_SRC1_ALPHA GL_SOURCE1_ALPHA
1636 #define GL_SRC1_RGB GL_SOURCE1_RGB
1637 #define GL_SRC2_ALPHA GL_SOURCE2_ALPHA
1638 #define GL_SRC2_RGB GL_SOURCE2_RGB
1639 #define GL_BUFFER_SIZE 0x8764
1640 #define GL_BUFFER_USAGE 0x8765
1641 #define GL_QUERY_COUNTER_BITS 0x8864
1642 #define GL_CURRENT_QUERY 0x8865
1643 #define GL_QUERY_RESULT 0x8866
1644 #define GL_QUERY_RESULT_AVAILABLE 0x8867
1645 #define GL_ARRAY_BUFFER 0x8892
1646 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
1647 #define GL_ARRAY_BUFFER_BINDING 0x8894
1648 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
1649 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
1650 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
1651 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
1652 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
1653 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
1654 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
1655 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
1656 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
1657 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
1658 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
1659 #define GL_READ_ONLY 0x88B8
1660 #define GL_WRITE_ONLY 0x88B9
1661 #define GL_READ_WRITE 0x88BA
1662 #define GL_BUFFER_ACCESS 0x88BB
1663 #define GL_BUFFER_MAPPED 0x88BC
1664 #define GL_BUFFER_MAP_POINTER 0x88BD
1665 #define GL_STREAM_DRAW 0x88E0
1666 #define GL_STREAM_READ 0x88E1
1667 #define GL_STREAM_COPY 0x88E2
1668 #define GL_STATIC_DRAW 0x88E4
1669 #define GL_STATIC_READ 0x88E5
1670 #define GL_STATIC_COPY 0x88E6
1671 #define GL_DYNAMIC_DRAW 0x88E8
1672 #define GL_DYNAMIC_READ 0x88E9
1673 #define GL_DYNAMIC_COPY 0x88EA
1674 #define GL_SAMPLES_PASSED 0x8914
1675 
1676 typedef ptrdiff_t GLintptr;
1677 typedef ptrdiff_t GLsizeiptr;
1678 
1679 typedef void (GLAPIENTRY * PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
1680 typedef void (GLAPIENTRY * PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
1681 typedef void (GLAPIENTRY * PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void* data, GLenum usage);
1682 typedef void (GLAPIENTRY * PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void* data);
1683 typedef void (GLAPIENTRY * PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint* buffers);
1684 typedef void (GLAPIENTRY * PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint* ids);
1685 typedef void (GLAPIENTRY * PFNGLENDQUERYPROC) (GLenum target);
1686 typedef void (GLAPIENTRY * PFNGLGENBUFFERSPROC) (GLsizei n, GLuint* buffers);
1687 typedef void (GLAPIENTRY * PFNGLGENQUERIESPROC) (GLsizei n, GLuint* ids);
1688 typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
1689 typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void** params);
1690 typedef void (GLAPIENTRY * PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void* data);
1691 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint* params);
1692 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint* params);
1693 typedef void (GLAPIENTRY * PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint* params);
1694 typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERPROC) (GLuint buffer);
1695 typedef GLboolean (GLAPIENTRY * PFNGLISQUERYPROC) (GLuint id);
1696 typedef void* (GLAPIENTRY * PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
1697 typedef GLboolean (GLAPIENTRY * PFNGLUNMAPBUFFERPROC) (GLenum target);
1698 
1699 #define glBeginQuery GLEW_GET_FUN(__glewBeginQuery)
1700 #define glBindBuffer GLEW_GET_FUN(__glewBindBuffer)
1701 #define glBufferData GLEW_GET_FUN(__glewBufferData)
1702 #define glBufferSubData GLEW_GET_FUN(__glewBufferSubData)
1703 #define glDeleteBuffers GLEW_GET_FUN(__glewDeleteBuffers)
1704 #define glDeleteQueries GLEW_GET_FUN(__glewDeleteQueries)
1705 #define glEndQuery GLEW_GET_FUN(__glewEndQuery)
1706 #define glGenBuffers GLEW_GET_FUN(__glewGenBuffers)
1707 #define glGenQueries GLEW_GET_FUN(__glewGenQueries)
1708 #define glGetBufferParameteriv GLEW_GET_FUN(__glewGetBufferParameteriv)
1709 #define glGetBufferPointerv GLEW_GET_FUN(__glewGetBufferPointerv)
1710 #define glGetBufferSubData GLEW_GET_FUN(__glewGetBufferSubData)
1711 #define glGetQueryObjectiv GLEW_GET_FUN(__glewGetQueryObjectiv)
1712 #define glGetQueryObjectuiv GLEW_GET_FUN(__glewGetQueryObjectuiv)
1713 #define glGetQueryiv GLEW_GET_FUN(__glewGetQueryiv)
1714 #define glIsBuffer GLEW_GET_FUN(__glewIsBuffer)
1715 #define glIsQuery GLEW_GET_FUN(__glewIsQuery)
1716 #define glMapBuffer GLEW_GET_FUN(__glewMapBuffer)
1717 #define glUnmapBuffer GLEW_GET_FUN(__glewUnmapBuffer)
1718 
1719 #define GLEW_VERSION_1_5 GLEW_GET_VAR(__GLEW_VERSION_1_5)
1720 
1721 #endif /* GL_VERSION_1_5 */
1722 
1723 /* ----------------------------- GL_VERSION_2_0 ---------------------------- */
1724 
1725 #ifndef GL_VERSION_2_0
1726 #define GL_VERSION_2_0 1
1727 
1728 #define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION
1729 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
1730 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
1731 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
1732 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
1733 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
1734 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
1735 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
1736 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
1737 #define GL_STENCIL_BACK_FUNC 0x8800
1738 #define GL_STENCIL_BACK_FAIL 0x8801
1739 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
1740 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
1741 #define GL_MAX_DRAW_BUFFERS 0x8824
1742 #define GL_DRAW_BUFFER0 0x8825
1743 #define GL_DRAW_BUFFER1 0x8826
1744 #define GL_DRAW_BUFFER2 0x8827
1745 #define GL_DRAW_BUFFER3 0x8828
1746 #define GL_DRAW_BUFFER4 0x8829
1747 #define GL_DRAW_BUFFER5 0x882A
1748 #define GL_DRAW_BUFFER6 0x882B
1749 #define GL_DRAW_BUFFER7 0x882C
1750 #define GL_DRAW_BUFFER8 0x882D
1751 #define GL_DRAW_BUFFER9 0x882E
1752 #define GL_DRAW_BUFFER10 0x882F
1753 #define GL_DRAW_BUFFER11 0x8830
1754 #define GL_DRAW_BUFFER12 0x8831
1755 #define GL_DRAW_BUFFER13 0x8832
1756 #define GL_DRAW_BUFFER14 0x8833
1757 #define GL_DRAW_BUFFER15 0x8834
1758 #define GL_BLEND_EQUATION_ALPHA 0x883D
1759 #define GL_POINT_SPRITE 0x8861
1760 #define GL_COORD_REPLACE 0x8862
1761 #define GL_MAX_VERTEX_ATTRIBS 0x8869
1762 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
1763 #define GL_MAX_TEXTURE_COORDS 0x8871
1764 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
1765 #define GL_FRAGMENT_SHADER 0x8B30
1766 #define GL_VERTEX_SHADER 0x8B31
1767 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
1768 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
1769 #define GL_MAX_VARYING_FLOATS 0x8B4B
1770 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
1771 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
1772 #define GL_SHADER_TYPE 0x8B4F
1773 #define GL_FLOAT_VEC2 0x8B50
1774 #define GL_FLOAT_VEC3 0x8B51
1775 #define GL_FLOAT_VEC4 0x8B52
1776 #define GL_INT_VEC2 0x8B53
1777 #define GL_INT_VEC3 0x8B54
1778 #define GL_INT_VEC4 0x8B55
1779 #define GL_BOOL 0x8B56
1780 #define GL_BOOL_VEC2 0x8B57
1781 #define GL_BOOL_VEC3 0x8B58
1782 #define GL_BOOL_VEC4 0x8B59
1783 #define GL_FLOAT_MAT2 0x8B5A
1784 #define GL_FLOAT_MAT3 0x8B5B
1785 #define GL_FLOAT_MAT4 0x8B5C
1786 #define GL_SAMPLER_1D 0x8B5D
1787 #define GL_SAMPLER_2D 0x8B5E
1788 #define GL_SAMPLER_3D 0x8B5F
1789 #define GL_SAMPLER_CUBE 0x8B60
1790 #define GL_SAMPLER_1D_SHADOW 0x8B61
1791 #define GL_SAMPLER_2D_SHADOW 0x8B62
1792 #define GL_DELETE_STATUS 0x8B80
1793 #define GL_COMPILE_STATUS 0x8B81
1794 #define GL_LINK_STATUS 0x8B82
1795 #define GL_VALIDATE_STATUS 0x8B83
1796 #define GL_INFO_LOG_LENGTH 0x8B84
1797 #define GL_ATTACHED_SHADERS 0x8B85
1798 #define GL_ACTIVE_UNIFORMS 0x8B86
1799 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
1800 #define GL_SHADER_SOURCE_LENGTH 0x8B88
1801 #define GL_ACTIVE_ATTRIBUTES 0x8B89
1802 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
1803 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
1804 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
1805 #define GL_CURRENT_PROGRAM 0x8B8D
1806 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
1807 #define GL_LOWER_LEFT 0x8CA1
1808 #define GL_UPPER_LEFT 0x8CA2
1809 #define GL_STENCIL_BACK_REF 0x8CA3
1810 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
1811 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
1812 
1813 typedef void (GLAPIENTRY * PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
1814 typedef void (GLAPIENTRY * PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar* name);
1815 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
1816 typedef void (GLAPIENTRY * PFNGLCOMPILESHADERPROC) (GLuint shader);
1817 typedef GLuint (GLAPIENTRY * PFNGLCREATEPROGRAMPROC) (void);
1818 typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROC) (GLenum type);
1819 typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPROC) (GLuint program);
1820 typedef void (GLAPIENTRY * PFNGLDELETESHADERPROC) (GLuint shader);
1821 typedef void (GLAPIENTRY * PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
1822 typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
1823 typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum* bufs);
1824 typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
1825 typedef void (GLAPIENTRY * PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
1826 typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
1827 typedef void (GLAPIENTRY * PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders);
1828 typedef GLint (GLAPIENTRY * PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar* name);
1829 typedef void (GLAPIENTRY * PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
1830 typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint* param);
1831 typedef void (GLAPIENTRY * PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
1832 typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEPROC) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* source);
1833 typedef void (GLAPIENTRY * PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint* param);
1834 typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar* name);
1835 typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat* params);
1836 typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint* params);
1837 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void** pointer);
1838 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble* params);
1839 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat* params);
1840 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint* params);
1841 typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPROC) (GLuint program);
1842 typedef GLboolean (GLAPIENTRY * PFNGLISSHADERPROC) (GLuint shader);
1843 typedef void (GLAPIENTRY * PFNGLLINKPROGRAMPROC) (GLuint program);
1844 typedef void (GLAPIENTRY * PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const* string, const GLint* length);
1845 typedef void (GLAPIENTRY * PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
1846 typedef void (GLAPIENTRY * PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
1847 typedef void (GLAPIENTRY * PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
1848 typedef void (GLAPIENTRY * PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
1849 typedef void (GLAPIENTRY * PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1850 typedef void (GLAPIENTRY * PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
1851 typedef void (GLAPIENTRY * PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint* value);
1852 typedef void (GLAPIENTRY * PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
1853 typedef void (GLAPIENTRY * PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1854 typedef void (GLAPIENTRY * PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
1855 typedef void (GLAPIENTRY * PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint* value);
1856 typedef void (GLAPIENTRY * PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1857 typedef void (GLAPIENTRY * PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1858 typedef void (GLAPIENTRY * PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
1859 typedef void (GLAPIENTRY * PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint* value);
1860 typedef void (GLAPIENTRY * PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1861 typedef void (GLAPIENTRY * PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1862 typedef void (GLAPIENTRY * PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1863 typedef void (GLAPIENTRY * PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint* value);
1864 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1865 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1866 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1867 typedef void (GLAPIENTRY * PFNGLUSEPROGRAMPROC) (GLuint program);
1868 typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMPROC) (GLuint program);
1869 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
1870 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble* v);
1871 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
1872 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat* v);
1873 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
1874 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort* v);
1875 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
1876 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble* v);
1877 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
1878 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat* v);
1879 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
1880 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort* v);
1881 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1882 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble* v);
1883 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
1884 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat* v);
1885 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
1886 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort* v);
1887 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte* v);
1888 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint* v);
1889 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort* v);
1890 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
1891 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte* v);
1892 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint* v);
1893 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort* v);
1894 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte* v);
1895 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1896 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble* v);
1897 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1898 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat* v);
1899 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint* v);
1900 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
1901 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort* v);
1902 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte* v);
1903 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint* v);
1904 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort* v);
1905 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* pointer);
1906 
1907 #define glAttachShader GLEW_GET_FUN(__glewAttachShader)
1908 #define glBindAttribLocation GLEW_GET_FUN(__glewBindAttribLocation)
1909 #define glBlendEquationSeparate GLEW_GET_FUN(__glewBlendEquationSeparate)
1910 #define glCompileShader GLEW_GET_FUN(__glewCompileShader)
1911 #define glCreateProgram GLEW_GET_FUN(__glewCreateProgram)
1912 #define glCreateShader GLEW_GET_FUN(__glewCreateShader)
1913 #define glDeleteProgram GLEW_GET_FUN(__glewDeleteProgram)
1914 #define glDeleteShader GLEW_GET_FUN(__glewDeleteShader)
1915 #define glDetachShader GLEW_GET_FUN(__glewDetachShader)
1916 #define glDisableVertexAttribArray GLEW_GET_FUN(__glewDisableVertexAttribArray)
1917 #define glDrawBuffers GLEW_GET_FUN(__glewDrawBuffers)
1918 #define glEnableVertexAttribArray GLEW_GET_FUN(__glewEnableVertexAttribArray)
1919 #define glGetActiveAttrib GLEW_GET_FUN(__glewGetActiveAttrib)
1920 #define glGetActiveUniform GLEW_GET_FUN(__glewGetActiveUniform)
1921 #define glGetAttachedShaders GLEW_GET_FUN(__glewGetAttachedShaders)
1922 #define glGetAttribLocation GLEW_GET_FUN(__glewGetAttribLocation)
1923 #define glGetProgramInfoLog GLEW_GET_FUN(__glewGetProgramInfoLog)
1924 #define glGetProgramiv GLEW_GET_FUN(__glewGetProgramiv)
1925 #define glGetShaderInfoLog GLEW_GET_FUN(__glewGetShaderInfoLog)
1926 #define glGetShaderSource GLEW_GET_FUN(__glewGetShaderSource)
1927 #define glGetShaderiv GLEW_GET_FUN(__glewGetShaderiv)
1928 #define glGetUniformLocation GLEW_GET_FUN(__glewGetUniformLocation)
1929 #define glGetUniformfv GLEW_GET_FUN(__glewGetUniformfv)
1930 #define glGetUniformiv GLEW_GET_FUN(__glewGetUniformiv)
1931 #define glGetVertexAttribPointerv GLEW_GET_FUN(__glewGetVertexAttribPointerv)
1932 #define glGetVertexAttribdv GLEW_GET_FUN(__glewGetVertexAttribdv)
1933 #define glGetVertexAttribfv GLEW_GET_FUN(__glewGetVertexAttribfv)
1934 #define glGetVertexAttribiv GLEW_GET_FUN(__glewGetVertexAttribiv)
1935 #define glIsProgram GLEW_GET_FUN(__glewIsProgram)
1936 #define glIsShader GLEW_GET_FUN(__glewIsShader)
1937 #define glLinkProgram GLEW_GET_FUN(__glewLinkProgram)
1938 #define glShaderSource GLEW_GET_FUN(__glewShaderSource)
1939 #define glStencilFuncSeparate GLEW_GET_FUN(__glewStencilFuncSeparate)
1940 #define glStencilMaskSeparate GLEW_GET_FUN(__glewStencilMaskSeparate)
1941 #define glStencilOpSeparate GLEW_GET_FUN(__glewStencilOpSeparate)
1942 #define glUniform1f GLEW_GET_FUN(__glewUniform1f)
1943 #define glUniform1fv GLEW_GET_FUN(__glewUniform1fv)
1944 #define glUniform1i GLEW_GET_FUN(__glewUniform1i)
1945 #define glUniform1iv GLEW_GET_FUN(__glewUniform1iv)
1946 #define glUniform2f GLEW_GET_FUN(__glewUniform2f)
1947 #define glUniform2fv GLEW_GET_FUN(__glewUniform2fv)
1948 #define glUniform2i GLEW_GET_FUN(__glewUniform2i)
1949 #define glUniform2iv GLEW_GET_FUN(__glewUniform2iv)
1950 #define glUniform3f GLEW_GET_FUN(__glewUniform3f)
1951 #define glUniform3fv GLEW_GET_FUN(__glewUniform3fv)
1952 #define glUniform3i GLEW_GET_FUN(__glewUniform3i)
1953 #define glUniform3iv GLEW_GET_FUN(__glewUniform3iv)
1954 #define glUniform4f GLEW_GET_FUN(__glewUniform4f)
1955 #define glUniform4fv GLEW_GET_FUN(__glewUniform4fv)
1956 #define glUniform4i GLEW_GET_FUN(__glewUniform4i)
1957 #define glUniform4iv GLEW_GET_FUN(__glewUniform4iv)
1958 #define glUniformMatrix2fv GLEW_GET_FUN(__glewUniformMatrix2fv)
1959 #define glUniformMatrix3fv GLEW_GET_FUN(__glewUniformMatrix3fv)
1960 #define glUniformMatrix4fv GLEW_GET_FUN(__glewUniformMatrix4fv)
1961 #define glUseProgram GLEW_GET_FUN(__glewUseProgram)
1962 #define glValidateProgram GLEW_GET_FUN(__glewValidateProgram)
1963 #define glVertexAttrib1d GLEW_GET_FUN(__glewVertexAttrib1d)
1964 #define glVertexAttrib1dv GLEW_GET_FUN(__glewVertexAttrib1dv)
1965 #define glVertexAttrib1f GLEW_GET_FUN(__glewVertexAttrib1f)
1966 #define glVertexAttrib1fv GLEW_GET_FUN(__glewVertexAttrib1fv)
1967 #define glVertexAttrib1s GLEW_GET_FUN(__glewVertexAttrib1s)
1968 #define glVertexAttrib1sv GLEW_GET_FUN(__glewVertexAttrib1sv)
1969 #define glVertexAttrib2d GLEW_GET_FUN(__glewVertexAttrib2d)
1970 #define glVertexAttrib2dv GLEW_GET_FUN(__glewVertexAttrib2dv)
1971 #define glVertexAttrib2f GLEW_GET_FUN(__glewVertexAttrib2f)
1972 #define glVertexAttrib2fv GLEW_GET_FUN(__glewVertexAttrib2fv)
1973 #define glVertexAttrib2s GLEW_GET_FUN(__glewVertexAttrib2s)
1974 #define glVertexAttrib2sv GLEW_GET_FUN(__glewVertexAttrib2sv)
1975 #define glVertexAttrib3d GLEW_GET_FUN(__glewVertexAttrib3d)
1976 #define glVertexAttrib3dv GLEW_GET_FUN(__glewVertexAttrib3dv)
1977 #define glVertexAttrib3f GLEW_GET_FUN(__glewVertexAttrib3f)
1978 #define glVertexAttrib3fv GLEW_GET_FUN(__glewVertexAttrib3fv)
1979 #define glVertexAttrib3s GLEW_GET_FUN(__glewVertexAttrib3s)
1980 #define glVertexAttrib3sv GLEW_GET_FUN(__glewVertexAttrib3sv)
1981 #define glVertexAttrib4Nbv GLEW_GET_FUN(__glewVertexAttrib4Nbv)
1982 #define glVertexAttrib4Niv GLEW_GET_FUN(__glewVertexAttrib4Niv)
1983 #define glVertexAttrib4Nsv GLEW_GET_FUN(__glewVertexAttrib4Nsv)
1984 #define glVertexAttrib4Nub GLEW_GET_FUN(__glewVertexAttrib4Nub)
1985 #define glVertexAttrib4Nubv GLEW_GET_FUN(__glewVertexAttrib4Nubv)
1986 #define glVertexAttrib4Nuiv GLEW_GET_FUN(__glewVertexAttrib4Nuiv)
1987 #define glVertexAttrib4Nusv GLEW_GET_FUN(__glewVertexAttrib4Nusv)
1988 #define glVertexAttrib4bv GLEW_GET_FUN(__glewVertexAttrib4bv)
1989 #define glVertexAttrib4d GLEW_GET_FUN(__glewVertexAttrib4d)
1990 #define glVertexAttrib4dv GLEW_GET_FUN(__glewVertexAttrib4dv)
1991 #define glVertexAttrib4f GLEW_GET_FUN(__glewVertexAttrib4f)
1992 #define glVertexAttrib4fv GLEW_GET_FUN(__glewVertexAttrib4fv)
1993 #define glVertexAttrib4iv GLEW_GET_FUN(__glewVertexAttrib4iv)
1994 #define glVertexAttrib4s GLEW_GET_FUN(__glewVertexAttrib4s)
1995 #define glVertexAttrib4sv GLEW_GET_FUN(__glewVertexAttrib4sv)
1996 #define glVertexAttrib4ubv GLEW_GET_FUN(__glewVertexAttrib4ubv)
1997 #define glVertexAttrib4uiv GLEW_GET_FUN(__glewVertexAttrib4uiv)
1998 #define glVertexAttrib4usv GLEW_GET_FUN(__glewVertexAttrib4usv)
1999 #define glVertexAttribPointer GLEW_GET_FUN(__glewVertexAttribPointer)
2000 
2001 #define GLEW_VERSION_2_0 GLEW_GET_VAR(__GLEW_VERSION_2_0)
2002 
2003 #endif /* GL_VERSION_2_0 */
2004 
2005 /* ----------------------------- GL_VERSION_2_1 ---------------------------- */
2006 
2007 #ifndef GL_VERSION_2_1
2008 #define GL_VERSION_2_1 1
2009 
2010 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
2011 #define GL_PIXEL_PACK_BUFFER 0x88EB
2012 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
2013 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
2014 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
2015 #define GL_FLOAT_MAT2x3 0x8B65
2016 #define GL_FLOAT_MAT2x4 0x8B66
2017 #define GL_FLOAT_MAT3x2 0x8B67
2018 #define GL_FLOAT_MAT3x4 0x8B68
2019 #define GL_FLOAT_MAT4x2 0x8B69
2020 #define GL_FLOAT_MAT4x3 0x8B6A
2021 #define GL_SRGB 0x8C40
2022 #define GL_SRGB8 0x8C41
2023 #define GL_SRGB_ALPHA 0x8C42
2024 #define GL_SRGB8_ALPHA8 0x8C43
2025 #define GL_SLUMINANCE_ALPHA 0x8C44
2026 #define GL_SLUMINANCE8_ALPHA8 0x8C45
2027 #define GL_SLUMINANCE 0x8C46
2028 #define GL_SLUMINANCE8 0x8C47
2029 #define GL_COMPRESSED_SRGB 0x8C48
2030 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
2031 #define GL_COMPRESSED_SLUMINANCE 0x8C4A
2032 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
2033 
2034 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2035 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2036 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2037 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2038 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2039 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2040 
2041 #define glUniformMatrix2x3fv GLEW_GET_FUN(__glewUniformMatrix2x3fv)
2042 #define glUniformMatrix2x4fv GLEW_GET_FUN(__glewUniformMatrix2x4fv)
2043 #define glUniformMatrix3x2fv GLEW_GET_FUN(__glewUniformMatrix3x2fv)
2044 #define glUniformMatrix3x4fv GLEW_GET_FUN(__glewUniformMatrix3x4fv)
2045 #define glUniformMatrix4x2fv GLEW_GET_FUN(__glewUniformMatrix4x2fv)
2046 #define glUniformMatrix4x3fv GLEW_GET_FUN(__glewUniformMatrix4x3fv)
2047 
2048 #define GLEW_VERSION_2_1 GLEW_GET_VAR(__GLEW_VERSION_2_1)
2049 
2050 #endif /* GL_VERSION_2_1 */
2051 
2052 /* ----------------------------- GL_VERSION_3_0 ---------------------------- */
2053 
2054 #ifndef GL_VERSION_3_0
2055 #define GL_VERSION_3_0 1
2056 
2057 #define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0
2058 #define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1
2059 #define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2
2060 #define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3
2061 #define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4
2062 #define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5
2063 #define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB
2064 #define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES
2065 #define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS
2066 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
2067 #define GL_MAJOR_VERSION 0x821B
2068 #define GL_MINOR_VERSION 0x821C
2069 #define GL_NUM_EXTENSIONS 0x821D
2070 #define GL_CONTEXT_FLAGS 0x821E
2071 #define GL_DEPTH_BUFFER 0x8223
2072 #define GL_STENCIL_BUFFER 0x8224
2073 #define GL_RGBA32F 0x8814
2074 #define GL_RGB32F 0x8815
2075 #define GL_RGBA16F 0x881A
2076 #define GL_RGB16F 0x881B
2077 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
2078 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
2079 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
2080 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
2081 #define GL_CLAMP_VERTEX_COLOR 0x891A
2082 #define GL_CLAMP_FRAGMENT_COLOR 0x891B
2083 #define GL_CLAMP_READ_COLOR 0x891C
2084 #define GL_FIXED_ONLY 0x891D
2085 #define GL_TEXTURE_RED_TYPE 0x8C10
2086 #define GL_TEXTURE_GREEN_TYPE 0x8C11
2087 #define GL_TEXTURE_BLUE_TYPE 0x8C12
2088 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
2089 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
2090 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
2091 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
2092 #define GL_TEXTURE_1D_ARRAY 0x8C18
2093 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
2094 #define GL_TEXTURE_2D_ARRAY 0x8C1A
2095 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
2096 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
2097 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
2098 #define GL_R11F_G11F_B10F 0x8C3A
2099 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
2100 #define GL_RGB9_E5 0x8C3D
2101 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
2102 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
2103 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
2104 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
2105 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
2106 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
2107 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
2108 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
2109 #define GL_PRIMITIVES_GENERATED 0x8C87
2110 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
2111 #define GL_RASTERIZER_DISCARD 0x8C89
2112 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
2113 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
2114 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
2115 #define GL_SEPARATE_ATTRIBS 0x8C8D
2116 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
2117 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
2118 #define GL_RGBA32UI 0x8D70
2119 #define GL_RGB32UI 0x8D71
2120 #define GL_RGBA16UI 0x8D76
2121 #define GL_RGB16UI 0x8D77
2122 #define GL_RGBA8UI 0x8D7C
2123 #define GL_RGB8UI 0x8D7D
2124 #define GL_RGBA32I 0x8D82
2125 #define GL_RGB32I 0x8D83
2126 #define GL_RGBA16I 0x8D88
2127 #define GL_RGB16I 0x8D89
2128 #define GL_RGBA8I 0x8D8E
2129 #define GL_RGB8I 0x8D8F
2130 #define GL_RED_INTEGER 0x8D94
2131 #define GL_GREEN_INTEGER 0x8D95
2132 #define GL_BLUE_INTEGER 0x8D96
2133 #define GL_ALPHA_INTEGER 0x8D97
2134 #define GL_RGB_INTEGER 0x8D98
2135 #define GL_RGBA_INTEGER 0x8D99
2136 #define GL_BGR_INTEGER 0x8D9A
2137 #define GL_BGRA_INTEGER 0x8D9B
2138 #define GL_SAMPLER_1D_ARRAY 0x8DC0
2139 #define GL_SAMPLER_2D_ARRAY 0x8DC1
2140 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
2141 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
2142 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
2143 #define GL_UNSIGNED_INT_VEC2 0x8DC6
2144 #define GL_UNSIGNED_INT_VEC3 0x8DC7
2145 #define GL_UNSIGNED_INT_VEC4 0x8DC8
2146 #define GL_INT_SAMPLER_1D 0x8DC9
2147 #define GL_INT_SAMPLER_2D 0x8DCA
2148 #define GL_INT_SAMPLER_3D 0x8DCB
2149 #define GL_INT_SAMPLER_CUBE 0x8DCC
2150 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
2151 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
2152 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
2153 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
2154 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
2155 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
2156 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
2157 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
2158 #define GL_QUERY_WAIT 0x8E13
2159 #define GL_QUERY_NO_WAIT 0x8E14
2160 #define GL_QUERY_BY_REGION_WAIT 0x8E15
2161 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
2162 
2163 typedef void (GLAPIENTRY * PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
2164 typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
2165 typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint colorNumber, const GLchar* name);
2166 typedef void (GLAPIENTRY * PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
2167 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawBuffer, GLfloat depth, GLint stencil);
2168 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawBuffer, const GLfloat* value);
2169 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawBuffer, const GLint* value);
2170 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawBuffer, const GLuint* value);
2171 typedef void (GLAPIENTRY * PFNGLCOLORMASKIPROC) (GLuint buf, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
2172 typedef void (GLAPIENTRY * PFNGLDISABLEIPROC) (GLenum cap, GLuint index);
2173 typedef void (GLAPIENTRY * PFNGLENABLEIPROC) (GLenum cap, GLuint index);
2174 typedef void (GLAPIENTRY * PFNGLENDCONDITIONALRENDERPROC) (void);
2175 typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKPROC) (void);
2176 typedef void (GLAPIENTRY * PFNGLGETBOOLEANI_VPROC) (GLenum pname, GLuint index, GLboolean* data);
2177 typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar* name);
2178 typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
2179 typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint* params);
2180 typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint* params);
2181 typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name);
2182 typedef void (GLAPIENTRY * PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint* params);
2183 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint* params);
2184 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint* params);
2185 typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDIPROC) (GLenum cap, GLuint index);
2186 typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint* params);
2187 typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint* params);
2188 typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode);
2189 typedef void (GLAPIENTRY * PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
2190 typedef void (GLAPIENTRY * PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint* value);
2191 typedef void (GLAPIENTRY * PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
2192 typedef void (GLAPIENTRY * PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint* value);
2193 typedef void (GLAPIENTRY * PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
2194 typedef void (GLAPIENTRY * PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint* value);
2195 typedef void (GLAPIENTRY * PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
2196 typedef void (GLAPIENTRY * PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint* value);
2197 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint v0);
2198 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint* v0);
2199 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint v0);
2200 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint* v0);
2201 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint v0, GLint v1);
2202 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint* v0);
2203 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint v0, GLuint v1);
2204 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint* v0);
2205 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint v0, GLint v1, GLint v2);
2206 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint* v0);
2207 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint v0, GLuint v1, GLuint v2);
2208 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint* v0);
2209 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte* v0);
2210 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint v0, GLint v1, GLint v2, GLint v3);
2211 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint* v0);
2212 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort* v0);
2213 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte* v0);
2214 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
2215 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint* v0);
2216 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort* v0);
2217 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void*pointer);
2218 
2219 #define glBeginConditionalRender GLEW_GET_FUN(__glewBeginConditionalRender)
2220 #define glBeginTransformFeedback GLEW_GET_FUN(__glewBeginTransformFeedback)
2221 #define glBindFragDataLocation GLEW_GET_FUN(__glewBindFragDataLocation)
2222 #define glClampColor GLEW_GET_FUN(__glewClampColor)
2223 #define glClearBufferfi GLEW_GET_FUN(__glewClearBufferfi)
2224 #define glClearBufferfv GLEW_GET_FUN(__glewClearBufferfv)
2225 #define glClearBufferiv GLEW_GET_FUN(__glewClearBufferiv)
2226 #define glClearBufferuiv GLEW_GET_FUN(__glewClearBufferuiv)
2227 #define glColorMaski GLEW_GET_FUN(__glewColorMaski)
2228 #define glDisablei GLEW_GET_FUN(__glewDisablei)
2229 #define glEnablei GLEW_GET_FUN(__glewEnablei)
2230 #define glEndConditionalRender GLEW_GET_FUN(__glewEndConditionalRender)
2231 #define glEndTransformFeedback GLEW_GET_FUN(__glewEndTransformFeedback)
2232 #define glGetBooleani_v GLEW_GET_FUN(__glewGetBooleani_v)
2233 #define glGetFragDataLocation GLEW_GET_FUN(__glewGetFragDataLocation)
2234 #define glGetStringi GLEW_GET_FUN(__glewGetStringi)
2235 #define glGetTexParameterIiv GLEW_GET_FUN(__glewGetTexParameterIiv)
2236 #define glGetTexParameterIuiv GLEW_GET_FUN(__glewGetTexParameterIuiv)
2237 #define glGetTransformFeedbackVarying GLEW_GET_FUN(__glewGetTransformFeedbackVarying)
2238 #define glGetUniformuiv GLEW_GET_FUN(__glewGetUniformuiv)
2239 #define glGetVertexAttribIiv GLEW_GET_FUN(__glewGetVertexAttribIiv)
2240 #define glGetVertexAttribIuiv GLEW_GET_FUN(__glewGetVertexAttribIuiv)
2241 #define glIsEnabledi GLEW_GET_FUN(__glewIsEnabledi)
2242 #define glTexParameterIiv GLEW_GET_FUN(__glewTexParameterIiv)
2243 #define glTexParameterIuiv GLEW_GET_FUN(__glewTexParameterIuiv)
2244 #define glTransformFeedbackVaryings GLEW_GET_FUN(__glewTransformFeedbackVaryings)
2245 #define glUniform1ui GLEW_GET_FUN(__glewUniform1ui)
2246 #define glUniform1uiv GLEW_GET_FUN(__glewUniform1uiv)
2247 #define glUniform2ui GLEW_GET_FUN(__glewUniform2ui)
2248 #define glUniform2uiv GLEW_GET_FUN(__glewUniform2uiv)
2249 #define glUniform3ui GLEW_GET_FUN(__glewUniform3ui)
2250 #define glUniform3uiv GLEW_GET_FUN(__glewUniform3uiv)
2251 #define glUniform4ui GLEW_GET_FUN(__glewUniform4ui)
2252 #define glUniform4uiv GLEW_GET_FUN(__glewUniform4uiv)
2253 #define glVertexAttribI1i GLEW_GET_FUN(__glewVertexAttribI1i)
2254 #define glVertexAttribI1iv GLEW_GET_FUN(__glewVertexAttribI1iv)
2255 #define glVertexAttribI1ui GLEW_GET_FUN(__glewVertexAttribI1ui)
2256 #define glVertexAttribI1uiv GLEW_GET_FUN(__glewVertexAttribI1uiv)
2257 #define glVertexAttribI2i GLEW_GET_FUN(__glewVertexAttribI2i)
2258 #define glVertexAttribI2iv GLEW_GET_FUN(__glewVertexAttribI2iv)
2259 #define glVertexAttribI2ui GLEW_GET_FUN(__glewVertexAttribI2ui)
2260 #define glVertexAttribI2uiv GLEW_GET_FUN(__glewVertexAttribI2uiv)
2261 #define glVertexAttribI3i GLEW_GET_FUN(__glewVertexAttribI3i)
2262 #define glVertexAttribI3iv GLEW_GET_FUN(__glewVertexAttribI3iv)
2263 #define glVertexAttribI3ui GLEW_GET_FUN(__glewVertexAttribI3ui)
2264 #define glVertexAttribI3uiv GLEW_GET_FUN(__glewVertexAttribI3uiv)
2265 #define glVertexAttribI4bv GLEW_GET_FUN(__glewVertexAttribI4bv)
2266 #define glVertexAttribI4i GLEW_GET_FUN(__glewVertexAttribI4i)
2267 #define glVertexAttribI4iv GLEW_GET_FUN(__glewVertexAttribI4iv)
2268 #define glVertexAttribI4sv GLEW_GET_FUN(__glewVertexAttribI4sv)
2269 #define glVertexAttribI4ubv GLEW_GET_FUN(__glewVertexAttribI4ubv)
2270 #define glVertexAttribI4ui GLEW_GET_FUN(__glewVertexAttribI4ui)
2271 #define glVertexAttribI4uiv GLEW_GET_FUN(__glewVertexAttribI4uiv)
2272 #define glVertexAttribI4usv GLEW_GET_FUN(__glewVertexAttribI4usv)
2273 #define glVertexAttribIPointer GLEW_GET_FUN(__glewVertexAttribIPointer)
2274 
2275 #define GLEW_VERSION_3_0 GLEW_GET_VAR(__GLEW_VERSION_3_0)
2276 
2277 #endif /* GL_VERSION_3_0 */
2278 
2279 /* ----------------------------- GL_VERSION_3_1 ---------------------------- */
2280 
2281 #ifndef GL_VERSION_3_1
2282 #define GL_VERSION_3_1 1
2283 
2284 #define GL_TEXTURE_RECTANGLE 0x84F5
2285 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
2286 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
2287 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
2288 #define GL_SAMPLER_2D_RECT 0x8B63
2289 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
2290 #define GL_TEXTURE_BUFFER 0x8C2A
2291 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
2292 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
2293 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
2294 #define GL_TEXTURE_BUFFER_FORMAT 0x8C2E
2295 #define GL_SAMPLER_BUFFER 0x8DC2
2296 #define GL_INT_SAMPLER_2D_RECT 0x8DCD
2297 #define GL_INT_SAMPLER_BUFFER 0x8DD0
2298 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
2299 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
2300 #define GL_RED_SNORM 0x8F90
2301 #define GL_RG_SNORM 0x8F91
2302 #define GL_RGB_SNORM 0x8F92
2303 #define GL_RGBA_SNORM 0x8F93
2304 #define GL_R8_SNORM 0x8F94
2305 #define GL_RG8_SNORM 0x8F95
2306 #define GL_RGB8_SNORM 0x8F96
2307 #define GL_RGBA8_SNORM 0x8F97
2308 #define GL_R16_SNORM 0x8F98
2309 #define GL_RG16_SNORM 0x8F99
2310 #define GL_RGB16_SNORM 0x8F9A
2311 #define GL_RGBA16_SNORM 0x8F9B
2312 #define GL_SIGNED_NORMALIZED 0x8F9C
2313 #define GL_PRIMITIVE_RESTART 0x8F9D
2314 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
2315 #define GL_BUFFER_ACCESS_FLAGS 0x911F
2316 #define GL_BUFFER_MAP_LENGTH 0x9120
2317 #define GL_BUFFER_MAP_OFFSET 0x9121
2318 
2319 typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2320 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount);
2321 typedef void (GLAPIENTRY * PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint buffer);
2322 typedef void (GLAPIENTRY * PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalFormat, GLuint buffer);
2323 
2324 #define glDrawArraysInstanced GLEW_GET_FUN(__glewDrawArraysInstanced)
2325 #define glDrawElementsInstanced GLEW_GET_FUN(__glewDrawElementsInstanced)
2326 #define glPrimitiveRestartIndex GLEW_GET_FUN(__glewPrimitiveRestartIndex)
2327 #define glTexBuffer GLEW_GET_FUN(__glewTexBuffer)
2328 
2329 #define GLEW_VERSION_3_1 GLEW_GET_VAR(__GLEW_VERSION_3_1)
2330 
2331 #endif /* GL_VERSION_3_1 */
2332 
2333 /* ----------------------------- GL_VERSION_3_2 ---------------------------- */
2334 
2335 #ifndef GL_VERSION_3_2
2336 #define GL_VERSION_3_2 1
2337 
2338 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
2339 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
2340 #define GL_LINES_ADJACENCY 0x000A
2341 #define GL_LINE_STRIP_ADJACENCY 0x000B
2342 #define GL_TRIANGLES_ADJACENCY 0x000C
2343 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
2344 #define GL_PROGRAM_POINT_SIZE 0x8642
2345 #define GL_GEOMETRY_VERTICES_OUT 0x8916
2346 #define GL_GEOMETRY_INPUT_TYPE 0x8917
2347 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
2348 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
2349 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
2350 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
2351 #define GL_GEOMETRY_SHADER 0x8DD9
2352 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
2353 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
2354 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
2355 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
2356 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
2357 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
2358 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
2359 #define GL_CONTEXT_PROFILE_MASK 0x9126
2360 
2361 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
2362 typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum value, GLint64 * data);
2363 typedef void (GLAPIENTRY * PFNGLGETINTEGER64I_VPROC) (GLenum pname, GLuint index, GLint64 * data);
2364 
2365 #define glFramebufferTexture GLEW_GET_FUN(__glewFramebufferTexture)
2366 #define glGetBufferParameteri64v GLEW_GET_FUN(__glewGetBufferParameteri64v)
2367 #define glGetInteger64i_v GLEW_GET_FUN(__glewGetInteger64i_v)
2368 
2369 #define GLEW_VERSION_3_2 GLEW_GET_VAR(__GLEW_VERSION_3_2)
2370 
2371 #endif /* GL_VERSION_3_2 */
2372 
2373 /* ----------------------------- GL_VERSION_3_3 ---------------------------- */
2374 
2375 #ifndef GL_VERSION_3_3
2376 #define GL_VERSION_3_3 1
2377 
2378 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
2379 #define GL_RGB10_A2UI 0x906F
2380 
2381 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
2382 
2383 #define glVertexAttribDivisor GLEW_GET_FUN(__glewVertexAttribDivisor)
2384 
2385 #define GLEW_VERSION_3_3 GLEW_GET_VAR(__GLEW_VERSION_3_3)
2386 
2387 #endif /* GL_VERSION_3_3 */
2388 
2389 /* ----------------------------- GL_VERSION_4_0 ---------------------------- */
2390 
2391 #ifndef GL_VERSION_4_0
2392 #define GL_VERSION_4_0 1
2393 
2394 #define GL_SAMPLE_SHADING 0x8C36
2395 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
2396 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
2397 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
2398 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS 0x8F9F
2399 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
2400 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
2401 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
2402 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
2403 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
2404 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
2405 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
2406 
2407 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
2408 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
2409 typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
2410 typedef void (GLAPIENTRY * PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
2411 typedef void (GLAPIENTRY * PFNGLMINSAMPLESHADINGPROC) (GLclampf value);
2412 
2413 #define glBlendEquationSeparatei GLEW_GET_FUN(__glewBlendEquationSeparatei)
2414 #define glBlendEquationi GLEW_GET_FUN(__glewBlendEquationi)
2415 #define glBlendFuncSeparatei GLEW_GET_FUN(__glewBlendFuncSeparatei)
2416 #define glBlendFunci GLEW_GET_FUN(__glewBlendFunci)
2417 #define glMinSampleShading GLEW_GET_FUN(__glewMinSampleShading)
2418 
2419 #define GLEW_VERSION_4_0 GLEW_GET_VAR(__GLEW_VERSION_4_0)
2420 
2421 #endif /* GL_VERSION_4_0 */
2422 
2423 /* ----------------------------- GL_VERSION_4_1 ---------------------------- */
2424 
2425 #ifndef GL_VERSION_4_1
2426 #define GL_VERSION_4_1 1
2427 
2428 #define GLEW_VERSION_4_1 GLEW_GET_VAR(__GLEW_VERSION_4_1)
2429 
2430 #endif /* GL_VERSION_4_1 */
2431 
2432 /* ----------------------------- GL_VERSION_4_2 ---------------------------- */
2433 
2434 #ifndef GL_VERSION_4_2
2435 #define GL_VERSION_4_2 1
2436 
2437 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
2438 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
2439 #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
2440 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
2441 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
2442 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
2443 #define GL_COPY_READ_BUFFER_BINDING 0x8F36
2444 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2445 
2446 #define GLEW_VERSION_4_2 GLEW_GET_VAR(__GLEW_VERSION_4_2)
2447 
2448 #endif /* GL_VERSION_4_2 */
2449 
2450 /* ----------------------------- GL_VERSION_4_3 ---------------------------- */
2451 
2452 #ifndef GL_VERSION_4_3
2453 #define GL_VERSION_4_3 1
2454 
2455 #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
2456 #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
2457 
2458 #define GLEW_VERSION_4_3 GLEW_GET_VAR(__GLEW_VERSION_4_3)
2459 
2460 #endif /* GL_VERSION_4_3 */
2461 
2462 /* ----------------------------- GL_VERSION_4_4 ---------------------------- */
2463 
2464 #ifndef GL_VERSION_4_4
2465 #define GL_VERSION_4_4 1
2466 
2467 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2468 #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
2469 #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
2470 
2471 #define GLEW_VERSION_4_4 GLEW_GET_VAR(__GLEW_VERSION_4_4)
2472 
2473 #endif /* GL_VERSION_4_4 */
2474 
2475 /* ----------------------------- GL_VERSION_4_5 ---------------------------- */
2476 
2477 #ifndef GL_VERSION_4_5
2478 #define GL_VERSION_4_5 1
2479 
2480 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2481 
2482 typedef GLenum (GLAPIENTRY * PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
2483 typedef void (GLAPIENTRY * PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, GLvoid *pixels);
2484 typedef void (GLAPIENTRY * PFNGLGETNTEXIMAGEPROC) (GLenum tex, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels);
2485 typedef void (GLAPIENTRY * PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2486 
2487 #define glGetGraphicsResetStatus GLEW_GET_FUN(__glewGetGraphicsResetStatus)
2488 #define glGetnCompressedTexImage GLEW_GET_FUN(__glewGetnCompressedTexImage)
2489 #define glGetnTexImage GLEW_GET_FUN(__glewGetnTexImage)
2490 #define glGetnUniformdv GLEW_GET_FUN(__glewGetnUniformdv)
2491 
2492 #define GLEW_VERSION_4_5 GLEW_GET_VAR(__GLEW_VERSION_4_5)
2493 
2494 #endif /* GL_VERSION_4_5 */
2495 
2496 /* -------------------------- GL_3DFX_multisample -------------------------- */
2497 
2498 #ifndef GL_3DFX_multisample
2499 #define GL_3DFX_multisample 1
2500 
2501 #define GL_MULTISAMPLE_3DFX 0x86B2
2502 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
2503 #define GL_SAMPLES_3DFX 0x86B4
2504 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
2505 
2506 #define GLEW_3DFX_multisample GLEW_GET_VAR(__GLEW_3DFX_multisample)
2507 
2508 #endif /* GL_3DFX_multisample */
2509 
2510 /* ---------------------------- GL_3DFX_tbuffer ---------------------------- */
2511 
2512 #ifndef GL_3DFX_tbuffer
2513 #define GL_3DFX_tbuffer 1
2514 
2515 typedef void (GLAPIENTRY * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
2516 
2517 #define glTbufferMask3DFX GLEW_GET_FUN(__glewTbufferMask3DFX)
2518 
2519 #define GLEW_3DFX_tbuffer GLEW_GET_VAR(__GLEW_3DFX_tbuffer)
2520 
2521 #endif /* GL_3DFX_tbuffer */
2522 
2523 /* -------------------- GL_3DFX_texture_compression_FXT1 ------------------- */
2524 
2525 #ifndef GL_3DFX_texture_compression_FXT1
2526 #define GL_3DFX_texture_compression_FXT1 1
2527 
2528 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
2529 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
2530 
2531 #define GLEW_3DFX_texture_compression_FXT1 GLEW_GET_VAR(__GLEW_3DFX_texture_compression_FXT1)
2532 
2533 #endif /* GL_3DFX_texture_compression_FXT1 */
2534 
2535 /* ----------------------- GL_AMD_blend_minmax_factor ---------------------- */
2536 
2537 #ifndef GL_AMD_blend_minmax_factor
2538 #define GL_AMD_blend_minmax_factor 1
2539 
2540 #define GL_FACTOR_MIN_AMD 0x901C
2541 #define GL_FACTOR_MAX_AMD 0x901D
2542 
2543 #define GLEW_AMD_blend_minmax_factor GLEW_GET_VAR(__GLEW_AMD_blend_minmax_factor)
2544 
2545 #endif /* GL_AMD_blend_minmax_factor */
2546 
2547 /* ----------------------- GL_AMD_conservative_depth ----------------------- */
2548 
2549 #ifndef GL_AMD_conservative_depth
2550 #define GL_AMD_conservative_depth 1
2551 
2552 #define GLEW_AMD_conservative_depth GLEW_GET_VAR(__GLEW_AMD_conservative_depth)
2553 
2554 #endif /* GL_AMD_conservative_depth */
2555 
2556 /* -------------------------- GL_AMD_debug_output -------------------------- */
2557 
2558 #ifndef GL_AMD_debug_output
2559 #define GL_AMD_debug_output 1
2560 
2561 #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
2562 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
2563 #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
2564 #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
2565 #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
2566 #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
2567 #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
2568 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
2569 #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
2570 #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
2571 #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
2572 #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
2573 #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
2574 #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
2575 
2576 typedef void (GLAPIENTRY *GLDEBUGPROCAMD)(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar* message, void* userParam);
2577 
2578 typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
2579 typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled);
2580 typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar* buf);
2581 typedef GLuint (GLAPIENTRY * PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum* categories, GLuint* severities, GLuint* ids, GLsizei* lengths, GLchar* message);
2582 
2583 #define glDebugMessageCallbackAMD GLEW_GET_FUN(__glewDebugMessageCallbackAMD)
2584 #define glDebugMessageEnableAMD GLEW_GET_FUN(__glewDebugMessageEnableAMD)
2585 #define glDebugMessageInsertAMD GLEW_GET_FUN(__glewDebugMessageInsertAMD)
2586 #define glGetDebugMessageLogAMD GLEW_GET_FUN(__glewGetDebugMessageLogAMD)
2587 
2588 #define GLEW_AMD_debug_output GLEW_GET_VAR(__GLEW_AMD_debug_output)
2589 
2590 #endif /* GL_AMD_debug_output */
2591 
2592 /* ---------------------- GL_AMD_depth_clamp_separate ---------------------- */
2593 
2594 #ifndef GL_AMD_depth_clamp_separate
2595 #define GL_AMD_depth_clamp_separate 1
2596 
2597 #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
2598 #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
2599 
2600 #define GLEW_AMD_depth_clamp_separate GLEW_GET_VAR(__GLEW_AMD_depth_clamp_separate)
2601 
2602 #endif /* GL_AMD_depth_clamp_separate */
2603 
2604 /* ----------------------- GL_AMD_draw_buffers_blend ----------------------- */
2605 
2606 #ifndef GL_AMD_draw_buffers_blend
2607 #define GL_AMD_draw_buffers_blend 1
2608 
2609 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
2610 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
2611 typedef void (GLAPIENTRY * PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
2612 typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
2613 
2614 #define glBlendEquationIndexedAMD GLEW_GET_FUN(__glewBlendEquationIndexedAMD)
2615 #define glBlendEquationSeparateIndexedAMD GLEW_GET_FUN(__glewBlendEquationSeparateIndexedAMD)
2616 #define glBlendFuncIndexedAMD GLEW_GET_FUN(__glewBlendFuncIndexedAMD)
2617 #define glBlendFuncSeparateIndexedAMD GLEW_GET_FUN(__glewBlendFuncSeparateIndexedAMD)
2618 
2619 #define GLEW_AMD_draw_buffers_blend GLEW_GET_VAR(__GLEW_AMD_draw_buffers_blend)
2620 
2621 #endif /* GL_AMD_draw_buffers_blend */
2622 
2623 /* --------------------------- GL_AMD_gcn_shader --------------------------- */
2624 
2625 #ifndef GL_AMD_gcn_shader
2626 #define GL_AMD_gcn_shader 1
2627 
2628 #define GLEW_AMD_gcn_shader GLEW_GET_VAR(__GLEW_AMD_gcn_shader)
2629 
2630 #endif /* GL_AMD_gcn_shader */
2631 
2632 /* ------------------------ GL_AMD_gpu_shader_int64 ------------------------ */
2633 
2634 #ifndef GL_AMD_gpu_shader_int64
2635 #define GL_AMD_gpu_shader_int64 1
2636 
2637 #define GLEW_AMD_gpu_shader_int64 GLEW_GET_VAR(__GLEW_AMD_gpu_shader_int64)
2638 
2639 #endif /* GL_AMD_gpu_shader_int64 */
2640 
2641 /* ---------------------- GL_AMD_interleaved_elements ---------------------- */
2642 
2643 #ifndef GL_AMD_interleaved_elements
2644 #define GL_AMD_interleaved_elements 1
2645 
2646 #define GL_RED 0x1903
2647 #define GL_GREEN 0x1904
2648 #define GL_BLUE 0x1905
2649 #define GL_ALPHA 0x1906
2650 #define GL_RG8UI 0x8238
2651 #define GL_RG16UI 0x823A
2652 #define GL_RGBA8UI 0x8D7C
2653 #define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4
2654 #define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5
2655 
2656 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
2657 
2658 #define glVertexAttribParameteriAMD GLEW_GET_FUN(__glewVertexAttribParameteriAMD)
2659 
2660 #define GLEW_AMD_interleaved_elements GLEW_GET_VAR(__GLEW_AMD_interleaved_elements)
2661 
2662 #endif /* GL_AMD_interleaved_elements */
2663 
2664 /* ----------------------- GL_AMD_multi_draw_indirect ---------------------- */
2665 
2666 #ifndef GL_AMD_multi_draw_indirect
2667 #define GL_AMD_multi_draw_indirect 1
2668 
2669 typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
2670 typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
2671 
2672 #define glMultiDrawArraysIndirectAMD GLEW_GET_FUN(__glewMultiDrawArraysIndirectAMD)
2673 #define glMultiDrawElementsIndirectAMD GLEW_GET_FUN(__glewMultiDrawElementsIndirectAMD)
2674 
2675 #define GLEW_AMD_multi_draw_indirect GLEW_GET_VAR(__GLEW_AMD_multi_draw_indirect)
2676 
2677 #endif /* GL_AMD_multi_draw_indirect */
2678 
2679 /* ------------------------- GL_AMD_name_gen_delete ------------------------ */
2680 
2681 #ifndef GL_AMD_name_gen_delete
2682 #define GL_AMD_name_gen_delete 1
2683 
2684 #define GL_DATA_BUFFER_AMD 0x9151
2685 #define GL_PERFORMANCE_MONITOR_AMD 0x9152
2686 #define GL_QUERY_OBJECT_AMD 0x9153
2687 #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
2688 #define GL_SAMPLER_OBJECT_AMD 0x9155
2689 
2690 typedef void (GLAPIENTRY * PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint* names);
2691 typedef void (GLAPIENTRY * PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint* names);
2692 typedef GLboolean (GLAPIENTRY * PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
2693 
2694 #define glDeleteNamesAMD GLEW_GET_FUN(__glewDeleteNamesAMD)
2695 #define glGenNamesAMD GLEW_GET_FUN(__glewGenNamesAMD)
2696 #define glIsNameAMD GLEW_GET_FUN(__glewIsNameAMD)
2697 
2698 #define GLEW_AMD_name_gen_delete GLEW_GET_VAR(__GLEW_AMD_name_gen_delete)
2699 
2700 #endif /* GL_AMD_name_gen_delete */
2701 
2702 /* ---------------------- GL_AMD_occlusion_query_event --------------------- */
2703 
2704 #ifndef GL_AMD_occlusion_query_event
2705 #define GL_AMD_occlusion_query_event 1
2706 
2707 #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
2708 #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
2709 #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
2710 #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
2711 #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
2712 #define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF
2713 
2714 typedef void (GLAPIENTRY * PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
2715 
2716 #define glQueryObjectParameteruiAMD GLEW_GET_FUN(__glewQueryObjectParameteruiAMD)
2717 
2718 #define GLEW_AMD_occlusion_query_event GLEW_GET_VAR(__GLEW_AMD_occlusion_query_event)
2719 
2720 #endif /* GL_AMD_occlusion_query_event */
2721 
2722 /* ----------------------- GL_AMD_performance_monitor ---------------------- */
2723 
2724 #ifndef GL_AMD_performance_monitor
2725 #define GL_AMD_performance_monitor 1
2726 
2727 #define GL_COUNTER_TYPE_AMD 0x8BC0
2728 #define GL_COUNTER_RANGE_AMD 0x8BC1
2729 #define GL_UNSIGNED_INT64_AMD 0x8BC2
2730 #define GL_PERCENTAGE_AMD 0x8BC3
2731 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
2732 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
2733 #define GL_PERFMON_RESULT_AMD 0x8BC6
2734 
2735 typedef void (GLAPIENTRY * PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
2736 typedef void (GLAPIENTRY * PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors);
2737 typedef void (GLAPIENTRY * PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
2738 typedef void (GLAPIENTRY * PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors);
2739 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint *bytesWritten);
2740 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
2741 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, GLchar *counterString);
2742 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint* numCounters, GLint *maxActiveCounters, GLsizei countersSize, GLuint *counters);
2743 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei* length, GLchar *groupString);
2744 typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint* numGroups, GLsizei groupsSize, GLuint *groups);
2745 typedef void (GLAPIENTRY * PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* counterList);
2746 
2747 #define glBeginPerfMonitorAMD GLEW_GET_FUN(__glewBeginPerfMonitorAMD)
2748 #define glDeletePerfMonitorsAMD GLEW_GET_FUN(__glewDeletePerfMonitorsAMD)
2749 #define glEndPerfMonitorAMD GLEW_GET_FUN(__glewEndPerfMonitorAMD)
2750 #define glGenPerfMonitorsAMD GLEW_GET_FUN(__glewGenPerfMonitorsAMD)
2751 #define glGetPerfMonitorCounterDataAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterDataAMD)
2752 #define glGetPerfMonitorCounterInfoAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterInfoAMD)
2753 #define glGetPerfMonitorCounterStringAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterStringAMD)
2754 #define glGetPerfMonitorCountersAMD GLEW_GET_FUN(__glewGetPerfMonitorCountersAMD)
2755 #define glGetPerfMonitorGroupStringAMD GLEW_GET_FUN(__glewGetPerfMonitorGroupStringAMD)
2756 #define glGetPerfMonitorGroupsAMD GLEW_GET_FUN(__glewGetPerfMonitorGroupsAMD)
2757 #define glSelectPerfMonitorCountersAMD GLEW_GET_FUN(__glewSelectPerfMonitorCountersAMD)
2758 
2759 #define GLEW_AMD_performance_monitor GLEW_GET_VAR(__GLEW_AMD_performance_monitor)
2760 
2761 #endif /* GL_AMD_performance_monitor */
2762 
2763 /* -------------------------- GL_AMD_pinned_memory ------------------------- */
2764 
2765 #ifndef GL_AMD_pinned_memory
2766 #define GL_AMD_pinned_memory 1
2767 
2768 #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
2769 
2770 #define GLEW_AMD_pinned_memory GLEW_GET_VAR(__GLEW_AMD_pinned_memory)
2771 
2772 #endif /* GL_AMD_pinned_memory */
2773 
2774 /* ----------------------- GL_AMD_query_buffer_object ---------------------- */
2775 
2776 #ifndef GL_AMD_query_buffer_object
2777 #define GL_AMD_query_buffer_object 1
2778 
2779 #define GL_QUERY_BUFFER_AMD 0x9192
2780 #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
2781 #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
2782 
2783 #define GLEW_AMD_query_buffer_object GLEW_GET_VAR(__GLEW_AMD_query_buffer_object)
2784 
2785 #endif /* GL_AMD_query_buffer_object */
2786 
2787 /* ------------------------ GL_AMD_sample_positions ------------------------ */
2788 
2789 #ifndef GL_AMD_sample_positions
2790 #define GL_AMD_sample_positions 1
2791 
2792 #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
2793 
2794 typedef void (GLAPIENTRY * PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat* val);
2795 
2796 #define glSetMultisamplefvAMD GLEW_GET_FUN(__glewSetMultisamplefvAMD)
2797 
2798 #define GLEW_AMD_sample_positions GLEW_GET_VAR(__GLEW_AMD_sample_positions)
2799 
2800 #endif /* GL_AMD_sample_positions */
2801 
2802 /* ------------------ GL_AMD_seamless_cubemap_per_texture ------------------ */
2803 
2804 #ifndef GL_AMD_seamless_cubemap_per_texture
2805 #define GL_AMD_seamless_cubemap_per_texture 1
2806 
2807 #define GL_TEXTURE_CUBE_MAP_SEAMLESS_ARB 0x884F
2808 
2809 #define GLEW_AMD_seamless_cubemap_per_texture GLEW_GET_VAR(__GLEW_AMD_seamless_cubemap_per_texture)
2810 
2811 #endif /* GL_AMD_seamless_cubemap_per_texture */
2812 
2813 /* -------------------- GL_AMD_shader_atomic_counter_ops ------------------- */
2814 
2815 #ifndef GL_AMD_shader_atomic_counter_ops
2816 #define GL_AMD_shader_atomic_counter_ops 1
2817 
2818 #define GLEW_AMD_shader_atomic_counter_ops GLEW_GET_VAR(__GLEW_AMD_shader_atomic_counter_ops)
2819 
2820 #endif /* GL_AMD_shader_atomic_counter_ops */
2821 
2822 /* ---------------------- GL_AMD_shader_stencil_export --------------------- */
2823 
2824 #ifndef GL_AMD_shader_stencil_export
2825 #define GL_AMD_shader_stencil_export 1
2826 
2827 #define GLEW_AMD_shader_stencil_export GLEW_GET_VAR(__GLEW_AMD_shader_stencil_export)
2828 
2829 #endif /* GL_AMD_shader_stencil_export */
2830 
2831 /* ------------------- GL_AMD_shader_stencil_value_export ------------------ */
2832 
2833 #ifndef GL_AMD_shader_stencil_value_export
2834 #define GL_AMD_shader_stencil_value_export 1
2835 
2836 #define GLEW_AMD_shader_stencil_value_export GLEW_GET_VAR(__GLEW_AMD_shader_stencil_value_export)
2837 
2838 #endif /* GL_AMD_shader_stencil_value_export */
2839 
2840 /* ---------------------- GL_AMD_shader_trinary_minmax --------------------- */
2841 
2842 #ifndef GL_AMD_shader_trinary_minmax
2843 #define GL_AMD_shader_trinary_minmax 1
2844 
2845 #define GLEW_AMD_shader_trinary_minmax GLEW_GET_VAR(__GLEW_AMD_shader_trinary_minmax)
2846 
2847 #endif /* GL_AMD_shader_trinary_minmax */
2848 
2849 /* ------------------------- GL_AMD_sparse_texture ------------------------- */
2850 
2851 #ifndef GL_AMD_sparse_texture
2852 #define GL_AMD_sparse_texture 1
2853 
2854 #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
2855 #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
2856 #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
2857 #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
2858 #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
2859 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
2860 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
2861 #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
2862 #define GL_MIN_LOD_WARNING_AMD 0x919C
2863 
2864 typedef void (GLAPIENTRY * PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
2865 typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
2866 
2867 #define glTexStorageSparseAMD GLEW_GET_FUN(__glewTexStorageSparseAMD)
2868 #define glTextureStorageSparseAMD GLEW_GET_FUN(__glewTextureStorageSparseAMD)
2869 
2870 #define GLEW_AMD_sparse_texture GLEW_GET_VAR(__GLEW_AMD_sparse_texture)
2871 
2872 #endif /* GL_AMD_sparse_texture */
2873 
2874 /* ------------------- GL_AMD_stencil_operation_extended ------------------- */
2875 
2876 #ifndef GL_AMD_stencil_operation_extended
2877 #define GL_AMD_stencil_operation_extended 1
2878 
2879 #define GL_SET_AMD 0x874A
2880 #define GL_REPLACE_VALUE_AMD 0x874B
2881 #define GL_STENCIL_OP_VALUE_AMD 0x874C
2882 #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
2883 
2884 typedef void (GLAPIENTRY * PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
2885 
2886 #define glStencilOpValueAMD GLEW_GET_FUN(__glewStencilOpValueAMD)
2887 
2888 #define GLEW_AMD_stencil_operation_extended GLEW_GET_VAR(__GLEW_AMD_stencil_operation_extended)
2889 
2890 #endif /* GL_AMD_stencil_operation_extended */
2891 
2892 /* ------------------------ GL_AMD_texture_texture4 ------------------------ */
2893 
2894 #ifndef GL_AMD_texture_texture4
2895 #define GL_AMD_texture_texture4 1
2896 
2897 #define GLEW_AMD_texture_texture4 GLEW_GET_VAR(__GLEW_AMD_texture_texture4)
2898 
2899 #endif /* GL_AMD_texture_texture4 */
2900 
2901 /* --------------- GL_AMD_transform_feedback3_lines_triangles -------------- */
2902 
2903 #ifndef GL_AMD_transform_feedback3_lines_triangles
2904 #define GL_AMD_transform_feedback3_lines_triangles 1
2905 
2906 #define GLEW_AMD_transform_feedback3_lines_triangles GLEW_GET_VAR(__GLEW_AMD_transform_feedback3_lines_triangles)
2907 
2908 #endif /* GL_AMD_transform_feedback3_lines_triangles */
2909 
2910 /* ----------------------- GL_AMD_transform_feedback4 ---------------------- */
2911 
2912 #ifndef GL_AMD_transform_feedback4
2913 #define GL_AMD_transform_feedback4 1
2914 
2915 #define GL_STREAM_RASTERIZATION_AMD 0x91A0
2916 
2917 #define GLEW_AMD_transform_feedback4 GLEW_GET_VAR(__GLEW_AMD_transform_feedback4)
2918 
2919 #endif /* GL_AMD_transform_feedback4 */
2920 
2921 /* ----------------------- GL_AMD_vertex_shader_layer ---------------------- */
2922 
2923 #ifndef GL_AMD_vertex_shader_layer
2924 #define GL_AMD_vertex_shader_layer 1
2925 
2926 #define GLEW_AMD_vertex_shader_layer GLEW_GET_VAR(__GLEW_AMD_vertex_shader_layer)
2927 
2928 #endif /* GL_AMD_vertex_shader_layer */
2929 
2930 /* -------------------- GL_AMD_vertex_shader_tessellator ------------------- */
2931 
2932 #ifndef GL_AMD_vertex_shader_tessellator
2933 #define GL_AMD_vertex_shader_tessellator 1
2934 
2935 #define GL_SAMPLER_BUFFER_AMD 0x9001
2936 #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
2937 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
2938 #define GL_TESSELLATION_MODE_AMD 0x9004
2939 #define GL_TESSELLATION_FACTOR_AMD 0x9005
2940 #define GL_DISCRETE_AMD 0x9006
2941 #define GL_CONTINUOUS_AMD 0x9007
2942 
2943 typedef void (GLAPIENTRY * PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
2944 typedef void (GLAPIENTRY * PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
2945 
2946 #define glTessellationFactorAMD GLEW_GET_FUN(__glewTessellationFactorAMD)
2947 #define glTessellationModeAMD GLEW_GET_FUN(__glewTessellationModeAMD)
2948 
2949 #define GLEW_AMD_vertex_shader_tessellator GLEW_GET_VAR(__GLEW_AMD_vertex_shader_tessellator)
2950 
2951 #endif /* GL_AMD_vertex_shader_tessellator */
2952 
2953 /* ------------------ GL_AMD_vertex_shader_viewport_index ------------------ */
2954 
2955 #ifndef GL_AMD_vertex_shader_viewport_index
2956 #define GL_AMD_vertex_shader_viewport_index 1
2957 
2958 #define GLEW_AMD_vertex_shader_viewport_index GLEW_GET_VAR(__GLEW_AMD_vertex_shader_viewport_index)
2959 
2960 #endif /* GL_AMD_vertex_shader_viewport_index */
2961 
2962 /* ------------------------- GL_ANGLE_depth_texture ------------------------ */
2963 
2964 #ifndef GL_ANGLE_depth_texture
2965 #define GL_ANGLE_depth_texture 1
2966 
2967 #define GLEW_ANGLE_depth_texture GLEW_GET_VAR(__GLEW_ANGLE_depth_texture)
2968 
2969 #endif /* GL_ANGLE_depth_texture */
2970 
2971 /* ----------------------- GL_ANGLE_framebuffer_blit ----------------------- */
2972 
2973 #ifndef GL_ANGLE_framebuffer_blit
2974 #define GL_ANGLE_framebuffer_blit 1
2975 
2976 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
2977 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
2978 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
2979 #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
2980 
2981 typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2982 
2983 #define glBlitFramebufferANGLE GLEW_GET_FUN(__glewBlitFramebufferANGLE)
2984 
2985 #define GLEW_ANGLE_framebuffer_blit GLEW_GET_VAR(__GLEW_ANGLE_framebuffer_blit)
2986 
2987 #endif /* GL_ANGLE_framebuffer_blit */
2988 
2989 /* -------------------- GL_ANGLE_framebuffer_multisample ------------------- */
2990 
2991 #ifndef GL_ANGLE_framebuffer_multisample
2992 #define GL_ANGLE_framebuffer_multisample 1
2993 
2994 #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
2995 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
2996 #define GL_MAX_SAMPLES_ANGLE 0x8D57
2997 
2998 typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2999 
3000 #define glRenderbufferStorageMultisampleANGLE GLEW_GET_FUN(__glewRenderbufferStorageMultisampleANGLE)
3001 
3002 #define GLEW_ANGLE_framebuffer_multisample GLEW_GET_VAR(__GLEW_ANGLE_framebuffer_multisample)
3003 
3004 #endif /* GL_ANGLE_framebuffer_multisample */
3005 
3006 /* ----------------------- GL_ANGLE_instanced_arrays ----------------------- */
3007 
3008 #ifndef GL_ANGLE_instanced_arrays
3009 #define GL_ANGLE_instanced_arrays 1
3010 
3011 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
3012 
3013 typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3014 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
3015 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
3016 
3017 #define glDrawArraysInstancedANGLE GLEW_GET_FUN(__glewDrawArraysInstancedANGLE)
3018 #define glDrawElementsInstancedANGLE GLEW_GET_FUN(__glewDrawElementsInstancedANGLE)
3019 #define glVertexAttribDivisorANGLE GLEW_GET_FUN(__glewVertexAttribDivisorANGLE)
3020 
3021 #define GLEW_ANGLE_instanced_arrays GLEW_GET_VAR(__GLEW_ANGLE_instanced_arrays)
3022 
3023 #endif /* GL_ANGLE_instanced_arrays */
3024 
3025 /* -------------------- GL_ANGLE_pack_reverse_row_order -------------------- */
3026 
3027 #ifndef GL_ANGLE_pack_reverse_row_order
3028 #define GL_ANGLE_pack_reverse_row_order 1
3029 
3030 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
3031 
3032 #define GLEW_ANGLE_pack_reverse_row_order GLEW_GET_VAR(__GLEW_ANGLE_pack_reverse_row_order)
3033 
3034 #endif /* GL_ANGLE_pack_reverse_row_order */
3035 
3036 /* ------------------------ GL_ANGLE_program_binary ------------------------ */
3037 
3038 #ifndef GL_ANGLE_program_binary
3039 #define GL_ANGLE_program_binary 1
3040 
3041 #define GL_PROGRAM_BINARY_ANGLE 0x93A6
3042 
3043 #define GLEW_ANGLE_program_binary GLEW_GET_VAR(__GLEW_ANGLE_program_binary)
3044 
3045 #endif /* GL_ANGLE_program_binary */
3046 
3047 /* ------------------- GL_ANGLE_texture_compression_dxt1 ------------------- */
3048 
3049 #ifndef GL_ANGLE_texture_compression_dxt1
3050 #define GL_ANGLE_texture_compression_dxt1 1
3051 
3052 #define GL_COMPRESSED_RGB_S3TC_DXT1_ANGLE 0x83F0
3053 #define GL_COMPRESSED_RGBA_S3TC_DXT1_ANGLE 0x83F1
3054 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
3055 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
3056 
3057 #define GLEW_ANGLE_texture_compression_dxt1 GLEW_GET_VAR(__GLEW_ANGLE_texture_compression_dxt1)
3058 
3059 #endif /* GL_ANGLE_texture_compression_dxt1 */
3060 
3061 /* ------------------- GL_ANGLE_texture_compression_dxt3 ------------------- */
3062 
3063 #ifndef GL_ANGLE_texture_compression_dxt3
3064 #define GL_ANGLE_texture_compression_dxt3 1
3065 
3066 #define GL_COMPRESSED_RGB_S3TC_DXT1_ANGLE 0x83F0
3067 #define GL_COMPRESSED_RGBA_S3TC_DXT1_ANGLE 0x83F1
3068 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
3069 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
3070 
3071 #define GLEW_ANGLE_texture_compression_dxt3 GLEW_GET_VAR(__GLEW_ANGLE_texture_compression_dxt3)
3072 
3073 #endif /* GL_ANGLE_texture_compression_dxt3 */
3074 
3075 /* ------------------- GL_ANGLE_texture_compression_dxt5 ------------------- */
3076 
3077 #ifndef GL_ANGLE_texture_compression_dxt5
3078 #define GL_ANGLE_texture_compression_dxt5 1
3079 
3080 #define GL_COMPRESSED_RGB_S3TC_DXT1_ANGLE 0x83F0
3081 #define GL_COMPRESSED_RGBA_S3TC_DXT1_ANGLE 0x83F1
3082 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
3083 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
3084 
3085 #define GLEW_ANGLE_texture_compression_dxt5 GLEW_GET_VAR(__GLEW_ANGLE_texture_compression_dxt5)
3086 
3087 #endif /* GL_ANGLE_texture_compression_dxt5 */
3088 
3089 /* ------------------------- GL_ANGLE_texture_usage ------------------------ */
3090 
3091 #ifndef GL_ANGLE_texture_usage
3092 #define GL_ANGLE_texture_usage 1
3093 
3094 #define GL_TEXTURE_USAGE_ANGLE 0x93A2
3095 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
3096 
3097 #define GLEW_ANGLE_texture_usage GLEW_GET_VAR(__GLEW_ANGLE_texture_usage)
3098 
3099 #endif /* GL_ANGLE_texture_usage */
3100 
3101 /* -------------------------- GL_ANGLE_timer_query ------------------------- */
3102 
3103 #ifndef GL_ANGLE_timer_query
3104 #define GL_ANGLE_timer_query 1
3105 
3106 #define GL_QUERY_COUNTER_BITS_ANGLE 0x8864
3107 #define GL_CURRENT_QUERY_ANGLE 0x8865
3108 #define GL_QUERY_RESULT_ANGLE 0x8866
3109 #define GL_QUERY_RESULT_AVAILABLE_ANGLE 0x8867
3110 #define GL_TIME_ELAPSED_ANGLE 0x88BF
3111 #define GL_TIMESTAMP_ANGLE 0x8E28
3112 
3113 typedef void (GLAPIENTRY * PFNGLBEGINQUERYANGLEPROC) (GLenum target, GLuint id);
3114 typedef void (GLAPIENTRY * PFNGLDELETEQUERIESANGLEPROC) (GLsizei n, const GLuint* ids);
3115 typedef void (GLAPIENTRY * PFNGLENDQUERYANGLEPROC) (GLenum target);
3116 typedef void (GLAPIENTRY * PFNGLGENQUERIESANGLEPROC) (GLsizei n, GLuint* ids);
3117 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTI64VANGLEPROC) (GLuint id, GLenum pname, GLint64* params);
3118 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVANGLEPROC) (GLuint id, GLenum pname, GLint* params);
3119 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUI64VANGLEPROC) (GLuint id, GLenum pname, GLuint64* params);
3120 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVANGLEPROC) (GLuint id, GLenum pname, GLuint* params);
3121 typedef void (GLAPIENTRY * PFNGLGETQUERYIVANGLEPROC) (GLenum target, GLenum pname, GLint* params);
3122 typedef GLboolean (GLAPIENTRY * PFNGLISQUERYANGLEPROC) (GLuint id);
3123 typedef void (GLAPIENTRY * PFNGLQUERYCOUNTERANGLEPROC) (GLuint id, GLenum target);
3124 
3125 #define glBeginQueryANGLE GLEW_GET_FUN(__glewBeginQueryANGLE)
3126 #define glDeleteQueriesANGLE GLEW_GET_FUN(__glewDeleteQueriesANGLE)
3127 #define glEndQueryANGLE GLEW_GET_FUN(__glewEndQueryANGLE)
3128 #define glGenQueriesANGLE GLEW_GET_FUN(__glewGenQueriesANGLE)
3129 #define glGetQueryObjecti64vANGLE GLEW_GET_FUN(__glewGetQueryObjecti64vANGLE)
3130 #define glGetQueryObjectivANGLE GLEW_GET_FUN(__glewGetQueryObjectivANGLE)
3131 #define glGetQueryObjectui64vANGLE GLEW_GET_FUN(__glewGetQueryObjectui64vANGLE)
3132 #define glGetQueryObjectuivANGLE GLEW_GET_FUN(__glewGetQueryObjectuivANGLE)
3133 #define glGetQueryivANGLE GLEW_GET_FUN(__glewGetQueryivANGLE)
3134 #define glIsQueryANGLE GLEW_GET_FUN(__glewIsQueryANGLE)
3135 #define glQueryCounterANGLE GLEW_GET_FUN(__glewQueryCounterANGLE)
3136 
3137 #define GLEW_ANGLE_timer_query GLEW_GET_VAR(__GLEW_ANGLE_timer_query)
3138 
3139 #endif /* GL_ANGLE_timer_query */
3140 
3141 /* ------------------- GL_ANGLE_translated_shader_source ------------------- */
3142 
3143 #ifndef GL_ANGLE_translated_shader_source
3144 #define GL_ANGLE_translated_shader_source 1
3145 
3146 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
3147 
3148 typedef void (GLAPIENTRY * PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source);
3149 
3150 #define glGetTranslatedShaderSourceANGLE GLEW_GET_FUN(__glewGetTranslatedShaderSourceANGLE)
3151 
3152 #define GLEW_ANGLE_translated_shader_source GLEW_GET_VAR(__GLEW_ANGLE_translated_shader_source)
3153 
3154 #endif /* GL_ANGLE_translated_shader_source */
3155 
3156 /* ----------------------- GL_APPLE_aux_depth_stencil ---------------------- */
3157 
3158 #ifndef GL_APPLE_aux_depth_stencil
3159 #define GL_APPLE_aux_depth_stencil 1
3160 
3161 #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
3162 
3163 #define GLEW_APPLE_aux_depth_stencil GLEW_GET_VAR(__GLEW_APPLE_aux_depth_stencil)
3164 
3165 #endif /* GL_APPLE_aux_depth_stencil */
3166 
3167 /* ------------------------ GL_APPLE_client_storage ------------------------ */
3168 
3169 #ifndef GL_APPLE_client_storage
3170 #define GL_APPLE_client_storage 1
3171 
3172 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
3173 
3174 #define GLEW_APPLE_client_storage GLEW_GET_VAR(__GLEW_APPLE_client_storage)
3175 
3176 #endif /* GL_APPLE_client_storage */
3177 
3178 /* ------------------------- GL_APPLE_element_array ------------------------ */
3179 
3180 #ifndef GL_APPLE_element_array
3181 #define GL_APPLE_element_array 1
3182 
3183 #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
3184 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
3185 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
3186 
3187 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
3188 typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
3189 typedef void (GLAPIENTRY * PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
3190 typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount);
3191 typedef void (GLAPIENTRY * PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei *count, GLsizei primcount);
3192 
3193 #define glDrawElementArrayAPPLE GLEW_GET_FUN(__glewDrawElementArrayAPPLE)
3194 #define glDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewDrawRangeElementArrayAPPLE)
3195 #define glElementPointerAPPLE GLEW_GET_FUN(__glewElementPointerAPPLE)
3196 #define glMultiDrawElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawElementArrayAPPLE)
3197 #define glMultiDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawRangeElementArrayAPPLE)
3198 
3199 #define GLEW_APPLE_element_array GLEW_GET_VAR(__GLEW_APPLE_element_array)
3200 
3201 #endif /* GL_APPLE_element_array */
3202 
3203 /* ----------------------------- GL_APPLE_fence ---------------------------- */
3204 
3205 #ifndef GL_APPLE_fence
3206 #define GL_APPLE_fence 1
3207 
3208 #define GL_DRAW_PIXELS_APPLE 0x8A0A
3209 #define GL_FENCE_APPLE 0x8A0B
3210 
3211 typedef void (GLAPIENTRY * PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint* fences);
3212 typedef void (GLAPIENTRY * PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
3213 typedef void (GLAPIENTRY * PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
3214 typedef void (GLAPIENTRY * PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint* fences);
3215 typedef GLboolean (GLAPIENTRY * PFNGLISFENCEAPPLEPROC) (GLuint fence);
3216 typedef void (GLAPIENTRY * PFNGLSETFENCEAPPLEPROC) (GLuint fence);
3217 typedef GLboolean (GLAPIENTRY * PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
3218 typedef GLboolean (GLAPIENTRY * PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
3219 
3220 #define glDeleteFencesAPPLE GLEW_GET_FUN(__glewDeleteFencesAPPLE)
3221 #define glFinishFenceAPPLE GLEW_GET_FUN(__glewFinishFenceAPPLE)
3222 #define glFinishObjectAPPLE GLEW_GET_FUN(__glewFinishObjectAPPLE)
3223 #define glGenFencesAPPLE GLEW_GET_FUN(__glewGenFencesAPPLE)
3224 #define glIsFenceAPPLE GLEW_GET_FUN(__glewIsFenceAPPLE)
3225 #define glSetFenceAPPLE GLEW_GET_FUN(__glewSetFenceAPPLE)
3226 #define glTestFenceAPPLE GLEW_GET_FUN(__glewTestFenceAPPLE)
3227 #define glTestObjectAPPLE GLEW_GET_FUN(__glewTestObjectAPPLE)
3228 
3229 #define GLEW_APPLE_fence GLEW_GET_VAR(__GLEW_APPLE_fence)
3230 
3231 #endif /* GL_APPLE_fence */
3232 
3233 /* ------------------------- GL_APPLE_float_pixels ------------------------- */
3234 
3235 #ifndef GL_APPLE_float_pixels
3236 #define GL_APPLE_float_pixels 1
3237 
3238 #define GL_HALF_APPLE 0x140B
3239 #define GL_RGBA_FLOAT32_APPLE 0x8814
3240 #define GL_RGB_FLOAT32_APPLE 0x8815
3241 #define GL_ALPHA_FLOAT32_APPLE 0x8816
3242 #define GL_INTENSITY_FLOAT32_APPLE 0x8817
3243 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
3244 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
3245 #define GL_RGBA_FLOAT16_APPLE 0x881A
3246 #define GL_RGB_FLOAT16_APPLE 0x881B
3247 #define GL_ALPHA_FLOAT16_APPLE 0x881C
3248 #define GL_INTENSITY_FLOAT16_APPLE 0x881D
3249 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
3250 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
3251 #define GL_COLOR_FLOAT_APPLE 0x8A0F
3252 
3253 #define GLEW_APPLE_float_pixels GLEW_GET_VAR(__GLEW_APPLE_float_pixels)
3254 
3255 #endif /* GL_APPLE_float_pixels */
3256 
3257 /* ---------------------- GL_APPLE_flush_buffer_range ---------------------- */
3258 
3259 #ifndef GL_APPLE_flush_buffer_range
3260 #define GL_APPLE_flush_buffer_range 1
3261 
3262 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
3263 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
3264 
3265 typedef void (GLAPIENTRY * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
3266 typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
3267 
3268 #define glBufferParameteriAPPLE GLEW_GET_FUN(__glewBufferParameteriAPPLE)
3269 #define glFlushMappedBufferRangeAPPLE GLEW_GET_FUN(__glewFlushMappedBufferRangeAPPLE)
3270 
3271 #define GLEW_APPLE_flush_buffer_range GLEW_GET_VAR(__GLEW_APPLE_flush_buffer_range)
3272 
3273 #endif /* GL_APPLE_flush_buffer_range */
3274 
3275 /* ----------------------- GL_APPLE_object_purgeable ----------------------- */
3276 
3277 #ifndef GL_APPLE_object_purgeable
3278 #define GL_APPLE_object_purgeable 1
3279 
3280 #define GL_BUFFER_OBJECT_APPLE 0x85B3
3281 #define GL_RELEASED_APPLE 0x8A19
3282 #define GL_VOLATILE_APPLE 0x8A1A
3283 #define GL_RETAINED_APPLE 0x8A1B
3284 #define GL_UNDEFINED_APPLE 0x8A1C
3285 #define GL_PURGEABLE_APPLE 0x8A1D
3286 
3287 typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint* params);
3288 typedef GLenum (GLAPIENTRY * PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
3289 typedef GLenum (GLAPIENTRY * PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
3290 
3291 #define glGetObjectParameterivAPPLE GLEW_GET_FUN(__glewGetObjectParameterivAPPLE)
3292 #define glObjectPurgeableAPPLE GLEW_GET_FUN(__glewObjectPurgeableAPPLE)
3293 #define glObjectUnpurgeableAPPLE GLEW_GET_FUN(__glewObjectUnpurgeableAPPLE)
3294 
3295 #define GLEW_APPLE_object_purgeable GLEW_GET_VAR(__GLEW_APPLE_object_purgeable)
3296 
3297 #endif /* GL_APPLE_object_purgeable */
3298 
3299 /* ------------------------- GL_APPLE_pixel_buffer ------------------------- */
3300 
3301 #ifndef GL_APPLE_pixel_buffer
3302 #define GL_APPLE_pixel_buffer 1
3303 
3304 #define GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10
3305 
3306 #define GLEW_APPLE_pixel_buffer GLEW_GET_VAR(__GLEW_APPLE_pixel_buffer)
3307 
3308 #endif /* GL_APPLE_pixel_buffer */
3309 
3310 /* ---------------------------- GL_APPLE_rgb_422 --------------------------- */
3311 
3312 #ifndef GL_APPLE_rgb_422
3313 #define GL_APPLE_rgb_422 1
3314 
3315 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
3316 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
3317 #define GL_RGB_422_APPLE 0x8A1F
3318 #define GL_RGB_RAW_422_APPLE 0x8A51
3319 
3320 #define GLEW_APPLE_rgb_422 GLEW_GET_VAR(__GLEW_APPLE_rgb_422)
3321 
3322 #endif /* GL_APPLE_rgb_422 */
3323 
3324 /* --------------------------- GL_APPLE_row_bytes -------------------------- */
3325 
3326 #ifndef GL_APPLE_row_bytes
3327 #define GL_APPLE_row_bytes 1
3328 
3329 #define GL_PACK_ROW_BYTES_APPLE 0x8A15
3330 #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
3331 
3332 #define GLEW_APPLE_row_bytes GLEW_GET_VAR(__GLEW_APPLE_row_bytes)
3333 
3334 #endif /* GL_APPLE_row_bytes */
3335 
3336 /* ------------------------ GL_APPLE_specular_vector ----------------------- */
3337 
3338 #ifndef GL_APPLE_specular_vector
3339 #define GL_APPLE_specular_vector 1
3340 
3341 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
3342 
3343 #define GLEW_APPLE_specular_vector GLEW_GET_VAR(__GLEW_APPLE_specular_vector)
3344 
3345 #endif /* GL_APPLE_specular_vector */
3346 
3347 /* ------------------------- GL_APPLE_texture_range ------------------------ */
3348 
3349 #ifndef GL_APPLE_texture_range
3350 #define GL_APPLE_texture_range 1
3351 
3352 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
3353 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
3354 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
3355 #define GL_STORAGE_PRIVATE_APPLE 0x85BD
3356 #define GL_STORAGE_CACHED_APPLE 0x85BE
3357 #define GL_STORAGE_SHARED_APPLE 0x85BF
3358 
3359 typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
3360 typedef void (GLAPIENTRY * PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, void *pointer);
3361 
3362 #define glGetTexParameterPointervAPPLE GLEW_GET_FUN(__glewGetTexParameterPointervAPPLE)
3363 #define glTextureRangeAPPLE GLEW_GET_FUN(__glewTextureRangeAPPLE)
3364 
3365 #define GLEW_APPLE_texture_range GLEW_GET_VAR(__GLEW_APPLE_texture_range)
3366 
3367 #endif /* GL_APPLE_texture_range */
3368 
3369 /* ------------------------ GL_APPLE_transform_hint ------------------------ */
3370 
3371 #ifndef GL_APPLE_transform_hint
3372 #define GL_APPLE_transform_hint 1
3373 
3374 #define GL_TRANSFORM_HINT_APPLE 0x85B1
3375 
3376 #define GLEW_APPLE_transform_hint GLEW_GET_VAR(__GLEW_APPLE_transform_hint)
3377 
3378 #endif /* GL_APPLE_transform_hint */
3379 
3380 /* ---------------------- GL_APPLE_vertex_array_object --------------------- */
3381 
3382 #ifndef GL_APPLE_vertex_array_object
3383 #define GL_APPLE_vertex_array_object 1
3384 
3385 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
3386