1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110,  USA
18  */
19  
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module gtkglc.gl;
26 
27 
28 //private import std.stdio;
29 private import gtkglc.glgdktypes;
30 private import gtkc.Loader;
31 private import gtkc.paths;
32 
33 /*
34  * Mesa 3-D graphics library
35  * Version:  6.3
36  *
37  * Copyright (C) 1999-2005  Brian Paul   All Rights Reserved.
38  *
39  * Permission is hereby granted, free of charge, to any person obtaining a
40  * copy of this software and associated documentation files (the "Software"),
41  * to deal in the Software without restriction, including without limitation
42  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
43  * and/or sell copies of the Software, and to permit persons to whom the
44  * Software is furnished to do so, subject to the following conditions:
45  *
46  * The above copyright notice and this permission notice shall be included
47  * in all copies or substantial portions of the Software.
48  *
49  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
50  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
52  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
53  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
54  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
55  */
56 
57 
58 
59 
60 
61 
62 
63 
64 
65 
66 
67 
68 const GL_VERSION_1_1 = 1;
69 const GL_VERSION_1_2 = 1;
70 const GL_VERSION_1_3 = 1;
71 
72 const GL_ARB_imaging = 1;
73 
74 /*
75  * Datatypes
76  */
77 extern (C):
78 alias uint GLenum;
79 alias ubyte GLboolean;
80 alias uint GLbitfield;
81 alias void GLvoid;
82 alias byte GLbyte;
83 alias short GLshort;
84 alias int GLint;
85 alias ubyte GLubyte;
86 alias ushort GLushort;
87 alias uint GLuint;
88 alias int GLsizei;
89 alias float GLfloat;
90 alias float GLclampf;
91 alias double GLdouble;
92 alias double GLclampd;
93 
94 
95 
96 /*
97  * Constants
98  */
99 
100 /* Boolean values */
101 const GL_FALSE = 0x0;
102 
103 const GL_TRUE = 0x1;
104 /* Data types */
105 const GL_BYTE = 0x1400;
106 const GL_UNSIGNED_BYTE = 0x1401;
107 const GL_SHORT = 0x1402;
108 const GL_UNSIGNED_SHORT = 0x1403;
109 const GL_INT = 0x1404;
110 const GL_UNSIGNED_INT = 0x1405;
111 const GL_FLOAT = 0x1406;
112 const GL_2_BYTES = 0x1407;
113 const GL_3_BYTES = 0x1408;
114 const GL_4_BYTES = 0x1409;
115 
116 const GL_DOUBLE = 0x140A;
117 /* Primitives */
118 const GL_POINTS = 0x0000;
119 const GL_LINES = 0x0001;
120 const GL_LINE_LOOP = 0x0002;
121 const GL_LINE_STRIP = 0x0003;
122 const GL_TRIANGLES = 0x0004;
123 const GL_TRIANGLE_STRIP = 0x0005;
124 const GL_TRIANGLE_FAN = 0x0006;
125 const GL_QUADS = 0x0007;
126 const GL_QUAD_STRIP = 0x0008;
127 
128 const GL_POLYGON = 0x0009;
129 /* Vertex Arrays */
130 const GL_VERTEX_ARRAY = 0x8074;
131 const GL_NORMAL_ARRAY = 0x8075;
132 const GL_COLOR_ARRAY = 0x8076;
133 const GL_INDEX_ARRAY = 0x8077;
134 const GL_TEXTURE_COORD_ARRAY = 0x8078;
135 const GL_EDGE_FLAG_ARRAY = 0x8079;
136 const GL_VERTEX_ARRAY_SIZE = 0x807A;
137 const GL_VERTEX_ARRAY_TYPE = 0x807B;
138 const GL_VERTEX_ARRAY_STRIDE = 0x807C;
139 const GL_NORMAL_ARRAY_TYPE = 0x807E;
140 const GL_NORMAL_ARRAY_STRIDE = 0x807F;
141 const GL_COLOR_ARRAY_SIZE = 0x8081;
142 const GL_COLOR_ARRAY_TYPE = 0x8082;
143 const GL_COLOR_ARRAY_STRIDE = 0x8083;
144 const GL_INDEX_ARRAY_TYPE = 0x8085;
145 const GL_INDEX_ARRAY_STRIDE = 0x8086;
146 const GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088;
147 const GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089;
148 const GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
149 const GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C;
150 const GL_VERTEX_ARRAY_POINTER = 0x808E;
151 const GL_NORMAL_ARRAY_POINTER = 0x808F;
152 const GL_COLOR_ARRAY_POINTER = 0x8090;
153 const GL_INDEX_ARRAY_POINTER = 0x8091;
154 const GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092;
155 const GL_EDGE_FLAG_ARRAY_POINTER = 0x8093;
156 const GL_V2F = 0x2A20;
157 const GL_V3F = 0x2A21;
158 const GL_C4UB_V2F = 0x2A22;
159 const GL_C4UB_V3F = 0x2A23;
160 const GL_C3F_V3F = 0x2A24;
161 const GL_N3F_V3F = 0x2A25;
162 const GL_C4F_N3F_V3F = 0x2A26;
163 const GL_T2F_V3F = 0x2A27;
164 const GL_T4F_V4F = 0x2A28;
165 const GL_T2F_C4UB_V3F = 0x2A29;
166 const GL_T2F_C3F_V3F = 0x2A2A;
167 const GL_T2F_N3F_V3F = 0x2A2B;
168 const GL_T2F_C4F_N3F_V3F = 0x2A2C;
169 
170 const GL_T4F_C4F_N3F_V4F = 0x2A2D;
171 /* Matrix Mode */
172 const GL_MATRIX_MODE = 0x0BA0;
173 const GL_MODELVIEW = 0x1700;
174 const GL_PROJECTION = 0x1701;
175 
176 const GL_TEXTURE = 0x1702;
177 /* Points */
178 const GL_POINT_SMOOTH = 0x0B10;
179 const GL_POINT_SIZE = 0x0B11;
180 const GL_POINT_SIZE_GRANULARITY = 0x0B13;
181 
182 const GL_POINT_SIZE_RANGE = 0x0B12;
183 /* Lines */
184 const GL_LINE_SMOOTH = 0x0B20;
185 const GL_LINE_STIPPLE = 0x0B24;
186 const GL_LINE_STIPPLE_PATTERN = 0x0B25;
187 const GL_LINE_STIPPLE_REPEAT = 0x0B26;
188 const GL_LINE_WIDTH = 0x0B21;
189 const GL_LINE_WIDTH_GRANULARITY = 0x0B23;
190 
191 const GL_LINE_WIDTH_RANGE = 0x0B22;
192 /* Polygons */
193 const GL_POINT = 0x1B00;
194 const GL_LINE = 0x1B01;
195 const GL_FILL = 0x1B02;
196 const GL_CW = 0x0900;
197 const GL_CCW = 0x0901;
198 const GL_FRONT = 0x0404;
199 const GL_BACK = 0x0405;
200 const GL_POLYGON_MODE = 0x0B40;
201 const GL_POLYGON_SMOOTH = 0x0B41;
202 const GL_POLYGON_STIPPLE = 0x0B42;
203 const GL_EDGE_FLAG = 0x0B43;
204 const GL_CULL_FACE = 0x0B44;
205 const GL_CULL_FACE_MODE = 0x0B45;
206 const GL_FRONT_FACE = 0x0B46;
207 const GL_POLYGON_OFFSET_FACTOR = 0x8038;
208 const GL_POLYGON_OFFSET_UNITS = 0x2A00;
209 const GL_POLYGON_OFFSET_POINT = 0x2A01;
210 const GL_POLYGON_OFFSET_LINE = 0x2A02;
211 
212 const GL_POLYGON_OFFSET_FILL = 0x8037;
213 /* Display Lists */
214 const GL_COMPILE = 0x1300;
215 const GL_COMPILE_AND_EXECUTE = 0x1301;
216 const GL_LIST_BASE = 0x0B32;
217 const GL_LIST_INDEX = 0x0B33;
218 
219 const GL_LIST_MODE = 0x0B30;
220 /* Depth buffer */
221 const GL_NEVER = 0x0200;
222 const GL_LESS = 0x0201;
223 const GL_EQUAL = 0x0202;
224 const GL_LEQUAL = 0x0203;
225 const GL_GREATER = 0x0204;
226 const GL_NOTEQUAL = 0x0205;
227 const GL_GEQUAL = 0x0206;
228 const GL_ALWAYS = 0x0207;
229 const GL_DEPTH_TEST = 0x0B71;
230 const GL_DEPTH_BITS = 0x0D56;
231 const GL_DEPTH_CLEAR_VALUE = 0x0B73;
232 const GL_DEPTH_FUNC = 0x0B74;
233 const GL_DEPTH_RANGE = 0x0B70;
234 const GL_DEPTH_WRITEMASK = 0x0B72;
235 
236 const GL_DEPTH_COMPONENT = 0x1902;
237 /* Lighting */
238 const GL_LIGHTING = 0x0B50;
239 const GL_LIGHT0 = 0x4000;
240 const GL_LIGHT1 = 0x4001;
241 const GL_LIGHT2 = 0x4002;
242 const GL_LIGHT3 = 0x4003;
243 const GL_LIGHT4 = 0x4004;
244 const GL_LIGHT5 = 0x4005;
245 const GL_LIGHT6 = 0x4006;
246 const GL_LIGHT7 = 0x4007;
247 const GL_SPOT_EXPONENT = 0x1205;
248 const GL_SPOT_CUTOFF = 0x1206;
249 const GL_CONSTANT_ATTENUATION = 0x1207;
250 const GL_LINEAR_ATTENUATION = 0x1208;
251 const GL_QUADRATIC_ATTENUATION = 0x1209;
252 const GL_AMBIENT = 0x1200;
253 const GL_DIFFUSE = 0x1201;
254 const GL_SPECULAR = 0x1202;
255 const GL_SHININESS = 0x1601;
256 const GL_EMISSION = 0x1600;
257 const GL_POSITION = 0x1203;
258 const GL_SPOT_DIRECTION = 0x1204;
259 const GL_AMBIENT_AND_DIFFUSE = 0x1602;
260 const GL_COLOR_INDEXES = 0x1603;
261 const GL_LIGHT_MODEL_TWO_SIDE = 0x0B52;
262 const GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51;
263 const GL_LIGHT_MODEL_AMBIENT = 0x0B53;
264 const GL_FRONT_AND_BACK = 0x0408;
265 const GL_SHADE_MODEL = 0x0B54;
266 const GL_FLAT = 0x1D00;
267 const GL_SMOOTH = 0x1D01;
268 const GL_COLOR_MATERIAL = 0x0B57;
269 const GL_COLOR_MATERIAL_FACE = 0x0B55;
270 const GL_COLOR_MATERIAL_PARAMETER = 0x0B56;
271 
272 const GL_NORMALIZE = 0x0BA1;
273 /* User clipping planes */
274 const GL_CLIP_PLANE0 = 0x3000;
275 const GL_CLIP_PLANE1 = 0x3001;
276 const GL_CLIP_PLANE2 = 0x3002;
277 const GL_CLIP_PLANE3 = 0x3003;
278 const GL_CLIP_PLANE4 = 0x3004;
279 
280 const GL_CLIP_PLANE5 = 0x3005;
281 /* Accumulation buffer */
282 const GL_ACCUM_RED_BITS = 0x0D58;
283 const GL_ACCUM_GREEN_BITS = 0x0D59;
284 const GL_ACCUM_BLUE_BITS = 0x0D5A;
285 const GL_ACCUM_ALPHA_BITS = 0x0D5B;
286 const GL_ACCUM_CLEAR_VALUE = 0x0B80;
287 const GL_ACCUM = 0x0100;
288 const GL_ADD = 0x0104;
289 const GL_LOAD = 0x0101;
290 const GL_MULT = 0x0103;
291 
292 const GL_RETURN = 0x0102;
293 /* Alpha testing */
294 const GL_ALPHA_TEST = 0x0BC0;
295 const GL_ALPHA_TEST_REF = 0x0BC2;
296 
297 const GL_ALPHA_TEST_FUNC = 0x0BC1;
298 /* Blending */
299 const GL_BLEND = 0x0BE2;
300 const GL_BLEND_SRC = 0x0BE1;
301 const GL_BLEND_DST = 0x0BE0;
302 const GL_ZERO = 0x0;
303 const GL_ONE = 0x1;
304 const GL_SRC_COLOR = 0x0300;
305 const GL_ONE_MINUS_SRC_COLOR = 0x0301;
306 const GL_SRC_ALPHA = 0x0302;
307 const GL_ONE_MINUS_SRC_ALPHA = 0x0303;
308 const GL_DST_ALPHA = 0x0304;
309 const GL_ONE_MINUS_DST_ALPHA = 0x0305;
310 const GL_DST_COLOR = 0x0306;
311 const GL_ONE_MINUS_DST_COLOR = 0x0307;
312 
313 const GL_SRC_ALPHA_SATURATE = 0x0308;
314 /* Render Mode */
315 const GL_FEEDBACK = 0x1C01;
316 const GL_RENDER = 0x1C00;
317 
318 const GL_SELECT = 0x1C02;
319 /* Feedback */
320 const GL_2D = 0x0600;
321 const GL_3D = 0x0601;
322 const GL_3D_COLOR = 0x0602;
323 const GL_3D_COLOR_TEXTURE = 0x0603;
324 const GL_4D_COLOR_TEXTURE = 0x0604;
325 const GL_POINT_TOKEN = 0x0701;
326 const GL_LINE_TOKEN = 0x0702;
327 const GL_LINE_RESET_TOKEN = 0x0707;
328 const GL_POLYGON_TOKEN = 0x0703;
329 const GL_BITMAP_TOKEN = 0x0704;
330 const GL_DRAW_PIXEL_TOKEN = 0x0705;
331 const GL_COPY_PIXEL_TOKEN = 0x0706;
332 const GL_PASS_THROUGH_TOKEN = 0x0700;
333 const GL_FEEDBACK_BUFFER_POINTER = 0x0DF0;
334 const GL_FEEDBACK_BUFFER_SIZE = 0x0DF1;
335 
336 const GL_FEEDBACK_BUFFER_TYPE = 0x0DF2;
337 /* Selection */
338 const GL_SELECTION_BUFFER_POINTER = 0x0DF3;
339 
340 const GL_SELECTION_BUFFER_SIZE = 0x0DF4;
341 /* Fog */
342 const GL_FOG = 0x0B60;
343 const GL_FOG_MODE = 0x0B65;
344 const GL_FOG_DENSITY = 0x0B62;
345 const GL_FOG_COLOR = 0x0B66;
346 const GL_FOG_INDEX = 0x0B61;
347 const GL_FOG_START = 0x0B63;
348 const GL_FOG_END = 0x0B64;
349 const GL_LINEAR = 0x2601;
350 const GL_EXP = 0x0800;
351 
352 const GL_EXP2 = 0x0801;
353 /* Logic Ops */
354 const GL_LOGIC_OP = 0x0BF1;
355 const GL_INDEX_LOGIC_OP = 0x0BF1;
356 const GL_COLOR_LOGIC_OP = 0x0BF2;
357 const GL_LOGIC_OP_MODE = 0x0BF0;
358 const GL_CLEAR = 0x1500;
359 const GL_SET = 0x150F;
360 const GL_COPY = 0x1503;
361 const GL_COPY_INVERTED = 0x150C;
362 const GL_NOOP = 0x1505;
363 const GL_INVERT = 0x150A;
364 const GL_AND = 0x1501;
365 const GL_NAND = 0x150E;
366 const GL_OR = 0x1507;
367 const GL_NOR = 0x1508;
368 const GL_XOR = 0x1506;
369 const GL_EQUIV = 0x1509;
370 const GL_AND_REVERSE = 0x1502;
371 const GL_AND_INVERTED = 0x1504;
372 const GL_OR_REVERSE = 0x150B;
373 
374 const GL_OR_INVERTED = 0x150D;
375 /* Stencil */
376 const GL_STENCIL_TEST = 0x0B90;
377 const GL_STENCIL_WRITEMASK = 0x0B98;
378 const GL_STENCIL_BITS = 0x0D57;
379 const GL_STENCIL_FUNC = 0x0B92;
380 const GL_STENCIL_VALUE_MASK = 0x0B93;
381 const GL_STENCIL_REF = 0x0B97;
382 const GL_STENCIL_FAIL = 0x0B94;
383 const GL_STENCIL_PASS_DEPTH_PASS = 0x0B96;
384 const GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95;
385 const GL_STENCIL_CLEAR_VALUE = 0x0B91;
386 const GL_STENCIL_INDEX = 0x1901;
387 const GL_KEEP = 0x1E00;
388 const GL_REPLACE = 0x1E01;
389 const GL_INCR = 0x1E02;
390 
391 const GL_DECR = 0x1E03;
392 /* Buffers, Pixel Drawing/Reading */
393 const GL_NONE = 0x0;
394 const GL_LEFT = 0x0406;
395 /*GL_FRONT					0x0404 */
396 const GL_RIGHT = 0x0407;
397 /*GL_BACK					0x0405 */
398 /*GL_FRONT_AND_BACK				0x0408 */
399 const GL_FRONT_LEFT = 0x0400;
400 const GL_FRONT_RIGHT = 0x0401;
401 const GL_BACK_LEFT = 0x0402;
402 const GL_BACK_RIGHT = 0x0403;
403 const GL_AUX0 = 0x0409;
404 const GL_AUX1 = 0x040A;
405 const GL_AUX2 = 0x040B;
406 const GL_AUX3 = 0x040C;
407 const GL_COLOR_INDEX = 0x1900;
408 const GL_RED = 0x1903;
409 const GL_GREEN = 0x1904;
410 const GL_BLUE = 0x1905;
411 const GL_ALPHA = 0x1906;
412 const GL_LUMINANCE = 0x1909;
413 const GL_LUMINANCE_ALPHA = 0x190A;
414 const GL_ALPHA_BITS = 0x0D55;
415 const GL_RED_BITS = 0x0D52;
416 const GL_GREEN_BITS = 0x0D53;
417 const GL_BLUE_BITS = 0x0D54;
418 const GL_INDEX_BITS = 0x0D51;
419 const GL_SUBPIXEL_BITS = 0x0D50;
420 const GL_AUX_BUFFERS = 0x0C00;
421 const GL_READ_BUFFER = 0x0C02;
422 const GL_DRAW_BUFFER = 0x0C01;
423 const GL_DOUBLEBUFFER = 0x0C32;
424 const GL_STEREO = 0x0C33;
425 const GL_BITMAP = 0x1A00;
426 const GL_COLOR = 0x1800;
427 const GL_DEPTH = 0x1801;
428 const GL_STENCIL = 0x1802;
429 const GL_DITHER = 0x0BD0;
430 const GL_RGB = 0x1907;
431 
432 const GL_RGBA = 0x1908;
433 /* Implementation limits */
434 const GL_MAX_LIST_NESTING = 0x0B31;
435 const GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35;
436 const GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
437 const GL_MAX_NAME_STACK_DEPTH = 0x0D37;
438 const GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38;
439 const GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39;
440 const GL_MAX_EVAL_ORDER = 0x0D30;
441 const GL_MAX_LIGHTS = 0x0D31;
442 const GL_MAX_CLIP_PLANES = 0x0D32;
443 const GL_MAX_TEXTURE_SIZE = 0x0D33;
444 const GL_MAX_PIXEL_MAP_TABLE = 0x0D34;
445 const GL_MAX_VIEWPORT_DIMS = 0x0D3A;
446 
447 const GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B;
448 /* Gets */
449 const GL_ATTRIB_STACK_DEPTH = 0x0BB0;
450 const GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1;
451 const GL_COLOR_CLEAR_VALUE = 0x0C22;
452 const GL_COLOR_WRITEMASK = 0x0C23;
453 const GL_CURRENT_INDEX = 0x0B01;
454 const GL_CURRENT_COLOR = 0x0B00;
455 const GL_CURRENT_NORMAL = 0x0B02;
456 const GL_CURRENT_RASTER_COLOR = 0x0B04;
457 const GL_CURRENT_RASTER_DISTANCE = 0x0B09;
458 const GL_CURRENT_RASTER_INDEX = 0x0B05;
459 const GL_CURRENT_RASTER_POSITION = 0x0B07;
460 const GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06;
461 const GL_CURRENT_RASTER_POSITION_VALID = 0x0B08;
462 const GL_CURRENT_TEXTURE_COORDS = 0x0B03;
463 const GL_INDEX_CLEAR_VALUE = 0x0C20;
464 const GL_INDEX_MODE = 0x0C30;
465 const GL_INDEX_WRITEMASK = 0x0C21;
466 const GL_MODELVIEW_MATRIX = 0x0BA6;
467 const GL_MODELVIEW_STACK_DEPTH = 0x0BA3;
468 const GL_NAME_STACK_DEPTH = 0x0D70;
469 const GL_PROJECTION_MATRIX = 0x0BA7;
470 const GL_PROJECTION_STACK_DEPTH = 0x0BA4;
471 const GL_RENDER_MODE = 0x0C40;
472 const GL_RGBA_MODE = 0x0C31;
473 const GL_TEXTURE_MATRIX = 0x0BA8;
474 const GL_TEXTURE_STACK_DEPTH = 0x0BA5;
475 
476 const GL_VIEWPORT = 0x0BA2;
477 /* Evaluators */
478 const GL_AUTO_NORMAL = 0x0D80;
479 const GL_MAP1_COLOR_4 = 0x0D90;
480 const GL_MAP1_INDEX = 0x0D91;
481 const GL_MAP1_NORMAL = 0x0D92;
482 const GL_MAP1_TEXTURE_COORD_1 = 0x0D93;
483 const GL_MAP1_TEXTURE_COORD_2 = 0x0D94;
484 const GL_MAP1_TEXTURE_COORD_3 = 0x0D95;
485 const GL_MAP1_TEXTURE_COORD_4 = 0x0D96;
486 const GL_MAP1_VERTEX_3 = 0x0D97;
487 const GL_MAP1_VERTEX_4 = 0x0D98;
488 const GL_MAP2_COLOR_4 = 0x0DB0;
489 const GL_MAP2_INDEX = 0x0DB1;
490 const GL_MAP2_NORMAL = 0x0DB2;
491 const GL_MAP2_TEXTURE_COORD_1 = 0x0DB3;
492 const GL_MAP2_TEXTURE_COORD_2 = 0x0DB4;
493 const GL_MAP2_TEXTURE_COORD_3 = 0x0DB5;
494 const GL_MAP2_TEXTURE_COORD_4 = 0x0DB6;
495 const GL_MAP2_VERTEX_3 = 0x0DB7;
496 const GL_MAP2_VERTEX_4 = 0x0DB8;
497 const GL_MAP1_GRID_DOMAIN = 0x0DD0;
498 const GL_MAP1_GRID_SEGMENTS = 0x0DD1;
499 const GL_MAP2_GRID_DOMAIN = 0x0DD2;
500 const GL_MAP2_GRID_SEGMENTS = 0x0DD3;
501 const GL_COEFF = 0x0A00;
502 const GL_DOMAIN = 0x0A02;
503 
504 const GL_ORDER = 0x0A01;
505 /* Hints */
506 const GL_FOG_HINT = 0x0C54;
507 const GL_LINE_SMOOTH_HINT = 0x0C52;
508 const GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50;
509 const GL_POINT_SMOOTH_HINT = 0x0C51;
510 const GL_POLYGON_SMOOTH_HINT = 0x0C53;
511 const GL_DONT_CARE = 0x1100;
512 const GL_FASTEST = 0x1101;
513 
514 const GL_NICEST = 0x1102;
515 /* Scissor box */
516 const GL_SCISSOR_TEST = 0x0C11;
517 
518 const GL_SCISSOR_BOX = 0x0C10;
519 /* Pixel Mode / Transfer */
520 const GL_MAP_COLOR = 0x0D10;
521 const GL_MAP_STENCIL = 0x0D11;
522 const GL_INDEX_SHIFT = 0x0D12;
523 const GL_INDEX_OFFSET = 0x0D13;
524 const GL_RED_SCALE = 0x0D14;
525 const GL_RED_BIAS = 0x0D15;
526 const GL_GREEN_SCALE = 0x0D18;
527 const GL_GREEN_BIAS = 0x0D19;
528 const GL_BLUE_SCALE = 0x0D1A;
529 const GL_BLUE_BIAS = 0x0D1B;
530 const GL_ALPHA_SCALE = 0x0D1C;
531 const GL_ALPHA_BIAS = 0x0D1D;
532 const GL_DEPTH_SCALE = 0x0D1E;
533 const GL_DEPTH_BIAS = 0x0D1F;
534 const GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1;
535 const GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0;
536 const GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2;
537 const GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3;
538 const GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4;
539 const GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5;
540 const GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6;
541 const GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7;
542 const GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8;
543 const GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9;
544 const GL_PIXEL_MAP_S_TO_S = 0x0C71;
545 const GL_PIXEL_MAP_I_TO_I = 0x0C70;
546 const GL_PIXEL_MAP_I_TO_R = 0x0C72;
547 const GL_PIXEL_MAP_I_TO_G = 0x0C73;
548 const GL_PIXEL_MAP_I_TO_B = 0x0C74;
549 const GL_PIXEL_MAP_I_TO_A = 0x0C75;
550 const GL_PIXEL_MAP_R_TO_R = 0x0C76;
551 const GL_PIXEL_MAP_G_TO_G = 0x0C77;
552 const GL_PIXEL_MAP_B_TO_B = 0x0C78;
553 const GL_PIXEL_MAP_A_TO_A = 0x0C79;
554 const GL_PACK_ALIGNMENT = 0x0D05;
555 const GL_PACK_LSB_FIRST = 0x0D01;
556 const GL_PACK_ROW_LENGTH = 0x0D02;
557 const GL_PACK_SKIP_PIXELS = 0x0D04;
558 const GL_PACK_SKIP_ROWS = 0x0D03;
559 const GL_PACK_SWAP_BYTES = 0x0D00;
560 const GL_UNPACK_ALIGNMENT = 0x0CF5;
561 const GL_UNPACK_LSB_FIRST = 0x0CF1;
562 const GL_UNPACK_ROW_LENGTH = 0x0CF2;
563 const GL_UNPACK_SKIP_PIXELS = 0x0CF4;
564 const GL_UNPACK_SKIP_ROWS = 0x0CF3;
565 const GL_UNPACK_SWAP_BYTES = 0x0CF0;
566 const GL_ZOOM_X = 0x0D16;
567 
568 const GL_ZOOM_Y = 0x0D17;
569 /* Texture mapping */
570 const GL_TEXTURE_ENV = 0x2300;
571 const GL_TEXTURE_ENV_MODE = 0x2200;
572 const GL_TEXTURE_1D = 0x0DE0;
573 const GL_TEXTURE_2D = 0x0DE1;
574 const GL_TEXTURE_WRAP_S = 0x2802;
575 const GL_TEXTURE_WRAP_T = 0x2803;
576 const GL_TEXTURE_MAG_FILTER = 0x2800;
577 const GL_TEXTURE_MIN_FILTER = 0x2801;
578 const GL_TEXTURE_ENV_COLOR = 0x2201;
579 const GL_TEXTURE_GEN_S = 0x0C60;
580 const GL_TEXTURE_GEN_T = 0x0C61;
581 const GL_TEXTURE_GEN_MODE = 0x2500;
582 const GL_TEXTURE_BORDER_COLOR = 0x1004;
583 const GL_TEXTURE_WIDTH = 0x1000;
584 const GL_TEXTURE_HEIGHT = 0x1001;
585 const GL_TEXTURE_BORDER = 0x1005;
586 const GL_TEXTURE_COMPONENTS = 0x1003;
587 const GL_TEXTURE_RED_SIZE = 0x805C;
588 const GL_TEXTURE_GREEN_SIZE = 0x805D;
589 const GL_TEXTURE_BLUE_SIZE = 0x805E;
590 const GL_TEXTURE_ALPHA_SIZE = 0x805F;
591 const GL_TEXTURE_LUMINANCE_SIZE = 0x8060;
592 const GL_TEXTURE_INTENSITY_SIZE = 0x8061;
593 const GL_NEAREST_MIPMAP_NEAREST = 0x2700;
594 const GL_NEAREST_MIPMAP_LINEAR = 0x2702;
595 const GL_LINEAR_MIPMAP_NEAREST = 0x2701;
596 const GL_LINEAR_MIPMAP_LINEAR = 0x2703;
597 const GL_OBJECT_LINEAR = 0x2401;
598 const GL_OBJECT_PLANE = 0x2501;
599 const GL_EYE_LINEAR = 0x2400;
600 const GL_EYE_PLANE = 0x2502;
601 const GL_SPHERE_MAP = 0x2402;
602 const GL_DECAL = 0x2101;
603 const GL_MODULATE = 0x2100;
604 const GL_NEAREST = 0x2600;
605 const GL_REPEAT = 0x2901;
606 const GL_CLAMP = 0x2900;
607 const GL_S = 0x2000;
608 const GL_T = 0x2001;
609 const GL_R = 0x2002;
610 const GL_Q = 0x2003;
611 const GL_TEXTURE_GEN_R = 0x0C62;
612 
613 const GL_TEXTURE_GEN_Q = 0x0C63;
614 /* Utility */
615 const GL_VENDOR = 0x1F00;
616 const GL_RENDERER = 0x1F01;
617 const GL_VERSION = 0x1F02;
618 
619 const GL_EXTENSIONS = 0x1F03;
620 /* Errors */
621 const GL_NO_ERROR = 0x0;
622 const GL_INVALID_VALUE = 0x0501;
623 const GL_INVALID_ENUM = 0x0500;
624 const GL_INVALID_OPERATION = 0x0502;
625 const GL_STACK_OVERFLOW = 0x0503;
626 const GL_STACK_UNDERFLOW = 0x0504;
627 
628 const GL_OUT_OF_MEMORY = 0x0505;
629 /* glPush/PopAttrib bits */
630 const GL_CURRENT_BIT = 0x00000001;
631 const GL_POINT_BIT = 0x00000002;
632 const GL_LINE_BIT = 0x00000004;
633 const GL_POLYGON_BIT = 0x00000008;
634 const GL_POLYGON_STIPPLE_BIT = 0x00000010;
635 const GL_PIXEL_MODE_BIT = 0x00000020;
636 const GL_LIGHTING_BIT = 0x00000040;
637 const GL_FOG_BIT = 0x00000080;
638 const GL_DEPTH_BUFFER_BIT = 0x00000100;
639 const GL_ACCUM_BUFFER_BIT = 0x00000200;
640 const GL_STENCIL_BUFFER_BIT = 0x00000400;
641 const GL_VIEWPORT_BIT = 0x00000800;
642 const GL_TRANSFORM_BIT = 0x00001000;
643 const GL_ENABLE_BIT = 0x00002000;
644 const GL_COLOR_BUFFER_BIT = 0x00004000;
645 const GL_HINT_BIT = 0x00008000;
646 const GL_EVAL_BIT = 0x00010000;
647 const GL_LIST_BIT = 0x00020000;
648 const GL_TEXTURE_BIT = 0x00040000;
649 const GL_SCISSOR_BIT = 0x00080000;
650 
651 const GL_ALL_ATTRIB_BITS = 0x000FFFFF;
652 
653 /* OpenGL 1.1 */
654 const GL_PROXY_TEXTURE_1D = 0x8063;
655 const GL_PROXY_TEXTURE_2D = 0x8064;
656 const GL_TEXTURE_PRIORITY = 0x8066;
657 const GL_TEXTURE_RESIDENT = 0x8067;
658 const GL_TEXTURE_BINDING_1D = 0x8068;
659 const GL_TEXTURE_BINDING_2D = 0x8069;
660 const GL_TEXTURE_INTERNAL_FORMAT = 0x1003;
661 const GL_ALPHA4 = 0x803B;
662 const GL_ALPHA8 = 0x803C;
663 const GL_ALPHA12 = 0x803D;
664 const GL_ALPHA16 = 0x803E;
665 const GL_LUMINANCE4 = 0x803F;
666 const GL_LUMINANCE8 = 0x8040;
667 const GL_LUMINANCE12 = 0x8041;
668 const GL_LUMINANCE16 = 0x8042;
669 const GL_LUMINANCE4_ALPHA4 = 0x8043;
670 const GL_LUMINANCE6_ALPHA2 = 0x8044;
671 const GL_LUMINANCE8_ALPHA8 = 0x8045;
672 const GL_LUMINANCE12_ALPHA4 = 0x8046;
673 const GL_LUMINANCE12_ALPHA12 = 0x8047;
674 const GL_LUMINANCE16_ALPHA16 = 0x8048;
675 const GL_INTENSITY = 0x8049;
676 const GL_INTENSITY4 = 0x804A;
677 const GL_INTENSITY8 = 0x804B;
678 const GL_INTENSITY12 = 0x804C;
679 const GL_INTENSITY16 = 0x804D;
680 const GL_R3_G3_B2 = 0x2A10;
681 const GL_RGB4 = 0x804F;
682 const GL_RGB5 = 0x8050;
683 const GL_RGB8 = 0x8051;
684 const GL_RGB10 = 0x8052;
685 const GL_RGB12 = 0x8053;
686 const GL_RGB16 = 0x8054;
687 const GL_RGBA2 = 0x8055;
688 const GL_RGBA4 = 0x8056;
689 const GL_RGB5_A1 = 0x8057;
690 const GL_RGBA8 = 0x8058;
691 const GL_RGB10_A2 = 0x8059;
692 const GL_RGBA12 = 0x805A;
693 const GL_RGBA16 = 0x805B;
694 const GL_CLIENT_PIXEL_STORE_BIT = 0x00000001;
695 const GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
696 const GL_ALL_CLIENT_ATTRIB_BITS = 0xFFFFFFFF;
697 
698 const GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF;
699 
700 
701 
702 /*
703  * OpenGL 1.2
704  */
705 
706 const GL_RESCALE_NORMAL = 0x803A;
707 const GL_CLAMP_TO_EDGE = 0x812F;
708 const GL_MAX_ELEMENTS_VERTICES = 0x80E8;
709 const GL_MAX_ELEMENTS_INDICES = 0x80E9;
710 const GL_BGR = 0x80E0;
711 const GL_BGRA = 0x80E1;
712 const GL_UNSIGNED_BYTE_3_3_2 = 0x8032;
713 const GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362;
714 const GL_UNSIGNED_SHORT_5_6_5 = 0x8363;
715 const GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364;
716 const GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033;
717 const GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365;
718 const GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034;
719 const GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366;
720 const GL_UNSIGNED_INT_8_8_8_8 = 0x8035;
721 const GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367;
722 const GL_UNSIGNED_INT_10_10_10_2 = 0x8036;
723 const GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368;
724 const GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8;
725 const GL_SINGLE_COLOR = 0x81F9;
726 const GL_SEPARATE_SPECULAR_COLOR = 0x81FA;
727 const GL_TEXTURE_MIN_LOD = 0x813A;
728 const GL_TEXTURE_MAX_LOD = 0x813B;
729 const GL_TEXTURE_BASE_LEVEL = 0x813C;
730 const GL_TEXTURE_MAX_LEVEL = 0x813D;
731 const GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12;
732 const GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13;
733 const GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22;
734 const GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23;
735 const GL_ALIASED_POINT_SIZE_RANGE = 0x846D;
736 const GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
737 const GL_PACK_SKIP_IMAGES = 0x806B;
738 const GL_PACK_IMAGE_HEIGHT = 0x806C;
739 const GL_UNPACK_SKIP_IMAGES = 0x806D;
740 const GL_UNPACK_IMAGE_HEIGHT = 0x806E;
741 const GL_TEXTURE_3D = 0x806F;
742 const GL_PROXY_TEXTURE_3D = 0x8070;
743 const GL_TEXTURE_DEPTH = 0x8071;
744 const GL_TEXTURE_WRAP_R = 0x8072;
745 const GL_MAX_3D_TEXTURE_SIZE = 0x8073;
746 
747 const GL_TEXTURE_BINDING_3D = 0x806A;
748 
749 alias void  function(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLvoid *indices)PFNGLDRAWRANGEELEMENTSPROC;
750 alias void  function(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid *pixels)PFNGLTEXIMAGE3DPROC;
751 alias void  function(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *pixels)PFNGLTEXSUBIMAGE3DPROC;
752 alias void  function(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)PFNGLCOPYTEXSUBIMAGE3DPROC;
753 
754 
755 /*
756  * GL_ARB_imaging
757  */
758 
759 const GL_CONSTANT_COLOR = 0x8001;
760 const GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
761 const GL_CONSTANT_ALPHA = 0x8003;
762 const GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
763 const GL_COLOR_TABLE = 0x80D0;
764 const GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1;
765 const GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2;
766 const GL_PROXY_COLOR_TABLE = 0x80D3;
767 const GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4;
768 const GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5;
769 const GL_COLOR_TABLE_SCALE = 0x80D6;
770 const GL_COLOR_TABLE_BIAS = 0x80D7;
771 const GL_COLOR_TABLE_FORMAT = 0x80D8;
772 const GL_COLOR_TABLE_WIDTH = 0x80D9;
773 const GL_COLOR_TABLE_RED_SIZE = 0x80DA;
774 const GL_COLOR_TABLE_GREEN_SIZE = 0x80DB;
775 const GL_COLOR_TABLE_BLUE_SIZE = 0x80DC;
776 const GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD;
777 const GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE;
778 const GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF;
779 const GL_CONVOLUTION_1D = 0x8010;
780 const GL_CONVOLUTION_2D = 0x8011;
781 const GL_SEPARABLE_2D = 0x8012;
782 const GL_CONVOLUTION_BORDER_MODE = 0x8013;
783 const GL_CONVOLUTION_FILTER_SCALE = 0x8014;
784 const GL_CONVOLUTION_FILTER_BIAS = 0x8015;
785 const GL_REDUCE = 0x8016;
786 const GL_CONVOLUTION_FORMAT = 0x8017;
787 const GL_CONVOLUTION_WIDTH = 0x8018;
788 const GL_CONVOLUTION_HEIGHT = 0x8019;
789 const GL_MAX_CONVOLUTION_WIDTH = 0x801A;
790 const GL_MAX_CONVOLUTION_HEIGHT = 0x801B;
791 const GL_POST_CONVOLUTION_RED_SCALE = 0x801C;
792 const GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D;
793 const GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E;
794 const GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F;
795 const GL_POST_CONVOLUTION_RED_BIAS = 0x8020;
796 const GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021;
797 const GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022;
798 const GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023;
799 const GL_CONSTANT_BORDER = 0x8151;
800 const GL_REPLICATE_BORDER = 0x8153;
801 const GL_CONVOLUTION_BORDER_COLOR = 0x8154;
802 const GL_COLOR_MATRIX = 0x80B1;
803 const GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2;
804 const GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3;
805 const GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4;
806 const GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5;
807 const GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6;
808 const GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7;
809 const GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8;
810 const GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9;
811 const GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA;
812 const GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB;
813 const GL_HISTOGRAM = 0x8024;
814 const GL_PROXY_HISTOGRAM = 0x8025;
815 const GL_HISTOGRAM_WIDTH = 0x8026;
816 const GL_HISTOGRAM_FORMAT = 0x8027;
817 const GL_HISTOGRAM_RED_SIZE = 0x8028;
818 const GL_HISTOGRAM_GREEN_SIZE = 0x8029;
819 const GL_HISTOGRAM_BLUE_SIZE = 0x802A;
820 const GL_HISTOGRAM_ALPHA_SIZE = 0x802B;
821 const GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C;
822 const GL_HISTOGRAM_SINK = 0x802D;
823 const GL_MINMAX = 0x802E;
824 const GL_MINMAX_FORMAT = 0x802F;
825 const GL_MINMAX_SINK = 0x8030;
826 const GL_TABLE_TOO_LARGE = 0x8031;
827 const GL_BLEND_EQUATION = 0x8009;
828 const GL_MIN = 0x8007;
829 const GL_MAX = 0x8008;
830 const GL_FUNC_ADD = 0x8006;
831 const GL_FUNC_SUBTRACT = 0x800A;
832 const GL_FUNC_REVERSE_SUBTRACT = 0x800B;
833 
834 const GL_BLEND_COLOR = 0x8005;
835 
836 alias void  function(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)PFNGLBLENDCOLORPROC;
837 alias void  function(GLenum mode)PFNGLBLENDEQUATIONPROC;
838 alias void  function(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid *table)PFNGLCOLORTABLEPROC;
839 alias void  function(GLenum target, GLenum pname, GLfloat *params)PFNGLCOLORTABLEPARAMETERFVPROC;
840 alias void  function(GLenum target, GLenum pname, GLint *params)PFNGLCOLORTABLEPARAMETERIVPROC;
841 alias void  function(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)PFNGLCOPYCOLORTABLEPROC;
842 alias void  function(GLenum target, GLenum format, GLenum type, GLvoid *table)PFNGLGETCOLORTABLEPROC;
843 alias void  function(GLenum target, GLenum pname, GLfloat *params)PFNGLGETCOLORTABLEPARAMETERFVPROC;
844 alias void  function(GLenum target, GLenum pname, GLint *params)PFNGLGETCOLORTABLEPARAMETERIVPROC;
845 alias void  function(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, GLvoid *data)PFNGLCOLORSUBTABLEPROC;
846 alias void  function(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width)PFNGLCOPYCOLORSUBTABLEPROC;
847 alias void  function(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid *image)PFNGLCONVOLUTIONFILTER1DPROC;
848 alias void  function(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *image)PFNGLCONVOLUTIONFILTER2DPROC;
849 alias void  function(GLenum target, GLenum pname, GLfloat params)PFNGLCONVOLUTIONPARAMETERFPROC;
850 alias void  function(GLenum target, GLenum pname, GLfloat *params)PFNGLCONVOLUTIONPARAMETERFVPROC;
851 alias void  function(GLenum target, GLenum pname, GLint params)PFNGLCONVOLUTIONPARAMETERIPROC;
852 alias void  function(GLenum target, GLenum pname, GLint *params)PFNGLCONVOLUTIONPARAMETERIVPROC;
853 alias void  function(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)PFNGLCOPYCONVOLUTIONFILTER1DPROC;
854 alias void  function(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height)PFNGLCOPYCONVOLUTIONFILTER2DPROC;
855 alias void  function(GLenum target, GLenum format, GLenum type, GLvoid *image)PFNGLGETCONVOLUTIONFILTERPROC;
856 alias void  function(GLenum target, GLenum pname, GLfloat *params)PFNGLGETCONVOLUTIONPARAMETERFVPROC;
857 alias void  function(GLenum target, GLenum pname, GLint *params)PFNGLGETCONVOLUTIONPARAMETERIVPROC;
858 alias void  function(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span)PFNGLGETSEPARABLEFILTERPROC;
859 alias void  function(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *row, GLvoid *column)PFNGLSEPARABLEFILTER2DPROC;
860 alias void  function(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)PFNGLGETHISTOGRAMPROC;
861 alias void  function(GLenum target, GLenum pname, GLfloat *params)PFNGLGETHISTOGRAMPARAMETERFVPROC;
862 alias void  function(GLenum target, GLenum pname, GLint *params)PFNGLGETHISTOGRAMPARAMETERIVPROC;
863 alias void  function(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)PFNGLGETMINMAXPROC;
864 alias void  function(GLenum target, GLenum pname, GLfloat *params)PFNGLGETMINMAXPARAMETERFVPROC;
865 alias void  function(GLenum target, GLenum pname, GLint *params)PFNGLGETMINMAXPARAMETERIVPROC;
866 alias void  function(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink)PFNGLHISTOGRAMPROC;
867 alias void  function(GLenum target, GLenum internalformat, GLboolean sink)PFNGLMINMAXPROC;
868 alias void  function(GLenum target)PFNGLRESETHISTOGRAMPROC;
869 alias void  function(GLenum target)PFNGLRESETMINMAXPROC;
870 
871 
872 
873 /*
874  * OpenGL 1.3
875  */
876 
877 /* multitexture */
878 const GL_TEXTURE0 = 0x84C0;
879 const GL_TEXTURE1 = 0x84C1;
880 const GL_TEXTURE2 = 0x84C2;
881 const GL_TEXTURE3 = 0x84C3;
882 const GL_TEXTURE4 = 0x84C4;
883 const GL_TEXTURE5 = 0x84C5;
884 const GL_TEXTURE6 = 0x84C6;
885 const GL_TEXTURE7 = 0x84C7;
886 const GL_TEXTURE8 = 0x84C8;
887 const GL_TEXTURE9 = 0x84C9;
888 const GL_TEXTURE10 = 0x84CA;
889 const GL_TEXTURE11 = 0x84CB;
890 const GL_TEXTURE12 = 0x84CC;
891 const GL_TEXTURE13 = 0x84CD;
892 const GL_TEXTURE14 = 0x84CE;
893 const GL_TEXTURE15 = 0x84CF;
894 const GL_TEXTURE16 = 0x84D0;
895 const GL_TEXTURE17 = 0x84D1;
896 const GL_TEXTURE18 = 0x84D2;
897 const GL_TEXTURE19 = 0x84D3;
898 const GL_TEXTURE20 = 0x84D4;
899 const GL_TEXTURE21 = 0x84D5;
900 const GL_TEXTURE22 = 0x84D6;
901 const GL_TEXTURE23 = 0x84D7;
902 const GL_TEXTURE24 = 0x84D8;
903 const GL_TEXTURE25 = 0x84D9;
904 const GL_TEXTURE26 = 0x84DA;
905 const GL_TEXTURE27 = 0x84DB;
906 const GL_TEXTURE28 = 0x84DC;
907 const GL_TEXTURE29 = 0x84DD;
908 const GL_TEXTURE30 = 0x84DE;
909 const GL_TEXTURE31 = 0x84DF;
910 const GL_ACTIVE_TEXTURE = 0x84E0;
911 const GL_CLIENT_ACTIVE_TEXTURE = 0x84E1;
912 /* texture_cube_map */
913 const GL_MAX_TEXTURE_UNITS = 0x84E2;
914 const GL_NORMAL_MAP = 0x8511;
915 const GL_REFLECTION_MAP = 0x8512;
916 const GL_TEXTURE_CUBE_MAP = 0x8513;
917 const GL_TEXTURE_BINDING_CUBE_MAP = 0x8514;
918 const GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
919 const GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
920 const GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
921 const GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
922 const GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
923 const GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
924 const GL_PROXY_TEXTURE_CUBE_MAP = 0x851B;
925 /* texture_compression */
926 const GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
927 const GL_COMPRESSED_ALPHA = 0x84E9;
928 const GL_COMPRESSED_LUMINANCE = 0x84EA;
929 const GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB;
930 const GL_COMPRESSED_INTENSITY = 0x84EC;
931 const GL_COMPRESSED_RGB = 0x84ED;
932 const GL_COMPRESSED_RGBA = 0x84EE;
933 const GL_TEXTURE_COMPRESSION_HINT = 0x84EF;
934 const GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0;
935 const GL_TEXTURE_COMPRESSED = 0x86A1;
936 const GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
937 /* multisample */
938 const GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3;
939 const GL_MULTISAMPLE = 0x809D;
940 const GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
941 const GL_SAMPLE_ALPHA_TO_ONE = 0x809F;
942 const GL_SAMPLE_COVERAGE = 0x80A0;
943 const GL_SAMPLE_BUFFERS = 0x80A8;
944 const GL_SAMPLES = 0x80A9;
945 const GL_SAMPLE_COVERAGE_VALUE = 0x80AA;
946 const GL_SAMPLE_COVERAGE_INVERT = 0x80AB;
947 /* transpose_matrix */
948 const GL_MULTISAMPLE_BIT = 0x20000000;
949 const GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3;
950 const GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4;
951 const GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5;
952 /* texture_env_combine */
953 const GL_TRANSPOSE_COLOR_MATRIX = 0x84E6;
954 const GL_COMBINE = 0x8570;
955 const GL_COMBINE_RGB = 0x8571;
956 const GL_COMBINE_ALPHA = 0x8572;
957 const GL_SOURCE0_RGB = 0x8580;
958 const GL_SOURCE1_RGB = 0x8581;
959 const GL_SOURCE2_RGB = 0x8582;
960 const GL_SOURCE0_ALPHA = 0x8588;
961 const GL_SOURCE1_ALPHA = 0x8589;
962 const GL_SOURCE2_ALPHA = 0x858A;
963 const GL_OPERAND0_RGB = 0x8590;
964 const GL_OPERAND1_RGB = 0x8591;
965 const GL_OPERAND2_RGB = 0x8592;
966 const GL_OPERAND0_ALPHA = 0x8598;
967 const GL_OPERAND1_ALPHA = 0x8599;
968 const GL_OPERAND2_ALPHA = 0x859A;
969 const GL_RGB_SCALE = 0x8573;
970 const GL_ADD_SIGNED = 0x8574;
971 const GL_INTERPOLATE = 0x8575;
972 const GL_SUBTRACT = 0x84E7;
973 const GL_CONSTANT = 0x8576;
974 const GL_PRIMARY_COLOR = 0x8577;
975 /* texture_env_dot3 */
976 const GL_PREVIOUS = 0x8578;
977 const GL_DOT3_RGB = 0x86AE;
978 /* texture_border_clamp */
979 const GL_DOT3_RGBA = 0x86AF;
980 
981 const GL_CLAMP_TO_BORDER = 0x812D;
982 
983 alias void  function(GLenum texture)PFNGLACTIVETEXTUREPROC;
984 alias void  function(GLenum texture)PFNGLCLIENTACTIVETEXTUREPROC;
985 alias void  function(GLenum target, GLdouble s)PFNGLMULTITEXCOORD1DPROC;
986 alias void  function(GLenum target, GLdouble *v)PFNGLMULTITEXCOORD1DVPROC;
987 alias void  function(GLenum target, GLfloat s)PFNGLMULTITEXCOORD1FPROC;
988 alias void  function(GLenum target, GLfloat *v)PFNGLMULTITEXCOORD1FVPROC;
989 alias void  function(GLenum target, GLint s)PFNGLMULTITEXCOORD1IPROC;
990 alias void  function(GLenum target, GLint *v)PFNGLMULTITEXCOORD1IVPROC;
991 alias void  function(GLenum target, GLshort s)PFNGLMULTITEXCOORD1SPROC;
992 alias void  function(GLenum target, GLshort *v)PFNGLMULTITEXCOORD1SVPROC;
993 alias void  function(GLenum target, GLdouble s, GLdouble t)PFNGLMULTITEXCOORD2DPROC;
994 alias void  function(GLenum target, GLdouble *v)PFNGLMULTITEXCOORD2DVPROC;
995 alias void  function(GLenum target, GLfloat s, GLfloat t)PFNGLMULTITEXCOORD2FPROC;
996 alias void  function(GLenum target, GLfloat *v)PFNGLMULTITEXCOORD2FVPROC;
997 alias void  function(GLenum target, GLint s, GLint t)PFNGLMULTITEXCOORD2IPROC;
998 alias void  function(GLenum target, GLint *v)PFNGLMULTITEXCOORD2IVPROC;
999 alias void  function(GLenum target, GLshort s, GLshort t)PFNGLMULTITEXCOORD2SPROC;
1000 alias void  function(GLenum target, GLshort *v)PFNGLMULTITEXCOORD2SVPROC;
1001 alias void  function(GLenum target, GLdouble s, GLdouble t, GLdouble r)PFNGLMULTITEXCOORD3DPROC;
1002 alias void  function(GLenum target, GLdouble *v)PFNGLMULTITEXCOORD3DVPROC;
1003 alias void  function(GLenum target, GLfloat s, GLfloat t, GLfloat r)PFNGLMULTITEXCOORD3FPROC;
1004 alias void  function(GLenum target, GLfloat *v)PFNGLMULTITEXCOORD3FVPROC;
1005 alias void  function(GLenum target, GLint s, GLint t, GLint r)PFNGLMULTITEXCOORD3IPROC;
1006 alias void  function(GLenum target, GLint *v)PFNGLMULTITEXCOORD3IVPROC;
1007 alias void  function(GLenum target, GLshort s, GLshort t, GLshort r)PFNGLMULTITEXCOORD3SPROC;
1008 alias void  function(GLenum target, GLshort *v)PFNGLMULTITEXCOORD3SVPROC;
1009 alias void  function(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q)PFNGLMULTITEXCOORD4DPROC;
1010 alias void  function(GLenum target, GLdouble *v)PFNGLMULTITEXCOORD4DVPROC;
1011 alias void  function(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)PFNGLMULTITEXCOORD4FPROC;
1012 alias void  function(GLenum target, GLfloat *v)PFNGLMULTITEXCOORD4FVPROC;
1013 alias void  function(GLenum target, GLint s, GLint t, GLint r, GLint q)PFNGLMULTITEXCOORD4IPROC;
1014 alias void  function(GLenum target, GLint *v)PFNGLMULTITEXCOORD4IVPROC;
1015 alias void  function(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q)PFNGLMULTITEXCOORD4SPROC;
1016 alias void  function(GLenum target, GLshort *v)PFNGLMULTITEXCOORD4SVPROC;
1017 alias void  function(GLfloat *m)PFNGLLOADTRANSPOSEMATRIXFPROC;
1018 alias void  function(GLdouble *m)PFNGLLOADTRANSPOSEMATRIXDPROC;
1019 alias void  function(GLfloat *m)PFNGLMULTTRANSPOSEMATRIXFPROC;
1020 alias void  function(GLdouble *m)PFNGLMULTTRANSPOSEMATRIXDPROC;
1021 alias void  function(GLclampf value, GLboolean invert)PFNGLSAMPLECOVERAGEPROC;
1022 alias void  function(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLvoid *data)PFNGLCOMPRESSEDTEXIMAGE3DPROC;
1023 alias void  function(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid *data)PFNGLCOMPRESSEDTEXIMAGE2DPROC;
1024 alias void  function(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, GLvoid *data)PFNGLCOMPRESSEDTEXIMAGE1DPROC;
1025 alias void  function(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLvoid *data)PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC;
1026 alias void  function(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid *data)PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC;
1027 alias void  function(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, GLvoid *data)PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC;
1028 alias void  function(GLenum target, GLint level, void *img)PFNGLGETCOMPRESSEDTEXIMAGEPROC;
1029 
1030 
1031 /*
1032  * GL_ARB_multitexture (ARB extension 1 and OpenGL 1.2.1)
1033  */
1034 
1035 const GL_ARB_multitexture = 1;
1036 const GL_TEXTURE0_ARB = 0x84C0;
1037 const GL_TEXTURE1_ARB = 0x84C1;
1038 const GL_TEXTURE2_ARB = 0x84C2;
1039 const GL_TEXTURE3_ARB = 0x84C3;
1040 const GL_TEXTURE4_ARB = 0x84C4;
1041 const GL_TEXTURE5_ARB = 0x84C5;
1042 const GL_TEXTURE6_ARB = 0x84C6;
1043 const GL_TEXTURE7_ARB = 0x84C7;
1044 const GL_TEXTURE8_ARB = 0x84C8;
1045 const GL_TEXTURE9_ARB = 0x84C9;
1046 const GL_TEXTURE10_ARB = 0x84CA;
1047 const GL_TEXTURE11_ARB = 0x84CB;
1048 const GL_TEXTURE12_ARB = 0x84CC;
1049 const GL_TEXTURE13_ARB = 0x84CD;
1050 const GL_TEXTURE14_ARB = 0x84CE;
1051 const GL_TEXTURE15_ARB = 0x84CF;
1052 const GL_TEXTURE16_ARB = 0x84D0;
1053 const GL_TEXTURE17_ARB = 0x84D1;
1054 const GL_TEXTURE18_ARB = 0x84D2;
1055 const GL_TEXTURE19_ARB = 0x84D3;
1056 const GL_TEXTURE20_ARB = 0x84D4;
1057 const GL_TEXTURE21_ARB = 0x84D5;
1058 const GL_TEXTURE22_ARB = 0x84D6;
1059 const GL_TEXTURE23_ARB = 0x84D7;
1060 const GL_TEXTURE24_ARB = 0x84D8;
1061 const GL_TEXTURE25_ARB = 0x84D9;
1062 const GL_TEXTURE26_ARB = 0x84DA;
1063 const GL_TEXTURE27_ARB = 0x84DB;
1064 const GL_TEXTURE28_ARB = 0x84DC;
1065 const GL_TEXTURE29_ARB = 0x84DD;
1066 const GL_TEXTURE30_ARB = 0x84DE;
1067 const GL_TEXTURE31_ARB = 0x84DF;
1068 const GL_ACTIVE_TEXTURE_ARB = 0x84E0;
1069 const GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1;
1070 
1071 const GL_MAX_TEXTURE_UNITS_ARB = 0x84E2;
1072 
1073 alias void  function(GLenum texture)PFNGLACTIVETEXTUREARBPROC;
1074 alias void  function(GLenum texture)PFNGLCLIENTACTIVETEXTUREARBPROC;
1075 alias void  function(GLenum target, GLdouble s)PFNGLMULTITEXCOORD1DARBPROC;
1076 alias void  function(GLenum target, GLdouble *v)PFNGLMULTITEXCOORD1DVARBPROC;
1077 alias void  function(GLenum target, GLfloat s)PFNGLMULTITEXCOORD1FARBPROC;
1078 alias void  function(GLenum target, GLfloat *v)PFNGLMULTITEXCOORD1FVARBPROC;
1079 alias void  function(GLenum target, GLint s)PFNGLMULTITEXCOORD1IARBPROC;
1080 alias void  function(GLenum target, GLint *v)PFNGLMULTITEXCOORD1IVARBPROC;
1081 alias void  function(GLenum target, GLshort s)PFNGLMULTITEXCOORD1SARBPROC;
1082 alias void  function(GLenum target, GLshort *v)PFNGLMULTITEXCOORD1SVARBPROC;
1083 alias void  function(GLenum target, GLdouble s, GLdouble t)PFNGLMULTITEXCOORD2DARBPROC;
1084 alias void  function(GLenum target, GLdouble *v)PFNGLMULTITEXCOORD2DVARBPROC;
1085 alias void  function(GLenum target, GLfloat s, GLfloat t)PFNGLMULTITEXCOORD2FARBPROC;
1086 alias void  function(GLenum target, GLfloat *v)PFNGLMULTITEXCOORD2FVARBPROC;
1087 alias void  function(GLenum target, GLint s, GLint t)PFNGLMULTITEXCOORD2IARBPROC;
1088 alias void  function(GLenum target, GLint *v)PFNGLMULTITEXCOORD2IVARBPROC;
1089 alias void  function(GLenum target, GLshort s, GLshort t)PFNGLMULTITEXCOORD2SARBPROC;
1090 alias void  function(GLenum target, GLshort *v)PFNGLMULTITEXCOORD2SVARBPROC;
1091 alias void  function(GLenum target, GLdouble s, GLdouble t, GLdouble r)PFNGLMULTITEXCOORD3DARBPROC;
1092 alias void  function(GLenum target, GLdouble *v)PFNGLMULTITEXCOORD3DVARBPROC;
1093 alias void  function(GLenum target, GLfloat s, GLfloat t, GLfloat r)PFNGLMULTITEXCOORD3FARBPROC;
1094 alias void  function(GLenum target, GLfloat *v)PFNGLMULTITEXCOORD3FVARBPROC;
1095 alias void  function(GLenum target, GLint s, GLint t, GLint r)PFNGLMULTITEXCOORD3IARBPROC;
1096 alias void  function(GLenum target, GLint *v)PFNGLMULTITEXCOORD3IVARBPROC;
1097 alias void  function(GLenum target, GLshort s, GLshort t, GLshort r)PFNGLMULTITEXCOORD3SARBPROC;
1098 alias void  function(GLenum target, GLshort *v)PFNGLMULTITEXCOORD3SVARBPROC;
1099 alias void  function(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q)PFNGLMULTITEXCOORD4DARBPROC;
1100 alias void  function(GLenum target, GLdouble *v)PFNGLMULTITEXCOORD4DVARBPROC;
1101 alias void  function(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)PFNGLMULTITEXCOORD4FARBPROC;
1102 alias void  function(GLenum target, GLfloat *v)PFNGLMULTITEXCOORD4FVARBPROC;
1103 alias void  function(GLenum target, GLint s, GLint t, GLint r, GLint q)PFNGLMULTITEXCOORD4IARBPROC;
1104 alias void  function(GLenum target, GLint *v)PFNGLMULTITEXCOORD4IVARBPROC;
1105 alias void  function(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q)PFNGLMULTITEXCOORD4SARBPROC;
1106 alias void  function(GLenum target, GLshort *v)PFNGLMULTITEXCOORD4SVARBPROC;
1107 
1108 
1109 
1110 
1111 //#include <GL/glext.h>
1112 
1113 
1114 /*
1115  * ???. GL_MESA_trace
1116  * XXX obsolete
1117  */
1118 
1119 const GL_MESA_trace = 1;
1120 const GL_TRACE_ALL_BITS_MESA = 0xFFFF;
1121 const GL_TRACE_OPERATIONS_BIT_MESA = 0x0001;
1122 const GL_TRACE_PRIMITIVES_BIT_MESA = 0x0002;
1123 const GL_TRACE_ARRAYS_BIT_MESA = 0x0004;
1124 const GL_TRACE_TEXTURES_BIT_MESA = 0x0008;
1125 const GL_TRACE_PIXELS_BIT_MESA = 0x0010;
1126 const GL_TRACE_ERRORS_BIT_MESA = 0x0020;
1127 const GL_TRACE_MASK_MESA = 0x8755;
1128 
1129 const GL_TRACE_NAME_MESA = 0x8756;
1130 
1131  
1132  
1133 
1134 
1135 
1136 /*
1137  * ???. GL_MESA_packed_depth_stencil
1138  * XXX obsolete
1139  */
1140 
1141 const GL_MESA_packed_depth_stencil = 1;
1142 const GL_DEPTH_STENCIL_MESA = 0x8750;
1143 const GL_UNSIGNED_INT_24_8_MESA = 0x8751;
1144 const GL_UNSIGNED_INT_8_24_REV_MESA = 0x8752;
1145 const GL_UNSIGNED_SHORT_15_1_MESA = 0x8753;
1146 
1147 const GL_UNSIGNED_SHORT_1_15_REV_MESA = 0x8754;
1148 
1149 
1150 
1151 const GL_MESA_program_debug = 1;
1152 const GL_FRAGMENT_PROGRAM_POSITION_MESA = 0x8bb0;
1153 const GL_FRAGMENT_PROGRAM_CALLBACK_MESA = 0x8bb1;
1154 const GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA = 0x8bb2;
1155 const GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA = 0x8bb3;
1156 const GL_VERTEX_PROGRAM_POSITION_MESA = 0x8bb4;
1157 const GL_VERTEX_PROGRAM_CALLBACK_MESA = 0x8bb5;
1158 const GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA = 0x8bb6;
1159 
1160 const GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA = 0x8bb7;
1161 
1162 
1163 
1164 
1165 
1166 
1167 
1168 const GL_ATI_blend_equation_separate = 1;
1169 
1170 const GL_ALPHA_BLEND_EQUATION_ATI = 0x883D;
1171 
1172 alias void  function(GLenum modeRGB, GLenum modeA)PFNGLBLENDEQUATIONSEPARATEATIPROC;
1173 
1174 extern(System)
1175 {	
1176 	/*
1177 	 * Miscellaneous
1178 	 */
1179 	
1180 	void  glClearIndex(GLfloat c);
1181 	
1182 	void  glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1183 	
1184 	void  glClear(GLbitfield mask);
1185 	
1186 	void  glIndexMask(GLuint mask);
1187 	
1188 	void  glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
1189 	
1190 	void  glAlphaFunc(GLenum func, GLclampf refc);
1191 	
1192 	void  glBlendFunc(GLenum sfactor, GLenum dfactor);
1193 	
1194 	void  glLogicOp(GLenum opcode);
1195 	
1196 	void  glCullFace(GLenum mode);
1197 	
1198 	void  glFrontFace(GLenum mode);
1199 	
1200 	void  glPointSize(GLfloat size);
1201 	
1202 	void  glLineWidth(GLfloat width);
1203 	
1204 	void  glLineStipple(GLint factor, GLushort pattern);
1205 	
1206 	void  glPolygonMode(GLenum face, GLenum mode);
1207 	
1208 	void  glPolygonOffset(GLfloat factor, GLfloat units);
1209 	
1210 	void  glPolygonStipple(GLubyte *mask);
1211 	
1212 	void  glGetPolygonStipple(GLubyte *mask);
1213 	
1214 	void  glEdgeFlag(GLboolean flag);
1215 	
1216 	void  glEdgeFlagv(GLboolean *flag);
1217 	
1218 	void  glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
1219 	
1220 	void  glClipPlane(GLenum plane, GLdouble *equation);
1221 	
1222 	void  glGetClipPlane(GLenum plane, GLdouble *equation);
1223 	
1224 	void  glDrawBuffer(GLenum mode);
1225 	
1226 	void  glReadBuffer(GLenum mode);
1227 	
1228 	void  glEnable(GLenum cap);
1229 	
1230 	void  glDisable(GLenum cap);
1231 	
1232 	GLboolean  glIsEnabled(GLenum cap);
1233 	
1234 	
1235 	void  glEnableClientState(GLenum cap);
1236 	
1237 	void  glDisableClientState(GLenum cap);
1238 	
1239 	
1240 	void  glGetBooleanv(GLenum pname, GLboolean *params);
1241 	
1242 	void  glGetDoublev(GLenum pname, GLdouble *params);
1243 	
1244 	void  glGetFloatv(GLenum pname, GLfloat *params);
1245 	
1246 	void  glGetIntegerv(GLenum pname, GLint *params);
1247 	
1248 	
1249 	void  glPushAttrib(GLbitfield mask);
1250 	
1251 	void  glPopAttrib();
1252 	
1253 	
1254 	void  glPushClientAttrib(GLbitfield mask);
1255 	
1256 	void  glPopClientAttrib();
1257 	
1258 	
1259 	GLint  glRenderMode(GLenum mode);
1260 	
1261 	GLenum  glGetError();
1262 	
1263 	GLubyte * glGetString(GLenum name);
1264 	
1265 	void  glFinish();
1266 	
1267 	void  glFlush();
1268 	
1269 	void  glHint(GLenum target, GLenum mode);
1270 	
1271 	
1272 	/*
1273 	 * Depth Buffer
1274 	 */
1275 	
1276 	void  glClearDepth(GLclampd depth);
1277 	
1278 	void  glDepthFunc(GLenum func);
1279 	
1280 	void  glDepthMask(GLboolean flag);
1281 	
1282 	void  glDepthRange(GLclampd near_val, GLclampd far_val);
1283 	
1284 	
1285 	/*
1286 	 * Accumulation Buffer
1287 	 */
1288 	
1289 	void  glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
1290 	
1291 	void  glAccum(GLenum op, GLfloat value);
1292 	
1293 	
1294 	/*
1295 	 * Transformation
1296 	 */
1297 	
1298 	void  glMatrixMode(GLenum mode);
1299 	
1300 	void  glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val);
1301 	
1302 	void  glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val);
1303 	
1304 	void  glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
1305 	
1306 	void  glPushMatrix();
1307 	
1308 	void  glPopMatrix();
1309 	
1310 	void  glLoadIdentity();
1311 	
1312 	void  glLoadMatrixd(GLdouble *m);
1313 	void  glLoadMatrixf(GLfloat *m);
1314 	
1315 	void  glMultMatrixd(GLdouble *m);
1316 	void  glMultMatrixf(GLfloat *m);
1317 	
1318 	void  glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1319 	void  glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1320 	
1321 	void  glScaled(GLdouble x, GLdouble y, GLdouble z);
1322 	void  glScalef(GLfloat x, GLfloat y, GLfloat z);
1323 	
1324 	void  glTranslated(GLdouble x, GLdouble y, GLdouble z);
1325 	void  glTranslatef(GLfloat x, GLfloat y, GLfloat z);
1326 	
1327 	
1328 	/*
1329 	 * Display Lists
1330 	 */
1331 	
1332 	GLboolean  glIsList(GLuint list);
1333 	
1334 	void  glDeleteLists(GLuint list, GLsizei range);
1335 	
1336 	GLuint  glGenLists(GLsizei range);
1337 	
1338 	void  glNewList(GLuint list, GLenum mode);
1339 	
1340 	void  glEndList();
1341 	
1342 	void  glCallList(GLuint list);
1343 	
1344 	void  glCallLists(GLsizei n, GLenum type, GLvoid *lists);
1345 	
1346 	void  glListBase(GLuint base);
1347 	
1348 	
1349 	/*
1350 	 * Drawing Functions
1351 	 */
1352 	
1353 	void  glBegin(GLenum mode);
1354 	
1355 	void  glEnd();
1356 	
1357 	
1358 	void  glVertex2d(GLdouble x, GLdouble y);
1359 	void  glVertex2f(GLfloat x, GLfloat y);
1360 	void  glVertex2i(GLint x, GLint y);
1361 	void  glVertex2s(GLshort x, GLshort y);
1362 	
1363 	void  glVertex3d(GLdouble x, GLdouble y, GLdouble z);
1364 	void  glVertex3f(GLfloat x, GLfloat y, GLfloat z);
1365 	void  glVertex3i(GLint x, GLint y, GLint z);
1366 	void  glVertex3s(GLshort x, GLshort y, GLshort z);
1367 	
1368 	void  glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1369 	void  glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1370 	void  glVertex4i(GLint x, GLint y, GLint z, GLint w);
1371 	void  glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
1372 	
1373 	void  glVertex2dv(GLdouble *v);
1374 	void  glVertex2fv(GLfloat *v);
1375 	void  glVertex2iv(GLint *v);
1376 	void  glVertex2sv(GLshort *v);
1377 	
1378 	void  glVertex3dv(GLdouble *v);
1379 	void  glVertex3fv(GLfloat *v);
1380 	void  glVertex3iv(GLint *v);
1381 	void  glVertex3sv(GLshort *v);
1382 	
1383 	void  glVertex4dv(GLdouble *v);
1384 	void  glVertex4fv(GLfloat *v);
1385 	void  glVertex4iv(GLint *v);
1386 	void  glVertex4sv(GLshort *v);
1387 	
1388 	
1389 	void  glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
1390 	void  glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
1391 	void  glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
1392 	void  glNormal3i(GLint nx, GLint ny, GLint nz);
1393 	void  glNormal3s(GLshort nx, GLshort ny, GLshort nz);
1394 	
1395 	void  glNormal3bv(GLbyte *v);
1396 	void  glNormal3dv(GLdouble *v);
1397 	void  glNormal3fv(GLfloat *v);
1398 	void  glNormal3iv(GLint *v);
1399 	void  glNormal3sv(GLshort *v);
1400 	
1401 	
1402 	void  glIndexd(GLdouble c);
1403 	void  glIndexf(GLfloat c);
1404 	void  glIndexi(GLint c);
1405 	void  glIndexs(GLshort c);
1406 	void  glIndexub(GLubyte c);
1407 	
1408 	void  glIndexdv(GLdouble *c);
1409 	void  glIndexfv(GLfloat *c);
1410 	void  glIndexiv(GLint *c);
1411 	void  glIndexsv(GLshort *c);
1412 	void  glIndexubv(GLubyte *c);
1413 	
1414 	void  glColor3b(GLbyte red, GLbyte green, GLbyte blue);
1415 	void  glColor3d(GLdouble red, GLdouble green, GLdouble blue);
1416 	void  glColor3f(GLfloat red, GLfloat green, GLfloat blue);
1417 	void  glColor3i(GLint red, GLint green, GLint blue);
1418 	void  glColor3s(GLshort red, GLshort green, GLshort blue);
1419 	void  glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
1420 	void  glColor3ui(GLuint red, GLuint green, GLuint blue);
1421 	void  glColor3us(GLushort red, GLushort green, GLushort blue);
1422 	
1423 	void  glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
1424 	void  glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
1425 	void  glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
1426 	void  glColor4i(GLint red, GLint green, GLint blue, GLint alpha);
1427 	void  glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
1428 	void  glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
1429 	void  glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
1430 	void  glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
1431 	
1432 	
1433 	void  glColor3bv(GLbyte *v);
1434 	void  glColor3dv(GLdouble *v);
1435 	void  glColor3fv(GLfloat *v);
1436 	void  glColor3iv(GLint *v);
1437 	void  glColor3sv(GLshort *v);
1438 	void  glColor3ubv(GLubyte *v);
1439 	void  glColor3uiv(GLuint *v);
1440 	void  glColor3usv(GLushort *v);
1441 	
1442 	void  glColor4bv(GLbyte *v);
1443 	void  glColor4dv(GLdouble *v);
1444 	void  glColor4fv(GLfloat *v);
1445 	void  glColor4iv(GLint *v);
1446 	void  glColor4sv(GLshort *v);
1447 	void  glColor4ubv(GLubyte *v);
1448 	void  glColor4uiv(GLuint *v);
1449 	void  glColor4usv(GLushort *v);
1450 	
1451 	
1452 	void  glTexCoord1d(GLdouble s);
1453 	void  glTexCoord1f(GLfloat s);
1454 	void  glTexCoord1i(GLint s);
1455 	void  glTexCoord1s(GLshort s);
1456 	
1457 	void  glTexCoord2d(GLdouble s, GLdouble t);
1458 	void  glTexCoord2f(GLfloat s, GLfloat t);
1459 	void  glTexCoord2i(GLint s, GLint t);
1460 	void  glTexCoord2s(GLshort s, GLshort t);
1461 	
1462 	void  glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
1463 	void  glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
1464 	void  glTexCoord3i(GLint s, GLint t, GLint r);
1465 	void  glTexCoord3s(GLshort s, GLshort t, GLshort r);
1466 	
1467 	void  glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1468 	void  glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1469 	void  glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
1470 	void  glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
1471 	
1472 	void  glTexCoord1dv(GLdouble *v);
1473 	void  glTexCoord1fv(GLfloat *v);
1474 	void  glTexCoord1iv(GLint *v);
1475 	void  glTexCoord1sv(GLshort *v);
1476 	
1477 	void  glTexCoord2dv(GLdouble *v);
1478 	void  glTexCoord2fv(GLfloat *v);
1479 	void  glTexCoord2iv(GLint *v);
1480 	void  glTexCoord2sv(GLshort *v);
1481 	
1482 	void  glTexCoord3dv(GLdouble *v);
1483 	void  glTexCoord3fv(GLfloat *v);
1484 	void  glTexCoord3iv(GLint *v);
1485 	void  glTexCoord3sv(GLshort *v);
1486 	
1487 	void  glTexCoord4dv(GLdouble *v);
1488 	void  glTexCoord4fv(GLfloat *v);
1489 	void  glTexCoord4iv(GLint *v);
1490 	void  glTexCoord4sv(GLshort *v);
1491 	
1492 	
1493 	void  glRasterPos2d(GLdouble x, GLdouble y);
1494 	void  glRasterPos2f(GLfloat x, GLfloat y);
1495 	void  glRasterPos2i(GLint x, GLint y);
1496 	void  glRasterPos2s(GLshort x, GLshort y);
1497 	
1498 	void  glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
1499 	void  glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
1500 	void  glRasterPos3i(GLint x, GLint y, GLint z);
1501 	void  glRasterPos3s(GLshort x, GLshort y, GLshort z);
1502 	
1503 	void  glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1504 	void  glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1505 	void  glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
1506 	void  glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
1507 	
1508 	void  glRasterPos2dv(GLdouble *v);
1509 	void  glRasterPos2fv(GLfloat *v);
1510 	void  glRasterPos2iv(GLint *v);
1511 	void  glRasterPos2sv(GLshort *v);
1512 	
1513 	void  glRasterPos3dv(GLdouble *v);
1514 	void  glRasterPos3fv(GLfloat *v);
1515 	void  glRasterPos3iv(GLint *v);
1516 	void  glRasterPos3sv(GLshort *v);
1517 	
1518 	void  glRasterPos4dv(GLdouble *v);
1519 	void  glRasterPos4fv(GLfloat *v);
1520 	void  glRasterPos4iv(GLint *v);
1521 	void  glRasterPos4sv(GLshort *v);
1522 	
1523 	
1524 	void  glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1525 	void  glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1526 	void  glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
1527 	void  glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1528 	
1529 	
1530 	void  glRectdv(GLdouble *v1, GLdouble *v2);
1531 	void  glRectfv(GLfloat *v1, GLfloat *v2);
1532 	void  glRectiv(GLint *v1, GLint *v2);
1533 	void  glRectsv(GLshort *v1, GLshort *v2);
1534 	
1535 	
1536 	/*
1537 	 * Vertex Arrays  (1.1)
1538 	 */
1539 	
1540 	void  glVertexPointer(GLint size, GLenum type, GLsizei stride, GLvoid *ptr);
1541 	
1542 	void  glNormalPointer(GLenum type, GLsizei stride, GLvoid *ptr);
1543 	
1544 	void  glColorPointer(GLint size, GLenum type, GLsizei stride, GLvoid *ptr);
1545 	
1546 	void  glIndexPointer(GLenum type, GLsizei stride, GLvoid *ptr);
1547 	
1548 	void  glTexCoordPointer(GLint size, GLenum type, GLsizei stride, GLvoid *ptr);
1549 	
1550 	void  glEdgeFlagPointer(GLsizei stride, GLvoid *ptr);
1551 	
1552 	void  glGetPointerv(GLenum pname, GLvoid **params);
1553 	
1554 	void  glArrayElement(GLint i);
1555 	
1556 	void  glDrawArrays(GLenum mode, GLint first, GLsizei count);
1557 	
1558 	void  glDrawElements(GLenum mode, GLsizei count, GLenum type, GLvoid *indices);
1559 	
1560 	void  glInterleavedArrays(GLenum format, GLsizei stride, GLvoid *pointer);
1561 	
1562 	/*
1563 	 * Lighting
1564 	 */
1565 	
1566 	void  glShadeModel(GLenum mode);
1567 	
1568 	void  glLightf(GLenum light, GLenum pname, GLfloat param);
1569 	void  glLighti(GLenum light, GLenum pname, GLint param);
1570 	void  glLightfv(GLenum light, GLenum pname, GLfloat *params);
1571 	void  glLightiv(GLenum light, GLenum pname, GLint *params);
1572 	
1573 	void  glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
1574 	void  glGetLightiv(GLenum light, GLenum pname, GLint *params);
1575 	
1576 	void  glLightModelf(GLenum pname, GLfloat param);
1577 	void  glLightModeli(GLenum pname, GLint param);
1578 	void  glLightModelfv(GLenum pname, GLfloat *params);
1579 	void  glLightModeliv(GLenum pname, GLint *params);
1580 	
1581 	void  glMaterialf(GLenum face, GLenum pname, GLfloat param);
1582 	void  glMateriali(GLenum face, GLenum pname, GLint param);
1583 	void  glMaterialfv(GLenum face, GLenum pname, GLfloat *params);
1584 	void  glMaterialiv(GLenum face, GLenum pname, GLint *params);
1585 	
1586 	void  glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
1587 	void  glGetMaterialiv(GLenum face, GLenum pname, GLint *params);
1588 	
1589 	void  glColorMaterial(GLenum face, GLenum mode);
1590 	
1591 	
1592 	/*
1593 	 * Raster functions
1594 	 */
1595 	
1596 	void  glPixelZoom(GLfloat xfactor, GLfloat yfactor);
1597 	
1598 	void  glPixelStoref(GLenum pname, GLfloat param);
1599 	void  glPixelStorei(GLenum pname, GLint param);
1600 	
1601 	void  glPixelTransferf(GLenum pname, GLfloat param);
1602 	void  glPixelTransferi(GLenum pname, GLint param);
1603 	
1604 	void  glPixelMapfv(GLenum map, GLsizei mapsize, GLfloat *values);
1605 	void  glPixelMapuiv(GLenum map, GLsizei mapsize, GLuint *values);
1606 	void  glPixelMapusv(GLenum map, GLsizei mapsize, GLushort *values);
1607 	
1608 	void  glGetPixelMapfv(GLenum map, GLfloat *values);
1609 	void  glGetPixelMapuiv(GLenum map, GLuint *values);
1610 	void  glGetPixelMapusv(GLenum map, GLushort *values);
1611 	
1612 	void  glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte *bitmap);
1613 	
1614 	void  glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
1615 	
1616 	void  glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
1617 	
1618 	void  glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
1619 	
1620 	/*
1621 	 * Stenciling
1622 	 */
1623 	
1624 	void  glStencilFunc(GLenum func, GLint refc, GLuint mask);
1625 	
1626 	void  glStencilMask(GLuint mask);
1627 	
1628 	void  glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
1629 	
1630 	void  glClearStencil(GLint s);
1631 	
1632 	
1633 	
1634 	/*
1635 	 * Texture mapping
1636 	 */
1637 	
1638 	void  glTexGend(GLenum coord, GLenum pname, GLdouble param);
1639 	void  glTexGenf(GLenum coord, GLenum pname, GLfloat param);
1640 	void  glTexGeni(GLenum coord, GLenum pname, GLint param);
1641 	
1642 	void  glTexGendv(GLenum coord, GLenum pname, GLdouble *params);
1643 	void  glTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
1644 	void  glTexGeniv(GLenum coord, GLenum pname, GLint *params);
1645 	
1646 	void  glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params);
1647 	void  glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
1648 	void  glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
1649 	
1650 	
1651 	void  glTexEnvf(GLenum target, GLenum pname, GLfloat param);
1652 	void  glTexEnvi(GLenum target, GLenum pname, GLint param);
1653 	
1654 	void  glTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
1655 	void  glTexEnviv(GLenum target, GLenum pname, GLint *params);
1656 	
1657 	void  glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
1658 	void  glGetTexEnviv(GLenum target, GLenum pname, GLint *params);
1659 	
1660 	
1661 	void  glTexParameterf(GLenum target, GLenum pname, GLfloat param);
1662 	void  glTexParameteri(GLenum target, GLenum pname, GLint param);
1663 	
1664 	void  glTexParameterfv(GLenum target, GLenum pname, GLfloat *params);
1665 	void  glTexParameteriv(GLenum target, GLenum pname, GLint *params);
1666 	
1667 	void  glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params);
1668 	void  glGetTexParameteriv(GLenum target, GLenum pname, GLint *params);
1669 	
1670 	void  glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params);
1671 	void  glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
1672 	
1673 	
1674 	void  glTexImage1D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid *pixels);
1675 	
1676 	void  glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid *pixels);
1677 	
1678 	void  glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
1679 	
1680 	
1681 	/* 1.1 functions */
1682 	
1683 	void  glGenTextures(GLsizei n, GLuint *textures);
1684 	
1685 	void  glDeleteTextures(GLsizei n, GLuint *textures);
1686 	
1687 	void  glBindTexture(GLenum target, GLuint texture);
1688 	
1689 	void  glPrioritizeTextures(GLsizei n, GLuint *textures, GLclampf *priorities);
1690 	
1691 	GLboolean  glAreTexturesResident(GLsizei n, GLuint *textures, GLboolean *residences);
1692 	
1693 	GLboolean  glIsTexture(GLuint texture);
1694 	
1695 	
1696 	void  glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid *pixels);
1697 	
1698 	
1699 	void  glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
1700 	
1701 	
1702 	void  glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
1703 	
1704 	
1705 	void  glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
1706 	
1707 	
1708 	void  glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
1709 	
1710 	
1711 	void  glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1712 	
1713 	
1714 	/*
1715 	 * Evaluators
1716 	 */
1717 	
1718 	void  glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble *points);
1719 	void  glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat *points);
1720 	
1721 	void  glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble *points);
1722 	void  glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat *points);
1723 	
1724 	void  glGetMapdv(GLenum target, GLenum query, GLdouble *v);
1725 	void  glGetMapfv(GLenum target, GLenum query, GLfloat *v);
1726 	void  glGetMapiv(GLenum target, GLenum query, GLint *v);
1727 	
1728 	void  glEvalCoord1d(GLdouble u);
1729 	void  glEvalCoord1f(GLfloat u);
1730 	
1731 	void  glEvalCoord1dv(GLdouble *u);
1732 	void  glEvalCoord1fv(GLfloat *u);
1733 	
1734 	void  glEvalCoord2d(GLdouble u, GLdouble v);
1735 	void  glEvalCoord2f(GLfloat u, GLfloat v);
1736 	
1737 	void  glEvalCoord2dv(GLdouble *u);
1738 	void  glEvalCoord2fv(GLfloat *u);
1739 	
1740 	void  glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
1741 	void  glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
1742 	
1743 	void  glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
1744 	void  glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
1745 	
1746 	void  glEvalPoint1(GLint i);
1747 	
1748 	void  glEvalPoint2(GLint i, GLint j);
1749 	
1750 	void  glEvalMesh1(GLenum mode, GLint i1, GLint i2);
1751 	
1752 	void  glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
1753 	
1754 	
1755 	/*
1756 	 * Fog
1757 	 */
1758 	
1759 	void  glFogf(GLenum pname, GLfloat param);
1760 	
1761 	void  glFogi(GLenum pname, GLint param);
1762 	
1763 	void  glFogfv(GLenum pname, GLfloat *params);
1764 	
1765 	void  glFogiv(GLenum pname, GLint *params);
1766 	
1767 	
1768 	/*
1769 	 * Selection and Feedback
1770 	 */
1771 	
1772 	void  glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer);
1773 	
1774 	void  glPassThrough(GLfloat token);
1775 	
1776 	void  glSelectBuffer(GLsizei size, GLuint *buffer);
1777 	
1778 	void  glInitNames();
1779 	
1780 	void  glLoadName(GLuint name);
1781 	
1782 	void  glPushName(GLuint name);
1783 	
1784 	void  glPopName();
1785 	void  glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLvoid *indices);
1786 	
1787 	void  glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid *pixels);
1788 	
1789 	void  glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *pixels);
1790 	
1791 	void  glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1792 	
1793 	void  glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid *table);
1794 	
1795 	void  glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, GLvoid *data);
1796 	
1797 	void  glColorTableParameteriv(GLenum target, GLenum pname, GLint *params);
1798 	
1799 	void  glColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params);
1800 	
1801 	void  glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
1802 	
1803 	void  glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
1804 	
1805 	void  glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table);
1806 	
1807 	void  glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params);
1808 	
1809 	void  glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params);
1810 	
1811 	void  glBlendEquation(GLenum mode);
1812 	
1813 	void  glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1814 	
1815 	void  glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
1816 	
1817 	void  glResetHistogram(GLenum target);
1818 	
1819 	void  glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
1820 	
1821 	void  glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params);
1822 	
1823 	void  glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params);
1824 	
1825 	void  glMinmax(GLenum target, GLenum internalformat, GLboolean sink);
1826 	
1827 	void  glResetMinmax(GLenum target);
1828 	
1829 	void  glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values);
1830 	
1831 	void  glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params);
1832 	
1833 	void  glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params);
1834 	
1835 	void  glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid *image);
1836 	
1837 	void  glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *image);
1838 	
1839 	void  glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
1840 	
1841 	void  glConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
1842 	
1843 	void  glConvolutionParameteri(GLenum target, GLenum pname, GLint params);
1844 	
1845 	void  glConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
1846 	
1847 	void  glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
1848 	
1849 	void  glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
1850 	
1851 	void  glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image);
1852 	
1853 	void  glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
1854 	
1855 	void  glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
1856 	
1857 	void  glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *row, GLvoid *column);
1858 	
1859 	void  glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
1860 	void  glActiveTexture(GLenum texture);
1861 	
1862 	void  glClientActiveTexture(GLenum texture);
1863 	
1864 	void  glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, GLvoid *data);
1865 	
1866 	void  glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid *data);
1867 	
1868 	void  glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLvoid *data);
1869 	
1870 	void  glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, GLvoid *data);
1871 	
1872 	void  glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid *data);
1873 	
1874 	void  glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLvoid *data);
1875 	
1876 	void  glGetCompressedTexImage(GLenum target, GLint lod, GLvoid *img);
1877 	
1878 	void  glMultiTexCoord1d(GLenum target, GLdouble s);
1879 	
1880 	void  glMultiTexCoord1dv(GLenum target, GLdouble *v);
1881 	
1882 	void  glMultiTexCoord1f(GLenum target, GLfloat s);
1883 	
1884 	void  glMultiTexCoord1fv(GLenum target, GLfloat *v);
1885 	
1886 	void  glMultiTexCoord1i(GLenum target, GLint s);
1887 	
1888 	void  glMultiTexCoord1iv(GLenum target, GLint *v);
1889 	
1890 	void  glMultiTexCoord1s(GLenum target, GLshort s);
1891 	
1892 	void  glMultiTexCoord1sv(GLenum target, GLshort *v);
1893 	
1894 	void  glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t);
1895 	
1896 	void  glMultiTexCoord2dv(GLenum target, GLdouble *v);
1897 	
1898 	void  glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t);
1899 	
1900 	void  glMultiTexCoord2fv(GLenum target, GLfloat *v);
1901 	
1902 	void  glMultiTexCoord2i(GLenum target, GLint s, GLint t);
1903 	
1904 	void  glMultiTexCoord2iv(GLenum target, GLint *v);
1905 	
1906 	void  glMultiTexCoord2s(GLenum target, GLshort s, GLshort t);
1907 	
1908 	void  glMultiTexCoord2sv(GLenum target, GLshort *v);
1909 	
1910 	void  glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r);
1911 	
1912 	void  glMultiTexCoord3dv(GLenum target, GLdouble *v);
1913 	
1914 	void  glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r);
1915 	
1916 	void  glMultiTexCoord3fv(GLenum target, GLfloat *v);
1917 	
1918 	void  glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r);
1919 	
1920 	void  glMultiTexCoord3iv(GLenum target, GLint *v);
1921 	
1922 	void  glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r);
1923 	
1924 	void  glMultiTexCoord3sv(GLenum target, GLshort *v);
1925 	
1926 	void  glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1927 	
1928 	void  glMultiTexCoord4dv(GLenum target, GLdouble *v);
1929 	
1930 	void  glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1931 	
1932 	void  glMultiTexCoord4fv(GLenum target, GLfloat *v);
1933 	
1934 	void  glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q);
1935 	
1936 	void  glMultiTexCoord4iv(GLenum target, GLint *v);
1937 	
1938 	void  glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1939 	
1940 	void  glMultiTexCoord4sv(GLenum target, GLshort *v);
1941 	
1942 	
1943 	void  glLoadTransposeMatrixd(GLdouble *m);
1944 	
1945 	void  glLoadTransposeMatrixf(GLfloat *m);
1946 	
1947 	void  glMultTransposeMatrixd(GLdouble *m);
1948 	
1949 	void  glMultTransposeMatrixf(GLfloat *m);
1950 	
1951 	void  glSampleCoverage(GLclampf value, GLboolean invert);
1952 	void  glActiveTextureARB(GLenum texture);
1953 	void  glClientActiveTextureARB(GLenum texture);
1954 	void  glMultiTexCoord1dARB(GLenum target, GLdouble s);
1955 	void  glMultiTexCoord1dvARB(GLenum target, GLdouble *v);
1956 	void  glMultiTexCoord1fARB(GLenum target, GLfloat s);
1957 	void  glMultiTexCoord1fvARB(GLenum target, GLfloat *v);
1958 	void  glMultiTexCoord1iARB(GLenum target, GLint s);
1959 	void  glMultiTexCoord1ivARB(GLenum target, GLint *v);
1960 	void  glMultiTexCoord1sARB(GLenum target, GLshort s);
1961 	void  glMultiTexCoord1svARB(GLenum target, GLshort *v);
1962 	void  glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t);
1963 	void  glMultiTexCoord2dvARB(GLenum target, GLdouble *v);
1964 	void  glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
1965 	void  glMultiTexCoord2fvARB(GLenum target, GLfloat *v);
1966 	void  glMultiTexCoord2iARB(GLenum target, GLint s, GLint t);
1967 	void  glMultiTexCoord2ivARB(GLenum target, GLint *v);
1968 	void  glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t);
1969 	void  glMultiTexCoord2svARB(GLenum target, GLshort *v);
1970 	void  glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r);
1971 	void  glMultiTexCoord3dvARB(GLenum target, GLdouble *v);
1972 	void  glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r);
1973 	void  glMultiTexCoord3fvARB(GLenum target, GLfloat *v);
1974 	void  glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r);
1975 	void  glMultiTexCoord3ivARB(GLenum target, GLint *v);
1976 	void  glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r);
1977 	void  glMultiTexCoord3svARB(GLenum target, GLshort *v);
1978 	void  glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1979 	void  glMultiTexCoord4dvARB(GLenum target, GLdouble *v);
1980 	void  glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1981 	void  glMultiTexCoord4fvARB(GLenum target, GLfloat *v);
1982 	void  glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q);
1983 	void  glMultiTexCoord4ivARB(GLenum target, GLint *v);
1984 	void  glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1985 	void  glMultiTexCoord4svARB(GLenum target, GLshort *v);
1986 } // extern(System)
1987 
1988