import NVIDIA-FreeBSD-x86-190.42
[nvidia.git] / doc / gl.h
CommitLineData
8b1b599b
SS
1#ifndef __gl_h_
2#define __gl_h_
3
4#ifdef __cplusplus
5extern "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
cfb7e7a6
SS
34#ifndef APIENTRY
35#define APIENTRY
8b1b599b
SS
36#endif
37
cfb7e7a6
SS
38#ifndef WIN32
39#define WINGDIAPI
8b1b599b
SS
40#endif
41
cfb7e7a6
SS
42#ifndef GLAPI
43# ifdef _WIN32
44# define GLAPI __stdcall
45# else
46# define GLAPI
47# endif
48# define __DEFINED_GLAPI
8b1b599b
SS
49#endif
50
51/*************************************************************/
52
53typedef unsigned int GLenum;
54typedef unsigned char GLboolean;
55typedef unsigned int GLbitfield;
56typedef signed char GLbyte;
57typedef short GLshort;
58typedef int GLint;
59typedef int GLsizei;
60typedef unsigned char GLubyte;
61typedef unsigned short GLushort;
62typedef unsigned int GLuint;
63typedef float GLfloat;
64typedef float GLclampf;
65typedef double GLdouble;
66typedef double GLclampd;
67typedef void GLvoid;
68
8b1b599b
SS
69
70/*************************************************************/
71
72/* Version */
73#define GL_VERSION_1_1 1
8b1b599b
SS
74
75/* AttribMask */
cfb7e7a6
SS
76#define GL_CURRENT_BIT 0x00000001
77#define GL_POINT_BIT 0x00000002
78#define GL_LINE_BIT 0x00000004
79#define GL_POLYGON_BIT 0x00000008
80#define GL_POLYGON_STIPPLE_BIT 0x00000010
81#define GL_PIXEL_MODE_BIT 0x00000020
82#define GL_LIGHTING_BIT 0x00000040
83#define GL_FOG_BIT 0x00000080
84#define GL_DEPTH_BUFFER_BIT 0x00000100
85#define GL_ACCUM_BUFFER_BIT 0x00000200
86#define GL_STENCIL_BUFFER_BIT 0x00000400
87#define GL_VIEWPORT_BIT 0x00000800
88#define GL_TRANSFORM_BIT 0x00001000
89#define GL_ENABLE_BIT 0x00002000
90#define GL_COLOR_BUFFER_BIT 0x00004000
91#define GL_HINT_BIT 0x00008000
92#define GL_EVAL_BIT 0x00010000
93#define GL_LIST_BIT 0x00020000
94#define GL_TEXTURE_BIT 0x00040000
95#define GL_SCISSOR_BIT 0x00080000
96#define GL_ALL_ATTRIB_BITS 0xFFFFFFFF
8b1b599b
SS
97
98/* ClearBufferMask */
99/* GL_COLOR_BUFFER_BIT */
100/* GL_ACCUM_BUFFER_BIT */
101/* GL_STENCIL_BUFFER_BIT */
102/* GL_DEPTH_BUFFER_BIT */
103
104/* ClientAttribMask */
cfb7e7a6
SS
105#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
106#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
107#define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF
8b1b599b
SS
108
109/* Boolean */
cfb7e7a6
SS
110#define GL_FALSE 0
111#define GL_TRUE 1
8b1b599b
SS
112
113/* BeginMode */
cfb7e7a6
SS
114#define GL_POINTS 0x0000
115#define GL_LINES 0x0001
116#define GL_LINE_LOOP 0x0002
117#define GL_LINE_STRIP 0x0003
118#define GL_TRIANGLES 0x0004
119#define GL_TRIANGLE_STRIP 0x0005
120#define GL_TRIANGLE_FAN 0x0006
121#define GL_QUADS 0x0007
122#define GL_QUAD_STRIP 0x0008
123#define GL_POLYGON 0x0009
8b1b599b
SS
124
125/* AccumOp */
cfb7e7a6
SS
126#define GL_ACCUM 0x0100
127#define GL_LOAD 0x0101
128#define GL_RETURN 0x0102
129#define GL_MULT 0x0103
130#define GL_ADD 0x0104
8b1b599b
SS
131
132/* AlphaFunction */
cfb7e7a6
SS
133#define GL_NEVER 0x0200
134#define GL_LESS 0x0201
135#define GL_EQUAL 0x0202
136#define GL_LEQUAL 0x0203
137#define GL_GREATER 0x0204
138#define GL_NOTEQUAL 0x0205
139#define GL_GEQUAL 0x0206
140#define GL_ALWAYS 0x0207
8b1b599b
SS
141
142/* BlendingFactorDest */
cfb7e7a6
SS
143#define GL_ZERO 0
144#define GL_ONE 1
145#define GL_SRC_COLOR 0x0300
146#define GL_ONE_MINUS_SRC_COLOR 0x0301
147#define GL_SRC_ALPHA 0x0302
148#define GL_ONE_MINUS_SRC_ALPHA 0x0303
149#define GL_DST_ALPHA 0x0304
150#define GL_ONE_MINUS_DST_ALPHA 0x0305
8b1b599b
SS
151
152/* BlendingFactorSrc */
153/* GL_ZERO */
154/* GL_ONE */
cfb7e7a6
SS
155#define GL_DST_COLOR 0x0306
156#define GL_ONE_MINUS_DST_COLOR 0x0307
157#define GL_SRC_ALPHA_SATURATE 0x0308
8b1b599b
SS
158/* GL_SRC_ALPHA */
159/* GL_ONE_MINUS_SRC_ALPHA */
160/* GL_DST_ALPHA */
161/* GL_ONE_MINUS_DST_ALPHA */
162
163/* ColorMaterialFace */
164/* GL_FRONT */
165/* GL_BACK */
166/* GL_FRONT_AND_BACK */
167
168/* ColorMaterialParameter */
169/* GL_AMBIENT */
170/* GL_DIFFUSE */
171/* GL_SPECULAR */
172/* GL_EMISSION */
173/* GL_AMBIENT_AND_DIFFUSE */
174
175/* ColorPointerType */
176/* GL_BYTE */
177/* GL_UNSIGNED_BYTE */
178/* GL_SHORT */
179/* GL_UNSIGNED_SHORT */
180/* GL_INT */
181/* GL_UNSIGNED_INT */
182/* GL_FLOAT */
183/* GL_DOUBLE */
184
185/* CullFaceMode */
186/* GL_FRONT */
187/* GL_BACK */
188/* GL_FRONT_AND_BACK */
189
190/* DepthFunction */
191/* GL_NEVER */
192/* GL_LESS */
193/* GL_EQUAL */
194/* GL_LEQUAL */
195/* GL_GREATER */
196/* GL_NOTEQUAL */
197/* GL_GEQUAL */
198/* GL_ALWAYS */
199
200/* DrawBufferMode */
cfb7e7a6
SS
201#define GL_NONE 0
202#define GL_FRONT_LEFT 0x0400
203#define GL_FRONT_RIGHT 0x0401
204#define GL_BACK_LEFT 0x0402
205#define GL_BACK_RIGHT 0x0403
206#define GL_FRONT 0x0404
207#define GL_BACK 0x0405
208#define GL_LEFT 0x0406
209#define GL_RIGHT 0x0407
210#define GL_FRONT_AND_BACK 0x0408
211#define GL_AUX0 0x0409
212#define GL_AUX1 0x040A
213#define GL_AUX2 0x040B
214#define GL_AUX3 0x040C
8b1b599b
SS
215
216/* EnableCap */
217/* GL_FOG */
218/* GL_LIGHTING */
219/* GL_TEXTURE_1D */
220/* GL_TEXTURE_2D */
221/* GL_LINE_STIPPLE */
222/* GL_POLYGON_STIPPLE */
223/* GL_CULL_FACE */
224/* GL_ALPHA_TEST */
225/* GL_BLEND */
226/* GL_INDEX_LOGIC_OP */
227/* GL_COLOR_LOGIC_OP */
228/* GL_DITHER */
229/* GL_STENCIL_TEST */
230/* GL_DEPTH_TEST */
231/* GL_CLIP_PLANE0 */
232/* GL_CLIP_PLANE1 */
233/* GL_CLIP_PLANE2 */
234/* GL_CLIP_PLANE3 */
235/* GL_CLIP_PLANE4 */
236/* GL_CLIP_PLANE5 */
237/* GL_LIGHT0 */
238/* GL_LIGHT1 */
239/* GL_LIGHT2 */
240/* GL_LIGHT3 */
241/* GL_LIGHT4 */
242/* GL_LIGHT5 */
243/* GL_LIGHT6 */
244/* GL_LIGHT7 */
245/* GL_TEXTURE_GEN_S */
246/* GL_TEXTURE_GEN_T */
247/* GL_TEXTURE_GEN_R */
248/* GL_TEXTURE_GEN_Q */
249/* GL_MAP1_VERTEX_3 */
250/* GL_MAP1_VERTEX_4 */
251/* GL_MAP1_COLOR_4 */
252/* GL_MAP1_INDEX */
253/* GL_MAP1_NORMAL */
254/* GL_MAP1_TEXTURE_COORD_1 */
255/* GL_MAP1_TEXTURE_COORD_2 */
256/* GL_MAP1_TEXTURE_COORD_3 */
257/* GL_MAP1_TEXTURE_COORD_4 */
258/* GL_MAP2_VERTEX_3 */
259/* GL_MAP2_VERTEX_4 */
260/* GL_MAP2_COLOR_4 */
261/* GL_MAP2_INDEX */
262/* GL_MAP2_NORMAL */
263/* GL_MAP2_TEXTURE_COORD_1 */
264/* GL_MAP2_TEXTURE_COORD_2 */
265/* GL_MAP2_TEXTURE_COORD_3 */
266/* GL_MAP2_TEXTURE_COORD_4 */
267/* GL_POINT_SMOOTH */
268/* GL_LINE_SMOOTH */
269/* GL_POLYGON_SMOOTH */
270/* GL_SCISSOR_TEST */
271/* GL_COLOR_MATERIAL */
272/* GL_NORMALIZE */
273/* GL_AUTO_NORMAL */
274/* GL_POLYGON_OFFSET_POINT */
275/* GL_POLYGON_OFFSET_LINE */
276/* GL_POLYGON_OFFSET_FILL */
277/* GL_VERTEX_ARRAY */
278/* GL_NORMAL_ARRAY */
279/* GL_COLOR_ARRAY */
280/* GL_INDEX_ARRAY */
281/* GL_TEXTURE_COORD_ARRAY */
282/* GL_EDGE_FLAG_ARRAY */
283
284/* ErrorCode */
cfb7e7a6
SS
285#define GL_NO_ERROR 0
286#define GL_INVALID_ENUM 0x0500
287#define GL_INVALID_VALUE 0x0501
288#define GL_INVALID_OPERATION 0x0502
289#define GL_STACK_OVERFLOW 0x0503
290#define GL_STACK_UNDERFLOW 0x0504
291#define GL_OUT_OF_MEMORY 0x0505
292#define GL_TABLE_TOO_LARGE 0x8031
8b1b599b
SS
293
294/* FeedbackType */
cfb7e7a6
SS
295#define GL_2D 0x0600
296#define GL_3D 0x0601
297#define GL_3D_COLOR 0x0602
298#define GL_3D_COLOR_TEXTURE 0x0603
299#define GL_4D_COLOR_TEXTURE 0x0604
8b1b599b
SS
300
301/* FeedBackToken */
cfb7e7a6
SS
302#define GL_PASS_THROUGH_TOKEN 0x0700
303#define GL_POINT_TOKEN 0x0701
304#define GL_LINE_TOKEN 0x0702
305#define GL_POLYGON_TOKEN 0x0703
306#define GL_BITMAP_TOKEN 0x0704
307#define GL_DRAW_PIXEL_TOKEN 0x0705
308#define GL_COPY_PIXEL_TOKEN 0x0706
309#define GL_LINE_RESET_TOKEN 0x0707
8b1b599b
SS
310
311/* FogMode */
312/* GL_LINEAR */
cfb7e7a6
SS
313#define GL_EXP 0x0800
314#define GL_EXP2 0x0801
8b1b599b
SS
315
316/* FogParameter */
317/* GL_FOG_COLOR */
318/* GL_FOG_DENSITY */
319/* GL_FOG_END */
320/* GL_FOG_INDEX */
321/* GL_FOG_MODE */
322/* GL_FOG_START */
323
324/* FrontFaceDirection */
cfb7e7a6
SS
325#define GL_CW 0x0900
326#define GL_CCW 0x0901
8b1b599b
SS
327
328/* GetMapQuery */
cfb7e7a6
SS
329#define GL_COEFF 0x0A00
330#define GL_ORDER 0x0A01
331#define GL_DOMAIN 0x0A02
8b1b599b
SS
332
333/* GetPixelMap */
cfb7e7a6
SS
334#define GL_PIXEL_MAP_I_TO_I 0x0C70
335#define GL_PIXEL_MAP_S_TO_S 0x0C71
336#define GL_PIXEL_MAP_I_TO_R 0x0C72
337#define GL_PIXEL_MAP_I_TO_G 0x0C73
338#define GL_PIXEL_MAP_I_TO_B 0x0C74
339#define GL_PIXEL_MAP_I_TO_A 0x0C75
340#define GL_PIXEL_MAP_R_TO_R 0x0C76
341#define GL_PIXEL_MAP_G_TO_G 0x0C77
342#define GL_PIXEL_MAP_B_TO_B 0x0C78
343#define GL_PIXEL_MAP_A_TO_A 0x0C79
8b1b599b
SS
344
345/* GetPointervPName */
cfb7e7a6
SS
346#define GL_VERTEX_ARRAY_POINTER 0x808E
347#define GL_NORMAL_ARRAY_POINTER 0x808F
348#define GL_COLOR_ARRAY_POINTER 0x8090
349#define GL_INDEX_ARRAY_POINTER 0x8091
350#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
351#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
8b1b599b
SS
352
353/* GetPName */
cfb7e7a6
SS
354#define GL_CURRENT_COLOR 0x0B00
355#define GL_CURRENT_INDEX 0x0B01
356#define GL_CURRENT_NORMAL 0x0B02
357#define GL_CURRENT_TEXTURE_COORDS 0x0B03
358#define GL_CURRENT_RASTER_COLOR 0x0B04
359#define GL_CURRENT_RASTER_INDEX 0x0B05
360#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
361#define GL_CURRENT_RASTER_POSITION 0x0B07
362#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
363#define GL_CURRENT_RASTER_DISTANCE 0x0B09
364#define GL_POINT_SMOOTH 0x0B10
365#define GL_POINT_SIZE 0x0B11
366#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
367#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
368#define GL_POINT_SIZE_RANGE GL_SMOOTH_POINT_SIZE_RANGE
369#define GL_POINT_SIZE_GRANULARITY GL_SMOOTH_POINT_SIZE_GRANULARITY
370#define GL_LINE_SMOOTH 0x0B20
371#define GL_LINE_WIDTH 0x0B21
372#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
373#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
374#define GL_LINE_WIDTH_RANGE GL_SMOOTH_LINE_WIDTH_RANGE
375#define GL_LINE_WIDTH_GRANULARITY GL_SMOOTH_LINE_WIDTH_GRANULARITY
376#define GL_LINE_STIPPLE 0x0B24
377#define GL_LINE_STIPPLE_PATTERN 0x0B25
378#define GL_LINE_STIPPLE_REPEAT 0x0B26
379#define GL_LIST_MODE 0x0B30
380#define GL_MAX_LIST_NESTING 0x0B31
381#define GL_LIST_BASE 0x0B32
382#define GL_LIST_INDEX 0x0B33
383#define GL_POLYGON_MODE 0x0B40
384#define GL_POLYGON_SMOOTH 0x0B41
385#define GL_POLYGON_STIPPLE 0x0B42
386#define GL_EDGE_FLAG 0x0B43
387#define GL_CULL_FACE 0x0B44
388#define GL_CULL_FACE_MODE 0x0B45
389#define GL_FRONT_FACE 0x0B46
390#define GL_LIGHTING 0x0B50
391#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
392#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
393#define GL_LIGHT_MODEL_AMBIENT 0x0B53
394#define GL_SHADE_MODEL 0x0B54
395#define GL_COLOR_MATERIAL_FACE 0x0B55
396#define GL_COLOR_MATERIAL_PARAMETER 0x0B56
397#define GL_COLOR_MATERIAL 0x0B57
398#define GL_FOG 0x0B60
399#define GL_FOG_INDEX 0x0B61
400#define GL_FOG_DENSITY 0x0B62
401#define GL_FOG_START 0x0B63
402#define GL_FOG_END 0x0B64
403#define GL_FOG_MODE 0x0B65
404#define GL_FOG_COLOR 0x0B66
405#define GL_DEPTH_RANGE 0x0B70
406#define GL_DEPTH_TEST 0x0B71
407#define GL_DEPTH_WRITEMASK 0x0B72
408#define GL_DEPTH_CLEAR_VALUE 0x0B73
409#define GL_DEPTH_FUNC 0x0B74
410#define GL_ACCUM_CLEAR_VALUE 0x0B80
411#define GL_STENCIL_TEST 0x0B90
412#define GL_STENCIL_CLEAR_VALUE 0x0B91
413#define GL_STENCIL_FUNC 0x0B92
414#define GL_STENCIL_VALUE_MASK 0x0B93
415#define GL_STENCIL_FAIL 0x0B94
416#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
417#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
418#define GL_STENCIL_REF 0x0B97
419#define GL_STENCIL_WRITEMASK 0x0B98
420#define GL_MATRIX_MODE 0x0BA0
421#define GL_NORMALIZE 0x0BA1
422#define GL_VIEWPORT 0x0BA2
423#define GL_MODELVIEW_STACK_DEPTH 0x0BA3
424#define GL_PROJECTION_STACK_DEPTH 0x0BA4
425#define GL_TEXTURE_STACK_DEPTH 0x0BA5
426#define GL_MODELVIEW_MATRIX 0x0BA6
427#define GL_PROJECTION_MATRIX 0x0BA7
428#define GL_TEXTURE_MATRIX 0x0BA8
429#define GL_ATTRIB_STACK_DEPTH 0x0BB0
430#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
431#define GL_ALPHA_TEST 0x0BC0
432#define GL_ALPHA_TEST_FUNC 0x0BC1
433#define GL_ALPHA_TEST_REF 0x0BC2
434#define GL_DITHER 0x0BD0
435#define GL_BLEND_DST 0x0BE0
436#define GL_BLEND_SRC 0x0BE1
437#define GL_BLEND 0x0BE2
438#define GL_LOGIC_OP_MODE 0x0BF0
439#define GL_INDEX_LOGIC_OP 0x0BF1
440#define GL_LOGIC_OP GL_INDEX_LOGIC_OP
441#define GL_COLOR_LOGIC_OP 0x0BF2
442#define GL_AUX_BUFFERS 0x0C00
443#define GL_DRAW_BUFFER 0x0C01
444#define GL_READ_BUFFER 0x0C02
445#define GL_SCISSOR_BOX 0x0C10
446#define GL_SCISSOR_TEST 0x0C11
447#define GL_INDEX_CLEAR_VALUE 0x0C20
448#define GL_INDEX_WRITEMASK 0x0C21
449#define GL_COLOR_CLEAR_VALUE 0x0C22
450#define GL_COLOR_WRITEMASK 0x0C23
451#define GL_INDEX_MODE 0x0C30
452#define GL_RGBA_MODE 0x0C31
453#define GL_DOUBLEBUFFER 0x0C32
454#define GL_STEREO 0x0C33
455#define GL_RENDER_MODE 0x0C40
456#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
457#define GL_POINT_SMOOTH_HINT 0x0C51
458#define GL_LINE_SMOOTH_HINT 0x0C52
459#define GL_POLYGON_SMOOTH_HINT 0x0C53
460#define GL_FOG_HINT 0x0C54
461#define GL_TEXTURE_GEN_S 0x0C60
462#define GL_TEXTURE_GEN_T 0x0C61
463#define GL_TEXTURE_GEN_R 0x0C62
464#define GL_TEXTURE_GEN_Q 0x0C63
465#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
466#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
467#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
468#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
469#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
470#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
471#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
472#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
473#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
474#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
475#define GL_UNPACK_SWAP_BYTES 0x0CF0
476#define GL_UNPACK_LSB_FIRST 0x0CF1
477#define GL_UNPACK_ROW_LENGTH 0x0CF2
478#define GL_UNPACK_SKIP_ROWS 0x0CF3
479#define GL_UNPACK_SKIP_PIXELS 0x0CF4
480#define GL_UNPACK_ALIGNMENT 0x0CF5
481#define GL_PACK_SWAP_BYTES 0x0D00
482#define GL_PACK_LSB_FIRST 0x0D01
483#define GL_PACK_ROW_LENGTH 0x0D02
484#define GL_PACK_SKIP_ROWS 0x0D03
485#define GL_PACK_SKIP_PIXELS 0x0D04
486#define GL_PACK_ALIGNMENT 0x0D05
487#define GL_MAP_COLOR 0x0D10
488#define GL_MAP_STENCIL 0x0D11
489#define GL_INDEX_SHIFT 0x0D12
490#define GL_INDEX_OFFSET 0x0D13
491#define GL_RED_SCALE 0x0D14
492#define GL_RED_BIAS 0x0D15
493#define GL_ZOOM_X 0x0D16
494#define GL_ZOOM_Y 0x0D17
495#define GL_GREEN_SCALE 0x0D18
496#define GL_GREEN_BIAS 0x0D19
497#define GL_BLUE_SCALE 0x0D1A
498#define GL_BLUE_BIAS 0x0D1B
499#define GL_ALPHA_SCALE 0x0D1C
500#define GL_ALPHA_BIAS 0x0D1D
501#define GL_DEPTH_SCALE 0x0D1E
502#define GL_DEPTH_BIAS 0x0D1F
503#define GL_MAX_EVAL_ORDER 0x0D30
504#define GL_MAX_LIGHTS 0x0D31
505#define GL_MAX_CLIP_PLANES 0x0D32
506#define GL_MAX_TEXTURE_SIZE 0x0D33
507#define GL_MAX_PIXEL_MAP_TABLE 0x0D34
508#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
509#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
510#define GL_MAX_NAME_STACK_DEPTH 0x0D37
511#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
512#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
513#define GL_MAX_VIEWPORT_DIMS 0x0D3A
514#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
515#define GL_SUBPIXEL_BITS 0x0D50
516#define GL_INDEX_BITS 0x0D51
517#define GL_RED_BITS 0x0D52
518#define GL_GREEN_BITS 0x0D53
519#define GL_BLUE_BITS 0x0D54
520#define GL_ALPHA_BITS 0x0D55
521#define GL_DEPTH_BITS 0x0D56
522#define GL_STENCIL_BITS 0x0D57
523#define GL_ACCUM_RED_BITS 0x0D58
524#define GL_ACCUM_GREEN_BITS 0x0D59
525#define GL_ACCUM_BLUE_BITS 0x0D5A
526#define GL_ACCUM_ALPHA_BITS 0x0D5B
527#define GL_NAME_STACK_DEPTH 0x0D70
528#define GL_AUTO_NORMAL 0x0D80
529#define GL_MAP1_COLOR_4 0x0D90
530#define GL_MAP1_INDEX 0x0D91
531#define GL_MAP1_NORMAL 0x0D92
532#define GL_MAP1_TEXTURE_COORD_1 0x0D93
533#define GL_MAP1_TEXTURE_COORD_2 0x0D94
534#define GL_MAP1_TEXTURE_COORD_3 0x0D95
535#define GL_MAP1_TEXTURE_COORD_4 0x0D96
536#define GL_MAP1_VERTEX_3 0x0D97
537#define GL_MAP1_VERTEX_4 0x0D98
538#define GL_MAP2_COLOR_4 0x0DB0
539#define GL_MAP2_INDEX 0x0DB1
540#define GL_MAP2_NORMAL 0x0DB2
541#define GL_MAP2_TEXTURE_COORD_1 0x0DB3
542#define GL_MAP2_TEXTURE_COORD_2 0x0DB4
543#define GL_MAP2_TEXTURE_COORD_3 0x0DB5
544#define GL_MAP2_TEXTURE_COORD_4 0x0DB6
545#define GL_MAP2_VERTEX_3 0x0DB7
546#define GL_MAP2_VERTEX_4 0x0DB8
547#define GL_MAP1_GRID_DOMAIN 0x0DD0
548#define GL_MAP1_GRID_SEGMENTS 0x0DD1
549#define GL_MAP2_GRID_DOMAIN 0x0DD2
550#define GL_MAP2_GRID_SEGMENTS 0x0DD3
551#define GL_TEXTURE_1D 0x0DE0
552#define GL_TEXTURE_2D 0x0DE1
553#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
554#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
555#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
556#define GL_SELECTION_BUFFER_POINTER 0x0DF3
557#define GL_SELECTION_BUFFER_SIZE 0x0DF4
558#define GL_POLYGON_OFFSET_UNITS 0x2A00
559#define GL_POLYGON_OFFSET_POINT 0x2A01
560#define GL_POLYGON_OFFSET_LINE 0x2A02
561#define GL_POLYGON_OFFSET_FILL 0x8037
562#define GL_POLYGON_OFFSET_FACTOR 0x8038
563#define GL_TEXTURE_BINDING_1D 0x8068
564#define GL_TEXTURE_BINDING_2D 0x8069
565#define GL_TEXTURE_BINDING_3D 0x806A
566#define GL_VERTEX_ARRAY 0x8074
567#define GL_NORMAL_ARRAY 0x8075
568#define GL_COLOR_ARRAY 0x8076
569#define GL_INDEX_ARRAY 0x8077
570#define GL_TEXTURE_COORD_ARRAY 0x8078
571#define GL_EDGE_FLAG_ARRAY 0x8079
572#define GL_VERTEX_ARRAY_SIZE 0x807A
573#define GL_VERTEX_ARRAY_TYPE 0x807B
574#define GL_VERTEX_ARRAY_STRIDE 0x807C
575#define GL_NORMAL_ARRAY_TYPE 0x807E
576#define GL_NORMAL_ARRAY_STRIDE 0x807F
577#define GL_COLOR_ARRAY_SIZE 0x8081
578#define GL_COLOR_ARRAY_TYPE 0x8082
579#define GL_COLOR_ARRAY_STRIDE 0x8083
580#define GL_INDEX_ARRAY_TYPE 0x8085
581#define GL_INDEX_ARRAY_STRIDE 0x8086
582#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
583#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
584#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
585#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
8b1b599b
SS
586/* GL_VERTEX_ARRAY_COUNT_EXT */
587/* GL_NORMAL_ARRAY_COUNT_EXT */
588/* GL_COLOR_ARRAY_COUNT_EXT */
589/* GL_INDEX_ARRAY_COUNT_EXT */
590/* GL_TEXTURE_COORD_ARRAY_COUNT_EXT */
591/* GL_EDGE_FLAG_ARRAY_COUNT_EXT */
592
593/* GetTextureParameter */
594/* GL_TEXTURE_MAG_FILTER */
595/* GL_TEXTURE_MIN_FILTER */
596/* GL_TEXTURE_WRAP_S */
597/* GL_TEXTURE_WRAP_T */
cfb7e7a6
SS
598#define GL_TEXTURE_WIDTH 0x1000
599#define GL_TEXTURE_HEIGHT 0x1001
600#define GL_TEXTURE_INTERNAL_FORMAT 0x1003
601#define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT
602#define GL_TEXTURE_BORDER_COLOR 0x1004
603#define GL_TEXTURE_BORDER 0x1005
604#define GL_TEXTURE_RED_SIZE 0x805C
605#define GL_TEXTURE_GREEN_SIZE 0x805D
606#define GL_TEXTURE_BLUE_SIZE 0x805E
607#define GL_TEXTURE_ALPHA_SIZE 0x805F
608#define GL_TEXTURE_LUMINANCE_SIZE 0x8060
609#define GL_TEXTURE_INTENSITY_SIZE 0x8061
610#define GL_TEXTURE_PRIORITY 0x8066
611#define GL_TEXTURE_RESIDENT 0x8067
8b1b599b
SS
612
613/* HintMode */
cfb7e7a6
SS
614#define GL_DONT_CARE 0x1100
615#define GL_FASTEST 0x1101
616#define GL_NICEST 0x1102
8b1b599b
SS
617
618/* HintTarget */
619/* GL_PERSPECTIVE_CORRECTION_HINT */
620/* GL_POINT_SMOOTH_HINT */
621/* GL_LINE_SMOOTH_HINT */
622/* GL_POLYGON_SMOOTH_HINT */
623/* GL_FOG_HINT */
624
625/* IndexMaterialParameterSGI */
626/* GL_INDEX_OFFSET */
627
628/* IndexPointerType */
629/* GL_SHORT */
630/* GL_INT */
631/* GL_FLOAT */
632/* GL_DOUBLE */
633
634/* IndexFunctionSGI */
635/* GL_NEVER */
636/* GL_LESS */
637/* GL_EQUAL */
638/* GL_LEQUAL */
639/* GL_GREATER */
640/* GL_NOTEQUAL */
641/* GL_GEQUAL */
642/* GL_ALWAYS */
643
644/* LightModelParameter */
645/* GL_LIGHT_MODEL_AMBIENT */
646/* GL_LIGHT_MODEL_LOCAL_VIEWER */
647/* GL_LIGHT_MODEL_TWO_SIDE */
648
649/* LightParameter */
cfb7e7a6
SS
650#define GL_AMBIENT 0x1200
651#define GL_DIFFUSE 0x1201
652#define GL_SPECULAR 0x1202
653#define GL_POSITION 0x1203
654#define GL_SPOT_DIRECTION 0x1204
655#define GL_SPOT_EXPONENT 0x1205
656#define GL_SPOT_CUTOFF 0x1206
657#define GL_CONSTANT_ATTENUATION 0x1207
658#define GL_LINEAR_ATTENUATION 0x1208
659#define GL_QUADRATIC_ATTENUATION 0x1209
8b1b599b
SS
660
661/* ListMode */
cfb7e7a6
SS
662#define GL_COMPILE 0x1300
663#define GL_COMPILE_AND_EXECUTE 0x1301
8b1b599b
SS
664
665/* DataType */
cfb7e7a6
SS
666#define GL_BYTE 0x1400
667#define GL_UNSIGNED_BYTE 0x1401
668#define GL_SHORT 0x1402
669#define GL_UNSIGNED_SHORT 0x1403
670#define GL_INT 0x1404
671#define GL_UNSIGNED_INT 0x1405
672#define GL_FLOAT 0x1406
673#define GL_2_BYTES 0x1407
674#define GL_3_BYTES 0x1408
675#define GL_4_BYTES 0x1409
676#define GL_DOUBLE 0x140A
677#define GL_DOUBLE_EXT 0x140A
8b1b599b
SS
678
679/* ListNameType */
680/* GL_BYTE */
681/* GL_UNSIGNED_BYTE */
682/* GL_SHORT */
683/* GL_UNSIGNED_SHORT */
684/* GL_INT */
685/* GL_UNSIGNED_INT */
686/* GL_FLOAT */
687/* GL_2_BYTES */
688/* GL_3_BYTES */
689/* GL_4_BYTES */
690
691/* LogicOp */
cfb7e7a6
SS
692#define GL_CLEAR 0x1500
693#define GL_AND 0x1501
694#define GL_AND_REVERSE 0x1502
695#define GL_COPY 0x1503
696#define GL_AND_INVERTED 0x1504
697#define GL_NOOP 0x1505
698#define GL_XOR 0x1506
699#define GL_OR 0x1507
700#define GL_NOR 0x1508
701#define GL_EQUIV 0x1509
702#define GL_INVERT 0x150A
703#define GL_OR_REVERSE 0x150B
704#define GL_COPY_INVERTED 0x150C
705#define GL_OR_INVERTED 0x150D
706#define GL_NAND 0x150E
707#define GL_SET 0x150F
8b1b599b
SS
708
709/* MapTarget */
710/* GL_MAP1_COLOR_4 */
711/* GL_MAP1_INDEX */
712/* GL_MAP1_NORMAL */
713/* GL_MAP1_TEXTURE_COORD_1 */
714/* GL_MAP1_TEXTURE_COORD_2 */
715/* GL_MAP1_TEXTURE_COORD_3 */
716/* GL_MAP1_TEXTURE_COORD_4 */
717/* GL_MAP1_VERTEX_3 */
718/* GL_MAP1_VERTEX_4 */
719/* GL_MAP2_COLOR_4 */
720/* GL_MAP2_INDEX */
721/* GL_MAP2_NORMAL */
722/* GL_MAP2_TEXTURE_COORD_1 */
723/* GL_MAP2_TEXTURE_COORD_2 */
724/* GL_MAP2_TEXTURE_COORD_3 */
725/* GL_MAP2_TEXTURE_COORD_4 */
726/* GL_MAP2_VERTEX_3 */
727/* GL_MAP2_VERTEX_4 */
728
729/* MaterialFace */
730/* GL_FRONT */
731/* GL_BACK */
732/* GL_FRONT_AND_BACK */
733
734/* MaterialParameter */
cfb7e7a6
SS
735#define GL_EMISSION 0x1600
736#define GL_SHININESS 0x1601
737#define GL_AMBIENT_AND_DIFFUSE 0x1602
738#define GL_COLOR_INDEXES 0x1603
8b1b599b
SS
739/* GL_AMBIENT */
740/* GL_DIFFUSE */
741/* GL_SPECULAR */
742
743/* MatrixMode */
cfb7e7a6
SS
744#define GL_MODELVIEW 0x1700
745#define GL_PROJECTION 0x1701
746#define GL_TEXTURE 0x1702
8b1b599b
SS
747
748/* MeshMode1 */
749/* GL_POINT */
750/* GL_LINE */
751
752/* MeshMode2 */
753/* GL_POINT */
754/* GL_LINE */
755/* GL_FILL */
756
757/* NormalPointerType */
758/* GL_BYTE */
759/* GL_SHORT */
760/* GL_INT */
761/* GL_FLOAT */
762/* GL_DOUBLE */
763
764/* PixelCopyType */
cfb7e7a6
SS
765#define GL_COLOR 0x1800
766#define GL_DEPTH 0x1801
767#define GL_STENCIL 0x1802
8b1b599b
SS
768
769/* PixelFormat */
cfb7e7a6
SS
770#define GL_COLOR_INDEX 0x1900
771#define GL_STENCIL_INDEX 0x1901
772#define GL_DEPTH_COMPONENT 0x1902
773#define GL_RED 0x1903
774#define GL_GREEN 0x1904
775#define GL_BLUE 0x1905
776#define GL_ALPHA 0x1906
777#define GL_RGB 0x1907
778#define GL_RGBA 0x1908
779#define GL_LUMINANCE 0x1909
780#define GL_LUMINANCE_ALPHA 0x190A
8b1b599b
SS
781/* GL_ABGR_EXT */
782
783/* PixelMap */
784/* GL_PIXEL_MAP_I_TO_I */
785/* GL_PIXEL_MAP_S_TO_S */
786/* GL_PIXEL_MAP_I_TO_R */
787/* GL_PIXEL_MAP_I_TO_G */
788/* GL_PIXEL_MAP_I_TO_B */
789/* GL_PIXEL_MAP_I_TO_A */
790/* GL_PIXEL_MAP_R_TO_R */
791/* GL_PIXEL_MAP_G_TO_G */
792/* GL_PIXEL_MAP_B_TO_B */
793/* GL_PIXEL_MAP_A_TO_A */
794
795/* PixelStoreParameter */
796/* GL_UNPACK_SWAP_BYTES */
797/* GL_UNPACK_LSB_FIRST */
798/* GL_UNPACK_ROW_LENGTH */
799/* GL_UNPACK_SKIP_ROWS */
800/* GL_UNPACK_SKIP_PIXELS */
801/* GL_UNPACK_ALIGNMENT */
802/* GL_PACK_SWAP_BYTES */
803/* GL_PACK_LSB_FIRST */
804/* GL_PACK_ROW_LENGTH */
805/* GL_PACK_SKIP_ROWS */
806/* GL_PACK_SKIP_PIXELS */
807/* GL_PACK_ALIGNMENT */
808
809/* PixelTransferParameter */
810/* GL_MAP_COLOR */
811/* GL_MAP_STENCIL */
812/* GL_INDEX_SHIFT */
813/* GL_INDEX_OFFSET */
814/* GL_RED_SCALE */
815/* GL_RED_BIAS */
816/* GL_GREEN_SCALE */
817/* GL_GREEN_BIAS */
818/* GL_BLUE_SCALE */
819/* GL_BLUE_BIAS */
820/* GL_ALPHA_SCALE */
821/* GL_ALPHA_BIAS */
822/* GL_DEPTH_SCALE */
823/* GL_DEPTH_BIAS */
824
825/* PixelType */
cfb7e7a6 826#define GL_BITMAP 0x1A00
8b1b599b
SS
827/* GL_BYTE */
828/* GL_UNSIGNED_BYTE */
829/* GL_SHORT */
830/* GL_UNSIGNED_SHORT */
831/* GL_INT */
832/* GL_UNSIGNED_INT */
833/* GL_FLOAT */
834/* GL_UNSIGNED_BYTE_3_3_2_EXT */
835/* GL_UNSIGNED_SHORT_4_4_4_4_EXT */
836/* GL_UNSIGNED_SHORT_5_5_5_1_EXT */
837/* GL_UNSIGNED_INT_8_8_8_8_EXT */
838/* GL_UNSIGNED_INT_10_10_10_2_EXT */
839
840/* PolygonMode */
cfb7e7a6
SS
841#define GL_POINT 0x1B00
842#define GL_LINE 0x1B01
843#define GL_FILL 0x1B02
8b1b599b
SS
844
845/* ReadBufferMode */
846/* GL_FRONT_LEFT */
847/* GL_FRONT_RIGHT */
848/* GL_BACK_LEFT */
849/* GL_BACK_RIGHT */
850/* GL_FRONT */
851/* GL_BACK */
852/* GL_LEFT */
853/* GL_RIGHT */
854/* GL_AUX0 */
855/* GL_AUX1 */
856/* GL_AUX2 */
857/* GL_AUX3 */
8b1b599b
SS
858
859/* RenderingMode */
cfb7e7a6
SS
860#define GL_RENDER 0x1C00
861#define GL_FEEDBACK 0x1C01
862#define GL_SELECT 0x1C02
8b1b599b
SS
863
864/* ShadingModel */
cfb7e7a6
SS
865#define GL_FLAT 0x1D00
866#define GL_SMOOTH 0x1D01
8b1b599b
SS
867
868/* StencilFunction */
869/* GL_NEVER */
870/* GL_LESS */
871/* GL_EQUAL */
872/* GL_LEQUAL */
873/* GL_GREATER */
874/* GL_NOTEQUAL */
875/* GL_GEQUAL */
876/* GL_ALWAYS */
877
878/* StencilOp */
879/* GL_ZERO */
cfb7e7a6
SS
880#define GL_KEEP 0x1E00
881#define GL_REPLACE 0x1E01
882#define GL_INCR 0x1E02
883#define GL_DECR 0x1E03
8b1b599b
SS
884/* GL_INVERT */
885
886/* StringName */
cfb7e7a6
SS
887#define GL_VENDOR 0x1F00
888#define GL_RENDERER 0x1F01
889#define GL_VERSION 0x1F02
890#define GL_EXTENSIONS 0x1F03
8b1b599b
SS
891
892/* TexCoordPointerType */
893/* GL_SHORT */
894/* GL_INT */
895/* GL_FLOAT */
896/* GL_DOUBLE */
897
898/* TextureCoordName */
cfb7e7a6
SS
899#define GL_S 0x2000
900#define GL_T 0x2001
901#define GL_R 0x2002
902#define GL_Q 0x2003
8b1b599b
SS
903
904/* TextureEnvMode */
cfb7e7a6
SS
905#define GL_MODULATE 0x2100
906#define GL_DECAL 0x2101
8b1b599b
SS
907/* GL_BLEND */
908/* GL_REPLACE */
909/* GL_ADD */
910
911/* TextureEnvParameter */
cfb7e7a6
SS
912#define GL_TEXTURE_ENV_MODE 0x2200
913#define GL_TEXTURE_ENV_COLOR 0x2201
8b1b599b
SS
914
915/* TextureEnvTarget */
cfb7e7a6 916#define GL_TEXTURE_ENV 0x2300
8b1b599b
SS
917
918/* TextureGenMode */
cfb7e7a6
SS
919#define GL_EYE_LINEAR 0x2400
920#define GL_OBJECT_LINEAR 0x2401
921#define GL_SPHERE_MAP 0x2402
8b1b599b
SS
922
923/* TextureGenParameter */
cfb7e7a6
SS
924#define GL_TEXTURE_GEN_MODE 0x2500
925#define GL_OBJECT_PLANE 0x2501
926#define GL_EYE_PLANE 0x2502
8b1b599b
SS
927
928/* TextureMagFilter */
cfb7e7a6
SS
929#define GL_NEAREST 0x2600
930#define GL_LINEAR 0x2601
8b1b599b
SS
931
932/* TextureMinFilter */
933/* GL_NEAREST */
934/* GL_LINEAR */
cfb7e7a6
SS
935#define GL_NEAREST_MIPMAP_NEAREST 0x2700
936#define GL_LINEAR_MIPMAP_NEAREST 0x2701
937#define GL_NEAREST_MIPMAP_LINEAR 0x2702
938#define GL_LINEAR_MIPMAP_LINEAR 0x2703
8b1b599b
SS
939
940/* TextureParameterName */
cfb7e7a6
SS
941#define GL_TEXTURE_MAG_FILTER 0x2800
942#define GL_TEXTURE_MIN_FILTER 0x2801
943#define GL_TEXTURE_WRAP_S 0x2802
944#define GL_TEXTURE_WRAP_T 0x2803
8b1b599b
SS
945/* GL_TEXTURE_BORDER_COLOR */
946/* GL_TEXTURE_PRIORITY */
947
948/* TextureTarget */
949/* GL_TEXTURE_1D */
950/* GL_TEXTURE_2D */
cfb7e7a6
SS
951#define GL_PROXY_TEXTURE_1D 0x8063
952#define GL_PROXY_TEXTURE_2D 0x8064
8b1b599b
SS
953
954/* TextureWrapMode */
cfb7e7a6
SS
955#define GL_CLAMP 0x2900
956#define GL_REPEAT 0x2901
8b1b599b
SS
957
958/* PixelInternalFormat */
cfb7e7a6
SS
959#define GL_R3_G3_B2 0x2A10
960#define GL_ALPHA4 0x803B
961#define GL_ALPHA8 0x803C
962#define GL_ALPHA12 0x803D
963#define GL_ALPHA16 0x803E
964#define GL_LUMINANCE4 0x803F
965#define GL_LUMINANCE8 0x8040
966#define GL_LUMINANCE12 0x8041
967#define GL_LUMINANCE16 0x8042
968#define GL_LUMINANCE4_ALPHA4 0x8043
969#define GL_LUMINANCE6_ALPHA2 0x8044
970#define GL_LUMINANCE8_ALPHA8 0x8045
971#define GL_LUMINANCE12_ALPHA4 0x8046
972#define GL_LUMINANCE12_ALPHA12 0x8047
973#define GL_LUMINANCE16_ALPHA16 0x8048
974#define GL_INTENSITY 0x8049
975#define GL_INTENSITY4 0x804A
976#define GL_INTENSITY8 0x804B
977#define GL_INTENSITY12 0x804C
978#define GL_INTENSITY16 0x804D
979#define GL_RGB4 0x804F
980#define GL_RGB5 0x8050
981#define GL_RGB8 0x8051
982#define GL_RGB10 0x8052
983#define GL_RGB12 0x8053
984#define GL_RGB16 0x8054
985#define GL_RGBA2 0x8055
986#define GL_RGBA4 0x8056
987#define GL_RGB5_A1 0x8057
988#define GL_RGBA8 0x8058
989#define GL_RGB10_A2 0x8059
990#define GL_RGBA12 0x805A
991#define GL_RGBA16 0x805B
8b1b599b
SS
992
993/* InterleavedArrayFormat */
cfb7e7a6
SS
994#define GL_V2F 0x2A20
995#define GL_V3F 0x2A21
996#define GL_C4UB_V2F 0x2A22
997#define GL_C4UB_V3F 0x2A23
998#define GL_C3F_V3F 0x2A24
999#define GL_N3F_V3F 0x2A25
1000#define GL_C4F_N3F_V3F 0x2A26
1001#define GL_T2F_V3F 0x2A27
1002#define GL_T4F_V4F 0x2A28
1003#define GL_T2F_C4UB_V3F 0x2A29
1004#define GL_T2F_C3F_V3F 0x2A2A
1005#define GL_T2F_N3F_V3F 0x2A2B
1006#define GL_T2F_C4F_N3F_V3F 0x2A2C
1007#define GL_T4F_C4F_N3F_V4F 0x2A2D
8b1b599b
SS
1008
1009/* VertexPointerType */
1010/* GL_SHORT */
1011/* GL_INT */
1012/* GL_FLOAT */
1013/* GL_DOUBLE */
1014
1015/* ClipPlaneName */
cfb7e7a6
SS
1016#define GL_CLIP_PLANE0 0x3000
1017#define GL_CLIP_PLANE1 0x3001
1018#define GL_CLIP_PLANE2 0x3002
1019#define GL_CLIP_PLANE3 0x3003
1020#define GL_CLIP_PLANE4 0x3004
1021#define GL_CLIP_PLANE5 0x3005
8b1b599b
SS
1022
1023/* LightName */
cfb7e7a6
SS
1024#define GL_LIGHT0 0x4000
1025#define GL_LIGHT1 0x4001
1026#define GL_LIGHT2 0x4002
1027#define GL_LIGHT3 0x4003
1028#define GL_LIGHT4 0x4004
1029#define GL_LIGHT5 0x4005
1030#define GL_LIGHT6 0x4006
1031#define GL_LIGHT7 0x4007
8b1b599b
SS
1032
1033/* EXT_abgr */
cfb7e7a6 1034#define GL_ABGR_EXT 0x8000
8b1b599b
SS
1035
1036/* EXT_blend_subtract */
cfb7e7a6
SS
1037#define GL_FUNC_SUBTRACT_EXT 0x800A
1038#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
8b1b599b
SS
1039
1040/* EXT_packed_pixels */
cfb7e7a6
SS
1041#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
1042#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
1043#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
1044#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
1045#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
8b1b599b
SS
1046
1047/* OpenGL12 */
cfb7e7a6
SS
1048#define GL_PACK_SKIP_IMAGES 0x806B
1049#define GL_PACK_IMAGE_HEIGHT 0x806C
1050#define GL_UNPACK_SKIP_IMAGES 0x806D
1051#define GL_UNPACK_IMAGE_HEIGHT 0x806E
1052#define GL_TEXTURE_3D 0x806F
1053#define GL_PROXY_TEXTURE_3D 0x8070
1054#define GL_TEXTURE_DEPTH 0x8071
1055#define GL_TEXTURE_WRAP_R 0x8072
1056#define GL_MAX_3D_TEXTURE_SIZE 0x8073
1057#define GL_BGR 0x80E0
1058#define GL_BGRA 0x80E1
1059#define GL_UNSIGNED_BYTE_3_3_2 0x8032
1060#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
1061#define GL_UNSIGNED_SHORT_5_6_5 0x8363
1062#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
1063#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
1064#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
1065#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
1066#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
1067#define GL_UNSIGNED_INT_8_8_8_8 0x8035
1068#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
1069#define GL_UNSIGNED_INT_10_10_10_2 0x8036
1070#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
1071#define GL_RESCALE_NORMAL 0x803A
1072#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
1073#define GL_SINGLE_COLOR 0x81F9
1074#define GL_SEPARATE_SPECULAR_COLOR 0x81FA
1075#define GL_CLAMP_TO_EDGE 0x812F
1076#define GL_TEXTURE_MIN_LOD 0x813A
1077#define GL_TEXTURE_MAX_LOD 0x813B
1078#define GL_TEXTURE_BASE_LEVEL 0x813C
1079#define GL_TEXTURE_MAX_LEVEL 0x813D
1080#define GL_MAX_ELEMENTS_VERTICES 0x80E8
1081#define GL_MAX_ELEMENTS_INDICES 0x80E9
1082#define GL_ALIASED_POINT_SIZE_RANGE 0x846D
1083#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
8b1b599b
SS
1084
1085/* OpenGL13 */
cfb7e7a6
SS
1086#define GL_ACTIVE_TEXTURE 0x84E0
1087#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
1088#define GL_MAX_TEXTURE_UNITS 0x84E2
1089#define GL_TEXTURE0 0x84C0
1090#define GL_TEXTURE1 0x84C1
1091#define GL_TEXTURE2 0x84C2
1092#define GL_TEXTURE3 0x84C3
1093#define GL_TEXTURE4 0x84C4
1094#define GL_TEXTURE5 0x84C5
1095#define GL_TEXTURE6 0x84C6
1096#define GL_TEXTURE7 0x84C7
1097#define GL_TEXTURE8 0x84C8
1098#define GL_TEXTURE9 0x84C9
1099#define GL_TEXTURE10 0x84CA
1100#define GL_TEXTURE11 0x84CB
1101#define GL_TEXTURE12 0x84CC
1102#define GL_TEXTURE13 0x84CD
1103#define GL_TEXTURE14 0x84CE
1104#define GL_TEXTURE15 0x84CF
1105#define GL_TEXTURE16 0x84D0
1106#define GL_TEXTURE17 0x84D1
1107#define GL_TEXTURE18 0x84D2
1108#define GL_TEXTURE19 0x84D3
1109#define GL_TEXTURE20 0x84D4
1110#define GL_TEXTURE21 0x84D5
1111#define GL_TEXTURE22 0x84D6
1112#define GL_TEXTURE23 0x84D7
1113#define GL_TEXTURE24 0x84D8
1114#define GL_TEXTURE25 0x84D9
1115#define GL_TEXTURE26 0x84DA
1116#define GL_TEXTURE27 0x84DB
1117#define GL_TEXTURE28 0x84DC
1118#define GL_TEXTURE29 0x84DD
1119#define GL_TEXTURE30 0x84DE
1120#define GL_TEXTURE31 0x84DF
1121#define GL_NORMAL_MAP 0x8511
1122#define GL_REFLECTION_MAP 0x8512
1123#define GL_TEXTURE_CUBE_MAP 0x8513
1124#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
1125#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
1126#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
1127#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
1128#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
1129#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
1130#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
1131#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
1132#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
1133#define GL_COMBINE 0x8570
1134#define GL_COMBINE_RGB 0x8571
1135#define GL_COMBINE_ALPHA 0x8572
1136#define GL_RGB_SCALE 0x8573
1137#define GL_ADD_SIGNED 0x8574
1138#define GL_INTERPOLATE 0x8575
1139#define GL_CONSTANT 0x8576
1140#define GL_PRIMARY_COLOR 0x8577
1141#define GL_PREVIOUS 0x8578
1142#define GL_SOURCE0_RGB 0x8580
1143#define GL_SOURCE1_RGB 0x8581
1144#define GL_SOURCE2_RGB 0x8582
1145#define GL_SOURCE0_ALPHA 0x8588
1146#define GL_SOURCE1_ALPHA 0x8589
1147#define GL_SOURCE2_ALPHA 0x858A
1148#define GL_OPERAND0_RGB 0x8590
1149#define GL_OPERAND1_RGB 0x8591
1150#define GL_OPERAND2_RGB 0x8592
1151#define GL_OPERAND0_ALPHA 0x8598
1152#define GL_OPERAND1_ALPHA 0x8599
1153#define GL_OPERAND2_ALPHA 0x859A
1154#define GL_SUBTRACT 0x84E7
1155#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
1156#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
1157#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
1158#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
1159#define GL_COMPRESSED_ALPHA 0x84E9
1160#define GL_COMPRESSED_LUMINANCE 0x84EA
1161#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
1162#define GL_COMPRESSED_INTENSITY 0x84EC
1163#define GL_COMPRESSED_RGB 0x84ED
1164#define GL_COMPRESSED_RGBA 0x84EE
1165#define GL_TEXTURE_COMPRESSION_HINT 0x84EF
1166#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
1167#define GL_TEXTURE_COMPRESSED 0x86A1
1168#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
1169#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
1170#define GL_DOT3_RGB 0x86AE
1171#define GL_DOT3_RGBA 0x86AF
1172#define GL_CLAMP_TO_BORDER 0x812D
1173#define GL_MULTISAMPLE 0x809D
1174#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
1175#define GL_SAMPLE_ALPHA_TO_ONE 0x809F
1176#define GL_SAMPLE_COVERAGE 0x80A0
1177#define GL_SAMPLE_BUFFERS 0x80A8
1178#define GL_SAMPLES 0x80A9
1179#define GL_SAMPLE_COVERAGE_VALUE 0x80AA
1180#define GL_SAMPLE_COVERAGE_INVERT 0x80AB
1181#define GL_MULTISAMPLE_BIT 0x20000000
5b34fd86 1182
8b1b599b 1183/* EXT_vertex_array */
cfb7e7a6
SS
1184#define GL_VERTEX_ARRAY_EXT 0x8074
1185#define GL_NORMAL_ARRAY_EXT 0x8075
1186#define GL_COLOR_ARRAY_EXT 0x8076
1187#define GL_INDEX_ARRAY_EXT 0x8077
1188#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
1189#define GL_EDGE_FLAG_ARRAY_EXT 0x8079
1190#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
1191#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
1192#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
1193#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
1194#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
1195#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
1196#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
1197#define GL_COLOR_ARRAY_SIZE_EXT 0x8081
1198#define GL_COLOR_ARRAY_TYPE_EXT 0x8082
1199#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
1200#define GL_COLOR_ARRAY_COUNT_EXT 0x8084
1201#define GL_INDEX_ARRAY_TYPE_EXT 0x8085
1202#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
1203#define GL_INDEX_ARRAY_COUNT_EXT 0x8087
1204#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
1205#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
1206#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
1207#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
1208#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
1209#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
1210#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
1211#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
1212#define GL_COLOR_ARRAY_POINTER_EXT 0x8090
1213#define GL_INDEX_ARRAY_POINTER_EXT 0x8091
1214#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
1215#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
8b1b599b
SS
1216
1217/* SGIS_texture_lod */
cfb7e7a6
SS
1218#define GL_TEXTURE_MIN_LOD_SGIS 0x813A
1219#define GL_TEXTURE_MAX_LOD_SGIS 0x813B
1220#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
1221#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
1222
1223/* EXT_shared_texture_palette */
1224#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
8b1b599b
SS
1225
1226/* EXT_rescale_normal */
cfb7e7a6 1227#define GL_RESCALE_NORMAL_EXT 0x803A
8b1b599b
SS
1228
1229/* SGIX_shadow */
cfb7e7a6
SS
1230#define GL_TEXTURE_COMPARE_SGIX 0x819A
1231#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
1232#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
1233#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
8b1b599b
SS
1234
1235/* SGIX_depth_texture */
cfb7e7a6
SS
1236#define GL_DEPTH_COMPONENT16_SGIX 0x81A5
1237#define GL_DEPTH_COMPONENT24_SGIX 0x81A6
1238#define GL_DEPTH_COMPONENT32_SGIX 0x81A7
8b1b599b
SS
1239
1240/* SGIS_generate_mipmap */
cfb7e7a6
SS
1241#define GL_GENERATE_MIPMAP_SGIS 0x8191
1242#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
8b1b599b
SS
1243
1244/* OpenGL14 */
cfb7e7a6
SS
1245#define GL_POINT_SIZE_MIN 0x8126
1246#define GL_POINT_SIZE_MAX 0x8127
1247#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
1248#define GL_POINT_DISTANCE_ATTENUATION 0x8129
1249#define GL_FOG_COORDINATE_SOURCE 0x8450
1250#define GL_FOG_COORDINATE 0x8451
1251#define GL_FRAGMENT_DEPTH 0x8452
1252#define GL_CURRENT_FOG_COORDINATE 0x8453
1253#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
1254#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
1255#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
1256#define GL_FOG_COORDINATE_ARRAY 0x8457
1257#define GL_COLOR_SUM 0x8458
1258#define GL_CURRENT_SECONDARY_COLOR 0x8459
1259#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
1260#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
1261#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
1262#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
1263#define GL_SECONDARY_COLOR_ARRAY 0x845E
1264#define GL_INCR_WRAP 0x8507
1265#define GL_DECR_WRAP 0x8508
1266#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
1267#define GL_TEXTURE_FILTER_CONTROL 0x8500
1268#define GL_TEXTURE_LOD_BIAS 0x8501
1269#define GL_GENERATE_MIPMAP 0x8191
1270#define GL_GENERATE_MIPMAP_HINT 0x8192
1271#define GL_BLEND_DST_RGB 0x80C8
1272#define GL_BLEND_SRC_RGB 0x80C9
1273#define GL_BLEND_DST_ALPHA 0x80CA
1274#define GL_BLEND_SRC_ALPHA 0x80CB
1275#define GL_MIRRORED_REPEAT 0x8370
1276#define GL_DEPTH_COMPONENT16 0x81A5
1277#define GL_DEPTH_COMPONENT24 0x81A6
1278#define GL_DEPTH_COMPONENT32 0x81A7
1279#define GL_TEXTURE_DEPTH_SIZE 0x884A
1280#define GL_DEPTH_TEXTURE_MODE 0x884B
1281#define GL_TEXTURE_COMPARE_MODE 0x884C
1282#define GL_TEXTURE_COMPARE_FUNC 0x884D
1283#define GL_COMPARE_R_TO_TEXTURE 0x884E
8b1b599b
SS
1284
1285/*************************************************************/
1286
cfb7e7a6
SS
1287WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);
1288WINGDIAPI void APIENTRY glAlphaFunc (GLenum func, GLclampf ref);
1289WINGDIAPI GLboolean APIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
1290WINGDIAPI void APIENTRY glArrayElement (GLint i);
1291WINGDIAPI void APIENTRY glBegin (GLenum mode);
1292WINGDIAPI void APIENTRY glBindTexture (GLenum target, GLuint texture);
1293WINGDIAPI void APIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
1294WINGDIAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
1295WINGDIAPI void APIENTRY glCallList (GLuint list);
1296WINGDIAPI void APIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
1297WINGDIAPI void APIENTRY glClear (GLbitfield mask);
1298WINGDIAPI void APIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
1299WINGDIAPI void APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1300WINGDIAPI void APIENTRY glClearDepth (GLclampd depth);
1301WINGDIAPI void APIENTRY glClearIndex (GLfloat c);
1302WINGDIAPI void APIENTRY glClearStencil (GLint s);
1303WINGDIAPI void APIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
1304WINGDIAPI void APIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
1305WINGDIAPI void APIENTRY glColor3bv (const GLbyte *v);
1306WINGDIAPI void APIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
1307WINGDIAPI void APIENTRY glColor3dv (const GLdouble *v);
1308WINGDIAPI void APIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
1309WINGDIAPI void APIENTRY glColor3fv (const GLfloat *v);
1310WINGDIAPI void APIENTRY glColor3i (GLint red, GLint green, GLint blue);
1311WINGDIAPI void APIENTRY glColor3iv (const GLint *v);
1312WINGDIAPI void APIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
1313WINGDIAPI void APIENTRY glColor3sv (const GLshort *v);
1314WINGDIAPI void APIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
1315WINGDIAPI void APIENTRY glColor3ubv (const GLubyte *v);
1316WINGDIAPI void APIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
1317WINGDIAPI void APIENTRY glColor3uiv (const GLuint *v);
1318WINGDIAPI void APIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
1319WINGDIAPI void APIENTRY glColor3usv (const GLushort *v);
1320WINGDIAPI void APIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
1321WINGDIAPI void APIENTRY glColor4bv (const GLbyte *v);
1322WINGDIAPI void APIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
1323WINGDIAPI void APIENTRY glColor4dv (const GLdouble *v);
1324WINGDIAPI void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
1325WINGDIAPI void APIENTRY glColor4fv (const GLfloat *v);
1326WINGDIAPI void APIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
1327WINGDIAPI void APIENTRY glColor4iv (const GLint *v);
1328WINGDIAPI void APIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
1329WINGDIAPI void APIENTRY glColor4sv (const GLshort *v);
1330WINGDIAPI void APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
1331WINGDIAPI void APIENTRY glColor4ubv (const GLubyte *v);
1332WINGDIAPI void APIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
1333WINGDIAPI void APIENTRY glColor4uiv (const GLuint *v);
1334WINGDIAPI void APIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
1335WINGDIAPI void APIENTRY glColor4usv (const GLushort *v);
1336WINGDIAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
1337WINGDIAPI void APIENTRY glColorMaterial (GLenum face, GLenum mode);
1338WINGDIAPI void APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1339WINGDIAPI void APIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
1340WINGDIAPI void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
1341WINGDIAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
1342WINGDIAPI void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
1343WINGDIAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1344WINGDIAPI void APIENTRY glCullFace (GLenum mode);
1345WINGDIAPI void APIENTRY glDeleteLists (GLuint list, GLsizei range);
1346WINGDIAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
1347WINGDIAPI void APIENTRY glDepthFunc (GLenum func);
1348WINGDIAPI void APIENTRY glDepthMask (GLboolean flag);
1349WINGDIAPI void APIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
1350WINGDIAPI void APIENTRY glDisable (GLenum cap);
1351WINGDIAPI void APIENTRY glDisableClientState (GLenum array);
1352WINGDIAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
1353WINGDIAPI void APIENTRY glDrawBuffer (GLenum mode);
1354WINGDIAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
1355WINGDIAPI void APIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1356WINGDIAPI void APIENTRY glEdgeFlag (GLboolean flag);
1357WINGDIAPI void APIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer);
1358WINGDIAPI void APIENTRY glEdgeFlagv (const GLboolean *flag);
1359WINGDIAPI void APIENTRY glEnable (GLenum cap);
1360WINGDIAPI void APIENTRY glEnableClientState (GLenum array);
1361WINGDIAPI void APIENTRY glEnd (void);
1362WINGDIAPI void APIENTRY glEndList (void);
1363WINGDIAPI void APIENTRY glEvalCoord1d (GLdouble u);
1364WINGDIAPI void APIENTRY glEvalCoord1dv (const GLdouble *u);
1365WINGDIAPI void APIENTRY glEvalCoord1f (GLfloat u);
1366WINGDIAPI void APIENTRY glEvalCoord1fv (const GLfloat *u);
1367WINGDIAPI void APIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
1368WINGDIAPI void APIENTRY glEvalCoord2dv (const GLdouble *u);
1369WINGDIAPI void APIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
1370WINGDIAPI void APIENTRY glEvalCoord2fv (const GLfloat *u);
1371WINGDIAPI void APIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
1372WINGDIAPI void APIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
1373WINGDIAPI void APIENTRY glEvalPoint1 (GLint i);
1374WINGDIAPI void APIENTRY glEvalPoint2 (GLint i, GLint j);
1375WINGDIAPI void APIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
1376WINGDIAPI void APIENTRY glFinish (void);
1377WINGDIAPI void APIENTRY glFlush (void);
1378WINGDIAPI void APIENTRY glFogf (GLenum pname, GLfloat param);
1379WINGDIAPI void APIENTRY glFogfv (GLenum pname, const GLfloat *params);
1380WINGDIAPI void APIENTRY glFogi (GLenum pname, GLint param);
1381WINGDIAPI void APIENTRY glFogiv (GLenum pname, const GLint *params);
1382WINGDIAPI void APIENTRY glFrontFace (GLenum mode);
1383WINGDIAPI void APIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
1384WINGDIAPI GLuint APIENTRY glGenLists (GLsizei range);
1385WINGDIAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures);
1386WINGDIAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
1387WINGDIAPI void APIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
1388WINGDIAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *params);
1389WINGDIAPI GLenum APIENTRY glGetError (void);
1390WINGDIAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *params);
1391WINGDIAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *params);
1392WINGDIAPI void APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
1393WINGDIAPI void APIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
1394WINGDIAPI void APIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
1395WINGDIAPI void APIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
1396WINGDIAPI void APIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
1397WINGDIAPI void APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
1398WINGDIAPI void APIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
1399WINGDIAPI void APIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
1400WINGDIAPI void APIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
1401WINGDIAPI void APIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
1402WINGDIAPI void APIENTRY glGetPointerv (GLenum pname, GLvoid* *params);
1403WINGDIAPI void APIENTRY glGetPolygonStipple (GLubyte *mask);
1404WINGDIAPI const GLubyte * APIENTRY glGetString (GLenum name);
1405WINGDIAPI void APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
1406WINGDIAPI void APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
1407WINGDIAPI void APIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
1408WINGDIAPI void APIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
1409WINGDIAPI void APIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
1410WINGDIAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
1411WINGDIAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
1412WINGDIAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
1413WINGDIAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
1414WINGDIAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
1415WINGDIAPI void APIENTRY glHint (GLenum target, GLenum mode);
1416WINGDIAPI void APIENTRY glIndexMask (GLuint mask);
1417WINGDIAPI void APIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
1418WINGDIAPI void APIENTRY glIndexd (GLdouble c);
1419WINGDIAPI void APIENTRY glIndexdv (const GLdouble *c);
1420WINGDIAPI void APIENTRY glIndexf (GLfloat c);
1421WINGDIAPI void APIENTRY glIndexfv (const GLfloat *c);
1422WINGDIAPI void APIENTRY glIndexi (GLint c);
1423WINGDIAPI void APIENTRY glIndexiv (const GLint *c);
1424WINGDIAPI void APIENTRY glIndexs (GLshort c);
1425WINGDIAPI void APIENTRY glIndexsv (const GLshort *c);
1426WINGDIAPI void APIENTRY glIndexub (GLubyte c);
1427WINGDIAPI void APIENTRY glIndexubv (const GLubyte *c);
1428WINGDIAPI void APIENTRY glInitNames (void);
1429WINGDIAPI void APIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
1430WINGDIAPI GLboolean APIENTRY glIsEnabled (GLenum cap);
1431WINGDIAPI GLboolean APIENTRY glIsList (GLuint list);
1432WINGDIAPI GLboolean APIENTRY glIsTexture (GLuint texture);
1433WINGDIAPI void APIENTRY glLightModelf (GLenum pname, GLfloat param);
1434WINGDIAPI void APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
1435WINGDIAPI void APIENTRY glLightModeli (GLenum pname, GLint param);
1436WINGDIAPI void APIENTRY glLightModeliv (GLenum pname, const GLint *params);
1437WINGDIAPI void APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
1438WINGDIAPI void APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
1439WINGDIAPI void APIENTRY glLighti (GLenum light, GLenum pname, GLint param);
1440WINGDIAPI void APIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
1441WINGDIAPI void APIENTRY glLineStipple (GLint factor, GLushort pattern);
1442WINGDIAPI void APIENTRY glLineWidth (GLfloat width);
1443WINGDIAPI void APIENTRY glListBase (GLuint base);
1444WINGDIAPI void APIENTRY glLoadIdentity (void);
1445WINGDIAPI void APIENTRY glLoadMatrixd (const GLdouble *m);
1446WINGDIAPI void APIENTRY glLoadMatrixf (const GLfloat *m);
1447WINGDIAPI void APIENTRY glLoadName (GLuint name);
1448WINGDIAPI void APIENTRY glLogicOp (GLenum opcode);
1449WINGDIAPI void APIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
1450WINGDIAPI void APIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
1451WINGDIAPI void APIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
1452WINGDIAPI void APIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
1453WINGDIAPI void APIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
1454WINGDIAPI void APIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
1455WINGDIAPI void APIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
1456WINGDIAPI void APIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
1457WINGDIAPI void APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
1458WINGDIAPI void APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
1459WINGDIAPI void APIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
1460WINGDIAPI void APIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
1461WINGDIAPI void APIENTRY glMatrixMode (GLenum mode);
1462WINGDIAPI void APIENTRY glMultMatrixd (const GLdouble *m);
1463WINGDIAPI void APIENTRY glMultMatrixf (const GLfloat *m);
1464WINGDIAPI void APIENTRY glNewList (GLuint list, GLenum mode);
1465WINGDIAPI void APIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
1466WINGDIAPI void APIENTRY glNormal3bv (const GLbyte *v);
1467WINGDIAPI void APIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
1468WINGDIAPI void APIENTRY glNormal3dv (const GLdouble *v);
1469WINGDIAPI void APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
1470WINGDIAPI void APIENTRY glNormal3fv (const GLfloat *v);
1471WINGDIAPI void APIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
1472WINGDIAPI void APIENTRY glNormal3iv (const GLint *v);
1473WINGDIAPI void APIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
1474WINGDIAPI void APIENTRY glNormal3sv (const GLshort *v);
1475WINGDIAPI void APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
1476WINGDIAPI void APIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
1477WINGDIAPI void APIENTRY glPassThrough (GLfloat token);
1478WINGDIAPI void APIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
1479WINGDIAPI void APIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
1480WINGDIAPI void APIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
1481WINGDIAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param);
1482WINGDIAPI void APIENTRY glPixelStorei (GLenum pname, GLint param);
1483WINGDIAPI void APIENTRY glPixelTransferf (GLenum pname, GLfloat param);
1484WINGDIAPI void APIENTRY glPixelTransferi (GLenum pname, GLint param);
1485WINGDIAPI void APIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
1486WINGDIAPI void APIENTRY glPointSize (GLfloat size);
1487WINGDIAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode);
1488WINGDIAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
1489WINGDIAPI void APIENTRY glPolygonStipple (const GLubyte *mask);
1490WINGDIAPI void APIENTRY glPopAttrib (void);
1491WINGDIAPI void APIENTRY glPopClientAttrib (void);
1492WINGDIAPI void APIENTRY glPopMatrix (void);
1493WINGDIAPI void APIENTRY glPopName (void);
1494WINGDIAPI void APIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
1495WINGDIAPI void APIENTRY glPushAttrib (GLbitfield mask);
1496WINGDIAPI void APIENTRY glPushClientAttrib (GLbitfield mask);
1497WINGDIAPI void APIENTRY glPushMatrix (void);
1498WINGDIAPI void APIENTRY glPushName (GLuint name);
1499WINGDIAPI void APIENTRY glRasterPos2d (GLdouble x, GLdouble y);
1500WINGDIAPI void APIENTRY glRasterPos2dv (const GLdouble *v);
1501WINGDIAPI void APIENTRY glRasterPos2f (GLfloat x, GLfloat y);
1502WINGDIAPI void APIENTRY glRasterPos2fv (const GLfloat *v);
1503WINGDIAPI void APIENTRY glRasterPos2i (GLint x, GLint y);
1504WINGDIAPI void APIENTRY glRasterPos2iv (const GLint *v);
1505WINGDIAPI void APIENTRY glRasterPos2s (GLshort x, GLshort y);
1506WINGDIAPI void APIENTRY glRasterPos2sv (const GLshort *v);
1507WINGDIAPI void APIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
1508WINGDIAPI void APIENTRY glRasterPos3dv (const GLdouble *v);
1509WINGDIAPI void APIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
1510WINGDIAPI void APIENTRY glRasterPos3fv (const GLfloat *v);
1511WINGDIAPI void APIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
1512WINGDIAPI void APIENTRY glRasterPos3iv (const GLint *v);
1513WINGDIAPI void APIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
1514WINGDIAPI void APIENTRY glRasterPos3sv (const GLshort *v);
1515WINGDIAPI void APIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1516WINGDIAPI void APIENTRY glRasterPos4dv (const GLdouble *v);
1517WINGDIAPI void APIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1518WINGDIAPI void APIENTRY glRasterPos4fv (const GLfloat *v);
1519WINGDIAPI void APIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
1520WINGDIAPI void APIENTRY glRasterPos4iv (const GLint *v);
1521WINGDIAPI void APIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
1522WINGDIAPI void APIENTRY glRasterPos4sv (const GLshort *v);
1523WINGDIAPI void APIENTRY glReadBuffer (GLenum mode);
1524WINGDIAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
1525WINGDIAPI void APIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1526WINGDIAPI void APIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
1527WINGDIAPI void APIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1528WINGDIAPI void APIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
1529WINGDIAPI void APIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1530WINGDIAPI void APIENTRY glRectiv (const GLint *v1, const GLint *v2);
1531WINGDIAPI void APIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1532WINGDIAPI void APIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
1533WINGDIAPI GLint APIENTRY glRenderMode (GLenum mode);
1534WINGDIAPI void APIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1535WINGDIAPI void APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1536WINGDIAPI void APIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
1537WINGDIAPI void APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
1538WINGDIAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
1539WINGDIAPI void APIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
1540WINGDIAPI void APIENTRY glShadeModel (GLenum mode);
1541WINGDIAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
1542WINGDIAPI void APIENTRY glStencilMask (GLuint mask);
1543WINGDIAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1544WINGDIAPI void APIENTRY glTexCoord1d (GLdouble s);
1545WINGDIAPI void APIENTRY glTexCoord1dv (const GLdouble *v);
1546WINGDIAPI void APIENTRY glTexCoord1f (GLfloat s);
1547WINGDIAPI void APIENTRY glTexCoord1fv (const GLfloat *v);
1548WINGDIAPI void APIENTRY glTexCoord1i (GLint s);
1549WINGDIAPI void APIENTRY glTexCoord1iv (const GLint *v);
1550WINGDIAPI void APIENTRY glTexCoord1s (GLshort s);
1551WINGDIAPI void APIENTRY glTexCoord1sv (const GLshort *v);
1552WINGDIAPI void APIENTRY glTexCoord2d (GLdouble s, GLdouble t);
1553WINGDIAPI void APIENTRY glTexCoord2dv (const GLdouble *v);
1554WINGDIAPI void APIENTRY glTexCoord2f (GLfloat s, GLfloat t);
1555WINGDIAPI void APIENTRY glTexCoord2fv (const GLfloat *v);
1556WINGDIAPI void APIENTRY glTexCoord2i (GLint s, GLint t);
1557WINGDIAPI void APIENTRY glTexCoord2iv (const GLint *v);
1558WINGDIAPI void APIENTRY glTexCoord2s (GLshort s, GLshort t);
1559WINGDIAPI void APIENTRY glTexCoord2sv (const GLshort *v);
1560WINGDIAPI void APIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1561WINGDIAPI void APIENTRY glTexCoord3dv (const GLdouble *v);
1562WINGDIAPI void APIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1563WINGDIAPI void APIENTRY glTexCoord3fv (const GLfloat *v);
1564WINGDIAPI void APIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
1565WINGDIAPI void APIENTRY glTexCoord3iv (const GLint *v);
1566WINGDIAPI void APIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
1567WINGDIAPI void APIENTRY glTexCoord3sv (const GLshort *v);
1568WINGDIAPI void APIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1569WINGDIAPI void APIENTRY glTexCoord4dv (const GLdouble *v);
1570WINGDIAPI void APIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1571WINGDIAPI void APIENTRY glTexCoord4fv (const GLfloat *v);
1572WINGDIAPI void APIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1573WINGDIAPI void APIENTRY glTexCoord4iv (const GLint *v);
1574WINGDIAPI void APIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1575WINGDIAPI void APIENTRY glTexCoord4sv (const GLshort *v);
1576WINGDIAPI void APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1577WINGDIAPI void APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1578WINGDIAPI void APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
1579WINGDIAPI void APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
1580WINGDIAPI void APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
1581WINGDIAPI void APIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
1582WINGDIAPI void APIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
1583WINGDIAPI void APIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1584WINGDIAPI void APIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
1585WINGDIAPI void APIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
1586WINGDIAPI void APIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
1587WINGDIAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1588WINGDIAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1589WINGDIAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1590WINGDIAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1591WINGDIAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
1592WINGDIAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
1593WINGDIAPI void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
1594WINGDIAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1595WINGDIAPI void APIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
1596WINGDIAPI void APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1597WINGDIAPI void APIENTRY glVertex2d (GLdouble x, GLdouble y);
1598WINGDIAPI void APIENTRY glVertex2dv (const GLdouble *v);
1599WINGDIAPI void APIENTRY glVertex2f (GLfloat x, GLfloat y);
1600WINGDIAPI void APIENTRY glVertex2fv (const GLfloat *v);
1601WINGDIAPI void APIENTRY glVertex2i (GLint x, GLint y);
1602WINGDIAPI void APIENTRY glVertex2iv (const GLint *v);
1603WINGDIAPI void APIENTRY glVertex2s (GLshort x, GLshort y);
1604WINGDIAPI void APIENTRY glVertex2sv (const GLshort *v);
1605WINGDIAPI void APIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1606WINGDIAPI void APIENTRY glVertex3dv (const GLdouble *v);
1607WINGDIAPI void APIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1608WINGDIAPI void APIENTRY glVertex3fv (const GLfloat *v);
1609WINGDIAPI void APIENTRY glVertex3i (GLint x, GLint y, GLint z);
1610WINGDIAPI void APIENTRY glVertex3iv (const GLint *v);
1611WINGDIAPI void APIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
1612WINGDIAPI void APIENTRY glVertex3sv (const GLshort *v);
1613WINGDIAPI void APIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1614WINGDIAPI void APIENTRY glVertex4dv (const GLdouble *v);
1615WINGDIAPI void APIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1616WINGDIAPI void APIENTRY glVertex4fv (const GLfloat *v);
1617WINGDIAPI void APIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
1618WINGDIAPI void APIENTRY glVertex4iv (const GLint *v);
1619WINGDIAPI void APIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1620WINGDIAPI void APIENTRY glVertex4sv (const GLshort *v);
1621WINGDIAPI void APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1622WINGDIAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
1623
1624#ifdef __DEFINED_GLAPI
1625# undef GLAPI
1626# undef __DEFINED_GLAPI
1627#endif
8b1b599b 1628
cfb7e7a6
SS
1629#ifndef GL_GLEXT_LEGACY
1630#include <GL/glext.h>
1631#endif
8b1b599b
SS
1632
1633#ifdef __cplusplus
1634}
1635#endif
1636
1637#endif /* __gl_h_ */