source: trunk/src/opengl/mesa/GL/glext.h

Last change on this file was 3598, checked in by jeroen, 25 years ago

* empty log message *

File size: 69.1 KB
Line 
1#ifndef __glext_h_
2#define __glext_h_
3
4
5/*
6 * XXX Many extensions need to be added yet.
7 * XXX Some token values aren't known (grep for ?)
8 * XXX This file may be automatically generated in the future.
9 */
10
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16
17#if (defined(_WIN32) || defined(__WIN32OS2__)) && !defined(__CYGWIN32__)
18#define WIN32_LEAN_AND_MEAN 1
19//#include <windows.h>
20#endif
21
22#ifndef GLAPI
23#define GLAPI extern
24#endif
25
26#if defined(GLAPIENTRY) && !defined(APIENTRY)
27#define APIENTRY GLAPIENTRY
28#endif
29
30#ifndef APIENTRY
31#define APIENTRY
32#endif
33
34
35/*
36 * Versions:
37 * 1. Brian Paul, 24 Feb 2000
38 * Intial Version
39 * 2. Brian Paul, 7 Mar 2000
40 * Added GL_HP_occlusion_test, GL_EXT_texture_lod_bias
41 */
42#define GL_GLEXT_VERSION_EXT 2
43
44
45/*
46 * 1. GL_EXT_abgr
47 */
48#ifndef GL_EXT_abgr
49#define GL_EXT_abgr 1
50
51#define GL_ABGR_EXT 0x8000
52
53#endif /* GL_EXT_abgr */
54
55
56
57/*
58 * 2. GL_EXT_blend_color
59 */
60#ifndef GL_EXT_blend_color
61#define GL_EXT_blend_color 1
62
63#define GL_CONSTANT_COLOR_EXT 0x8001
64#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
65#define GL_CONSTANT_ALPHA_EXT 0x8003
66#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
67#define GL_BLEND_COLOR_EXT 0x8005
68
69GLAPI void APIENTRY glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
70
71typedef void (APIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
72
73#endif /* GL_EXT_blend_color */
74
75
76
77/*
78 * 3. GL_EXT_polygon_offset
79 */
80#ifndef GL_EXT_polygon_offset
81#define GL_EXT_polygon_offset 1
82
83#define GL_POLYGON_OFFSET_EXT 0x8037
84#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
85#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
86
87GLAPI void APIENTRY glPolygonOffsetEXT(GLfloat factor, GLfloat bias);
88
89typedef void (APIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
90
91#endif /* GL_EXT_polygon_offset */
92
93
94
95/*
96 * 6. GL_EXT_texture3D
97 */
98#ifndef GL_EXT_texture3D
99#define GL_EXT_texture3D 1
100
101#define GL_PACK_SKIP_IMAGES_EXT 0x806B
102#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
103#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
104#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
105#define GL_TEXTURE_3D_EXT 0x806F
106#define GL_PROXY_TEXTURE_3D_EXT 0x8070
107#define GL_TEXTURE_DEPTH_EXT 0x8071
108#define GL_TEXTURE_WRAP_R_EXT 0x8072
109#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
110#define GL_TEXTURE_3D_BINDING_EXT 0x806A
111
112GLAPI void APIENTRY glTexImage3DEXT(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
113GLAPI void APIENTRY glTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
114GLAPI void APIENTRY glCopyTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
115
116typedef void (APIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
117typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
118typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
119
120#endif /* GL_EXT_texture3D */
121
122
123
124/*
125 * 7. GL_SGI_texture_filter4
126 */
127#ifndef GL_SGI_texture_filter4
128#define GL_SGI_texture_filter4 1
129
130#define GL_FILTER4_SGIS ?
131#define GL_TEXTURE_FILTER4_SIZE_SGIS ?
132
133GLAPI void APIENTRY glGetTexFilterFuncSGIS(GLenum target, GLenum filter, GLfloat *weights);
134GLAPI void APIENTRY glTexFilterFuncSGIS(GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
135
136typedef void (* APIENTRY PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
137typedef void (* APIENTRY PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
138
139#endif /* GL_SGI_texture_filter4 */
140
141
142
143/*
144 * 9. GL_EXT_subtexture
145 */
146#ifndef GL_EXT_subtexture
147#define GL_EXT_subtexture 1
148
149GLAPI void APIENTRY glCopyTexSubImage1DEXT(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
150GLAPI void APIENTRY glTexSubImage1DEXT(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
151GLAPI void APIENTRY glTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
152
153typedef void (* APIENTRY PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
154typedef void (* APIENTRY PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
155typedef void (* APIENTRY PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
156
157#endif /* GL_EXT_subtexture */
158
159
160
161/*
162 * 10. GL_EXT_copy_texture
163 */
164#ifndef GL_EXT_copy_texture
165#define GL_EXT_copy_texture 1
166
167GLAPI void APIENTRY glCopyTexImage1DEXT(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
168GLAPI void APIENTRY glCopyTexImage2DEXT(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
169GLAPI void APIENTRY glCopyTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
170
171typedef void (* APIENTRY PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
172typedef void (* APIENTRY PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
173typedef void (* APIENTRY PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
174
175#endif /* GL_EXT_copy_texture */
176
177
178
179/*
180 * 11. GL_EXT_histogram
181 */
182#ifndef GL_EXT_histogram
183#define GL_EXT_histogram 1
184
185#define GL_HISTOGRAM_EXT 0x8024
186#define GL_PROXY_HISTOGRAM_EXT 0x8025
187#define GL_HISTOGRAM_WIDTH_EXT 0x8026
188#define GL_HISTOGRAM_FORMAT_EXT 0x8027
189#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
190#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
191#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
192#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
193#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
194#define GL_HISTOGRAM_SINK_EXT 0x802D
195
196GLAPI void APIENTRY glGetHistogramEXT(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
197GLAPI void APIENTRY glGetHistogramParameterfvEXT(GLenum target, GLenum pname, GLfloat *params);
198GLAPI void APIENTRY glGetHistogramParameterivEXT(GLenum target, GLenum pname, GLint *params);
199GLAPI void APIENTRY glGetMinmaxEXT(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values);
200GLAPI void APIENTRY glGetMinmaxParameterfvEXT(GLenum target, GLenum pname, GLfloat *params);
201GLAPI void APIENTRY glGetMinmaxParameterivEXT(GLenum target, GLenum pname, GLint *params);
202GLAPI void APIENTRY glHistogramEXT(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
203GLAPI void APIENTRY glMinmaxEXT(GLenum target, GLenum internalformat, GLboolean sink);
204GLAPI void APIENTRY glResetHistogramEXT(GLenum target);
205GLAPI void APIENTRY glResetMinmaxEXT(GLenum target);
206
207typedef void (* APIENTRY PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
208typedef void (* APIENTRY PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
209typedef void (* APIENTRY PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
210typedef void (* APIENTRY PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values);
211typedef void (* APIENTRY PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
212typedef void (* APIENTRY PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
213typedef void (* APIENTRY PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
214typedef void (* APIENTRY PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
215typedef void (* APIENTRY PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
216typedef void (* APIENTRY PFNGLRESETMINMAXEXTPROC) (GLenum target);
217
218#endif /* GL_EXT_histogram */
219
220
221
222/*
223 * 12. GL_EXT_convolution
224 */
225#ifndef GL_EXT_convolution
226#define GL_EXT_convolution 1
227
228#define GL_CONVOLUTION_1D_EXT 0x8010
229#define GL_CONVOLUTION_2D_EXT 0x8011
230#define GL_SEPARABLE_2D_EXT 0x8012
231#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
232#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
233#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
234#define GL_REDUCE_EXT 0x8016
235#define GL_CONVOLUTION_FORMAT_EXT 0x8017
236#define GL_CONVOLUTION_WIDTH_EXT 0x8018
237#define GL_CONVOLUTION_HEIGHT_EXT 0x8019
238#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
239#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
240#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
241#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
242#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
243#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
244#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
245#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
246#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
247#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
248
249GLAPI void APIENTRY glConvolutionFilter1DEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
250GLAPI void APIENTRY glConvolutionFilter2DEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
251GLAPI void APIENTRY glConvolutionParameterfEXT(GLenum target, GLenum pname, GLfloat params);
252GLAPI void APIENTRY glConvolutionParameterfvEXT(GLenum target, GLenum pname, const GLfloat *params);
253GLAPI void APIENTRY glConvolutionParameteriEXT(GLenum target, GLenum pname, GLint params);
254GLAPI void APIENTRY glConvolutionParameterivEXT(GLenum target, GLenum pname, const GLint *params);
255GLAPI void APIENTRY glCopyConvolutionFilter1DEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
256GLAPI void APIENTRY glCopyConvolutionFilter2DEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
257GLAPI void APIENTRY glGetConvolutionFilterEXT(GLenum target, GLenum format, GLenum type, GLvoid *image);
258GLAPI void APIENTRY glGetConvolutionParameterfvEXT(GLenum target, GLenum pname, GLfloat *params);
259GLAPI void APIENTRY glGetConvolutionParameterivEXT(GLenum target, GLenum pname, GLint *params);
260GLAPI void APIENTRY glGetSeparableFilterEXT(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
261GLAPI void APIENTRY glSeparableFilter2DEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
262
263typedef void (* APIENTRY PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
264typedef void (* APIENTRY PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
265typedef void (* APIENTRY PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
266typedef void (* APIENTRY PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
267typedef void (* APIENTRY PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
268typedef void (* APIENTRY PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
269typedef void (* APIENTRY PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
270typedef void (* APIENTRY PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
271typedef void (* APIENTRY PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
272typedef void (* APIENTRY PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
273typedef void (* APIENTRY PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
274typedef void (* APIENTRY PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
275typedef void (* APIENTRY PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
276
277#endif /* GL_EXT_convolution */
278
279
280
281/*
282 * 13. GL_SGI_color_matrix
283 */
284#ifndef GL_SGI_color_matrix
285#define GL_SGI_color_matrix 1
286
287#define GL_COLOR_MATRIX_SGI 0x80B1
288#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
289#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
290#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
291#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
292#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
293#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
294#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
295#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
296#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
297#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
298
299#endif /* GL_SGI_color_matrix */
300
301
302
303/*
304 * 14. GL_SGI_color_table
305 */
306#ifndef GL_SGI_color_table
307#define GL_SGI_color_table 1
308
309#define COLOR_TABLE_SGI 0x80D0
310#define POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
311#define POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
312#define PROXY_COLOR_TABLE_SGI 0x80D3
313#define PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
314#define PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
315#define COLOR_TABLE_SCALE_SGI 0x80D6
316#define COLOR_TABLE_BIAS_SGI 0x80D7
317#define COLOR_TABLE_FORMAT_SGI 0x80D8
318#define COLOR_TABLE_WIDTH_SGI 0x80D9
319#define COLOR_TABLE_RED_SIZE_SGI 0x80DA
320#define COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
321#define COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
322#define COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
323#define COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
324#define COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
325
326GLAPI void APIENTRY glColorTableParameterfvSGI(GLenum target, GLenum pname, const GLfloat *params);
327GLAPI void APIENTRY glColorTableParameterivSGI(GLenum target, GLenum pname, const GLint *params);
328GLAPI void APIENTRY glColorTableSGI(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
329GLAPI void APIENTRY glCopyColorTableSGI(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width);
330GLAPI void APIENTRY glGetColorTableParameterfvSGI(GLenum target, GLenum pname, GLfloat *params);
331GLAPI void APIENTRY glGetColorTableParameterivSGI(GLenum target, GLenum pname, GLint *params);
332GLAPI void APIENTRY glGetColorTableSGI(GLenum target, GLenum format, GLenum type, GLvoid *table);
333
334typedef void (* APIENTRY PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
335typedef void (* APIENTRY PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
336typedef void (* APIENTRY PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
337typedef void (* APIENTRY PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width);
338typedef void (* APIENTRY PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
339typedef void (* APIENTRY PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
340typedef void (* APIENTRY PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
341
342#endif /* GL_SGI_color_table */
343
344
345
346/*
347 * ?. GL_SGIX_pixel_texture
348 */
349#ifndef GL_SGIX_pixel_texture
350#define GL_SGIX_pixel_texture 1
351
352GLAPI void APIENTRY glPixelTexGenSGIX(GLenum mode);
353
354typedef void (* APIENTRY PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
355
356#endif /* GL_SGIX_pixel_texture */
357
358
359
360/*
361 * 15. GL_SGIS_pixel_texture
362 */
363#ifndef GL_SGIS_pixel_texture
364#define GL_SGIS_pixel_texture 1
365
366#define GL_PIXEL_TEXTURE_SGIS ?
367#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS ?
368#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS ?
369#define GL_PIXEL_GROUP_COLOR_SGIS ?
370
371GLAPI void APIENTRY glPixelTexGenParameterfSGIS(GLenum target, GLfloat value);
372GLAPI void APIENTRY glPixelTexGenParameterfvSGIS(GLenum target, const GLfloat *value);
373GLAPI void APIENTRY glPixelTexGenParameteriSGIS(GLenum target, GLint value);
374GLAPI void APIENTRY glPixelTexGenParameterivSGIS(GLenum target, const GLint *value);
375GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS(GLenum target, GLfloat *value);
376GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS(GLenum target, GLint *value);
377
378typedef void (* APIENTRY PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum target, GLfloat value);
379typedef void (* APIENTRY PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum target, const GLfloat *value);
380typedef void (* APIENTRY PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum target, GLint value);
381typedef void (* APIENTRY PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum target, const GLint *value);
382typedef void (* APIENTRY PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum target, GLfloat *value);
383typedef void (* APIENTRY PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum target, GLint *value);
384
385#endif /* GL_SGIS_pixel_texture */
386
387
388
389/*
390 * 16. GL_SGIS_texture4D
391 */
392#ifndef GL_SGIS_texture4D
393#define GL_SGIS_texture4D 1
394
395#define GL_PACK_SKIP_VOLUMES_SGIS ?
396#define GL_PACK_IMAGE_DEPTH_SGIS ?
397#define GL_UNPACK_SKIP_VOLUMES_SGIS ?
398#define GL_UNPACK_IMAGE_DEPTH_SGIS ?
399#define GL_TEXTURE_4D_SGIS ?
400#define GL_PROXY_TEXTURE_4D_SGIS ?
401#define GL_TEXTURE_4DSIZE_SGIS ?
402#define GL_TEXTURE_WRAP_Q_SGIS ?
403#define GL_MAX_4D_TEXTURE_SIZE_SGIS ?
404#define GL_TEXTURE_4D_BINDING_SGIS ?
405
406GLAPI void APIENTRY glTexImage4DSGIS(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void *pixels);
407GLAPI void APIENTRY glTexSubImage4DSGIS(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void *pixels);
408
409typedef void (* APIENTRY PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void *pixels);
410typedef void (* APIENTRY PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void *pixels);
411#endif /* GL_SGIS_texture4D */
412
413
414
415/*
416 * 20. GL_EXT_texture_object
417 */
418#ifndef GL_EXT_texture_object
419#define GL_EXT_texture_object 1
420
421#define GL_TEXTURE_PRIORITY_EXT 0x8066
422#define GL_TEXTURE_RESIDENT_EXT 0x8067
423#define GL_TEXTURE_1D_BINDING_EXT 0x8068
424#define GL_TEXTURE_2D_BINDING_EXT 0x8069
425
426GLAPI void APIENTRY glGenTexturesEXT(GLsizei n, GLuint *textures);
427GLAPI void APIENTRY glDeleteTexturesEXT(GLsizei n, const GLuint *textures);
428GLAPI void APIENTRY glBindTextureEXT(GLenum target, GLuint texture);
429GLAPI void APIENTRY glPrioritizeTexturesEXT(GLsizei n, const GLuint *textures, const GLclampf *priorities);
430GLAPI GLboolean APIENTRY glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean *residences);
431GLAPI GLboolean APIENTRY glIsTextureEXT(GLuint texture);
432
433typedef void (* APIENTRY PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
434typedef void (* APIENTRY PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
435typedef void (* APIENTRY PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
436typedef void (* APIENTRY PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
437typedef GLboolean (* APIENTRY PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
438typedef GLboolean (* APIENTRY PFNGLISTEXTUREEXTPROC) (GLuint texture);
439
440#endif /* GL_EXT_texture_object */
441
442
443
444/*
445 * 21. GL_SGIS_detail_texture
446 */
447#ifndef GL_SGIS_detail_texture
448#define GL_SGIS_detail_texture
449
450#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
451#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
452#define GL_LINEAR_DETAIL_SGIS 0x8097
453#define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
454#define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
455#define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
456#define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
457
458GLAPI void APIENTRY glDetailTexFuncSGIS(GLenum target, GLsizei n, const GLfloat *points);
459GLAPI void APIENTRY glGetDetailTexFuncSGIS(GLenum target, GLfloat *points);
460
461typedef void (* APIENTRY PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
462typedef void (* APIENTRY PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
463
464#endif /* GL_SGIS_detail_texture */
465
466
467
468/*
469 * 22. GL_SGIS_sharpen_texture
470 */
471#ifndef GL_SGIS_sharpen_texture
472#define GL_SGIS_sharpen_texture 1
473
474#define GL_LINEAR_SHARPEN_SGIS 0x80AD
475#define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
476#define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
477#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
478
479GLAPI void APIENTRY glGetSharpenTexFuncSGIS(GLenum target, GLfloat *points);
480GLAPI void APIENTRY glSharpenTexFuncSGIS(GLenum target, GLsizei n, const GLfloat *points);
481
482typedef void (* APIENTRY PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
483typedef void (* APIENTRY PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
484
485#endif /* GL_SGIS_sharpen_texture */
486
487
488
489/*
490 * 23. GL_EXT_packed_pixels
491 */
492#ifndef GL_EXT_packed_pixels
493#define GL_EXT_packed_pixels 1
494
495#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
496#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
497#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
498#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
499#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
500
501#endif /* GL_EXT_packed_pixels */
502
503
504
505/*
506 * 25. GL_SGIS_multisample
507 */
508
509#ifndef GL_SGIS_multisample
510#define GL_SGIS_multisample 1
511
512#define GL_MULTISAMPLE_SGIS 0x809D
513#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
514#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
515#define GL_SAMPLE_MASK_SGIS 0x80A0
516#define GL_MULTISAMPLE_BIT_EXT 0x20000000
517#define GL_1PASS_SGIS 0x80A1
518#define GL_2PASS_0_SGIS 0x80A2
519#define GL_2PASS_1_SGIS 0x80A3
520#define GL_4PASS_0_SGIS 0x80A4
521#define GL_4PASS_1_SGIS 0x80A5
522#define GL_4PASS_2_SGIS 0x80A6
523#define GL_4PASS_3_SGIS 0x80A7
524#define GL_SAMPLE_BUFFERS_SGIS 0x80A8
525#define GL_SAMPLES_SGIS 0x80A9
526#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
527#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
528#define GL_SAMPLE_PATTERN_SGIS 0x80AC
529
530GLAPI void APIENTRY glSampleMaskSGIS(GLclampf value, GLboolean invert);
531GLAPI void APIENTRY glSamplePatternSGIS(GLenum pattern);
532
533typedef void (* APIENTRY PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
534typedef void (* APIENTRY PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
535
536#endif /* GL_SGIS_multisample */
537
538
539
540/*
541 * 27. GL_EXT_rescale_normal
542 */
543#ifndef GL_EXT_rescale_normal
544#define GL_EXT_rescale_normal 1
545
546#define GL_RESCALE_NORMAL_EXT 0x803A
547
548#endif /* GL_EXT_rescale_normal */
549
550
551
552/*
553 * 30. GL_EXT_vertex_array
554 */
555#ifndef GL_EXT_vertex_array
556#define GL_EXT_vertex_array 1
557
558#define GL_VERTEX_ARRAY_EXT 0x8074
559#define GL_NORMAL_ARRAY_EXT 0x8075
560#define GL_COLOR_ARRAY_EXT 0x8076
561#define GL_INDEX_ARRAY_EXT 0x8077
562#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
563#define GL_EDGE_FLAG_ARRAY_EXT 0x8079
564#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
565#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
566#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
567#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
568#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
569#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
570#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
571#define GL_COLOR_ARRAY_SIZE_EXT 0x8081
572#define GL_COLOR_ARRAY_TYPE_EXT 0x8082
573#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
574#define GL_COLOR_ARRAY_COUNT_EXT 0x8084
575#define GL_INDEX_ARRAY_TYPE_EXT 0x8085
576#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
577#define GL_INDEX_ARRAY_COUNT_EXT 0x8087
578#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
579#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
580#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
581#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
582#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
583#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
584#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
585#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
586#define GL_COLOR_ARRAY_POINTER_EXT 0x8090
587#define GL_INDEX_ARRAY_POINTER_EXT 0x8091
588#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
589#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
590
591GLAPI void APIENTRY glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr);
592GLAPI void APIENTRY glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr);
593GLAPI void APIENTRY glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr);
594GLAPI void APIENTRY glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr);
595GLAPI void APIENTRY glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr);
596GLAPI void APIENTRY glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *ptr);
597GLAPI void APIENTRY glGetPointervEXT(GLenum pname, void **params);
598GLAPI void APIENTRY glArrayElementEXT(GLint i);
599GLAPI void APIENTRY glDrawArraysEXT(GLenum mode, GLint first, GLsizei count);
600
601typedef void (* APIENTRY PFNGLARRAYELEMENTEXTPROC) (GLint i);
602typedef void (* APIENTRY PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
603typedef void (* APIENTRY PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
604typedef void (* APIENTRY PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
605typedef void (* APIENTRY PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
606typedef void (* APIENTRY PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
607typedef void (* APIENTRY PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
608typedef void (* APIENTRY PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
609typedef void (* APIENTRY PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
610
611#endif /* GL_EXT_vertex_array */
612
613
614
615/*
616 * 35. GL_SGIS_texture_edge_clamp
617 */
618#ifndef GL_SGIS_texture_edge_clamp
619#define GL_SGIS_texture_edge_clamp 1
620
621#define GL_CLAMP_TO_EDGE_SGIS 0x812F
622
623#endif /* GL_SGIS_texture_edge_clamp */
624
625
626
627/*
628 * 37. GL_EXT_blend_minmax
629 */
630#ifndef GL_EXT_blend_minmax
631#define GL_EXT_blend_minmax 1
632
633#define GL_FUNC_ADD_EXT 0x8006
634#define GL_MIN_EXT 0x8007
635#define GL_MAX_EXT 0x8008
636#define GL_BLEND_EQUATION_EXT 0x8009
637
638GLAPI void APIENTRY glBlendEquationEXT(GLenum mode);
639
640typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
641
642#endif /* GL_EXT_blend_minmax */
643
644
645
646/*
647 * 38. GL_EXT_blend_subtract (requires GL_EXT_blend_max)
648 */
649#ifndef GL_EXT_blend_subtract
650#define GL_EXT_blend_subtract 1
651
652#define GL_FUNC_SUBTRACT_EXT 0x800A
653#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
654
655#endif /* GL_EXT_blend_subtract */
656
657
658
659/*
660 * 39. GL_EXT_blend_logic_op
661 */
662#ifndef GL_EXT_blend_logic_op
663#define GL_EXT_blend_logic_op 1
664
665/* No new tokens or functions */
666
667#endif /* GL_EXT_blend_logic_op */
668
669
670
671/*
672 * 52. GL_SGIX_sprite
673 */
674#ifndef GL_SGIX_sprite
675#define GL_SGIX_sprite 1
676
677#define GL_SPRITE_SGIX 0x8148
678#define GL_SPRITE_MODE_SGIX 0x8149
679#define GL_SPRITE_AXIS_SGIX 0x814A
680#define GL_SPRITE_TRANSLATION_SGIX 0x814B
681#define GL_SPRITE_AXIAL_SGIX 0x814C
682#define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
683#define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
684
685GLAPI void APIENTRY glSpriteParameterfSGIX(GLenum pname, GLfloat param);
686GLAPI void APIENTRY glSpriteParameterfvSGIX(GLenum pname, const GLfloat *param);
687GLAPI void APIENTRY glSpriteParameteriSGIX(GLenum pname, GLint param);
688GLAPI void APIENTRY glSpriteParameterivSGIX(GLenum pname, const GLint *param);
689
690typedef void (* APIENTRY PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
691typedef void (* APIENTRY PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *param);
692typedef void (* APIENTRY PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
693typedef void (* APIENTRY PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *param);
694
695#endif /* GL_SGIX_sprite */
696
697
698
699/*
700 * 54. GL_EXT_point_parameters
701 */
702#ifndef GL_EXT_point_parameters
703#define GL_EXT_point_parameters 1
704
705#define GL_POINT_SIZE_MIN_EXT 0x8126
706#define GL_POINT_SIZE_MAX_EXT 0x8127
707#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
708#define GL_DISTANCE_ATTENUATION_EXT 0x8129
709
710GLAPI void APIENTRY glPointParameterfEXT(GLenum pname, GLfloat param);
711GLAPI void APIENTRY glPointParameterfvEXT(GLenum pname, const GLfloat *params);
712
713typedef void (* APIENTRY PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
714typedef void (* APIENTRY PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
715
716#endif /* GL_EXT_point_parameters */
717
718
719
720/*
721 * 55. GL_SGIX_instruments
722 */
723#ifndef GL_SGIX_instruments
724#define GL_SGIX_instruments 1
725
726#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
727#define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
728
729GLAPI GLint APIENTRY glGetInstrumentsSGIX(void);
730GLAPI void APIENTRY glInstrumentsBufferSGIX(GLsizei size, GLint *buf);
731GLAPI GLint APIENTRY glPollInstrumentsSGIX(GLint *markerp);
732GLAPI void APIENTRY glReadInstrumentsSGIX(GLint marker);
733GLAPI void APIENTRY glStartInstrumentsSGIX(void);
734GLAPI void APIENTRY glStopInstrumentsSGIX(GLint marker);
735
736typedef GLint (* APIENTRY PFNGLGETINSTRUMENTSSGIXPROC) (void);
737typedef void (* APIENTRY PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buf);
738typedef GLint (* APIENTRY PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *markerp);
739typedef void (* APIENTRY PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
740typedef void (* APIENTRY PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
741typedef void (* APIENTRY PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
742
743#endif
744
745
746/*
747 * 57. GL_SGIX_framezoom
748 */
749#ifndef GL_SGIX_framezoom
750#define GL_SGIX_framezoom 1
751
752#define GL_FRAMEZOOM_SGIX 0x818B
753#define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
754#define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
755
756GLAPI void APIENTRY glFrameZoomSGIX(GLint factor);
757
758typedef void (* APIENTRY PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
759
760#endif /* GL_SGIX_framezoom */
761
762
763
764/*
765 * 58. GL_SGIX_tag_sample_buffer
766 */
767#ifndef GL_SGIX_tag_sample_buffer
768#define GL_SGIX_tag_sample_buffer 1
769
770GLAPI void APIENTRY glTagSampleBufferSGIX(void);
771
772typedef void (* APIENTRY PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
773
774#endif /* GL_SGIX_tag_sample_buffer */
775
776
777
778/*
779 * 60. GL_SGIX_reference_plane
780 */
781#ifndef GL_SGIX_reference_plane
782#define GL_SGIX_reference_plane 1
783
784#define GL_REFERENCE_PLANE_SGIX 0x817D
785#define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
786
787GLAPI void APIENTRY glReferencePlaneSGIX(const GLdouble *plane);
788
789typedef void (* APIENTRY PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *plane);
790
791#endif /* GL_SGIX_reference_plane */
792
793
794
795/*
796 * 61. GL_SGIX_flush_raster
797 */
798#ifndef GL_SGIX_flush_raster
799#define GL_SGIX_flush_raster 1
800
801GLAPI void APIENTRY glFlushRasterSGIX(void);
802
803typedef void (* APIENTRY PFNGLFLUSHRASTERSGIXPROC) (void);
804
805#endif /* GL_SGIX_flush_raster */
806
807
808
809/*
810 * 74. GL_EXT_color_subtable
811 */
812
813#ifndef GL_EXT_color_subtable
814#define GL_EXT_color_subtable 1
815
816GLAPI void APIENTRY glColorSubTableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
817GLAPI void APIENTRY glCopyColorSubTableEXT(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
818
819typedef void (* APIENTRY PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
820typedef void (* APIENTRY PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
821
822#endif
823
824
825/*
826 * 77. GL_PGI_misc_hints
827 */
828#ifndef GL_PGI_misc_hints
829#define GL_PGI_misc_hints 1
830
831#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 107000
832#define GL_STRICT_DEPTHFUNC_HINT_PGI 107030
833#define GL_STRICT_LIGHTING_HINT_PGI 107031
834#define GL_STRICT_SCISSOR_HINT_PGI 107032
835#define GL_FULL_STIPPLE_HINT_PGI 107033
836#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 107011
837#define GL_NATIVE_GRAPHICS_END_HINT_PGI 107012
838#define GL_CONSERVE_MEMORY_HINT_PGI 107005
839#define GL_RECLAIM_MEMORY_HINT_PGI 107006
840#define GL_ALWAYS_FAST_HINT_PGI 107020
841#define GL_ALWAYS_SOFT_HINT_PGI 107021
842#define GL_ALLOW_DRAW_OBJ_HINT_PGI 107022
843#define GL_ALLOW_DRAW_WIN_HINT_PGI 107023
844#define GL_ALLOW_DRAW_FRG_HINT_PGI 107024
845#define GL_ALLOW_DRAW_SPN_HINT_PGI 107024
846#define GL_ALLOW_DRAW_MEM_HINT_PGI 107025
847#define GL_CLIP_NEAR_HINT_PGI 107040
848#define GL_CLIP_FAR_HINT_PGI 107041
849#define GL_WIDE_LINE_HINT_PGI 107042
850#define GL_BACK_NORMALS_HINT_PGI 107043
851#define GL_NATIVE_GRAPHICS_HANDLE_PGI 107010
852
853GLAPI void APIENTRY glHintPGI(GLenum target, GLint mode);
854
855typedef void (APIENTRY * PFNGLHINTPGIPROC) (GLenum target, GLint mode);
856
857#endif /* GL_PGI_misc_hints */
858
859
860
861/*
862 * 78. GL_EXT_paletted_texture
863 */
864#ifndef GL_EXT_paletted_texture
865#define GL_EXT_paletted_texture 1
866
867#define GL_TABLE_TOO_LARGE_EXT 0x8031
868#define GL_COLOR_TABLE_FORMAT_EXT 0x80D8
869#define GL_COLOR_TABLE_WIDTH_EXT 0x80D9
870#define GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA
871#define GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB
872#define GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC
873#define GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD
874#define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE
875#define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF
876#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
877#define GL_COLOR_INDEX1_EXT 0x80E2
878#define GL_COLOR_INDEX2_EXT 0x80E3
879#define GL_COLOR_INDEX4_EXT 0x80E4
880#define GL_COLOR_INDEX8_EXT 0x80E5
881#define GL_COLOR_INDEX12_EXT 0x80E6
882#define GL_COLOR_INDEX16_EXT 0x80E7
883
884GLAPI void APIENTRY glColorTableEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
885GLAPI void APIENTRY glColorSubTableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
886GLAPI void APIENTRY glGetColorTableEXT(GLenum target, GLenum format, GLenum type, GLvoid *table);
887GLAPI void APIENTRY glGetColorTableParameterfvEXT(GLenum target, GLenum pname, GLfloat *params);
888GLAPI void APIENTRY glGetColorTableParameterivEXT(GLenum target, GLenum pname, GLint *params);
889
890typedef void (* APIENTRY PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
891typedef void (* APIENTRY PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
892typedef void (* APIENTRY PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
893typedef void (* APIENTRY PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
894typedef void (* APIENTRY PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
895
896#endif /* GL_EXT_paletted_texture */
897
898
899
900/*
901 * 79. GL_EXT_clip_volume_hint
902 */
903#ifndef GL_EXT_clip_volume_hint
904#define GL_EXT_clip_volume_hint 1
905
906#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F
907
908#endif /* GL_EXT_clip_volume_hint */
909
910
911
912/*
913 * 80. GL_SGIX_list_priority
914 */
915#ifndef GL_SGIX_list_priority
916#define GL_SGIX_list_priority 1
917
918#define GL_LIST_PRIORITY_SGIX 0x8182
919
920GLAPI void APIENTRY glGetListParameterfvSGIX(GLuint list, GLenum name, GLfloat *param);
921GLAPI void APIENTRY glGetListParameterivSGIX(GLuint list, GLenum name, GLint *param);
922GLAPI void APIENTRY glListParameterfSGIX(GLuint list, GLenum name, GLfloat param);
923GLAPI void APIENTRY glListParameterfvSGIX(GLuint list, GLenum name, const GLfloat *param);
924GLAPI void APIENTRY glListParameteriSGIX(GLuint list, GLenum name, GLint param);
925GLAPI void APIENTRY glListParameterivSGIX(GLuint list, GLenum name, const GLint *param);
926
927typedef void (* APIENTRY PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum name, GLfloat *param);
928typedef void (* APIENTRY PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum name, GLint *param);
929typedef void (* APIENTRY PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum name, GLfloat param);
930typedef void (* APIENTRY PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum name, const GLfloat *param);
931typedef void (* APIENTRY PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum name, GLint param);
932typedef void (* APIENTRY PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum name, const GLint *param);
933
934#endif /* GL_SGIX_list_priority */
935
936
937
938/*
939 * 94. GL_EXT_index_material
940 */
941#ifndef GL_EXT_index_material
942#define GL_EXT_index_material 1
943
944#define GL_INDEX_MATERIAL_EXT ?
945#define GL_INDEX_MATERIAL_PARAMETER_EXT ?
946#define GL_INDEX_MATERIAL_FACE_EXT ?
947
948GLAPI void APIENTRY glIndexMaterialEXT(GLenum face, GLenum mode);
949
950typedef void (* APIENTRY PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
951
952#endif /* GL_EXT_index_material */
953
954
955
956/*
957 * 95. GL_EXT_index_func
958 */
959#ifndef GL_EXT_index_func
960#define GL_EXT_index_func 1
961
962#define GL_INDEX_TEST_EXT ?
963#define GL_INDEX_TEST_FUNC_EXT ?
964#define GL_INDEX_TEST_REF_EXT ?
965
966GLAPI void APIENTRY glIndexFuncEXT(GLenum func, GLfloat ref);
967
968typedef void (* APIENTRY PFNGLINDEXFUNCEXTPROC) (GLenum func, GLfloat ref);
969
970#endif /* GL_EXT_index_func */
971
972
973
974/*
975 * 97. GL_EXT_compiled_vertex_array
976 */
977#ifndef GL_EXT_compiled_vertex_array
978#define GL_EXT_compiled_vertex_array 1
979
980#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
981#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
982
983GLAPI void APIENTRY glLockArraysEXT(GLint first, GLsizei count);
984GLAPI void APIENTRY glUnlockArraysEXT(void);
985
986typedef void (* APIENTRY PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
987typedef void (* APIENTRY PFNGLUNLOCKARRAYSEXTPROC) (void);
988
989#endif /* GL_EXT_compiled_vertex_array */
990
991
992
993/*
994 * 98. GL_EXT_cull_vertex
995 */
996#ifndef GL_EXT_cull_vertex
997#define GL_EXT_cull_vertex 1
998
999#define GL_CULL_VERTEX_EXT 0x81AA
1000#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
1001#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
1002
1003GLAPI void APIENTRY glCullParameterdvEXT(GLenum pname, const GLdouble *params);
1004GLAPI void APIENTRY glCullParameterfvEXT(GLenum pname, const GLfloat *params);
1005
1006typedef void (* APIENTRY PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble* params);
1007typedef void (* APIENTRY PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat* params);
1008
1009#endif /* GL_EXT_cull_vertex */
1010
1011
1012
1013/*
1014 * 102. GL_SGIX_fragment_lighting
1015 */
1016#ifndef GL_SGIX_fragment_lighting
1017#define GL_SGIX_fragment_lighting 1
1018
1019GLAPI void APIENTRY glFragmentColorMaterialSGIX(GLenum face, GLenum mode);
1020GLAPI void APIENTRY glFragmentLightfSGIX(GLenum light, GLenum pname, GLfloat param);
1021GLAPI void APIENTRY glFragmentLightfvSGIX(GLenum light, GLenum pname, const GLfloat * params);
1022GLAPI void APIENTRY glFragmentLightiSGIX(GLenum light, GLenum pname, GLint param);
1023GLAPI void APIENTRY glFragmentLightivSGIX(GLenum light, GLenum pname, const GLint * params);
1024GLAPI void APIENTRY glFragmentLightModelfSGIX(GLenum pname, GLfloat param);
1025GLAPI void APIENTRY glFragmentLightModelfvSGIX(GLenum pname, const GLfloat * params);
1026GLAPI void APIENTRY glFragmentLightModeliSGIX(GLenum pname, GLint param);
1027GLAPI void APIENTRY glFragmentLightModelivSGIX(GLenum pname, const GLint * params);
1028GLAPI void APIENTRY glFragmentMaterialfSGIX(GLenum face, GLenum pname, GLfloat param);
1029GLAPI void APIENTRY glFragmentMaterialfvSGIX(GLenum face, GLenum pname, const GLfloat * params);
1030GLAPI void APIENTRY glFragmentMaterialiSGIX(GLenum face, GLenum pname, GLint param);
1031GLAPI void APIENTRY glFragmentMaterialivSGIX(GLenum face, GLenum pname, const GLint * params);
1032GLAPI void APIENTRY glGetFragmentLightfvSGIX(GLenum light, GLenum pname, GLfloat * params);
1033GLAPI void APIENTRY glGetFragmentLightivSGIX(GLenum light, GLenum pname, GLint * params);
1034GLAPI void APIENTRY glGetFragmentMaterialfvSGIX(GLenum face, GLenum pname, GLfloat * params);
1035GLAPI void APIENTRY glGetFragmentMaterialivSGIX(GLenum face, GLenum pname, GLint * params);
1036GLAPI void APIENTRY glLightEnviSGIX(GLenum pname, GLint param);
1037
1038typedef void (* APIENTRY PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
1039typedef void (* APIENTRY PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
1040typedef void (* APIENTRY PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat * params);
1041typedef void (* APIENTRY PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
1042typedef void (* APIENTRY PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint * params);
1043typedef void (* APIENTRY PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
1044typedef void (* APIENTRY PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat * params);
1045typedef void (* APIENTRY PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
1046typedef void (* APIENTRY PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint * params);
1047typedef void (* APIENTRY PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
1048typedef void (* APIENTRY PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat * params);
1049typedef void (* APIENTRY PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
1050typedef void (* APIENTRY PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint * params);
1051typedef void (* APIENTRY PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat * params);
1052typedef void (* APIENTRY PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint * params);
1053typedef void (* APIENTRY PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat * params);
1054typedef void (* APIENTRY PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint * params);
1055typedef void (* APIENTRY PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
1056
1057#endif /* GL_SGIX_fragment_lighting */
1058
1059
1060
1061/*
1062 * 129. GL_EXT_bgra
1063 */
1064#ifndef GL_EXT_bgra
1065#define GL_EXT_bgra 1
1066
1067#define GL_BGR_EXT 0x80E0
1068#define GL_BGRA_EXT 0x80E1
1069
1070#endif /* GL_EXT_bgra */
1071
1072
1073
1074/*
1075 * 137. GL_HP_occlusion_test
1076 */
1077#ifndef GL_HP_occlusion_test
1078#define GL_HP_occlusion_test 1
1079
1080#define GL_OCCLUSION_TEST_HP 0x8165
1081#define GL_OCCLUSION_TEST_RESULT_HP 0x8166
1082
1083#endif /* GL_HP_occlusion_test */
1084
1085
1086
1087/*
1088 * 141. GL_EXT_shared_texture_palette (req's GL_EXT_paletted_texture)
1089 */
1090#ifndef GL_EXT_shared_texture_palette
1091#define GL_EXT_shared_texture_palette 1
1092
1093#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
1094
1095#endif /* GL_EXT_shared_texture_palette */
1096
1097
1098
1099/*
1100 * 149. GL_EXT_fog_coord
1101 */
1102#ifndef GL_EXT_fog_coord
1103#define GL_EXT_fog_coord 1
1104
1105#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
1106#define GL_FOG_COORDINATE_EXT 0x8451
1107#define GL_FRAGMENT_DEPTH_EXT 0x8452
1108#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
1109#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
1110#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
1111#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
1112#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
1113
1114GLAPI void APIENTRY glFogCoordfEXT(GLfloat coord);
1115GLAPI void APIENTRY glFogCoordfvEXT(const GLfloat * coord);
1116GLAPI void APIENTRY glFogCoorddEXT(GLdouble coord);
1117GLAPI void APIENTRY glFogCoorddvEXT(const GLdouble * coord);
1118GLAPI void APIENTRY glFogCoordPointerEXT(GLenum type, GLsizei stride, const GLvoid * pointer);
1119
1120typedef void (* APIENTRY PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
1121typedef void (* APIENTRY PFNGLFOGCOORDFVEXTPROC) (const GLfloat * coord);
1122typedef void (* APIENTRY PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
1123typedef void (* APIENTRY PFNGLFOGCOORDDVEXTPROC) (const GLdouble * coord);
1124typedef void (* APIENTRY PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid * pointer);
1125
1126#endif
1127
1128
1129
1130/*
1131 * 158. GL_EXT_texture_env_combine
1132 */
1133#ifndef GL_EXT_texture_env_combine
1134#define GL_EXT_texture_env_combine 1
1135
1136#define GL_COMBINE_EXT 0x8570
1137#define GL_COMBINE_RGB_EXT 0x8571
1138#define GL_COMBINE_ALPHA_EXT 0x8572
1139#define GL_RGB_SCALE_EXT 0x8573
1140#define GL_ADD_SIGNED_EXT 0x8574
1141#define GL_INTERPOLATE_EXT 0x8575
1142#define GL_CONSTANT_EXT 0x8576
1143#define GL_PRIMARY_COLOR_EXT 0x8577
1144#define GL_PREVIOUS_EXT 0x8578
1145#define GL_SOURCE0_RGB_EXT 0x8580
1146#define GL_SOURCE1_RGB_EXT 0x8581
1147#define GL_SOURCE2_RGB_EXT 0x8582
1148#define GL_SOURCE0_ALPHA_EXT 0x8588
1149#define GL_SOURCE1_ALPHA_EXT 0x8589
1150#define GL_SOURCE2_ALPHA_EXT 0x858A
1151#define GL_OPERAND0_RGB_EXT 0x8590
1152#define GL_OPERAND1_RGB_EXT 0x8591
1153#define GL_OPERAND2_RGB_EXT 0x8592
1154#define GL_OPERAND0_ALPHA_EXT 0x8598
1155#define GL_OPERAND1_ALPHA_EXT 0x8599
1156#define GL_OPERAND2_ALPHA_EXT 0x859A
1157
1158#endif /* GL_EXT_texture_env_combine */
1159
1160
1161
1162/*
1163 * 173. GL_EXT_blend_func_separate
1164 */
1165#ifndef GL_EXT_blend_func_separate
1166#define GL_EXT_blend_func_separate 1
1167
1168#define GL_BLEND_DST_RGB_EXT 0x80C8
1169#define GL_BLEND_SRC_RGB_EXT 0x80C9
1170#define GL_BLEND_DST_ALPHA_EXT 0x80CA
1171#define GL_BLEND_SRC_ALPHA_EXT 0x80CB
1172
1173GLAPI void APIENTRY glBlendFuncSeparateEXT(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
1174
1175typedef void (* APIENTRY PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
1176
1177#endif /* GL_EXT_blend_func_separate */
1178
1179
1180
1181/*
1182 * 173. GL_INGR_blend_func_separate
1183 */
1184#ifndef GL_INGR_blend_func_separate
1185#define GL_INGR_blend_func_separate 1
1186
1187#define GL_BLEND_DST_RGB_INGR 0x80C8
1188#define GL_BLEND_SRC_RGB_INGR 0x80C9
1189#define GL_BLEND_DST_ALPHA_INGR 0x80CA
1190#define GL_BLEND_SRC_ALPHA_INGR 0x80CB
1191
1192GLAPI void APIENTRY glBlendFuncSeparateINGR(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
1193
1194typedef void (* APIENTRY PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
1195
1196#endif /* GL_INGR_blend_func_separate */
1197
1198
1199
1200/*
1201 * 176. GL_EXT_stencil_wrap
1202 */
1203#ifndef GL_EXT_stencil_wrap
1204#define GL_EXT_stencil_wrap 1
1205
1206#define GL_INCR_WRAP_EXT 0x8507
1207#define GL_DECR_WRAP_EXT 0x8508
1208
1209#endif /* GL_EXT_stencil_wrap */
1210
1211
1212
1213/*
1214 * 179. GL_NV_texgen_reflection
1215 */
1216#ifndef GL_NV_texgen_reflection
1217#define GL_NV_texgen_reflection 1
1218
1219#define GL_NORMAL_MAP_NV 0x8511
1220#define GL_REFLECTION_MAP_NV 0x8512
1221
1222#endif /* GL_NV_texgen_reflection */
1223
1224
1225
1226/*
1227 * 185. GL_EXT_texture_env_add
1228 */
1229#ifndef GL_EXT_texture_env_add
1230#define GL_EXT_texture_env_add 1
1231
1232/* No new tokens or functions */
1233
1234#endif /* GL_EXT_texture_env_add */
1235
1236
1237
1238/*
1239 * 186. GL_EXT_texture_lod_bias
1240 */
1241#ifndef GL_EXT_texture_lod_bias
1242#define GL_EXT_texture_lod_bias 1
1243
1244#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
1245#define GL_TEXTURE_LOD_BIAS_EXT 0x8501
1246
1247#endif /* GL_EXT_texture_lod_bias */
1248
1249
1250
1251/*
1252 * ??. GL_WIN_swap_hint
1253 */
1254#ifndef GL_WIN_swap_hint
1255#define GL_WIN_swap_hint 1
1256
1257GLAPI void APIENTRY glAddSwapHintRectWIN(GLint x, GLint y, GLsizei width, GLsizei height);
1258
1259typedef void (* APIENTRY PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
1260
1261#endif /* GL_WIN_swap_hint */
1262
1263
1264
1265/*
1266 * 188. GL_EXT_vertex_weighting
1267 */
1268#ifndef GL_EXT_vertex_weighting
1269#define GL_EXT_vertex_weighting 1
1270
1271#define GL_VERTEX_WEIGHTING_EXT 0x8509
1272#define GL_MODELVIEW0_EXT 0x1700
1273#define GL_MODELVIEW1_EXT 0x850a
1274#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850b
1275#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850c
1276#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850d
1277#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850e
1278#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850f
1279#define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
1280#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
1281#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
1282
1283GLAPI void APIENTRY glVertexWeightfEXT(GLfloat weight);
1284GLAPI void APIENTRY glVertexWeightfvEXT(const GLfloat *weight);
1285GLAPI void APIENTRY glVertexWeightPointerEXT(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1286
1287typedef void (* APIENTRY PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
1288typedef void (* APIENTRY PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
1289typedef void (* APIENTRY PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1290
1291#endif
1292
1293
1294
1295/*
1296 * 189. GL_NV_light_max_exponent
1297 */
1298#ifndef GL_NV_light_max_exponent
1299#define GL_NV_light_max_exponent 1
1300
1301#define GL_MAX_SHININESS_NV 0x8507
1302#define GL_MAX_SPOT_EXPONENT_NV 0x8508
1303
1304#endif
1305
1306
1307
1308/*
1309 * 190. GL_NV_vertex_array_range
1310 */
1311#ifndef GL_NV_vertex_array_range
1312#define GL_NV_vertex_array_range 1
1313
1314/* TOKENS? */
1315
1316GLAPI void APIENTRY glFlushVertexArrayRangeNV(void);
1317GLAPI void APIENTRY glVertexArrayRangeNV(GLsizei size, const GLvoid * pointer);
1318
1319typedef void (* APIENTRY PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
1320
1321#endif
1322
1323
1324
1325/*
1326 * 191. GL_NV_register_combiners
1327 */
1328#ifndef GL_NV_register_combiners
1329#define GL_NV_register_combiners 1
1330
1331/* TOKENS? */
1332
1333#ifdef VMS
1334/*VMS only allows externals of maximal 31 characters! */
1335#define glGetCombinerOutputParameterfvNV glGetCombinerOutputParameterfvN
1336#define glGetCombinerOutputParameterivNV glGetCombinerOutputParameterivN
1337#define glGetFinalCombinerInputParameterfvNV glGetFnlCmbinerInpParameterfvNV
1338#define glGetFinalCombinerInputParameterivNV glGetFnlCmbinerInpParameterivNV
1339#endif
1340
1341GLAPI void APIENTRY glCombinerParameterfvNV(GLenum pname, const GLfloat * params);
1342GLAPI void APIENTRY glCombinerParameterfNV(GLenum pname, GLfloat param);
1343GLAPI void APIENTRY glCombinerParameterivNV(GLenum pname, const GLint * params);
1344GLAPI void APIENTRY glCombinerParameteriNV(GLenum pname, GLint param);
1345GLAPI void APIENTRY glCombinerInputNV(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
1346GLAPI void APIENTRY glCombinerOutputNV(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
1347GLAPI void APIENTRY glFinalCombinerInputNV(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
1348GLAPI void APIENTRY glGetCombinerInputParameterfvNV(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params);
1349GLAPI void APIENTRY glGetCombinerInputParameterivNV(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params);
1350GLAPI void APIENTRY glGetCombinerOutputParameterfvNV(GLenum stage, GLenum portion, GLenum pname, GLfloat * params);
1351GLAPI void APIENTRY glGetCombinerOutputParameterivNV(GLenum stage, GLenum portion, GLenum pname, GLint * params);
1352GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV(GLenum variable, GLenum pname, GLfloat * params);
1353GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV(GLenum variable, GLenum pname, GLint * params);
1354
1355typedef void (* APIENTRY PFNGLVERTEXARRAYRANGENVPROC) (GLsizei size, const GLvoid * pointer);
1356typedef void (* APIENTRY PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat * params);
1357typedef void (* APIENTRY PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
1358typedef void (* APIENTRY PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint * params);
1359typedef void (* APIENTRY PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
1360typedef void (* APIENTRY PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
1361typedef void (* APIENTRY PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
1362typedef void (* APIENTRY PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
1363typedef void (* APIENTRY PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params);
1364typedef void (* APIENTRY PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params);
1365typedef void (* APIENTRY PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat * params);
1366typedef void (* APIENTRY PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint * params);
1367typedef void (* APIENTRY PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat * params);
1368typedef void (* APIENTRY PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint * params);
1369
1370#endif /* GL_NV_register_combiners */
1371
1372
1373
1374/*
1375 * 192. GL_NV_fog_distance
1376 */
1377#ifndef GL_NV_fog_distance
1378#define GL_NV_fog_distance 1
1379
1380#define GL_FOG_DISTANCE_MODE_NV 0x855a
1381#define GL_EYE_RADIAL_NV 0x855b
1382#define GL_EYE_PLANE_ABSOLUTE_NV 0x855c
1383
1384#endif /* GL_NV_fog_distance*/
1385
1386
1387
1388/*
1389 * 194. GL_NV_blend_square
1390 */
1391#ifndef GL_NV_blend_square
1392#define GL_NV_blend_square 1
1393
1394/* no tokens or functions */
1395
1396#endif /* GL_NV_blend_square */
1397
1398
1399
1400/*
1401 * 195. GL_NV_texture_env_combine4
1402 */
1403#ifndef GL_NV_texture_env_combine4
1404#define GL_NV_texture_env_combine4 1
1405
1406#define GL_COMBINE4_NV 0x8503
1407#define GL_SOURCE3_RGB_NV 0x8583
1408#define GL_SOURCE3_ALPHA_NV 0x858B
1409#define GL_OPERAND3_RGB_NV 0x8593
1410#define GL_OPERAND3_ALPHA_NV 0x859B
1411
1412#endif /* GL_NV_texture_env_combine4 */
1413
1414
1415
1416/*
1417 * 196. GL_MESA_resize_bufffers
1418 */
1419#ifndef GL_MESA_resize_buffers
1420#define GL_MESA_resize_buffers 1
1421
1422GLAPI void APIENTRY glResizeBuffersMESA(void);
1423
1424typedef void (* APIENTRY PFNGLRESIZEBUFFERSMESAPROC) (void);
1425
1426#endif /* GL_MESA_resize_bufffers */
1427
1428
1429
1430/*
1431 * 197. GL_MESA_window_pos
1432 */
1433#ifndef GL_MESA_window_pos
1434#define GL_MESA_window_pos 1
1435
1436GLAPI void APIENTRY glWindowPos2iMESA(GLint x, GLint y);
1437GLAPI void APIENTRY glWindowPos2sMESA(GLshort x, GLshort y);
1438GLAPI void APIENTRY glWindowPos2fMESA(GLfloat x, GLfloat y);
1439GLAPI void APIENTRY glWindowPos2dMESA(GLdouble x, GLdouble y);
1440GLAPI void APIENTRY glWindowPos2ivMESA(const GLint *p);
1441GLAPI void APIENTRY glWindowPos2svMESA(const GLshort *p);
1442GLAPI void APIENTRY glWindowPos2fvMESA(const GLfloat *p);
1443GLAPI void APIENTRY glWindowPos2dvMESA(const GLdouble *p);
1444GLAPI void APIENTRY glWindowPos3iMESA(GLint x, GLint y, GLint z);
1445GLAPI void APIENTRY glWindowPos3sMESA(GLshort x, GLshort y, GLshort z);
1446GLAPI void APIENTRY glWindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z);
1447GLAPI void APIENTRY glWindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z);
1448GLAPI void APIENTRY glWindowPos3ivMESA(const GLint *p);
1449GLAPI void APIENTRY glWindowPos3svMESA(const GLshort *p);
1450GLAPI void APIENTRY glWindowPos3fvMESA(const GLfloat *p);
1451GLAPI void APIENTRY glWindowPos3dvMESA(const GLdouble *p);
1452GLAPI void APIENTRY glWindowPos4iMESA(GLint x, GLint y, GLint z, GLint w);
1453GLAPI void APIENTRY glWindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w);
1454GLAPI void APIENTRY glWindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1455GLAPI void APIENTRY glWindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1456GLAPI void APIENTRY glWindowPos4ivMESA(const GLint *p);
1457GLAPI void APIENTRY glWindowPos4svMESA(const GLshort *p);
1458GLAPI void APIENTRY glWindowPos4fvMESA(const GLfloat *p);
1459GLAPI void APIENTRY glWindowPos4dvMESA(const GLdouble *p);
1460
1461typedef void (* APIENTRY PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
1462typedef void (* APIENTRY PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
1463typedef void (* APIENTRY PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
1464typedef void (* APIENTRY PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
1465typedef void (* APIENTRY PFNGLWINDOWPOS2IVMESAPROC) (const GLint *p);
1466typedef void (* APIENTRY PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *p);
1467typedef void (* APIENTRY PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *p);
1468typedef void (* APIENTRY PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *p);
1469typedef void (* APIENTRY PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
1470typedef void (* APIENTRY PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
1471typedef void (* APIENTRY PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
1472typedef void (* APIENTRY PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
1473typedef void (* APIENTRY PFNGLWINDOWPOS3IVMESAPROC) (const GLint *p);
1474typedef void (* APIENTRY PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *p);
1475typedef void (* APIENTRY PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *p);
1476typedef void (* APIENTRY PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *p);
1477typedef void (* APIENTRY PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
1478typedef void (* APIENTRY PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1479typedef void (* APIENTRY PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1480typedef void (* APIENTRY PFNGLWINDOWPOS4IVMESAPROC) (const GLint *p);
1481typedef void (* APIENTRY PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *p);
1482typedef void (* APIENTRY PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *p);
1483typedef void (* APIENTRY PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *p);
1484
1485#endif /* GL_MESA_window_pos */
1486
1487
1488
1489/*
1490 * ARB 0. GL_ARB_multitexture
1491 */
1492#ifndef GL_ARB_multitexture
1493#define GL_ARB_multitexture 1
1494
1495#define GL_TEXTURE0_ARB 0x84C0
1496#define GL_TEXTURE1_ARB 0x84C1
1497#define GL_TEXTURE2_ARB 0x84C2
1498#define GL_TEXTURE3_ARB 0x84C3
1499#define GL_TEXTURE4_ARB 0x84C4
1500#define GL_TEXTURE5_ARB 0x84C5
1501#define GL_TEXTURE6_ARB 0x84C6
1502#define GL_TEXTURE7_ARB 0x84C7
1503#define GL_TEXTURE8_ARB 0x84C8
1504#define GL_TEXTURE9_ARB 0x84C9
1505#define GL_TEXTURE10_ARB 0x84CA
1506#define GL_TEXTURE11_ARB 0x84CB
1507#define GL_TEXTURE12_ARB 0x84CC
1508#define GL_TEXTURE13_ARB 0x84CD
1509#define GL_TEXTURE14_ARB 0x84CE
1510#define GL_TEXTURE15_ARB 0x84CF
1511#define GL_TEXTURE16_ARB 0x84D0
1512#define GL_TEXTURE17_ARB 0x84D1
1513#define GL_TEXTURE18_ARB 0x84D2
1514#define GL_TEXTURE19_ARB 0x84D3
1515#define GL_TEXTURE20_ARB 0x84D4
1516#define GL_TEXTURE21_ARB 0x84D5
1517#define GL_TEXTURE22_ARB 0x84D6
1518#define GL_TEXTURE23_ARB 0x84D7
1519#define GL_TEXTURE24_ARB 0x84D8
1520#define GL_TEXTURE25_ARB 0x84D9
1521#define GL_TEXTURE26_ARB 0x84DA
1522#define GL_TEXTURE27_ARB 0x84DB
1523#define GL_TEXTURE28_ARB 0x84DC
1524#define GL_TEXTURE29_ARB 0x84DD
1525#define GL_TEXTURE30_ARB 0x84DE
1526#define GL_TEXTURE31_ARB 0x84DF
1527#define GL_ACTIVE_TEXTURE_ARB 0x84E0
1528#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
1529#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
1530
1531GLAPI void APIENTRY glActiveTextureARB(GLenum texture);
1532GLAPI void APIENTRY glClientActiveTextureARB(GLenum texture);
1533GLAPI void APIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s);
1534GLAPI void APIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v);
1535GLAPI void APIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s);
1536GLAPI void APIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v);
1537GLAPI void APIENTRY glMultiTexCoord1iARB(GLenum target, GLint s);
1538GLAPI void APIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v);
1539GLAPI void APIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s);
1540GLAPI void APIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v);
1541GLAPI void APIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t);
1542GLAPI void APIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v);
1543GLAPI void APIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
1544GLAPI void APIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v);
1545GLAPI void APIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t);
1546GLAPI void APIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v);
1547GLAPI void APIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t);
1548GLAPI void APIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v);
1549GLAPI void APIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r);
1550GLAPI void APIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v);
1551GLAPI void APIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r);
1552GLAPI void APIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v);
1553GLAPI void APIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r);
1554GLAPI void APIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v);
1555GLAPI void APIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r);
1556GLAPI void APIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v);
1557GLAPI void APIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1558GLAPI void APIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v);
1559GLAPI void APIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1560GLAPI void APIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v);
1561GLAPI void APIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q);
1562GLAPI void APIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v);
1563GLAPI void APIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1564GLAPI void APIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v);
1565
1566typedef void (* APIENTRY PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
1567typedef void (* APIENTRY PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
1568typedef void (* APIENTRY PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
1569typedef void (* APIENTRY PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
1570typedef void (* APIENTRY PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
1571typedef void (* APIENTRY PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
1572typedef void (* APIENTRY PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
1573typedef void (* APIENTRY PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
1574typedef void (* APIENTRY PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
1575typedef void (* APIENTRY PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
1576typedef void (* APIENTRY PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
1577typedef void (* APIENTRY PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
1578typedef void (* APIENTRY PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
1579typedef void (* APIENTRY PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
1580typedef void (* APIENTRY PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
1581typedef void (* APIENTRY PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
1582typedef void (* APIENTRY PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
1583typedef void (* APIENTRY PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
1584typedef void (* APIENTRY PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
1585typedef void (* APIENTRY PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
1586typedef void (* APIENTRY PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
1587typedef void (* APIENTRY PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
1588typedef void (* APIENTRY PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
1589typedef void (* APIENTRY PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
1590typedef void (* APIENTRY PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
1591typedef void (* APIENTRY PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
1592typedef void (* APIENTRY PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1593typedef void (* APIENTRY PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
1594typedef void (* APIENTRY PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1595typedef void (* APIENTRY PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
1596typedef void (* APIENTRY PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
1597typedef void (* APIENTRY PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
1598typedef void (* APIENTRY PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1599typedef void (* APIENTRY PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
1600
1601#endif /* GL_ARB_multitexture */
1602
1603
1604
1605/*
1606 * ARB 2. GL_ARB_tranpose_matrix
1607 */
1608#ifndef GL_ARB_transpose_matrix
1609#define GL_ARB_transpose_matrix 1
1610
1611#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
1612#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
1613#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
1614#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
1615
1616GLAPI void APIENTRY glLoadTransposeMatrixdARB( const GLdouble m[16] );
1617GLAPI void APIENTRY glLoadTransposeMatrixfARB( const GLfloat m[16] );
1618GLAPI void APIENTRY glMultTransposeMatrixdARB( const GLdouble m[16] );
1619GLAPI void APIENTRY glMultTransposeMatrixfARB( const GLfloat m[16] );
1620
1621typedef void (* APIENTRY PFNGLLOADTRANSPOSEMATRIXDARBPROC) ( const GLdouble m[16] );
1622typedef void (* APIENTRY PFNGLLOADTRANSPOSEMATRIXFARBPROC) ( const GLfloat m[16] );
1623typedef void (* APIENTRY PFNGLMULTTRANSPOSEMATRIXDARBPROC) ( const GLdouble m[16] );
1624typedef void (* APIENTRY PFNGLMULTTRANSPOSEMATRIXFARBPROC) ( const GLfloat m[16] );
1625
1626#endif /* GL_ARB_tranpose_matrix */
1627
1628
1629
1630/*
1631 * ARB 4. GL_ARB_multisample
1632 */
1633#ifndef GL_ARB_multisample
1634#define GL_ARB_multisample 1
1635
1636GLAPI void APIENTRY glSamplePassARB(GLenum pass);
1637GLAPI void APIENTRY glSampleCoverageARB(GLclampf value, GLboolean invert);
1638
1639typedef void (* APIENTRY PFNGLSAMPLEPASSARBPROC) (GLenum pass);
1640typedef void (* APIENTRY PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
1641
1642#endif /* GL_ARB_multisample */
1643
1644
1645
1646#ifdef __cplusplus
1647}
1648#endif
1649
1650
1651#endif /* __glext_h_ */
Note: See TracBrowser for help on using the repository browser.