ffi-opengl 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ %module opengl
2
+
3
+ %{
4
+ module GL
5
+ extend FFI::Library
6
+ %}
7
+
8
+ #define GL_MESA_program_debug
9
+ #define GL_ATI_blend_equation_separate
10
+
11
+ %include gl.h
12
+
13
+ %{
14
+ end
15
+ %}
@@ -0,0 +1,349 @@
1
+ /*
2
+ * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
3
+ * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
4
+ *
5
+ * Permission is hereby granted, free of charge, to any person obtaining a
6
+ * copy of this software and associated documentation files (the "Software"),
7
+ * to deal in the Software without restriction, including without limitation
8
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
+ * and/or sell copies of the Software, and to permit persons to whom the
10
+ * Software is furnished to do so, subject to the following conditions:
11
+ *
12
+ * The above copyright notice including the dates of first publication and
13
+ * either this permission notice or a reference to
14
+ * http://oss.sgi.com/projects/FreeB/
15
+ * shall be included in all copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20
+ * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
22
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ *
25
+ * Except as contained in this notice, the name of Silicon Graphics, Inc.
26
+ * shall not be used in advertising or otherwise to promote the sale, use or
27
+ * other dealings in this Software without prior written authorization from
28
+ * Silicon Graphics, Inc.
29
+ */
30
+
31
+ #ifndef __glu_h__
32
+ #define __glu_h__
33
+
34
+ #if defined(USE_MGL_NAMESPACE)
35
+ #include "glu_mangle.h"
36
+ #endif
37
+
38
+ #include <GL/gl.h>
39
+
40
+ #ifndef GLAPIENTRY
41
+ #define GLAPIENTRY
42
+ #endif
43
+
44
+ #ifndef GLAPIENTRYP
45
+ #define GLAPIENTRYP GLAPIENTRY *
46
+ #endif
47
+
48
+ #if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GLU32)
49
+ # undef GLAPI
50
+ # define GLAPI __declspec(dllexport)
51
+ #elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL)
52
+ /* tag specifying we're building for DLL runtime support */
53
+ # undef GLAPI
54
+ # define GLAPI __declspec(dllimport)
55
+ #elif !defined(GLAPI)
56
+ /* for use with static link lib build of Win32 edition only */
57
+ # define GLAPI extern
58
+ #endif /* _STATIC_MESA support */
59
+
60
+ #ifdef __cplusplus
61
+ extern "C" {
62
+ #endif
63
+
64
+ /*************************************************************/
65
+
66
+ /* Extensions */
67
+ #define GLU_EXT_object_space_tess 1
68
+ #define GLU_EXT_nurbs_tessellator 1
69
+
70
+ /* Boolean */
71
+ #define GLU_FALSE 0
72
+ #define GLU_TRUE 1
73
+
74
+ /* Version */
75
+ #define GLU_VERSION_1_1 1
76
+ #define GLU_VERSION_1_2 1
77
+ #define GLU_VERSION_1_3 1
78
+
79
+ /* StringName */
80
+ #define GLU_VERSION 100800
81
+ #define GLU_EXTENSIONS 100801
82
+
83
+ /* ErrorCode */
84
+ #define GLU_INVALID_ENUM 100900
85
+ #define GLU_INVALID_VALUE 100901
86
+ #define GLU_OUT_OF_MEMORY 100902
87
+ #define GLU_INCOMPATIBLE_GL_VERSION 100903
88
+ #define GLU_INVALID_OPERATION 100904
89
+
90
+ /* NurbsDisplay */
91
+ /* GLU_FILL */
92
+ #define GLU_OUTLINE_POLYGON 100240
93
+ #define GLU_OUTLINE_PATCH 100241
94
+
95
+ /* NurbsCallback */
96
+ #define GLU_NURBS_ERROR 100103
97
+ #define GLU_ERROR 100103
98
+ #define GLU_NURBS_BEGIN 100164
99
+ #define GLU_NURBS_BEGIN_EXT 100164
100
+ #define GLU_NURBS_VERTEX 100165
101
+ #define GLU_NURBS_VERTEX_EXT 100165
102
+ #define GLU_NURBS_NORMAL 100166
103
+ #define GLU_NURBS_NORMAL_EXT 100166
104
+ #define GLU_NURBS_COLOR 100167
105
+ #define GLU_NURBS_COLOR_EXT 100167
106
+ #define GLU_NURBS_TEXTURE_COORD 100168
107
+ #define GLU_NURBS_TEX_COORD_EXT 100168
108
+ #define GLU_NURBS_END 100169
109
+ #define GLU_NURBS_END_EXT 100169
110
+ #define GLU_NURBS_BEGIN_DATA 100170
111
+ #define GLU_NURBS_BEGIN_DATA_EXT 100170
112
+ #define GLU_NURBS_VERTEX_DATA 100171
113
+ #define GLU_NURBS_VERTEX_DATA_EXT 100171
114
+ #define GLU_NURBS_NORMAL_DATA 100172
115
+ #define GLU_NURBS_NORMAL_DATA_EXT 100172
116
+ #define GLU_NURBS_COLOR_DATA 100173
117
+ #define GLU_NURBS_COLOR_DATA_EXT 100173
118
+ #define GLU_NURBS_TEXTURE_COORD_DATA 100174
119
+ #define GLU_NURBS_TEX_COORD_DATA_EXT 100174
120
+ #define GLU_NURBS_END_DATA 100175
121
+ #define GLU_NURBS_END_DATA_EXT 100175
122
+
123
+ /* NurbsError */
124
+ #define GLU_NURBS_ERROR1 100251
125
+ #define GLU_NURBS_ERROR2 100252
126
+ #define GLU_NURBS_ERROR3 100253
127
+ #define GLU_NURBS_ERROR4 100254
128
+ #define GLU_NURBS_ERROR5 100255
129
+ #define GLU_NURBS_ERROR6 100256
130
+ #define GLU_NURBS_ERROR7 100257
131
+ #define GLU_NURBS_ERROR8 100258
132
+ #define GLU_NURBS_ERROR9 100259
133
+ #define GLU_NURBS_ERROR10 100260
134
+ #define GLU_NURBS_ERROR11 100261
135
+ #define GLU_NURBS_ERROR12 100262
136
+ #define GLU_NURBS_ERROR13 100263
137
+ #define GLU_NURBS_ERROR14 100264
138
+ #define GLU_NURBS_ERROR15 100265
139
+ #define GLU_NURBS_ERROR16 100266
140
+ #define GLU_NURBS_ERROR17 100267
141
+ #define GLU_NURBS_ERROR18 100268
142
+ #define GLU_NURBS_ERROR19 100269
143
+ #define GLU_NURBS_ERROR20 100270
144
+ #define GLU_NURBS_ERROR21 100271
145
+ #define GLU_NURBS_ERROR22 100272
146
+ #define GLU_NURBS_ERROR23 100273
147
+ #define GLU_NURBS_ERROR24 100274
148
+ #define GLU_NURBS_ERROR25 100275
149
+ #define GLU_NURBS_ERROR26 100276
150
+ #define GLU_NURBS_ERROR27 100277
151
+ #define GLU_NURBS_ERROR28 100278
152
+ #define GLU_NURBS_ERROR29 100279
153
+ #define GLU_NURBS_ERROR30 100280
154
+ #define GLU_NURBS_ERROR31 100281
155
+ #define GLU_NURBS_ERROR32 100282
156
+ #define GLU_NURBS_ERROR33 100283
157
+ #define GLU_NURBS_ERROR34 100284
158
+ #define GLU_NURBS_ERROR35 100285
159
+ #define GLU_NURBS_ERROR36 100286
160
+ #define GLU_NURBS_ERROR37 100287
161
+
162
+ /* NurbsProperty */
163
+ #define GLU_AUTO_LOAD_MATRIX 100200
164
+ #define GLU_CULLING 100201
165
+ #define GLU_SAMPLING_TOLERANCE 100203
166
+ #define GLU_DISPLAY_MODE 100204
167
+ #define GLU_PARAMETRIC_TOLERANCE 100202
168
+ #define GLU_SAMPLING_METHOD 100205
169
+ #define GLU_U_STEP 100206
170
+ #define GLU_V_STEP 100207
171
+ #define GLU_NURBS_MODE 100160
172
+ #define GLU_NURBS_MODE_EXT 100160
173
+ #define GLU_NURBS_TESSELLATOR 100161
174
+ #define GLU_NURBS_TESSELLATOR_EXT 100161
175
+ #define GLU_NURBS_RENDERER 100162
176
+ #define GLU_NURBS_RENDERER_EXT 100162
177
+
178
+ /* NurbsSampling */
179
+ #define GLU_OBJECT_PARAMETRIC_ERROR 100208
180
+ #define GLU_OBJECT_PARAMETRIC_ERROR_EXT 100208
181
+ #define GLU_OBJECT_PATH_LENGTH 100209
182
+ #define GLU_OBJECT_PATH_LENGTH_EXT 100209
183
+ #define GLU_PATH_LENGTH 100215
184
+ #define GLU_PARAMETRIC_ERROR 100216
185
+ #define GLU_DOMAIN_DISTANCE 100217
186
+
187
+ /* NurbsTrim */
188
+ #define GLU_MAP1_TRIM_2 100210
189
+ #define GLU_MAP1_TRIM_3 100211
190
+
191
+ /* QuadricDrawStyle */
192
+ #define GLU_POINT 100010
193
+ #define GLU_LINE 100011
194
+ #define GLU_FILL 100012
195
+ #define GLU_SILHOUETTE 100013
196
+
197
+ /* QuadricCallback */
198
+ /* GLU_ERROR */
199
+
200
+ /* QuadricNormal */
201
+ #define GLU_SMOOTH 100000
202
+ #define GLU_FLAT 100001
203
+ #define GLU_NONE 100002
204
+
205
+ /* QuadricOrientation */
206
+ #define GLU_OUTSIDE 100020
207
+ #define GLU_INSIDE 100021
208
+
209
+ /* TessCallback */
210
+ #define GLU_TESS_BEGIN 100100
211
+ #define GLU_BEGIN 100100
212
+ #define GLU_TESS_VERTEX 100101
213
+ #define GLU_VERTEX 100101
214
+ #define GLU_TESS_END 100102
215
+ #define GLU_END 100102
216
+ #define GLU_TESS_ERROR 100103
217
+ #define GLU_TESS_EDGE_FLAG 100104
218
+ #define GLU_EDGE_FLAG 100104
219
+ #define GLU_TESS_COMBINE 100105
220
+ #define GLU_TESS_BEGIN_DATA 100106
221
+ #define GLU_TESS_VERTEX_DATA 100107
222
+ #define GLU_TESS_END_DATA 100108
223
+ #define GLU_TESS_ERROR_DATA 100109
224
+ #define GLU_TESS_EDGE_FLAG_DATA 100110
225
+ #define GLU_TESS_COMBINE_DATA 100111
226
+
227
+ /* TessContour */
228
+ #define GLU_CW 100120
229
+ #define GLU_CCW 100121
230
+ #define GLU_INTERIOR 100122
231
+ #define GLU_EXTERIOR 100123
232
+ #define GLU_UNKNOWN 100124
233
+
234
+ /* TessProperty */
235
+ #define GLU_TESS_WINDING_RULE 100140
236
+ #define GLU_TESS_BOUNDARY_ONLY 100141
237
+ #define GLU_TESS_TOLERANCE 100142
238
+
239
+ /* TessError */
240
+ #define GLU_TESS_ERROR1 100151
241
+ #define GLU_TESS_ERROR2 100152
242
+ #define GLU_TESS_ERROR3 100153
243
+ #define GLU_TESS_ERROR4 100154
244
+ #define GLU_TESS_ERROR5 100155
245
+ #define GLU_TESS_ERROR6 100156
246
+ #define GLU_TESS_ERROR7 100157
247
+ #define GLU_TESS_ERROR8 100158
248
+ #define GLU_TESS_MISSING_BEGIN_POLYGON 100151
249
+ #define GLU_TESS_MISSING_BEGIN_CONTOUR 100152
250
+ #define GLU_TESS_MISSING_END_POLYGON 100153
251
+ #define GLU_TESS_MISSING_END_CONTOUR 100154
252
+ #define GLU_TESS_COORD_TOO_LARGE 100155
253
+ #define GLU_TESS_NEED_COMBINE_CALLBACK 100156
254
+
255
+ /* TessWinding */
256
+ #define GLU_TESS_WINDING_ODD 100130
257
+ #define GLU_TESS_WINDING_NONZERO 100131
258
+ #define GLU_TESS_WINDING_POSITIVE 100132
259
+ #define GLU_TESS_WINDING_NEGATIVE 100133
260
+ #define GLU_TESS_WINDING_ABS_GEQ_TWO 100134
261
+
262
+ /*************************************************************/
263
+
264
+
265
+ #ifdef __cplusplus
266
+ class GLUnurbs;
267
+ class GLUquadric;
268
+ class GLUtesselator;
269
+ #else
270
+ typedef struct GLUnurbs GLUnurbs;
271
+ typedef struct GLUquadric GLUquadric;
272
+ typedef struct GLUtesselator GLUtesselator;
273
+ #endif
274
+
275
+ typedef GLUnurbs GLUnurbsObj;
276
+ typedef GLUquadric GLUquadricObj;
277
+ typedef GLUtesselator GLUtesselatorObj;
278
+ typedef GLUtesselator GLUtriangulatorObj;
279
+
280
+ #define GLU_TESS_MAX_COORD 1.0e150
281
+
282
+ /* Internal convenience typedefs */
283
+ typedef void (GLAPIENTRYP _GLUfuncptr)();
284
+
285
+ GLAPI void GLAPIENTRY gluBeginCurve (GLUnurbs* nurb);
286
+ GLAPI void GLAPIENTRY gluBeginPolygon (GLUtesselator* tess);
287
+ GLAPI void GLAPIENTRY gluBeginSurface (GLUnurbs* nurb);
288
+ GLAPI void GLAPIENTRY gluBeginTrim (GLUnurbs* nurb);
289
+ GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
290
+ GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
291
+ GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
292
+ GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
293
+ GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
294
+ GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
295
+ GLAPI GLboolean GLAPIENTRY gluCheckExtension (const GLubyte *extName, const GLubyte *extString);
296
+ GLAPI void GLAPIENTRY gluCylinder (GLUquadric* quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks);
297
+ GLAPI void GLAPIENTRY gluDeleteNurbsRenderer (GLUnurbs* nurb);
298
+ GLAPI void GLAPIENTRY gluDeleteQuadric (GLUquadric* quad);
299
+ GLAPI void GLAPIENTRY gluDeleteTess (GLUtesselator* tess);
300
+ GLAPI void GLAPIENTRY gluDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops);
301
+ GLAPI void GLAPIENTRY gluEndCurve (GLUnurbs* nurb);
302
+ GLAPI void GLAPIENTRY gluEndPolygon (GLUtesselator* tess);
303
+ GLAPI void GLAPIENTRY gluEndSurface (GLUnurbs* nurb);
304
+ GLAPI void GLAPIENTRY gluEndTrim (GLUnurbs* nurb);
305
+ GLAPI const GLubyte * GLAPIENTRY gluErrorString (GLenum error);
306
+ GLAPI void GLAPIENTRY gluGetNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat* data);
307
+ GLAPI const GLubyte * GLAPIENTRY gluGetString (GLenum name);
308
+ GLAPI void GLAPIENTRY gluGetTessProperty (GLUtesselator* tess, GLenum which, GLdouble* data);
309
+ GLAPI void GLAPIENTRY gluLoadSamplingMatrices (GLUnurbs* nurb, const GLfloat *model, const GLfloat *perspective, const GLint *view);
310
+ GLAPI void GLAPIENTRY gluLookAt (GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ);
311
+ GLAPI GLUnurbs* GLAPIENTRY gluNewNurbsRenderer (void);
312
+ GLAPI GLUquadric* GLAPIENTRY gluNewQuadric (void);
313
+ GLAPI GLUtesselator* GLAPIENTRY gluNewTess (void);
314
+ GLAPI void GLAPIENTRY gluNextContour (GLUtesselator* tess, GLenum type);
315
+ GLAPI void GLAPIENTRY gluNurbsCallback (GLUnurbs* nurb, GLenum which, _GLUfuncptr CallBackFunc);
316
+ GLAPI void GLAPIENTRY gluNurbsCallbackData (GLUnurbs* nurb, GLvoid* userData);
317
+ GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
318
+ GLAPI void GLAPIENTRY gluNurbsCurve (GLUnurbs* nurb, GLint knotCount, GLfloat *knots, GLint stride, GLfloat *control, GLint order, GLenum type);
319
+ GLAPI void GLAPIENTRY gluNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat value);
320
+ GLAPI void GLAPIENTRY gluNurbsSurface (GLUnurbs* nurb, GLint sKnotCount, GLfloat* sKnots, GLint tKnotCount, GLfloat* tKnots, GLint sStride, GLint tStride, GLfloat* control, GLint sOrder, GLint tOrder, GLenum type);
321
+ GLAPI void GLAPIENTRY gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top);
322
+ GLAPI void GLAPIENTRY gluPartialDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep);
323
+ GLAPI void GLAPIENTRY gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar);
324
+ GLAPI void GLAPIENTRY gluPickMatrix (GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport);
325
+ GLAPI GLint GLAPIENTRY gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ);
326
+ GLAPI void GLAPIENTRY gluPwlCurve (GLUnurbs* nurb, GLint count, GLfloat* data, GLint stride, GLenum type);
327
+ GLAPI void GLAPIENTRY gluQuadricCallback (GLUquadric* quad, GLenum which, _GLUfuncptr CallBackFunc);
328
+ GLAPI void GLAPIENTRY gluQuadricDrawStyle (GLUquadric* quad, GLenum draw);
329
+ GLAPI void GLAPIENTRY gluQuadricNormals (GLUquadric* quad, GLenum normal);
330
+ GLAPI void GLAPIENTRY gluQuadricOrientation (GLUquadric* quad, GLenum orientation);
331
+ GLAPI void GLAPIENTRY gluQuadricTexture (GLUquadric* quad, GLboolean texture);
332
+ GLAPI GLint GLAPIENTRY gluScaleImage (GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid* dataOut);
333
+ GLAPI void GLAPIENTRY gluSphere (GLUquadric* quad, GLdouble radius, GLint slices, GLint stacks);
334
+ GLAPI void GLAPIENTRY gluTessBeginContour (GLUtesselator* tess);
335
+ GLAPI void GLAPIENTRY gluTessBeginPolygon (GLUtesselator* tess, GLvoid* data);
336
+ GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
337
+ GLAPI void GLAPIENTRY gluTessEndContour (GLUtesselator* tess);
338
+ GLAPI void GLAPIENTRY gluTessEndPolygon (GLUtesselator* tess);
339
+ GLAPI void GLAPIENTRY gluTessNormal (GLUtesselator* tess, GLdouble valueX, GLdouble valueY, GLdouble valueZ);
340
+ GLAPI void GLAPIENTRY gluTessProperty (GLUtesselator* tess, GLenum which, GLdouble data);
341
+ GLAPI void GLAPIENTRY gluTessVertex (GLUtesselator* tess, GLdouble *location, GLvoid* data);
342
+ GLAPI GLint GLAPIENTRY gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ);
343
+ GLAPI GLint GLAPIENTRY gluUnProject4 (GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble* objX, GLdouble* objY, GLdouble* objZ, GLdouble* objW);
344
+
345
+ #ifdef __cplusplus
346
+ }
347
+ #endif
348
+
349
+ #endif /* __glu_h__ */
@@ -0,0 +1,31 @@
1
+ %module glu
2
+
3
+ %{
4
+ module GLU
5
+ extend FFI::Library
6
+ %}
7
+
8
+ /*
9
+ * Datatypes
10
+ */
11
+ typedef unsigned int GLenum;
12
+ typedef unsigned char GLboolean;
13
+ typedef unsigned int GLbitfield;
14
+ typedef void GLvoid;
15
+ typedef signed char GLbyte; /* 1-byte signed */
16
+ typedef short GLshort; /* 2-byte signed */
17
+ typedef int GLint; /* 4-byte signed */
18
+ typedef unsigned char GLubyte; /* 1-byte unsigned */
19
+ typedef unsigned short GLushort; /* 2-byte unsigned */
20
+ typedef unsigned int GLuint; /* 4-byte unsigned */
21
+ typedef int GLsizei; /* 4-byte signed */
22
+ typedef float GLfloat; /* single precision float */
23
+ typedef float GLclampf; /* single precision float in [0,1] */
24
+ typedef double GLdouble; /* double precision float */
25
+ typedef double GLclampd; /* double precision float in [0,1] */
26
+
27
+ %include glu.h
28
+
29
+ %{
30
+ end
31
+ %}
@@ -0,0 +1,32 @@
1
+ %module opengl
2
+
3
+ %{
4
+ module GLUT
5
+ extend FFI::Library
6
+ %}
7
+
8
+ /*
9
+ * Datatypes
10
+ */
11
+ typedef unsigned int GLenum;
12
+ typedef unsigned char GLboolean;
13
+ typedef unsigned int GLbitfield;
14
+ typedef void GLvoid;
15
+ typedef signed char GLbyte; /* 1-byte signed */
16
+ typedef short GLshort; /* 2-byte signed */
17
+ typedef int GLint; /* 4-byte signed */
18
+ typedef unsigned char GLubyte; /* 1-byte unsigned */
19
+ typedef unsigned short GLushort; /* 2-byte unsigned */
20
+ typedef unsigned int GLuint; /* 4-byte unsigned */
21
+ typedef int GLsizei; /* 4-byte signed */
22
+ typedef float GLfloat; /* single precision float */
23
+ typedef float GLclampf; /* single precision float in [0,1] */
24
+ typedef double GLdouble; /* double precision float */
25
+ typedef double GLclampd; /* double precision float in [0,1] */
26
+
27
+
28
+ %include freeglut_std.h
29
+
30
+ %{
31
+ end
32
+ %}
@@ -0,0 +1,12 @@
1
+ begin
2
+ require 'rubygems'
3
+ rescue
4
+ nil # try without it
5
+ end
6
+
7
+ require 'ffi'
8
+ require 'ffi-opengl/platform'
9
+ require 'ffi-opengl/gl'
10
+ require 'ffi-opengl/glu'
11
+ require 'ffi-opengl/glut'
12
+
@@ -0,0 +1,1369 @@
1
+
2
+ module GL
3
+ extend FFI::Library
4
+ GL_VERSION_1_1 = 1
5
+ GL_VERSION_1_2 = 1
6
+ GL_VERSION_1_3 = 1
7
+ GL_ARB_imaging = 1
8
+ GL_FALSE = 0x0
9
+ GL_TRUE = 0x1
10
+ GL_BYTE = 0x1400
11
+ GL_UNSIGNED_BYTE = 0x1401
12
+ GL_SHORT = 0x1402
13
+ GL_UNSIGNED_SHORT = 0x1403
14
+ GL_INT = 0x1404
15
+ GL_UNSIGNED_INT = 0x1405
16
+ GL_FLOAT = 0x1406
17
+ GL_2_BYTES = 0x1407
18
+ GL_3_BYTES = 0x1408
19
+ GL_4_BYTES = 0x1409
20
+ GL_DOUBLE = 0x140A
21
+ GL_POINTS = 0x0000
22
+ GL_LINES = 0x0001
23
+ GL_LINE_LOOP = 0x0002
24
+ GL_LINE_STRIP = 0x0003
25
+ GL_TRIANGLES = 0x0004
26
+ GL_TRIANGLE_STRIP = 0x0005
27
+ GL_TRIANGLE_FAN = 0x0006
28
+ GL_QUADS = 0x0007
29
+ GL_QUAD_STRIP = 0x0008
30
+ GL_POLYGON = 0x0009
31
+ GL_VERTEX_ARRAY = 0x8074
32
+ GL_NORMAL_ARRAY = 0x8075
33
+ GL_COLOR_ARRAY = 0x8076
34
+ GL_INDEX_ARRAY = 0x8077
35
+ GL_TEXTURE_COORD_ARRAY = 0x8078
36
+ GL_EDGE_FLAG_ARRAY = 0x8079
37
+ GL_VERTEX_ARRAY_SIZE = 0x807A
38
+ GL_VERTEX_ARRAY_TYPE = 0x807B
39
+ GL_VERTEX_ARRAY_STRIDE = 0x807C
40
+ GL_NORMAL_ARRAY_TYPE = 0x807E
41
+ GL_NORMAL_ARRAY_STRIDE = 0x807F
42
+ GL_COLOR_ARRAY_SIZE = 0x8081
43
+ GL_COLOR_ARRAY_TYPE = 0x8082
44
+ GL_COLOR_ARRAY_STRIDE = 0x8083
45
+ GL_INDEX_ARRAY_TYPE = 0x8085
46
+ GL_INDEX_ARRAY_STRIDE = 0x8086
47
+ GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088
48
+ GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089
49
+ GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A
50
+ GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C
51
+ GL_VERTEX_ARRAY_POINTER = 0x808E
52
+ GL_NORMAL_ARRAY_POINTER = 0x808F
53
+ GL_COLOR_ARRAY_POINTER = 0x8090
54
+ GL_INDEX_ARRAY_POINTER = 0x8091
55
+ GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092
56
+ GL_EDGE_FLAG_ARRAY_POINTER = 0x8093
57
+ GL_V2F = 0x2A20
58
+ GL_V3F = 0x2A21
59
+ GL_C4UB_V2F = 0x2A22
60
+ GL_C4UB_V3F = 0x2A23
61
+ GL_C3F_V3F = 0x2A24
62
+ GL_N3F_V3F = 0x2A25
63
+ GL_C4F_N3F_V3F = 0x2A26
64
+ GL_T2F_V3F = 0x2A27
65
+ GL_T4F_V4F = 0x2A28
66
+ GL_T2F_C4UB_V3F = 0x2A29
67
+ GL_T2F_C3F_V3F = 0x2A2A
68
+ GL_T2F_N3F_V3F = 0x2A2B
69
+ GL_T2F_C4F_N3F_V3F = 0x2A2C
70
+ GL_T4F_C4F_N3F_V4F = 0x2A2D
71
+ GL_MATRIX_MODE = 0x0BA0
72
+ GL_MODELVIEW = 0x1700
73
+ GL_PROJECTION = 0x1701
74
+ GL_TEXTURE = 0x1702
75
+ GL_POINT_SMOOTH = 0x0B10
76
+ GL_POINT_SIZE = 0x0B11
77
+ GL_POINT_SIZE_GRANULARITY = 0x0B13
78
+ GL_POINT_SIZE_RANGE = 0x0B12
79
+ GL_LINE_SMOOTH = 0x0B20
80
+ GL_LINE_STIPPLE = 0x0B24
81
+ GL_LINE_STIPPLE_PATTERN = 0x0B25
82
+ GL_LINE_STIPPLE_REPEAT = 0x0B26
83
+ GL_LINE_WIDTH = 0x0B21
84
+ GL_LINE_WIDTH_GRANULARITY = 0x0B23
85
+ GL_LINE_WIDTH_RANGE = 0x0B22
86
+ GL_POINT = 0x1B00
87
+ GL_LINE = 0x1B01
88
+ GL_FILL = 0x1B02
89
+ GL_CW = 0x0900
90
+ GL_CCW = 0x0901
91
+ GL_FRONT = 0x0404
92
+ GL_BACK = 0x0405
93
+ GL_POLYGON_MODE = 0x0B40
94
+ GL_POLYGON_SMOOTH = 0x0B41
95
+ GL_POLYGON_STIPPLE = 0x0B42
96
+ GL_EDGE_FLAG = 0x0B43
97
+ GL_CULL_FACE = 0x0B44
98
+ GL_CULL_FACE_MODE = 0x0B45
99
+ GL_FRONT_FACE = 0x0B46
100
+ GL_POLYGON_OFFSET_FACTOR = 0x8038
101
+ GL_POLYGON_OFFSET_UNITS = 0x2A00
102
+ GL_POLYGON_OFFSET_POINT = 0x2A01
103
+ GL_POLYGON_OFFSET_LINE = 0x2A02
104
+ GL_POLYGON_OFFSET_FILL = 0x8037
105
+ GL_COMPILE = 0x1300
106
+ GL_COMPILE_AND_EXECUTE = 0x1301
107
+ GL_LIST_BASE = 0x0B32
108
+ GL_LIST_INDEX = 0x0B33
109
+ GL_LIST_MODE = 0x0B30
110
+ GL_NEVER = 0x0200
111
+ GL_LESS = 0x0201
112
+ GL_EQUAL = 0x0202
113
+ GL_LEQUAL = 0x0203
114
+ GL_GREATER = 0x0204
115
+ GL_NOTEQUAL = 0x0205
116
+ GL_GEQUAL = 0x0206
117
+ GL_ALWAYS = 0x0207
118
+ GL_DEPTH_TEST = 0x0B71
119
+ GL_DEPTH_BITS = 0x0D56
120
+ GL_DEPTH_CLEAR_VALUE = 0x0B73
121
+ GL_DEPTH_FUNC = 0x0B74
122
+ GL_DEPTH_RANGE = 0x0B70
123
+ GL_DEPTH_WRITEMASK = 0x0B72
124
+ GL_DEPTH_COMPONENT = 0x1902
125
+ GL_LIGHTING = 0x0B50
126
+ GL_LIGHT0 = 0x4000
127
+ GL_LIGHT1 = 0x4001
128
+ GL_LIGHT2 = 0x4002
129
+ GL_LIGHT3 = 0x4003
130
+ GL_LIGHT4 = 0x4004
131
+ GL_LIGHT5 = 0x4005
132
+ GL_LIGHT6 = 0x4006
133
+ GL_LIGHT7 = 0x4007
134
+ GL_SPOT_EXPONENT = 0x1205
135
+ GL_SPOT_CUTOFF = 0x1206
136
+ GL_CONSTANT_ATTENUATION = 0x1207
137
+ GL_LINEAR_ATTENUATION = 0x1208
138
+ GL_QUADRATIC_ATTENUATION = 0x1209
139
+ GL_AMBIENT = 0x1200
140
+ GL_DIFFUSE = 0x1201
141
+ GL_SPECULAR = 0x1202
142
+ GL_SHININESS = 0x1601
143
+ GL_EMISSION = 0x1600
144
+ GL_POSITION = 0x1203
145
+ GL_SPOT_DIRECTION = 0x1204
146
+ GL_AMBIENT_AND_DIFFUSE = 0x1602
147
+ GL_COLOR_INDEXES = 0x1603
148
+ GL_LIGHT_MODEL_TWO_SIDE = 0x0B52
149
+ GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51
150
+ GL_LIGHT_MODEL_AMBIENT = 0x0B53
151
+ GL_FRONT_AND_BACK = 0x0408
152
+ GL_SHADE_MODEL = 0x0B54
153
+ GL_FLAT = 0x1D00
154
+ GL_SMOOTH = 0x1D01
155
+ GL_COLOR_MATERIAL = 0x0B57
156
+ GL_COLOR_MATERIAL_FACE = 0x0B55
157
+ GL_COLOR_MATERIAL_PARAMETER = 0x0B56
158
+ GL_NORMALIZE = 0x0BA1
159
+ GL_CLIP_PLANE0 = 0x3000
160
+ GL_CLIP_PLANE1 = 0x3001
161
+ GL_CLIP_PLANE2 = 0x3002
162
+ GL_CLIP_PLANE3 = 0x3003
163
+ GL_CLIP_PLANE4 = 0x3004
164
+ GL_CLIP_PLANE5 = 0x3005
165
+ GL_ACCUM_RED_BITS = 0x0D58
166
+ GL_ACCUM_GREEN_BITS = 0x0D59
167
+ GL_ACCUM_BLUE_BITS = 0x0D5A
168
+ GL_ACCUM_ALPHA_BITS = 0x0D5B
169
+ GL_ACCUM_CLEAR_VALUE = 0x0B80
170
+ GL_ACCUM = 0x0100
171
+ GL_ADD = 0x0104
172
+ GL_LOAD = 0x0101
173
+ GL_MULT = 0x0103
174
+ GL_RETURN = 0x0102
175
+ GL_ALPHA_TEST = 0x0BC0
176
+ GL_ALPHA_TEST_REF = 0x0BC2
177
+ GL_ALPHA_TEST_FUNC = 0x0BC1
178
+ GL_BLEND = 0x0BE2
179
+ GL_BLEND_SRC = 0x0BE1
180
+ GL_BLEND_DST = 0x0BE0
181
+ GL_ZERO = 0x0
182
+ GL_ONE = 0x1
183
+ GL_SRC_COLOR = 0x0300
184
+ GL_ONE_MINUS_SRC_COLOR = 0x0301
185
+ GL_SRC_ALPHA = 0x0302
186
+ GL_ONE_MINUS_SRC_ALPHA = 0x0303
187
+ GL_DST_ALPHA = 0x0304
188
+ GL_ONE_MINUS_DST_ALPHA = 0x0305
189
+ GL_DST_COLOR = 0x0306
190
+ GL_ONE_MINUS_DST_COLOR = 0x0307
191
+ GL_SRC_ALPHA_SATURATE = 0x0308
192
+ GL_FEEDBACK = 0x1C01
193
+ GL_RENDER = 0x1C00
194
+ GL_SELECT = 0x1C02
195
+ GL_2D = 0x0600
196
+ GL_3D = 0x0601
197
+ GL_3D_COLOR = 0x0602
198
+ GL_3D_COLOR_TEXTURE = 0x0603
199
+ GL_4D_COLOR_TEXTURE = 0x0604
200
+ GL_POINT_TOKEN = 0x0701
201
+ GL_LINE_TOKEN = 0x0702
202
+ GL_LINE_RESET_TOKEN = 0x0707
203
+ GL_POLYGON_TOKEN = 0x0703
204
+ GL_BITMAP_TOKEN = 0x0704
205
+ GL_DRAW_PIXEL_TOKEN = 0x0705
206
+ GL_COPY_PIXEL_TOKEN = 0x0706
207
+ GL_PASS_THROUGH_TOKEN = 0x0700
208
+ GL_FEEDBACK_BUFFER_POINTER = 0x0DF0
209
+ GL_FEEDBACK_BUFFER_SIZE = 0x0DF1
210
+ GL_FEEDBACK_BUFFER_TYPE = 0x0DF2
211
+ GL_SELECTION_BUFFER_POINTER = 0x0DF3
212
+ GL_SELECTION_BUFFER_SIZE = 0x0DF4
213
+ GL_FOG = 0x0B60
214
+ GL_FOG_MODE = 0x0B65
215
+ GL_FOG_DENSITY = 0x0B62
216
+ GL_FOG_COLOR = 0x0B66
217
+ GL_FOG_INDEX = 0x0B61
218
+ GL_FOG_START = 0x0B63
219
+ GL_FOG_END = 0x0B64
220
+ GL_LINEAR = 0x2601
221
+ GL_EXP = 0x0800
222
+ GL_EXP2 = 0x0801
223
+ GL_LOGIC_OP = 0x0BF1
224
+ GL_INDEX_LOGIC_OP = 0x0BF1
225
+ GL_COLOR_LOGIC_OP = 0x0BF2
226
+ GL_LOGIC_OP_MODE = 0x0BF0
227
+ GL_CLEAR = 0x1500
228
+ GL_SET = 0x150F
229
+ GL_COPY = 0x1503
230
+ GL_COPY_INVERTED = 0x150C
231
+ GL_NOOP = 0x1505
232
+ GL_INVERT = 0x150A
233
+ GL_AND = 0x1501
234
+ GL_NAND = 0x150E
235
+ GL_OR = 0x1507
236
+ GL_NOR = 0x1508
237
+ GL_XOR = 0x1506
238
+ GL_EQUIV = 0x1509
239
+ GL_AND_REVERSE = 0x1502
240
+ GL_AND_INVERTED = 0x1504
241
+ GL_OR_REVERSE = 0x150B
242
+ GL_OR_INVERTED = 0x150D
243
+ GL_STENCIL_BITS = 0x0D57
244
+ GL_STENCIL_TEST = 0x0B90
245
+ GL_STENCIL_CLEAR_VALUE = 0x0B91
246
+ GL_STENCIL_FUNC = 0x0B92
247
+ GL_STENCIL_VALUE_MASK = 0x0B93
248
+ GL_STENCIL_FAIL = 0x0B94
249
+ GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95
250
+ GL_STENCIL_PASS_DEPTH_PASS = 0x0B96
251
+ GL_STENCIL_REF = 0x0B97
252
+ GL_STENCIL_WRITEMASK = 0x0B98
253
+ GL_STENCIL_INDEX = 0x1901
254
+ GL_KEEP = 0x1E00
255
+ GL_REPLACE = 0x1E01
256
+ GL_INCR = 0x1E02
257
+ GL_DECR = 0x1E03
258
+ GL_NONE = 0x0
259
+ GL_LEFT = 0x0406
260
+ GL_RIGHT = 0x0407
261
+ GL_FRONT_LEFT = 0x0400
262
+ GL_FRONT_RIGHT = 0x0401
263
+ GL_BACK_LEFT = 0x0402
264
+ GL_BACK_RIGHT = 0x0403
265
+ GL_AUX0 = 0x0409
266
+ GL_AUX1 = 0x040A
267
+ GL_AUX2 = 0x040B
268
+ GL_AUX3 = 0x040C
269
+ GL_COLOR_INDEX = 0x1900
270
+ GL_RED = 0x1903
271
+ GL_GREEN = 0x1904
272
+ GL_BLUE = 0x1905
273
+ GL_ALPHA = 0x1906
274
+ GL_LUMINANCE = 0x1909
275
+ GL_LUMINANCE_ALPHA = 0x190A
276
+ GL_ALPHA_BITS = 0x0D55
277
+ GL_RED_BITS = 0x0D52
278
+ GL_GREEN_BITS = 0x0D53
279
+ GL_BLUE_BITS = 0x0D54
280
+ GL_INDEX_BITS = 0x0D51
281
+ GL_SUBPIXEL_BITS = 0x0D50
282
+ GL_AUX_BUFFERS = 0x0C00
283
+ GL_READ_BUFFER = 0x0C02
284
+ GL_DRAW_BUFFER = 0x0C01
285
+ GL_DOUBLEBUFFER = 0x0C32
286
+ GL_STEREO = 0x0C33
287
+ GL_BITMAP = 0x1A00
288
+ GL_COLOR = 0x1800
289
+ GL_DEPTH = 0x1801
290
+ GL_STENCIL = 0x1802
291
+ GL_DITHER = 0x0BD0
292
+ GL_RGB = 0x1907
293
+ GL_RGBA = 0x1908
294
+ GL_MAX_LIST_NESTING = 0x0B31
295
+ GL_MAX_EVAL_ORDER = 0x0D30
296
+ GL_MAX_LIGHTS = 0x0D31
297
+ GL_MAX_CLIP_PLANES = 0x0D32
298
+ GL_MAX_TEXTURE_SIZE = 0x0D33
299
+ GL_MAX_PIXEL_MAP_TABLE = 0x0D34
300
+ GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35
301
+ GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36
302
+ GL_MAX_NAME_STACK_DEPTH = 0x0D37
303
+ GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38
304
+ GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39
305
+ GL_MAX_VIEWPORT_DIMS = 0x0D3A
306
+ GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B
307
+ GL_ATTRIB_STACK_DEPTH = 0x0BB0
308
+ GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1
309
+ GL_COLOR_CLEAR_VALUE = 0x0C22
310
+ GL_COLOR_WRITEMASK = 0x0C23
311
+ GL_CURRENT_INDEX = 0x0B01
312
+ GL_CURRENT_COLOR = 0x0B00
313
+ GL_CURRENT_NORMAL = 0x0B02
314
+ GL_CURRENT_RASTER_COLOR = 0x0B04
315
+ GL_CURRENT_RASTER_DISTANCE = 0x0B09
316
+ GL_CURRENT_RASTER_INDEX = 0x0B05
317
+ GL_CURRENT_RASTER_POSITION = 0x0B07
318
+ GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06
319
+ GL_CURRENT_RASTER_POSITION_VALID = 0x0B08
320
+ GL_CURRENT_TEXTURE_COORDS = 0x0B03
321
+ GL_INDEX_CLEAR_VALUE = 0x0C20
322
+ GL_INDEX_MODE = 0x0C30
323
+ GL_INDEX_WRITEMASK = 0x0C21
324
+ GL_MODELVIEW_MATRIX = 0x0BA6
325
+ GL_MODELVIEW_STACK_DEPTH = 0x0BA3
326
+ GL_NAME_STACK_DEPTH = 0x0D70
327
+ GL_PROJECTION_MATRIX = 0x0BA7
328
+ GL_PROJECTION_STACK_DEPTH = 0x0BA4
329
+ GL_RENDER_MODE = 0x0C40
330
+ GL_RGBA_MODE = 0x0C31
331
+ GL_TEXTURE_MATRIX = 0x0BA8
332
+ GL_TEXTURE_STACK_DEPTH = 0x0BA5
333
+ GL_VIEWPORT = 0x0BA2
334
+ GL_AUTO_NORMAL = 0x0D80
335
+ GL_MAP1_COLOR_4 = 0x0D90
336
+ GL_MAP1_INDEX = 0x0D91
337
+ GL_MAP1_NORMAL = 0x0D92
338
+ GL_MAP1_TEXTURE_COORD_1 = 0x0D93
339
+ GL_MAP1_TEXTURE_COORD_2 = 0x0D94
340
+ GL_MAP1_TEXTURE_COORD_3 = 0x0D95
341
+ GL_MAP1_TEXTURE_COORD_4 = 0x0D96
342
+ GL_MAP1_VERTEX_3 = 0x0D97
343
+ GL_MAP1_VERTEX_4 = 0x0D98
344
+ GL_MAP2_COLOR_4 = 0x0DB0
345
+ GL_MAP2_INDEX = 0x0DB1
346
+ GL_MAP2_NORMAL = 0x0DB2
347
+ GL_MAP2_TEXTURE_COORD_1 = 0x0DB3
348
+ GL_MAP2_TEXTURE_COORD_2 = 0x0DB4
349
+ GL_MAP2_TEXTURE_COORD_3 = 0x0DB5
350
+ GL_MAP2_TEXTURE_COORD_4 = 0x0DB6
351
+ GL_MAP2_VERTEX_3 = 0x0DB7
352
+ GL_MAP2_VERTEX_4 = 0x0DB8
353
+ GL_MAP1_GRID_DOMAIN = 0x0DD0
354
+ GL_MAP1_GRID_SEGMENTS = 0x0DD1
355
+ GL_MAP2_GRID_DOMAIN = 0x0DD2
356
+ GL_MAP2_GRID_SEGMENTS = 0x0DD3
357
+ GL_COEFF = 0x0A00
358
+ GL_ORDER = 0x0A01
359
+ GL_DOMAIN = 0x0A02
360
+ GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50
361
+ GL_POINT_SMOOTH_HINT = 0x0C51
362
+ GL_LINE_SMOOTH_HINT = 0x0C52
363
+ GL_POLYGON_SMOOTH_HINT = 0x0C53
364
+ GL_FOG_HINT = 0x0C54
365
+ GL_DONT_CARE = 0x1100
366
+ GL_FASTEST = 0x1101
367
+ GL_NICEST = 0x1102
368
+ GL_SCISSOR_BOX = 0x0C10
369
+ GL_SCISSOR_TEST = 0x0C11
370
+ GL_MAP_COLOR = 0x0D10
371
+ GL_MAP_STENCIL = 0x0D11
372
+ GL_INDEX_SHIFT = 0x0D12
373
+ GL_INDEX_OFFSET = 0x0D13
374
+ GL_RED_SCALE = 0x0D14
375
+ GL_RED_BIAS = 0x0D15
376
+ GL_GREEN_SCALE = 0x0D18
377
+ GL_GREEN_BIAS = 0x0D19
378
+ GL_BLUE_SCALE = 0x0D1A
379
+ GL_BLUE_BIAS = 0x0D1B
380
+ GL_ALPHA_SCALE = 0x0D1C
381
+ GL_ALPHA_BIAS = 0x0D1D
382
+ GL_DEPTH_SCALE = 0x0D1E
383
+ GL_DEPTH_BIAS = 0x0D1F
384
+ GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1
385
+ GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0
386
+ GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2
387
+ GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3
388
+ GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4
389
+ GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5
390
+ GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6
391
+ GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7
392
+ GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8
393
+ GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9
394
+ GL_PIXEL_MAP_S_TO_S = 0x0C71
395
+ GL_PIXEL_MAP_I_TO_I = 0x0C70
396
+ GL_PIXEL_MAP_I_TO_R = 0x0C72
397
+ GL_PIXEL_MAP_I_TO_G = 0x0C73
398
+ GL_PIXEL_MAP_I_TO_B = 0x0C74
399
+ GL_PIXEL_MAP_I_TO_A = 0x0C75
400
+ GL_PIXEL_MAP_R_TO_R = 0x0C76
401
+ GL_PIXEL_MAP_G_TO_G = 0x0C77
402
+ GL_PIXEL_MAP_B_TO_B = 0x0C78
403
+ GL_PIXEL_MAP_A_TO_A = 0x0C79
404
+ GL_PACK_ALIGNMENT = 0x0D05
405
+ GL_PACK_LSB_FIRST = 0x0D01
406
+ GL_PACK_ROW_LENGTH = 0x0D02
407
+ GL_PACK_SKIP_PIXELS = 0x0D04
408
+ GL_PACK_SKIP_ROWS = 0x0D03
409
+ GL_PACK_SWAP_BYTES = 0x0D00
410
+ GL_UNPACK_ALIGNMENT = 0x0CF5
411
+ GL_UNPACK_LSB_FIRST = 0x0CF1
412
+ GL_UNPACK_ROW_LENGTH = 0x0CF2
413
+ GL_UNPACK_SKIP_PIXELS = 0x0CF4
414
+ GL_UNPACK_SKIP_ROWS = 0x0CF3
415
+ GL_UNPACK_SWAP_BYTES = 0x0CF0
416
+ GL_ZOOM_X = 0x0D16
417
+ GL_ZOOM_Y = 0x0D17
418
+ GL_TEXTURE_ENV = 0x2300
419
+ GL_TEXTURE_ENV_MODE = 0x2200
420
+ GL_TEXTURE_1D = 0x0DE0
421
+ GL_TEXTURE_2D = 0x0DE1
422
+ GL_TEXTURE_WRAP_S = 0x2802
423
+ GL_TEXTURE_WRAP_T = 0x2803
424
+ GL_TEXTURE_MAG_FILTER = 0x2800
425
+ GL_TEXTURE_MIN_FILTER = 0x2801
426
+ GL_TEXTURE_ENV_COLOR = 0x2201
427
+ GL_TEXTURE_GEN_S = 0x0C60
428
+ GL_TEXTURE_GEN_T = 0x0C61
429
+ GL_TEXTURE_GEN_MODE = 0x2500
430
+ GL_TEXTURE_BORDER_COLOR = 0x1004
431
+ GL_TEXTURE_WIDTH = 0x1000
432
+ GL_TEXTURE_HEIGHT = 0x1001
433
+ GL_TEXTURE_BORDER = 0x1005
434
+ GL_TEXTURE_COMPONENTS = 0x1003
435
+ GL_TEXTURE_RED_SIZE = 0x805C
436
+ GL_TEXTURE_GREEN_SIZE = 0x805D
437
+ GL_TEXTURE_BLUE_SIZE = 0x805E
438
+ GL_TEXTURE_ALPHA_SIZE = 0x805F
439
+ GL_TEXTURE_LUMINANCE_SIZE = 0x8060
440
+ GL_TEXTURE_INTENSITY_SIZE = 0x8061
441
+ GL_NEAREST_MIPMAP_NEAREST = 0x2700
442
+ GL_NEAREST_MIPMAP_LINEAR = 0x2702
443
+ GL_LINEAR_MIPMAP_NEAREST = 0x2701
444
+ GL_LINEAR_MIPMAP_LINEAR = 0x2703
445
+ GL_OBJECT_LINEAR = 0x2401
446
+ GL_OBJECT_PLANE = 0x2501
447
+ GL_EYE_LINEAR = 0x2400
448
+ GL_EYE_PLANE = 0x2502
449
+ GL_SPHERE_MAP = 0x2402
450
+ GL_DECAL = 0x2101
451
+ GL_MODULATE = 0x2100
452
+ GL_NEAREST = 0x2600
453
+ GL_REPEAT = 0x2901
454
+ GL_CLAMP = 0x2900
455
+ GL_S = 0x2000
456
+ GL_T = 0x2001
457
+ GL_R = 0x2002
458
+ GL_Q = 0x2003
459
+ GL_TEXTURE_GEN_R = 0x0C62
460
+ GL_TEXTURE_GEN_Q = 0x0C63
461
+ GL_VENDOR = 0x1F00
462
+ GL_RENDERER = 0x1F01
463
+ GL_VERSION = 0x1F02
464
+ GL_EXTENSIONS = 0x1F03
465
+ GL_NO_ERROR = 0x0
466
+ GL_INVALID_ENUM = 0x0500
467
+ GL_INVALID_VALUE = 0x0501
468
+ GL_INVALID_OPERATION = 0x0502
469
+ GL_STACK_OVERFLOW = 0x0503
470
+ GL_STACK_UNDERFLOW = 0x0504
471
+ GL_OUT_OF_MEMORY = 0x0505
472
+ GL_CURRENT_BIT = 0x00000001
473
+ GL_POINT_BIT = 0x00000002
474
+ GL_LINE_BIT = 0x00000004
475
+ GL_POLYGON_BIT = 0x00000008
476
+ GL_POLYGON_STIPPLE_BIT = 0x00000010
477
+ GL_PIXEL_MODE_BIT = 0x00000020
478
+ GL_LIGHTING_BIT = 0x00000040
479
+ GL_FOG_BIT = 0x00000080
480
+ GL_DEPTH_BUFFER_BIT = 0x00000100
481
+ GL_ACCUM_BUFFER_BIT = 0x00000200
482
+ GL_STENCIL_BUFFER_BIT = 0x00000400
483
+ GL_VIEWPORT_BIT = 0x00000800
484
+ GL_TRANSFORM_BIT = 0x00001000
485
+ GL_ENABLE_BIT = 0x00002000
486
+ GL_COLOR_BUFFER_BIT = 0x00004000
487
+ GL_HINT_BIT = 0x00008000
488
+ GL_EVAL_BIT = 0x00010000
489
+ GL_LIST_BIT = 0x00020000
490
+ GL_TEXTURE_BIT = 0x00040000
491
+ GL_SCISSOR_BIT = 0x00080000
492
+ GL_ALL_ATTRIB_BITS = 0x000FFFFF
493
+ GL_PROXY_TEXTURE_1D = 0x8063
494
+ GL_PROXY_TEXTURE_2D = 0x8064
495
+ GL_TEXTURE_PRIORITY = 0x8066
496
+ GL_TEXTURE_RESIDENT = 0x8067
497
+ GL_TEXTURE_BINDING_1D = 0x8068
498
+ GL_TEXTURE_BINDING_2D = 0x8069
499
+ GL_TEXTURE_INTERNAL_FORMAT = 0x1003
500
+ GL_ALPHA4 = 0x803B
501
+ GL_ALPHA8 = 0x803C
502
+ GL_ALPHA12 = 0x803D
503
+ GL_ALPHA16 = 0x803E
504
+ GL_LUMINANCE4 = 0x803F
505
+ GL_LUMINANCE8 = 0x8040
506
+ GL_LUMINANCE12 = 0x8041
507
+ GL_LUMINANCE16 = 0x8042
508
+ GL_LUMINANCE4_ALPHA4 = 0x8043
509
+ GL_LUMINANCE6_ALPHA2 = 0x8044
510
+ GL_LUMINANCE8_ALPHA8 = 0x8045
511
+ GL_LUMINANCE12_ALPHA4 = 0x8046
512
+ GL_LUMINANCE12_ALPHA12 = 0x8047
513
+ GL_LUMINANCE16_ALPHA16 = 0x8048
514
+ GL_INTENSITY = 0x8049
515
+ GL_INTENSITY4 = 0x804A
516
+ GL_INTENSITY8 = 0x804B
517
+ GL_INTENSITY12 = 0x804C
518
+ GL_INTENSITY16 = 0x804D
519
+ GL_R3_G3_B2 = 0x2A10
520
+ GL_RGB4 = 0x804F
521
+ GL_RGB5 = 0x8050
522
+ GL_RGB8 = 0x8051
523
+ GL_RGB10 = 0x8052
524
+ GL_RGB12 = 0x8053
525
+ GL_RGB16 = 0x8054
526
+ GL_RGBA2 = 0x8055
527
+ GL_RGBA4 = 0x8056
528
+ GL_RGB5_A1 = 0x8057
529
+ GL_RGBA8 = 0x8058
530
+ GL_RGB10_A2 = 0x8059
531
+ GL_RGBA12 = 0x805A
532
+ GL_RGBA16 = 0x805B
533
+ GL_CLIENT_PIXEL_STORE_BIT = 0x00000001
534
+ GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002
535
+ GL_ALL_CLIENT_ATTRIB_BITS = 0xFFFFFFFF
536
+ GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF
537
+ attach_function :glClearIndex, [ :float ], :void
538
+ attach_function :glClearColor, [ :float, :float, :float, :float ], :void
539
+ attach_function :glClear, [ :uint ], :void
540
+ attach_function :glIndexMask, [ :uint ], :void
541
+ attach_function :glColorMask, [ :uchar, :uchar, :uchar, :uchar ], :void
542
+ attach_function :glAlphaFunc, [ :uint, :float ], :void
543
+ attach_function :glBlendFunc, [ :uint, :uint ], :void
544
+ attach_function :glLogicOp, [ :uint ], :void
545
+ attach_function :glCullFace, [ :uint ], :void
546
+ attach_function :glFrontFace, [ :uint ], :void
547
+ attach_function :glPointSize, [ :float ], :void
548
+ attach_function :glLineWidth, [ :float ], :void
549
+ attach_function :glLineStipple, [ :int, :ushort ], :void
550
+ attach_function :glPolygonMode, [ :uint, :uint ], :void
551
+ attach_function :glPolygonOffset, [ :float, :float ], :void
552
+ attach_function :glPolygonStipple, [ :pointer ], :void
553
+ attach_function :glGetPolygonStipple, [ :pointer ], :void
554
+ attach_function :glEdgeFlag, [ :uchar ], :void
555
+ attach_function :glEdgeFlagv, [ :pointer ], :void
556
+ attach_function :glScissor, [ :int, :int, :int, :int ], :void
557
+ attach_function :glClipPlane, [ :uint, :pointer ], :void
558
+ attach_function :glGetClipPlane, [ :uint, :pointer ], :void
559
+ attach_function :glDrawBuffer, [ :uint ], :void
560
+ attach_function :glReadBuffer, [ :uint ], :void
561
+ attach_function :glEnable, [ :uint ], :void
562
+ attach_function :glDisable, [ :uint ], :void
563
+ attach_function :glIsEnabled, [ :uint ], :uchar
564
+ attach_function :glEnableClientState, [ :uint ], :void
565
+ attach_function :glDisableClientState, [ :uint ], :void
566
+ attach_function :glGetBooleanv, [ :uint, :pointer ], :void
567
+ attach_function :glGetDoublev, [ :uint, :pointer ], :void
568
+ attach_function :glGetFloatv, [ :uint, :pointer ], :void
569
+ attach_function :glGetIntegerv, [ :uint, :pointer ], :void
570
+ attach_function :glPushAttrib, [ :uint ], :void
571
+ attach_function :glPopAttrib, [ ], :void
572
+ attach_function :glPushClientAttrib, [ :uint ], :void
573
+ attach_function :glPopClientAttrib, [ ], :void
574
+ attach_function :glRenderMode, [ :uint ], :int
575
+ attach_function :glGetError, [ ], :uint
576
+ attach_function :glGetString, [ :uint ], :pointer
577
+ attach_function :glFinish, [ ], :void
578
+ attach_function :glFlush, [ ], :void
579
+ attach_function :glHint, [ :uint, :uint ], :void
580
+ attach_function :glClearDepth, [ :double ], :void
581
+ attach_function :glDepthFunc, [ :uint ], :void
582
+ attach_function :glDepthMask, [ :uchar ], :void
583
+ attach_function :glDepthRange, [ :double, :double ], :void
584
+ attach_function :glClearAccum, [ :float, :float, :float, :float ], :void
585
+ attach_function :glAccum, [ :uint, :float ], :void
586
+ attach_function :glMatrixMode, [ :uint ], :void
587
+ attach_function :glOrtho, [ :double, :double, :double, :double, :double, :double ], :void
588
+ attach_function :glFrustum, [ :double, :double, :double, :double, :double, :double ], :void
589
+ attach_function :glViewport, [ :int, :int, :int, :int ], :void
590
+ attach_function :glPushMatrix, [ ], :void
591
+ attach_function :glPopMatrix, [ ], :void
592
+ attach_function :glLoadIdentity, [ ], :void
593
+ attach_function :glLoadMatrixd, [ :pointer ], :void
594
+ attach_function :glLoadMatrixf, [ :pointer ], :void
595
+ attach_function :glMultMatrixd, [ :pointer ], :void
596
+ attach_function :glMultMatrixf, [ :pointer ], :void
597
+ attach_function :glRotated, [ :double, :double, :double, :double ], :void
598
+ attach_function :glRotatef, [ :float, :float, :float, :float ], :void
599
+ attach_function :glScaled, [ :double, :double, :double ], :void
600
+ attach_function :glScalef, [ :float, :float, :float ], :void
601
+ attach_function :glTranslated, [ :double, :double, :double ], :void
602
+ attach_function :glTranslatef, [ :float, :float, :float ], :void
603
+ attach_function :glIsList, [ :uint ], :uchar
604
+ attach_function :glDeleteLists, [ :uint, :int ], :void
605
+ attach_function :glGenLists, [ :int ], :uint
606
+ attach_function :glNewList, [ :uint, :uint ], :void
607
+ attach_function :glEndList, [ ], :void
608
+ attach_function :glCallList, [ :uint ], :void
609
+ attach_function :glCallLists, [ :int, :uint, :pointer ], :void
610
+ attach_function :glListBase, [ :uint ], :void
611
+ attach_function :glBegin, [ :uint ], :void
612
+ attach_function :glEnd, [ ], :void
613
+ attach_function :glVertex2d, [ :double, :double ], :void
614
+ attach_function :glVertex2f, [ :float, :float ], :void
615
+ attach_function :glVertex2i, [ :int, :int ], :void
616
+ attach_function :glVertex2s, [ :short, :short ], :void
617
+ attach_function :glVertex3d, [ :double, :double, :double ], :void
618
+ attach_function :glVertex3f, [ :float, :float, :float ], :void
619
+ attach_function :glVertex3i, [ :int, :int, :int ], :void
620
+ attach_function :glVertex3s, [ :short, :short, :short ], :void
621
+ attach_function :glVertex4d, [ :double, :double, :double, :double ], :void
622
+ attach_function :glVertex4f, [ :float, :float, :float, :float ], :void
623
+ attach_function :glVertex4i, [ :int, :int, :int, :int ], :void
624
+ attach_function :glVertex4s, [ :short, :short, :short, :short ], :void
625
+ attach_function :glVertex2dv, [ :pointer ], :void
626
+ attach_function :glVertex2fv, [ :pointer ], :void
627
+ attach_function :glVertex2iv, [ :pointer ], :void
628
+ attach_function :glVertex2sv, [ :pointer ], :void
629
+ attach_function :glVertex3dv, [ :pointer ], :void
630
+ attach_function :glVertex3fv, [ :pointer ], :void
631
+ attach_function :glVertex3iv, [ :pointer ], :void
632
+ attach_function :glVertex3sv, [ :pointer ], :void
633
+ attach_function :glVertex4dv, [ :pointer ], :void
634
+ attach_function :glVertex4fv, [ :pointer ], :void
635
+ attach_function :glVertex4iv, [ :pointer ], :void
636
+ attach_function :glVertex4sv, [ :pointer ], :void
637
+ attach_function :glNormal3b, [ :char, :char, :char ], :void
638
+ attach_function :glNormal3d, [ :double, :double, :double ], :void
639
+ attach_function :glNormal3f, [ :float, :float, :float ], :void
640
+ attach_function :glNormal3i, [ :int, :int, :int ], :void
641
+ attach_function :glNormal3s, [ :short, :short, :short ], :void
642
+ attach_function :glNormal3bv, [ :pointer ], :void
643
+ attach_function :glNormal3dv, [ :pointer ], :void
644
+ attach_function :glNormal3fv, [ :pointer ], :void
645
+ attach_function :glNormal3iv, [ :pointer ], :void
646
+ attach_function :glNormal3sv, [ :pointer ], :void
647
+ attach_function :glIndexd, [ :double ], :void
648
+ attach_function :glIndexf, [ :float ], :void
649
+ attach_function :glIndexi, [ :int ], :void
650
+ attach_function :glIndexs, [ :short ], :void
651
+ attach_function :glIndexub, [ :uchar ], :void
652
+ attach_function :glIndexdv, [ :pointer ], :void
653
+ attach_function :glIndexfv, [ :pointer ], :void
654
+ attach_function :glIndexiv, [ :pointer ], :void
655
+ attach_function :glIndexsv, [ :pointer ], :void
656
+ attach_function :glIndexubv, [ :pointer ], :void
657
+ attach_function :glColor3b, [ :char, :char, :char ], :void
658
+ attach_function :glColor3d, [ :double, :double, :double ], :void
659
+ attach_function :glColor3f, [ :float, :float, :float ], :void
660
+ attach_function :glColor3i, [ :int, :int, :int ], :void
661
+ attach_function :glColor3s, [ :short, :short, :short ], :void
662
+ attach_function :glColor3ub, [ :uchar, :uchar, :uchar ], :void
663
+ attach_function :glColor3ui, [ :uint, :uint, :uint ], :void
664
+ attach_function :glColor3us, [ :ushort, :ushort, :ushort ], :void
665
+ attach_function :glColor4b, [ :char, :char, :char, :char ], :void
666
+ attach_function :glColor4d, [ :double, :double, :double, :double ], :void
667
+ attach_function :glColor4f, [ :float, :float, :float, :float ], :void
668
+ attach_function :glColor4i, [ :int, :int, :int, :int ], :void
669
+ attach_function :glColor4s, [ :short, :short, :short, :short ], :void
670
+ attach_function :glColor4ub, [ :uchar, :uchar, :uchar, :uchar ], :void
671
+ attach_function :glColor4ui, [ :uint, :uint, :uint, :uint ], :void
672
+ attach_function :glColor4us, [ :ushort, :ushort, :ushort, :ushort ], :void
673
+ attach_function :glColor3bv, [ :pointer ], :void
674
+ attach_function :glColor3dv, [ :pointer ], :void
675
+ attach_function :glColor3fv, [ :pointer ], :void
676
+ attach_function :glColor3iv, [ :pointer ], :void
677
+ attach_function :glColor3sv, [ :pointer ], :void
678
+ attach_function :glColor3ubv, [ :pointer ], :void
679
+ attach_function :glColor3uiv, [ :pointer ], :void
680
+ attach_function :glColor3usv, [ :pointer ], :void
681
+ attach_function :glColor4bv, [ :pointer ], :void
682
+ attach_function :glColor4dv, [ :pointer ], :void
683
+ attach_function :glColor4fv, [ :pointer ], :void
684
+ attach_function :glColor4iv, [ :pointer ], :void
685
+ attach_function :glColor4sv, [ :pointer ], :void
686
+ attach_function :glColor4ubv, [ :pointer ], :void
687
+ attach_function :glColor4uiv, [ :pointer ], :void
688
+ attach_function :glColor4usv, [ :pointer ], :void
689
+ attach_function :glTexCoord1d, [ :double ], :void
690
+ attach_function :glTexCoord1f, [ :float ], :void
691
+ attach_function :glTexCoord1i, [ :int ], :void
692
+ attach_function :glTexCoord1s, [ :short ], :void
693
+ attach_function :glTexCoord2d, [ :double, :double ], :void
694
+ attach_function :glTexCoord2f, [ :float, :float ], :void
695
+ attach_function :glTexCoord2i, [ :int, :int ], :void
696
+ attach_function :glTexCoord2s, [ :short, :short ], :void
697
+ attach_function :glTexCoord3d, [ :double, :double, :double ], :void
698
+ attach_function :glTexCoord3f, [ :float, :float, :float ], :void
699
+ attach_function :glTexCoord3i, [ :int, :int, :int ], :void
700
+ attach_function :glTexCoord3s, [ :short, :short, :short ], :void
701
+ attach_function :glTexCoord4d, [ :double, :double, :double, :double ], :void
702
+ attach_function :glTexCoord4f, [ :float, :float, :float, :float ], :void
703
+ attach_function :glTexCoord4i, [ :int, :int, :int, :int ], :void
704
+ attach_function :glTexCoord4s, [ :short, :short, :short, :short ], :void
705
+ attach_function :glTexCoord1dv, [ :pointer ], :void
706
+ attach_function :glTexCoord1fv, [ :pointer ], :void
707
+ attach_function :glTexCoord1iv, [ :pointer ], :void
708
+ attach_function :glTexCoord1sv, [ :pointer ], :void
709
+ attach_function :glTexCoord2dv, [ :pointer ], :void
710
+ attach_function :glTexCoord2fv, [ :pointer ], :void
711
+ attach_function :glTexCoord2iv, [ :pointer ], :void
712
+ attach_function :glTexCoord2sv, [ :pointer ], :void
713
+ attach_function :glTexCoord3dv, [ :pointer ], :void
714
+ attach_function :glTexCoord3fv, [ :pointer ], :void
715
+ attach_function :glTexCoord3iv, [ :pointer ], :void
716
+ attach_function :glTexCoord3sv, [ :pointer ], :void
717
+ attach_function :glTexCoord4dv, [ :pointer ], :void
718
+ attach_function :glTexCoord4fv, [ :pointer ], :void
719
+ attach_function :glTexCoord4iv, [ :pointer ], :void
720
+ attach_function :glTexCoord4sv, [ :pointer ], :void
721
+ attach_function :glRasterPos2d, [ :double, :double ], :void
722
+ attach_function :glRasterPos2f, [ :float, :float ], :void
723
+ attach_function :glRasterPos2i, [ :int, :int ], :void
724
+ attach_function :glRasterPos2s, [ :short, :short ], :void
725
+ attach_function :glRasterPos3d, [ :double, :double, :double ], :void
726
+ attach_function :glRasterPos3f, [ :float, :float, :float ], :void
727
+ attach_function :glRasterPos3i, [ :int, :int, :int ], :void
728
+ attach_function :glRasterPos3s, [ :short, :short, :short ], :void
729
+ attach_function :glRasterPos4d, [ :double, :double, :double, :double ], :void
730
+ attach_function :glRasterPos4f, [ :float, :float, :float, :float ], :void
731
+ attach_function :glRasterPos4i, [ :int, :int, :int, :int ], :void
732
+ attach_function :glRasterPos4s, [ :short, :short, :short, :short ], :void
733
+ attach_function :glRasterPos2dv, [ :pointer ], :void
734
+ attach_function :glRasterPos2fv, [ :pointer ], :void
735
+ attach_function :glRasterPos2iv, [ :pointer ], :void
736
+ attach_function :glRasterPos2sv, [ :pointer ], :void
737
+ attach_function :glRasterPos3dv, [ :pointer ], :void
738
+ attach_function :glRasterPos3fv, [ :pointer ], :void
739
+ attach_function :glRasterPos3iv, [ :pointer ], :void
740
+ attach_function :glRasterPos3sv, [ :pointer ], :void
741
+ attach_function :glRasterPos4dv, [ :pointer ], :void
742
+ attach_function :glRasterPos4fv, [ :pointer ], :void
743
+ attach_function :glRasterPos4iv, [ :pointer ], :void
744
+ attach_function :glRasterPos4sv, [ :pointer ], :void
745
+ attach_function :glRectd, [ :double, :double, :double, :double ], :void
746
+ attach_function :glRectf, [ :float, :float, :float, :float ], :void
747
+ attach_function :glRecti, [ :int, :int, :int, :int ], :void
748
+ attach_function :glRects, [ :short, :short, :short, :short ], :void
749
+ attach_function :glRectdv, [ :pointer, :pointer ], :void
750
+ attach_function :glRectfv, [ :pointer, :pointer ], :void
751
+ attach_function :glRectiv, [ :pointer, :pointer ], :void
752
+ attach_function :glRectsv, [ :pointer, :pointer ], :void
753
+ attach_function :glVertexPointer, [ :int, :uint, :int, :pointer ], :void
754
+ attach_function :glNormalPointer, [ :uint, :int, :pointer ], :void
755
+ attach_function :glColorPointer, [ :int, :uint, :int, :pointer ], :void
756
+ attach_function :glIndexPointer, [ :uint, :int, :pointer ], :void
757
+ attach_function :glTexCoordPointer, [ :int, :uint, :int, :pointer ], :void
758
+ attach_function :glEdgeFlagPointer, [ :int, :pointer ], :void
759
+ attach_function :glGetPointerv, [ :uint, :pointer ], :void
760
+ attach_function :glArrayElement, [ :int ], :void
761
+ attach_function :glDrawArrays, [ :uint, :int, :int ], :void
762
+ attach_function :glDrawElements, [ :uint, :int, :uint, :pointer ], :void
763
+ attach_function :glInterleavedArrays, [ :uint, :int, :pointer ], :void
764
+ attach_function :glShadeModel, [ :uint ], :void
765
+ attach_function :glLightf, [ :uint, :uint, :float ], :void
766
+ attach_function :glLighti, [ :uint, :uint, :int ], :void
767
+ attach_function :glLightfv, [ :uint, :uint, :pointer ], :void
768
+ attach_function :glLightiv, [ :uint, :uint, :pointer ], :void
769
+ attach_function :glGetLightfv, [ :uint, :uint, :pointer ], :void
770
+ attach_function :glGetLightiv, [ :uint, :uint, :pointer ], :void
771
+ attach_function :glLightModelf, [ :uint, :float ], :void
772
+ attach_function :glLightModeli, [ :uint, :int ], :void
773
+ attach_function :glLightModelfv, [ :uint, :pointer ], :void
774
+ attach_function :glLightModeliv, [ :uint, :pointer ], :void
775
+ attach_function :glMaterialf, [ :uint, :uint, :float ], :void
776
+ attach_function :glMateriali, [ :uint, :uint, :int ], :void
777
+ attach_function :glMaterialfv, [ :uint, :uint, :pointer ], :void
778
+ attach_function :glMaterialiv, [ :uint, :uint, :pointer ], :void
779
+ attach_function :glGetMaterialfv, [ :uint, :uint, :pointer ], :void
780
+ attach_function :glGetMaterialiv, [ :uint, :uint, :pointer ], :void
781
+ attach_function :glColorMaterial, [ :uint, :uint ], :void
782
+ attach_function :glPixelZoom, [ :float, :float ], :void
783
+ attach_function :glPixelStoref, [ :uint, :float ], :void
784
+ attach_function :glPixelStorei, [ :uint, :int ], :void
785
+ attach_function :glPixelTransferf, [ :uint, :float ], :void
786
+ attach_function :glPixelTransferi, [ :uint, :int ], :void
787
+ attach_function :glPixelMapfv, [ :uint, :int, :pointer ], :void
788
+ attach_function :glPixelMapuiv, [ :uint, :int, :pointer ], :void
789
+ attach_function :glPixelMapusv, [ :uint, :int, :pointer ], :void
790
+ attach_function :glGetPixelMapfv, [ :uint, :pointer ], :void
791
+ attach_function :glGetPixelMapuiv, [ :uint, :pointer ], :void
792
+ attach_function :glGetPixelMapusv, [ :uint, :pointer ], :void
793
+ attach_function :glBitmap, [ :int, :int, :float, :float, :float, :float, :pointer ], :void
794
+ attach_function :glReadPixels, [ :int, :int, :int, :int, :uint, :uint, :pointer ], :void
795
+ attach_function :glDrawPixels, [ :int, :int, :uint, :uint, :pointer ], :void
796
+ attach_function :glCopyPixels, [ :int, :int, :int, :int, :uint ], :void
797
+ attach_function :glStencilFunc, [ :uint, :int, :uint ], :void
798
+ attach_function :glStencilMask, [ :uint ], :void
799
+ attach_function :glStencilOp, [ :uint, :uint, :uint ], :void
800
+ attach_function :glClearStencil, [ :int ], :void
801
+ attach_function :glTexGend, [ :uint, :uint, :double ], :void
802
+ attach_function :glTexGenf, [ :uint, :uint, :float ], :void
803
+ attach_function :glTexGeni, [ :uint, :uint, :int ], :void
804
+ attach_function :glTexGendv, [ :uint, :uint, :pointer ], :void
805
+ attach_function :glTexGenfv, [ :uint, :uint, :pointer ], :void
806
+ attach_function :glTexGeniv, [ :uint, :uint, :pointer ], :void
807
+ attach_function :glGetTexGendv, [ :uint, :uint, :pointer ], :void
808
+ attach_function :glGetTexGenfv, [ :uint, :uint, :pointer ], :void
809
+ attach_function :glGetTexGeniv, [ :uint, :uint, :pointer ], :void
810
+ attach_function :glTexEnvf, [ :uint, :uint, :float ], :void
811
+ attach_function :glTexEnvi, [ :uint, :uint, :int ], :void
812
+ attach_function :glTexEnvfv, [ :uint, :uint, :pointer ], :void
813
+ attach_function :glTexEnviv, [ :uint, :uint, :pointer ], :void
814
+ attach_function :glGetTexEnvfv, [ :uint, :uint, :pointer ], :void
815
+ attach_function :glGetTexEnviv, [ :uint, :uint, :pointer ], :void
816
+ attach_function :glTexParameterf, [ :uint, :uint, :float ], :void
817
+ attach_function :glTexParameteri, [ :uint, :uint, :int ], :void
818
+ attach_function :glTexParameterfv, [ :uint, :uint, :pointer ], :void
819
+ attach_function :glTexParameteriv, [ :uint, :uint, :pointer ], :void
820
+ attach_function :glGetTexParameterfv, [ :uint, :uint, :pointer ], :void
821
+ attach_function :glGetTexParameteriv, [ :uint, :uint, :pointer ], :void
822
+ attach_function :glGetTexLevelParameterfv, [ :uint, :int, :uint, :pointer ], :void
823
+ attach_function :glGetTexLevelParameteriv, [ :uint, :int, :uint, :pointer ], :void
824
+ attach_function :glTexImage1D, [ :uint, :int, :int, :int, :int, :uint, :uint, :pointer ], :void
825
+ attach_function :glTexImage2D, [ :uint, :int, :int, :int, :int, :int, :uint, :uint, :pointer ], :void
826
+ attach_function :glGetTexImage, [ :uint, :int, :uint, :uint, :pointer ], :void
827
+ attach_function :glGenTextures, [ :int, :pointer ], :void
828
+ attach_function :glDeleteTextures, [ :int, :pointer ], :void
829
+ attach_function :glBindTexture, [ :uint, :uint ], :void
830
+ attach_function :glPrioritizeTextures, [ :int, :pointer, :pointer ], :void
831
+ attach_function :glAreTexturesResident, [ :int, :pointer, :pointer ], :uchar
832
+ attach_function :glIsTexture, [ :uint ], :uchar
833
+ attach_function :glTexSubImage1D, [ :uint, :int, :int, :int, :uint, :uint, :pointer ], :void
834
+ attach_function :glTexSubImage2D, [ :uint, :int, :int, :int, :int, :int, :uint, :uint, :pointer ], :void
835
+ attach_function :glCopyTexImage1D, [ :uint, :int, :uint, :int, :int, :int, :int ], :void
836
+ attach_function :glCopyTexImage2D, [ :uint, :int, :uint, :int, :int, :int, :int, :int ], :void
837
+ attach_function :glCopyTexSubImage1D, [ :uint, :int, :int, :int, :int, :int ], :void
838
+ attach_function :glCopyTexSubImage2D, [ :uint, :int, :int, :int, :int, :int, :int, :int ], :void
839
+ attach_function :glMap1d, [ :uint, :double, :double, :int, :int, :pointer ], :void
840
+ attach_function :glMap1f, [ :uint, :float, :float, :int, :int, :pointer ], :void
841
+ attach_function :glMap2d, [ :uint, :double, :double, :int, :int, :double, :double, :int, :int, :pointer ], :void
842
+ attach_function :glMap2f, [ :uint, :float, :float, :int, :int, :float, :float, :int, :int, :pointer ], :void
843
+ attach_function :glGetMapdv, [ :uint, :uint, :pointer ], :void
844
+ attach_function :glGetMapfv, [ :uint, :uint, :pointer ], :void
845
+ attach_function :glGetMapiv, [ :uint, :uint, :pointer ], :void
846
+ attach_function :glEvalCoord1d, [ :double ], :void
847
+ attach_function :glEvalCoord1f, [ :float ], :void
848
+ attach_function :glEvalCoord1dv, [ :pointer ], :void
849
+ attach_function :glEvalCoord1fv, [ :pointer ], :void
850
+ attach_function :glEvalCoord2d, [ :double, :double ], :void
851
+ attach_function :glEvalCoord2f, [ :float, :float ], :void
852
+ attach_function :glEvalCoord2dv, [ :pointer ], :void
853
+ attach_function :glEvalCoord2fv, [ :pointer ], :void
854
+ attach_function :glMapGrid1d, [ :int, :double, :double ], :void
855
+ attach_function :glMapGrid1f, [ :int, :float, :float ], :void
856
+ attach_function :glMapGrid2d, [ :int, :double, :double, :int, :double, :double ], :void
857
+ attach_function :glMapGrid2f, [ :int, :float, :float, :int, :float, :float ], :void
858
+ attach_function :glEvalPoint1, [ :int ], :void
859
+ attach_function :glEvalPoint2, [ :int, :int ], :void
860
+ attach_function :glEvalMesh1, [ :uint, :int, :int ], :void
861
+ attach_function :glEvalMesh2, [ :uint, :int, :int, :int, :int ], :void
862
+ attach_function :glFogf, [ :uint, :float ], :void
863
+ attach_function :glFogi, [ :uint, :int ], :void
864
+ attach_function :glFogfv, [ :uint, :pointer ], :void
865
+ attach_function :glFogiv, [ :uint, :pointer ], :void
866
+ attach_function :glFeedbackBuffer, [ :int, :uint, :pointer ], :void
867
+ attach_function :glPassThrough, [ :float ], :void
868
+ attach_function :glSelectBuffer, [ :int, :pointer ], :void
869
+ attach_function :glInitNames, [ ], :void
870
+ attach_function :glLoadName, [ :uint ], :void
871
+ attach_function :glPushName, [ :uint ], :void
872
+ attach_function :glPopName, [ ], :void
873
+ GL_RESCALE_NORMAL = 0x803A
874
+ GL_CLAMP_TO_EDGE = 0x812F
875
+ GL_MAX_ELEMENTS_VERTICES = 0x80E8
876
+ GL_MAX_ELEMENTS_INDICES = 0x80E9
877
+ GL_BGR = 0x80E0
878
+ GL_BGRA = 0x80E1
879
+ GL_UNSIGNED_BYTE_3_3_2 = 0x8032
880
+ GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362
881
+ GL_UNSIGNED_SHORT_5_6_5 = 0x8363
882
+ GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364
883
+ GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033
884
+ GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365
885
+ GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034
886
+ GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366
887
+ GL_UNSIGNED_INT_8_8_8_8 = 0x8035
888
+ GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367
889
+ GL_UNSIGNED_INT_10_10_10_2 = 0x8036
890
+ GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368
891
+ GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8
892
+ GL_SINGLE_COLOR = 0x81F9
893
+ GL_SEPARATE_SPECULAR_COLOR = 0x81FA
894
+ GL_TEXTURE_MIN_LOD = 0x813A
895
+ GL_TEXTURE_MAX_LOD = 0x813B
896
+ GL_TEXTURE_BASE_LEVEL = 0x813C
897
+ GL_TEXTURE_MAX_LEVEL = 0x813D
898
+ GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12
899
+ GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13
900
+ GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22
901
+ GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23
902
+ GL_ALIASED_POINT_SIZE_RANGE = 0x846D
903
+ GL_ALIASED_LINE_WIDTH_RANGE = 0x846E
904
+ GL_PACK_SKIP_IMAGES = 0x806B
905
+ GL_PACK_IMAGE_HEIGHT = 0x806C
906
+ GL_UNPACK_SKIP_IMAGES = 0x806D
907
+ GL_UNPACK_IMAGE_HEIGHT = 0x806E
908
+ GL_TEXTURE_3D = 0x806F
909
+ GL_PROXY_TEXTURE_3D = 0x8070
910
+ GL_TEXTURE_DEPTH = 0x8071
911
+ GL_TEXTURE_WRAP_R = 0x8072
912
+ GL_MAX_3D_TEXTURE_SIZE = 0x8073
913
+ GL_TEXTURE_BINDING_3D = 0x806A
914
+ attach_function :glDrawRangeElements, [ :uint, :uint, :uint, :int, :uint, :pointer ], :void
915
+ attach_function :glTexImage3D, [ :uint, :int, :int, :int, :int, :int, :int, :uint, :uint, :pointer ], :void
916
+ attach_function :glTexSubImage3D, [ :uint, :int, :int, :int, :int, :int, :int, :int, :uint, :uint, :pointer ], :void
917
+ attach_function :glCopyTexSubImage3D, [ :uint, :int, :int, :int, :int, :int, :int, :int, :int ], :void
918
+ callback(:PFNGLDRAWRANGEELEMENTSPROC, [ :uint, :uint, :uint, :int, :uint, :pointer ], :void)
919
+ callback(:PFNGLTEXIMAGE3DPROC, [ :uint, :int, :int, :int, :int, :int, :int, :uint, :uint, :pointer ], :void)
920
+ callback(:PFNGLTEXSUBIMAGE3DPROC, [ :uint, :int, :int, :int, :int, :int, :int, :int, :uint, :uint, :pointer ], :void)
921
+ callback(:PFNGLCOPYTEXSUBIMAGE3DPROC, [ :uint, :int, :int, :int, :int, :int, :int, :int, :int ], :void)
922
+ GL_CONSTANT_COLOR = 0x8001
923
+ GL_ONE_MINUS_CONSTANT_COLOR = 0x8002
924
+ GL_CONSTANT_ALPHA = 0x8003
925
+ GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004
926
+ GL_COLOR_TABLE = 0x80D0
927
+ GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1
928
+ GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2
929
+ GL_PROXY_COLOR_TABLE = 0x80D3
930
+ GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4
931
+ GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5
932
+ GL_COLOR_TABLE_SCALE = 0x80D6
933
+ GL_COLOR_TABLE_BIAS = 0x80D7
934
+ GL_COLOR_TABLE_FORMAT = 0x80D8
935
+ GL_COLOR_TABLE_WIDTH = 0x80D9
936
+ GL_COLOR_TABLE_RED_SIZE = 0x80DA
937
+ GL_COLOR_TABLE_GREEN_SIZE = 0x80DB
938
+ GL_COLOR_TABLE_BLUE_SIZE = 0x80DC
939
+ GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD
940
+ GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE
941
+ GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF
942
+ GL_CONVOLUTION_1D = 0x8010
943
+ GL_CONVOLUTION_2D = 0x8011
944
+ GL_SEPARABLE_2D = 0x8012
945
+ GL_CONVOLUTION_BORDER_MODE = 0x8013
946
+ GL_CONVOLUTION_FILTER_SCALE = 0x8014
947
+ GL_CONVOLUTION_FILTER_BIAS = 0x8015
948
+ GL_REDUCE = 0x8016
949
+ GL_CONVOLUTION_FORMAT = 0x8017
950
+ GL_CONVOLUTION_WIDTH = 0x8018
951
+ GL_CONVOLUTION_HEIGHT = 0x8019
952
+ GL_MAX_CONVOLUTION_WIDTH = 0x801A
953
+ GL_MAX_CONVOLUTION_HEIGHT = 0x801B
954
+ GL_POST_CONVOLUTION_RED_SCALE = 0x801C
955
+ GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D
956
+ GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E
957
+ GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F
958
+ GL_POST_CONVOLUTION_RED_BIAS = 0x8020
959
+ GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021
960
+ GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022
961
+ GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023
962
+ GL_CONSTANT_BORDER = 0x8151
963
+ GL_REPLICATE_BORDER = 0x8153
964
+ GL_CONVOLUTION_BORDER_COLOR = 0x8154
965
+ GL_COLOR_MATRIX = 0x80B1
966
+ GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2
967
+ GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3
968
+ GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4
969
+ GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5
970
+ GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6
971
+ GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7
972
+ GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8
973
+ GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9
974
+ GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA
975
+ GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB
976
+ GL_HISTOGRAM = 0x8024
977
+ GL_PROXY_HISTOGRAM = 0x8025
978
+ GL_HISTOGRAM_WIDTH = 0x8026
979
+ GL_HISTOGRAM_FORMAT = 0x8027
980
+ GL_HISTOGRAM_RED_SIZE = 0x8028
981
+ GL_HISTOGRAM_GREEN_SIZE = 0x8029
982
+ GL_HISTOGRAM_BLUE_SIZE = 0x802A
983
+ GL_HISTOGRAM_ALPHA_SIZE = 0x802B
984
+ GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C
985
+ GL_HISTOGRAM_SINK = 0x802D
986
+ GL_MINMAX = 0x802E
987
+ GL_MINMAX_FORMAT = 0x802F
988
+ GL_MINMAX_SINK = 0x8030
989
+ GL_TABLE_TOO_LARGE = 0x8031
990
+ GL_BLEND_EQUATION = 0x8009
991
+ GL_MIN = 0x8007
992
+ GL_MAX = 0x8008
993
+ GL_FUNC_ADD = 0x8006
994
+ GL_FUNC_SUBTRACT = 0x800A
995
+ GL_FUNC_REVERSE_SUBTRACT = 0x800B
996
+ GL_BLEND_COLOR = 0x8005
997
+ attach_function :glColorTable, [ :uint, :uint, :int, :uint, :uint, :pointer ], :void
998
+ attach_function :glColorSubTable, [ :uint, :int, :int, :uint, :uint, :pointer ], :void
999
+ attach_function :glColorTableParameteriv, [ :uint, :uint, :pointer ], :void
1000
+ attach_function :glColorTableParameterfv, [ :uint, :uint, :pointer ], :void
1001
+ attach_function :glCopyColorSubTable, [ :uint, :int, :int, :int, :int ], :void
1002
+ attach_function :glCopyColorTable, [ :uint, :uint, :int, :int, :int ], :void
1003
+ attach_function :glGetColorTable, [ :uint, :uint, :uint, :pointer ], :void
1004
+ attach_function :glGetColorTableParameterfv, [ :uint, :uint, :pointer ], :void
1005
+ attach_function :glGetColorTableParameteriv, [ :uint, :uint, :pointer ], :void
1006
+ attach_function :glBlendEquation, [ :uint ], :void
1007
+ attach_function :glBlendColor, [ :float, :float, :float, :float ], :void
1008
+ attach_function :glHistogram, [ :uint, :int, :uint, :uchar ], :void
1009
+ attach_function :glResetHistogram, [ :uint ], :void
1010
+ attach_function :glGetHistogram, [ :uint, :uchar, :uint, :uint, :pointer ], :void
1011
+ attach_function :glGetHistogramParameterfv, [ :uint, :uint, :pointer ], :void
1012
+ attach_function :glGetHistogramParameteriv, [ :uint, :uint, :pointer ], :void
1013
+ attach_function :glMinmax, [ :uint, :uint, :uchar ], :void
1014
+ attach_function :glResetMinmax, [ :uint ], :void
1015
+ attach_function :glGetMinmax, [ :uint, :uchar, :uint, :uint, :pointer ], :void
1016
+ attach_function :glGetMinmaxParameterfv, [ :uint, :uint, :pointer ], :void
1017
+ attach_function :glGetMinmaxParameteriv, [ :uint, :uint, :pointer ], :void
1018
+ attach_function :glConvolutionFilter1D, [ :uint, :uint, :int, :uint, :uint, :pointer ], :void
1019
+ attach_function :glConvolutionFilter2D, [ :uint, :uint, :int, :int, :uint, :uint, :pointer ], :void
1020
+ attach_function :glConvolutionParameterf, [ :uint, :uint, :float ], :void
1021
+ attach_function :glConvolutionParameterfv, [ :uint, :uint, :pointer ], :void
1022
+ attach_function :glConvolutionParameteri, [ :uint, :uint, :int ], :void
1023
+ attach_function :glConvolutionParameteriv, [ :uint, :uint, :pointer ], :void
1024
+ attach_function :glCopyConvolutionFilter1D, [ :uint, :uint, :int, :int, :int ], :void
1025
+ attach_function :glCopyConvolutionFilter2D, [ :uint, :uint, :int, :int, :int, :int ], :void
1026
+ attach_function :glGetConvolutionFilter, [ :uint, :uint, :uint, :pointer ], :void
1027
+ attach_function :glGetConvolutionParameterfv, [ :uint, :uint, :pointer ], :void
1028
+ attach_function :glGetConvolutionParameteriv, [ :uint, :uint, :pointer ], :void
1029
+ attach_function :glSeparableFilter2D, [ :uint, :uint, :int, :int, :uint, :uint, :pointer, :pointer ], :void
1030
+ attach_function :glGetSeparableFilter, [ :uint, :uint, :uint, :pointer, :pointer, :pointer ], :void
1031
+ callback(:PFNGLBLENDCOLORPROC, [ :float, :float, :float, :float ], :void)
1032
+ callback(:PFNGLBLENDEQUATIONPROC, [ :uint ], :void)
1033
+ callback(:PFNGLCOLORTABLEPROC, [ :uint, :uint, :int, :uint, :uint, :pointer ], :void)
1034
+ callback(:PFNGLCOLORTABLEPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
1035
+ callback(:PFNGLCOLORTABLEPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
1036
+ callback(:PFNGLCOPYCOLORTABLEPROC, [ :uint, :uint, :int, :int, :int ], :void)
1037
+ callback(:PFNGLGETCOLORTABLEPROC, [ :uint, :uint, :uint, :pointer ], :void)
1038
+ callback(:PFNGLGETCOLORTABLEPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
1039
+ callback(:PFNGLGETCOLORTABLEPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
1040
+ callback(:PFNGLCOLORSUBTABLEPROC, [ :uint, :int, :int, :uint, :uint, :pointer ], :void)
1041
+ callback(:PFNGLCOPYCOLORSUBTABLEPROC, [ :uint, :int, :int, :int, :int ], :void)
1042
+ callback(:PFNGLCONVOLUTIONFILTER1DPROC, [ :uint, :uint, :int, :uint, :uint, :pointer ], :void)
1043
+ callback(:PFNGLCONVOLUTIONFILTER2DPROC, [ :uint, :uint, :int, :int, :uint, :uint, :pointer ], :void)
1044
+ callback(:PFNGLCONVOLUTIONPARAMETERFPROC, [ :uint, :uint, :float ], :void)
1045
+ callback(:PFNGLCONVOLUTIONPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
1046
+ callback(:PFNGLCONVOLUTIONPARAMETERIPROC, [ :uint, :uint, :int ], :void)
1047
+ callback(:PFNGLCONVOLUTIONPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
1048
+ callback(:PFNGLCOPYCONVOLUTIONFILTER1DPROC, [ :uint, :uint, :int, :int, :int ], :void)
1049
+ callback(:PFNGLCOPYCONVOLUTIONFILTER2DPROC, [ :uint, :uint, :int, :int, :int, :int ], :void)
1050
+ callback(:PFNGLGETCONVOLUTIONFILTERPROC, [ :uint, :uint, :uint, :pointer ], :void)
1051
+ callback(:PFNGLGETCONVOLUTIONPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
1052
+ callback(:PFNGLGETCONVOLUTIONPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
1053
+ callback(:PFNGLGETSEPARABLEFILTERPROC, [ :uint, :uint, :uint, :pointer, :pointer, :pointer ], :void)
1054
+ callback(:PFNGLSEPARABLEFILTER2DPROC, [ :uint, :uint, :int, :int, :uint, :uint, :pointer, :pointer ], :void)
1055
+ callback(:PFNGLGETHISTOGRAMPROC, [ :uint, :uchar, :uint, :uint, :pointer ], :void)
1056
+ callback(:PFNGLGETHISTOGRAMPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
1057
+ callback(:PFNGLGETHISTOGRAMPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
1058
+ callback(:PFNGLGETMINMAXPROC, [ :uint, :uchar, :uint, :uint, :pointer ], :void)
1059
+ callback(:PFNGLGETMINMAXPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
1060
+ callback(:PFNGLGETMINMAXPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
1061
+ callback(:PFNGLHISTOGRAMPROC, [ :uint, :int, :uint, :uchar ], :void)
1062
+ callback(:PFNGLMINMAXPROC, [ :uint, :uint, :uchar ], :void)
1063
+ callback(:PFNGLRESETHISTOGRAMPROC, [ :uint ], :void)
1064
+ callback(:PFNGLRESETMINMAXPROC, [ :uint ], :void)
1065
+ GL_TEXTURE0 = 0x84C0
1066
+ GL_TEXTURE1 = 0x84C1
1067
+ GL_TEXTURE2 = 0x84C2
1068
+ GL_TEXTURE3 = 0x84C3
1069
+ GL_TEXTURE4 = 0x84C4
1070
+ GL_TEXTURE5 = 0x84C5
1071
+ GL_TEXTURE6 = 0x84C6
1072
+ GL_TEXTURE7 = 0x84C7
1073
+ GL_TEXTURE8 = 0x84C8
1074
+ GL_TEXTURE9 = 0x84C9
1075
+ GL_TEXTURE10 = 0x84CA
1076
+ GL_TEXTURE11 = 0x84CB
1077
+ GL_TEXTURE12 = 0x84CC
1078
+ GL_TEXTURE13 = 0x84CD
1079
+ GL_TEXTURE14 = 0x84CE
1080
+ GL_TEXTURE15 = 0x84CF
1081
+ GL_TEXTURE16 = 0x84D0
1082
+ GL_TEXTURE17 = 0x84D1
1083
+ GL_TEXTURE18 = 0x84D2
1084
+ GL_TEXTURE19 = 0x84D3
1085
+ GL_TEXTURE20 = 0x84D4
1086
+ GL_TEXTURE21 = 0x84D5
1087
+ GL_TEXTURE22 = 0x84D6
1088
+ GL_TEXTURE23 = 0x84D7
1089
+ GL_TEXTURE24 = 0x84D8
1090
+ GL_TEXTURE25 = 0x84D9
1091
+ GL_TEXTURE26 = 0x84DA
1092
+ GL_TEXTURE27 = 0x84DB
1093
+ GL_TEXTURE28 = 0x84DC
1094
+ GL_TEXTURE29 = 0x84DD
1095
+ GL_TEXTURE30 = 0x84DE
1096
+ GL_TEXTURE31 = 0x84DF
1097
+ GL_ACTIVE_TEXTURE = 0x84E0
1098
+ GL_CLIENT_ACTIVE_TEXTURE = 0x84E1
1099
+ GL_MAX_TEXTURE_UNITS = 0x84E2
1100
+ GL_NORMAL_MAP = 0x8511
1101
+ GL_REFLECTION_MAP = 0x8512
1102
+ GL_TEXTURE_CUBE_MAP = 0x8513
1103
+ GL_TEXTURE_BINDING_CUBE_MAP = 0x8514
1104
+ GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
1105
+ GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
1106
+ GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
1107
+ GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
1108
+ GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
1109
+ GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
1110
+ GL_PROXY_TEXTURE_CUBE_MAP = 0x851B
1111
+ GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C
1112
+ GL_COMPRESSED_ALPHA = 0x84E9
1113
+ GL_COMPRESSED_LUMINANCE = 0x84EA
1114
+ GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB
1115
+ GL_COMPRESSED_INTENSITY = 0x84EC
1116
+ GL_COMPRESSED_RGB = 0x84ED
1117
+ GL_COMPRESSED_RGBA = 0x84EE
1118
+ GL_TEXTURE_COMPRESSION_HINT = 0x84EF
1119
+ GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0
1120
+ GL_TEXTURE_COMPRESSED = 0x86A1
1121
+ GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
1122
+ GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3
1123
+ GL_MULTISAMPLE = 0x809D
1124
+ GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E
1125
+ GL_SAMPLE_ALPHA_TO_ONE = 0x809F
1126
+ GL_SAMPLE_COVERAGE = 0x80A0
1127
+ GL_SAMPLE_BUFFERS = 0x80A8
1128
+ GL_SAMPLES = 0x80A9
1129
+ GL_SAMPLE_COVERAGE_VALUE = 0x80AA
1130
+ GL_SAMPLE_COVERAGE_INVERT = 0x80AB
1131
+ GL_MULTISAMPLE_BIT = 0x20000000
1132
+ GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3
1133
+ GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4
1134
+ GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5
1135
+ GL_TRANSPOSE_COLOR_MATRIX = 0x84E6
1136
+ GL_COMBINE = 0x8570
1137
+ GL_COMBINE_RGB = 0x8571
1138
+ GL_COMBINE_ALPHA = 0x8572
1139
+ GL_SOURCE0_RGB = 0x8580
1140
+ GL_SOURCE1_RGB = 0x8581
1141
+ GL_SOURCE2_RGB = 0x8582
1142
+ GL_SOURCE0_ALPHA = 0x8588
1143
+ GL_SOURCE1_ALPHA = 0x8589
1144
+ GL_SOURCE2_ALPHA = 0x858A
1145
+ GL_OPERAND0_RGB = 0x8590
1146
+ GL_OPERAND1_RGB = 0x8591
1147
+ GL_OPERAND2_RGB = 0x8592
1148
+ GL_OPERAND0_ALPHA = 0x8598
1149
+ GL_OPERAND1_ALPHA = 0x8599
1150
+ GL_OPERAND2_ALPHA = 0x859A
1151
+ GL_RGB_SCALE = 0x8573
1152
+ GL_ADD_SIGNED = 0x8574
1153
+ GL_INTERPOLATE = 0x8575
1154
+ GL_SUBTRACT = 0x84E7
1155
+ GL_CONSTANT = 0x8576
1156
+ GL_PRIMARY_COLOR = 0x8577
1157
+ GL_PREVIOUS = 0x8578
1158
+ GL_DOT3_RGB = 0x86AE
1159
+ GL_DOT3_RGBA = 0x86AF
1160
+ GL_CLAMP_TO_BORDER = 0x812D
1161
+ attach_function :glActiveTexture, [ :uint ], :void
1162
+ attach_function :glClientActiveTexture, [ :uint ], :void
1163
+ attach_function :glCompressedTexImage1D, [ :uint, :int, :uint, :int, :int, :int, :pointer ], :void
1164
+ attach_function :glCompressedTexImage2D, [ :uint, :int, :uint, :int, :int, :int, :int, :pointer ], :void
1165
+ attach_function :glCompressedTexImage3D, [ :uint, :int, :uint, :int, :int, :int, :int, :int, :pointer ], :void
1166
+ attach_function :glCompressedTexSubImage1D, [ :uint, :int, :int, :int, :uint, :int, :pointer ], :void
1167
+ attach_function :glCompressedTexSubImage2D, [ :uint, :int, :int, :int, :int, :int, :uint, :int, :pointer ], :void
1168
+ attach_function :glCompressedTexSubImage3D, [ :uint, :int, :int, :int, :int, :int, :int, :int, :uint, :int, :pointer ], :void
1169
+ attach_function :glGetCompressedTexImage, [ :uint, :int, :pointer ], :void
1170
+ attach_function :glMultiTexCoord1d, [ :uint, :double ], :void
1171
+ attach_function :glMultiTexCoord1dv, [ :uint, :pointer ], :void
1172
+ attach_function :glMultiTexCoord1f, [ :uint, :float ], :void
1173
+ attach_function :glMultiTexCoord1fv, [ :uint, :pointer ], :void
1174
+ attach_function :glMultiTexCoord1i, [ :uint, :int ], :void
1175
+ attach_function :glMultiTexCoord1iv, [ :uint, :pointer ], :void
1176
+ attach_function :glMultiTexCoord1s, [ :uint, :short ], :void
1177
+ attach_function :glMultiTexCoord1sv, [ :uint, :pointer ], :void
1178
+ attach_function :glMultiTexCoord2d, [ :uint, :double, :double ], :void
1179
+ attach_function :glMultiTexCoord2dv, [ :uint, :pointer ], :void
1180
+ attach_function :glMultiTexCoord2f, [ :uint, :float, :float ], :void
1181
+ attach_function :glMultiTexCoord2fv, [ :uint, :pointer ], :void
1182
+ attach_function :glMultiTexCoord2i, [ :uint, :int, :int ], :void
1183
+ attach_function :glMultiTexCoord2iv, [ :uint, :pointer ], :void
1184
+ attach_function :glMultiTexCoord2s, [ :uint, :short, :short ], :void
1185
+ attach_function :glMultiTexCoord2sv, [ :uint, :pointer ], :void
1186
+ attach_function :glMultiTexCoord3d, [ :uint, :double, :double, :double ], :void
1187
+ attach_function :glMultiTexCoord3dv, [ :uint, :pointer ], :void
1188
+ attach_function :glMultiTexCoord3f, [ :uint, :float, :float, :float ], :void
1189
+ attach_function :glMultiTexCoord3fv, [ :uint, :pointer ], :void
1190
+ attach_function :glMultiTexCoord3i, [ :uint, :int, :int, :int ], :void
1191
+ attach_function :glMultiTexCoord3iv, [ :uint, :pointer ], :void
1192
+ attach_function :glMultiTexCoord3s, [ :uint, :short, :short, :short ], :void
1193
+ attach_function :glMultiTexCoord3sv, [ :uint, :pointer ], :void
1194
+ attach_function :glMultiTexCoord4d, [ :uint, :double, :double, :double, :double ], :void
1195
+ attach_function :glMultiTexCoord4dv, [ :uint, :pointer ], :void
1196
+ attach_function :glMultiTexCoord4f, [ :uint, :float, :float, :float, :float ], :void
1197
+ attach_function :glMultiTexCoord4fv, [ :uint, :pointer ], :void
1198
+ attach_function :glMultiTexCoord4i, [ :uint, :int, :int, :int, :int ], :void
1199
+ attach_function :glMultiTexCoord4iv, [ :uint, :pointer ], :void
1200
+ attach_function :glMultiTexCoord4s, [ :uint, :short, :short, :short, :short ], :void
1201
+ attach_function :glMultiTexCoord4sv, [ :uint, :pointer ], :void
1202
+ attach_function :glSampleCoverage, [ :float, :uchar ], :void
1203
+ callback(:PFNGLACTIVETEXTUREPROC, [ :uint ], :void)
1204
+ callback(:PFNGLCLIENTACTIVETEXTUREPROC, [ :uint ], :void)
1205
+ callback(:PFNGLMULTITEXCOORD1DPROC, [ :uint, :double ], :void)
1206
+ callback(:PFNGLMULTITEXCOORD1DVPROC, [ :uint, :pointer ], :void)
1207
+ callback(:PFNGLMULTITEXCOORD1FPROC, [ :uint, :float ], :void)
1208
+ callback(:PFNGLMULTITEXCOORD1FVPROC, [ :uint, :pointer ], :void)
1209
+ callback(:PFNGLMULTITEXCOORD1IPROC, [ :uint, :int ], :void)
1210
+ callback(:PFNGLMULTITEXCOORD1IVPROC, [ :uint, :pointer ], :void)
1211
+ callback(:PFNGLMULTITEXCOORD1SPROC, [ :uint, :short ], :void)
1212
+ callback(:PFNGLMULTITEXCOORD1SVPROC, [ :uint, :pointer ], :void)
1213
+ callback(:PFNGLMULTITEXCOORD2DPROC, [ :uint, :double, :double ], :void)
1214
+ callback(:PFNGLMULTITEXCOORD2DVPROC, [ :uint, :pointer ], :void)
1215
+ callback(:PFNGLMULTITEXCOORD2FPROC, [ :uint, :float, :float ], :void)
1216
+ callback(:PFNGLMULTITEXCOORD2FVPROC, [ :uint, :pointer ], :void)
1217
+ callback(:PFNGLMULTITEXCOORD2IPROC, [ :uint, :int, :int ], :void)
1218
+ callback(:PFNGLMULTITEXCOORD2IVPROC, [ :uint, :pointer ], :void)
1219
+ callback(:PFNGLMULTITEXCOORD2SPROC, [ :uint, :short, :short ], :void)
1220
+ callback(:PFNGLMULTITEXCOORD2SVPROC, [ :uint, :pointer ], :void)
1221
+ callback(:PFNGLMULTITEXCOORD3DPROC, [ :uint, :double, :double, :double ], :void)
1222
+ callback(:PFNGLMULTITEXCOORD3DVPROC, [ :uint, :pointer ], :void)
1223
+ callback(:PFNGLMULTITEXCOORD3FPROC, [ :uint, :float, :float, :float ], :void)
1224
+ callback(:PFNGLMULTITEXCOORD3FVPROC, [ :uint, :pointer ], :void)
1225
+ callback(:PFNGLMULTITEXCOORD3IPROC, [ :uint, :int, :int, :int ], :void)
1226
+ callback(:PFNGLMULTITEXCOORD3IVPROC, [ :uint, :pointer ], :void)
1227
+ callback(:PFNGLMULTITEXCOORD3SPROC, [ :uint, :short, :short, :short ], :void)
1228
+ callback(:PFNGLMULTITEXCOORD3SVPROC, [ :uint, :pointer ], :void)
1229
+ callback(:PFNGLMULTITEXCOORD4DPROC, [ :uint, :double, :double, :double, :double ], :void)
1230
+ callback(:PFNGLMULTITEXCOORD4DVPROC, [ :uint, :pointer ], :void)
1231
+ callback(:PFNGLMULTITEXCOORD4FPROC, [ :uint, :float, :float, :float, :float ], :void)
1232
+ callback(:PFNGLMULTITEXCOORD4FVPROC, [ :uint, :pointer ], :void)
1233
+ callback(:PFNGLMULTITEXCOORD4IPROC, [ :uint, :int, :int, :int, :int ], :void)
1234
+ callback(:PFNGLMULTITEXCOORD4IVPROC, [ :uint, :pointer ], :void)
1235
+ callback(:PFNGLMULTITEXCOORD4SPROC, [ :uint, :short, :short, :short, :short ], :void)
1236
+ callback(:PFNGLMULTITEXCOORD4SVPROC, [ :uint, :pointer ], :void)
1237
+ callback(:PFNGLLOADTRANSPOSEMATRIXFPROC, [ :pointer ], :void)
1238
+ callback(:PFNGLLOADTRANSPOSEMATRIXDPROC, [ :pointer ], :void)
1239
+ callback(:PFNGLMULTTRANSPOSEMATRIXFPROC, [ :pointer ], :void)
1240
+ callback(:PFNGLMULTTRANSPOSEMATRIXDPROC, [ :pointer ], :void)
1241
+ callback(:PFNGLSAMPLECOVERAGEPROC, [ :float, :uchar ], :void)
1242
+ callback(:PFNGLCOMPRESSEDTEXIMAGE3DPROC, [ :uint, :int, :uint, :int, :int, :int, :int, :int, :pointer ], :void)
1243
+ callback(:PFNGLCOMPRESSEDTEXIMAGE2DPROC, [ :uint, :int, :uint, :int, :int, :int, :int, :pointer ], :void)
1244
+ callback(:PFNGLCOMPRESSEDTEXIMAGE1DPROC, [ :uint, :int, :uint, :int, :int, :int, :pointer ], :void)
1245
+ callback(:PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC, [ :uint, :int, :int, :int, :int, :int, :int, :int, :uint, :int, :pointer ], :void)
1246
+ callback(:PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC, [ :uint, :int, :int, :int, :int, :int, :uint, :int, :pointer ], :void)
1247
+ callback(:PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC, [ :uint, :int, :int, :int, :uint, :int, :pointer ], :void)
1248
+ callback(:PFNGLGETCOMPRESSEDTEXIMAGEPROC, [ :uint, :int, :pointer ], :void)
1249
+ GL_ARB_multitexture = 1
1250
+ GL_TEXTURE0_ARB = 0x84C0
1251
+ GL_TEXTURE1_ARB = 0x84C1
1252
+ GL_TEXTURE2_ARB = 0x84C2
1253
+ GL_TEXTURE3_ARB = 0x84C3
1254
+ GL_TEXTURE4_ARB = 0x84C4
1255
+ GL_TEXTURE5_ARB = 0x84C5
1256
+ GL_TEXTURE6_ARB = 0x84C6
1257
+ GL_TEXTURE7_ARB = 0x84C7
1258
+ GL_TEXTURE8_ARB = 0x84C8
1259
+ GL_TEXTURE9_ARB = 0x84C9
1260
+ GL_TEXTURE10_ARB = 0x84CA
1261
+ GL_TEXTURE11_ARB = 0x84CB
1262
+ GL_TEXTURE12_ARB = 0x84CC
1263
+ GL_TEXTURE13_ARB = 0x84CD
1264
+ GL_TEXTURE14_ARB = 0x84CE
1265
+ GL_TEXTURE15_ARB = 0x84CF
1266
+ GL_TEXTURE16_ARB = 0x84D0
1267
+ GL_TEXTURE17_ARB = 0x84D1
1268
+ GL_TEXTURE18_ARB = 0x84D2
1269
+ GL_TEXTURE19_ARB = 0x84D3
1270
+ GL_TEXTURE20_ARB = 0x84D4
1271
+ GL_TEXTURE21_ARB = 0x84D5
1272
+ GL_TEXTURE22_ARB = 0x84D6
1273
+ GL_TEXTURE23_ARB = 0x84D7
1274
+ GL_TEXTURE24_ARB = 0x84D8
1275
+ GL_TEXTURE25_ARB = 0x84D9
1276
+ GL_TEXTURE26_ARB = 0x84DA
1277
+ GL_TEXTURE27_ARB = 0x84DB
1278
+ GL_TEXTURE28_ARB = 0x84DC
1279
+ GL_TEXTURE29_ARB = 0x84DD
1280
+ GL_TEXTURE30_ARB = 0x84DE
1281
+ GL_TEXTURE31_ARB = 0x84DF
1282
+ GL_ACTIVE_TEXTURE_ARB = 0x84E0
1283
+ GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1
1284
+ GL_MAX_TEXTURE_UNITS_ARB = 0x84E2
1285
+ attach_function :glActiveTextureARB, [ :uint ], :void
1286
+ attach_function :glClientActiveTextureARB, [ :uint ], :void
1287
+ attach_function :glMultiTexCoord1dARB, [ :uint, :double ], :void
1288
+ attach_function :glMultiTexCoord1dvARB, [ :uint, :pointer ], :void
1289
+ attach_function :glMultiTexCoord1fARB, [ :uint, :float ], :void
1290
+ attach_function :glMultiTexCoord1fvARB, [ :uint, :pointer ], :void
1291
+ attach_function :glMultiTexCoord1iARB, [ :uint, :int ], :void
1292
+ attach_function :glMultiTexCoord1ivARB, [ :uint, :pointer ], :void
1293
+ attach_function :glMultiTexCoord1sARB, [ :uint, :short ], :void
1294
+ attach_function :glMultiTexCoord1svARB, [ :uint, :pointer ], :void
1295
+ attach_function :glMultiTexCoord2dARB, [ :uint, :double, :double ], :void
1296
+ attach_function :glMultiTexCoord2dvARB, [ :uint, :pointer ], :void
1297
+ attach_function :glMultiTexCoord2fARB, [ :uint, :float, :float ], :void
1298
+ attach_function :glMultiTexCoord2fvARB, [ :uint, :pointer ], :void
1299
+ attach_function :glMultiTexCoord2iARB, [ :uint, :int, :int ], :void
1300
+ attach_function :glMultiTexCoord2ivARB, [ :uint, :pointer ], :void
1301
+ attach_function :glMultiTexCoord2sARB, [ :uint, :short, :short ], :void
1302
+ attach_function :glMultiTexCoord2svARB, [ :uint, :pointer ], :void
1303
+ attach_function :glMultiTexCoord3dARB, [ :uint, :double, :double, :double ], :void
1304
+ attach_function :glMultiTexCoord3dvARB, [ :uint, :pointer ], :void
1305
+ attach_function :glMultiTexCoord3fARB, [ :uint, :float, :float, :float ], :void
1306
+ attach_function :glMultiTexCoord3fvARB, [ :uint, :pointer ], :void
1307
+ attach_function :glMultiTexCoord3iARB, [ :uint, :int, :int, :int ], :void
1308
+ attach_function :glMultiTexCoord3ivARB, [ :uint, :pointer ], :void
1309
+ attach_function :glMultiTexCoord3sARB, [ :uint, :short, :short, :short ], :void
1310
+ attach_function :glMultiTexCoord3svARB, [ :uint, :pointer ], :void
1311
+ attach_function :glMultiTexCoord4dARB, [ :uint, :double, :double, :double, :double ], :void
1312
+ attach_function :glMultiTexCoord4dvARB, [ :uint, :pointer ], :void
1313
+ attach_function :glMultiTexCoord4fARB, [ :uint, :float, :float, :float, :float ], :void
1314
+ attach_function :glMultiTexCoord4fvARB, [ :uint, :pointer ], :void
1315
+ attach_function :glMultiTexCoord4iARB, [ :uint, :int, :int, :int, :int ], :void
1316
+ attach_function :glMultiTexCoord4ivARB, [ :uint, :pointer ], :void
1317
+ attach_function :glMultiTexCoord4sARB, [ :uint, :short, :short, :short, :short ], :void
1318
+ attach_function :glMultiTexCoord4svARB, [ :uint, :pointer ], :void
1319
+ callback(:PFNGLACTIVETEXTUREARBPROC, [ :uint ], :void)
1320
+ callback(:PFNGLCLIENTACTIVETEXTUREARBPROC, [ :uint ], :void)
1321
+ callback(:PFNGLMULTITEXCOORD1DARBPROC, [ :uint, :double ], :void)
1322
+ callback(:PFNGLMULTITEXCOORD1DVARBPROC, [ :uint, :pointer ], :void)
1323
+ callback(:PFNGLMULTITEXCOORD1FARBPROC, [ :uint, :float ], :void)
1324
+ callback(:PFNGLMULTITEXCOORD1FVARBPROC, [ :uint, :pointer ], :void)
1325
+ callback(:PFNGLMULTITEXCOORD1IARBPROC, [ :uint, :int ], :void)
1326
+ callback(:PFNGLMULTITEXCOORD1IVARBPROC, [ :uint, :pointer ], :void)
1327
+ callback(:PFNGLMULTITEXCOORD1SARBPROC, [ :uint, :short ], :void)
1328
+ callback(:PFNGLMULTITEXCOORD1SVARBPROC, [ :uint, :pointer ], :void)
1329
+ callback(:PFNGLMULTITEXCOORD2DARBPROC, [ :uint, :double, :double ], :void)
1330
+ callback(:PFNGLMULTITEXCOORD2DVARBPROC, [ :uint, :pointer ], :void)
1331
+ callback(:PFNGLMULTITEXCOORD2FARBPROC, [ :uint, :float, :float ], :void)
1332
+ callback(:PFNGLMULTITEXCOORD2FVARBPROC, [ :uint, :pointer ], :void)
1333
+ callback(:PFNGLMULTITEXCOORD2IARBPROC, [ :uint, :int, :int ], :void)
1334
+ callback(:PFNGLMULTITEXCOORD2IVARBPROC, [ :uint, :pointer ], :void)
1335
+ callback(:PFNGLMULTITEXCOORD2SARBPROC, [ :uint, :short, :short ], :void)
1336
+ callback(:PFNGLMULTITEXCOORD2SVARBPROC, [ :uint, :pointer ], :void)
1337
+ callback(:PFNGLMULTITEXCOORD3DARBPROC, [ :uint, :double, :double, :double ], :void)
1338
+ callback(:PFNGLMULTITEXCOORD3DVARBPROC, [ :uint, :pointer ], :void)
1339
+ callback(:PFNGLMULTITEXCOORD3FARBPROC, [ :uint, :float, :float, :float ], :void)
1340
+ callback(:PFNGLMULTITEXCOORD3FVARBPROC, [ :uint, :pointer ], :void)
1341
+ callback(:PFNGLMULTITEXCOORD3IARBPROC, [ :uint, :int, :int, :int ], :void)
1342
+ callback(:PFNGLMULTITEXCOORD3IVARBPROC, [ :uint, :pointer ], :void)
1343
+ callback(:PFNGLMULTITEXCOORD3SARBPROC, [ :uint, :short, :short, :short ], :void)
1344
+ callback(:PFNGLMULTITEXCOORD3SVARBPROC, [ :uint, :pointer ], :void)
1345
+ callback(:PFNGLMULTITEXCOORD4DARBPROC, [ :uint, :double, :double, :double, :double ], :void)
1346
+ callback(:PFNGLMULTITEXCOORD4DVARBPROC, [ :uint, :pointer ], :void)
1347
+ callback(:PFNGLMULTITEXCOORD4FARBPROC, [ :uint, :float, :float, :float, :float ], :void)
1348
+ callback(:PFNGLMULTITEXCOORD4FVARBPROC, [ :uint, :pointer ], :void)
1349
+ callback(:PFNGLMULTITEXCOORD4IARBPROC, [ :uint, :int, :int, :int, :int ], :void)
1350
+ callback(:PFNGLMULTITEXCOORD4IVARBPROC, [ :uint, :pointer ], :void)
1351
+ callback(:PFNGLMULTITEXCOORD4SARBPROC, [ :uint, :short, :short, :short, :short ], :void)
1352
+ callback(:PFNGLMULTITEXCOORD4SVARBPROC, [ :uint, :pointer ], :void)
1353
+ GL_MESA_packed_depth_stencil = 1
1354
+ GL_DEPTH_STENCIL_MESA = 0x8750
1355
+ GL_UNSIGNED_INT_24_8_MESA = 0x8751
1356
+ GL_UNSIGNED_INT_8_24_REV_MESA = 0x8752
1357
+ GL_UNSIGNED_SHORT_15_1_MESA = 0x8753
1358
+ GL_UNSIGNED_SHORT_1_15_REV_MESA = 0x8754
1359
+ GL_MESA_texture_array = 1
1360
+ GL_TEXTURE_1D_ARRAY_EXT = 0x8C18
1361
+ GL_PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19
1362
+ GL_TEXTURE_2D_ARRAY_EXT = 0x8C1A
1363
+ GL_PROXY_TEXTURE_2D_ARRAY_EXT = 0x8C1B
1364
+ GL_TEXTURE_BINDING_1D_ARRAY_EXT = 0x8C1C
1365
+ GL_TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D
1366
+ GL_MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF
1367
+ GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4
1368
+
1369
+ end