MRPT  1.9.9
glew.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://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 #pragma once
58 #define __GLEW_H__
59 
60 #if defined(__gl_h_) || defined(__GL_H__)
61 #error gl.h included before glew.h
62 #endif
63 #if defined(__glext_h_) || defined(__GLEXT_H_)
64 #error glext.h included before glew.h
65 #endif
66 #if defined(__gl_ATI_h_)
67 #error glATI.h included before glew.h
68 #endif
69 
70 #define __gl_h_
71 #define __GL_H__
72 #define __glext_h_
73 #define __GLEXT_H_
74 #define __gl_ATI_h_
75 
76 #if defined(_WIN32)
77 
78 /*
79  * GLEW does not include <windows.h> to avoid name space pollution.
80  * GL needs GLAPI and GLAPIENTRY, GLU needs APIENTRY, CALLBACK, and wchar_t
81  * defined properly.
82  */
83 /* <windef.h> */
84 #ifndef APIENTRY
85 #define GLEW_APIENTRY_DEFINED
86 #if defined(__MINGW32__)
87 #define APIENTRY __stdcall
88 #elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
89 #define APIENTRY __stdcall
90 #else
91 #define APIENTRY
92 #endif
93 #endif
94 #ifndef GLAPI
95 #if defined(__MINGW32__)
96 #define GLAPI extern
97 #endif
98 #endif
99 /* <winnt.h> */
100 #ifndef CALLBACK
101 #define GLEW_CALLBACK_DEFINED
102 #if defined(__MINGW32__)
103 #define CALLBACK __attribute__((__stdcall__))
104 #elif ( \
105  defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || \
106  defined(_M_PPC)) && \
107  !defined(MIDL_PASS)
108 #define CALLBACK __stdcall
109 #else
110 #define CALLBACK
111 #endif
112 #endif
113 /* <wingdi.h> and <winnt.h> */
114 #ifndef WINGDIAPI
115 #define GLEW_WINGDIAPI_DEFINED
116 #define WINGDIAPI __declspec(dllimport)
117 #endif
118 /* <ctype.h> */
119 #if (defined(_MSC_VER)) && !defined(_WCHAR_T_DEFINED)
120 typedef unsigned short wchar_t;
121 #define _WCHAR_T_DEFINED
122 #endif
123 /* <stddef.h> */
124 #if !defined(_W64)
125 #if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && \
126  defined(_MSC_VER) && _MSC_VER >= 1300
127 #define _W64 __w64
128 #else
129 #define _W64
130 #endif
131 #endif
132 #if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_)
133 #ifdef _WIN64
134 typedef __int64 ptrdiff_t;
135 #else
136 typedef _W64 int ptrdiff_t;
137 #endif
138 #define _PTRDIFF_T_DEFINED
139 #define _PTRDIFF_T_
140 #endif
141 
142 #ifndef GLAPI
143 #if defined(__MINGW32__)
144 #define GLAPI extern
145 #else
146 #define GLAPI WINGDIAPI
147 #endif
148 #endif
149 
150 #ifndef GLAPIENTRY
151 #define GLAPIENTRY APIENTRY
152 #endif
153 
154 /*
155  * GLEW_STATIC needs to be set when using the static version.
156  * GLEW_BUILD is set when building the DLL version.
157  */
158 #ifdef GLEW_STATIC
159 #define GLEWAPI extern
160 #else
161 #ifdef GLEW_BUILD
162 #define GLEWAPI extern __declspec(dllexport)
163 #else
164 #define GLEWAPI extern __declspec(dllimport)
165 #endif
166 #endif
167 
168 #else /* _UNIX */
169 
170 /*
171  * Needed for ptrdiff_t in turn needed by VBO. This is defined by ISO
172  * C. On my system, this amounts to _3 lines_ of included code, all of
173  * them pretty much harmless. If you know of a way of detecting 32 vs
174  * 64 _targets_ at compile time you are free to replace this with
175  * something that's portable. For now, _this_ is the portable solution.
176  * (mem, 2004-01-04)
177  */
178 
179 #include <stddef.h>
180 #include <stdint.h>
181 
182 #define GLEW_APIENTRY_DEFINED
183 #define APIENTRY
184 #define GLEWAPI extern
185 
186 /* <glu.h> */
187 #ifndef GLAPI
188 #define GLAPI extern
189 #endif
190 #ifndef GLAPIENTRY
191 #define GLAPIENTRY
192 #endif
193 
194 #endif /* _WIN32 */
195 
196 #ifdef __cplusplus
197 extern "C"
198 {
199 #endif
200 
201  /* ----------------------------- GL_VERSION_1_1 ----------------------------
202  */
203 
204 #ifndef GL_VERSION_1_1
205 #define GL_VERSION_1_1 1
206 
207  typedef unsigned int GLenum;
208  typedef unsigned int GLbitfield;
209  typedef unsigned int GLuint;
210  typedef int GLint;
211  typedef int GLsizei;
212  typedef unsigned char GLboolean;
213  typedef signed char GLbyte;
214  typedef short GLshort;
215  typedef unsigned char GLubyte;
216  typedef unsigned short GLushort;
217  typedef unsigned long GLulong;
218  typedef float GLfloat;
219  typedef float GLclampf;
220  typedef double GLdouble;
221  typedef double GLclampd;
222  typedef void GLvoid;
223 #if defined(_MSC_VER)
224 #if _MSC_VER < 1400
225  typedef __int64 GLint64EXT;
226  typedef unsigned __int64 GLuint64EXT;
227 #else
228  typedef signed long long GLint64EXT;
229  typedef unsigned long long GLuint64EXT;
230 #endif
231 #else
232 #if defined(__MINGW32__)
233 #include <inttypes.h>
234 #endif
237 #endif
238 
239 #define GL_ACCUM 0x0100
240 #define GL_LOAD 0x0101
241 #define GL_RETURN 0x0102
242 #define GL_MULT 0x0103
243 #define GL_ADD 0x0104
244 #define GL_NEVER 0x0200
245 #define GL_LESS 0x0201
246 #define GL_EQUAL 0x0202
247 #define GL_LEQUAL 0x0203
248 #define GL_GREATER 0x0204
249 #define GL_NOTEQUAL 0x0205
250 #define GL_GEQUAL 0x0206
251 #define GL_ALWAYS 0x0207
252 #define GL_CURRENT_BIT 0x00000001
253 #define GL_POINT_BIT 0x00000002
254 #define GL_LINE_BIT 0x00000004
255 #define GL_POLYGON_BIT 0x00000008
256 #define GL_POLYGON_STIPPLE_BIT 0x00000010
257 #define GL_PIXEL_MODE_BIT 0x00000020
258 #define GL_LIGHTING_BIT 0x00000040
259 #define GL_FOG_BIT 0x00000080
260 #define GL_DEPTH_BUFFER_BIT 0x00000100
261 #define GL_ACCUM_BUFFER_BIT 0x00000200
262 #define GL_STENCIL_BUFFER_BIT 0x00000400
263 #define GL_VIEWPORT_BIT 0x00000800
264 #define GL_TRANSFORM_BIT 0x00001000
265 #define GL_ENABLE_BIT 0x00002000
266 #define GL_COLOR_BUFFER_BIT 0x00004000
267 #define GL_HINT_BIT 0x00008000
268 #define GL_EVAL_BIT 0x00010000
269 #define GL_LIST_BIT 0x00020000
270 #define GL_TEXTURE_BIT 0x00040000
271 #define GL_SCISSOR_BIT 0x00080000
272 #define GL_ALL_ATTRIB_BITS 0x000fffff
273 #define GL_POINTS 0x0000
274 #define GL_LINES 0x0001
275 #define GL_LINE_LOOP 0x0002
276 #define GL_LINE_STRIP 0x0003
277 #define GL_TRIANGLES 0x0004
278 #define GL_TRIANGLE_STRIP 0x0005
279 #define GL_TRIANGLE_FAN 0x0006
280 #define GL_QUADS 0x0007
281 #define GL_QUAD_STRIP 0x0008
282 #define GL_POLYGON 0x0009
283 #define GL_ZERO 0
284 #define GL_ONE 1
285 #define GL_SRC_COLOR 0x0300
286 #define GL_ONE_MINUS_SRC_COLOR 0x0301
287 #define GL_SRC_ALPHA 0x0302
288 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
289 #define GL_DST_ALPHA 0x0304
290 #define GL_ONE_MINUS_DST_ALPHA 0x0305
291 #define GL_DST_COLOR 0x0306
292 #define GL_ONE_MINUS_DST_COLOR 0x0307
293 #define GL_SRC_ALPHA_SATURATE 0x0308
294 #define GL_TRUE 1
295 #define GL_FALSE 0
296 #define GL_CLIP_PLANE0 0x3000
297 #define GL_CLIP_PLANE1 0x3001
298 #define GL_CLIP_PLANE2 0x3002
299 #define GL_CLIP_PLANE3 0x3003
300 #define GL_CLIP_PLANE4 0x3004
301 #define GL_CLIP_PLANE5 0x3005
302 #define GL_BYTE 0x1400
303 #define GL_UNSIGNED_BYTE 0x1401
304 #define GL_SHORT 0x1402
305 #define GL_UNSIGNED_SHORT 0x1403
306 #define GL_INT 0x1404
307 #define GL_UNSIGNED_INT 0x1405
308 #define GL_FLOAT 0x1406
309 #define GL_2_BYTES 0x1407
310 #define GL_3_BYTES 0x1408
311 #define GL_4_BYTES 0x1409
312 #define GL_DOUBLE 0x140A
313 #define GL_NONE 0
314 #define GL_FRONT_LEFT 0x0400
315 #define GL_FRONT_RIGHT 0x0401
316 #define GL_BACK_LEFT 0x0402
317 #define GL_BACK_RIGHT 0x0403
318 #define GL_FRONT 0x0404
319 #define GL_BACK 0x0405
320 #define GL_LEFT 0x0406
321 #define GL_RIGHT 0x0407
322 #define GL_FRONT_AND_BACK 0x0408
323 #define GL_AUX0 0x0409
324 #define GL_AUX1 0x040A
325 #define GL_AUX2 0x040B
326 #define GL_AUX3 0x040C
327 #define GL_NO_ERROR 0
328 #define GL_INVALID_ENUM 0x0500
329 #define GL_INVALID_VALUE 0x0501
330 #define GL_INVALID_OPERATION 0x0502
331 #define GL_STACK_OVERFLOW 0x0503
332 #define GL_STACK_UNDERFLOW 0x0504
333 #define GL_OUT_OF_MEMORY 0x0505
334 #define GL_2D 0x0600
335 #define GL_3D 0x0601
336 #define GL_3D_COLOR 0x0602
337 #define GL_3D_COLOR_TEXTURE 0x0603
338 #define GL_4D_COLOR_TEXTURE 0x0604
339 #define GL_PASS_THROUGH_TOKEN 0x0700
340 #define GL_POINT_TOKEN 0x0701
341 #define GL_LINE_TOKEN 0x0702
342 #define GL_POLYGON_TOKEN 0x0703
343 #define GL_BITMAP_TOKEN 0x0704
344 #define GL_DRAW_PIXEL_TOKEN 0x0705
345 #define GL_COPY_PIXEL_TOKEN 0x0706
346 #define GL_LINE_RESET_TOKEN 0x0707
347 #define GL_EXP 0x0800
348 #define GL_EXP2 0x0801
349 #define GL_CW 0x0900
350 #define GL_CCW 0x0901
351 #define GL_COEFF 0x0A00
352 #define GL_ORDER 0x0A01
353 #define GL_DOMAIN 0x0A02
354 #define GL_CURRENT_COLOR 0x0B00
355 #define GL_CURRENT_INDEX 0x0B01
356 #define GL_CURRENT_NORMAL 0x0B02
357 #define GL_CURRENT_TEXTURE_COORDS 0x0B03
358 #define GL_CURRENT_RASTER_COLOR 0x0B04
359 #define GL_CURRENT_RASTER_INDEX 0x0B05
360 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
361 #define GL_CURRENT_RASTER_POSITION 0x0B07
362 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
363 #define GL_CURRENT_RASTER_DISTANCE 0x0B09
364 #define GL_POINT_SMOOTH 0x0B10
365 #define GL_POINT_SIZE 0x0B11
366 #define GL_POINT_SIZE_RANGE 0x0B12
367 #define GL_POINT_SIZE_GRANULARITY 0x0B13
368 #define GL_LINE_SMOOTH 0x0B20
369 #define GL_LINE_WIDTH 0x0B21
370 #define GL_LINE_WIDTH_RANGE 0x0B22
371 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
372 #define GL_LINE_STIPPLE 0x0B24
373 #define GL_LINE_STIPPLE_PATTERN 0x0B25
374 #define GL_LINE_STIPPLE_REPEAT 0x0B26
375 #define GL_LIST_MODE 0x0B30
376 #define GL_MAX_LIST_NESTING 0x0B31
377 #define GL_LIST_BASE 0x0B32
378 #define GL_LIST_INDEX 0x0B33
379 #define GL_POLYGON_MODE 0x0B40
380 #define GL_POLYGON_SMOOTH 0x0B41
381 #define GL_POLYGON_STIPPLE 0x0B42
382 #define GL_EDGE_FLAG 0x0B43
383 #define GL_CULL_FACE 0x0B44
384 #define GL_CULL_FACE_MODE 0x0B45
385 #define GL_FRONT_FACE 0x0B46
386 #define GL_LIGHTING 0x0B50
387 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
388 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
389 #define GL_LIGHT_MODEL_AMBIENT 0x0B53
390 #define GL_SHADE_MODEL 0x0B54
391 #define GL_COLOR_MATERIAL_FACE 0x0B55
392 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
393 #define GL_COLOR_MATERIAL 0x0B57
394 #define GL_FOG 0x0B60
395 #define GL_FOG_INDEX 0x0B61
396 #define GL_FOG_DENSITY 0x0B62
397 #define GL_FOG_START 0x0B63
398 #define GL_FOG_END 0x0B64
399 #define GL_FOG_MODE 0x0B65
400 #define GL_FOG_COLOR 0x0B66
401 #define GL_DEPTH_RANGE 0x0B70
402 #define GL_DEPTH_TEST 0x0B71
403 #define GL_DEPTH_WRITEMASK 0x0B72
404 #define GL_DEPTH_CLEAR_VALUE 0x0B73
405 #define GL_DEPTH_FUNC 0x0B74
406 #define GL_ACCUM_CLEAR_VALUE 0x0B80
407 #define GL_STENCIL_TEST 0x0B90
408 #define GL_STENCIL_CLEAR_VALUE 0x0B91
409 #define GL_STENCIL_FUNC 0x0B92
410 #define GL_STENCIL_VALUE_MASK 0x0B93
411 #define GL_STENCIL_FAIL 0x0B94
412 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
413 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
414 #define GL_STENCIL_REF 0x0B97
415 #define GL_STENCIL_WRITEMASK 0x0B98
416 #define GL_MATRIX_MODE 0x0BA0
417 #define GL_NORMALIZE 0x0BA1
418 #define GL_VIEWPORT 0x0BA2
419 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
420 #define GL_PROJECTION_STACK_DEPTH 0x0BA4
421 #define GL_TEXTURE_STACK_DEPTH 0x0BA5
422 #define GL_MODELVIEW_MATRIX 0x0BA6
423 #define GL_PROJECTION_MATRIX 0x0BA7
424 #define GL_TEXTURE_MATRIX 0x0BA8
425 #define GL_ATTRIB_STACK_DEPTH 0x0BB0
426 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
427 #define GL_ALPHA_TEST 0x0BC0
428 #define GL_ALPHA_TEST_FUNC 0x0BC1
429 #define GL_ALPHA_TEST_REF 0x0BC2
430 #define GL_DITHER 0x0BD0
431 #define GL_BLEND_DST 0x0BE0
432 #define GL_BLEND_SRC 0x0BE1
433 #define GL_BLEND 0x0BE2
434 #define GL_LOGIC_OP_MODE 0x0BF0
435 #define GL_INDEX_LOGIC_OP 0x0BF1
436 #define GL_COLOR_LOGIC_OP 0x0BF2
437 #define GL_AUX_BUFFERS 0x0C00
438 #define GL_DRAW_BUFFER 0x0C01
439 #define GL_READ_BUFFER 0x0C02
440 #define GL_SCISSOR_BOX 0x0C10
441 #define GL_SCISSOR_TEST 0x0C11
442 #define GL_INDEX_CLEAR_VALUE 0x0C20
443 #define GL_INDEX_WRITEMASK 0x0C21
444 #define GL_COLOR_CLEAR_VALUE 0x0C22
445 #define GL_COLOR_WRITEMASK 0x0C23
446 #define GL_INDEX_MODE 0x0C30
447 #define GL_RGBA_MODE 0x0C31
448 #define GL_DOUBLEBUFFER 0x0C32
449 #define GL_STEREO 0x0C33
450 #define GL_RENDER_MODE 0x0C40
451 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
452 #define GL_POINT_SMOOTH_HINT 0x0C51
453 #define GL_LINE_SMOOTH_HINT 0x0C52
454 #define GL_POLYGON_SMOOTH_HINT 0x0C53
455 #define GL_FOG_HINT 0x0C54
456 #define GL_TEXTURE_GEN_S 0x0C60
457 #define GL_TEXTURE_GEN_T 0x0C61
458 #define GL_TEXTURE_GEN_R 0x0C62
459 #define GL_TEXTURE_GEN_Q 0x0C63
460 #define GL_PIXEL_MAP_I_TO_I 0x0C70
461 #define GL_PIXEL_MAP_S_TO_S 0x0C71
462 #define GL_PIXEL_MAP_I_TO_R 0x0C72
463 #define GL_PIXEL_MAP_I_TO_G 0x0C73
464 #define GL_PIXEL_MAP_I_TO_B 0x0C74
465 #define GL_PIXEL_MAP_I_TO_A 0x0C75
466 #define GL_PIXEL_MAP_R_TO_R 0x0C76
467 #define GL_PIXEL_MAP_G_TO_G 0x0C77
468 #define GL_PIXEL_MAP_B_TO_B 0x0C78
469 #define GL_PIXEL_MAP_A_TO_A 0x0C79
470 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
471 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
472 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
473 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
474 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
475 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
476 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
477 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
478 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
479 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
480 #define GL_UNPACK_SWAP_BYTES 0x0CF0
481 #define GL_UNPACK_LSB_FIRST 0x0CF1
482 #define GL_UNPACK_ROW_LENGTH 0x0CF2
483 #define GL_UNPACK_SKIP_ROWS 0x0CF3
484 #define GL_UNPACK_SKIP_PIXELS 0x0CF4
485 #define GL_UNPACK_ALIGNMENT 0x0CF5
486 #define GL_PACK_SWAP_BYTES 0x0D00
487 #define GL_PACK_LSB_FIRST 0x0D01
488 #define GL_PACK_ROW_LENGTH 0x0D02
489 #define GL_PACK_SKIP_ROWS 0x0D03
490 #define GL_PACK_SKIP_PIXELS 0x0D04
491 #define GL_PACK_ALIGNMENT 0x0D05
492 #define GL_MAP_COLOR 0x0D10
493 #define GL_MAP_STENCIL 0x0D11
494 #define GL_INDEX_SHIFT 0x0D12
495 #define GL_INDEX_OFFSET 0x0D13
496 #define GL_RED_SCALE 0x0D14
497 #define GL_RED_BIAS 0x0D15
498 #define GL_ZOOM_X 0x0D16
499 #define GL_ZOOM_Y 0x0D17
500 #define GL_GREEN_SCALE 0x0D18
501 #define GL_GREEN_BIAS 0x0D19
502 #define GL_BLUE_SCALE 0x0D1A
503 #define GL_BLUE_BIAS 0x0D1B
504 #define GL_ALPHA_SCALE 0x0D1C
505 #define GL_ALPHA_BIAS 0x0D1D
506 #define GL_DEPTH_SCALE 0x0D1E
507 #define GL_DEPTH_BIAS 0x0D1F
508 #define GL_MAX_EVAL_ORDER 0x0D30
509 #define GL_MAX_LIGHTS 0x0D31
510 #define GL_MAX_CLIP_PLANES 0x0D32
511 #define GL_MAX_TEXTURE_SIZE 0x0D33
512 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
513 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
514 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
515 #define GL_MAX_NAME_STACK_DEPTH 0x0D37
516 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
517 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
518 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
519 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
520 #define GL_SUBPIXEL_BITS 0x0D50
521 #define GL_INDEX_BITS 0x0D51
522 #define GL_RED_BITS 0x0D52
523 #define GL_GREEN_BITS 0x0D53
524 #define GL_BLUE_BITS 0x0D54
525 #define GL_ALPHA_BITS 0x0D55
526 #define GL_DEPTH_BITS 0x0D56
527 #define GL_STENCIL_BITS 0x0D57
528 #define GL_ACCUM_RED_BITS 0x0D58
529 #define GL_ACCUM_GREEN_BITS 0x0D59
530 #define GL_ACCUM_BLUE_BITS 0x0D5A
531 #define GL_ACCUM_ALPHA_BITS 0x0D5B
532 #define GL_NAME_STACK_DEPTH 0x0D70
533 #define GL_AUTO_NORMAL 0x0D80
534 #define GL_MAP1_COLOR_4 0x0D90
535 #define GL_MAP1_INDEX 0x0D91
536 #define GL_MAP1_NORMAL 0x0D92
537 #define GL_MAP1_TEXTURE_COORD_1 0x0D93
538 #define GL_MAP1_TEXTURE_COORD_2 0x0D94
539 #define GL_MAP1_TEXTURE_COORD_3 0x0D95
540 #define GL_MAP1_TEXTURE_COORD_4 0x0D96
541 #define GL_MAP1_VERTEX_3 0x0D97
542 #define GL_MAP1_VERTEX_4 0x0D98
543 #define GL_MAP2_COLOR_4 0x0DB0
544 #define GL_MAP2_INDEX 0x0DB1
545 #define GL_MAP2_NORMAL 0x0DB2
546 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
547 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
548 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
549 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
550 #define GL_MAP2_VERTEX_3 0x0DB7
551 #define GL_MAP2_VERTEX_4 0x0DB8
552 #define GL_MAP1_GRID_DOMAIN 0x0DD0
553 #define GL_MAP1_GRID_SEGMENTS 0x0DD1
554 #define GL_MAP2_GRID_DOMAIN 0x0DD2
555 #define GL_MAP2_GRID_SEGMENTS 0x0DD3
556 #define GL_TEXTURE_1D 0x0DE0
557 #define GL_TEXTURE_2D 0x0DE1
558 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
559 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
560 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
561 #define GL_SELECTION_BUFFER_POINTER 0x0DF3
562 #define GL_SELECTION_BUFFER_SIZE 0x0DF4
563 #define GL_TEXTURE_WIDTH 0x1000
564 #define GL_TEXTURE_HEIGHT 0x1001
565 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
566 #define GL_TEXTURE_BORDER_COLOR 0x1004
567 #define GL_TEXTURE_BORDER 0x1005
568 #define GL_DONT_CARE 0x1100
569 #define GL_FASTEST 0x1101
570 #define GL_NICEST 0x1102
571 #define GL_LIGHT0 0x4000
572 #define GL_LIGHT1 0x4001
573 #define GL_LIGHT2 0x4002
574 #define GL_LIGHT3 0x4003
575 #define GL_LIGHT4 0x4004
576 #define GL_LIGHT5 0x4005
577 #define GL_LIGHT6 0x4006
578 #define GL_LIGHT7 0x4007
579 #define GL_AMBIENT 0x1200
580 #define GL_DIFFUSE 0x1201
581 #define GL_SPECULAR 0x1202
582 #define GL_POSITION 0x1203
583 #define GL_SPOT_DIRECTION 0x1204
584 #define GL_SPOT_EXPONENT 0x1205
585 #define GL_SPOT_CUTOFF 0x1206
586 #define GL_CONSTANT_ATTENUATION 0x1207
587 #define GL_LINEAR_ATTENUATION 0x1208
588 #define GL_QUADRATIC_ATTENUATION 0x1209
589 #define GL_COMPILE 0x1300
590 #define GL_COMPILE_AND_EXECUTE 0x1301
591 #define GL_CLEAR 0x1500
592 #define GL_AND 0x1501
593 #define GL_AND_REVERSE 0x1502
594 #define GL_COPY 0x1503
595 #define GL_AND_INVERTED 0x1504
596 #define GL_NOOP 0x1505
597 #define GL_XOR 0x1506
598 #define GL_OR 0x1507
599 #define GL_NOR 0x1508
600 #define GL_EQUIV 0x1509
601 #define GL_INVERT 0x150A
602 #define GL_OR_REVERSE 0x150B
603 #define GL_COPY_INVERTED 0x150C
604 #define GL_OR_INVERTED 0x150D
605 #define GL_NAND 0x150E
606 #define GL_SET 0x150F
607 #define GL_EMISSION 0x1600
608 #define GL_SHININESS 0x1601
609 #define GL_AMBIENT_AND_DIFFUSE 0x1602
610 #define GL_COLOR_INDEXES 0x1603
611 #define GL_MODELVIEW 0x1700
612 #define GL_PROJECTION 0x1701
613 #define GL_TEXTURE 0x1702
614 #define GL_COLOR 0x1800
615 #define GL_DEPTH 0x1801
616 #define GL_STENCIL 0x1802
617 #define GL_COLOR_INDEX 0x1900
618 #define GL_STENCIL_INDEX 0x1901
619 #define GL_DEPTH_COMPONENT 0x1902
620 #define GL_RED 0x1903
621 #define GL_GREEN 0x1904
622 #define GL_BLUE 0x1905
623 #define GL_ALPHA 0x1906
624 #define GL_RGB 0x1907
625 #define GL_RGBA 0x1908
626 #define GL_LUMINANCE 0x1909
627 #define GL_LUMINANCE_ALPHA 0x190A
628 #define GL_BITMAP 0x1A00
629 #define GL_POINT 0x1B00
630 #define GL_LINE 0x1B01
631 #define GL_FILL 0x1B02
632 #define GL_RENDER 0x1C00
633 #define GL_FEEDBACK 0x1C01
634 #define GL_SELECT 0x1C02
635 #define GL_FLAT 0x1D00
636 #define GL_SMOOTH 0x1D01
637 #define GL_KEEP 0x1E00
638 #define GL_REPLACE 0x1E01
639 #define GL_INCR 0x1E02
640 #define GL_DECR 0x1E03
641 #define GL_VENDOR 0x1F00
642 #define GL_RENDERER 0x1F01
643 #define GL_VERSION 0x1F02
644 #define GL_EXTENSIONS 0x1F03
645 #define GL_S 0x2000
646 #define GL_T 0x2001
647 #define GL_R 0x2002
648 #define GL_Q 0x2003
649 #define GL_MODULATE 0x2100
650 #define GL_DECAL 0x2101
651 #define GL_TEXTURE_ENV_MODE 0x2200
652 #define GL_TEXTURE_ENV_COLOR 0x2201
653 #define GL_TEXTURE_ENV 0x2300
654 #define GL_EYE_LINEAR 0x2400
655 #define GL_OBJECT_LINEAR 0x2401
656 #define GL_SPHERE_MAP 0x2402
657 #define GL_TEXTURE_GEN_MODE 0x2500
658 #define GL_OBJECT_PLANE 0x2501
659 #define GL_EYE_PLANE 0x2502
660 #define GL_NEAREST 0x2600
661 #define GL_LINEAR 0x2601
662 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
663 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
664 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
665 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
666 #define GL_TEXTURE_MAG_FILTER 0x2800
667 #define GL_TEXTURE_MIN_FILTER 0x2801
668 #define GL_TEXTURE_WRAP_S 0x2802
669 #define GL_TEXTURE_WRAP_T 0x2803
670 #define GL_CLAMP 0x2900
671 #define GL_REPEAT 0x2901
672 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
673 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
674 #define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff
675 #define GL_POLYGON_OFFSET_FACTOR 0x8038
676 #define GL_POLYGON_OFFSET_UNITS 0x2A00
677 #define GL_POLYGON_OFFSET_POINT 0x2A01
678 #define GL_POLYGON_OFFSET_LINE 0x2A02
679 #define GL_POLYGON_OFFSET_FILL 0x8037
680 #define GL_ALPHA4 0x803B
681 #define GL_ALPHA8 0x803C
682 #define GL_ALPHA12 0x803D
683 #define GL_ALPHA16 0x803E
684 #define GL_LUMINANCE4 0x803F
685 #define GL_LUMINANCE8 0x8040
686 #define GL_LUMINANCE12 0x8041
687 #define GL_LUMINANCE16 0x8042
688 #define GL_LUMINANCE4_ALPHA4 0x8043
689 #define GL_LUMINANCE6_ALPHA2 0x8044
690 #define GL_LUMINANCE8_ALPHA8 0x8045
691 #define GL_LUMINANCE12_ALPHA4 0x8046
692 #define GL_LUMINANCE12_ALPHA12 0x8047
693 #define GL_LUMINANCE16_ALPHA16 0x8048
694 #define GL_INTENSITY 0x8049
695 #define GL_INTENSITY4 0x804A
696 #define GL_INTENSITY8 0x804B
697 #define GL_INTENSITY12 0x804C
698 #define GL_INTENSITY16 0x804D
699 #define GL_R3_G3_B2 0x2A10
700 #define GL_RGB4 0x804F
701 #define GL_RGB5 0x8050
702 #define GL_RGB8 0x8051
703 #define GL_RGB10 0x8052
704 #define GL_RGB12 0x8053
705 #define GL_RGB16 0x8054
706 #define GL_RGBA2 0x8055
707 #define GL_RGBA4 0x8056
708 #define GL_RGB5_A1 0x8057
709 #define GL_RGBA8 0x8058
710 #define GL_RGB10_A2 0x8059
711 #define GL_RGBA12 0x805A
712 #define GL_RGBA16 0x805B
713 #define GL_TEXTURE_RED_SIZE 0x805C
714 #define GL_TEXTURE_GREEN_SIZE 0x805D
715 #define GL_TEXTURE_BLUE_SIZE 0x805E
716 #define GL_TEXTURE_ALPHA_SIZE 0x805F
717 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
718 #define GL_TEXTURE_INTENSITY_SIZE 0x8061
719 #define GL_PROXY_TEXTURE_1D 0x8063
720 #define GL_PROXY_TEXTURE_2D 0x8064
721 #define GL_TEXTURE_PRIORITY 0x8066
722 #define GL_TEXTURE_RESIDENT 0x8067
723 #define GL_TEXTURE_BINDING_1D 0x8068
724 #define GL_TEXTURE_BINDING_2D 0x8069
725 #define GL_VERTEX_ARRAY 0x8074
726 #define GL_NORMAL_ARRAY 0x8075
727 #define GL_COLOR_ARRAY 0x8076
728 #define GL_INDEX_ARRAY 0x8077
729 #define GL_TEXTURE_COORD_ARRAY 0x8078
730 #define GL_EDGE_FLAG_ARRAY 0x8079
731 #define GL_VERTEX_ARRAY_SIZE 0x807A
732 #define GL_VERTEX_ARRAY_TYPE 0x807B
733 #define GL_VERTEX_ARRAY_STRIDE 0x807C
734 #define GL_NORMAL_ARRAY_TYPE 0x807E
735 #define GL_NORMAL_ARRAY_STRIDE 0x807F
736 #define GL_COLOR_ARRAY_SIZE 0x8081
737 #define GL_COLOR_ARRAY_TYPE 0x8082
738 #define GL_COLOR_ARRAY_STRIDE 0x8083
739 #define GL_INDEX_ARRAY_TYPE 0x8085
740 #define GL_INDEX_ARRAY_STRIDE 0x8086
741 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
742 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
743 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
744 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
745 #define GL_VERTEX_ARRAY_POINTER 0x808E
746 #define GL_NORMAL_ARRAY_POINTER 0x808F
747 #define GL_COLOR_ARRAY_POINTER 0x8090
748 #define GL_INDEX_ARRAY_POINTER 0x8091
749 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
750 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
751 #define GL_V2F 0x2A20
752 #define GL_V3F 0x2A21
753 #define GL_C4UB_V2F 0x2A22
754 #define GL_C4UB_V3F 0x2A23
755 #define GL_C3F_V3F 0x2A24
756 #define GL_N3F_V3F 0x2A25
757 #define GL_C4F_N3F_V3F 0x2A26
758 #define GL_T2F_V3F 0x2A27
759 #define GL_T4F_V4F 0x2A28
760 #define GL_T2F_C4UB_V3F 0x2A29
761 #define GL_T2F_C3F_V3F 0x2A2A
762 #define GL_T2F_N3F_V3F 0x2A2B
763 #define GL_T2F_C4F_N3F_V3F 0x2A2C
764 #define GL_T4F_C4F_N3F_V4F 0x2A2D
765 #define GL_LOGIC_OP GL_INDEX_LOGIC_OP
766 #define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT
767 #define GL_COLOR_INDEX1_EXT 0x80E2
768 #define GL_COLOR_INDEX2_EXT 0x80E3
769 #define GL_COLOR_INDEX4_EXT 0x80E4
770 #define GL_COLOR_INDEX8_EXT 0x80E5
771 #define GL_COLOR_INDEX12_EXT 0x80E6
772 #define GL_COLOR_INDEX16_EXT 0x80E7
773 
782  GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig,
783  GLfloat xmove, GLfloat ymove, const GLubyte* bitmap);
784  GLAPI void GLAPIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor);
785  GLAPI void GLAPIENTRY glCallList(GLuint list);
786  GLAPI void GLAPIENTRY
787  glCallLists(GLsizei n, GLenum type, const GLvoid* lists);
789  GLAPI void GLAPIENTRY
796  GLAPI void GLAPIENTRY glClipPlane(GLenum plane, const GLdouble* equation);
798  GLAPI void GLAPIENTRY glColor3bv(const GLbyte* v);
799  GLAPI void GLAPIENTRY
801  GLAPI void GLAPIENTRY glColor3dv(const GLdouble* v);
803  GLAPI void GLAPIENTRY glColor3fv(const GLfloat* v);
805  GLAPI void GLAPIENTRY glColor3iv(const GLint* v);
807  GLAPI void GLAPIENTRY glColor3sv(const GLshort* v);
809  GLAPI void GLAPIENTRY glColor3ubv(const GLubyte* v);
811  GLAPI void GLAPIENTRY glColor3uiv(const GLuint* v);
812  GLAPI void GLAPIENTRY
814  GLAPI void GLAPIENTRY glColor3usv(const GLushort* v);
815  GLAPI void GLAPIENTRY
817  GLAPI void GLAPIENTRY glColor4bv(const GLbyte* v);
818  GLAPI void GLAPIENTRY
820  GLAPI void GLAPIENTRY glColor4dv(const GLdouble* v);
821  GLAPI void GLAPIENTRY
823  GLAPI void GLAPIENTRY glColor4fv(const GLfloat* v);
824  GLAPI void GLAPIENTRY
826  GLAPI void GLAPIENTRY glColor4iv(const GLint* v);
827  GLAPI void GLAPIENTRY
829  GLAPI void GLAPIENTRY glColor4sv(const GLshort* v);
830  GLAPI void GLAPIENTRY
832  GLAPI void GLAPIENTRY glColor4ubv(const GLubyte* v);
833  GLAPI void GLAPIENTRY
835  GLAPI void GLAPIENTRY glColor4uiv(const GLuint* v);
836  GLAPI void GLAPIENTRY
838  GLAPI void GLAPIENTRY glColor4usv(const GLushort* v);
853  GLenum target, GLint level, GLint xoffset, GLint x, GLint y,
854  GLsizei width);
861  GLAPI void GLAPIENTRY glDepthFunc(GLenum func);
872  const GLvoid* pixels);
874  GLAPI void GLAPIENTRY
876  GLAPI void GLAPIENTRY glEdgeFlagv(const GLboolean* flag);
879  GLAPI void GLAPIENTRY glEnd(void);
880  GLAPI void GLAPIENTRY glEndList(void);
882  GLAPI void GLAPIENTRY glEvalCoord1dv(const GLdouble* u);
884  GLAPI void GLAPIENTRY glEvalCoord1fv(const GLfloat* u);
886  GLAPI void GLAPIENTRY glEvalCoord2dv(const GLdouble* u);
888  GLAPI void GLAPIENTRY glEvalCoord2fv(const GLfloat* u);
890  GLAPI void GLAPIENTRY
891  glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
894  GLAPI void GLAPIENTRY
896  GLAPI void GLAPIENTRY glFinish(void);
897  GLAPI void GLAPIENTRY glFlush(void);
904  GLdouble left, GLdouble right, GLdouble bottom, GLdouble top,
905  GLdouble zNear, GLdouble zFar);
909  GLAPI void GLAPIENTRY glGetClipPlane(GLenum plane, GLdouble* equation);
914  GLAPI void GLAPIENTRY
916  GLAPI void GLAPIENTRY
918  GLAPI void GLAPIENTRY glGetMapdv(GLenum target, GLenum query, GLdouble* v);
919  GLAPI void GLAPIENTRY glGetMapfv(GLenum target, GLenum query, GLfloat* v);
920  GLAPI void GLAPIENTRY glGetMapiv(GLenum target, GLenum query, GLint* v);
921  GLAPI void GLAPIENTRY
923  GLAPI void GLAPIENTRY
931  GLAPI void GLAPIENTRY
933  GLAPI void GLAPIENTRY
935  GLAPI void GLAPIENTRY
937  GLAPI void GLAPIENTRY
939  GLAPI void GLAPIENTRY
946  GLenum target, GLint level, GLenum pname, GLint* params);
947  GLAPI void GLAPIENTRY
949  GLAPI void GLAPIENTRY
951  GLAPI void GLAPIENTRY glHint(GLenum target, GLenum mode);
953  GLAPI void GLAPIENTRY
956  GLAPI void GLAPIENTRY glIndexdv(const GLdouble* c);
958  GLAPI void GLAPIENTRY glIndexfv(const GLfloat* c);
960  GLAPI void GLAPIENTRY glIndexiv(const GLint* c);
962  GLAPI void GLAPIENTRY glIndexsv(const GLshort* c);
964  GLAPI void GLAPIENTRY glIndexubv(const GLubyte* c);
965  GLAPI void GLAPIENTRY glInitNames(void);
976  GLAPI void GLAPIENTRY
977  glLightfv(GLenum light, GLenum pname, const GLfloat* params);
979  GLAPI void GLAPIENTRY
980  glLightiv(GLenum light, GLenum pname, const GLint* params);
981  GLAPI void GLAPIENTRY glLineStipple(GLint factor, GLushort pattern);
983  GLAPI void GLAPIENTRY glListBase(GLuint base);
984  GLAPI void GLAPIENTRY glLoadIdentity(void);
985  GLAPI void GLAPIENTRY glLoadMatrixd(const GLdouble* m);
986  GLAPI void GLAPIENTRY glLoadMatrixf(const GLfloat* m);
988  GLAPI void GLAPIENTRY glLogicOp(GLenum opcode);
989  GLAPI void GLAPIENTRY glMap1d(
990  GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order,
991  const GLdouble* points);
992  GLAPI void GLAPIENTRY glMap1f(
993  GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order,
994  const GLfloat* points);
995  GLAPI void GLAPIENTRY glMap2d(
998  const GLdouble* points);
999  GLAPI void GLAPIENTRY glMap2f(
1002  const GLfloat* points);
1010  GLAPI void GLAPIENTRY
1013  GLAPI void GLAPIENTRY
1016  GLAPI void GLAPIENTRY glMultMatrixd(const GLdouble* m);
1017  GLAPI void GLAPIENTRY glMultMatrixf(const GLfloat* m);
1020  GLAPI void GLAPIENTRY glNormal3bv(const GLbyte* v);
1022  GLAPI void GLAPIENTRY glNormal3dv(const GLdouble* v);
1024  GLAPI void GLAPIENTRY glNormal3fv(const GLfloat* v);
1026  GLAPI void GLAPIENTRY glNormal3iv(const GLint* v);
1028  GLAPI void GLAPIENTRY glNormal3sv(const GLshort* v);
1029  GLAPI void GLAPIENTRY
1031  GLAPI void GLAPIENTRY glOrtho(
1032  GLdouble left, GLdouble right, GLdouble bottom, GLdouble top,
1033  GLdouble zNear, GLdouble zFar);
1034  GLAPI void GLAPIENTRY glPassThrough(GLfloat token);
1035  GLAPI void GLAPIENTRY
1036  glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat* values);
1037  GLAPI void GLAPIENTRY
1038  glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint* values);
1039  GLAPI void GLAPIENTRY
1040  glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort* values);
1045  GLAPI void GLAPIENTRY glPixelZoom(GLfloat xfactor, GLfloat yfactor);
1048  GLAPI void GLAPIENTRY glPolygonOffset(GLfloat factor, GLfloat units);
1050  GLAPI void GLAPIENTRY glPopAttrib(void);
1051  GLAPI void GLAPIENTRY glPopClientAttrib(void);
1052  GLAPI void GLAPIENTRY glPopMatrix(void);
1053  GLAPI void GLAPIENTRY glPopName(void);
1055  GLsizei n, const GLuint* textures, const GLclampf* priorities);
1058  GLAPI void GLAPIENTRY glPushMatrix(void);
1061  GLAPI void GLAPIENTRY glRasterPos2dv(const GLdouble* v);
1063  GLAPI void GLAPIENTRY glRasterPos2fv(const GLfloat* v);
1065  GLAPI void GLAPIENTRY glRasterPos2iv(const GLint* v);
1067  GLAPI void GLAPIENTRY glRasterPos2sv(const GLshort* v);
1069  GLAPI void GLAPIENTRY glRasterPos3dv(const GLdouble* v);
1071  GLAPI void GLAPIENTRY glRasterPos3fv(const GLfloat* v);
1073  GLAPI void GLAPIENTRY glRasterPos3iv(const GLint* v);
1075  GLAPI void GLAPIENTRY glRasterPos3sv(const GLshort* v);
1076  GLAPI void GLAPIENTRY
1078  GLAPI void GLAPIENTRY glRasterPos4dv(const GLdouble* v);
1079  GLAPI void GLAPIENTRY
1081  GLAPI void GLAPIENTRY glRasterPos4fv(const GLfloat* v);
1083  GLAPI void GLAPIENTRY glRasterPos4iv(const GLint* v);
1084  GLAPI void GLAPIENTRY
1086  GLAPI void GLAPIENTRY glRasterPos4sv(const GLshort* v);
1090  GLenum type, GLvoid* pixels);
1091  GLAPI void GLAPIENTRY
1092  glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1093  GLAPI void GLAPIENTRY glRectdv(const GLdouble* v1, const GLdouble* v2);
1094  GLAPI void GLAPIENTRY
1095  glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1096  GLAPI void GLAPIENTRY glRectfv(const GLfloat* v1, const GLfloat* v2);
1097  GLAPI void GLAPIENTRY glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
1098  GLAPI void GLAPIENTRY glRectiv(const GLint* v1, const GLint* v2);
1099  GLAPI void GLAPIENTRY
1100  glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1101  GLAPI void GLAPIENTRY glRectsv(const GLshort* v1, const GLshort* v2);
1103  GLAPI void GLAPIENTRY
1105  GLAPI void GLAPIENTRY
1109  GLAPI void GLAPIENTRY
1115  GLAPI void GLAPIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
1117  GLAPI void GLAPIENTRY glTexCoord1dv(const GLdouble* v);
1119  GLAPI void GLAPIENTRY glTexCoord1fv(const GLfloat* v);
1121  GLAPI void GLAPIENTRY glTexCoord1iv(const GLint* v);
1123  GLAPI void GLAPIENTRY glTexCoord1sv(const GLshort* v);
1125  GLAPI void GLAPIENTRY glTexCoord2dv(const GLdouble* v);
1127  GLAPI void GLAPIENTRY glTexCoord2fv(const GLfloat* v);
1129  GLAPI void GLAPIENTRY glTexCoord2iv(const GLint* v);
1131  GLAPI void GLAPIENTRY glTexCoord2sv(const GLshort* v);
1133  GLAPI void GLAPIENTRY glTexCoord3dv(const GLdouble* v);
1135  GLAPI void GLAPIENTRY glTexCoord3fv(const GLfloat* v);
1137  GLAPI void GLAPIENTRY glTexCoord3iv(const GLint* v);
1139  GLAPI void GLAPIENTRY glTexCoord3sv(const GLshort* v);
1140  GLAPI void GLAPIENTRY
1142  GLAPI void GLAPIENTRY glTexCoord4dv(const GLdouble* v);
1143  GLAPI void GLAPIENTRY
1145  GLAPI void GLAPIENTRY glTexCoord4fv(const GLfloat* v);
1147  GLAPI void GLAPIENTRY glTexCoord4iv(const GLint* v);
1148  GLAPI void GLAPIENTRY
1150  GLAPI void GLAPIENTRY glTexCoord4sv(const GLshort* v);
1154  GLAPI void GLAPIENTRY
1155  glTexEnvfv(GLenum target, GLenum pname, const GLfloat* params);
1157  GLAPI void GLAPIENTRY
1158  glTexEnviv(GLenum target, GLenum pname, const GLint* params);
1160  GLAPI void GLAPIENTRY
1163  GLAPI void GLAPIENTRY
1166  GLAPI void GLAPIENTRY
1174  const GLvoid* pixels);
1175  GLAPI void GLAPIENTRY
1177  GLAPI void GLAPIENTRY
1178  glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
1179  GLAPI void GLAPIENTRY
1181  GLAPI void GLAPIENTRY
1182  glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
1185  GLenum type, const GLvoid* pixels);
1192  GLAPI void GLAPIENTRY glVertex2dv(const GLdouble* v);
1194  GLAPI void GLAPIENTRY glVertex2fv(const GLfloat* v);
1196  GLAPI void GLAPIENTRY glVertex2iv(const GLint* v);
1198  GLAPI void GLAPIENTRY glVertex2sv(const GLshort* v);
1200  GLAPI void GLAPIENTRY glVertex3dv(const GLdouble* v);
1202  GLAPI void GLAPIENTRY glVertex3fv(const GLfloat* v);
1204  GLAPI void GLAPIENTRY glVertex3iv(const GLint* v);
1206  GLAPI void GLAPIENTRY glVertex3sv(const GLshort* v);
1207  GLAPI void GLAPIENTRY
1209  GLAPI void GLAPIENTRY glVertex4dv(const GLdouble* v);
1210  GLAPI void GLAPIENTRY
1212  GLAPI void GLAPIENTRY glVertex4fv(const GLfloat* v);
1214  GLAPI void GLAPIENTRY glVertex4iv(const GLint* v);
1215  GLAPI void GLAPIENTRY
1217  GLAPI void GLAPIENTRY glVertex4sv(const GLshort* v);
1220  GLAPI void GLAPIENTRY
1222 
1223 #define GLEW_VERSION_1_1 GLEW_GET_VAR(__GLEW_VERSION_1_1)
1224 
1225 #endif /* GL_VERSION_1_1 */
1226 
1227 /* ---------------------------------- GLU ---------------------------------- */
1228 
1229 /* this is where we can safely include GLU */
1230 #if defined(__APPLE__) && defined(__MACH__)
1231 #include <OpenGL/glu.h>
1232 #else
1233 #include <GL/glu.h>
1234 #endif
1235 
1236  /* ----------------------------- GL_VERSION_1_2 ----------------------------
1237  */
1238 
1239 #ifndef GL_VERSION_1_2
1240 #define GL_VERSION_1_2 1
1241 
1242 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
1243 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
1244 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
1245 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
1246 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
1247 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
1248 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
1249 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
1250 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
1251 #define GL_RESCALE_NORMAL 0x803A
1252 #define GL_TEXTURE_BINDING_3D 0x806A
1253 #define GL_PACK_SKIP_IMAGES 0x806B
1254 #define GL_PACK_IMAGE_HEIGHT 0x806C
1255 #define GL_UNPACK_SKIP_IMAGES 0x806D
1256 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
1257 #define GL_TEXTURE_3D 0x806F
1258 #define GL_PROXY_TEXTURE_3D 0x8070
1259 #define GL_TEXTURE_DEPTH 0x8071
1260 #define GL_TEXTURE_WRAP_R 0x8072
1261 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
1262 #define GL_BGR 0x80E0
1263 #define GL_BGRA 0x80E1
1264 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
1265 #define GL_MAX_ELEMENTS_INDICES 0x80E9
1266 #define GL_CLAMP_TO_EDGE 0x812F
1267 #define GL_TEXTURE_MIN_LOD 0x813A
1268 #define GL_TEXTURE_MAX_LOD 0x813B
1269 #define GL_TEXTURE_BASE_LEVEL 0x813C
1270 #define GL_TEXTURE_MAX_LEVEL 0x813D
1271 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
1272 #define GL_SINGLE_COLOR 0x81F9
1273 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
1274 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
1275 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
1276 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
1277 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
1278 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
1279 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
1280 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
1281 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
1282 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
1283 
1289  const GLvoid* indices);
1293  const GLvoid* pixels);
1297  GLenum type, const GLvoid* pixels);
1298 
1299 #define glCopyTexSubImage3D GLEW_GET_FUN(__glewCopyTexSubImage3D)
1300 #define glDrawRangeElements GLEW_GET_FUN(__glewDrawRangeElements)
1301 #define glTexImage3D GLEW_GET_FUN(__glewTexImage3D)
1302 #define glTexSubImage3D GLEW_GET_FUN(__glewTexSubImage3D)
1303 
1304 #define GLEW_VERSION_1_2 GLEW_GET_VAR(__GLEW_VERSION_1_2)
1305 
1306 #endif /* GL_VERSION_1_2 */
1307 
1308  /* ----------------------------- GL_VERSION_1_3 ----------------------------
1309  */
1310 
1311 #ifndef GL_VERSION_1_3
1312 #define GL_VERSION_1_3 1
1313 
1314 #define GL_MULTISAMPLE 0x809D
1315 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
1316 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
1317 #define GL_SAMPLE_COVERAGE 0x80A0
1318 #define GL_SAMPLE_BUFFERS 0x80A8
1319 #define GL_SAMPLES 0x80A9
1320 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
1321 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
1322 #define GL_CLAMP_TO_BORDER 0x812D
1323 #define GL_TEXTURE0 0x84C0
1324 #define GL_TEXTURE1 0x84C1
1325 #define GL_TEXTURE2 0x84C2
1326 #define GL_TEXTURE3 0x84C3
1327 #define GL_TEXTURE4 0x84C4
1328 #define GL_TEXTURE5 0x84C5
1329 #define GL_TEXTURE6 0x84C6
1330 #define GL_TEXTURE7 0x84C7
1331 #define GL_TEXTURE8 0x84C8
1332 #define GL_TEXTURE9 0x84C9
1333 #define GL_TEXTURE10 0x84CA
1334 #define GL_TEXTURE11 0x84CB
1335 #define GL_TEXTURE12 0x84CC
1336 #define GL_TEXTURE13 0x84CD
1337 #define GL_TEXTURE14 0x84CE
1338 #define GL_TEXTURE15 0x84CF
1339 #define GL_TEXTURE16 0x84D0
1340 #define GL_TEXTURE17 0x84D1
1341 #define GL_TEXTURE18 0x84D2
1342 #define GL_TEXTURE19 0x84D3
1343 #define GL_TEXTURE20 0x84D4
1344 #define GL_TEXTURE21 0x84D5
1345 #define GL_TEXTURE22 0x84D6
1346 #define GL_TEXTURE23 0x84D7
1347 #define GL_TEXTURE24 0x84D8
1348 #define GL_TEXTURE25 0x84D9
1349 #define GL_TEXTURE26 0x84DA
1350 #define GL_TEXTURE27 0x84DB
1351 #define GL_TEXTURE28 0x84DC
1352 #define GL_TEXTURE29 0x84DD
1353 #define GL_TEXTURE30 0x84DE
1354 #define GL_TEXTURE31 0x84DF
1355 #define GL_ACTIVE_TEXTURE 0x84E0
1356 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
1357 #define GL_MAX_TEXTURE_UNITS 0x84E2
1358 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
1359 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
1360 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
1361 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
1362 #define GL_SUBTRACT 0x84E7
1363 #define GL_COMPRESSED_ALPHA 0x84E9
1364 #define GL_COMPRESSED_LUMINANCE 0x84EA
1365 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
1366 #define GL_COMPRESSED_INTENSITY 0x84EC
1367 #define GL_COMPRESSED_RGB 0x84ED
1368 #define GL_COMPRESSED_RGBA 0x84EE
1369 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
1370 #define GL_NORMAL_MAP 0x8511
1371 #define GL_REFLECTION_MAP 0x8512
1372 #define GL_TEXTURE_CUBE_MAP 0x8513
1373 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
1374 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
1375 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
1376 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
1377 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
1378 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
1379 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
1380 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
1381 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
1382 #define GL_COMBINE 0x8570
1383 #define GL_COMBINE_RGB 0x8571
1384 #define GL_COMBINE_ALPHA 0x8572
1385 #define GL_RGB_SCALE 0x8573
1386 #define GL_ADD_SIGNED 0x8574
1387 #define GL_INTERPOLATE 0x8575
1388 #define GL_CONSTANT 0x8576
1389 #define GL_PRIMARY_COLOR 0x8577
1390 #define GL_PREVIOUS 0x8578
1391 #define GL_SOURCE0_RGB 0x8580
1392 #define GL_SOURCE1_RGB 0x8581
1393 #define GL_SOURCE2_RGB 0x8582
1394 #define GL_SOURCE0_ALPHA 0x8588
1395 #define GL_SOURCE1_ALPHA 0x8589
1396 #define GL_SOURCE2_ALPHA 0x858A
1397 #define GL_OPERAND0_RGB 0x8590
1398 #define GL_OPERAND1_RGB 0x8591
1399 #define GL_OPERAND2_RGB 0x8592
1400 #define GL_OPERAND0_ALPHA 0x8598
1401 #define GL_OPERAND1_ALPHA 0x8599
1402 #define GL_OPERAND2_ALPHA 0x859A
1403 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
1404 #define GL_TEXTURE_COMPRESSED 0x86A1
1405 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
1406 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
1407 #define GL_DOT3_RGB 0x86AE
1408 #define GL_DOT3_RGBA 0x86AF
1409 #define GL_MULTISAMPLE_BIT 0x20000000
1410 
1422  const GLvoid* data);
1425  GLsizei imageSize, const GLvoid* data);
1432  GLsizei imageSize, const GLvoid* data);
1434  GLenum target, GLint lod, GLvoid* img);
1436  const GLdouble m[16]);
1438  const GLfloat m[16]);
1440  const GLdouble m[16]);
1442  const GLfloat m[16]);
1444  GLenum target, GLdouble s);
1446  GLenum target, const GLdouble* v);
1448  GLenum target, GLfloat s);
1450  GLenum target, const GLfloat* v);
1453  GLenum target, const GLint* v);
1455  GLenum target, GLshort s);
1457  GLenum target, const GLshort* v);
1459  GLenum target, GLdouble s, GLdouble t);
1461  GLenum target, const GLdouble* v);
1463  GLenum target, GLfloat s, GLfloat t);
1465  GLenum target, const GLfloat* v);
1467  GLenum target, GLint s, GLint t);
1469  GLenum target, const GLint* v);
1471  GLenum target, GLshort s, GLshort t);
1473  GLenum target, const GLshort* v);
1475  GLenum target, GLdouble s, GLdouble t, GLdouble r);
1477  GLenum target, const GLdouble* v);
1479  GLenum target, GLfloat s, GLfloat t, GLfloat r);
1481  GLenum target, const GLfloat* v);
1483  GLenum target, GLint s, GLint t, GLint r);
1485  GLenum target, const GLint* v);
1487  GLenum target, GLshort s, GLshort t, GLshort r);
1489  GLenum target, const GLshort* v);
1491  GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1493  GLenum target, const GLdouble* v);
1495  GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1497  GLenum target, const GLfloat* v);
1499  GLenum target, GLint s, GLint t, GLint r, GLint q);
1501  GLenum target, const GLint* v);
1503  GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1505  GLenum target, const GLshort* v);
1508 
1509 #define glActiveTexture GLEW_GET_FUN(__glewActiveTexture)
1510 #define glClientActiveTexture GLEW_GET_FUN(__glewClientActiveTexture)
1511 #define glCompressedTexImage1D GLEW_GET_FUN(__glewCompressedTexImage1D)
1512 #define glCompressedTexImage2D GLEW_GET_FUN(__glewCompressedTexImage2D)
1513 #define glCompressedTexImage3D GLEW_GET_FUN(__glewCompressedTexImage3D)
1514 #define glCompressedTexSubImage1D GLEW_GET_FUN(__glewCompressedTexSubImage1D)
1515 #define glCompressedTexSubImage2D GLEW_GET_FUN(__glewCompressedTexSubImage2D)
1516 #define glCompressedTexSubImage3D GLEW_GET_FUN(__glewCompressedTexSubImage3D)
1517 #define glGetCompressedTexImage GLEW_GET_FUN(__glewGetCompressedTexImage)
1518 #define glLoadTransposeMatrixd GLEW_GET_FUN(__glewLoadTransposeMatrixd)
1519 #define glLoadTransposeMatrixf GLEW_GET_FUN(__glewLoadTransposeMatrixf)
1520 #define glMultTransposeMatrixd GLEW_GET_FUN(__glewMultTransposeMatrixd)
1521 #define glMultTransposeMatrixf GLEW_GET_FUN(__glewMultTransposeMatrixf)
1522 #define glMultiTexCoord1d GLEW_GET_FUN(__glewMultiTexCoord1d)
1523 #define glMultiTexCoord1dv GLEW_GET_FUN(__glewMultiTexCoord1dv)
1524 #define glMultiTexCoord1f GLEW_GET_FUN(__glewMultiTexCoord1f)
1525 #define glMultiTexCoord1fv GLEW_GET_FUN(__glewMultiTexCoord1fv)
1526 #define glMultiTexCoord1i GLEW_GET_FUN(__glewMultiTexCoord1i)
1527 #define glMultiTexCoord1iv GLEW_GET_FUN(__glewMultiTexCoord1iv)
1528 #define glMultiTexCoord1s GLEW_GET_FUN(__glewMultiTexCoord1s)
1529 #define glMultiTexCoord1sv GLEW_GET_FUN(__glewMultiTexCoord1sv)
1530 #define glMultiTexCoord2d GLEW_GET_FUN(__glewMultiTexCoord2d)
1531 #define glMultiTexCoord2dv GLEW_GET_FUN(__glewMultiTexCoord2dv)
1532 #define glMultiTexCoord2f GLEW_GET_FUN(__glewMultiTexCoord2f)
1533 #define glMultiTexCoord2fv GLEW_GET_FUN(__glewMultiTexCoord2fv)
1534 #define glMultiTexCoord2i GLEW_GET_FUN(__glewMultiTexCoord2i)
1535 #define glMultiTexCoord2iv GLEW_GET_FUN(__glewMultiTexCoord2iv)
1536 #define glMultiTexCoord2s GLEW_GET_FUN(__glewMultiTexCoord2s)
1537 #define glMultiTexCoord2sv GLEW_GET_FUN(__glewMultiTexCoord2sv)
1538 #define glMultiTexCoord3d GLEW_GET_FUN(__glewMultiTexCoord3d)
1539 #define glMultiTexCoord3dv GLEW_GET_FUN(__glewMultiTexCoord3dv)
1540 #define glMultiTexCoord3f GLEW_GET_FUN(__glewMultiTexCoord3f)
1541 #define glMultiTexCoord3fv GLEW_GET_FUN(__glewMultiTexCoord3fv)
1542 #define glMultiTexCoord3i GLEW_GET_FUN(__glewMultiTexCoord3i)
1543 #define glMultiTexCoord3iv GLEW_GET_FUN(__glewMultiTexCoord3iv)
1544 #define glMultiTexCoord3s GLEW_GET_FUN(__glewMultiTexCoord3s)
1545 #define glMultiTexCoord3sv GLEW_GET_FUN(__glewMultiTexCoord3sv)
1546 #define glMultiTexCoord4d GLEW_GET_FUN(__glewMultiTexCoord4d)
1547 #define glMultiTexCoord4dv GLEW_GET_FUN(__glewMultiTexCoord4dv)
1548 #define glMultiTexCoord4f GLEW_GET_FUN(__glewMultiTexCoord4f)
1549 #define glMultiTexCoord4fv GLEW_GET_FUN(__glewMultiTexCoord4fv)
1550 #define glMultiTexCoord4i GLEW_GET_FUN(__glewMultiTexCoord4i)
1551 #define glMultiTexCoord4iv GLEW_GET_FUN(__glewMultiTexCoord4iv)
1552 #define glMultiTexCoord4s GLEW_GET_FUN(__glewMultiTexCoord4s)
1553 #define glMultiTexCoord4sv GLEW_GET_FUN(__glewMultiTexCoord4sv)
1554 #define glSampleCoverage GLEW_GET_FUN(__glewSampleCoverage)
1555 
1556 #define GLEW_VERSION_1_3 GLEW_GET_VAR(__GLEW_VERSION_1_3)
1557 
1558 #endif /* GL_VERSION_1_3 */
1559 
1560  /* ----------------------------- GL_VERSION_1_4 ----------------------------
1561  */
1562 
1563 #ifndef GL_VERSION_1_4
1564 #define GL_VERSION_1_4 1
1565 
1566 #define GL_BLEND_DST_RGB 0x80C8
1567 #define GL_BLEND_SRC_RGB 0x80C9
1568 #define GL_BLEND_DST_ALPHA 0x80CA
1569 #define GL_BLEND_SRC_ALPHA 0x80CB
1570 #define GL_POINT_SIZE_MIN 0x8126
1571 #define GL_POINT_SIZE_MAX 0x8127
1572 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
1573 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
1574 #define GL_GENERATE_MIPMAP 0x8191
1575 #define GL_GENERATE_MIPMAP_HINT 0x8192
1576 #define GL_DEPTH_COMPONENT16 0x81A5
1577 #define GL_DEPTH_COMPONENT24 0x81A6
1578 #define GL_DEPTH_COMPONENT32 0x81A7
1579 #define GL_MIRRORED_REPEAT 0x8370
1580 #define GL_FOG_COORDINATE_SOURCE 0x8450
1581 #define GL_FOG_COORDINATE 0x8451
1582 #define GL_FRAGMENT_DEPTH 0x8452
1583 #define GL_CURRENT_FOG_COORDINATE 0x8453
1584 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
1585 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
1586 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
1587 #define GL_FOG_COORDINATE_ARRAY 0x8457
1588 #define GL_COLOR_SUM 0x8458
1589 #define GL_CURRENT_SECONDARY_COLOR 0x8459
1590 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
1591 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
1592 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
1593 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
1594 #define GL_SECONDARY_COLOR_ARRAY 0x845E
1595 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
1596 #define GL_TEXTURE_FILTER_CONTROL 0x8500
1597 #define GL_TEXTURE_LOD_BIAS 0x8501
1598 #define GL_INCR_WRAP 0x8507
1599 #define GL_DECR_WRAP 0x8508
1600 #define GL_TEXTURE_DEPTH_SIZE 0x884A
1601 #define GL_DEPTH_TEXTURE_MODE 0x884B
1602 #define GL_TEXTURE_COMPARE_MODE 0x884C
1603 #define GL_TEXTURE_COMPARE_FUNC 0x884D
1604 #define GL_COMPARE_R_TO_TEXTURE 0x884E
1605 
1613  GLenum type, GLsizei stride, const GLvoid* pointer);
1622  GLsizei primcount);
1628  GLenum pname, GLint param);
1630  GLenum pname, GLint* params);
1632  GLbyte red, GLbyte green, GLbyte blue);
1638  GLfloat red, GLfloat green, GLfloat blue);
1641  GLint red, GLint green, GLint blue);
1644  GLshort red, GLshort green, GLshort blue);
1647  GLubyte red, GLubyte green, GLubyte blue);
1650  GLuint red, GLuint green, GLuint blue);
1669  GLfloat x, GLfloat y, GLfloat z);
1674  GLshort x, GLshort y, GLshort z);
1676 
1677 #define glBlendColor GLEW_GET_FUN(__glewBlendColor)
1678 #define glBlendEquation GLEW_GET_FUN(__glewBlendEquation)
1679 #define glBlendFuncSeparate GLEW_GET_FUN(__glewBlendFuncSeparate)
1680 #define glFogCoordPointer GLEW_GET_FUN(__glewFogCoordPointer)
1681 #define glFogCoordd GLEW_GET_FUN(__glewFogCoordd)
1682 #define glFogCoorddv GLEW_GET_FUN(__glewFogCoorddv)
1683 #define glFogCoordf GLEW_GET_FUN(__glewFogCoordf)
1684 #define glFogCoordfv GLEW_GET_FUN(__glewFogCoordfv)
1685 #define glMultiDrawArrays GLEW_GET_FUN(__glewMultiDrawArrays)
1686 #define glMultiDrawElements GLEW_GET_FUN(__glewMultiDrawElements)
1687 #define glPointParameterf GLEW_GET_FUN(__glewPointParameterf)
1688 #define glPointParameterfv GLEW_GET_FUN(__glewPointParameterfv)
1689 #define glPointParameteri GLEW_GET_FUN(__glewPointParameteri)
1690 #define glPointParameteriv GLEW_GET_FUN(__glewPointParameteriv)
1691 #define glSecondaryColor3b GLEW_GET_FUN(__glewSecondaryColor3b)
1692 #define glSecondaryColor3bv GLEW_GET_FUN(__glewSecondaryColor3bv)
1693 #define glSecondaryColor3d GLEW_GET_FUN(__glewSecondaryColor3d)
1694 #define glSecondaryColor3dv GLEW_GET_FUN(__glewSecondaryColor3dv)
1695 #define glSecondaryColor3f GLEW_GET_FUN(__glewSecondaryColor3f)
1696 #define glSecondaryColor3fv GLEW_GET_FUN(__glewSecondaryColor3fv)
1697 #define glSecondaryColor3i GLEW_GET_FUN(__glewSecondaryColor3i)
1698 #define glSecondaryColor3iv GLEW_GET_FUN(__glewSecondaryColor3iv)
1699 #define glSecondaryColor3s GLEW_GET_FUN(__glewSecondaryColor3s)
1700 #define glSecondaryColor3sv GLEW_GET_FUN(__glewSecondaryColor3sv)
1701 #define glSecondaryColor3ub GLEW_GET_FUN(__glewSecondaryColor3ub)
1702 #define glSecondaryColor3ubv GLEW_GET_FUN(__glewSecondaryColor3ubv)
1703 #define glSecondaryColor3ui GLEW_GET_FUN(__glewSecondaryColor3ui)
1704 #define glSecondaryColor3uiv GLEW_GET_FUN(__glewSecondaryColor3uiv)
1705 #define glSecondaryColor3us GLEW_GET_FUN(__glewSecondaryColor3us)
1706 #define glSecondaryColor3usv GLEW_GET_FUN(__glewSecondaryColor3usv)
1707 #define glSecondaryColorPointer GLEW_GET_FUN(__glewSecondaryColorPointer)
1708 #define glWindowPos2d GLEW_GET_FUN(__glewWindowPos2d)
1709 #define glWindowPos2dv GLEW_GET_FUN(__glewWindowPos2dv)
1710 #define glWindowPos2f GLEW_GET_FUN(__glewWindowPos2f)
1711 #define glWindowPos2fv GLEW_GET_FUN(__glewWindowPos2fv)
1712 #define glWindowPos2i GLEW_GET_FUN(__glewWindowPos2i)
1713 #define glWindowPos2iv GLEW_GET_FUN(__glewWindowPos2iv)
1714 #define glWindowPos2s GLEW_GET_FUN(__glewWindowPos2s)
1715 #define glWindowPos2sv GLEW_GET_FUN(__glewWindowPos2sv)
1716 #define glWindowPos3d GLEW_GET_FUN(__glewWindowPos3d)
1717 #define glWindowPos3dv GLEW_GET_FUN(__glewWindowPos3dv)
1718 #define glWindowPos3f GLEW_GET_FUN(__glewWindowPos3f)
1719 #define glWindowPos3fv GLEW_GET_FUN(__glewWindowPos3fv)
1720 #define glWindowPos3i GLEW_GET_FUN(__glewWindowPos3i)
1721 #define glWindowPos3iv GLEW_GET_FUN(__glewWindowPos3iv)
1722 #define glWindowPos3s GLEW_GET_FUN(__glewWindowPos3s)
1723 #define glWindowPos3sv GLEW_GET_FUN(__glewWindowPos3sv)
1724 
1725 #define GLEW_VERSION_1_4 GLEW_GET_VAR(__GLEW_VERSION_1_4)
1726 
1727 #endif /* GL_VERSION_1_4 */
1728 
1729  /* ----------------------------- GL_VERSION_1_5 ----------------------------
1730  */
1731 
1732 #ifndef GL_VERSION_1_5
1733 #define GL_VERSION_1_5 1
1734 
1735 #define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE
1736 #define GL_FOG_COORD GL_FOG_COORDINATE
1737 #define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY
1738 #define GL_SRC0_RGB GL_SOURCE0_RGB
1739 #define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER
1740 #define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE
1741 #define GL_SRC1_ALPHA GL_SOURCE1_ALPHA
1742 #define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE
1743 #define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE
1744 #define GL_SRC0_ALPHA GL_SOURCE0_ALPHA
1745 #define GL_SRC1_RGB GL_SOURCE1_RGB
1746 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
1747 #define GL_SRC2_ALPHA GL_SOURCE2_ALPHA
1748 #define GL_SRC2_RGB GL_SOURCE2_RGB
1749 #define GL_BUFFER_SIZE 0x8764
1750 #define GL_BUFFER_USAGE 0x8765
1751 #define GL_QUERY_COUNTER_BITS 0x8864
1752 #define GL_CURRENT_QUERY 0x8865
1753 #define GL_QUERY_RESULT 0x8866
1754 #define GL_QUERY_RESULT_AVAILABLE 0x8867
1755 #define GL_ARRAY_BUFFER 0x8892
1756 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
1757 #define GL_ARRAY_BUFFER_BINDING 0x8894
1758 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
1759 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
1760 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
1761 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
1762 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
1763 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
1764 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
1765 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
1766 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
1767 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
1768 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
1769 #define GL_READ_ONLY 0x88B8
1770 #define GL_WRITE_ONLY 0x88B9
1771 #define GL_READ_WRITE 0x88BA
1772 #define GL_BUFFER_ACCESS 0x88BB
1773 #define GL_BUFFER_MAPPED 0x88BC
1774 #define GL_BUFFER_MAP_POINTER 0x88BD
1775 #define GL_STREAM_DRAW 0x88E0
1776 #define GL_STREAM_READ 0x88E1
1777 #define GL_STREAM_COPY 0x88E2
1778 #define GL_STATIC_DRAW 0x88E4
1779 #define GL_STATIC_READ 0x88E5
1780 #define GL_STATIC_COPY 0x88E6
1781 #define GL_DYNAMIC_DRAW 0x88E8
1782 #define GL_DYNAMIC_READ 0x88E9
1783 #define GL_DYNAMIC_COPY 0x88EA
1784 #define GL_SAMPLES_PASSED 0x8914
1785 
1788 
1792  GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
1794  GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);
1796  GLsizei n, const GLuint* buffers);
1798  GLsizei n, const GLuint* ids);
1803  GLenum target, GLenum pname, GLint* params);
1805  GLenum target, GLenum pname, GLvoid** params);
1813  GLenum target, GLenum pname, GLint* params);
1817  GLenum target, GLenum access);
1819 
1820 #define glBeginQuery GLEW_GET_FUN(__glewBeginQuery)
1821 #define glBindBuffer GLEW_GET_FUN(__glewBindBuffer)
1822 #define glBufferData GLEW_GET_FUN(__glewBufferData)
1823 #define glBufferSubData GLEW_GET_FUN(__glewBufferSubData)
1824 #define glDeleteBuffers GLEW_GET_FUN(__glewDeleteBuffers)
1825 #define glDeleteQueries GLEW_GET_FUN(__glewDeleteQueries)
1826 #define glEndQuery GLEW_GET_FUN(__glewEndQuery)
1827 #define glGenBuffers GLEW_GET_FUN(__glewGenBuffers)
1828 #define glGenQueries GLEW_GET_FUN(__glewGenQueries)
1829 #define glGetBufferParameteriv GLEW_GET_FUN(__glewGetBufferParameteriv)
1830 #define glGetBufferPointerv GLEW_GET_FUN(__glewGetBufferPointerv)
1831 #define glGetBufferSubData GLEW_GET_FUN(__glewGetBufferSubData)
1832 #define glGetQueryObjectiv GLEW_GET_FUN(__glewGetQueryObjectiv)
1833 #define glGetQueryObjectuiv GLEW_GET_FUN(__glewGetQueryObjectuiv)
1834 #define glGetQueryiv GLEW_GET_FUN(__glewGetQueryiv)
1835 #define glIsBuffer GLEW_GET_FUN(__glewIsBuffer)
1836 #define glIsQuery GLEW_GET_FUN(__glewIsQuery)
1837 #define glMapBuffer GLEW_GET_FUN(__glewMapBuffer)
1838 #define glUnmapBuffer GLEW_GET_FUN(__glewUnmapBuffer)
1839 
1840 #define GLEW_VERSION_1_5 GLEW_GET_VAR(__GLEW_VERSION_1_5)
1841 
1842 #endif /* GL_VERSION_1_5 */
1843 
1844  /* ----------------------------- GL_VERSION_2_0 ----------------------------
1845  */
1846 
1847 #ifndef GL_VERSION_2_0
1848 #define GL_VERSION_2_0 1
1849 
1850 #define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION
1851 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
1852 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
1853 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
1854 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
1855 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
1856 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
1857 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
1858 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
1859 #define GL_STENCIL_BACK_FUNC 0x8800
1860 #define GL_STENCIL_BACK_FAIL 0x8801
1861 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
1862 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
1863 #define GL_MAX_DRAW_BUFFERS 0x8824
1864 #define GL_DRAW_BUFFER0 0x8825
1865 #define GL_DRAW_BUFFER1 0x8826
1866 #define GL_DRAW_BUFFER2 0x8827
1867 #define GL_DRAW_BUFFER3 0x8828
1868 #define GL_DRAW_BUFFER4 0x8829
1869 #define GL_DRAW_BUFFER5 0x882A
1870 #define GL_DRAW_BUFFER6 0x882B
1871 #define GL_DRAW_BUFFER7 0x882C
1872 #define GL_DRAW_BUFFER8 0x882D
1873 #define GL_DRAW_BUFFER9 0x882E
1874 #define GL_DRAW_BUFFER10 0x882F
1875 #define GL_DRAW_BUFFER11 0x8830
1876 #define GL_DRAW_BUFFER12 0x8831
1877 #define GL_DRAW_BUFFER13 0x8832
1878 #define GL_DRAW_BUFFER14 0x8833
1879 #define GL_DRAW_BUFFER15 0x8834
1880 #define GL_BLEND_EQUATION_ALPHA 0x883D
1881 #define GL_POINT_SPRITE 0x8861
1882 #define GL_COORD_REPLACE 0x8862
1883 #define GL_MAX_VERTEX_ATTRIBS 0x8869
1884 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
1885 #define GL_MAX_TEXTURE_COORDS 0x8871
1886 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
1887 #define GL_FRAGMENT_SHADER 0x8B30
1888 #define GL_VERTEX_SHADER 0x8B31
1889 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
1890 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
1891 #define GL_MAX_VARYING_FLOATS 0x8B4B
1892 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
1893 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
1894 #define GL_SHADER_TYPE 0x8B4F
1895 #define GL_FLOAT_VEC2 0x8B50
1896 #define GL_FLOAT_VEC3 0x8B51
1897 #define GL_FLOAT_VEC4 0x8B52
1898 #define GL_INT_VEC2 0x8B53
1899 #define GL_INT_VEC3 0x8B54
1900 #define GL_INT_VEC4 0x8B55
1901 #define GL_BOOL 0x8B56
1902 #define GL_BOOL_VEC2 0x8B57
1903 #define GL_BOOL_VEC3 0x8B58
1904 #define GL_BOOL_VEC4 0x8B59
1905 #define GL_FLOAT_MAT2 0x8B5A
1906 #define GL_FLOAT_MAT3 0x8B5B
1907 #define GL_FLOAT_MAT4 0x8B5C
1908 #define GL_SAMPLER_1D 0x8B5D
1909 #define GL_SAMPLER_2D 0x8B5E
1910 #define GL_SAMPLER_3D 0x8B5F
1911 #define GL_SAMPLER_CUBE 0x8B60
1912 #define GL_SAMPLER_1D_SHADOW 0x8B61
1913 #define GL_SAMPLER_2D_SHADOW 0x8B62
1914 #define GL_DELETE_STATUS 0x8B80
1915 #define GL_COMPILE_STATUS 0x8B81
1916 #define GL_LINK_STATUS 0x8B82
1917 #define GL_VALIDATE_STATUS 0x8B83
1918 #define GL_INFO_LOG_LENGTH 0x8B84
1919 #define GL_ATTACHED_SHADERS 0x8B85
1920 #define GL_ACTIVE_UNIFORMS 0x8B86
1921 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
1922 #define GL_SHADER_SOURCE_LENGTH 0x8B88
1923 #define GL_ACTIVE_ATTRIBUTES 0x8B89
1924 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
1925 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
1926 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
1927 #define GL_CURRENT_PROGRAM 0x8B8D
1928 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
1929 #define GL_LOWER_LEFT 0x8CA1
1930 #define GL_UPPER_LEFT 0x8CA2
1931 #define GL_STENCIL_BACK_REF 0x8CA3
1932 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
1933 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
1934 
1935  typedef char GLchar;
1936 
1940  GLuint program, GLuint index, const GLchar* name);
1951  GLsizei n, const GLenum* bufs);
1955  GLint* size, GLenum* type, GLchar* name);
1958  GLint* size, GLenum* type, GLchar* name);
1962  GLuint program, const GLchar* name);
1974  GLuint program, const GLchar* name);
1980  GLuint, GLenum, GLvoid*);
1982  GLuint, GLenum, GLdouble*);
1984  GLuint, GLenum, GLfloat*);
1986  GLuint, GLenum, GLint*);
1991  GLuint shader, GLsizei count, const GLchar** strings,
1992  const GLint* lengths);
1994  GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
2003  GLint location, GLsizei count, const GLint* value);
2011  GLint location, GLsizei count, const GLint* value);
2019  GLint location, GLsizei count, const GLint* value);
2027  GLint location, GLsizei count, const GLint* value);
2030  const GLfloat* value);
2033  const GLfloat* value);
2036  const GLfloat* value);
2041  GLuint index, const GLdouble* v);
2044  GLuint index, const GLfloat* v);
2047  GLuint index, const GLshort* v);
2051  GLuint index, const GLdouble* v);
2055  GLuint index, const GLfloat* v);
2059  GLuint index, const GLshort* v);
2063  GLuint index, const GLdouble* v);
2067  GLuint index, const GLfloat* v);
2071  GLuint index, const GLshort* v);
2073  GLuint index, const GLbyte* v);
2075  GLuint index, const GLint* v);
2077  GLuint index, const GLshort* v);
2081  GLuint index, const GLubyte* v);
2083  GLuint index, const GLuint* v);
2085  GLuint index, const GLushort* v);
2087  GLuint index, const GLbyte* v);
2091  GLuint index, const GLdouble* v);
2095  GLuint index, const GLfloat* v);
2097  GLuint index, const GLint* v);
2101  GLuint index, const GLshort* v);
2103  GLuint index, const GLubyte* v);
2105  GLuint index, const GLuint* v);
2107  GLuint index, const GLushort* v);
2110  GLsizei stride, const GLvoid* pointer);
2111 
2112 #define glAttachShader GLEW_GET_FUN(__glewAttachShader)
2113 #define glBindAttribLocation GLEW_GET_FUN(__glewBindAttribLocation)
2114 #define glBlendEquationSeparate GLEW_GET_FUN(__glewBlendEquationSeparate)
2115 #define glCompileShader GLEW_GET_FUN(__glewCompileShader)
2116 #define glCreateProgram GLEW_GET_FUN(__glewCreateProgram)
2117 #define glCreateShader GLEW_GET_FUN(__glewCreateShader)
2118 #define glDeleteProgram GLEW_GET_FUN(__glewDeleteProgram)
2119 #define glDeleteShader GLEW_GET_FUN(__glewDeleteShader)
2120 #define glDetachShader GLEW_GET_FUN(__glewDetachShader)
2121 #define glDisableVertexAttribArray GLEW_GET_FUN(__glewDisableVertexAttribArray)
2122 #define glDrawBuffers GLEW_GET_FUN(__glewDrawBuffers)
2123 #define glEnableVertexAttribArray GLEW_GET_FUN(__glewEnableVertexAttribArray)
2124 #define glGetActiveAttrib GLEW_GET_FUN(__glewGetActiveAttrib)
2125 #define glGetActiveUniform GLEW_GET_FUN(__glewGetActiveUniform)
2126 #define glGetAttachedShaders GLEW_GET_FUN(__glewGetAttachedShaders)
2127 #define glGetAttribLocation GLEW_GET_FUN(__glewGetAttribLocation)
2128 #define glGetProgramInfoLog GLEW_GET_FUN(__glewGetProgramInfoLog)
2129 #define glGetProgramiv GLEW_GET_FUN(__glewGetProgramiv)
2130 #define glGetShaderInfoLog GLEW_GET_FUN(__glewGetShaderInfoLog)
2131 #define glGetShaderSource GLEW_GET_FUN(__glewGetShaderSource)
2132 #define glGetShaderiv GLEW_GET_FUN(__glewGetShaderiv)
2133 #define glGetUniformLocation GLEW_GET_FUN(__glewGetUniformLocation)
2134 #define glGetUniformfv GLEW_GET_FUN(__glewGetUniformfv)
2135 #define glGetUniformiv GLEW_GET_FUN(__glewGetUniformiv)
2136 #define glGetVertexAttribPointerv GLEW_GET_FUN(__glewGetVertexAttribPointerv)
2137 #define glGetVertexAttribdv GLEW_GET_FUN(__glewGetVertexAttribdv)
2138 #define glGetVertexAttribfv GLEW_GET_FUN(__glewGetVertexAttribfv)
2139 #define glGetVertexAttribiv GLEW_GET_FUN(__glewGetVertexAttribiv)
2140 #define glIsProgram GLEW_GET_FUN(__glewIsProgram)
2141 #define glIsShader GLEW_GET_FUN(__glewIsShader)
2142 #define glLinkProgram GLEW_GET_FUN(__glewLinkProgram)
2143 #define glShaderSource GLEW_GET_FUN(__glewShaderSource)
2144 #define glStencilFuncSeparate GLEW_GET_FUN(__glewStencilFuncSeparate)
2145 #define glStencilMaskSeparate GLEW_GET_FUN(__glewStencilMaskSeparate)
2146 #define glStencilOpSeparate GLEW_GET_FUN(__glewStencilOpSeparate)
2147 #define glUniform1f GLEW_GET_FUN(__glewUniform1f)
2148 #define glUniform1fv GLEW_GET_FUN(__glewUniform1fv)
2149 #define glUniform1i GLEW_GET_FUN(__glewUniform1i)
2150 #define glUniform1iv GLEW_GET_FUN(__glewUniform1iv)
2151 #define glUniform2f GLEW_GET_FUN(__glewUniform2f)
2152 #define glUniform2fv GLEW_GET_FUN(__glewUniform2fv)
2153 #define glUniform2i GLEW_GET_FUN(__glewUniform2i)
2154 #define glUniform2iv GLEW_GET_FUN(__glewUniform2iv)
2155 #define glUniform3f GLEW_GET_FUN(__glewUniform3f)
2156 #define glUniform3fv GLEW_GET_FUN(__glewUniform3fv)
2157 #define glUniform3i GLEW_GET_FUN(__glewUniform3i)
2158 #define glUniform3iv GLEW_GET_FUN(__glewUniform3iv)
2159 #define glUniform4f GLEW_GET_FUN(__glewUniform4f)
2160 #define glUniform4fv GLEW_GET_FUN(__glewUniform4fv)
2161 #define glUniform4i GLEW_GET_FUN(__glewUniform4i)
2162 #define glUniform4iv GLEW_GET_FUN(__glewUniform4iv)
2163 #define glUniformMatrix2fv GLEW_GET_FUN(__glewUniformMatrix2fv)
2164 #define glUniformMatrix3fv GLEW_GET_FUN(__glewUniformMatrix3fv)
2165 #define glUniformMatrix4fv GLEW_GET_FUN(__glewUniformMatrix4fv)
2166 #define glUseProgram GLEW_GET_FUN(__glewUseProgram)
2167 #define glValidateProgram GLEW_GET_FUN(__glewValidateProgram)
2168 #define glVertexAttrib1d GLEW_GET_FUN(__glewVertexAttrib1d)
2169 #define glVertexAttrib1dv GLEW_GET_FUN(__glewVertexAttrib1dv)
2170 #define glVertexAttrib1f GLEW_GET_FUN(__glewVertexAttrib1f)
2171 #define glVertexAttrib1fv GLEW_GET_FUN(__glewVertexAttrib1fv)
2172 #define glVertexAttrib1s GLEW_GET_FUN(__glewVertexAttrib1s)
2173 #define glVertexAttrib1sv GLEW_GET_FUN(__glewVertexAttrib1sv)
2174 #define glVertexAttrib2d GLEW_GET_FUN(__glewVertexAttrib2d)
2175 #define glVertexAttrib2dv GLEW_GET_FUN(__glewVertexAttrib2dv)
2176 #define glVertexAttrib2f GLEW_GET_FUN(__glewVertexAttrib2f)
2177 #define glVertexAttrib2fv GLEW_GET_FUN(__glewVertexAttrib2fv)
2178 #define glVertexAttrib2s GLEW_GET_FUN(__glewVertexAttrib2s)
2179 #define glVertexAttrib2sv GLEW_GET_FUN(__glewVertexAttrib2sv)
2180 #define glVertexAttrib3d GLEW_GET_FUN(__glewVertexAttrib3d)
2181 #define glVertexAttrib3dv GLEW_GET_FUN(__glewVertexAttrib3dv)
2182 #define glVertexAttrib3f GLEW_GET_FUN(__glewVertexAttrib3f)
2183 #define glVertexAttrib3fv GLEW_GET_FUN(__glewVertexAttrib3fv)
2184 #define glVertexAttrib3s GLEW_GET_FUN(__glewVertexAttrib3s)
2185 #define glVertexAttrib3sv GLEW_GET_FUN(__glewVertexAttrib3sv)
2186 #define glVertexAttrib4Nbv GLEW_GET_FUN(__glewVertexAttrib4Nbv)
2187 #define glVertexAttrib4Niv GLEW_GET_FUN(__glewVertexAttrib4Niv)
2188 #define glVertexAttrib4Nsv GLEW_GET_FUN(__glewVertexAttrib4Nsv)
2189 #define glVertexAttrib4Nub GLEW_GET_FUN(__glewVertexAttrib4Nub)
2190 #define glVertexAttrib4Nubv GLEW_GET_FUN(__glewVertexAttrib4Nubv)
2191 #define glVertexAttrib4Nuiv GLEW_GET_FUN(__glewVertexAttrib4Nuiv)
2192 #define glVertexAttrib4Nusv GLEW_GET_FUN(__glewVertexAttrib4Nusv)
2193 #define glVertexAttrib4bv GLEW_GET_FUN(__glewVertexAttrib4bv)
2194 #define glVertexAttrib4d GLEW_GET_FUN(__glewVertexAttrib4d)
2195 #define glVertexAttrib4dv GLEW_GET_FUN(__glewVertexAttrib4dv)
2196 #define glVertexAttrib4f GLEW_GET_FUN(__glewVertexAttrib4f)
2197 #define glVertexAttrib4fv GLEW_GET_FUN(__glewVertexAttrib4fv)
2198 #define glVertexAttrib4iv GLEW_GET_FUN(__glewVertexAttrib4iv)
2199 #define glVertexAttrib4s GLEW_GET_FUN(__glewVertexAttrib4s)
2200 #define glVertexAttrib4sv GLEW_GET_FUN(__glewVertexAttrib4sv)
2201 #define glVertexAttrib4ubv GLEW_GET_FUN(__glewVertexAttrib4ubv)
2202 #define glVertexAttrib4uiv GLEW_GET_FUN(__glewVertexAttrib4uiv)
2203 #define glVertexAttrib4usv GLEW_GET_FUN(__glewVertexAttrib4usv)
2204 #define glVertexAttribPointer GLEW_GET_FUN(__glewVertexAttribPointer)
2205 
2206 #define GLEW_VERSION_2_0 GLEW_GET_VAR(__GLEW_VERSION_2_0)
2207 
2208 #endif /* GL_VERSION_2_0 */
2209 
2210  /* ----------------------------- GL_VERSION_2_1 ----------------------------
2211  */
2212 
2213 #ifndef GL_VERSION_2_1
2214 #define GL_VERSION_2_1 1
2215 
2216 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
2217 #define GL_PIXEL_PACK_BUFFER 0x88EB
2218 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
2219 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
2220 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
2221 #define GL_FLOAT_MAT2x3 0x8B65
2222 #define GL_FLOAT_MAT2x4 0x8B66
2223 #define GL_FLOAT_MAT3x2 0x8B67
2224 #define GL_FLOAT_MAT3x4 0x8B68
2225 #define GL_FLOAT_MAT4x2 0x8B69
2226 #define GL_FLOAT_MAT4x3 0x8B6A
2227 #define GL_SRGB 0x8C40
2228 #define GL_SRGB8 0x8C41
2229 #define GL_SRGB_ALPHA 0x8C42
2230 #define GL_SRGB8_ALPHA8 0x8C43
2231 #define GL_SLUMINANCE_ALPHA 0x8C44
2232 #define GL_SLUMINANCE8_ALPHA8 0x8C45
2233 #define GL_SLUMINANCE 0x8C46
2234 #define GL_SLUMINANCE8 0x8C47
2235 #define GL_COMPRESSED_SRGB 0x8C48
2236 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
2237 #define GL_COMPRESSED_SLUMINANCE 0x8C4A
2238 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
2239 
2242  const GLfloat* value);
2245  const GLfloat* value);
2248  const GLfloat* value);
2251  const GLfloat* value);
2254  const GLfloat* value);
2257  const GLfloat* value);
2258 
2259 #define glUniformMatrix2x3fv GLEW_GET_FUN(__glewUniformMatrix2x3fv)
2260 #define glUniformMatrix2x4fv GLEW_GET_FUN(__glewUniformMatrix2x4fv)
2261 #define glUniformMatrix3x2fv GLEW_GET_FUN(__glewUniformMatrix3x2fv)
2262 #define glUniformMatrix3x4fv GLEW_GET_FUN(__glewUniformMatrix3x4fv)
2263 #define glUniformMatrix4x2fv GLEW_GET_FUN(__glewUniformMatrix4x2fv)
2264 #define glUniformMatrix4x3fv GLEW_GET_FUN(__glewUniformMatrix4x3fv)
2265 
2266 #define GLEW_VERSION_2_1 GLEW_GET_VAR(__GLEW_VERSION_2_1)
2267 
2268 #endif /* GL_VERSION_2_1 */
2269 
2270  /* ----------------------------- GL_VERSION_3_0 ----------------------------
2271  */
2272 
2273 #ifndef GL_VERSION_3_0
2274 #define GL_VERSION_3_0 1
2275 
2276 #define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES
2277 #define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5
2278 #define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1
2279 #define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3
2280 #define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB
2281 #define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0
2282 #define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4
2283 #define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2
2284 #define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS
2285 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
2286 #define GL_MAJOR_VERSION 0x821B
2287 #define GL_MINOR_VERSION 0x821C
2288 #define GL_NUM_EXTENSIONS 0x821D
2289 #define GL_CONTEXT_FLAGS 0x821E
2290 #define GL_DEPTH_BUFFER 0x8223
2291 #define GL_STENCIL_BUFFER 0x8224
2292 #define GL_COMPRESSED_RED 0x8225
2293 #define GL_COMPRESSED_RG 0x8226
2294 #define GL_RGBA32F 0x8814
2295 #define GL_RGB32F 0x8815
2296 #define GL_RGBA16F 0x881A
2297 #define GL_RGB16F 0x881B
2298 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
2299 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
2300 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
2301 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
2302 #define GL_CLAMP_VERTEX_COLOR 0x891A
2303 #define GL_CLAMP_FRAGMENT_COLOR 0x891B
2304 #define GL_CLAMP_READ_COLOR 0x891C
2305 #define GL_FIXED_ONLY 0x891D
2306 #define GL_TEXTURE_RED_TYPE 0x8C10
2307 #define GL_TEXTURE_GREEN_TYPE 0x8C11
2308 #define GL_TEXTURE_BLUE_TYPE 0x8C12
2309 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
2310 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
2311 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
2312 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
2313 #define GL_UNSIGNED_NORMALIZED 0x8C17
2314 #define GL_TEXTURE_1D_ARRAY 0x8C18
2315 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
2316 #define GL_TEXTURE_2D_ARRAY 0x8C1A
2317 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
2318 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
2319 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
2320 #define GL_R11F_G11F_B10F 0x8C3A
2321 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
2322 #define GL_RGB9_E5 0x8C3D
2323 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
2324 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
2325 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
2326 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
2327 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
2328 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
2329 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
2330 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
2331 #define GL_PRIMITIVES_GENERATED 0x8C87
2332 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
2333 #define GL_RASTERIZER_DISCARD 0x8C89
2334 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
2335 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
2336 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
2337 #define GL_SEPARATE_ATTRIBS 0x8C8D
2338 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
2339 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
2340 #define GL_RGBA32UI 0x8D70
2341 #define GL_RGB32UI 0x8D71
2342 #define GL_RGBA16UI 0x8D76
2343 #define GL_RGB16UI 0x8D77
2344 #define GL_RGBA8UI 0x8D7C
2345 #define GL_RGB8UI 0x8D7D
2346 #define GL_RGBA32I 0x8D82
2347 #define GL_RGB32I 0x8D83
2348 #define GL_RGBA16I 0x8D88
2349 #define GL_RGB16I 0x8D89
2350 #define GL_RGBA8I 0x8D8E
2351 #define GL_RGB8I 0x8D8F
2352 #define GL_RED_INTEGER 0x8D94
2353 #define GL_GREEN_INTEGER 0x8D95
2354 #define GL_BLUE_INTEGER 0x8D96
2355 #define GL_ALPHA_INTEGER 0x8D97
2356 #define GL_RGB_INTEGER 0x8D98
2357 #define GL_RGBA_INTEGER 0x8D99
2358 #define GL_BGR_INTEGER 0x8D9A
2359 #define GL_BGRA_INTEGER 0x8D9B
2360 #define GL_SAMPLER_1D_ARRAY 0x8DC0
2361 #define GL_SAMPLER_2D_ARRAY 0x8DC1
2362 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
2363 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
2364 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
2365 #define GL_UNSIGNED_INT_VEC2 0x8DC6
2366 #define GL_UNSIGNED_INT_VEC3 0x8DC7
2367 #define GL_UNSIGNED_INT_VEC4 0x8DC8
2368 #define GL_INT_SAMPLER_1D 0x8DC9
2369 #define GL_INT_SAMPLER_2D 0x8DCA
2370 #define GL_INT_SAMPLER_3D 0x8DCB
2371 #define GL_INT_SAMPLER_CUBE 0x8DCC
2372 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
2373 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
2374 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
2375 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
2376 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
2377 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
2378 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
2379 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
2380 #define GL_QUERY_WAIT 0x8E13
2381 #define GL_QUERY_NO_WAIT 0x8E14
2382 #define GL_QUERY_BY_REGION_WAIT 0x8E15
2383 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
2384 
2391  GLuint, GLuint, const GLchar*);
2394  GLenum, GLint, GLfloat, GLint);
2396  GLenum, GLint, const GLfloat*);
2398  GLenum, GLint, const GLint*);
2400  GLenum, GLint, const GLuint*);
2408  GLenum, GLuint, GLboolean*);
2410  GLuint, const GLchar*);
2414  GLenum, GLenum, GLint*);
2416  GLenum, GLenum, GLuint*);
2418  GLuint, GLuint, GLint*);
2421  GLuint, GLenum, GLint*);
2423  GLuint, GLenum, GLuint*);
2426  GLenum, GLenum, const GLint*);
2428  GLenum, GLenum, const GLuint*);
2430  GLuint, GLsizei, const GLint*, GLenum);
2433  GLint, GLsizei, const GLuint*);
2436  GLint, GLsizei, const GLuint*);
2438  GLint, GLuint, GLuint, GLuint);
2440  GLint, GLsizei, const GLuint*);
2444  GLint, GLsizei, const GLuint*);
2454  GLuint, GLint, GLint, GLint);
2457  GLuint, GLuint, GLuint, GLuint);
2461  GLuint, GLint, GLint, GLint, GLint);
2465  GLuint, const GLubyte*);
2470  GLuint, const GLushort*);
2472  GLuint, GLint, GLenum, GLsizei, const GLvoid*);
2473 
2474 #define glBeginConditionalRender GLEW_GET_FUN(__glewBeginConditionalRender)
2475 #define glBeginTransformFeedback GLEW_GET_FUN(__glewBeginTransformFeedback)
2476 #define glBindBufferBase GLEW_GET_FUN(__glewBindBufferBase)
2477 #define glBindBufferRange GLEW_GET_FUN(__glewBindBufferRange)
2478 #define glBindFragDataLocation GLEW_GET_FUN(__glewBindFragDataLocation)
2479 #define glClampColor GLEW_GET_FUN(__glewClampColor)
2480 #define glClearBufferfi GLEW_GET_FUN(__glewClearBufferfi)
2481 #define glClearBufferfv GLEW_GET_FUN(__glewClearBufferfv)
2482 #define glClearBufferiv GLEW_GET_FUN(__glewClearBufferiv)
2483 #define glClearBufferuiv GLEW_GET_FUN(__glewClearBufferuiv)
2484 #define glColorMaski GLEW_GET_FUN(__glewColorMaski)
2485 #define glDisablei GLEW_GET_FUN(__glewDisablei)
2486 #define glEnablei GLEW_GET_FUN(__glewEnablei)
2487 #define glEndConditionalRender GLEW_GET_FUN(__glewEndConditionalRender)
2488 #define glEndTransformFeedback GLEW_GET_FUN(__glewEndTransformFeedback)
2489 #define glGetBooleani_v GLEW_GET_FUN(__glewGetBooleani_v)
2490 #define glGetFragDataLocation GLEW_GET_FUN(__glewGetFragDataLocation)
2491 #define glGetIntegeri_v GLEW_GET_FUN(__glewGetIntegeri_v)
2492 #define glGetStringi GLEW_GET_FUN(__glewGetStringi)
2493 #define glGetTexParameterIiv GLEW_GET_FUN(__glewGetTexParameterIiv)
2494 #define glGetTexParameterIuiv GLEW_GET_FUN(__glewGetTexParameterIuiv)
2495 #define glGetTransformFeedbackVarying \
2496  GLEW_GET_FUN(__glewGetTransformFeedbackVarying)
2497 #define glGetUniformuiv GLEW_GET_FUN(__glewGetUniformuiv)
2498 #define glGetVertexAttribIiv GLEW_GET_FUN(__glewGetVertexAttribIiv)
2499 #define glGetVertexAttribIuiv GLEW_GET_FUN(__glewGetVertexAttribIuiv)
2500 #define glIsEnabledi GLEW_GET_FUN(__glewIsEnabledi)
2501 #define glTexParameterIiv GLEW_GET_FUN(__glewTexParameterIiv)
2502 #define glTexParameterIuiv GLEW_GET_FUN(__glewTexParameterIuiv)
2503 #define glTransformFeedbackVaryings \
2504  GLEW_GET_FUN(__glewTransformFeedbackVaryings)
2505 #define glUniform1ui GLEW_GET_FUN(__glewUniform1ui)
2506 #define glUniform1uiv GLEW_GET_FUN(__glewUniform1uiv)
2507 #define glUniform2ui GLEW_GET_FUN(__glewUniform2ui)
2508 #define glUniform2uiv GLEW_GET_FUN(__glewUniform2uiv)
2509 #define glUniform3ui GLEW_GET_FUN(__glewUniform3ui)
2510 #define glUniform3uiv GLEW_GET_FUN(__glewUniform3uiv)
2511 #define glUniform4ui GLEW_GET_FUN(__glewUniform4ui)
2512 #define glUniform4uiv GLEW_GET_FUN(__glewUniform4uiv)
2513 #define glVertexAttribI1i GLEW_GET_FUN(__glewVertexAttribI1i)
2514 #define glVertexAttribI1iv GLEW_GET_FUN(__glewVertexAttribI1iv)
2515 #define glVertexAttribI1ui GLEW_GET_FUN(__glewVertexAttribI1ui)
2516 #define glVertexAttribI1uiv GLEW_GET_FUN(__glewVertexAttribI1uiv)
2517 #define glVertexAttribI2i GLEW_GET_FUN(__glewVertexAttribI2i)
2518 #define glVertexAttribI2iv GLEW_GET_FUN(__glewVertexAttribI2iv)
2519 #define glVertexAttribI2ui GLEW_GET_FUN(__glewVertexAttribI2ui)
2520 #define glVertexAttribI2uiv GLEW_GET_FUN(__glewVertexAttribI2uiv)
2521 #define glVertexAttribI3i GLEW_GET_FUN(__glewVertexAttribI3i)
2522 #define glVertexAttribI3iv GLEW_GET_FUN(__glewVertexAttribI3iv)
2523 #define glVertexAttribI3ui GLEW_GET_FUN(__glewVertexAttribI3ui)
2524 #define glVertexAttribI3uiv GLEW_GET_FUN(__glewVertexAttribI3uiv)
2525 #define glVertexAttribI4bv GLEW_GET_FUN(__glewVertexAttribI4bv)
2526 #define glVertexAttribI4i GLEW_GET_FUN(__glewVertexAttribI4i)
2527 #define glVertexAttribI4iv GLEW_GET_FUN(__glewVertexAttribI4iv)
2528 #define glVertexAttribI4sv GLEW_GET_FUN(__glewVertexAttribI4sv)
2529 #define glVertexAttribI4ubv GLEW_GET_FUN(__glewVertexAttribI4ubv)
2530 #define glVertexAttribI4ui GLEW_GET_FUN(__glewVertexAttribI4ui)
2531 #define glVertexAttribI4uiv GLEW_GET_FUN(__glewVertexAttribI4uiv)
2532 #define glVertexAttribI4usv GLEW_GET_FUN(__glewVertexAttribI4usv)
2533 #define glVertexAttribIPointer GLEW_GET_FUN(__glewVertexAttribIPointer)
2534 
2535 #define GLEW_VERSION_3_0 GLEW_GET_VAR(__GLEW_VERSION_3_0)
2536 
2537 #endif /* GL_VERSION_3_0 */
2538 
2539  /* -------------------------- GL_3DFX_multisample --------------------------
2540  */
2541 
2542 #ifndef GL_3DFX_multisample
2543 #define GL_3DFX_multisample 1
2544 
2545 #define GL_MULTISAMPLE_3DFX 0x86B2
2546 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
2547 #define GL_SAMPLES_3DFX 0x86B4
2548 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
2549 
2550 #define GLEW_3DFX_multisample GLEW_GET_VAR(__GLEW_3DFX_multisample)
2551 
2552 #endif /* GL_3DFX_multisample */
2553 
2554  /* ---------------------------- GL_3DFX_tbuffer ----------------------------
2555  */
2556 
2557 #ifndef GL_3DFX_tbuffer
2558 #define GL_3DFX_tbuffer 1
2559 
2561 
2562 #define glTbufferMask3DFX GLEW_GET_FUN(__glewTbufferMask3DFX)
2563 
2564 #define GLEW_3DFX_tbuffer GLEW_GET_VAR(__GLEW_3DFX_tbuffer)
2565 
2566 #endif /* GL_3DFX_tbuffer */
2567 
2568  /* -------------------- GL_3DFX_texture_compression_FXT1 -------------------
2569  */
2570 
2571 #ifndef GL_3DFX_texture_compression_FXT1
2572 #define GL_3DFX_texture_compression_FXT1 1
2573 
2574 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
2575 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
2576 
2577 #define GLEW_3DFX_texture_compression_FXT1 \
2578  GLEW_GET_VAR(__GLEW_3DFX_texture_compression_FXT1)
2579 
2580 #endif /* GL_3DFX_texture_compression_FXT1 */
2581 
2582  /* ------------------------ GL_APPLE_client_storage ------------------------
2583  */
2584 
2585 #ifndef GL_APPLE_client_storage
2586 #define GL_APPLE_client_storage 1
2587 
2588 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
2589 
2590 #define GLEW_APPLE_client_storage GLEW_GET_VAR(__GLEW_APPLE_client_storage)
2591 
2592 #endif /* GL_APPLE_client_storage */
2593 
2594  /* ------------------------- GL_APPLE_element_array ------------------------
2595  */
2596 
2597 #ifndef GL_APPLE_element_array
2598 #define GL_APPLE_element_array 1
2599 
2600 #define GL_ELEMENT_ARRAY_APPLE 0x8768
2601 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8769
2602 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x876A
2603 
2609  GLenum type, const void* pointer);
2611  GLenum mode, const GLint* first, const GLsizei* count,
2612  GLsizei primcount);
2615  const GLsizei* count, GLsizei primcount);
2616 
2617 #define glDrawElementArrayAPPLE GLEW_GET_FUN(__glewDrawElementArrayAPPLE)
2618 #define glDrawRangeElementArrayAPPLE \
2619  GLEW_GET_FUN(__glewDrawRangeElementArrayAPPLE)
2620 #define glElementPointerAPPLE GLEW_GET_FUN(__glewElementPointerAPPLE)
2621 #define glMultiDrawElementArrayAPPLE \
2622  GLEW_GET_FUN(__glewMultiDrawElementArrayAPPLE)
2623 #define glMultiDrawRangeElementArrayAPPLE \
2624  GLEW_GET_FUN(__glewMultiDrawRangeElementArrayAPPLE)
2625 
2626 #define GLEW_APPLE_element_array GLEW_GET_VAR(__GLEW_APPLE_element_array)
2627 
2628 #endif /* GL_APPLE_element_array */
2629 
2630  /* ----------------------------- GL_APPLE_fence ----------------------------
2631  */
2632 
2633 #ifndef GL_APPLE_fence
2634 #define GL_APPLE_fence 1
2635 
2636 #define GL_DRAW_PIXELS_APPLE 0x8A0A
2637 #define GL_FENCE_APPLE 0x8A0B
2638 
2640  GLsizei n, const GLuint* fences);
2643  GLenum object, GLint name);
2645  GLsizei n, GLuint* fences);
2650  GLenum object, GLuint name);
2651 
2652 #define glDeleteFencesAPPLE GLEW_GET_FUN(__glewDeleteFencesAPPLE)
2653 #define glFinishFenceAPPLE GLEW_GET_FUN(__glewFinishFenceAPPLE)
2654 #define glFinishObjectAPPLE GLEW_GET_FUN(__glewFinishObjectAPPLE)
2655 #define glGenFencesAPPLE GLEW_GET_FUN(__glewGenFencesAPPLE)
2656 #define glIsFenceAPPLE GLEW_GET_FUN(__glewIsFenceAPPLE)
2657 #define glSetFenceAPPLE GLEW_GET_FUN(__glewSetFenceAPPLE)
2658 #define glTestFenceAPPLE GLEW_GET_FUN(__glewTestFenceAPPLE)
2659 #define glTestObjectAPPLE GLEW_GET_FUN(__glewTestObjectAPPLE)
2660 
2661 #define GLEW_APPLE_fence GLEW_GET_VAR(__GLEW_APPLE_fence)
2662 
2663 #endif /* GL_APPLE_fence */
2664 
2665  /* ------------------------- GL_APPLE_float_pixels -------------------------
2666  */
2667 
2668 #ifndef GL_APPLE_float_pixels
2669 #define GL_APPLE_float_pixels 1
2670 
2671 #define GL_HALF_APPLE 0x140B
2672 #define GL_RGBA_FLOAT32_APPLE 0x8814
2673 #define GL_RGB_FLOAT32_APPLE 0x8815
2674 #define GL_ALPHA_FLOAT32_APPLE 0x8816
2675 #define GL_INTENSITY_FLOAT32_APPLE 0x8817
2676 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
2677 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
2678 #define GL_RGBA_FLOAT16_APPLE 0x881A
2679 #define GL_RGB_FLOAT16_APPLE 0x881B
2680 #define GL_ALPHA_FLOAT16_APPLE 0x881C
2681 #define GL_INTENSITY_FLOAT16_APPLE 0x881D
2682 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
2683 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
2684 #define GL_COLOR_FLOAT_APPLE 0x8A0F
2685 
2686 #define GLEW_APPLE_float_pixels GLEW_GET_VAR(__GLEW_APPLE_float_pixels)
2687 
2688 #endif /* GL_APPLE_float_pixels */
2689 
2690  /* ---------------------- GL_APPLE_flush_buffer_range ----------------------
2691  */
2692 
2693 #ifndef GL_APPLE_flush_buffer_range
2694 #define GL_APPLE_flush_buffer_range 1
2695 
2696 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
2697 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
2698 
2700  GLenum target, GLenum pname, GLint param);
2702  GLenum target, GLintptr offset, GLsizeiptr size);
2703 
2704 #define glBufferParameteriAPPLE GLEW_GET_FUN(__glewBufferParameteriAPPLE)
2705 #define glFlushMappedBufferRangeAPPLE \
2706  GLEW_GET_FUN(__glewFlushMappedBufferRangeAPPLE)
2707 
2708 #define GLEW_APPLE_flush_buffer_range \
2709  GLEW_GET_VAR(__GLEW_APPLE_flush_buffer_range)
2710 
2711 #endif /* GL_APPLE_flush_buffer_range */
2712 
2713  /* ------------------------- GL_APPLE_pixel_buffer -------------------------
2714  */
2715 
2716 #ifndef GL_APPLE_pixel_buffer
2717 #define GL_APPLE_pixel_buffer 1
2718 
2719 #define GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10
2720 
2721 #define GLEW_APPLE_pixel_buffer GLEW_GET_VAR(__GLEW_APPLE_pixel_buffer)
2722 
2723 #endif /* GL_APPLE_pixel_buffer */
2724 
2725  /* ------------------------ GL_APPLE_specular_vector -----------------------
2726  */
2727 
2728 #ifndef GL_APPLE_specular_vector
2729 #define GL_APPLE_specular_vector 1
2730 
2731 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
2732 
2733 #define GLEW_APPLE_specular_vector GLEW_GET_VAR(__GLEW_APPLE_specular_vector)
2734 
2735 #endif /* GL_APPLE_specular_vector */
2736 
2737  /* ------------------------- GL_APPLE_texture_range ------------------------
2738  */
2739 
2740 #ifndef GL_APPLE_texture_range
2741 #define GL_APPLE_texture_range 1
2742 
2743 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
2744 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
2745 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
2746 #define GL_STORAGE_PRIVATE_APPLE 0x85BD
2747 #define GL_STORAGE_CACHED_APPLE 0x85BE
2748 #define GL_STORAGE_SHARED_APPLE 0x85BF
2749 
2751  GLenum target, GLenum pname, GLvoid** params);
2753  GLenum target, GLsizei length, GLvoid* pointer);
2754 
2755 #define glGetTexParameterPointervAPPLE \
2756  GLEW_GET_FUN(__glewGetTexParameterPointervAPPLE)
2757 #define glTextureRangeAPPLE GLEW_GET_FUN(__glewTextureRangeAPPLE)
2758 
2759 #define GLEW_APPLE_texture_range GLEW_GET_VAR(__GLEW_APPLE_texture_range)
2760 
2761 #endif /* GL_APPLE_texture_range */
2762 
2763  /* ------------------------ GL_APPLE_transform_hint ------------------------
2764  */
2765 
2766 #ifndef GL_APPLE_transform_hint
2767 #define GL_APPLE_transform_hint 1
2768 
2769 #define GL_TRANSFORM_HINT_APPLE 0x85B1
2770 
2771 #define GLEW_APPLE_transform_hint GLEW_GET_VAR(__GLEW_APPLE_transform_hint)
2772 
2773 #endif /* GL_APPLE_transform_hint */
2774 
2775  /* ---------------------- GL_APPLE_vertex_array_object ---------------------
2776  */
2777 
2778 #ifndef GL_APPLE_vertex_array_object
2779 #define GL_APPLE_vertex_array_object 1
2780 
2781 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
2782 
2785  GLsizei n, const GLuint* arrays);
2787  GLsizei n, const GLuint* arrays);
2789 
2790 #define glBindVertexArrayAPPLE GLEW_GET_FUN(__glewBindVertexArrayAPPLE)
2791 #define glDeleteVertexArraysAPPLE GLEW_GET_FUN(__glewDeleteVertexArraysAPPLE)
2792 #define glGenVertexArraysAPPLE GLEW_GET_FUN(__glewGenVertexArraysAPPLE)
2793 #define glIsVertexArrayAPPLE GLEW_GET_FUN(__glewIsVertexArrayAPPLE)
2794 
2795 #define GLEW_APPLE_vertex_array_object \
2796  GLEW_GET_VAR(__GLEW_APPLE_vertex_array_object)
2797 
2798 #endif /* GL_APPLE_vertex_array_object */
2799 
2800  /* ---------------------- GL_APPLE_vertex_array_range ----------------------
2801  */
2802 
2803 #ifndef GL_APPLE_vertex_array_range
2804 #define GL_APPLE_vertex_array_range 1
2805 
2806 #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
2807 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
2808 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
2809 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 0x8520
2810 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
2811 #define GL_STORAGE_CACHED_APPLE 0x85BE
2812 #define GL_STORAGE_SHARED_APPLE 0x85BF
2813 
2815  GLsizei length, void* pointer);
2817  GLenum pname, GLint param);
2819  GLsizei length, void* pointer);
2820 
2821 #define glFlushVertexArrayRangeAPPLE \
2822  GLEW_GET_FUN(__glewFlushVertexArrayRangeAPPLE)
2823 #define glVertexArrayParameteriAPPLE \
2824  GLEW_GET_FUN(__glewVertexArrayParameteriAPPLE)
2825 #define glVertexArrayRangeAPPLE GLEW_GET_FUN(__glewVertexArrayRangeAPPLE)
2826 
2827 #define GLEW_APPLE_vertex_array_range \
2828  GLEW_GET_VAR(__GLEW_APPLE_vertex_array_range)
2829 
2830 #endif /* GL_APPLE_vertex_array_range */
2831 
2832  /* --------------------------- GL_APPLE_ycbcr_422 --------------------------
2833  */
2834 
2835 #ifndef GL_APPLE_ycbcr_422
2836 #define GL_APPLE_ycbcr_422 1
2837 
2838 #define GL_YCBCR_422_APPLE 0x85B9
2839 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
2840 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
2841 
2842 #define GLEW_APPLE_ycbcr_422 GLEW_GET_VAR(__GLEW_APPLE_ycbcr_422)
2843 
2844 #endif /* GL_APPLE_ycbcr_422 */
2845 
2846  /* ----------------------- GL_ARB_color_buffer_float -----------------------
2847  */
2848 
2849 #ifndef GL_ARB_color_buffer_float
2850 #define GL_ARB_color_buffer_float 1
2851 
2852 #define GL_RGBA_FLOAT_MODE_ARB 0x8820
2853 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
2854 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
2855 #define GL_CLAMP_READ_COLOR_ARB 0x891C
2856 #define GL_FIXED_ONLY_ARB 0x891D
2857 
2859  GLenum target, GLenum clamp);
2860 
2861 #define glClampColorARB GLEW_GET_FUN(__glewClampColorARB)
2862 
2863 #define GLEW_ARB_color_buffer_float GLEW_GET_VAR(__GLEW_ARB_color_buffer_float)
2864 
2865 #endif /* GL_ARB_color_buffer_float */
2866 
2867  /* ----------------------- GL_ARB_depth_buffer_float -----------------------
2868  */
2869 
2870 #ifndef GL_ARB_depth_buffer_float
2871 #define GL_ARB_depth_buffer_float 1
2872 
2873 #define GL_DEPTH_COMPONENT32F 0x8CAC
2874 #define GL_DEPTH32F_STENCIL8 0x8CAD
2875 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
2876 
2877 #define GLEW_ARB_depth_buffer_float GLEW_GET_VAR(__GLEW_ARB_depth_buffer_float)
2878 
2879 #endif /* GL_ARB_depth_buffer_float */
2880 
2881  /* -------------------------- GL_ARB_depth_texture -------------------------
2882  */
2883 
2884 #ifndef GL_ARB_depth_texture
2885 #define GL_ARB_depth_texture 1
2886 
2887 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
2888 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
2889 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
2890 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
2891 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
2892 
2893 #define GLEW_ARB_depth_texture GLEW_GET_VAR(__GLEW_ARB_depth_texture)
2894 
2895 #endif /* GL_ARB_depth_texture */
2896 
2897  /* -------------------------- GL_ARB_draw_buffers --------------------------
2898  */
2899 
2900 #ifndef GL_ARB_draw_buffers
2901 #define GL_ARB_draw_buffers 1
2902 
2903 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
2904 #define GL_DRAW_BUFFER0_ARB 0x8825
2905 #define GL_DRAW_BUFFER1_ARB 0x8826
2906 #define GL_DRAW_BUFFER2_ARB 0x8827
2907 #define GL_DRAW_BUFFER3_ARB 0x8828
2908 #define GL_DRAW_BUFFER4_ARB 0x8829
2909 #define GL_DRAW_BUFFER5_ARB 0x882A
2910 #define GL_DRAW_BUFFER6_ARB 0x882B
2911 #define GL_DRAW_BUFFER7_ARB 0x882C
2912 #define GL_DRAW_BUFFER8_ARB 0x882D
2913 #define GL_DRAW_BUFFER9_ARB 0x882E
2914 #define GL_DRAW_BUFFER10_ARB 0x882F
2915 #define GL_DRAW_BUFFER11_ARB 0x8830
2916 #define GL_DRAW_BUFFER12_ARB 0x8831
2917 #define GL_DRAW_BUFFER13_ARB 0x8832
2918 #define GL_DRAW_BUFFER14_ARB 0x8833
2919 #define GL_DRAW_BUFFER15_ARB 0x8834
2920 
2922  GLsizei n, const GLenum* bufs);
2923 
2924 #define glDrawBuffersARB GLEW_GET_FUN(__glewDrawBuffersARB)
2925 
2926 #define GLEW_ARB_draw_buffers GLEW_GET_VAR(__GLEW_ARB_draw_buffers)
2927 
2928 #endif /* GL_ARB_draw_buffers */
2929 
2930  /* ------------------------- GL_ARB_draw_instanced -------------------------
2931  */
2932 
2933 #ifndef GL_ARB_draw_instanced
2934 #define GL_ARB_draw_instanced 1
2935 
2939  GLenum mode, GLsizei count, GLenum type, const void* indices,
2940  GLsizei primcount);
2941 
2942 #define glDrawArraysInstancedARB GLEW_GET_FUN(__glewDrawArraysInstancedARB)
2943 #define glDrawElementsInstancedARB GLEW_GET_FUN(__glewDrawElementsInstancedARB)
2944 
2945 #define GLEW_ARB_draw_instanced GLEW_GET_VAR(__GLEW_ARB_draw_instanced)
2946 
2947 #endif /* GL_ARB_draw_instanced */
2948 
2949  /* ------------------------ GL_ARB_fragment_program ------------------------
2950  */
2951 
2952 #ifndef GL_ARB_fragment_program
2953 #define GL_ARB_fragment_program 1
2954 
2955 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
2956 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
2957 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
2958 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
2959 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
2960 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
2961 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
2962 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
2963 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
2964 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
2965 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
2966 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
2967 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
2968 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
2969 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
2970 
2971 #define GLEW_ARB_fragment_program GLEW_GET_VAR(__GLEW_ARB_fragment_program)
2972 
2973 #endif /* GL_ARB_fragment_program */
2974 
2975  /* --------------------- GL_ARB_fragment_program_shadow --------------------
2976  */
2977 
2978 #ifndef GL_ARB_fragment_program_shadow
2979 #define GL_ARB_fragment_program_shadow 1
2980 
2981 #define GLEW_ARB_fragment_program_shadow \
2982  GLEW_GET_VAR(__GLEW_ARB_fragment_program_shadow)
2983 
2984 #endif /* GL_ARB_fragment_program_shadow */
2985 
2986  /* ------------------------- GL_ARB_fragment_shader ------------------------
2987  */
2988 
2989 #ifndef GL_ARB_fragment_shader
2990 #define GL_ARB_fragment_shader 1
2991 
2992 #define GL_FRAGMENT_SHADER_ARB 0x8B30
2993 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
2994 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
2995 
2996 #define GLEW_ARB_fragment_shader GLEW_GET_VAR(__GLEW_ARB_fragment_shader)
2997 
2998 #endif /* GL_ARB_fragment_shader */
2999 
3000  /* ----------------------- GL_ARB_framebuffer_object -----------------------
3001  */
3002 
3003 #ifndef GL_ARB_framebuffer_object
3004 #define GL_ARB_framebuffer_object 1
3005 
3006 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
3007 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
3008 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
3009 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
3010 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
3011 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
3012 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
3013 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
3014 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
3015 #define GL_FRAMEBUFFER_DEFAULT 0x8218
3016 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
3017 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
3018 #define GL_INDEX 0x8222
3019 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
3020 #define GL_DEPTH_STENCIL 0x84F9
3021 #define GL_UNSIGNED_INT_24_8 0x84FA
3022 #define GL_DEPTH24_STENCIL8 0x88F0
3023 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
3024 #define GL_UNSIGNED_NORMALIZED 0x8C17
3025 #define GL_SRGB 0x8C40
3026 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
3027 #define GL_FRAMEBUFFER_BINDING 0x8CA6
3028 #define GL_RENDERBUFFER_BINDING 0x8CA7
3029 #define GL_READ_FRAMEBUFFER 0x8CA8
3030 #define GL_DRAW_FRAMEBUFFER 0x8CA9
3031 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
3032 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
3033 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
3034 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
3035 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
3036 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
3037 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
3038 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
3039 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
3040 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
3041 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
3042 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
3043 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
3044 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
3045 #define GL_COLOR_ATTACHMENT0 0x8CE0
3046 #define GL_COLOR_ATTACHMENT1 0x8CE1
3047 #define GL_COLOR_ATTACHMENT2 0x8CE2
3048 #define GL_COLOR_ATTACHMENT3 0x8CE3
3049 #define GL_COLOR_ATTACHMENT4 0x8CE4
3050 #define GL_COLOR_ATTACHMENT5 0x8CE5
3051 #define GL_COLOR_ATTACHMENT6 0x8CE6
3052 #define GL_COLOR_ATTACHMENT7 0x8CE7
3053 #define GL_COLOR_ATTACHMENT8 0x8CE8
3054 #define GL_COLOR_ATTACHMENT9 0x8CE9
3055 #define GL_COLOR_ATTACHMENT10 0x8CEA
3056 #define GL_COLOR_ATTACHMENT11 0x8CEB
3057 #define GL_COLOR_ATTACHMENT12 0x8CEC
3058 #define GL_COLOR_ATTACHMENT13 0x8CED
3059 #define GL_COLOR_ATTACHMENT14 0x8CEE
3060 #define GL_COLOR_ATTACHMENT15 0x8CEF
3061 #define GL_DEPTH_ATTACHMENT 0x8D00
3062 #define GL_STENCIL_ATTACHMENT 0x8D20
3063 #define GL_FRAMEBUFFER 0x8D40
3064 #define GL_RENDERBUFFER 0x8D41
3065 #define GL_RENDERBUFFER_WIDTH 0x8D42
3066 #define GL_RENDERBUFFER_HEIGHT 0x8D43
3067 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
3068 #define GL_STENCIL_INDEX1 0x8D46
3069 #define GL_STENCIL_INDEX4 0x8D47
3070 #define GL_STENCIL_INDEX8 0x8D48
3071 #define GL_STENCIL_INDEX16 0x8D49
3072 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
3073 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
3074 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
3075 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
3076 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
3077 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
3078 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
3079 #define GL_MAX_SAMPLES 0x8D57
3080 
3082  GLenum target, GLuint framebuffer);
3084  GLenum target, GLuint renderbuffer);
3090  GLsizei n, const GLuint* framebuffers);
3092  GLsizei n, const GLuint* renderbuffers);
3098  GLint layer);
3101  GLint level);
3104  GLint level);
3107  GLint level, GLint layer);
3116  GLenum target, GLenum pname, GLint* params);
3123  GLsizei height);
3124 
3125 #define glBindFramebuffer GLEW_GET_FUN(__glewBindFramebuffer)
3126 #define glBindRenderbuffer GLEW_GET_FUN(__glewBindRenderbuffer)
3127 #define glBlitFramebuffer GLEW_GET_FUN(__glewBlitFramebuffer)
3128 #define glCheckFramebufferStatus GLEW_GET_FUN(__glewCheckFramebufferStatus)
3129 #define glDeleteFramebuffers GLEW_GET_FUN(__glewDeleteFramebuffers)
3130 #define glDeleteRenderbuffers GLEW_GET_FUN(__glewDeleteRenderbuffers)
3131 #define glFramebufferRenderbuffer GLEW_GET_FUN(__glewFramebufferRenderbuffer)
3132 #define glFramebufferTexturLayer GLEW_GET_FUN(__glewFramebufferTexturLayer)
3133 #define glFramebufferTexture1D GLEW_GET_FUN(__glewFramebufferTexture1D)
3134 #define glFramebufferTexture2D GLEW_GET_FUN(__glewFramebufferTexture2D)
3135 #define glFramebufferTexture3D GLEW_GET_FUN(__glewFramebufferTexture3D)
3136 #define glGenFramebuffers GLEW_GET_FUN(__glewGenFramebuffers)
3137 #define glGenRenderbuffers GLEW_GET_FUN(__glewGenRenderbuffers)
3138 #define glGenerateMipmap GLEW_GET_FUN(__glewGenerateMipmap)
3139 #define glGetFramebufferAttachmentParameteriv \
3140  GLEW_GET_FUN(__glewGetFramebufferAttachmentParameteriv)
3141 #define glGetRenderbufferParameteriv \
3142  GLEW_GET_FUN(__glewGetRenderbufferParameteriv)
3143 #define glIsFramebuffer GLEW_GET_FUN(__glewIsFramebuffer)
3144 #define glIsRenderbuffer GLEW_GET_FUN(__glewIsRenderbuffer)
3145 #define glRenderbufferStorage GLEW_GET_FUN(__glewRenderbufferStorage)
3146 #define glRenderbufferStorageMultisample \
3147  GLEW_GET_FUN(__glewRenderbufferStorageMultisample)
3148 
3149 #define GLEW_ARB_framebuffer_object GLEW_GET_VAR(__GLEW_ARB_framebuffer_object)
3150 
3151 #endif /* GL_ARB_framebuffer_object */
3152 
3153  /* ------------------------ GL_ARB_framebuffer_sRGB ------------------------
3154  */
3155 
3156 #ifndef GL_ARB_framebuffer_sRGB
3157 #define GL_ARB_framebuffer_sRGB 1
3158 
3159 #define GL_FRAMEBUFFER_SRGB 0x8DB9
3160 
3161 #define GLEW_ARB_framebuffer_sRGB GLEW_GET_VAR(__GLEW_ARB_framebuffer_sRGB)
3162 
3163 #endif /* GL_ARB_framebuffer_sRGB */
3164 
3165  /* ------------------------ GL_ARB_geometry_shader4 ------------------------
3166  */
3167 
3168 #ifndef GL_ARB_geometry_shader4
3169 #define GL_ARB_geometry_shader4 1
3170 
3171 #define GL_LINES_ADJACENCY_ARB 0xA
3172 #define GL_LINE_STRIP_ADJACENCY_ARB 0xB
3173 #define GL_TRIANGLES_ADJACENCY_ARB 0xC
3174 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0xD
3175 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
3176 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
3177 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
3178 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
3179 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
3180 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
3181 #define GL_GEOMETRY_SHADER_ARB 0x8DD9
3182 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
3183 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
3184 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
3185 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
3186 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
3187 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
3188 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
3189 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
3190 
3195  GLenum face);
3198  GLint layer);
3201 
3202 #define glFramebufferTextureARB GLEW_GET_FUN(__glewFramebufferTextureARB)
3203 #define glFramebufferTextureFaceARB \
3204  GLEW_GET_FUN(__glewFramebufferTextureFaceARB)
3205 #define glFramebufferTextureLayerARB \
3206  GLEW_GET_FUN(__glewFramebufferTextureLayerARB)
3207 #define glProgramParameteriARB GLEW_GET_FUN(__glewProgramParameteriARB)
3208 
3209 #define GLEW_ARB_geometry_shader4 GLEW_GET_VAR(__GLEW_ARB_geometry_shader4)
3210 
3211 #endif /* GL_ARB_geometry_shader4 */
3212 
3213  /* ------------------------ GL_ARB_half_float_pixel ------------------------
3214  */
3215 
3216 #ifndef GL_ARB_half_float_pixel
3217 #define GL_ARB_half_float_pixel 1
3218 
3219 #define GL_HALF_FLOAT_ARB 0x140B
3220 
3221 #define GLEW_ARB_half_float_pixel GLEW_GET_VAR(__GLEW_ARB_half_float_pixel)
3222 
3223 #endif /* GL_ARB_half_float_pixel */
3224 
3225  /* ------------------------ GL_ARB_half_float_vertex -----------------------
3226  */
3227 
3228 #ifndef GL_ARB_half_float_vertex
3229 #define GL_ARB_half_float_vertex 1
3230 
3231 #define GL_HALF_FLOAT 0x140B
3232 
3233 #define GLEW_ARB_half_float_vertex GLEW_GET_VAR(__GLEW_ARB_half_float_vertex)
3234 
3235 #endif /* GL_ARB_half_float_vertex */
3236 
3237  /* ----------------------------- GL_ARB_imaging ----------------------------
3238  */
3239 
3240 #ifndef GL_ARB_imaging
3241 #define GL_ARB_imaging 1
3242 
3243 #define GL_CONSTANT_COLOR 0x8001
3244 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
3245 #define GL_CONSTANT_ALPHA 0x8003
3246 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
3247 #define GL_BLEND_COLOR 0x8005
3248 #define GL_FUNC_ADD 0x8006
3249 #define GL_MIN 0x8007
3250 #define GL_MAX 0x8008
3251 #define GL_BLEND_EQUATION 0x8009
3252 #define GL_FUNC_SUBTRACT 0x800A
3253 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
3254 #define GL_CONVOLUTION_1D 0x8010
3255 #define GL_CONVOLUTION_2D 0x8011
3256 #define GL_SEPARABLE_2D 0x8012
3257 #define GL_CONVOLUTION_BORDER_MODE 0x8013
3258 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
3259 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
3260 #define GL_REDUCE 0x8016
3261 #define GL_CONVOLUTION_FORMAT 0x8017
3262 #define GL_CONVOLUTION_WIDTH 0x8018
3263 #define GL_CONVOLUTION_HEIGHT 0x8019
3264 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
3265 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
3266 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
3267 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
3268 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
3269 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
3270 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
3271 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
3272 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
3273 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
3274 #define GL_HISTOGRAM 0x8024
3275 #define GL_PROXY_HISTOGRAM 0x8025
3276 #define GL_HISTOGRAM_WIDTH 0x8026
3277 #define GL_HISTOGRAM_FORMAT 0x8027
3278 #define GL_HISTOGRAM_RED_SIZE 0x8028
3279 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
3280 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
3281 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
3282 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
3283 #define GL_HISTOGRAM_SINK 0x802D
3284 #define GL_MINMAX 0x802E
3285 #define GL_MINMAX_FORMAT 0x802F
3286 #define GL_MINMAX_SINK 0x8030
3287 #define GL_TABLE_TOO_LARGE 0x8031
3288 #define GL_COLOR_MATRIX 0x80B1
3289 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
3290 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
3291 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
3292 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
3293 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
3294 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
3295 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
3296 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
3297 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
3298 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
3299 #define GL_COLOR_TABLE 0x80D0
3300 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
3301 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
3302 #define GL_PROXY_COLOR_TABLE 0x80D3
3303 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
3304 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
3305 #define GL_COLOR_TABLE_SCALE 0x80D6
3306 #define GL_COLOR_TABLE_BIAS 0x80D7
3307 #define GL_COLOR_TABLE_FORMAT 0x80D8
3308 #define GL_COLOR_TABLE_WIDTH 0x80D9
3309 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
3310 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
3311 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
3312 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
3313 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
3314 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
3315 #define GL_IGNORE_BORDER 0x8150
3316 #define GL_CONSTANT_BORDER 0x8151
3317 #define GL_WRAP_BORDER 0x8152
3318 #define GL_REPLICATE_BORDER 0x8153
3319 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
3320 
3323  const GLvoid* data);
3326  GLenum type, const GLvoid* table);
3328  GLenum target, GLenum pname, const GLfloat* params);
3330  GLenum target, GLenum pname, const GLint* params);
3333  GLenum type, const GLvoid* image);
3336  GLenum format, GLenum type, const GLvoid* image);
3338  GLenum target, GLenum pname, GLfloat params);
3340  GLenum target, GLenum