4f78c543e34c58ad023ae902cbd0d2f09bf298fb
[nvidia.git] / doc / gl.h
1 #ifndef __gl_h_
2 #define __gl_h_
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 /*
9 ** Copyright 1998-2002, NVIDIA Corporation.
10 ** All Rights Reserved.
11 ** 
12 ** THE INFORMATION CONTAINED HEREIN IS PROPRIETARY AND CONFIDENTIAL TO
13 ** NVIDIA, CORPORATION.  USE, REPRODUCTION OR DISCLOSURE TO ANY THIRD PARTY
14 ** IS SUBJECT TO WRITTEN PRE-APPROVAL BY NVIDIA, CORPORATION.
15 ** 
16 ** 
17 ** Copyright 1992-1999, Silicon Graphics, Inc.
18 ** All Rights Reserved.
19 ** 
20 ** Portions of this file are UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon
21 ** Graphics, Inc.; the contents of this file may not be disclosed to third
22 ** parties, copied or duplicated in any form, in whole or in part, without
23 ** the prior written permission of Silicon Graphics, Inc.
24 ** 
25 ** RESTRICTED RIGHTS LEGEND:
26 ** Use, duplication or disclosure by the Government is subject to
27 ** restrictions as set forth in subdivision (c)(1)(ii) of the Rights in
28 ** Technical Data and Computer Software clause at DFARS 252.227-7013,
29 ** and/or in similar or successor clauses in the FAR, DOD or NASA FAR
30 ** Supplement.  Unpublished - rights reserved under the Copyright Laws of
31 ** the United States.
32 */
33
34 #ifndef GLAPIENTRY
35 # ifdef _WIN32
36 #  if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)  /* Mimic <windef.h> */
37 #   define GLAPIENTRY __stdcall
38 #  else
39 #   define GLAPIENTRY
40 #  endif
41 # else
42 #  define GLAPIENTRY
43 # endif
44 #endif
45
46 #ifndef GLAPI
47 # define GLAPI extern
48 #endif
49
50 #ifndef GLAPIENTRYP
51 # define GLAPIENTRYP GLAPIENTRY *
52 #endif
53
54 /*************************************************************/
55
56 typedef unsigned int GLenum;
57 typedef unsigned char GLboolean;
58 typedef unsigned int GLbitfield;
59 typedef signed char GLbyte;
60 typedef short GLshort;
61 typedef int GLint;
62 typedef int GLsizei;
63 typedef unsigned char GLubyte;
64 typedef unsigned short GLushort;
65 typedef unsigned int GLuint;
66 typedef float GLfloat;
67 typedef float GLclampf;
68 typedef double GLdouble;
69 typedef double GLclampd;
70 typedef void GLvoid;
71
72 #ifndef GL_TYPEDEFS_1_5
73 # define GL_TYPEDEFS_1_5
74 # if defined(_WIN64)
75     typedef __int64 GLintptr;
76     typedef __int64 GLsizeiptr;
77 # elif defined(__x86_64__)
78     typedef long int GLintptr;
79     typedef long int GLsizeiptr;
80 # else
81     typedef int GLintptr;
82     typedef int GLsizeiptr;
83 # endif
84 #endif
85
86 #ifndef GL_TYPEDEFS_2_0
87 # define GL_TYPEDEFS_2_0
88     typedef char GLchar;
89 #endif
90
91 #ifndef GL_GLEXT_LEGACY
92 # include <GL/glext.h>
93 #endif
94
95 /*************************************************************/
96
97 /* Version */
98 #define GL_VERSION_1_1                    1
99 #define GL_VERSION_1_2                    1
100 #define GL_VERSION_1_3                    1
101 #define GL_VERSION_1_4                    1
102 #define GL_VERSION_1_5                    1
103 #define GL_VERSION_2_0                    1
104 #define GL_VERSION_2_1                    1
105
106 /* AttribMask */
107 #define GL_CURRENT_BIT                    0x00000001
108 #define GL_POINT_BIT                      0x00000002
109 #define GL_LINE_BIT                       0x00000004
110 #define GL_POLYGON_BIT                    0x00000008
111 #define GL_POLYGON_STIPPLE_BIT            0x00000010
112 #define GL_PIXEL_MODE_BIT                 0x00000020
113 #define GL_LIGHTING_BIT                   0x00000040
114 #define GL_FOG_BIT                        0x00000080
115 #define GL_DEPTH_BUFFER_BIT               0x00000100
116 #define GL_ACCUM_BUFFER_BIT               0x00000200
117 #define GL_STENCIL_BUFFER_BIT             0x00000400
118 #define GL_VIEWPORT_BIT                   0x00000800
119 #define GL_TRANSFORM_BIT                  0x00001000
120 #define GL_ENABLE_BIT                     0x00002000
121 #define GL_COLOR_BUFFER_BIT               0x00004000
122 #define GL_HINT_BIT                       0x00008000
123 #define GL_EVAL_BIT                       0x00010000
124 #define GL_LIST_BIT                       0x00020000
125 #define GL_TEXTURE_BIT                    0x00040000
126 #define GL_SCISSOR_BIT                    0x00080000
127 #define GL_ALL_ATTRIB_BITS                0xFFFFFFFF
128
129 /* ClearBufferMask */
130 /*      GL_COLOR_BUFFER_BIT */
131 /*      GL_ACCUM_BUFFER_BIT */
132 /*      GL_STENCIL_BUFFER_BIT */
133 /*      GL_DEPTH_BUFFER_BIT */
134
135 /* ClientAttribMask */
136 #define GL_CLIENT_PIXEL_STORE_BIT         0x00000001
137 #define GL_CLIENT_VERTEX_ARRAY_BIT        0x00000002
138 #define GL_CLIENT_ALL_ATTRIB_BITS         0xFFFFFFFF
139
140 /* Boolean */
141 #define GL_FALSE                          0
142 #define GL_TRUE                           1
143
144 /* BeginMode */
145 #define GL_POINTS                         0x0000
146 #define GL_LINES                          0x0001
147 #define GL_LINE_LOOP                      0x0002
148 #define GL_LINE_STRIP                     0x0003
149 #define GL_TRIANGLES                      0x0004
150 #define GL_TRIANGLE_STRIP                 0x0005
151 #define GL_TRIANGLE_FAN                   0x0006
152 #define GL_QUADS                          0x0007
153 #define GL_QUAD_STRIP                     0x0008
154 #define GL_POLYGON                        0x0009
155
156 /* AccumOp */
157 #define GL_ACCUM                          0x0100
158 #define GL_LOAD                           0x0101
159 #define GL_RETURN                         0x0102
160 #define GL_MULT                           0x0103
161 #define GL_ADD                            0x0104
162
163 /* AlphaFunction */
164 #define GL_NEVER                          0x0200
165 #define GL_LESS                           0x0201
166 #define GL_EQUAL                          0x0202
167 #define GL_LEQUAL                         0x0203
168 #define GL_GREATER                        0x0204
169 #define GL_NOTEQUAL                       0x0205
170 #define GL_GEQUAL                         0x0206
171 #define GL_ALWAYS                         0x0207
172
173 /* BlendingFactorDest */
174 #define GL_ZERO                           0
175 #define GL_ONE                            1
176 #define GL_SRC_COLOR                      0x0300
177 #define GL_ONE_MINUS_SRC_COLOR            0x0301
178 #define GL_SRC_ALPHA                      0x0302
179 #define GL_ONE_MINUS_SRC_ALPHA            0x0303
180 #define GL_DST_ALPHA                      0x0304
181 #define GL_ONE_MINUS_DST_ALPHA            0x0305
182
183 /* BlendingFactorSrc */
184 /*      GL_ZERO */
185 /*      GL_ONE */
186 #define GL_DST_COLOR                      0x0306
187 #define GL_ONE_MINUS_DST_COLOR            0x0307
188 #define GL_SRC_ALPHA_SATURATE             0x0308
189 /*      GL_SRC_ALPHA */
190 /*      GL_ONE_MINUS_SRC_ALPHA */
191 /*      GL_DST_ALPHA */
192 /*      GL_ONE_MINUS_DST_ALPHA */
193
194 /* ColorMaterialFace */
195 /*      GL_FRONT */
196 /*      GL_BACK */
197 /*      GL_FRONT_AND_BACK */
198
199 /* ColorMaterialParameter */
200 /*      GL_AMBIENT */
201 /*      GL_DIFFUSE */
202 /*      GL_SPECULAR */
203 /*      GL_EMISSION */
204 /*      GL_AMBIENT_AND_DIFFUSE */
205
206 /* ColorPointerType */
207 /*      GL_BYTE */
208 /*      GL_UNSIGNED_BYTE */
209 /*      GL_SHORT */
210 /*      GL_UNSIGNED_SHORT */
211 /*      GL_INT */
212 /*      GL_UNSIGNED_INT */
213 /*      GL_FLOAT */
214 /*      GL_DOUBLE */
215
216 /* CullFaceMode */
217 /*      GL_FRONT */
218 /*      GL_BACK */
219 /*      GL_FRONT_AND_BACK */
220
221 /* DepthFunction */
222 /*      GL_NEVER */
223 /*      GL_LESS */
224 /*      GL_EQUAL */
225 /*      GL_LEQUAL */
226 /*      GL_GREATER */
227 /*      GL_NOTEQUAL */
228 /*      GL_GEQUAL */
229 /*      GL_ALWAYS */
230
231 /* DrawBufferMode */
232 #define GL_NONE                           0
233 #define GL_FRONT_LEFT                     0x0400
234 #define GL_FRONT_RIGHT                    0x0401
235 #define GL_BACK_LEFT                      0x0402
236 #define GL_BACK_RIGHT                     0x0403
237 #define GL_FRONT                          0x0404
238 #define GL_BACK                           0x0405
239 #define GL_LEFT                           0x0406
240 #define GL_RIGHT                          0x0407
241 #define GL_FRONT_AND_BACK                 0x0408
242 #define GL_AUX0                           0x0409
243 #define GL_AUX1                           0x040A
244 #define GL_AUX2                           0x040B
245 #define GL_AUX3                           0x040C
246 #define GL_AUX4                           0x040D
247 #define GL_AUX5                           0x040E
248 #define GL_AUX6                           0x040F
249 #define GL_AUX7                           0x0410
250
251 /* EnableCap */
252 /*      GL_FOG */
253 /*      GL_LIGHTING */
254 /*      GL_TEXTURE_1D */
255 /*      GL_TEXTURE_2D */
256 /*      GL_LINE_STIPPLE */
257 /*      GL_POLYGON_STIPPLE */
258 /*      GL_CULL_FACE */
259 /*      GL_ALPHA_TEST */
260 /*      GL_BLEND */
261 /*      GL_INDEX_LOGIC_OP */
262 /*      GL_COLOR_LOGIC_OP */
263 /*      GL_DITHER */
264 /*      GL_STENCIL_TEST */
265 /*      GL_DEPTH_TEST */
266 /*      GL_CLIP_PLANE0 */
267 /*      GL_CLIP_PLANE1 */
268 /*      GL_CLIP_PLANE2 */
269 /*      GL_CLIP_PLANE3 */
270 /*      GL_CLIP_PLANE4 */
271 /*      GL_CLIP_PLANE5 */
272 /*      GL_LIGHT0 */
273 /*      GL_LIGHT1 */
274 /*      GL_LIGHT2 */
275 /*      GL_LIGHT3 */
276 /*      GL_LIGHT4 */
277 /*      GL_LIGHT5 */
278 /*      GL_LIGHT6 */
279 /*      GL_LIGHT7 */
280 /*      GL_TEXTURE_GEN_S */
281 /*      GL_TEXTURE_GEN_T */
282 /*      GL_TEXTURE_GEN_R */
283 /*      GL_TEXTURE_GEN_Q */
284 /*      GL_MAP1_VERTEX_3 */
285 /*      GL_MAP1_VERTEX_4 */
286 /*      GL_MAP1_COLOR_4 */
287 /*      GL_MAP1_INDEX */
288 /*      GL_MAP1_NORMAL */
289 /*      GL_MAP1_TEXTURE_COORD_1 */
290 /*      GL_MAP1_TEXTURE_COORD_2 */
291 /*      GL_MAP1_TEXTURE_COORD_3 */
292 /*      GL_MAP1_TEXTURE_COORD_4 */
293 /*      GL_MAP2_VERTEX_3 */
294 /*      GL_MAP2_VERTEX_4 */
295 /*      GL_MAP2_COLOR_4 */
296 /*      GL_MAP2_INDEX */
297 /*      GL_MAP2_NORMAL */
298 /*      GL_MAP2_TEXTURE_COORD_1 */
299 /*      GL_MAP2_TEXTURE_COORD_2 */
300 /*      GL_MAP2_TEXTURE_COORD_3 */
301 /*      GL_MAP2_TEXTURE_COORD_4 */
302 /*      GL_POINT_SMOOTH */
303 /*      GL_LINE_SMOOTH */
304 /*      GL_POLYGON_SMOOTH */
305 /*      GL_SCISSOR_TEST */
306 /*      GL_COLOR_MATERIAL */
307 /*      GL_NORMALIZE */
308 /*      GL_AUTO_NORMAL */
309 /*      GL_POLYGON_OFFSET_POINT */
310 /*      GL_POLYGON_OFFSET_LINE */
311 /*      GL_POLYGON_OFFSET_FILL */
312 /*      GL_VERTEX_ARRAY */
313 /*      GL_NORMAL_ARRAY */
314 /*      GL_COLOR_ARRAY */
315 /*      GL_INDEX_ARRAY */
316 /*      GL_TEXTURE_COORD_ARRAY */
317 /*      GL_EDGE_FLAG_ARRAY */
318
319 /* ErrorCode */
320 #define GL_NO_ERROR                       0
321 #define GL_INVALID_ENUM                   0x0500
322 #define GL_INVALID_VALUE                  0x0501
323 #define GL_INVALID_OPERATION              0x0502
324 #define GL_STACK_OVERFLOW                 0x0503
325 #define GL_STACK_UNDERFLOW                0x0504
326 #define GL_OUT_OF_MEMORY                  0x0505
327 #define GL_TABLE_TOO_LARGE                0x8031
328
329 /* FeedbackType */
330 #define GL_2D                             0x0600
331 #define GL_3D                             0x0601
332 #define GL_3D_COLOR                       0x0602
333 #define GL_3D_COLOR_TEXTURE               0x0603
334 #define GL_4D_COLOR_TEXTURE               0x0604
335
336 /* FeedBackToken */
337 #define GL_PASS_THROUGH_TOKEN             0x0700
338 #define GL_POINT_TOKEN                    0x0701
339 #define GL_LINE_TOKEN                     0x0702
340 #define GL_POLYGON_TOKEN                  0x0703
341 #define GL_BITMAP_TOKEN                   0x0704
342 #define GL_DRAW_PIXEL_TOKEN               0x0705
343 #define GL_COPY_PIXEL_TOKEN               0x0706
344 #define GL_LINE_RESET_TOKEN               0x0707
345
346 /* FogMode */
347 /*      GL_LINEAR */
348 #define GL_EXP                            0x0800
349 #define GL_EXP2                           0x0801
350
351 /* FogParameter */
352 /*      GL_FOG_COLOR */
353 /*      GL_FOG_DENSITY */
354 /*      GL_FOG_END */
355 /*      GL_FOG_INDEX */
356 /*      GL_FOG_MODE */
357 /*      GL_FOG_START */
358
359 /* FrontFaceDirection */
360 #define GL_CW                             0x0900
361 #define GL_CCW                            0x0901
362
363 /* GetMapQuery */
364 #define GL_COEFF                          0x0A00
365 #define GL_ORDER                          0x0A01
366 #define GL_DOMAIN                         0x0A02
367
368 /* GetPixelMap */
369 #define GL_PIXEL_MAP_I_TO_I               0x0C70
370 #define GL_PIXEL_MAP_S_TO_S               0x0C71
371 #define GL_PIXEL_MAP_I_TO_R               0x0C72
372 #define GL_PIXEL_MAP_I_TO_G               0x0C73
373 #define GL_PIXEL_MAP_I_TO_B               0x0C74
374 #define GL_PIXEL_MAP_I_TO_A               0x0C75
375 #define GL_PIXEL_MAP_R_TO_R               0x0C76
376 #define GL_PIXEL_MAP_G_TO_G               0x0C77
377 #define GL_PIXEL_MAP_B_TO_B               0x0C78
378 #define GL_PIXEL_MAP_A_TO_A               0x0C79
379
380 /* GetPointervPName */
381 #define GL_VERTEX_ARRAY_POINTER           0x808E
382 #define GL_NORMAL_ARRAY_POINTER           0x808F
383 #define GL_COLOR_ARRAY_POINTER            0x8090
384 #define GL_INDEX_ARRAY_POINTER            0x8091
385 #define GL_TEXTURE_COORD_ARRAY_POINTER    0x8092
386 #define GL_EDGE_FLAG_ARRAY_POINTER        0x8093
387
388 /* GetPName */
389 #define GL_CURRENT_COLOR                  0x0B00
390 #define GL_CURRENT_INDEX                  0x0B01
391 #define GL_CURRENT_NORMAL                 0x0B02
392 #define GL_CURRENT_TEXTURE_COORDS         0x0B03
393 #define GL_CURRENT_RASTER_COLOR           0x0B04
394 #define GL_CURRENT_RASTER_INDEX           0x0B05
395 #define GL_CURRENT_RASTER_TEXTURE_COORDS  0x0B06
396 #define GL_CURRENT_RASTER_POSITION        0x0B07
397 #define GL_CURRENT_RASTER_POSITION_VALID  0x0B08
398 #define GL_CURRENT_RASTER_DISTANCE        0x0B09
399 #define GL_POINT_SMOOTH                   0x0B10
400 #define GL_POINT_SIZE                     0x0B11
401 #define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
402 #define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
403 #define GL_POINT_SIZE_RANGE               GL_SMOOTH_POINT_SIZE_RANGE
404 #define GL_POINT_SIZE_GRANULARITY         GL_SMOOTH_POINT_SIZE_GRANULARITY
405 #define GL_LINE_SMOOTH                    0x0B20
406 #define GL_LINE_WIDTH                     0x0B21
407 #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
408 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
409 #define GL_LINE_WIDTH_RANGE               GL_SMOOTH_LINE_WIDTH_RANGE
410 #define GL_LINE_WIDTH_GRANULARITY         GL_SMOOTH_LINE_WIDTH_GRANULARITY
411 #define GL_LINE_STIPPLE                   0x0B24
412 #define GL_LINE_STIPPLE_PATTERN           0x0B25
413 #define GL_LINE_STIPPLE_REPEAT            0x0B26
414 #define GL_LIST_MODE                      0x0B30
415 #define GL_MAX_LIST_NESTING               0x0B31
416 #define GL_LIST_BASE                      0x0B32
417 #define GL_LIST_INDEX                     0x0B33
418 #define GL_POLYGON_MODE                   0x0B40
419 #define GL_POLYGON_SMOOTH                 0x0B41
420 #define GL_POLYGON_STIPPLE                0x0B42
421 #define GL_EDGE_FLAG                      0x0B43
422 #define GL_CULL_FACE                      0x0B44
423 #define GL_CULL_FACE_MODE                 0x0B45
424 #define GL_FRONT_FACE                     0x0B46
425 #define GL_LIGHTING                       0x0B50
426 #define GL_LIGHT_MODEL_LOCAL_VIEWER       0x0B51
427 #define GL_LIGHT_MODEL_TWO_SIDE           0x0B52
428 #define GL_LIGHT_MODEL_AMBIENT            0x0B53
429 #define GL_SHADE_MODEL                    0x0B54
430 #define GL_COLOR_MATERIAL_FACE            0x0B55
431 #define GL_COLOR_MATERIAL_PARAMETER       0x0B56
432 #define GL_COLOR_MATERIAL                 0x0B57
433 #define GL_FOG                            0x0B60
434 #define GL_FOG_INDEX                      0x0B61
435 #define GL_FOG_DENSITY                    0x0B62
436 #define GL_FOG_START                      0x0B63
437 #define GL_FOG_END                        0x0B64
438 #define GL_FOG_MODE                       0x0B65
439 #define GL_FOG_COLOR                      0x0B66
440 #define GL_DEPTH_RANGE                    0x0B70
441 #define GL_DEPTH_TEST                     0x0B71
442 #define GL_DEPTH_WRITEMASK                0x0B72
443 #define GL_DEPTH_CLEAR_VALUE              0x0B73
444 #define GL_DEPTH_FUNC                     0x0B74
445 #define GL_ACCUM_CLEAR_VALUE              0x0B80
446 #define GL_STENCIL_TEST                   0x0B90
447 #define GL_STENCIL_CLEAR_VALUE            0x0B91
448 #define GL_STENCIL_FUNC                   0x0B92
449 #define GL_STENCIL_VALUE_MASK             0x0B93
450 #define GL_STENCIL_FAIL                   0x0B94
451 #define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
452 #define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
453 #define GL_STENCIL_REF                    0x0B97
454 #define GL_STENCIL_WRITEMASK              0x0B98
455 #define GL_MATRIX_MODE                    0x0BA0
456 #define GL_NORMALIZE                      0x0BA1
457 #define GL_VIEWPORT                       0x0BA2
458 #define GL_MODELVIEW_STACK_DEPTH          0x0BA3
459 #define GL_PROJECTION_STACK_DEPTH         0x0BA4
460 #define GL_TEXTURE_STACK_DEPTH            0x0BA5
461 #define GL_MODELVIEW_MATRIX               0x0BA6
462 #define GL_PROJECTION_MATRIX              0x0BA7
463 #define GL_TEXTURE_MATRIX                 0x0BA8
464 #define GL_ATTRIB_STACK_DEPTH             0x0BB0
465 #define GL_CLIENT_ATTRIB_STACK_DEPTH      0x0BB1
466 #define GL_ALPHA_TEST                     0x0BC0
467 #define GL_ALPHA_TEST_FUNC                0x0BC1
468 #define GL_ALPHA_TEST_REF                 0x0BC2
469 #define GL_DITHER                         0x0BD0
470 #define GL_BLEND_DST                      0x0BE0
471 #define GL_BLEND_SRC                      0x0BE1
472 #define GL_BLEND                          0x0BE2
473 #define GL_LOGIC_OP_MODE                  0x0BF0
474 #define GL_INDEX_LOGIC_OP                 0x0BF1
475 #define GL_LOGIC_OP                       GL_INDEX_LOGIC_OP
476 #define GL_COLOR_LOGIC_OP                 0x0BF2
477 #define GL_AUX_BUFFERS                    0x0C00
478 #define GL_DRAW_BUFFER                    0x0C01
479 #define GL_READ_BUFFER                    0x0C02
480 #define GL_SCISSOR_BOX                    0x0C10
481 #define GL_SCISSOR_TEST                   0x0C11
482 #define GL_INDEX_CLEAR_VALUE              0x0C20
483 #define GL_INDEX_WRITEMASK                0x0C21
484 #define GL_COLOR_CLEAR_VALUE              0x0C22
485 #define GL_COLOR_WRITEMASK                0x0C23
486 #define GL_INDEX_MODE                     0x0C30
487 #define GL_RGBA_MODE                      0x0C31
488 #define GL_DOUBLEBUFFER                   0x0C32
489 #define GL_STEREO                         0x0C33
490 #define GL_RENDER_MODE                    0x0C40
491 #define GL_PERSPECTIVE_CORRECTION_HINT    0x0C50
492 #define GL_POINT_SMOOTH_HINT              0x0C51
493 #define GL_LINE_SMOOTH_HINT               0x0C52
494 #define GL_POLYGON_SMOOTH_HINT            0x0C53
495 #define GL_FOG_HINT                       0x0C54
496 #define GL_TEXTURE_GEN_S                  0x0C60
497 #define GL_TEXTURE_GEN_T                  0x0C61
498 #define GL_TEXTURE_GEN_R                  0x0C62
499 #define GL_TEXTURE_GEN_Q                  0x0C63
500 #define GL_PIXEL_MAP_I_TO_I_SIZE          0x0CB0
501 #define GL_PIXEL_MAP_S_TO_S_SIZE          0x0CB1
502 #define GL_PIXEL_MAP_I_TO_R_SIZE          0x0CB2
503 #define GL_PIXEL_MAP_I_TO_G_SIZE          0x0CB3
504 #define GL_PIXEL_MAP_I_TO_B_SIZE          0x0CB4
505 #define GL_PIXEL_MAP_I_TO_A_SIZE          0x0CB5
506 #define GL_PIXEL_MAP_R_TO_R_SIZE          0x0CB6
507 #define GL_PIXEL_MAP_G_TO_G_SIZE          0x0CB7
508 #define GL_PIXEL_MAP_B_TO_B_SIZE          0x0CB8
509 #define GL_PIXEL_MAP_A_TO_A_SIZE          0x0CB9
510 #define GL_UNPACK_SWAP_BYTES              0x0CF0
511 #define GL_UNPACK_LSB_FIRST               0x0CF1
512 #define GL_UNPACK_ROW_LENGTH              0x0CF2
513 #define GL_UNPACK_SKIP_ROWS               0x0CF3
514 #define GL_UNPACK_SKIP_PIXELS             0x0CF4
515 #define GL_UNPACK_ALIGNMENT               0x0CF5
516 #define GL_PACK_SWAP_BYTES                0x0D00
517 #define GL_PACK_LSB_FIRST                 0x0D01
518 #define GL_PACK_ROW_LENGTH                0x0D02
519 #define GL_PACK_SKIP_ROWS                 0x0D03
520 #define GL_PACK_SKIP_PIXELS               0x0D04
521 #define GL_PACK_ALIGNMENT                 0x0D05
522 #define GL_MAP_COLOR                      0x0D10
523 #define GL_MAP_STENCIL                    0x0D11
524 #define GL_INDEX_SHIFT                    0x0D12
525 #define GL_INDEX_OFFSET                   0x0D13
526 #define GL_RED_SCALE                      0x0D14
527 #define GL_RED_BIAS                       0x0D15
528 #define GL_ZOOM_X                         0x0D16
529 #define GL_ZOOM_Y                         0x0D17
530 #define GL_GREEN_SCALE                    0x0D18
531 #define GL_GREEN_BIAS                     0x0D19
532 #define GL_BLUE_SCALE                     0x0D1A
533 #define GL_BLUE_BIAS                      0x0D1B
534 #define GL_ALPHA_SCALE                    0x0D1C
535 #define GL_ALPHA_BIAS                     0x0D1D
536 #define GL_DEPTH_SCALE                    0x0D1E
537 #define GL_DEPTH_BIAS                     0x0D1F
538 #define GL_MAX_EVAL_ORDER                 0x0D30
539 #define GL_MAX_LIGHTS                     0x0D31
540 #define GL_MAX_CLIP_PLANES                0x0D32
541 #define GL_MAX_TEXTURE_SIZE               0x0D33
542 #define GL_MAX_PIXEL_MAP_TABLE            0x0D34
543 #define GL_MAX_ATTRIB_STACK_DEPTH         0x0D35
544 #define GL_MAX_MODELVIEW_STACK_DEPTH      0x0D36
545 #define GL_MAX_NAME_STACK_DEPTH           0x0D37
546 #define GL_MAX_PROJECTION_STACK_DEPTH     0x0D38
547 #define GL_MAX_TEXTURE_STACK_DEPTH        0x0D39
548 #define GL_MAX_VIEWPORT_DIMS              0x0D3A
549 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH  0x0D3B
550 #define GL_SUBPIXEL_BITS                  0x0D50
551 #define GL_INDEX_BITS                     0x0D51
552 #define GL_RED_BITS                       0x0D52
553 #define GL_GREEN_BITS                     0x0D53
554 #define GL_BLUE_BITS                      0x0D54
555 #define GL_ALPHA_BITS                     0x0D55
556 #define GL_DEPTH_BITS                     0x0D56
557 #define GL_STENCIL_BITS                   0x0D57
558 #define GL_ACCUM_RED_BITS                 0x0D58
559 #define GL_ACCUM_GREEN_BITS               0x0D59
560 #define GL_ACCUM_BLUE_BITS                0x0D5A
561 #define GL_ACCUM_ALPHA_BITS               0x0D5B
562 #define GL_NAME_STACK_DEPTH               0x0D70
563 #define GL_AUTO_NORMAL                    0x0D80
564 #define GL_MAP1_COLOR_4                   0x0D90
565 #define GL_MAP1_INDEX                     0x0D91
566 #define GL_MAP1_NORMAL                    0x0D92
567 #define GL_MAP1_TEXTURE_COORD_1           0x0D93
568 #define GL_MAP1_TEXTURE_COORD_2           0x0D94
569 #define GL_MAP1_TEXTURE_COORD_3           0x0D95
570 #define GL_MAP1_TEXTURE_COORD_4           0x0D96
571 #define GL_MAP1_VERTEX_3                  0x0D97
572 #define GL_MAP1_VERTEX_4                  0x0D98
573 #define GL_MAP2_COLOR_4                   0x0DB0
574 #define GL_MAP2_INDEX                     0x0DB1
575 #define GL_MAP2_NORMAL                    0x0DB2
576 #define GL_MAP2_TEXTURE_COORD_1           0x0DB3
577 #define GL_MAP2_TEXTURE_COORD_2           0x0DB4
578 #define GL_MAP2_TEXTURE_COORD_3           0x0DB5
579 #define GL_MAP2_TEXTURE_COORD_4           0x0DB6
580 #define GL_MAP2_VERTEX_3                  0x0DB7
581 #define GL_MAP2_VERTEX_4                  0x0DB8
582 #define GL_MAP1_GRID_DOMAIN               0x0DD0
583 #define GL_MAP1_GRID_SEGMENTS             0x0DD1
584 #define GL_MAP2_GRID_DOMAIN               0x0DD2
585 #define GL_MAP2_GRID_SEGMENTS             0x0DD3
586 #define GL_TEXTURE_1D                     0x0DE0
587 #define GL_TEXTURE_2D                     0x0DE1
588 #define GL_FEEDBACK_BUFFER_POINTER        0x0DF0
589 #define GL_FEEDBACK_BUFFER_SIZE           0x0DF1
590 #define GL_FEEDBACK_BUFFER_TYPE           0x0DF2
591 #define GL_SELECTION_BUFFER_POINTER       0x0DF3
592 #define GL_SELECTION_BUFFER_SIZE          0x0DF4
593 #define GL_POLYGON_OFFSET_UNITS           0x2A00
594 #define GL_POLYGON_OFFSET_POINT           0x2A01
595 #define GL_POLYGON_OFFSET_LINE            0x2A02
596 #define GL_POLYGON_OFFSET_FILL            0x8037
597 #define GL_POLYGON_OFFSET_FACTOR          0x8038
598 #define GL_TEXTURE_BINDING_1D             0x8068
599 #define GL_TEXTURE_BINDING_2D             0x8069
600 #define GL_TEXTURE_BINDING_3D             0x806A
601 #define GL_VERTEX_ARRAY                   0x8074
602 #define GL_NORMAL_ARRAY                   0x8075
603 #define GL_COLOR_ARRAY                    0x8076
604 #define GL_INDEX_ARRAY                    0x8077
605 #define GL_TEXTURE_COORD_ARRAY            0x8078
606 #define GL_EDGE_FLAG_ARRAY                0x8079
607 #define GL_VERTEX_ARRAY_SIZE              0x807A
608 #define GL_VERTEX_ARRAY_TYPE              0x807B
609 #define GL_VERTEX_ARRAY_STRIDE            0x807C
610 #define GL_NORMAL_ARRAY_TYPE              0x807E
611 #define GL_NORMAL_ARRAY_STRIDE            0x807F
612 #define GL_COLOR_ARRAY_SIZE               0x8081
613 #define GL_COLOR_ARRAY_TYPE               0x8082
614 #define GL_COLOR_ARRAY_STRIDE             0x8083
615 #define GL_INDEX_ARRAY_TYPE               0x8085
616 #define GL_INDEX_ARRAY_STRIDE             0x8086
617 #define GL_TEXTURE_COORD_ARRAY_SIZE       0x8088
618 #define GL_TEXTURE_COORD_ARRAY_TYPE       0x8089
619 #define GL_TEXTURE_COORD_ARRAY_STRIDE     0x808A
620 #define GL_EDGE_FLAG_ARRAY_STRIDE         0x808C
621 /*      GL_VERTEX_ARRAY_COUNT_EXT */
622 /*      GL_NORMAL_ARRAY_COUNT_EXT */
623 /*      GL_COLOR_ARRAY_COUNT_EXT */
624 /*      GL_INDEX_ARRAY_COUNT_EXT */
625 /*      GL_TEXTURE_COORD_ARRAY_COUNT_EXT */
626 /*      GL_EDGE_FLAG_ARRAY_COUNT_EXT */
627
628 /* GetTextureParameter */
629 /*      GL_TEXTURE_MAG_FILTER */
630 /*      GL_TEXTURE_MIN_FILTER */
631 /*      GL_TEXTURE_WRAP_S */
632 /*      GL_TEXTURE_WRAP_T */
633 #define GL_TEXTURE_WIDTH                  0x1000
634 #define GL_TEXTURE_HEIGHT                 0x1001
635 #define GL_TEXTURE_INTERNAL_FORMAT        0x1003
636 #define GL_TEXTURE_COMPONENTS             GL_TEXTURE_INTERNAL_FORMAT
637 #define GL_TEXTURE_BORDER_COLOR           0x1004
638 #define GL_TEXTURE_BORDER                 0x1005
639 #define GL_TEXTURE_RED_SIZE               0x805C
640 #define GL_TEXTURE_GREEN_SIZE             0x805D
641 #define GL_TEXTURE_BLUE_SIZE              0x805E
642 #define GL_TEXTURE_ALPHA_SIZE             0x805F
643 #define GL_TEXTURE_LUMINANCE_SIZE         0x8060
644 #define GL_TEXTURE_INTENSITY_SIZE         0x8061
645 #define GL_TEXTURE_PRIORITY               0x8066
646 #define GL_TEXTURE_RESIDENT               0x8067
647
648 /* HintMode */
649 #define GL_DONT_CARE                      0x1100
650 #define GL_FASTEST                        0x1101
651 #define GL_NICEST                         0x1102
652
653 /* HintTarget */
654 /*      GL_PERSPECTIVE_CORRECTION_HINT */
655 /*      GL_POINT_SMOOTH_HINT */
656 /*      GL_LINE_SMOOTH_HINT */
657 /*      GL_POLYGON_SMOOTH_HINT */
658 /*      GL_FOG_HINT */
659
660 /* IndexMaterialParameterSGI */
661 /*      GL_INDEX_OFFSET */
662
663 /* IndexPointerType */
664 /*      GL_SHORT */
665 /*      GL_INT */
666 /*      GL_FLOAT */
667 /*      GL_DOUBLE */
668
669 /* IndexFunctionSGI */
670 /*      GL_NEVER */
671 /*      GL_LESS */
672 /*      GL_EQUAL */
673 /*      GL_LEQUAL */
674 /*      GL_GREATER */
675 /*      GL_NOTEQUAL */
676 /*      GL_GEQUAL */
677 /*      GL_ALWAYS */
678
679 /* LightModelParameter */
680 /*      GL_LIGHT_MODEL_AMBIENT */
681 /*      GL_LIGHT_MODEL_LOCAL_VIEWER */
682 /*      GL_LIGHT_MODEL_TWO_SIDE */
683
684 /* LightParameter */
685 #define GL_AMBIENT                        0x1200
686 #define GL_DIFFUSE                        0x1201
687 #define GL_SPECULAR                       0x1202
688 #define GL_POSITION                       0x1203
689 #define GL_SPOT_DIRECTION                 0x1204
690 #define GL_SPOT_EXPONENT                  0x1205
691 #define GL_SPOT_CUTOFF                    0x1206
692 #define GL_CONSTANT_ATTENUATION           0x1207
693 #define GL_LINEAR_ATTENUATION             0x1208
694 #define GL_QUADRATIC_ATTENUATION          0x1209
695
696 /* ListMode */
697 #define GL_COMPILE                        0x1300
698 #define GL_COMPILE_AND_EXECUTE            0x1301
699
700 /* DataType */
701 #define GL_BYTE                           0x1400
702 #define GL_UNSIGNED_BYTE                  0x1401
703 #define GL_SHORT                          0x1402
704 #define GL_UNSIGNED_SHORT                 0x1403
705 #define GL_INT                            0x1404
706 #define GL_UNSIGNED_INT                   0x1405
707 #define GL_FLOAT                          0x1406
708 #define GL_2_BYTES                        0x1407
709 #define GL_3_BYTES                        0x1408
710 #define GL_4_BYTES                        0x1409
711 #define GL_DOUBLE                         0x140A
712 #define GL_DOUBLE_EXT                     0x140A
713
714 /* ListNameType */
715 /*      GL_BYTE */
716 /*      GL_UNSIGNED_BYTE */
717 /*      GL_SHORT */
718 /*      GL_UNSIGNED_SHORT */
719 /*      GL_INT */
720 /*      GL_UNSIGNED_INT */
721 /*      GL_FLOAT */
722 /*      GL_2_BYTES */
723 /*      GL_3_BYTES */
724 /*      GL_4_BYTES */
725
726 /* LogicOp */
727 #define GL_CLEAR                          0x1500
728 #define GL_AND                            0x1501
729 #define GL_AND_REVERSE                    0x1502
730 #define GL_COPY                           0x1503
731 #define GL_AND_INVERTED                   0x1504
732 #define GL_NOOP                           0x1505
733 #define GL_XOR                            0x1506
734 #define GL_OR                             0x1507
735 #define GL_NOR                            0x1508
736 #define GL_EQUIV                          0x1509
737 #define GL_INVERT                         0x150A
738 #define GL_OR_REVERSE                     0x150B
739 #define GL_COPY_INVERTED                  0x150C
740 #define GL_OR_INVERTED                    0x150D
741 #define GL_NAND                           0x150E
742 #define GL_SET                            0x150F
743
744 /* MapTarget */
745 /*      GL_MAP1_COLOR_4 */
746 /*      GL_MAP1_INDEX */
747 /*      GL_MAP1_NORMAL */
748 /*      GL_MAP1_TEXTURE_COORD_1 */
749 /*      GL_MAP1_TEXTURE_COORD_2 */
750 /*      GL_MAP1_TEXTURE_COORD_3 */
751 /*      GL_MAP1_TEXTURE_COORD_4 */
752 /*      GL_MAP1_VERTEX_3 */
753 /*      GL_MAP1_VERTEX_4 */
754 /*      GL_MAP2_COLOR_4 */
755 /*      GL_MAP2_INDEX */
756 /*      GL_MAP2_NORMAL */
757 /*      GL_MAP2_TEXTURE_COORD_1 */
758 /*      GL_MAP2_TEXTURE_COORD_2 */
759 /*      GL_MAP2_TEXTURE_COORD_3 */
760 /*      GL_MAP2_TEXTURE_COORD_4 */
761 /*      GL_MAP2_VERTEX_3 */
762 /*      GL_MAP2_VERTEX_4 */
763
764 /* MaterialFace */
765 /*      GL_FRONT */
766 /*      GL_BACK */
767 /*      GL_FRONT_AND_BACK */
768
769 /* MaterialParameter */
770 #define GL_EMISSION                       0x1600
771 #define GL_SHININESS                      0x1601
772 #define GL_AMBIENT_AND_DIFFUSE            0x1602
773 #define GL_COLOR_INDEXES                  0x1603
774 /*      GL_AMBIENT */
775 /*      GL_DIFFUSE */
776 /*      GL_SPECULAR */
777
778 /* MatrixMode */
779 #define GL_MODELVIEW                      0x1700
780 #define GL_PROJECTION                     0x1701
781 #define GL_TEXTURE                        0x1702
782
783 /* MeshMode1 */
784 /*      GL_POINT */
785 /*      GL_LINE */
786
787 /* MeshMode2 */
788 /*      GL_POINT */
789 /*      GL_LINE */
790 /*      GL_FILL */
791
792 /* NormalPointerType */
793 /*      GL_BYTE */
794 /*      GL_SHORT */
795 /*      GL_INT */
796 /*      GL_FLOAT */
797 /*      GL_DOUBLE */
798
799 /* PixelCopyType */
800 #define GL_COLOR                          0x1800
801 #define GL_DEPTH                          0x1801
802 #define GL_STENCIL                        0x1802
803
804 /* PixelFormat */
805 #define GL_COLOR_INDEX                    0x1900
806 #define GL_STENCIL_INDEX                  0x1901
807 #define GL_DEPTH_COMPONENT                0x1902
808 #define GL_RED                            0x1903
809 #define GL_GREEN                          0x1904
810 #define GL_BLUE                           0x1905
811 #define GL_ALPHA                          0x1906
812 #define GL_RGB                            0x1907
813 #define GL_RGBA                           0x1908
814 #define GL_LUMINANCE                      0x1909
815 #define GL_LUMINANCE_ALPHA                0x190A
816 /*      GL_ABGR_EXT */
817
818 /* PixelMap */
819 /*      GL_PIXEL_MAP_I_TO_I */
820 /*      GL_PIXEL_MAP_S_TO_S */
821 /*      GL_PIXEL_MAP_I_TO_R */
822 /*      GL_PIXEL_MAP_I_TO_G */
823 /*      GL_PIXEL_MAP_I_TO_B */
824 /*      GL_PIXEL_MAP_I_TO_A */
825 /*      GL_PIXEL_MAP_R_TO_R */
826 /*      GL_PIXEL_MAP_G_TO_G */
827 /*      GL_PIXEL_MAP_B_TO_B */
828 /*      GL_PIXEL_MAP_A_TO_A */
829
830 /* PixelStoreParameter */
831 /*      GL_UNPACK_SWAP_BYTES */
832 /*      GL_UNPACK_LSB_FIRST */
833 /*      GL_UNPACK_ROW_LENGTH */
834 /*      GL_UNPACK_SKIP_ROWS */
835 /*      GL_UNPACK_SKIP_PIXELS */
836 /*      GL_UNPACK_ALIGNMENT */
837 /*      GL_PACK_SWAP_BYTES */
838 /*      GL_PACK_LSB_FIRST */
839 /*      GL_PACK_ROW_LENGTH */
840 /*      GL_PACK_SKIP_ROWS */
841 /*      GL_PACK_SKIP_PIXELS */
842 /*      GL_PACK_ALIGNMENT */
843
844 /* PixelTransferParameter */
845 /*      GL_MAP_COLOR */
846 /*      GL_MAP_STENCIL */
847 /*      GL_INDEX_SHIFT */
848 /*      GL_INDEX_OFFSET */
849 /*      GL_RED_SCALE */
850 /*      GL_RED_BIAS */
851 /*      GL_GREEN_SCALE */
852 /*      GL_GREEN_BIAS */
853 /*      GL_BLUE_SCALE */
854 /*      GL_BLUE_BIAS */
855 /*      GL_ALPHA_SCALE */
856 /*      GL_ALPHA_BIAS */
857 /*      GL_DEPTH_SCALE */
858 /*      GL_DEPTH_BIAS */
859
860 /* PixelType */
861 #define GL_BITMAP                         0x1A00
862 /*      GL_BYTE */
863 /*      GL_UNSIGNED_BYTE */
864 /*      GL_SHORT */
865 /*      GL_UNSIGNED_SHORT */
866 /*      GL_INT */
867 /*      GL_UNSIGNED_INT */
868 /*      GL_FLOAT */
869 /*      GL_UNSIGNED_BYTE_3_3_2_EXT */
870 /*      GL_UNSIGNED_SHORT_4_4_4_4_EXT */
871 /*      GL_UNSIGNED_SHORT_5_5_5_1_EXT */
872 /*      GL_UNSIGNED_INT_8_8_8_8_EXT */
873 /*      GL_UNSIGNED_INT_10_10_10_2_EXT */
874
875 /* PolygonMode */
876 #define GL_POINT                          0x1B00
877 #define GL_LINE                           0x1B01
878 #define GL_FILL                           0x1B02
879
880 /* ReadBufferMode */
881 /*      GL_FRONT_LEFT */
882 /*      GL_FRONT_RIGHT */
883 /*      GL_BACK_LEFT */
884 /*      GL_BACK_RIGHT */
885 /*      GL_FRONT */
886 /*      GL_BACK */
887 /*      GL_LEFT */
888 /*      GL_RIGHT */
889 /*      GL_AUX0 */
890 /*      GL_AUX1 */
891 /*      GL_AUX2 */
892 /*      GL_AUX3 */
893 /*      GL_AUX4 */
894 /*      GL_AUX5 */
895 /*      GL_AUX6 */
896 /*      GL_AUX7 */
897
898 /* RenderingMode */
899 #define GL_RENDER                         0x1C00
900 #define GL_FEEDBACK                       0x1C01
901 #define GL_SELECT                         0x1C02
902
903 /* ShadingModel */
904 #define GL_FLAT                           0x1D00
905 #define GL_SMOOTH                         0x1D01
906
907 /* StencilFunction */
908 /*      GL_NEVER */
909 /*      GL_LESS */
910 /*      GL_EQUAL */
911 /*      GL_LEQUAL */
912 /*      GL_GREATER */
913 /*      GL_NOTEQUAL */
914 /*      GL_GEQUAL */
915 /*      GL_ALWAYS */
916
917 /* StencilOp */
918 /*      GL_ZERO */
919 #define GL_KEEP                           0x1E00
920 #define GL_REPLACE                        0x1E01
921 #define GL_INCR                           0x1E02
922 #define GL_DECR                           0x1E03
923 /*      GL_INVERT */
924
925 /* StringName */
926 #define GL_VENDOR                         0x1F00
927 #define GL_RENDERER                       0x1F01
928 #define GL_VERSION                        0x1F02
929 #define GL_EXTENSIONS                     0x1F03
930
931 /* TexCoordPointerType */
932 /*      GL_SHORT */
933 /*      GL_INT */
934 /*      GL_FLOAT */
935 /*      GL_DOUBLE */
936
937 /* TextureCoordName */
938 #define GL_S                              0x2000
939 #define GL_T                              0x2001
940 #define GL_R                              0x2002
941 #define GL_Q                              0x2003
942
943 /* TextureEnvMode */
944 #define GL_MODULATE                       0x2100
945 #define GL_DECAL                          0x2101
946 /*      GL_BLEND */
947 /*      GL_REPLACE */
948 /*      GL_ADD */
949
950 /* TextureEnvParameter */
951 #define GL_TEXTURE_ENV_MODE               0x2200
952 #define GL_TEXTURE_ENV_COLOR              0x2201
953
954 /* TextureEnvTarget */
955 #define GL_TEXTURE_ENV                    0x2300
956
957 /* TextureGenMode */
958 #define GL_EYE_LINEAR                     0x2400
959 #define GL_OBJECT_LINEAR                  0x2401
960 #define GL_SPHERE_MAP                     0x2402
961
962 /* TextureGenParameter */
963 #define GL_TEXTURE_GEN_MODE               0x2500
964 #define GL_OBJECT_PLANE                   0x2501
965 #define GL_EYE_PLANE                      0x2502
966
967 /* TextureMagFilter */
968 #define GL_NEAREST                        0x2600
969 #define GL_LINEAR                         0x2601
970
971 /* TextureMinFilter */
972 /*      GL_NEAREST */
973 /*      GL_LINEAR */
974 #define GL_NEAREST_MIPMAP_NEAREST         0x2700
975 #define GL_LINEAR_MIPMAP_NEAREST          0x2701
976 #define GL_NEAREST_MIPMAP_LINEAR          0x2702
977 #define GL_LINEAR_MIPMAP_LINEAR           0x2703
978
979 /* TextureParameterName */
980 #define GL_TEXTURE_MAG_FILTER             0x2800
981 #define GL_TEXTURE_MIN_FILTER             0x2801
982 #define GL_TEXTURE_WRAP_S                 0x2802
983 #define GL_TEXTURE_WRAP_T                 0x2803
984 /*      GL_TEXTURE_BORDER_COLOR */
985 /*      GL_TEXTURE_PRIORITY */
986
987 /* TextureTarget */
988 /*      GL_TEXTURE_1D */
989 /*      GL_TEXTURE_2D */
990 #define GL_PROXY_TEXTURE_1D               0x8063
991 #define GL_PROXY_TEXTURE_2D               0x8064
992
993 /* TextureWrapMode */
994 #define GL_CLAMP                          0x2900
995 #define GL_REPEAT                         0x2901
996
997 /* PixelInternalFormat */
998 #define GL_R3_G3_B2                       0x2A10
999 #define GL_ALPHA4                         0x803B
1000 #define GL_ALPHA8                         0x803C
1001 #define GL_ALPHA12                        0x803D
1002 #define GL_ALPHA16                        0x803E
1003 #define GL_LUMINANCE4                     0x803F
1004 #define GL_LUMINANCE8                     0x8040
1005 #define GL_LUMINANCE12                    0x8041
1006 #define GL_LUMINANCE16                    0x8042
1007 #define GL_LUMINANCE4_ALPHA4              0x8043
1008 #define GL_LUMINANCE6_ALPHA2              0x8044
1009 #define GL_LUMINANCE8_ALPHA8              0x8045
1010 #define GL_LUMINANCE12_ALPHA4             0x8046
1011 #define GL_LUMINANCE12_ALPHA12            0x8047
1012 #define GL_LUMINANCE16_ALPHA16            0x8048
1013 #define GL_INTENSITY                      0x8049
1014 #define GL_INTENSITY4                     0x804A
1015 #define GL_INTENSITY8                     0x804B
1016 #define GL_INTENSITY12                    0x804C
1017 #define GL_INTENSITY16                    0x804D
1018 #define GL_RGB4                           0x804F
1019 #define GL_RGB5                           0x8050
1020 #define GL_RGB8                           0x8051
1021 #define GL_RGB10                          0x8052
1022 #define GL_RGB12                          0x8053
1023 #define GL_RGB16                          0x8054
1024 #define GL_RGBA2                          0x8055
1025 #define GL_RGBA4                          0x8056
1026 #define GL_RGB5_A1                        0x8057
1027 #define GL_RGBA8                          0x8058
1028 #define GL_RGB10_A2                       0x8059
1029 #define GL_RGBA12                         0x805A
1030 #define GL_RGBA16                         0x805B
1031
1032 /* InterleavedArrayFormat */
1033 #define GL_V2F                            0x2A20
1034 #define GL_V3F                            0x2A21
1035 #define GL_C4UB_V2F                       0x2A22
1036 #define GL_C4UB_V3F                       0x2A23
1037 #define GL_C3F_V3F                        0x2A24
1038 #define GL_N3F_V3F                        0x2A25
1039 #define GL_C4F_N3F_V3F                    0x2A26
1040 #define GL_T2F_V3F                        0x2A27
1041 #define GL_T4F_V4F                        0x2A28
1042 #define GL_T2F_C4UB_V3F                   0x2A29
1043 #define GL_T2F_C3F_V3F                    0x2A2A
1044 #define GL_T2F_N3F_V3F                    0x2A2B
1045 #define GL_T2F_C4F_N3F_V3F                0x2A2C
1046 #define GL_T4F_C4F_N3F_V4F                0x2A2D
1047
1048 /* VertexPointerType */
1049 /*      GL_SHORT */
1050 /*      GL_INT */
1051 /*      GL_FLOAT */
1052 /*      GL_DOUBLE */
1053
1054 /* ClipPlaneName */
1055 #define GL_CLIP_PLANE0                    0x3000
1056 #define GL_CLIP_PLANE1                    0x3001
1057 #define GL_CLIP_PLANE2                    0x3002
1058 #define GL_CLIP_PLANE3                    0x3003
1059 #define GL_CLIP_PLANE4                    0x3004
1060 #define GL_CLIP_PLANE5                    0x3005
1061
1062 /* LightName */
1063 #define GL_LIGHT0                         0x4000
1064 #define GL_LIGHT1                         0x4001
1065 #define GL_LIGHT2                         0x4002
1066 #define GL_LIGHT3                         0x4003
1067 #define GL_LIGHT4                         0x4004
1068 #define GL_LIGHT5                         0x4005
1069 #define GL_LIGHT6                         0x4006
1070 #define GL_LIGHT7                         0x4007
1071
1072 /* EXT_abgr */
1073 #define GL_ABGR_EXT                       0x8000
1074
1075 /* EXT_blend_subtract */
1076 #define GL_FUNC_SUBTRACT_EXT              0x800A
1077 #define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
1078
1079 /* EXT_packed_pixels */
1080 #define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
1081 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
1082 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
1083 #define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
1084 #define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
1085
1086 /* OpenGL12 */
1087 #define GL_PACK_SKIP_IMAGES               0x806B
1088 #define GL_PACK_IMAGE_HEIGHT              0x806C
1089 #define GL_UNPACK_SKIP_IMAGES             0x806D
1090 #define GL_UNPACK_IMAGE_HEIGHT            0x806E
1091 #define GL_TEXTURE_3D                     0x806F
1092 #define GL_PROXY_TEXTURE_3D               0x8070
1093 #define GL_TEXTURE_DEPTH                  0x8071
1094 #define GL_TEXTURE_WRAP_R                 0x8072
1095 #define GL_MAX_3D_TEXTURE_SIZE            0x8073
1096 #define GL_BGR                            0x80E0
1097 #define GL_BGRA                           0x80E1
1098 #define GL_UNSIGNED_BYTE_3_3_2            0x8032
1099 #define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
1100 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
1101 #define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
1102 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
1103 #define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
1104 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
1105 #define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
1106 #define GL_UNSIGNED_INT_8_8_8_8           0x8035
1107 #define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
1108 #define GL_UNSIGNED_INT_10_10_10_2        0x8036
1109 #define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
1110 #define GL_RESCALE_NORMAL                 0x803A
1111 #define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
1112 #define GL_SINGLE_COLOR                   0x81F9
1113 #define GL_SEPARATE_SPECULAR_COLOR        0x81FA
1114 #define GL_CLAMP_TO_EDGE                  0x812F
1115 #define GL_TEXTURE_MIN_LOD                0x813A
1116 #define GL_TEXTURE_MAX_LOD                0x813B
1117 #define GL_TEXTURE_BASE_LEVEL             0x813C
1118 #define GL_TEXTURE_MAX_LEVEL              0x813D
1119 #define GL_MAX_ELEMENTS_VERTICES          0x80E8
1120 #define GL_MAX_ELEMENTS_INDICES           0x80E9
1121 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
1122 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
1123
1124 /* OpenGL13 */
1125 #define GL_ACTIVE_TEXTURE                 0x84E0
1126 #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
1127 #define GL_MAX_TEXTURE_UNITS              0x84E2
1128 #define GL_TEXTURE0                       0x84C0
1129 #define GL_TEXTURE1                       0x84C1
1130 #define GL_TEXTURE2                       0x84C2
1131 #define GL_TEXTURE3                       0x84C3
1132 #define GL_TEXTURE4                       0x84C4
1133 #define GL_TEXTURE5                       0x84C5
1134 #define GL_TEXTURE6                       0x84C6
1135 #define GL_TEXTURE7                       0x84C7
1136 #define GL_TEXTURE8                       0x84C8
1137 #define GL_TEXTURE9                       0x84C9
1138 #define GL_TEXTURE10                      0x84CA
1139 #define GL_TEXTURE11                      0x84CB
1140 #define GL_TEXTURE12                      0x84CC
1141 #define GL_TEXTURE13                      0x84CD
1142 #define GL_TEXTURE14                      0x84CE
1143 #define GL_TEXTURE15                      0x84CF
1144 #define GL_TEXTURE16                      0x84D0
1145 #define GL_TEXTURE17                      0x84D1
1146 #define GL_TEXTURE18                      0x84D2
1147 #define GL_TEXTURE19                      0x84D3
1148 #define GL_TEXTURE20                      0x84D4
1149 #define GL_TEXTURE21                      0x84D5
1150 #define GL_TEXTURE22                      0x84D6
1151 #define GL_TEXTURE23                      0x84D7
1152 #define GL_TEXTURE24                      0x84D8
1153 #define GL_TEXTURE25                      0x84D9
1154 #define GL_TEXTURE26                      0x84DA
1155 #define GL_TEXTURE27                      0x84DB
1156 #define GL_TEXTURE28                      0x84DC
1157 #define GL_TEXTURE29                      0x84DD
1158 #define GL_TEXTURE30                      0x84DE
1159 #define GL_TEXTURE31                      0x84DF
1160 #define GL_NORMAL_MAP                     0x8511
1161 #define GL_REFLECTION_MAP                 0x8512
1162 #define GL_TEXTURE_CUBE_MAP               0x8513
1163 #define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
1164 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
1165 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
1166 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
1167 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
1168 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
1169 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
1170 #define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
1171 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
1172 #define GL_COMBINE                        0x8570
1173 #define GL_COMBINE_RGB                    0x8571
1174 #define GL_COMBINE_ALPHA                  0x8572
1175 #define GL_RGB_SCALE                      0x8573
1176 #define GL_ADD_SIGNED                     0x8574
1177 #define GL_INTERPOLATE                    0x8575
1178 #define GL_CONSTANT                       0x8576
1179 #define GL_PRIMARY_COLOR                  0x8577
1180 #define GL_PREVIOUS                       0x8578
1181 #define GL_SOURCE0_RGB                    0x8580
1182 #define GL_SOURCE1_RGB                    0x8581
1183 #define GL_SOURCE2_RGB                    0x8582
1184 #define GL_SOURCE0_ALPHA                  0x8588
1185 #define GL_SOURCE1_ALPHA                  0x8589
1186 #define GL_SOURCE2_ALPHA                  0x858A
1187 #define GL_OPERAND0_RGB                   0x8590
1188 #define GL_OPERAND1_RGB                   0x8591
1189 #define GL_OPERAND2_RGB                   0x8592
1190 #define GL_OPERAND0_ALPHA                 0x8598
1191 #define GL_OPERAND1_ALPHA                 0x8599
1192 #define GL_OPERAND2_ALPHA                 0x859A
1193 #define GL_SUBTRACT                       0x84E7
1194 #define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
1195 #define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
1196 #define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
1197 #define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
1198 #define GL_COMPRESSED_ALPHA               0x84E9
1199 #define GL_COMPRESSED_LUMINANCE           0x84EA
1200 #define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
1201 #define GL_COMPRESSED_INTENSITY           0x84EC
1202 #define GL_COMPRESSED_RGB                 0x84ED
1203 #define GL_COMPRESSED_RGBA                0x84EE
1204 #define GL_TEXTURE_COMPRESSION_HINT       0x84EF
1205 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
1206 #define GL_TEXTURE_COMPRESSED             0x86A1
1207 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
1208 #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
1209 #define GL_DOT3_RGB                       0x86AE
1210 #define GL_DOT3_RGBA                      0x86AF
1211 #define GL_CLAMP_TO_BORDER                0x812D
1212 #define GL_MULTISAMPLE                    0x809D
1213 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
1214 #define GL_SAMPLE_ALPHA_TO_ONE            0x809F
1215 #define GL_SAMPLE_COVERAGE                0x80A0
1216 #define GL_SAMPLE_BUFFERS                 0x80A8
1217 #define GL_SAMPLES                        0x80A9
1218 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
1219 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
1220 #define GL_MULTISAMPLE_BIT                0x20000000
1221
1222 /* EXT_vertex_array */
1223 #define GL_VERTEX_ARRAY_EXT               0x8074
1224 #define GL_NORMAL_ARRAY_EXT               0x8075
1225 #define GL_COLOR_ARRAY_EXT                0x8076
1226 #define GL_INDEX_ARRAY_EXT                0x8077
1227 #define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
1228 #define GL_EDGE_FLAG_ARRAY_EXT            0x8079
1229 #define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
1230 #define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
1231 #define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
1232 #define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
1233 #define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
1234 #define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
1235 #define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
1236 #define GL_COLOR_ARRAY_SIZE_EXT           0x8081
1237 #define GL_COLOR_ARRAY_TYPE_EXT           0x8082
1238 #define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
1239 #define GL_COLOR_ARRAY_COUNT_EXT          0x8084
1240 #define GL_INDEX_ARRAY_TYPE_EXT           0x8085
1241 #define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
1242 #define GL_INDEX_ARRAY_COUNT_EXT          0x8087
1243 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
1244 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
1245 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
1246 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
1247 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
1248 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
1249 #define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
1250 #define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
1251 #define GL_COLOR_ARRAY_POINTER_EXT        0x8090
1252 #define GL_INDEX_ARRAY_POINTER_EXT        0x8091
1253 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
1254 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
1255
1256 /* SGIS_texture_lod */
1257 #define GL_TEXTURE_MIN_LOD_SGIS           0x813A
1258 #define GL_TEXTURE_MAX_LOD_SGIS           0x813B
1259 #define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
1260 #define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
1261
1262 /* EXT_shared_texture_palette */
1263 #define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
1264
1265 /* EXT_rescale_normal */
1266 #define GL_RESCALE_NORMAL_EXT             0x803A
1267
1268 /* SGIX_shadow */
1269 #define GL_TEXTURE_COMPARE_SGIX           0x819A
1270 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
1271 #define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
1272 #define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
1273
1274 /* SGIX_depth_texture */
1275 #define GL_DEPTH_COMPONENT16_SGIX         0x81A5
1276 #define GL_DEPTH_COMPONENT24_SGIX         0x81A6
1277 #define GL_DEPTH_COMPONENT32_SGIX         0x81A7
1278
1279 /* SGIS_generate_mipmap */
1280 #define GL_GENERATE_MIPMAP_SGIS           0x8191
1281 #define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
1282
1283 /* OpenGL14 */
1284 #define GL_POINT_SIZE_MIN                 0x8126
1285 #define GL_POINT_SIZE_MAX                 0x8127
1286 #define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
1287 #define GL_POINT_DISTANCE_ATTENUATION     0x8129
1288 #define GL_FOG_COORDINATE_SOURCE          0x8450
1289 #define GL_FOG_COORDINATE                 0x8451
1290 #define GL_FRAGMENT_DEPTH                 0x8452
1291 #define GL_CURRENT_FOG_COORDINATE         0x8453
1292 #define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
1293 #define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
1294 #define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
1295 #define GL_FOG_COORDINATE_ARRAY           0x8457
1296 #define GL_COLOR_SUM                      0x8458
1297 #define GL_CURRENT_SECONDARY_COLOR        0x8459
1298 #define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
1299 #define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
1300 #define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
1301 #define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
1302 #define GL_SECONDARY_COLOR_ARRAY          0x845E
1303 #define GL_INCR_WRAP                      0x8507
1304 #define GL_DECR_WRAP                      0x8508
1305 #define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
1306 #define GL_TEXTURE_FILTER_CONTROL         0x8500
1307 #define GL_TEXTURE_LOD_BIAS               0x8501
1308 #define GL_GENERATE_MIPMAP                0x8191
1309 #define GL_GENERATE_MIPMAP_HINT           0x8192
1310 #define GL_CONSTANT_COLOR                 0x8001
1311 #define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
1312 #define GL_CONSTANT_ALPHA                 0x8003
1313 #define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
1314 #define GL_BLEND_COLOR                    0x8005
1315 #define GL_BLEND_EQUATION                 0x8009
1316 #define GL_FUNC_ADD                       0x8006
1317 #define GL_MIN                            0x8007
1318 #define GL_MAX                            0x8008
1319 #define GL_FUNC_SUBTRACT                  0x800A
1320 #define GL_FUNC_REVERSE_SUBTRACT          0x800B
1321 #define GL_BLEND_DST_RGB                  0x80C8
1322 #define GL_BLEND_SRC_RGB                  0x80C9
1323 #define GL_BLEND_DST_ALPHA                0x80CA
1324 #define GL_BLEND_SRC_ALPHA                0x80CB
1325 #define GL_MIRRORED_REPEAT                0x8370
1326 #define GL_DEPTH_COMPONENT16              0x81A5
1327 #define GL_DEPTH_COMPONENT24              0x81A6
1328 #define GL_DEPTH_COMPONENT32              0x81A7
1329 #define GL_TEXTURE_DEPTH_SIZE             0x884A
1330 #define GL_DEPTH_TEXTURE_MODE             0x884B
1331 #define GL_TEXTURE_COMPARE_MODE           0x884C
1332 #define GL_TEXTURE_COMPARE_FUNC           0x884D
1333 #define GL_COMPARE_R_TO_TEXTURE           0x884E
1334
1335 /* OpenGL15 */
1336 #define GL_FOG_COORD_SRC                  0x8450
1337 #define GL_FOG_COORD                      0x8451
1338 #define GL_CURRENT_FOG_COORD              0x8453
1339 #define GL_FOG_COORD_ARRAY_TYPE           0x8454
1340 #define GL_FOG_COORD_ARRAY_STRIDE         0x8455
1341 #define GL_FOG_COORD_ARRAY_POINTER        0x8456
1342 #define GL_FOG_COORD_ARRAY                0x8457
1343 #define GL_SRC0_RGB                       0x8580
1344 #define GL_SRC1_RGB                       0x8581
1345 #define GL_SRC2_RGB                       0x8582
1346 #define GL_SRC0_ALPHA                     0x8588
1347 #define GL_SRC1_ALPHA                     0x8589
1348 #define GL_SRC2_ALPHA                     0x858A
1349 #define GL_QUERY_COUNTER_BITS             0x8864
1350 #define GL_CURRENT_QUERY                  0x8865
1351 #define GL_QUERY_RESULT                   0x8866
1352 #define GL_QUERY_RESULT_AVAILABLE         0x8867
1353 #define GL_SAMPLES_PASSED                 0x8914
1354 #define GL_ARRAY_BUFFER                   0x8892
1355 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
1356 #define GL_ARRAY_BUFFER_BINDING           0x8894
1357 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
1358 #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
1359 #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
1360 #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
1361 #define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
1362 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
1363 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
1364 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
1365 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
1366 #define GL_STREAM_DRAW                    0x88E0
1367 #define GL_STREAM_READ                    0x88E1
1368 #define GL_STREAM_COPY                    0x88E2
1369 #define GL_STATIC_DRAW                    0x88E4
1370 #define GL_STATIC_READ                    0x88E5
1371 #define GL_STATIC_COPY                    0x88E6
1372 #define GL_DYNAMIC_DRAW                   0x88E8
1373 #define GL_DYNAMIC_READ                   0x88E9
1374 #define GL_DYNAMIC_COPY                   0x88EA
1375 #define GL_READ_ONLY                      0x88B8
1376 #define GL_WRITE_ONLY                     0x88B9
1377 #define GL_READ_WRITE                     0x88BA
1378 #define GL_BUFFER_SIZE                    0x8764
1379 #define GL_BUFFER_USAGE                   0x8765
1380 #define GL_BUFFER_ACCESS                  0x88BB
1381 #define GL_BUFFER_MAPPED                  0x88BC
1382 #define GL_BUFFER_MAP_POINTER             0x88BD
1383
1384 /* OpenGL20 */
1385 #define GL_CURRENT_PROGRAM                0x8B8D
1386 #define GL_SHADER_TYPE                    0x8B4F
1387 #define GL_DELETE_STATUS                  0x8B80
1388 #define GL_COMPILE_STATUS                 0x8B81
1389 #define GL_LINK_STATUS                    0x8B82
1390 #define GL_VALIDATE_STATUS                0x8B83
1391 #define GL_INFO_LOG_LENGTH                0x8B84
1392 #define GL_ATTACHED_SHADERS               0x8B85
1393 #define GL_ACTIVE_UNIFORMS                0x8B86
1394 #define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
1395 #define GL_SHADER_SOURCE_LENGTH           0x8B88
1396 #define GL_FLOAT_VEC2                     0x8B50
1397 #define GL_FLOAT_VEC3                     0x8B51
1398 #define GL_FLOAT_VEC4                     0x8B52
1399 #define GL_INT_VEC2                       0x8B53
1400 #define GL_INT_VEC3                       0x8B54
1401 #define GL_INT_VEC4                       0x8B55
1402 #define GL_BOOL                           0x8B56
1403 #define GL_BOOL_VEC2                      0x8B57
1404 #define GL_BOOL_VEC3                      0x8B58
1405 #define GL_BOOL_VEC4                      0x8B59
1406 #define GL_FLOAT_MAT2                     0x8B5A
1407 #define GL_FLOAT_MAT3                     0x8B5B
1408 #define GL_FLOAT_MAT4                     0x8B5C
1409 #define GL_SAMPLER_1D                     0x8B5D
1410 #define GL_SAMPLER_2D                     0x8B5E
1411 #define GL_SAMPLER_3D                     0x8B5F
1412 #define GL_SAMPLER_CUBE                   0x8B60
1413 #define GL_SAMPLER_1D_SHADOW              0x8B61
1414 #define GL_SAMPLER_2D_SHADOW              0x8B62
1415 #define GL_SHADING_LANGUAGE_VERSION       0x8B8C
1416 #define GL_VERTEX_SHADER                  0x8B31
1417 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
1418 #define GL_MAX_VARYING_FLOATS             0x8B4B
1419 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
1420 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
1421 #define GL_ACTIVE_ATTRIBUTES              0x8B89
1422 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
1423 #define GL_FRAGMENT_SHADER                0x8B30
1424 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
1425 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
1426 #define GL_MAX_VERTEX_ATTRIBS             0x8869
1427 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
1428 #define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
1429 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
1430 #define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
1431 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
1432 #define GL_CURRENT_VERTEX_ATTRIB          0x8626
1433 #define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
1434 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
1435 #define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
1436 #define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
1437 #define GL_MAX_TEXTURE_COORDS             0x8871
1438 #define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
1439 #define GL_MAX_DRAW_BUFFERS               0x8824
1440 #define GL_DRAW_BUFFER0                   0x8825
1441 #define GL_DRAW_BUFFER1                   0x8826
1442 #define GL_DRAW_BUFFER2                   0x8827
1443 #define GL_DRAW_BUFFER3                   0x8828
1444 #define GL_DRAW_BUFFER4                   0x8829
1445 #define GL_DRAW_BUFFER5                   0x882A
1446 #define GL_DRAW_BUFFER6                   0x882B
1447 #define GL_DRAW_BUFFER7                   0x882C
1448 #define GL_DRAW_BUFFER8                   0x882D
1449 #define GL_DRAW_BUFFER9                   0x882E
1450 #define GL_DRAW_BUFFER10                  0x882F
1451 #define GL_DRAW_BUFFER11                  0x8830
1452 #define GL_DRAW_BUFFER12                  0x8831
1453 #define GL_DRAW_BUFFER13                  0x8832
1454 #define GL_DRAW_BUFFER14                  0x8833
1455 #define GL_DRAW_BUFFER15                  0x8834
1456 #define GL_POINT_SPRITE                   0x8861
1457 #define GL_COORD_REPLACE                  0x8862
1458 #define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
1459 #define GL_LOWER_LEFT                     0x8CA1
1460 #define GL_UPPER_LEFT                     0x8CA2
1461 #define GL_STENCIL_BACK_FUNC              0x8800
1462 #define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
1463 #define GL_STENCIL_BACK_REF               0x8CA3
1464 #define GL_STENCIL_BACK_FAIL              0x8801
1465 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
1466 #define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
1467 #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
1468 #define GL_BLEND_EQUATION_RGB             0x8009
1469 #define GL_BLEND_EQUATION_ALPHA           0x883D
1470
1471 /* OpenGL21 */
1472 #define GL_PIXEL_PACK_BUFFER              0x88EB
1473 #define GL_PIXEL_UNPACK_BUFFER            0x88EC
1474 #define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
1475 #define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
1476 #define GL_SRGB                           0x8C40
1477 #define GL_SRGB8                          0x8C41
1478 #define GL_SRGB_ALPHA                     0x8C42
1479 #define GL_SRGB8_ALPHA8                   0x8C43
1480 #define GL_SLUMINANCE_ALPHA               0x8C44
1481 #define GL_SLUMINANCE8_ALPHA8             0x8C45
1482 #define GL_SLUMINANCE                     0x8C46
1483 #define GL_SLUMINANCE8                    0x8C47
1484 #define GL_COMPRESSED_SRGB                0x8C48
1485 #define GL_COMPRESSED_SRGB_ALPHA          0x8C49
1486 #define GL_COMPRESSED_SLUMINANCE          0x8C4A
1487 #define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
1488 #define GL_FLOAT_MAT2x3                   0x8B65
1489 #define GL_FLOAT_MAT2x4                   0x8B66
1490 #define GL_FLOAT_MAT3x2                   0x8B67
1491 #define GL_FLOAT_MAT3x4                   0x8B68
1492 #define GL_FLOAT_MAT4x2                   0x8B69
1493 #define GL_FLOAT_MAT4x3                   0x8B6A
1494 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
1495
1496 /*************************************************************/
1497
1498 GLAPI void GLAPIENTRY glNewList (GLuint list, GLenum mode);
1499 GLAPI void GLAPIENTRY glEndList (void);
1500 GLAPI void GLAPIENTRY glCallList (GLuint list);
1501 GLAPI void GLAPIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
1502 GLAPI void GLAPIENTRY glDeleteLists (GLuint list, GLsizei range);
1503 GLAPI GLuint GLAPIENTRY glGenLists (GLsizei range);
1504 GLAPI void GLAPIENTRY glListBase (GLuint base);
1505 GLAPI void GLAPIENTRY glBegin (GLenum mode);
1506 GLAPI void GLAPIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
1507 GLAPI void GLAPIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
1508 GLAPI void GLAPIENTRY glColor3bv (const GLbyte *v);
1509 GLAPI void GLAPIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
1510 GLAPI void GLAPIENTRY glColor3dv (const GLdouble *v);
1511 GLAPI void GLAPIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
1512 GLAPI void GLAPIENTRY glColor3fv (const GLfloat *v);
1513 GLAPI void GLAPIENTRY glColor3i (GLint red, GLint green, GLint blue);
1514 GLAPI void GLAPIENTRY glColor3iv (const GLint *v);
1515 GLAPI void GLAPIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
1516 GLAPI void GLAPIENTRY glColor3sv (const GLshort *v);
1517 GLAPI void GLAPIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
1518 GLAPI void GLAPIENTRY glColor3ubv (const GLubyte *v);
1519 GLAPI void GLAPIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
1520 GLAPI void GLAPIENTRY glColor3uiv (const GLuint *v);
1521 GLAPI void GLAPIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
1522 GLAPI void GLAPIENTRY glColor3usv (const GLushort *v);
1523 GLAPI void GLAPIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
1524 GLAPI void GLAPIENTRY glColor4bv (const GLbyte *v);
1525 GLAPI void GLAPIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
1526 GLAPI void GLAPIENTRY glColor4dv (const GLdouble *v);
1527 GLAPI void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
1528 GLAPI void GLAPIENTRY glColor4fv (const GLfloat *v);
1529 GLAPI void GLAPIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
1530 GLAPI void GLAPIENTRY glColor4iv (const GLint *v);
1531 GLAPI void GLAPIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
1532 GLAPI void GLAPIENTRY glColor4sv (const GLshort *v);
1533 GLAPI void GLAPIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
1534 GLAPI void GLAPIENTRY glColor4ubv (const GLubyte *v);
1535 GLAPI void GLAPIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
1536 GLAPI void GLAPIENTRY glColor4uiv (const GLuint *v);
1537 GLAPI void GLAPIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
1538 GLAPI void GLAPIENTRY glColor4usv (const GLushort *v);
1539 GLAPI void GLAPIENTRY glEdgeFlag (GLboolean flag);
1540 GLAPI void GLAPIENTRY glEdgeFlagv (const GLboolean *flag);
1541 GLAPI void GLAPIENTRY glEnd (void);
1542 GLAPI void GLAPIENTRY glIndexd (GLdouble c);
1543 GLAPI void GLAPIENTRY glIndexdv (const GLdouble *c);
1544 GLAPI void GLAPIENTRY glIndexf (GLfloat c);
1545 GLAPI void GLAPIENTRY glIndexfv (const GLfloat *c);
1546 GLAPI void GLAPIENTRY glIndexi (GLint c);
1547 GLAPI void GLAPIENTRY glIndexiv (const GLint *c);
1548 GLAPI void GLAPIENTRY glIndexs (GLshort c);
1549 GLAPI void GLAPIENTRY glIndexsv (const GLshort *c);
1550 GLAPI void GLAPIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
1551 GLAPI void GLAPIENTRY glNormal3bv (const GLbyte *v);
1552 GLAPI void GLAPIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
1553 GLAPI void GLAPIENTRY glNormal3dv (const GLdouble *v);
1554 GLAPI void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
1555 GLAPI void GLAPIENTRY glNormal3fv (const GLfloat *v);
1556 GLAPI void GLAPIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
1557 GLAPI void GLAPIENTRY glNormal3iv (const GLint *v);
1558 GLAPI void GLAPIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
1559 GLAPI void GLAPIENTRY glNormal3sv (const GLshort *v);
1560 GLAPI void GLAPIENTRY glRasterPos2d (GLdouble x, GLdouble y);
1561 GLAPI void GLAPIENTRY glRasterPos2dv (const GLdouble *v);
1562 GLAPI void GLAPIENTRY glRasterPos2f (GLfloat x, GLfloat y);
1563 GLAPI void GLAPIENTRY glRasterPos2fv (const GLfloat *v);
1564 GLAPI void GLAPIENTRY glRasterPos2i (GLint x, GLint y);
1565 GLAPI void GLAPIENTRY glRasterPos2iv (const GLint *v);
1566 GLAPI void GLAPIENTRY glRasterPos2s (GLshort x, GLshort y);
1567 GLAPI void GLAPIENTRY glRasterPos2sv (const GLshort *v);
1568 GLAPI void GLAPIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
1569 GLAPI void GLAPIENTRY glRasterPos3dv (const GLdouble *v);
1570 GLAPI void GLAPIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
1571 GLAPI void GLAPIENTRY glRasterPos3fv (const GLfloat *v);
1572 GLAPI void GLAPIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
1573 GLAPI void GLAPIENTRY glRasterPos3iv (const GLint *v);
1574 GLAPI void GLAPIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
1575 GLAPI void GLAPIENTRY glRasterPos3sv (const GLshort *v);
1576 GLAPI void GLAPIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1577 GLAPI void GLAPIENTRY glRasterPos4dv (const GLdouble *v);
1578 GLAPI void GLAPIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1579 GLAPI void GLAPIENTRY glRasterPos4fv (const GLfloat *v);
1580 GLAPI void GLAPIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
1581 GLAPI void GLAPIENTRY glRasterPos4iv (const GLint *v);
1582 GLAPI void GLAPIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
1583 GLAPI void GLAPIENTRY glRasterPos4sv (const GLshort *v);
1584 GLAPI void GLAPIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1585 GLAPI void GLAPIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
1586 GLAPI void GLAPIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1587 GLAPI void GLAPIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
1588 GLAPI void GLAPIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1589 GLAPI void GLAPIENTRY glRectiv (const GLint *v1, const GLint *v2);
1590 GLAPI void GLAPIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1591 GLAPI void GLAPIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
1592 GLAPI void GLAPIENTRY glTexCoord1d (GLdouble s);
1593 GLAPI void GLAPIENTRY glTexCoord1dv (const GLdouble *v);
1594 GLAPI void GLAPIENTRY glTexCoord1f (GLfloat s);
1595 GLAPI void GLAPIENTRY glTexCoord1fv (const GLfloat *v);
1596 GLAPI void GLAPIENTRY glTexCoord1i (GLint s);
1597 GLAPI void GLAPIENTRY glTexCoord1iv (const GLint *v);
1598 GLAPI void GLAPIENTRY glTexCoord1s (GLshort s);
1599 GLAPI void GLAPIENTRY glTexCoord1sv (const GLshort *v);
1600 GLAPI void GLAPIENTRY glTexCoord2d (GLdouble s, GLdouble t);
1601 GLAPI void GLAPIENTRY glTexCoord2dv (const GLdouble *v);
1602 GLAPI void GLAPIENTRY glTexCoord2f (GLfloat s, GLfloat t);
1603 GLAPI void GLAPIENTRY glTexCoord2fv (const GLfloat *v);
1604 GLAPI void GLAPIENTRY glTexCoord2i (GLint s, GLint t);
1605 GLAPI void GLAPIENTRY glTexCoord2iv (const GLint *v);
1606 GLAPI void GLAPIENTRY glTexCoord2s (GLshort s, GLshort t);
1607 GLAPI void GLAPIENTRY glTexCoord2sv (const GLshort *v);
1608 GLAPI void GLAPIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1609 GLAPI void GLAPIENTRY glTexCoord3dv (const GLdouble *v);
1610 GLAPI void GLAPIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1611 GLAPI void GLAPIENTRY glTexCoord3fv (const GLfloat *v);
1612 GLAPI void GLAPIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
1613 GLAPI void GLAPIENTRY glTexCoord3iv (const GLint *v);
1614 GLAPI void GLAPIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
1615 GLAPI void GLAPIENTRY glTexCoord3sv (const GLshort *v);
1616 GLAPI void GLAPIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1617 GLAPI void GLAPIENTRY glTexCoord4dv (const GLdouble *v);
1618 GLAPI void GLAPIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1619 GLAPI void GLAPIENTRY glTexCoord4fv (const GLfloat *v);
1620 GLAPI void GLAPIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1621 GLAPI void GLAPIENTRY glTexCoord4iv (const GLint *v);
1622 GLAPI void GLAPIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1623 GLAPI void GLAPIENTRY glTexCoord4sv (const GLshort *v);
1624 GLAPI void GLAPIENTRY glVertex2d (GLdouble x, GLdouble y);
1625 GLAPI void GLAPIENTRY glVertex2dv (const GLdouble *v);
1626 GLAPI void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y);
1627 GLAPI void GLAPIENTRY glVertex2fv (const GLfloat *v);
1628 GLAPI void GLAPIENTRY glVertex2i (GLint x, GLint y);
1629 GLAPI void GLAPIENTRY glVertex2iv (const GLint *v);
1630 GLAPI void GLAPIENTRY glVertex2s (GLshort x, GLshort y);
1631 GLAPI void GLAPIENTRY glVertex2sv (const GLshort *v);
1632 GLAPI void GLAPIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1633 GLAPI void GLAPIENTRY glVertex3dv (const GLdouble *v);
1634 GLAPI void GLAPIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1635 GLAPI void GLAPIENTRY glVertex3fv (const GLfloat *v);
1636 GLAPI void GLAPIENTRY glVertex3i (GLint x, GLint y, GLint z);
1637 GLAPI void GLAPIENTRY glVertex3iv (const GLint *v);
1638 GLAPI void GLAPIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
1639 GLAPI void GLAPIENTRY glVertex3sv (const GLshort *v);
1640 GLAPI void GLAPIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1641 GLAPI void GLAPIENTRY glVertex4dv (const GLdouble *v);
1642 GLAPI void GLAPIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1643 GLAPI void GLAPIENTRY glVertex4fv (const GLfloat *v);
1644 GLAPI void GLAPIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
1645 GLAPI void GLAPIENTRY glVertex4iv (const GLint *v);
1646 GLAPI void GLAPIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1647 GLAPI void GLAPIENTRY glVertex4sv (const GLshort *v);
1648 GLAPI void GLAPIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
1649 GLAPI void GLAPIENTRY glColorMaterial (GLenum face, GLenum mode);
1650 GLAPI void GLAPIENTRY glCullFace (GLenum mode);
1651 GLAPI void GLAPIENTRY glFogf (GLenum pname, GLfloat param);
1652 GLAPI void GLAPIENTRY glFogfv (GLenum pname, const GLfloat *params);
1653 GLAPI void GLAPIENTRY glFogi (GLenum pname, GLint param);
1654 GLAPI void GLAPIENTRY glFogiv (GLenum pname, const GLint *params);
1655 GLAPI void GLAPIENTRY glFrontFace (GLenum mode);
1656 GLAPI void GLAPIENTRY glHint (GLenum target, GLenum mode);
1657 GLAPI void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
1658 GLAPI void GLAPIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
1659 GLAPI void GLAPIENTRY glLighti (GLenum light, GLenum pname, GLint param);
1660 GLAPI void GLAPIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
1661 GLAPI void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param);
1662 GLAPI void GLAPIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
1663 GLAPI void GLAPIENTRY glLightModeli (GLenum pname, GLint param);
1664 GLAPI void GLAPIENTRY glLightModeliv (GLenum pname, const GLint *params);
1665 GLAPI void GLAPIENTRY glLineStipple (GLint factor, GLushort pattern);
1666 GLAPI void GLAPIENTRY glLineWidth (GLfloat width);
1667 GLAPI void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
1668 GLAPI void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
1669 GLAPI void GLAPIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
1670 GLAPI void GLAPIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
1671 GLAPI void GLAPIENTRY glPointSize (GLfloat size);
1672 GLAPI void GLAPIENTRY glPolygonMode (GLenum face, GLenum mode);
1673 GLAPI void GLAPIENTRY glPolygonStipple (const GLubyte *mask);
1674 GLAPI void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
1675 GLAPI void GLAPIENTRY glShadeModel (GLenum mode);
1676 GLAPI void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1677 GLAPI void GLAPIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1678 GLAPI void GLAPIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
1679 GLAPI void GLAPIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
1680 GLAPI void GLAPIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1681 GLAPI void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1682 GLAPI void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1683 GLAPI void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
1684 GLAPI void GLAPIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
1685 GLAPI void GLAPIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
1686 GLAPI void GLAPIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
1687 GLAPI void GLAPIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
1688 GLAPI void GLAPIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1689 GLAPI void GLAPIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
1690 GLAPI void GLAPIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
1691 GLAPI void GLAPIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
1692 GLAPI void GLAPIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
1693 GLAPI void GLAPIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
1694 GLAPI GLint GLAPIENTRY glRenderMode (GLenum mode);
1695 GLAPI void GLAPIENTRY glInitNames (void);
1696 GLAPI void GLAPIENTRY glLoadName (GLuint name);
1697 GLAPI void GLAPIENTRY glPassThrough (GLfloat token);
1698 GLAPI void GLAPIENTRY glPopName (void);
1699 GLAPI void GLAPIENTRY glPushName (GLuint name);
1700 GLAPI void GLAPIENTRY glDrawBuffer (GLenum mode);
1701 GLAPI void GLAPIENTRY glClear (GLbitfield mask);
1702 GLAPI void GLAPIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
1703 GLAPI void GLAPIENTRY glClearIndex (GLfloat c);
1704 GLAPI void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1705 GLAPI void GLAPIENTRY glClearStencil (GLint s);
1706 GLAPI void GLAPIENTRY glClearDepth (GLclampd depth);
1707 GLAPI void GLAPIENTRY glStencilMask (GLuint mask);
1708 GLAPI void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
1709 GLAPI void GLAPIENTRY glDepthMask (GLboolean flag);
1710 GLAPI void GLAPIENTRY glIndexMask (GLuint mask);
1711 GLAPI void GLAPIENTRY glAccum (GLenum op, GLfloat value);
1712 GLAPI void GLAPIENTRY glDisable (GLenum cap);
1713 GLAPI void GLAPIENTRY glEnable (GLenum cap);
1714 GLAPI void GLAPIENTRY glFinish (void);
1715 GLAPI void GLAPIENTRY glFlush (void);
1716 GLAPI void GLAPIENTRY glPopAttrib (void);
1717 GLAPI void GLAPIENTRY glPushAttrib (GLbitfield mask);
1718 GLAPI void GLAPIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
1719 GLAPI void GLAPIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
1720 GLAPI void GLAPIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
1721 GLAPI void GLAPIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
1722 GLAPI void GLAPIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
1723 GLAPI void GLAPIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
1724 GLAPI void GLAPIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
1725 GLAPI void GLAPIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
1726 GLAPI void GLAPIENTRY glEvalCoord1d (GLdouble u);
1727 GLAPI void GLAPIENTRY glEvalCoord1dv (const GLdouble *u);
1728 GLAPI void GLAPIENTRY glEvalCoord1f (GLfloat u);
1729 GLAPI void GLAPIENTRY glEvalCoord1fv (const GLfloat *u);
1730 GLAPI void GLAPIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
1731 GLAPI void GLAPIENTRY glEvalCoord2dv (const GLdouble *u);
1732 GLAPI void GLAPIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
1733 GLAPI void GLAPIENTRY glEvalCoord2fv (const GLfloat *u);
1734 GLAPI void GLAPIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
1735 GLAPI void GLAPIENTRY glEvalPoint1 (GLint i);
1736 GLAPI void GLAPIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
1737 GLAPI void GLAPIENTRY glEvalPoint2 (GLint i, GLint j);
1738 GLAPI void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref);
1739 GLAPI void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
1740 GLAPI void GLAPIENTRY glLogicOp (GLenum opcode);
1741 GLAPI void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
1742 GLAPI void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1743 GLAPI void GLAPIENTRY glDepthFunc (GLenum func);
1744 GLAPI void GLAPIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
1745 GLAPI void GLAPIENTRY glPixelTransferf (GLenum pname, GLfloat param);
1746 GLAPI void GLAPIENTRY glPixelTransferi (GLenum pname, GLint param);
1747 GLAPI void GLAPIENTRY glPixelStoref (GLenum pname, GLfloat param);
1748 GLAPI void GLAPIENTRY glPixelStorei (GLenum pname, GLint param);
1749 GLAPI void GLAPIENTRY glPixelMapfv (GLenum map, GLint mapsize, const GLfloat *values);
1750 GLAPI void GLAPIENTRY glPixelMapuiv (GLenum map, GLint mapsize, const GLuint *values);
1751 GLAPI void GLAPIENTRY glPixelMapusv (GLenum map, GLint mapsize, const GLushort *values);
1752 GLAPI void GLAPIENTRY glReadBuffer (GLenum mode);
1753 GLAPI void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
1754 GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
1755 GLAPI void GLAPIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1756 GLAPI void GLAPIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
1757 GLAPI void GLAPIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
1758 GLAPI void GLAPIENTRY glGetDoublev (GLenum pname, GLdouble *params);
1759 GLAPI GLenum GLAPIENTRY glGetError (void);
1760 GLAPI void GLAPIENTRY glGetFloatv (GLenum pname, GLfloat *params);
1761 GLAPI void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params);
1762 GLAPI void GLAPIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
1763 GLAPI void GLAPIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
1764 GLAPI void GLAPIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
1765 GLAPI void GLAPIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
1766 GLAPI void GLAPIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
1767 GLAPI void GLAPIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
1768 GLAPI void GLAPIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
1769 GLAPI void GLAPIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
1770 GLAPI void GLAPIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
1771 GLAPI void GLAPIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
1772 GLAPI void GLAPIENTRY glGetPolygonStipple (GLubyte *mask);
1773 GLAPI const GLubyte * GLAPIENTRY glGetString (GLenum name);
1774 GLAPI void GLAPIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
1775 GLAPI void GLAPIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
1776 GLAPI void GLAPIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
1777 GLAPI void GLAPIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
1778 GLAPI void GLAPIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
1779 GLAPI void GLAPIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
1780 GLAPI void GLAPIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
1781 GLAPI void GLAPIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
1782 GLAPI void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
1783 GLAPI void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
1784 GLAPI GLboolean GLAPIENTRY glIsEnabled (GLenum cap);
1785 GLAPI GLboolean GLAPIENTRY glIsList (GLuint list);
1786 GLAPI void GLAPIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
1787 GLAPI void GLAPIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
1788 GLAPI void GLAPIENTRY glLoadIdentity (void);
1789 GLAPI void GLAPIENTRY glLoadMatrixf (const GLfloat *m);
1790 GLAPI void GLAPIENTRY glLoadMatrixd (const GLdouble *m);
1791 GLAPI void GLAPIENTRY glMatrixMode (GLenum mode);
1792 GLAPI void GLAPIENTRY glMultMatrixf (const GLfloat *m);
1793 GLAPI void GLAPIENTRY glMultMatrixd (const GLdouble *m);
1794 GLAPI void GLAPIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
1795 GLAPI void GLAPIENTRY glPopMatrix (void);
1796 GLAPI void GLAPIENTRY glPushMatrix (void);
1797 GLAPI void GLAPIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1798 GLAPI void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1799 GLAPI void GLAPIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
1800 GLAPI void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
1801 GLAPI void GLAPIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
1802 GLAPI void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1803 GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
1804 GLAPI void GLAPIENTRY glArrayElement (GLint i);
1805 GLAPI void GLAPIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1806 GLAPI void GLAPIENTRY glDisableClientState (GLenum array);
1807 GLAPI void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
1808 GLAPI void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
1809 GLAPI void GLAPIENTRY glEdgeFlagPointer (GLsizei stride, const GLboolean *pointer);
1810 GLAPI void GLAPIENTRY glEnableClientState (GLenum array);
1811 GLAPI void GLAPIENTRY glGetPointerv (GLenum pname, GLvoid* *params);
1812 GLAPI void GLAPIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
1813 GLAPI void GLAPIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
1814 GLAPI void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
1815 GLAPI void GLAPIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1816 GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1817 GLAPI void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
1818 GLAPI void GLAPIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
1819 GLAPI void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
1820 GLAPI void GLAPIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
1821 GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1822 GLAPI void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
1823 GLAPI void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1824 GLAPI GLboolean GLAPIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
1825 GLAPI void GLAPIENTRY glBindTexture (GLenum target, GLuint texture);
1826 GLAPI void GLAPIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
1827 GLAPI void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures);
1828 GLAPI GLboolean GLAPIENTRY glIsTexture (GLuint texture);
1829 GLAPI void GLAPIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
1830 GLAPI void GLAPIENTRY glIndexub (GLubyte c);
1831 GLAPI void GLAPIENTRY glIndexubv (const GLubyte *c);
1832 GLAPI void GLAPIENTRY glPopClientAttrib (void);
1833 GLAPI void GLAPIENTRY glPushClientAttrib (GLbitfield mask);
1834 GLAPI void GLAPIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1835 GLAPI void GLAPIENTRY glBlendEquation (GLenum mode);
1836 GLAPI void GLAPIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
1837 GLAPI void GLAPIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
1838 GLAPI void GLAPIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1839 GLAPI void GLAPIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
1840 GLAPI void GLAPIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
1841 GLAPI void GLAPIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table);
1842 GLAPI void GLAPIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
1843 GLAPI void GLAPIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
1844 GLAPI void GLAPIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
1845 GLAPI void GLAPIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
1846 GLAPI void GLAPIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
1847 GLAPI void GLAPIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
1848 GLAPI void GLAPIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
1849 GLAPI void GLAPIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1850 GLAPI void GLAPIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
1851 GLAPI void GLAPIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
1852 GLAPI void GLAPIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
1853 GLAPI void GLAPIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
1854 GLAPI void GLAPIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image);
1855 GLAPI void GLAPIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
1856 GLAPI void GLAPIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
1857 GLAPI void GLAPIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
1858 GLAPI void GLAPIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
1859 GLAPI void GLAPIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
1860 GLAPI void GLAPIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
1861 GLAPI void GLAPIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
1862 GLAPI void GLAPIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
1863 GLAPI void GLAPIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
1864 GLAPI void GLAPIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
1865 GLAPI void GLAPIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
1866 GLAPI void GLAPIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
1867 GLAPI void GLAPIENTRY glResetHistogram (GLenum target);
1868 GLAPI void GLAPIENTRY glResetMinmax (GLenum target);
1869 GLAPI void GLAPIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1870 GLAPI void GLAPIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
1871 GLAPI void GLAPIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1872 GLAPI void GLAPIENTRY glActiveTexture (GLenum texture);
1873 GLAPI void GLAPIENTRY glClientActiveTexture (GLenum texture);
1874 GLAPI void GLAPIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
1875 GLAPI void GLAPIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
1876 GLAPI void GLAPIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
1877 GLAPI void GLAPIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
1878 GLAPI void GLAPIENTRY glMultiTexCoord1i (GLenum target, GLint s);
1879 GLAPI void GLAPIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
1880 GLAPI void GLAPIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
1881 GLAPI void GLAPIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
1882 GLAPI void GLAPIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
1883 GLAPI void GLAPIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
1884 GLAPI void GLAPIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
1885 GLAPI void GLAPIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
1886 GLAPI void GLAPIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
1887 GLAPI void GLAPIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
1888 GLAPI void GLAPIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
1889 GLAPI void GLAPIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
1890 GLAPI void GLAPIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
1891 GLAPI void GLAPIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
1892 GLAPI void GLAPIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
1893 GLAPI void GLAPIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
1894 GLAPI void GLAPIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
1895 GLAPI void GLAPIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
1896 GLAPI void GLAPIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
1897 GLAPI void GLAPIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
1898 GLAPI void GLAPIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1899 GLAPI void GLAPIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
1900 GLAPI void GLAPIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1901 GLAPI void GLAPIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
1902 GLAPI void GLAPIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
1903 GLAPI void GLAPIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
1904 GLAPI void GLAPIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1905 GLAPI void GLAPIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
1906 GLAPI void GLAPIENTRY glLoadTransposeMatrixf (const GLfloat *m);
1907 GLAPI void GLAPIENTRY glLoadTransposeMatrixd (const GLdouble *m);
1908 GLAPI void GLAPIENTRY glMultTransposeMatrixf (const GLfloat *m);
1909 GLAPI void GLAPIENTRY glMultTransposeMatrixd (const GLdouble *m);
1910 GLAPI void GLAPIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
1911 GLAPI void GLAPIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
1912 GLAPI void GLAPIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
1913 GLAPI void GLAPIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
1914 GLAPI void GLAPIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
1915 GLAPI void GLAPIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
1916 GLAPI void GLAPIENTRY glGetCompressedTexImage (GLenum target, GLint lod, GLvoid *img);
1917 GLAPI void GLAPIENTRY glSampleCoverage (GLclampf value, GLboolean invert);
1918 GLAPI void GLAPIENTRY glPointParameterf (GLenum pname, GLfloat param);
1919 GLAPI void GLAPIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
1920 GLAPI void GLAPIENTRY glPointParameteri (GLenum pname, GLint param);
1921 GLAPI void GLAPIENTRY glPointParameteriv (GLenum pname, const GLint *params);
1922 GLAPI void GLAPIENTRY glWindowPos2d (GLdouble x, GLdouble y);
1923 GLAPI void GLAPIENTRY glWindowPos2f (GLfloat x, GLfloat y);
1924 GLAPI void GLAPIENTRY glWindowPos2i (GLint x, GLint y);
1925 GLAPI void GLAPIENTRY glWindowPos2s (GLshort x, GLshort y);
1926 GLAPI void GLAPIENTRY glWindowPos2dv (const GLdouble *p);
1927 GLAPI void GLAPIENTRY glWindowPos2fv (const GLfloat *p);
1928 GLAPI void GLAPIENTRY glWindowPos2iv (const GLint *p);
1929 GLAPI void GLAPIENTRY glWindowPos2sv (const GLshort *p);
1930 GLAPI void GLAPIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
1931 GLAPI void GLAPIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
1932 GLAPI void GLAPIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
1933 GLAPI void GLAPIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
1934 GLAPI void GLAPIENTRY glWindowPos3dv (const GLdouble *p);
1935 GLAPI void GLAPIENTRY glWindowPos3fv (const GLfloat *p);
1936 GLAPI void GLAPIENTRY glWindowPos3iv (const GLint *p);
1937 GLAPI void GLAPIENTRY glWindowPos3sv (const GLshort *p);
1938 GLAPI void GLAPIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
1939 GLAPI void GLAPIENTRY glFogCoordd (GLdouble fog);
1940 GLAPI void GLAPIENTRY glFogCoorddv (const GLdouble *fog);
1941 GLAPI void GLAPIENTRY glFogCoordf (GLfloat fog);
1942 GLAPI void GLAPIENTRY glFogCoordfv (const GLfloat *fog);
1943 GLAPI void GLAPIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
1944 GLAPI void GLAPIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1945 GLAPI void GLAPIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
1946 GLAPI void GLAPIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
1947 GLAPI void GLAPIENTRY glSecondaryColor3bv (const GLbyte *v);
1948 GLAPI void GLAPIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
1949 GLAPI void GLAPIENTRY glSecondaryColor3dv (const GLdouble *v);
1950 GLAPI void GLAPIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
1951 GLAPI void GLAPIENTRY glSecondaryColor3fv (const GLfloat *v);
1952 GLAPI void GLAPIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
1953 GLAPI void GLAPIENTRY glSecondaryColor3iv (const GLint *v);
1954 GLAPI void GLAPIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
1955 GLAPI void GLAPIENTRY glSecondaryColor3sv (const GLshort *v);
1956 GLAPI void GLAPIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
1957 GLAPI void GLAPIENTRY glSecondaryColor3ubv (const GLubyte *v);
1958 GLAPI void GLAPIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
1959 GLAPI void GLAPIENTRY glSecondaryColor3uiv (const GLuint *v);
1960 GLAPI void GLAPIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
1961 GLAPI void GLAPIENTRY glSecondaryColor3usv (const GLushort *v);
1962 GLAPI void GLAPIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1963 GLAPI void GLAPIENTRY glBindBuffer (GLenum target, GLuint buffer);
1964 GLAPI void GLAPIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
1965 GLAPI void GLAPIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
1966 GLAPI void GLAPIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
1967 GLAPI void GLAPIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
1968 GLAPI void GLAPIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
1969 GLAPI void GLAPIENTRY glGetBufferPointerv (GLenum target, GLenum pname, GLvoid* *params);
1970 GLAPI void GLAPIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
1971 GLAPI GLboolean GLAPIENTRY glIsBuffer (GLuint buffer);
1972 GLAPI GLvoid* GLAPIENTRY glMapBuffer (GLenum target, GLenum access);
1973 GLAPI GLboolean GLAPIENTRY glUnmapBuffer (GLenum target);
1974 GLAPI void GLAPIENTRY glGenQueries (GLsizei n, GLuint *ids);
1975 GLAPI void GLAPIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
1976 GLAPI GLboolean GLAPIENTRY glIsQuery (GLuint id);
1977 GLAPI void GLAPIENTRY glBeginQuery (GLenum target, GLuint id);
1978 GLAPI void GLAPIENTRY glEndQuery (GLenum target);
1979 GLAPI void GLAPIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
1980 GLAPI void GLAPIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
1981 GLAPI void GLAPIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
1982 GLAPI void GLAPIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
1983 GLAPI void GLAPIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
1984 GLAPI void GLAPIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
1985 GLAPI void GLAPIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
1986 GLAPI void GLAPIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
1987 GLAPI void GLAPIENTRY glVertexAttrib1s (GLuint index, GLshort x);
1988 GLAPI void GLAPIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
1989 GLAPI void GLAPIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
1990 GLAPI void GLAPIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
1991 GLAPI void GLAPIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
1992 GLAPI void GLAPIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
1993 GLAPI void GLAPIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
1994 GLAPI void GLAPIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
1995 GLAPI void GLAPIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1996 GLAPI void GLAPIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
1997 GLAPI void GLAPIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
1998 GLAPI void GLAPIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
1999 GLAPI void GLAPIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
2000 GLAPI void GLAPIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
2001 GLAPI void GLAPIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
2002 GLAPI void GLAPIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
2003 GLAPI void GLAPIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
2004 GLAPI void GLAPIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
2005 GLAPI void GLAPIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
2006 GLAPI void GLAPIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
2007 GLAPI void GLAPIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
2008 GLAPI void GLAPIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
2009 GLAPI void GLAPIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2010 GLAPI void GLAPIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
2011 GLAPI void GLAPIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
2012 GLAPI void GLAPIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
2013 GLAPI void GLAPIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
2014 GLAPI void GLAPIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
2015 GLAPI void GLAPIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
2016 GLAPI void GLAPIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
2017 GLAPI void GLAPIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
2018 GLAPI void GLAPIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
2019 GLAPI void GLAPIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
2020 GLAPI void GLAPIENTRY glEnableVertexAttribArray (GLuint index);
2021 GLAPI void GLAPIENTRY glDisableVertexAttribArray (GLuint index);
2022 GLAPI void GLAPIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
2023 GLAPI void GLAPIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
2024 GLAPI void GLAPIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
2025 GLAPI void GLAPIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid* *pointer);
2026 GLAPI void GLAPIENTRY glDeleteShader (GLuint shader);
2027 GLAPI void GLAPIENTRY glDetachShader (GLuint program, GLuint shader);
2028 GLAPI GLuint GLAPIENTRY glCreateShader (GLenum type);
2029 GLAPI void GLAPIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
2030 GLAPI void GLAPIENTRY glCompileShader (GLuint shader);
2031 GLAPI GLuint GLAPIENTRY glCreateProgram (void);
2032 GLAPI void GLAPIENTRY glAttachShader (GLuint program, GLuint shader);
2033 GLAPI void GLAPIENTRY glLinkProgram (GLuint program);
2034 GLAPI void GLAPIENTRY glUseProgram (GLuint program);
2035 GLAPI void GLAPIENTRY glDeleteProgram (GLuint program);
2036 GLAPI void GLAPIENTRY glValidateProgram (GLuint program);
2037 GLAPI void GLAPIENTRY glUniform1f (GLint location, GLfloat v0);
2038 GLAPI void GLAPIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
2039 GLAPI void GLAPIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
2040 GLAPI void GLAPIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
2041 GLAPI void GLAPIENTRY glUniform1i (GLint location, GLint v0);
2042 GLAPI void GLAPIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
2043 GLAPI void GLAPIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
2044 GLAPI void GLAPIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
2045 GLAPI void GLAPIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
2046 GLAPI void GLAPIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
2047 GLAPI void GLAPIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
2048 GLAPI void GLAPIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
2049 GLAPI void GLAPIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
2050 GLAPI void GLAPIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
2051 GLAPI void GLAPIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
2052 GLAPI void GLAPIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
2053 GLAPI void GLAPIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2054 GLAPI void GLAPIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2055 GLAPI void GLAPIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2056 GLAPI GLboolean GLAPIENTRY glIsShader (GLuint shader);
2057 GLAPI GLboolean GLAPIENTRY glIsProgram (GLuint program);
2058 GLAPI void GLAPIENTRY glGetShaderiv (GLuint program, GLenum pname, GLint *params);
2059 GLAPI void GLAPIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
2060 GLAPI void GLAPIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
2061 GLAPI void GLAPIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
2062 GLAPI void GLAPIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
2063 GLAPI GLint GLAPIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
2064 GLAPI void GLAPIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
2065 GLAPI void GLAPIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
2066 GLAPI void GLAPIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
2067 GLAPI void GLAPIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
2068 GLAPI void GLAPIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
2069 GLAPI void GLAPIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
2070 GLAPI GLint GLAPIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
2071 GLAPI void GLAPIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
2072 GLAPI void GLAPIENTRY glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
2073 GLAPI void GLAPIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
2074 GLAPI void GLAPIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
2075 GLAPI void GLAPIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2076 GLAPI void GLAPIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2077 GLAPI void GLAPIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2078 GLAPI void GLAPIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2079 GLAPI void GLAPIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2080 GLAPI void GLAPIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2081
2082
2083 #ifdef __cplusplus
2084 }
2085 #endif
2086
2087 #endif /* __gl_h_ */