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