Add ICU message format support
[chromium-blink-merge.git] / third_party / khronos / noninclude / GL / glext.h
blob2de12b22df665d05d6d652513696bab4364a3555
1 #ifndef __glext_h_
2 #define __glext_h_ 1
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 /*
9 ** Copyright (c) 2013-2014 The Khronos Group Inc.
11 ** Permission is hereby granted, free of charge, to any person obtaining a
12 ** copy of this software and/or associated documentation files (the
13 ** "Materials"), to deal in the Materials without restriction, including
14 ** without limitation the rights to use, copy, modify, merge, publish,
15 ** distribute, sublicense, and/or sell copies of the Materials, and to
16 ** permit persons to whom the Materials are furnished to do so, subject to
17 ** the following conditions:
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
32 ** API Registry. The current version of the Registry, generator scripts
33 ** used to make the header, and the header can be found at
34 ** http://www.opengl.org/registry/
36 ** Khronos $Revision: 29324 $ on $Date: 2015-01-04 17:42:37 -0800 (Sun, 04 Jan 2015) $
39 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
40 #ifndef WIN32_LEAN_AND_MEAN
41 #define WIN32_LEAN_AND_MEAN 1
42 #endif
43 #include <windows.h>
44 #endif
46 #ifndef APIENTRY
47 #define APIENTRY
48 #endif
49 #ifndef APIENTRYP
50 #define APIENTRYP APIENTRY *
51 #endif
52 #ifndef GLAPI
53 #define GLAPI extern
54 #endif
56 #define GL_GLEXT_VERSION 20150104
58 /* Generated C header for:
59 * API: gl
60 * Profile: compatibility
61 * Versions considered: .*
62 * Versions emitted: 1\.[2-9]|[234]\.[0-9]
63 * Default extensions included: gl
64 * Additional extensions included: _nomatch_^
65 * Extensions removed: _nomatch_^
68 #ifndef GL_VERSION_1_2
69 #define GL_VERSION_1_2 1
70 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
71 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
72 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
73 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
74 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
75 #define GL_TEXTURE_BINDING_3D 0x806A
76 #define GL_PACK_SKIP_IMAGES 0x806B
77 #define GL_PACK_IMAGE_HEIGHT 0x806C
78 #define GL_UNPACK_SKIP_IMAGES 0x806D
79 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
80 #define GL_TEXTURE_3D 0x806F
81 #define GL_PROXY_TEXTURE_3D 0x8070
82 #define GL_TEXTURE_DEPTH 0x8071
83 #define GL_TEXTURE_WRAP_R 0x8072
84 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
85 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
86 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
87 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
88 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
89 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
90 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
91 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
92 #define GL_BGR 0x80E0
93 #define GL_BGRA 0x80E1
94 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
95 #define GL_MAX_ELEMENTS_INDICES 0x80E9
96 #define GL_CLAMP_TO_EDGE 0x812F
97 #define GL_TEXTURE_MIN_LOD 0x813A
98 #define GL_TEXTURE_MAX_LOD 0x813B
99 #define GL_TEXTURE_BASE_LEVEL 0x813C
100 #define GL_TEXTURE_MAX_LEVEL 0x813D
101 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
102 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
103 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
104 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
105 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
106 #define GL_RESCALE_NORMAL 0x803A
107 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
108 #define GL_SINGLE_COLOR 0x81F9
109 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
110 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
111 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
112 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
113 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
114 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
115 #ifdef GL_GLEXT_PROTOTYPES
116 GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
117 GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
118 GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
119 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
120 #endif
121 #endif /* GL_VERSION_1_2 */
123 #ifndef GL_VERSION_1_3
124 #define GL_VERSION_1_3 1
125 #define GL_TEXTURE0 0x84C0
126 #define GL_TEXTURE1 0x84C1
127 #define GL_TEXTURE2 0x84C2
128 #define GL_TEXTURE3 0x84C3
129 #define GL_TEXTURE4 0x84C4
130 #define GL_TEXTURE5 0x84C5
131 #define GL_TEXTURE6 0x84C6
132 #define GL_TEXTURE7 0x84C7
133 #define GL_TEXTURE8 0x84C8
134 #define GL_TEXTURE9 0x84C9
135 #define GL_TEXTURE10 0x84CA
136 #define GL_TEXTURE11 0x84CB
137 #define GL_TEXTURE12 0x84CC
138 #define GL_TEXTURE13 0x84CD
139 #define GL_TEXTURE14 0x84CE
140 #define GL_TEXTURE15 0x84CF
141 #define GL_TEXTURE16 0x84D0
142 #define GL_TEXTURE17 0x84D1
143 #define GL_TEXTURE18 0x84D2
144 #define GL_TEXTURE19 0x84D3
145 #define GL_TEXTURE20 0x84D4
146 #define GL_TEXTURE21 0x84D5
147 #define GL_TEXTURE22 0x84D6
148 #define GL_TEXTURE23 0x84D7
149 #define GL_TEXTURE24 0x84D8
150 #define GL_TEXTURE25 0x84D9
151 #define GL_TEXTURE26 0x84DA
152 #define GL_TEXTURE27 0x84DB
153 #define GL_TEXTURE28 0x84DC
154 #define GL_TEXTURE29 0x84DD
155 #define GL_TEXTURE30 0x84DE
156 #define GL_TEXTURE31 0x84DF
157 #define GL_ACTIVE_TEXTURE 0x84E0
158 #define GL_MULTISAMPLE 0x809D
159 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
160 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
161 #define GL_SAMPLE_COVERAGE 0x80A0
162 #define GL_SAMPLE_BUFFERS 0x80A8
163 #define GL_SAMPLES 0x80A9
164 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
165 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
166 #define GL_TEXTURE_CUBE_MAP 0x8513
167 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
168 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
169 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
170 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
171 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
172 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
173 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
174 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
175 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
176 #define GL_COMPRESSED_RGB 0x84ED
177 #define GL_COMPRESSED_RGBA 0x84EE
178 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
179 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
180 #define GL_TEXTURE_COMPRESSED 0x86A1
181 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
182 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
183 #define GL_CLAMP_TO_BORDER 0x812D
184 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
185 #define GL_MAX_TEXTURE_UNITS 0x84E2
186 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
187 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
188 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
189 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
190 #define GL_MULTISAMPLE_BIT 0x20000000
191 #define GL_NORMAL_MAP 0x8511
192 #define GL_REFLECTION_MAP 0x8512
193 #define GL_COMPRESSED_ALPHA 0x84E9
194 #define GL_COMPRESSED_LUMINANCE 0x84EA
195 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
196 #define GL_COMPRESSED_INTENSITY 0x84EC
197 #define GL_COMBINE 0x8570
198 #define GL_COMBINE_RGB 0x8571
199 #define GL_COMBINE_ALPHA 0x8572
200 #define GL_SOURCE0_RGB 0x8580
201 #define GL_SOURCE1_RGB 0x8581
202 #define GL_SOURCE2_RGB 0x8582
203 #define GL_SOURCE0_ALPHA 0x8588
204 #define GL_SOURCE1_ALPHA 0x8589
205 #define GL_SOURCE2_ALPHA 0x858A
206 #define GL_OPERAND0_RGB 0x8590
207 #define GL_OPERAND1_RGB 0x8591
208 #define GL_OPERAND2_RGB 0x8592
209 #define GL_OPERAND0_ALPHA 0x8598
210 #define GL_OPERAND1_ALPHA 0x8599
211 #define GL_OPERAND2_ALPHA 0x859A
212 #define GL_RGB_SCALE 0x8573
213 #define GL_ADD_SIGNED 0x8574
214 #define GL_INTERPOLATE 0x8575
215 #define GL_SUBTRACT 0x84E7
216 #define GL_CONSTANT 0x8576
217 #define GL_PRIMARY_COLOR 0x8577
218 #define GL_PREVIOUS 0x8578
219 #define GL_DOT3_RGB 0x86AE
220 #define GL_DOT3_RGBA 0x86AF
221 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
222 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
223 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
224 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
225 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
226 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
227 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
228 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
229 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
230 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
231 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
232 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
233 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
234 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
235 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
236 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
237 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
238 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
239 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
240 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
241 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
242 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
243 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
244 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
245 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
246 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
247 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
248 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
249 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
250 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
251 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
252 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
253 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
254 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
255 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
256 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
257 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
258 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
259 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
260 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
261 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
262 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
263 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
264 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
265 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
266 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
267 #ifdef GL_GLEXT_PROTOTYPES
268 GLAPI void APIENTRY glActiveTexture (GLenum texture);
269 GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
270 GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
271 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
272 GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
273 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
274 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
275 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
276 GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
277 GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
278 GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
279 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
280 GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
281 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
282 GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
283 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
284 GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
285 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
286 GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
287 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
288 GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
289 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
290 GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
291 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
292 GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
293 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
294 GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
295 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
296 GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
297 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
298 GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
299 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
300 GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
301 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
302 GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
303 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
304 GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
305 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
306 GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
307 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
308 GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
309 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
310 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
311 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
312 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
313 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
314 #endif
315 #endif /* GL_VERSION_1_3 */
317 #ifndef GL_VERSION_1_4
318 #define GL_VERSION_1_4 1
319 #define GL_BLEND_DST_RGB 0x80C8
320 #define GL_BLEND_SRC_RGB 0x80C9
321 #define GL_BLEND_DST_ALPHA 0x80CA
322 #define GL_BLEND_SRC_ALPHA 0x80CB
323 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
324 #define GL_DEPTH_COMPONENT16 0x81A5
325 #define GL_DEPTH_COMPONENT24 0x81A6
326 #define GL_DEPTH_COMPONENT32 0x81A7
327 #define GL_MIRRORED_REPEAT 0x8370
328 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
329 #define GL_TEXTURE_LOD_BIAS 0x8501
330 #define GL_INCR_WRAP 0x8507
331 #define GL_DECR_WRAP 0x8508
332 #define GL_TEXTURE_DEPTH_SIZE 0x884A
333 #define GL_TEXTURE_COMPARE_MODE 0x884C
334 #define GL_TEXTURE_COMPARE_FUNC 0x884D
335 #define GL_POINT_SIZE_MIN 0x8126
336 #define GL_POINT_SIZE_MAX 0x8127
337 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
338 #define GL_GENERATE_MIPMAP 0x8191
339 #define GL_GENERATE_MIPMAP_HINT 0x8192
340 #define GL_FOG_COORDINATE_SOURCE 0x8450
341 #define GL_FOG_COORDINATE 0x8451
342 #define GL_FRAGMENT_DEPTH 0x8452
343 #define GL_CURRENT_FOG_COORDINATE 0x8453
344 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
345 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
346 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
347 #define GL_FOG_COORDINATE_ARRAY 0x8457
348 #define GL_COLOR_SUM 0x8458
349 #define GL_CURRENT_SECONDARY_COLOR 0x8459
350 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
351 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
352 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
353 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
354 #define GL_SECONDARY_COLOR_ARRAY 0x845E
355 #define GL_TEXTURE_FILTER_CONTROL 0x8500
356 #define GL_DEPTH_TEXTURE_MODE 0x884B
357 #define GL_COMPARE_R_TO_TEXTURE 0x884E
358 #define GL_FUNC_ADD 0x8006
359 #define GL_FUNC_SUBTRACT 0x800A
360 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
361 #define GL_MIN 0x8007
362 #define GL_MAX 0x8008
363 #define GL_CONSTANT_COLOR 0x8001
364 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
365 #define GL_CONSTANT_ALPHA 0x8003
366 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
367 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
368 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
369 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
370 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
371 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
372 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
373 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
374 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
375 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
376 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
377 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
378 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
379 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
380 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
381 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
382 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
383 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
384 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
385 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
386 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
387 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
388 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
389 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
390 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
391 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
392 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
393 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
394 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
395 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
396 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
397 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
398 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
399 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
400 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
401 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
402 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
403 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
404 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
405 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
406 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
407 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
408 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
409 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
410 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
411 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
412 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
413 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
414 #ifdef GL_GLEXT_PROTOTYPES
415 GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
416 GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
417 GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
418 GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
419 GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
420 GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
421 GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
422 GLAPI void APIENTRY glFogCoordf (GLfloat coord);
423 GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
424 GLAPI void APIENTRY glFogCoordd (GLdouble coord);
425 GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
426 GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
427 GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
428 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
429 GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
430 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
431 GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
432 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
433 GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
434 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
435 GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
436 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
437 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
438 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
439 GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
440 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
441 GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
442 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
443 GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
444 GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
445 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
446 GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
447 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
448 GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
449 GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
450 GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
451 GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
452 GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
453 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
454 GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
455 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
456 GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
457 GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
458 GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
459 GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
460 GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
461 GLAPI void APIENTRY glBlendEquation (GLenum mode);
462 #endif
463 #endif /* GL_VERSION_1_4 */
465 #ifndef GL_VERSION_1_5
466 #define GL_VERSION_1_5 1
467 #include <stddef.h>
468 typedef ptrdiff_t GLsizeiptr;
469 typedef ptrdiff_t GLintptr;
470 #define GL_BUFFER_SIZE 0x8764
471 #define GL_BUFFER_USAGE 0x8765
472 #define GL_QUERY_COUNTER_BITS 0x8864
473 #define GL_CURRENT_QUERY 0x8865
474 #define GL_QUERY_RESULT 0x8866
475 #define GL_QUERY_RESULT_AVAILABLE 0x8867
476 #define GL_ARRAY_BUFFER 0x8892
477 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
478 #define GL_ARRAY_BUFFER_BINDING 0x8894
479 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
480 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
481 #define GL_READ_ONLY 0x88B8
482 #define GL_WRITE_ONLY 0x88B9
483 #define GL_READ_WRITE 0x88BA
484 #define GL_BUFFER_ACCESS 0x88BB
485 #define GL_BUFFER_MAPPED 0x88BC
486 #define GL_BUFFER_MAP_POINTER 0x88BD
487 #define GL_STREAM_DRAW 0x88E0
488 #define GL_STREAM_READ 0x88E1
489 #define GL_STREAM_COPY 0x88E2
490 #define GL_STATIC_DRAW 0x88E4
491 #define GL_STATIC_READ 0x88E5
492 #define GL_STATIC_COPY 0x88E6
493 #define GL_DYNAMIC_DRAW 0x88E8
494 #define GL_DYNAMIC_READ 0x88E9
495 #define GL_DYNAMIC_COPY 0x88EA
496 #define GL_SAMPLES_PASSED 0x8914
497 #define GL_SRC1_ALPHA 0x8589
498 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
499 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
500 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
501 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
502 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
503 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
504 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
505 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
506 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
507 #define GL_FOG_COORD_SRC 0x8450
508 #define GL_FOG_COORD 0x8451
509 #define GL_CURRENT_FOG_COORD 0x8453
510 #define GL_FOG_COORD_ARRAY_TYPE 0x8454
511 #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
512 #define GL_FOG_COORD_ARRAY_POINTER 0x8456
513 #define GL_FOG_COORD_ARRAY 0x8457
514 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
515 #define GL_SRC0_RGB 0x8580
516 #define GL_SRC1_RGB 0x8581
517 #define GL_SRC2_RGB 0x8582
518 #define GL_SRC0_ALPHA 0x8588
519 #define GL_SRC2_ALPHA 0x858A
520 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
521 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
522 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
523 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
524 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
525 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
526 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
527 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
528 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
529 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
530 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
531 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
532 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
533 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
534 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
535 typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
536 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
537 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
538 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
539 #ifdef GL_GLEXT_PROTOTYPES
540 GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
541 GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
542 GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
543 GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
544 GLAPI void APIENTRY glEndQuery (GLenum target);
545 GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
546 GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
547 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
548 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
549 GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
550 GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
551 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
552 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
553 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
554 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
555 GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
556 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
557 GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
558 GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
559 #endif
560 #endif /* GL_VERSION_1_5 */
562 #ifndef GL_VERSION_2_0
563 #define GL_VERSION_2_0 1
564 typedef char GLchar;
565 #define GL_BLEND_EQUATION_RGB 0x8009
566 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
567 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
568 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
569 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
570 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
571 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
572 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
573 #define GL_STENCIL_BACK_FUNC 0x8800
574 #define GL_STENCIL_BACK_FAIL 0x8801
575 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
576 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
577 #define GL_MAX_DRAW_BUFFERS 0x8824
578 #define GL_DRAW_BUFFER0 0x8825
579 #define GL_DRAW_BUFFER1 0x8826
580 #define GL_DRAW_BUFFER2 0x8827
581 #define GL_DRAW_BUFFER3 0x8828
582 #define GL_DRAW_BUFFER4 0x8829
583 #define GL_DRAW_BUFFER5 0x882A
584 #define GL_DRAW_BUFFER6 0x882B
585 #define GL_DRAW_BUFFER7 0x882C
586 #define GL_DRAW_BUFFER8 0x882D
587 #define GL_DRAW_BUFFER9 0x882E
588 #define GL_DRAW_BUFFER10 0x882F
589 #define GL_DRAW_BUFFER11 0x8830
590 #define GL_DRAW_BUFFER12 0x8831
591 #define GL_DRAW_BUFFER13 0x8832
592 #define GL_DRAW_BUFFER14 0x8833
593 #define GL_DRAW_BUFFER15 0x8834
594 #define GL_BLEND_EQUATION_ALPHA 0x883D
595 #define GL_MAX_VERTEX_ATTRIBS 0x8869
596 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
597 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
598 #define GL_FRAGMENT_SHADER 0x8B30
599 #define GL_VERTEX_SHADER 0x8B31
600 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
601 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
602 #define GL_MAX_VARYING_FLOATS 0x8B4B
603 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
604 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
605 #define GL_SHADER_TYPE 0x8B4F
606 #define GL_FLOAT_VEC2 0x8B50
607 #define GL_FLOAT_VEC3 0x8B51
608 #define GL_FLOAT_VEC4 0x8B52
609 #define GL_INT_VEC2 0x8B53
610 #define GL_INT_VEC3 0x8B54
611 #define GL_INT_VEC4 0x8B55
612 #define GL_BOOL 0x8B56
613 #define GL_BOOL_VEC2 0x8B57
614 #define GL_BOOL_VEC3 0x8B58
615 #define GL_BOOL_VEC4 0x8B59
616 #define GL_FLOAT_MAT2 0x8B5A
617 #define GL_FLOAT_MAT3 0x8B5B
618 #define GL_FLOAT_MAT4 0x8B5C
619 #define GL_SAMPLER_1D 0x8B5D
620 #define GL_SAMPLER_2D 0x8B5E
621 #define GL_SAMPLER_3D 0x8B5F
622 #define GL_SAMPLER_CUBE 0x8B60
623 #define GL_SAMPLER_1D_SHADOW 0x8B61
624 #define GL_SAMPLER_2D_SHADOW 0x8B62
625 #define GL_DELETE_STATUS 0x8B80
626 #define GL_COMPILE_STATUS 0x8B81
627 #define GL_LINK_STATUS 0x8B82
628 #define GL_VALIDATE_STATUS 0x8B83
629 #define GL_INFO_LOG_LENGTH 0x8B84
630 #define GL_ATTACHED_SHADERS 0x8B85
631 #define GL_ACTIVE_UNIFORMS 0x8B86
632 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
633 #define GL_SHADER_SOURCE_LENGTH 0x8B88
634 #define GL_ACTIVE_ATTRIBUTES 0x8B89
635 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
636 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
637 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
638 #define GL_CURRENT_PROGRAM 0x8B8D
639 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
640 #define GL_LOWER_LEFT 0x8CA1
641 #define GL_UPPER_LEFT 0x8CA2
642 #define GL_STENCIL_BACK_REF 0x8CA3
643 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
644 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
645 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
646 #define GL_POINT_SPRITE 0x8861
647 #define GL_COORD_REPLACE 0x8862
648 #define GL_MAX_TEXTURE_COORDS 0x8871
649 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
650 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
651 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
652 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
653 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
654 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
655 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
656 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
657 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
658 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
659 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
660 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
661 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
662 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
663 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
664 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
665 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
666 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
667 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
668 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
669 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
670 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
671 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
672 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
673 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
674 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
675 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
676 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
677 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
678 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
679 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
680 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
681 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
682 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
683 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
684 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
685 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
686 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
687 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
688 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
689 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
690 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
691 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
692 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
693 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
694 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
695 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
696 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
697 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
698 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
699 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
700 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
701 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
702 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
703 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
704 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
705 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
706 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
707 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
708 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
709 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
710 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
711 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
712 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
713 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
714 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
715 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
716 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
717 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
718 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
719 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
720 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
721 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
722 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
723 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
724 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
725 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
726 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
727 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
728 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
729 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
730 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
731 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
732 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
733 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
734 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
735 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
736 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
737 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
738 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
739 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
740 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
741 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
742 #ifdef GL_GLEXT_PROTOTYPES
743 GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
744 GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
745 GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
746 GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
747 GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
748 GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
749 GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
750 GLAPI void APIENTRY glCompileShader (GLuint shader);
751 GLAPI GLuint APIENTRY glCreateProgram (void);
752 GLAPI GLuint APIENTRY glCreateShader (GLenum type);
753 GLAPI void APIENTRY glDeleteProgram (GLuint program);
754 GLAPI void APIENTRY glDeleteShader (GLuint shader);
755 GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
756 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
757 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
758 GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
759 GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
760 GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
761 GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
762 GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
763 GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
764 GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
765 GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
766 GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
767 GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
768 GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
769 GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
770 GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
771 GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
772 GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
773 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
774 GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
775 GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
776 GLAPI void APIENTRY glLinkProgram (GLuint program);
777 GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
778 GLAPI void APIENTRY glUseProgram (GLuint program);
779 GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
780 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
781 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
782 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
783 GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
784 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
785 GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
786 GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
787 GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
788 GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
789 GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
790 GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
791 GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
792 GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
793 GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
794 GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
795 GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
796 GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
797 GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
798 GLAPI void APIENTRY glValidateProgram (GLuint program);
799 GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
800 GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
801 GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
802 GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
803 GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
804 GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
805 GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
806 GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
807 GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
808 GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
809 GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
810 GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
811 GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
812 GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
813 GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
814 GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
815 GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
816 GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
817 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
818 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
819 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
820 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
821 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
822 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
823 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
824 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
825 GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
826 GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
827 GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
828 GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
829 GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
830 GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
831 GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
832 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
833 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
834 GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
835 GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
836 #endif
837 #endif /* GL_VERSION_2_0 */
839 #ifndef GL_VERSION_2_1
840 #define GL_VERSION_2_1 1
841 #define GL_PIXEL_PACK_BUFFER 0x88EB
842 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
843 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
844 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
845 #define GL_FLOAT_MAT2x3 0x8B65
846 #define GL_FLOAT_MAT2x4 0x8B66
847 #define GL_FLOAT_MAT3x2 0x8B67
848 #define GL_FLOAT_MAT3x4 0x8B68
849 #define GL_FLOAT_MAT4x2 0x8B69
850 #define GL_FLOAT_MAT4x3 0x8B6A
851 #define GL_SRGB 0x8C40
852 #define GL_SRGB8 0x8C41
853 #define GL_SRGB_ALPHA 0x8C42
854 #define GL_SRGB8_ALPHA8 0x8C43
855 #define GL_COMPRESSED_SRGB 0x8C48
856 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
857 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
858 #define GL_SLUMINANCE_ALPHA 0x8C44
859 #define GL_SLUMINANCE8_ALPHA8 0x8C45
860 #define GL_SLUMINANCE 0x8C46
861 #define GL_SLUMINANCE8 0x8C47
862 #define GL_COMPRESSED_SLUMINANCE 0x8C4A
863 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
864 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
865 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
866 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
867 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
868 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
869 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
870 #ifdef GL_GLEXT_PROTOTYPES
871 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
872 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
873 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
874 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
875 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
876 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
877 #endif
878 #endif /* GL_VERSION_2_1 */
880 #ifndef GL_VERSION_3_0
881 #define GL_VERSION_3_0 1
882 typedef unsigned short GLhalf;
883 #define GL_COMPARE_REF_TO_TEXTURE 0x884E
884 #define GL_CLIP_DISTANCE0 0x3000
885 #define GL_CLIP_DISTANCE1 0x3001
886 #define GL_CLIP_DISTANCE2 0x3002
887 #define GL_CLIP_DISTANCE3 0x3003
888 #define GL_CLIP_DISTANCE4 0x3004
889 #define GL_CLIP_DISTANCE5 0x3005
890 #define GL_CLIP_DISTANCE6 0x3006
891 #define GL_CLIP_DISTANCE7 0x3007
892 #define GL_MAX_CLIP_DISTANCES 0x0D32
893 #define GL_MAJOR_VERSION 0x821B
894 #define GL_MINOR_VERSION 0x821C
895 #define GL_NUM_EXTENSIONS 0x821D
896 #define GL_CONTEXT_FLAGS 0x821E
897 #define GL_COMPRESSED_RED 0x8225
898 #define GL_COMPRESSED_RG 0x8226
899 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
900 #define GL_RGBA32F 0x8814
901 #define GL_RGB32F 0x8815
902 #define GL_RGBA16F 0x881A
903 #define GL_RGB16F 0x881B
904 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
905 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
906 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
907 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
908 #define GL_CLAMP_READ_COLOR 0x891C
909 #define GL_FIXED_ONLY 0x891D
910 #define GL_MAX_VARYING_COMPONENTS 0x8B4B
911 #define GL_TEXTURE_1D_ARRAY 0x8C18
912 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
913 #define GL_TEXTURE_2D_ARRAY 0x8C1A
914 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
915 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
916 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
917 #define GL_R11F_G11F_B10F 0x8C3A
918 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
919 #define GL_RGB9_E5 0x8C3D
920 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
921 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
922 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
923 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
924 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
925 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
926 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
927 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
928 #define GL_PRIMITIVES_GENERATED 0x8C87
929 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
930 #define GL_RASTERIZER_DISCARD 0x8C89
931 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
932 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
933 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
934 #define GL_SEPARATE_ATTRIBS 0x8C8D
935 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
936 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
937 #define GL_RGBA32UI 0x8D70
938 #define GL_RGB32UI 0x8D71
939 #define GL_RGBA16UI 0x8D76
940 #define GL_RGB16UI 0x8D77
941 #define GL_RGBA8UI 0x8D7C
942 #define GL_RGB8UI 0x8D7D
943 #define GL_RGBA32I 0x8D82
944 #define GL_RGB32I 0x8D83
945 #define GL_RGBA16I 0x8D88
946 #define GL_RGB16I 0x8D89
947 #define GL_RGBA8I 0x8D8E
948 #define GL_RGB8I 0x8D8F
949 #define GL_RED_INTEGER 0x8D94
950 #define GL_GREEN_INTEGER 0x8D95
951 #define GL_BLUE_INTEGER 0x8D96
952 #define GL_RGB_INTEGER 0x8D98
953 #define GL_RGBA_INTEGER 0x8D99
954 #define GL_BGR_INTEGER 0x8D9A
955 #define GL_BGRA_INTEGER 0x8D9B
956 #define GL_SAMPLER_1D_ARRAY 0x8DC0
957 #define GL_SAMPLER_2D_ARRAY 0x8DC1
958 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
959 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
960 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
961 #define GL_UNSIGNED_INT_VEC2 0x8DC6
962 #define GL_UNSIGNED_INT_VEC3 0x8DC7
963 #define GL_UNSIGNED_INT_VEC4 0x8DC8
964 #define GL_INT_SAMPLER_1D 0x8DC9
965 #define GL_INT_SAMPLER_2D 0x8DCA
966 #define GL_INT_SAMPLER_3D 0x8DCB
967 #define GL_INT_SAMPLER_CUBE 0x8DCC
968 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
969 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
970 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
971 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
972 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
973 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
974 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
975 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
976 #define GL_QUERY_WAIT 0x8E13
977 #define GL_QUERY_NO_WAIT 0x8E14
978 #define GL_QUERY_BY_REGION_WAIT 0x8E15
979 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
980 #define GL_BUFFER_ACCESS_FLAGS 0x911F
981 #define GL_BUFFER_MAP_LENGTH 0x9120
982 #define GL_BUFFER_MAP_OFFSET 0x9121
983 #define GL_DEPTH_COMPONENT32F 0x8CAC
984 #define GL_DEPTH32F_STENCIL8 0x8CAD
985 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
986 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
987 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
988 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
989 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
990 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
991 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
992 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
993 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
994 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
995 #define GL_FRAMEBUFFER_DEFAULT 0x8218
996 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
997 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
998 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
999 #define GL_DEPTH_STENCIL 0x84F9
1000 #define GL_UNSIGNED_INT_24_8 0x84FA
1001 #define GL_DEPTH24_STENCIL8 0x88F0
1002 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
1003 #define GL_TEXTURE_RED_TYPE 0x8C10
1004 #define GL_TEXTURE_GREEN_TYPE 0x8C11
1005 #define GL_TEXTURE_BLUE_TYPE 0x8C12
1006 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
1007 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
1008 #define GL_UNSIGNED_NORMALIZED 0x8C17
1009 #define GL_FRAMEBUFFER_BINDING 0x8CA6
1010 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
1011 #define GL_RENDERBUFFER_BINDING 0x8CA7
1012 #define GL_READ_FRAMEBUFFER 0x8CA8
1013 #define GL_DRAW_FRAMEBUFFER 0x8CA9
1014 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
1015 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
1016 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1017 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1018 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1019 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1020 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1021 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
1022 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1023 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1024 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1025 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1026 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
1027 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
1028 #define GL_COLOR_ATTACHMENT0 0x8CE0
1029 #define GL_COLOR_ATTACHMENT1 0x8CE1
1030 #define GL_COLOR_ATTACHMENT2 0x8CE2
1031 #define GL_COLOR_ATTACHMENT3 0x8CE3
1032 #define GL_COLOR_ATTACHMENT4 0x8CE4
1033 #define GL_COLOR_ATTACHMENT5 0x8CE5
1034 #define GL_COLOR_ATTACHMENT6 0x8CE6
1035 #define GL_COLOR_ATTACHMENT7 0x8CE7
1036 #define GL_COLOR_ATTACHMENT8 0x8CE8
1037 #define GL_COLOR_ATTACHMENT9 0x8CE9
1038 #define GL_COLOR_ATTACHMENT10 0x8CEA
1039 #define GL_COLOR_ATTACHMENT11 0x8CEB
1040 #define GL_COLOR_ATTACHMENT12 0x8CEC
1041 #define GL_COLOR_ATTACHMENT13 0x8CED
1042 #define GL_COLOR_ATTACHMENT14 0x8CEE
1043 #define GL_COLOR_ATTACHMENT15 0x8CEF
1044 #define GL_DEPTH_ATTACHMENT 0x8D00
1045 #define GL_STENCIL_ATTACHMENT 0x8D20
1046 #define GL_FRAMEBUFFER 0x8D40
1047 #define GL_RENDERBUFFER 0x8D41
1048 #define GL_RENDERBUFFER_WIDTH 0x8D42
1049 #define GL_RENDERBUFFER_HEIGHT 0x8D43
1050 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
1051 #define GL_STENCIL_INDEX1 0x8D46
1052 #define GL_STENCIL_INDEX4 0x8D47
1053 #define GL_STENCIL_INDEX8 0x8D48
1054 #define GL_STENCIL_INDEX16 0x8D49
1055 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
1056 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
1057 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
1058 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
1059 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
1060 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
1061 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
1062 #define GL_MAX_SAMPLES 0x8D57
1063 #define GL_INDEX 0x8222
1064 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
1065 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
1066 #define GL_FRAMEBUFFER_SRGB 0x8DB9
1067 #define GL_HALF_FLOAT 0x140B
1068 #define GL_MAP_READ_BIT 0x0001
1069 #define GL_MAP_WRITE_BIT 0x0002
1070 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
1071 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
1072 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
1073 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
1074 #define GL_COMPRESSED_RED_RGTC1 0x8DBB
1075 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
1076 #define GL_COMPRESSED_RG_RGTC2 0x8DBD
1077 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
1078 #define GL_RG 0x8227
1079 #define GL_RG_INTEGER 0x8228
1080 #define GL_R8 0x8229
1081 #define GL_R16 0x822A
1082 #define GL_RG8 0x822B
1083 #define GL_RG16 0x822C
1084 #define GL_R16F 0x822D
1085 #define GL_R32F 0x822E
1086 #define GL_RG16F 0x822F
1087 #define GL_RG32F 0x8230
1088 #define GL_R8I 0x8231
1089 #define GL_R8UI 0x8232
1090 #define GL_R16I 0x8233
1091 #define GL_R16UI 0x8234
1092 #define GL_R32I 0x8235
1093 #define GL_R32UI 0x8236
1094 #define GL_RG8I 0x8237
1095 #define GL_RG8UI 0x8238
1096 #define GL_RG16I 0x8239
1097 #define GL_RG16UI 0x823A
1098 #define GL_RG32I 0x823B
1099 #define GL_RG32UI 0x823C
1100 #define GL_VERTEX_ARRAY_BINDING 0x85B5
1101 #define GL_CLAMP_VERTEX_COLOR 0x891A
1102 #define GL_CLAMP_FRAGMENT_COLOR 0x891B
1103 #define GL_ALPHA_INTEGER 0x8D97
1104 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1105 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
1106 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
1107 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
1108 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
1109 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
1110 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
1111 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
1112 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1113 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
1114 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1115 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1116 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
1117 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
1118 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
1119 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1120 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
1121 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
1122 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
1123 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
1124 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
1125 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
1126 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
1127 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
1128 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
1129 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1130 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
1131 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
1132 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
1133 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
1134 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
1135 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
1136 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
1137 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
1138 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
1139 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
1140 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
1141 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
1142 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
1143 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
1144 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
1145 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
1146 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
1147 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
1148 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1149 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1150 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1151 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1152 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1153 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
1154 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
1155 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
1156 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
1157 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
1158 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
1159 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1160 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1161 typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
1162 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
1163 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
1164 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
1165 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
1166 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1167 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1168 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
1169 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
1170 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
1171 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
1172 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
1173 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1174 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1175 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1176 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1177 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1178 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
1179 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1180 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1181 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1182 typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1183 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1184 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
1185 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
1186 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
1187 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
1188 #ifdef GL_GLEXT_PROTOTYPES
1189 GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1190 GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
1191 GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
1192 GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
1193 GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
1194 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
1195 GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
1196 GLAPI void APIENTRY glEndTransformFeedback (void);
1197 GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1198 GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
1199 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1200 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1201 GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
1202 GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
1203 GLAPI void APIENTRY glEndConditionalRender (void);
1204 GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1205 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
1206 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
1207 GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
1208 GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
1209 GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
1210 GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
1211 GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
1212 GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
1213 GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
1214 GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1215 GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
1216 GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
1217 GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
1218 GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
1219 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
1220 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
1221 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
1222 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
1223 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
1224 GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
1225 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
1226 GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
1227 GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
1228 GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
1229 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
1230 GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
1231 GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
1232 GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
1233 GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1234 GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
1235 GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
1236 GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
1237 GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
1238 GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
1239 GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
1240 GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
1241 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
1242 GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
1243 GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
1244 GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1245 GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1246 GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
1247 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
1248 GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
1249 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
1250 GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
1251 GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1252 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
1253 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
1254 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
1255 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
1256 GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
1257 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
1258 GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1259 GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1260 GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1261 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1262 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1263 GLAPI void APIENTRY glGenerateMipmap (GLenum target);
1264 GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1265 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1266 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1267 GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1268 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
1269 GLAPI void APIENTRY glBindVertexArray (GLuint array);
1270 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
1271 GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
1272 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
1273 #endif
1274 #endif /* GL_VERSION_3_0 */
1276 #ifndef GL_VERSION_3_1
1277 #define GL_VERSION_3_1 1
1278 #define GL_SAMPLER_2D_RECT 0x8B63
1279 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
1280 #define GL_SAMPLER_BUFFER 0x8DC2
1281 #define GL_INT_SAMPLER_2D_RECT 0x8DCD
1282 #define GL_INT_SAMPLER_BUFFER 0x8DD0
1283 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
1284 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
1285 #define GL_TEXTURE_BUFFER 0x8C2A
1286 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
1287 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
1288 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
1289 #define GL_TEXTURE_RECTANGLE 0x84F5
1290 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
1291 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
1292 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
1293 #define GL_R8_SNORM 0x8F94
1294 #define GL_RG8_SNORM 0x8F95
1295 #define GL_RGB8_SNORM 0x8F96
1296 #define GL_RGBA8_SNORM 0x8F97
1297 #define GL_R16_SNORM 0x8F98
1298 #define GL_RG16_SNORM 0x8F99
1299 #define GL_RGB16_SNORM 0x8F9A
1300 #define GL_RGBA16_SNORM 0x8F9B
1301 #define GL_SIGNED_NORMALIZED 0x8F9C
1302 #define GL_PRIMITIVE_RESTART 0x8F9D
1303 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
1304 #define GL_COPY_READ_BUFFER 0x8F36
1305 #define GL_COPY_WRITE_BUFFER 0x8F37
1306 #define GL_UNIFORM_BUFFER 0x8A11
1307 #define GL_UNIFORM_BUFFER_BINDING 0x8A28
1308 #define GL_UNIFORM_BUFFER_START 0x8A29
1309 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
1310 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
1311 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
1312 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
1313 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
1314 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
1315 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
1316 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1317 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
1318 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1319 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1320 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
1321 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
1322 #define GL_UNIFORM_TYPE 0x8A37
1323 #define GL_UNIFORM_SIZE 0x8A38
1324 #define GL_UNIFORM_NAME_LENGTH 0x8A39
1325 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
1326 #define GL_UNIFORM_OFFSET 0x8A3B
1327 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
1328 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
1329 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
1330 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
1331 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
1332 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
1333 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
1334 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1335 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1336 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
1337 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1338 #define GL_INVALID_INDEX 0xFFFFFFFFu
1339 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1340 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1341 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
1342 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
1343 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1344 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1345 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1346 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1347 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
1348 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1349 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1350 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1351 #ifdef GL_GLEXT_PROTOTYPES
1352 GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1353 GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1354 GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
1355 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
1356 GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1357 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1358 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1359 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1360 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
1361 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1362 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1363 GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1364 #endif
1365 #endif /* GL_VERSION_3_1 */
1367 #ifndef GL_VERSION_3_2
1368 #define GL_VERSION_3_2 1
1369 typedef struct __GLsync *GLsync;
1370 #ifndef GLEXT_64_TYPES_DEFINED
1371 /* This code block is duplicated in glxext.h, so must be protected */
1372 #define GLEXT_64_TYPES_DEFINED
1373 /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
1374 /* (as used in the GL_EXT_timer_query extension). */
1375 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
1376 #include <inttypes.h>
1377 #elif defined(__sun__) || defined(__digital__)
1378 #include <inttypes.h>
1379 #if defined(__STDC__)
1380 #if defined(__arch64__) || defined(_LP64)
1381 typedef long int int64_t;
1382 typedef unsigned long int uint64_t;
1383 #else
1384 typedef long long int int64_t;
1385 typedef unsigned long long int uint64_t;
1386 #endif /* __arch64__ */
1387 #endif /* __STDC__ */
1388 #elif defined( __VMS ) || defined(__sgi)
1389 #include <inttypes.h>
1390 #elif defined(__SCO__) || defined(__USLC__)
1391 #include <stdint.h>
1392 #elif defined(__UNIXOS2__) || defined(__SOL64__)
1393 typedef long int int32_t;
1394 typedef long long int int64_t;
1395 typedef unsigned long long int uint64_t;
1396 #elif defined(_WIN32) && defined(__GNUC__)
1397 #include <stdint.h>
1398 #elif defined(_WIN32)
1399 typedef __int32 int32_t;
1400 typedef __int64 int64_t;
1401 typedef unsigned __int64 uint64_t;
1402 #else
1403 /* Fallback if nothing above works */
1404 #include <inttypes.h>
1405 #endif
1406 #endif
1407 typedef uint64_t GLuint64;
1408 typedef int64_t GLint64;
1409 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
1410 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1411 #define GL_LINES_ADJACENCY 0x000A
1412 #define GL_LINE_STRIP_ADJACENCY 0x000B
1413 #define GL_TRIANGLES_ADJACENCY 0x000C
1414 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
1415 #define GL_PROGRAM_POINT_SIZE 0x8642
1416 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
1417 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
1418 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
1419 #define GL_GEOMETRY_SHADER 0x8DD9
1420 #define GL_GEOMETRY_VERTICES_OUT 0x8916
1421 #define GL_GEOMETRY_INPUT_TYPE 0x8917
1422 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
1423 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
1424 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
1425 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
1426 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
1427 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
1428 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
1429 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
1430 #define GL_CONTEXT_PROFILE_MASK 0x9126
1431 #define GL_DEPTH_CLAMP 0x864F
1432 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
1433 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
1434 #define GL_LAST_VERTEX_CONVENTION 0x8E4E
1435 #define GL_PROVOKING_VERTEX 0x8E4F
1436 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
1437 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
1438 #define GL_OBJECT_TYPE 0x9112
1439 #define GL_SYNC_CONDITION 0x9113
1440 #define GL_SYNC_STATUS 0x9114
1441 #define GL_SYNC_FLAGS 0x9115
1442 #define GL_SYNC_FENCE 0x9116
1443 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
1444 #define GL_UNSIGNALED 0x9118
1445 #define GL_SIGNALED 0x9119
1446 #define GL_ALREADY_SIGNALED 0x911A
1447 #define GL_TIMEOUT_EXPIRED 0x911B
1448 #define GL_CONDITION_SATISFIED 0x911C
1449 #define GL_WAIT_FAILED 0x911D
1450 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
1451 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
1452 #define GL_SAMPLE_POSITION 0x8E50
1453 #define GL_SAMPLE_MASK 0x8E51
1454 #define GL_SAMPLE_MASK_VALUE 0x8E52
1455 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
1456 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
1457 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
1458 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
1459 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
1460 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
1461 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
1462 #define GL_TEXTURE_SAMPLES 0x9106
1463 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
1464 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
1465 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
1466 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
1467 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
1468 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
1469 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
1470 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
1471 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
1472 #define GL_MAX_INTEGER_SAMPLES 0x9110
1473 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1474 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1475 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1476 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1477 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
1478 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
1479 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
1480 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
1481 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1482 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1483 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
1484 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1485 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
1486 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
1487 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1488 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1489 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1490 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
1491 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
1492 #ifdef GL_GLEXT_PROTOTYPES
1493 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1494 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1495 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1496 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1497 GLAPI void APIENTRY glProvokingVertex (GLenum mode);
1498 GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
1499 GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
1500 GLAPI void APIENTRY glDeleteSync (GLsync sync);
1501 GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1502 GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1503 GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
1504 GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1505 GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
1506 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
1507 GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
1508 GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1509 GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1510 GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
1511 GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
1512 #endif
1513 #endif /* GL_VERSION_3_2 */
1515 #ifndef GL_VERSION_3_3
1516 #define GL_VERSION_3_3 1
1517 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
1518 #define GL_SRC1_COLOR 0x88F9
1519 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
1520 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
1521 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
1522 #define GL_ANY_SAMPLES_PASSED 0x8C2F
1523 #define GL_SAMPLER_BINDING 0x8919
1524 #define GL_RGB10_A2UI 0x906F
1525 #define GL_TEXTURE_SWIZZLE_R 0x8E42
1526 #define GL_TEXTURE_SWIZZLE_G 0x8E43
1527 #define GL_TEXTURE_SWIZZLE_B 0x8E44
1528 #define GL_TEXTURE_SWIZZLE_A 0x8E45
1529 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
1530 #define GL_TIME_ELAPSED 0x88BF
1531 #define GL_TIMESTAMP 0x8E28
1532 #define GL_INT_2_10_10_10_REV 0x8D9F
1533 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1534 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
1535 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
1536 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
1537 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
1538 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
1539 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
1540 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1541 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
1542 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
1543 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1544 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
1545 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1546 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1547 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
1548 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
1549 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
1550 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
1551 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
1552 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
1553 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1554 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1555 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1556 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1557 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1558 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1559 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1560 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1561 typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
1562 typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
1563 typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
1564 typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
1565 typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
1566 typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
1567 typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
1568 typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
1569 typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
1570 typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
1571 typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
1572 typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
1573 typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
1574 typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
1575 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
1576 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1577 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
1578 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1579 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
1580 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1581 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
1582 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1583 typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
1584 typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
1585 typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
1586 typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1587 typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
1588 typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
1589 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
1590 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1591 #ifdef GL_GLEXT_PROTOTYPES
1592 GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1593 GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
1594 GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
1595 GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
1596 GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
1597 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
1598 GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
1599 GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
1600 GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
1601 GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
1602 GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
1603 GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
1604 GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
1605 GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
1606 GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
1607 GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
1608 GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
1609 GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
1610 GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
1611 GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
1612 GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1613 GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1614 GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1615 GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1616 GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1617 GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1618 GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1619 GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1620 GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
1621 GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
1622 GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
1623 GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
1624 GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
1625 GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
1626 GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
1627 GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
1628 GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
1629 GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
1630 GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
1631 GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
1632 GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
1633 GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
1634 GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
1635 GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
1636 GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
1637 GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
1638 GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
1639 GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
1640 GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
1641 GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
1642 GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
1643 GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
1644 GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
1645 GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
1646 GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
1647 GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
1648 GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
1649 GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
1650 #endif
1651 #endif /* GL_VERSION_3_3 */
1653 #ifndef GL_VERSION_4_0
1654 #define GL_VERSION_4_0 1
1655 #define GL_SAMPLE_SHADING 0x8C36
1656 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
1657 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
1658 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
1659 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
1660 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
1661 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
1662 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
1663 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
1664 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
1665 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
1666 #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
1667 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
1668 #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
1669 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
1670 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
1671 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
1672 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
1673 #define GL_MAX_VERTEX_STREAMS 0x8E71
1674 #define GL_DOUBLE_VEC2 0x8FFC
1675 #define GL_DOUBLE_VEC3 0x8FFD
1676 #define GL_DOUBLE_VEC4 0x8FFE
1677 #define GL_DOUBLE_MAT2 0x8F46
1678 #define GL_DOUBLE_MAT3 0x8F47
1679 #define GL_DOUBLE_MAT4 0x8F48
1680 #define GL_DOUBLE_MAT2x3 0x8F49
1681 #define GL_DOUBLE_MAT2x4 0x8F4A
1682 #define GL_DOUBLE_MAT3x2 0x8F4B
1683 #define GL_DOUBLE_MAT3x4 0x8F4C
1684 #define GL_DOUBLE_MAT4x2 0x8F4D
1685 #define GL_DOUBLE_MAT4x3 0x8F4E
1686 #define GL_ACTIVE_SUBROUTINES 0x8DE5
1687 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
1688 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
1689 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
1690 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
1691 #define GL_MAX_SUBROUTINES 0x8DE7
1692 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
1693 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
1694 #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
1695 #define GL_PATCHES 0x000E
1696 #define GL_PATCH_VERTICES 0x8E72
1697 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
1698 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
1699 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
1700 #define GL_TESS_GEN_MODE 0x8E76
1701 #define GL_TESS_GEN_SPACING 0x8E77
1702 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
1703 #define GL_TESS_GEN_POINT_MODE 0x8E79
1704 #define GL_ISOLINES 0x8E7A
1705 #define GL_FRACTIONAL_ODD 0x8E7B
1706 #define GL_FRACTIONAL_EVEN 0x8E7C
1707 #define GL_MAX_PATCH_VERTICES 0x8E7D
1708 #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
1709 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
1710 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
1711 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
1712 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
1713 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
1714 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
1715 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
1716 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
1717 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
1718 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
1719 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
1720 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
1721 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
1722 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
1723 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
1724 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
1725 #define GL_TESS_EVALUATION_SHADER 0x8E87
1726 #define GL_TESS_CONTROL_SHADER 0x8E88
1727 #define GL_TRANSFORM_FEEDBACK 0x8E22
1728 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
1729 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
1730 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
1731 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
1732 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
1733 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
1734 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1735 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
1736 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1737 typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
1738 typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
1739 typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
1740 typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
1741 typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
1742 typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1743 typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1744 typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1745 typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1746 typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1747 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1748 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1749 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1750 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1751 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1752 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1753 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1754 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1755 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1756 typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
1757 typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1758 typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1759 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1760 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1761 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1762 typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
1763 typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
1764 typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1765 typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
1766 typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
1767 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
1768 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
1769 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
1770 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
1771 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
1772 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
1773 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
1774 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
1775 typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
1776 typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
1777 typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
1778 #ifdef GL_GLEXT_PROTOTYPES
1779 GLAPI void APIENTRY glMinSampleShading (GLfloat value);
1780 GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
1781 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1782 GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
1783 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1784 GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
1785 GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
1786 GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
1787 GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
1788 GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
1789 GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1790 GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
1791 GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
1792 GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
1793 GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
1794 GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1795 GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1796 GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1797 GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1798 GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1799 GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1800 GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1801 GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1802 GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1803 GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
1804 GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
1805 GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
1806 GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1807 GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1808 GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1809 GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
1810 GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
1811 GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1812 GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
1813 GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
1814 GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
1815 GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
1816 GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
1817 GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
1818 GLAPI void APIENTRY glPauseTransformFeedback (void);
1819 GLAPI void APIENTRY glResumeTransformFeedback (void);
1820 GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
1821 GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
1822 GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
1823 GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
1824 GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
1825 #endif
1826 #endif /* GL_VERSION_4_0 */
1828 #ifndef GL_VERSION_4_1
1829 #define GL_VERSION_4_1 1
1830 #define GL_FIXED 0x140C
1831 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
1832 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
1833 #define GL_LOW_FLOAT 0x8DF0
1834 #define GL_MEDIUM_FLOAT 0x8DF1
1835 #define GL_HIGH_FLOAT 0x8DF2
1836 #define GL_LOW_INT 0x8DF3
1837 #define GL_MEDIUM_INT 0x8DF4
1838 #define GL_HIGH_INT 0x8DF5
1839 #define GL_SHADER_COMPILER 0x8DFA
1840 #define GL_SHADER_BINARY_FORMATS 0x8DF8
1841 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
1842 #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
1843 #define GL_MAX_VARYING_VECTORS 0x8DFC
1844 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
1845 #define GL_RGB565 0x8D62
1846 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
1847 #define GL_PROGRAM_BINARY_LENGTH 0x8741
1848 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
1849 #define GL_PROGRAM_BINARY_FORMATS 0x87FF
1850 #define GL_VERTEX_SHADER_BIT 0x00000001
1851 #define GL_FRAGMENT_SHADER_BIT 0x00000002
1852 #define GL_GEOMETRY_SHADER_BIT 0x00000004
1853 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
1854 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
1855 #define GL_ALL_SHADER_BITS 0xFFFFFFFF
1856 #define GL_PROGRAM_SEPARABLE 0x8258
1857 #define GL_ACTIVE_PROGRAM 0x8259
1858 #define GL_PROGRAM_PIPELINE_BINDING 0x825A
1859 #define GL_MAX_VIEWPORTS 0x825B
1860 #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
1861 #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
1862 #define GL_LAYER_PROVOKING_VERTEX 0x825E
1863 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
1864 #define GL_UNDEFINED_VERTEX 0x8260
1865 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
1866 typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
1867 typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1868 typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
1869 typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
1870 typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1871 typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1872 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
1873 typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1874 typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
1875 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
1876 typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
1877 typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
1878 typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
1879 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
1880 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
1881 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
1882 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1883 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
1884 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1885 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
1886 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1887 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
1888 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1889 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1890 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1891 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1892 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1893 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1894 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1895 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1896 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1897 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1898 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1899 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1900 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1901 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
1902 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1903 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1904 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1905 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1906 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1907 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1908 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1909 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
1910 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1911 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1912 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1913 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1914 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1915 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1916 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1917 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1918 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1919 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1920 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1921 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1922 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1923 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1924 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1925 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1926 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1927 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1928 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1929 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1930 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1931 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
1932 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1933 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
1934 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
1935 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1936 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1937 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
1938 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
1939 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
1940 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
1941 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1942 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
1943 typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
1944 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
1945 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
1946 typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
1947 typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
1948 typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
1949 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
1950 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
1951 typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
1952 typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
1953 #ifdef GL_GLEXT_PROTOTYPES
1954 GLAPI void APIENTRY glReleaseShaderCompiler (void);
1955 GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
1956 GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1957 GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
1958 GLAPI void APIENTRY glClearDepthf (GLfloat d);
1959 GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1960 GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1961 GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
1962 GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
1963 GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
1964 GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
1965 GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
1966 GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
1967 GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
1968 GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
1969 GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
1970 GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
1971 GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1972 GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
1973 GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1974 GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
1975 GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1976 GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
1977 GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1978 GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
1979 GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1980 GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1981 GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1982 GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1983 GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1984 GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
1985 GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1986 GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1987 GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1988 GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1989 GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1990 GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
1991 GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1992 GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1993 GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1994 GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1995 GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1996 GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1997 GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1998 GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
1999 GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2000 GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
2001 GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2002 GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2003 GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2004 GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2005 GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2006 GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2007 GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2008 GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2009 GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2010 GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2011 GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2012 GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2013 GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2014 GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2015 GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2016 GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2017 GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2018 GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2019 GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2020 GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
2021 GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
2022 GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
2023 GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
2024 GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
2025 GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2026 GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
2027 GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
2028 GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
2029 GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
2030 GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
2031 GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
2032 GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
2033 GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
2034 GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
2035 GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
2036 GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
2037 GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
2038 GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
2039 GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
2040 GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
2041 GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
2042 #endif
2043 #endif /* GL_VERSION_4_1 */
2045 #ifndef GL_VERSION_4_2
2046 #define GL_VERSION_4_2 1
2047 #define GL_COPY_READ_BUFFER_BINDING 0x8F36
2048 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2049 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
2050 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
2051 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
2052 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2053 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
2054 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
2055 #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
2056 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
2057 #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
2058 #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
2059 #define GL_NUM_SAMPLE_COUNTS 0x9380
2060 #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
2061 #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
2062 #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
2063 #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
2064 #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
2065 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2066 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2067 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2068 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2069 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2070 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2071 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2072 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2073 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2074 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2075 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2076 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2077 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2078 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2079 #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
2080 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2081 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2082 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
2083 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
2084 #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
2085 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2086 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2087 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
2088 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2089 #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
2090 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2091 #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
2092 #define GL_UNIFORM_BARRIER_BIT 0x00000004
2093 #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
2094 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2095 #define GL_COMMAND_BARRIER_BIT 0x00000040
2096 #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
2097 #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
2098 #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
2099 #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
2100 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2101 #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
2102 #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
2103 #define GL_MAX_IMAGE_UNITS 0x8F38
2104 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2105 #define GL_IMAGE_BINDING_NAME 0x8F3A
2106 #define GL_IMAGE_BINDING_LEVEL 0x8F3B
2107 #define GL_IMAGE_BINDING_LAYERED 0x8F3C
2108 #define GL_IMAGE_BINDING_LAYER 0x8F3D
2109 #define GL_IMAGE_BINDING_ACCESS 0x8F3E
2110 #define GL_IMAGE_1D 0x904C
2111 #define GL_IMAGE_2D 0x904D
2112 #define GL_IMAGE_3D 0x904E
2113 #define GL_IMAGE_2D_RECT 0x904F
2114 #define GL_IMAGE_CUBE 0x9050
2115 #define GL_IMAGE_BUFFER 0x9051
2116 #define GL_IMAGE_1D_ARRAY 0x9052
2117 #define GL_IMAGE_2D_ARRAY 0x9053
2118 #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
2119 #define GL_IMAGE_2D_MULTISAMPLE 0x9055
2120 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
2121 #define GL_INT_IMAGE_1D 0x9057
2122 #define GL_INT_IMAGE_2D 0x9058
2123 #define GL_INT_IMAGE_3D 0x9059
2124 #define GL_INT_IMAGE_2D_RECT 0x905A
2125 #define GL_INT_IMAGE_CUBE 0x905B
2126 #define GL_INT_IMAGE_BUFFER 0x905C
2127 #define GL_INT_IMAGE_1D_ARRAY 0x905D
2128 #define GL_INT_IMAGE_2D_ARRAY 0x905E
2129 #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
2130 #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
2131 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2132 #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
2133 #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
2134 #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
2135 #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
2136 #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
2137 #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
2138 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
2139 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
2140 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2141 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2142 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2143 #define GL_MAX_IMAGE_SAMPLES 0x906D
2144 #define GL_IMAGE_BINDING_FORMAT 0x906E
2145 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2146 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2147 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2148 #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
2149 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2150 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2151 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
2152 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
2153 #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
2154 #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
2155 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
2156 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
2157 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
2158 #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
2159 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2160 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2161 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2162 typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2163 typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2164 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2165 typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
2166 typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2167 typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2168 typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2169 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
2170 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2171 #ifdef GL_GLEXT_PROTOTYPES
2172 GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2173 GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2174 GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2175 GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2176 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2177 GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2178 GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
2179 GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2180 GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2181 GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2182 GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
2183 GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2184 #endif
2185 #endif /* GL_VERSION_4_2 */
2187 #ifndef GL_VERSION_4_3
2188 #define GL_VERSION_4_3 1
2189 typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
2190 #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
2191 #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
2192 #define GL_COMPRESSED_RGB8_ETC2 0x9274
2193 #define GL_COMPRESSED_SRGB8_ETC2 0x9275
2194 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2195 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2196 #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
2197 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2198 #define GL_COMPRESSED_R11_EAC 0x9270
2199 #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
2200 #define GL_COMPRESSED_RG11_EAC 0x9272
2201 #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
2202 #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
2203 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2204 #define GL_MAX_ELEMENT_INDEX 0x8D6B
2205 #define GL_COMPUTE_SHADER 0x91B9
2206 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
2207 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2208 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
2209 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2210 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2211 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2212 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
2213 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2214 #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
2215 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
2216 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
2217 #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
2218 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2219 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2220 #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
2221 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2222 #define GL_COMPUTE_SHADER_BIT 0x00000020
2223 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
2224 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2225 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
2226 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
2227 #define GL_DEBUG_SOURCE_API 0x8246
2228 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
2229 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
2230 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
2231 #define GL_DEBUG_SOURCE_APPLICATION 0x824A
2232 #define GL_DEBUG_SOURCE_OTHER 0x824B
2233 #define GL_DEBUG_TYPE_ERROR 0x824C
2234 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2235 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
2236 #define GL_DEBUG_TYPE_PORTABILITY 0x824F
2237 #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
2238 #define GL_DEBUG_TYPE_OTHER 0x8251
2239 #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
2240 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
2241 #define GL_DEBUG_LOGGED_MESSAGES 0x9145
2242 #define GL_DEBUG_SEVERITY_HIGH 0x9146
2243 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
2244 #define GL_DEBUG_SEVERITY_LOW 0x9148
2245 #define GL_DEBUG_TYPE_MARKER 0x8268
2246 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
2247 #define GL_DEBUG_TYPE_POP_GROUP 0x826A
2248 #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
2249 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
2250 #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
2251 #define GL_BUFFER 0x82E0
2252 #define GL_SHADER 0x82E1
2253 #define GL_PROGRAM 0x82E2
2254 #define GL_QUERY 0x82E3
2255 #define GL_PROGRAM_PIPELINE 0x82E4
2256 #define GL_SAMPLER 0x82E6
2257 #define GL_MAX_LABEL_LENGTH 0x82E8
2258 #define GL_DEBUG_OUTPUT 0x92E0
2259 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
2260 #define GL_MAX_UNIFORM_LOCATIONS 0x826E
2261 #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
2262 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
2263 #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
2264 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
2265 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2266 #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
2267 #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
2268 #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
2269 #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
2270 #define GL_INTERNALFORMAT_SUPPORTED 0x826F
2271 #define GL_INTERNALFORMAT_PREFERRED 0x8270
2272 #define GL_INTERNALFORMAT_RED_SIZE 0x8271
2273 #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
2274 #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
2275 #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
2276 #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
2277 #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
2278 #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
2279 #define GL_INTERNALFORMAT_RED_TYPE 0x8278
2280 #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
2281 #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
2282 #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
2283 #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
2284 #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
2285 #define GL_MAX_WIDTH 0x827E
2286 #define GL_MAX_HEIGHT 0x827F
2287 #define GL_MAX_DEPTH 0x8280
2288 #define GL_MAX_LAYERS 0x8281
2289 #define GL_MAX_COMBINED_DIMENSIONS 0x8282
2290 #define GL_COLOR_COMPONENTS 0x8283
2291 #define GL_DEPTH_COMPONENTS 0x8284
2292 #define GL_STENCIL_COMPONENTS 0x8285
2293 #define GL_COLOR_RENDERABLE 0x8286
2294 #define GL_DEPTH_RENDERABLE 0x8287
2295 #define GL_STENCIL_RENDERABLE 0x8288
2296 #define GL_FRAMEBUFFER_RENDERABLE 0x8289
2297 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2298 #define GL_FRAMEBUFFER_BLEND 0x828B
2299 #define GL_READ_PIXELS 0x828C
2300 #define GL_READ_PIXELS_FORMAT 0x828D
2301 #define GL_READ_PIXELS_TYPE 0x828E
2302 #define GL_TEXTURE_IMAGE_FORMAT 0x828F
2303 #define GL_TEXTURE_IMAGE_TYPE 0x8290
2304 #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
2305 #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
2306 #define GL_MIPMAP 0x8293
2307 #define GL_MANUAL_GENERATE_MIPMAP 0x8294
2308 #define GL_AUTO_GENERATE_MIPMAP 0x8295
2309 #define GL_COLOR_ENCODING 0x8296
2310 #define GL_SRGB_READ 0x8297
2311 #define GL_SRGB_WRITE 0x8298
2312 #define GL_FILTER 0x829A
2313 #define GL_VERTEX_TEXTURE 0x829B
2314 #define GL_TESS_CONTROL_TEXTURE 0x829C
2315 #define GL_TESS_EVALUATION_TEXTURE 0x829D
2316 #define GL_GEOMETRY_TEXTURE 0x829E
2317 #define GL_FRAGMENT_TEXTURE 0x829F
2318 #define GL_COMPUTE_TEXTURE 0x82A0
2319 #define GL_TEXTURE_SHADOW 0x82A1
2320 #define GL_TEXTURE_GATHER 0x82A2
2321 #define GL_TEXTURE_GATHER_SHADOW 0x82A3
2322 #define GL_SHADER_IMAGE_LOAD 0x82A4
2323 #define GL_SHADER_IMAGE_STORE 0x82A5
2324 #define GL_SHADER_IMAGE_ATOMIC 0x82A6
2325 #define GL_IMAGE_TEXEL_SIZE 0x82A7
2326 #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
2327 #define GL_IMAGE_PIXEL_FORMAT 0x82A9
2328 #define GL_IMAGE_PIXEL_TYPE 0x82AA
2329 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2330 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2331 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2332 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2333 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2334 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2335 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
2336 #define GL_CLEAR_BUFFER 0x82B4
2337 #define GL_TEXTURE_VIEW 0x82B5
2338 #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
2339 #define GL_FULL_SUPPORT 0x82B7
2340 #define GL_CAVEAT_SUPPORT 0x82B8
2341 #define GL_IMAGE_CLASS_4_X_32 0x82B9
2342 #define GL_IMAGE_CLASS_2_X_32 0x82BA
2343 #define GL_IMAGE_CLASS_1_X_32 0x82BB
2344 #define GL_IMAGE_CLASS_4_X_16 0x82BC
2345 #define GL_IMAGE_CLASS_2_X_16 0x82BD
2346 #define GL_IMAGE_CLASS_1_X_16 0x82BE
2347 #define GL_IMAGE_CLASS_4_X_8 0x82BF
2348 #define GL_IMAGE_CLASS_2_X_8 0x82C0
2349 #define GL_IMAGE_CLASS_1_X_8 0x82C1
2350 #define GL_IMAGE_CLASS_11_11_10 0x82C2
2351 #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
2352 #define GL_VIEW_CLASS_128_BITS 0x82C4
2353 #define GL_VIEW_CLASS_96_BITS 0x82C5
2354 #define GL_VIEW_CLASS_64_BITS 0x82C6
2355 #define GL_VIEW_CLASS_48_BITS 0x82C7
2356 #define GL_VIEW_CLASS_32_BITS 0x82C8
2357 #define GL_VIEW_CLASS_24_BITS 0x82C9
2358 #define GL_VIEW_CLASS_16_BITS 0x82CA
2359 #define GL_VIEW_CLASS_8_BITS 0x82CB
2360 #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
2361 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
2362 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
2363 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
2364 #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
2365 #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
2366 #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
2367 #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
2368 #define GL_UNIFORM 0x92E1
2369 #define GL_UNIFORM_BLOCK 0x92E2
2370 #define GL_PROGRAM_INPUT 0x92E3
2371 #define GL_PROGRAM_OUTPUT 0x92E4
2372 #define GL_BUFFER_VARIABLE 0x92E5
2373 #define GL_SHADER_STORAGE_BLOCK 0x92E6
2374 #define GL_VERTEX_SUBROUTINE 0x92E8
2375 #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
2376 #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
2377 #define GL_GEOMETRY_SUBROUTINE 0x92EB
2378 #define GL_FRAGMENT_SUBROUTINE 0x92EC
2379 #define GL_COMPUTE_SUBROUTINE 0x92ED
2380 #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
2381 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2382 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2383 #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
2384 #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
2385 #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
2386 #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
2387 #define GL_ACTIVE_RESOURCES 0x92F5
2388 #define GL_MAX_NAME_LENGTH 0x92F6
2389 #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
2390 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2391 #define GL_NAME_LENGTH 0x92F9
2392 #define GL_TYPE 0x92FA
2393 #define GL_ARRAY_SIZE 0x92FB
2394 #define GL_OFFSET 0x92FC
2395 #define GL_BLOCK_INDEX 0x92FD
2396 #define GL_ARRAY_STRIDE 0x92FE
2397 #define GL_MATRIX_STRIDE 0x92FF
2398 #define GL_IS_ROW_MAJOR 0x9300
2399 #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
2400 #define GL_BUFFER_BINDING 0x9302
2401 #define GL_BUFFER_DATA_SIZE 0x9303
2402 #define GL_NUM_ACTIVE_VARIABLES 0x9304
2403 #define GL_ACTIVE_VARIABLES 0x9305
2404 #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
2405 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2406 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
2407 #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
2408 #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
2409 #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
2410 #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
2411 #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
2412 #define GL_LOCATION 0x930E
2413 #define GL_LOCATION_INDEX 0x930F
2414 #define GL_IS_PER_PATCH 0x92E7
2415 #define GL_SHADER_STORAGE_BUFFER 0x90D2
2416 #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
2417 #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
2418 #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
2419 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
2420 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
2421 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
2422 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
2423 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
2424 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
2425 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
2426 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
2427 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
2428 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
2429 #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
2430 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
2431 #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
2432 #define GL_TEXTURE_BUFFER_OFFSET 0x919D
2433 #define GL_TEXTURE_BUFFER_SIZE 0x919E
2434 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
2435 #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
2436 #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
2437 #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
2438 #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
2439 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
2440 #define GL_VERTEX_ATTRIB_BINDING 0x82D4
2441 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
2442 #define GL_VERTEX_BINDING_DIVISOR 0x82D6
2443 #define GL_VERTEX_BINDING_OFFSET 0x82D7
2444 #define GL_VERTEX_BINDING_STRIDE 0x82D8
2445 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2446 #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
2447 #define GL_VERTEX_BINDING_BUFFER 0x8F4F
2448 #define GL_DISPLAY_LIST 0x82E7
2449 typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2450 typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2451 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2452 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
2453 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
2454 typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
2455 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2456 typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2457 typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2458 typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
2459 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2460 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
2461 typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2462 typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2463 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2464 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2465 typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2466 typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2467 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2468 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2469 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2470 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2471 typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2472 typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2473 typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2474 typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2475 typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2476 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2477 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2478 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2479 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2480 typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
2481 typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
2482 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2483 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2484 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
2485 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2486 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2487 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
2488 typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2489 typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2490 typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
2491 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2492 #ifdef GL_GLEXT_PROTOTYPES
2493 GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2494 GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2495 GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2496 GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
2497 GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
2498 GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
2499 GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
2500 GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2501 GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2502 GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
2503 GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
2504 GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
2505 GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2506 GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2507 GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2508 GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2509 GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2510 GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
2511 GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2512 GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2513 GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
2514 GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
2515 GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2516 GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2517 GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2518 GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2519 GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2520 GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2521 GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2522 GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2523 GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2524 GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
2525 GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
2526 GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2527 GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2528 GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
2529 GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2530 GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2531 GLAPI void APIENTRY glPopDebugGroup (void);
2532 GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2533 GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2534 GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
2535 GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2536 #endif
2537 #endif /* GL_VERSION_4_3 */
2539 #ifndef GL_VERSION_4_4
2540 #define GL_VERSION_4_4 1
2541 #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
2542 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2543 #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
2544 #define GL_MAP_PERSISTENT_BIT 0x0040
2545 #define GL_MAP_COHERENT_BIT 0x0080
2546 #define GL_DYNAMIC_STORAGE_BIT 0x0100
2547 #define GL_CLIENT_STORAGE_BIT 0x0200
2548 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
2549 #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
2550 #define GL_BUFFER_STORAGE_FLAGS 0x8220
2551 #define GL_CLEAR_TEXTURE 0x9365
2552 #define GL_LOCATION_COMPONENT 0x934A
2553 #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
2554 #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
2555 #define GL_QUERY_BUFFER 0x9192
2556 #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
2557 #define GL_QUERY_BUFFER_BINDING 0x9193
2558 #define GL_QUERY_RESULT_NO_WAIT 0x9194
2559 #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
2560 typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2561 typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2562 typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
2563 typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2564 typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2565 typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2566 typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
2567 typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2568 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2569 #ifdef GL_GLEXT_PROTOTYPES
2570 GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2571 GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2572 GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
2573 GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2574 GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2575 GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
2576 GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
2577 GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
2578 GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2579 #endif
2580 #endif /* GL_VERSION_4_4 */
2582 #ifndef GL_VERSION_4_5
2583 #define GL_VERSION_4_5 1
2584 #define GL_CONTEXT_LOST 0x0507
2585 #define GL_NEGATIVE_ONE_TO_ONE 0x935E
2586 #define GL_ZERO_TO_ONE 0x935F
2587 #define GL_CLIP_ORIGIN 0x935C
2588 #define GL_CLIP_DEPTH_MODE 0x935D
2589 #define GL_QUERY_WAIT_INVERTED 0x8E17
2590 #define GL_QUERY_NO_WAIT_INVERTED 0x8E18
2591 #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
2592 #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
2593 #define GL_MAX_CULL_DISTANCES 0x82F9
2594 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
2595 #define GL_TEXTURE_TARGET 0x1006
2596 #define GL_QUERY_TARGET 0x82EA
2597 #define GL_TEXTURE_BINDING 0x82EB
2598 #define GL_GUILTY_CONTEXT_RESET 0x8253
2599 #define GL_INNOCENT_CONTEXT_RESET 0x8254
2600 #define GL_UNKNOWN_CONTEXT_RESET 0x8255
2601 #define GL_RESET_NOTIFICATION_STRATEGY 0x8256
2602 #define GL_LOSE_CONTEXT_ON_RESET 0x8252
2603 #define GL_NO_RESET_NOTIFICATION 0x8261
2604 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2605 #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2606 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2607 typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
2608 typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
2609 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
2610 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size);
2611 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
2612 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2613 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2614 typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
2615 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizei size, const void *data, GLbitfield flags);
2616 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizei size, const void *data, GLenum usage);
2617 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizei size, const void *data);
2618 typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size);
2619 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2620 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void *data);
2621 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
2622 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access);
2623 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
2624 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizei length);
2625 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
2626 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
2627 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
2628 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizei size, void *data);
2629 typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
2630 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2631 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
2632 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2633 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2634 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
2635 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2636 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
2637 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2638 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2639 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2640 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2641 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2642 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil);
2643 typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2644 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
2645 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
2646 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2647 typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
2648 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2649 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2650 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
2651 typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
2652 typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
2653 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size);
2654 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2655 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2656 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2657 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2658 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2659 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2660 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2661 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
2662 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2663 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2664 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
2665 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2666 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2667 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2668 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
2669 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
2670 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
2671 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
2672 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
2673 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
2674 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
2675 typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
2676 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2677 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2678 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2679 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
2680 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
2681 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
2682 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
2683 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
2684 typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
2685 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2686 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2687 typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
2688 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2689 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2690 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2691 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2692 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2693 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2694 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2695 typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
2696 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2697 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2698 typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
2699 typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
2700 typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
2701 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2702 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2703 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2704 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2705 typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
2706 typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2707 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2708 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
2709 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2710 typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2711 typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2712 typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2713 typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2714 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2715 typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2716 typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2717 typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2718 typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2719 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
2720 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values);
2721 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values);
2722 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern);
2723 typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2724 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2725 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2726 typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2727 typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2728 typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
2729 #ifdef GL_GLEXT_PROTOTYPES
2730 GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
2731 GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
2732 GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
2733 GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size);
2734 GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
2735 GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2736 GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2737 GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
2738 GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizei size, const void *data, GLbitfield flags);
2739 GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizei size, const void *data, GLenum usage);
2740 GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizei size, const void *data);
2741 GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size);
2742 GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2743 GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void *data);
2744 GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
2745 GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access);
2746 GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
2747 GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizei length);
2748 GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
2749 GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
2750 GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
2751 GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizei size, void *data);
2752 GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
2753 GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2754 GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
2755 GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2756 GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2757 GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
2758 GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2759 GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
2760 GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2761 GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2762 GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2763 GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2764 GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2765 GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil);
2766 GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2767 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
2768 GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
2769 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2770 GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
2771 GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2772 GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2773 GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
2774 GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
2775 GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
2776 GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size);
2777 GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2778 GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2779 GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2780 GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2781 GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2782 GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2783 GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2784 GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
2785 GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2786 GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2787 GLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
2788 GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2789 GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2790 GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2791 GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
2792 GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
2793 GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
2794 GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
2795 GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
2796 GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
2797 GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
2798 GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
2799 GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2800 GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2801 GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2802 GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
2803 GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
2804 GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
2805 GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
2806 GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
2807 GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
2808 GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
2809 GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
2810 GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
2811 GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2812 GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2813 GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2814 GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2815 GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2816 GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2817 GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2818 GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
2819 GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2820 GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2821 GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
2822 GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
2823 GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
2824 GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2825 GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2826 GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2827 GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2828 GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
2829 GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2830 GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2831 GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
2832 GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2833 GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2834 GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2835 GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2836 GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2837 GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2838 GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2839 GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2840 GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2841 GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2842 GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values);
2843 GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values);
2844 GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values);
2845 GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern);
2846 GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2847 GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2848 GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2849 GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2850 GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2851 GLAPI void APIENTRY glTextureBarrier (void);
2852 #endif
2853 #endif /* GL_VERSION_4_5 */
2855 #ifndef GL_ARB_ES2_compatibility
2856 #define GL_ARB_ES2_compatibility 1
2857 #endif /* GL_ARB_ES2_compatibility */
2859 #ifndef GL_ARB_ES3_1_compatibility
2860 #define GL_ARB_ES3_1_compatibility 1
2861 #endif /* GL_ARB_ES3_1_compatibility */
2863 #ifndef GL_ARB_ES3_compatibility
2864 #define GL_ARB_ES3_compatibility 1
2865 #endif /* GL_ARB_ES3_compatibility */
2867 #ifndef GL_ARB_arrays_of_arrays
2868 #define GL_ARB_arrays_of_arrays 1
2869 #endif /* GL_ARB_arrays_of_arrays */
2871 #ifndef GL_ARB_base_instance
2872 #define GL_ARB_base_instance 1
2873 #endif /* GL_ARB_base_instance */
2875 #ifndef GL_ARB_bindless_texture
2876 #define GL_ARB_bindless_texture 1
2877 typedef uint64_t GLuint64EXT;
2878 #define GL_UNSIGNED_INT64_ARB 0x140F
2879 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
2880 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
2881 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2882 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2883 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2884 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
2885 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2886 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
2887 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
2888 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
2889 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2890 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2891 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
2892 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
2893 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
2894 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
2895 #ifdef GL_GLEXT_PROTOTYPES
2896 GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
2897 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
2898 GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
2899 GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
2900 GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2901 GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
2902 GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
2903 GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
2904 GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
2905 GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
2906 GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2907 GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
2908 GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
2909 GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
2910 GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
2911 GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
2912 #endif
2913 #endif /* GL_ARB_bindless_texture */
2915 #ifndef GL_ARB_blend_func_extended
2916 #define GL_ARB_blend_func_extended 1
2917 #endif /* GL_ARB_blend_func_extended */
2919 #ifndef GL_ARB_buffer_storage
2920 #define GL_ARB_buffer_storage 1
2921 #endif /* GL_ARB_buffer_storage */
2923 #ifndef GL_ARB_cl_event
2924 #define GL_ARB_cl_event 1
2925 struct _cl_context;
2926 struct _cl_event;
2927 #define GL_SYNC_CL_EVENT_ARB 0x8240
2928 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
2929 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2930 #ifdef GL_GLEXT_PROTOTYPES
2931 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2932 #endif
2933 #endif /* GL_ARB_cl_event */
2935 #ifndef GL_ARB_clear_buffer_object
2936 #define GL_ARB_clear_buffer_object 1
2937 #endif /* GL_ARB_clear_buffer_object */
2939 #ifndef GL_ARB_clear_texture
2940 #define GL_ARB_clear_texture 1
2941 #endif /* GL_ARB_clear_texture */
2943 #ifndef GL_ARB_clip_control
2944 #define GL_ARB_clip_control 1
2945 #endif /* GL_ARB_clip_control */
2947 #ifndef GL_ARB_color_buffer_float
2948 #define GL_ARB_color_buffer_float 1
2949 #define GL_RGBA_FLOAT_MODE_ARB 0x8820
2950 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
2951 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
2952 #define GL_CLAMP_READ_COLOR_ARB 0x891C
2953 #define GL_FIXED_ONLY_ARB 0x891D
2954 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
2955 #ifdef GL_GLEXT_PROTOTYPES
2956 GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
2957 #endif
2958 #endif /* GL_ARB_color_buffer_float */
2960 #ifndef GL_ARB_compatibility
2961 #define GL_ARB_compatibility 1
2962 #endif /* GL_ARB_compatibility */
2964 #ifndef GL_ARB_compressed_texture_pixel_storage
2965 #define GL_ARB_compressed_texture_pixel_storage 1
2966 #endif /* GL_ARB_compressed_texture_pixel_storage */
2968 #ifndef GL_ARB_compute_shader
2969 #define GL_ARB_compute_shader 1
2970 #endif /* GL_ARB_compute_shader */
2972 #ifndef GL_ARB_compute_variable_group_size
2973 #define GL_ARB_compute_variable_group_size 1
2974 #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
2975 #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
2976 #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
2977 #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
2978 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
2979 #ifdef GL_GLEXT_PROTOTYPES
2980 GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
2981 #endif
2982 #endif /* GL_ARB_compute_variable_group_size */
2984 #ifndef GL_ARB_conditional_render_inverted
2985 #define GL_ARB_conditional_render_inverted 1
2986 #endif /* GL_ARB_conditional_render_inverted */
2988 #ifndef GL_ARB_conservative_depth
2989 #define GL_ARB_conservative_depth 1
2990 #endif /* GL_ARB_conservative_depth */
2992 #ifndef GL_ARB_copy_buffer
2993 #define GL_ARB_copy_buffer 1
2994 #endif /* GL_ARB_copy_buffer */
2996 #ifndef GL_ARB_copy_image
2997 #define GL_ARB_copy_image 1
2998 #endif /* GL_ARB_copy_image */
3000 #ifndef GL_ARB_cull_distance
3001 #define GL_ARB_cull_distance 1
3002 #endif /* GL_ARB_cull_distance */
3004 #ifndef GL_ARB_debug_output
3005 #define GL_ARB_debug_output 1
3006 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
3007 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
3008 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
3009 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
3010 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
3011 #define GL_DEBUG_SOURCE_API_ARB 0x8246
3012 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
3013 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
3014 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
3015 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
3016 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
3017 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
3018 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
3019 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
3020 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
3021 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
3022 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
3023 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
3024 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
3025 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
3026 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
3027 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
3028 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
3029 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3030 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3031 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
3032 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3033 #ifdef GL_GLEXT_PROTOTYPES
3034 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3035 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3036 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
3037 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3038 #endif
3039 #endif /* GL_ARB_debug_output */
3041 #ifndef GL_ARB_depth_buffer_float
3042 #define GL_ARB_depth_buffer_float 1
3043 #endif /* GL_ARB_depth_buffer_float */
3045 #ifndef GL_ARB_depth_clamp
3046 #define GL_ARB_depth_clamp 1
3047 #endif /* GL_ARB_depth_clamp */
3049 #ifndef GL_ARB_depth_texture
3050 #define GL_ARB_depth_texture 1
3051 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
3052 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
3053 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
3054 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
3055 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
3056 #endif /* GL_ARB_depth_texture */
3058 #ifndef GL_ARB_derivative_control
3059 #define GL_ARB_derivative_control 1
3060 #endif /* GL_ARB_derivative_control */
3062 #ifndef GL_ARB_direct_state_access
3063 #define GL_ARB_direct_state_access 1
3064 #endif /* GL_ARB_direct_state_access */
3066 #ifndef GL_ARB_draw_buffers
3067 #define GL_ARB_draw_buffers 1
3068 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
3069 #define GL_DRAW_BUFFER0_ARB 0x8825
3070 #define GL_DRAW_BUFFER1_ARB 0x8826
3071 #define GL_DRAW_BUFFER2_ARB 0x8827
3072 #define GL_DRAW_BUFFER3_ARB 0x8828
3073 #define GL_DRAW_BUFFER4_ARB 0x8829
3074 #define GL_DRAW_BUFFER5_ARB 0x882A
3075 #define GL_DRAW_BUFFER6_ARB 0x882B
3076 #define GL_DRAW_BUFFER7_ARB 0x882C
3077 #define GL_DRAW_BUFFER8_ARB 0x882D
3078 #define GL_DRAW_BUFFER9_ARB 0x882E
3079 #define GL_DRAW_BUFFER10_ARB 0x882F
3080 #define GL_DRAW_BUFFER11_ARB 0x8830
3081 #define GL_DRAW_BUFFER12_ARB 0x8831
3082 #define GL_DRAW_BUFFER13_ARB 0x8832
3083 #define GL_DRAW_BUFFER14_ARB 0x8833
3084 #define GL_DRAW_BUFFER15_ARB 0x8834
3085 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
3086 #ifdef GL_GLEXT_PROTOTYPES
3087 GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
3088 #endif
3089 #endif /* GL_ARB_draw_buffers */
3091 #ifndef GL_ARB_draw_buffers_blend
3092 #define GL_ARB_draw_buffers_blend 1
3093 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
3094 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3095 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
3096 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3097 #ifdef GL_GLEXT_PROTOTYPES
3098 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
3099 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3100 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
3101 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3102 #endif
3103 #endif /* GL_ARB_draw_buffers_blend */
3105 #ifndef GL_ARB_draw_elements_base_vertex
3106 #define GL_ARB_draw_elements_base_vertex 1
3107 #endif /* GL_ARB_draw_elements_base_vertex */
3109 #ifndef GL_ARB_draw_indirect
3110 #define GL_ARB_draw_indirect 1
3111 #endif /* GL_ARB_draw_indirect */
3113 #ifndef GL_ARB_draw_instanced
3114 #define GL_ARB_draw_instanced 1
3115 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3116 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
3117 #ifdef GL_GLEXT_PROTOTYPES
3118 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3119 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
3120 #endif
3121 #endif /* GL_ARB_draw_instanced */
3123 #ifndef GL_ARB_enhanced_layouts
3124 #define GL_ARB_enhanced_layouts 1
3125 #endif /* GL_ARB_enhanced_layouts */
3127 #ifndef GL_ARB_explicit_attrib_location
3128 #define GL_ARB_explicit_attrib_location 1
3129 #endif /* GL_ARB_explicit_attrib_location */
3131 #ifndef GL_ARB_explicit_uniform_location
3132 #define GL_ARB_explicit_uniform_location 1
3133 #endif /* GL_ARB_explicit_uniform_location */
3135 #ifndef GL_ARB_fragment_coord_conventions
3136 #define GL_ARB_fragment_coord_conventions 1
3137 #endif /* GL_ARB_fragment_coord_conventions */
3139 #ifndef GL_ARB_fragment_layer_viewport
3140 #define GL_ARB_fragment_layer_viewport 1
3141 #endif /* GL_ARB_fragment_layer_viewport */
3143 #ifndef GL_ARB_fragment_program
3144 #define GL_ARB_fragment_program 1
3145 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
3146 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
3147 #define GL_PROGRAM_LENGTH_ARB 0x8627
3148 #define GL_PROGRAM_FORMAT_ARB 0x8876
3149 #define GL_PROGRAM_BINDING_ARB 0x8677
3150 #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
3151 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
3152 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
3153 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
3154 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
3155 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
3156 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
3157 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
3158 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
3159 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
3160 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
3161 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
3162 #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
3163 #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
3164 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
3165 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
3166 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
3167 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
3168 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
3169 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
3170 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
3171 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
3172 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
3173 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
3174 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
3175 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
3176 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
3177 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
3178 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
3179 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
3180 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
3181 #define GL_PROGRAM_STRING_ARB 0x8628
3182 #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
3183 #define GL_CURRENT_MATRIX_ARB 0x8641
3184 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
3185 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
3186 #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
3187 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
3188 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
3189 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
3190 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
3191 #define GL_MATRIX0_ARB 0x88C0
3192 #define GL_MATRIX1_ARB 0x88C1
3193 #define GL_MATRIX2_ARB 0x88C2
3194 #define GL_MATRIX3_ARB 0x88C3
3195 #define GL_MATRIX4_ARB 0x88C4
3196 #define GL_MATRIX5_ARB 0x88C5
3197 #define GL_MATRIX6_ARB 0x88C6
3198 #define GL_MATRIX7_ARB 0x88C7
3199 #define GL_MATRIX8_ARB 0x88C8
3200 #define GL_MATRIX9_ARB 0x88C9
3201 #define GL_MATRIX10_ARB 0x88CA
3202 #define GL_MATRIX11_ARB 0x88CB
3203 #define GL_MATRIX12_ARB 0x88CC
3204 #define GL_MATRIX13_ARB 0x88CD
3205 #define GL_MATRIX14_ARB 0x88CE
3206 #define GL_MATRIX15_ARB 0x88CF
3207 #define GL_MATRIX16_ARB 0x88D0
3208 #define GL_MATRIX17_ARB 0x88D1
3209 #define GL_MATRIX18_ARB 0x88D2
3210 #define GL_MATRIX19_ARB 0x88D3
3211 #define GL_MATRIX20_ARB 0x88D4
3212 #define GL_MATRIX21_ARB 0x88D5
3213 #define GL_MATRIX22_ARB 0x88D6
3214 #define GL_MATRIX23_ARB 0x88D7
3215 #define GL_MATRIX24_ARB 0x88D8
3216 #define GL_MATRIX25_ARB 0x88D9
3217 #define GL_MATRIX26_ARB 0x88DA
3218 #define GL_MATRIX27_ARB 0x88DB
3219 #define GL_MATRIX28_ARB 0x88DC
3220 #define GL_MATRIX29_ARB 0x88DD
3221 #define GL_MATRIX30_ARB 0x88DE
3222 #define GL_MATRIX31_ARB 0x88DF
3223 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
3224 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
3225 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
3226 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
3227 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3228 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3229 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3230 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3231 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3232 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3233 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3234 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3235 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3236 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3237 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3238 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3239 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3240 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
3241 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
3242 #ifdef GL_GLEXT_PROTOTYPES
3243 GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
3244 GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
3245 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
3246 GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
3247 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3248 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3249 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3250 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3251 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3252 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3253 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3254 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3255 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3256 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3257 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3258 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3259 GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
3260 GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
3261 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
3262 #endif
3263 #endif /* GL_ARB_fragment_program */
3265 #ifndef GL_ARB_fragment_program_shadow
3266 #define GL_ARB_fragment_program_shadow 1
3267 #endif /* GL_ARB_fragment_program_shadow */
3269 #ifndef GL_ARB_fragment_shader
3270 #define GL_ARB_fragment_shader 1
3271 #define GL_FRAGMENT_SHADER_ARB 0x8B30
3272 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
3273 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
3274 #endif /* GL_ARB_fragment_shader */
3276 #ifndef GL_ARB_framebuffer_no_attachments
3277 #define GL_ARB_framebuffer_no_attachments 1
3278 #endif /* GL_ARB_framebuffer_no_attachments */
3280 #ifndef GL_ARB_framebuffer_object
3281 #define GL_ARB_framebuffer_object 1
3282 #endif /* GL_ARB_framebuffer_object */
3284 #ifndef GL_ARB_framebuffer_sRGB
3285 #define GL_ARB_framebuffer_sRGB 1
3286 #endif /* GL_ARB_framebuffer_sRGB */
3288 #ifndef GL_ARB_geometry_shader4
3289 #define GL_ARB_geometry_shader4 1
3290 #define GL_LINES_ADJACENCY_ARB 0x000A
3291 #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
3292 #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
3293 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
3294 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
3295 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
3296 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
3297 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
3298 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
3299 #define GL_GEOMETRY_SHADER_ARB 0x8DD9
3300 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
3301 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
3302 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
3303 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
3304 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
3305 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
3306 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
3307 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
3308 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
3309 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
3310 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3311 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3312 #ifdef GL_GLEXT_PROTOTYPES
3313 GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
3314 GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
3315 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3316 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3317 #endif
3318 #endif /* GL_ARB_geometry_shader4 */
3320 #ifndef GL_ARB_get_program_binary
3321 #define GL_ARB_get_program_binary 1
3322 #endif /* GL_ARB_get_program_binary */
3324 #ifndef GL_ARB_get_texture_sub_image
3325 #define GL_ARB_get_texture_sub_image 1
3326 #endif /* GL_ARB_get_texture_sub_image */
3328 #ifndef GL_ARB_gpu_shader5
3329 #define GL_ARB_gpu_shader5 1
3330 #endif /* GL_ARB_gpu_shader5 */
3332 #ifndef GL_ARB_gpu_shader_fp64
3333 #define GL_ARB_gpu_shader_fp64 1
3334 #endif /* GL_ARB_gpu_shader_fp64 */
3336 #ifndef GL_ARB_half_float_pixel
3337 #define GL_ARB_half_float_pixel 1
3338 typedef unsigned short GLhalfARB;
3339 #define GL_HALF_FLOAT_ARB 0x140B
3340 #endif /* GL_ARB_half_float_pixel */
3342 #ifndef GL_ARB_half_float_vertex
3343 #define GL_ARB_half_float_vertex 1
3344 #endif /* GL_ARB_half_float_vertex */
3346 #ifndef GL_ARB_imaging
3347 #define GL_ARB_imaging 1
3348 #define GL_BLEND_COLOR 0x8005
3349 #define GL_BLEND_EQUATION 0x8009
3350 #define GL_CONVOLUTION_1D 0x8010
3351 #define GL_CONVOLUTION_2D 0x8011
3352 #define GL_SEPARABLE_2D 0x8012
3353 #define GL_CONVOLUTION_BORDER_MODE 0x8013
3354 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
3355 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
3356 #define GL_REDUCE 0x8016
3357 #define GL_CONVOLUTION_FORMAT 0x8017
3358 #define GL_CONVOLUTION_WIDTH 0x8018
3359 #define GL_CONVOLUTION_HEIGHT 0x8019
3360 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
3361 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
3362 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
3363 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
3364 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
3365 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
3366 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
3367 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
3368 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
3369 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
3370 #define GL_HISTOGRAM 0x8024
3371 #define GL_PROXY_HISTOGRAM 0x8025
3372 #define GL_HISTOGRAM_WIDTH 0x8026
3373 #define GL_HISTOGRAM_FORMAT 0x8027
3374 #define GL_HISTOGRAM_RED_SIZE 0x8028
3375 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
3376 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
3377 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
3378 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
3379 #define GL_HISTOGRAM_SINK 0x802D
3380 #define GL_MINMAX 0x802E
3381 #define GL_MINMAX_FORMAT 0x802F
3382 #define GL_MINMAX_SINK 0x8030
3383 #define GL_TABLE_TOO_LARGE 0x8031
3384 #define GL_COLOR_MATRIX 0x80B1
3385 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
3386 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
3387 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
3388 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
3389 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
3390 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
3391 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
3392 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
3393 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
3394 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
3395 #define GL_COLOR_TABLE 0x80D0
3396 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
3397 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
3398 #define GL_PROXY_COLOR_TABLE 0x80D3
3399 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
3400 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
3401 #define GL_COLOR_TABLE_SCALE 0x80D6
3402 #define GL_COLOR_TABLE_BIAS 0x80D7
3403 #define GL_COLOR_TABLE_FORMAT 0x80D8
3404 #define GL_COLOR_TABLE_WIDTH 0x80D9
3405 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
3406 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
3407 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
3408 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
3409 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
3410 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
3411 #define GL_CONSTANT_BORDER 0x8151
3412 #define GL_REPLICATE_BORDER 0x8153
3413 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
3414 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3415 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3416 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3417 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3418 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
3419 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3420 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3421 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3422 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3423 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3424 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3425 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
3426 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3427 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
3428 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3429 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3430 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3431 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
3432 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3433 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3434 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3435 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3436 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3437 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3438 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3439 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3440 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3441 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3442 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3443 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3444 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
3445 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
3446 #ifdef GL_GLEXT_PROTOTYPES
3447 GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3448 GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3449 GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
3450 GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3451 GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
3452 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
3453 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
3454 GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3455 GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3456 GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3457 GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3458 GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
3459 GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3460 GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
3461 GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
3462 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3463 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3464 GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
3465 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
3466 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
3467 GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3468 GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3469 GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3470 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
3471 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
3472 GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3473 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
3474 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
3475 GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3476 GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
3477 GLAPI void APIENTRY glResetHistogram (GLenum target);
3478 GLAPI void APIENTRY glResetMinmax (GLenum target);
3479 #endif
3480 #endif /* GL_ARB_imaging */
3482 #ifndef GL_ARB_indirect_parameters
3483 #define GL_ARB_indirect_parameters 1
3484 #define GL_PARAMETER_BUFFER_ARB 0x80EE
3485 #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
3486 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3487 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3488 #ifdef GL_GLEXT_PROTOTYPES
3489 GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3490 GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3491 #endif
3492 #endif /* GL_ARB_indirect_parameters */
3494 #ifndef GL_ARB_instanced_arrays
3495 #define GL_ARB_instanced_arrays 1
3496 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
3497 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
3498 #ifdef GL_GLEXT_PROTOTYPES
3499 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
3500 #endif
3501 #endif /* GL_ARB_instanced_arrays */
3503 #ifndef GL_ARB_internalformat_query
3504 #define GL_ARB_internalformat_query 1
3505 #endif /* GL_ARB_internalformat_query */
3507 #ifndef GL_ARB_internalformat_query2
3508 #define GL_ARB_internalformat_query2 1
3509 #define GL_SRGB_DECODE_ARB 0x8299
3510 #endif /* GL_ARB_internalformat_query2 */
3512 #ifndef GL_ARB_invalidate_subdata
3513 #define GL_ARB_invalidate_subdata 1
3514 #endif /* GL_ARB_invalidate_subdata */
3516 #ifndef GL_ARB_map_buffer_alignment
3517 #define GL_ARB_map_buffer_alignment 1
3518 #endif /* GL_ARB_map_buffer_alignment */
3520 #ifndef GL_ARB_map_buffer_range
3521 #define GL_ARB_map_buffer_range 1
3522 #endif /* GL_ARB_map_buffer_range */
3524 #ifndef GL_ARB_matrix_palette
3525 #define GL_ARB_matrix_palette 1
3526 #define GL_MATRIX_PALETTE_ARB 0x8840
3527 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
3528 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
3529 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
3530 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
3531 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
3532 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
3533 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
3534 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
3535 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
3536 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3537 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
3538 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
3539 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
3540 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
3541 #ifdef GL_GLEXT_PROTOTYPES
3542 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
3543 GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
3544 GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
3545 GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
3546 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
3547 #endif
3548 #endif /* GL_ARB_matrix_palette */
3550 #ifndef GL_ARB_multi_bind
3551 #define GL_ARB_multi_bind 1
3552 #endif /* GL_ARB_multi_bind */
3554 #ifndef GL_ARB_multi_draw_indirect
3555 #define GL_ARB_multi_draw_indirect 1
3556 #endif /* GL_ARB_multi_draw_indirect */
3558 #ifndef GL_ARB_multisample
3559 #define GL_ARB_multisample 1
3560 #define GL_MULTISAMPLE_ARB 0x809D
3561 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
3562 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
3563 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
3564 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
3565 #define GL_SAMPLES_ARB 0x80A9
3566 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
3567 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
3568 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
3569 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
3570 #ifdef GL_GLEXT_PROTOTYPES
3571 GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
3572 #endif
3573 #endif /* GL_ARB_multisample */
3575 #ifndef GL_ARB_multitexture
3576 #define GL_ARB_multitexture 1
3577 #define GL_TEXTURE0_ARB 0x84C0
3578 #define GL_TEXTURE1_ARB 0x84C1
3579 #define GL_TEXTURE2_ARB 0x84C2
3580 #define GL_TEXTURE3_ARB 0x84C3
3581 #define GL_TEXTURE4_ARB 0x84C4
3582 #define GL_TEXTURE5_ARB 0x84C5
3583 #define GL_TEXTURE6_ARB 0x84C6
3584 #define GL_TEXTURE7_ARB 0x84C7
3585 #define GL_TEXTURE8_ARB 0x84C8
3586 #define GL_TEXTURE9_ARB 0x84C9
3587 #define GL_TEXTURE10_ARB 0x84CA
3588 #define GL_TEXTURE11_ARB 0x84CB
3589 #define GL_TEXTURE12_ARB 0x84CC
3590 #define GL_TEXTURE13_ARB 0x84CD
3591 #define GL_TEXTURE14_ARB 0x84CE
3592 #define GL_TEXTURE15_ARB 0x84CF
3593 #define GL_TEXTURE16_ARB 0x84D0
3594 #define GL_TEXTURE17_ARB 0x84D1
3595 #define GL_TEXTURE18_ARB 0x84D2
3596 #define GL_TEXTURE19_ARB 0x84D3
3597 #define GL_TEXTURE20_ARB 0x84D4
3598 #define GL_TEXTURE21_ARB 0x84D5
3599 #define GL_TEXTURE22_ARB 0x84D6
3600 #define GL_TEXTURE23_ARB 0x84D7
3601 #define GL_TEXTURE24_ARB 0x84D8
3602 #define GL_TEXTURE25_ARB 0x84D9
3603 #define GL_TEXTURE26_ARB 0x84DA
3604 #define GL_TEXTURE27_ARB 0x84DB
3605 #define GL_TEXTURE28_ARB 0x84DC
3606 #define GL_TEXTURE29_ARB 0x84DD
3607 #define GL_TEXTURE30_ARB 0x84DE
3608 #define GL_TEXTURE31_ARB 0x84DF
3609 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
3610 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
3611 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
3612 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3613 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3614 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3615 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3616 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3617 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3618 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3619 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3620 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3621 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3622 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3623 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3624 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3625 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3626 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3627 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3628 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
3629 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
3630 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3631 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
3632 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3633 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
3634 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
3635 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
3636 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3637 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
3638 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3639 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
3640 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3641 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
3642 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3643 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
3644 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3645 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
3646 #ifdef GL_GLEXT_PROTOTYPES
3647 GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
3648 GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
3649 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
3650 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
3651 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
3652 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
3653 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
3654 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
3655 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
3656 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
3657 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
3658 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
3659 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
3660 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
3661 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
3662 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
3663 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
3664 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
3665 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3666 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
3667 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3668 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
3669 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
3670 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
3671 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
3672 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
3673 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3674 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
3675 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3676 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
3677 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
3678 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
3679 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3680 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
3681 #endif
3682 #endif /* GL_ARB_multitexture */
3684 #ifndef GL_ARB_occlusion_query
3685 #define GL_ARB_occlusion_query 1
3686 #define GL_QUERY_COUNTER_BITS_ARB 0x8864
3687 #define GL_CURRENT_QUERY_ARB 0x8865
3688 #define GL_QUERY_RESULT_ARB 0x8866
3689 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
3690 #define GL_SAMPLES_PASSED_ARB 0x8914
3691 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
3692 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
3693 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
3694 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
3695 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
3696 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3697 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
3698 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
3699 #ifdef GL_GLEXT_PROTOTYPES
3700 GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
3701 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
3702 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
3703 GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
3704 GLAPI void APIENTRY glEndQueryARB (GLenum target);
3705 GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
3706 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
3707 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
3708 #endif
3709 #endif /* GL_ARB_occlusion_query */
3711 #ifndef GL_ARB_occlusion_query2
3712 #define GL_ARB_occlusion_query2 1
3713 #endif /* GL_ARB_occlusion_query2 */
3715 #ifndef GL_ARB_pipeline_statistics_query
3716 #define GL_ARB_pipeline_statistics_query 1
3717 #define GL_VERTICES_SUBMITTED_ARB 0x82EE
3718 #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
3719 #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
3720 #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
3721 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
3722 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
3723 #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
3724 #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
3725 #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
3726 #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
3727 #endif /* GL_ARB_pipeline_statistics_query */
3729 #ifndef GL_ARB_pixel_buffer_object
3730 #define GL_ARB_pixel_buffer_object 1
3731 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
3732 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
3733 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
3734 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
3735 #endif /* GL_ARB_pixel_buffer_object */
3737 #ifndef GL_ARB_point_parameters
3738 #define GL_ARB_point_parameters 1
3739 #define GL_POINT_SIZE_MIN_ARB 0x8126
3740 #define GL_POINT_SIZE_MAX_ARB 0x8127
3741 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
3742 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
3743 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
3744 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
3745 #ifdef GL_GLEXT_PROTOTYPES
3746 GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
3747 GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
3748 #endif
3749 #endif /* GL_ARB_point_parameters */
3751 #ifndef GL_ARB_point_sprite
3752 #define GL_ARB_point_sprite 1
3753 #define GL_POINT_SPRITE_ARB 0x8861
3754 #define GL_COORD_REPLACE_ARB 0x8862
3755 #endif /* GL_ARB_point_sprite */
3757 #ifndef GL_ARB_program_interface_query
3758 #define GL_ARB_program_interface_query 1
3759 #endif /* GL_ARB_program_interface_query */
3761 #ifndef GL_ARB_provoking_vertex
3762 #define GL_ARB_provoking_vertex 1
3763 #endif /* GL_ARB_provoking_vertex */
3765 #ifndef GL_ARB_query_buffer_object
3766 #define GL_ARB_query_buffer_object 1
3767 #endif /* GL_ARB_query_buffer_object */
3769 #ifndef GL_ARB_robust_buffer_access_behavior
3770 #define GL_ARB_robust_buffer_access_behavior 1
3771 #endif /* GL_ARB_robust_buffer_access_behavior */
3773 #ifndef GL_ARB_robustness
3774 #define GL_ARB_robustness 1
3775 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
3776 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
3777 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
3778 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
3779 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
3780 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
3781 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
3782 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
3783 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3784 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3785 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
3786 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3787 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3788 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3789 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3790 typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3791 typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3792 typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3793 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
3794 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
3795 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
3796 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
3797 typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3798 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3799 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3800 typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3801 typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3802 #ifdef GL_GLEXT_PROTOTYPES
3803 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
3804 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3805 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3806 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
3807 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3808 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3809 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3810 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3811 GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3812 GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3813 GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3814 GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
3815 GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
3816 GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
3817 GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
3818 GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3819 GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3820 GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3821 GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3822 GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3823 #endif
3824 #endif /* GL_ARB_robustness */
3826 #ifndef GL_ARB_robustness_isolation
3827 #define GL_ARB_robustness_isolation 1
3828 #endif /* GL_ARB_robustness_isolation */
3830 #ifndef GL_ARB_sample_shading
3831 #define GL_ARB_sample_shading 1
3832 #define GL_SAMPLE_SHADING_ARB 0x8C36
3833 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
3834 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
3835 #ifdef GL_GLEXT_PROTOTYPES
3836 GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
3837 #endif
3838 #endif /* GL_ARB_sample_shading */
3840 #ifndef GL_ARB_sampler_objects
3841 #define GL_ARB_sampler_objects 1
3842 #endif /* GL_ARB_sampler_objects */
3844 #ifndef GL_ARB_seamless_cube_map
3845 #define GL_ARB_seamless_cube_map 1
3846 #endif /* GL_ARB_seamless_cube_map */
3848 #ifndef GL_ARB_seamless_cubemap_per_texture
3849 #define GL_ARB_seamless_cubemap_per_texture 1
3850 #endif /* GL_ARB_seamless_cubemap_per_texture */
3852 #ifndef GL_ARB_separate_shader_objects
3853 #define GL_ARB_separate_shader_objects 1
3854 #endif /* GL_ARB_separate_shader_objects */
3856 #ifndef GL_ARB_shader_atomic_counters
3857 #define GL_ARB_shader_atomic_counters 1
3858 #endif /* GL_ARB_shader_atomic_counters */
3860 #ifndef GL_ARB_shader_bit_encoding
3861 #define GL_ARB_shader_bit_encoding 1
3862 #endif /* GL_ARB_shader_bit_encoding */
3864 #ifndef GL_ARB_shader_draw_parameters
3865 #define GL_ARB_shader_draw_parameters 1
3866 #endif /* GL_ARB_shader_draw_parameters */
3868 #ifndef GL_ARB_shader_group_vote
3869 #define GL_ARB_shader_group_vote 1
3870 #endif /* GL_ARB_shader_group_vote */
3872 #ifndef GL_ARB_shader_image_load_store
3873 #define GL_ARB_shader_image_load_store 1
3874 #endif /* GL_ARB_shader_image_load_store */
3876 #ifndef GL_ARB_shader_image_size
3877 #define GL_ARB_shader_image_size 1
3878 #endif /* GL_ARB_shader_image_size */
3880 #ifndef GL_ARB_shader_objects
3881 #define GL_ARB_shader_objects 1
3882 #ifdef __APPLE__
3883 typedef void *GLhandleARB;
3884 #else
3885 typedef unsigned int GLhandleARB;
3886 #endif
3887 typedef char GLcharARB;
3888 #define GL_PROGRAM_OBJECT_ARB 0x8B40
3889 #define GL_SHADER_OBJECT_ARB 0x8B48
3890 #define GL_OBJECT_TYPE_ARB 0x8B4E
3891 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
3892 #define GL_FLOAT_VEC2_ARB 0x8B50
3893 #define GL_FLOAT_VEC3_ARB 0x8B51
3894 #define GL_FLOAT_VEC4_ARB 0x8B52
3895 #define GL_INT_VEC2_ARB 0x8B53
3896 #define GL_INT_VEC3_ARB 0x8B54
3897 #define GL_INT_VEC4_ARB 0x8B55
3898 #define GL_BOOL_ARB 0x8B56
3899 #define GL_BOOL_VEC2_ARB 0x8B57
3900 #define GL_BOOL_VEC3_ARB 0x8B58
3901 #define GL_BOOL_VEC4_ARB 0x8B59
3902 #define GL_FLOAT_MAT2_ARB 0x8B5A
3903 #define GL_FLOAT_MAT3_ARB 0x8B5B
3904 #define GL_FLOAT_MAT4_ARB 0x8B5C
3905 #define GL_SAMPLER_1D_ARB 0x8B5D
3906 #define GL_SAMPLER_2D_ARB 0x8B5E
3907 #define GL_SAMPLER_3D_ARB 0x8B5F
3908 #define GL_SAMPLER_CUBE_ARB 0x8B60
3909 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
3910 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
3911 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
3912 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
3913 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
3914 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
3915 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
3916 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
3917 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
3918 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
3919 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
3920 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
3921 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
3922 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
3923 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
3924 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
3925 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
3926 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
3927 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
3928 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
3929 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
3930 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
3931 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
3932 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
3933 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
3934 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
3935 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
3936 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
3937 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
3938 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
3939 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
3940 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
3941 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3942 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3943 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3944 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3945 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3946 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3947 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3948 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3949 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3950 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3951 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3952 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
3953 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
3954 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
3955 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
3956 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
3957 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
3958 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
3959 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
3960 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
3961 #ifdef GL_GLEXT_PROTOTYPES
3962 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
3963 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
3964 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
3965 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
3966 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
3967 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
3968 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
3969 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
3970 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
3971 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
3972 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
3973 GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
3974 GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
3975 GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
3976 GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
3977 GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
3978 GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
3979 GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
3980 GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
3981 GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
3982 GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
3983 GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
3984 GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
3985 GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
3986 GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
3987 GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
3988 GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
3989 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3990 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3991 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3992 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
3993 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
3994 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
3995 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
3996 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
3997 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
3998 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
3999 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
4000 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
4001 #endif
4002 #endif /* GL_ARB_shader_objects */
4004 #ifndef GL_ARB_shader_precision
4005 #define GL_ARB_shader_precision 1
4006 #endif /* GL_ARB_shader_precision */
4008 #ifndef GL_ARB_shader_stencil_export
4009 #define GL_ARB_shader_stencil_export 1
4010 #endif /* GL_ARB_shader_stencil_export */
4012 #ifndef GL_ARB_shader_storage_buffer_object
4013 #define GL_ARB_shader_storage_buffer_object 1
4014 #endif /* GL_ARB_shader_storage_buffer_object */
4016 #ifndef GL_ARB_shader_subroutine
4017 #define GL_ARB_shader_subroutine 1
4018 #endif /* GL_ARB_shader_subroutine */
4020 #ifndef GL_ARB_shader_texture_image_samples
4021 #define GL_ARB_shader_texture_image_samples 1
4022 #endif /* GL_ARB_shader_texture_image_samples */
4024 #ifndef GL_ARB_shader_texture_lod
4025 #define GL_ARB_shader_texture_lod 1
4026 #endif /* GL_ARB_shader_texture_lod */
4028 #ifndef GL_ARB_shading_language_100
4029 #define GL_ARB_shading_language_100 1
4030 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
4031 #endif /* GL_ARB_shading_language_100 */
4033 #ifndef GL_ARB_shading_language_420pack
4034 #define GL_ARB_shading_language_420pack 1
4035 #endif /* GL_ARB_shading_language_420pack */
4037 #ifndef GL_ARB_shading_language_include
4038 #define GL_ARB_shading_language_include 1
4039 #define GL_SHADER_INCLUDE_ARB 0x8DAE
4040 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
4041 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
4042 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4043 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4044 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4045 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4046 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4047 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4048 #ifdef GL_GLEXT_PROTOTYPES
4049 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4050 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
4051 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4052 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
4053 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4054 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4055 #endif
4056 #endif /* GL_ARB_shading_language_include */
4058 #ifndef GL_ARB_shading_language_packing
4059 #define GL_ARB_shading_language_packing 1
4060 #endif /* GL_ARB_shading_language_packing */
4062 #ifndef GL_ARB_shadow
4063 #define GL_ARB_shadow 1
4064 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
4065 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
4066 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
4067 #endif /* GL_ARB_shadow */
4069 #ifndef GL_ARB_shadow_ambient
4070 #define GL_ARB_shadow_ambient 1
4071 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
4072 #endif /* GL_ARB_shadow_ambient */
4074 #ifndef GL_ARB_sparse_buffer
4075 #define GL_ARB_sparse_buffer 1
4076 #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
4077 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
4078 typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4079 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4080 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4081 #ifdef GL_GLEXT_PROTOTYPES
4082 GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4083 GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4084 GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4085 #endif
4086 #endif /* GL_ARB_sparse_buffer */
4088 #ifndef GL_ARB_sparse_texture
4089 #define GL_ARB_sparse_texture 1
4090 #define GL_TEXTURE_SPARSE_ARB 0x91A6
4091 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
4092 #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
4093 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
4094 #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
4095 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
4096 #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
4097 #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
4098 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
4099 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
4100 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
4101 typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
4102 #ifdef GL_GLEXT_PROTOTYPES
4103 GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
4104 #endif
4105 #endif /* GL_ARB_sparse_texture */
4107 #ifndef GL_ARB_stencil_texturing
4108 #define GL_ARB_stencil_texturing 1
4109 #endif /* GL_ARB_stencil_texturing */
4111 #ifndef GL_ARB_sync
4112 #define GL_ARB_sync 1
4113 #endif /* GL_ARB_sync */
4115 #ifndef GL_ARB_tessellation_shader
4116 #define GL_ARB_tessellation_shader 1
4117 #endif /* GL_ARB_tessellation_shader */
4119 #ifndef GL_ARB_texture_barrier
4120 #define GL_ARB_texture_barrier 1
4121 #endif /* GL_ARB_texture_barrier */
4123 #ifndef GL_ARB_texture_border_clamp
4124 #define GL_ARB_texture_border_clamp 1
4125 #define GL_CLAMP_TO_BORDER_ARB 0x812D
4126 #endif /* GL_ARB_texture_border_clamp */
4128 #ifndef GL_ARB_texture_buffer_object
4129 #define GL_ARB_texture_buffer_object 1
4130 #define GL_TEXTURE_BUFFER_ARB 0x8C2A
4131 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
4132 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
4133 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
4134 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
4135 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
4136 #ifdef GL_GLEXT_PROTOTYPES
4137 GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
4138 #endif
4139 #endif /* GL_ARB_texture_buffer_object */
4141 #ifndef GL_ARB_texture_buffer_object_rgb32
4142 #define GL_ARB_texture_buffer_object_rgb32 1
4143 #endif /* GL_ARB_texture_buffer_object_rgb32 */
4145 #ifndef GL_ARB_texture_buffer_range
4146 #define GL_ARB_texture_buffer_range 1
4147 #endif /* GL_ARB_texture_buffer_range */
4149 #ifndef GL_ARB_texture_compression
4150 #define GL_ARB_texture_compression 1
4151 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
4152 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
4153 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
4154 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
4155 #define GL_COMPRESSED_RGB_ARB 0x84ED
4156 #define GL_COMPRESSED_RGBA_ARB 0x84EE
4157 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
4158 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
4159 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
4160 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
4161 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
4162 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4163 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4164 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4165 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
4166 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4167 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4168 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
4169 #ifdef GL_GLEXT_PROTOTYPES
4170 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4171 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4172 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4173 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
4174 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4175 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4176 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
4177 #endif
4178 #endif /* GL_ARB_texture_compression */
4180 #ifndef GL_ARB_texture_compression_bptc
4181 #define GL_ARB_texture_compression_bptc 1
4182 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
4183 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
4184 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
4185 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
4186 #endif /* GL_ARB_texture_compression_bptc */
4188 #ifndef GL_ARB_texture_compression_rgtc
4189 #define GL_ARB_texture_compression_rgtc 1
4190 #endif /* GL_ARB_texture_compression_rgtc */
4192 #ifndef GL_ARB_texture_cube_map
4193 #define GL_ARB_texture_cube_map 1
4194 #define GL_NORMAL_MAP_ARB 0x8511
4195 #define GL_REFLECTION_MAP_ARB 0x8512
4196 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
4197 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
4198 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
4199 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
4200 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
4201 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
4202 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
4203 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
4204 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
4205 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
4206 #endif /* GL_ARB_texture_cube_map */
4208 #ifndef GL_ARB_texture_cube_map_array
4209 #define GL_ARB_texture_cube_map_array 1
4210 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
4211 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
4212 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
4213 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
4214 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
4215 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
4216 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
4217 #endif /* GL_ARB_texture_cube_map_array */
4219 #ifndef GL_ARB_texture_env_add
4220 #define GL_ARB_texture_env_add 1
4221 #endif /* GL_ARB_texture_env_add */
4223 #ifndef GL_ARB_texture_env_combine
4224 #define GL_ARB_texture_env_combine 1
4225 #define GL_COMBINE_ARB 0x8570
4226 #define GL_COMBINE_RGB_ARB 0x8571
4227 #define GL_COMBINE_ALPHA_ARB 0x8572
4228 #define GL_SOURCE0_RGB_ARB 0x8580
4229 #define GL_SOURCE1_RGB_ARB 0x8581
4230 #define GL_SOURCE2_RGB_ARB 0x8582
4231 #define GL_SOURCE0_ALPHA_ARB 0x8588
4232 #define GL_SOURCE1_ALPHA_ARB 0x8589
4233 #define GL_SOURCE2_ALPHA_ARB 0x858A
4234 #define GL_OPERAND0_RGB_ARB 0x8590
4235 #define GL_OPERAND1_RGB_ARB 0x8591
4236 #define GL_OPERAND2_RGB_ARB 0x8592
4237 #define GL_OPERAND0_ALPHA_ARB 0x8598
4238 #define GL_OPERAND1_ALPHA_ARB 0x8599
4239 #define GL_OPERAND2_ALPHA_ARB 0x859A
4240 #define GL_RGB_SCALE_ARB 0x8573
4241 #define GL_ADD_SIGNED_ARB 0x8574
4242 #define GL_INTERPOLATE_ARB 0x8575
4243 #define GL_SUBTRACT_ARB 0x84E7
4244 #define GL_CONSTANT_ARB 0x8576
4245 #define GL_PRIMARY_COLOR_ARB 0x8577
4246 #define GL_PREVIOUS_ARB 0x8578
4247 #endif /* GL_ARB_texture_env_combine */
4249 #ifndef GL_ARB_texture_env_crossbar
4250 #define GL_ARB_texture_env_crossbar 1
4251 #endif /* GL_ARB_texture_env_crossbar */
4253 #ifndef GL_ARB_texture_env_dot3
4254 #define GL_ARB_texture_env_dot3 1
4255 #define GL_DOT3_RGB_ARB 0x86AE
4256 #define GL_DOT3_RGBA_ARB 0x86AF
4257 #endif /* GL_ARB_texture_env_dot3 */
4259 #ifndef GL_ARB_texture_float
4260 #define GL_ARB_texture_float 1
4261 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
4262 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
4263 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
4264 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
4265 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
4266 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
4267 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
4268 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
4269 #define GL_RGBA32F_ARB 0x8814
4270 #define GL_RGB32F_ARB 0x8815
4271 #define GL_ALPHA32F_ARB 0x8816
4272 #define GL_INTENSITY32F_ARB 0x8817
4273 #define GL_LUMINANCE32F_ARB 0x8818
4274 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
4275 #define GL_RGBA16F_ARB 0x881A
4276 #define GL_RGB16F_ARB 0x881B
4277 #define GL_ALPHA16F_ARB 0x881C
4278 #define GL_INTENSITY16F_ARB 0x881D
4279 #define GL_LUMINANCE16F_ARB 0x881E
4280 #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
4281 #endif /* GL_ARB_texture_float */
4283 #ifndef GL_ARB_texture_gather
4284 #define GL_ARB_texture_gather 1
4285 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
4286 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
4287 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
4288 #endif /* GL_ARB_texture_gather */
4290 #ifndef GL_ARB_texture_mirror_clamp_to_edge
4291 #define GL_ARB_texture_mirror_clamp_to_edge 1
4292 #endif /* GL_ARB_texture_mirror_clamp_to_edge */
4294 #ifndef GL_ARB_texture_mirrored_repeat
4295 #define GL_ARB_texture_mirrored_repeat 1
4296 #define GL_MIRRORED_REPEAT_ARB 0x8370
4297 #endif /* GL_ARB_texture_mirrored_repeat */
4299 #ifndef GL_ARB_texture_multisample
4300 #define GL_ARB_texture_multisample 1
4301 #endif /* GL_ARB_texture_multisample */
4303 #ifndef GL_ARB_texture_non_power_of_two
4304 #define GL_ARB_texture_non_power_of_two 1
4305 #endif /* GL_ARB_texture_non_power_of_two */
4307 #ifndef GL_ARB_texture_query_levels
4308 #define GL_ARB_texture_query_levels 1
4309 #endif /* GL_ARB_texture_query_levels */
4311 #ifndef GL_ARB_texture_query_lod
4312 #define GL_ARB_texture_query_lod 1
4313 #endif /* GL_ARB_texture_query_lod */
4315 #ifndef GL_ARB_texture_rectangle
4316 #define GL_ARB_texture_rectangle 1
4317 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
4318 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
4319 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
4320 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
4321 #endif /* GL_ARB_texture_rectangle */
4323 #ifndef GL_ARB_texture_rg
4324 #define GL_ARB_texture_rg 1
4325 #endif /* GL_ARB_texture_rg */
4327 #ifndef GL_ARB_texture_rgb10_a2ui
4328 #define GL_ARB_texture_rgb10_a2ui 1
4329 #endif /* GL_ARB_texture_rgb10_a2ui */
4331 #ifndef GL_ARB_texture_stencil8
4332 #define GL_ARB_texture_stencil8 1
4333 #endif /* GL_ARB_texture_stencil8 */
4335 #ifndef GL_ARB_texture_storage
4336 #define GL_ARB_texture_storage 1
4337 #endif /* GL_ARB_texture_storage */
4339 #ifndef GL_ARB_texture_storage_multisample
4340 #define GL_ARB_texture_storage_multisample 1
4341 #endif /* GL_ARB_texture_storage_multisample */
4343 #ifndef GL_ARB_texture_swizzle
4344 #define GL_ARB_texture_swizzle 1
4345 #endif /* GL_ARB_texture_swizzle */
4347 #ifndef GL_ARB_texture_view
4348 #define GL_ARB_texture_view 1
4349 #endif /* GL_ARB_texture_view */
4351 #ifndef GL_ARB_timer_query
4352 #define GL_ARB_timer_query 1
4353 #endif /* GL_ARB_timer_query */
4355 #ifndef GL_ARB_transform_feedback2
4356 #define GL_ARB_transform_feedback2 1
4357 #endif /* GL_ARB_transform_feedback2 */
4359 #ifndef GL_ARB_transform_feedback3
4360 #define GL_ARB_transform_feedback3 1
4361 #endif /* GL_ARB_transform_feedback3 */
4363 #ifndef GL_ARB_transform_feedback_instanced
4364 #define GL_ARB_transform_feedback_instanced 1
4365 #endif /* GL_ARB_transform_feedback_instanced */
4367 #ifndef GL_ARB_transform_feedback_overflow_query
4368 #define GL_ARB_transform_feedback_overflow_query 1
4369 #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
4370 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
4371 #endif /* GL_ARB_transform_feedback_overflow_query */
4373 #ifndef GL_ARB_transpose_matrix
4374 #define GL_ARB_transpose_matrix 1
4375 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
4376 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
4377 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
4378 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
4379 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4380 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4381 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4382 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4383 #ifdef GL_GLEXT_PROTOTYPES
4384 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
4385 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
4386 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
4387 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
4388 #endif
4389 #endif /* GL_ARB_transpose_matrix */
4391 #ifndef GL_ARB_uniform_buffer_object
4392 #define GL_ARB_uniform_buffer_object 1
4393 #endif /* GL_ARB_uniform_buffer_object */
4395 #ifndef GL_ARB_vertex_array_bgra
4396 #define GL_ARB_vertex_array_bgra 1
4397 #endif /* GL_ARB_vertex_array_bgra */
4399 #ifndef GL_ARB_vertex_array_object
4400 #define GL_ARB_vertex_array_object 1
4401 #endif /* GL_ARB_vertex_array_object */
4403 #ifndef GL_ARB_vertex_attrib_64bit
4404 #define GL_ARB_vertex_attrib_64bit 1
4405 #endif /* GL_ARB_vertex_attrib_64bit */
4407 #ifndef GL_ARB_vertex_attrib_binding
4408 #define GL_ARB_vertex_attrib_binding 1
4409 #endif /* GL_ARB_vertex_attrib_binding */
4411 #ifndef GL_ARB_vertex_blend
4412 #define GL_ARB_vertex_blend 1
4413 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
4414 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
4415 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
4416 #define GL_VERTEX_BLEND_ARB 0x86A7
4417 #define GL_CURRENT_WEIGHT_ARB 0x86A8
4418 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
4419 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
4420 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
4421 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
4422 #define GL_WEIGHT_ARRAY_ARB 0x86AD
4423 #define GL_MODELVIEW0_ARB 0x1700
4424 #define GL_MODELVIEW1_ARB 0x850A
4425 #define GL_MODELVIEW2_ARB 0x8722
4426 #define GL_MODELVIEW3_ARB 0x8723
4427 #define GL_MODELVIEW4_ARB 0x8724
4428 #define GL_MODELVIEW5_ARB 0x8725
4429 #define GL_MODELVIEW6_ARB 0x8726
4430 #define GL_MODELVIEW7_ARB 0x8727
4431 #define GL_MODELVIEW8_ARB 0x8728
4432 #define GL_MODELVIEW9_ARB 0x8729
4433 #define GL_MODELVIEW10_ARB 0x872A
4434 #define GL_MODELVIEW11_ARB 0x872B
4435 #define GL_MODELVIEW12_ARB 0x872C
4436 #define GL_MODELVIEW13_ARB 0x872D
4437 #define GL_MODELVIEW14_ARB 0x872E
4438 #define GL_MODELVIEW15_ARB 0x872F
4439 #define GL_MODELVIEW16_ARB 0x8730
4440 #define GL_MODELVIEW17_ARB 0x8731
4441 #define GL_MODELVIEW18_ARB 0x8732
4442 #define GL_MODELVIEW19_ARB 0x8733
4443 #define GL_MODELVIEW20_ARB 0x8734
4444 #define GL_MODELVIEW21_ARB 0x8735
4445 #define GL_MODELVIEW22_ARB 0x8736
4446 #define GL_MODELVIEW23_ARB 0x8737
4447 #define GL_MODELVIEW24_ARB 0x8738
4448 #define GL_MODELVIEW25_ARB 0x8739
4449 #define GL_MODELVIEW26_ARB 0x873A
4450 #define GL_MODELVIEW27_ARB 0x873B
4451 #define GL_MODELVIEW28_ARB 0x873C
4452 #define GL_MODELVIEW29_ARB 0x873D
4453 #define GL_MODELVIEW30_ARB 0x873E
4454 #define GL_MODELVIEW31_ARB 0x873F
4455 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
4456 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
4457 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
4458 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
4459 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
4460 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
4461 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
4462 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
4463 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
4464 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
4465 #ifdef GL_GLEXT_PROTOTYPES
4466 GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
4467 GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
4468 GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
4469 GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
4470 GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
4471 GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
4472 GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
4473 GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
4474 GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
4475 GLAPI void APIENTRY glVertexBlendARB (GLint count);
4476 #endif
4477 #endif /* GL_ARB_vertex_blend */
4479 #ifndef GL_ARB_vertex_buffer_object
4480 #define GL_ARB_vertex_buffer_object 1
4481 typedef ptrdiff_t GLsizeiptrARB;
4482 typedef ptrdiff_t GLintptrARB;
4483 #define GL_BUFFER_SIZE_ARB 0x8764
4484 #define GL_BUFFER_USAGE_ARB 0x8765
4485 #define GL_ARRAY_BUFFER_ARB 0x8892
4486 #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
4487 #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
4488 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
4489 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
4490 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
4491 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
4492 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
4493 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
4494 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
4495 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
4496 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
4497 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
4498 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
4499 #define GL_READ_ONLY_ARB 0x88B8
4500 #define GL_WRITE_ONLY_ARB 0x88B9
4501 #define GL_READ_WRITE_ARB 0x88BA
4502 #define GL_BUFFER_ACCESS_ARB 0x88BB
4503 #define GL_BUFFER_MAPPED_ARB 0x88BC
4504 #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
4505 #define GL_STREAM_DRAW_ARB 0x88E0
4506 #define GL_STREAM_READ_ARB 0x88E1
4507 #define GL_STREAM_COPY_ARB 0x88E2
4508 #define GL_STATIC_DRAW_ARB 0x88E4
4509 #define GL_STATIC_READ_ARB 0x88E5
4510 #define GL_STATIC_COPY_ARB 0x88E6
4511 #define GL_DYNAMIC_DRAW_ARB 0x88E8
4512 #define GL_DYNAMIC_READ_ARB 0x88E9
4513 #define GL_DYNAMIC_COPY_ARB 0x88EA
4514 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
4515 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
4516 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
4517 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
4518 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4519 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4520 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4521 typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
4522 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
4523 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
4524 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
4525 #ifdef GL_GLEXT_PROTOTYPES
4526 GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
4527 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
4528 GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
4529 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
4530 GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4531 GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4532 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4533 GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
4534 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
4535 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
4536 GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
4537 #endif
4538 #endif /* GL_ARB_vertex_buffer_object */
4540 #ifndef GL_ARB_vertex_program
4541 #define GL_ARB_vertex_program 1
4542 #define GL_COLOR_SUM_ARB 0x8458
4543 #define GL_VERTEX_PROGRAM_ARB 0x8620
4544 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
4545 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
4546 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
4547 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
4548 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
4549 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
4550 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
4551 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
4552 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
4553 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
4554 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
4555 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
4556 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
4557 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
4558 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
4559 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
4560 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
4561 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
4562 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
4563 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
4564 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
4565 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
4566 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
4567 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
4568 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
4569 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
4570 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4571 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
4572 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4573 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
4574 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
4575 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
4576 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
4577 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
4578 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
4579 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4580 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
4581 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
4582 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
4583 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
4584 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4585 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
4586 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4587 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
4588 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
4589 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4590 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
4591 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
4592 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
4593 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
4594 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4595 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4596 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4597 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
4598 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
4599 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
4600 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
4601 #ifdef GL_GLEXT_PROTOTYPES
4602 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
4603 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
4604 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
4605 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
4606 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
4607 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
4608 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
4609 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
4610 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
4611 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
4612 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
4613 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
4614 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4615 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
4616 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4617 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
4618 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
4619 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
4620 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
4621 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
4622 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
4623 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4624 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
4625 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
4626 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
4627 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
4628 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4629 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
4630 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4631 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
4632 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
4633 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4634 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
4635 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
4636 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
4637 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
4638 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4639 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
4640 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
4641 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
4642 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
4643 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
4644 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
4645 #endif
4646 #endif /* GL_ARB_vertex_program */
4648 #ifndef GL_ARB_vertex_shader
4649 #define GL_ARB_vertex_shader 1
4650 #define GL_VERTEX_SHADER_ARB 0x8B31
4651 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
4652 #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
4653 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
4654 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
4655 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
4656 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
4657 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4658 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4659 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4660 #ifdef GL_GLEXT_PROTOTYPES
4661 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4662 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4663 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
4664 #endif
4665 #endif /* GL_ARB_vertex_shader */
4667 #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
4668 #define GL_ARB_vertex_type_10f_11f_11f_rev 1
4669 #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
4671 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
4672 #define GL_ARB_vertex_type_2_10_10_10_rev 1
4673 #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
4675 #ifndef GL_ARB_viewport_array
4676 #define GL_ARB_viewport_array 1
4677 #endif /* GL_ARB_viewport_array */
4679 #ifndef GL_ARB_window_pos
4680 #define GL_ARB_window_pos 1
4681 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
4682 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
4683 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
4684 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
4685 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
4686 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
4687 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
4688 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
4689 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
4690 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
4691 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
4692 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
4693 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
4694 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
4695 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
4696 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
4697 #ifdef GL_GLEXT_PROTOTYPES
4698 GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
4699 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
4700 GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
4701 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
4702 GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
4703 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
4704 GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
4705 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
4706 GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
4707 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
4708 GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
4709 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
4710 GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
4711 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
4712 GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
4713 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
4714 #endif
4715 #endif /* GL_ARB_window_pos */
4717 #ifndef GL_KHR_blend_equation_advanced
4718 #define GL_KHR_blend_equation_advanced 1
4719 #define GL_MULTIPLY_KHR 0x9294
4720 #define GL_SCREEN_KHR 0x9295
4721 #define GL_OVERLAY_KHR 0x9296
4722 #define GL_DARKEN_KHR 0x9297
4723 #define GL_LIGHTEN_KHR 0x9298
4724 #define GL_COLORDODGE_KHR 0x9299
4725 #define GL_COLORBURN_KHR 0x929A
4726 #define GL_HARDLIGHT_KHR 0x929B
4727 #define GL_SOFTLIGHT_KHR 0x929C
4728 #define GL_DIFFERENCE_KHR 0x929E
4729 #define GL_EXCLUSION_KHR 0x92A0
4730 #define GL_HSL_HUE_KHR 0x92AD
4731 #define GL_HSL_SATURATION_KHR 0x92AE
4732 #define GL_HSL_COLOR_KHR 0x92AF
4733 #define GL_HSL_LUMINOSITY_KHR 0x92B0
4734 typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
4735 #ifdef GL_GLEXT_PROTOTYPES
4736 GLAPI void APIENTRY glBlendBarrierKHR (void);
4737 #endif
4738 #endif /* GL_KHR_blend_equation_advanced */
4740 #ifndef GL_KHR_blend_equation_advanced_coherent
4741 #define GL_KHR_blend_equation_advanced_coherent 1
4742 #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
4743 #endif /* GL_KHR_blend_equation_advanced_coherent */
4745 #ifndef GL_KHR_context_flush_control
4746 #define GL_KHR_context_flush_control 1
4747 #endif /* GL_KHR_context_flush_control */
4749 #ifndef GL_KHR_debug
4750 #define GL_KHR_debug 1
4751 #endif /* GL_KHR_debug */
4753 #ifndef GL_KHR_robust_buffer_access_behavior
4754 #define GL_KHR_robust_buffer_access_behavior 1
4755 #endif /* GL_KHR_robust_buffer_access_behavior */
4757 #ifndef GL_KHR_robustness
4758 #define GL_KHR_robustness 1
4759 #define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3
4760 #define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252
4761 #define GL_GUILTY_CONTEXT_RESET_KHR 0x8253
4762 #define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254
4763 #define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255
4764 #define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256
4765 #define GL_NO_RESET_NOTIFICATION_KHR 0x8261
4766 #define GL_CONTEXT_LOST_KHR 0x0507
4767 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void);
4768 typedef void (APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
4769 typedef void (APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
4770 typedef void (APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
4771 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
4772 #ifdef GL_GLEXT_PROTOTYPES
4773 GLAPI GLenum APIENTRY glGetGraphicsResetStatusKHR (void);
4774 GLAPI void APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
4775 GLAPI void APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
4776 GLAPI void APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params);
4777 GLAPI void APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
4778 #endif
4779 #endif /* GL_KHR_robustness */
4781 #ifndef GL_KHR_texture_compression_astc_hdr
4782 #define GL_KHR_texture_compression_astc_hdr 1
4783 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
4784 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
4785 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
4786 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
4787 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
4788 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
4789 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
4790 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
4791 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
4792 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
4793 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
4794 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
4795 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
4796 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
4797 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
4798 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
4799 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
4800 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
4801 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
4802 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
4803 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
4804 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
4805 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
4806 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
4807 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
4808 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
4809 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
4810 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
4811 #endif /* GL_KHR_texture_compression_astc_hdr */
4813 #ifndef GL_KHR_texture_compression_astc_ldr
4814 #define GL_KHR_texture_compression_astc_ldr 1
4815 #endif /* GL_KHR_texture_compression_astc_ldr */
4817 #ifndef GL_OES_byte_coordinates
4818 #define GL_OES_byte_coordinates 1
4819 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
4820 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
4821 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
4822 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
4823 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
4824 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
4825 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4826 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
4827 typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
4828 typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
4829 typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
4830 typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
4831 typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
4832 typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
4833 typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4834 typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
4835 typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y);
4836 typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
4837 typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
4838 typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
4839 typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
4840 typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
4841 #ifdef GL_GLEXT_PROTOTYPES
4842 GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
4843 GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
4844 GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
4845 GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
4846 GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
4847 GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
4848 GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4849 GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
4850 GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
4851 GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
4852 GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
4853 GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
4854 GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
4855 GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
4856 GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4857 GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
4858 GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y);
4859 GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
4860 GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z);
4861 GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
4862 GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
4863 GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
4864 #endif
4865 #endif /* GL_OES_byte_coordinates */
4867 #ifndef GL_OES_compressed_paletted_texture
4868 #define GL_OES_compressed_paletted_texture 1
4869 #define GL_PALETTE4_RGB8_OES 0x8B90
4870 #define GL_PALETTE4_RGBA8_OES 0x8B91
4871 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
4872 #define GL_PALETTE4_RGBA4_OES 0x8B93
4873 #define GL_PALETTE4_RGB5_A1_OES 0x8B94
4874 #define GL_PALETTE8_RGB8_OES 0x8B95
4875 #define GL_PALETTE8_RGBA8_OES 0x8B96
4876 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
4877 #define GL_PALETTE8_RGBA4_OES 0x8B98
4878 #define GL_PALETTE8_RGB5_A1_OES 0x8B99
4879 #endif /* GL_OES_compressed_paletted_texture */
4881 #ifndef GL_OES_fixed_point
4882 #define GL_OES_fixed_point 1
4883 typedef GLint GLfixed;
4884 #define GL_FIXED_OES 0x140C
4885 typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
4886 typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4887 typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
4888 typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
4889 typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4890 typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
4891 typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
4892 typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
4893 typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4894 typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
4895 typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
4896 typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4897 typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4898 typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
4899 typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
4900 typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
4901 typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
4902 typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
4903 typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
4904 typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
4905 typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
4906 typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
4907 typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
4908 typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
4909 typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4910 typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
4911 typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
4912 typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
4913 typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4914 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
4915 typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4916 typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4917 typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
4918 typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4919 typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
4920 typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4921 typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
4922 typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
4923 typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4924 typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4925 typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
4926 typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
4927 typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
4928 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4929 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
4930 typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
4931 typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
4932 typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
4933 typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
4934 typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
4935 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4936 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4937 typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
4938 typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
4939 typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
4940 typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
4941 typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
4942 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
4943 typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
4944 typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
4945 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
4946 typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
4947 typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
4948 typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
4949 typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
4950 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
4951 typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
4952 typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
4953 typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
4954 typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
4955 typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
4956 typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
4957 typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
4958 typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
4959 typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
4960 typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
4961 typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
4962 typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
4963 typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
4964 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
4965 typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
4966 typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
4967 typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4968 typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
4969 typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
4970 typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
4971 typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
4972 typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
4973 typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
4974 typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
4975 typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
4976 typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
4977 typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
4978 typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
4979 typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
4980 typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
4981 typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
4982 typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
4983 typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
4984 typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
4985 typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
4986 typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
4987 typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4988 typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
4989 #ifdef GL_GLEXT_PROTOTYPES
4990 GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
4991 GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4992 GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
4993 GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
4994 GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4995 GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
4996 GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
4997 GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
4998 GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4999 GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
5000 GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
5001 GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
5002 GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5003 GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
5004 GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
5005 GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
5006 GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
5007 GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
5008 GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
5009 GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
5010 GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
5011 GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
5012 GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5013 GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
5014 GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5015 GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
5016 GLAPI void APIENTRY glPointSizexOES (GLfixed size);
5017 GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
5018 GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
5019 GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
5020 GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
5021 GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
5022 GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
5023 GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
5024 GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
5025 GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
5026 GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
5027 GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
5028 GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5029 GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5030 GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
5031 GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
5032 GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
5033 GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
5034 GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
5035 GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
5036 GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
5037 GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
5038 GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
5039 GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
5040 GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5041 GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5042 GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
5043 GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
5044 GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
5045 GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
5046 GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
5047 GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
5048 GLAPI void APIENTRY glIndexxOES (GLfixed component);
5049 GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
5050 GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
5051 GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
5052 GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
5053 GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
5054 GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
5055 GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
5056 GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
5057 GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
5058 GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
5059 GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
5060 GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
5061 GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
5062 GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
5063 GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
5064 GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
5065 GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
5066 GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
5067 GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
5068 GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
5069 GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
5070 GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
5071 GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
5072 GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
5073 GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
5074 GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
5075 GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
5076 GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
5077 GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
5078 GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
5079 GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
5080 GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
5081 GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
5082 GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
5083 GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
5084 GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5085 GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
5086 GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
5087 GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
5088 GLAPI void APIENTRY glVertex2xOES (GLfixed x);
5089 GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
5090 GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
5091 GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
5092 GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
5093 GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
5094 #endif
5095 #endif /* GL_OES_fixed_point */
5097 #ifndef GL_OES_query_matrix
5098 #define GL_OES_query_matrix 1
5099 typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
5100 #ifdef GL_GLEXT_PROTOTYPES
5101 GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
5102 #endif
5103 #endif /* GL_OES_query_matrix */
5105 #ifndef GL_OES_read_format
5106 #define GL_OES_read_format 1
5107 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
5108 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
5109 #endif /* GL_OES_read_format */
5111 #ifndef GL_OES_single_precision
5112 #define GL_OES_single_precision 1
5113 typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
5114 typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
5115 typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
5116 typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5117 typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
5118 typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5119 #ifdef GL_GLEXT_PROTOTYPES
5120 GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
5121 GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
5122 GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
5123 GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5124 GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
5125 GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5126 #endif
5127 #endif /* GL_OES_single_precision */
5129 #ifndef GL_3DFX_multisample
5130 #define GL_3DFX_multisample 1
5131 #define GL_MULTISAMPLE_3DFX 0x86B2
5132 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
5133 #define GL_SAMPLES_3DFX 0x86B4
5134 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
5135 #endif /* GL_3DFX_multisample */
5137 #ifndef GL_3DFX_tbuffer
5138 #define GL_3DFX_tbuffer 1
5139 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
5140 #ifdef GL_GLEXT_PROTOTYPES
5141 GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
5142 #endif
5143 #endif /* GL_3DFX_tbuffer */
5145 #ifndef GL_3DFX_texture_compression_FXT1
5146 #define GL_3DFX_texture_compression_FXT1 1
5147 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
5148 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
5149 #endif /* GL_3DFX_texture_compression_FXT1 */
5151 #ifndef GL_AMD_blend_minmax_factor
5152 #define GL_AMD_blend_minmax_factor 1
5153 #define GL_FACTOR_MIN_AMD 0x901C
5154 #define GL_FACTOR_MAX_AMD 0x901D
5155 #endif /* GL_AMD_blend_minmax_factor */
5157 #ifndef GL_AMD_conservative_depth
5158 #define GL_AMD_conservative_depth 1
5159 #endif /* GL_AMD_conservative_depth */
5161 #ifndef GL_AMD_debug_output
5162 #define GL_AMD_debug_output 1
5163 typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
5164 #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
5165 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
5166 #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
5167 #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
5168 #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
5169 #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
5170 #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
5171 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
5172 #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
5173 #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
5174 #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
5175 #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
5176 #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
5177 #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
5178 typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
5179 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
5180 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
5181 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5182 #ifdef GL_GLEXT_PROTOTYPES
5183 GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
5184 GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
5185 GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
5186 GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5187 #endif
5188 #endif /* GL_AMD_debug_output */
5190 #ifndef GL_AMD_depth_clamp_separate
5191 #define GL_AMD_depth_clamp_separate 1
5192 #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
5193 #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
5194 #endif /* GL_AMD_depth_clamp_separate */
5196 #ifndef GL_AMD_draw_buffers_blend
5197 #define GL_AMD_draw_buffers_blend 1
5198 typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
5199 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5200 typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
5201 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5202 #ifdef GL_GLEXT_PROTOTYPES
5203 GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
5204 GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5205 GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
5206 GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5207 #endif
5208 #endif /* GL_AMD_draw_buffers_blend */
5210 #ifndef GL_AMD_gcn_shader
5211 #define GL_AMD_gcn_shader 1
5212 #endif /* GL_AMD_gcn_shader */
5214 #ifndef GL_AMD_gpu_shader_int64
5215 #define GL_AMD_gpu_shader_int64 1
5216 typedef int64_t GLint64EXT;
5217 #define GL_INT64_NV 0x140E
5218 #define GL_UNSIGNED_INT64_NV 0x140F
5219 #define GL_INT8_NV 0x8FE0
5220 #define GL_INT8_VEC2_NV 0x8FE1
5221 #define GL_INT8_VEC3_NV 0x8FE2
5222 #define GL_INT8_VEC4_NV 0x8FE3
5223 #define GL_INT16_NV 0x8FE4
5224 #define GL_INT16_VEC2_NV 0x8FE5
5225 #define GL_INT16_VEC3_NV 0x8FE6
5226 #define GL_INT16_VEC4_NV 0x8FE7
5227 #define GL_INT64_VEC2_NV 0x8FE9
5228 #define GL_INT64_VEC3_NV 0x8FEA
5229 #define GL_INT64_VEC4_NV 0x8FEB
5230 #define GL_UNSIGNED_INT8_NV 0x8FEC
5231 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
5232 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
5233 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
5234 #define GL_UNSIGNED_INT16_NV 0x8FF0
5235 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
5236 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
5237 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
5238 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
5239 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
5240 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
5241 #define GL_FLOAT16_NV 0x8FF8
5242 #define GL_FLOAT16_VEC2_NV 0x8FF9
5243 #define GL_FLOAT16_VEC3_NV 0x8FFA
5244 #define GL_FLOAT16_VEC4_NV 0x8FFB
5245 typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
5246 typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
5247 typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5248 typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5249 typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5250 typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5251 typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5252 typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5253 typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
5254 typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
5255 typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5256 typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5257 typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5258 typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5259 typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5260 typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5261 typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
5262 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
5263 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
5264 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
5265 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5266 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5267 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5268 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5269 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5270 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5271 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
5272 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
5273 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5274 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5275 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5276 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5277 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5278 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5279 #ifdef GL_GLEXT_PROTOTYPES
5280 GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
5281 GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
5282 GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5283 GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5284 GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5285 GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5286 GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5287 GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5288 GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
5289 GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
5290 GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5291 GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5292 GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5293 GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5294 GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5295 GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5296 GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
5297 GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
5298 GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
5299 GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
5300 GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5301 GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5302 GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5303 GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5304 GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5305 GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5306 GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
5307 GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
5308 GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5309 GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5310 GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5311 GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5312 GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5313 GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5314 #endif
5315 #endif /* GL_AMD_gpu_shader_int64 */
5317 #ifndef GL_AMD_interleaved_elements
5318 #define GL_AMD_interleaved_elements 1
5319 #define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4
5320 #define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5
5321 typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
5322 #ifdef GL_GLEXT_PROTOTYPES
5323 GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
5324 #endif
5325 #endif /* GL_AMD_interleaved_elements */
5327 #ifndef GL_AMD_multi_draw_indirect
5328 #define GL_AMD_multi_draw_indirect 1
5329 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
5330 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
5331 #ifdef GL_GLEXT_PROTOTYPES
5332 GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
5333 GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
5334 #endif
5335 #endif /* GL_AMD_multi_draw_indirect */
5337 #ifndef GL_AMD_name_gen_delete
5338 #define GL_AMD_name_gen_delete 1
5339 #define GL_DATA_BUFFER_AMD 0x9151
5340 #define GL_PERFORMANCE_MONITOR_AMD 0x9152
5341 #define GL_QUERY_OBJECT_AMD 0x9153
5342 #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
5343 #define GL_SAMPLER_OBJECT_AMD 0x9155
5344 typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
5345 typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
5346 typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
5347 #ifdef GL_GLEXT_PROTOTYPES
5348 GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
5349 GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
5350 GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
5351 #endif
5352 #endif /* GL_AMD_name_gen_delete */
5354 #ifndef GL_AMD_occlusion_query_event
5355 #define GL_AMD_occlusion_query_event 1
5356 #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
5357 #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
5358 #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
5359 #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
5360 #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
5361 #define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF
5362 typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
5363 #ifdef GL_GLEXT_PROTOTYPES
5364 GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
5365 #endif
5366 #endif /* GL_AMD_occlusion_query_event */
5368 #ifndef GL_AMD_performance_monitor
5369 #define GL_AMD_performance_monitor 1
5370 #define GL_COUNTER_TYPE_AMD 0x8BC0
5371 #define GL_COUNTER_RANGE_AMD 0x8BC1
5372 #define GL_UNSIGNED_INT64_AMD 0x8BC2
5373 #define GL_PERCENTAGE_AMD 0x8BC3
5374 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
5375 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
5376 #define GL_PERFMON_RESULT_AMD 0x8BC6
5377 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
5378 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
5379 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
5380 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
5381 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
5382 typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
5383 typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
5384 typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5385 typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
5386 typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
5387 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5388 #ifdef GL_GLEXT_PROTOTYPES
5389 GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
5390 GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
5391 GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
5392 GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
5393 GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
5394 GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
5395 GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
5396 GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5397 GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
5398 GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
5399 GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5400 #endif
5401 #endif /* GL_AMD_performance_monitor */
5403 #ifndef GL_AMD_pinned_memory
5404 #define GL_AMD_pinned_memory 1
5405 #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
5406 #endif /* GL_AMD_pinned_memory */
5408 #ifndef GL_AMD_query_buffer_object
5409 #define GL_AMD_query_buffer_object 1
5410 #define GL_QUERY_BUFFER_AMD 0x9192
5411 #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
5412 #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
5413 #endif /* GL_AMD_query_buffer_object */
5415 #ifndef GL_AMD_sample_positions
5416 #define GL_AMD_sample_positions 1
5417 #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
5418 typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
5419 #ifdef GL_GLEXT_PROTOTYPES
5420 GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
5421 #endif
5422 #endif /* GL_AMD_sample_positions */
5424 #ifndef GL_AMD_seamless_cubemap_per_texture
5425 #define GL_AMD_seamless_cubemap_per_texture 1
5426 #endif /* GL_AMD_seamless_cubemap_per_texture */
5428 #ifndef GL_AMD_shader_atomic_counter_ops
5429 #define GL_AMD_shader_atomic_counter_ops 1
5430 #endif /* GL_AMD_shader_atomic_counter_ops */
5432 #ifndef GL_AMD_shader_stencil_export
5433 #define GL_AMD_shader_stencil_export 1
5434 #endif /* GL_AMD_shader_stencil_export */
5436 #ifndef GL_AMD_shader_trinary_minmax
5437 #define GL_AMD_shader_trinary_minmax 1
5438 #endif /* GL_AMD_shader_trinary_minmax */
5440 #ifndef GL_AMD_sparse_texture
5441 #define GL_AMD_sparse_texture 1
5442 #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
5443 #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
5444 #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
5445 #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
5446 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
5447 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
5448 #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
5449 #define GL_MIN_LOD_WARNING_AMD 0x919C
5450 #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
5451 typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5452 typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5453 #ifdef GL_GLEXT_PROTOTYPES
5454 GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5455 GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5456 #endif
5457 #endif /* GL_AMD_sparse_texture */
5459 #ifndef GL_AMD_stencil_operation_extended
5460 #define GL_AMD_stencil_operation_extended 1
5461 #define GL_SET_AMD 0x874A
5462 #define GL_REPLACE_VALUE_AMD 0x874B
5463 #define GL_STENCIL_OP_VALUE_AMD 0x874C
5464 #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
5465 typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
5466 #ifdef GL_GLEXT_PROTOTYPES
5467 GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
5468 #endif
5469 #endif /* GL_AMD_stencil_operation_extended */
5471 #ifndef GL_AMD_texture_texture4
5472 #define GL_AMD_texture_texture4 1
5473 #endif /* GL_AMD_texture_texture4 */
5475 #ifndef GL_AMD_transform_feedback3_lines_triangles
5476 #define GL_AMD_transform_feedback3_lines_triangles 1
5477 #endif /* GL_AMD_transform_feedback3_lines_triangles */
5479 #ifndef GL_AMD_transform_feedback4
5480 #define GL_AMD_transform_feedback4 1
5481 #define GL_STREAM_RASTERIZATION_AMD 0x91A0
5482 #endif /* GL_AMD_transform_feedback4 */
5484 #ifndef GL_AMD_vertex_shader_layer
5485 #define GL_AMD_vertex_shader_layer 1
5486 #endif /* GL_AMD_vertex_shader_layer */
5488 #ifndef GL_AMD_vertex_shader_tessellator
5489 #define GL_AMD_vertex_shader_tessellator 1
5490 #define GL_SAMPLER_BUFFER_AMD 0x9001
5491 #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
5492 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
5493 #define GL_TESSELLATION_MODE_AMD 0x9004
5494 #define GL_TESSELLATION_FACTOR_AMD 0x9005
5495 #define GL_DISCRETE_AMD 0x9006
5496 #define GL_CONTINUOUS_AMD 0x9007
5497 typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
5498 typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
5499 #ifdef GL_GLEXT_PROTOTYPES
5500 GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
5501 GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
5502 #endif
5503 #endif /* GL_AMD_vertex_shader_tessellator */
5505 #ifndef GL_AMD_vertex_shader_viewport_index
5506 #define GL_AMD_vertex_shader_viewport_index 1
5507 #endif /* GL_AMD_vertex_shader_viewport_index */
5509 #ifndef GL_APPLE_aux_depth_stencil
5510 #define GL_APPLE_aux_depth_stencil 1
5511 #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
5512 #endif /* GL_APPLE_aux_depth_stencil */
5514 #ifndef GL_APPLE_client_storage
5515 #define GL_APPLE_client_storage 1
5516 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
5517 #endif /* GL_APPLE_client_storage */
5519 #ifndef GL_APPLE_element_array
5520 #define GL_APPLE_element_array 1
5521 #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
5522 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
5523 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
5524 typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
5525 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
5526 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5527 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5528 typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5529 #ifdef GL_GLEXT_PROTOTYPES
5530 GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
5531 GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
5532 GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5533 GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5534 GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5535 #endif
5536 #endif /* GL_APPLE_element_array */
5538 #ifndef GL_APPLE_fence
5539 #define GL_APPLE_fence 1
5540 #define GL_DRAW_PIXELS_APPLE 0x8A0A
5541 #define GL_FENCE_APPLE 0x8A0B
5542 typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
5543 typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
5544 typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
5545 typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
5546 typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
5547 typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
5548 typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
5549 typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
5550 #ifdef GL_GLEXT_PROTOTYPES
5551 GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
5552 GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
5553 GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
5554 GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
5555 GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
5556 GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
5557 GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
5558 GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
5559 #endif
5560 #endif /* GL_APPLE_fence */
5562 #ifndef GL_APPLE_float_pixels
5563 #define GL_APPLE_float_pixels 1
5564 #define GL_HALF_APPLE 0x140B
5565 #define GL_RGBA_FLOAT32_APPLE 0x8814
5566 #define GL_RGB_FLOAT32_APPLE 0x8815
5567 #define GL_ALPHA_FLOAT32_APPLE 0x8816
5568 #define GL_INTENSITY_FLOAT32_APPLE 0x8817
5569 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
5570 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
5571 #define GL_RGBA_FLOAT16_APPLE 0x881A
5572 #define GL_RGB_FLOAT16_APPLE 0x881B
5573 #define GL_ALPHA_FLOAT16_APPLE 0x881C
5574 #define GL_INTENSITY_FLOAT16_APPLE 0x881D
5575 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
5576 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
5577 #define GL_COLOR_FLOAT_APPLE 0x8A0F
5578 #endif /* GL_APPLE_float_pixels */
5580 #ifndef GL_APPLE_flush_buffer_range
5581 #define GL_APPLE_flush_buffer_range 1
5582 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
5583 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
5584 typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
5585 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
5586 #ifdef GL_GLEXT_PROTOTYPES
5587 GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
5588 GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
5589 #endif
5590 #endif /* GL_APPLE_flush_buffer_range */
5592 #ifndef GL_APPLE_object_purgeable
5593 #define GL_APPLE_object_purgeable 1
5594 #define GL_BUFFER_OBJECT_APPLE 0x85B3
5595 #define GL_RELEASED_APPLE 0x8A19
5596 #define GL_VOLATILE_APPLE 0x8A1A
5597 #define GL_RETAINED_APPLE 0x8A1B
5598 #define GL_UNDEFINED_APPLE 0x8A1C
5599 #define GL_PURGEABLE_APPLE 0x8A1D
5600 typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5601 typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5602 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5603 #ifdef GL_GLEXT_PROTOTYPES
5604 GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5605 GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5606 GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5607 #endif
5608 #endif /* GL_APPLE_object_purgeable */
5610 #ifndef GL_APPLE_rgb_422
5611 #define GL_APPLE_rgb_422 1
5612 #define GL_RGB_422_APPLE 0x8A1F
5613 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
5614 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
5615 #define GL_RGB_RAW_422_APPLE 0x8A51
5616 #endif /* GL_APPLE_rgb_422 */
5618 #ifndef GL_APPLE_row_bytes
5619 #define GL_APPLE_row_bytes 1
5620 #define GL_PACK_ROW_BYTES_APPLE 0x8A15
5621 #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
5622 #endif /* GL_APPLE_row_bytes */
5624 #ifndef GL_APPLE_specular_vector
5625 #define GL_APPLE_specular_vector 1
5626 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
5627 #endif /* GL_APPLE_specular_vector */
5629 #ifndef GL_APPLE_texture_range
5630 #define GL_APPLE_texture_range 1
5631 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
5632 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
5633 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
5634 #define GL_STORAGE_PRIVATE_APPLE 0x85BD
5635 #define GL_STORAGE_CACHED_APPLE 0x85BE
5636 #define GL_STORAGE_SHARED_APPLE 0x85BF
5637 typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
5638 typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
5639 #ifdef GL_GLEXT_PROTOTYPES
5640 GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
5641 GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
5642 #endif
5643 #endif /* GL_APPLE_texture_range */
5645 #ifndef GL_APPLE_transform_hint
5646 #define GL_APPLE_transform_hint 1
5647 #define GL_TRANSFORM_HINT_APPLE 0x85B1
5648 #endif /* GL_APPLE_transform_hint */
5650 #ifndef GL_APPLE_vertex_array_object
5651 #define GL_APPLE_vertex_array_object 1
5652 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
5653 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
5654 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
5655 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
5656 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
5657 #ifdef GL_GLEXT_PROTOTYPES
5658 GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
5659 GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
5660 GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
5661 GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
5662 #endif
5663 #endif /* GL_APPLE_vertex_array_object */
5665 #ifndef GL_APPLE_vertex_array_range
5666 #define GL_APPLE_vertex_array_range 1
5667 #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
5668 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
5669 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
5670 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
5671 #define GL_STORAGE_CLIENT_APPLE 0x85B4
5672 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5673 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5674 typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
5675 #ifdef GL_GLEXT_PROTOTYPES
5676 GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5677 GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5678 GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
5679 #endif
5680 #endif /* GL_APPLE_vertex_array_range */
5682 #ifndef GL_APPLE_vertex_program_evaluators
5683 #define GL_APPLE_vertex_program_evaluators 1
5684 #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
5685 #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
5686 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
5687 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
5688 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
5689 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
5690 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
5691 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
5692 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
5693 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
5694 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
5695 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
5696 typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
5697 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
5698 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
5699 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
5700 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
5701 #ifdef GL_GLEXT_PROTOTYPES
5702 GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
5703 GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
5704 GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
5705 GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
5706 GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
5707 GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
5708 GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
5709 #endif
5710 #endif /* GL_APPLE_vertex_program_evaluators */
5712 #ifndef GL_APPLE_ycbcr_422
5713 #define GL_APPLE_ycbcr_422 1
5714 #define GL_YCBCR_422_APPLE 0x85B9
5715 #endif /* GL_APPLE_ycbcr_422 */
5717 #ifndef GL_ATI_draw_buffers
5718 #define GL_ATI_draw_buffers 1
5719 #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
5720 #define GL_DRAW_BUFFER0_ATI 0x8825
5721 #define GL_DRAW_BUFFER1_ATI 0x8826
5722 #define GL_DRAW_BUFFER2_ATI 0x8827
5723 #define GL_DRAW_BUFFER3_ATI 0x8828
5724 #define GL_DRAW_BUFFER4_ATI 0x8829
5725 #define GL_DRAW_BUFFER5_ATI 0x882A
5726 #define GL_DRAW_BUFFER6_ATI 0x882B
5727 #define GL_DRAW_BUFFER7_ATI 0x882C
5728 #define GL_DRAW_BUFFER8_ATI 0x882D
5729 #define GL_DRAW_BUFFER9_ATI 0x882E
5730 #define GL_DRAW_BUFFER10_ATI 0x882F
5731 #define GL_DRAW_BUFFER11_ATI 0x8830
5732 #define GL_DRAW_BUFFER12_ATI 0x8831
5733 #define GL_DRAW_BUFFER13_ATI 0x8832
5734 #define GL_DRAW_BUFFER14_ATI 0x8833
5735 #define GL_DRAW_BUFFER15_ATI 0x8834
5736 typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
5737 #ifdef GL_GLEXT_PROTOTYPES
5738 GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
5739 #endif
5740 #endif /* GL_ATI_draw_buffers */
5742 #ifndef GL_ATI_element_array
5743 #define GL_ATI_element_array 1
5744 #define GL_ELEMENT_ARRAY_ATI 0x8768
5745 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
5746 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
5747 typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
5748 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
5749 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
5750 #ifdef GL_GLEXT_PROTOTYPES
5751 GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
5752 GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
5753 GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
5754 #endif
5755 #endif /* GL_ATI_element_array */
5757 #ifndef GL_ATI_envmap_bumpmap
5758 #define GL_ATI_envmap_bumpmap 1
5759 #define GL_BUMP_ROT_MATRIX_ATI 0x8775
5760 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
5761 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
5762 #define GL_BUMP_TEX_UNITS_ATI 0x8778
5763 #define GL_DUDV_ATI 0x8779
5764 #define GL_DU8DV8_ATI 0x877A
5765 #define GL_BUMP_ENVMAP_ATI 0x877B
5766 #define GL_BUMP_TARGET_ATI 0x877C
5767 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
5768 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
5769 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
5770 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
5771 #ifdef GL_GLEXT_PROTOTYPES
5772 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
5773 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
5774 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
5775 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
5776 #endif
5777 #endif /* GL_ATI_envmap_bumpmap */
5779 #ifndef GL_ATI_fragment_shader
5780 #define GL_ATI_fragment_shader 1
5781 #define GL_FRAGMENT_SHADER_ATI 0x8920
5782 #define GL_REG_0_ATI 0x8921
5783 #define GL_REG_1_ATI 0x8922
5784 #define GL_REG_2_ATI 0x8923
5785 #define GL_REG_3_ATI 0x8924
5786 #define GL_REG_4_ATI 0x8925
5787 #define GL_REG_5_ATI 0x8926
5788 #define GL_REG_6_ATI 0x8927
5789 #define GL_REG_7_ATI 0x8928
5790 #define GL_REG_8_ATI 0x8929
5791 #define GL_REG_9_ATI 0x892A
5792 #define GL_REG_10_ATI 0x892B
5793 #define GL_REG_11_ATI 0x892C
5794 #define GL_REG_12_ATI 0x892D
5795 #define GL_REG_13_ATI 0x892E
5796 #define GL_REG_14_ATI 0x892F
5797 #define GL_REG_15_ATI 0x8930
5798 #define GL_REG_16_ATI 0x8931
5799 #define GL_REG_17_ATI 0x8932
5800 #define GL_REG_18_ATI 0x8933
5801 #define GL_REG_19_ATI 0x8934
5802 #define GL_REG_20_ATI 0x8935
5803 #define GL_REG_21_ATI 0x8936
5804 #define GL_REG_22_ATI 0x8937
5805 #define GL_REG_23_ATI 0x8938
5806 #define GL_REG_24_ATI 0x8939
5807 #define GL_REG_25_ATI 0x893A
5808 #define GL_REG_26_ATI 0x893B
5809 #define GL_REG_27_ATI 0x893C
5810 #define GL_REG_28_ATI 0x893D
5811 #define GL_REG_29_ATI 0x893E
5812 #define GL_REG_30_ATI 0x893F
5813 #define GL_REG_31_ATI 0x8940
5814 #define GL_CON_0_ATI 0x8941
5815 #define GL_CON_1_ATI 0x8942
5816 #define GL_CON_2_ATI 0x8943
5817 #define GL_CON_3_ATI 0x8944
5818 #define GL_CON_4_ATI 0x8945
5819 #define GL_CON_5_ATI 0x8946
5820 #define GL_CON_6_ATI 0x8947
5821 #define GL_CON_7_ATI 0x8948
5822 #define GL_CON_8_ATI 0x8949
5823 #define GL_CON_9_ATI 0x894A
5824 #define GL_CON_10_ATI 0x894B
5825 #define GL_CON_11_ATI 0x894C
5826 #define GL_CON_12_ATI 0x894D
5827 #define GL_CON_13_ATI 0x894E
5828 #define GL_CON_14_ATI 0x894F
5829 #define GL_CON_15_ATI 0x8950
5830 #define GL_CON_16_ATI 0x8951
5831 #define GL_CON_17_ATI 0x8952
5832 #define GL_CON_18_ATI 0x8953
5833 #define GL_CON_19_ATI 0x8954
5834 #define GL_CON_20_ATI 0x8955
5835 #define GL_CON_21_ATI 0x8956
5836 #define GL_CON_22_ATI 0x8957
5837 #define GL_CON_23_ATI 0x8958
5838 #define GL_CON_24_ATI 0x8959
5839 #define GL_CON_25_ATI 0x895A
5840 #define GL_CON_26_ATI 0x895B
5841 #define GL_CON_27_ATI 0x895C
5842 #define GL_CON_28_ATI 0x895D
5843 #define GL_CON_29_ATI 0x895E
5844 #define GL_CON_30_ATI 0x895F
5845 #define GL_CON_31_ATI 0x8960
5846 #define GL_MOV_ATI 0x8961
5847 #define GL_ADD_ATI 0x8963
5848 #define GL_MUL_ATI 0x8964
5849 #define GL_SUB_ATI 0x8965
5850 #define GL_DOT3_ATI 0x8966
5851 #define GL_DOT4_ATI 0x8967
5852 #define GL_MAD_ATI 0x8968
5853 #define GL_LERP_ATI 0x8969
5854 #define GL_CND_ATI 0x896A
5855 #define GL_CND0_ATI 0x896B
5856 #define GL_DOT2_ADD_ATI 0x896C
5857 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
5858 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
5859 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
5860 #define GL_NUM_PASSES_ATI 0x8970
5861 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
5862 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
5863 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
5864 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
5865 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
5866 #define GL_SWIZZLE_STR_ATI 0x8976
5867 #define GL_SWIZZLE_STQ_ATI 0x8977
5868 #define GL_SWIZZLE_STR_DR_ATI 0x8978
5869 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
5870 #define GL_SWIZZLE_STRQ_ATI 0x897A
5871 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
5872 #define GL_RED_BIT_ATI 0x00000001
5873 #define GL_GREEN_BIT_ATI 0x00000002
5874 #define GL_BLUE_BIT_ATI 0x00000004
5875 #define GL_2X_BIT_ATI 0x00000001
5876 #define GL_4X_BIT_ATI 0x00000002
5877 #define GL_8X_BIT_ATI 0x00000004
5878 #define GL_HALF_BIT_ATI 0x00000008
5879 #define GL_QUARTER_BIT_ATI 0x00000010
5880 #define GL_EIGHTH_BIT_ATI 0x00000020
5881 #define GL_SATURATE_BIT_ATI 0x00000040
5882 #define GL_COMP_BIT_ATI 0x00000002
5883 #define GL_NEGATE_BIT_ATI 0x00000004
5884 #define GL_BIAS_BIT_ATI 0x00000008
5885 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
5886 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
5887 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
5888 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
5889 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
5890 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
5891 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
5892 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5893 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5894 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
5895 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5896 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5897 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
5898 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
5899 #ifdef GL_GLEXT_PROTOTYPES
5900 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
5901 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
5902 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
5903 GLAPI void APIENTRY glBeginFragmentShaderATI (void);
5904 GLAPI void APIENTRY glEndFragmentShaderATI (void);
5905 GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
5906 GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
5907 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5908 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5909 GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
5910 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5911 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5912 GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
5913 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
5914 #endif
5915 #endif /* GL_ATI_fragment_shader */
5917 #ifndef GL_ATI_map_object_buffer
5918 #define GL_ATI_map_object_buffer 1
5919 typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
5920 typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
5921 #ifdef GL_GLEXT_PROTOTYPES
5922 GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
5923 GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
5924 #endif
5925 #endif /* GL_ATI_map_object_buffer */
5927 #ifndef GL_ATI_meminfo
5928 #define GL_ATI_meminfo 1
5929 #define GL_VBO_FREE_MEMORY_ATI 0x87FB
5930 #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
5931 #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
5932 #endif /* GL_ATI_meminfo */
5934 #ifndef GL_ATI_pixel_format_float
5935 #define GL_ATI_pixel_format_float 1
5936 #define GL_RGBA_FLOAT_MODE_ATI 0x8820
5937 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
5938 #endif /* GL_ATI_pixel_format_float */
5940 #ifndef GL_ATI_pn_triangles
5941 #define GL_ATI_pn_triangles 1
5942 #define GL_PN_TRIANGLES_ATI 0x87F0
5943 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
5944 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
5945 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
5946 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
5947 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
5948 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
5949 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
5950 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
5951 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
5952 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
5953 #ifdef GL_GLEXT_PROTOTYPES
5954 GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
5955 GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
5956 #endif
5957 #endif /* GL_ATI_pn_triangles */
5959 #ifndef GL_ATI_separate_stencil
5960 #define GL_ATI_separate_stencil 1
5961 #define GL_STENCIL_BACK_FUNC_ATI 0x8800
5962 #define GL_STENCIL_BACK_FAIL_ATI 0x8801
5963 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
5964 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
5965 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
5966 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
5967 #ifdef GL_GLEXT_PROTOTYPES
5968 GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
5969 GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
5970 #endif
5971 #endif /* GL_ATI_separate_stencil */
5973 #ifndef GL_ATI_text_fragment_shader
5974 #define GL_ATI_text_fragment_shader 1
5975 #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
5976 #endif /* GL_ATI_text_fragment_shader */
5978 #ifndef GL_ATI_texture_env_combine3
5979 #define GL_ATI_texture_env_combine3 1
5980 #define GL_MODULATE_ADD_ATI 0x8744
5981 #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
5982 #define GL_MODULATE_SUBTRACT_ATI 0x8746
5983 #endif /* GL_ATI_texture_env_combine3 */
5985 #ifndef GL_ATI_texture_float
5986 #define GL_ATI_texture_float 1
5987 #define GL_RGBA_FLOAT32_ATI 0x8814
5988 #define GL_RGB_FLOAT32_ATI 0x8815
5989 #define GL_ALPHA_FLOAT32_ATI 0x8816
5990 #define GL_INTENSITY_FLOAT32_ATI 0x8817
5991 #define GL_LUMINANCE_FLOAT32_ATI 0x8818
5992 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
5993 #define GL_RGBA_FLOAT16_ATI 0x881A
5994 #define GL_RGB_FLOAT16_ATI 0x881B
5995 #define GL_ALPHA_FLOAT16_ATI 0x881C
5996 #define GL_INTENSITY_FLOAT16_ATI 0x881D
5997 #define GL_LUMINANCE_FLOAT16_ATI 0x881E
5998 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
5999 #endif /* GL_ATI_texture_float */
6001 #ifndef GL_ATI_texture_mirror_once
6002 #define GL_ATI_texture_mirror_once 1
6003 #define GL_MIRROR_CLAMP_ATI 0x8742
6004 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
6005 #endif /* GL_ATI_texture_mirror_once */
6007 #ifndef GL_ATI_vertex_array_object
6008 #define GL_ATI_vertex_array_object 1
6009 #define GL_STATIC_ATI 0x8760
6010 #define GL_DYNAMIC_ATI 0x8761
6011 #define GL_PRESERVE_ATI 0x8762
6012 #define GL_DISCARD_ATI 0x8763
6013 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
6014 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
6015 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
6016 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
6017 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
6018 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
6019 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
6020 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
6021 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
6022 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
6023 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6024 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
6025 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
6026 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6027 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
6028 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
6029 #ifdef GL_GLEXT_PROTOTYPES
6030 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
6031 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
6032 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
6033 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
6034 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
6035 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
6036 GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6037 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
6038 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
6039 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6040 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
6041 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
6042 #endif
6043 #endif /* GL_ATI_vertex_array_object */
6045 #ifndef GL_ATI_vertex_attrib_array_object
6046 #define GL_ATI_vertex_attrib_array_object 1
6047 typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6048 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
6049 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
6050 #ifdef GL_GLEXT_PROTOTYPES
6051 GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6052 GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
6053 GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
6054 #endif
6055 #endif /* GL_ATI_vertex_attrib_array_object */
6057 #ifndef GL_ATI_vertex_streams
6058 #define GL_ATI_vertex_streams 1
6059 #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
6060 #define GL_VERTEX_STREAM0_ATI 0x876C
6061 #define GL_VERTEX_STREAM1_ATI 0x876D
6062 #define GL_VERTEX_STREAM2_ATI 0x876E
6063 #define GL_VERTEX_STREAM3_ATI 0x876F
6064 #define GL_VERTEX_STREAM4_ATI 0x8770
6065 #define GL_VERTEX_STREAM5_ATI 0x8771
6066 #define GL_VERTEX_STREAM6_ATI 0x8772
6067 #define GL_VERTEX_STREAM7_ATI 0x8773
6068 #define GL_VERTEX_SOURCE_ATI 0x8774
6069 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
6070 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
6071 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
6072 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
6073 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
6074 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
6075 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
6076 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
6077 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
6078 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
6079 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
6080 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
6081 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
6082 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
6083 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
6084 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
6085 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
6086 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6087 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
6088 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6089 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6090 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6091 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6092 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6093 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6094 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
6095 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6096 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
6097 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6098 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
6099 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6100 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
6101 typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
6102 typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
6103 typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
6104 typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6105 typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
6106 typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6107 typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
6108 typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6109 typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
6110 typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6111 typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
6112 typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
6113 typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
6114 #ifdef GL_GLEXT_PROTOTYPES
6115 GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
6116 GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
6117 GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
6118 GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
6119 GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
6120 GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
6121 GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
6122 GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
6123 GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
6124 GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
6125 GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
6126 GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
6127 GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
6128 GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
6129 GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
6130 GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
6131 GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
6132 GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
6133 GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
6134 GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
6135 GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6136 GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
6137 GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6138 GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
6139 GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6140 GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
6141 GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6142 GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
6143 GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6144 GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
6145 GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6146 GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
6147 GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
6148 GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
6149 GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
6150 GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
6151 GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
6152 GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
6153 GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
6154 GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
6155 GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
6156 GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
6157 GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
6158 GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
6159 GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
6160 #endif
6161 #endif /* GL_ATI_vertex_streams */
6163 #ifndef GL_EXT_422_pixels
6164 #define GL_EXT_422_pixels 1
6165 #define GL_422_EXT 0x80CC
6166 #define GL_422_REV_EXT 0x80CD
6167 #define GL_422_AVERAGE_EXT 0x80CE
6168 #define GL_422_REV_AVERAGE_EXT 0x80CF
6169 #endif /* GL_EXT_422_pixels */
6171 #ifndef GL_EXT_abgr
6172 #define GL_EXT_abgr 1
6173 #define GL_ABGR_EXT 0x8000
6174 #endif /* GL_EXT_abgr */
6176 #ifndef GL_EXT_bgra
6177 #define GL_EXT_bgra 1
6178 #define GL_BGR_EXT 0x80E0
6179 #define GL_BGRA_EXT 0x80E1
6180 #endif /* GL_EXT_bgra */
6182 #ifndef GL_EXT_bindable_uniform
6183 #define GL_EXT_bindable_uniform 1
6184 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
6185 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
6186 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
6187 #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
6188 #define GL_UNIFORM_BUFFER_EXT 0x8DEE
6189 #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
6190 typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
6191 typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
6192 typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
6193 #ifdef GL_GLEXT_PROTOTYPES
6194 GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
6195 GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
6196 GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
6197 #endif
6198 #endif /* GL_EXT_bindable_uniform */
6200 #ifndef GL_EXT_blend_color
6201 #define GL_EXT_blend_color 1
6202 #define GL_CONSTANT_COLOR_EXT 0x8001
6203 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
6204 #define GL_CONSTANT_ALPHA_EXT 0x8003
6205 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
6206 #define GL_BLEND_COLOR_EXT 0x8005
6207 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6208 #ifdef GL_GLEXT_PROTOTYPES
6209 GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6210 #endif
6211 #endif /* GL_EXT_blend_color */
6213 #ifndef GL_EXT_blend_equation_separate
6214 #define GL_EXT_blend_equation_separate 1
6215 #define GL_BLEND_EQUATION_RGB_EXT 0x8009
6216 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
6217 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
6218 #ifdef GL_GLEXT_PROTOTYPES
6219 GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
6220 #endif
6221 #endif /* GL_EXT_blend_equation_separate */
6223 #ifndef GL_EXT_blend_func_separate
6224 #define GL_EXT_blend_func_separate 1
6225 #define GL_BLEND_DST_RGB_EXT 0x80C8
6226 #define GL_BLEND_SRC_RGB_EXT 0x80C9
6227 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
6228 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
6229 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6230 #ifdef GL_GLEXT_PROTOTYPES
6231 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6232 #endif
6233 #endif /* GL_EXT_blend_func_separate */
6235 #ifndef GL_EXT_blend_logic_op
6236 #define GL_EXT_blend_logic_op 1
6237 #endif /* GL_EXT_blend_logic_op */
6239 #ifndef GL_EXT_blend_minmax
6240 #define GL_EXT_blend_minmax 1
6241 #define GL_MIN_EXT 0x8007
6242 #define GL_MAX_EXT 0x8008
6243 #define GL_FUNC_ADD_EXT 0x8006
6244 #define GL_BLEND_EQUATION_EXT 0x8009
6245 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
6246 #ifdef GL_GLEXT_PROTOTYPES
6247 GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
6248 #endif
6249 #endif /* GL_EXT_blend_minmax */
6251 #ifndef GL_EXT_blend_subtract
6252 #define GL_EXT_blend_subtract 1
6253 #define GL_FUNC_SUBTRACT_EXT 0x800A
6254 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
6255 #endif /* GL_EXT_blend_subtract */
6257 #ifndef GL_EXT_clip_volume_hint
6258 #define GL_EXT_clip_volume_hint 1
6259 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
6260 #endif /* GL_EXT_clip_volume_hint */
6262 #ifndef GL_EXT_cmyka
6263 #define GL_EXT_cmyka 1
6264 #define GL_CMYK_EXT 0x800C
6265 #define GL_CMYKA_EXT 0x800D
6266 #define GL_PACK_CMYK_HINT_EXT 0x800E
6267 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
6268 #endif /* GL_EXT_cmyka */
6270 #ifndef GL_EXT_color_subtable
6271 #define GL_EXT_color_subtable 1
6272 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
6273 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6274 #ifdef GL_GLEXT_PROTOTYPES
6275 GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
6276 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6277 #endif
6278 #endif /* GL_EXT_color_subtable */
6280 #ifndef GL_EXT_compiled_vertex_array
6281 #define GL_EXT_compiled_vertex_array 1
6282 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
6283 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
6284 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
6285 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
6286 #ifdef GL_GLEXT_PROTOTYPES
6287 GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
6288 GLAPI void APIENTRY glUnlockArraysEXT (void);
6289 #endif
6290 #endif /* GL_EXT_compiled_vertex_array */
6292 #ifndef GL_EXT_convolution
6293 #define GL_EXT_convolution 1
6294 #define GL_CONVOLUTION_1D_EXT 0x8010
6295 #define GL_CONVOLUTION_2D_EXT 0x8011
6296 #define GL_SEPARABLE_2D_EXT 0x8012
6297 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
6298 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
6299 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
6300 #define GL_REDUCE_EXT 0x8016
6301 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
6302 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
6303 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
6304 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
6305 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
6306 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
6307 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
6308 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
6309 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
6310 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
6311 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
6312 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
6313 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
6314 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
6315 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
6316 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
6317 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
6318 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
6319 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
6320 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6321 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6322 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
6323 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6324 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6325 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
6326 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
6327 #ifdef GL_GLEXT_PROTOTYPES
6328 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
6329 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
6330 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
6331 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
6332 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
6333 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
6334 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6335 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6336 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
6337 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
6338 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
6339 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
6340 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
6341 #endif
6342 #endif /* GL_EXT_convolution */
6344 #ifndef GL_EXT_coordinate_frame
6345 #define GL_EXT_coordinate_frame 1
6346 #define GL_TANGENT_ARRAY_EXT 0x8439
6347 #define GL_BINORMAL_ARRAY_EXT 0x843A
6348 #define GL_CURRENT_TANGENT_EXT 0x843B
6349 #define GL_CURRENT_BINORMAL_EXT 0x843C
6350 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
6351 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
6352 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
6353 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
6354 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
6355 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
6356 #define GL_MAP1_TANGENT_EXT 0x8444
6357 #define GL_MAP2_TANGENT_EXT 0x8445
6358 #define GL_MAP1_BINORMAL_EXT 0x8446
6359 #define GL_MAP2_BINORMAL_EXT 0x8447
6360 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
6361 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
6362 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
6363 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
6364 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
6365 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
6366 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
6367 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
6368 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
6369 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
6370 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
6371 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
6372 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
6373 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
6374 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
6375 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
6376 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
6377 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
6378 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
6379 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
6380 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
6381 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
6382 #ifdef GL_GLEXT_PROTOTYPES
6383 GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
6384 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
6385 GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
6386 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
6387 GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
6388 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
6389 GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
6390 GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
6391 GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
6392 GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
6393 GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
6394 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
6395 GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
6396 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
6397 GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
6398 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
6399 GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
6400 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
6401 GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
6402 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
6403 GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6404 GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6405 #endif
6406 #endif /* GL_EXT_coordinate_frame */
6408 #ifndef GL_EXT_copy_texture
6409 #define GL_EXT_copy_texture 1
6410 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6411 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6412 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6413 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6414 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6415 #ifdef GL_GLEXT_PROTOTYPES
6416 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6417 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6418 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6419 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6420 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6421 #endif
6422 #endif /* GL_EXT_copy_texture */
6424 #ifndef GL_EXT_cull_vertex
6425 #define GL_EXT_cull_vertex 1
6426 #define GL_CULL_VERTEX_EXT 0x81AA
6427 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
6428 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
6429 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
6430 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
6431 #ifdef GL_GLEXT_PROTOTYPES
6432 GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
6433 GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
6434 #endif
6435 #endif /* GL_EXT_cull_vertex */
6437 #ifndef GL_EXT_debug_label
6438 #define GL_EXT_debug_label 1
6439 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
6440 #define GL_PROGRAM_OBJECT_EXT 0x8B40
6441 #define GL_SHADER_OBJECT_EXT 0x8B48
6442 #define GL_BUFFER_OBJECT_EXT 0x9151
6443 #define GL_QUERY_OBJECT_EXT 0x9153
6444 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
6445 typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6446 typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6447 #ifdef GL_GLEXT_PROTOTYPES
6448 GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6449 GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6450 #endif
6451 #endif /* GL_EXT_debug_label */
6453 #ifndef GL_EXT_debug_marker
6454 #define GL_EXT_debug_marker 1
6455 typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6456 typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6457 typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
6458 #ifdef GL_GLEXT_PROTOTYPES
6459 GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
6460 GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
6461 GLAPI void APIENTRY glPopGroupMarkerEXT (void);
6462 #endif
6463 #endif /* GL_EXT_debug_marker */
6465 #ifndef GL_EXT_depth_bounds_test
6466 #define GL_EXT_depth_bounds_test 1
6467 #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
6468 #define GL_DEPTH_BOUNDS_EXT 0x8891
6469 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6470 #ifdef GL_GLEXT_PROTOTYPES
6471 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
6472 #endif
6473 #endif /* GL_EXT_depth_bounds_test */
6475 #ifndef GL_EXT_direct_state_access
6476 #define GL_EXT_direct_state_access 1
6477 #define GL_PROGRAM_MATRIX_EXT 0x8E2D
6478 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
6479 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
6480 typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
6481 typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
6482 typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
6483 typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
6484 typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
6485 typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
6486 typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
6487 typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6488 typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6489 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6490 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6491 typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6492 typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6493 typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
6494 typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
6495 typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6496 typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6497 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
6498 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
6499 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
6500 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6501 typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6502 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6503 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6504 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6505 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6506 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6507 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6508 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6509 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6510 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
6511 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6512 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
6513 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
6514 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
6515 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
6516 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6517 typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
6518 typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
6519 typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6520 typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6521 typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6522 typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6523 typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
6524 typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
6525 typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
6526 typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
6527 typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
6528 typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
6529 typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6530 typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6531 typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
6532 typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
6533 typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
6534 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6535 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6536 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6537 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6538 typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6539 typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6540 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6541 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6542 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6543 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6544 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6545 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6546 typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6547 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6548 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6549 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
6550 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
6551 typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
6552 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
6553 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6554 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6555 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6556 typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
6557 typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
6558 typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
6559 typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6560 typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6561 typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
6562 typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
6563 typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
6564 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6565 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6566 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6567 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
6568 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6569 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6570 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
6571 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6572 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6573 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6574 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
6575 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6576 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6577 typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
6578 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6579 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6580 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6581 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6582 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
6583 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
6584 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
6585 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
6586 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
6587 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
6588 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
6589 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
6590 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
6591 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6592 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6593 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
6594 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
6595 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
6596 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6597 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6598 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6599 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6600 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6601 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6602 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6603 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6604 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6605 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6606 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6607 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6608 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6609 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6610 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6611 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6612 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6613 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6614 typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
6615 typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
6616 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6617 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
6618 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6619 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
6620 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6621 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
6622 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6623 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
6624 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
6625 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
6626 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
6627 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6628 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6629 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6630 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6631 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6632 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6633 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
6634 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
6635 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
6636 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6637 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
6638 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
6639 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
6640 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
6641 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6642 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6643 typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
6644 typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
6645 typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
6646 typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
6647 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6648 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
6649 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6650 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
6651 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
6652 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
6653 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
6654 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
6655 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
6656 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
6657 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6658 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
6659 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
6660 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6661 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6662 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6663 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6664 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
6665 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
6666 typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
6667 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6668 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
6669 typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6670 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
6671 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
6672 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
6673 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
6674 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
6675 typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
6676 typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
6677 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6678 typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6679 typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
6680 typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6681 typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6682 typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6683 typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6684 typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6685 typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6686 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
6687 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6688 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6689 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6690 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
6691 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
6692 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
6693 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
6694 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
6695 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
6696 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
6697 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
6698 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
6699 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
6700 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
6701 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
6702 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
6703 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
6704 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
6705 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
6706 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6707 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6708 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6709 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6710 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6711 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6712 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6713 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6714 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6715 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6716 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6717 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6718 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6719 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6720 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
6721 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
6722 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
6723 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
6724 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
6725 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
6726 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
6727 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
6728 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6729 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6730 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6731 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6732 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6733 typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
6734 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
6735 #ifdef GL_GLEXT_PROTOTYPES
6736 GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
6737 GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
6738 GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
6739 GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
6740 GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
6741 GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
6742 GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
6743 GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6744 GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6745 GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6746 GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6747 GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6748 GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6749 GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
6750 GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
6751 GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
6752 GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
6753 GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
6754 GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
6755 GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
6756 GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6757 GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6758 GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6759 GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6760 GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6761 GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6762 GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6763 GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6764 GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6765 GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6766 GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
6767 GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
6768 GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
6769 GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
6770 GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
6771 GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
6772 GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6773 GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
6774 GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
6775 GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6776 GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6777 GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
6778 GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6779 GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
6780 GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
6781 GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
6782 GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
6783 GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
6784 GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
6785 GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6786 GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6787 GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
6788 GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
6789 GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
6790 GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
6791 GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6792 GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6793 GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6794 GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6795 GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6796 GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6797 GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6798 GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6799 GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6800 GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6801 GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6802 GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6803 GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6804 GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6805 GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
6806 GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
6807 GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
6808 GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
6809 GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6810 GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
6811 GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
6812 GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
6813 GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
6814 GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
6815 GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
6816 GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
6817 GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
6818 GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
6819 GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
6820 GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6821 GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6822 GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6823 GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
6824 GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6825 GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6826 GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
6827 GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6828 GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6829 GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6830 GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
6831 GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6832 GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6833 GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
6834 GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
6835 GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
6836 GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
6837 GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
6838 GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
6839 GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
6840 GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
6841 GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
6842 GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
6843 GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
6844 GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
6845 GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
6846 GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
6847 GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6848 GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6849 GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
6850 GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
6851 GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
6852 GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6853 GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6854 GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6855 GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6856 GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6857 GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6858 GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6859 GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6860 GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6861 GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6862 GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6863 GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6864 GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6865 GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6866 GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6867 GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6868 GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6869 GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6870 GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
6871 GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
6872 GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6873 GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
6874 GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
6875 GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
6876 GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6877 GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
6878 GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6879 GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
6880 GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
6881 GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
6882 GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
6883 GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6884 GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6885 GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6886 GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6887 GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6888 GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6889 GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
6890 GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
6891 GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
6892 GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6893 GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
6894 GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
6895 GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
6896 GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
6897 GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
6898 GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
6899 GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
6900 GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
6901 GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
6902 GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
6903 GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6904 GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
6905 GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6906 GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
6907 GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
6908 GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
6909 GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
6910 GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
6911 GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
6912 GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
6913 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6914 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
6915 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
6916 GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6917 GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6918 GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6919 GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6920 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
6921 GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
6922 GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
6923 GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
6924 GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
6925 GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
6926 GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
6927 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
6928 GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
6929 GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
6930 GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
6931 GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
6932 GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
6933 GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6934 GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6935 GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
6936 GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6937 GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6938 GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6939 GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6940 GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6941 GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6942 GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
6943 GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6944 GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
6945 GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
6946 GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
6947 GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
6948 GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
6949 GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
6950 GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
6951 GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
6952 GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
6953 GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
6954 GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
6955 GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
6956 GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
6957 GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
6958 GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
6959 GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
6960 GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
6961 GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
6962 GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6963 GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6964 GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6965 GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6966 GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6967 GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6968 GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6969 GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6970 GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6971 GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6972 GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6973 GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6974 GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6975 GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6976 GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
6977 GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
6978 GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
6979 GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
6980 GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
6981 GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
6982 GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
6983 GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
6984 GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6985 GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6986 GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6987 GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6988 GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6989 GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
6990 GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
6991 #endif
6992 #endif /* GL_EXT_direct_state_access */
6994 #ifndef GL_EXT_draw_buffers2
6995 #define GL_EXT_draw_buffers2 1
6996 typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
6997 #ifdef GL_GLEXT_PROTOTYPES
6998 GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
6999 #endif
7000 #endif /* GL_EXT_draw_buffers2 */
7002 #ifndef GL_EXT_draw_instanced
7003 #define GL_EXT_draw_instanced 1
7004 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
7005 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
7006 #ifdef GL_GLEXT_PROTOTYPES
7007 GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
7008 GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
7009 #endif
7010 #endif /* GL_EXT_draw_instanced */
7012 #ifndef GL_EXT_draw_range_elements
7013 #define GL_EXT_draw_range_elements 1
7014 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
7015 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
7016 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
7017 #ifdef GL_GLEXT_PROTOTYPES
7018 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
7019 #endif
7020 #endif /* GL_EXT_draw_range_elements */
7022 #ifndef GL_EXT_fog_coord
7023 #define GL_EXT_fog_coord 1
7024 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
7025 #define GL_FOG_COORDINATE_EXT 0x8451
7026 #define GL_FRAGMENT_DEPTH_EXT 0x8452
7027 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
7028 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
7029 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
7030 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
7031 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
7032 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
7033 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
7034 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
7035 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
7036 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
7037 #ifdef GL_GLEXT_PROTOTYPES
7038 GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
7039 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
7040 GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
7041 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
7042 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
7043 #endif
7044 #endif /* GL_EXT_fog_coord */
7046 #ifndef GL_EXT_framebuffer_blit
7047 #define GL_EXT_framebuffer_blit 1
7048 #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
7049 #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
7050 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
7051 #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
7052 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7053 #ifdef GL_GLEXT_PROTOTYPES
7054 GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7055 #endif
7056 #endif /* GL_EXT_framebuffer_blit */
7058 #ifndef GL_EXT_framebuffer_multisample
7059 #define GL_EXT_framebuffer_multisample 1
7060 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
7061 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
7062 #define GL_MAX_SAMPLES_EXT 0x8D57
7063 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7064 #ifdef GL_GLEXT_PROTOTYPES
7065 GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7066 #endif
7067 #endif /* GL_EXT_framebuffer_multisample */
7069 #ifndef GL_EXT_framebuffer_multisample_blit_scaled
7070 #define GL_EXT_framebuffer_multisample_blit_scaled 1
7071 #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
7072 #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
7073 #endif /* GL_EXT_framebuffer_multisample_blit_scaled */
7075 #ifndef GL_EXT_framebuffer_object
7076 #define GL_EXT_framebuffer_object 1
7077 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
7078 #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
7079 #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
7080 #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
7081 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
7082 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
7083 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
7084 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
7085 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
7086 #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
7087 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
7088 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
7089 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
7090 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
7091 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
7092 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
7093 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
7094 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
7095 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
7096 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
7097 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
7098 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
7099 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
7100 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
7101 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
7102 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
7103 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
7104 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
7105 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
7106 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
7107 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
7108 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
7109 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
7110 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
7111 #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
7112 #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
7113 #define GL_FRAMEBUFFER_EXT 0x8D40
7114 #define GL_RENDERBUFFER_EXT 0x8D41
7115 #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
7116 #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
7117 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
7118 #define GL_STENCIL_INDEX1_EXT 0x8D46
7119 #define GL_STENCIL_INDEX4_EXT 0x8D47
7120 #define GL_STENCIL_INDEX8_EXT 0x8D48
7121 #define GL_STENCIL_INDEX16_EXT 0x8D49
7122 #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
7123 #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
7124 #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
7125 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
7126 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
7127 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
7128 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
7129 typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
7130 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
7131 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
7132 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7133 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7134 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
7135 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
7136 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
7137 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
7138 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
7139 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7140 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7141 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7142 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7143 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7144 typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
7145 #ifdef GL_GLEXT_PROTOTYPES
7146 GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
7147 GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
7148 GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
7149 GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
7150 GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7151 GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
7152 GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
7153 GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
7154 GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
7155 GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
7156 GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
7157 GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7158 GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7159 GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7160 GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7161 GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7162 GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
7163 #endif
7164 #endif /* GL_EXT_framebuffer_object */
7166 #ifndef GL_EXT_framebuffer_sRGB
7167 #define GL_EXT_framebuffer_sRGB 1
7168 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
7169 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
7170 #endif /* GL_EXT_framebuffer_sRGB */
7172 #ifndef GL_EXT_geometry_shader4
7173 #define GL_EXT_geometry_shader4 1
7174 #define GL_GEOMETRY_SHADER_EXT 0x8DD9
7175 #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
7176 #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
7177 #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
7178 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
7179 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
7180 #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
7181 #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
7182 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
7183 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
7184 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
7185 #define GL_LINES_ADJACENCY_EXT 0x000A
7186 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
7187 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
7188 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
7189 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
7190 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
7191 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
7192 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
7193 #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
7194 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
7195 #ifdef GL_GLEXT_PROTOTYPES
7196 GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
7197 #endif
7198 #endif /* GL_EXT_geometry_shader4 */
7200 #ifndef GL_EXT_gpu_program_parameters
7201 #define GL_EXT_gpu_program_parameters 1
7202 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7203 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7204 #ifdef GL_GLEXT_PROTOTYPES
7205 GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7206 GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7207 #endif
7208 #endif /* GL_EXT_gpu_program_parameters */
7210 #ifndef GL_EXT_gpu_shader4
7211 #define GL_EXT_gpu_shader4 1
7212 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
7213 #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
7214 #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
7215 #define GL_SAMPLER_BUFFER_EXT 0x8DC2
7216 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
7217 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
7218 #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
7219 #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
7220 #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
7221 #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
7222 #define GL_INT_SAMPLER_1D_EXT 0x8DC9
7223 #define GL_INT_SAMPLER_2D_EXT 0x8DCA
7224 #define GL_INT_SAMPLER_3D_EXT 0x8DCB
7225 #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
7226 #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
7227 #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
7228 #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
7229 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
7230 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
7231 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
7232 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
7233 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
7234 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
7235 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
7236 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
7237 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
7238 #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
7239 #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
7240 typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
7241 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
7242 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
7243 typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
7244 typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
7245 typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
7246 typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7247 typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7248 typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7249 typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7250 typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7251 #ifdef GL_GLEXT_PROTOTYPES
7252 GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
7253 GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
7254 GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
7255 GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
7256 GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
7257 GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
7258 GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7259 GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
7260 GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
7261 GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
7262 GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
7263 #endif
7264 #endif /* GL_EXT_gpu_shader4 */
7266 #ifndef GL_EXT_histogram
7267 #define GL_EXT_histogram 1
7268 #define GL_HISTOGRAM_EXT 0x8024
7269 #define GL_PROXY_HISTOGRAM_EXT 0x8025
7270 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
7271 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
7272 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
7273 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
7274 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
7275 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
7276 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
7277 #define GL_HISTOGRAM_SINK_EXT 0x802D
7278 #define GL_MINMAX_EXT 0x802E
7279 #define GL_MINMAX_FORMAT_EXT 0x802F
7280 #define GL_MINMAX_SINK_EXT 0x8030
7281 #define GL_TABLE_TOO_LARGE_EXT 0x8031
7282 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7283 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7284 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7285 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7286 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7287 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7288 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7289 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
7290 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
7291 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
7292 #ifdef GL_GLEXT_PROTOTYPES
7293 GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7294 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7295 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
7296 GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7297 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7298 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
7299 GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7300 GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
7301 GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
7302 GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
7303 #endif
7304 #endif /* GL_EXT_histogram */
7306 #ifndef GL_EXT_index_array_formats
7307 #define GL_EXT_index_array_formats 1
7308 #define GL_IUI_V2F_EXT 0x81AD
7309 #define GL_IUI_V3F_EXT 0x81AE
7310 #define GL_IUI_N3F_V2F_EXT 0x81AF
7311 #define GL_IUI_N3F_V3F_EXT 0x81B0
7312 #define GL_T2F_IUI_V2F_EXT 0x81B1
7313 #define GL_T2F_IUI_V3F_EXT 0x81B2
7314 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
7315 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
7316 #endif /* GL_EXT_index_array_formats */
7318 #ifndef GL_EXT_index_func
7319 #define GL_EXT_index_func 1
7320 #define GL_INDEX_TEST_EXT 0x81B5
7321 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
7322 #define GL_INDEX_TEST_REF_EXT 0x81B7
7323 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
7324 #ifdef GL_GLEXT_PROTOTYPES
7325 GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
7326 #endif
7327 #endif /* GL_EXT_index_func */
7329 #ifndef GL_EXT_index_material
7330 #define GL_EXT_index_material 1
7331 #define GL_INDEX_MATERIAL_EXT 0x81B8
7332 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
7333 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
7334 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
7335 #ifdef GL_GLEXT_PROTOTYPES
7336 GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
7337 #endif
7338 #endif /* GL_EXT_index_material */
7340 #ifndef GL_EXT_index_texture
7341 #define GL_EXT_index_texture 1
7342 #endif /* GL_EXT_index_texture */
7344 #ifndef GL_EXT_light_texture
7345 #define GL_EXT_light_texture 1
7346 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
7347 #define GL_FRAGMENT_NORMAL_EXT 0x834A
7348 #define GL_FRAGMENT_COLOR_EXT 0x834C
7349 #define GL_ATTENUATION_EXT 0x834D
7350 #define GL_SHADOW_ATTENUATION_EXT 0x834E
7351 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
7352 #define GL_TEXTURE_LIGHT_EXT 0x8350
7353 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
7354 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
7355 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
7356 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
7357 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
7358 #ifdef GL_GLEXT_PROTOTYPES
7359 GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
7360 GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
7361 GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
7362 #endif
7363 #endif /* GL_EXT_light_texture */
7365 #ifndef GL_EXT_misc_attribute
7366 #define GL_EXT_misc_attribute 1
7367 #endif /* GL_EXT_misc_attribute */
7369 #ifndef GL_EXT_multi_draw_arrays
7370 #define GL_EXT_multi_draw_arrays 1
7371 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
7372 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
7373 #ifdef GL_GLEXT_PROTOTYPES
7374 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
7375 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
7376 #endif
7377 #endif /* GL_EXT_multi_draw_arrays */
7379 #ifndef GL_EXT_multisample
7380 #define GL_EXT_multisample 1
7381 #define GL_MULTISAMPLE_EXT 0x809D
7382 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
7383 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
7384 #define GL_SAMPLE_MASK_EXT 0x80A0
7385 #define GL_1PASS_EXT 0x80A1
7386 #define GL_2PASS_0_EXT 0x80A2
7387 #define GL_2PASS_1_EXT 0x80A3
7388 #define GL_4PASS_0_EXT 0x80A4
7389 #define GL_4PASS_1_EXT 0x80A5
7390 #define GL_4PASS_2_EXT 0x80A6
7391 #define GL_4PASS_3_EXT 0x80A7
7392 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
7393 #define GL_SAMPLES_EXT 0x80A9
7394 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
7395 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
7396 #define GL_SAMPLE_PATTERN_EXT 0x80AC
7397 #define GL_MULTISAMPLE_BIT_EXT 0x20000000
7398 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
7399 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
7400 #ifdef GL_GLEXT_PROTOTYPES
7401 GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
7402 GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
7403 #endif
7404 #endif /* GL_EXT_multisample */
7406 #ifndef GL_EXT_packed_depth_stencil
7407 #define GL_EXT_packed_depth_stencil 1
7408 #define GL_DEPTH_STENCIL_EXT 0x84F9
7409 #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
7410 #define GL_DEPTH24_STENCIL8_EXT 0x88F0
7411 #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
7412 #endif /* GL_EXT_packed_depth_stencil */
7414 #ifndef GL_EXT_packed_float
7415 #define GL_EXT_packed_float 1
7416 #define GL_R11F_G11F_B10F_EXT 0x8C3A
7417 #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
7418 #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
7419 #endif /* GL_EXT_packed_float */
7421 #ifndef GL_EXT_packed_pixels
7422 #define GL_EXT_packed_pixels 1
7423 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
7424 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
7425 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
7426 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
7427 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
7428 #endif /* GL_EXT_packed_pixels */
7430 #ifndef GL_EXT_paletted_texture
7431 #define GL_EXT_paletted_texture 1
7432 #define GL_COLOR_INDEX1_EXT 0x80E2
7433 #define GL_COLOR_INDEX2_EXT 0x80E3
7434 #define GL_COLOR_INDEX4_EXT 0x80E4
7435 #define GL_COLOR_INDEX8_EXT 0x80E5
7436 #define GL_COLOR_INDEX12_EXT 0x80E6
7437 #define GL_COLOR_INDEX16_EXT 0x80E7
7438 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
7439 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7440 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
7441 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7442 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7443 #ifdef GL_GLEXT_PROTOTYPES
7444 GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7445 GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
7446 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
7447 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7448 #endif
7449 #endif /* GL_EXT_paletted_texture */
7451 #ifndef GL_EXT_pixel_buffer_object
7452 #define GL_EXT_pixel_buffer_object 1
7453 #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
7454 #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
7455 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
7456 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
7457 #endif /* GL_EXT_pixel_buffer_object */
7459 #ifndef GL_EXT_pixel_transform
7460 #define GL_EXT_pixel_transform 1
7461 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
7462 #define GL_PIXEL_MAG_FILTER_EXT 0x8331
7463 #define GL_PIXEL_MIN_FILTER_EXT 0x8332
7464 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
7465 #define GL_CUBIC_EXT 0x8334
7466 #define GL_AVERAGE_EXT 0x8335
7467 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
7468 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
7469 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
7470 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
7471 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
7472 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
7473 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
7474 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7475 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7476 #ifdef GL_GLEXT_PROTOTYPES
7477 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
7478 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
7479 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
7480 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
7481 GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
7482 GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7483 #endif
7484 #endif /* GL_EXT_pixel_transform */
7486 #ifndef GL_EXT_pixel_transform_color_table
7487 #define GL_EXT_pixel_transform_color_table 1
7488 #endif /* GL_EXT_pixel_transform_color_table */
7490 #ifndef GL_EXT_point_parameters
7491 #define GL_EXT_point_parameters 1
7492 #define GL_POINT_SIZE_MIN_EXT 0x8126
7493 #define GL_POINT_SIZE_MAX_EXT 0x8127
7494 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
7495 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
7496 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
7497 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
7498 #ifdef GL_GLEXT_PROTOTYPES
7499 GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
7500 GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
7501 #endif
7502 #endif /* GL_EXT_point_parameters */
7504 #ifndef GL_EXT_polygon_offset
7505 #define GL_EXT_polygon_offset 1
7506 #define GL_POLYGON_OFFSET_EXT 0x8037
7507 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
7508 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
7509 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
7510 #ifdef GL_GLEXT_PROTOTYPES
7511 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
7512 #endif
7513 #endif /* GL_EXT_polygon_offset */
7515 #ifndef GL_EXT_polygon_offset_clamp
7516 #define GL_EXT_polygon_offset_clamp 1
7517 #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
7518 typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
7519 #ifdef GL_GLEXT_PROTOTYPES
7520 GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
7521 #endif
7522 #endif /* GL_EXT_polygon_offset_clamp */
7524 #ifndef GL_EXT_post_depth_coverage
7525 #define GL_EXT_post_depth_coverage 1
7526 #endif /* GL_EXT_post_depth_coverage */
7528 #ifndef GL_EXT_provoking_vertex
7529 #define GL_EXT_provoking_vertex 1
7530 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
7531 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
7532 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
7533 #define GL_PROVOKING_VERTEX_EXT 0x8E4F
7534 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
7535 #ifdef GL_GLEXT_PROTOTYPES
7536 GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
7537 #endif
7538 #endif /* GL_EXT_provoking_vertex */
7540 #ifndef GL_EXT_raster_multisample
7541 #define GL_EXT_raster_multisample 1
7542 #define GL_RASTER_MULTISAMPLE_EXT 0x9327
7543 #define GL_RASTER_SAMPLES_EXT 0x9328
7544 #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
7545 #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
7546 #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
7547 #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
7548 typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
7549 #ifdef GL_GLEXT_PROTOTYPES
7550 GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
7551 #endif
7552 #endif /* GL_EXT_raster_multisample */
7554 #ifndef GL_EXT_rescale_normal
7555 #define GL_EXT_rescale_normal 1
7556 #define GL_RESCALE_NORMAL_EXT 0x803A
7557 #endif /* GL_EXT_rescale_normal */
7559 #ifndef GL_EXT_secondary_color
7560 #define GL_EXT_secondary_color 1
7561 #define GL_COLOR_SUM_EXT 0x8458
7562 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
7563 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
7564 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
7565 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
7566 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
7567 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
7568 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
7569 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
7570 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
7571 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
7572 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
7573 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
7574 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
7575 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
7576 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
7577 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
7578 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
7579 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
7580 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
7581 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
7582 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
7583 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
7584 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
7585 #ifdef GL_GLEXT_PROTOTYPES
7586 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
7587 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
7588 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
7589 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
7590 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
7591 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
7592 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
7593 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
7594 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
7595 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
7596 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
7597 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
7598 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
7599 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
7600 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
7601 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
7602 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
7603 #endif
7604 #endif /* GL_EXT_secondary_color */
7606 #ifndef GL_EXT_separate_shader_objects
7607 #define GL_EXT_separate_shader_objects 1
7608 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
7609 typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
7610 typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
7611 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
7612 #ifdef GL_GLEXT_PROTOTYPES
7613 GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
7614 GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
7615 GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
7616 #endif
7617 #endif /* GL_EXT_separate_shader_objects */
7619 #ifndef GL_EXT_separate_specular_color
7620 #define GL_EXT_separate_specular_color 1
7621 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
7622 #define GL_SINGLE_COLOR_EXT 0x81F9
7623 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
7624 #endif /* GL_EXT_separate_specular_color */
7626 #ifndef GL_EXT_shader_image_load_formatted
7627 #define GL_EXT_shader_image_load_formatted 1
7628 #endif /* GL_EXT_shader_image_load_formatted */
7630 #ifndef GL_EXT_shader_image_load_store
7631 #define GL_EXT_shader_image_load_store 1
7632 #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
7633 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
7634 #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
7635 #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
7636 #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
7637 #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
7638 #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
7639 #define GL_IMAGE_1D_EXT 0x904C
7640 #define GL_IMAGE_2D_EXT 0x904D
7641 #define GL_IMAGE_3D_EXT 0x904E
7642 #define GL_IMAGE_2D_RECT_EXT 0x904F
7643 #define GL_IMAGE_CUBE_EXT 0x9050
7644 #define GL_IMAGE_BUFFER_EXT 0x9051
7645 #define GL_IMAGE_1D_ARRAY_EXT 0x9052
7646 #define GL_IMAGE_2D_ARRAY_EXT 0x9053
7647 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
7648 #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
7649 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
7650 #define GL_INT_IMAGE_1D_EXT 0x9057
7651 #define GL_INT_IMAGE_2D_EXT 0x9058
7652 #define GL_INT_IMAGE_3D_EXT 0x9059
7653 #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
7654 #define GL_INT_IMAGE_CUBE_EXT 0x905B
7655 #define GL_INT_IMAGE_BUFFER_EXT 0x905C
7656 #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
7657 #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
7658 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
7659 #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
7660 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
7661 #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
7662 #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
7663 #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
7664 #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
7665 #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
7666 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
7667 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
7668 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
7669 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
7670 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
7671 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
7672 #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
7673 #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
7674 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
7675 #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
7676 #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
7677 #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
7678 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
7679 #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
7680 #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
7681 #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
7682 #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
7683 #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
7684 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
7685 #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
7686 #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
7687 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
7688 typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
7689 #ifdef GL_GLEXT_PROTOTYPES
7690 GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
7691 GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
7692 #endif
7693 #endif /* GL_EXT_shader_image_load_store */
7695 #ifndef GL_EXT_shader_integer_mix
7696 #define GL_EXT_shader_integer_mix 1
7697 #endif /* GL_EXT_shader_integer_mix */
7699 #ifndef GL_EXT_shadow_funcs
7700 #define GL_EXT_shadow_funcs 1
7701 #endif /* GL_EXT_shadow_funcs */
7703 #ifndef GL_EXT_shared_texture_palette
7704 #define GL_EXT_shared_texture_palette 1
7705 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
7706 #endif /* GL_EXT_shared_texture_palette */
7708 #ifndef GL_EXT_sparse_texture2
7709 #define GL_EXT_sparse_texture2 1
7710 #endif /* GL_EXT_sparse_texture2 */
7712 #ifndef GL_EXT_stencil_clear_tag
7713 #define GL_EXT_stencil_clear_tag 1
7714 #define GL_STENCIL_TAG_BITS_EXT 0x88F2
7715 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
7716 typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
7717 #ifdef GL_GLEXT_PROTOTYPES
7718 GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
7719 #endif
7720 #endif /* GL_EXT_stencil_clear_tag */
7722 #ifndef GL_EXT_stencil_two_side
7723 #define GL_EXT_stencil_two_side 1
7724 #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
7725 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
7726 typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
7727 #ifdef GL_GLEXT_PROTOTYPES
7728 GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
7729 #endif
7730 #endif /* GL_EXT_stencil_two_side */
7732 #ifndef GL_EXT_stencil_wrap
7733 #define GL_EXT_stencil_wrap 1
7734 #define GL_INCR_WRAP_EXT 0x8507
7735 #define GL_DECR_WRAP_EXT 0x8508
7736 #endif /* GL_EXT_stencil_wrap */
7738 #ifndef GL_EXT_subtexture
7739 #define GL_EXT_subtexture 1
7740 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7741 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
7742 #ifdef GL_GLEXT_PROTOTYPES
7743 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7744 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
7745 #endif
7746 #endif /* GL_EXT_subtexture */
7748 #ifndef GL_EXT_texture
7749 #define GL_EXT_texture 1
7750 #define GL_ALPHA4_EXT 0x803B
7751 #define GL_ALPHA8_EXT 0x803C
7752 #define GL_ALPHA12_EXT 0x803D
7753 #define GL_ALPHA16_EXT 0x803E
7754 #define GL_LUMINANCE4_EXT 0x803F
7755 #define GL_LUMINANCE8_EXT 0x8040
7756 #define GL_LUMINANCE12_EXT 0x8041
7757 #define GL_LUMINANCE16_EXT 0x8042
7758 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
7759 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
7760 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
7761 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
7762 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
7763 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
7764 #define GL_INTENSITY_EXT 0x8049
7765 #define GL_INTENSITY4_EXT 0x804A
7766 #define GL_INTENSITY8_EXT 0x804B
7767 #define GL_INTENSITY12_EXT 0x804C
7768 #define GL_INTENSITY16_EXT 0x804D
7769 #define GL_RGB2_EXT 0x804E
7770 #define GL_RGB4_EXT 0x804F
7771 #define GL_RGB5_EXT 0x8050
7772 #define GL_RGB8_EXT 0x8051
7773 #define GL_RGB10_EXT 0x8052
7774 #define GL_RGB12_EXT 0x8053
7775 #define GL_RGB16_EXT 0x8054
7776 #define GL_RGBA2_EXT 0x8055
7777 #define GL_RGBA4_EXT 0x8056
7778 #define GL_RGB5_A1_EXT 0x8057
7779 #define GL_RGBA8_EXT 0x8058
7780 #define GL_RGB10_A2_EXT 0x8059
7781 #define GL_RGBA12_EXT 0x805A
7782 #define GL_RGBA16_EXT 0x805B
7783 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
7784 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
7785 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
7786 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
7787 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
7788 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
7789 #define GL_REPLACE_EXT 0x8062
7790 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
7791 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
7792 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
7793 #endif /* GL_EXT_texture */
7795 #ifndef GL_EXT_texture3D
7796 #define GL_EXT_texture3D 1
7797 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
7798 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
7799 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
7800 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
7801 #define GL_TEXTURE_3D_EXT 0x806F
7802 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
7803 #define GL_TEXTURE_DEPTH_EXT 0x8071
7804 #define GL_TEXTURE_WRAP_R_EXT 0x8072
7805 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
7806 typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
7807 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
7808 #ifdef GL_GLEXT_PROTOTYPES
7809 GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
7810 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
7811 #endif
7812 #endif /* GL_EXT_texture3D */
7814 #ifndef GL_EXT_texture_array
7815 #define GL_EXT_texture_array 1
7816 #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
7817 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
7818 #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
7819 #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
7820 #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
7821 #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
7822 #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
7823 #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
7824 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
7825 #ifdef GL_GLEXT_PROTOTYPES
7826 GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
7827 #endif
7828 #endif /* GL_EXT_texture_array */
7830 #ifndef GL_EXT_texture_buffer_object
7831 #define GL_EXT_texture_buffer_object 1
7832 #define GL_TEXTURE_BUFFER_EXT 0x8C2A
7833 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
7834 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
7835 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
7836 #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
7837 typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
7838 #ifdef GL_GLEXT_PROTOTYPES
7839 GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
7840 #endif
7841 #endif /* GL_EXT_texture_buffer_object */
7843 #ifndef GL_EXT_texture_compression_latc
7844 #define GL_EXT_texture_compression_latc 1
7845 #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
7846 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
7847 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
7848 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
7849 #endif /* GL_EXT_texture_compression_latc */
7851 #ifndef GL_EXT_texture_compression_rgtc
7852 #define GL_EXT_texture_compression_rgtc 1
7853 #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
7854 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
7855 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
7856 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
7857 #endif /* GL_EXT_texture_compression_rgtc */
7859 #ifndef GL_EXT_texture_compression_s3tc
7860 #define GL_EXT_texture_compression_s3tc 1
7861 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
7862 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
7863 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
7864 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
7865 #endif /* GL_EXT_texture_compression_s3tc */
7867 #ifndef GL_EXT_texture_cube_map
7868 #define GL_EXT_texture_cube_map 1
7869 #define GL_NORMAL_MAP_EXT 0x8511
7870 #define GL_REFLECTION_MAP_EXT 0x8512
7871 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
7872 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
7873 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
7874 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
7875 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
7876 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
7877 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
7878 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
7879 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
7880 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
7881 #endif /* GL_EXT_texture_cube_map */
7883 #ifndef GL_EXT_texture_env_add
7884 #define GL_EXT_texture_env_add 1
7885 #endif /* GL_EXT_texture_env_add */
7887 #ifndef GL_EXT_texture_env_combine
7888 #define GL_EXT_texture_env_combine 1
7889 #define GL_COMBINE_EXT 0x8570
7890 #define GL_COMBINE_RGB_EXT 0x8571
7891 #define GL_COMBINE_ALPHA_EXT 0x8572
7892 #define GL_RGB_SCALE_EXT 0x8573
7893 #define GL_ADD_SIGNED_EXT 0x8574
7894 #define GL_INTERPOLATE_EXT 0x8575
7895 #define GL_CONSTANT_EXT 0x8576
7896 #define GL_PRIMARY_COLOR_EXT 0x8577
7897 #define GL_PREVIOUS_EXT 0x8578
7898 #define GL_SOURCE0_RGB_EXT 0x8580
7899 #define GL_SOURCE1_RGB_EXT 0x8581
7900 #define GL_SOURCE2_RGB_EXT 0x8582
7901 #define GL_SOURCE0_ALPHA_EXT 0x8588
7902 #define GL_SOURCE1_ALPHA_EXT 0x8589
7903 #define GL_SOURCE2_ALPHA_EXT 0x858A
7904 #define GL_OPERAND0_RGB_EXT 0x8590
7905 #define GL_OPERAND1_RGB_EXT 0x8591
7906 #define GL_OPERAND2_RGB_EXT 0x8592
7907 #define GL_OPERAND0_ALPHA_EXT 0x8598
7908 #define GL_OPERAND1_ALPHA_EXT 0x8599
7909 #define GL_OPERAND2_ALPHA_EXT 0x859A
7910 #endif /* GL_EXT_texture_env_combine */
7912 #ifndef GL_EXT_texture_env_dot3
7913 #define GL_EXT_texture_env_dot3 1
7914 #define GL_DOT3_RGB_EXT 0x8740
7915 #define GL_DOT3_RGBA_EXT 0x8741
7916 #endif /* GL_EXT_texture_env_dot3 */
7918 #ifndef GL_EXT_texture_filter_anisotropic
7919 #define GL_EXT_texture_filter_anisotropic 1
7920 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
7921 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
7922 #endif /* GL_EXT_texture_filter_anisotropic */
7924 #ifndef GL_EXT_texture_filter_minmax
7925 #define GL_EXT_texture_filter_minmax 1
7926 #endif /* GL_EXT_texture_filter_minmax */
7928 #ifndef GL_EXT_texture_integer
7929 #define GL_EXT_texture_integer 1
7930 #define GL_RGBA32UI_EXT 0x8D70
7931 #define GL_RGB32UI_EXT 0x8D71
7932 #define GL_ALPHA32UI_EXT 0x8D72
7933 #define GL_INTENSITY32UI_EXT 0x8D73
7934 #define GL_LUMINANCE32UI_EXT 0x8D74
7935 #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
7936 #define GL_RGBA16UI_EXT 0x8D76
7937 #define GL_RGB16UI_EXT 0x8D77
7938 #define GL_ALPHA16UI_EXT 0x8D78
7939 #define GL_INTENSITY16UI_EXT 0x8D79
7940 #define GL_LUMINANCE16UI_EXT 0x8D7A
7941 #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
7942 #define GL_RGBA8UI_EXT 0x8D7C
7943 #define GL_RGB8UI_EXT 0x8D7D
7944 #define GL_ALPHA8UI_EXT 0x8D7E
7945 #define GL_INTENSITY8UI_EXT 0x8D7F
7946 #define GL_LUMINANCE8UI_EXT 0x8D80
7947 #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
7948 #define GL_RGBA32I_EXT 0x8D82
7949 #define GL_RGB32I_EXT 0x8D83
7950 #define GL_ALPHA32I_EXT 0x8D84
7951 #define GL_INTENSITY32I_EXT 0x8D85
7952 #define GL_LUMINANCE32I_EXT 0x8D86
7953 #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
7954 #define GL_RGBA16I_EXT 0x8D88
7955 #define GL_RGB16I_EXT 0x8D89
7956 #define GL_ALPHA16I_EXT 0x8D8A
7957 #define GL_INTENSITY16I_EXT 0x8D8B
7958 #define GL_LUMINANCE16I_EXT 0x8D8C
7959 #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
7960 #define GL_RGBA8I_EXT 0x8D8E
7961 #define GL_RGB8I_EXT 0x8D8F
7962 #define GL_ALPHA8I_EXT 0x8D90
7963 #define GL_INTENSITY8I_EXT 0x8D91
7964 #define GL_LUMINANCE8I_EXT 0x8D92
7965 #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
7966 #define GL_RED_INTEGER_EXT 0x8D94
7967 #define GL_GREEN_INTEGER_EXT 0x8D95
7968 #define GL_BLUE_INTEGER_EXT 0x8D96
7969 #define GL_ALPHA_INTEGER_EXT 0x8D97
7970 #define GL_RGB_INTEGER_EXT 0x8D98
7971 #define GL_RGBA_INTEGER_EXT 0x8D99
7972 #define GL_BGR_INTEGER_EXT 0x8D9A
7973 #define GL_BGRA_INTEGER_EXT 0x8D9B
7974 #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
7975 #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
7976 #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
7977 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
7978 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
7979 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7980 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
7981 typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
7982 typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
7983 #ifdef GL_GLEXT_PROTOTYPES
7984 GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
7985 GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
7986 GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
7987 GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
7988 GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
7989 GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
7990 #endif
7991 #endif /* GL_EXT_texture_integer */
7993 #ifndef GL_EXT_texture_lod_bias
7994 #define GL_EXT_texture_lod_bias 1
7995 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
7996 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
7997 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
7998 #endif /* GL_EXT_texture_lod_bias */
8000 #ifndef GL_EXT_texture_mirror_clamp
8001 #define GL_EXT_texture_mirror_clamp 1
8002 #define GL_MIRROR_CLAMP_EXT 0x8742
8003 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
8004 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
8005 #endif /* GL_EXT_texture_mirror_clamp */
8007 #ifndef GL_EXT_texture_object
8008 #define GL_EXT_texture_object 1
8009 #define GL_TEXTURE_PRIORITY_EXT 0x8066
8010 #define GL_TEXTURE_RESIDENT_EXT 0x8067
8011 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
8012 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
8013 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
8014 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
8015 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
8016 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
8017 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
8018 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
8019 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
8020 #ifdef GL_GLEXT_PROTOTYPES
8021 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
8022 GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
8023 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
8024 GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
8025 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
8026 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
8027 #endif
8028 #endif /* GL_EXT_texture_object */
8030 #ifndef GL_EXT_texture_perturb_normal
8031 #define GL_EXT_texture_perturb_normal 1
8032 #define GL_PERTURB_EXT 0x85AE
8033 #define GL_TEXTURE_NORMAL_EXT 0x85AF
8034 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
8035 #ifdef GL_GLEXT_PROTOTYPES
8036 GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
8037 #endif
8038 #endif /* GL_EXT_texture_perturb_normal */
8040 #ifndef GL_EXT_texture_sRGB
8041 #define GL_EXT_texture_sRGB 1
8042 #define GL_SRGB_EXT 0x8C40
8043 #define GL_SRGB8_EXT 0x8C41
8044 #define GL_SRGB_ALPHA_EXT 0x8C42
8045 #define GL_SRGB8_ALPHA8_EXT 0x8C43
8046 #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
8047 #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
8048 #define GL_SLUMINANCE_EXT 0x8C46
8049 #define GL_SLUMINANCE8_EXT 0x8C47
8050 #define GL_COMPRESSED_SRGB_EXT 0x8C48
8051 #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
8052 #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
8053 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
8054 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
8055 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
8056 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
8057 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
8058 #endif /* GL_EXT_texture_sRGB */
8060 #ifndef GL_EXT_texture_sRGB_decode
8061 #define GL_EXT_texture_sRGB_decode 1
8062 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
8063 #define GL_DECODE_EXT 0x8A49
8064 #define GL_SKIP_DECODE_EXT 0x8A4A
8065 #endif /* GL_EXT_texture_sRGB_decode */
8067 #ifndef GL_EXT_texture_shared_exponent
8068 #define GL_EXT_texture_shared_exponent 1
8069 #define GL_RGB9_E5_EXT 0x8C3D
8070 #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
8071 #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
8072 #endif /* GL_EXT_texture_shared_exponent */
8074 #ifndef GL_EXT_texture_snorm
8075 #define GL_EXT_texture_snorm 1
8076 #define GL_ALPHA_SNORM 0x9010
8077 #define GL_LUMINANCE_SNORM 0x9011
8078 #define GL_LUMINANCE_ALPHA_SNORM 0x9012
8079 #define GL_INTENSITY_SNORM 0x9013
8080 #define GL_ALPHA8_SNORM 0x9014
8081 #define GL_LUMINANCE8_SNORM 0x9015
8082 #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
8083 #define GL_INTENSITY8_SNORM 0x9017
8084 #define GL_ALPHA16_SNORM 0x9018
8085 #define GL_LUMINANCE16_SNORM 0x9019
8086 #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
8087 #define GL_INTENSITY16_SNORM 0x901B
8088 #define GL_RED_SNORM 0x8F90
8089 #define GL_RG_SNORM 0x8F91
8090 #define GL_RGB_SNORM 0x8F92
8091 #define GL_RGBA_SNORM 0x8F93
8092 #endif /* GL_EXT_texture_snorm */
8094 #ifndef GL_EXT_texture_swizzle
8095 #define GL_EXT_texture_swizzle 1
8096 #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
8097 #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
8098 #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
8099 #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
8100 #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
8101 #endif /* GL_EXT_texture_swizzle */
8103 #ifndef GL_EXT_timer_query
8104 #define GL_EXT_timer_query 1
8105 #define GL_TIME_ELAPSED_EXT 0x88BF
8106 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
8107 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
8108 #ifdef GL_GLEXT_PROTOTYPES
8109 GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
8110 GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
8111 #endif
8112 #endif /* GL_EXT_timer_query */
8114 #ifndef GL_EXT_transform_feedback
8115 #define GL_EXT_transform_feedback 1
8116 #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
8117 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
8118 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
8119 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
8120 #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
8121 #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
8122 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
8123 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
8124 #define GL_RASTERIZER_DISCARD_EXT 0x8C89
8125 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
8126 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
8127 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
8128 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
8129 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
8130 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
8131 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
8132 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
8133 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
8134 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
8135 typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
8136 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
8137 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
8138 #ifdef GL_GLEXT_PROTOTYPES
8139 GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
8140 GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
8141 GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
8142 GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
8143 GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
8144 GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
8145 GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
8146 #endif
8147 #endif /* GL_EXT_transform_feedback */
8149 #ifndef GL_EXT_vertex_array
8150 #define GL_EXT_vertex_array 1
8151 #define GL_VERTEX_ARRAY_EXT 0x8074
8152 #define GL_NORMAL_ARRAY_EXT 0x8075
8153 #define GL_COLOR_ARRAY_EXT 0x8076
8154 #define GL_INDEX_ARRAY_EXT 0x8077
8155 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
8156 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
8157 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
8158 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
8159 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
8160 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
8161 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
8162 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
8163 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
8164 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
8165 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
8166 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
8167 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
8168 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
8169 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
8170 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
8171 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
8172 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
8173 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
8174 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
8175 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
8176 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
8177 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
8178 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
8179 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
8180 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
8181 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
8182 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
8183 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
8184 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8185 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
8186 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
8187 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
8188 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8189 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8190 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8191 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8192 #ifdef GL_GLEXT_PROTOTYPES
8193 GLAPI void APIENTRY glArrayElementEXT (GLint i);
8194 GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8195 GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
8196 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
8197 GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
8198 GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8199 GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8200 GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8201 GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8202 #endif
8203 #endif /* GL_EXT_vertex_array */
8205 #ifndef GL_EXT_vertex_array_bgra
8206 #define GL_EXT_vertex_array_bgra 1
8207 #endif /* GL_EXT_vertex_array_bgra */
8209 #ifndef GL_EXT_vertex_attrib_64bit
8210 #define GL_EXT_vertex_attrib_64bit 1
8211 #define GL_DOUBLE_VEC2_EXT 0x8FFC
8212 #define GL_DOUBLE_VEC3_EXT 0x8FFD
8213 #define GL_DOUBLE_VEC4_EXT 0x8FFE
8214 #define GL_DOUBLE_MAT2_EXT 0x8F46
8215 #define GL_DOUBLE_MAT3_EXT 0x8F47
8216 #define GL_DOUBLE_MAT4_EXT 0x8F48
8217 #define GL_DOUBLE_MAT2x3_EXT 0x8F49
8218 #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
8219 #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
8220 #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
8221 #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
8222 #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
8223 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
8224 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
8225 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8226 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8227 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
8228 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
8229 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
8230 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
8231 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
8232 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
8233 #ifdef GL_GLEXT_PROTOTYPES
8234 GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
8235 GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
8236 GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8237 GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8238 GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
8239 GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
8240 GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
8241 GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
8242 GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
8243 GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
8244 #endif
8245 #endif /* GL_EXT_vertex_attrib_64bit */
8247 #ifndef GL_EXT_vertex_shader
8248 #define GL_EXT_vertex_shader 1
8249 #define GL_VERTEX_SHADER_EXT 0x8780
8250 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
8251 #define GL_OP_INDEX_EXT 0x8782
8252 #define GL_OP_NEGATE_EXT 0x8783
8253 #define GL_OP_DOT3_EXT 0x8784
8254 #define GL_OP_DOT4_EXT 0x8785
8255 #define GL_OP_MUL_EXT 0x8786
8256 #define GL_OP_ADD_EXT 0x8787
8257 #define GL_OP_MADD_EXT 0x8788
8258 #define GL_OP_FRAC_EXT 0x8789
8259 #define GL_OP_MAX_EXT 0x878A
8260 #define GL_OP_MIN_EXT 0x878B
8261 #define GL_OP_SET_GE_EXT 0x878C
8262 #define GL_OP_SET_LT_EXT 0x878D
8263 #define GL_OP_CLAMP_EXT 0x878E
8264 #define GL_OP_FLOOR_EXT 0x878F
8265 #define GL_OP_ROUND_EXT 0x8790
8266 #define GL_OP_EXP_BASE_2_EXT 0x8791
8267 #define GL_OP_LOG_BASE_2_EXT 0x8792
8268 #define GL_OP_POWER_EXT 0x8793
8269 #define GL_OP_RECIP_EXT 0x8794
8270 #define GL_OP_RECIP_SQRT_EXT 0x8795
8271 #define GL_OP_SUB_EXT 0x8796
8272 #define GL_OP_CROSS_PRODUCT_EXT 0x8797
8273 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
8274 #define GL_OP_MOV_EXT 0x8799
8275 #define GL_OUTPUT_VERTEX_EXT 0x879A
8276 #define GL_OUTPUT_COLOR0_EXT 0x879B
8277 #define GL_OUTPUT_COLOR1_EXT 0x879C
8278 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
8279 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
8280 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
8281 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
8282 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
8283 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
8284 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
8285 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
8286 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
8287 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
8288 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
8289 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
8290 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
8291 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
8292 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
8293 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
8294 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
8295 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
8296 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
8297 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
8298 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
8299 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
8300 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
8301 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
8302 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
8303 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
8304 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
8305 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
8306 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
8307 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
8308 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
8309 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
8310 #define GL_OUTPUT_FOG_EXT 0x87BD
8311 #define GL_SCALAR_EXT 0x87BE
8312 #define GL_VECTOR_EXT 0x87BF
8313 #define GL_MATRIX_EXT 0x87C0
8314 #define GL_VARIANT_EXT 0x87C1
8315 #define GL_INVARIANT_EXT 0x87C2
8316 #define GL_LOCAL_CONSTANT_EXT 0x87C3
8317 #define GL_LOCAL_EXT 0x87C4
8318 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
8319 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
8320 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
8321 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
8322 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
8323 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
8324 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
8325 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
8326 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
8327 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
8328 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
8329 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
8330 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
8331 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
8332 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
8333 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
8334 #define GL_X_EXT 0x87D5
8335 #define GL_Y_EXT 0x87D6
8336 #define GL_Z_EXT 0x87D7
8337 #define GL_W_EXT 0x87D8
8338 #define GL_NEGATIVE_X_EXT 0x87D9
8339 #define GL_NEGATIVE_Y_EXT 0x87DA
8340 #define GL_NEGATIVE_Z_EXT 0x87DB
8341 #define GL_NEGATIVE_W_EXT 0x87DC
8342 #define GL_ZERO_EXT 0x87DD
8343 #define GL_ONE_EXT 0x87DE
8344 #define GL_NEGATIVE_ONE_EXT 0x87DF
8345 #define GL_NORMALIZED_RANGE_EXT 0x87E0
8346 #define GL_FULL_RANGE_EXT 0x87E1
8347 #define GL_CURRENT_VERTEX_EXT 0x87E2
8348 #define GL_MVP_MATRIX_EXT 0x87E3
8349 #define GL_VARIANT_VALUE_EXT 0x87E4
8350 #define GL_VARIANT_DATATYPE_EXT 0x87E5
8351 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
8352 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
8353 #define GL_VARIANT_ARRAY_EXT 0x87E8
8354 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
8355 #define GL_INVARIANT_VALUE_EXT 0x87EA
8356 #define GL_INVARIANT_DATATYPE_EXT 0x87EB
8357 #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
8358 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
8359 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
8360 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
8361 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
8362 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
8363 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
8364 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
8365 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
8366 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
8367 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8368 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8369 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
8370 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
8371 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
8372 typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
8373 typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
8374 typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
8375 typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
8376 typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
8377 typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
8378 typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
8379 typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
8380 typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
8381 typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
8382 typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
8383 typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
8384 typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
8385 typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
8386 typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
8387 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
8388 typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
8389 typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
8390 typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
8391 typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8392 typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8393 typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8394 typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
8395 typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8396 typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8397 typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8398 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8399 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8400 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8401 #ifdef GL_GLEXT_PROTOTYPES
8402 GLAPI void APIENTRY glBeginVertexShaderEXT (void);
8403 GLAPI void APIENTRY glEndVertexShaderEXT (void);
8404 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
8405 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
8406 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
8407 GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
8408 GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
8409 GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
8410 GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8411 GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8412 GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
8413 GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
8414 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
8415 GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
8416 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
8417 GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
8418 GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
8419 GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
8420 GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
8421 GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
8422 GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
8423 GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
8424 GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
8425 GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
8426 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
8427 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
8428 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
8429 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
8430 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
8431 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
8432 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
8433 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
8434 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8435 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
8436 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8437 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
8438 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8439 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
8440 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8441 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8442 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
8443 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8444 #endif
8445 #endif /* GL_EXT_vertex_shader */
8447 #ifndef GL_EXT_vertex_weighting
8448 #define GL_EXT_vertex_weighting 1
8449 #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
8450 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
8451 #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
8452 #define GL_MODELVIEW1_MATRIX_EXT 0x8506
8453 #define GL_VERTEX_WEIGHTING_EXT 0x8509
8454 #define GL_MODELVIEW0_EXT 0x1700
8455 #define GL_MODELVIEW1_EXT 0x850A
8456 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
8457 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
8458 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
8459 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
8460 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
8461 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
8462 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
8463 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
8464 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
8465 #ifdef GL_GLEXT_PROTOTYPES
8466 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
8467 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
8468 GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
8469 #endif
8470 #endif /* GL_EXT_vertex_weighting */
8472 #ifndef GL_EXT_x11_sync_object
8473 #define GL_EXT_x11_sync_object 1
8474 #define GL_SYNC_X11_FENCE_EXT 0x90E1
8475 typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
8476 #ifdef GL_GLEXT_PROTOTYPES
8477 GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
8478 #endif
8479 #endif /* GL_EXT_x11_sync_object */
8481 #ifndef GL_GREMEDY_frame_terminator
8482 #define GL_GREMEDY_frame_terminator 1
8483 typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
8484 #ifdef GL_GLEXT_PROTOTYPES
8485 GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
8486 #endif
8487 #endif /* GL_GREMEDY_frame_terminator */
8489 #ifndef GL_GREMEDY_string_marker
8490 #define GL_GREMEDY_string_marker 1
8491 typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
8492 #ifdef GL_GLEXT_PROTOTYPES
8493 GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
8494 #endif
8495 #endif /* GL_GREMEDY_string_marker */
8497 #ifndef GL_HP_convolution_border_modes
8498 #define GL_HP_convolution_border_modes 1
8499 #define GL_IGNORE_BORDER_HP 0x8150
8500 #define GL_CONSTANT_BORDER_HP 0x8151
8501 #define GL_REPLICATE_BORDER_HP 0x8153
8502 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
8503 #endif /* GL_HP_convolution_border_modes */
8505 #ifndef GL_HP_image_transform
8506 #define GL_HP_image_transform 1
8507 #define GL_IMAGE_SCALE_X_HP 0x8155
8508 #define GL_IMAGE_SCALE_Y_HP 0x8156
8509 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
8510 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
8511 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
8512 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
8513 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
8514 #define GL_IMAGE_MAG_FILTER_HP 0x815C
8515 #define GL_IMAGE_MIN_FILTER_HP 0x815D
8516 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
8517 #define GL_CUBIC_HP 0x815F
8518 #define GL_AVERAGE_HP 0x8160
8519 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
8520 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
8521 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
8522 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
8523 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
8524 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
8525 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
8526 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
8527 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
8528 #ifdef GL_GLEXT_PROTOTYPES
8529 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
8530 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
8531 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
8532 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
8533 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
8534 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
8535 #endif
8536 #endif /* GL_HP_image_transform */
8538 #ifndef GL_HP_occlusion_test
8539 #define GL_HP_occlusion_test 1
8540 #define GL_OCCLUSION_TEST_HP 0x8165
8541 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
8542 #endif /* GL_HP_occlusion_test */
8544 #ifndef GL_HP_texture_lighting
8545 #define GL_HP_texture_lighting 1
8546 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
8547 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
8548 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
8549 #endif /* GL_HP_texture_lighting */
8551 #ifndef GL_IBM_cull_vertex
8552 #define GL_IBM_cull_vertex 1
8553 #define GL_CULL_VERTEX_IBM 103050
8554 #endif /* GL_IBM_cull_vertex */
8556 #ifndef GL_IBM_multimode_draw_arrays
8557 #define GL_IBM_multimode_draw_arrays 1
8558 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
8559 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
8560 #ifdef GL_GLEXT_PROTOTYPES
8561 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
8562 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
8563 #endif
8564 #endif /* GL_IBM_multimode_draw_arrays */
8566 #ifndef GL_IBM_rasterpos_clip
8567 #define GL_IBM_rasterpos_clip 1
8568 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
8569 #endif /* GL_IBM_rasterpos_clip */
8571 #ifndef GL_IBM_static_data
8572 #define GL_IBM_static_data 1
8573 #define GL_ALL_STATIC_DATA_IBM 103060
8574 #define GL_STATIC_VERTEX_ARRAY_IBM 103061
8575 typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
8576 #ifdef GL_GLEXT_PROTOTYPES
8577 GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
8578 #endif
8579 #endif /* GL_IBM_static_data */
8581 #ifndef GL_IBM_texture_mirrored_repeat
8582 #define GL_IBM_texture_mirrored_repeat 1
8583 #define GL_MIRRORED_REPEAT_IBM 0x8370
8584 #endif /* GL_IBM_texture_mirrored_repeat */
8586 #ifndef GL_IBM_vertex_array_lists
8587 #define GL_IBM_vertex_array_lists 1
8588 #define GL_VERTEX_ARRAY_LIST_IBM 103070
8589 #define GL_NORMAL_ARRAY_LIST_IBM 103071
8590 #define GL_COLOR_ARRAY_LIST_IBM 103072
8591 #define GL_INDEX_ARRAY_LIST_IBM 103073
8592 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
8593 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
8594 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
8595 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
8596 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
8597 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
8598 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
8599 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
8600 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
8601 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
8602 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
8603 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
8604 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8605 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8606 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
8607 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8608 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8609 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8610 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8611 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8612 #ifdef GL_GLEXT_PROTOTYPES
8613 GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8614 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8615 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
8616 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8617 GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8618 GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8619 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8620 GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8621 #endif
8622 #endif /* GL_IBM_vertex_array_lists */
8624 #ifndef GL_INGR_blend_func_separate
8625 #define GL_INGR_blend_func_separate 1
8626 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8627 #ifdef GL_GLEXT_PROTOTYPES
8628 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8629 #endif
8630 #endif /* GL_INGR_blend_func_separate */
8632 #ifndef GL_INGR_color_clamp
8633 #define GL_INGR_color_clamp 1
8634 #define GL_RED_MIN_CLAMP_INGR 0x8560
8635 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
8636 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
8637 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
8638 #define GL_RED_MAX_CLAMP_INGR 0x8564
8639 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
8640 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
8641 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
8642 #endif /* GL_INGR_color_clamp */
8644 #ifndef GL_INGR_interlace_read
8645 #define GL_INGR_interlace_read 1
8646 #define GL_INTERLACE_READ_INGR 0x8568
8647 #endif /* GL_INGR_interlace_read */
8649 #ifndef GL_INTEL_fragment_shader_ordering
8650 #define GL_INTEL_fragment_shader_ordering 1
8651 #endif /* GL_INTEL_fragment_shader_ordering */
8653 #ifndef GL_INTEL_map_texture
8654 #define GL_INTEL_map_texture 1
8655 #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
8656 #define GL_LAYOUT_DEFAULT_INTEL 0
8657 #define GL_LAYOUT_LINEAR_INTEL 1
8658 #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
8659 typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
8660 typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
8661 typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
8662 #ifdef GL_GLEXT_PROTOTYPES
8663 GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
8664 GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
8665 GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
8666 #endif
8667 #endif /* GL_INTEL_map_texture */
8669 #ifndef GL_INTEL_parallel_arrays
8670 #define GL_INTEL_parallel_arrays 1
8671 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
8672 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
8673 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
8674 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
8675 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
8676 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
8677 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
8678 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
8679 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
8680 #ifdef GL_GLEXT_PROTOTYPES
8681 GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
8682 GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
8683 GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
8684 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
8685 #endif
8686 #endif /* GL_INTEL_parallel_arrays */
8688 #ifndef GL_INTEL_performance_query
8689 #define GL_INTEL_performance_query 1
8690 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
8691 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
8692 #define GL_PERFQUERY_WAIT_INTEL 0x83FB
8693 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
8694 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
8695 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
8696 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
8697 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
8698 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
8699 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
8700 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
8701 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
8702 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
8703 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
8704 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
8705 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
8706 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
8707 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
8708 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
8709 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
8710 typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
8711 typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
8712 typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
8713 typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
8714 typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
8715 typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
8716 typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
8717 typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
8718 typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
8719 typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
8720 #ifdef GL_GLEXT_PROTOTYPES
8721 GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
8722 GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
8723 GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
8724 GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
8725 GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
8726 GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
8727 GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
8728 GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
8729 GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
8730 GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
8731 #endif
8732 #endif /* GL_INTEL_performance_query */
8734 #ifndef GL_MESAX_texture_stack
8735 #define GL_MESAX_texture_stack 1
8736 #define GL_TEXTURE_1D_STACK_MESAX 0x8759
8737 #define GL_TEXTURE_2D_STACK_MESAX 0x875A
8738 #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
8739 #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
8740 #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
8741 #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
8742 #endif /* GL_MESAX_texture_stack */
8744 #ifndef GL_MESA_pack_invert
8745 #define GL_MESA_pack_invert 1
8746 #define GL_PACK_INVERT_MESA 0x8758
8747 #endif /* GL_MESA_pack_invert */
8749 #ifndef GL_MESA_resize_buffers
8750 #define GL_MESA_resize_buffers 1
8751 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
8752 #ifdef GL_GLEXT_PROTOTYPES
8753 GLAPI void APIENTRY glResizeBuffersMESA (void);
8754 #endif
8755 #endif /* GL_MESA_resize_buffers */
8757 #ifndef GL_MESA_window_pos
8758 #define GL_MESA_window_pos 1
8759 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
8760 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
8761 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
8762 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
8763 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
8764 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
8765 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
8766 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
8767 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
8768 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
8769 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
8770 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
8771 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
8772 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
8773 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
8774 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
8775 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8776 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
8777 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8778 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
8779 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
8780 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
8781 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
8782 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
8783 #ifdef GL_GLEXT_PROTOTYPES
8784 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
8785 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
8786 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
8787 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
8788 GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
8789 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
8790 GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
8791 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
8792 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
8793 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
8794 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
8795 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
8796 GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
8797 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
8798 GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
8799 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
8800 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8801 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
8802 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8803 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
8804 GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
8805 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
8806 GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
8807 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
8808 #endif
8809 #endif /* GL_MESA_window_pos */
8811 #ifndef GL_MESA_ycbcr_texture
8812 #define GL_MESA_ycbcr_texture 1
8813 #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
8814 #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
8815 #define GL_YCBCR_MESA 0x8757
8816 #endif /* GL_MESA_ycbcr_texture */
8818 #ifndef GL_NVX_conditional_render
8819 #define GL_NVX_conditional_render 1
8820 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
8821 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
8822 #ifdef GL_GLEXT_PROTOTYPES
8823 GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
8824 GLAPI void APIENTRY glEndConditionalRenderNVX (void);
8825 #endif
8826 #endif /* GL_NVX_conditional_render */
8828 #ifndef GL_NVX_gpu_memory_info
8829 #define GL_NVX_gpu_memory_info 1
8830 #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
8831 #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
8832 #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
8833 #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
8834 #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
8835 #endif /* GL_NVX_gpu_memory_info */
8837 #ifndef GL_NV_bindless_multi_draw_indirect
8838 #define GL_NV_bindless_multi_draw_indirect 1
8839 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8840 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8841 #ifdef GL_GLEXT_PROTOTYPES
8842 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8843 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8844 #endif
8845 #endif /* GL_NV_bindless_multi_draw_indirect */
8847 #ifndef GL_NV_bindless_multi_draw_indirect_count
8848 #define GL_NV_bindless_multi_draw_indirect_count 1
8849 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
8850 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
8851 #ifdef GL_GLEXT_PROTOTYPES
8852 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
8853 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
8854 #endif
8855 #endif /* GL_NV_bindless_multi_draw_indirect_count */
8857 #ifndef GL_NV_bindless_texture
8858 #define GL_NV_bindless_texture 1
8859 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
8860 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
8861 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
8862 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
8863 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
8864 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
8865 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
8866 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
8867 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
8868 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
8869 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
8870 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
8871 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
8872 #ifdef GL_GLEXT_PROTOTYPES
8873 GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
8874 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
8875 GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
8876 GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
8877 GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
8878 GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
8879 GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
8880 GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
8881 GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
8882 GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
8883 GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
8884 GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
8885 GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
8886 #endif
8887 #endif /* GL_NV_bindless_texture */
8889 #ifndef GL_NV_blend_equation_advanced
8890 #define GL_NV_blend_equation_advanced 1
8891 #define GL_BLEND_OVERLAP_NV 0x9281
8892 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
8893 #define GL_BLUE_NV 0x1905
8894 #define GL_COLORBURN_NV 0x929A
8895 #define GL_COLORDODGE_NV 0x9299
8896 #define GL_CONJOINT_NV 0x9284
8897 #define GL_CONTRAST_NV 0x92A1
8898 #define GL_DARKEN_NV 0x9297
8899 #define GL_DIFFERENCE_NV 0x929E
8900 #define GL_DISJOINT_NV 0x9283
8901 #define GL_DST_ATOP_NV 0x928F
8902 #define GL_DST_IN_NV 0x928B
8903 #define GL_DST_NV 0x9287
8904 #define GL_DST_OUT_NV 0x928D
8905 #define GL_DST_OVER_NV 0x9289
8906 #define GL_EXCLUSION_NV 0x92A0
8907 #define GL_GREEN_NV 0x1904
8908 #define GL_HARDLIGHT_NV 0x929B
8909 #define GL_HARDMIX_NV 0x92A9
8910 #define GL_HSL_COLOR_NV 0x92AF
8911 #define GL_HSL_HUE_NV 0x92AD
8912 #define GL_HSL_LUMINOSITY_NV 0x92B0
8913 #define GL_HSL_SATURATION_NV 0x92AE
8914 #define GL_INVERT_OVG_NV 0x92B4
8915 #define GL_INVERT_RGB_NV 0x92A3
8916 #define GL_LIGHTEN_NV 0x9298
8917 #define GL_LINEARBURN_NV 0x92A5
8918 #define GL_LINEARDODGE_NV 0x92A4
8919 #define GL_LINEARLIGHT_NV 0x92A7
8920 #define GL_MINUS_CLAMPED_NV 0x92B3
8921 #define GL_MINUS_NV 0x929F
8922 #define GL_MULTIPLY_NV 0x9294
8923 #define GL_OVERLAY_NV 0x9296
8924 #define GL_PINLIGHT_NV 0x92A8
8925 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
8926 #define GL_PLUS_CLAMPED_NV 0x92B1
8927 #define GL_PLUS_DARKER_NV 0x9292
8928 #define GL_PLUS_NV 0x9291
8929 #define GL_RED_NV 0x1903
8930 #define GL_SCREEN_NV 0x9295
8931 #define GL_SOFTLIGHT_NV 0x929C
8932 #define GL_SRC_ATOP_NV 0x928E
8933 #define GL_SRC_IN_NV 0x928A
8934 #define GL_SRC_NV 0x9286
8935 #define GL_SRC_OUT_NV 0x928C
8936 #define GL_SRC_OVER_NV 0x9288
8937 #define GL_UNCORRELATED_NV 0x9282
8938 #define GL_VIVIDLIGHT_NV 0x92A6
8939 #define GL_XOR_NV 0x1506
8940 typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
8941 typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
8942 #ifdef GL_GLEXT_PROTOTYPES
8943 GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
8944 GLAPI void APIENTRY glBlendBarrierNV (void);
8945 #endif
8946 #endif /* GL_NV_blend_equation_advanced */
8948 #ifndef GL_NV_blend_equation_advanced_coherent
8949 #define GL_NV_blend_equation_advanced_coherent 1
8950 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
8951 #endif /* GL_NV_blend_equation_advanced_coherent */
8953 #ifndef GL_NV_blend_square
8954 #define GL_NV_blend_square 1
8955 #endif /* GL_NV_blend_square */
8957 #ifndef GL_NV_compute_program5
8958 #define GL_NV_compute_program5 1
8959 #define GL_COMPUTE_PROGRAM_NV 0x90FB
8960 #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
8961 #endif /* GL_NV_compute_program5 */
8963 #ifndef GL_NV_conditional_render
8964 #define GL_NV_conditional_render 1
8965 #define GL_QUERY_WAIT_NV 0x8E13
8966 #define GL_QUERY_NO_WAIT_NV 0x8E14
8967 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
8968 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
8969 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
8970 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
8971 #ifdef GL_GLEXT_PROTOTYPES
8972 GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
8973 GLAPI void APIENTRY glEndConditionalRenderNV (void);
8974 #endif
8975 #endif /* GL_NV_conditional_render */
8977 #ifndef GL_NV_conservative_raster
8978 #define GL_NV_conservative_raster 1
8979 #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
8980 #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
8981 #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
8982 #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
8983 typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
8984 #ifdef GL_GLEXT_PROTOTYPES
8985 GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
8986 #endif
8987 #endif /* GL_NV_conservative_raster */
8989 #ifndef GL_NV_copy_depth_to_color
8990 #define GL_NV_copy_depth_to_color 1
8991 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
8992 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
8993 #endif /* GL_NV_copy_depth_to_color */
8995 #ifndef GL_NV_copy_image
8996 #define GL_NV_copy_image 1
8997 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
8998 #ifdef GL_GLEXT_PROTOTYPES
8999 GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
9000 #endif
9001 #endif /* GL_NV_copy_image */
9003 #ifndef GL_NV_deep_texture3D
9004 #define GL_NV_deep_texture3D 1
9005 #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
9006 #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1
9007 #endif /* GL_NV_deep_texture3D */
9009 #ifndef GL_NV_depth_buffer_float
9010 #define GL_NV_depth_buffer_float 1
9011 #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
9012 #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
9013 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
9014 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
9015 typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
9016 typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
9017 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
9018 #ifdef GL_GLEXT_PROTOTYPES
9019 GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
9020 GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
9021 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
9022 #endif
9023 #endif /* GL_NV_depth_buffer_float */
9025 #ifndef GL_NV_depth_clamp
9026 #define GL_NV_depth_clamp 1
9027 #define GL_DEPTH_CLAMP_NV 0x864F
9028 #endif /* GL_NV_depth_clamp */
9030 #ifndef GL_NV_draw_texture
9031 #define GL_NV_draw_texture 1
9032 typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
9033 #ifdef GL_GLEXT_PROTOTYPES
9034 GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
9035 #endif
9036 #endif /* GL_NV_draw_texture */
9038 #ifndef GL_NV_evaluators
9039 #define GL_NV_evaluators 1
9040 #define GL_EVAL_2D_NV 0x86C0
9041 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
9042 #define GL_MAP_TESSELLATION_NV 0x86C2
9043 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
9044 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
9045 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
9046 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
9047 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
9048 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
9049 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
9050 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
9051 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
9052 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
9053 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
9054 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
9055 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
9056 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
9057 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
9058 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
9059 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
9060 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
9061 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
9062 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
9063 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
9064 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
9065 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
9066 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
9067 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
9068 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
9069 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
9070 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
9071 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
9072 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
9073 #ifdef GL_GLEXT_PROTOTYPES
9074 GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
9075 GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
9076 GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
9077 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
9078 GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
9079 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
9080 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
9081 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
9082 GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
9083 #endif
9084 #endif /* GL_NV_evaluators */
9086 #ifndef GL_NV_explicit_multisample
9087 #define GL_NV_explicit_multisample 1
9088 #define GL_SAMPLE_POSITION_NV 0x8E50
9089 #define GL_SAMPLE_MASK_NV 0x8E51
9090 #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
9091 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
9092 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
9093 #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
9094 #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
9095 #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
9096 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
9097 #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
9098 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
9099 typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
9100 typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
9101 #ifdef GL_GLEXT_PROTOTYPES
9102 GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
9103 GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
9104 GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
9105 #endif
9106 #endif /* GL_NV_explicit_multisample */
9108 #ifndef GL_NV_fence
9109 #define GL_NV_fence 1
9110 #define GL_ALL_COMPLETED_NV 0x84F2
9111 #define GL_FENCE_STATUS_NV 0x84F3
9112 #define GL_FENCE_CONDITION_NV 0x84F4
9113 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
9114 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
9115 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
9116 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
9117 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
9118 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
9119 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
9120 #ifdef GL_GLEXT_PROTOTYPES
9121 GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
9122 GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
9123 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
9124 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
9125 GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
9126 GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
9127 GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
9128 #endif
9129 #endif /* GL_NV_fence */
9131 #ifndef GL_NV_fill_rectangle
9132 #define GL_NV_fill_rectangle 1
9133 #define GL_FILL_RECTANGLE_NV 0x933C
9134 #endif /* GL_NV_fill_rectangle */
9136 #ifndef GL_NV_float_buffer
9137 #define GL_NV_float_buffer 1
9138 #define GL_FLOAT_R_NV 0x8880
9139 #define GL_FLOAT_RG_NV 0x8881
9140 #define GL_FLOAT_RGB_NV 0x8882
9141 #define GL_FLOAT_RGBA_NV 0x8883
9142 #define GL_FLOAT_R16_NV 0x8884
9143 #define GL_FLOAT_R32_NV 0x8885
9144 #define GL_FLOAT_RG16_NV 0x8886
9145 #define GL_FLOAT_RG32_NV 0x8887
9146 #define GL_FLOAT_RGB16_NV 0x8888
9147 #define GL_FLOAT_RGB32_NV 0x8889
9148 #define GL_FLOAT_RGBA16_NV 0x888A
9149 #define GL_FLOAT_RGBA32_NV 0x888B
9150 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
9151 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
9152 #define GL_FLOAT_RGBA_MODE_NV 0x888E
9153 #endif /* GL_NV_float_buffer */
9155 #ifndef GL_NV_fog_distance
9156 #define GL_NV_fog_distance 1
9157 #define GL_FOG_DISTANCE_MODE_NV 0x855A
9158 #define GL_EYE_RADIAL_NV 0x855B
9159 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
9160 #endif /* GL_NV_fog_distance */
9162 #ifndef GL_NV_fragment_coverage_to_color
9163 #define GL_NV_fragment_coverage_to_color 1
9164 #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
9165 #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
9166 typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
9167 #ifdef GL_GLEXT_PROTOTYPES
9168 GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color);
9169 #endif
9170 #endif /* GL_NV_fragment_coverage_to_color */
9172 #ifndef GL_NV_fragment_program
9173 #define GL_NV_fragment_program 1
9174 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
9175 #define GL_FRAGMENT_PROGRAM_NV 0x8870
9176 #define GL_MAX_TEXTURE_COORDS_NV 0x8871
9177 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
9178 #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
9179 #define GL_PROGRAM_ERROR_STRING_NV 0x8874
9180 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9181 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
9182 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9183 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
9184 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
9185 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
9186 #ifdef GL_GLEXT_PROTOTYPES
9187 GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9188 GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
9189 GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9190 GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
9191 GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
9192 GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
9193 #endif
9194 #endif /* GL_NV_fragment_program */
9196 #ifndef GL_NV_fragment_program2
9197 #define GL_NV_fragment_program2 1
9198 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
9199 #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
9200 #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
9201 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
9202 #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
9203 #endif /* GL_NV_fragment_program2 */
9205 #ifndef GL_NV_fragment_program4
9206 #define GL_NV_fragment_program4 1
9207 #endif /* GL_NV_fragment_program4 */
9209 #ifndef GL_NV_fragment_program_option
9210 #define GL_NV_fragment_program_option 1
9211 #endif /* GL_NV_fragment_program_option */
9213 #ifndef GL_NV_fragment_shader_interlock
9214 #define GL_NV_fragment_shader_interlock 1
9215 #endif /* GL_NV_fragment_shader_interlock */
9217 #ifndef GL_NV_framebuffer_mixed_samples
9218 #define GL_NV_framebuffer_mixed_samples 1
9219 #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
9220 #define GL_COLOR_SAMPLES_NV 0x8E20
9221 #define GL_DEPTH_SAMPLES_NV 0x932D
9222 #define GL_STENCIL_SAMPLES_NV 0x932E
9223 #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
9224 #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
9225 #define GL_COVERAGE_MODULATION_NV 0x9332
9226 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
9227 typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
9228 typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v);
9229 typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
9230 #ifdef GL_GLEXT_PROTOTYPES
9231 GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
9232 GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v);
9233 GLAPI void APIENTRY glCoverageModulationNV (GLenum components);
9234 #endif
9235 #endif /* GL_NV_framebuffer_mixed_samples */
9237 #ifndef GL_NV_framebuffer_multisample_coverage
9238 #define GL_NV_framebuffer_multisample_coverage 1
9239 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
9240 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
9241 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
9242 #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
9243 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
9244 #ifdef GL_GLEXT_PROTOTYPES
9245 GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
9246 #endif
9247 #endif /* GL_NV_framebuffer_multisample_coverage */
9249 #ifndef GL_NV_geometry_program4
9250 #define GL_NV_geometry_program4 1
9251 #define GL_GEOMETRY_PROGRAM_NV 0x8C26
9252 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
9253 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
9254 typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
9255 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
9256 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
9257 #ifdef GL_GLEXT_PROTOTYPES
9258 GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
9259 GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
9260 GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
9261 #endif
9262 #endif /* GL_NV_geometry_program4 */
9264 #ifndef GL_NV_geometry_shader4
9265 #define GL_NV_geometry_shader4 1
9266 #endif /* GL_NV_geometry_shader4 */
9268 #ifndef GL_NV_geometry_shader_passthrough
9269 #define GL_NV_geometry_shader_passthrough 1
9270 #endif /* GL_NV_geometry_shader_passthrough */
9272 #ifndef GL_NV_gpu_program4
9273 #define GL_NV_gpu_program4 1
9274 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
9275 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
9276 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
9277 #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
9278 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
9279 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
9280 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
9281 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
9282 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9283 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
9284 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
9285 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9286 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
9287 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9288 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9289 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
9290 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
9291 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9292 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
9293 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9294 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
9295 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
9296 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
9297 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
9298 #ifdef GL_GLEXT_PROTOTYPES
9299 GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9300 GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
9301 GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
9302 GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9303 GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
9304 GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9305 GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9306 GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
9307 GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
9308 GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9309 GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
9310 GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9311 GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
9312 GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
9313 GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
9314 GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
9315 #endif
9316 #endif /* GL_NV_gpu_program4 */
9318 #ifndef GL_NV_gpu_program5
9319 #define GL_NV_gpu_program5 1
9320 #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
9321 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
9322 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
9323 #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
9324 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
9325 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
9326 #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
9327 #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
9328 typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
9329 typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
9330 #ifdef GL_GLEXT_PROTOTYPES
9331 GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
9332 GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
9333 #endif
9334 #endif /* GL_NV_gpu_program5 */
9336 #ifndef GL_NV_gpu_program5_mem_extended
9337 #define GL_NV_gpu_program5_mem_extended 1
9338 #endif /* GL_NV_gpu_program5_mem_extended */
9340 #ifndef GL_NV_gpu_shader5
9341 #define GL_NV_gpu_shader5 1
9342 #endif /* GL_NV_gpu_shader5 */
9344 #ifndef GL_NV_half_float
9345 #define GL_NV_half_float 1
9346 typedef unsigned short GLhalfNV;
9347 #define GL_HALF_FLOAT_NV 0x140B
9348 typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
9349 typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
9350 typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
9351 typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
9352 typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9353 typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
9354 typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
9355 typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
9356 typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9357 typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
9358 typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
9359 typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
9360 typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
9361 typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
9362 typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
9363 typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
9364 typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
9365 typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
9366 typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9367 typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
9368 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
9369 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
9370 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
9371 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
9372 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
9373 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
9374 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9375 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
9376 typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
9377 typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
9378 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9379 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
9380 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
9381 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
9382 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
9383 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
9384 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
9385 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
9386 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
9387 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
9388 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9389 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
9390 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9391 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9392 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9393 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9394 #ifdef GL_GLEXT_PROTOTYPES
9395 GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
9396 GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
9397 GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
9398 GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
9399 GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9400 GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
9401 GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
9402 GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
9403 GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9404 GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
9405 GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
9406 GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
9407 GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
9408 GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
9409 GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
9410 GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
9411 GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
9412 GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
9413 GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9414 GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
9415 GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
9416 GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
9417 GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
9418 GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
9419 GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
9420 GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
9421 GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9422 GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
9423 GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
9424 GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
9425 GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9426 GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
9427 GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
9428 GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
9429 GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
9430 GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
9431 GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
9432 GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
9433 GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
9434 GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
9435 GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9436 GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
9437 GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9438 GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9439 GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9440 GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9441 #endif
9442 #endif /* GL_NV_half_float */
9444 #ifndef GL_NV_internalformat_sample_query
9445 #define GL_NV_internalformat_sample_query 1
9446 #define GL_MULTISAMPLES_NV 0x9371
9447 #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
9448 #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
9449 #define GL_CONFORMANT_NV 0x9374
9450 typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
9451 #ifdef GL_GLEXT_PROTOTYPES
9452 GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
9453 #endif
9454 #endif /* GL_NV_internalformat_sample_query */
9456 #ifndef GL_NV_light_max_exponent
9457 #define GL_NV_light_max_exponent 1
9458 #define GL_MAX_SHININESS_NV 0x8504
9459 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
9460 #endif /* GL_NV_light_max_exponent */
9462 #ifndef GL_NV_multisample_coverage
9463 #define GL_NV_multisample_coverage 1
9464 #endif /* GL_NV_multisample_coverage */
9466 #ifndef GL_NV_multisample_filter_hint
9467 #define GL_NV_multisample_filter_hint 1
9468 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
9469 #endif /* GL_NV_multisample_filter_hint */
9471 #ifndef GL_NV_occlusion_query
9472 #define GL_NV_occlusion_query 1
9473 #define GL_PIXEL_COUNTER_BITS_NV 0x8864
9474 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
9475 #define GL_PIXEL_COUNT_NV 0x8866
9476 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
9477 typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
9478 typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
9479 typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
9480 typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
9481 typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
9482 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
9483 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
9484 #ifdef GL_GLEXT_PROTOTYPES
9485 GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
9486 GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
9487 GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
9488 GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
9489 GLAPI void APIENTRY glEndOcclusionQueryNV (void);
9490 GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
9491 GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
9492 #endif
9493 #endif /* GL_NV_occlusion_query */
9495 #ifndef GL_NV_packed_depth_stencil
9496 #define GL_NV_packed_depth_stencil 1
9497 #define GL_DEPTH_STENCIL_NV 0x84F9
9498 #define GL_UNSIGNED_INT_24_8_NV 0x84FA
9499 #endif /* GL_NV_packed_depth_stencil */
9501 #ifndef GL_NV_parameter_buffer_object
9502 #define GL_NV_parameter_buffer_object 1
9503 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
9504 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
9505 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
9506 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
9507 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
9508 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
9509 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
9510 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
9511 #ifdef GL_GLEXT_PROTOTYPES
9512 GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
9513 GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
9514 GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
9515 #endif
9516 #endif /* GL_NV_parameter_buffer_object */
9518 #ifndef GL_NV_parameter_buffer_object2
9519 #define GL_NV_parameter_buffer_object2 1
9520 #endif /* GL_NV_parameter_buffer_object2 */
9522 #ifndef GL_NV_path_rendering
9523 #define GL_NV_path_rendering 1
9524 #define GL_PATH_FORMAT_SVG_NV 0x9070
9525 #define GL_PATH_FORMAT_PS_NV 0x9071
9526 #define GL_STANDARD_FONT_NAME_NV 0x9072
9527 #define GL_SYSTEM_FONT_NAME_NV 0x9073
9528 #define GL_FILE_NAME_NV 0x9074
9529 #define GL_PATH_STROKE_WIDTH_NV 0x9075
9530 #define GL_PATH_END_CAPS_NV 0x9076
9531 #define GL_PATH_INITIAL_END_CAP_NV 0x9077
9532 #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
9533 #define GL_PATH_JOIN_STYLE_NV 0x9079
9534 #define GL_PATH_MITER_LIMIT_NV 0x907A
9535 #define GL_PATH_DASH_CAPS_NV 0x907B
9536 #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
9537 #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
9538 #define GL_PATH_DASH_OFFSET_NV 0x907E
9539 #define GL_PATH_CLIENT_LENGTH_NV 0x907F
9540 #define GL_PATH_FILL_MODE_NV 0x9080
9541 #define GL_PATH_FILL_MASK_NV 0x9081
9542 #define GL_PATH_FILL_COVER_MODE_NV 0x9082
9543 #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
9544 #define GL_PATH_STROKE_MASK_NV 0x9084
9545 #define GL_COUNT_UP_NV 0x9088
9546 #define GL_COUNT_DOWN_NV 0x9089
9547 #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
9548 #define GL_CONVEX_HULL_NV 0x908B
9549 #define GL_BOUNDING_BOX_NV 0x908D
9550 #define GL_TRANSLATE_X_NV 0x908E
9551 #define GL_TRANSLATE_Y_NV 0x908F
9552 #define GL_TRANSLATE_2D_NV 0x9090
9553 #define GL_TRANSLATE_3D_NV 0x9091
9554 #define GL_AFFINE_2D_NV 0x9092
9555 #define GL_AFFINE_3D_NV 0x9094
9556 #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
9557 #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
9558 #define GL_UTF8_NV 0x909A
9559 #define GL_UTF16_NV 0x909B
9560 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
9561 #define GL_PATH_COMMAND_COUNT_NV 0x909D
9562 #define GL_PATH_COORD_COUNT_NV 0x909E
9563 #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
9564 #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
9565 #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
9566 #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
9567 #define GL_SQUARE_NV 0x90A3
9568 #define GL_ROUND_NV 0x90A4
9569 #define GL_TRIANGULAR_NV 0x90A5
9570 #define GL_BEVEL_NV 0x90A6
9571 #define GL_MITER_REVERT_NV 0x90A7
9572 #define GL_MITER_TRUNCATE_NV 0x90A8
9573 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
9574 #define GL_USE_MISSING_GLYPH_NV 0x90AA
9575 #define GL_PATH_ERROR_POSITION_NV 0x90AB
9576 #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
9577 #define GL_ADJACENT_PAIRS_NV 0x90AE
9578 #define GL_FIRST_TO_REST_NV 0x90AF
9579 #define GL_PATH_GEN_MODE_NV 0x90B0
9580 #define GL_PATH_GEN_COEFF_NV 0x90B1
9581 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
9582 #define GL_PATH_STENCIL_FUNC_NV 0x90B7
9583 #define GL_PATH_STENCIL_REF_NV 0x90B8
9584 #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
9585 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
9586 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
9587 #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
9588 #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
9589 #define GL_MOVE_TO_RESETS_NV 0x90B5
9590 #define GL_MOVE_TO_CONTINUES_NV 0x90B6
9591 #define GL_CLOSE_PATH_NV 0x00
9592 #define GL_MOVE_TO_NV 0x02
9593 #define GL_RELATIVE_MOVE_TO_NV 0x03
9594 #define GL_LINE_TO_NV 0x04
9595 #define GL_RELATIVE_LINE_TO_NV 0x05
9596 #define GL_HORIZONTAL_LINE_TO_NV 0x06
9597 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
9598 #define GL_VERTICAL_LINE_TO_NV 0x08
9599 #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
9600 #define GL_QUADRATIC_CURVE_TO_NV 0x0A
9601 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
9602 #define GL_CUBIC_CURVE_TO_NV 0x0C
9603 #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
9604 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
9605 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
9606 #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
9607 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
9608 #define GL_SMALL_CCW_ARC_TO_NV 0x12
9609 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
9610 #define GL_SMALL_CW_ARC_TO_NV 0x14
9611 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
9612 #define GL_LARGE_CCW_ARC_TO_NV 0x16
9613 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
9614 #define GL_LARGE_CW_ARC_TO_NV 0x18
9615 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
9616 #define GL_RESTART_PATH_NV 0xF0
9617 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
9618 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
9619 #define GL_RECT_NV 0xF6
9620 #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
9621 #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
9622 #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
9623 #define GL_ARC_TO_NV 0xFE
9624 #define GL_RELATIVE_ARC_TO_NV 0xFF
9625 #define GL_BOLD_BIT_NV 0x01
9626 #define GL_ITALIC_BIT_NV 0x02
9627 #define GL_GLYPH_WIDTH_BIT_NV 0x01
9628 #define GL_GLYPH_HEIGHT_BIT_NV 0x02
9629 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
9630 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
9631 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
9632 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
9633 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
9634 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
9635 #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
9636 #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
9637 #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
9638 #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
9639 #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
9640 #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
9641 #define GL_FONT_ASCENDER_BIT_NV 0x00200000
9642 #define GL_FONT_DESCENDER_BIT_NV 0x00400000
9643 #define GL_FONT_HEIGHT_BIT_NV 0x00800000
9644 #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
9645 #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
9646 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
9647 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
9648 #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
9649 #define GL_ROUNDED_RECT_NV 0xE8
9650 #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
9651 #define GL_ROUNDED_RECT2_NV 0xEA
9652 #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
9653 #define GL_ROUNDED_RECT4_NV 0xEC
9654 #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
9655 #define GL_ROUNDED_RECT8_NV 0xEE
9656 #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
9657 #define GL_RELATIVE_RECT_NV 0xF7
9658 #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
9659 #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
9660 #define GL_FONT_UNAVAILABLE_NV 0x936A
9661 #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
9662 #define GL_CONIC_CURVE_TO_NV 0x1A
9663 #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
9664 #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
9665 #define GL_STANDARD_FONT_FORMAT_NV 0x936C
9666 #define GL_2_BYTES_NV 0x1407
9667 #define GL_3_BYTES_NV 0x1408
9668 #define GL_4_BYTES_NV 0x1409
9669 #define GL_EYE_LINEAR_NV 0x2400
9670 #define GL_OBJECT_LINEAR_NV 0x2401
9671 #define GL_CONSTANT_NV 0x8576
9672 #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
9673 #define GL_PRIMARY_COLOR_NV 0x852C
9674 #define GL_SECONDARY_COLOR_NV 0x852D
9675 #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
9676 #define GL_PATH_PROJECTION_NV 0x1701
9677 #define GL_PATH_MODELVIEW_NV 0x1700
9678 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
9679 #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
9680 #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
9681 #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
9682 #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
9683 #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
9684 #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
9685 #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
9686 #define GL_FRAGMENT_INPUT_NV 0x936D
9687 typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
9688 typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
9689 typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
9690 typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9691 typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
9692 typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9693 typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
9694 typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
9695 typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9696 typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9697 typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
9698 typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
9699 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
9700 typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
9701 typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
9702 typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
9703 typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
9704 typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
9705 typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
9706 typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
9707 typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
9708 typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
9709 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
9710 typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9711 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9712 typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
9713 typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
9714 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
9715 typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9716 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9717 typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
9718 typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
9719 typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
9720 typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
9721 typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
9722 typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9723 typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9724 typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9725 typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9726 typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
9727 typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
9728 typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
9729 typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
9730 typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
9731 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
9732 typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
9733 typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
9734 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
9735 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
9736 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
9737 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9738 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9739 typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
9740 typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9741 typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9742 typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
9743 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
9744 typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9745 typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9746 typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
9747 typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
9748 typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
9749 typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
9750 typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
9751 #ifdef GL_GLEXT_PROTOTYPES
9752 GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
9753 GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
9754 GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
9755 GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9756 GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
9757 GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9758 GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
9759 GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
9760 GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9761 GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9762 GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
9763 GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
9764 GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
9765 GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
9766 GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
9767 GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
9768 GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
9769 GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
9770 GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
9771 GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
9772 GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
9773 GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
9774 GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
9775 GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9776 GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9777 GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
9778 GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
9779 GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
9780 GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9781 GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9782 GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
9783 GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
9784 GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
9785 GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
9786 GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
9787 GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9788 GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9789 GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9790 GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9791 GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
9792 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
9793 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
9794 GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
9795 GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
9796 GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
9797 GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
9798 GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
9799 GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
9800 GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
9801 GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
9802 GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9803 GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9804 GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
9805 GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9806 GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9807 GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
9808 GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
9809 GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9810 GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9811 GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
9812 GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
9813 GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
9814 GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
9815 GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
9816 #endif
9817 #endif /* GL_NV_path_rendering */
9819 #ifndef GL_NV_path_rendering_shared_edge
9820 #define GL_NV_path_rendering_shared_edge 1
9821 #define GL_SHARED_EDGE_NV 0xC0
9822 #endif /* GL_NV_path_rendering_shared_edge */
9824 #ifndef GL_NV_pixel_data_range
9825 #define GL_NV_pixel_data_range 1
9826 #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
9827 #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
9828 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
9829 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
9830 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
9831 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
9832 typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
9833 typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
9834 #ifdef GL_GLEXT_PROTOTYPES
9835 GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
9836 GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
9837 #endif
9838 #endif /* GL_NV_pixel_data_range */
9840 #ifndef GL_NV_point_sprite
9841 #define GL_NV_point_sprite 1
9842 #define GL_POINT_SPRITE_NV 0x8861
9843 #define GL_COORD_REPLACE_NV 0x8862
9844 #define GL_POINT_SPRITE_R_MODE_NV 0x8863
9845 typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
9846 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
9847 #ifdef GL_GLEXT_PROTOTYPES
9848 GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
9849 GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
9850 #endif
9851 #endif /* GL_NV_point_sprite */
9853 #ifndef GL_NV_present_video
9854 #define GL_NV_present_video 1
9855 #define GL_FRAME_NV 0x8E26
9856 #define GL_FIELDS_NV 0x8E27
9857 #define GL_CURRENT_TIME_NV 0x8E28
9858 #define GL_NUM_FILL_STREAMS_NV 0x8E29
9859 #define GL_PRESENT_TIME_NV 0x8E2A
9860 #define GL_PRESENT_DURATION_NV 0x8E2B
9861 typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
9862 typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
9863 typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
9864 typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
9865 typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
9866 typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
9867 #ifdef GL_GLEXT_PROTOTYPES
9868 GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
9869 GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
9870 GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
9871 GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
9872 GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
9873 GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
9874 #endif
9875 #endif /* GL_NV_present_video */
9877 #ifndef GL_NV_primitive_restart
9878 #define GL_NV_primitive_restart 1
9879 #define GL_PRIMITIVE_RESTART_NV 0x8558
9880 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
9881 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
9882 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
9883 #ifdef GL_GLEXT_PROTOTYPES
9884 GLAPI void APIENTRY glPrimitiveRestartNV (void);
9885 GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
9886 #endif
9887 #endif /* GL_NV_primitive_restart */
9889 #ifndef GL_NV_register_combiners
9890 #define GL_NV_register_combiners 1
9891 #define GL_REGISTER_COMBINERS_NV 0x8522
9892 #define GL_VARIABLE_A_NV 0x8523
9893 #define GL_VARIABLE_B_NV 0x8524
9894 #define GL_VARIABLE_C_NV 0x8525
9895 #define GL_VARIABLE_D_NV 0x8526
9896 #define GL_VARIABLE_E_NV 0x8527
9897 #define GL_VARIABLE_F_NV 0x8528
9898 #define GL_VARIABLE_G_NV 0x8529
9899 #define GL_CONSTANT_COLOR0_NV 0x852A
9900 #define GL_CONSTANT_COLOR1_NV 0x852B
9901 #define GL_SPARE0_NV 0x852E
9902 #define GL_SPARE1_NV 0x852F
9903 #define GL_DISCARD_NV 0x8530
9904 #define GL_E_TIMES_F_NV 0x8531
9905 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
9906 #define GL_UNSIGNED_IDENTITY_NV 0x8536
9907 #define GL_UNSIGNED_INVERT_NV 0x8537
9908 #define GL_EXPAND_NORMAL_NV 0x8538
9909 #define GL_EXPAND_NEGATE_NV 0x8539
9910 #define GL_HALF_BIAS_NORMAL_NV 0x853A
9911 #define GL_HALF_BIAS_NEGATE_NV 0x853B
9912 #define GL_SIGNED_IDENTITY_NV 0x853C
9913 #define GL_SIGNED_NEGATE_NV 0x853D
9914 #define GL_SCALE_BY_TWO_NV 0x853E
9915 #define GL_SCALE_BY_FOUR_NV 0x853F
9916 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
9917 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
9918 #define GL_COMBINER_INPUT_NV 0x8542
9919 #define GL_COMBINER_MAPPING_NV 0x8543
9920 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
9921 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
9922 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
9923 #define GL_COMBINER_MUX_SUM_NV 0x8547
9924 #define GL_COMBINER_SCALE_NV 0x8548
9925 #define GL_COMBINER_BIAS_NV 0x8549
9926 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
9927 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
9928 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
9929 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
9930 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
9931 #define GL_COLOR_SUM_CLAMP_NV 0x854F
9932 #define GL_COMBINER0_NV 0x8550
9933 #define GL_COMBINER1_NV 0x8551
9934 #define GL_COMBINER2_NV 0x8552
9935 #define GL_COMBINER3_NV 0x8553
9936 #define GL_COMBINER4_NV 0x8554
9937 #define GL_COMBINER5_NV 0x8555
9938 #define GL_COMBINER6_NV 0x8556
9939 #define GL_COMBINER7_NV 0x8557
9940 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
9941 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
9942 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
9943 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
9944 typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9945 typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
9946 typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9947 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
9948 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
9949 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
9950 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
9951 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
9952 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
9953 #ifdef GL_GLEXT_PROTOTYPES
9954 GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
9955 GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
9956 GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
9957 GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
9958 GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9959 GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
9960 GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9961 GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
9962 GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
9963 GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
9964 GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
9965 GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
9966 GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
9967 #endif
9968 #endif /* GL_NV_register_combiners */
9970 #ifndef GL_NV_register_combiners2
9971 #define GL_NV_register_combiners2 1
9972 #define GL_PER_STAGE_CONSTANTS_NV 0x8535
9973 typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
9974 typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
9975 #ifdef GL_GLEXT_PROTOTYPES
9976 GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
9977 GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
9978 #endif
9979 #endif /* GL_NV_register_combiners2 */
9981 #ifndef GL_NV_sample_locations
9982 #define GL_NV_sample_locations 1
9983 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
9984 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
9985 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
9986 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
9987 #define GL_SAMPLE_LOCATION_NV 0x8E50
9988 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
9989 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
9990 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
9991 typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
9992 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
9993 typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
9994 #ifdef GL_GLEXT_PROTOTYPES
9995 GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
9996 GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
9997 GLAPI void APIENTRY glResolveDepthValuesNV (void);
9998 #endif
9999 #endif /* GL_NV_sample_locations */
10001 #ifndef GL_NV_sample_mask_override_coverage
10002 #define GL_NV_sample_mask_override_coverage 1
10003 #endif /* GL_NV_sample_mask_override_coverage */
10005 #ifndef GL_NV_shader_atomic_counters
10006 #define GL_NV_shader_atomic_counters 1
10007 #endif /* GL_NV_shader_atomic_counters */
10009 #ifndef GL_NV_shader_atomic_float
10010 #define GL_NV_shader_atomic_float 1
10011 #endif /* GL_NV_shader_atomic_float */
10013 #ifndef GL_NV_shader_atomic_fp16_vector
10014 #define GL_NV_shader_atomic_fp16_vector 1
10015 #endif /* GL_NV_shader_atomic_fp16_vector */
10017 #ifndef GL_NV_shader_atomic_int64
10018 #define GL_NV_shader_atomic_int64 1
10019 #endif /* GL_NV_shader_atomic_int64 */
10021 #ifndef GL_NV_shader_buffer_load
10022 #define GL_NV_shader_buffer_load 1
10023 #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
10024 #define GL_GPU_ADDRESS_NV 0x8F34
10025 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
10026 typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
10027 typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
10028 typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
10029 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
10030 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
10031 typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
10032 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
10033 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
10034 typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
10035 typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
10036 typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
10037 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
10038 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10039 #ifdef GL_GLEXT_PROTOTYPES
10040 GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
10041 GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
10042 GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
10043 GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
10044 GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
10045 GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
10046 GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
10047 GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
10048 GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
10049 GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
10050 GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
10051 GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
10052 GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10053 #endif
10054 #endif /* GL_NV_shader_buffer_load */
10056 #ifndef GL_NV_shader_buffer_store
10057 #define GL_NV_shader_buffer_store 1
10058 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
10059 #endif /* GL_NV_shader_buffer_store */
10061 #ifndef GL_NV_shader_storage_buffer_object
10062 #define GL_NV_shader_storage_buffer_object 1
10063 #endif /* GL_NV_shader_storage_buffer_object */
10065 #ifndef GL_NV_shader_thread_group
10066 #define GL_NV_shader_thread_group 1
10067 #define GL_WARP_SIZE_NV 0x9339
10068 #define GL_WARPS_PER_SM_NV 0x933A
10069 #define GL_SM_COUNT_NV 0x933B
10070 #endif /* GL_NV_shader_thread_group */
10072 #ifndef GL_NV_shader_thread_shuffle
10073 #define GL_NV_shader_thread_shuffle 1
10074 #endif /* GL_NV_shader_thread_shuffle */
10076 #ifndef GL_NV_tessellation_program5
10077 #define GL_NV_tessellation_program5 1
10078 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
10079 #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
10080 #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
10081 #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
10082 #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
10083 #endif /* GL_NV_tessellation_program5 */
10085 #ifndef GL_NV_texgen_emboss
10086 #define GL_NV_texgen_emboss 1
10087 #define GL_EMBOSS_LIGHT_NV 0x855D
10088 #define GL_EMBOSS_CONSTANT_NV 0x855E
10089 #define GL_EMBOSS_MAP_NV 0x855F
10090 #endif /* GL_NV_texgen_emboss */
10092 #ifndef GL_NV_texgen_reflection
10093 #define GL_NV_texgen_reflection 1
10094 #define GL_NORMAL_MAP_NV 0x8511
10095 #define GL_REFLECTION_MAP_NV 0x8512
10096 #endif /* GL_NV_texgen_reflection */
10098 #ifndef GL_NV_texture_barrier
10099 #define GL_NV_texture_barrier 1
10100 typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
10101 #ifdef GL_GLEXT_PROTOTYPES
10102 GLAPI void APIENTRY glTextureBarrierNV (void);
10103 #endif
10104 #endif /* GL_NV_texture_barrier */
10106 #ifndef GL_NV_texture_compression_vtc
10107 #define GL_NV_texture_compression_vtc 1
10108 #endif /* GL_NV_texture_compression_vtc */
10110 #ifndef GL_NV_texture_env_combine4
10111 #define GL_NV_texture_env_combine4 1
10112 #define GL_COMBINE4_NV 0x8503
10113 #define GL_SOURCE3_RGB_NV 0x8583
10114 #define GL_SOURCE3_ALPHA_NV 0x858B
10115 #define GL_OPERAND3_RGB_NV 0x8593
10116 #define GL_OPERAND3_ALPHA_NV 0x859B
10117 #endif /* GL_NV_texture_env_combine4 */
10119 #ifndef GL_NV_texture_expand_normal
10120 #define GL_NV_texture_expand_normal 1
10121 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
10122 #endif /* GL_NV_texture_expand_normal */
10124 #ifndef GL_NV_texture_multisample
10125 #define GL_NV_texture_multisample 1
10126 #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
10127 #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
10128 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
10129 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
10130 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
10131 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
10132 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
10133 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
10134 #ifdef GL_GLEXT_PROTOTYPES
10135 GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
10136 GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
10137 GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
10138 GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
10139 GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
10140 GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
10141 #endif
10142 #endif /* GL_NV_texture_multisample */
10144 #ifndef GL_NV_texture_rectangle
10145 #define GL_NV_texture_rectangle 1
10146 #define GL_TEXTURE_RECTANGLE_NV 0x84F5
10147 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
10148 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
10149 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
10150 #endif /* GL_NV_texture_rectangle */
10152 #ifndef GL_NV_texture_shader
10153 #define GL_NV_texture_shader 1
10154 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
10155 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
10156 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
10157 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
10158 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
10159 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
10160 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
10161 #define GL_SHADER_CONSISTENT_NV 0x86DD
10162 #define GL_TEXTURE_SHADER_NV 0x86DE
10163 #define GL_SHADER_OPERATION_NV 0x86DF
10164 #define GL_CULL_MODES_NV 0x86E0
10165 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
10166 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
10167 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
10168 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
10169 #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
10170 #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
10171 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
10172 #define GL_CONST_EYE_NV 0x86E5
10173 #define GL_PASS_THROUGH_NV 0x86E6
10174 #define GL_CULL_FRAGMENT_NV 0x86E7
10175 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
10176 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
10177 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
10178 #define GL_DOT_PRODUCT_NV 0x86EC
10179 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
10180 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
10181 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
10182 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
10183 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
10184 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
10185 #define GL_HILO_NV 0x86F4
10186 #define GL_DSDT_NV 0x86F5
10187 #define GL_DSDT_MAG_NV 0x86F6
10188 #define GL_DSDT_MAG_VIB_NV 0x86F7
10189 #define GL_HILO16_NV 0x86F8
10190 #define GL_SIGNED_HILO_NV 0x86F9
10191 #define GL_SIGNED_HILO16_NV 0x86FA
10192 #define GL_SIGNED_RGBA_NV 0x86FB
10193 #define GL_SIGNED_RGBA8_NV 0x86FC
10194 #define GL_SIGNED_RGB_NV 0x86FE
10195 #define GL_SIGNED_RGB8_NV 0x86FF
10196 #define GL_SIGNED_LUMINANCE_NV 0x8701
10197 #define GL_SIGNED_LUMINANCE8_NV 0x8702
10198 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
10199 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
10200 #define GL_SIGNED_ALPHA_NV 0x8705
10201 #define GL_SIGNED_ALPHA8_NV 0x8706
10202 #define GL_SIGNED_INTENSITY_NV 0x8707
10203 #define GL_SIGNED_INTENSITY8_NV 0x8708
10204 #define GL_DSDT8_NV 0x8709
10205 #define GL_DSDT8_MAG8_NV 0x870A
10206 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
10207 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
10208 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
10209 #define GL_HI_SCALE_NV 0x870E
10210 #define GL_LO_SCALE_NV 0x870F
10211 #define GL_DS_SCALE_NV 0x8710
10212 #define GL_DT_SCALE_NV 0x8711
10213 #define GL_MAGNITUDE_SCALE_NV 0x8712
10214 #define GL_VIBRANCE_SCALE_NV 0x8713
10215 #define GL_HI_BIAS_NV 0x8714
10216 #define GL_LO_BIAS_NV 0x8715
10217 #define GL_DS_BIAS_NV 0x8716
10218 #define GL_DT_BIAS_NV 0x8717
10219 #define GL_MAGNITUDE_BIAS_NV 0x8718
10220 #define GL_VIBRANCE_BIAS_NV 0x8719
10221 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
10222 #define GL_TEXTURE_HI_SIZE_NV 0x871B
10223 #define GL_TEXTURE_LO_SIZE_NV 0x871C
10224 #define GL_TEXTURE_DS_SIZE_NV 0x871D
10225 #define GL_TEXTURE_DT_SIZE_NV 0x871E
10226 #define GL_TEXTURE_MAG_SIZE_NV 0x871F
10227 #endif /* GL_NV_texture_shader */
10229 #ifndef GL_NV_texture_shader2
10230 #define GL_NV_texture_shader2 1
10231 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
10232 #endif /* GL_NV_texture_shader2 */
10234 #ifndef GL_NV_texture_shader3
10235 #define GL_NV_texture_shader3 1
10236 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
10237 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
10238 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
10239 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
10240 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
10241 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
10242 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
10243 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
10244 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
10245 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
10246 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
10247 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
10248 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
10249 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
10250 #define GL_HILO8_NV 0x885E
10251 #define GL_SIGNED_HILO8_NV 0x885F
10252 #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
10253 #endif /* GL_NV_texture_shader3 */
10255 #ifndef GL_NV_transform_feedback
10256 #define GL_NV_transform_feedback 1
10257 #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
10258 #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
10259 #define GL_TEXTURE_COORD_NV 0x8C79
10260 #define GL_CLIP_DISTANCE_NV 0x8C7A
10261 #define GL_VERTEX_ID_NV 0x8C7B
10262 #define GL_PRIMITIVE_ID_NV 0x8C7C
10263 #define GL_GENERIC_ATTRIB_NV 0x8C7D
10264 #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
10265 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
10266 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
10267 #define GL_ACTIVE_VARYINGS_NV 0x8C81
10268 #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
10269 #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
10270 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
10271 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
10272 #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
10273 #define GL_PRIMITIVES_GENERATED_NV 0x8C87
10274 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
10275 #define GL_RASTERIZER_DISCARD_NV 0x8C89
10276 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
10277 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
10278 #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
10279 #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
10280 #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
10281 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
10282 #define GL_LAYER_NV 0x8DAA
10283 #define GL_NEXT_BUFFER_NV -2
10284 #define GL_SKIP_COMPONENTS4_NV -3
10285 #define GL_SKIP_COMPONENTS3_NV -4
10286 #define GL_SKIP_COMPONENTS2_NV -5
10287 #define GL_SKIP_COMPONENTS1_NV -6
10288 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
10289 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
10290 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLenum bufferMode);
10291 typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
10292 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
10293 typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
10294 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
10295 typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
10296 typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
10297 typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
10298 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
10299 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
10300 #ifdef GL_GLEXT_PROTOTYPES
10301 GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
10302 GLAPI void APIENTRY glEndTransformFeedbackNV (void);
10303 GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLsizei count, const GLint *attribs, GLenum bufferMode);
10304 GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
10305 GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
10306 GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
10307 GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
10308 GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
10309 GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
10310 GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
10311 GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
10312 GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
10313 #endif
10314 #endif /* GL_NV_transform_feedback */
10316 #ifndef GL_NV_transform_feedback2
10317 #define GL_NV_transform_feedback2 1
10318 #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
10319 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
10320 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
10321 #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
10322 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
10323 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
10324 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
10325 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
10326 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
10327 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
10328 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
10329 #ifdef GL_GLEXT_PROTOTYPES
10330 GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
10331 GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
10332 GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
10333 GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
10334 GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
10335 GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
10336 GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
10337 #endif
10338 #endif /* GL_NV_transform_feedback2 */
10340 #ifndef GL_NV_uniform_buffer_unified_memory
10341 #define GL_NV_uniform_buffer_unified_memory 1
10342 #define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E
10343 #define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F
10344 #define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370
10345 #endif /* GL_NV_uniform_buffer_unified_memory */
10347 #ifndef GL_NV_vdpau_interop
10348 #define GL_NV_vdpau_interop 1
10349 typedef GLintptr GLvdpauSurfaceNV;
10350 #define GL_SURFACE_STATE_NV 0x86EB
10351 #define GL_SURFACE_REGISTERED_NV 0x86FD
10352 #define GL_SURFACE_MAPPED_NV 0x8700
10353 #define GL_WRITE_DISCARD_NV 0x88BE
10354 typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
10355 typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
10356 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
10357 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
10358 typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
10359 typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
10360 typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
10361 typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
10362 typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
10363 typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
10364 #ifdef GL_GLEXT_PROTOTYPES
10365 GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
10366 GLAPI void APIENTRY glVDPAUFiniNV (void);
10367 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
10368 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
10369 GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
10370 GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
10371 GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
10372 GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
10373 GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
10374 GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
10375 #endif
10376 #endif /* GL_NV_vdpau_interop */
10378 #ifndef GL_NV_vertex_array_range
10379 #define GL_NV_vertex_array_range 1
10380 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
10381 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
10382 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
10383 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
10384 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
10385 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
10386 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
10387 #ifdef GL_GLEXT_PROTOTYPES
10388 GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
10389 GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
10390 #endif
10391 #endif /* GL_NV_vertex_array_range */
10393 #ifndef GL_NV_vertex_array_range2
10394 #define GL_NV_vertex_array_range2 1
10395 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
10396 #endif /* GL_NV_vertex_array_range2 */
10398 #ifndef GL_NV_vertex_attrib_integer_64bit
10399 #define GL_NV_vertex_attrib_integer_64bit 1
10400 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
10401 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
10402 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
10403 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
10404 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
10405 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
10406 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
10407 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
10408 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
10409 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
10410 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
10411 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
10412 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
10413 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
10414 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
10415 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
10416 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
10417 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
10418 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
10419 #ifdef GL_GLEXT_PROTOTYPES
10420 GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
10421 GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
10422 GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
10423 GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
10424 GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
10425 GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
10426 GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
10427 GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
10428 GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
10429 GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
10430 GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
10431 GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
10432 GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
10433 GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
10434 GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
10435 GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
10436 GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
10437 GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
10438 GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
10439 #endif
10440 #endif /* GL_NV_vertex_attrib_integer_64bit */
10442 #ifndef GL_NV_vertex_buffer_unified_memory
10443 #define GL_NV_vertex_buffer_unified_memory 1
10444 #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
10445 #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
10446 #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
10447 #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
10448 #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
10449 #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
10450 #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
10451 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
10452 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
10453 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
10454 #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
10455 #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
10456 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
10457 #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
10458 #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
10459 #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
10460 #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
10461 #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
10462 #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
10463 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
10464 #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
10465 #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
10466 #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
10467 #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
10468 #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
10469 typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
10470 typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10471 typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
10472 typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10473 typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
10474 typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10475 typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
10476 typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10477 typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
10478 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
10479 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
10480 typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
10481 #ifdef GL_GLEXT_PROTOTYPES
10482 GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
10483 GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
10484 GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
10485 GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
10486 GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
10487 GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
10488 GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
10489 GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
10490 GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
10491 GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
10492 GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
10493 GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
10494 #endif
10495 #endif /* GL_NV_vertex_buffer_unified_memory */
10497 #ifndef GL_NV_vertex_program
10498 #define GL_NV_vertex_program 1
10499 #define GL_VERTEX_PROGRAM_NV 0x8620
10500 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
10501 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
10502 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
10503 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
10504 #define GL_CURRENT_ATTRIB_NV 0x8626
10505 #define GL_PROGRAM_LENGTH_NV 0x8627
10506 #define GL_PROGRAM_STRING_NV 0x8628
10507 #define GL_MODELVIEW_PROJECTION_NV 0x8629
10508 #define GL_IDENTITY_NV 0x862A
10509 #define GL_INVERSE_NV 0x862B
10510 #define GL_TRANSPOSE_NV 0x862C
10511 #define GL_INVERSE_TRANSPOSE_NV 0x862D
10512 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
10513 #define GL_MAX_TRACK_MATRICES_NV 0x862F
10514 #define GL_MATRIX0_NV 0x8630
10515 #define GL_MATRIX1_NV 0x8631
10516 #define GL_MATRIX2_NV 0x8632
10517 #define GL_MATRIX3_NV 0x8633
10518 #define GL_MATRIX4_NV 0x8634
10519 #define GL_MATRIX5_NV 0x8635
10520 #define GL_MATRIX6_NV 0x8636
10521 #define GL_MATRIX7_NV 0x8637
10522 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
10523 #define GL_CURRENT_MATRIX_NV 0x8641
10524 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
10525 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
10526 #define GL_PROGRAM_PARAMETER_NV 0x8644
10527 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
10528 #define GL_PROGRAM_TARGET_NV 0x8646
10529 #define GL_PROGRAM_RESIDENT_NV 0x8647
10530 #define GL_TRACK_MATRIX_NV 0x8648
10531 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
10532 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
10533 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
10534 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
10535 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
10536 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
10537 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
10538 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
10539 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
10540 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
10541 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
10542 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
10543 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
10544 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
10545 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
10546 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
10547 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
10548 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
10549 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
10550 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
10551 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
10552 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
10553 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
10554 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
10555 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
10556 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
10557 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
10558 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
10559 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
10560 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
10561 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
10562 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
10563 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
10564 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
10565 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
10566 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
10567 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
10568 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
10569 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
10570 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
10571 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
10572 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
10573 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
10574 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
10575 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
10576 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
10577 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
10578 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
10579 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
10580 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
10581 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
10582 typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
10583 typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
10584 typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
10585 typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
10586 typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
10587 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
10588 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
10589 typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
10590 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
10591 typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
10592 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
10593 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
10594 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
10595 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
10596 typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
10597 typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
10598 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10599 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
10600 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10601 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
10602 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
10603 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
10604 typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
10605 typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
10606 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
10607 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
10608 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
10609 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
10610 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
10611 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
10612 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
10613 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
10614 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
10615 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
10616 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
10617 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
10618 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
10619 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10620 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
10621 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
10622 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
10623 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
10624 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
10625 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10626 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
10627 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10628 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
10629 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
10630 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
10631 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
10632 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
10633 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10634 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10635 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10636 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10637 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10638 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10639 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10640 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10641 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10642 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10643 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10644 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10645 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
10646 #ifdef GL_GLEXT_PROTOTYPES
10647 GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
10648 GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
10649 GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
10650 GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
10651 GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
10652 GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
10653 GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
10654 GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
10655 GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
10656 GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
10657 GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
10658 GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
10659 GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
10660 GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
10661 GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
10662 GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
10663 GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10664 GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
10665 GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10666 GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
10667 GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
10668 GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
10669 GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
10670 GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
10671 GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
10672 GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
10673 GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
10674 GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
10675 GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
10676 GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
10677 GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
10678 GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
10679 GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
10680 GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
10681 GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
10682 GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
10683 GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
10684 GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10685 GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
10686 GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
10687 GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
10688 GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
10689 GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
10690 GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10691 GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
10692 GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10693 GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
10694 GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
10695 GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
10696 GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
10697 GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
10698 GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
10699 GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
10700 GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
10701 GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
10702 GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
10703 GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
10704 GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
10705 GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
10706 GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
10707 GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
10708 GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
10709 GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
10710 GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
10711 #endif
10712 #endif /* GL_NV_vertex_program */
10714 #ifndef GL_NV_vertex_program1_1
10715 #define GL_NV_vertex_program1_1 1
10716 #endif /* GL_NV_vertex_program1_1 */
10718 #ifndef GL_NV_vertex_program2
10719 #define GL_NV_vertex_program2 1
10720 #endif /* GL_NV_vertex_program2 */
10722 #ifndef GL_NV_vertex_program2_option
10723 #define GL_NV_vertex_program2_option 1
10724 #endif /* GL_NV_vertex_program2_option */
10726 #ifndef GL_NV_vertex_program3
10727 #define GL_NV_vertex_program3 1
10728 #endif /* GL_NV_vertex_program3 */
10730 #ifndef GL_NV_vertex_program4
10731 #define GL_NV_vertex_program4 1
10732 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
10733 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
10734 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
10735 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
10736 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
10737 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
10738 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
10739 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
10740 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10741 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
10742 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
10743 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
10744 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
10745 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
10746 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
10747 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
10748 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
10749 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
10750 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
10751 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
10752 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
10753 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10754 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
10755 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
10756 #ifdef GL_GLEXT_PROTOTYPES
10757 GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
10758 GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
10759 GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
10760 GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
10761 GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
10762 GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
10763 GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
10764 GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10765 GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
10766 GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
10767 GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
10768 GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
10769 GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
10770 GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
10771 GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
10772 GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
10773 GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
10774 GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
10775 GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
10776 GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
10777 GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10778 GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
10779 GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
10780 #endif
10781 #endif /* GL_NV_vertex_program4 */
10783 #ifndef GL_NV_video_capture
10784 #define GL_NV_video_capture 1
10785 #define GL_VIDEO_BUFFER_NV 0x9020
10786 #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
10787 #define GL_FIELD_UPPER_NV 0x9022
10788 #define GL_FIELD_LOWER_NV 0x9023
10789 #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
10790 #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
10791 #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
10792 #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
10793 #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
10794 #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
10795 #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
10796 #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
10797 #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
10798 #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
10799 #define GL_PARTIAL_SUCCESS_NV 0x902E
10800 #define GL_SUCCESS_NV 0x902F
10801 #define GL_FAILURE_NV 0x9030
10802 #define GL_YCBYCR8_422_NV 0x9031
10803 #define GL_YCBAYCR8A_4224_NV 0x9032
10804 #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
10805 #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
10806 #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
10807 #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
10808 #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
10809 #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
10810 #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
10811 #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
10812 #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
10813 #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
10814 typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
10815 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
10816 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
10817 typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
10818 typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
10819 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
10820 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
10821 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
10822 typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
10823 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
10824 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
10825 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
10826 #ifdef GL_GLEXT_PROTOTYPES
10827 GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
10828 GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
10829 GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
10830 GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
10831 GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
10832 GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
10833 GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
10834 GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
10835 GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
10836 GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
10837 GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
10838 GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
10839 #endif
10840 #endif /* GL_NV_video_capture */
10842 #ifndef GL_NV_viewport_array2
10843 #define GL_NV_viewport_array2 1
10844 #endif /* GL_NV_viewport_array2 */
10846 #ifndef GL_OML_interlace
10847 #define GL_OML_interlace 1
10848 #define GL_INTERLACE_OML 0x8980
10849 #define GL_INTERLACE_READ_OML 0x8981
10850 #endif /* GL_OML_interlace */
10852 #ifndef GL_OML_resample
10853 #define GL_OML_resample 1
10854 #define GL_PACK_RESAMPLE_OML 0x8984
10855 #define GL_UNPACK_RESAMPLE_OML 0x8985
10856 #define GL_RESAMPLE_REPLICATE_OML 0x8986
10857 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
10858 #define GL_RESAMPLE_AVERAGE_OML 0x8988
10859 #define GL_RESAMPLE_DECIMATE_OML 0x8989
10860 #endif /* GL_OML_resample */
10862 #ifndef GL_OML_subsample
10863 #define GL_OML_subsample 1
10864 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
10865 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
10866 #endif /* GL_OML_subsample */
10868 #ifndef GL_PGI_misc_hints
10869 #define GL_PGI_misc_hints 1
10870 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
10871 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
10872 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
10873 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
10874 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
10875 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
10876 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
10877 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
10878 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
10879 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
10880 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
10881 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
10882 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
10883 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
10884 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
10885 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
10886 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
10887 #define GL_CLIP_FAR_HINT_PGI 0x1A221
10888 #define GL_WIDE_LINE_HINT_PGI 0x1A222
10889 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
10890 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
10891 #ifdef GL_GLEXT_PROTOTYPES
10892 GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
10893 #endif
10894 #endif /* GL_PGI_misc_hints */
10896 #ifndef GL_PGI_vertex_hints
10897 #define GL_PGI_vertex_hints 1
10898 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
10899 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
10900 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
10901 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
10902 #define GL_COLOR3_BIT_PGI 0x00010000
10903 #define GL_COLOR4_BIT_PGI 0x00020000
10904 #define GL_EDGEFLAG_BIT_PGI 0x00040000
10905 #define GL_INDEX_BIT_PGI 0x00080000
10906 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
10907 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
10908 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
10909 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
10910 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
10911 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
10912 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
10913 #define GL_NORMAL_BIT_PGI 0x08000000
10914 #define GL_TEXCOORD1_BIT_PGI 0x10000000
10915 #define GL_TEXCOORD2_BIT_PGI 0x20000000
10916 #define GL_TEXCOORD3_BIT_PGI 0x40000000
10917 #define GL_TEXCOORD4_BIT_PGI 0x80000000
10918 #define GL_VERTEX23_BIT_PGI 0x00000004
10919 #define GL_VERTEX4_BIT_PGI 0x00000008
10920 #endif /* GL_PGI_vertex_hints */
10922 #ifndef GL_REND_screen_coordinates
10923 #define GL_REND_screen_coordinates 1
10924 #define GL_SCREEN_COORDINATES_REND 0x8490
10925 #define GL_INVERTED_SCREEN_W_REND 0x8491
10926 #endif /* GL_REND_screen_coordinates */
10928 #ifndef GL_S3_s3tc
10929 #define GL_S3_s3tc 1
10930 #define GL_RGB_S3TC 0x83A0
10931 #define GL_RGB4_S3TC 0x83A1
10932 #define GL_RGBA_S3TC 0x83A2
10933 #define GL_RGBA4_S3TC 0x83A3
10934 #define GL_RGBA_DXT5_S3TC 0x83A4
10935 #define GL_RGBA4_DXT5_S3TC 0x83A5
10936 #endif /* GL_S3_s3tc */
10938 #ifndef GL_SGIS_detail_texture
10939 #define GL_SGIS_detail_texture 1
10940 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
10941 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
10942 #define GL_LINEAR_DETAIL_SGIS 0x8097
10943 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
10944 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
10945 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
10946 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
10947 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
10948 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
10949 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
10950 #ifdef GL_GLEXT_PROTOTYPES
10951 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
10952 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
10953 #endif
10954 #endif /* GL_SGIS_detail_texture */
10956 #ifndef GL_SGIS_fog_function
10957 #define GL_SGIS_fog_function 1
10958 #define GL_FOG_FUNC_SGIS 0x812A
10959 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
10960 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
10961 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
10962 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
10963 #ifdef GL_GLEXT_PROTOTYPES
10964 GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
10965 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
10966 #endif
10967 #endif /* GL_SGIS_fog_function */
10969 #ifndef GL_SGIS_generate_mipmap
10970 #define GL_SGIS_generate_mipmap 1
10971 #define GL_GENERATE_MIPMAP_SGIS 0x8191
10972 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
10973 #endif /* GL_SGIS_generate_mipmap */
10975 #ifndef GL_SGIS_multisample
10976 #define GL_SGIS_multisample 1
10977 #define GL_MULTISAMPLE_SGIS 0x809D
10978 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
10979 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
10980 #define GL_SAMPLE_MASK_SGIS 0x80A0
10981 #define GL_1PASS_SGIS 0x80A1
10982 #define GL_2PASS_0_SGIS 0x80A2
10983 #define GL_2PASS_1_SGIS 0x80A3
10984 #define GL_4PASS_0_SGIS 0x80A4
10985 #define GL_4PASS_1_SGIS 0x80A5
10986 #define GL_4PASS_2_SGIS 0x80A6
10987 #define GL_4PASS_3_SGIS 0x80A7
10988 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
10989 #define GL_SAMPLES_SGIS 0x80A9
10990 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
10991 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
10992 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
10993 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
10994 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
10995 #ifdef GL_GLEXT_PROTOTYPES
10996 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
10997 GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
10998 #endif
10999 #endif /* GL_SGIS_multisample */
11001 #ifndef GL_SGIS_pixel_texture
11002 #define GL_SGIS_pixel_texture 1
11003 #define GL_PIXEL_TEXTURE_SGIS 0x8353
11004 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
11005 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
11006 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
11007 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
11008 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
11009 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
11010 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
11011 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
11012 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
11013 #ifdef GL_GLEXT_PROTOTYPES
11014 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
11015 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
11016 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
11017 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
11018 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
11019 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
11020 #endif
11021 #endif /* GL_SGIS_pixel_texture */
11023 #ifndef GL_SGIS_point_line_texgen
11024 #define GL_SGIS_point_line_texgen 1
11025 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
11026 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
11027 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
11028 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
11029 #define GL_EYE_POINT_SGIS 0x81F4
11030 #define GL_OBJECT_POINT_SGIS 0x81F5
11031 #define GL_EYE_LINE_SGIS 0x81F6
11032 #define GL_OBJECT_LINE_SGIS 0x81F7
11033 #endif /* GL_SGIS_point_line_texgen */
11035 #ifndef GL_SGIS_point_parameters
11036 #define GL_SGIS_point_parameters 1
11037 #define GL_POINT_SIZE_MIN_SGIS 0x8126
11038 #define GL_POINT_SIZE_MAX_SGIS 0x8127
11039 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
11040 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
11041 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
11042 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
11043 #ifdef GL_GLEXT_PROTOTYPES
11044 GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
11045 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
11046 #endif
11047 #endif /* GL_SGIS_point_parameters */
11049 #ifndef GL_SGIS_sharpen_texture
11050 #define GL_SGIS_sharpen_texture 1
11051 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
11052 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
11053 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
11054 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
11055 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
11056 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
11057 #ifdef GL_GLEXT_PROTOTYPES
11058 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
11059 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
11060 #endif
11061 #endif /* GL_SGIS_sharpen_texture */
11063 #ifndef GL_SGIS_texture4D
11064 #define GL_SGIS_texture4D 1
11065 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
11066 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
11067 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
11068 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
11069 #define GL_TEXTURE_4D_SGIS 0x8134
11070 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
11071 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
11072 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
11073 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
11074 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
11075 typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels);
11076 typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels);
11077 #ifdef GL_GLEXT_PROTOTYPES
11078 GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels);
11079 GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels);
11080 #endif
11081 #endif /* GL_SGIS_texture4D */
11083 #ifndef GL_SGIS_texture_border_clamp
11084 #define GL_SGIS_texture_border_clamp 1
11085 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
11086 #endif /* GL_SGIS_texture_border_clamp */
11088 #ifndef GL_SGIS_texture_color_mask
11089 #define GL_SGIS_texture_color_mask 1
11090 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
11091 typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
11092 #ifdef GL_GLEXT_PROTOTYPES
11093 GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
11094 #endif
11095 #endif /* GL_SGIS_texture_color_mask */
11097 #ifndef GL_SGIS_texture_edge_clamp
11098 #define GL_SGIS_texture_edge_clamp 1
11099 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
11100 #endif /* GL_SGIS_texture_edge_clamp */
11102 #ifndef GL_SGIS_texture_filter4
11103 #define GL_SGIS_texture_filter4 1
11104 #define GL_FILTER4_SGIS 0x8146
11105 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
11106 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
11107 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
11108 #ifdef GL_GLEXT_PROTOTYPES
11109 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
11110 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
11111 #endif
11112 #endif /* GL_SGIS_texture_filter4 */
11114 #ifndef GL_SGIS_texture_lod
11115 #define GL_SGIS_texture_lod 1
11116 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
11117 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
11118 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
11119 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
11120 #endif /* GL_SGIS_texture_lod */
11122 #ifndef GL_SGIS_texture_select
11123 #define GL_SGIS_texture_select 1
11124 #define GL_DUAL_ALPHA4_SGIS 0x8110
11125 #define GL_DUAL_ALPHA8_SGIS 0x8111
11126 #define GL_DUAL_ALPHA12_SGIS 0x8112
11127 #define GL_DUAL_ALPHA16_SGIS 0x8113
11128 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
11129 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
11130 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
11131 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
11132 #define GL_DUAL_INTENSITY4_SGIS 0x8118
11133 #define GL_DUAL_INTENSITY8_SGIS 0x8119
11134 #define GL_DUAL_INTENSITY12_SGIS 0x811A
11135 #define GL_DUAL_INTENSITY16_SGIS 0x811B
11136 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
11137 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
11138 #define GL_QUAD_ALPHA4_SGIS 0x811E
11139 #define GL_QUAD_ALPHA8_SGIS 0x811F
11140 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
11141 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
11142 #define GL_QUAD_INTENSITY4_SGIS 0x8122
11143 #define GL_QUAD_INTENSITY8_SGIS 0x8123
11144 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
11145 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
11146 #endif /* GL_SGIS_texture_select */
11148 #ifndef GL_SGIX_async
11149 #define GL_SGIX_async 1
11150 #define GL_ASYNC_MARKER_SGIX 0x8329
11151 typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
11152 typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
11153 typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
11154 typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
11155 typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
11156 typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
11157 #ifdef GL_GLEXT_PROTOTYPES
11158 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
11159 GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
11160 GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
11161 GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
11162 GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
11163 GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
11164 #endif
11165 #endif /* GL_SGIX_async */
11167 #ifndef GL_SGIX_async_histogram
11168 #define GL_SGIX_async_histogram 1
11169 #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
11170 #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
11171 #endif /* GL_SGIX_async_histogram */
11173 #ifndef GL_SGIX_async_pixel
11174 #define GL_SGIX_async_pixel 1
11175 #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
11176 #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
11177 #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
11178 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
11179 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
11180 #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
11181 #endif /* GL_SGIX_async_pixel */
11183 #ifndef GL_SGIX_blend_alpha_minmax
11184 #define GL_SGIX_blend_alpha_minmax 1
11185 #define GL_ALPHA_MIN_SGIX 0x8320
11186 #define GL_ALPHA_MAX_SGIX 0x8321
11187 #endif /* GL_SGIX_blend_alpha_minmax */
11189 #ifndef GL_SGIX_calligraphic_fragment
11190 #define GL_SGIX_calligraphic_fragment 1
11191 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
11192 #endif /* GL_SGIX_calligraphic_fragment */
11194 #ifndef GL_SGIX_clipmap
11195 #define GL_SGIX_clipmap 1
11196 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
11197 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
11198 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
11199 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
11200 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
11201 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
11202 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
11203 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
11204 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
11205 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
11206 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
11207 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
11208 #endif /* GL_SGIX_clipmap */
11210 #ifndef GL_SGIX_convolution_accuracy
11211 #define GL_SGIX_convolution_accuracy 1
11212 #define GL_CONVOLUTION_HINT_SGIX 0x8316
11213 #endif /* GL_SGIX_convolution_accuracy */
11215 #ifndef GL_SGIX_depth_pass_instrument
11216 #define GL_SGIX_depth_pass_instrument 1
11217 #endif /* GL_SGIX_depth_pass_instrument */
11219 #ifndef GL_SGIX_depth_texture
11220 #define GL_SGIX_depth_texture 1
11221 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
11222 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
11223 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
11224 #endif /* GL_SGIX_depth_texture */
11226 #ifndef GL_SGIX_flush_raster
11227 #define GL_SGIX_flush_raster 1
11228 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
11229 #ifdef GL_GLEXT_PROTOTYPES
11230 GLAPI void APIENTRY glFlushRasterSGIX (void);
11231 #endif
11232 #endif /* GL_SGIX_flush_raster */
11234 #ifndef GL_SGIX_fog_offset
11235 #define GL_SGIX_fog_offset 1
11236 #define GL_FOG_OFFSET_SGIX 0x8198
11237 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
11238 #endif /* GL_SGIX_fog_offset */
11240 #ifndef GL_SGIX_fragment_lighting
11241 #define GL_SGIX_fragment_lighting 1
11242 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
11243 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
11244 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
11245 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
11246 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
11247 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
11248 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
11249 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
11250 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
11251 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
11252 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
11253 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
11254 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
11255 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
11256 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
11257 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
11258 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
11259 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
11260 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
11261 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
11262 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
11263 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
11264 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
11265 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
11266 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
11267 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
11268 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
11269 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
11270 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
11271 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
11272 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
11273 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
11274 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
11275 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
11276 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
11277 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
11278 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
11279 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
11280 #ifdef GL_GLEXT_PROTOTYPES
11281 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
11282 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
11283 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
11284 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
11285 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
11286 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
11287 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
11288 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
11289 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
11290 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
11291 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
11292 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
11293 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
11294 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
11295 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
11296 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
11297 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
11298 GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
11299 #endif
11300 #endif /* GL_SGIX_fragment_lighting */
11302 #ifndef GL_SGIX_framezoom
11303 #define GL_SGIX_framezoom 1
11304 #define GL_FRAMEZOOM_SGIX 0x818B
11305 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
11306 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
11307 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
11308 #ifdef GL_GLEXT_PROTOTYPES
11309 GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
11310 #endif
11311 #endif /* GL_SGIX_framezoom */
11313 #ifndef GL_SGIX_igloo_interface
11314 #define GL_SGIX_igloo_interface 1
11315 typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
11316 #ifdef GL_GLEXT_PROTOTYPES
11317 GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
11318 #endif
11319 #endif /* GL_SGIX_igloo_interface */
11321 #ifndef GL_SGIX_instruments
11322 #define GL_SGIX_instruments 1
11323 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
11324 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
11325 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
11326 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
11327 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
11328 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
11329 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
11330 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
11331 #ifdef GL_GLEXT_PROTOTYPES
11332 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
11333 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
11334 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
11335 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
11336 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
11337 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
11338 #endif
11339 #endif /* GL_SGIX_instruments */
11341 #ifndef GL_SGIX_interlace
11342 #define GL_SGIX_interlace 1
11343 #define GL_INTERLACE_SGIX 0x8094
11344 #endif /* GL_SGIX_interlace */
11346 #ifndef GL_SGIX_ir_instrument1
11347 #define GL_SGIX_ir_instrument1 1
11348 #define GL_IR_INSTRUMENT1_SGIX 0x817F
11349 #endif /* GL_SGIX_ir_instrument1 */
11351 #ifndef GL_SGIX_list_priority
11352 #define GL_SGIX_list_priority 1
11353 #define GL_LIST_PRIORITY_SGIX 0x8182
11354 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
11355 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
11356 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
11357 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
11358 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
11359 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
11360 #ifdef GL_GLEXT_PROTOTYPES
11361 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
11362 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
11363 GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
11364 GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
11365 GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
11366 GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
11367 #endif
11368 #endif /* GL_SGIX_list_priority */
11370 #ifndef GL_SGIX_pixel_texture
11371 #define GL_SGIX_pixel_texture 1
11372 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
11373 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
11374 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
11375 #ifdef GL_GLEXT_PROTOTYPES
11376 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
11377 #endif
11378 #endif /* GL_SGIX_pixel_texture */
11380 #ifndef GL_SGIX_pixel_tiles
11381 #define GL_SGIX_pixel_tiles 1
11382 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
11383 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
11384 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
11385 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
11386 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
11387 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
11388 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
11389 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
11390 #endif /* GL_SGIX_pixel_tiles */
11392 #ifndef GL_SGIX_polynomial_ffd
11393 #define GL_SGIX_polynomial_ffd 1
11394 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
11395 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
11396 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
11397 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
11398 #define GL_DEFORMATIONS_MASK_SGIX 0x8196
11399 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
11400 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
11401 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
11402 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
11403 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
11404 #ifdef GL_GLEXT_PROTOTYPES
11405 GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
11406 GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
11407 GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
11408 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
11409 #endif
11410 #endif /* GL_SGIX_polynomial_ffd */
11412 #ifndef GL_SGIX_reference_plane
11413 #define GL_SGIX_reference_plane 1
11414 #define GL_REFERENCE_PLANE_SGIX 0x817D
11415 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
11416 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
11417 #ifdef GL_GLEXT_PROTOTYPES
11418 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
11419 #endif
11420 #endif /* GL_SGIX_reference_plane */
11422 #ifndef GL_SGIX_resample
11423 #define GL_SGIX_resample 1
11424 #define GL_PACK_RESAMPLE_SGIX 0x842C
11425 #define GL_UNPACK_RESAMPLE_SGIX 0x842D
11426 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
11427 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
11428 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
11429 #endif /* GL_SGIX_resample */
11431 #ifndef GL_SGIX_scalebias_hint
11432 #define GL_SGIX_scalebias_hint 1
11433 #define GL_SCALEBIAS_HINT_SGIX 0x8322
11434 #endif /* GL_SGIX_scalebias_hint */
11436 #ifndef GL_SGIX_shadow
11437 #define GL_SGIX_shadow 1
11438 #define GL_TEXTURE_COMPARE_SGIX 0x819A
11439 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
11440 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
11441 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
11442 #endif /* GL_SGIX_shadow */
11444 #ifndef GL_SGIX_shadow_ambient
11445 #define GL_SGIX_shadow_ambient 1
11446 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
11447 #endif /* GL_SGIX_shadow_ambient */
11449 #ifndef GL_SGIX_sprite
11450 #define GL_SGIX_sprite 1
11451 #define GL_SPRITE_SGIX 0x8148
11452 #define GL_SPRITE_MODE_SGIX 0x8149
11453 #define GL_SPRITE_AXIS_SGIX 0x814A
11454 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
11455 #define GL_SPRITE_AXIAL_SGIX 0x814C
11456 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
11457 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
11458 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
11459 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
11460 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
11461 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
11462 #ifdef GL_GLEXT_PROTOTYPES
11463 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
11464 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
11465 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
11466 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
11467 #endif
11468 #endif /* GL_SGIX_sprite */
11470 #ifndef GL_SGIX_subsample
11471 #define GL_SGIX_subsample 1
11472 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
11473 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
11474 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
11475 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
11476 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
11477 #endif /* GL_SGIX_subsample */
11479 #ifndef GL_SGIX_tag_sample_buffer
11480 #define GL_SGIX_tag_sample_buffer 1
11481 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
11482 #ifdef GL_GLEXT_PROTOTYPES
11483 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
11484 #endif
11485 #endif /* GL_SGIX_tag_sample_buffer */
11487 #ifndef GL_SGIX_texture_add_env
11488 #define GL_SGIX_texture_add_env 1
11489 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
11490 #endif /* GL_SGIX_texture_add_env */
11492 #ifndef GL_SGIX_texture_coordinate_clamp
11493 #define GL_SGIX_texture_coordinate_clamp 1
11494 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
11495 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
11496 #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
11497 #endif /* GL_SGIX_texture_coordinate_clamp */
11499 #ifndef GL_SGIX_texture_lod_bias
11500 #define GL_SGIX_texture_lod_bias 1
11501 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
11502 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
11503 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
11504 #endif /* GL_SGIX_texture_lod_bias */
11506 #ifndef GL_SGIX_texture_multi_buffer
11507 #define GL_SGIX_texture_multi_buffer 1
11508 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
11509 #endif /* GL_SGIX_texture_multi_buffer */
11511 #ifndef GL_SGIX_texture_scale_bias
11512 #define GL_SGIX_texture_scale_bias 1
11513 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
11514 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
11515 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
11516 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
11517 #endif /* GL_SGIX_texture_scale_bias */
11519 #ifndef GL_SGIX_vertex_preclip
11520 #define GL_SGIX_vertex_preclip 1
11521 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
11522 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
11523 #endif /* GL_SGIX_vertex_preclip */
11525 #ifndef GL_SGIX_ycrcb
11526 #define GL_SGIX_ycrcb 1
11527 #define GL_YCRCB_422_SGIX 0x81BB
11528 #define GL_YCRCB_444_SGIX 0x81BC
11529 #endif /* GL_SGIX_ycrcb */
11531 #ifndef GL_SGIX_ycrcb_subsample
11532 #define GL_SGIX_ycrcb_subsample 1
11533 #endif /* GL_SGIX_ycrcb_subsample */
11535 #ifndef GL_SGIX_ycrcba
11536 #define GL_SGIX_ycrcba 1
11537 #define GL_YCRCB_SGIX 0x8318
11538 #define GL_YCRCBA_SGIX 0x8319
11539 #endif /* GL_SGIX_ycrcba */
11541 #ifndef GL_SGI_color_matrix
11542 #define GL_SGI_color_matrix 1
11543 #define GL_COLOR_MATRIX_SGI 0x80B1
11544 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
11545 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
11546 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
11547 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
11548 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
11549 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
11550 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
11551 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
11552 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
11553 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
11554 #endif /* GL_SGI_color_matrix */
11556 #ifndef GL_SGI_color_table
11557 #define GL_SGI_color_table 1
11558 #define GL_COLOR_TABLE_SGI 0x80D0
11559 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
11560 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
11561 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
11562 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
11563 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
11564 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
11565 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
11566 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
11567 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
11568 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
11569 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
11570 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
11571 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
11572 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
11573 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
11574 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
11575 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
11576 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
11577 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
11578 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
11579 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
11580 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
11581 #ifdef GL_GLEXT_PROTOTYPES
11582 GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
11583 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
11584 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
11585 GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
11586 GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
11587 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
11588 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
11589 #endif
11590 #endif /* GL_SGI_color_table */
11592 #ifndef GL_SGI_texture_color_table
11593 #define GL_SGI_texture_color_table 1
11594 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
11595 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
11596 #endif /* GL_SGI_texture_color_table */
11598 #ifndef GL_SUNX_constant_data
11599 #define GL_SUNX_constant_data 1
11600 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
11601 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
11602 typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
11603 #ifdef GL_GLEXT_PROTOTYPES
11604 GLAPI void APIENTRY glFinishTextureSUNX (void);
11605 #endif
11606 #endif /* GL_SUNX_constant_data */
11608 #ifndef GL_SUN_convolution_border_modes
11609 #define GL_SUN_convolution_border_modes 1
11610 #define GL_WRAP_BORDER_SUN 0x81D4
11611 #endif /* GL_SUN_convolution_border_modes */
11613 #ifndef GL_SUN_global_alpha
11614 #define GL_SUN_global_alpha 1
11615 #define GL_GLOBAL_ALPHA_SUN 0x81D9
11616 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
11617 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
11618 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
11619 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
11620 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
11621 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
11622 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
11623 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
11624 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
11625 #ifdef GL_GLEXT_PROTOTYPES
11626 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
11627 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
11628 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
11629 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
11630 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
11631 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
11632 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
11633 GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
11634 #endif
11635 #endif /* GL_SUN_global_alpha */
11637 #ifndef GL_SUN_mesh_array
11638 #define GL_SUN_mesh_array 1
11639 #define GL_QUAD_MESH_SUN 0x8614
11640 #define GL_TRIANGLE_MESH_SUN 0x8615
11641 typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
11642 #ifdef GL_GLEXT_PROTOTYPES
11643 GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
11644 #endif
11645 #endif /* GL_SUN_mesh_array */
11647 #ifndef GL_SUN_slice_accum
11648 #define GL_SUN_slice_accum 1
11649 #define GL_SLICE_ACCUM_SUN 0x85CC
11650 #endif /* GL_SUN_slice_accum */
11652 #ifndef GL_SUN_triangle_list
11653 #define GL_SUN_triangle_list 1
11654 #define GL_RESTART_SUN 0x0001
11655 #define GL_REPLACE_MIDDLE_SUN 0x0002
11656 #define GL_REPLACE_OLDEST_SUN 0x0003
11657 #define GL_TRIANGLE_LIST_SUN 0x81D7
11658 #define GL_REPLACEMENT_CODE_SUN 0x81D8
11659 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
11660 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
11661 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
11662 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
11663 #define GL_R1UI_V3F_SUN 0x85C4
11664 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
11665 #define GL_R1UI_C3F_V3F_SUN 0x85C6
11666 #define GL_R1UI_N3F_V3F_SUN 0x85C7
11667 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
11668 #define GL_R1UI_T2F_V3F_SUN 0x85C9
11669 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
11670 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
11671 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
11672 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
11673 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
11674 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
11675 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
11676 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
11677 typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
11678 #ifdef GL_GLEXT_PROTOTYPES
11679 GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
11680 GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
11681 GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
11682 GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
11683 GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
11684 GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
11685 GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
11686 #endif
11687 #endif /* GL_SUN_triangle_list */
11689 #ifndef GL_SUN_vertex
11690 #define GL_SUN_vertex 1
11691 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
11692 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
11693 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11694 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
11695 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11696 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
11697 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11698 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
11699 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11700 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
11701 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11702 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
11703 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11704 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
11705 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11706 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
11707 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11708 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
11709 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11710 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11711 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11712 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11713 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11714 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11715 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
11716 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
11717 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11718 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
11719 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11720 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
11721 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11722 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
11723 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11724 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11725 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11726 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
11727 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11728 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11729 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11730 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11731 #ifdef GL_GLEXT_PROTOTYPES
11732 GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
11733 GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
11734 GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11735 GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
11736 GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11737 GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
11738 GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11739 GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
11740 GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11741 GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
11742 GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11743 GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
11744 GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11745 GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
11746 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11747 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
11748 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11749 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
11750 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11751 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11752 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11753 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11754 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11755 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11756 GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
11757 GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
11758 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11759 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
11760 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11761 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
11762 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11763 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
11764 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11765 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11766 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11767 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
11768 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11769 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11770 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11771 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11772 #endif
11773 #endif /* GL_SUN_vertex */
11775 #ifndef GL_WIN_phong_shading
11776 #define GL_WIN_phong_shading 1
11777 #define GL_PHONG_WIN 0x80EA
11778 #define GL_PHONG_HINT_WIN 0x80EB
11779 #endif /* GL_WIN_phong_shading */
11781 #ifndef GL_WIN_specular_fog
11782 #define GL_WIN_specular_fog 1
11783 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
11784 #endif /* GL_WIN_specular_fog */
11786 #ifdef __cplusplus
11788 #endif
11790 #endif