Main MRPT website > C++ reference for MRPT 1.5.7
glew.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 
10 /*
11  * Mesa 3-D graphics library
12  * Version: 7.0
13  *
14  * Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
15  *
16  * Permission is hereby granted, free of charge, to any person obtaining a
17  * copy of this software and associated documentation files (the "Software"),
18  * to deal in the Software without restriction, including without limitation
19  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
20  * and/or sell copies of the Software, and to permit persons to whom the
21  * Software is furnished to do so, subject to the following conditions:
22  *
23  * The above copyright notice and this permission notice shall be included
24  * in all copies or substantial portions of the Software.
25  *
26  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
27  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
29  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
30  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
31  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32  */
33 
34 /*
35 ** Copyright (c) 2007 The Khronos Group Inc.
36 **
37 ** Permission is hereby granted, free of charge, to any person obtaining a
38 ** copy of this software and/or associated documentation files (the
39 ** "Materials"), to deal in the Materials without restriction, including
40 ** without limitation the rights to use, copy, modify, merge, publish,
41 ** distribute, sublicense, and/or sell copies of the Materials, and to
42 ** permit persons to whom the Materials are furnished to do so, subject to
43 ** the following conditions:
44 **
45 ** The above copyright notice and this permission notice shall be included
46 ** in all copies or substantial portions of the Materials.
47 **
48 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
49 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
50 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
51 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
52 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
53 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
54 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
55 */
56 
57 #ifndef __glew_h__
58 #define __glew_h__
59 #define __GLEW_H__
60 
61 #if defined(__gl_h_) || defined(__GL_H__)
62 #error gl.h included before glew.h
63 #endif
64 #if defined(__glext_h_) || defined(__GLEXT_H_)
65 #error glext.h included before glew.h
66 #endif
67 #if defined(__gl_ATI_h_)
68 #error glATI.h included before glew.h
69 #endif
70 
71 #define __gl_h_
72 #define __GL_H__
73 #define __glext_h_
74 #define __GLEXT_H_
75 #define __gl_ATI_h_
76 
77 #if defined(_WIN32)
78 
79 /*
80  * GLEW does not include <windows.h> to avoid name space pollution.
81  * GL needs GLAPI and GLAPIENTRY, GLU needs APIENTRY, CALLBACK, and wchar_t
82  * defined properly.
83  */
84 /* <windef.h> */
85 #ifndef APIENTRY
86 #define GLEW_APIENTRY_DEFINED
87 # if defined(__MINGW32__)
88 # define APIENTRY __stdcall
89 # elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__)
90 # define APIENTRY __stdcall
91 # else
92 # define APIENTRY
93 # endif
94 #endif
95 #ifndef GLAPI
96 # if defined(__MINGW32__)
97 # define GLAPI extern
98 # endif
99 #endif
100 /* <winnt.h> */
101 #ifndef CALLBACK
102 #define GLEW_CALLBACK_DEFINED
103 # if defined(__MINGW32__)
104 # define CALLBACK __attribute__ ((__stdcall__))
105 # elif (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS)
106 # define CALLBACK __stdcall
107 # else
108 # define CALLBACK
109 # endif
110 #endif
111 /* <wingdi.h> and <winnt.h> */
112 #ifndef WINGDIAPI
113 #define GLEW_WINGDIAPI_DEFINED
114 #define WINGDIAPI __declspec(dllimport)
115 #endif
116 /* <ctype.h> */
117 #if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED)
118 typedef unsigned short wchar_t;
119 # define _WCHAR_T_DEFINED
120 #endif
121 /* <stddef.h> */
122 #if !defined(_W64)
123 # if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && defined(_MSC_VER) && _MSC_VER >= 1300
124 # define _W64 __w64
125 # else
126 # define _W64
127 # endif
128 #endif
129 #if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_)
130 # ifdef _WIN64
131 typedef __int64 ptrdiff_t;
132 # else
133 typedef _W64 int ptrdiff_t;
134 # endif
135 # define _PTRDIFF_T_DEFINED
136 # define _PTRDIFF_T_
137 #endif
138 
139 #ifndef GLAPI
140 # if defined(__MINGW32__)
141 # define GLAPI extern
142 # else
143 # define GLAPI WINGDIAPI
144 # endif
145 #endif
146 
147 #ifndef GLAPIENTRY
148 #define GLAPIENTRY APIENTRY
149 #endif
150 
151 /*
152  * GLEW_STATIC needs to be set when using the static version.
153  * GLEW_BUILD is set when building the DLL version.
154  */
155 #ifdef GLEW_STATIC
156 # define GLEWAPI extern
157 #else
158 # ifdef GLEW_BUILD
159 # define GLEWAPI extern __declspec(dllexport)
160 # else
161 # define GLEWAPI extern __declspec(dllimport)
162 # endif
163 #endif
164 
165 #else /* _UNIX */
166 
167 /*
168  * Needed for ptrdiff_t in turn needed by VBO. This is defined by ISO
169  * C. On my system, this amounts to _3 lines_ of included code, all of
170  * them pretty much harmless. If you know of a way of detecting 32 vs
171  * 64 _targets_ at compile time you are free to replace this with
172  * something that's portable. For now, _this_ is the portable solution.
173  * (mem, 2004-01-04)
174  */
175 
176 #include <stddef.h>
177 #include <stdint.h>
178 
179 #define GLEW_APIENTRY_DEFINED
180 #define APIENTRY
181 #define GLEWAPI extern
182 
183 /* <glu.h> */
184 #ifndef GLAPI
185 #define GLAPI extern
186 #endif
187 #ifndef GLAPIENTRY
188 #define GLAPIENTRY
189 #endif
190 
191 #endif /* _WIN32 */
192 
193 #ifdef __cplusplus
194 extern "C" {
195 #endif
196 
197 /* ----------------------------- GL_VERSION_1_1 ---------------------------- */
198 
199 #ifndef GL_VERSION_1_1
200 #define GL_VERSION_1_1 1
201 
202 typedef unsigned int GLenum;
203 typedef unsigned int GLbitfield;
204 typedef unsigned int GLuint;
205 typedef int GLint;
206 typedef int GLsizei;
207 typedef unsigned char GLboolean;
208 typedef signed char GLbyte;
209 typedef short GLshort;
210 typedef unsigned char GLubyte;
211 typedef unsigned short GLushort;
212 typedef unsigned long GLulong;
213 typedef float GLfloat;
214 typedef float GLclampf;
215 typedef double GLdouble;
216 typedef double GLclampd;
217 typedef void GLvoid;
218 #if defined(_MSC_VER)
219 # if _MSC_VER < 1400
220 typedef __int64 GLint64EXT;
221 typedef unsigned __int64 GLuint64EXT;
222 # else
223 typedef signed long long GLint64EXT;
224 typedef unsigned long long GLuint64EXT;
225 # endif
226 #else
227 # if defined(__MINGW32__)
228 #include <inttypes.h>
229 # endif
232 #endif
233 
234 #define GL_ACCUM 0x0100
235 #define GL_LOAD 0x0101
236 #define GL_RETURN 0x0102
237 #define GL_MULT 0x0103
238 #define GL_ADD 0x0104
239 #define GL_NEVER 0x0200
240 #define GL_LESS 0x0201
241 #define GL_EQUAL 0x0202
242 #define GL_LEQUAL 0x0203
243 #define GL_GREATER 0x0204
244 #define GL_NOTEQUAL 0x0205
245 #define GL_GEQUAL 0x0206
246 #define GL_ALWAYS 0x0207
247 #define GL_CURRENT_BIT 0x00000001
248 #define GL_POINT_BIT 0x00000002
249 #define GL_LINE_BIT 0x00000004
250 #define GL_POLYGON_BIT 0x00000008
251 #define GL_POLYGON_STIPPLE_BIT 0x00000010
252 #define GL_PIXEL_MODE_BIT 0x00000020
253 #define GL_LIGHTING_BIT 0x00000040
254 #define GL_FOG_BIT 0x00000080
255 #define GL_DEPTH_BUFFER_BIT 0x00000100
256 #define GL_ACCUM_BUFFER_BIT 0x00000200
257 #define GL_STENCIL_BUFFER_BIT 0x00000400
258 #define GL_VIEWPORT_BIT 0x00000800
259 #define GL_TRANSFORM_BIT 0x00001000
260 #define GL_ENABLE_BIT 0x00002000
261 #define GL_COLOR_BUFFER_BIT 0x00004000
262 #define GL_HINT_BIT 0x00008000
263 #define GL_EVAL_BIT 0x00010000
264 #define GL_LIST_BIT 0x00020000
265 #define GL_TEXTURE_BIT 0x00040000
266 #define GL_SCISSOR_BIT 0x00080000
267 #define GL_ALL_ATTRIB_BITS 0x000fffff
268 #define GL_POINTS 0x0000
269 #define GL_LINES 0x0001
270 #define GL_LINE_LOOP 0x0002
271 #define GL_LINE_STRIP 0x0003
272 #define GL_TRIANGLES 0x0004
273 #define GL_TRIANGLE_STRIP 0x0005
274 #define GL_TRIANGLE_FAN 0x0006
275 #define GL_QUADS 0x0007
276 #define GL_QUAD_STRIP 0x0008
277 #define GL_POLYGON 0x0009
278 #define GL_ZERO 0
279 #define GL_ONE 1
280 #define GL_SRC_COLOR 0x0300
281 #define GL_ONE_MINUS_SRC_COLOR 0x0301
282 #define GL_SRC_ALPHA 0x0302
283 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
284 #define GL_DST_ALPHA 0x0304
285 #define GL_ONE_MINUS_DST_ALPHA 0x0305
286 #define GL_DST_COLOR 0x0306
287 #define GL_ONE_MINUS_DST_COLOR 0x0307
288 #define GL_SRC_ALPHA_SATURATE 0x0308
289 #define GL_TRUE 1
290 #define GL_FALSE 0
291 #define GL_CLIP_PLANE0 0x3000
292 #define GL_CLIP_PLANE1 0x3001
293 #define GL_CLIP_PLANE2 0x3002
294 #define GL_CLIP_PLANE3 0x3003
295 #define GL_CLIP_PLANE4 0x3004
296 #define GL_CLIP_PLANE5 0x3005
297 #define GL_BYTE 0x1400
298 #define GL_UNSIGNED_BYTE 0x1401
299 #define GL_SHORT 0x1402
300 #define GL_UNSIGNED_SHORT 0x1403
301 #define GL_INT 0x1404
302 #define GL_UNSIGNED_INT 0x1405
303 #define GL_FLOAT 0x1406
304 #define GL_2_BYTES 0x1407
305 #define GL_3_BYTES 0x1408
306 #define GL_4_BYTES 0x1409
307 #define GL_DOUBLE 0x140A
308 #define GL_NONE 0
309 #define GL_FRONT_LEFT 0x0400
310 #define GL_FRONT_RIGHT 0x0401
311 #define GL_BACK_LEFT 0x0402
312 #define GL_BACK_RIGHT 0x0403
313 #define GL_FRONT 0x0404
314 #define GL_BACK 0x0405
315 #define GL_LEFT 0x0406
316 #define GL_RIGHT 0x0407
317 #define GL_FRONT_AND_BACK 0x0408
318 #define GL_AUX0 0x0409
319 #define GL_AUX1 0x040A
320 #define GL_AUX2 0x040B
321 #define GL_AUX3 0x040C
322 #define GL_NO_ERROR 0
323 #define GL_INVALID_ENUM 0x0500
324 #define GL_INVALID_VALUE 0x0501
325 #define GL_INVALID_OPERATION 0x0502
326 #define GL_STACK_OVERFLOW 0x0503
327 #define GL_STACK_UNDERFLOW 0x0504
328 #define GL_OUT_OF_MEMORY 0x0505
329 #define GL_2D 0x0600
330 #define GL_3D 0x0601
331 #define GL_3D_COLOR 0x0602
332 #define GL_3D_COLOR_TEXTURE 0x0603
333 #define GL_4D_COLOR_TEXTURE 0x0604
334 #define GL_PASS_THROUGH_TOKEN 0x0700
335 #define GL_POINT_TOKEN 0x0701
336 #define GL_LINE_TOKEN 0x0702
337 #define GL_POLYGON_TOKEN 0x0703
338 #define GL_BITMAP_TOKEN 0x0704
339 #define GL_DRAW_PIXEL_TOKEN 0x0705
340 #define GL_COPY_PIXEL_TOKEN 0x0706
341 #define GL_LINE_RESET_TOKEN 0x0707
342 #define GL_EXP 0x0800
343 #define GL_EXP2 0x0801
344 #define GL_CW 0x0900
345 #define GL_CCW 0x0901
346 #define GL_COEFF 0x0A00
347 #define GL_ORDER 0x0A01
348 #define GL_DOMAIN 0x0A02
349 #define GL_CURRENT_COLOR 0x0B00
350 #define GL_CURRENT_INDEX 0x0B01
351 #define GL_CURRENT_NORMAL 0x0B02
352 #define GL_CURRENT_TEXTURE_COORDS 0x0B03
353 #define GL_CURRENT_RASTER_COLOR 0x0B04
354 #define GL_CURRENT_RASTER_INDEX 0x0B05
355 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
356 #define GL_CURRENT_RASTER_POSITION 0x0B07
357 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
358 #define GL_CURRENT_RASTER_DISTANCE 0x0B09
359 #define GL_POINT_SMOOTH 0x0B10
360 #define GL_POINT_SIZE 0x0B11
361 #define GL_POINT_SIZE_RANGE 0x0B12
362 #define GL_POINT_SIZE_GRANULARITY 0x0B13
363 #define GL_LINE_SMOOTH 0x0B20
364 #define GL_LINE_WIDTH 0x0B21
365 #define GL_LINE_WIDTH_RANGE 0x0B22
366 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
367 #define GL_LINE_STIPPLE 0x0B24
368 #define GL_LINE_STIPPLE_PATTERN 0x0B25
369 #define GL_LINE_STIPPLE_REPEAT 0x0B26
370 #define GL_LIST_MODE 0x0B30
371 #define GL_MAX_LIST_NESTING 0x0B31
372 #define GL_LIST_BASE 0x0B32
373 #define GL_LIST_INDEX 0x0B33
374 #define GL_POLYGON_MODE 0x0B40
375 #define GL_POLYGON_SMOOTH 0x0B41
376 #define GL_POLYGON_STIPPLE 0x0B42
377 #define GL_EDGE_FLAG 0x0B43
378 #define GL_CULL_FACE 0x0B44
379 #define GL_CULL_FACE_MODE 0x0B45
380 #define GL_FRONT_FACE 0x0B46
381 #define GL_LIGHTING 0x0B50
382 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
383 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
384 #define GL_LIGHT_MODEL_AMBIENT 0x0B53
385 #define GL_SHADE_MODEL 0x0B54
386 #define GL_COLOR_MATERIAL_FACE 0x0B55
387 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
388 #define GL_COLOR_MATERIAL 0x0B57
389 #define GL_FOG 0x0B60
390 #define GL_FOG_INDEX 0x0B61
391 #define GL_FOG_DENSITY 0x0B62
392 #define GL_FOG_START 0x0B63
393 #define GL_FOG_END 0x0B64
394 #define GL_FOG_MODE 0x0B65
395 #define GL_FOG_COLOR 0x0B66
396 #define GL_DEPTH_RANGE 0x0B70
397 #define GL_DEPTH_TEST 0x0B71
398 #define GL_DEPTH_WRITEMASK 0x0B72
399 #define GL_DEPTH_CLEAR_VALUE 0x0B73
400 #define GL_DEPTH_FUNC 0x0B74
401 #define GL_ACCUM_CLEAR_VALUE 0x0B80
402 #define GL_STENCIL_TEST 0x0B90
403 #define GL_STENCIL_CLEAR_VALUE 0x0B91
404 #define GL_STENCIL_FUNC 0x0B92
405 #define GL_STENCIL_VALUE_MASK 0x0B93
406 #define GL_STENCIL_FAIL 0x0B94
407 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
408 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
409 #define GL_STENCIL_REF 0x0B97
410 #define GL_STENCIL_WRITEMASK 0x0B98
411 #define GL_MATRIX_MODE 0x0BA0
412 #define GL_NORMALIZE 0x0BA1
413 #define GL_VIEWPORT 0x0BA2
414 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
415 #define GL_PROJECTION_STACK_DEPTH 0x0BA4
416 #define GL_TEXTURE_STACK_DEPTH 0x0BA5
417 #define GL_MODELVIEW_MATRIX 0x0BA6
418 #define GL_PROJECTION_MATRIX 0x0BA7
419 #define GL_TEXTURE_MATRIX 0x0BA8
420 #define GL_ATTRIB_STACK_DEPTH 0x0BB0
421 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
422 #define GL_ALPHA_TEST 0x0BC0
423 #define GL_ALPHA_TEST_FUNC 0x0BC1
424 #define GL_ALPHA_TEST_REF 0x0BC2
425 #define GL_DITHER 0x0BD0
426 #define GL_BLEND_DST 0x0BE0
427 #define GL_BLEND_SRC 0x0BE1
428 #define GL_BLEND 0x0BE2
429 #define GL_LOGIC_OP_MODE 0x0BF0
430 #define GL_INDEX_LOGIC_OP 0x0BF1
431 #define GL_COLOR_LOGIC_OP 0x0BF2
432 #define GL_AUX_BUFFERS 0x0C00
433 #define GL_DRAW_BUFFER 0x0C01
434 #define GL_READ_BUFFER 0x0C02
435 #define GL_SCISSOR_BOX 0x0C10
436 #define GL_SCISSOR_TEST 0x0C11
437 #define GL_INDEX_CLEAR_VALUE 0x0C20
438 #define GL_INDEX_WRITEMASK 0x0C21
439 #define GL_COLOR_CLEAR_VALUE 0x0C22
440 #define GL_COLOR_WRITEMASK 0x0C23
441 #define GL_INDEX_MODE 0x0C30
442 #define GL_RGBA_MODE 0x0C31
443 #define GL_DOUBLEBUFFER 0x0C32
444 #define GL_STEREO 0x0C33
445 #define GL_RENDER_MODE 0x0C40
446 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
447 #define GL_POINT_SMOOTH_HINT 0x0C51
448 #define GL_LINE_SMOOTH_HINT 0x0C52
449 #define GL_POLYGON_SMOOTH_HINT 0x0C53
450 #define GL_FOG_HINT 0x0C54
451 #define GL_TEXTURE_GEN_S 0x0C60
452 #define GL_TEXTURE_GEN_T 0x0C61
453 #define GL_TEXTURE_GEN_R 0x0C62
454 #define GL_TEXTURE_GEN_Q 0x0C63
455 #define GL_PIXEL_MAP_I_TO_I 0x0C70
456 #define GL_PIXEL_MAP_S_TO_S 0x0C71
457 #define GL_PIXEL_MAP_I_TO_R 0x0C72
458 #define GL_PIXEL_MAP_I_TO_G 0x0C73
459 #define GL_PIXEL_MAP_I_TO_B 0x0C74
460 #define GL_PIXEL_MAP_I_TO_A 0x0C75
461 #define GL_PIXEL_MAP_R_TO_R 0x0C76
462 #define GL_PIXEL_MAP_G_TO_G 0x0C77
463 #define GL_PIXEL_MAP_B_TO_B 0x0C78
464 #define GL_PIXEL_MAP_A_TO_A 0x0C79
465 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
466 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
467 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
468 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
469 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
470 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
471 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
472 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
473 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
474 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
475 #define GL_UNPACK_SWAP_BYTES 0x0CF0
476 #define GL_UNPACK_LSB_FIRST 0x0CF1
477 #define GL_UNPACK_ROW_LENGTH 0x0CF2
478 #define GL_UNPACK_SKIP_ROWS 0x0CF3
479 #define GL_UNPACK_SKIP_PIXELS 0x0CF4
480 #define GL_UNPACK_ALIGNMENT 0x0CF5
481 #define GL_PACK_SWAP_BYTES 0x0D00
482 #define GL_PACK_LSB_FIRST 0x0D01
483 #define GL_PACK_ROW_LENGTH 0x0D02
484 #define GL_PACK_SKIP_ROWS 0x0D03
485 #define GL_PACK_SKIP_PIXELS 0x0D04
486 #define GL_PACK_ALIGNMENT 0x0D05
487 #define GL_MAP_COLOR 0x0D10
488 #define GL_MAP_STENCIL 0x0D11
489 #define GL_INDEX_SHIFT 0x0D12
490 #define GL_INDEX_OFFSET 0x0D13
491 #define GL_RED_SCALE 0x0D14
492 #define GL_RED_BIAS 0x0D15
493 #define GL_ZOOM_X 0x0D16
494 #define GL_ZOOM_Y 0x0D17
495 #define GL_GREEN_SCALE 0x0D18
496 #define GL_GREEN_BIAS 0x0D19
497 #define GL_BLUE_SCALE 0x0D1A
498 #define GL_BLUE_BIAS 0x0D1B
499 #define GL_ALPHA_SCALE 0x0D1C
500 #define GL_ALPHA_BIAS 0x0D1D
501 #define GL_DEPTH_SCALE 0x0D1E
502 #define GL_DEPTH_BIAS 0x0D1F
503 #define GL_MAX_EVAL_ORDER 0x0D30
504 #define GL_MAX_LIGHTS 0x0D31
505 #define GL_MAX_CLIP_PLANES 0x0D32
506 #define GL_MAX_TEXTURE_SIZE 0x0D33
507 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
508 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
509 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
510 #define GL_MAX_NAME_STACK_DEPTH 0x0D37
511 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
512 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
513 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
514 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
515 #define GL_SUBPIXEL_BITS 0x0D50
516 #define GL_INDEX_BITS 0x0D51
517 #define GL_RED_BITS 0x0D52
518 #define GL_GREEN_BITS 0x0D53
519 #define GL_BLUE_BITS 0x0D54
520 #define GL_ALPHA_BITS 0x0D55
521 #define GL_DEPTH_BITS 0x0D56
522 #define GL_STENCIL_BITS 0x0D57
523 #define GL_ACCUM_RED_BITS 0x0D58
524 #define GL_ACCUM_GREEN_BITS 0x0D59
525 #define GL_ACCUM_BLUE_BITS 0x0D5A
526 #define GL_ACCUM_ALPHA_BITS 0x0D5B
527 #define GL_NAME_STACK_DEPTH 0x0D70
528 #define GL_AUTO_NORMAL 0x0D80
529 #define GL_MAP1_COLOR_4 0x0D90
530 #define GL_MAP1_INDEX 0x0D91
531 #define GL_MAP1_NORMAL 0x0D92
532 #define GL_MAP1_TEXTURE_COORD_1 0x0D93
533 #define GL_MAP1_TEXTURE_COORD_2 0x0D94
534 #define GL_MAP1_TEXTURE_COORD_3 0x0D95
535 #define GL_MAP1_TEXTURE_COORD_4 0x0D96
536 #define GL_MAP1_VERTEX_3 0x0D97
537 #define GL_MAP1_VERTEX_4 0x0D98
538 #define GL_MAP2_COLOR_4 0x0DB0
539 #define GL_MAP2_INDEX 0x0DB1
540 #define GL_MAP2_NORMAL 0x0DB2
541 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
542 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
543 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
544 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
545 #define GL_MAP2_VERTEX_3 0x0DB7
546 #define GL_MAP2_VERTEX_4 0x0DB8
547 #define GL_MAP1_GRID_DOMAIN 0x0DD0
548 #define GL_MAP1_GRID_SEGMENTS 0x0DD1
549 #define GL_MAP2_GRID_DOMAIN 0x0DD2
550 #define GL_MAP2_GRID_SEGMENTS 0x0DD3
551 #define GL_TEXTURE_1D 0x0DE0
552 #define GL_TEXTURE_2D 0x0DE1
553 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
554 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
555 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
556 #define GL_SELECTION_BUFFER_POINTER 0x0DF3
557 #define GL_SELECTION_BUFFER_SIZE 0x0DF4
558 #define GL_TEXTURE_WIDTH 0x1000
559 #define GL_TEXTURE_HEIGHT 0x1001
560 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
561 #define GL_TEXTURE_BORDER_COLOR 0x1004
562 #define GL_TEXTURE_BORDER 0x1005
563 #define GL_DONT_CARE 0x1100
564 #define GL_FASTEST 0x1101
565 #define GL_NICEST 0x1102
566 #define GL_LIGHT0 0x4000
567 #define GL_LIGHT1 0x4001
568 #define GL_LIGHT2 0x4002
569 #define GL_LIGHT3 0x4003
570 #define GL_LIGHT4 0x4004
571 #define GL_LIGHT5 0x4005
572 #define GL_LIGHT6 0x4006
573 #define GL_LIGHT7 0x4007
574 #define GL_AMBIENT 0x1200
575 #define GL_DIFFUSE 0x1201
576 #define GL_SPECULAR 0x1202
577 #define GL_POSITION 0x1203
578 #define GL_SPOT_DIRECTION 0x1204
579 #define GL_SPOT_EXPONENT 0x1205
580 #define GL_SPOT_CUTOFF 0x1206
581 #define GL_CONSTANT_ATTENUATION 0x1207
582 #define GL_LINEAR_ATTENUATION 0x1208
583 #define GL_QUADRATIC_ATTENUATION 0x1209
584 #define GL_COMPILE 0x1300
585 #define GL_COMPILE_AND_EXECUTE 0x1301
586 #define GL_CLEAR 0x1500
587 #define GL_AND 0x1501
588 #define GL_AND_REVERSE 0x1502
589 #define GL_COPY 0x1503
590 #define GL_AND_INVERTED 0x1504
591 #define GL_NOOP 0x1505
592 #define GL_XOR 0x1506
593 #define GL_OR 0x1507
594 #define GL_NOR 0x1508
595 #define GL_EQUIV 0x1509
596 #define GL_INVERT 0x150A
597 #define GL_OR_REVERSE 0x150B
598 #define GL_COPY_INVERTED 0x150C
599 #define GL_OR_INVERTED 0x150D
600 #define GL_NAND 0x150E
601 #define GL_SET 0x150F
602 #define GL_EMISSION 0x1600
603 #define GL_SHININESS 0x1601
604 #define GL_AMBIENT_AND_DIFFUSE 0x1602
605 #define GL_COLOR_INDEXES 0x1603
606 #define GL_MODELVIEW 0x1700
607 #define GL_PROJECTION 0x1701
608 #define GL_TEXTURE 0x1702
609 #define GL_COLOR 0x1800
610 #define GL_DEPTH 0x1801
611 #define GL_STENCIL 0x1802
612 #define GL_COLOR_INDEX 0x1900
613 #define GL_STENCIL_INDEX 0x1901
614 #define GL_DEPTH_COMPONENT 0x1902
615 #define GL_RED 0x1903
616 #define GL_GREEN 0x1904
617 #define GL_BLUE 0x1905
618 #define GL_ALPHA 0x1906
619 #define GL_RGB 0x1907
620 #define GL_RGBA 0x1908
621 #define GL_LUMINANCE 0x1909
622 #define GL_LUMINANCE_ALPHA 0x190A
623 #define GL_BITMAP 0x1A00
624 #define GL_POINT 0x1B00
625 #define GL_LINE 0x1B01
626 #define GL_FILL 0x1B02
627 #define GL_RENDER 0x1C00
628 #define GL_FEEDBACK 0x1C01
629 #define GL_SELECT 0x1C02
630 #define GL_FLAT 0x1D00
631 #define GL_SMOOTH 0x1D01
632 #define GL_KEEP 0x1E00
633 #define GL_REPLACE 0x1E01
634 #define GL_INCR 0x1E02
635 #define GL_DECR 0x1E03
636 #define GL_VENDOR 0x1F00
637 #define GL_RENDERER 0x1F01
638 #define GL_VERSION 0x1F02
639 #define GL_EXTENSIONS 0x1F03
640 #define GL_S 0x2000
641 #define GL_T 0x2001
642 #define GL_R 0x2002
643 #define GL_Q 0x2003
644 #define GL_MODULATE 0x2100
645 #define GL_DECAL 0x2101
646 #define GL_TEXTURE_ENV_MODE 0x2200
647 #define GL_TEXTURE_ENV_COLOR 0x2201
648 #define GL_TEXTURE_ENV 0x2300
649 #define GL_EYE_LINEAR 0x2400
650 #define GL_OBJECT_LINEAR 0x2401
651 #define GL_SPHERE_MAP 0x2402
652 #define GL_TEXTURE_GEN_MODE 0x2500
653 #define GL_OBJECT_PLANE 0x2501
654 #define GL_EYE_PLANE 0x2502
655 #define GL_NEAREST 0x2600
656 #define GL_LINEAR 0x2601
657 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
658 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
659 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
660 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
661 #define GL_TEXTURE_MAG_FILTER 0x2800
662 #define GL_TEXTURE_MIN_FILTER 0x2801
663 #define GL_TEXTURE_WRAP_S 0x2802
664 #define GL_TEXTURE_WRAP_T 0x2803
665 #define GL_CLAMP 0x2900
666 #define GL_REPEAT 0x2901
667 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
668 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
669 #define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff
670 #define GL_POLYGON_OFFSET_FACTOR 0x8038
671 #define GL_POLYGON_OFFSET_UNITS 0x2A00
672 #define GL_POLYGON_OFFSET_POINT 0x2A01
673 #define GL_POLYGON_OFFSET_LINE 0x2A02
674 #define GL_POLYGON_OFFSET_FILL 0x8037
675 #define GL_ALPHA4 0x803B
676 #define GL_ALPHA8 0x803C
677 #define GL_ALPHA12 0x803D
678 #define GL_ALPHA16 0x803E
679 #define GL_LUMINANCE4 0x803F
680 #define GL_LUMINANCE8 0x8040
681 #define GL_LUMINANCE12 0x8041
682 #define GL_LUMINANCE16 0x8042
683 #define GL_LUMINANCE4_ALPHA4 0x8043
684 #define GL_LUMINANCE6_ALPHA2 0x8044
685 #define GL_LUMINANCE8_ALPHA8 0x8045
686 #define GL_LUMINANCE12_ALPHA4 0x8046
687 #define GL_LUMINANCE12_ALPHA12 0x8047
688 #define GL_LUMINANCE16_ALPHA16 0x8048
689 #define GL_INTENSITY 0x8049
690 #define GL_INTENSITY4 0x804A
691 #define GL_INTENSITY8 0x804B
692 #define GL_INTENSITY12 0x804C
693 #define GL_INTENSITY16 0x804D
694 #define GL_R3_G3_B2 0x2A10
695 #define GL_RGB4 0x804F
696 #define GL_RGB5 0x8050
697 #define GL_RGB8 0x8051
698 #define GL_RGB10 0x8052
699 #define GL_RGB12 0x8053
700 #define GL_RGB16 0x8054
701 #define GL_RGBA2 0x8055
702 #define GL_RGBA4 0x8056
703 #define GL_RGB5_A1 0x8057
704 #define GL_RGBA8 0x8058
705 #define GL_RGB10_A2 0x8059
706 #define GL_RGBA12 0x805A
707 #define GL_RGBA16 0x805B
708 #define GL_TEXTURE_RED_SIZE 0x805C
709 #define GL_TEXTURE_GREEN_SIZE 0x805D
710 #define GL_TEXTURE_BLUE_SIZE 0x805E
711 #define GL_TEXTURE_ALPHA_SIZE 0x805F
712 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
713 #define GL_TEXTURE_INTENSITY_SIZE 0x8061
714 #define GL_PROXY_TEXTURE_1D 0x8063
715 #define GL_PROXY_TEXTURE_2D 0x8064
716 #define GL_TEXTURE_PRIORITY 0x8066
717 #define GL_TEXTURE_RESIDENT 0x8067
718 #define GL_TEXTURE_BINDING_1D 0x8068
719 #define GL_TEXTURE_BINDING_2D 0x8069
720 #define GL_VERTEX_ARRAY 0x8074
721 #define GL_NORMAL_ARRAY 0x8075
722 #define GL_COLOR_ARRAY 0x8076
723 #define GL_INDEX_ARRAY 0x8077
724 #define GL_TEXTURE_COORD_ARRAY 0x8078
725 #define GL_EDGE_FLAG_ARRAY 0x8079
726 #define GL_VERTEX_ARRAY_SIZE 0x807A
727 #define GL_VERTEX_ARRAY_TYPE 0x807B
728 #define GL_VERTEX_ARRAY_STRIDE 0x807C
729 #define GL_NORMAL_ARRAY_TYPE 0x807E
730 #define GL_NORMAL_ARRAY_STRIDE 0x807F
731 #define GL_COLOR_ARRAY_SIZE 0x8081
732 #define GL_COLOR_ARRAY_TYPE 0x8082
733 #define GL_COLOR_ARRAY_STRIDE 0x8083
734 #define GL_INDEX_ARRAY_TYPE 0x8085
735 #define GL_INDEX_ARRAY_STRIDE 0x8086
736 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
737 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
738 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
739 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
740 #define GL_VERTEX_ARRAY_POINTER 0x808E
741 #define GL_NORMAL_ARRAY_POINTER 0x808F
742 #define GL_COLOR_ARRAY_POINTER 0x8090
743 #define GL_INDEX_ARRAY_POINTER 0x8091
744 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
745 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
746 #define GL_V2F 0x2A20
747 #define GL_V3F 0x2A21
748 #define GL_C4UB_V2F 0x2A22
749 #define GL_C4UB_V3F 0x2A23
750 #define GL_C3F_V3F 0x2A24
751 #define GL_N3F_V3F 0x2A25
752 #define GL_C4F_N3F_V3F 0x2A26
753 #define GL_T2F_V3F 0x2A27
754 #define GL_T4F_V4F 0x2A28
755 #define GL_T2F_C4UB_V3F 0x2A29
756 #define GL_T2F_C3F_V3F 0x2A2A
757 #define GL_T2F_N3F_V3F 0x2A2B
758 #define GL_T2F_C4F_N3F_V3F 0x2A2C
759 #define GL_T4F_C4F_N3F_V4F 0x2A2D
760 #define GL_LOGIC_OP GL_INDEX_LOGIC_OP
761 #define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT
762 #define GL_COLOR_INDEX1_EXT 0x80E2
763 #define GL_COLOR_INDEX2_EXT 0x80E3
764 #define GL_COLOR_INDEX4_EXT 0x80E4
765 #define GL_COLOR_INDEX8_EXT 0x80E5
766 #define GL_COLOR_INDEX12_EXT 0x80E6
767 #define GL_COLOR_INDEX16_EXT 0x80E7
768 
769 GLAPI void GLAPIENTRY glAccum (GLenum op, GLfloat value);
770 GLAPI void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref);
771 GLAPI GLboolean GLAPIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
772 GLAPI void GLAPIENTRY glArrayElement (GLint i);
773 GLAPI void GLAPIENTRY glBegin (GLenum mode);
774 GLAPI void GLAPIENTRY glBindTexture (GLenum target, GLuint texture);
775 GLAPI void GLAPIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
776 GLAPI void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
777 GLAPI void GLAPIENTRY glCallList (GLuint list);
778 GLAPI void GLAPIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
779 GLAPI void GLAPIENTRY glClear (GLbitfield mask);
780 GLAPI void GLAPIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
781 GLAPI void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
782 GLAPI void GLAPIENTRY glClearDepth (GLclampd depth);
783 GLAPI void GLAPIENTRY glClearIndex (GLfloat c);
784 GLAPI void GLAPIENTRY glClearStencil (GLint s);
785 GLAPI void GLAPIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
786 GLAPI void GLAPIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
787 GLAPI void GLAPIENTRY glColor3bv (const GLbyte *v);
788 GLAPI void GLAPIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
789 GLAPI void GLAPIENTRY glColor3dv (const GLdouble *v);
790 GLAPI void GLAPIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
791 GLAPI void GLAPIENTRY glColor3fv (const GLfloat *v);
792 GLAPI void GLAPIENTRY glColor3i (GLint red, GLint green, GLint blue);
793 GLAPI void GLAPIENTRY glColor3iv (const GLint *v);
794 GLAPI void GLAPIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
795 GLAPI void GLAPIENTRY glColor3sv (const GLshort *v);
796 GLAPI void GLAPIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
797 GLAPI void GLAPIENTRY glColor3ubv (const GLubyte *v);
798 GLAPI void GLAPIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
799 GLAPI void GLAPIENTRY glColor3uiv (const GLuint *v);
800 GLAPI void GLAPIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
801 GLAPI void GLAPIENTRY glColor3usv (const GLushort *v);
802 GLAPI void GLAPIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
803 GLAPI void GLAPIENTRY glColor4bv (const GLbyte *v);
804 GLAPI void GLAPIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
805 GLAPI void GLAPIENTRY glColor4dv (const GLdouble *v);
806 GLAPI void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
807 GLAPI void GLAPIENTRY glColor4fv (const GLfloat *v);
808 GLAPI void GLAPIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
809 GLAPI void GLAPIENTRY glColor4iv (const GLint *v);
810 GLAPI void GLAPIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
811 GLAPI void GLAPIENTRY glColor4sv (const GLshort *v);
812 GLAPI void GLAPIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
813 GLAPI void GLAPIENTRY glColor4ubv (const GLubyte *v);
814 GLAPI void GLAPIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
815 GLAPI void GLAPIENTRY glColor4uiv (const GLuint *v);
816 GLAPI void GLAPIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
817 GLAPI void GLAPIENTRY glColor4usv (const GLushort *v);
818 GLAPI void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
819 GLAPI void GLAPIENTRY glColorMaterial (GLenum face, GLenum mode);
820 GLAPI void GLAPIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
821 GLAPI void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
822 GLAPI void GLAPIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
823 GLAPI void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
824 GLAPI void GLAPIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
825 GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
826 GLAPI void GLAPIENTRY glCullFace (GLenum mode);
827 GLAPI void GLAPIENTRY glDeleteLists (GLuint list, GLsizei range);
828 GLAPI void GLAPIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
829 GLAPI void GLAPIENTRY glDepthFunc (GLenum func);
830 GLAPI void GLAPIENTRY glDepthMask (GLboolean flag);
831 GLAPI void GLAPIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
832 GLAPI void GLAPIENTRY glDisable (GLenum cap);
833 GLAPI void GLAPIENTRY glDisableClientState (GLenum array);
834 GLAPI void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
835 GLAPI void GLAPIENTRY glDrawBuffer (GLenum mode);
836 GLAPI void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
837 GLAPI void GLAPIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
838 GLAPI void GLAPIENTRY glEdgeFlag (GLboolean flag);
839 GLAPI void GLAPIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer);
840 GLAPI void GLAPIENTRY glEdgeFlagv (const GLboolean *flag);
841 GLAPI void GLAPIENTRY glEnable (GLenum cap);
842 GLAPI void GLAPIENTRY glEnableClientState (GLenum array);
843 GLAPI void GLAPIENTRY glEnd (void);
844 GLAPI void GLAPIENTRY glEndList (void);
845 GLAPI void GLAPIENTRY glEvalCoord1d (GLdouble u);
846 GLAPI void GLAPIENTRY glEvalCoord1dv (const GLdouble *u);
847 GLAPI void GLAPIENTRY glEvalCoord1f (GLfloat u);
848 GLAPI void GLAPIENTRY glEvalCoord1fv (const GLfloat *u);
849 GLAPI void GLAPIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
850 GLAPI void GLAPIENTRY glEvalCoord2dv (const GLdouble *u);
851 GLAPI void GLAPIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
852 GLAPI void GLAPIENTRY glEvalCoord2fv (const GLfloat *u);
853 GLAPI void GLAPIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
854 GLAPI void GLAPIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
855 GLAPI void GLAPIENTRY glEvalPoint1 (GLint i);
856 GLAPI void GLAPIENTRY glEvalPoint2 (GLint i, GLint j);
857 GLAPI void GLAPIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
858 GLAPI void GLAPIENTRY glFinish (void);
859 GLAPI void GLAPIENTRY glFlush (void);
860 GLAPI void GLAPIENTRY glFogf (GLenum pname, GLfloat param);
861 GLAPI void GLAPIENTRY glFogfv (GLenum pname, const GLfloat *params);
862 GLAPI void GLAPIENTRY glFogi (GLenum pname, GLint param);
863 GLAPI void GLAPIENTRY glFogiv (GLenum pname, const GLint *params);
864 GLAPI void GLAPIENTRY glFrontFace (GLenum mode);
865 GLAPI void GLAPIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
866 GLAPI GLuint GLAPIENTRY glGenLists (GLsizei range);
867 GLAPI void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures);
868 GLAPI void GLAPIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
869 GLAPI void GLAPIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
870 GLAPI void GLAPIENTRY glGetDoublev (GLenum pname, GLdouble *params);
871 GLAPI GLenum GLAPIENTRY glGetError (void);
872 GLAPI void GLAPIENTRY glGetFloatv (GLenum pname, GLfloat *params);
873 GLAPI void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params);
874 GLAPI void GLAPIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
875 GLAPI void GLAPIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
876 GLAPI void GLAPIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
877 GLAPI void GLAPIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
878 GLAPI void GLAPIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
879 GLAPI void GLAPIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
880 GLAPI void GLAPIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
881 GLAPI void GLAPIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
882 GLAPI void GLAPIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
883 GLAPI void GLAPIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
884 GLAPI void GLAPIENTRY glGetPointerv (GLenum pname, GLvoid* *params);
885 GLAPI void GLAPIENTRY glGetPolygonStipple (GLubyte *mask);
886 GLAPI const GLubyte * GLAPIENTRY glGetString (GLenum name);
887 GLAPI void GLAPIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
888 GLAPI void GLAPIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
889 GLAPI void GLAPIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
890 GLAPI void GLAPIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
891 GLAPI void GLAPIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
892 GLAPI void GLAPIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
893 GLAPI void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
894 GLAPI void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
895 GLAPI void GLAPIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
896 GLAPI void GLAPIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
897 GLAPI void GLAPIENTRY glHint (GLenum target, GLenum mode);
898 GLAPI void GLAPIENTRY glIndexMask (GLuint mask);
899 GLAPI void GLAPIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
900 GLAPI void GLAPIENTRY glIndexd (GLdouble c);
901 GLAPI void GLAPIENTRY glIndexdv (const GLdouble *c);
902 GLAPI void GLAPIENTRY glIndexf (GLfloat c);
903 GLAPI void GLAPIENTRY glIndexfv (const GLfloat *c);
904 GLAPI void GLAPIENTRY glIndexi (GLint c);
905 GLAPI void GLAPIENTRY glIndexiv (const GLint *c);
906 GLAPI void GLAPIENTRY glIndexs (GLshort c);
907 GLAPI void GLAPIENTRY glIndexsv (const GLshort *c);
908 GLAPI void GLAPIENTRY glIndexub (GLubyte c);
909 GLAPI void GLAPIENTRY glIndexubv (const GLubyte *c);
910 GLAPI void GLAPIENTRY glInitNames (void);
911 GLAPI void GLAPIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
912 GLAPI GLboolean GLAPIENTRY glIsEnabled (GLenum cap);
913 GLAPI GLboolean GLAPIENTRY glIsList (GLuint list);
914 GLAPI GLboolean GLAPIENTRY glIsTexture (GLuint texture);
915 GLAPI void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param);
916 GLAPI void GLAPIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
917 GLAPI void GLAPIENTRY glLightModeli (GLenum pname, GLint param);
918 GLAPI void GLAPIENTRY glLightModeliv (GLenum pname, const GLint *params);
919 GLAPI void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
920 GLAPI void GLAPIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
921 GLAPI void GLAPIENTRY glLighti (GLenum light, GLenum pname, GLint param);
922 GLAPI void GLAPIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
923 GLAPI void GLAPIENTRY glLineStipple (GLint factor, GLushort pattern);
924 GLAPI void GLAPIENTRY glLineWidth (GLfloat width);
925 GLAPI void GLAPIENTRY glListBase (GLuint base);
926 GLAPI void GLAPIENTRY glLoadIdentity (void);
927 GLAPI void GLAPIENTRY glLoadMatrixd (const GLdouble *m);
928 GLAPI void GLAPIENTRY glLoadMatrixf (const GLfloat *m);
929 GLAPI void GLAPIENTRY glLoadName (GLuint name);
930 GLAPI void GLAPIENTRY glLogicOp (GLenum opcode);
931 GLAPI void GLAPIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
932 GLAPI void GLAPIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
933 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);
934 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);
935 GLAPI void GLAPIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
936 GLAPI void GLAPIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
937 GLAPI void GLAPIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
938 GLAPI void GLAPIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
939 GLAPI void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
940 GLAPI void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
941 GLAPI void GLAPIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
942 GLAPI void GLAPIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
943 GLAPI void GLAPIENTRY glMatrixMode (GLenum mode);
944 GLAPI void GLAPIENTRY glMultMatrixd (const GLdouble *m);
945 GLAPI void GLAPIENTRY glMultMatrixf (const GLfloat *m);
946 GLAPI void GLAPIENTRY glNewList (GLuint list, GLenum mode);
947 GLAPI void GLAPIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
948 GLAPI void GLAPIENTRY glNormal3bv (const GLbyte *v);
949 GLAPI void GLAPIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
950 GLAPI void GLAPIENTRY glNormal3dv (const GLdouble *v);
951 GLAPI void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
952 GLAPI void GLAPIENTRY glNormal3fv (const GLfloat *v);
953 GLAPI void GLAPIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
954 GLAPI void GLAPIENTRY glNormal3iv (const GLint *v);
955 GLAPI void GLAPIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
956 GLAPI void GLAPIENTRY glNormal3sv (const GLshort *v);
957 GLAPI void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
958 GLAPI void GLAPIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
959 GLAPI void GLAPIENTRY glPassThrough (GLfloat token);
960 GLAPI void GLAPIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
961 GLAPI void GLAPIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
962 GLAPI void GLAPIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
963 GLAPI void GLAPIENTRY glPixelStoref (GLenum pname, GLfloat param);
964 GLAPI void GLAPIENTRY glPixelStorei (GLenum pname, GLint param);
965 GLAPI void GLAPIENTRY glPixelTransferf (GLenum pname, GLfloat param);
966 GLAPI void GLAPIENTRY glPixelTransferi (GLenum pname, GLint param);
967 GLAPI void GLAPIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
968 GLAPI void GLAPIENTRY glPointSize (GLfloat size);
969 GLAPI void GLAPIENTRY glPolygonMode (GLenum face, GLenum mode);
970 GLAPI void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
971 GLAPI void GLAPIENTRY glPolygonStipple (const GLubyte *mask);
972 GLAPI void GLAPIENTRY glPopAttrib (void);
974 GLAPI void GLAPIENTRY glPopMatrix (void);
975 GLAPI void GLAPIENTRY glPopName (void);
976 GLAPI void GLAPIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
977 GLAPI void GLAPIENTRY glPushAttrib (GLbitfield mask);
978 GLAPI void GLAPIENTRY glPushClientAttrib (GLbitfield mask);
979 GLAPI void GLAPIENTRY glPushMatrix (void);
980 GLAPI void GLAPIENTRY glPushName (GLuint name);
981 GLAPI void GLAPIENTRY glRasterPos2d (GLdouble x, GLdouble y);
982 GLAPI void GLAPIENTRY glRasterPos2dv (const GLdouble *v);
983 GLAPI void GLAPIENTRY glRasterPos2f (GLfloat x, GLfloat y);
984 GLAPI void GLAPIENTRY glRasterPos2fv (const GLfloat *v);
985 GLAPI void GLAPIENTRY glRasterPos2i (GLint x, GLint y);
986 GLAPI void GLAPIENTRY glRasterPos2iv (const GLint *v);
987 GLAPI void GLAPIENTRY glRasterPos2s (GLshort x, GLshort y);
988 GLAPI void GLAPIENTRY glRasterPos2sv (const GLshort *v);
989 GLAPI void GLAPIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
990 GLAPI void GLAPIENTRY glRasterPos3dv (const GLdouble *v);
991 GLAPI void GLAPIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
992 GLAPI void GLAPIENTRY glRasterPos3fv (const GLfloat *v);
993 GLAPI void GLAPIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
994 GLAPI void GLAPIENTRY glRasterPos3iv (const GLint *v);
995 GLAPI void GLAPIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
996 GLAPI void GLAPIENTRY glRasterPos3sv (const GLshort *v);
997 GLAPI void GLAPIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
998 GLAPI void GLAPIENTRY glRasterPos4dv (const GLdouble *v);
999 GLAPI void GLAPIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1000 GLAPI void GLAPIENTRY glRasterPos4fv (const GLfloat *v);
1001 GLAPI void GLAPIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
1002 GLAPI void GLAPIENTRY glRasterPos4iv (const GLint *v);
1003 GLAPI void GLAPIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
1004 GLAPI void GLAPIENTRY glRasterPos4sv (const GLshort *v);
1005 GLAPI void GLAPIENTRY glReadBuffer (GLenum mode);
1006 GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
1007 GLAPI void GLAPIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1008 GLAPI void GLAPIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
1009 GLAPI void GLAPIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1010 GLAPI void GLAPIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
1011 GLAPI void GLAPIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1012 GLAPI void GLAPIENTRY glRectiv (const GLint *v1, const GLint *v2);
1013 GLAPI void GLAPIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1014 GLAPI void GLAPIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
1015 GLAPI GLint GLAPIENTRY glRenderMode (GLenum mode);
1016 GLAPI void GLAPIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1017 GLAPI void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1018 GLAPI void GLAPIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
1019 GLAPI void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
1020 GLAPI void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
1021 GLAPI void GLAPIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
1022 GLAPI void GLAPIENTRY glShadeModel (GLenum mode);
1023 GLAPI void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
1024 GLAPI void GLAPIENTRY glStencilMask (GLuint mask);
1025 GLAPI void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1026 GLAPI void GLAPIENTRY glTexCoord1d (GLdouble s);
1027 GLAPI void GLAPIENTRY glTexCoord1dv (const GLdouble *v);
1028 GLAPI void GLAPIENTRY glTexCoord1f (GLfloat s);
1029 GLAPI void GLAPIENTRY glTexCoord1fv (const GLfloat *v);
1030 GLAPI void GLAPIENTRY glTexCoord1i (GLint s);
1031 GLAPI void GLAPIENTRY glTexCoord1iv (const GLint *v);
1032 GLAPI void GLAPIENTRY glTexCoord1s (GLshort s);
1033 GLAPI void GLAPIENTRY glTexCoord1sv (const GLshort *v);
1034 GLAPI void GLAPIENTRY glTexCoord2d (GLdouble s, GLdouble t);
1035 GLAPI void GLAPIENTRY glTexCoord2dv (const GLdouble *v);
1036 GLAPI void GLAPIENTRY glTexCoord2f (GLfloat s, GLfloat t);
1037 GLAPI void GLAPIENTRY glTexCoord2fv (const GLfloat *v);
1038 GLAPI void GLAPIENTRY glTexCoord2i (GLint s, GLint t);
1039 GLAPI void GLAPIENTRY glTexCoord2iv (const GLint *v);
1040 GLAPI void GLAPIENTRY glTexCoord2s (GLshort s, GLshort t);
1041 GLAPI void GLAPIENTRY glTexCoord2sv (const GLshort *v);
1042 GLAPI void GLAPIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1043 GLAPI void GLAPIENTRY glTexCoord3dv (const GLdouble *v);
1044 GLAPI void GLAPIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1045 GLAPI void GLAPIENTRY glTexCoord3fv (const GLfloat *v);
1046 GLAPI void GLAPIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
1047 GLAPI void GLAPIENTRY glTexCoord3iv (const GLint *v);
1048 GLAPI void GLAPIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
1049 GLAPI void GLAPIENTRY glTexCoord3sv (const GLshort *v);
1050 GLAPI void GLAPIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1051 GLAPI void GLAPIENTRY glTexCoord4dv (const GLdouble *v);
1052 GLAPI void GLAPIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1053 GLAPI void GLAPIENTRY glTexCoord4fv (const GLfloat *v);
1054 GLAPI void GLAPIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1055 GLAPI void GLAPIENTRY glTexCoord4iv (const GLint *v);
1056 GLAPI void GLAPIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1057 GLAPI void GLAPIENTRY glTexCoord4sv (const GLshort *v);
1058 GLAPI void GLAPIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1059 GLAPI void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1060 GLAPI void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
1061 GLAPI void GLAPIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
1062 GLAPI void GLAPIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
1063 GLAPI void GLAPIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
1064 GLAPI void GLAPIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
1065 GLAPI void GLAPIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1066 GLAPI void GLAPIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
1067 GLAPI void GLAPIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
1068 GLAPI void GLAPIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
1069 GLAPI void GLAPIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1070 GLAPI void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1071 GLAPI void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1072 GLAPI void GLAPIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1073 GLAPI void GLAPIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
1074 GLAPI void GLAPIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
1075 GLAPI void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
1076 GLAPI void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1077 GLAPI void GLAPIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
1078 GLAPI void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1079 GLAPI void GLAPIENTRY glVertex2d (GLdouble x, GLdouble y);
1080 GLAPI void GLAPIENTRY glVertex2dv (const GLdouble *v);
1081 GLAPI void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y);
1082 GLAPI void GLAPIENTRY glVertex2fv (const GLfloat *v);
1083 GLAPI void GLAPIENTRY glVertex2i (GLint x, GLint y);
1084 GLAPI void GLAPIENTRY glVertex2iv (const GLint *v);
1085 GLAPI void GLAPIENTRY glVertex2s (GLshort x, GLshort y);
1086 GLAPI void GLAPIENTRY glVertex2sv (const GLshort *v);
1087 GLAPI void GLAPIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1088 GLAPI void GLAPIENTRY glVertex3dv (const GLdouble *v);
1089 GLAPI void GLAPIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1090 GLAPI void GLAPIENTRY glVertex3fv (const GLfloat *v);
1091 GLAPI void GLAPIENTRY glVertex3i (GLint x, GLint y, GLint z);
1092 GLAPI void GLAPIENTRY glVertex3iv (const GLint *v);
1093 GLAPI void GLAPIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
1094 GLAPI void GLAPIENTRY glVertex3sv (const GLshort *v);
1095 GLAPI void GLAPIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1096 GLAPI void GLAPIENTRY glVertex4dv (const GLdouble *v);
1097 GLAPI void GLAPIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1098 GLAPI void GLAPIENTRY glVertex4fv (const GLfloat *v);
1099 GLAPI void GLAPIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
1100 GLAPI void GLAPIENTRY glVertex4iv (const GLint *v);
1101 GLAPI void GLAPIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1102 GLAPI void GLAPIENTRY glVertex4sv (const GLshort *v);
1103 GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1104 GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
1105 
1106 #define GLEW_VERSION_1_1 GLEW_GET_VAR(__GLEW_VERSION_1_1)
1107 
1108 #endif /* GL_VERSION_1_1 */
1109 
1110 /* ---------------------------------- GLU ---------------------------------- */
1111 
1112 /* this is where we can safely include GLU */
1113 #if defined(__APPLE__) && defined(__MACH__)
1114 #include <OpenGL/glu.h>
1115 #else
1116 #include <GL/glu.h>
1117 #endif
1118 
1119 /* ----------------------------- GL_VERSION_1_2 ---------------------------- */
1120 
1121 #ifndef GL_VERSION_1_2
1122 #define GL_VERSION_1_2 1
1123 
1124 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
1125 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
1126 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
1127 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
1128 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
1129 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
1130 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
1131 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
1132 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
1133 #define GL_RESCALE_NORMAL 0x803A
1134 #define GL_TEXTURE_BINDING_3D 0x806A
1135 #define GL_PACK_SKIP_IMAGES 0x806B
1136 #define GL_PACK_IMAGE_HEIGHT 0x806C
1137 #define GL_UNPACK_SKIP_IMAGES 0x806D
1138 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
1139 #define GL_TEXTURE_3D 0x806F
1140 #define GL_PROXY_TEXTURE_3D 0x8070
1141 #define GL_TEXTURE_DEPTH 0x8071
1142 #define GL_TEXTURE_WRAP_R 0x8072
1143 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
1144 #define GL_BGR 0x80E0
1145 #define GL_BGRA 0x80E1
1146 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
1147 #define GL_MAX_ELEMENTS_INDICES 0x80E9
1148 #define GL_CLAMP_TO_EDGE 0x812F
1149 #define GL_TEXTURE_MIN_LOD 0x813A
1150 #define GL_TEXTURE_MAX_LOD 0x813B
1151 #define GL_TEXTURE_BASE_LEVEL 0x813C
1152 #define GL_TEXTURE_MAX_LEVEL 0x813D
1153 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
1154 #define GL_SINGLE_COLOR 0x81F9
1155 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
1156 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
1157 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
1158 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
1159 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
1160 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
1161 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
1162 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
1163 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
1164 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
1165 
1166 typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1167 typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
1168 typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1169 typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
1170 
1171 #define glCopyTexSubImage3D GLEW_GET_FUN(__glewCopyTexSubImage3D)
1172 #define glDrawRangeElements GLEW_GET_FUN(__glewDrawRangeElements)
1173 #define glTexImage3D GLEW_GET_FUN(__glewTexImage3D)
1174 #define glTexSubImage3D GLEW_GET_FUN(__glewTexSubImage3D)
1175 
1176 #define GLEW_VERSION_1_2 GLEW_GET_VAR(__GLEW_VERSION_1_2)
1177 
1178 #endif /* GL_VERSION_1_2 */
1179 
1180 /* ----------------------------- GL_VERSION_1_3 ---------------------------- */
1181 
1182 #ifndef GL_VERSION_1_3
1183 #define GL_VERSION_1_3 1
1184 
1185 #define GL_MULTISAMPLE 0x809D
1186 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
1187 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
1188 #define GL_SAMPLE_COVERAGE 0x80A0
1189 #define GL_SAMPLE_BUFFERS 0x80A8
1190 #define GL_SAMPLES 0x80A9
1191 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
1192 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
1193 #define GL_CLAMP_TO_BORDER 0x812D
1194 #define GL_TEXTURE0 0x84C0
1195 #define GL_TEXTURE1 0x84C1
1196 #define GL_TEXTURE2 0x84C2
1197 #define GL_TEXTURE3 0x84C3
1198 #define GL_TEXTURE4 0x84C4
1199 #define GL_TEXTURE5 0x84C5
1200 #define GL_TEXTURE6 0x84C6
1201 #define GL_TEXTURE7 0x84C7
1202 #define GL_TEXTURE8 0x84C8
1203 #define GL_TEXTURE9 0x84C9
1204 #define GL_TEXTURE10 0x84CA
1205 #define GL_TEXTURE11 0x84CB
1206 #define GL_TEXTURE12 0x84CC
1207 #define GL_TEXTURE13 0x84CD
1208 #define GL_TEXTURE14 0x84CE
1209 #define GL_TEXTURE15 0x84CF
1210 #define GL_TEXTURE16 0x84D0
1211 #define GL_TEXTURE17 0x84D1
1212 #define GL_TEXTURE18 0x84D2
1213 #define GL_TEXTURE19 0x84D3
1214 #define GL_TEXTURE20 0x84D4
1215 #define GL_TEXTURE21 0x84D5
1216 #define GL_TEXTURE22 0x84D6
1217 #define GL_TEXTURE23 0x84D7
1218 #define GL_TEXTURE24 0x84D8
1219 #define GL_TEXTURE25 0x84D9
1220 #define GL_TEXTURE26 0x84DA
1221 #define GL_TEXTURE27 0x84DB
1222 #define GL_TEXTURE28 0x84DC
1223 #define GL_TEXTURE29 0x84DD
1224 #define GL_TEXTURE30 0x84DE
1225 #define GL_TEXTURE31 0x84DF
1226 #define GL_ACTIVE_TEXTURE 0x84E0
1227 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
1228 #define GL_MAX_TEXTURE_UNITS 0x84E2
1229 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
1230 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
1231 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
1232 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
1233 #define GL_SUBTRACT 0x84E7
1234 #define GL_COMPRESSED_ALPHA 0x84E9
1235 #define GL_COMPRESSED_LUMINANCE 0x84EA
1236 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
1237 #define GL_COMPRESSED_INTENSITY 0x84EC
1238 #define GL_COMPRESSED_RGB 0x84ED
1239 #define GL_COMPRESSED_RGBA 0x84EE
1240 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
1241 #define GL_NORMAL_MAP 0x8511
1242 #define GL_REFLECTION_MAP 0x8512
1243 #define GL_TEXTURE_CUBE_MAP 0x8513
1244 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
1245 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
1246 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
1247 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
1248 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
1249 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
1250 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
1251 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
1252 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
1253 #define GL_COMBINE 0x8570
1254 #define GL_COMBINE_RGB 0x8571
1255 #define GL_COMBINE_ALPHA 0x8572
1256 #define GL_RGB_SCALE 0x8573
1257 #define GL_ADD_SIGNED 0x8574
1258 #define GL_INTERPOLATE 0x8575
1259 #define GL_CONSTANT 0x8576
1260 #define GL_PRIMARY_COLOR 0x8577
1261 #define GL_PREVIOUS 0x8578
1262 #define GL_SOURCE0_RGB 0x8580
1263 #define GL_SOURCE1_RGB 0x8581
1264 #define GL_SOURCE2_RGB 0x8582
1265 #define GL_SOURCE0_ALPHA 0x8588
1266 #define GL_SOURCE1_ALPHA 0x8589
1267 #define GL_SOURCE2_ALPHA 0x858A
1268 #define GL_OPERAND0_RGB 0x8590
1269 #define GL_OPERAND1_RGB 0x8591
1270 #define GL_OPERAND2_RGB 0x8592
1271 #define GL_OPERAND0_ALPHA 0x8598
1272 #define GL_OPERAND1_ALPHA 0x8599
1273 #define GL_OPERAND2_ALPHA 0x859A
1274 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
1275 #define GL_TEXTURE_COMPRESSED 0x86A1
1276 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
1277 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
1278 #define GL_DOT3_RGB 0x86AE
1279 #define GL_DOT3_RGBA 0x86AF
1280 #define GL_MULTISAMPLE_BIT 0x20000000
1281 
1282 typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture);
1283 typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
1284 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
1285 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
1286 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
1287 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
1288 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
1289 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
1290 typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLvoid *img);
1291 typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
1292 typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
1293 typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
1294 typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
1295 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
1296 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
1297 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
1298 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
1299 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
1300 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
1301 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
1302 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
1303 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
1304 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
1305 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
1306 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
1307 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
1308 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
1309 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
1310 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
1311 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
1312 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
1313 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
1314 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
1315 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
1316 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
1317 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
1318 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
1319 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1320 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
1321 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1322 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
1323 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
1324 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
1325 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1326 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
1327 typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
1328 
1329 #define glActiveTexture GLEW_GET_FUN(__glewActiveTexture)
1330 #define glClientActiveTexture GLEW_GET_FUN(__glewClientActiveTexture)
1331 #define glCompressedTexImage1D GLEW_GET_FUN(__glewCompressedTexImage1D)
1332 #define glCompressedTexImage2D GLEW_GET_FUN(__glewCompressedTexImage2D)
1333 #define glCompressedTexImage3D GLEW_GET_FUN(__glewCompressedTexImage3D)
1334 #define glCompressedTexSubImage1D GLEW_GET_FUN(__glewCompressedTexSubImage1D)
1335 #define glCompressedTexSubImage2D GLEW_GET_FUN(__glewCompressedTexSubImage2D)
1336 #define glCompressedTexSubImage3D GLEW_GET_FUN(__glewCompressedTexSubImage3D)
1337 #define glGetCompressedTexImage GLEW_GET_FUN(__glewGetCompressedTexImage)
1338 #define glLoadTransposeMatrixd GLEW_GET_FUN(__glewLoadTransposeMatrixd)
1339 #define glLoadTransposeMatrixf GLEW_GET_FUN(__glewLoadTransposeMatrixf)
1340 #define glMultTransposeMatrixd GLEW_GET_FUN(__glewMultTransposeMatrixd)
1341 #define glMultTransposeMatrixf GLEW_GET_FUN(__glewMultTransposeMatrixf)
1342 #define glMultiTexCoord1d GLEW_GET_FUN(__glewMultiTexCoord1d)
1343 #define glMultiTexCoord1dv GLEW_GET_FUN(__glewMultiTexCoord1dv)
1344 #define glMultiTexCoord1f GLEW_GET_FUN(__glewMultiTexCoord1f)
1345 #define glMultiTexCoord1fv GLEW_GET_FUN(__glewMultiTexCoord1fv)
1346 #define glMultiTexCoord1i GLEW_GET_FUN(__glewMultiTexCoord1i)
1347 #define glMultiTexCoord1iv GLEW_GET_FUN(__glewMultiTexCoord1iv)
1348 #define glMultiTexCoord1s GLEW_GET_FUN(__glewMultiTexCoord1s)
1349 #define glMultiTexCoord1sv GLEW_GET_FUN(__glewMultiTexCoord1sv)
1350 #define glMultiTexCoord2d GLEW_GET_FUN(__glewMultiTexCoord2d)
1351 #define glMultiTexCoord2dv GLEW_GET_FUN(__glewMultiTexCoord2dv)
1352 #define glMultiTexCoord2f GLEW_GET_FUN(__glewMultiTexCoord2f)
1353 #define glMultiTexCoord2fv GLEW_GET_FUN(__glewMultiTexCoord2fv)
1354 #define glMultiTexCoord2i GLEW_GET_FUN(__glewMultiTexCoord2i)
1355 #define glMultiTexCoord2iv GLEW_GET_FUN(__glewMultiTexCoord2iv)
1356 #define glMultiTexCoord2s GLEW_GET_FUN(__glewMultiTexCoord2s)
1357 #define glMultiTexCoord2sv GLEW_GET_FUN(__glewMultiTexCoord2sv)
1358 #define glMultiTexCoord3d GLEW_GET_FUN(__glewMultiTexCoord3d)
1359 #define glMultiTexCoord3dv GLEW_GET_FUN(__glewMultiTexCoord3dv)
1360 #define glMultiTexCoord3f GLEW_GET_FUN(__glewMultiTexCoord3f)
1361 #define glMultiTexCoord3fv GLEW_GET_FUN(__glewMultiTexCoord3fv)
1362 #define glMultiTexCoord3i GLEW_GET_FUN(__glewMultiTexCoord3i)
1363 #define glMultiTexCoord3iv GLEW_GET_FUN(__glewMultiTexCoord3iv)
1364 #define glMultiTexCoord3s GLEW_GET_FUN(__glewMultiTexCoord3s)
1365 #define glMultiTexCoord3sv GLEW_GET_FUN(__glewMultiTexCoord3sv)
1366 #define glMultiTexCoord4d GLEW_GET_FUN(__glewMultiTexCoord4d)
1367 #define glMultiTexCoord4dv GLEW_GET_FUN(__glewMultiTexCoord4dv)
1368 #define glMultiTexCoord4f GLEW_GET_FUN(__glewMultiTexCoord4f)
1369 #define glMultiTexCoord4fv GLEW_GET_FUN(__glewMultiTexCoord4fv)
1370 #define glMultiTexCoord4i GLEW_GET_FUN(__glewMultiTexCoord4i)
1371 #define glMultiTexCoord4iv GLEW_GET_FUN(__glewMultiTexCoord4iv)
1372 #define glMultiTexCoord4s GLEW_GET_FUN(__glewMultiTexCoord4s)
1373 #define glMultiTexCoord4sv GLEW_GET_FUN(__glewMultiTexCoord4sv)
1374 #define glSampleCoverage GLEW_GET_FUN(__glewSampleCoverage)
1375 
1376 #define GLEW_VERSION_1_3 GLEW_GET_VAR(__GLEW_VERSION_1_3)
1377 
1378 #endif /* GL_VERSION_1_3 */
1379 
1380 /* ----------------------------- GL_VERSION_1_4 ---------------------------- */
1381 
1382 #ifndef GL_VERSION_1_4
1383 #define GL_VERSION_1_4 1
1384 
1385 #define GL_BLEND_DST_RGB 0x80C8
1386 #define GL_BLEND_SRC_RGB 0x80C9
1387 #define GL_BLEND_DST_ALPHA 0x80CA
1388 #define GL_BLEND_SRC_ALPHA 0x80CB
1389 #define GL_POINT_SIZE_MIN 0x8126
1390 #define GL_POINT_SIZE_MAX 0x8127
1391 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
1392 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
1393 #define GL_GENERATE_MIPMAP 0x8191
1394 #define GL_GENERATE_MIPMAP_HINT 0x8192
1395 #define GL_DEPTH_COMPONENT16 0x81A5
1396 #define GL_DEPTH_COMPONENT24 0x81A6
1397 #define GL_DEPTH_COMPONENT32 0x81A7
1398 #define GL_MIRRORED_REPEAT 0x8370
1399 #define GL_FOG_COORDINATE_SOURCE 0x8450
1400 #define GL_FOG_COORDINATE 0x8451
1401 #define GL_FRAGMENT_DEPTH 0x8452
1402 #define GL_CURRENT_FOG_COORDINATE 0x8453
1403 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
1404 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
1405 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
1406 #define GL_FOG_COORDINATE_ARRAY 0x8457
1407 #define GL_COLOR_SUM 0x8458
1408 #define GL_CURRENT_SECONDARY_COLOR 0x8459
1409 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
1410 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
1411 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
1412 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
1413 #define GL_SECONDARY_COLOR_ARRAY 0x845E
1414 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
1415 #define GL_TEXTURE_FILTER_CONTROL 0x8500
1416 #define GL_TEXTURE_LOD_BIAS 0x8501
1417 #define GL_INCR_WRAP 0x8507
1418 #define GL_DECR_WRAP 0x8508
1419 #define GL_TEXTURE_DEPTH_SIZE 0x884A
1420 #define GL_DEPTH_TEXTURE_MODE 0x884B
1421 #define GL_TEXTURE_COMPARE_MODE 0x884C
1422 #define GL_TEXTURE_COMPARE_FUNC 0x884D
1423 #define GL_COMPARE_R_TO_TEXTURE 0x884E
1424 
1425 typedef void (GLAPIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1426 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
1427 typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
1428 typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
1429 typedef void (GLAPIENTRY * PFNGLFOGCOORDDPROC) (GLdouble coord);
1430 typedef void (GLAPIENTRY * PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
1431 typedef void (GLAPIENTRY * PFNGLFOGCOORDFPROC) (GLfloat coord);
1432 typedef void (GLAPIENTRY * PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
1433 typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
1434 typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);
1435 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
1436 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, GLfloat *params);
1437 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
1438 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIVPROC) (GLenum pname, GLint *params);
1439 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
1440 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
1441 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
1442 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
1443 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
1444 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
1445 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
1446 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
1447 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
1448 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
1449 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
1450 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
1451 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
1452 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
1453 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
1454 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
1455 typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
1456 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
1457 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVPROC) (const GLdouble *p);
1458 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
1459 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVPROC) (const GLfloat *p);
1460 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
1461 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVPROC) (const GLint *p);
1462 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
1463 typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVPROC) (const GLshort *p);
1464 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
1465 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVPROC) (const GLdouble *p);
1466 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
1467 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVPROC) (const GLfloat *p);
1468 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
1469 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVPROC) (const GLint *p);
1470 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
1471 typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVPROC) (const GLshort *p);
1472 
1473 #define glBlendColor GLEW_GET_FUN(__glewBlendColor)
1474 #define glBlendEquation GLEW_GET_FUN(__glewBlendEquation)
1475 #define glBlendFuncSeparate GLEW_GET_FUN(__glewBlendFuncSeparate)
1476 #define glFogCoordPointer GLEW_GET_FUN(__glewFogCoordPointer)
1477 #define glFogCoordd GLEW_GET_FUN(__glewFogCoordd)
1478 #define glFogCoorddv GLEW_GET_FUN(__glewFogCoorddv)
1479 #define glFogCoordf GLEW_GET_FUN(__glewFogCoordf)
1480 #define glFogCoordfv GLEW_GET_FUN(__glewFogCoordfv)
1481 #define glMultiDrawArrays GLEW_GET_FUN(__glewMultiDrawArrays)
1482 #define glMultiDrawElements GLEW_GET_FUN(__glewMultiDrawElements)
1483 #define glPointParameterf GLEW_GET_FUN(__glewPointParameterf)
1484 #define glPointParameterfv GLEW_GET_FUN(__glewPointParameterfv)
1485 #define glPointParameteri GLEW_GET_FUN(__glewPointParameteri)
1486 #define glPointParameteriv GLEW_GET_FUN(__glewPointParameteriv)
1487 #define glSecondaryColor3b GLEW_GET_FUN(__glewSecondaryColor3b)
1488 #define glSecondaryColor3bv GLEW_GET_FUN(__glewSecondaryColor3bv)
1489 #define glSecondaryColor3d GLEW_GET_FUN(__glewSecondaryColor3d)
1490 #define glSecondaryColor3dv GLEW_GET_FUN(__glewSecondaryColor3dv)
1491 #define glSecondaryColor3f GLEW_GET_FUN(__glewSecondaryColor3f)
1492 #define glSecondaryColor3fv GLEW_GET_FUN(__glewSecondaryColor3fv)
1493 #define glSecondaryColor3i GLEW_GET_FUN(__glewSecondaryColor3i)
1494 #define glSecondaryColor3iv GLEW_GET_FUN(__glewSecondaryColor3iv)
1495 #define glSecondaryColor3s GLEW_GET_FUN(__glewSecondaryColor3s)
1496 #define glSecondaryColor3sv GLEW_GET_FUN(__glewSecondaryColor3sv)
1497 #define glSecondaryColor3ub GLEW_GET_FUN(__glewSecondaryColor3ub)
1498 #define glSecondaryColor3ubv GLEW_GET_FUN(__glewSecondaryColor3ubv)
1499 #define glSecondaryColor3ui GLEW_GET_FUN(__glewSecondaryColor3ui)
1500 #define glSecondaryColor3uiv GLEW_GET_FUN(__glewSecondaryColor3uiv)
1501 #define glSecondaryColor3us GLEW_GET_FUN(__glewSecondaryColor3us)
1502 #define glSecondaryColor3usv GLEW_GET_FUN(__glewSecondaryColor3usv)
1503 #define glSecondaryColorPointer GLEW_GET_FUN(__glewSecondaryColorPointer)
1504 #define glWindowPos2d GLEW_GET_FUN(__glewWindowPos2d)
1505 #define glWindowPos2dv GLEW_GET_FUN(__glewWindowPos2dv)
1506 #define glWindowPos2f GLEW_GET_FUN(__glewWindowPos2f)
1507 #define glWindowPos2fv GLEW_GET_FUN(__glewWindowPos2fv)
1508 #define glWindowPos2i GLEW_GET_FUN(__glewWindowPos2i)
1509 #define glWindowPos2iv GLEW_GET_FUN(__glewWindowPos2iv)
1510 #define glWindowPos2s GLEW_GET_FUN(__glewWindowPos2s)
1511 #define glWindowPos2sv GLEW_GET_FUN(__glewWindowPos2sv)
1512 #define glWindowPos3d GLEW_GET_FUN(__glewWindowPos3d)
1513 #define glWindowPos3dv GLEW_GET_FUN(__glewWindowPos3dv)
1514 #define glWindowPos3f GLEW_GET_FUN(__glewWindowPos3f)
1515 #define glWindowPos3fv GLEW_GET_FUN(__glewWindowPos3fv)
1516 #define glWindowPos3i GLEW_GET_FUN(__glewWindowPos3i)
1517 #define glWindowPos3iv GLEW_GET_FUN(__glewWindowPos3iv)
1518 #define glWindowPos3s GLEW_GET_FUN(__glewWindowPos3s)
1519 #define glWindowPos3sv GLEW_GET_FUN(__glewWindowPos3sv)
1520 
1521 #define GLEW_VERSION_1_4 GLEW_GET_VAR(__GLEW_VERSION_1_4)
1522 
1523 #endif /* GL_VERSION_1_4 */
1524 
1525 /* ----------------------------- GL_VERSION_1_5 ---------------------------- */
1526 
1527 #ifndef GL_VERSION_1_5
1528 #define GL_VERSION_1_5 1
1529 
1530 #define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE
1531 #define GL_FOG_COORD GL_FOG_COORDINATE
1532 #define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY
1533 #define GL_SRC0_RGB GL_SOURCE0_RGB
1534 #define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER
1535 #define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE
1536 #define GL_SRC1_ALPHA GL_SOURCE1_ALPHA
1537 #define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE
1538 #define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE
1539 #define GL_SRC0_ALPHA GL_SOURCE0_ALPHA
1540 #define GL_SRC1_RGB GL_SOURCE1_RGB
1541 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
1542 #define GL_SRC2_ALPHA GL_SOURCE2_ALPHA
1543 #define GL_SRC2_RGB GL_SOURCE2_RGB
1544 #define GL_BUFFER_SIZE 0x8764
1545 #define GL_BUFFER_USAGE 0x8765
1546 #define GL_QUERY_COUNTER_BITS 0x8864
1547 #define GL_CURRENT_QUERY 0x8865
1548 #define GL_QUERY_RESULT 0x8866
1549 #define GL_QUERY_RESULT_AVAILABLE 0x8867
1550 #define GL_ARRAY_BUFFER 0x8892
1551 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
1552 #define GL_ARRAY_BUFFER_BINDING 0x8894
1553 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
1554 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
1555 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
1556 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
1557 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
1558 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
1559 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
1560 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
1561 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
1562 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
1563 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
1564 #define GL_READ_ONLY 0x88B8
1565 #define GL_WRITE_ONLY 0x88B9
1566 #define GL_READ_WRITE 0x88BA
1567 #define GL_BUFFER_ACCESS 0x88BB
1568 #define GL_BUFFER_MAPPED 0x88BC
1569 #define GL_BUFFER_MAP_POINTER 0x88BD
1570 #define GL_STREAM_DRAW 0x88E0
1571 #define GL_STREAM_READ 0x88E1
1572 #define GL_STREAM_COPY 0x88E2
1573 #define GL_STATIC_DRAW 0x88E4
1574 #define GL_STATIC_READ 0x88E5
1575 #define GL_STATIC_COPY 0x88E6
1576 #define GL_DYNAMIC_DRAW 0x88E8
1577 #define GL_DYNAMIC_READ 0x88E9
1578 #define GL_DYNAMIC_COPY 0x88EA
1579 #define GL_SAMPLES_PASSED 0x8914
1580 
1583 
1584 typedef void (GLAPIENTRY * PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
1585 typedef void (GLAPIENTRY * PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
1586 typedef void (GLAPIENTRY * PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
1587 typedef void (GLAPIENTRY * PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);
1588 typedef void (GLAPIENTRY * PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint* buffers);
1589 typedef void (GLAPIENTRY * PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint* ids);
1590 typedef void (GLAPIENTRY * PFNGLENDQUERYPROC) (GLenum target);
1591 typedef void (GLAPIENTRY * PFNGLGENBUFFERSPROC) (GLsizei n, GLuint* buffers);
1592 typedef void (GLAPIENTRY * PFNGLGENQUERIESPROC) (GLsizei n, GLuint* ids);
1593 typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
1594 typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid** params);
1595 typedef void (GLAPIENTRY * PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid* data);
1596 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint* params);
1597 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint* params);
1598 typedef void (GLAPIENTRY * PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint* params);
1599 typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERPROC) (GLuint buffer);
1600 typedef GLboolean (GLAPIENTRY * PFNGLISQUERYPROC) (GLuint id);
1601 typedef GLvoid* (GLAPIENTRY * PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
1602 typedef GLboolean (GLAPIENTRY * PFNGLUNMAPBUFFERPROC) (GLenum target);
1603 
1604 #define glBeginQuery GLEW_GET_FUN(__glewBeginQuery)
1605 #define glBindBuffer GLEW_GET_FUN(__glewBindBuffer)
1606 #define glBufferData GLEW_GET_FUN(__glewBufferData)
1607 #define glBufferSubData GLEW_GET_FUN(__glewBufferSubData)
1608 #define glDeleteBuffers GLEW_GET_FUN(__glewDeleteBuffers)
1609 #define glDeleteQueries GLEW_GET_FUN(__glewDeleteQueries)
1610 #define glEndQuery GLEW_GET_FUN(__glewEndQuery)
1611 #define glGenBuffers GLEW_GET_FUN(__glewGenBuffers)
1612 #define glGenQueries GLEW_GET_FUN(__glewGenQueries)
1613 #define glGetBufferParameteriv GLEW_GET_FUN(__glewGetBufferParameteriv)
1614 #define glGetBufferPointerv GLEW_GET_FUN(__glewGetBufferPointerv)
1615 #define glGetBufferSubData GLEW_GET_FUN(__glewGetBufferSubData)
1616 #define glGetQueryObjectiv GLEW_GET_FUN(__glewGetQueryObjectiv)
1617 #define glGetQueryObjectuiv GLEW_GET_FUN(__glewGetQueryObjectuiv)
1618 #define glGetQueryiv GLEW_GET_FUN(__glewGetQueryiv)
1619 #define glIsBuffer GLEW_GET_FUN(__glewIsBuffer)
1620 #define glIsQuery GLEW_GET_FUN(__glewIsQuery)
1621 #define glMapBuffer GLEW_GET_FUN(__glewMapBuffer)
1622 #define glUnmapBuffer GLEW_GET_FUN(__glewUnmapBuffer)
1623 
1624 #define GLEW_VERSION_1_5 GLEW_GET_VAR(__GLEW_VERSION_1_5)
1625 
1626 #endif /* GL_VERSION_1_5 */
1627 
1628 /* ----------------------------- GL_VERSION_2_0 ---------------------------- */
1629 
1630 #ifndef GL_VERSION_2_0
1631 #define GL_VERSION_2_0 1
1632 
1633 #define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION
1634 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
1635 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
1636 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
1637 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
1638 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
1639 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
1640 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
1641 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
1642 #define GL_STENCIL_BACK_FUNC 0x8800
1643 #define GL_STENCIL_BACK_FAIL 0x8801
1644 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
1645 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
1646 #define GL_MAX_DRAW_BUFFERS 0x8824
1647 #define GL_DRAW_BUFFER0 0x8825
1648 #define GL_DRAW_BUFFER1 0x8826
1649 #define GL_DRAW_BUFFER2 0x8827
1650 #define GL_DRAW_BUFFER3 0x8828
1651 #define GL_DRAW_BUFFER4 0x8829
1652 #define GL_DRAW_BUFFER5 0x882A
1653 #define GL_DRAW_BUFFER6 0x882B
1654 #define GL_DRAW_BUFFER7 0x882C
1655 #define GL_DRAW_BUFFER8 0x882D
1656 #define GL_DRAW_BUFFER9 0x882E
1657 #define GL_DRAW_BUFFER10 0x882F
1658 #define GL_DRAW_BUFFER11 0x8830
1659 #define GL_DRAW_BUFFER12 0x8831
1660 #define GL_DRAW_BUFFER13 0x8832
1661 #define GL_DRAW_BUFFER14 0x8833
1662 #define GL_DRAW_BUFFER15 0x8834
1663 #define GL_BLEND_EQUATION_ALPHA 0x883D
1664 #define GL_POINT_SPRITE 0x8861
1665 #define GL_COORD_REPLACE 0x8862
1666 #define GL_MAX_VERTEX_ATTRIBS 0x8869
1667 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
1668 #define GL_MAX_TEXTURE_COORDS 0x8871
1669 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
1670 #define GL_FRAGMENT_SHADER 0x8B30
1671 #define GL_VERTEX_SHADER 0x8B31
1672 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
1673 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
1674 #define GL_MAX_VARYING_FLOATS 0x8B4B
1675 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
1676 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
1677 #define GL_SHADER_TYPE 0x8B4F
1678 #define GL_FLOAT_VEC2 0x8B50
1679 #define GL_FLOAT_VEC3 0x8B51
1680 #define GL_FLOAT_VEC4 0x8B52
1681 #define GL_INT_VEC2 0x8B53
1682 #define GL_INT_VEC3 0x8B54
1683 #define GL_INT_VEC4 0x8B55
1684 #define GL_BOOL 0x8B56
1685 #define GL_BOOL_VEC2 0x8B57
1686 #define GL_BOOL_VEC3 0x8B58
1687 #define GL_BOOL_VEC4 0x8B59
1688 #define GL_FLOAT_MAT2 0x8B5A
1689 #define GL_FLOAT_MAT3 0x8B5B
1690 #define GL_FLOAT_MAT4 0x8B5C
1691 #define GL_SAMPLER_1D 0x8B5D
1692 #define GL_SAMPLER_2D 0x8B5E
1693 #define GL_SAMPLER_3D 0x8B5F
1694 #define GL_SAMPLER_CUBE 0x8B60
1695 #define GL_SAMPLER_1D_SHADOW 0x8B61
1696 #define GL_SAMPLER_2D_SHADOW 0x8B62
1697 #define GL_DELETE_STATUS 0x8B80
1698 #define GL_COMPILE_STATUS 0x8B81
1699 #define GL_LINK_STATUS 0x8B82
1700 #define GL_VALIDATE_STATUS 0x8B83
1701 #define GL_INFO_LOG_LENGTH 0x8B84
1702 #define GL_ATTACHED_SHADERS 0x8B85
1703 #define GL_ACTIVE_UNIFORMS 0x8B86
1704 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
1705 #define GL_SHADER_SOURCE_LENGTH 0x8B88
1706 #define GL_ACTIVE_ATTRIBUTES 0x8B89
1707 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
1708 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
1709 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
1710 #define GL_CURRENT_PROGRAM 0x8B8D
1711 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
1712 #define GL_LOWER_LEFT 0x8CA1
1713 #define GL_UPPER_LEFT 0x8CA2
1714 #define GL_STENCIL_BACK_REF 0x8CA3
1715 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
1716 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
1717 
1718 typedef char GLchar;
1719 
1720 typedef void (GLAPIENTRY * PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
1721 typedef void (GLAPIENTRY * PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar* name);
1722 typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum, GLenum);
1723 typedef void (GLAPIENTRY * PFNGLCOMPILESHADERPROC) (GLuint shader);
1724 typedef GLuint (GLAPIENTRY * PFNGLCREATEPROGRAMPROC) (void);
1725 typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROC) (GLenum type);
1726 typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPROC) (GLuint program);
1727 typedef void (GLAPIENTRY * PFNGLDELETESHADERPROC) (GLuint shader);
1728 typedef void (GLAPIENTRY * PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
1729 typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint);
1730 typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum* bufs);
1731 typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint);
1732 typedef void (GLAPIENTRY * PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
1733 typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
1734 typedef void (GLAPIENTRY * PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders);
1735 typedef GLint (GLAPIENTRY * PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar* name);
1736 typedef void (GLAPIENTRY * PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
1737 typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint* param);
1738 typedef void (GLAPIENTRY * PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
1739 typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEPROC) (GLint obj, GLsizei maxLength, GLsizei* length, GLchar* source);
1740 typedef void (GLAPIENTRY * PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint* param);
1741 typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar* name);
1742 typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat* params);
1743 typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint* params);
1744 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint, GLenum, GLvoid*);
1745 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVPROC) (GLuint, GLenum, GLdouble*);
1746 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVPROC) (GLuint, GLenum, GLfloat*);
1747 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVPROC) (GLuint, GLenum, GLint*);
1748 typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPROC) (GLuint program);
1749 typedef GLboolean (GLAPIENTRY * PFNGLISSHADERPROC) (GLuint shader);
1750 typedef void (GLAPIENTRY * PFNGLLINKPROGRAMPROC) (GLuint program);
1751 typedef void (GLAPIENTRY * PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths);
1752 typedef void (GLAPIENTRY * PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
1753 typedef void (GLAPIENTRY * PFNGLSTENCILMASKSEPARATEPROC) (GLenum, GLuint);
1754 typedef void (GLAPIENTRY * PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
1755 typedef void (GLAPIENTRY * PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
1756 typedef void (GLAPIENTRY * PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1757 typedef void (GLAPIENTRY * PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
1758 typedef void (GLAPIENTRY * PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint* value);
1759 typedef void (GLAPIENTRY * PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
1760 typedef void (GLAPIENTRY * PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1761 typedef void (GLAPIENTRY * PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
1762 typedef void (GLAPIENTRY * PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint* value);
1763 typedef void (GLAPIENTRY * PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1764 typedef void (GLAPIENTRY * PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1765 typedef void (GLAPIENTRY * PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
1766 typedef void (GLAPIENTRY * PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint* value);
1767 typedef void (GLAPIENTRY * PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1768 typedef void (GLAPIENTRY * PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat* value);
1769 typedef void (GLAPIENTRY * PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1770 typedef void (GLAPIENTRY * PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint* value);
1771 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1772 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1773 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1774 typedef void (GLAPIENTRY * PFNGLUSEPROGRAMPROC) (GLuint program);
1775 typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMPROC) (GLuint program);
1776 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
1777 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble* v);
1778 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
1779 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat* v);
1780 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
1781 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort* v);
1782 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
1783 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble* v);
1784 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
1785 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat* v);
1786 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
1787 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort* v);
1788 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1789 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble* v);
1790 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
1791 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat* v);
1792 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
1793 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort* v);
1794 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte* v);
1795 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint* v);
1796 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort* v);
1797 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
1798 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte* v);
1799 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint* v);
1800 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort* v);
1801 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte* v);
1802 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1803 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble* v);
1804 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1805 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat* v);
1806 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint* v);
1807 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
1808 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort* v);
1809 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte* v);
1810 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint* v);
1811 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort* v);
1812 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer);
1813 
1814 #define glAttachShader GLEW_GET_FUN(__glewAttachShader)
1815 #define glBindAttribLocation GLEW_GET_FUN(__glewBindAttribLocation)
1816 #define glBlendEquationSeparate GLEW_GET_FUN(__glewBlendEquationSeparate)
1817 #define glCompileShader GLEW_GET_FUN(__glewCompileShader)
1818 #define glCreateProgram GLEW_GET_FUN(__glewCreateProgram)
1819 #define glCreateShader GLEW_GET_FUN(__glewCreateShader)
1820 #define glDeleteProgram GLEW_GET_FUN(__glewDeleteProgram)
1821 #define glDeleteShader GLEW_GET_FUN(__glewDeleteShader)
1822 #define glDetachShader GLEW_GET_FUN(__glewDetachShader)
1823 #define glDisableVertexAttribArray GLEW_GET_FUN(__glewDisableVertexAttribArray)
1824 #define glDrawBuffers GLEW_GET_FUN(__glewDrawBuffers)
1825 #define glEnableVertexAttribArray GLEW_GET_FUN(__glewEnableVertexAttribArray)
1826 #define glGetActiveAttrib GLEW_GET_FUN(__glewGetActiveAttrib)
1827 #define glGetActiveUniform GLEW_GET_FUN(__glewGetActiveUniform)
1828 #define glGetAttachedShaders GLEW_GET_FUN(__glewGetAttachedShaders)
1829 #define glGetAttribLocation GLEW_GET_FUN(__glewGetAttribLocation)
1830 #define glGetProgramInfoLog GLEW_GET_FUN(__glewGetProgramInfoLog)
1831 #define glGetProgramiv GLEW_GET_FUN(__glewGetProgramiv)
1832 #define glGetShaderInfoLog GLEW_GET_FUN(__glewGetShaderInfoLog)
1833 #define glGetShaderSource GLEW_GET_FUN(__glewGetShaderSource)
1834 #define glGetShaderiv GLEW_GET_FUN(__glewGetShaderiv)
1835 #define glGetUniformLocation GLEW_GET_FUN(__glewGetUniformLocation)
1836 #define glGetUniformfv GLEW_GET_FUN(__glewGetUniformfv)
1837 #define glGetUniformiv GLEW_GET_FUN(__glewGetUniformiv)
1838 #define glGetVertexAttribPointerv GLEW_GET_FUN(__glewGetVertexAttribPointerv)
1839 #define glGetVertexAttribdv GLEW_GET_FUN(__glewGetVertexAttribdv)
1840 #define glGetVertexAttribfv GLEW_GET_FUN(__glewGetVertexAttribfv)
1841 #define glGetVertexAttribiv GLEW_GET_FUN(__glewGetVertexAttribiv)
1842 #define glIsProgram GLEW_GET_FUN(__glewIsProgram)
1843 #define glIsShader GLEW_GET_FUN(__glewIsShader)
1844 #define glLinkProgram GLEW_GET_FUN(__glewLinkProgram)
1845 #define glShaderSource GLEW_GET_FUN(__glewShaderSource)
1846 #define glStencilFuncSeparate GLEW_GET_FUN(__glewStencilFuncSeparate)
1847 #define glStencilMaskSeparate GLEW_GET_FUN(__glewStencilMaskSeparate)
1848 #define glStencilOpSeparate GLEW_GET_FUN(__glewStencilOpSeparate)
1849 #define glUniform1f GLEW_GET_FUN(__glewUniform1f)
1850 #define glUniform1fv GLEW_GET_FUN(__glewUniform1fv)
1851 #define glUniform1i GLEW_GET_FUN(__glewUniform1i)
1852 #define glUniform1iv GLEW_GET_FUN(__glewUniform1iv)
1853 #define glUniform2f GLEW_GET_FUN(__glewUniform2f)
1854 #define glUniform2fv GLEW_GET_FUN(__glewUniform2fv)
1855 #define glUniform2i GLEW_GET_FUN(__glewUniform2i)
1856 #define glUniform2iv GLEW_GET_FUN(__glewUniform2iv)
1857 #define glUniform3f GLEW_GET_FUN(__glewUniform3f)
1858 #define glUniform3fv GLEW_GET_FUN(__glewUniform3fv)
1859 #define glUniform3i GLEW_GET_FUN(__glewUniform3i)
1860 #define glUniform3iv GLEW_GET_FUN(__glewUniform3iv)
1861 #define glUniform4f GLEW_GET_FUN(__glewUniform4f)
1862 #define glUniform4fv GLEW_GET_FUN(__glewUniform4fv)
1863 #define glUniform4i GLEW_GET_FUN(__glewUniform4i)
1864 #define glUniform4iv GLEW_GET_FUN(__glewUniform4iv)
1865 #define glUniformMatrix2fv GLEW_GET_FUN(__glewUniformMatrix2fv)
1866 #define glUniformMatrix3fv GLEW_GET_FUN(__glewUniformMatrix3fv)
1867 #define glUniformMatrix4fv GLEW_GET_FUN(__glewUniformMatrix4fv)
1868 #define glUseProgram GLEW_GET_FUN(__glewUseProgram)
1869 #define glValidateProgram GLEW_GET_FUN(__glewValidateProgram)
1870 #define glVertexAttrib1d GLEW_GET_FUN(__glewVertexAttrib1d)
1871 #define glVertexAttrib1dv GLEW_GET_FUN(__glewVertexAttrib1dv)
1872 #define glVertexAttrib1f GLEW_GET_FUN(__glewVertexAttrib1f)
1873 #define glVertexAttrib1fv GLEW_GET_FUN(__glewVertexAttrib1fv)
1874 #define glVertexAttrib1s GLEW_GET_FUN(__glewVertexAttrib1s)
1875 #define glVertexAttrib1sv GLEW_GET_FUN(__glewVertexAttrib1sv)
1876 #define glVertexAttrib2d GLEW_GET_FUN(__glewVertexAttrib2d)
1877 #define glVertexAttrib2dv GLEW_GET_FUN(__glewVertexAttrib2dv)
1878 #define glVertexAttrib2f GLEW_GET_FUN(__glewVertexAttrib2f)
1879 #define glVertexAttrib2fv GLEW_GET_FUN(__glewVertexAttrib2fv)
1880 #define glVertexAttrib2s GLEW_GET_FUN(__glewVertexAttrib2s)
1881 #define glVertexAttrib2sv GLEW_GET_FUN(__glewVertexAttrib2sv)
1882 #define glVertexAttrib3d GLEW_GET_FUN(__glewVertexAttrib3d)
1883 #define glVertexAttrib3dv GLEW_GET_FUN(__glewVertexAttrib3dv)
1884 #define glVertexAttrib3f GLEW_GET_FUN(__glewVertexAttrib3f)
1885 #define glVertexAttrib3fv GLEW_GET_FUN(__glewVertexAttrib3fv)
1886 #define glVertexAttrib3s GLEW_GET_FUN(__glewVertexAttrib3s)
1887 #define glVertexAttrib3sv GLEW_GET_FUN(__glewVertexAttrib3sv)
1888 #define glVertexAttrib4Nbv GLEW_GET_FUN(__glewVertexAttrib4Nbv)
1889 #define glVertexAttrib4Niv GLEW_GET_FUN(__glewVertexAttrib4Niv)
1890 #define glVertexAttrib4Nsv GLEW_GET_FUN(__glewVertexAttrib4Nsv)
1891 #define glVertexAttrib4Nub GLEW_GET_FUN(__glewVertexAttrib4Nub)
1892 #define glVertexAttrib4Nubv GLEW_GET_FUN(__glewVertexAttrib4Nubv)
1893 #define glVertexAttrib4Nuiv GLEW_GET_FUN(__glewVertexAttrib4Nuiv)
1894 #define glVertexAttrib4Nusv GLEW_GET_FUN(__glewVertexAttrib4Nusv)
1895 #define glVertexAttrib4bv GLEW_GET_FUN(__glewVertexAttrib4bv)
1896 #define glVertexAttrib4d GLEW_GET_FUN(__glewVertexAttrib4d)
1897 #define glVertexAttrib4dv GLEW_GET_FUN(__glewVertexAttrib4dv)
1898 #define glVertexAttrib4f GLEW_GET_FUN(__glewVertexAttrib4f)
1899 #define glVertexAttrib4fv GLEW_GET_FUN(__glewVertexAttrib4fv)
1900 #define glVertexAttrib4iv GLEW_GET_FUN(__glewVertexAttrib4iv)
1901 #define glVertexAttrib4s GLEW_GET_FUN(__glewVertexAttrib4s)
1902 #define glVertexAttrib4sv GLEW_GET_FUN(__glewVertexAttrib4sv)
1903 #define glVertexAttrib4ubv GLEW_GET_FUN(__glewVertexAttrib4ubv)
1904 #define glVertexAttrib4uiv GLEW_GET_FUN(__glewVertexAttrib4uiv)
1905 #define glVertexAttrib4usv GLEW_GET_FUN(__glewVertexAttrib4usv)
1906 #define glVertexAttribPointer GLEW_GET_FUN(__glewVertexAttribPointer)
1907 
1908 #define GLEW_VERSION_2_0 GLEW_GET_VAR(__GLEW_VERSION_2_0)
1909 
1910 #endif /* GL_VERSION_2_0 */
1911 
1912 /* ----------------------------- GL_VERSION_2_1 ---------------------------- */
1913 
1914 #ifndef GL_VERSION_2_1
1915 #define GL_VERSION_2_1 1
1916 
1917 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
1918 #define GL_PIXEL_PACK_BUFFER 0x88EB
1919 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
1920 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
1921 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
1922 #define GL_FLOAT_MAT2x3 0x8B65
1923 #define GL_FLOAT_MAT2x4 0x8B66
1924 #define GL_FLOAT_MAT3x2 0x8B67
1925 #define GL_FLOAT_MAT3x4 0x8B68
1926 #define GL_FLOAT_MAT4x2 0x8B69
1927 #define GL_FLOAT_MAT4x3 0x8B6A
1928 #define GL_SRGB 0x8C40
1929 #define GL_SRGB8 0x8C41
1930 #define GL_SRGB_ALPHA 0x8C42
1931 #define GL_SRGB8_ALPHA8 0x8C43
1932 #define GL_SLUMINANCE_ALPHA 0x8C44
1933 #define GL_SLUMINANCE8_ALPHA8 0x8C45
1934 #define GL_SLUMINANCE 0x8C46
1935 #define GL_SLUMINANCE8 0x8C47
1936 #define GL_COMPRESSED_SRGB 0x8C48
1937 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
1938 #define GL_COMPRESSED_SLUMINANCE 0x8C4A
1939 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
1940 
1941 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1942 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1943 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1944 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1945 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1946 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1947 
1948 #define glUniformMatrix2x3fv GLEW_GET_FUN(__glewUniformMatrix2x3fv)
1949 #define glUniformMatrix2x4fv GLEW_GET_FUN(__glewUniformMatrix2x4fv)
1950 #define glUniformMatrix3x2fv GLEW_GET_FUN(__glewUniformMatrix3x2fv)
1951 #define glUniformMatrix3x4fv GLEW_GET_FUN(__glewUniformMatrix3x4fv)
1952 #define glUniformMatrix4x2fv GLEW_GET_FUN(__glewUniformMatrix4x2fv)
1953 #define glUniformMatrix4x3fv GLEW_GET_FUN(__glewUniformMatrix4x3fv)
1954 
1955 #define GLEW_VERSION_2_1 GLEW_GET_VAR(__GLEW_VERSION_2_1)
1956 
1957 #endif /* GL_VERSION_2_1 */
1958 
1959 /* ----------------------------- GL_VERSION_3_0 ---------------------------- */
1960 
1961 #ifndef GL_VERSION_3_0
1962 #define GL_VERSION_3_0 1
1963 
1964 #define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES
1965 #define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5
1966 #define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1
1967 #define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3
1968 #define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB
1969 #define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0
1970 #define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4
1971 #define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2
1972 #define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS
1973 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
1974 #define GL_MAJOR_VERSION 0x821B
1975 #define GL_MINOR_VERSION 0x821C
1976 #define GL_NUM_EXTENSIONS 0x821D
1977 #define GL_CONTEXT_FLAGS 0x821E
1978 #define GL_DEPTH_BUFFER 0x8223
1979 #define GL_STENCIL_BUFFER 0x8224
1980 #define GL_COMPRESSED_RED 0x8225
1981 #define GL_COMPRESSED_RG 0x8226
1982 #define GL_RGBA32F 0x8814
1983 #define GL_RGB32F 0x8815
1984 #define GL_RGBA16F 0x881A
1985 #define GL_RGB16F 0x881B
1986 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
1987 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
1988 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
1989 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
1990 #define GL_CLAMP_VERTEX_COLOR 0x891A
1991 #define GL_CLAMP_FRAGMENT_COLOR 0x891B
1992 #define GL_CLAMP_READ_COLOR 0x891C
1993 #define GL_FIXED_ONLY 0x891D
1994 #define GL_TEXTURE_RED_TYPE 0x8C10
1995 #define GL_TEXTURE_GREEN_TYPE 0x8C11
1996 #define GL_TEXTURE_BLUE_TYPE 0x8C12
1997 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
1998 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
1999 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
2000 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
2001 #define GL_UNSIGNED_NORMALIZED 0x8C17
2002 #define GL_TEXTURE_1D_ARRAY 0x8C18
2003 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
2004 #define GL_TEXTURE_2D_ARRAY 0x8C1A
2005 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
2006 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
2007 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
2008 #define GL_R11F_G11F_B10F 0x8C3A
2009 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
2010 #define GL_RGB9_E5 0x8C3D
2011 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
2012 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
2013 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
2014 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
2015 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
2016 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
2017 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
2018 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
2019 #define GL_PRIMITIVES_GENERATED 0x8C87
2020 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
2021 #define GL_RASTERIZER_DISCARD 0x8C89
2022 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
2023 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
2024 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
2025 #define GL_SEPARATE_ATTRIBS 0x8C8D
2026 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
2027 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
2028 #define GL_RGBA32UI 0x8D70
2029 #define GL_RGB32UI 0x8D71
2030 #define GL_RGBA16UI 0x8D76
2031 #define GL_RGB16UI 0x8D77
2032 #define GL_RGBA8UI 0x8D7C
2033 #define GL_RGB8UI 0x8D7D
2034 #define GL_RGBA32I 0x8D82
2035 #define GL_RGB32I 0x8D83
2036 #define GL_RGBA16I 0x8D88
2037 #define GL_RGB16I 0x8D89
2038 #define GL_RGBA8I 0x8D8E
2039 #define GL_RGB8I 0x8D8F
2040 #define GL_RED_INTEGER 0x8D94
2041 #define GL_GREEN_INTEGER 0x8D95
2042 #define GL_BLUE_INTEGER 0x8D96
2043 #define GL_ALPHA_INTEGER 0x8D97
2044 #define GL_RGB_INTEGER 0x8D98
2045 #define GL_RGBA_INTEGER 0x8D99
2046 #define GL_BGR_INTEGER 0x8D9A
2047 #define GL_BGRA_INTEGER 0x8D9B
2048 #define GL_SAMPLER_1D_ARRAY 0x8DC0
2049 #define GL_SAMPLER_2D_ARRAY 0x8DC1
2050 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
2051 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
2052 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
2053 #define GL_UNSIGNED_INT_VEC2 0x8DC6
2054 #define GL_UNSIGNED_INT_VEC3 0x8DC7
2055 #define GL_UNSIGNED_INT_VEC4 0x8DC8
2056 #define GL_INT_SAMPLER_1D 0x8DC9
2057 #define GL_INT_SAMPLER_2D 0x8DCA
2058 #define GL_INT_SAMPLER_3D 0x8DCB
2059 #define GL_INT_SAMPLER_CUBE 0x8DCC
2060 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
2061 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
2062 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
2063 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
2064 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
2065 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
2066 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
2067 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
2068 #define GL_QUERY_WAIT 0x8E13
2069 #define GL_QUERY_NO_WAIT 0x8E14
2070 #define GL_QUERY_BY_REGION_WAIT 0x8E15
2071 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
2072 
2073 typedef void (GLAPIENTRY * PFNGLBEGINCONDITIONALRENDERPROC) (GLuint, GLenum);
2074 typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum);
2075 typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASEPROC) (GLenum, GLuint, GLuint);
2076 typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGEPROC) (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
2077 typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONPROC) (GLuint, GLuint, const GLchar*);
2078 typedef void (GLAPIENTRY * PFNGLCLAMPCOLORPROC) (GLenum, GLenum);
2079 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFIPROC) (GLenum, GLint, GLfloat, GLint);
2080 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFVPROC) (GLenum, GLint, const GLfloat*);
2081 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERIVPROC) (GLenum, GLint, const GLint*);
2082 typedef void (GLAPIENTRY * PFNGLCLEARBUFFERUIVPROC) (GLenum, GLint, const GLuint*);
2083 typedef void (GLAPIENTRY * PFNGLCOLORMASKIPROC) (GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
2084 typedef void (GLAPIENTRY * PFNGLDISABLEIPROC) (GLenum, GLuint);
2085 typedef void (GLAPIENTRY * PFNGLENABLEIPROC) (GLenum, GLuint);
2086 typedef void (GLAPIENTRY * PFNGLENDCONDITIONALRENDERPROC) (void);
2087 typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKPROC) (void);
2088 typedef void (GLAPIENTRY * PFNGLGETBOOLEANI_VPROC) (GLenum, GLuint, GLboolean*);
2089 typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATALOCATIONPROC) (GLuint, const GLchar*);
2090 typedef void (GLAPIENTRY * PFNGLGETINTEGERI_VPROC) (GLenum, GLuint, GLint*);
2091 typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGIPROC) (GLenum, GLuint);
2092 typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIIVPROC) (GLenum, GLenum, GLint*);
2093 typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIUIVPROC) (GLenum, GLenum, GLuint*);
2094 typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint, GLuint, GLint*);
2095 typedef void (GLAPIENTRY * PFNGLGETUNIFORMUIVPROC) (GLuint, GLint, GLuint*);
2096 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIIVPROC) (GLuint, GLenum, GLint*);
2097 typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint, GLenum, GLuint*);
2098 typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDIPROC) (GLenum, GLuint);
2099 typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIIVPROC) (GLenum, GLenum, const GLint*);
2100 typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIUIVPROC) (GLenum, GLenum, const GLuint*);
2101 typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint, GLsizei, const GLint*, GLenum);
2102 typedef void (GLAPIENTRY * PFNGLUNIFORM1UIPROC) (GLint, GLuint);
2103 typedef void (GLAPIENTRY * PFNGLUNIFORM1UIVPROC) (GLint, GLsizei, const GLuint*);
2104 typedef void (GLAPIENTRY * PFNGLUNIFORM2UIPROC) (GLint, GLuint, GLuint);
2105 typedef void (GLAPIENTRY * PFNGLUNIFORM2UIVPROC) (GLint, GLsizei, const GLuint*);
2106 typedef void (GLAPIENTRY * PFNGLUNIFORM3UIPROC) (GLint, GLuint, GLuint, GLuint);
2107 typedef void (GLAPIENTRY * PFNGLUNIFORM3UIVPROC) (GLint, GLsizei, const GLuint*);
2108 typedef void (GLAPIENTRY * PFNGLUNIFORM4UIPROC) (GLint, GLuint, GLuint, GLuint, GLuint);
2109 typedef void (GLAPIENTRY * PFNGLUNIFORM4UIVPROC) (GLint, GLsizei, const GLuint*);
2110 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IPROC) (GLuint, GLint);
2111 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IVPROC) (GLuint, const GLint*);
2112 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIPROC) (GLuint, GLuint);
2113 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIVPROC) (GLuint, const GLuint*);
2114 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IPROC) (GLuint, GLint, GLint);
2115 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IVPROC) (GLuint, const GLint*);
2116 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIPROC) (GLuint, GLuint, GLuint);
2117 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIVPROC) (GLuint, const GLuint*);
2118 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IPROC) (GLuint, GLint, GLint, GLint);
2119 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IVPROC) (GLuint, const GLint*);
2120 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIPROC) (GLuint, GLuint, GLuint, GLuint);
2121 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIVPROC) (GLuint, const GLuint*);
2122 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4BVPROC) (GLuint, const GLbyte*);
2123 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IPROC) (GLuint, GLint, GLint, GLint, GLint);
2124 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IVPROC) (GLuint, const GLint*);
2125 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4SVPROC) (GLuint, const GLshort*);
2126 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UBVPROC) (GLuint, const GLubyte*);
2127 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIPROC) (GLuint, GLuint, GLuint, GLuint, GLuint);
2128 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIVPROC) (GLuint, const GLuint*);
2129 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4USVPROC) (GLuint, const GLushort*);
2130 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint, GLint, GLenum, GLsizei, const GLvoid*);
2131 
2132 #define glBeginConditionalRender GLEW_GET_FUN(__glewBeginConditionalRender)
2133 #define glBeginTransformFeedback GLEW_GET_FUN(__glewBeginTransformFeedback)
2134 #define glBindBufferBase GLEW_GET_FUN(__glewBindBufferBase)
2135 #define glBindBufferRange GLEW_GET_FUN(__glewBindBufferRange)
2136 #define glBindFragDataLocation GLEW_GET_FUN(__glewBindFragDataLocation)
2137 #define glClampColor GLEW_GET_FUN(__glewClampColor)
2138 #define glClearBufferfi GLEW_GET_FUN(__glewClearBufferfi)
2139 #define glClearBufferfv GLEW_GET_FUN(__glewClearBufferfv)
2140 #define glClearBufferiv GLEW_GET_FUN(__glewClearBufferiv)
2141 #define glClearBufferuiv GLEW_GET_FUN(__glewClearBufferuiv)
2142 #define glColorMaski GLEW_GET_FUN(__glewColorMaski)
2143 #define glDisablei GLEW_GET_FUN(__glewDisablei)
2144 #define glEnablei GLEW_GET_FUN(__glewEnablei)
2145 #define glEndConditionalRender GLEW_GET_FUN(__glewEndConditionalRender)
2146 #define glEndTransformFeedback GLEW_GET_FUN(__glewEndTransformFeedback)
2147 #define glGetBooleani_v GLEW_GET_FUN(__glewGetBooleani_v)
2148 #define glGetFragDataLocation GLEW_GET_FUN(__glewGetFragDataLocation)
2149 #define glGetIntegeri_v GLEW_GET_FUN(__glewGetIntegeri_v)
2150 #define glGetStringi GLEW_GET_FUN(__glewGetStringi)
2151 #define glGetTexParameterIiv GLEW_GET_FUN(__glewGetTexParameterIiv)
2152 #define glGetTexParameterIuiv GLEW_GET_FUN(__glewGetTexParameterIuiv)
2153 #define glGetTransformFeedbackVarying GLEW_GET_FUN(__glewGetTransformFeedbackVarying)
2154 #define glGetUniformuiv GLEW_GET_FUN(__glewGetUniformuiv)
2155 #define glGetVertexAttribIiv GLEW_GET_FUN(__glewGetVertexAttribIiv)
2156 #define glGetVertexAttribIuiv GLEW_GET_FUN(__glewGetVertexAttribIuiv)
2157 #define glIsEnabledi GLEW_GET_FUN(__glewIsEnabledi)
2158 #define glTexParameterIiv GLEW_GET_FUN(__glewTexParameterIiv)
2159 #define glTexParameterIuiv GLEW_GET_FUN(__glewTexParameterIuiv)
2160 #define glTransformFeedbackVaryings GLEW_GET_FUN(__glewTransformFeedbackVaryings)
2161 #define glUniform1ui GLEW_GET_FUN(__glewUniform1ui)
2162 #define glUniform1uiv GLEW_GET_FUN(__glewUniform1uiv)
2163 #define glUniform2ui GLEW_GET_FUN(__glewUniform2ui)
2164 #define glUniform2uiv GLEW_GET_FUN(__glewUniform2uiv)
2165 #define glUniform3ui GLEW_GET_FUN(__glewUniform3ui)
2166 #define glUniform3uiv GLEW_GET_FUN(__glewUniform3uiv)
2167 #define glUniform4ui GLEW_GET_FUN(__glewUniform4ui)
2168 #define glUniform4uiv GLEW_GET_FUN(__glewUniform4uiv)
2169 #define glVertexAttribI1i GLEW_GET_FUN(__glewVertexAttribI1i)
2170 #define glVertexAttribI1iv GLEW_GET_FUN(__glewVertexAttribI1iv)
2171 #define glVertexAttribI1ui GLEW_GET_FUN(__glewVertexAttribI1ui)
2172 #define glVertexAttribI1uiv GLEW_GET_FUN(__glewVertexAttribI1uiv)
2173 #define glVertexAttribI2i GLEW_GET_FUN(__glewVertexAttribI2i)
2174 #define glVertexAttribI2iv GLEW_GET_FUN(__glewVertexAttribI2iv)
2175 #define glVertexAttribI2ui GLEW_GET_FUN(__glewVertexAttribI2ui)
2176 #define glVertexAttribI2uiv GLEW_GET_FUN(__glewVertexAttribI2uiv)
2177 #define glVertexAttribI3i GLEW_GET_FUN(__glewVertexAttribI3i)
2178 #define glVertexAttribI3iv GLEW_GET_FUN(__glewVertexAttribI3iv)
2179 #define glVertexAttribI3ui GLEW_GET_FUN(__glewVertexAttribI3ui)
2180 #define glVertexAttribI3uiv GLEW_GET_FUN(__glewVertexAttribI3uiv)
2181 #define glVertexAttribI4bv GLEW_GET_FUN(__glewVertexAttribI4bv)
2182 #define glVertexAttribI4i GLEW_GET_FUN(__glewVertexAttribI4i)
2183 #define glVertexAttribI4iv GLEW_GET_FUN(__glewVertexAttribI4iv)
2184 #define glVertexAttribI4sv GLEW_GET_FUN(__glewVertexAttribI4sv)
2185 #define glVertexAttribI4ubv GLEW_GET_FUN(__glewVertexAttribI4ubv)
2186 #define glVertexAttribI4ui GLEW_GET_FUN(__glewVertexAttribI4ui)
2187 #define glVertexAttribI4uiv GLEW_GET_FUN(__glewVertexAttribI4uiv)
2188 #define glVertexAttribI4usv GLEW_GET_FUN(__glewVertexAttribI4usv)
2189 #define glVertexAttribIPointer GLEW_GET_FUN(__glewVertexAttribIPointer)
2190 
2191 #define GLEW_VERSION_3_0 GLEW_GET_VAR(__GLEW_VERSION_3_0)
2192 
2193 #endif /* GL_VERSION_3_0 */
2194 
2195 /* -------------------------- GL_3DFX_multisample -------------------------- */
2196 
2197 #ifndef GL_3DFX_multisample
2198 #define GL_3DFX_multisample 1
2199 
2200 #define GL_MULTISAMPLE_3DFX 0x86B2
2201 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
2202 #define GL_SAMPLES_3DFX 0x86B4
2203 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
2204 
2205 #define GLEW_3DFX_multisample GLEW_GET_VAR(__GLEW_3DFX_multisample)
2206 
2207 #endif /* GL_3DFX_multisample */
2208 
2209 /* ---------------------------- GL_3DFX_tbuffer ---------------------------- */
2210 
2211 #ifndef GL_3DFX_tbuffer
2212 #define GL_3DFX_tbuffer 1
2213 
2214 typedef void (GLAPIENTRY * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
2215 
2216 #define glTbufferMask3DFX GLEW_GET_FUN(__glewTbufferMask3DFX)
2217 
2218 #define GLEW_3DFX_tbuffer GLEW_GET_VAR(__GLEW_3DFX_tbuffer)
2219 
2220 #endif /* GL_3DFX_tbuffer */
2221 
2222 /* -------------------- GL_3DFX_texture_compression_FXT1 ------------------- */
2223 
2224 #ifndef GL_3DFX_texture_compression_FXT1
2225 #define GL_3DFX_texture_compression_FXT1 1
2226 
2227 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
2228 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
2229 
2230 #define GLEW_3DFX_texture_compression_FXT1 GLEW_GET_VAR(__GLEW_3DFX_texture_compression_FXT1)
2231 
2232 #endif /* GL_3DFX_texture_compression_FXT1 */
2233 
2234 /* ------------------------ GL_APPLE_client_storage ------------------------ */
2235 
2236 #ifndef GL_APPLE_client_storage
2237 #define GL_APPLE_client_storage 1
2238 
2239 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
2240 
2241 #define GLEW_APPLE_client_storage GLEW_GET_VAR(__GLEW_APPLE_client_storage)
2242 
2243 #endif /* GL_APPLE_client_storage */
2244 
2245 /* ------------------------- GL_APPLE_element_array ------------------------ */
2246 
2247 #ifndef GL_APPLE_element_array
2248 #define GL_APPLE_element_array 1
2249 
2250 #define GL_ELEMENT_ARRAY_APPLE 0x8768
2251 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8769
2252 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x876A
2253 
2254 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
2255 typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
2256 typedef void (GLAPIENTRY * PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void* pointer);
2257 typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount);
2258 typedef void (GLAPIENTRY * PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei *count, GLsizei primcount);
2259 
2260 #define glDrawElementArrayAPPLE GLEW_GET_FUN(__glewDrawElementArrayAPPLE)
2261 #define glDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewDrawRangeElementArrayAPPLE)
2262 #define glElementPointerAPPLE GLEW_GET_FUN(__glewElementPointerAPPLE)
2263 #define glMultiDrawElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawElementArrayAPPLE)
2264 #define glMultiDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawRangeElementArrayAPPLE)
2265 
2266 #define GLEW_APPLE_element_array GLEW_GET_VAR(__GLEW_APPLE_element_array)
2267 
2268 #endif /* GL_APPLE_element_array */
2269 
2270 /* ----------------------------- GL_APPLE_fence ---------------------------- */
2271 
2272 #ifndef GL_APPLE_fence
2273 #define GL_APPLE_fence 1
2274 
2275 #define GL_DRAW_PIXELS_APPLE 0x8A0A
2276 #define GL_FENCE_APPLE 0x8A0B
2277 
2278 typedef void (GLAPIENTRY * PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint* fences);
2279 typedef void (GLAPIENTRY * PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
2280 typedef void (GLAPIENTRY * PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
2281 typedef void (GLAPIENTRY * PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint* fences);
2282 typedef GLboolean (GLAPIENTRY * PFNGLISFENCEAPPLEPROC) (GLuint fence);
2283 typedef void (GLAPIENTRY * PFNGLSETFENCEAPPLEPROC) (GLuint fence);
2284 typedef GLboolean (GLAPIENTRY * PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
2285 typedef GLboolean (GLAPIENTRY * PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
2286 
2287 #define glDeleteFencesAPPLE GLEW_GET_FUN(__glewDeleteFencesAPPLE)
2288 #define glFinishFenceAPPLE GLEW_GET_FUN(__glewFinishFenceAPPLE)
2289 #define glFinishObjectAPPLE GLEW_GET_FUN(__glewFinishObjectAPPLE)
2290 #define glGenFencesAPPLE GLEW_GET_FUN(__glewGenFencesAPPLE)
2291 #define glIsFenceAPPLE GLEW_GET_FUN(__glewIsFenceAPPLE)
2292 #define glSetFenceAPPLE GLEW_GET_FUN(__glewSetFenceAPPLE)
2293 #define glTestFenceAPPLE GLEW_GET_FUN(__glewTestFenceAPPLE)
2294 #define glTestObjectAPPLE GLEW_GET_FUN(__glewTestObjectAPPLE)
2295 
2296 #define GLEW_APPLE_fence GLEW_GET_VAR(__GLEW_APPLE_fence)
2297 
2298 #endif /* GL_APPLE_fence */
2299 
2300 /* ------------------------- GL_APPLE_float_pixels ------------------------- */
2301 
2302 #ifndef GL_APPLE_float_pixels
2303 #define GL_APPLE_float_pixels 1
2304 
2305 #define GL_HALF_APPLE 0x140B
2306 #define GL_RGBA_FLOAT32_APPLE 0x8814
2307 #define GL_RGB_FLOAT32_APPLE 0x8815
2308 #define GL_ALPHA_FLOAT32_APPLE 0x8816
2309 #define GL_INTENSITY_FLOAT32_APPLE 0x8817
2310 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
2311 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
2312 #define GL_RGBA_FLOAT16_APPLE 0x881A
2313 #define GL_RGB_FLOAT16_APPLE 0x881B
2314 #define GL_ALPHA_FLOAT16_APPLE 0x881C
2315 #define GL_INTENSITY_FLOAT16_APPLE 0x881D
2316 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
2317 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
2318 #define GL_COLOR_FLOAT_APPLE 0x8A0F
2319 
2320 #define GLEW_APPLE_float_pixels GLEW_GET_VAR(__GLEW_APPLE_float_pixels)
2321 
2322 #endif /* GL_APPLE_float_pixels */
2323 
2324 /* ---------------------- GL_APPLE_flush_buffer_range ---------------------- */
2325 
2326 #ifndef GL_APPLE_flush_buffer_range
2327 #define GL_APPLE_flush_buffer_range 1
2328 
2329 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
2330 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
2331 
2332 typedef void (GLAPIENTRY * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
2333 typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
2334 
2335 #define glBufferParameteriAPPLE GLEW_GET_FUN(__glewBufferParameteriAPPLE)
2336 #define glFlushMappedBufferRangeAPPLE GLEW_GET_FUN(__glewFlushMappedBufferRangeAPPLE)
2337 
2338 #define GLEW_APPLE_flush_buffer_range GLEW_GET_VAR(__GLEW_APPLE_flush_buffer_range)
2339 
2340 #endif /* GL_APPLE_flush_buffer_range */
2341 
2342 /* ------------------------- GL_APPLE_pixel_buffer ------------------------- */
2343 
2344 #ifndef GL_APPLE_pixel_buffer
2345 #define GL_APPLE_pixel_buffer 1
2346 
2347 #define GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10
2348 
2349 #define GLEW_APPLE_pixel_buffer GLEW_GET_VAR(__GLEW_APPLE_pixel_buffer)
2350 
2351 #endif /* GL_APPLE_pixel_buffer */
2352 
2353 /* ------------------------ GL_APPLE_specular_vector ----------------------- */
2354 
2355 #ifndef GL_APPLE_specular_vector
2356 #define GL_APPLE_specular_vector 1
2357 
2358 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
2359 
2360 #define GLEW_APPLE_specular_vector GLEW_GET_VAR(__GLEW_APPLE_specular_vector)
2361 
2362 #endif /* GL_APPLE_specular_vector */
2363 
2364 /* ------------------------- GL_APPLE_texture_range ------------------------ */
2365 
2366 #ifndef GL_APPLE_texture_range
2367 #define GL_APPLE_texture_range 1
2368 
2369 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
2370 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
2371 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
2372 #define GL_STORAGE_PRIVATE_APPLE 0x85BD
2373 #define GL_STORAGE_CACHED_APPLE 0x85BE
2374 #define GL_STORAGE_SHARED_APPLE 0x85BF
2375 
2376 typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid **params);
2377 typedef void (GLAPIENTRY * PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, GLvoid *pointer);
2378 
2379 #define glGetTexParameterPointervAPPLE GLEW_GET_FUN(__glewGetTexParameterPointervAPPLE)
2380 #define glTextureRangeAPPLE GLEW_GET_FUN(__glewTextureRangeAPPLE)
2381 
2382 #define GLEW_APPLE_texture_range GLEW_GET_VAR(__GLEW_APPLE_texture_range)
2383 
2384 #endif /* GL_APPLE_texture_range */
2385 
2386 /* ------------------------ GL_APPLE_transform_hint ------------------------ */
2387 
2388 #ifndef GL_APPLE_transform_hint
2389 #define GL_APPLE_transform_hint 1
2390 
2391 #define GL_TRANSFORM_HINT_APPLE 0x85B1
2392 
2393 #define GLEW_APPLE_transform_hint GLEW_GET_VAR(__GLEW_APPLE_transform_hint)
2394 
2395 #endif /* GL_APPLE_transform_hint */
2396 
2397 /* ---------------------- GL_APPLE_vertex_array_object --------------------- */
2398 
2399 #ifndef GL_APPLE_vertex_array_object
2400 #define GL_APPLE_vertex_array_object 1
2401 
2402 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
2403 
2404 typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
2405 typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays);
2406 typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays);
2407 typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
2408 
2409 #define glBindVertexArrayAPPLE GLEW_GET_FUN(__glewBindVertexArrayAPPLE)
2410 #define glDeleteVertexArraysAPPLE GLEW_GET_FUN(__glewDeleteVertexArraysAPPLE)
2411 #define glGenVertexArraysAPPLE GLEW_GET_FUN(__glewGenVertexArraysAPPLE)
2412 #define glIsVertexArrayAPPLE GLEW_GET_FUN(__glewIsVertexArrayAPPLE)
2413 
2414 #define GLEW_APPLE_vertex_array_object GLEW_GET_VAR(__GLEW_APPLE_vertex_array_object)
2415 
2416 #endif /* GL_APPLE_vertex_array_object */
2417 
2418 /* ---------------------- GL_APPLE_vertex_array_range ---------------------- */
2419 
2420 #ifndef GL_APPLE_vertex_array_range
2421 #define GL_APPLE_vertex_array_range 1
2422 
2423 #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
2424 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
2425 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
2426 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 0x8520
2427 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
2428 #define GL_STORAGE_CACHED_APPLE 0x85BE
2429 #define GL_STORAGE_SHARED_APPLE 0x85BF
2430 
2431 typedef void (GLAPIENTRY * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void* pointer);
2432 typedef void (GLAPIENTRY * PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
2433 typedef void (GLAPIENTRY * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void* pointer);
2434 
2435 #define glFlushVertexArrayRangeAPPLE GLEW_GET_FUN(__glewFlushVertexArrayRangeAPPLE)
2436 #define glVertexArrayParameteriAPPLE GLEW_GET_FUN(__glewVertexArrayParameteriAPPLE)
2437 #define glVertexArrayRangeAPPLE GLEW_GET_FUN(__glewVertexArrayRangeAPPLE)
2438 
2439 #define GLEW_APPLE_vertex_array_range GLEW_GET_VAR(__GLEW_APPLE_vertex_array_range)
2440 
2441 #endif /* GL_APPLE_vertex_array_range */
2442 
2443 /* --------------------------- GL_APPLE_ycbcr_422 -------------------------- */
2444 
2445 #ifndef GL_APPLE_ycbcr_422
2446 #define GL_APPLE_ycbcr_422 1
2447 
2448 #define GL_YCBCR_422_APPLE 0x85B9
2449 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
2450 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
2451 
2452 #define GLEW_APPLE_ycbcr_422 GLEW_GET_VAR(__GLEW_APPLE_ycbcr_422)
2453 
2454 #endif /* GL_APPLE_ycbcr_422 */
2455 
2456 /* ----------------------- GL_ARB_color_buffer_float ----------------------- */
2457 
2458 #ifndef GL_ARB_color_buffer_float
2459 #define GL_ARB_color_buffer_float 1
2460 
2461 #define GL_RGBA_FLOAT_MODE_ARB 0x8820
2462 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
2463 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
2464 #define GL_CLAMP_READ_COLOR_ARB 0x891C
2465 #define GL_FIXED_ONLY_ARB 0x891D
2466 
2467 typedef void (GLAPIENTRY * PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
2468 
2469 #define glClampColorARB GLEW_GET_FUN(__glewClampColorARB)
2470 
2471 #define GLEW_ARB_color_buffer_float GLEW_GET_VAR(__GLEW_ARB_color_buffer_float)
2472 
2473 #endif /* GL_ARB_color_buffer_float */
2474 
2475 /* ----------------------- GL_ARB_depth_buffer_float ----------------------- */
2476 
2477 #ifndef GL_ARB_depth_buffer_float
2478 #define GL_ARB_depth_buffer_float 1
2479 
2480 #define GL_DEPTH_COMPONENT32F 0x8CAC
2481 #define GL_DEPTH32F_STENCIL8 0x8CAD
2482 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
2483 
2484 #define GLEW_ARB_depth_buffer_float GLEW_GET_VAR(__GLEW_ARB_depth_buffer_float)
2485 
2486 #endif /* GL_ARB_depth_buffer_float */
2487 
2488 /* -------------------------- GL_ARB_depth_texture ------------------------- */
2489 
2490 #ifndef GL_ARB_depth_texture
2491 #define GL_ARB_depth_texture 1
2492 
2493 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
2494 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
2495 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
2496 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
2497 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
2498 
2499 #define GLEW_ARB_depth_texture GLEW_GET_VAR(__GLEW_ARB_depth_texture)
2500 
2501 #endif /* GL_ARB_depth_texture */
2502 
2503 /* -------------------------- GL_ARB_draw_buffers -------------------------- */
2504 
2505 #ifndef GL_ARB_draw_buffers
2506 #define GL_ARB_draw_buffers 1
2507 
2508 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
2509 #define GL_DRAW_BUFFER0_ARB 0x8825
2510 #define GL_DRAW_BUFFER1_ARB 0x8826
2511 #define GL_DRAW_BUFFER2_ARB 0x8827
2512 #define GL_DRAW_BUFFER3_ARB 0x8828
2513 #define GL_DRAW_BUFFER4_ARB 0x8829
2514 #define GL_DRAW_BUFFER5_ARB 0x882A
2515 #define GL_DRAW_BUFFER6_ARB 0x882B
2516 #define GL_DRAW_BUFFER7_ARB 0x882C
2517 #define GL_DRAW_BUFFER8_ARB 0x882D
2518 #define GL_DRAW_BUFFER9_ARB 0x882E
2519 #define GL_DRAW_BUFFER10_ARB 0x882F
2520 #define GL_DRAW_BUFFER11_ARB 0x8830
2521 #define GL_DRAW_BUFFER12_ARB 0x8831
2522 #define GL_DRAW_BUFFER13_ARB 0x8832
2523 #define GL_DRAW_BUFFER14_ARB 0x8833
2524 #define GL_DRAW_BUFFER15_ARB 0x8834
2525 
2526 typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum* bufs);
2527 
2528 #define glDrawBuffersARB GLEW_GET_FUN(__glewDrawBuffersARB)
2529 
2530 #define GLEW_ARB_draw_buffers GLEW_GET_VAR(__GLEW_ARB_draw_buffers)
2531 
2532 #endif /* GL_ARB_draw_buffers */
2533 
2534 /* ------------------------- GL_ARB_draw_instanced ------------------------- */
2535 
2536 #ifndef GL_ARB_draw_instanced
2537 #define GL_ARB_draw_instanced 1
2538 
2539 typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2540 typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount);
2541 
2542 #define glDrawArraysInstancedARB GLEW_GET_FUN(__glewDrawArraysInstancedARB)
2543 #define glDrawElementsInstancedARB GLEW_GET_FUN(__glewDrawElementsInstancedARB)
2544 
2545 #define GLEW_ARB_draw_instanced GLEW_GET_VAR(__GLEW_ARB_draw_instanced)
2546 
2547 #endif /* GL_ARB_draw_instanced */
2548 
2549 /* ------------------------ GL_ARB_fragment_program ------------------------ */
2550 
2551 #ifndef GL_ARB_fragment_program
2552 #define GL_ARB_fragment_program 1
2553 
2554 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
2555 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
2556 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
2557 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
2558 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
2559 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
2560 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
2561 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
2562 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
2563 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
2564 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
2565 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
2566 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
2567 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
2568 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
2569 
2570 #define GLEW_ARB_fragment_program GLEW_GET_VAR(__GLEW_ARB_fragment_program)
2571 
2572 #endif /* GL_ARB_fragment_program */
2573 
2574 /* --------------------- GL_ARB_fragment_program_shadow -------------------- */
2575 
2576 #ifndef GL_ARB_fragment_program_shadow
2577 #define GL_ARB_fragment_program_shadow 1
2578 
2579 #define GLEW_ARB_fragment_program_shadow GLEW_GET_VAR(__GLEW_ARB_fragment_program_shadow)
2580 
2581 #endif /* GL_ARB_fragment_program_shadow */
2582 
2583 /* ------------------------- GL_ARB_fragment_shader ------------------------ */
2584 
2585 #ifndef GL_ARB_fragment_shader
2586 #define GL_ARB_fragment_shader 1
2587 
2588 #define GL_FRAGMENT_SHADER_ARB 0x8B30
2589 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
2590 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
2591 
2592 #define GLEW_ARB_fragment_shader GLEW_GET_VAR(__GLEW_ARB_fragment_shader)
2593 
2594 #endif /* GL_ARB_fragment_shader */
2595 
2596 /* ----------------------- GL_ARB_framebuffer_object ----------------------- */
2597 
2598 #ifndef GL_ARB_framebuffer_object
2599 #define GL_ARB_framebuffer_object 1
2600 
2601 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
2602 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
2603 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
2604 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
2605 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
2606 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
2607 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
2608 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
2609 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
2610 #define GL_FRAMEBUFFER_DEFAULT 0x8218
2611 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
2612 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
2613 #define GL_INDEX 0x8222
2614 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
2615 #define GL_DEPTH_STENCIL 0x84F9
2616 #define GL_UNSIGNED_INT_24_8 0x84FA
2617 #define GL_DEPTH24_STENCIL8 0x88F0
2618 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
2619 #define GL_UNSIGNED_NORMALIZED 0x8C17
2620 #define GL_SRGB 0x8C40
2621 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
2622 #define GL_FRAMEBUFFER_BINDING 0x8CA6
2623 #define GL_RENDERBUFFER_BINDING 0x8CA7
2624 #define GL_READ_FRAMEBUFFER 0x8CA8
2625 #define GL_DRAW_FRAMEBUFFER 0x8CA9
2626 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
2627 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
2628 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
2629 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
2630 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
2631 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
2632 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
2633 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
2634 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
2635 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
2636 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
2637 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
2638 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
2639 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
2640 #define GL_COLOR_ATTACHMENT0 0x8CE0
2641 #define GL_COLOR_ATTACHMENT1 0x8CE1
2642 #define GL_COLOR_ATTACHMENT2 0x8CE2
2643 #define GL_COLOR_ATTACHMENT3 0x8CE3
2644 #define GL_COLOR_ATTACHMENT4 0x8CE4
2645 #define GL_COLOR_ATTACHMENT5 0x8CE5
2646 #define GL_COLOR_ATTACHMENT6 0x8CE6
2647 #define GL_COLOR_ATTACHMENT7 0x8CE7
2648 #define GL_COLOR_ATTACHMENT8 0x8CE8
2649 #define GL_COLOR_ATTACHMENT9 0x8CE9
2650 #define GL_COLOR_ATTACHMENT10 0x8CEA
2651 #define GL_COLOR_ATTACHMENT11 0x8CEB
2652 #define GL_COLOR_ATTACHMENT12 0x8CEC
2653 #define GL_COLOR_ATTACHMENT13 0x8CED
2654 #define GL_COLOR_ATTACHMENT14 0x8CEE
2655 #define GL_COLOR_ATTACHMENT15 0x8CEF
2656 #define GL_DEPTH_ATTACHMENT 0x8D00
2657 #define GL_STENCIL_ATTACHMENT 0x8D20
2658 #define GL_FRAMEBUFFER 0x8D40
2659 #define GL_RENDERBUFFER 0x8D41
2660 #define GL_RENDERBUFFER_WIDTH 0x8D42
2661 #define GL_RENDERBUFFER_HEIGHT 0x8D43
2662 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
2663 #define GL_STENCIL_INDEX1 0x8D46
2664 #define GL_STENCIL_INDEX4 0x8D47
2665 #define GL_STENCIL_INDEX8 0x8D48
2666 #define GL_STENCIL_INDEX16 0x8D49
2667 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
2668 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
2669 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
2670 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
2671 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
2672 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
2673 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
2674 #define GL_MAX_SAMPLES 0x8D57
2675 
2676 typedef void (GLAPIENTRY * PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
2677 typedef void (GLAPIENTRY * PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
2678 typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2679 typedef GLenum (GLAPIENTRY * PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
2680 typedef void (GLAPIENTRY * PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint* framebuffers);
2681 typedef void (GLAPIENTRY * PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint* renderbuffers);
2682 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2683 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURLAYERPROC) (GLenum target,GLenum attachment, GLuint texture,GLint level,GLint layer);
2684 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
2685 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
2686 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer);
2687 typedef void (GLAPIENTRY * PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint* framebuffers);
2688 typedef void (GLAPIENTRY * PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint* renderbuffers);
2689 typedef void (GLAPIENTRY * PFNGLGENERATEMIPMAPPROC) (GLenum target);
2690 typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
2691 typedef void (GLAPIENTRY * PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
2692 typedef GLboolean (GLAPIENTRY * PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
2693 typedef GLboolean (GLAPIENTRY * PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
2694 typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
2695 typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2696 
2697 #define glBindFramebuffer GLEW_GET_FUN(__glewBindFramebuffer)
2698 #define glBindRenderbuffer GLEW_GET_FUN(__glewBindRenderbuffer)
2699 #define glBlitFramebuffer GLEW_GET_FUN(__glewBlitFramebuffer)
2700 #define glCheckFramebufferStatus GLEW_GET_FUN(__glewCheckFramebufferStatus)
2701 #define glDeleteFramebuffers GLEW_GET_FUN(__glewDeleteFramebuffers)
2702 #define glDeleteRenderbuffers GLEW_GET_FUN(__glewDeleteRenderbuffers)
2703 #define glFramebufferRenderbuffer GLEW_GET_FUN(__glewFramebufferRenderbuffer)
2704 #define glFramebufferTexturLayer GLEW_GET_FUN(__glewFramebufferTexturLayer)
2705 #define glFramebufferTexture1D GLEW_GET_FUN(__glewFramebufferTexture1D)
2706 #define glFramebufferTexture2D GLEW_GET_FUN(__glewFramebufferTexture2D)
2707 #define glFramebufferTexture3D GLEW_GET_FUN(__glewFramebufferTexture3D)
2708 #define glGenFramebuffers GLEW_GET_FUN(__glewGenFramebuffers)
2709 #define glGenRenderbuffers GLEW_GET_FUN(__glewGenRenderbuffers)
2710 #define glGenerateMipmap GLEW_GET_FUN(__glewGenerateMipmap)
2711 #define glGetFramebufferAttachmentParameteriv GLEW_GET_FUN(__glewGetFramebufferAttachmentParameteriv)
2712 #define glGetRenderbufferParameteriv GLEW_GET_FUN(__glewGetRenderbufferParameteriv)
2713 #define glIsFramebuffer GLEW_GET_FUN(__glewIsFramebuffer)
2714 #define glIsRenderbuffer GLEW_GET_FUN(__glewIsRenderbuffer)
2715 #define glRenderbufferStorage GLEW_GET_FUN(__glewRenderbufferStorage)
2716 #define glRenderbufferStorageMultisample GLEW_GET_FUN(__glewRenderbufferStorageMultisample)
2717 
2718 #define GLEW_ARB_framebuffer_object GLEW_GET_VAR(__GLEW_ARB_framebuffer_object)
2719 
2720 #endif /* GL_ARB_framebuffer_object */
2721 
2722 /* ------------------------ GL_ARB_framebuffer_sRGB ------------------------ */
2723 
2724 #ifndef GL_ARB_framebuffer_sRGB
2725 #define GL_ARB_framebuffer_sRGB 1
2726 
2727 #define GL_FRAMEBUFFER_SRGB 0x8DB9
2728 
2729 #define GLEW_ARB_framebuffer_sRGB GLEW_GET_VAR(__GLEW_ARB_framebuffer_sRGB)
2730 
2731 #endif /* GL_ARB_framebuffer_sRGB */
2732 
2733 /* ------------------------ GL_ARB_geometry_shader4 ------------------------ */
2734 
2735 #ifndef GL_ARB_geometry_shader4
2736 #define GL_ARB_geometry_shader4 1
2737 
2738 #define GL_LINES_ADJACENCY_ARB 0xA
2739 #define GL_LINE_STRIP_ADJACENCY_ARB 0xB
2740 #define GL_TRIANGLES_ADJACENCY_ARB 0xC
2741 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0xD
2742 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
2743 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
2744 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
2745 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
2746 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
2747 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
2748 #define GL_GEOMETRY_SHADER_ARB 0x8DD9
2749 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
2750 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
2751 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
2752 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
2753 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
2754 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
2755 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
2756 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
2757 
2758 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
2759 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
2760 typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
2761 typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
2762 
2763 #define glFramebufferTextureARB GLEW_GET_FUN(__glewFramebufferTextureARB)
2764 #define glFramebufferTextureFaceARB GLEW_GET_FUN(__glewFramebufferTextureFaceARB)
2765 #define glFramebufferTextureLayerARB GLEW_GET_FUN(__glewFramebufferTextureLayerARB)
2766 #define glProgramParameteriARB GLEW_GET_FUN(__glewProgramParameteriARB)
2767 
2768 #define GLEW_ARB_geometry_shader4 GLEW_GET_VAR(__GLEW_ARB_geometry_shader4)
2769 
2770 #endif /* GL_ARB_geometry_shader4 */
2771 
2772 /* ------------------------ GL_ARB_half_float_pixel ------------------------ */
2773 
2774 #ifndef GL_ARB_half_float_pixel
2775 #define GL_ARB_half_float_pixel 1
2776 
2777 #define GL_HALF_FLOAT_ARB 0x140B
2778 
2779 #define GLEW_ARB_half_float_pixel GLEW_GET_VAR(__GLEW_ARB_half_float_pixel)
2780 
2781 #endif /* GL_ARB_half_float_pixel */
2782 
2783 /* ------------------------ GL_ARB_half_float_vertex ----------------------- */
2784 
2785 #ifndef GL_ARB_half_float_vertex
2786 #define GL_ARB_half_float_vertex 1
2787 
2788 #define GL_HALF_FLOAT 0x140B
2789 
2790 #define GLEW_ARB_half_float_vertex GLEW_GET_VAR(__GLEW_ARB_half_float_vertex)
2791 
2792 #endif /* GL_ARB_half_float_vertex */
2793 
2794 /* ----------------------------- GL_ARB_imaging ---------------------------- */
2795 
2796 #ifndef GL_ARB_imaging
2797 #define GL_ARB_imaging 1
2798 
2799 #define GL_CONSTANT_COLOR 0x8001
2800 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
2801 #define GL_CONSTANT_ALPHA 0x8003
2802 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
2803 #define GL_BLEND_COLOR 0x8005
2804 #define GL_FUNC_ADD 0x8006
2805 #define GL_MIN 0x8007
2806 #define GL_MAX 0x8008
2807 #define GL_BLEND_EQUATION 0x8009
2808 #define GL_FUNC_SUBTRACT 0x800A
2809 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
2810 #define GL_CONVOLUTION_1D 0x8010
2811 #define GL_CONVOLUTION_2D 0x8011
2812 #define GL_SEPARABLE_2D 0x8012
2813 #define GL_CONVOLUTION_BORDER_MODE 0x8013
2814 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
2815 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
2816 #define GL_REDUCE 0x8016
2817 #define GL_CONVOLUTION_FORMAT 0x8017
2818 #define GL_CONVOLUTION_WIDTH 0x8018
2819 #define GL_CONVOLUTION_HEIGHT 0x8019
2820 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
2821 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
2822 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
2823 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
2824 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
2825 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
2826 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
2827 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
2828 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
2829 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
2830 #define GL_HISTOGRAM 0x8024
2831 #define GL_PROXY_HISTOGRAM 0x8025
2832 #define GL_HISTOGRAM_WIDTH 0x8026
2833 #define GL_HISTOGRAM_FORMAT 0x8027
2834 #define GL_HISTOGRAM_RED_SIZE 0x8028
2835 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
2836 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
2837 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
2838 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
2839 #define GL_HISTOGRAM_SINK 0x802D
2840 #define GL_MINMAX 0x802E
2841 #define GL_MINMAX_FORMAT 0x802F
2842 #define GL_MINMAX_SINK 0x8030
2843 #define GL_TABLE_TOO_LARGE 0x8031
2844 #define GL_COLOR_MATRIX 0x80B1
2845 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
2846 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
2847 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
2848 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
2849 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
2850 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
2851 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
2852 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
2853 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
2854 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
2855 #define GL_COLOR_TABLE 0x80D0
2856 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
2857 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
2858 #define GL_PROXY_COLOR_TABLE 0x80D3
2859 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
2860 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
2861 #define GL_COLOR_TABLE_SCALE 0x80D6
2862 #define GL_COLOR_TABLE_BIAS 0x80D7
2863 #define GL_COLOR_TABLE_FORMAT 0x80D8
2864 #define GL_COLOR_TABLE_WIDTH 0x80D9
2865 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
2866 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
2867 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
2868 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
2869 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
2870 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
2871 #define GL_IGNORE_BORDER 0x8150
2872 #define GL_CONSTANT_BORDER 0x8151
2873 #define GL_WRAP_BORDER 0x8152
2874 #define GL_REPLICATE_BORDER 0x8153
2875 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
2876 
2877 typedef void (GLAPIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
2878 typedef void (GLAPIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
2879 typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
2880 typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
2881 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
2882 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
2883 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
2884 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
2885 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
2886 typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
2887 typedef void (GLAPIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
2888 typedef void (GLAPIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
2889 typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
2890 typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
2891 typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
2892 typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2893 typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2894 typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
2895 typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2896 typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2897 typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
2898 typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2899 typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2900 typedef void (GLAPIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values);
2901 typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2902 typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2903 typedef void (GLAPIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
2904 typedef void (GLAPIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
2905 typedef void (GLAPIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
2906 typedef void (GLAPIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target);
2907 typedef void (GLAPIENTRY * PFNGLRESETMINMAXPROC) (GLenum target);
2908 typedef void (GLAPIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
2909 
2910 #define glColorSubTable GLEW_GET_FUN(__glewColorSubTable)
2911 #define glColorTable GLEW_GET_FUN(__glewColorTable)
2912 #define glColorTableParameterfv GLEW_GET_FUN(__glewColorTableParameterfv)
2913 #define glColorTableParameteriv GLEW_GET_FUN(__glewColorTableParameteriv)
2914 #define glConvolutionFilter1D GLEW_GET_FUN(__glewConvolutionFilter1D)
2915 #define glConvolutionFilter2D GLEW_GET_FUN(__glewConvolutionFilter2D)
2916 #define glConvolutionParameterf GLEW_GET_FUN(__glewConvolutionParameterf)
2917 #define glConvolutionParameterfv GLEW_GET_FUN(__glewConvolutionParameterfv)
2918 #define glConvolutionParameteri GLEW_GET_FUN(__glewConvolutionParameteri)
2919 #define glConvolutionParameteriv GLEW_GET_FUN(__glewConvolutionParameteriv)
2920 #define glCopyColorSubTable GLEW_GET_FUN(__glewCopyColorSubTable)
2921 #define glCopyColorTable GLEW_GET_FUN(__glewCopyColorTable)
2922 #define glCopyConvolutionFilter1D GLEW_GET_FUN(__glewCopyConvolutionFilter1D)
2923 #define glCopyConvolutionFilter2D GLEW_GET_FUN(__glewCopyConvolutionFilter2D)
2924 #define glGetColorTable GLEW_GET_FUN(__glewGetColorTable)
2925 #define glGetColorTableParameterfv GLEW_GET_FUN(__glewGetColorTableParameterfv)
2926 #define glGetColorTableParameteriv GLEW_GET_FUN(__glewGetColorTableParameteriv)
2927 #define glGetConvolutionFilter GLEW_GET_FUN(__glewGetConvolutionFilter)
2928 #define glGetConvolutionParameterfv GLEW_GET_FUN(__glewGetConvolutionParameterfv)
2929 #define glGetConvolutionParameteriv GLEW_GET_FUN(__glewGetConvolutionParameteriv)
2930 #define glGetHistogram GLEW_GET_FUN(__glewGetHistogram)
2931 #define glGetHistogramParameterfv GLEW_GET_FUN(__glewGetHistogramParameterfv)
2932 #define glGetHistogramParameteriv GLEW_GET_FUN(__glewGetHistogramParameteriv)
2933 #define glGetMinmax GLEW_GET_FUN(__glewGetMinmax)
2934 #define glGetMinmaxParameterfv GLEW_GET_FUN(__glewGetMinmaxParameterfv)
2935 #define glGetMinmaxParameteriv GLEW_GET_FUN(__glewGetMinmaxParameteriv)
2936 #define glGetSeparableFilter GLEW_GET_FUN(__glewGetSeparableFilter)
2937 #define glHistogram GLEW_GET_FUN(__glewHistogram)
2938 #define glMinmax GLEW_GET_FUN(__glewMinmax)
2939 #define glResetHistogram GLEW_GET_FUN(__glewResetHistogram)
2940 #define glResetMinmax GLEW_GET_FUN(__glewResetMinmax)
2941 #define glSeparableFilter2D GLEW_GET_FUN(__glewSeparableFilter2D)
2942 
2943 #define GLEW_ARB_imaging GLEW_GET_VAR(__GLEW_ARB_imaging)
2944 
2945 #endif /* GL_ARB_imaging */
2946 
2947 /* ------------------------ GL_ARB_instanced_arrays ------------------------ */
2948 
2949 #ifndef GL_ARB_instanced_arrays
2950 #define GL_ARB_instanced_arrays 1
2951 
2952 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
2953 
2954 typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
2955 
2956 #define glVertexAttribDivisorARB GLEW_GET_FUN(__glewVertexAttribDivisorARB)
2957 
2958 #define GLEW_ARB_instanced_arrays GLEW_GET_VAR(__GLEW_ARB_instanced_arrays)
2959 
2960 #endif /* GL_ARB_instanced_arrays */
2961 
2962 /* ------------------------ GL_ARB_map_buffer_range ------------------------ */
2963 
2964 #ifndef GL_ARB_map_buffer_range
2965 #define GL_ARB_map_buffer_range 1
2966 
2967 #define GL_MAP_READ_BIT 0x0001
2968 #define GL_MAP_WRITE_BIT 0x0002
2969 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
2970 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
2971 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
2972 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
2973 
2974 typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
2975 typedef GLvoid * (GLAPIENTRY * PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
2976 
2977 #define glFlushMappedBufferRange GLEW_GET_FUN(__glewFlushMappedBufferRange)
2978 #define glMapBufferRange GLEW_GET_FUN(__glewMapBufferRange)
2979 
2980 #define GLEW_ARB_map_buffer_range GLEW_GET_VAR(__GLEW_ARB_map_buffer_range)
2981 
2982 #endif /* GL_ARB_map_buffer_range */
2983 
2984 /* ------------------------- GL_ARB_matrix_palette ------------------------- */
2985 
2986 #ifndef GL_ARB_matrix_palette
2987 #define GL_ARB_matrix_palette 1
2988 
2989 #define GL_MATRIX_PALETTE_ARB 0x8840
2990 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
2991 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
2992 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
2993 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
2994 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
2995 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
2996 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
2997 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
2998 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
2999 
3000 typedef void (GLAPIENTRY * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3001 typedef void (GLAPIENTRY * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
3002 typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, GLubyte *indices);
3003 typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, GLuint *indices);
3004 typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, GLushort *indices);
3005 
3006 #define glCurrentPaletteMatrixARB GLEW_GET_FUN(__glewCurrentPaletteMatrixARB)
3007 #define glMatrixIndexPointerARB GLEW_GET_FUN(__glewMatrixIndexPointerARB)
3008 #define glMatrixIndexubvARB GLEW_GET_FUN(__glewMatrixIndexubvARB)
3009 #define glMatrixIndexuivARB GLEW_GET_FUN(__glewMatrixIndexuivARB)
3010 #define glMatrixIndexusvARB GLEW_GET_FUN(__glewMatrixIndexusvARB)
3011 
3012 #define GLEW_ARB_matrix_palette GLEW_GET_VAR(__GLEW_ARB_matrix_palette)
3013 
3014 #endif /* GL_ARB_matrix_palette */
3015 
3016 /* --------------------------- GL_ARB_multisample -------------------------- */
3017 
3018 #ifndef GL_ARB_multisample
3019 #define GL_ARB_multisample 1
3020 
3021 #define GL_MULTISAMPLE_ARB 0x809D
3022 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
3023 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
3024 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
3025 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
3026 #define GL_SAMPLES_ARB 0x80A9
3027 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
3028 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
3029 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
3030 
3031 typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
3032 
3033 #define glSampleCoverageARB GLEW_GET_FUN(__glewSampleCoverageARB)
3034 
3035 #define GLEW_ARB_multisample GLEW_GET_VAR(__GLEW_ARB_multisample)
3036 
3037 #endif /* GL_ARB_multisample */
3038 
3039 /* -------------------------- GL_ARB_multitexture -------------------------- */
3040 
3041 #ifndef GL_ARB_multitexture
3042 #define GL_ARB_multitexture 1
3043 
3044 #define GL_TEXTURE0_ARB 0x84C0
3045 #define GL_TEXTURE1_ARB 0x84C1
3046 #define GL_TEXTURE2_ARB 0x84C2
3047 #define GL_TEXTURE3_ARB 0x84C3
3048 #define GL_TEXTURE4_ARB 0x84C4
3049 #define GL_TEXTURE5_ARB 0x84C5
3050 #define GL_TEXTURE6_ARB 0x84C6
3051 #define GL_TEXTURE7_ARB 0x84C7
3052 #define GL_TEXTURE8_ARB 0x84C8
3053 #define GL_TEXTURE9_ARB 0x84C9
3054 #define GL_TEXTURE10_ARB 0x84CA
3055 #define GL_TEXTURE11_ARB 0x84CB
3056 #define GL_TEXTURE12_ARB 0x84CC
3057 #define GL_TEXTURE13_ARB 0x84CD
3058 #define GL_TEXTURE14_ARB 0x84CE
3059 #define GL_TEXTURE15_ARB 0x84CF
3060 #define GL_TEXTURE16_ARB 0x84D0
3061 #define GL_TEXTURE17_ARB 0x84D1
3062 #define GL_TEXTURE18_ARB 0x84D2
3063 #define GL_TEXTURE19_ARB 0x84D3
3064 #define GL_TEXTURE20_ARB 0x84D4
3065 #define GL_TEXTURE21_ARB 0x84D5
3066 #define GL_TEXTURE22_ARB 0x84D6
3067 #define GL_TEXTURE23_ARB 0x84D7
3068 #define GL_TEXTURE24_ARB 0x84D8
3069 #define GL_TEXTURE25_ARB 0x84D9
3070 #define GL_TEXTURE26_ARB 0x84DA
3071 #define GL_TEXTURE27_ARB 0x84DB
3072 #define GL_TEXTURE28_ARB 0x84DC
3073 #define GL_TEXTURE29_ARB 0x84DD
3074 #define GL_TEXTURE30_ARB 0x84DE
3075 #define GL_TEXTURE31_ARB 0x84DF
3076 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
3077 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
3078 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
3079 
3080 typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3081 typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3082 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3083 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3084 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3085 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3086 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3087 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3088 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3089 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3090 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3091 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3092 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3093 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3094 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3095 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3096 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
3097 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
3098 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3099 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
3100 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3101 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
3102 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
3103 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
3104 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3105 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
3106 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3107 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
3108 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3109 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
3110 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3111 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
3112 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3113 typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
3114 
3115 #define glActiveTextureARB GLEW_GET_FUN(__glewActiveTextureARB)
3116 #define glClientActiveTextureARB GLEW_GET_FUN(__glewClientActiveTextureARB)
3117 #define glMultiTexCoord1dARB GLEW_GET_FUN(__glewMultiTexCoord1dARB)
3118 #define glMultiTexCoord1dvARB GLEW_GET_FUN(__glewMultiTexCoord1dvARB)
3119 #define glMultiTexCoord1fARB GLEW_GET_FUN(__glewMultiTexCoord1fARB)
3120 #define glMultiTexCoord1fvARB GLEW_GET_FUN(__glewMultiTexCoord1fvARB)
3121 #define glMultiTexCoord1iARB GLEW_GET_FUN(__glewMultiTexCoord1iARB)
3122 #define glMultiTexCoord1ivARB GLEW_GET_FUN(__glewMultiTexCoord1ivARB)
3123 #define glMultiTexCoord1sARB GLEW_GET_FUN(__glewMultiTexCoord1sARB)
3124 #define glMultiTexCoord1svARB GLEW_GET_FUN(__glewMultiTexCoord1svARB)
3125 #define glMultiTexCoord2dARB GLEW_GET_FUN(__glewMultiTexCoord2dARB)
3126 #define glMultiTexCoord2dvARB GLEW_GET_FUN(__glewMultiTexCoord2dvARB)
3127 #define glMultiTexCoord2fARB GLEW_GET_FUN(__glewMultiTexCoord2fARB)
3128 #define glMultiTexCoord2fvARB GLEW_GET_FUN(__glewMultiTexCoord2fvARB)
3129 #define glMultiTexCoord2iARB GLEW_GET_FUN(__glewMultiTexCoord2iARB)
3130 #define glMultiTexCoord2ivARB GLEW_GET_FUN(__glewMultiTexCoord2ivARB)
3131 #define glMultiTexCoord2sARB GLEW_GET_FUN(__glewMultiTexCoord2sARB)
3132 #define glMultiTexCoord2svARB GLEW_GET_FUN(__glewMultiTexCoord2svARB)
3133 #define glMultiTexCoord3dARB GLEW_GET_FUN(__glewMultiTexCoord3dARB)
3134 #define glMultiTexCoord3dvARB GLEW_GET_FUN(__glewMultiTexCoord3dvARB)
3135 #define glMultiTexCoord3fARB GLEW_GET_FUN(__glewMultiTexCoord3fARB)
3136 #define glMultiTexCoord3fvARB GLEW_GET_FUN(__glewMultiTexCoord3fvARB)
3137 #define glMultiTexCoord3iARB GLEW_GET_FUN(__glewMultiTexCoord3iARB)
3138 #define glMultiTexCoord3ivARB GLEW_GET_FUN(__glewMultiTexCoord3ivARB)
3139 #define glMultiTexCoord3sARB GLEW_GET_FUN(__glewMultiTexCoord3sARB)
3140 #define glMultiTexCoord3svARB GLEW_GET_FUN(__glewMultiTexCoord3svARB)
3141 #define glMultiTexCoord4dARB GLEW_GET_FUN(__glewMultiTexCoord4dARB)
3142 #define glMultiTexCoord4dvARB GLEW_GET_FUN(__glewMultiTexCoord4dvARB)
3143 #define glMultiTexCoord4fARB GLEW_GET_FUN(__glewMultiTexCoord4fARB)
3144 #define glMultiTexCoord4fvARB GLEW_GET_FUN(__glewMultiTexCoord4fvARB)
3145 #define glMultiTexCoord4iARB GLEW_GET_FUN(__glewMultiTexCoord4iARB)
3146 #define glMultiTexCoord4ivARB GLEW_GET_FUN(__glewMultiTexCoord4ivARB)
3147 #define glMultiTexCoord4sARB GLEW_GET_FUN(__glewMultiTexCoord4sARB)
3148 #define glMultiTexCoord4svARB GLEW_GET_FUN(__glewMultiTexCoord4svARB)
3149 
3150 #define GLEW_ARB_multitexture GLEW_GET_VAR(__GLEW_ARB_multitexture)
3151 
3152 #endif /* GL_ARB_multitexture */
3153 
3154 /* ------------------------- GL_ARB_occlusion_query ------------------------ */
3155 
3156 #ifndef GL_ARB_occlusion_query
3157 #define GL_ARB_occlusion_query 1
3158 
3159 #define GL_QUERY_COUNTER_BITS_ARB 0x8864
3160 #define GL_CURRENT_QUERY_ARB 0x8865
3161 #define GL_QUERY_RESULT_ARB 0x8866
3162 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
3163 #define GL_SAMPLES_PASSED_ARB 0x8914
3164 
3165 typedef void (GLAPIENTRY * PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
3166 typedef void (GLAPIENTRY * PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint* ids);
3167 typedef void (GLAPIENTRY * PFNGLENDQUERYARBPROC) (GLenum target);
3168 typedef void (GLAPIENTRY * PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint* ids);
3169 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint* params);
3170 typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint* params);
3171 typedef void (GLAPIENTRY * PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint* params);
3172 typedef GLboolean (GLAPIENTRY * PFNGLISQUERYARBPROC) (GLuint id);
3173 
3174 #define glBeginQueryARB GLEW_GET_FUN(__glewBeginQueryARB)
3175 #define glDeleteQueriesARB GLEW_GET_FUN(__glewDeleteQueriesARB)
3176 #define glEndQueryARB GLEW_GET_FUN(__glewEndQueryARB)
3177 #define glGenQueriesARB GLEW_GET_FUN(__glewGenQueriesARB)
3178 #define glGetQueryObjectivARB GLEW_GET_FUN(__glewGetQueryObjectivARB)
3179 #define glGetQueryObjectuivARB GLEW_GET_FUN(__glewGetQueryObjectuivARB)
3180 #define glGetQueryivARB GLEW_GET_FUN(__glewGetQueryivARB)
3181 #define glIsQueryARB GLEW_GET_FUN(__glewIsQueryARB)
3182 
3183 #define GLEW_ARB_occlusion_query GLEW_GET_VAR(__GLEW_ARB_occlusion_query)
3184 
3185 #endif /* GL_ARB_occlusion_query */
3186 
3187 /* ----------------------- GL_ARB_pixel_buffer_object ---------------------- */
3188 
3189 #ifndef GL_ARB_pixel_buffer_object
3190 #define GL_ARB_pixel_buffer_object 1
3191 
3192 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
3193 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
3194 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
3195 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
3196 
3197 #define GLEW_ARB_pixel_buffer_object GLEW_GET_VAR(__GLEW_ARB_pixel_buffer_object)
3198 
3199 #endif /* GL_ARB_pixel_buffer_object */
3200 
3201 /* ------------------------ GL_ARB_point_parameters ------------------------ */
3202 
3203 #ifndef GL_ARB_point_parameters
3204 #define GL_ARB_point_parameters 1
3205 
3206 #define GL_POINT_SIZE_MIN_ARB 0x8126
3207 #define GL_POINT_SIZE_MAX_ARB 0x8127
3208 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
3209 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
3210 
3211 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
3212 typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, GLfloat* params);
3213 
3214 #define glPointParameterfARB GLEW_GET_FUN(__glewPointParameterfARB)
3215 #define glPointParameterfvARB GLEW_GET_FUN(__glewPointParameterfvARB)
3216 
3217 #define GLEW_ARB_point_parameters GLEW_GET_VAR(__GLEW_ARB_point_parameters)
3218 
3219 #endif /* GL_ARB_point_parameters */
3220 
3221 /* -------------------------- GL_ARB_point_sprite -------------------------- */
3222 
3223 #ifndef GL_ARB_point_sprite
3224 #define GL_ARB_point_sprite 1
3225 
3226 #define GL_POINT_SPRITE_ARB 0x8861
3227 #define GL_COORD_REPLACE_ARB 0x8862
3228 
3229 #define GLEW_ARB_point_sprite GLEW_GET_VAR(__GLEW_ARB_point_sprite)
3230 
3231 #endif /* GL_ARB_point_sprite */
3232 
3233 /* ------------------------- GL_ARB_shader_objects ------------------------- */
3234 
3235 #ifndef GL_ARB_shader_objects
3236 #define GL_ARB_shader_objects 1
3237 
3238 #define GL_PROGRAM_OBJECT_ARB 0x8B40
3239 #define GL_SHADER_OBJECT_ARB 0x8B48
3240 #define GL_OBJECT_TYPE_ARB 0x8B4E
3241 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
3242 #define GL_FLOAT_VEC2_ARB 0x8B50
3243 #define GL_FLOAT_VEC3_ARB 0x8B51
3244 #define GL_FLOAT_VEC4_ARB 0x8B52
3245 #define GL_INT_VEC2_ARB 0x8B53
3246 #define GL_INT_VEC3_ARB 0x8B54
3247 #define GL_INT_VEC4_ARB 0x8B55
3248 #define GL_BOOL_ARB 0x8B56
3249 #define GL_BOOL_VEC2_ARB 0x8B57
3250 #define GL_BOOL_VEC3_ARB 0x8B58
3251 #define GL_BOOL_VEC4_ARB 0x8B59
3252 #define GL_FLOAT_MAT2_ARB 0x8B5A
3253 #define GL_FLOAT_MAT3_ARB 0x8B5B
3254 #define GL_FLOAT_MAT4_ARB 0x8B5C
3255 #define GL_SAMPLER_1D_ARB 0x8B5D
3256 #define GL_SAMPLER_2D_ARB 0x8B5E
3257 #define GL_SAMPLER_3D_ARB 0x8B5F
3258 #define GL_SAMPLER_CUBE_ARB 0x8B60
3259 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
3260 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
3261 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
3262 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
3263 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
3264 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
3265 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
3266 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
3267 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
3268 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
3269 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
3270 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
3271 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
3272 
3273 typedef char GLcharARB;
3274 typedef unsigned int GLhandleARB;
3275 
3276 typedef void (GLAPIENTRY * PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
3277 typedef void (GLAPIENTRY * PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
3278 typedef GLhandleARB (GLAPIENTRY * PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
3279 typedef GLhandleARB (GLAPIENTRY * PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
3280 typedef void (GLAPIENTRY * PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
3281 typedef void (GLAPIENTRY * PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
3282 typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name);
3283 typedef void (GLAPIENTRY * PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB *obj);
3284 typedef GLhandleARB (GLAPIENTRY * PFNGLGETHANDLEARBPROC) (GLenum pname);
3285 typedef void (GLAPIENTRY * PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *infoLog);
3286 typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat* params);
3287 typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint* params);
3288 typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *source);
3289 typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB* name);
3290 typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat* params);
3291 typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint* params);
3292 typedef void (GLAPIENTRY * PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
3293 typedef void (GLAPIENTRY * PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint *length);
3294 typedef void (GLAPIENTRY * PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
3295 typedef void (GLAPIENTRY * PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
3296 typedef void (GLAPIENTRY * PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
3297 typedef void (GLAPIENTRY * PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint* value);
3298 typedef void (GLAPIENTRY * PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
3299 typedef void (GLAPIENTRY * PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
3300 typedef void (GLAPIENTRY * PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
3301 typedef void (GLAPIENTRY * PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint* value);
3302 typedef void (GLAPIENTRY * PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
3303 typedef void (GLAPIENTRY * PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
3304 typedef void (GLAPIENTRY * PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
3305 typedef void (GLAPIENTRY * PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint* value);
3306 typedef void (GLAPIENTRY * PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
3307 typedef void (GLAPIENTRY * PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
3308 typedef void (GLAPIENTRY * PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
3309 typedef void (GLAPIENTRY * PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint* value);
3310 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
3311 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
3312 typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
3313 typedef void (GLAPIENTRY * PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
3314 typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
3315 
3316 #define glAttachObjectARB GLEW_GET_FUN(__glewAttachObjectARB)
3317 #define glCompileShaderARB GLEW_GET_FUN(__glewCompileShaderARB)
3318 #define glCreateProgramObjectARB GLEW_GET_FUN(__glewCreateProgramObjectARB)
3319 #define glCreateShaderObjectARB GLEW_GET_FUN(__glewCreateShaderObjectARB)
3320 #define glDeleteObjectARB GLEW_GET_FUN(__glewDeleteObjectARB)
3321 #define glDetachObjectARB GLEW_GET_FUN(__glewDetachObjectARB)
3322 #define glGetActiveUniformARB GLEW_GET_FUN(__glewGetActiveUniformARB)
3323 #define glGetAttachedObjectsARB GLEW_GET_FUN(__glewGetAttachedObjectsARB)
3324 #define glGetHandleARB GLEW_GET_FUN(__glewGetHandleARB)
3325 #define glGetInfoLogARB GLEW_GET_FUN(__glewGetInfoLogARB)
3326 #define glGetObjectParameterfvARB GLEW_GET_FUN(__glewGetObjectParameterfvARB)
3327 #define glGetObjectParameterivARB GLEW_GET_FUN(__glewGetObjectParameterivARB)
3328 #define glGetShaderSourceARB GLEW_GET_FUN(__glewGetShaderSourceARB)
3329 #define glGetUniformLocationARB GLEW_GET_FUN(__glewGetUniformLocationARB)
3330 #define glGetUniformfvARB GLEW_GET_FUN(__glewGetUniformfvARB)
3331 #define glGetUniformivARB GLEW_GET_FUN(__glewGetUniformivARB)
3332 #define glLinkProgramARB GLEW_GET_FUN(__glewLinkProgramARB)
3333 #define glShaderSourceARB GLEW_GET_FUN(__glewShaderSourceARB)
3334 #define glUniform1fARB GLEW_GET_FUN(__glewUniform1fARB)
3335 #define glUniform1fvARB GLEW_GET_FUN(__glewUniform1fvARB)
3336 #define glUniform1iARB GLEW_GET_FUN(__glewUniform1iARB)
3337 #define glUniform1ivARB GLEW_GET_FUN(__glewUniform1ivARB)
3338 #define glUniform2fARB GLEW_GET_FUN(__glewUniform2fARB)
3339 #define glUniform2fvARB GLEW_GET_FUN(__glewUniform2fvARB)
3340 #define glUniform2iARB GLEW_GET_FUN(__glewUniform2iARB)
3341 #define glUniform2ivARB GLEW_GET_FUN(__glewUniform2ivARB)
3342 #define glUniform3fARB GLEW_GET_FUN(__glewUniform3fARB)
3343 #define glUniform3fvARB GLEW_GET_FUN(__glewUniform3fvARB)
3344 #define glUniform3iARB GLEW_GET_FUN(__glewUniform3iARB)
3345 #define glUniform3ivARB GLEW_GET_FUN(__glewUniform3ivARB)
3346 #define glUniform4fARB GLEW_GET_FUN(__glewUniform4fARB)
3347 #define glUniform4fvARB GLEW_GET_FUN(__glewUniform4fvARB)
3348 #define glUniform4iARB GLEW_GET_FUN(__glewUniform4iARB)
3349 #define glUniform4ivARB GLEW_GET_FUN(__glewUniform4ivARB)
3350 #define glUniformMatrix2fvARB GLEW_GET_FUN(__glewUniformMatrix2fvARB)
3351 #define glUniformMatrix3fvARB GLEW_GET_FUN(__glewUniformMatrix3fvARB)
3352 #define glUniformMatrix4fvARB GLEW_GET_FUN(__glewUniformMatrix4fvARB)
3353 #define glUseProgramObjectARB GLEW_GET_FUN(__glewUseProgramObjectARB)
3354 #define glValidateProgramARB GLEW_GET_FUN(__glewValidateProgramARB)
3355 
3356 #define GLEW_ARB_shader_objects GLEW_GET_VAR(__GLEW_ARB_shader_objects)
3357 
3358 #endif /* GL_ARB_shader_objects */
3359 
3360 /* ---------------------- GL_ARB_shading_language_100 ---------------------- */
3361 
3362 #ifndef GL_ARB_shading_language_100
3363 #define GL_ARB_shading_language_100 1
3364 
3365 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
3366 
3367 #define GLEW_ARB_shading_language_100 GLEW_GET_VAR(__GLEW_ARB_shading_language_100)
3368 
3369 #endif /* GL_ARB_shading_language_100 */
3370 
3371 /* ----------------------------- GL_ARB_shadow ----------------------------- */
3372 
3373 #ifndef GL_ARB_shadow
3374 #define GL_ARB_shadow 1
3375 
3376 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
3377 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
3378 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
3379 
3380 #define GLEW_ARB_shadow GLEW_GET_VAR(__GLEW_ARB_shadow)
3381 
3382 #endif /* GL_ARB_shadow */
3383 
3384 /* ------------------------- GL_ARB_shadow_ambient ------------------------- */
3385 
3386 #ifndef GL_ARB_shadow_ambient
3387 #define GL_ARB_shadow_ambient 1
3388 
3389 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
3390 
3391 #define GLEW_ARB_shadow_ambient GLEW_GET_VAR(__GLEW_ARB_shadow_ambient)
3392 
3393 #endif /* GL_ARB_shadow_ambient */
3394 
3395 /* ---------------------- GL_ARB_texture_border_clamp ---------------------- */
3396 
3397 #ifndef GL_ARB_texture_border_clamp
3398 #define GL_ARB_texture_border_clamp 1
3399 
3400 #define GL_CLAMP_TO_BORDER_ARB 0x812D
3401 
3402 #define GLEW_ARB_texture_border_clamp GLEW_GET_VAR(__GLEW_ARB_texture_border_clamp)
3403 
3404 #endif /* GL_ARB_texture_border_clamp */
3405 
3406 /* ---------------------- GL_ARB_texture_buffer_object --------------------- */
3407 
3408 #ifndef GL_ARB_texture_buffer_object
3409 #define GL_ARB_texture_buffer_object 1
3410 
3411 #define GL_TEXTURE_BUFFER_ARB 0x8C2A
3412 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
3413 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
3414 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
3415 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
3416 
3417 typedef void (GLAPIENTRY * PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
3418 
3419 #define glTexBufferARB GLEW_GET_FUN(__glewTexBufferARB)
3420 
3421 #define GLEW_ARB_texture_buffer_object GLEW_GET_VAR(__GLEW_ARB_texture_buffer_object)
3422 
3423 #endif /* GL_ARB_texture_buffer_object */
3424 
3425 /* ----------------------- GL_ARB_texture_compression ---------------------- */
3426 
3427 #ifndef GL_ARB_texture_compression
3428 #define GL_ARB_texture_compression 1
3429 
3430 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
3431 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
3432 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
3433 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
3434 #define GL_COMPRESSED_RGB_ARB 0x84ED
3435 #define GL_COMPRESSED_RGBA_ARB 0x84EE
3436 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
3437 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
3438 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
3439 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
3440 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
3441 
3442 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data);
3443 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
3444 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
3445 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data);
3446 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
3447 typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
3448 typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, void* img);
3449 
3450 #define glCompressedTexImage1DARB GLEW_GET_FUN(__glewCompressedTexImage1DARB)
3451 #define glCompressedTexImage2DARB GLEW_GET_FUN(__glewCompressedTexImage2DARB)
3452 #define glCompressedTexImage3DARB GLEW_GET_FUN(__glewCompressedTexImage3DARB)
3453 #define glCompressedTexSubImage1DARB GLEW_GET_FUN(__glewCompressedTexSubImage1DARB)
3454 #define glCompressedTexSubImage2DARB GLEW_GET_FUN(__glewCompressedTexSubImage2DARB)
3455 #define glCompressedTexSubImage3DARB GLEW_GET_FUN(__glewCompressedTexSubImage3DARB)
3456 #define glGetCompressedTexImageARB GLEW_GET_FUN(__glewGetCompressedTexImageARB)
3457 
3458 #define GLEW_ARB_texture_compression GLEW_GET_VAR(__GLEW_ARB_texture_compression)
3459 
3460 #endif /* GL_ARB_texture_compression */
3461 
3462 /* -------------------- GL_ARB_texture_compression_rgtc -------------------- */
3463 
3464 #ifndef GL_ARB_texture_compression_rgtc
3465 #define GL_ARB_texture_compression_rgtc 1
3466 
3467 #define GL_COMPRESSED_RED_RGTC1 0x8DBB
3468 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
3469 #define GL_COMPRESSED_RG_RGTC2 0x8DBD
3470 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
3471 
3472 #define GLEW_ARB_texture_compression_rgtc GLEW_GET_VAR(__GLEW_ARB_texture_compression_rgtc)
3473 
3474 #endif /* GL_ARB_texture_compression_rgtc */
3475 
3476 /* ------------------------ GL_ARB_texture_cube_map ------------------------ */
3477 
3478 #ifndef GL_ARB_texture_cube_map
3479 #define GL_ARB_texture_cube_map 1
3480 
3481 #define GL_NORMAL_MAP_ARB 0x8511
3482 #define GL_REFLECTION_MAP_ARB 0x8512
3483 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
3484 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
3485 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
3486 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
3487 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
3488 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
3489 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
3490 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
3491 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
3492 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
3493 
3494 #define GLEW_ARB_texture_cube_map GLEW_GET_VAR(__GLEW_ARB_texture_cube_map)
3495 
3496 #endif /* GL_ARB_texture_cube_map */
3497 
3498 /* ------------------------- GL_ARB_texture_env_add ------------------------ */
3499 
3500 #ifndef GL_ARB_texture_env_add
3501 #define GL_ARB_texture_env_add 1
3502 
3503 #define GLEW_ARB_texture_env_add GLEW_GET_VAR(__GLEW_ARB_texture_env_add)
3504 
3505 #endif /* GL_ARB_texture_env_add */
3506 
3507 /* ----------------------- GL_ARB_texture_env_combine ---------------------- */
3508 
3509 #ifndef GL_ARB_texture_env_combine
3510 #define GL_ARB_texture_env_combine 1
3511 
3512 #define GL_SUBTRACT_ARB 0x84E7
3513 #define GL_COMBINE_ARB 0x8570
3514 #define GL_COMBINE_RGB_ARB 0x8571
3515 #define GL_COMBINE_ALPHA_ARB 0x8572
3516 #define GL_RGB_SCALE_ARB 0x8573
3517 #define GL_ADD_SIGNED_ARB 0x8574
3518 #define GL_INTERPOLATE_ARB 0x8575
3519 #define GL_CONSTANT_ARB 0x8576
3520 #define GL_PRIMARY_COLOR_ARB 0x8577
3521 #define GL_PREVIOUS_ARB 0x8578
3522 #define GL_SOURCE0_RGB_ARB 0x8580
3523 #define GL_SOURCE1_RGB_ARB 0x8581
3524 #define GL_SOURCE2_RGB_ARB 0x8582
3525 #define GL_SOURCE0_ALPHA_ARB 0x8588
3526 #define GL_SOURCE1_ALPHA_ARB 0x8589
3527 #define GL_SOURCE2_ALPHA_ARB 0x858A
3528 #define GL_OPERAND0_RGB_ARB 0x8590
3529 #define GL_OPERAND1_RGB_ARB 0x8591
3530 #define GL_OPERAND2_RGB_ARB 0x8592
3531 #define GL_OPERAND0_ALPHA_ARB 0x8598
3532 #define GL_OPERAND1_ALPHA_ARB 0x8599
3533 #define GL_OPERAND2_ALPHA_ARB 0x859A
3534 
3535 #define GLEW_ARB_texture_env_combine GLEW_GET_VAR(__GLEW_ARB_texture_env_combine)
3536 
3537 #endif /* GL_ARB_texture_env_combine */
3538 
3539 /* ---------------------- GL_ARB_texture_env_crossbar ---------------------- */
3540 
3541 #ifndef GL_ARB_texture_env_crossbar
3542 #define GL_ARB_texture_env_crossbar 1
3543 
3544 #define GLEW_ARB_texture_env_crossbar GLEW_GET_VAR(__GLEW_ARB_texture_env_crossbar)
3545 
3546 #endif /* GL_ARB_texture_env_crossbar */
3547 
3548 /* ------------------------ GL_ARB_texture_env_dot3 ------------------------ */
3549 
3550 #ifndef GL_ARB_texture_env_dot3
3551 #define GL_ARB_texture_env_dot3 1
3552 
3553 #define GL_DOT3_RGB_ARB 0x86AE
3554 #define GL_DOT3_RGBA_ARB 0x86AF
3555 
3556 #define GLEW_ARB_texture_env_dot3 GLEW_GET_VAR(__GLEW_ARB_texture_env_dot3)
3557 
3558 #endif /* GL_ARB_texture_env_dot3 */
3559 
3560 /* -------------------------- GL_ARB_texture_float ------------------------- */
3561 
3562 #ifndef GL_ARB_texture_float
3563 #define GL_ARB_texture_float 1
3564 
3565 #define GL_RGBA32F_ARB 0x8814
3566 #define GL_RGB32F_ARB 0x8815
3567 #define GL_ALPHA32F_ARB 0x8816
3568 #define GL_INTENSITY32F_ARB 0x8817
3569 #define GL_LUMINANCE32F_ARB 0x8818
3570 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
3571 #define GL_RGBA16F_ARB 0x881A
3572 #define GL_RGB16F_ARB 0x881B
3573 #define GL_ALPHA16F_ARB 0x881C
3574 #define GL_INTENSITY16F_ARB 0x881D
3575 #define GL_LUMINANCE16F_ARB 0x881E
3576 #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
3577 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
3578 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
3579 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
3580 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
3581 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
3582 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
3583 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
3584 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
3585 
3586 #define GLEW_ARB_texture_float GLEW_GET_VAR(__GLEW_ARB_texture_float)
3587 
3588 #endif /* GL_ARB_texture_float */
3589 
3590 /* --------------------- GL_ARB_texture_mirrored_repeat -------------------- */
3591 
3592 #ifndef GL_ARB_texture_mirrored_repeat
3593 #define GL_ARB_texture_mirrored_repeat 1
3594 
3595 #define GL_MIRRORED_REPEAT_ARB 0x8370
3596 
3597 #define GLEW_ARB_texture_mirrored_repeat GLEW_GET_VAR(__GLEW_ARB_texture_mirrored_repeat)
3598 
3599 #endif /* GL_ARB_texture_mirrored_repeat */
3600 
3601 /* -------------------- GL_ARB_texture_non_power_of_two -------------------- */
3602 
3603 #ifndef GL_ARB_texture_non_power_of_two
3604 #define GL_ARB_texture_non_power_of_two 1
3605 
3606 #define GLEW_ARB_texture_non_power_of_two GLEW_GET_VAR(__GLEW_ARB_texture_non_power_of_two)
3607 
3608 #endif /* GL_ARB_texture_non_power_of_two */
3609 
3610 /* ------------------------ GL_ARB_texture_rectangle ----------------------- */
3611 
3612 #ifndef GL_ARB_texture_rectangle
3613 #define GL_ARB_texture_rectangle 1
3614 
3615 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
3616 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
3617 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
3618 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
3619 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
3620 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
3621 
3622 #define GLEW_ARB_texture_rectangle GLEW_GET_VAR(__GLEW_ARB_texture_rectangle)
3623 
3624 #endif /* GL_ARB_texture_rectangle */
3625 
3626 /* --------------------------- GL_ARB_texture_rg --------------------------- */
3627 
3628 #ifndef GL_ARB_texture_rg
3629 #define GL_ARB_texture_rg 1
3630 
3631 #define GL_RED 0x1903
3632 #define GL_RG 0x8227
3633 #define GL_RG_INTEGER 0x8228
3634 #define GL_R8 0x8229
3635 #define GL_R16 0x822A
3636 #define GL_RG8 0x822B
3637 #define GL_RG16 0x822C