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