glext.h
Go to the documentation of this file.
1 #ifndef __glext_h_
2 #define __glext_h_ 1
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 /*
9 ** Copyright (c) 2013-2014 The Khronos Group Inc.
10 **
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:
18 **
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
21 **
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.
29 */
30 /*
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/
35 **
36 ** Khronos $Revision: 27684 $ on $Date: 2014-08-11 01:21:35 -0700 (Mon, 11 Aug 2014) $
37 */
38 
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
45 
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
55 
56 #define GL_GLEXT_VERSION 20140810
57 
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_^
66  */
67 
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 */
122 
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 */
316 
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 */
464 
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 */
561 
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 */
838 
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 */
879 
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);
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 */
1275 
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 */
1366 
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 */
1514 
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 */
1652 
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 */
1827 
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 */
2044 
2045 #ifndef GL_VERSION_4_2
2046 #define GL_VERSION_4_2 1
2047 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
2048 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2049 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
2050 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
2051 #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
2052 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
2053 #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
2054 #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
2055 #define GL_NUM_SAMPLE_COUNTS 0x9380
2056 #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
2057 #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
2058 #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
2059 #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
2060 #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
2061 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2062 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2063 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2064 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2065 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2066 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2067 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2068 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2069 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2070 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2071 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2072 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2073 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2074 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2075 #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
2076 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2077 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2078 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
2079 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
2080 #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
2081 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2082 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2083 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
2084 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2085 #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
2086 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2087 #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
2088 #define GL_UNIFORM_BARRIER_BIT 0x00000004
2089 #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
2090 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2091 #define GL_COMMAND_BARRIER_BIT 0x00000040
2092 #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
2093 #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
2094 #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
2095 #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
2096 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2097 #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
2098 #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
2099 #define GL_MAX_IMAGE_UNITS 0x8F38
2100 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2101 #define GL_IMAGE_BINDING_NAME 0x8F3A
2102 #define GL_IMAGE_BINDING_LEVEL 0x8F3B
2103 #define GL_IMAGE_BINDING_LAYERED 0x8F3C
2104 #define GL_IMAGE_BINDING_LAYER 0x8F3D
2105 #define GL_IMAGE_BINDING_ACCESS 0x8F3E
2106 #define GL_IMAGE_1D 0x904C
2107 #define GL_IMAGE_2D 0x904D
2108 #define GL_IMAGE_3D 0x904E
2109 #define GL_IMAGE_2D_RECT 0x904F
2110 #define GL_IMAGE_CUBE 0x9050
2111 #define GL_IMAGE_BUFFER 0x9051
2112 #define GL_IMAGE_1D_ARRAY 0x9052
2113 #define GL_IMAGE_2D_ARRAY 0x9053
2114 #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
2115 #define GL_IMAGE_2D_MULTISAMPLE 0x9055
2116 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
2117 #define GL_INT_IMAGE_1D 0x9057
2118 #define GL_INT_IMAGE_2D 0x9058
2119 #define GL_INT_IMAGE_3D 0x9059
2120 #define GL_INT_IMAGE_2D_RECT 0x905A
2121 #define GL_INT_IMAGE_CUBE 0x905B
2122 #define GL_INT_IMAGE_BUFFER 0x905C
2123 #define GL_INT_IMAGE_1D_ARRAY 0x905D
2124 #define GL_INT_IMAGE_2D_ARRAY 0x905E
2125 #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
2126 #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
2127 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2128 #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
2129 #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
2130 #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
2131 #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
2132 #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
2133 #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
2134 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
2135 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
2136 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2137 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2138 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2139 #define GL_MAX_IMAGE_SAMPLES 0x906D
2140 #define GL_IMAGE_BINDING_FORMAT 0x906E
2141 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2142 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2143 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2144 #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
2145 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2146 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2147 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
2148 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
2149 #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
2150 #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
2151 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
2152 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
2153 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
2154 #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
2155 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2156 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2157 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2158 typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2159 typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2160 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2161 typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
2162 typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2163 typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2164 typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2165 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
2166 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2167 #ifdef GL_GLEXT_PROTOTYPES
2168 GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2169 GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2170 GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2171 GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2172 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2173 GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2174 GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
2175 GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2176 GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2177 GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2178 GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
2179 GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2180 #endif
2181 #endif /* GL_VERSION_4_2 */
2182 
2183 #ifndef GL_VERSION_4_3
2184 #define GL_VERSION_4_3 1
2186 #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
2187 #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
2188 #define GL_COMPRESSED_RGB8_ETC2 0x9274
2189 #define GL_COMPRESSED_SRGB8_ETC2 0x9275
2190 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2191 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2192 #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
2193 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2194 #define GL_COMPRESSED_R11_EAC 0x9270
2195 #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
2196 #define GL_COMPRESSED_RG11_EAC 0x9272
2197 #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
2198 #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
2199 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2200 #define GL_MAX_ELEMENT_INDEX 0x8D6B
2201 #define GL_COMPUTE_SHADER 0x91B9
2202 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
2203 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2204 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
2205 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2206 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2207 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2208 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
2209 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2210 #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
2211 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
2212 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
2213 #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
2214 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2215 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2216 #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
2217 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2218 #define GL_COMPUTE_SHADER_BIT 0x00000020
2219 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
2220 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2221 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
2222 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
2223 #define GL_DEBUG_SOURCE_API 0x8246
2224 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
2225 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
2226 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
2227 #define GL_DEBUG_SOURCE_APPLICATION 0x824A
2228 #define GL_DEBUG_SOURCE_OTHER 0x824B
2229 #define GL_DEBUG_TYPE_ERROR 0x824C
2230 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2231 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
2232 #define GL_DEBUG_TYPE_PORTABILITY 0x824F
2233 #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
2234 #define GL_DEBUG_TYPE_OTHER 0x8251
2235 #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
2236 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
2237 #define GL_DEBUG_LOGGED_MESSAGES 0x9145
2238 #define GL_DEBUG_SEVERITY_HIGH 0x9146
2239 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
2240 #define GL_DEBUG_SEVERITY_LOW 0x9148
2241 #define GL_DEBUG_TYPE_MARKER 0x8268
2242 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
2243 #define GL_DEBUG_TYPE_POP_GROUP 0x826A
2244 #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
2245 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
2246 #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
2247 #define GL_BUFFER 0x82E0
2248 #define GL_SHADER 0x82E1
2249 #define GL_PROGRAM 0x82E2
2250 #define GL_QUERY 0x82E3
2251 #define GL_PROGRAM_PIPELINE 0x82E4
2252 #define GL_SAMPLER 0x82E6
2253 #define GL_MAX_LABEL_LENGTH 0x82E8
2254 #define GL_DEBUG_OUTPUT 0x92E0
2255 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
2256 #define GL_MAX_UNIFORM_LOCATIONS 0x826E
2257 #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
2258 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
2259 #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
2260 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
2261 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2262 #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
2263 #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
2264 #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
2265 #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
2266 #define GL_INTERNALFORMAT_SUPPORTED 0x826F
2267 #define GL_INTERNALFORMAT_PREFERRED 0x8270
2268 #define GL_INTERNALFORMAT_RED_SIZE 0x8271
2269 #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
2270 #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
2271 #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
2272 #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
2273 #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
2274 #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
2275 #define GL_INTERNALFORMAT_RED_TYPE 0x8278
2276 #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
2277 #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
2278 #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
2279 #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
2280 #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
2281 #define GL_MAX_WIDTH 0x827E
2282 #define GL_MAX_HEIGHT 0x827F
2283 #define GL_MAX_DEPTH 0x8280
2284 #define GL_MAX_LAYERS 0x8281
2285 #define GL_MAX_COMBINED_DIMENSIONS 0x8282
2286 #define GL_COLOR_COMPONENTS 0x8283
2287 #define GL_DEPTH_COMPONENTS 0x8284
2288 #define GL_STENCIL_COMPONENTS 0x8285
2289 #define GL_COLOR_RENDERABLE 0x8286
2290 #define GL_DEPTH_RENDERABLE 0x8287
2291 #define GL_STENCIL_RENDERABLE 0x8288
2292 #define GL_FRAMEBUFFER_RENDERABLE 0x8289
2293 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2294 #define GL_FRAMEBUFFER_BLEND 0x828B
2295 #define GL_READ_PIXELS 0x828C
2296 #define GL_READ_PIXELS_FORMAT 0x828D
2297 #define GL_READ_PIXELS_TYPE 0x828E
2298 #define GL_TEXTURE_IMAGE_FORMAT 0x828F
2299 #define GL_TEXTURE_IMAGE_TYPE 0x8290
2300 #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
2301 #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
2302 #define GL_MIPMAP 0x8293
2303 #define GL_MANUAL_GENERATE_MIPMAP 0x8294
2304 #define GL_AUTO_GENERATE_MIPMAP 0x8295
2305 #define GL_COLOR_ENCODING 0x8296
2306 #define GL_SRGB_READ 0x8297
2307 #define GL_SRGB_WRITE 0x8298
2308 #define GL_FILTER 0x829A
2309 #define GL_VERTEX_TEXTURE 0x829B
2310 #define GL_TESS_CONTROL_TEXTURE 0x829C
2311 #define GL_TESS_EVALUATION_TEXTURE 0x829D
2312 #define GL_GEOMETRY_TEXTURE 0x829E
2313 #define GL_FRAGMENT_TEXTURE 0x829F
2314 #define GL_COMPUTE_TEXTURE 0x82A0
2315 #define GL_TEXTURE_SHADOW 0x82A1
2316 #define GL_TEXTURE_GATHER 0x82A2
2317 #define GL_TEXTURE_GATHER_SHADOW 0x82A3
2318 #define GL_SHADER_IMAGE_LOAD 0x82A4
2319 #define GL_SHADER_IMAGE_STORE 0x82A5
2320 #define GL_SHADER_IMAGE_ATOMIC 0x82A6
2321 #define GL_IMAGE_TEXEL_SIZE 0x82A7
2322 #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
2323 #define GL_IMAGE_PIXEL_FORMAT 0x82A9
2324 #define GL_IMAGE_PIXEL_TYPE 0x82AA
2325 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2326 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2327 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2328 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2329 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2330 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2331 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
2332 #define GL_CLEAR_BUFFER 0x82B4
2333 #define GL_TEXTURE_VIEW 0x82B5
2334 #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
2335 #define GL_FULL_SUPPORT 0x82B7
2336 #define GL_CAVEAT_SUPPORT 0x82B8
2337 #define GL_IMAGE_CLASS_4_X_32 0x82B9
2338 #define GL_IMAGE_CLASS_2_X_32 0x82BA
2339 #define GL_IMAGE_CLASS_1_X_32 0x82BB
2340 #define GL_IMAGE_CLASS_4_X_16 0x82BC
2341 #define GL_IMAGE_CLASS_2_X_16 0x82BD
2342 #define GL_IMAGE_CLASS_1_X_16 0x82BE
2343 #define GL_IMAGE_CLASS_4_X_8 0x82BF
2344 #define GL_IMAGE_CLASS_2_X_8 0x82C0
2345 #define GL_IMAGE_CLASS_1_X_8 0x82C1
2346 #define GL_IMAGE_CLASS_11_11_10 0x82C2
2347 #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
2348 #define GL_VIEW_CLASS_128_BITS 0x82C4
2349 #define GL_VIEW_CLASS_96_BITS 0x82C5
2350 #define GL_VIEW_CLASS_64_BITS 0x82C6
2351 #define GL_VIEW_CLASS_48_BITS 0x82C7
2352 #define GL_VIEW_CLASS_32_BITS 0x82C8
2353 #define GL_VIEW_CLASS_24_BITS 0x82C9
2354 #define GL_VIEW_CLASS_16_BITS 0x82CA
2355 #define GL_VIEW_CLASS_8_BITS 0x82CB
2356 #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
2357 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
2358 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
2359 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
2360 #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
2361 #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
2362 #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
2363 #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
2364 #define GL_UNIFORM 0x92E1
2365 #define GL_UNIFORM_BLOCK 0x92E2
2366 #define GL_PROGRAM_INPUT 0x92E3
2367 #define GL_PROGRAM_OUTPUT 0x92E4
2368 #define GL_BUFFER_VARIABLE 0x92E5
2369 #define GL_SHADER_STORAGE_BLOCK 0x92E6
2370 #define GL_VERTEX_SUBROUTINE 0x92E8
2371 #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
2372 #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
2373 #define GL_GEOMETRY_SUBROUTINE 0x92EB
2374 #define GL_FRAGMENT_SUBROUTINE 0x92EC
2375 #define GL_COMPUTE_SUBROUTINE 0x92ED
2376 #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
2377 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2378 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2379 #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
2380 #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
2381 #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
2382 #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
2383 #define GL_ACTIVE_RESOURCES 0x92F5
2384 #define GL_MAX_NAME_LENGTH 0x92F6
2385 #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
2386 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2387 #define GL_NAME_LENGTH 0x92F9
2388 #define GL_TYPE 0x92FA
2389 #define GL_ARRAY_SIZE 0x92FB
2390 #define GL_OFFSET 0x92FC
2391 #define GL_BLOCK_INDEX 0x92FD
2392 #define GL_ARRAY_STRIDE 0x92FE
2393 #define GL_MATRIX_STRIDE 0x92FF
2394 #define GL_IS_ROW_MAJOR 0x9300
2395 #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
2396 #define GL_BUFFER_BINDING 0x9302
2397 #define GL_BUFFER_DATA_SIZE 0x9303
2398 #define GL_NUM_ACTIVE_VARIABLES 0x9304
2399 #define GL_ACTIVE_VARIABLES 0x9305
2400 #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
2401 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2402 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
2403 #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
2404 #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
2405 #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
2406 #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
2407 #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
2408 #define GL_LOCATION 0x930E
2409 #define GL_LOCATION_INDEX 0x930F
2410 #define GL_IS_PER_PATCH 0x92E7
2411 #define GL_SHADER_STORAGE_BUFFER 0x90D2
2412 #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
2413 #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
2414 #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
2415 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
2416 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
2417 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
2418 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
2419 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
2420 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
2421 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
2422 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
2423 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
2424 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
2425 #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
2426 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
2427 #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
2428 #define GL_TEXTURE_BUFFER_OFFSET 0x919D
2429 #define GL_TEXTURE_BUFFER_SIZE 0x919E
2430 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
2431 #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
2432 #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
2433 #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
2434 #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
2435 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
2436 #define GL_VERTEX_ATTRIB_BINDING 0x82D4
2437 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
2438 #define GL_VERTEX_BINDING_DIVISOR 0x82D6
2439 #define GL_VERTEX_BINDING_OFFSET 0x82D7
2440 #define GL_VERTEX_BINDING_STRIDE 0x82D8
2441 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2442 #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
2443 #define GL_VERTEX_BINDING_BUFFER 0x8F4F
2444 #define GL_DISPLAY_LIST 0x82E7
2445 typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2446 typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2447 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2448 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
2450 typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
2451 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2452 typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2453 typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2454 typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
2455 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2456 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
2457 typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2458 typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2459 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2460 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2461 typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2462 typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2463 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2464 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2465 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2466 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2467 typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2468 typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2469 typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2470 typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2472 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2474 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2475 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2476 typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
2477 typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
2478 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2479 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2480 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
2481 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2482 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2483 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
2484 typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2485 typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2486 typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
2487 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2488 #ifdef GL_GLEXT_PROTOTYPES
2489 GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2490 GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2491 GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2492 GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
2493 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);
2494 GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
2495 GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
2496 GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2497 GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2498 GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
2499 GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
2500 GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
2501 GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2502 GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2503 GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2504 GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2505 GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2506 GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
2507 GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2508 GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2509 GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
2510 GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
2511 GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2512 GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2513 GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2514 GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2515 GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2516 GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2517 GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2518 GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2519 GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2520 GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
2521 GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
2522 GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2523 GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2524 GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
2525 GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2526 GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2527 GLAPI void APIENTRY glPopDebugGroup (void);
2528 GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2529 GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2530 GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
2531 GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2532 #endif
2533 #endif /* GL_VERSION_4_3 */
2534 
2535 #ifndef GL_VERSION_4_4
2536 #define GL_VERSION_4_4 1
2537 #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
2538 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2539 #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
2540 #define GL_MAP_PERSISTENT_BIT 0x0040
2541 #define GL_MAP_COHERENT_BIT 0x0080
2542 #define GL_DYNAMIC_STORAGE_BIT 0x0100
2543 #define GL_CLIENT_STORAGE_BIT 0x0200
2544 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
2545 #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
2546 #define GL_BUFFER_STORAGE_FLAGS 0x8220
2547 #define GL_CLEAR_TEXTURE 0x9365
2548 #define GL_LOCATION_COMPONENT 0x934A
2549 #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
2550 #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
2551 #define GL_QUERY_BUFFER 0x9192
2552 #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
2553 #define GL_QUERY_BUFFER_BINDING 0x9193
2554 #define GL_QUERY_RESULT_NO_WAIT 0x9194
2555 #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
2556 typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2557 typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2558 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);
2559 typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2560 typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2561 typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2562 typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
2563 typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2564 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2565 #ifdef GL_GLEXT_PROTOTYPES
2566 GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2567 GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2568 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);
2569 GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2570 GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2571 GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
2572 GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
2573 GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
2574 GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2575 #endif
2576 #endif /* GL_VERSION_4_4 */
2577 
2578 #ifndef GL_VERSION_4_5
2579 #define GL_VERSION_4_5 1
2580 #define GL_CONTEXT_LOST 0x0507
2581 #define GL_NEGATIVE_ONE_TO_ONE 0x935E
2582 #define GL_ZERO_TO_ONE 0x935F
2583 #define GL_CLIP_ORIGIN 0x935C
2584 #define GL_CLIP_DEPTH_MODE 0x935D
2585 #define GL_QUERY_WAIT_INVERTED 0x8E17
2586 #define GL_QUERY_NO_WAIT_INVERTED 0x8E18
2587 #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
2588 #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
2589 #define GL_MAX_CULL_DISTANCES 0x82F9
2590 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
2591 #define GL_TEXTURE_TARGET 0x1006
2592 #define GL_QUERY_TARGET 0x82EA
2593 #define GL_TEXTURE_BINDING 0x82EB
2594 #define GL_GUILTY_CONTEXT_RESET 0x8253
2595 #define GL_INNOCENT_CONTEXT_RESET 0x8254
2596 #define GL_UNKNOWN_CONTEXT_RESET 0x8255
2597 #define GL_RESET_NOTIFICATION_STRATEGY 0x8256
2598 #define GL_LOSE_CONTEXT_ON_RESET 0x8252
2599 #define GL_NO_RESET_NOTIFICATION 0x8261
2600 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2601 #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2602 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2603 typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
2604 typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
2605 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
2606 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size);
2607 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
2608 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2609 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2610 typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
2611 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizei size, const void *data, GLbitfield flags);
2612 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizei size, const void *data, GLenum usage);
2613 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizei size, const void *data);
2614 typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size);
2615 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2616 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void *data);
2617 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
2618 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access);
2619 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
2620 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizei length);
2621 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
2622 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
2623 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
2624 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizei size, void *data);
2625 typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
2626 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2627 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
2628 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2629 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2630 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
2631 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2632 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
2633 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2634 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2635 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2636 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2637 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2638 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil);
2640 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
2641 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
2642 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2643 typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
2644 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2645 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2646 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
2647 typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
2648 typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
2649 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size);
2650 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2651 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2652 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2653 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2654 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2655 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2656 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2657 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);
2658 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2659 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2660 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);
2661 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2662 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2663 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2664 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
2665 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
2666 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
2667 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
2668 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
2669 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
2670 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
2671 typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
2672 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2673 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2674 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2675 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
2676 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
2677 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
2678 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
2679 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
2680 typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
2681 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2682 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2683 typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
2684 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2685 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2686 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2687 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2688 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2689 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2690 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2691 typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
2692 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2693 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2694 typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
2695 typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
2696 typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
2697 typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
2698 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);
2699 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2700 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
2701 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2702 typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2703 typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2704 typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2705 typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2706 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2707 typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2708 typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2709 typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2710 typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2711 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
2712 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values);
2713 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values);
2714 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern);
2715 typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2716 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2717 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2718 typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2719 typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2720 typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
2721 #ifdef GL_GLEXT_PROTOTYPES
2722 GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
2723 GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
2724 GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
2725 GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size);
2726 GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
2727 GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2728 GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2729 GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
2730 GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizei size, const void *data, GLbitfield flags);
2731 GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizei size, const void *data, GLenum usage);
2732 GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizei size, const void *data);
2733 GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size);
2734 GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2735 GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void *data);
2736 GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
2737 GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access);
2738 GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
2739 GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizei length);
2740 GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
2741 GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
2742 GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
2743 GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizei size, void *data);
2744 GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
2745 GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2746 GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
2747 GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2748 GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2749 GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
2750 GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2751 GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
2752 GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2753 GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2754 GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2755 GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2756 GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2757 GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil);
2758 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);
2759 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
2760 GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
2761 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2762 GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
2763 GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2764 GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2765 GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
2766 GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
2767 GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
2768 GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size);
2769 GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2770 GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2771 GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2772 GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2773 GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2774 GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2775 GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2776 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);
2777 GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2778 GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2779 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);
2780 GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2781 GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2782 GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2783 GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
2784 GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
2785 GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
2786 GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
2787 GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
2788 GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
2789 GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
2790 GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
2791 GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2792 GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2793 GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2794 GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
2795 GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
2796 GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
2797 GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
2798 GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
2799 GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
2800 GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
2801 GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
2802 GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
2803 GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2804 GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2805 GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2806 GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2807 GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2808 GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2809 GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2810 GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
2811 GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2812 GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2813 GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
2814 GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
2815 GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
2816 GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
2817 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);
2818 GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2819 GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
2820 GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2821 GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2822 GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2823 GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2824 GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2825 GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2826 GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2827 GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2828 GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2829 GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2830 GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values);
2831 GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values);
2832 GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values);
2833 GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern);
2834 GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2835 GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2836 GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2837 GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2838 GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2839 GLAPI void APIENTRY glTextureBarrier (void);
2840 #endif
2841 #endif /* GL_VERSION_4_5 */
2842 
2843 #ifndef GL_ARB_ES2_compatibility
2844 #define GL_ARB_ES2_compatibility 1
2845 #endif /* GL_ARB_ES2_compatibility */
2846 
2847 #ifndef GL_ARB_ES3_1_compatibility
2848 #define GL_ARB_ES3_1_compatibility 1
2849 #endif /* GL_ARB_ES3_1_compatibility */
2850 
2851 #ifndef GL_ARB_ES3_compatibility
2852 #define GL_ARB_ES3_compatibility 1
2853 #endif /* GL_ARB_ES3_compatibility */
2854 
2855 #ifndef GL_ARB_arrays_of_arrays
2856 #define GL_ARB_arrays_of_arrays 1
2857 #endif /* GL_ARB_arrays_of_arrays */
2858 
2859 #ifndef GL_ARB_base_instance
2860 #define GL_ARB_base_instance 1
2861 #endif /* GL_ARB_base_instance */
2862 
2863 #ifndef GL_ARB_bindless_texture
2864 #define GL_ARB_bindless_texture 1
2865 typedef uint64_t GLuint64EXT;
2866 #define GL_UNSIGNED_INT64_ARB 0x140F
2867 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
2868 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
2869 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2870 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2871 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2872 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
2873 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2874 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
2875 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
2876 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
2877 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2878 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2879 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
2880 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
2881 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
2882 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
2883 #ifdef GL_GLEXT_PROTOTYPES
2884 GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
2885 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
2886 GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
2887 GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
2888 GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2889 GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
2890 GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
2891 GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
2892 GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
2893 GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
2894 GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2895 GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
2896 GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
2897 GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
2898 GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
2899 GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
2900 #endif
2901 #endif /* GL_ARB_bindless_texture */
2902 
2903 #ifndef GL_ARB_blend_func_extended
2904 #define GL_ARB_blend_func_extended 1
2905 #endif /* GL_ARB_blend_func_extended */
2906 
2907 #ifndef GL_ARB_buffer_storage
2908 #define GL_ARB_buffer_storage 1
2909 #endif /* GL_ARB_buffer_storage */
2910 
2911 #ifndef GL_ARB_cl_event
2912 #define GL_ARB_cl_event 1
2913 struct _cl_context;
2914 struct _cl_event;
2915 #define GL_SYNC_CL_EVENT_ARB 0x8240
2916 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
2917 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2918 #ifdef GL_GLEXT_PROTOTYPES
2919 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2920 #endif
2921 #endif /* GL_ARB_cl_event */
2922 
2923 #ifndef GL_ARB_clear_buffer_object
2924 #define GL_ARB_clear_buffer_object 1
2925 #endif /* GL_ARB_clear_buffer_object */
2926 
2927 #ifndef GL_ARB_clear_texture
2928 #define GL_ARB_clear_texture 1
2929 #endif /* GL_ARB_clear_texture */
2930 
2931 #ifndef GL_ARB_clip_control
2932 #define GL_ARB_clip_control 1
2933 #endif /* GL_ARB_clip_control */
2934 
2935 #ifndef GL_ARB_color_buffer_float
2936 #define GL_ARB_color_buffer_float 1
2937 #define GL_RGBA_FLOAT_MODE_ARB 0x8820
2938 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
2939 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
2940 #define GL_CLAMP_READ_COLOR_ARB 0x891C
2941 #define GL_FIXED_ONLY_ARB 0x891D
2942 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
2943 #ifdef GL_GLEXT_PROTOTYPES
2944 GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
2945 #endif
2946 #endif /* GL_ARB_color_buffer_float */
2947 
2948 #ifndef GL_ARB_compatibility
2949 #define GL_ARB_compatibility 1
2950 #endif /* GL_ARB_compatibility */
2951 
2952 #ifndef GL_ARB_compressed_texture_pixel_storage
2953 #define GL_ARB_compressed_texture_pixel_storage 1
2954 #endif /* GL_ARB_compressed_texture_pixel_storage */
2955 
2956 #ifndef GL_ARB_compute_shader
2957 #define GL_ARB_compute_shader 1
2958 #endif /* GL_ARB_compute_shader */
2959 
2960 #ifndef GL_ARB_compute_variable_group_size
2961 #define GL_ARB_compute_variable_group_size 1
2962 #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
2963 #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
2964 #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
2965 #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
2966 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);
2967 #ifdef GL_GLEXT_PROTOTYPES
2968 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);
2969 #endif
2970 #endif /* GL_ARB_compute_variable_group_size */
2971 
2972 #ifndef GL_ARB_conditional_render_inverted
2973 #define GL_ARB_conditional_render_inverted 1
2974 #endif /* GL_ARB_conditional_render_inverted */
2975 
2976 #ifndef GL_ARB_conservative_depth
2977 #define GL_ARB_conservative_depth 1
2978 #endif /* GL_ARB_conservative_depth */
2979 
2980 #ifndef GL_ARB_copy_buffer
2981 #define GL_ARB_copy_buffer 1
2982 #define GL_COPY_READ_BUFFER_BINDING 0x8F36
2983 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2984 #endif /* GL_ARB_copy_buffer */
2985 
2986 #ifndef GL_ARB_copy_image
2987 #define GL_ARB_copy_image 1
2988 #endif /* GL_ARB_copy_image */
2989 
2990 #ifndef GL_ARB_cull_distance
2991 #define GL_ARB_cull_distance 1
2992 #endif /* GL_ARB_cull_distance */
2993 
2994 #ifndef GL_ARB_debug_output
2995 #define GL_ARB_debug_output 1
2997 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
2998 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
2999 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
3000 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
3001 #define GL_DEBUG_SOURCE_API_ARB 0x8246
3002 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
3003 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
3004 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
3005 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
3006 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
3007 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
3008 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
3009 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
3010 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
3011 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
3012 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
3013 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
3014 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
3015 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
3016 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
3017 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
3018 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
3019 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3020 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3021 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
3022 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3023 #ifdef GL_GLEXT_PROTOTYPES
3024 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3025 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3026 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
3027 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3028 #endif
3029 #endif /* GL_ARB_debug_output */
3030 
3031 #ifndef GL_ARB_depth_buffer_float
3032 #define GL_ARB_depth_buffer_float 1
3033 #endif /* GL_ARB_depth_buffer_float */
3034 
3035 #ifndef GL_ARB_depth_clamp
3036 #define GL_ARB_depth_clamp 1
3037 #endif /* GL_ARB_depth_clamp */
3038 
3039 #ifndef GL_ARB_depth_texture
3040 #define GL_ARB_depth_texture 1
3041 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
3042 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
3043 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
3044 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
3045 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
3046 #endif /* GL_ARB_depth_texture */
3047 
3048 #ifndef GL_ARB_derivative_control
3049 #define GL_ARB_derivative_control 1
3050 #endif /* GL_ARB_derivative_control */
3051 
3052 #ifndef GL_ARB_direct_state_access
3053 #define GL_ARB_direct_state_access 1
3054 #endif /* GL_ARB_direct_state_access */
3055 
3056 #ifndef GL_ARB_draw_buffers
3057 #define GL_ARB_draw_buffers 1
3058 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
3059 #define GL_DRAW_BUFFER0_ARB 0x8825
3060 #define GL_DRAW_BUFFER1_ARB 0x8826
3061 #define GL_DRAW_BUFFER2_ARB 0x8827
3062 #define GL_DRAW_BUFFER3_ARB 0x8828
3063 #define GL_DRAW_BUFFER4_ARB 0x8829
3064 #define GL_DRAW_BUFFER5_ARB 0x882A
3065 #define GL_DRAW_BUFFER6_ARB 0x882B
3066 #define GL_DRAW_BUFFER7_ARB 0x882C
3067 #define GL_DRAW_BUFFER8_ARB 0x882D
3068 #define GL_DRAW_BUFFER9_ARB 0x882E
3069 #define GL_DRAW_BUFFER10_ARB 0x882F
3070 #define GL_DRAW_BUFFER11_ARB 0x8830
3071 #define GL_DRAW_BUFFER12_ARB 0x8831
3072 #define GL_DRAW_BUFFER13_ARB 0x8832
3073 #define GL_DRAW_BUFFER14_ARB 0x8833
3074 #define GL_DRAW_BUFFER15_ARB 0x8834
3075 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
3076 #ifdef GL_GLEXT_PROTOTYPES
3077 GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
3078 #endif
3079 #endif /* GL_ARB_draw_buffers */
3080 
3081 #ifndef GL_ARB_draw_buffers_blend
3082 #define GL_ARB_draw_buffers_blend 1
3083 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
3084 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3085 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
3086 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3087 #ifdef GL_GLEXT_PROTOTYPES
3088 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
3089 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3090 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
3091 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3092 #endif
3093 #endif /* GL_ARB_draw_buffers_blend */
3094 
3095 #ifndef GL_ARB_draw_elements_base_vertex
3096 #define GL_ARB_draw_elements_base_vertex 1
3097 #endif /* GL_ARB_draw_elements_base_vertex */
3098 
3099 #ifndef GL_ARB_draw_indirect
3100 #define GL_ARB_draw_indirect 1
3101 #endif /* GL_ARB_draw_indirect */
3102 
3103 #ifndef GL_ARB_draw_instanced
3104 #define GL_ARB_draw_instanced 1
3105 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3106 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
3107 #ifdef GL_GLEXT_PROTOTYPES
3108 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3109 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
3110 #endif
3111 #endif /* GL_ARB_draw_instanced */
3112 
3113 #ifndef GL_ARB_enhanced_layouts
3114 #define GL_ARB_enhanced_layouts 1
3115 #endif /* GL_ARB_enhanced_layouts */
3116 
3117 #ifndef GL_ARB_explicit_attrib_location
3118 #define GL_ARB_explicit_attrib_location 1
3119 #endif /* GL_ARB_explicit_attrib_location */
3120 
3121 #ifndef GL_ARB_explicit_uniform_location
3122 #define GL_ARB_explicit_uniform_location 1
3123 #endif /* GL_ARB_explicit_uniform_location */
3124 
3125 #ifndef GL_ARB_fragment_coord_conventions
3126 #define GL_ARB_fragment_coord_conventions 1
3127 #endif /* GL_ARB_fragment_coord_conventions */
3128 
3129 #ifndef GL_ARB_fragment_layer_viewport
3130 #define GL_ARB_fragment_layer_viewport 1
3131 #endif /* GL_ARB_fragment_layer_viewport */
3132 
3133 #ifndef GL_ARB_fragment_program
3134 #define GL_ARB_fragment_program 1
3135 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
3136 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
3137 #define GL_PROGRAM_LENGTH_ARB 0x8627
3138 #define GL_PROGRAM_FORMAT_ARB 0x8876
3139 #define GL_PROGRAM_BINDING_ARB 0x8677
3140 #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
3141 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
3142 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
3143 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
3144 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
3145 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
3146 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
3147 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
3148 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
3149 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
3150 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
3151 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
3152 #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
3153 #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
3154 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
3155 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
3156 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
3157 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
3158 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
3159 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
3160 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
3161 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
3162 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
3163 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
3164 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
3165 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
3166 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
3167 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
3168 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
3169 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
3170 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
3171 #define GL_PROGRAM_STRING_ARB 0x8628
3172 #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
3173 #define GL_CURRENT_MATRIX_ARB 0x8641
3174 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
3175 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
3176 #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
3177 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
3178 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
3179 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
3180 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
3181 #define GL_MATRIX0_ARB 0x88C0
3182 #define GL_MATRIX1_ARB 0x88C1
3183 #define GL_MATRIX2_ARB 0x88C2
3184 #define GL_MATRIX3_ARB 0x88C3
3185 #define GL_MATRIX4_ARB 0x88C4
3186 #define GL_MATRIX5_ARB 0x88C5
3187 #define GL_MATRIX6_ARB 0x88C6
3188 #define GL_MATRIX7_ARB 0x88C7
3189 #define GL_MATRIX8_ARB 0x88C8
3190 #define GL_MATRIX9_ARB 0x88C9
3191 #define GL_MATRIX10_ARB 0x88CA
3192 #define GL_MATRIX11_ARB 0x88CB
3193 #define GL_MATRIX12_ARB 0x88CC
3194 #define GL_MATRIX13_ARB 0x88CD
3195 #define GL_MATRIX14_ARB 0x88CE
3196 #define GL_MATRIX15_ARB 0x88CF
3197 #define GL_MATRIX16_ARB 0x88D0
3198 #define GL_MATRIX17_ARB 0x88D1
3199 #define GL_MATRIX18_ARB 0x88D2
3200 #define GL_MATRIX19_ARB 0x88D3
3201 #define GL_MATRIX20_ARB 0x88D4
3202 #define GL_MATRIX21_ARB 0x88D5
3203 #define GL_MATRIX22_ARB 0x88D6
3204 #define GL_MATRIX23_ARB 0x88D7
3205 #define GL_MATRIX24_ARB 0x88D8
3206 #define GL_MATRIX25_ARB 0x88D9
3207 #define GL_MATRIX26_ARB 0x88DA
3208 #define GL_MATRIX27_ARB 0x88DB
3209 #define GL_MATRIX28_ARB 0x88DC
3210 #define GL_MATRIX29_ARB 0x88DD
3211 #define GL_MATRIX30_ARB 0x88DE
3212 #define GL_MATRIX31_ARB 0x88DF
3213 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
3214 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
3215 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
3216 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
3217 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3218 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3219 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3220 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3221 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3222 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3223 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3224 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3225 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3226 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3227 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3228 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3229 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3230 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
3231 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
3232 #ifdef GL_GLEXT_PROTOTYPES
3233 GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
3234 GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
3235 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
3236 GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
3237 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3238 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3239 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3240 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3241 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3242 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3243 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3244 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3245 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3246 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3247 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3248 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3249 GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
3250 GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
3251 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
3252 #endif
3253 #endif /* GL_ARB_fragment_program */
3254 
3255 #ifndef GL_ARB_fragment_program_shadow
3256 #define GL_ARB_fragment_program_shadow 1
3257 #endif /* GL_ARB_fragment_program_shadow */
3258 
3259 #ifndef GL_ARB_fragment_shader
3260 #define GL_ARB_fragment_shader 1
3261 #define GL_FRAGMENT_SHADER_ARB 0x8B30
3262 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
3263 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
3264 #endif /* GL_ARB_fragment_shader */
3265 
3266 #ifndef GL_ARB_framebuffer_no_attachments
3267 #define GL_ARB_framebuffer_no_attachments 1
3268 #endif /* GL_ARB_framebuffer_no_attachments */
3269 
3270 #ifndef GL_ARB_framebuffer_object
3271 #define GL_ARB_framebuffer_object 1
3272 #endif /* GL_ARB_framebuffer_object */
3273 
3274 #ifndef GL_ARB_framebuffer_sRGB
3275 #define GL_ARB_framebuffer_sRGB 1
3276 #endif /* GL_ARB_framebuffer_sRGB */
3277 
3278 #ifndef GL_ARB_geometry_shader4
3279 #define GL_ARB_geometry_shader4 1
3280 #define GL_LINES_ADJACENCY_ARB 0x000A
3281 #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
3282 #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
3283 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
3284 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
3285 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
3286 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
3287 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
3288 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
3289 #define GL_GEOMETRY_SHADER_ARB 0x8DD9
3290 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
3291 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
3292 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
3293 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
3294 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
3295 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
3296 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
3297 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
3298 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
3299 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
3300 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3301 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3302 #ifdef GL_GLEXT_PROTOTYPES
3303 GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
3304 GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
3305 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3306 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3307 #endif
3308 #endif /* GL_ARB_geometry_shader4 */
3309 
3310 #ifndef GL_ARB_get_program_binary
3311 #define GL_ARB_get_program_binary 1
3312 #endif /* GL_ARB_get_program_binary */
3313 
3314 #ifndef GL_ARB_get_texture_sub_image
3315 #define GL_ARB_get_texture_sub_image 1
3316 #endif /* GL_ARB_get_texture_sub_image */
3317 
3318 #ifndef GL_ARB_gpu_shader5
3319 #define GL_ARB_gpu_shader5 1
3320 #endif /* GL_ARB_gpu_shader5 */
3321 
3322 #ifndef GL_ARB_gpu_shader_fp64
3323 #define GL_ARB_gpu_shader_fp64 1
3324 #endif /* GL_ARB_gpu_shader_fp64 */
3325 
3326 #ifndef GL_ARB_half_float_pixel
3327 #define GL_ARB_half_float_pixel 1
3328 typedef unsigned short GLhalfARB;
3329 #define GL_HALF_FLOAT_ARB 0x140B
3330 #endif /* GL_ARB_half_float_pixel */
3331 
3332 #ifndef GL_ARB_half_float_vertex
3333 #define GL_ARB_half_float_vertex 1
3334 #endif /* GL_ARB_half_float_vertex */
3335 
3336 #ifndef GL_ARB_imaging
3337 #define GL_ARB_imaging 1
3338 #define GL_BLEND_COLOR 0x8005
3339 #define GL_BLEND_EQUATION 0x8009
3340 #define GL_CONVOLUTION_1D 0x8010
3341 #define GL_CONVOLUTION_2D 0x8011
3342 #define GL_SEPARABLE_2D 0x8012
3343 #define GL_CONVOLUTION_BORDER_MODE 0x8013
3344 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
3345 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
3346 #define GL_REDUCE 0x8016
3347 #define GL_CONVOLUTION_FORMAT 0x8017
3348 #define GL_CONVOLUTION_WIDTH 0x8018
3349 #define GL_CONVOLUTION_HEIGHT 0x8019
3350 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
3351 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
3352 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
3353 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
3354 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
3355 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
3356 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
3357 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
3358 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
3359 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
3360 #define GL_HISTOGRAM 0x8024
3361 #define GL_PROXY_HISTOGRAM 0x8025
3362 #define GL_HISTOGRAM_WIDTH 0x8026
3363 #define GL_HISTOGRAM_FORMAT 0x8027
3364 #define GL_HISTOGRAM_RED_SIZE 0x8028
3365 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
3366 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
3367 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
3368 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
3369 #define GL_HISTOGRAM_SINK 0x802D
3370 #define GL_MINMAX 0x802E
3371 #define GL_MINMAX_FORMAT 0x802F
3372 #define GL_MINMAX_SINK 0x8030
3373 #define GL_TABLE_TOO_LARGE 0x8031
3374 #define GL_COLOR_MATRIX 0x80B1
3375 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
3376 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
3377 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
3378 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
3379 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
3380 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
3381 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
3382 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
3383 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
3384 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
3385 #define GL_COLOR_TABLE 0x80D0
3386 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
3387 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
3388 #define GL_PROXY_COLOR_TABLE 0x80D3
3389 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
3390 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
3391 #define GL_COLOR_TABLE_SCALE 0x80D6
3392 #define GL_COLOR_TABLE_BIAS 0x80D7
3393 #define GL_COLOR_TABLE_FORMAT 0x80D8
3394 #define GL_COLOR_TABLE_WIDTH 0x80D9
3395 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
3396 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
3397 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
3398 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
3399 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
3400 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
3401 #define GL_CONSTANT_BORDER 0x8151
3402 #define GL_REPLICATE_BORDER 0x8153
3403 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
3404 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3405 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3406 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3407 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3408 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
3409 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3410 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3411 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3412 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3413 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3414 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3415 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
3416 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3417 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
3418 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3419 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3420 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3421 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
3422 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3423 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3424 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3425 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3426 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3427 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3428 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3429 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3430 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3431 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3432 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3433 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3434 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
3435 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
3436 #ifdef GL_GLEXT_PROTOTYPES
3437 GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3438 GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3439 GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
3440 GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3441 GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
3442 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
3443 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
3444 GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3445 GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3446 GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3447 GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3448 GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
3449 GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3450 GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
3451 GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
3452 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3453 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3454 GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
3455 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
3456 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
3457 GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3458 GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3459 GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3460 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
3461 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
3462 GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3463 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
3464 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
3465 GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3466 GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
3467 GLAPI void APIENTRY glResetHistogram (GLenum target);
3468 GLAPI void APIENTRY glResetMinmax (GLenum target);
3469 #endif
3470 #endif /* GL_ARB_imaging */
3471 
3472 #ifndef GL_ARB_indirect_parameters
3473 #define GL_ARB_indirect_parameters 1
3474 #define GL_PARAMETER_BUFFER_ARB 0x80EE
3475 #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
3476 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3477 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3478 #ifdef GL_GLEXT_PROTOTYPES
3479 GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3480 GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3481 #endif
3482 #endif /* GL_ARB_indirect_parameters */
3483 
3484 #ifndef GL_ARB_instanced_arrays
3485 #define GL_ARB_instanced_arrays 1
3486 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
3487 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
3488 #ifdef GL_GLEXT_PROTOTYPES
3489 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
3490 #endif
3491 #endif /* GL_ARB_instanced_arrays */
3492 
3493 #ifndef GL_ARB_internalformat_query
3494 #define GL_ARB_internalformat_query 1
3495 #endif /* GL_ARB_internalformat_query */
3496 
3497 #ifndef GL_ARB_internalformat_query2
3498 #define GL_ARB_internalformat_query2 1
3499 #define GL_SRGB_DECODE_ARB 0x8299
3500 #endif /* GL_ARB_internalformat_query2 */
3501 
3502 #ifndef GL_ARB_invalidate_subdata
3503 #define GL_ARB_invalidate_subdata 1
3504 #endif /* GL_ARB_invalidate_subdata */
3505 
3506 #ifndef GL_ARB_map_buffer_alignment
3507 #define GL_ARB_map_buffer_alignment 1
3508 #endif /* GL_ARB_map_buffer_alignment */
3509 
3510 #ifndef GL_ARB_map_buffer_range
3511 #define GL_ARB_map_buffer_range 1
3512 #endif /* GL_ARB_map_buffer_range */
3513 
3514 #ifndef GL_ARB_matrix_palette
3515 #define GL_ARB_matrix_palette 1
3516 #define GL_MATRIX_PALETTE_ARB 0x8840
3517 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
3518 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
3519 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
3520 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
3521 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
3522 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
3523 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
3524 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
3525 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
3526 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3527 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
3528 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
3529 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
3530 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
3531 #ifdef GL_GLEXT_PROTOTYPES
3532 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
3533 GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
3534 GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
3535 GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
3536 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
3537 #endif
3538 #endif /* GL_ARB_matrix_palette */
3539 
3540 #ifndef GL_ARB_multi_bind
3541 #define GL_ARB_multi_bind 1
3542 #endif /* GL_ARB_multi_bind */
3543 
3544 #ifndef GL_ARB_multi_draw_indirect
3545 #define GL_ARB_multi_draw_indirect 1
3546 #endif /* GL_ARB_multi_draw_indirect */
3547 
3548 #ifndef GL_ARB_multisample
3549 #define GL_ARB_multisample 1
3550 #define GL_MULTISAMPLE_ARB 0x809D
3551 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
3552 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
3553 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
3554 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
3555 #define GL_SAMPLES_ARB 0x80A9
3556 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
3557 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
3558 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
3559 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
3560 #ifdef GL_GLEXT_PROTOTYPES
3561 GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
3562 #endif
3563 #endif /* GL_ARB_multisample */
3564 
3565 #ifndef GL_ARB_multitexture
3566 #define GL_ARB_multitexture 1
3567 #define GL_TEXTURE0_ARB 0x84C0
3568 #define GL_TEXTURE1_ARB 0x84C1
3569 #define GL_TEXTURE2_ARB 0x84C2
3570 #define GL_TEXTURE3_ARB 0x84C3
3571 #define GL_TEXTURE4_ARB 0x84C4
3572 #define GL_TEXTURE5_ARB 0x84C5
3573 #define GL_TEXTURE6_ARB 0x84C6
3574 #define GL_TEXTURE7_ARB 0x84C7
3575 #define GL_TEXTURE8_ARB 0x84C8
3576 #define GL_TEXTURE9_ARB 0x84C9
3577 #define GL_TEXTURE10_ARB 0x84CA
3578 #define GL_TEXTURE11_ARB 0x84CB
3579 #define GL_TEXTURE12_ARB 0x84CC
3580 #define GL_TEXTURE13_ARB 0x84CD
3581 #define GL_TEXTURE14_ARB 0x84CE
3582 #define GL_TEXTURE15_ARB 0x84CF
3583 #define GL_TEXTURE16_ARB 0x84D0
3584 #define GL_TEXTURE17_ARB 0x84D1
3585 #define GL_TEXTURE18_ARB 0x84D2
3586 #define GL_TEXTURE19_ARB 0x84D3
3587 #define GL_TEXTURE20_ARB 0x84D4
3588 #define GL_TEXTURE21_ARB 0x84D5
3589 #define GL_TEXTURE22_ARB 0x84D6
3590 #define GL_TEXTURE23_ARB 0x84D7
3591 #define GL_TEXTURE24_ARB 0x84D8
3592 #define GL_TEXTURE25_ARB 0x84D9
3593 #define GL_TEXTURE26_ARB 0x84DA
3594 #define GL_TEXTURE27_ARB 0x84DB
3595 #define GL_TEXTURE28_ARB 0x84DC
3596 #define GL_TEXTURE29_ARB 0x84DD
3597 #define GL_TEXTURE30_ARB 0x84DE
3598 #define GL_TEXTURE31_ARB 0x84DF
3599 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
3600 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
3601 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
3602 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3603 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3604 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3605 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3606 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3607 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3608 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3609 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3610 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3611 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3612 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3613 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3614 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3615 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3616 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3617 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3618 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
3619 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
3620 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3621 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
3622 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3623 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
3624 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
3625 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
3626 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3627 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
3628 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3629 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
3630 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3631 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
3632 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3633 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
3634 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3635 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
3636 #ifdef GL_GLEXT_PROTOTYPES
3637 GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
3638 GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
3639 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
3640 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
3641 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
3642 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
3643 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
3644 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
3645 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
3646 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
3647 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
3648 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
3649 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
3650 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
3651 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
3652 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
3653 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
3654 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
3655 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3656 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
3657 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3658 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
3659 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
3660 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
3661 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
3662 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
3663 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3664 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
3665 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3666 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
3667 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
3668 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
3669 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3670 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
3671 #endif
3672 #endif /* GL_ARB_multitexture */
3673 
3674 #ifndef GL_ARB_occlusion_query
3675 #define GL_ARB_occlusion_query 1
3676 #define GL_QUERY_COUNTER_BITS_ARB 0x8864
3677 #define GL_CURRENT_QUERY_ARB 0x8865
3678 #define GL_QUERY_RESULT_ARB 0x8866
3679 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
3680 #define GL_SAMPLES_PASSED_ARB 0x8914
3681 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
3682 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
3683 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
3684 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
3685 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
3686 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3687 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
3688 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
3689 #ifdef GL_GLEXT_PROTOTYPES
3690 GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
3691 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
3692 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
3693 GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
3694 GLAPI void APIENTRY glEndQueryARB (GLenum target);
3695 GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
3696 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
3697 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
3698 #endif
3699 #endif /* GL_ARB_occlusion_query */
3700 
3701 #ifndef GL_ARB_occlusion_query2
3702 #define GL_ARB_occlusion_query2 1
3703 #endif /* GL_ARB_occlusion_query2 */
3704 
3705 #ifndef GL_ARB_pipeline_statistics_query
3706 #define GL_ARB_pipeline_statistics_query 1
3707 #define GL_VERTICES_SUBMITTED_ARB 0x82EE
3708 #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
3709 #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
3710 #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
3711 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
3712 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
3713 #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
3714 #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
3715 #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
3716 #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
3717 #endif /* GL_ARB_pipeline_statistics_query */
3718 
3719 #ifndef GL_ARB_pixel_buffer_object
3720 #define GL_ARB_pixel_buffer_object 1
3721 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
3722 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
3723 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
3724 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
3725 #endif /* GL_ARB_pixel_buffer_object */
3726 
3727 #ifndef GL_ARB_point_parameters
3728 #define GL_ARB_point_parameters 1
3729 #define GL_POINT_SIZE_MIN_ARB 0x8126
3730 #define GL_POINT_SIZE_MAX_ARB 0x8127
3731 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
3732 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
3733 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
3734 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
3735 #ifdef GL_GLEXT_PROTOTYPES
3736 GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
3737 GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
3738 #endif
3739 #endif /* GL_ARB_point_parameters */
3740 
3741 #ifndef GL_ARB_point_sprite
3742 #define GL_ARB_point_sprite 1
3743 #define GL_POINT_SPRITE_ARB 0x8861
3744 #define GL_COORD_REPLACE_ARB 0x8862
3745 #endif /* GL_ARB_point_sprite */
3746 
3747 #ifndef GL_ARB_program_interface_query
3748 #define GL_ARB_program_interface_query 1
3749 #endif /* GL_ARB_program_interface_query */
3750 
3751 #ifndef GL_ARB_provoking_vertex
3752 #define GL_ARB_provoking_vertex 1
3753 #endif /* GL_ARB_provoking_vertex */
3754 
3755 #ifndef GL_ARB_query_buffer_object
3756 #define GL_ARB_query_buffer_object 1
3757 #endif /* GL_ARB_query_buffer_object */
3758 
3759 #ifndef GL_ARB_robust_buffer_access_behavior
3760 #define GL_ARB_robust_buffer_access_behavior 1
3761 #endif /* GL_ARB_robust_buffer_access_behavior */
3762 
3763 #ifndef GL_ARB_robustness
3764 #define GL_ARB_robustness 1
3765 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
3766 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
3767 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
3768 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
3769 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
3770 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
3771 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
3772 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
3773 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3774 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3775 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
3776 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3777 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3778 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3779 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3780 typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3781 typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3782 typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3783 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
3784 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
3785 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
3786 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
3787 typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3788 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3789 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3790 typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3791 typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3792 #ifdef GL_GLEXT_PROTOTYPES
3793 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
3794 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3795 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3796 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
3797 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3798 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3799 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3800 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3801 GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3802 GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3803 GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3804 GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
3805 GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
3806 GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
3807 GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
3808 GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3809 GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3810 GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3811 GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3812 GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3813 #endif
3814 #endif /* GL_ARB_robustness */
3815 
3816 #ifndef GL_ARB_robustness_isolation
3817 #define GL_ARB_robustness_isolation 1
3818 #endif /* GL_ARB_robustness_isolation */
3819 
3820 #ifndef GL_ARB_sample_shading
3821 #define GL_ARB_sample_shading 1
3822 #define GL_SAMPLE_SHADING_ARB 0x8C36
3823 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
3824 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
3825 #ifdef GL_GLEXT_PROTOTYPES
3826 GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
3827 #endif
3828 #endif /* GL_ARB_sample_shading */
3829 
3830 #ifndef GL_ARB_sampler_objects
3831 #define GL_ARB_sampler_objects 1
3832 #endif /* GL_ARB_sampler_objects */
3833 
3834 #ifndef GL_ARB_seamless_cube_map
3835 #define GL_ARB_seamless_cube_map 1
3836 #endif /* GL_ARB_seamless_cube_map */
3837 
3838 #ifndef GL_ARB_seamless_cubemap_per_texture
3839 #define GL_ARB_seamless_cubemap_per_texture 1
3840 #endif /* GL_ARB_seamless_cubemap_per_texture */
3841 
3842 #ifndef GL_ARB_separate_shader_objects
3843 #define GL_ARB_separate_shader_objects 1
3844 #endif /* GL_ARB_separate_shader_objects */
3845 
3846 #ifndef GL_ARB_shader_atomic_counters
3847 #define GL_ARB_shader_atomic_counters 1
3848 #endif /* GL_ARB_shader_atomic_counters */
3849 
3850 #ifndef GL_ARB_shader_bit_encoding
3851 #define GL_ARB_shader_bit_encoding 1
3852 #endif /* GL_ARB_shader_bit_encoding */
3853 
3854 #ifndef GL_ARB_shader_draw_parameters
3855 #define GL_ARB_shader_draw_parameters 1
3856 #endif /* GL_ARB_shader_draw_parameters */
3857 
3858 #ifndef GL_ARB_shader_group_vote
3859 #define GL_ARB_shader_group_vote 1
3860 #endif /* GL_ARB_shader_group_vote */
3861 
3862 #ifndef GL_ARB_shader_image_load_store
3863 #define GL_ARB_shader_image_load_store 1
3864 #endif /* GL_ARB_shader_image_load_store */
3865 
3866 #ifndef GL_ARB_shader_image_size
3867 #define GL_ARB_shader_image_size 1
3868 #endif /* GL_ARB_shader_image_size */
3869 
3870 #ifndef GL_ARB_shader_objects
3871 #define GL_ARB_shader_objects 1
3872 #ifdef __APPLE__
3873 typedef void *GLhandleARB;
3874 #else
3875 typedef unsigned int GLhandleARB;
3876 #endif
3877 typedef char GLcharARB;
3878 #define GL_PROGRAM_OBJECT_ARB 0x8B40
3879 #define GL_SHADER_OBJECT_ARB 0x8B48
3880 #define GL_OBJECT_TYPE_ARB 0x8B4E
3881 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
3882 #define GL_FLOAT_VEC2_ARB 0x8B50
3883 #define GL_FLOAT_VEC3_ARB 0x8B51
3884 #define GL_FLOAT_VEC4_ARB 0x8B52
3885 #define GL_INT_VEC2_ARB 0x8B53
3886 #define GL_INT_VEC3_ARB 0x8B54
3887 #define GL_INT_VEC4_ARB 0x8B55
3888 #define GL_BOOL_ARB 0x8B56
3889 #define GL_BOOL_VEC2_ARB 0x8B57
3890 #define GL_BOOL_VEC3_ARB 0x8B58
3891 #define GL_BOOL_VEC4_ARB 0x8B59
3892 #define GL_FLOAT_MAT2_ARB 0x8B5A
3893 #define GL_FLOAT_MAT3_ARB 0x8B5B
3894 #define GL_FLOAT_MAT4_ARB 0x8B5C
3895 #define GL_SAMPLER_1D_ARB 0x8B5D
3896 #define GL_SAMPLER_2D_ARB 0x8B5E
3897 #define GL_SAMPLER_3D_ARB 0x8B5F
3898 #define GL_SAMPLER_CUBE_ARB 0x8B60
3899 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
3900 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
3901 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
3902 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
3903 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
3904 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
3905 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
3906 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
3907 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
3908 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
3909 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
3910 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
3911 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
3912 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
3913 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
3914 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
3915 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
3916 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
3917 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
3918 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
3919 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
3920 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
3921 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
3922 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
3923 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
3924 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
3925 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
3926 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
3927 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
3928 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
3929 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
3930 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
3931 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3932 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3933 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3934 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3935 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3936 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3937 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3938 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3939 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3940 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3941 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3942 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
3943 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
3944 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
3945 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
3946 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
3947 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
3948 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
3949 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
3950 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
3951 #ifdef GL_GLEXT_PROTOTYPES
3952 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
3953 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
3954 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
3955 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
3956 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
3957 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
3958 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
3959 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
3960 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
3961 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
3962 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
3963 GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
3964 GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
3965 GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
3966 GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
3967 GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
3968 GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
3969 GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
3970 GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
3971 GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
3972 GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
3973 GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
3974 GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
3975 GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
3976 GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
3977 GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
3978 GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
3979 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3980 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3981 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3982 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
3983 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
3984 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
3985 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
3986 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
3987 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
3988 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
3989 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
3990 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
3991 #endif
3992 #endif /* GL_ARB_shader_objects */
3993 
3994 #ifndef GL_ARB_shader_precision
3995 #define GL_ARB_shader_precision 1
3996 #endif /* GL_ARB_shader_precision */
3997 
3998 #ifndef GL_ARB_shader_stencil_export
3999 #define GL_ARB_shader_stencil_export 1
4000 #endif /* GL_ARB_shader_stencil_export */
4001 
4002 #ifndef GL_ARB_shader_storage_buffer_object
4003 #define GL_ARB_shader_storage_buffer_object 1
4004 #endif /* GL_ARB_shader_storage_buffer_object */
4005 
4006 #ifndef GL_ARB_shader_subroutine
4007 #define GL_ARB_shader_subroutine 1
4008 #endif /* GL_ARB_shader_subroutine */
4009 
4010 #ifndef GL_ARB_shader_texture_image_samples
4011 #define GL_ARB_shader_texture_image_samples 1
4012 #endif /* GL_ARB_shader_texture_image_samples */
4013 
4014 #ifndef GL_ARB_shader_texture_lod
4015 #define GL_ARB_shader_texture_lod 1
4016 #endif /* GL_ARB_shader_texture_lod */
4017 
4018 #ifndef GL_ARB_shading_language_100
4019 #define GL_ARB_shading_language_100 1
4020 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
4021 #endif /* GL_ARB_shading_language_100 */
4022 
4023 #ifndef GL_ARB_shading_language_420pack
4024 #define GL_ARB_shading_language_420pack 1
4025 #endif /* GL_ARB_shading_language_420pack */
4026 
4027 #ifndef GL_ARB_shading_language_include
4028 #define GL_ARB_shading_language_include 1
4029 #define GL_SHADER_INCLUDE_ARB 0x8DAE
4030 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
4031 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
4032 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4033 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4034 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4035 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4036 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4037 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4038 #ifdef GL_GLEXT_PROTOTYPES
4039 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4040 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
4041 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4042 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
4043 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4044 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4045 #endif
4046 #endif /* GL_ARB_shading_language_include */
4047 
4048 #ifndef GL_ARB_shading_language_packing
4049 #define GL_ARB_shading_language_packing 1
4050 #endif /* GL_ARB_shading_language_packing */
4051 
4052 #ifndef GL_ARB_shadow
4053 #define GL_ARB_shadow 1
4054 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
4055 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
4056 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
4057 #endif /* GL_ARB_shadow */
4058 
4059 #ifndef GL_ARB_shadow_ambient
4060 #define GL_ARB_shadow_ambient 1
4061 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
4062 #endif /* GL_ARB_shadow_ambient */
4063 
4064 #ifndef GL_ARB_sparse_buffer
4065 #define GL_ARB_sparse_buffer 1
4066 #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
4067 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
4068 typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizei size, GLboolean commit);
4069 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizei size, GLboolean commit);
4070 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizei size, GLboolean commit);
4071 #ifdef GL_GLEXT_PROTOTYPES
4072 GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizei size, GLboolean commit);
4073 GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizei size, GLboolean commit);
4074 GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizei size, GLboolean commit);
4075 #endif
4076 #endif /* GL_ARB_sparse_buffer */
4077 
4078 #ifndef GL_ARB_sparse_texture
4079 #define GL_ARB_sparse_texture 1
4080 #define GL_TEXTURE_SPARSE_ARB 0x91A6
4081 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
4082 #define GL_MIN_SPARSE_LEVEL_ARB 0x919B
4083 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
4084 #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
4085 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
4086 #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
4087 #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
4088 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
4089 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
4090 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
4091 typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
4092 #ifdef GL_GLEXT_PROTOTYPES
4093 GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
4094 #endif
4095 #endif /* GL_ARB_sparse_texture */
4096 
4097 #ifndef GL_ARB_stencil_texturing
4098 #define GL_ARB_stencil_texturing 1
4099 #endif /* GL_ARB_stencil_texturing */
4100 
4101 #ifndef GL_ARB_sync
4102 #define GL_ARB_sync 1
4103 #endif /* GL_ARB_sync */
4104 
4105 #ifndef GL_ARB_tessellation_shader
4106 #define GL_ARB_tessellation_shader 1
4107 #endif /* GL_ARB_tessellation_shader */
4108 
4109 #ifndef GL_ARB_texture_barrier
4110 #define GL_ARB_texture_barrier 1
4111 #endif /* GL_ARB_texture_barrier */
4112 
4113 #ifndef GL_ARB_texture_border_clamp
4114 #define GL_ARB_texture_border_clamp 1
4115 #define GL_CLAMP_TO_BORDER_ARB 0x812D
4116 #endif /* GL_ARB_texture_border_clamp */
4117 
4118 #ifndef GL_ARB_texture_buffer_object
4119 #define GL_ARB_texture_buffer_object 1
4120 #define GL_TEXTURE_BUFFER_ARB 0x8C2A
4121 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
4122 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
4123 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
4124 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
4125 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
4126 #ifdef GL_GLEXT_PROTOTYPES
4127 GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
4128 #endif
4129 #endif /* GL_ARB_texture_buffer_object */
4130 
4131 #ifndef GL_ARB_texture_buffer_object_rgb32
4132 #define GL_ARB_texture_buffer_object_rgb32 1
4133 #endif /* GL_ARB_texture_buffer_object_rgb32 */
4134 
4135 #ifndef GL_ARB_texture_buffer_range
4136 #define GL_ARB_texture_buffer_range 1
4137 #endif /* GL_ARB_texture_buffer_range */
4138 
4139 #ifndef GL_ARB_texture_compression
4140 #define GL_ARB_texture_compression 1
4141 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
4142 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
4143 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
4144 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
4145 #define GL_COMPRESSED_RGB_ARB 0x84ED
4146 #define GL_COMPRESSED_RGBA_ARB 0x84EE
4147 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
4148 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
4149 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
4150 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
4151 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
4152 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4153 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4154 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4155 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);
4156 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4157 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4158 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
4159 #ifdef GL_GLEXT_PROTOTYPES
4160 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4161 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4162 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4163 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);
4164 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4165 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4166 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
4167 #endif
4168 #endif /* GL_ARB_texture_compression */
4169 
4170 #ifndef GL_ARB_texture_compression_bptc
4171 #define GL_ARB_texture_compression_bptc 1
4172 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
4173 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
4174 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
4175 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
4176 #endif /* GL_ARB_texture_compression_bptc */
4177 
4178 #ifndef GL_ARB_texture_compression_rgtc
4179 #define GL_ARB_texture_compression_rgtc 1
4180 #endif /* GL_ARB_texture_compression_rgtc */
4181 
4182 #ifndef GL_ARB_texture_cube_map
4183 #define GL_ARB_texture_cube_map 1
4184 #define GL_NORMAL_MAP_ARB 0x8511
4185 #define GL_REFLECTION_MAP_ARB 0x8512
4186 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
4187 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
4188 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
4189 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
4190 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
4191 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
4192 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
4193 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
4194 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
4195 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
4196 #endif /* GL_ARB_texture_cube_map */
4197 
4198 #ifndef GL_ARB_texture_cube_map_array
4199 #define GL_ARB_texture_cube_map_array 1
4200 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
4201 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
4202 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
4203 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
4204 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
4205 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
4206 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
4207 #endif /* GL_ARB_texture_cube_map_array */
4208 
4209 #ifndef GL_ARB_texture_env_add
4210 #define GL_ARB_texture_env_add 1
4211 #endif /* GL_ARB_texture_env_add */
4212 
4213 #ifndef GL_ARB_texture_env_combine
4214 #define GL_ARB_texture_env_combine 1
4215 #define GL_COMBINE_ARB 0x8570
4216 #define GL_COMBINE_RGB_ARB 0x8571
4217 #define GL_COMBINE_ALPHA_ARB 0x8572
4218 #define GL_SOURCE0_RGB_ARB 0x8580
4219 #define GL_SOURCE1_RGB_ARB 0x8581
4220 #define GL_SOURCE2_RGB_ARB 0x8582
4221 #define GL_SOURCE0_ALPHA_ARB 0x8588
4222 #define GL_SOURCE1_ALPHA_ARB 0x8589
4223 #define GL_SOURCE2_ALPHA_ARB 0x858A
4224 #define GL_OPERAND0_RGB_ARB 0x8590
4225 #define GL_OPERAND1_RGB_ARB 0x8591
4226 #define GL_OPERAND2_RGB_ARB 0x8592
4227 #define GL_OPERAND0_ALPHA_ARB 0x8598
4228 #define GL_OPERAND1_ALPHA_ARB 0x8599
4229 #define GL_OPERAND2_ALPHA_ARB 0x859A
4230 #define GL_RGB_SCALE_ARB 0x8573
4231 #define GL_ADD_SIGNED_ARB 0x8574
4232 #define GL_INTERPOLATE_ARB 0x8575
4233 #define GL_SUBTRACT_ARB 0x84E7
4234 #define GL_CONSTANT_ARB 0x8576
4235 #define GL_PRIMARY_COLOR_ARB 0x8577
4236 #define GL_PREVIOUS_ARB 0x8578
4237 #endif /* GL_ARB_texture_env_combine */
4238 
4239 #ifndef GL_ARB_texture_env_crossbar
4240 #define GL_ARB_texture_env_crossbar 1
4241 #endif /* GL_ARB_texture_env_crossbar */
4242 
4243 #ifndef GL_ARB_texture_env_dot3
4244 #define GL_ARB_texture_env_dot3 1
4245 #define GL_DOT3_RGB_ARB 0x86AE
4246 #define GL_DOT3_RGBA_ARB 0x86AF
4247 #endif /* GL_ARB_texture_env_dot3 */
4248 
4249 #ifndef GL_ARB_texture_float
4250 #define GL_ARB_texture_float 1
4251 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
4252 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
4253 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
4254 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
4255 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
4256 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
4257 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
4258 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
4259 #define GL_RGBA32F_ARB 0x8814
4260 #define GL_RGB32F_ARB 0x8815
4261 #define GL_ALPHA32F_ARB 0x8816
4262 #define GL_INTENSITY32F_ARB 0x8817
4263 #define GL_LUMINANCE32F_ARB 0x8818
4264 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
4265 #define GL_RGBA16F_ARB 0x881A
4266 #define GL_RGB16F_ARB 0x881B
4267 #define GL_ALPHA16F_ARB 0x881C
4268 #define GL_INTENSITY16F_ARB 0x881D
4269 #define GL_LUMINANCE16F_ARB 0x881E
4270 #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
4271 #endif /* GL_ARB_texture_float */
4272 
4273 #ifndef GL_ARB_texture_gather
4274 #define GL_ARB_texture_gather 1
4275 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
4276 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
4277 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
4278 #endif /* GL_ARB_texture_gather */
4279 
4280 #ifndef GL_ARB_texture_mirror_clamp_to_edge
4281 #define GL_ARB_texture_mirror_clamp_to_edge 1
4282 #endif /* GL_ARB_texture_mirror_clamp_to_edge */
4283 
4284 #ifndef GL_ARB_texture_mirrored_repeat
4285 #define GL_ARB_texture_mirrored_repeat 1
4286 #define GL_MIRRORED_REPEAT_ARB 0x8370
4287 #endif /* GL_ARB_texture_mirrored_repeat */
4288 
4289 #ifndef GL_ARB_texture_multisample
4290 #define GL_ARB_texture_multisample 1
4291 #endif /* GL_ARB_texture_multisample */
4292 
4293 #ifndef GL_ARB_texture_non_power_of_two
4294 #define GL_ARB_texture_non_power_of_two 1
4295 #endif /* GL_ARB_texture_non_power_of_two */
4296 
4297 #ifndef GL_ARB_texture_query_levels
4298 #define GL_ARB_texture_query_levels 1
4299 #endif /* GL_ARB_texture_query_levels */
4300 
4301 #ifndef GL_ARB_texture_query_lod
4302 #define GL_ARB_texture_query_lod 1
4303 #endif /* GL_ARB_texture_query_lod */
4304 
4305 #ifndef GL_ARB_texture_rectangle
4306 #define GL_ARB_texture_rectangle 1
4307 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
4308 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
4309 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
4310 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
4311 #endif /* GL_ARB_texture_rectangle */
4312 
4313 #ifndef GL_ARB_texture_rg
4314 #define GL_ARB_texture_rg 1
4315 #endif /* GL_ARB_texture_rg */
4316 
4317 #ifndef GL_ARB_texture_rgb10_a2ui
4318 #define GL_ARB_texture_rgb10_a2ui 1
4319 #endif /* GL_ARB_texture_rgb10_a2ui */
4320 
4321 #ifndef GL_ARB_texture_stencil8
4322 #define GL_ARB_texture_stencil8 1
4323 #endif /* GL_ARB_texture_stencil8 */
4324 
4325 #ifndef GL_ARB_texture_storage
4326 #define GL_ARB_texture_storage 1
4327 #endif /* GL_ARB_texture_storage */
4328 
4329 #ifndef GL_ARB_texture_storage_multisample
4330 #define GL_ARB_texture_storage_multisample 1
4331 #endif /* GL_ARB_texture_storage_multisample */
4332 
4333 #ifndef GL_ARB_texture_swizzle
4334 #define GL_ARB_texture_swizzle 1
4335 #endif /* GL_ARB_texture_swizzle */
4336 
4337 #ifndef GL_ARB_texture_view
4338 #define GL_ARB_texture_view 1
4339 #endif /* GL_ARB_texture_view */
4340 
4341 #ifndef GL_ARB_timer_query
4342 #define GL_ARB_timer_query 1
4343 #endif /* GL_ARB_timer_query */
4344 
4345 #ifndef GL_ARB_transform_feedback2
4346 #define GL_ARB_transform_feedback2 1
4347 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
4348 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
4349 #endif /* GL_ARB_transform_feedback2 */
4350 
4351 #ifndef GL_ARB_transform_feedback3
4352 #define GL_ARB_transform_feedback3 1
4353 #endif /* GL_ARB_transform_feedback3 */
4354 
4355 #ifndef GL_ARB_transform_feedback_instanced
4356 #define GL_ARB_transform_feedback_instanced 1
4357 #endif /* GL_ARB_transform_feedback_instanced */
4358 
4359 #ifndef GL_ARB_transform_feedback_overflow_query
4360 #define GL_ARB_transform_feedback_overflow_query 1
4361 #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
4362 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
4363 #endif /* GL_ARB_transform_feedback_overflow_query */
4364 
4365 #ifndef GL_ARB_transpose_matrix
4366 #define GL_ARB_transpose_matrix 1
4367 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
4368 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
4369 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
4370 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
4371 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4372 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4373 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4374 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4375 #ifdef GL_GLEXT_PROTOTYPES
4376 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
4377 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
4378 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
4379 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
4380 #endif
4381 #endif /* GL_ARB_transpose_matrix */
4382 
4383 #ifndef GL_ARB_uniform_buffer_object
4384 #define GL_ARB_uniform_buffer_object 1
4385 #endif /* GL_ARB_uniform_buffer_object */
4386 
4387 #ifndef GL_ARB_vertex_array_bgra
4388 #define GL_ARB_vertex_array_bgra 1
4389 #endif /* GL_ARB_vertex_array_bgra */
4390 
4391 #ifndef GL_ARB_vertex_array_object
4392 #define GL_ARB_vertex_array_object 1
4393 #endif /* GL_ARB_vertex_array_object */
4394 
4395 #ifndef GL_ARB_vertex_attrib_64bit
4396 #define GL_ARB_vertex_attrib_64bit 1
4397 #endif /* GL_ARB_vertex_attrib_64bit */
4398 
4399 #ifndef GL_ARB_vertex_attrib_binding
4400 #define GL_ARB_vertex_attrib_binding 1
4401 #endif /* GL_ARB_vertex_attrib_binding */
4402 
4403 #ifndef GL_ARB_vertex_blend
4404 #define GL_ARB_vertex_blend 1
4405 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
4406 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
4407 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
4408 #define GL_VERTEX_BLEND_ARB 0x86A7
4409 #define GL_CURRENT_WEIGHT_ARB 0x86A8
4410 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
4411 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
4412 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
4413 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
4414 #define GL_WEIGHT_ARRAY_ARB 0x86AD
4415 #define GL_MODELVIEW0_ARB 0x1700
4416 #define GL_MODELVIEW1_ARB 0x850A
4417 #define GL_MODELVIEW2_ARB 0x8722
4418 #define GL_MODELVIEW3_ARB 0x8723
4419 #define GL_MODELVIEW4_ARB 0x8724
4420 #define GL_MODELVIEW5_ARB 0x8725
4421 #define GL_MODELVIEW6_ARB 0x8726
4422 #define GL_MODELVIEW7_ARB 0x8727
4423 #define GL_MODELVIEW8_ARB 0x8728
4424 #define GL_MODELVIEW9_ARB 0x8729
4425 #define GL_MODELVIEW10_ARB 0x872A
4426 #define GL_MODELVIEW11_ARB 0x872B
4427 #define GL_MODELVIEW12_ARB 0x872C
4428 #define GL_MODELVIEW13_ARB 0x872D
4429 #define GL_MODELVIEW14_ARB 0x872E
4430 #define GL_MODELVIEW15_ARB 0x872F
4431 #define GL_MODELVIEW16_ARB 0x8730
4432 #define GL_MODELVIEW17_ARB 0x8731
4433 #define GL_MODELVIEW18_ARB 0x8732
4434 #define GL_MODELVIEW19_ARB 0x8733
4435 #define GL_MODELVIEW20_ARB 0x8734
4436 #define GL_MODELVIEW21_ARB 0x8735
4437 #define GL_MODELVIEW22_ARB 0x8736
4438 #define GL_MODELVIEW23_ARB 0x8737
4439 #define GL_MODELVIEW24_ARB 0x8738
4440 #define GL_MODELVIEW25_ARB 0x8739
4441 #define GL_MODELVIEW26_ARB 0x873A
4442 #define GL_MODELVIEW27_ARB 0x873B
4443 #define GL_MODELVIEW28_ARB 0x873C
4444 #define GL_MODELVIEW29_ARB 0x873D
4445 #define GL_MODELVIEW30_ARB 0x873E
4446 #define GL_MODELVIEW31_ARB 0x873F
4447 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
4448 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
4449 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
4450 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
4451 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
4452 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
4453 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
4454 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
4455 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
4456 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
4457 #ifdef GL_GLEXT_PROTOTYPES
4458 GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
4459 GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
4460 GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
4461 GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
4462 GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
4463 GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
4464 GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
4465 GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
4466 GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
4467 GLAPI void APIENTRY glVertexBlendARB (GLint count);
4468 #endif
4469 #endif /* GL_ARB_vertex_blend */
4470 
4471 #ifndef GL_ARB_vertex_buffer_object
4472 #define GL_ARB_vertex_buffer_object 1
4473 /* HACK: This is a workaround for gltypes.h on OS X 10.9 defining these types as
4474  * long instead of ptrdiff_t
4475  */
4476 #if defined(__APPLE__)
4477 typedef long GLsizeiptrARB;
4478 typedef long GLintptrARB;
4479 #else
4480 typedef ptrdiff_t GLsizeiptrARB;
4481 typedef ptrdiff_t GLintptrARB;
4482 #endif
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 */
4539 
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 */
4647 
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 */
4666 
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 */
4670 
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 */
4674 
4675 #ifndef GL_ARB_viewport_array
4676 #define GL_ARB_viewport_array 1
4677 #endif /* GL_ARB_viewport_array */
4678 
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 */
4716 
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 */
4739 
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 */
4744 
4745 #ifndef GL_KHR_context_flush_control
4746 #define GL_KHR_context_flush_control 1
4747 #endif /* GL_KHR_context_flush_control */
4748 
4749 #ifndef GL_KHR_debug
4750 #define GL_KHR_debug 1
4751 #endif /* GL_KHR_debug */
4752 
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 */
4756 
4757 #ifndef GL_KHR_robustness
4758 #define GL_KHR_robustness 1
4759 #define GL_CONTEXT_ROBUST_ACCESS 0x90F3
4760 #endif /* GL_KHR_robustness */
4761 
4762 #ifndef GL_KHR_texture_compression_astc_hdr
4763 #define GL_KHR_texture_compression_astc_hdr 1
4764 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
4765 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
4766 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
4767 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
4768 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
4769 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
4770 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
4771 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
4772 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
4773 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
4774 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
4775 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
4776 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
4777 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
4778 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
4779 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
4780 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
4781 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
4782 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
4783 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
4784 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
4785 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
4786 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
4787 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
4788 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
4789 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
4790 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
4791 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
4792 #endif /* GL_KHR_texture_compression_astc_hdr */
4793 
4794 #ifndef GL_KHR_texture_compression_astc_ldr
4795 #define GL_KHR_texture_compression_astc_ldr 1
4796 #endif /* GL_KHR_texture_compression_astc_ldr */
4797 
4798 #ifndef GL_OES_byte_coordinates
4799 #define GL_OES_byte_coordinates 1
4800 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
4801 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
4802 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
4803 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
4804 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
4805 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
4806 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4807 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
4808 typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
4809 typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
4810 typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
4811 typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
4812 typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
4813 typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
4814 typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4815 typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
4816 typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y);
4817 typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
4818 typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
4819 typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
4820 typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
4821 typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
4822 #ifdef GL_GLEXT_PROTOTYPES
4823 GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
4824 GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
4825 GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
4826 GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
4827 GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
4828 GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
4829 GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4830 GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
4831 GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
4832 GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
4833 GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
4834 GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
4835 GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
4836 GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
4837 GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4838 GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
4839 GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y);
4840 GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
4841 GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z);
4842 GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
4843 GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
4844 GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
4845 #endif
4846 #endif /* GL_OES_byte_coordinates */
4847 
4848 #ifndef GL_OES_compressed_paletted_texture
4849 #define GL_OES_compressed_paletted_texture 1
4850 #define GL_PALETTE4_RGB8_OES 0x8B90
4851 #define GL_PALETTE4_RGBA8_OES 0x8B91
4852 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
4853 #define GL_PALETTE4_RGBA4_OES 0x8B93
4854 #define GL_PALETTE4_RGB5_A1_OES 0x8B94
4855 #define GL_PALETTE8_RGB8_OES 0x8B95
4856 #define GL_PALETTE8_RGBA8_OES 0x8B96
4857 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
4858 #define GL_PALETTE8_RGBA4_OES 0x8B98
4859 #define GL_PALETTE8_RGB5_A1_OES 0x8B99
4860 #endif /* GL_OES_compressed_paletted_texture */
4861 
4862 #ifndef GL_OES_fixed_point
4863 #define GL_OES_fixed_point 1
4864 typedef GLint GLfixed;
4865 #define GL_FIXED_OES 0x140C
4866 typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
4867 typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4868 typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
4869 typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
4870 typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4871 typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
4872 typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
4873 typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
4874 typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4875 typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
4876 typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
4877 typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4878 typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4879 typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
4880 typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
4881 typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
4882 typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
4883 typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
4884 typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
4885 typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
4886 typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
4887 typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
4888 typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
4889 typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
4890 typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4891 typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
4892 typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
4893 typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
4894 typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4895 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
4896 typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4897 typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4898 typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
4899 typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4900 typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
4901 typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4902 typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
4903 typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
4904 typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4905 typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4906 typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
4907 typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
4908 typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
4909 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4910 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
4911 typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
4912 typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
4913 typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
4914 typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
4915 typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
4916 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4917 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4918 typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
4919 typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
4920 typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
4921 typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
4922 typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
4923 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
4924 typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
4925 typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
4926 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
4927 typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
4928 typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
4929 typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
4930 typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
4931 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
4932 typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
4933 typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
4934 typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
4935 typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
4936 typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
4937 typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
4938 typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
4939 typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
4940 typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
4941 typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
4942 typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
4943 typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
4944 typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
4945 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
4946 typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
4947 typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
4948 typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4949 typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
4950 typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
4951 typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
4952 typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
4953 typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
4954 typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
4955 typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
4956 typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
4957 typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
4958 typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
4959 typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
4960 typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
4961 typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
4962 typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
4963 typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
4964 typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
4965 typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
4966 typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
4967 typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
4968 typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4969 typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
4970 #ifdef GL_GLEXT_PROTOTYPES
4971 GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
4972 GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4973 GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
4974 GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
4975 GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4976 GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
4977 GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
4978 GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
4979 GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4980 GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
4981 GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
4982 GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
4983 GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
4984 GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
4985 GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
4986 GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
4987 GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
4988 GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
4989 GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
4990 GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
4991 GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
4992 GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
4993 GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
4994 GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
4995 GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4996 GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
4997 GLAPI void APIENTRY glPointSizexOES (GLfixed size);
4998 GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
4999 GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
5000 GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
5001 GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
5002 GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
5003 GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
5004 GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
5005 GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
5006 GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
5007 GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
5008 GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
5009 GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5010 GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5011 GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
5012 GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
5013 GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
5014 GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
5015 GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
5016 GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
5017 GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
5018 GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
5019 GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
5020 GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
5021 GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5022 GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5023 GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
5024 GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
5025 GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
5026 GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
5027 GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
5028 GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
5029 GLAPI void APIENTRY glIndexxOES (GLfixed component);
5030 GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
5031 GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
5032 GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
5033 GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
5034 GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
5035 GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
5036 GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
5037 GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
5038 GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
5039 GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
5040 GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
5041 GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
5042 GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
5043 GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
5044 GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
5045 GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
5046 GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
5047 GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
5048 GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
5049 GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
5050 GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
5051 GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
5052 GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
5053 GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
5054 GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
5055 GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
5056 GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
5057 GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
5058 GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
5059 GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
5060 GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
5061 GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
5062 GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
5063 GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
5064 GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
5065 GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5066 GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
5067 GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
5068 GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
5069 GLAPI void APIENTRY glVertex2xOES (GLfixed x);
5070 GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
5071 GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
5072 GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
5073 GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
5074 GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
5075 #endif
5076 #endif /* GL_OES_fixed_point */
5077 
5078 #ifndef GL_OES_query_matrix
5079 #define GL_OES_query_matrix 1
5080 typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
5081 #ifdef GL_GLEXT_PROTOTYPES
5082 GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
5083 #endif
5084 #endif /* GL_OES_query_matrix */
5085 
5086 #ifndef GL_OES_read_format
5087 #define GL_OES_read_format 1
5088 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
5089 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
5090 #endif /* GL_OES_read_format */
5091 
5092 #ifndef GL_OES_single_precision
5093 #define GL_OES_single_precision 1
5094 typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
5095 typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
5096 typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
5097 typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5098 typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
5099 typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5100 #ifdef GL_GLEXT_PROTOTYPES
5101 GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
5102 GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
5103 GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
5104 GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5105 GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
5106 GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5107 #endif
5108 #endif /* GL_OES_single_precision */
5109 
5110 #ifndef GL_3DFX_multisample
5111 #define GL_3DFX_multisample 1
5112 #define GL_MULTISAMPLE_3DFX 0x86B2
5113 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
5114 #define GL_SAMPLES_3DFX 0x86B4
5115 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
5116 #endif /* GL_3DFX_multisample */
5117 
5118 #ifndef GL_3DFX_tbuffer
5119 #define GL_3DFX_tbuffer 1
5120 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
5121 #ifdef GL_GLEXT_PROTOTYPES
5122 GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
5123 #endif
5124 #endif /* GL_3DFX_tbuffer */
5125 
5126 #ifndef GL_3DFX_texture_compression_FXT1
5127 #define GL_3DFX_texture_compression_FXT1 1
5128 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
5129 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
5130 #endif /* GL_3DFX_texture_compression_FXT1 */
5131 
5132 #ifndef GL_AMD_blend_minmax_factor
5133 #define GL_AMD_blend_minmax_factor 1
5134 #define GL_FACTOR_MIN_AMD 0x901C
5135 #define GL_FACTOR_MAX_AMD 0x901D
5136 #endif /* GL_AMD_blend_minmax_factor */
5137 
5138 #ifndef GL_AMD_conservative_depth
5139 #define GL_AMD_conservative_depth 1
5140 #endif /* GL_AMD_conservative_depth */
5141 
5142 #ifndef GL_AMD_debug_output
5143 #define GL_AMD_debug_output 1
5144 typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
5145 #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
5146 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
5147 #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
5148 #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
5149 #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
5150 #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
5151 #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
5152 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
5153 #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
5154 #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
5155 #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
5156 #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
5157 #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
5158 #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
5159 typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
5160 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
5161 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
5162 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5163 #ifdef GL_GLEXT_PROTOTYPES
5164 GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
5165 GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
5166 GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
5167 GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5168 #endif
5169 #endif /* GL_AMD_debug_output */
5170 
5171 #ifndef GL_AMD_depth_clamp_separate
5172 #define GL_AMD_depth_clamp_separate 1
5173 #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
5174 #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
5175 #endif /* GL_AMD_depth_clamp_separate */
5176 
5177 #ifndef GL_AMD_draw_buffers_blend
5178 #define GL_AMD_draw_buffers_blend 1
5179 typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
5180 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5181 typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
5182 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5183 #ifdef GL_GLEXT_PROTOTYPES
5184 GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
5185 GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5186 GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
5187 GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5188 #endif
5189 #endif /* GL_AMD_draw_buffers_blend */
5190 
5191 #ifndef GL_AMD_gcn_shader
5192 #define GL_AMD_gcn_shader 1
5193 #endif /* GL_AMD_gcn_shader */
5194 
5195 #ifndef GL_AMD_gpu_shader_int64
5196 #define GL_AMD_gpu_shader_int64 1
5197 typedef int64_t GLint64EXT;
5198 #define GL_INT64_NV 0x140E
5199 #define GL_UNSIGNED_INT64_NV 0x140F
5200 #define GL_INT8_NV 0x8FE0
5201 #define GL_INT8_VEC2_NV 0x8FE1
5202 #define GL_INT8_VEC3_NV 0x8FE2
5203 #define GL_INT8_VEC4_NV 0x8FE3
5204 #define GL_INT16_NV 0x8FE4
5205 #define GL_INT16_VEC2_NV 0x8FE5
5206 #define GL_INT16_VEC3_NV 0x8FE6
5207 #define GL_INT16_VEC4_NV 0x8FE7
5208 #define GL_INT64_VEC2_NV 0x8FE9
5209 #define GL_INT64_VEC3_NV 0x8FEA
5210 #define GL_INT64_VEC4_NV 0x8FEB
5211 #define GL_UNSIGNED_INT8_NV 0x8FEC
5212 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
5213 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
5214 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
5215 #define GL_UNSIGNED_INT16_NV 0x8FF0
5216 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
5217 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
5218 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
5219 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
5220 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
5221 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
5222 #define GL_FLOAT16_NV 0x8FF8
5223 #define GL_FLOAT16_VEC2_NV 0x8FF9
5224 #define GL_FLOAT16_VEC3_NV 0x8FFA
5225 #define GL_FLOAT16_VEC4_NV 0x8FFB
5226 typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
5227 typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
5228 typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5229 typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5230 typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5231 typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5232 typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5233 typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5234 typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
5235 typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
5236 typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5237 typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5238 typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5239 typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5240 typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5241 typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5242 typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
5243 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
5244 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
5245 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
5246 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5247 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5248 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5249 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5250 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5251 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5252 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
5253 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
5254 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5255 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5256 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5257 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5258 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5259 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5260 #ifdef GL_GLEXT_PROTOTYPES
5261 GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
5262 GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
5263 GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5264 GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5265 GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5266 GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5267 GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5268 GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5269 GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
5270 GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
5271 GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5272 GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5273 GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5274 GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5275 GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5276 GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5277 GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
5278 GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
5279 GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
5280 GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
5281 GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5282 GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5283 GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5284 GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5285 GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5286 GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5287 GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
5288 GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
5289 GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5290 GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5291 GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5292 GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5293 GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5294 GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5295 #endif
5296 #endif /* GL_AMD_gpu_shader_int64 */
5297 
5298 #ifndef GL_AMD_interleaved_elements
5299 #define GL_AMD_interleaved_elements 1
5300 #define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4
5301 #define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5
5302 typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
5303 #ifdef GL_GLEXT_PROTOTYPES
5304 GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
5305 #endif
5306 #endif /* GL_AMD_interleaved_elements */
5307 
5308 #ifndef GL_AMD_multi_draw_indirect
5309 #define GL_AMD_multi_draw_indirect 1
5310 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
5311 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
5312 #ifdef GL_GLEXT_PROTOTYPES
5313 GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
5314 GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
5315 #endif
5316 #endif /* GL_AMD_multi_draw_indirect */
5317 
5318 #ifndef GL_AMD_name_gen_delete
5319 #define GL_AMD_name_gen_delete 1
5320 #define GL_DATA_BUFFER_AMD 0x9151
5321 #define GL_PERFORMANCE_MONITOR_AMD 0x9152
5322 #define GL_QUERY_OBJECT_AMD 0x9153
5323 #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
5324 #define GL_SAMPLER_OBJECT_AMD 0x9155
5325 typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
5326 typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
5327 typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
5328 #ifdef GL_GLEXT_PROTOTYPES
5329 GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
5330 GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
5331 GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
5332 #endif
5333 #endif /* GL_AMD_name_gen_delete */
5334 
5335 #ifndef GL_AMD_occlusion_query_event
5336 #define GL_AMD_occlusion_query_event 1
5337 #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
5338 #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
5339 #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
5340 #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
5341 #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
5342 #define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF
5343 typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
5344 #ifdef GL_GLEXT_PROTOTYPES
5345 GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
5346 #endif
5347 #endif /* GL_AMD_occlusion_query_event */
5348 
5349 #ifndef GL_AMD_performance_monitor
5350 #define GL_AMD_performance_monitor 1
5351 #define GL_COUNTER_TYPE_AMD 0x8BC0
5352 #define GL_COUNTER_RANGE_AMD 0x8BC1
5353 #define GL_UNSIGNED_INT64_AMD 0x8BC2
5354 #define GL_PERCENTAGE_AMD 0x8BC3
5355 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
5356 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
5357 #define GL_PERFMON_RESULT_AMD 0x8BC6
5358 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
5359 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
5360 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
5361 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
5362 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
5363 typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
5364 typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
5365 typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5366 typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
5367 typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
5368 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5369 #ifdef GL_GLEXT_PROTOTYPES
5370 GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
5371 GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
5372 GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
5373 GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
5374 GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
5375 GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
5376 GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
5377 GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5378 GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
5379 GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
5380 GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5381 #endif
5382 #endif /* GL_AMD_performance_monitor */
5383 
5384 #ifndef GL_AMD_pinned_memory
5385 #define GL_AMD_pinned_memory 1
5386 #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
5387 #endif /* GL_AMD_pinned_memory */
5388 
5389 #ifndef GL_AMD_query_buffer_object
5390 #define GL_AMD_query_buffer_object 1
5391 #define GL_QUERY_BUFFER_AMD 0x9192
5392 #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
5393 #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
5394 #endif /* GL_AMD_query_buffer_object */
5395 
5396 #ifndef GL_AMD_sample_positions
5397 #define GL_AMD_sample_positions 1
5398 #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
5399 typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
5400 #ifdef GL_GLEXT_PROTOTYPES
5401 GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
5402 #endif
5403 #endif /* GL_AMD_sample_positions */
5404 
5405 #ifndef GL_AMD_seamless_cubemap_per_texture
5406 #define GL_AMD_seamless_cubemap_per_texture 1
5407 #endif /* GL_AMD_seamless_cubemap_per_texture */
5408 
5409 #ifndef GL_AMD_shader_atomic_counter_ops
5410 #define GL_AMD_shader_atomic_counter_ops 1
5411 #endif /* GL_AMD_shader_atomic_counter_ops */
5412 
5413 #ifndef GL_AMD_shader_stencil_export
5414 #define GL_AMD_shader_stencil_export 1
5415 #endif /* GL_AMD_shader_stencil_export */
5416 
5417 #ifndef GL_AMD_shader_trinary_minmax
5418 #define GL_AMD_shader_trinary_minmax 1
5419 #endif /* GL_AMD_shader_trinary_minmax */
5420 
5421 #ifndef GL_AMD_sparse_texture
5422 #define GL_AMD_sparse_texture 1
5423 #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
5424 #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
5425 #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
5426 #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
5427 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
5428 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
5429 #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
5430 #define GL_MIN_LOD_WARNING_AMD 0x919C
5431 #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
5432 typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5433 typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5434 #ifdef GL_GLEXT_PROTOTYPES
5435 GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5436 GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5437 #endif
5438 #endif /* GL_AMD_sparse_texture */
5439 
5440 #ifndef GL_AMD_stencil_operation_extended
5441 #define GL_AMD_stencil_operation_extended 1
5442 #define GL_SET_AMD 0x874A
5443 #define GL_REPLACE_VALUE_AMD 0x874B
5444 #define GL_STENCIL_OP_VALUE_AMD 0x874C
5445 #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
5446 typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
5447 #ifdef GL_GLEXT_PROTOTYPES
5448 GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
5449 #endif
5450 #endif /* GL_AMD_stencil_operation_extended */
5451 
5452 #ifndef GL_AMD_texture_texture4
5453 #define GL_AMD_texture_texture4 1
5454 #endif /* GL_AMD_texture_texture4 */
5455 
5456 #ifndef GL_AMD_transform_feedback3_lines_triangles
5457 #define GL_AMD_transform_feedback3_lines_triangles 1
5458 #endif /* GL_AMD_transform_feedback3_lines_triangles */
5459 
5460 #ifndef GL_AMD_transform_feedback4
5461 #define GL_AMD_transform_feedback4 1
5462 #define GL_STREAM_RASTERIZATION_AMD 0x91A0
5463 #endif /* GL_AMD_transform_feedback4 */
5464 
5465 #ifndef GL_AMD_vertex_shader_layer
5466 #define GL_AMD_vertex_shader_layer 1
5467 #endif /* GL_AMD_vertex_shader_layer */
5468 
5469 #ifndef GL_AMD_vertex_shader_tessellator
5470 #define GL_AMD_vertex_shader_tessellator 1
5471 #define GL_SAMPLER_BUFFER_AMD 0x9001
5472 #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
5473 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
5474 #define GL_TESSELLATION_MODE_AMD 0x9004
5475 #define GL_TESSELLATION_FACTOR_AMD 0x9005
5476 #define GL_DISCRETE_AMD 0x9006
5477 #define GL_CONTINUOUS_AMD 0x9007
5478 typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
5479 typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
5480 #ifdef GL_GLEXT_PROTOTYPES
5481 GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
5482 GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
5483 #endif
5484 #endif /* GL_AMD_vertex_shader_tessellator */
5485 
5486 #ifndef GL_AMD_vertex_shader_viewport_index
5487 #define GL_AMD_vertex_shader_viewport_index 1
5488 #endif /* GL_AMD_vertex_shader_viewport_index */
5489 
5490 #ifndef GL_APPLE_aux_depth_stencil
5491 #define GL_APPLE_aux_depth_stencil 1
5492 #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
5493 #endif /* GL_APPLE_aux_depth_stencil */
5494 
5495 #ifndef GL_APPLE_client_storage
5496 #define GL_APPLE_client_storage 1
5497 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
5498 #endif /* GL_APPLE_client_storage */
5499 
5500 #ifndef GL_APPLE_element_array
5501 #define GL_APPLE_element_array 1
5502 #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
5503 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
5504 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
5505 typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
5506 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
5507 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5508 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5509 typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5510 #ifdef GL_GLEXT_PROTOTYPES
5511 GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
5512 GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
5513 GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5514 GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5515 GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5516 #endif
5517 #endif /* GL_APPLE_element_array */
5518 
5519 #ifndef GL_APPLE_fence
5520 #define GL_APPLE_fence 1
5521 #define GL_DRAW_PIXELS_APPLE 0x8A0A
5522 #define GL_FENCE_APPLE 0x8A0B
5523 typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
5524 typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
5525 typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
5526 typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
5527 typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
5528 typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
5529 typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
5530 typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
5531 #ifdef GL_GLEXT_PROTOTYPES
5532 GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
5533 GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
5534 GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
5535 GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
5536 GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
5537 GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
5538 GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
5539 GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
5540 #endif
5541 #endif /* GL_APPLE_fence */
5542 
5543 #ifndef GL_APPLE_float_pixels
5544 #define GL_APPLE_float_pixels 1
5545 #define GL_HALF_APPLE 0x140B
5546 #define GL_RGBA_FLOAT32_APPLE 0x8814
5547 #define GL_RGB_FLOAT32_APPLE 0x8815
5548 #define GL_ALPHA_FLOAT32_APPLE 0x8816
5549 #define GL_INTENSITY_FLOAT32_APPLE 0x8817
5550 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
5551 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
5552 #define GL_RGBA_FLOAT16_APPLE 0x881A
5553 #define GL_RGB_FLOAT16_APPLE 0x881B
5554 #define GL_ALPHA_FLOAT16_APPLE 0x881C
5555 #define GL_INTENSITY_FLOAT16_APPLE 0x881D
5556 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
5557 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
5558 #define GL_COLOR_FLOAT_APPLE 0x8A0F
5559 #endif /* GL_APPLE_float_pixels */
5560 
5561 #ifndef GL_APPLE_flush_buffer_range
5562 #define GL_APPLE_flush_buffer_range 1
5563 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
5564 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
5565 typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
5566 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
5567 #ifdef GL_GLEXT_PROTOTYPES
5568 GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
5569 GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
5570 #endif
5571 #endif /* GL_APPLE_flush_buffer_range */
5572 
5573 #ifndef GL_APPLE_object_purgeable
5574 #define GL_APPLE_object_purgeable 1
5575 #define GL_BUFFER_OBJECT_APPLE 0x85B3
5576 #define GL_RELEASED_APPLE 0x8A19
5577 #define GL_VOLATILE_APPLE 0x8A1A
5578 #define GL_RETAINED_APPLE 0x8A1B
5579 #define GL_UNDEFINED_APPLE 0x8A1C
5580 #define GL_PURGEABLE_APPLE 0x8A1D
5581 typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5582 typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5583 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5584 #ifdef GL_GLEXT_PROTOTYPES
5585 GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5586 GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5587 GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5588 #endif
5589 #endif /* GL_APPLE_object_purgeable */
5590 
5591 #ifndef GL_APPLE_rgb_422
5592 #define GL_APPLE_rgb_422 1
5593 #define GL_RGB_422_APPLE 0x8A1F
5594 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
5595 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
5596 #define GL_RGB_RAW_422_APPLE 0x8A51
5597 #endif /* GL_APPLE_rgb_422 */
5598 
5599 #ifndef GL_APPLE_row_bytes
5600 #define GL_APPLE_row_bytes 1
5601 #define GL_PACK_ROW_BYTES_APPLE 0x8A15
5602 #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
5603 #endif /* GL_APPLE_row_bytes */
5604 
5605 #ifndef GL_APPLE_specular_vector
5606 #define GL_APPLE_specular_vector 1
5607 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
5608 #endif /* GL_APPLE_specular_vector */
5609 
5610 #ifndef GL_APPLE_texture_range
5611 #define GL_APPLE_texture_range 1
5612 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
5613 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
5614 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
5615 #define GL_STORAGE_PRIVATE_APPLE 0x85BD
5616 #define GL_STORAGE_CACHED_APPLE 0x85BE
5617 #define GL_STORAGE_SHARED_APPLE 0x85BF
5618 typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
5619 typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
5620 #ifdef GL_GLEXT_PROTOTYPES
5621 GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
5622 GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
5623 #endif
5624 #endif /* GL_APPLE_texture_range */
5625 
5626 #ifndef GL_APPLE_transform_hint
5627 #define GL_APPLE_transform_hint 1
5628 #define GL_TRANSFORM_HINT_APPLE 0x85B1
5629 #endif /* GL_APPLE_transform_hint */
5630 
5631 #ifndef GL_APPLE_vertex_array_object
5632 #define GL_APPLE_vertex_array_object 1
5633 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
5634 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
5635 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
5636 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
5637 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
5638 #ifdef GL_GLEXT_PROTOTYPES
5639 GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
5640 GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
5641 GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
5642 GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
5643 #endif
5644 #endif /* GL_APPLE_vertex_array_object */
5645 
5646 #ifndef GL_APPLE_vertex_array_range
5647 #define GL_APPLE_vertex_array_range 1
5648 #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
5649 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
5650 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
5651 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
5652 #define GL_STORAGE_CLIENT_APPLE 0x85B4
5653 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5654 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5655 typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
5656 #ifdef GL_GLEXT_PROTOTYPES
5657 GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5658 GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5659 GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
5660 #endif
5661 #endif /* GL_APPLE_vertex_array_range */
5662 
5663 #ifndef GL_APPLE_vertex_program_evaluators
5664 #define GL_APPLE_vertex_program_evaluators 1
5665 #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
5666 #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
5667 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
5668 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
5669 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
5670 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
5671 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
5672 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
5673 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
5674 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
5675 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
5676 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
5677 typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
5678 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
5679 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
5680 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);
5681 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);
5682 #ifdef GL_GLEXT_PROTOTYPES
5683 GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
5684 GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
5685 GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
5686 GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
5687 GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
5688 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);
5689 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);
5690 #endif
5691 #endif /* GL_APPLE_vertex_program_evaluators */
5692 
5693 #ifndef GL_APPLE_ycbcr_422
5694 #define GL_APPLE_ycbcr_422 1
5695 #define GL_YCBCR_422_APPLE 0x85B9
5696 #endif /* GL_APPLE_ycbcr_422 */
5697 
5698 #ifndef GL_ATI_draw_buffers
5699 #define GL_ATI_draw_buffers 1
5700 #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
5701 #define GL_DRAW_BUFFER0_ATI 0x8825
5702 #define GL_DRAW_BUFFER1_ATI 0x8826
5703 #define GL_DRAW_BUFFER2_ATI 0x8827
5704 #define GL_DRAW_BUFFER3_ATI 0x8828
5705 #define GL_DRAW_BUFFER4_ATI 0x8829
5706 #define GL_DRAW_BUFFER5_ATI 0x882A
5707 #define GL_DRAW_BUFFER6_ATI 0x882B
5708 #define GL_DRAW_BUFFER7_ATI 0x882C
5709 #define GL_DRAW_BUFFER8_ATI 0x882D
5710 #define GL_DRAW_BUFFER9_ATI 0x882E
5711 #define GL_DRAW_BUFFER10_ATI 0x882F
5712 #define GL_DRAW_BUFFER11_ATI 0x8830
5713 #define GL_DRAW_BUFFER12_ATI 0x8831
5714 #define GL_DRAW_BUFFER13_ATI 0x8832
5715 #define GL_DRAW_BUFFER14_ATI 0x8833
5716 #define GL_DRAW_BUFFER15_ATI 0x8834
5717 typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
5718 #ifdef GL_GLEXT_PROTOTYPES
5719 GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
5720 #endif
5721 #endif /* GL_ATI_draw_buffers */
5722 
5723 #ifndef GL_ATI_element_array
5724 #define GL_ATI_element_array 1
5725 #define GL_ELEMENT_ARRAY_ATI 0x8768
5726 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
5727 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
5728 typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
5729 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
5730 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
5731 #ifdef GL_GLEXT_PROTOTYPES
5732 GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
5733 GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
5734 GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
5735 #endif
5736 #endif /* GL_ATI_element_array */
5737 
5738 #ifndef GL_ATI_envmap_bumpmap
5739 #define GL_ATI_envmap_bumpmap 1
5740 #define GL_BUMP_ROT_MATRIX_ATI 0x8775
5741 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
5742 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
5743 #define GL_BUMP_TEX_UNITS_ATI 0x8778
5744 #define GL_DUDV_ATI 0x8779
5745 #define GL_DU8DV8_ATI 0x877A
5746 #define GL_BUMP_ENVMAP_ATI 0x877B
5747 #define GL_BUMP_TARGET_ATI 0x877C
5748 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
5749 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
5750 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
5751 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
5752 #ifdef GL_GLEXT_PROTOTYPES
5753 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
5754 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
5755 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
5756 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
5757 #endif
5758 #endif /* GL_ATI_envmap_bumpmap */
5759 
5760 #ifndef GL_ATI_fragment_shader
5761 #define GL_ATI_fragment_shader 1
5762 #define GL_FRAGMENT_SHADER_ATI 0x8920
5763 #define GL_REG_0_ATI 0x8921
5764 #define GL_REG_1_ATI 0x8922
5765 #define GL_REG_2_ATI 0x8923
5766 #define GL_REG_3_ATI 0x8924
5767 #define GL_REG_4_ATI 0x8925
5768 #define GL_REG_5_ATI 0x8926
5769 #define GL_REG_6_ATI 0x8927
5770 #define GL_REG_7_ATI 0x8928
5771 #define GL_REG_8_ATI 0x8929
5772 #define GL_REG_9_ATI 0x892A
5773 #define GL_REG_10_ATI 0x892B
5774 #define GL_REG_11_ATI 0x892C
5775 #define GL_REG_12_ATI 0x892D
5776 #define GL_REG_13_ATI 0x892E
5777 #define GL_REG_14_ATI 0x892F
5778 #define GL_REG_15_ATI 0x8930
5779 #define GL_REG_16_ATI 0x8931
5780 #define GL_REG_17_ATI 0x8932
5781 #define GL_REG_18_ATI 0x8933
5782 #define GL_REG_19_ATI 0x8934
5783 #define GL_REG_20_ATI 0x8935
5784 #define GL_REG_21_ATI 0x8936
5785 #define GL_REG_22_ATI 0x8937
5786 #define GL_REG_23_ATI 0x8938
5787 #define GL_REG_24_ATI 0x8939
5788 #define GL_REG_25_ATI 0x893A
5789 #define GL_REG_26_ATI 0x893B
5790 #define GL_REG_27_ATI 0x893C
5791 #define GL_REG_28_ATI 0x893D
5792 #define GL_REG_29_ATI 0x893E
5793 #define GL_REG_30_ATI 0x893F
5794 #define GL_REG_31_ATI 0x8940
5795 #define GL_CON_0_ATI 0x8941
5796 #define GL_CON_1_ATI 0x8942
5797 #define GL_CON_2_ATI 0x8943
5798 #define GL_CON_3_ATI 0x8944
5799 #define GL_CON_4_ATI 0x8945
5800 #define GL_CON_5_ATI 0x8946
5801 #define GL_CON_6_ATI 0x8947
5802 #define GL_CON_7_ATI 0x8948
5803 #define GL_CON_8_ATI 0x8949
5804 #define GL_CON_9_ATI 0x894A
5805 #define GL_CON_10_ATI 0x894B
5806 #define GL_CON_11_ATI 0x894C
5807 #define GL_CON_12_ATI 0x894D
5808 #define GL_CON_13_ATI 0x894E
5809 #define GL_CON_14_ATI 0x894F
5810 #define GL_CON_15_ATI 0x8950
5811 #define GL_CON_16_ATI 0x8951
5812 #define GL_CON_17_ATI 0x8952
5813 #define GL_CON_18_ATI 0x8953
5814 #define GL_CON_19_ATI 0x8954
5815 #define GL_CON_20_ATI 0x8955
5816 #define GL_CON_21_ATI 0x8956
5817 #define GL_CON_22_ATI 0x8957
5818 #define GL_CON_23_ATI 0x8958
5819 #define GL_CON_24_ATI 0x8959
5820 #define GL_CON_25_ATI 0x895A
5821 #define GL_CON_26_ATI 0x895B
5822 #define GL_CON_27_ATI 0x895C
5823 #define GL_CON_28_ATI 0x895D
5824 #define GL_CON_29_ATI 0x895E
5825 #define GL_CON_30_ATI 0x895F
5826 #define GL_CON_31_ATI 0x8960
5827 #define GL_MOV_ATI 0x8961
5828 #define GL_ADD_ATI 0x8963
5829 #define GL_MUL_ATI 0x8964
5830 #define GL_SUB_ATI 0x8965
5831 #define GL_DOT3_ATI 0x8966
5832 #define GL_DOT4_ATI 0x8967
5833 #define GL_MAD_ATI 0x8968
5834 #define GL_LERP_ATI 0x8969
5835 #define GL_CND_ATI 0x896A
5836 #define GL_CND0_ATI 0x896B
5837 #define GL_DOT2_ADD_ATI 0x896C
5838 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
5839 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
5840 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
5841 #define GL_NUM_PASSES_ATI 0x8970
5842 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
5843 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
5844 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
5845 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
5846 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
5847 #define GL_SWIZZLE_STR_ATI 0x8976
5848 #define GL_SWIZZLE_STQ_ATI 0x8977
5849 #define GL_SWIZZLE_STR_DR_ATI 0x8978
5850 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
5851 #define GL_SWIZZLE_STRQ_ATI 0x897A
5852 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
5853 #define GL_RED_BIT_ATI 0x00000001
5854 #define GL_GREEN_BIT_ATI 0x00000002
5855 #define GL_BLUE_BIT_ATI 0x00000004
5856 #define GL_2X_BIT_ATI 0x00000001
5857 #define GL_4X_BIT_ATI 0x00000002
5858 #define GL_8X_BIT_ATI 0x00000004
5859 #define GL_HALF_BIT_ATI 0x00000008
5860 #define GL_QUARTER_BIT_ATI 0x00000010
5861 #define GL_EIGHTH_BIT_ATI 0x00000020
5862 #define GL_SATURATE_BIT_ATI 0x00000040
5863 #define GL_COMP_BIT_ATI 0x00000002
5864 #define GL_NEGATE_BIT_ATI 0x00000004
5865 #define GL_BIAS_BIT_ATI 0x00000008
5866 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
5867 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
5868 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
5869 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
5870 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
5871 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
5872 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
5873 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5876 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5877 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5879 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
5880 #ifdef GL_GLEXT_PROTOTYPES
5881 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
5882 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
5883 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
5884 GLAPI void APIENTRY glBeginFragmentShaderATI (void);
5885 GLAPI void APIENTRY glEndFragmentShaderATI (void);
5886 GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
5887 GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
5888 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5889 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5890 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);
5891 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5892 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5893 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);
5894 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
5895 #endif
5896 #endif /* GL_ATI_fragment_shader */
5897 
5898 #ifndef GL_ATI_map_object_buffer
5899 #define GL_ATI_map_object_buffer 1
5901 typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
5902 #ifdef GL_GLEXT_PROTOTYPES
5903 GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
5904 GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
5905 #endif
5906 #endif /* GL_ATI_map_object_buffer */
5907 
5908 #ifndef GL_ATI_meminfo
5909 #define GL_ATI_meminfo 1
5910 #define GL_VBO_FREE_MEMORY_ATI 0x87FB
5911 #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
5912 #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
5913 #endif /* GL_ATI_meminfo */
5914 
5915 #ifndef GL_ATI_pixel_format_float
5916 #define GL_ATI_pixel_format_float 1
5917 #define GL_RGBA_FLOAT_MODE_ATI 0x8820
5918 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
5919 #endif /* GL_ATI_pixel_format_float */
5920 
5921 #ifndef GL_ATI_pn_triangles
5922 #define GL_ATI_pn_triangles 1
5923 #define GL_PN_TRIANGLES_ATI 0x87F0
5924 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
5925 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
5926 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
5927 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
5928 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
5929 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
5930 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
5931 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
5932 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
5933 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
5934 #ifdef GL_GLEXT_PROTOTYPES
5935 GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
5936 GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
5937 #endif
5938 #endif /* GL_ATI_pn_triangles */
5939 
5940 #ifndef GL_ATI_separate_stencil
5941 #define GL_ATI_separate_stencil 1
5942 #define GL_STENCIL_BACK_FUNC_ATI 0x8800
5943 #define GL_STENCIL_BACK_FAIL_ATI 0x8801
5944 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
5945 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
5946 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
5947 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
5948 #ifdef GL_GLEXT_PROTOTYPES
5949 GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
5950 GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
5951 #endif
5952 #endif /* GL_ATI_separate_stencil */
5953 
5954 #ifndef GL_ATI_text_fragment_shader
5955 #define GL_ATI_text_fragment_shader 1
5956 #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
5957 #endif /* GL_ATI_text_fragment_shader */
5958 
5959 #ifndef GL_ATI_texture_env_combine3
5960 #define GL_ATI_texture_env_combine3 1
5961 #define GL_MODULATE_ADD_ATI 0x8744
5962 #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
5963 #define GL_MODULATE_SUBTRACT_ATI 0x8746
5964 #endif /* GL_ATI_texture_env_combine3 */
5965 
5966 #ifndef GL_ATI_texture_float
5967 #define GL_ATI_texture_float 1
5968 #define GL_RGBA_FLOAT32_ATI 0x8814
5969 #define GL_RGB_FLOAT32_ATI 0x8815
5970 #define GL_ALPHA_FLOAT32_ATI 0x8816
5971 #define GL_INTENSITY_FLOAT32_ATI 0x8817
5972 #define GL_LUMINANCE_FLOAT32_ATI 0x8818
5973 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
5974 #define GL_RGBA_FLOAT16_ATI 0x881A
5975 #define GL_RGB_FLOAT16_ATI 0x881B
5976 #define GL_ALPHA_FLOAT16_ATI 0x881C
5977 #define GL_INTENSITY_FLOAT16_ATI 0x881D
5978 #define GL_LUMINANCE_FLOAT16_ATI 0x881E
5979 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
5980 #endif /* GL_ATI_texture_float */
5981 
5982 #ifndef GL_ATI_texture_mirror_once
5983 #define GL_ATI_texture_mirror_once 1
5984 #define GL_MIRROR_CLAMP_ATI 0x8742
5985 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
5986 #endif /* GL_ATI_texture_mirror_once */
5987 
5988 #ifndef GL_ATI_vertex_array_object
5989 #define GL_ATI_vertex_array_object 1
5990 #define GL_STATIC_ATI 0x8760
5991 #define GL_DYNAMIC_ATI 0x8761
5992 #define GL_PRESERVE_ATI 0x8762
5993 #define GL_DISCARD_ATI 0x8763
5994 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
5995 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
5996 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
5997 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
5998 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
5999 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
6000 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
6001 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
6002 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
6003 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
6004 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6005 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
6006 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
6007 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6008 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
6009 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
6010 #ifdef GL_GLEXT_PROTOTYPES
6011 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
6012 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
6013 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
6014 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
6015 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
6016 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
6017 GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6018 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
6019 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
6020 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6021 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
6022 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
6023 #endif
6024 #endif /* GL_ATI_vertex_array_object */
6025 
6026 #ifndef GL_ATI_vertex_attrib_array_object
6027 #define GL_ATI_vertex_attrib_array_object 1
6028 typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6029 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
6030 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
6031 #ifdef GL_GLEXT_PROTOTYPES
6032 GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6033 GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
6034 GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
6035 #endif
6036 #endif /* GL_ATI_vertex_attrib_array_object */
6037 
6038 #ifndef GL_ATI_vertex_streams
6039 #define GL_ATI_vertex_streams 1
6040 #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
6041 #define GL_VERTEX_STREAM0_ATI 0x876C
6042 #define GL_VERTEX_STREAM1_ATI 0x876D
6043 #define GL_VERTEX_STREAM2_ATI 0x876E
6044 #define GL_VERTEX_STREAM3_ATI 0x876F
6045 #define GL_VERTEX_STREAM4_ATI 0x8770
6046 #define GL_VERTEX_STREAM5_ATI 0x8771
6047 #define GL_VERTEX_STREAM6_ATI 0x8772
6048 #define GL_VERTEX_STREAM7_ATI 0x8773
6049 #define GL_VERTEX_SOURCE_ATI 0x8774
6050 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
6051 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
6052 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
6053 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
6054 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
6055 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
6056 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
6057 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
6058 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
6059 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
6060 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
6061 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
6062 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
6063 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
6064 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
6065 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
6066 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
6067 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6068 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
6069 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6070 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6071 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6072 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6073 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6074 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6075 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
6076 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6077 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
6078 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6079 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
6080 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6081 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
6082 typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
6083 typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
6084 typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
6085 typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6086 typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
6087 typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6088 typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
6089 typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6090 typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
6091 typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6092 typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
6093 typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
6094 typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
6095 #ifdef GL_GLEXT_PROTOTYPES
6096 GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
6097 GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
6098 GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
6099 GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
6100 GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
6101 GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
6102 GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
6103 GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
6104 GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
6105 GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
6106 GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
6107 GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
6108 GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
6109 GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
6110 GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
6111 GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
6112 GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
6113 GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
6114 GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
6115 GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
6116 GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6117 GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
6118 GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6119 GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
6120 GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6121 GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
6122 GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6123 GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
6124 GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6125 GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
6126 GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6127 GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
6128 GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
6129 GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
6130 GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
6131 GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
6132 GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
6133 GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
6134 GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
6135 GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
6136 GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
6137 GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
6138 GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
6139 GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
6140 GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
6141 #endif
6142 #endif /* GL_ATI_vertex_streams */
6143 
6144 #ifndef GL_EXT_422_pixels
6145 #define GL_EXT_422_pixels 1
6146 #define GL_422_EXT 0x80CC
6147 #define GL_422_REV_EXT 0x80CD
6148 #define GL_422_AVERAGE_EXT 0x80CE
6149 #define GL_422_REV_AVERAGE_EXT 0x80CF
6150 #endif /* GL_EXT_422_pixels */
6151 
6152 #ifndef GL_EXT_abgr
6153 #define GL_EXT_abgr 1
6154 #define GL_ABGR_EXT 0x8000
6155 #endif /* GL_EXT_abgr */
6156 
6157 #ifndef GL_EXT_bgra
6158 #define GL_EXT_bgra 1
6159 #define GL_BGR_EXT 0x80E0
6160 #define GL_BGRA_EXT 0x80E1
6161 #endif /* GL_EXT_bgra */
6162 
6163 #ifndef GL_EXT_bindable_uniform
6164 #define GL_EXT_bindable_uniform 1
6165 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
6166 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
6167 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
6168 #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
6169 #define GL_UNIFORM_BUFFER_EXT 0x8DEE
6170 #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
6171 typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
6172 typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
6173 typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
6174 #ifdef GL_GLEXT_PROTOTYPES
6175 GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
6176 GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
6177 GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
6178 #endif
6179 #endif /* GL_EXT_bindable_uniform */
6180 
6181 #ifndef GL_EXT_blend_color
6182 #define GL_EXT_blend_color 1
6183 #define GL_CONSTANT_COLOR_EXT 0x8001
6184 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
6185 #define GL_CONSTANT_ALPHA_EXT 0x8003
6186 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
6187 #define GL_BLEND_COLOR_EXT 0x8005
6188 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6189 #ifdef GL_GLEXT_PROTOTYPES
6190 GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6191 #endif
6192 #endif /* GL_EXT_blend_color */
6193 
6194 #ifndef GL_EXT_blend_equation_separate
6195 #define GL_EXT_blend_equation_separate 1
6196 #define GL_BLEND_EQUATION_RGB_EXT 0x8009
6197 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
6198 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
6199 #ifdef GL_GLEXT_PROTOTYPES
6200 GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
6201 #endif
6202 #endif /* GL_EXT_blend_equation_separate */
6203 
6204 #ifndef GL_EXT_blend_func_separate
6205 #define GL_EXT_blend_func_separate 1
6206 #define GL_BLEND_DST_RGB_EXT 0x80C8
6207 #define GL_BLEND_SRC_RGB_EXT 0x80C9
6208 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
6209 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
6210 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6211 #ifdef GL_GLEXT_PROTOTYPES
6212 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6213 #endif
6214 #endif /* GL_EXT_blend_func_separate */
6215 
6216 #ifndef GL_EXT_blend_logic_op
6217 #define GL_EXT_blend_logic_op 1
6218 #endif /* GL_EXT_blend_logic_op */
6219 
6220 #ifndef GL_EXT_blend_minmax
6221 #define GL_EXT_blend_minmax 1
6222 #define GL_MIN_EXT 0x8007
6223 #define GL_MAX_EXT 0x8008
6224 #define GL_FUNC_ADD_EXT 0x8006
6225 #define GL_BLEND_EQUATION_EXT 0x8009
6226 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
6227 #ifdef GL_GLEXT_PROTOTYPES
6228 GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
6229 #endif
6230 #endif /* GL_EXT_blend_minmax */
6231 
6232 #ifndef GL_EXT_blend_subtract
6233 #define GL_EXT_blend_subtract 1
6234 #define GL_FUNC_SUBTRACT_EXT 0x800A
6235 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
6236 #endif /* GL_EXT_blend_subtract */
6237 
6238 #ifndef GL_EXT_clip_volume_hint
6239 #define GL_EXT_clip_volume_hint 1
6240 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
6241 #endif /* GL_EXT_clip_volume_hint */
6242 
6243 #ifndef GL_EXT_cmyka
6244 #define GL_EXT_cmyka 1
6245 #define GL_CMYK_EXT 0x800C
6246 #define GL_CMYKA_EXT 0x800D
6247 #define GL_PACK_CMYK_HINT_EXT 0x800E
6248 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
6249 #endif /* GL_EXT_cmyka */
6250 
6251 #ifndef GL_EXT_color_subtable
6252 #define GL_EXT_color_subtable 1
6253 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
6254 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6255 #ifdef GL_GLEXT_PROTOTYPES
6256 GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
6257 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6258 #endif
6259 #endif /* GL_EXT_color_subtable */
6260 
6261 #ifndef GL_EXT_compiled_vertex_array
6262 #define GL_EXT_compiled_vertex_array 1
6263 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
6264 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
6265 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
6266 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
6267 #ifdef GL_GLEXT_PROTOTYPES
6268 GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
6269 GLAPI void APIENTRY glUnlockArraysEXT (void);
6270 #endif
6271 #endif /* GL_EXT_compiled_vertex_array */
6272 
6273 #ifndef GL_EXT_convolution
6274 #define GL_EXT_convolution 1
6275 #define GL_CONVOLUTION_1D_EXT 0x8010
6276 #define GL_CONVOLUTION_2D_EXT 0x8011
6277 #define GL_SEPARABLE_2D_EXT 0x8012
6278 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
6279 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
6280 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
6281 #define GL_REDUCE_EXT 0x8016
6282 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
6283 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
6284 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
6285 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
6286 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
6287 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
6288 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
6289 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
6290 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
6291 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
6292 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
6293 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
6294 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
6295 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
6296 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
6297 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
6298 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
6299 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
6300 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
6301 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6302 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6303 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
6304 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6305 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6306 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
6307 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
6308 #ifdef GL_GLEXT_PROTOTYPES
6309 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
6310 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
6311 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
6312 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
6313 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
6314 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
6315 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6316 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6317 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
6318 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
6319 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
6320 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
6321 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
6322 #endif
6323 #endif /* GL_EXT_convolution */
6324 
6325 #ifndef GL_EXT_coordinate_frame
6326 #define GL_EXT_coordinate_frame 1
6327 #define GL_TANGENT_ARRAY_EXT 0x8439
6328 #define GL_BINORMAL_ARRAY_EXT 0x843A
6329 #define GL_CURRENT_TANGENT_EXT 0x843B
6330 #define GL_CURRENT_BINORMAL_EXT 0x843C
6331 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
6332 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
6333 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
6334 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
6335 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
6336 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
6337 #define GL_MAP1_TANGENT_EXT 0x8444
6338 #define GL_MAP2_TANGENT_EXT 0x8445
6339 #define GL_MAP1_BINORMAL_EXT 0x8446
6340 #define GL_MAP2_BINORMAL_EXT 0x8447
6341 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
6342 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
6343 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
6344 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
6345 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
6346 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
6347 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
6348 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
6349 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
6350 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
6351 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
6352 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
6353 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
6354 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
6355 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
6356 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
6357 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
6358 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
6359 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
6360 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
6361 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
6362 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
6363 #ifdef GL_GLEXT_PROTOTYPES
6364 GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
6365 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
6366 GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
6367 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
6368 GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
6369 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
6370 GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
6371 GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
6372 GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
6373 GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
6374 GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
6375 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
6376 GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
6377 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
6378 GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
6379 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
6380 GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
6381 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
6382 GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
6383 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
6384 GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6385 GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6386 #endif
6387 #endif /* GL_EXT_coordinate_frame */
6388 
6389 #ifndef GL_EXT_copy_texture
6390 #define GL_EXT_copy_texture 1
6391 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6392 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6393 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6394 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6395 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6396 #ifdef GL_GLEXT_PROTOTYPES
6397 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6398 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6399 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6400 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6401 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6402 #endif
6403 #endif /* GL_EXT_copy_texture */
6404 
6405 #ifndef GL_EXT_cull_vertex
6406 #define GL_EXT_cull_vertex 1
6407 #define GL_CULL_VERTEX_EXT 0x81AA
6408 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
6409 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
6410 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
6411 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
6412 #ifdef GL_GLEXT_PROTOTYPES
6413 GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
6414 GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
6415 #endif
6416 #endif /* GL_EXT_cull_vertex */
6417 
6418 #ifndef GL_EXT_debug_label
6419 #define GL_EXT_debug_label 1
6420 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
6421 #define GL_PROGRAM_OBJECT_EXT 0x8B40
6422 #define GL_SHADER_OBJECT_EXT 0x8B48
6423 #define GL_BUFFER_OBJECT_EXT 0x9151
6424 #define GL_QUERY_OBJECT_EXT 0x9153
6425 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
6426 typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6427 typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6428 #ifdef GL_GLEXT_PROTOTYPES
6429 GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6430 GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6431 #endif
6432 #endif /* GL_EXT_debug_label */
6433 
6434 #ifndef GL_EXT_debug_marker
6435 #define GL_EXT_debug_marker 1
6436 typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6437 typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6438 typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
6439 #ifdef GL_GLEXT_PROTOTYPES
6440 GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
6441 GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
6442 GLAPI void APIENTRY glPopGroupMarkerEXT (void);
6443 #endif
6444 #endif /* GL_EXT_debug_marker */
6445 
6446 #ifndef GL_EXT_depth_bounds_test
6447 #define GL_EXT_depth_bounds_test 1
6448 #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
6449 #define GL_DEPTH_BOUNDS_EXT 0x8891
6450 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6451 #ifdef GL_GLEXT_PROTOTYPES
6452 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
6453 #endif
6454 #endif /* GL_EXT_depth_bounds_test */
6455 
6456 #ifndef GL_EXT_direct_state_access
6457 #define GL_EXT_direct_state_access 1
6458 #define GL_PROGRAM_MATRIX_EXT 0x8E2D
6459 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
6460 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
6461 typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
6462 typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
6463 typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
6464 typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
6465 typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
6466 typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
6467 typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
6468 typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6469 typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6470 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6471 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6472 typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6473 typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6474 typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
6475 typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
6476 typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6477 typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6478 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
6479 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
6480 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
6481 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6482 typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6483 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);
6484 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6485 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);
6486 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6487 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6488 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6489 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6490 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6491 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
6492 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6493 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
6494 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
6495 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);
6496 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);
6497 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6498 typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
6499 typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
6500 typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6501 typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6502 typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6503 typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6504 typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
6505 typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
6506 typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
6507 typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
6508 typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
6509 typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
6510 typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6511 typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6512 typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
6513 typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
6514 typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
6515 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6516 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6517 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6518 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6519 typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6520 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);
6521 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6522 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);
6523 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6524 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6525 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6526 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6527 typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6528 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6529 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6530 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
6531 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
6532 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);
6533 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);
6534 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6535 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6536 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6537 typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
6538 typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
6539 typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
6540 typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6541 typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6542 typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
6543 typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
6544 typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
6545 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);
6546 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6547 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6548 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);
6549 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);
6550 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6551 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
6552 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);
6553 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6554 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6555 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);
6556 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);
6557 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6558 typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
6559 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6560 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6561 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6562 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6563 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
6564 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
6565 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
6566 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
6567 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
6568 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
6569 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
6570 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
6571 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
6572 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6573 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6574 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
6575 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
6576 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
6577 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6578 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6579 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6580 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6581 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6582 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6583 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6584 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6585 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6586 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6587 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6588 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6589 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6590 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6591 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6592 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6593 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6594 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6595 typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
6596 typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
6597 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6598 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
6599 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6600 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
6601 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6602 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
6603 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6604 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
6605 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
6606 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
6607 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
6608 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6609 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6610 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6611 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6612 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6613 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6614 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
6615 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
6616 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
6617 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6618 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
6619 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
6620 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
6621 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
6622 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6623 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6624 typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
6625 typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
6626 typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
6627 typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
6628 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6629 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
6630 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6631 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
6632 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
6633 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
6634 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
6635 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
6636 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
6637 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
6638 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6639 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
6640 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
6641 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6642 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6643 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6644 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6645 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
6646 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
6647 typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
6648 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6649 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
6650 typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6651 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
6652 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
6653 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
6654 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
6655 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
6656 typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
6657 typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
6658 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6659 typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6660 typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
6661 typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6662 typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6663 typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6664 typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6665 typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6666 typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6667 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
6668 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6669 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6670 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6671 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
6672 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
6673 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
6674 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
6675 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
6676 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
6677 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
6678 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
6679 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
6680 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
6681 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
6682 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
6683 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
6684 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
6685 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
6686 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
6687 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6688 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6689 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6690 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6691 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6692 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6693 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6694 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6695 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6696 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6697 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6698 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6699 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6700 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6701 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
6702 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
6703 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
6704 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
6705 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
6706 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
6707 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
6708 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
6709 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6710 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6711 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6712 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6713 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6714 typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
6715 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
6716 #ifdef GL_GLEXT_PROTOTYPES
6717 GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
6718 GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
6719 GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
6720 GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
6721 GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
6722 GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
6723 GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
6724 GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6725 GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6726 GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6727 GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6728 GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6729 GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6730 GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
6731 GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
6732 GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
6733 GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
6734 GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
6735 GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
6736 GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
6737 GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6738 GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6739 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);
6740 GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6741 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);
6742 GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6743 GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6744 GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6745 GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6746 GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6747 GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
6748 GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
6749 GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
6750 GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
6751 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);
6752 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);
6753 GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6754 GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
6755 GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
6756 GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6757 GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6758 GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
6759 GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6760 GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
6761 GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
6762 GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
6763 GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
6764 GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
6765 GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
6766 GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6767 GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6768 GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
6769 GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
6770 GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
6771 GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
6772 GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6773 GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6774 GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6775 GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6776 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);
6777 GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6778 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);
6779 GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6780 GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6781 GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6782 GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6783 GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6784 GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6785 GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6786 GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
6787 GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
6788 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);
6789 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);
6790 GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6791 GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
6792 GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
6793 GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
6794 GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
6795 GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
6796 GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
6797 GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
6798 GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
6799 GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
6800 GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
6801 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);
6802 GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6803 GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6804 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);
6805 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);
6806 GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6807 GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
6808 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);
6809 GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6810 GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6811 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);
6812 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);
6813 GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6814 GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
6815 GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
6816 GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
6817 GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
6818 GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
6819 GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
6820 GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
6821 GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
6822 GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
6823 GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
6824 GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
6825 GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
6826 GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
6827 GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
6828 GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6829 GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6830 GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
6831 GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
6832 GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
6833 GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6834 GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6835 GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6836 GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6837 GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6838 GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6839 GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6840 GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6841 GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6842 GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6843 GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6844 GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6845 GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6846 GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6847 GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6848 GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6849 GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6850 GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6851 GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
6852 GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
6853 GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6854 GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
6855 GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
6856 GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
6857 GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6858 GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
6859 GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6860 GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
6861 GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
6862 GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
6863 GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
6864 GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6865 GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6866 GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6867 GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6868 GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6869 GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6870 GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
6871 GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
6872 GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
6873 GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6874 GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
6875 GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
6876 GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
6877 GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
6878 GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
6879 GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
6880 GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
6881 GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
6882 GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
6883 GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
6884 GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6885 GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
6886 GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6887 GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
6888 GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
6889 GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
6890 GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
6891 GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
6892 GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
6893 GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
6894 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6895 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
6896 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
6897 GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6898 GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6899 GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6900 GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6901 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
6902 GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
6903 GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
6904 GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
6905 GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
6906 GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
6907 GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
6908 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
6909 GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
6910 GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
6911 GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
6912 GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
6913 GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
6914 GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6915 GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6916 GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
6917 GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6918 GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6919 GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6920 GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6921 GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6922 GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6923 GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
6924 GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6925 GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
6926 GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
6927 GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
6928 GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
6929 GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
6930 GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
6931 GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
6932 GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
6933 GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
6934 GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
6935 GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
6936 GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
6937 GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
6938 GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
6939 GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
6940 GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
6941 GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
6942 GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
6943 GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6944 GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6945 GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6946 GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6947 GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6948 GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6949 GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6950 GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6951 GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6952 GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6953 GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6954 GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6955 GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6956 GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6957 GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
6958 GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
6959 GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
6960 GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
6961 GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
6962 GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
6963 GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
6964 GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
6965 GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6966 GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6967 GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6968 GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6969 GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6970 GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
6971 GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
6972 #endif
6973 #endif /* GL_EXT_direct_state_access */
6974 
6975 #ifndef GL_EXT_draw_buffers2
6976 #define GL_EXT_draw_buffers2 1
6977 typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
6978 #ifdef GL_GLEXT_PROTOTYPES
6979 GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
6980 #endif
6981 #endif /* GL_EXT_draw_buffers2 */
6982 
6983 #ifndef GL_EXT_draw_instanced
6984 #define GL_EXT_draw_instanced 1
6985 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
6986 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
6987 #ifdef GL_GLEXT_PROTOTYPES
6988 GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
6989 GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
6990 #endif
6991 #endif /* GL_EXT_draw_instanced */
6992 
6993 #ifndef GL_EXT_draw_range_elements
6994 #define GL_EXT_draw_range_elements 1
6995 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
6996 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
6997 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
6998 #ifdef GL_GLEXT_PROTOTYPES
6999 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
7000 #endif
7001 #endif /* GL_EXT_draw_range_elements */
7002 
7003 #ifndef GL_EXT_fog_coord
7004 #define GL_EXT_fog_coord 1
7005 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
7006 #define GL_FOG_COORDINATE_EXT 0x8451
7007 #define GL_FRAGMENT_DEPTH_EXT 0x8452
7008 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
7009 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
7010 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
7011 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
7012 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
7013 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
7014 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
7015 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
7016 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
7017 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
7018 #ifdef GL_GLEXT_PROTOTYPES
7019 GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
7020 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
7021 GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
7022 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
7023 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
7024 #endif
7025 #endif /* GL_EXT_fog_coord */
7026 
7027 #ifndef GL_EXT_framebuffer_blit
7028 #define GL_EXT_framebuffer_blit 1
7029 #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
7030 #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
7031 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
7032 #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
7034 #ifdef GL_GLEXT_PROTOTYPES
7035 GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7036 #endif
7037 #endif /* GL_EXT_framebuffer_blit */
7038 
7039 #ifndef GL_EXT_framebuffer_multisample
7040 #define GL_EXT_framebuffer_multisample 1
7041 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
7042 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
7043 #define GL_MAX_SAMPLES_EXT 0x8D57
7044 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7045 #ifdef GL_GLEXT_PROTOTYPES
7046 GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7047 #endif
7048 #endif /* GL_EXT_framebuffer_multisample */
7049 
7050 #ifndef GL_EXT_framebuffer_multisample_blit_scaled
7051 #define GL_EXT_framebuffer_multisample_blit_scaled 1
7052 #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
7053 #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
7054 #endif /* GL_EXT_framebuffer_multisample_blit_scaled */
7055 
7056 #ifndef GL_EXT_framebuffer_object
7057 #define GL_EXT_framebuffer_object 1
7058 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
7059 #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
7060 #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
7061 #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
7062 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
7063 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
7064 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
7065 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
7066 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
7067 #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
7068 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
7069 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
7070 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
7071 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
7072 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
7073 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
7074 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
7075 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
7076 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
7077 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
7078 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
7079 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
7080 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
7081 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
7082 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
7083 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
7084 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
7085 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
7086 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
7087 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
7088 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
7089 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
7090 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
7091 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
7092 #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
7093 #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
7094 #define GL_FRAMEBUFFER_EXT 0x8D40
7095 #define GL_RENDERBUFFER_EXT 0x8D41
7096 #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
7097 #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
7098 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
7099 #define GL_STENCIL_INDEX1_EXT 0x8D46
7100 #define GL_STENCIL_INDEX4_EXT 0x8D47
7101 #define GL_STENCIL_INDEX8_EXT 0x8D48
7102 #define GL_STENCIL_INDEX16_EXT 0x8D49
7103 #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
7104 #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
7105 #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
7106 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
7107 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
7108 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
7109 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
7110 typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
7111 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
7112 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
7113 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7114 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7115 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
7116 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
7117 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
7118 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
7119 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
7120 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7121 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7122 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7123 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7124 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7125 typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
7126 #ifdef GL_GLEXT_PROTOTYPES
7127 GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
7128 GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
7129 GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
7130 GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
7131 GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7132 GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
7133 GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
7134 GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
7135 GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
7136 GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
7137 GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
7138 GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7139 GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7140 GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7141 GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7142 GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7143 GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
7144 #endif
7145 #endif /* GL_EXT_framebuffer_object */
7146 
7147 #ifndef GL_EXT_framebuffer_sRGB
7148 #define GL_EXT_framebuffer_sRGB 1
7149 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
7150 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
7151 #endif /* GL_EXT_framebuffer_sRGB */
7152 
7153 #ifndef GL_EXT_geometry_shader4
7154 #define GL_EXT_geometry_shader4 1
7155 #define GL_GEOMETRY_SHADER_EXT 0x8DD9
7156 #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
7157 #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
7158 #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
7159 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
7160 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
7161 #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
7162 #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
7163 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
7164 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
7165 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
7166 #define GL_LINES_ADJACENCY_EXT 0x000A
7167 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
7168 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
7169 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
7170 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
7171 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
7172 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
7173 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
7174 #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
7175 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
7176 #ifdef GL_GLEXT_PROTOTYPES
7177 GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
7178 #endif
7179 #endif /* GL_EXT_geometry_shader4 */
7180 
7181 #ifndef GL_EXT_gpu_program_parameters
7182 #define GL_EXT_gpu_program_parameters 1
7183 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7184 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7185 #ifdef GL_GLEXT_PROTOTYPES
7186 GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7187 GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7188 #endif
7189 #endif /* GL_EXT_gpu_program_parameters */
7190 
7191 #ifndef GL_EXT_gpu_shader4
7192 #define GL_EXT_gpu_shader4 1
7193 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
7194 #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
7195 #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
7196 #define GL_SAMPLER_BUFFER_EXT 0x8DC2
7197 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
7198 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
7199 #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
7200 #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
7201 #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
7202 #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
7203 #define GL_INT_SAMPLER_1D_EXT 0x8DC9
7204 #define GL_INT_SAMPLER_2D_EXT 0x8DCA
7205 #define GL_INT_SAMPLER_3D_EXT 0x8DCB
7206 #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
7207 #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
7208 #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
7209 #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
7210 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
7211 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
7212 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
7213 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
7214 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
7215 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
7216 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
7217 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
7218 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
7219 #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
7220 #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
7221 typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
7222 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
7223 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
7224 typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
7225 typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
7226 typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
7227 typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7228 typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7229 typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7230 typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7231 typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7232 #ifdef GL_GLEXT_PROTOTYPES
7233 GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
7234 GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
7235 GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
7236 GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
7237 GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
7238 GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
7239 GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7240 GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
7241 GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
7242 GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
7243 GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
7244 #endif
7245 #endif /* GL_EXT_gpu_shader4 */
7246 
7247 #ifndef GL_EXT_histogram
7248 #define GL_EXT_histogram 1
7249 #define GL_HISTOGRAM_EXT 0x8024
7250 #define GL_PROXY_HISTOGRAM_EXT 0x8025
7251 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
7252 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
7253 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
7254 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
7255 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
7256 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
7257 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
7258 #define GL_HISTOGRAM_SINK_EXT 0x802D
7259 #define GL_MINMAX_EXT 0x802E
7260 #define GL_MINMAX_FORMAT_EXT 0x802F
7261 #define GL_MINMAX_SINK_EXT 0x8030
7262 #define GL_TABLE_TOO_LARGE_EXT 0x8031
7263 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7264 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7265 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7266 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7267 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7268 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7269 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7270 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
7271 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
7272 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
7273 #ifdef GL_GLEXT_PROTOTYPES
7274 GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7275 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7276 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
7277 GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7278 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7279 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
7280 GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7281 GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
7282 GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
7283 GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
7284 #endif
7285 #endif /* GL_EXT_histogram */
7286 
7287 #ifndef GL_EXT_index_array_formats
7288 #define GL_EXT_index_array_formats 1
7289 #define GL_IUI_V2F_EXT 0x81AD
7290 #define GL_IUI_V3F_EXT 0x81AE
7291 #define GL_IUI_N3F_V2F_EXT 0x81AF
7292 #define GL_IUI_N3F_V3F_EXT 0x81B0
7293 #define GL_T2F_IUI_V2F_EXT 0x81B1
7294 #define GL_T2F_IUI_V3F_EXT 0x81B2
7295 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
7296 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
7297 #endif /* GL_EXT_index_array_formats */
7298 
7299 #ifndef GL_EXT_index_func
7300 #define GL_EXT_index_func 1
7301 #define GL_INDEX_TEST_EXT 0x81B5
7302 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
7303 #define GL_INDEX_TEST_REF_EXT 0x81B7
7304 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
7305 #ifdef GL_GLEXT_PROTOTYPES
7306 GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
7307 #endif
7308 #endif /* GL_EXT_index_func */
7309 
7310 #ifndef GL_EXT_index_material
7311 #define GL_EXT_index_material 1
7312 #define GL_INDEX_MATERIAL_EXT 0x81B8
7313 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
7314 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
7315 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
7316 #ifdef GL_GLEXT_PROTOTYPES
7317 GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
7318 #endif
7319 #endif /* GL_EXT_index_material */
7320 
7321 #ifndef GL_EXT_index_texture
7322 #define GL_EXT_index_texture 1
7323 #endif /* GL_EXT_index_texture */
7324 
7325 #ifndef GL_EXT_light_texture
7326 #define GL_EXT_light_texture 1
7327 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
7328 #define GL_FRAGMENT_NORMAL_EXT 0x834A
7329 #define GL_FRAGMENT_COLOR_EXT 0x834C
7330 #define GL_ATTENUATION_EXT 0x834D
7331 #define GL_SHADOW_ATTENUATION_EXT 0x834E
7332 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
7333 #define GL_TEXTURE_LIGHT_EXT 0x8350
7334 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
7335 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
7336 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
7337 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
7338 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
7339 #ifdef GL_GLEXT_PROTOTYPES
7340 GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
7341 GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
7342 GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
7343 #endif
7344 #endif /* GL_EXT_light_texture */
7345 
7346 #ifndef GL_EXT_misc_attribute
7347 #define GL_EXT_misc_attribute 1
7348 #endif /* GL_EXT_misc_attribute */
7349 
7350 #ifndef GL_EXT_multi_draw_arrays
7351 #define GL_EXT_multi_draw_arrays 1
7352 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
7353 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
7354 #ifdef GL_GLEXT_PROTOTYPES
7355 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
7356 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
7357 #endif
7358 #endif /* GL_EXT_multi_draw_arrays */
7359 
7360 #ifndef GL_EXT_multisample
7361 #define GL_EXT_multisample 1
7362 #define GL_MULTISAMPLE_EXT 0x809D
7363 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
7364 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
7365 #define GL_SAMPLE_MASK_EXT 0x80A0
7366 #define GL_1PASS_EXT 0x80A1
7367 #define GL_2PASS_0_EXT 0x80A2
7368 #define GL_2PASS_1_EXT 0x80A3
7369 #define GL_4PASS_0_EXT 0x80A4
7370 #define GL_4PASS_1_EXT 0x80A5
7371 #define GL_4PASS_2_EXT 0x80A6
7372 #define GL_4PASS_3_EXT 0x80A7
7373 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
7374 #define GL_SAMPLES_EXT 0x80A9
7375 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
7376 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
7377 #define GL_SAMPLE_PATTERN_EXT 0x80AC
7378 #define GL_MULTISAMPLE_BIT_EXT 0x20000000
7379 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
7380 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
7381 #ifdef GL_GLEXT_PROTOTYPES
7382 GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
7383 GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
7384 #endif
7385 #endif /* GL_EXT_multisample */
7386 
7387 #ifndef GL_EXT_packed_depth_stencil
7388 #define GL_EXT_packed_depth_stencil 1
7389 #define GL_DEPTH_STENCIL_EXT 0x84F9
7390 #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
7391 #define GL_DEPTH24_STENCIL8_EXT 0x88F0
7392 #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
7393 #endif /* GL_EXT_packed_depth_stencil */
7394 
7395 #ifndef GL_EXT_packed_float
7396 #define GL_EXT_packed_float 1
7397 #define GL_R11F_G11F_B10F_EXT 0x8C3A
7398 #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
7399 #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
7400 #endif /* GL_EXT_packed_float */
7401 
7402 #ifndef GL_EXT_packed_pixels
7403 #define GL_EXT_packed_pixels 1
7404 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
7405 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
7406 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
7407 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
7408 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
7409 #endif /* GL_EXT_packed_pixels */
7410 
7411 #ifndef GL_EXT_paletted_texture
7412 #define GL_EXT_paletted_texture 1
7413 #define GL_COLOR_INDEX1_EXT 0x80E2
7414 #define GL_COLOR_INDEX2_EXT 0x80E3
7415 #define GL_COLOR_INDEX4_EXT 0x80E4
7416 #define GL_COLOR_INDEX8_EXT 0x80E5
7417 #define GL_COLOR_INDEX12_EXT 0x80E6
7418 #define GL_COLOR_INDEX16_EXT 0x80E7
7419 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
7420 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7421 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
7422 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7423 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7424 #ifdef GL_GLEXT_PROTOTYPES
7425 GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7426 GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
7427 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
7428 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7429 #endif
7430 #endif /* GL_EXT_paletted_texture */
7431 
7432 #ifndef GL_EXT_pixel_buffer_object
7433 #define GL_EXT_pixel_buffer_object 1
7434 #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
7435 #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
7436 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
7437 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
7438 #endif /* GL_EXT_pixel_buffer_object */
7439 
7440 #ifndef GL_EXT_pixel_transform
7441 #define GL_EXT_pixel_transform 1
7442 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
7443 #define GL_PIXEL_MAG_FILTER_EXT 0x8331
7444 #define GL_PIXEL_MIN_FILTER_EXT 0x8332
7445 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
7446 #define GL_CUBIC_EXT 0x8334
7447 #define GL_AVERAGE_EXT 0x8335
7448 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
7449 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
7450 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
7451 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
7452 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
7453 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
7454 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
7455 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7456 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7457 #ifdef GL_GLEXT_PROTOTYPES
7458 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
7459 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
7460 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
7461 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
7462 GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
7463 GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7464 #endif
7465 #endif /* GL_EXT_pixel_transform */
7466 
7467 #ifndef GL_EXT_pixel_transform_color_table
7468 #define GL_EXT_pixel_transform_color_table 1
7469 #endif /* GL_EXT_pixel_transform_color_table */
7470 
7471 #ifndef GL_EXT_point_parameters
7472 #define GL_EXT_point_parameters 1
7473 #define GL_POINT_SIZE_MIN_EXT 0x8126
7474 #define GL_POINT_SIZE_MAX_EXT 0x8127
7475 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
7476 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
7477 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
7478 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
7479 #ifdef GL_GLEXT_PROTOTYPES
7480 GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
7481 GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
7482 #endif
7483 #endif /* GL_EXT_point_parameters */
7484 
7485 #ifndef GL_EXT_polygon_offset
7486 #define GL_EXT_polygon_offset 1
7487 #define GL_POLYGON_OFFSET_EXT 0x8037
7488 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
7489 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
7490 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
7491 #ifdef GL_GLEXT_PROTOTYPES
7492 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
7493 #endif
7494 #endif /* GL_EXT_polygon_offset */
7495 
7496 #ifndef GL_EXT_provoking_vertex
7497 #define GL_EXT_provoking_vertex 1
7498 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
7499 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
7500 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
7501 #define GL_PROVOKING_VERTEX_EXT 0x8E4F
7502 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
7503 #ifdef GL_GLEXT_PROTOTYPES
7504 GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
7505 #endif
7506 #endif /* GL_EXT_provoking_vertex */
7507 
7508 #ifndef GL_EXT_rescale_normal
7509 #define GL_EXT_rescale_normal 1
7510 #define GL_RESCALE_NORMAL_EXT 0x803A
7511 #endif /* GL_EXT_rescale_normal */
7512 
7513 #ifndef GL_EXT_secondary_color
7514 #define GL_EXT_secondary_color 1
7515 #define GL_COLOR_SUM_EXT 0x8458
7516 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
7517 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
7518 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
7519 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
7520 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
7521 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
7522 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
7523 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
7524 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
7525 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
7526 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
7527 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
7528 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
7529 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
7530 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
7531 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
7532 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
7533 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
7534 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
7535 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
7536 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
7537 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
7538 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
7539 #ifdef GL_GLEXT_PROTOTYPES
7540 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
7541 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
7542 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
7543 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
7544 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
7545 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
7546 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
7547 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
7548 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
7549 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
7550 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
7551 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
7552 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
7553 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
7554 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
7555 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
7556 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
7557 #endif
7558 #endif /* GL_EXT_secondary_color */
7559 
7560 #ifndef GL_EXT_separate_shader_objects
7561 #define GL_EXT_separate_shader_objects 1
7562 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
7563 typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
7564 typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
7565 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
7566 #ifdef GL_GLEXT_PROTOTYPES
7567 GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
7568 GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
7569 GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
7570 #endif
7571 #endif /* GL_EXT_separate_shader_objects */
7572 
7573 #ifndef GL_EXT_separate_specular_color
7574 #define GL_EXT_separate_specular_color 1
7575 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
7576 #define GL_SINGLE_COLOR_EXT 0x81F9
7577 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
7578 #endif /* GL_EXT_separate_specular_color */
7579 
7580 #ifndef GL_EXT_shader_image_load_formatted
7581 #define GL_EXT_shader_image_load_formatted 1
7582 #endif /* GL_EXT_shader_image_load_formatted */
7583 
7584 #ifndef GL_EXT_shader_image_load_store
7585 #define GL_EXT_shader_image_load_store 1
7586 #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
7587 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
7588 #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
7589 #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
7590 #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
7591 #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
7592 #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
7593 #define GL_IMAGE_1D_EXT 0x904C
7594 #define GL_IMAGE_2D_EXT 0x904D
7595 #define GL_IMAGE_3D_EXT 0x904E
7596 #define GL_IMAGE_2D_RECT_EXT 0x904F
7597 #define GL_IMAGE_CUBE_EXT 0x9050
7598 #define GL_IMAGE_BUFFER_EXT 0x9051
7599 #define GL_IMAGE_1D_ARRAY_EXT 0x9052
7600 #define GL_IMAGE_2D_ARRAY_EXT 0x9053
7601 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
7602 #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
7603 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
7604 #define GL_INT_IMAGE_1D_EXT 0x9057
7605 #define GL_INT_IMAGE_2D_EXT 0x9058
7606 #define GL_INT_IMAGE_3D_EXT 0x9059
7607 #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
7608 #define GL_INT_IMAGE_CUBE_EXT 0x905B
7609 #define GL_INT_IMAGE_BUFFER_EXT 0x905C
7610 #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
7611 #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
7612 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
7613 #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
7614 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
7615 #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
7616 #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
7617 #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
7618 #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
7619 #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
7620 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
7621 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
7622 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
7623 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
7624 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
7625 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
7626 #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
7627 #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
7628 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
7629 #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
7630 #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
7631 #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
7632 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
7633 #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
7634 #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
7635 #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
7636 #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
7637 #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
7638 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
7639 #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
7640 #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
7641 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
7642 typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
7643 #ifdef GL_GLEXT_PROTOTYPES
7644 GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
7645 GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
7646 #endif
7647 #endif /* GL_EXT_shader_image_load_store */
7648 
7649 #ifndef GL_EXT_shader_integer_mix
7650 #define GL_EXT_shader_integer_mix 1
7651 #endif /* GL_EXT_shader_integer_mix */
7652 
7653 #ifndef GL_EXT_shadow_funcs
7654 #define GL_EXT_shadow_funcs 1
7655 #endif /* GL_EXT_shadow_funcs */
7656 
7657 #ifndef GL_EXT_shared_texture_palette
7658 #define GL_EXT_shared_texture_palette 1
7659 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
7660 #endif /* GL_EXT_shared_texture_palette */
7661 
7662 #ifndef GL_EXT_stencil_clear_tag
7663 #define GL_EXT_stencil_clear_tag 1
7664 #define GL_STENCIL_TAG_BITS_EXT 0x88F2
7665 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
7666 typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
7667 #ifdef GL_GLEXT_PROTOTYPES
7668 GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
7669 #endif
7670 #endif /* GL_EXT_stencil_clear_tag */
7671 
7672 #ifndef GL_EXT_stencil_two_side
7673 #define GL_EXT_stencil_two_side 1
7674 #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
7675 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
7676 typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
7677 #ifdef GL_GLEXT_PROTOTYPES
7678 GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
7679 #endif
7680 #endif /* GL_EXT_stencil_two_side */
7681 
7682 #ifndef GL_EXT_stencil_wrap
7683 #define GL_EXT_stencil_wrap 1
7684 #define GL_INCR_WRAP_EXT 0x8507
7685 #define GL_DECR_WRAP_EXT 0x8508
7686 #endif /* GL_EXT_stencil_wrap */
7687 
7688 #ifndef GL_EXT_subtexture
7689 #define GL_EXT_subtexture 1
7690 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7691 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
7692 #ifdef GL_GLEXT_PROTOTYPES
7693 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7694 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
7695 #endif
7696 #endif /* GL_EXT_subtexture */
7697 
7698 #ifndef GL_EXT_texture
7699 #define GL_EXT_texture 1
7700 #define GL_ALPHA4_EXT 0x803B
7701 #define GL_ALPHA8_EXT 0x803C
7702 #define GL_ALPHA12_EXT 0x803D
7703 #define GL_ALPHA16_EXT 0x803E
7704 #define GL_LUMINANCE4_EXT 0x803F
7705 #define GL_LUMINANCE8_EXT 0x8040
7706 #define GL_LUMINANCE12_EXT 0x8041
7707 #define GL_LUMINANCE16_EXT 0x8042
7708 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
7709 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
7710 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
7711 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
7712 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
7713 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
7714 #define GL_INTENSITY_EXT 0x8049
7715 #define GL_INTENSITY4_EXT 0x804A
7716 #define GL_INTENSITY8_EXT 0x804B
7717 #define GL_INTENSITY12_EXT 0x804C
7718 #define GL_INTENSITY16_EXT 0x804D
7719 #define GL_RGB2_EXT 0x804E
7720 #define GL_RGB4_EXT 0x804F
7721 #define GL_RGB5_EXT 0x8050
7722 #define GL_RGB8_EXT 0x8051
7723 #define GL_RGB10_EXT 0x8052
7724 #define GL_RGB12_EXT 0x8053
7725 #define GL_RGB16_EXT 0x8054
7726 #define GL_RGBA2_EXT 0x8055
7727 #define GL_RGBA4_EXT 0x8056
7728 #define GL_RGB5_A1_EXT 0x8057
7729 #define GL_RGBA8_EXT 0x8058
7730 #define GL_RGB10_A2_EXT 0x8059
7731 #define GL_RGBA12_EXT 0x805A
7732 #define GL_RGBA16_EXT 0x805B
7733 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
7734 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
7735 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
7736 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
7737 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
7738 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
7739 #define GL_REPLACE_EXT 0x8062
7740 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
7741 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
7742 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
7743 #endif /* GL_EXT_texture */
7744 
7745 #ifndef GL_EXT_texture3D
7746 #define GL_EXT_texture3D 1
7747 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
7748 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
7749 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
7750 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
7751 #define GL_TEXTURE_3D_EXT 0x806F
7752 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
7753 #define GL_TEXTURE_DEPTH_EXT 0x8071
7754 #define GL_TEXTURE_WRAP_R_EXT 0x8072
7755 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
7756 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);
7757 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);
7758 #ifdef GL_GLEXT_PROTOTYPES
7759 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);
7760 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);
7761 #endif
7762 #endif /* GL_EXT_texture3D */
7763 
7764 #ifndef GL_EXT_texture_array
7765 #define GL_EXT_texture_array 1
7766 #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
7767 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
7768 #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
7769 #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
7770 #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
7771 #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
7772 #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
7773 #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
7774 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
7775 #ifdef GL_GLEXT_PROTOTYPES
7776 GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
7777 #endif
7778 #endif /* GL_EXT_texture_array */
7779 
7780 #ifndef GL_EXT_texture_buffer_object
7781 #define GL_EXT_texture_buffer_object 1
7782 #define GL_TEXTURE_BUFFER_EXT 0x8C2A
7783 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
7784 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
7785 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
7786 #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
7787 typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
7788 #ifdef GL_GLEXT_PROTOTYPES
7789 GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
7790 #endif
7791 #endif /* GL_EXT_texture_buffer_object */
7792 
7793 #ifndef GL_EXT_texture_compression_latc
7794 #define GL_EXT_texture_compression_latc 1
7795 #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
7796 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
7797 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
7798 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
7799 #endif /* GL_EXT_texture_compression_latc */
7800 
7801 #ifndef GL_EXT_texture_compression_rgtc
7802 #define GL_EXT_texture_compression_rgtc 1
7803 #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
7804 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
7805 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
7806 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
7807 #endif /* GL_EXT_texture_compression_rgtc */
7808 
7809 #ifndef GL_EXT_texture_compression_s3tc
7810 #define GL_EXT_texture_compression_s3tc 1
7811 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
7812 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
7813 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
7814 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
7815 #endif /* GL_EXT_texture_compression_s3tc */
7816 
7817 #ifndef GL_EXT_texture_cube_map
7818 #define GL_EXT_texture_cube_map 1
7819 #define GL_NORMAL_MAP_EXT 0x8511
7820 #define GL_REFLECTION_MAP_EXT 0x8512
7821 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
7822 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
7823 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
7824 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
7825 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
7826 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
7827 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
7828 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
7829 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
7830 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
7831 #endif /* GL_EXT_texture_cube_map */
7832 
7833 #ifndef GL_EXT_texture_env_add
7834 #define GL_EXT_texture_env_add 1
7835 #endif /* GL_EXT_texture_env_add */
7836 
7837 #ifndef GL_EXT_texture_env_combine
7838 #define GL_EXT_texture_env_combine 1
7839 #define GL_COMBINE_EXT 0x8570
7840 #define GL_COMBINE_RGB_EXT 0x8571
7841 #define GL_COMBINE_ALPHA_EXT 0x8572
7842 #define GL_RGB_SCALE_EXT 0x8573
7843 #define GL_ADD_SIGNED_EXT 0x8574
7844 #define GL_INTERPOLATE_EXT 0x8575
7845 #define GL_CONSTANT_EXT 0x8576
7846 #define GL_PRIMARY_COLOR_EXT 0x8577
7847 #define GL_PREVIOUS_EXT 0x8578
7848 #define GL_SOURCE0_RGB_EXT 0x8580
7849 #define GL_SOURCE1_RGB_EXT 0x8581
7850 #define GL_SOURCE2_RGB_EXT 0x8582
7851 #define GL_SOURCE0_ALPHA_EXT 0x8588
7852 #define GL_SOURCE1_ALPHA_EXT 0x8589
7853 #define GL_SOURCE2_ALPHA_EXT 0x858A
7854 #define GL_OPERAND0_RGB_EXT 0x8590
7855 #define GL_OPERAND1_RGB_EXT 0x8591
7856 #define GL_OPERAND2_RGB_EXT 0x8592
7857 #define GL_OPERAND0_ALPHA_EXT 0x8598
7858 #define GL_OPERAND1_ALPHA_EXT 0x8599
7859 #define GL_OPERAND2_ALPHA_EXT 0x859A
7860 #endif /* GL_EXT_texture_env_combine */
7861 
7862 #ifndef GL_EXT_texture_env_dot3
7863 #define GL_EXT_texture_env_dot3 1
7864 #define GL_DOT3_RGB_EXT 0x8740
7865 #define GL_DOT3_RGBA_EXT 0x8741
7866 #endif /* GL_EXT_texture_env_dot3 */
7867 
7868 #ifndef GL_EXT_texture_filter_anisotropic
7869 #define GL_EXT_texture_filter_anisotropic 1
7870 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
7871 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
7872 #endif /* GL_EXT_texture_filter_anisotropic */
7873 
7874 #ifndef GL_EXT_texture_integer
7875 #define GL_EXT_texture_integer 1
7876 #define GL_RGBA32UI_EXT 0x8D70
7877 #define GL_RGB32UI_EXT 0x8D71
7878 #define GL_ALPHA32UI_EXT 0x8D72
7879 #define GL_INTENSITY32UI_EXT 0x8D73
7880 #define GL_LUMINANCE32UI_EXT 0x8D74
7881 #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
7882 #define GL_RGBA16UI_EXT 0x8D76
7883 #define GL_RGB16UI_EXT 0x8D77
7884 #define GL_ALPHA16UI_EXT 0x8D78
7885 #define GL_INTENSITY16UI_EXT 0x8D79
7886 #define GL_LUMINANCE16UI_EXT 0x8D7A
7887 #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
7888 #define GL_RGBA8UI_EXT 0x8D7C
7889 #define GL_RGB8UI_EXT 0x8D7D
7890 #define GL_ALPHA8UI_EXT 0x8D7E
7891 #define GL_INTENSITY8UI_EXT 0x8D7F
7892 #define GL_LUMINANCE8UI_EXT 0x8D80
7893 #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
7894 #define GL_RGBA32I_EXT 0x8D82
7895 #define GL_RGB32I_EXT 0x8D83
7896 #define GL_ALPHA32I_EXT 0x8D84
7897 #define GL_INTENSITY32I_EXT 0x8D85
7898 #define GL_LUMINANCE32I_EXT 0x8D86
7899 #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
7900 #define GL_RGBA16I_EXT 0x8D88
7901 #define GL_RGB16I_EXT 0x8D89
7902 #define GL_ALPHA16I_EXT 0x8D8A
7903 #define GL_INTENSITY16I_EXT 0x8D8B
7904 #define GL_LUMINANCE16I_EXT 0x8D8C
7905 #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
7906 #define GL_RGBA8I_EXT 0x8D8E
7907 #define GL_RGB8I_EXT 0x8D8F
7908 #define GL_ALPHA8I_EXT 0x8D90
7909 #define GL_INTENSITY8I_EXT 0x8D91
7910 #define GL_LUMINANCE8I_EXT 0x8D92
7911 #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
7912 #define GL_RED_INTEGER_EXT 0x8D94
7913 #define GL_GREEN_INTEGER_EXT 0x8D95
7914 #define GL_BLUE_INTEGER_EXT 0x8D96
7915 #define GL_ALPHA_INTEGER_EXT 0x8D97
7916 #define GL_RGB_INTEGER_EXT 0x8D98
7917 #define GL_RGBA_INTEGER_EXT 0x8D99
7918 #define GL_BGR_INTEGER_EXT 0x8D9A
7919 #define GL_BGRA_INTEGER_EXT 0x8D9B
7920 #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
7921 #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
7922 #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
7923 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
7924 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
7925 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7926 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
7927 typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
7928 typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
7929 #ifdef GL_GLEXT_PROTOTYPES
7930 GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
7931 GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
7932 GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
7933 GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
7934 GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
7935 GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
7936 #endif
7937 #endif /* GL_EXT_texture_integer */
7938 
7939 #ifndef GL_EXT_texture_lod_bias
7940 #define GL_EXT_texture_lod_bias 1
7941 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
7942 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
7943 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
7944 #endif /* GL_EXT_texture_lod_bias */
7945 
7946 #ifndef GL_EXT_texture_mirror_clamp
7947 #define GL_EXT_texture_mirror_clamp 1
7948 #define GL_MIRROR_CLAMP_EXT 0x8742
7949 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
7950 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
7951 #endif /* GL_EXT_texture_mirror_clamp */
7952 
7953 #ifndef GL_EXT_texture_object
7954 #define GL_EXT_texture_object 1
7955 #define GL_TEXTURE_PRIORITY_EXT 0x8066
7956 #define GL_TEXTURE_RESIDENT_EXT 0x8067
7957 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
7958 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
7959 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
7960 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
7961 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
7962 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
7963 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
7964 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
7965 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
7966 #ifdef GL_GLEXT_PROTOTYPES
7967 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
7968 GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
7969 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
7970 GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
7971 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
7972 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
7973 #endif
7974 #endif /* GL_EXT_texture_object */
7975 
7976 #ifndef GL_EXT_texture_perturb_normal
7977 #define GL_EXT_texture_perturb_normal 1
7978 #define GL_PERTURB_EXT 0x85AE
7979 #define GL_TEXTURE_NORMAL_EXT 0x85AF
7980 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
7981 #ifdef GL_GLEXT_PROTOTYPES
7982 GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
7983 #endif
7984 #endif /* GL_EXT_texture_perturb_normal */
7985 
7986 #ifndef GL_EXT_texture_sRGB
7987 #define GL_EXT_texture_sRGB 1
7988 #define GL_SRGB_EXT 0x8C40
7989 #define GL_SRGB8_EXT 0x8C41
7990 #define GL_SRGB_ALPHA_EXT 0x8C42
7991 #define GL_SRGB8_ALPHA8_EXT 0x8C43
7992 #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
7993 #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
7994 #define GL_SLUMINANCE_EXT 0x8C46
7995 #define GL_SLUMINANCE8_EXT 0x8C47
7996 #define GL_COMPRESSED_SRGB_EXT 0x8C48
7997 #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
7998 #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
7999 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
8000 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
8001 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
8002 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
8003 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
8004 #endif /* GL_EXT_texture_sRGB */
8005 
8006 #ifndef GL_EXT_texture_sRGB_decode
8007 #define GL_EXT_texture_sRGB_decode 1
8008 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
8009 #define GL_DECODE_EXT 0x8A49
8010 #define GL_SKIP_DECODE_EXT 0x8A4A
8011 #endif /* GL_EXT_texture_sRGB_decode */
8012 
8013 #ifndef GL_EXT_texture_shared_exponent
8014 #define GL_EXT_texture_shared_exponent 1
8015 #define GL_RGB9_E5_EXT 0x8C3D
8016 #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
8017 #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
8018 #endif /* GL_EXT_texture_shared_exponent */
8019 
8020 #ifndef GL_EXT_texture_snorm
8021 #define GL_EXT_texture_snorm 1
8022 #define GL_ALPHA_SNORM 0x9010
8023 #define GL_LUMINANCE_SNORM 0x9011
8024 #define GL_LUMINANCE_ALPHA_SNORM 0x9012
8025 #define GL_INTENSITY_SNORM 0x9013
8026 #define GL_ALPHA8_SNORM 0x9014
8027 #define GL_LUMINANCE8_SNORM 0x9015
8028 #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
8029 #define GL_INTENSITY8_SNORM 0x9017
8030 #define GL_ALPHA16_SNORM 0x9018
8031 #define GL_LUMINANCE16_SNORM 0x9019
8032 #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
8033 #define GL_INTENSITY16_SNORM 0x901B
8034 #define GL_RED_SNORM 0x8F90
8035 #define GL_RG_SNORM 0x8F91
8036 #define GL_RGB_SNORM 0x8F92
8037 #define GL_RGBA_SNORM 0x8F93
8038 #endif /* GL_EXT_texture_snorm */
8039 
8040 #ifndef GL_EXT_texture_swizzle
8041 #define GL_EXT_texture_swizzle 1
8042 #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
8043 #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
8044 #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
8045 #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
8046 #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
8047 #endif /* GL_EXT_texture_swizzle */
8048 
8049 #ifndef GL_EXT_timer_query
8050 #define GL_EXT_timer_query 1
8051 #define GL_TIME_ELAPSED_EXT 0x88BF
8052 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
8053 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
8054 #ifdef GL_GLEXT_PROTOTYPES
8055 GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
8056 GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
8057 #endif
8058 #endif /* GL_EXT_timer_query */
8059 
8060 #ifndef GL_EXT_transform_feedback
8061 #define GL_EXT_transform_feedback 1
8062 #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
8063 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
8064 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
8065 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
8066 #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
8067 #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
8068 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
8069 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
8070 #define GL_RASTERIZER_DISCARD_EXT 0x8C89
8071 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
8072 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
8073 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
8074 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
8075 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
8076 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
8077 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
8078 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
8079 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
8080 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
8081 typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
8082 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
8083 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
8084 #ifdef GL_GLEXT_PROTOTYPES
8085 GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
8086 GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
8087 GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
8088 GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
8089 GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
8090 GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
8091 GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
8092 #endif
8093 #endif /* GL_EXT_transform_feedback */
8094 
8095 #ifndef GL_EXT_vertex_array
8096 #define GL_EXT_vertex_array 1
8097 #define GL_VERTEX_ARRAY_EXT 0x8074
8098 #define GL_NORMAL_ARRAY_EXT 0x8075
8099 #define GL_COLOR_ARRAY_EXT 0x8076
8100 #define GL_INDEX_ARRAY_EXT 0x8077
8101 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
8102 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
8103 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
8104 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
8105 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
8106 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
8107 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
8108 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
8109 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
8110 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
8111 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
8112 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
8113 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
8114 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
8115 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
8116 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
8117 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
8118 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
8119 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
8120 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
8121 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
8122 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
8123 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
8124 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
8125 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
8126 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
8127 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
8128 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
8129 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
8130 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8131 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
8132 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
8133 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
8134 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8135 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8136 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8137 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8138 #ifdef GL_GLEXT_PROTOTYPES
8139 GLAPI void APIENTRY glArrayElementEXT (GLint i);
8140 GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8141 GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
8142 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
8143 GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
8144 GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8145 GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8146 GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8147 GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8148 #endif
8149 #endif /* GL_EXT_vertex_array */
8150 
8151 #ifndef GL_EXT_vertex_array_bgra
8152 #define GL_EXT_vertex_array_bgra 1
8153 #endif /* GL_EXT_vertex_array_bgra */
8154 
8155 #ifndef GL_EXT_vertex_attrib_64bit
8156 #define GL_EXT_vertex_attrib_64bit 1
8157 #define GL_DOUBLE_VEC2_EXT 0x8FFC
8158 #define GL_DOUBLE_VEC3_EXT 0x8FFD
8159 #define GL_DOUBLE_VEC4_EXT 0x8FFE
8160 #define GL_DOUBLE_MAT2_EXT 0x8F46
8161 #define GL_DOUBLE_MAT3_EXT 0x8F47
8162 #define GL_DOUBLE_MAT4_EXT 0x8F48
8163 #define GL_DOUBLE_MAT2x3_EXT 0x8F49
8164 #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
8165 #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
8166 #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
8167 #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
8168 #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
8169 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
8170 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
8171 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8172 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8173 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
8174 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
8175 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
8176 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
8177 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
8178 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
8179 #ifdef GL_GLEXT_PROTOTYPES
8180 GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
8181 GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
8182 GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8183 GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8184 GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
8185 GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
8186 GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
8187 GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
8188 GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
8189 GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
8190 #endif
8191 #endif /* GL_EXT_vertex_attrib_64bit */
8192 
8193 #ifndef GL_EXT_vertex_shader
8194 #define GL_EXT_vertex_shader 1
8195 #define GL_VERTEX_SHADER_EXT 0x8780
8196 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
8197 #define GL_OP_INDEX_EXT 0x8782
8198 #define GL_OP_NEGATE_EXT 0x8783
8199 #define GL_OP_DOT3_EXT 0x8784
8200 #define GL_OP_DOT4_EXT 0x8785
8201 #define GL_OP_MUL_EXT 0x8786
8202 #define GL_OP_ADD_EXT 0x8787
8203 #define GL_OP_MADD_EXT 0x8788
8204 #define GL_OP_FRAC_EXT 0x8789
8205 #define GL_OP_MAX_EXT 0x878A
8206 #define GL_OP_MIN_EXT 0x878B
8207 #define GL_OP_SET_GE_EXT 0x878C
8208 #define GL_OP_SET_LT_EXT 0x878D
8209 #define GL_OP_CLAMP_EXT 0x878E
8210 #define GL_OP_FLOOR_EXT 0x878F
8211 #define GL_OP_ROUND_EXT 0x8790
8212 #define GL_OP_EXP_BASE_2_EXT 0x8791
8213 #define GL_OP_LOG_BASE_2_EXT 0x8792
8214 #define GL_OP_POWER_EXT 0x8793
8215 #define GL_OP_RECIP_EXT 0x8794
8216 #define GL_OP_RECIP_SQRT_EXT 0x8795
8217 #define GL_OP_SUB_EXT 0x8796
8218 #define GL_OP_CROSS_PRODUCT_EXT 0x8797
8219 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
8220 #define GL_OP_MOV_EXT 0x8799
8221 #define GL_OUTPUT_VERTEX_EXT 0x879A
8222 #define GL_OUTPUT_COLOR0_EXT 0x879B
8223 #define GL_OUTPUT_COLOR1_EXT 0x879C
8224 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
8225 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
8226 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
8227 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
8228 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
8229 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
8230 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
8231 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
8232 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
8233 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
8234 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
8235 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
8236 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
8237 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
8238 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
8239 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
8240 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
8241 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
8242 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
8243 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
8244 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
8245 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
8246 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
8247 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
8248 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
8249 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
8250 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
8251 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
8252 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
8253 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
8254 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
8255 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
8256 #define GL_OUTPUT_FOG_EXT 0x87BD
8257 #define GL_SCALAR_EXT 0x87BE
8258 #define GL_VECTOR_EXT 0x87BF
8259 #define GL_MATRIX_EXT 0x87C0
8260 #define GL_VARIANT_EXT 0x87C1
8261 #define GL_INVARIANT_EXT 0x87C2
8262 #define GL_LOCAL_CONSTANT_EXT 0x87C3
8263 #define GL_LOCAL_EXT 0x87C4
8264 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
8265 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
8266 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
8267 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
8268 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
8269 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
8270 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
8271 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
8272 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
8273 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
8274 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
8275 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
8276 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
8277 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
8278 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
8279 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
8280 #define GL_X_EXT 0x87D5
8281 #define GL_Y_EXT 0x87D6
8282 #define GL_Z_EXT 0x87D7
8283 #define GL_W_EXT 0x87D8
8284 #define GL_NEGATIVE_X_EXT 0x87D9
8285 #define GL_NEGATIVE_Y_EXT 0x87DA
8286 #define GL_NEGATIVE_Z_EXT 0x87DB
8287 #define GL_NEGATIVE_W_EXT 0x87DC
8288 #define GL_ZERO_EXT 0x87DD
8289 #define GL_ONE_EXT 0x87DE
8290 #define GL_NEGATIVE_ONE_EXT 0x87DF
8291 #define GL_NORMALIZED_RANGE_EXT 0x87E0
8292 #define GL_FULL_RANGE_EXT 0x87E1
8293 #define GL_CURRENT_VERTEX_EXT 0x87E2
8294 #define GL_MVP_MATRIX_EXT 0x87E3
8295 #define GL_VARIANT_VALUE_EXT 0x87E4
8296 #define GL_VARIANT_DATATYPE_EXT 0x87E5
8297 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
8298 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
8299 #define GL_VARIANT_ARRAY_EXT 0x87E8
8300 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
8301 #define GL_INVARIANT_VALUE_EXT 0x87EA
8302 #define GL_INVARIANT_DATATYPE_EXT 0x87EB
8303 #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
8304 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
8305 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
8306 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
8307 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
8308 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
8309 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
8310 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
8311 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
8312 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
8313 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8314 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8315 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
8316 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
8317 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
8318 typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
8319 typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
8320 typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
8321 typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
8322 typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
8323 typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
8324 typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
8325 typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
8326 typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
8327 typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
8328 typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
8329 typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
8330 typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
8331 typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
8332 typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
8333 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
8334 typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
8335 typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
8336 typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
8337 typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8338 typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8339 typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8340 typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
8341 typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8342 typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8343 typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8344 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8345 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8346 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8347 #ifdef GL_GLEXT_PROTOTYPES
8348 GLAPI void APIENTRY glBeginVertexShaderEXT (void);
8349 GLAPI void APIENTRY glEndVertexShaderEXT (void);
8350 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
8351 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
8352 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
8353 GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
8354 GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
8355 GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
8356 GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8357 GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8358 GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
8359 GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
8360 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
8361 GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
8362 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
8363 GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
8364 GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
8365 GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
8366 GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
8367 GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
8368 GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
8369 GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
8370 GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
8371 GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
8372 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
8373 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
8374 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
8375 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
8376 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
8377 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
8378 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
8379 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
8380 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8381 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
8382 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8383 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
8384 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8385 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
8386 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8387 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8388 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
8389 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8390 #endif
8391 #endif /* GL_EXT_vertex_shader */
8392 
8393 #ifndef GL_EXT_vertex_weighting
8394 #define GL_EXT_vertex_weighting 1
8395 #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
8396 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
8397 #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
8398 #define GL_MODELVIEW1_MATRIX_EXT 0x8506
8399 #define GL_VERTEX_WEIGHTING_EXT 0x8509
8400 #define GL_MODELVIEW0_EXT 0x1700
8401 #define GL_MODELVIEW1_EXT 0x850A
8402 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
8403 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
8404 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
8405 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
8406 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
8407 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
8408 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
8409 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
8410 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
8411 #ifdef GL_GLEXT_PROTOTYPES
8412 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
8413 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
8414 GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
8415 #endif
8416 #endif /* GL_EXT_vertex_weighting */
8417 
8418 #ifndef GL_EXT_x11_sync_object
8419 #define GL_EXT_x11_sync_object 1
8420 #define GL_SYNC_X11_FENCE_EXT 0x90E1
8421 typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
8422 #ifdef GL_GLEXT_PROTOTYPES
8423 GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
8424 #endif
8425 #endif /* GL_EXT_x11_sync_object */
8426 
8427 #ifndef GL_GREMEDY_frame_terminator
8428 #define GL_GREMEDY_frame_terminator 1
8429 typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
8430 #ifdef GL_GLEXT_PROTOTYPES
8431 GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
8432 #endif
8433 #endif /* GL_GREMEDY_frame_terminator */
8434 
8435 #ifndef GL_GREMEDY_string_marker
8436 #define GL_GREMEDY_string_marker 1
8437 typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
8438 #ifdef GL_GLEXT_PROTOTYPES
8439 GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
8440 #endif
8441 #endif /* GL_GREMEDY_string_marker */
8442 
8443 #ifndef GL_HP_convolution_border_modes
8444 #define GL_HP_convolution_border_modes 1
8445 #define GL_IGNORE_BORDER_HP 0x8150
8446 #define GL_CONSTANT_BORDER_HP 0x8151
8447 #define GL_REPLICATE_BORDER_HP 0x8153
8448 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
8449 #endif /* GL_HP_convolution_border_modes */
8450 
8451 #ifndef GL_HP_image_transform
8452 #define GL_HP_image_transform 1
8453 #define GL_IMAGE_SCALE_X_HP 0x8155
8454 #define GL_IMAGE_SCALE_Y_HP 0x8156
8455 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
8456 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
8457 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
8458 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
8459 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
8460 #define GL_IMAGE_MAG_FILTER_HP 0x815C
8461 #define GL_IMAGE_MIN_FILTER_HP 0x815D
8462 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
8463 #define GL_CUBIC_HP 0x815F
8464 #define GL_AVERAGE_HP 0x8160
8465 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
8466 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
8467 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
8468 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
8469 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
8470 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
8471 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
8472 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
8473 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
8474 #ifdef GL_GLEXT_PROTOTYPES
8475 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
8476 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
8477 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
8478 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
8479 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
8480 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
8481 #endif
8482 #endif /* GL_HP_image_transform */
8483 
8484 #ifndef GL_HP_occlusion_test
8485 #define GL_HP_occlusion_test 1
8486 #define GL_OCCLUSION_TEST_HP 0x8165
8487 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
8488 #endif /* GL_HP_occlusion_test */
8489 
8490 #ifndef GL_HP_texture_lighting
8491 #define GL_HP_texture_lighting 1
8492 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
8493 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
8494 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
8495 #endif /* GL_HP_texture_lighting */
8496 
8497 #ifndef GL_IBM_cull_vertex
8498 #define GL_IBM_cull_vertex 1
8499 #define GL_CULL_VERTEX_IBM 103050
8500 #endif /* GL_IBM_cull_vertex */
8501 
8502 #ifndef GL_IBM_multimode_draw_arrays
8503 #define GL_IBM_multimode_draw_arrays 1
8504 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
8505 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
8506 #ifdef GL_GLEXT_PROTOTYPES
8507 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
8508 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
8509 #endif
8510 #endif /* GL_IBM_multimode_draw_arrays */
8511 
8512 #ifndef GL_IBM_rasterpos_clip
8513 #define GL_IBM_rasterpos_clip 1
8514 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
8515 #endif /* GL_IBM_rasterpos_clip */
8516 
8517 #ifndef GL_IBM_static_data
8518 #define GL_IBM_static_data 1
8519 #define GL_ALL_STATIC_DATA_IBM 103060
8520 #define GL_STATIC_VERTEX_ARRAY_IBM 103061
8521 typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
8522 #ifdef GL_GLEXT_PROTOTYPES
8523 GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
8524 #endif
8525 #endif /* GL_IBM_static_data */
8526 
8527 #ifndef GL_IBM_texture_mirrored_repeat
8528 #define GL_IBM_texture_mirrored_repeat 1
8529 #define GL_MIRRORED_REPEAT_IBM 0x8370
8530 #endif /* GL_IBM_texture_mirrored_repeat */
8531 
8532 #ifndef GL_IBM_vertex_array_lists
8533 #define GL_IBM_vertex_array_lists 1
8534 #define GL_VERTEX_ARRAY_LIST_IBM 103070
8535 #define GL_NORMAL_ARRAY_LIST_IBM 103071
8536 #define GL_COLOR_ARRAY_LIST_IBM 103072
8537 #define GL_INDEX_ARRAY_LIST_IBM 103073
8538 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
8539 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
8540 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
8541 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
8542 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
8543 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
8544 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
8545 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
8546 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
8547 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
8548 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
8549 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
8550 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8551 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8552 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
8553 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8554 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8555 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8556 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8557 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8558 #ifdef GL_GLEXT_PROTOTYPES
8559 GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8560 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8561 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
8562 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8563 GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8564 GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8565 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8566 GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8567 #endif
8568 #endif /* GL_IBM_vertex_array_lists */
8569 
8570 #ifndef GL_INGR_blend_func_separate
8571 #define GL_INGR_blend_func_separate 1
8572 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8573 #ifdef GL_GLEXT_PROTOTYPES
8574 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8575 #endif
8576 #endif /* GL_INGR_blend_func_separate */
8577 
8578 #ifndef GL_INGR_color_clamp
8579 #define GL_INGR_color_clamp 1
8580 #define GL_RED_MIN_CLAMP_INGR 0x8560
8581 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
8582 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
8583 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
8584 #define GL_RED_MAX_CLAMP_INGR 0x8564
8585 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
8586 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
8587 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
8588 #endif /* GL_INGR_color_clamp */
8589 
8590 #ifndef GL_INGR_interlace_read
8591 #define GL_INGR_interlace_read 1
8592 #define GL_INTERLACE_READ_INGR 0x8568
8593 #endif /* GL_INGR_interlace_read */
8594 
8595 #ifndef GL_INTEL_fragment_shader_ordering
8596 #define GL_INTEL_fragment_shader_ordering 1
8597 #endif /* GL_INTEL_fragment_shader_ordering */
8598 
8599 #ifndef GL_INTEL_map_texture
8600 #define GL_INTEL_map_texture 1
8601 #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
8602 #define GL_LAYOUT_DEFAULT_INTEL 0
8603 #define GL_LAYOUT_LINEAR_INTEL 1
8604 #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
8605 typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
8606 typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
8607 typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
8608 #ifdef GL_GLEXT_PROTOTYPES
8609 GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
8610 GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
8611 GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
8612 #endif
8613 #endif /* GL_INTEL_map_texture */
8614 
8615 #ifndef GL_INTEL_parallel_arrays
8616 #define GL_INTEL_parallel_arrays 1
8617 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
8618 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
8619 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
8620 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
8621 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
8622 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
8623 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
8624 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
8625 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
8626 #ifdef GL_GLEXT_PROTOTYPES
8627 GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
8628 GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
8629 GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
8630 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
8631 #endif
8632 #endif /* GL_INTEL_parallel_arrays */
8633 
8634 #ifndef GL_INTEL_performance_query
8635 #define GL_INTEL_performance_query 1
8636 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
8637 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
8638 #define GL_PERFQUERY_WAIT_INTEL 0x83FB
8639 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
8640 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
8641 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
8642 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
8643 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
8644 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
8645 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
8646 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
8647 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
8648 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
8649 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
8650 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
8651 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
8652 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
8653 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
8654 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
8655 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
8656 typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
8657 typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
8658 typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
8659 typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
8660 typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
8661 typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
8663 typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
8664 typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
8666 #ifdef GL_GLEXT_PROTOTYPES
8667 GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
8668 GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
8669 GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
8670 GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
8671 GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
8672 GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
8673 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);
8674 GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
8675 GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
8676 GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
8677 #endif
8678 #endif /* GL_INTEL_performance_query */
8679 
8680 #ifndef GL_MESAX_texture_stack
8681 #define GL_MESAX_texture_stack 1
8682 #define GL_TEXTURE_1D_STACK_MESAX 0x8759
8683 #define GL_TEXTURE_2D_STACK_MESAX 0x875A
8684 #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
8685 #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
8686 #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
8687 #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
8688 #endif /* GL_MESAX_texture_stack */
8689 
8690 #ifndef GL_MESA_pack_invert
8691 #define GL_MESA_pack_invert 1
8692 #define GL_PACK_INVERT_MESA 0x8758
8693 #endif /* GL_MESA_pack_invert */
8694 
8695 #ifndef GL_MESA_resize_buffers
8696 #define GL_MESA_resize_buffers 1
8697 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
8698 #ifdef GL_GLEXT_PROTOTYPES
8699 GLAPI void APIENTRY glResizeBuffersMESA (void);
8700 #endif
8701 #endif /* GL_MESA_resize_buffers */
8702 
8703 #ifndef GL_MESA_window_pos
8704 #define GL_MESA_window_pos 1
8705 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
8706 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
8707 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
8708 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
8709 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
8710 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
8711 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
8712 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
8713 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
8714 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
8715 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
8716 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
8717 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
8718 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
8719 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
8720 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
8721 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8722 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
8723 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8724 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
8725 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
8726 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
8727 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
8728 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
8729 #ifdef GL_GLEXT_PROTOTYPES
8730 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
8731 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
8732 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
8733 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
8734 GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
8735 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
8736 GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
8737 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
8738 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
8739 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
8740 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
8741 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
8742 GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
8743 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
8744 GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
8745 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
8746 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8747 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
8748 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8749 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
8750 GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
8751 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
8752 GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
8753 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
8754 #endif
8755 #endif /* GL_MESA_window_pos */
8756 
8757 #ifndef GL_MESA_ycbcr_texture
8758 #define GL_MESA_ycbcr_texture 1
8759 #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
8760 #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
8761 #define GL_YCBCR_MESA 0x8757
8762 #endif /* GL_MESA_ycbcr_texture */
8763 
8764 #ifndef GL_NVX_conditional_render
8765 #define GL_NVX_conditional_render 1
8766 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
8767 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
8768 #ifdef GL_GLEXT_PROTOTYPES
8769 GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
8770 GLAPI void APIENTRY glEndConditionalRenderNVX (void);
8771 #endif
8772 #endif /* GL_NVX_conditional_render */
8773 
8774 #ifndef GL_NVX_gpu_memory_info
8775 #define GL_NVX_gpu_memory_info 1
8776 #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
8777 #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
8778 #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
8779 #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
8780 #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
8781 #endif /* GL_NVX_gpu_memory_info */
8782 
8783 #ifndef GL_NV_bindless_multi_draw_indirect
8784 #define GL_NV_bindless_multi_draw_indirect 1
8785 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8786 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8787 #ifdef GL_GLEXT_PROTOTYPES
8788 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8789 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8790 #endif
8791 #endif /* GL_NV_bindless_multi_draw_indirect */
8792 
8793 #ifndef GL_NV_bindless_multi_draw_indirect_count
8794 #define GL_NV_bindless_multi_draw_indirect_count 1
8795 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
8796 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
8797 #ifdef GL_GLEXT_PROTOTYPES
8798 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
8799 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
8800 #endif
8801 #endif /* GL_NV_bindless_multi_draw_indirect_count */
8802 
8803 #ifndef GL_NV_bindless_texture
8804 #define GL_NV_bindless_texture 1
8805 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
8806 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
8807 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
8808 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
8809 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
8810 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
8811 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
8812 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
8813 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
8814 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
8815 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
8816 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
8817 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
8818 #ifdef GL_GLEXT_PROTOTYPES
8819 GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
8820 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
8821 GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
8822 GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
8823 GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
8824 GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
8825 GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
8826 GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
8827 GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
8828 GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
8829 GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
8830 GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
8831 GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
8832 #endif
8833 #endif /* GL_NV_bindless_texture */
8834 
8835 #ifndef GL_NV_blend_equation_advanced
8836 #define GL_NV_blend_equation_advanced 1
8837 #define GL_BLEND_OVERLAP_NV 0x9281
8838 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
8839 #define GL_BLUE_NV 0x1905
8840 #define GL_COLORBURN_NV 0x929A
8841 #define GL_COLORDODGE_NV 0x9299
8842 #define GL_CONJOINT_NV 0x9284
8843 #define GL_CONTRAST_NV 0x92A1
8844 #define GL_DARKEN_NV 0x9297
8845 #define GL_DIFFERENCE_NV 0x929E
8846 #define GL_DISJOINT_NV 0x9283
8847 #define GL_DST_ATOP_NV 0x928F
8848 #define GL_DST_IN_NV 0x928B
8849 #define GL_DST_NV 0x9287
8850 #define GL_DST_OUT_NV 0x928D
8851 #define GL_DST_OVER_NV 0x9289
8852 #define GL_EXCLUSION_NV 0x92A0
8853 #define GL_GREEN_NV 0x1904
8854 #define GL_HARDLIGHT_NV 0x929B
8855 #define GL_HARDMIX_NV 0x92A9
8856 #define GL_HSL_COLOR_NV 0x92AF
8857 #define GL_HSL_HUE_NV 0x92AD
8858 #define GL_HSL_LUMINOSITY_NV 0x92B0
8859 #define GL_HSL_SATURATION_NV 0x92AE
8860 #define GL_INVERT_OVG_NV 0x92B4
8861 #define GL_INVERT_RGB_NV 0x92A3
8862 #define GL_LIGHTEN_NV 0x9298
8863 #define GL_LINEARBURN_NV 0x92A5
8864 #define GL_LINEARDODGE_NV 0x92A4
8865 #define GL_LINEARLIGHT_NV 0x92A7
8866 #define GL_MINUS_CLAMPED_NV 0x92B3
8867 #define GL_MINUS_NV 0x929F
8868 #define GL_MULTIPLY_NV 0x9294
8869 #define GL_OVERLAY_NV 0x9296
8870 #define GL_PINLIGHT_NV 0x92A8
8871 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
8872 #define GL_PLUS_CLAMPED_NV 0x92B1
8873 #define GL_PLUS_DARKER_NV 0x9292
8874 #define GL_PLUS_NV 0x9291
8875 #define GL_RED_NV 0x1903
8876 #define GL_SCREEN_NV 0x9295
8877 #define GL_SOFTLIGHT_NV 0x929C
8878 #define GL_SRC_ATOP_NV 0x928E
8879 #define GL_SRC_IN_NV 0x928A
8880 #define GL_SRC_NV 0x9286
8881 #define GL_SRC_OUT_NV 0x928C
8882 #define GL_SRC_OVER_NV 0x9288
8883 #define GL_UNCORRELATED_NV 0x9282
8884 #define GL_VIVIDLIGHT_NV 0x92A6
8885 #define GL_XOR_NV 0x1506
8886 typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
8887 typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
8888 #ifdef GL_GLEXT_PROTOTYPES
8889 GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
8890 GLAPI void APIENTRY glBlendBarrierNV (void);
8891 #endif
8892 #endif /* GL_NV_blend_equation_advanced */
8893 
8894 #ifndef GL_NV_blend_equation_advanced_coherent
8895 #define GL_NV_blend_equation_advanced_coherent 1
8896 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
8897 #endif /* GL_NV_blend_equation_advanced_coherent */
8898 
8899 #ifndef GL_NV_blend_square
8900 #define GL_NV_blend_square 1
8901 #endif /* GL_NV_blend_square */
8902 
8903 #ifndef GL_NV_compute_program5
8904 #define GL_NV_compute_program5 1
8905 #define GL_COMPUTE_PROGRAM_NV 0x90FB
8906 #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
8907 #endif /* GL_NV_compute_program5 */
8908 
8909 #ifndef GL_NV_conditional_render
8910 #define GL_NV_conditional_render 1
8911 #define GL_QUERY_WAIT_NV 0x8E13
8912 #define GL_QUERY_NO_WAIT_NV 0x8E14
8913 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
8914 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
8915 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
8916 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
8917 #ifdef GL_GLEXT_PROTOTYPES
8918 GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
8919 GLAPI void APIENTRY glEndConditionalRenderNV (void);
8920 #endif
8921 #endif /* GL_NV_conditional_render */
8922 
8923 #ifndef GL_NV_copy_depth_to_color
8924 #define GL_NV_copy_depth_to_color 1
8925 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
8926 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
8927 #endif /* GL_NV_copy_depth_to_color */
8928 
8929 #ifndef GL_NV_copy_image
8930 #define GL_NV_copy_image 1
8931 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);
8932 #ifdef GL_GLEXT_PROTOTYPES
8933 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);
8934 #endif
8935 #endif /* GL_NV_copy_image */
8936 
8937 #ifndef GL_NV_deep_texture3D
8938 #define GL_NV_deep_texture3D 1
8939 #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
8940 #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1
8941 #endif /* GL_NV_deep_texture3D */
8942 
8943 #ifndef GL_NV_depth_buffer_float
8944 #define GL_NV_depth_buffer_float 1
8945 #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
8946 #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
8947 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
8948 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
8949 typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
8950 typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
8951 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
8952 #ifdef GL_GLEXT_PROTOTYPES
8953 GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
8954 GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
8955 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
8956 #endif
8957 #endif /* GL_NV_depth_buffer_float */
8958 
8959 #ifndef GL_NV_depth_clamp
8960 #define GL_NV_depth_clamp 1
8961 #define GL_DEPTH_CLAMP_NV 0x864F
8962 #endif /* GL_NV_depth_clamp */
8963 
8964 #ifndef GL_NV_draw_texture
8965 #define GL_NV_draw_texture 1
8967 #ifdef GL_GLEXT_PROTOTYPES
8968 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);
8969 #endif
8970 #endif /* GL_NV_draw_texture */
8971 
8972 #ifndef GL_NV_evaluators
8973 #define GL_NV_evaluators 1
8974 #define GL_EVAL_2D_NV 0x86C0
8975 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
8976 #define GL_MAP_TESSELLATION_NV 0x86C2
8977 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
8978 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
8979 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
8980 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
8981 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
8982 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
8983 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
8984 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
8985 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
8986 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
8987 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
8988 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
8989 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
8990 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
8991 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
8992 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
8993 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
8994 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
8995 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
8996 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
8997 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
8998 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
8999 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
9000 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
9001 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
9002 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
9003 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
9004 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
9005 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
9006 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
9007 #ifdef GL_GLEXT_PROTOTYPES
9008 GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
9009 GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
9010 GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
9011 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
9012 GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
9013 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
9014 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
9015 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
9016 GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
9017 #endif
9018 #endif /* GL_NV_evaluators */
9019 
9020 #ifndef GL_NV_explicit_multisample
9021 #define GL_NV_explicit_multisample 1
9022 #define GL_SAMPLE_POSITION_NV 0x8E50
9023 #define GL_SAMPLE_MASK_NV 0x8E51
9024 #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
9025 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
9026 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
9027 #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
9028 #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
9029 #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
9030 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
9031 #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
9032 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
9033 typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
9034 typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
9035 #ifdef GL_GLEXT_PROTOTYPES
9036 GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
9037 GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
9038 GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
9039 #endif
9040 #endif /* GL_NV_explicit_multisample */
9041 
9042 #ifndef GL_NV_fence
9043 #define GL_NV_fence 1
9044 #define GL_ALL_COMPLETED_NV 0x84F2
9045 #define GL_FENCE_STATUS_NV 0x84F3
9046 #define GL_FENCE_CONDITION_NV 0x84F4
9047 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
9048 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
9049 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
9050 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
9051 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
9052 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
9053 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
9054 #ifdef GL_GLEXT_PROTOTYPES
9055 GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
9056 GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
9057 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
9058 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
9059 GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
9060 GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
9061 GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
9062 #endif
9063 #endif /* GL_NV_fence */
9064 
9065 #ifndef GL_NV_float_buffer
9066 #define GL_NV_float_buffer 1
9067 #define GL_FLOAT_R_NV 0x8880
9068 #define GL_FLOAT_RG_NV 0x8881
9069 #define GL_FLOAT_RGB_NV 0x8882
9070 #define GL_FLOAT_RGBA_NV 0x8883
9071 #define GL_FLOAT_R16_NV 0x8884
9072 #define GL_FLOAT_R32_NV 0x8885
9073 #define GL_FLOAT_RG16_NV 0x8886
9074 #define GL_FLOAT_RG32_NV 0x8887
9075 #define GL_FLOAT_RGB16_NV 0x8888
9076 #define GL_FLOAT_RGB32_NV 0x8889
9077 #define GL_FLOAT_RGBA16_NV 0x888A
9078 #define GL_FLOAT_RGBA32_NV 0x888B
9079 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
9080 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
9081 #define GL_FLOAT_RGBA_MODE_NV 0x888E
9082 #endif /* GL_NV_float_buffer */
9083 
9084 #ifndef GL_NV_fog_distance
9085 #define GL_NV_fog_distance 1
9086 #define GL_FOG_DISTANCE_MODE_NV 0x855A
9087 #define GL_EYE_RADIAL_NV 0x855B
9088 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
9089 #endif /* GL_NV_fog_distance */
9090 
9091 #ifndef GL_NV_fragment_program
9092 #define GL_NV_fragment_program 1
9093 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
9094 #define GL_FRAGMENT_PROGRAM_NV 0x8870
9095 #define GL_MAX_TEXTURE_COORDS_NV 0x8871
9096 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
9097 #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
9098 #define GL_PROGRAM_ERROR_STRING_NV 0x8874
9099 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9100 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
9101 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9102 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
9103 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
9104 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
9105 #ifdef GL_GLEXT_PROTOTYPES
9106 GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9107 GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
9108 GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9109 GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
9110 GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
9111 GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
9112 #endif
9113 #endif /* GL_NV_fragment_program */
9114 
9115 #ifndef GL_NV_fragment_program2
9116 #define GL_NV_fragment_program2 1
9117 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
9118 #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
9119 #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
9120 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
9121 #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
9122 #endif /* GL_NV_fragment_program2 */
9123 
9124 #ifndef GL_NV_fragment_program4
9125 #define GL_NV_fragment_program4 1
9126 #endif /* GL_NV_fragment_program4 */
9127 
9128 #ifndef GL_NV_fragment_program_option
9129 #define GL_NV_fragment_program_option 1
9130 #endif /* GL_NV_fragment_program_option */
9131 
9132 #ifndef GL_NV_framebuffer_multisample_coverage
9133 #define GL_NV_framebuffer_multisample_coverage 1
9134 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
9135 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
9136 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
9137 #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
9138 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
9139 #ifdef GL_GLEXT_PROTOTYPES
9140 GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
9141 #endif
9142 #endif /* GL_NV_framebuffer_multisample_coverage */
9143 
9144 #ifndef GL_NV_geometry_program4
9145 #define GL_NV_geometry_program4 1
9146 #define GL_GEOMETRY_PROGRAM_NV 0x8C26
9147 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
9148 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
9149 typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
9150 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
9151 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
9152 #ifdef GL_GLEXT_PROTOTYPES
9153 GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
9154 GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
9155 GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
9156 #endif
9157 #endif /* GL_NV_geometry_program4 */
9158 
9159 #ifndef GL_NV_geometry_shader4
9160 #define GL_NV_geometry_shader4 1
9161 #endif /* GL_NV_geometry_shader4 */
9162 
9163 #ifndef GL_NV_gpu_program4
9164 #define GL_NV_gpu_program4 1
9165 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
9166 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
9167 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
9168 #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
9169 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
9170 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
9171 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
9172 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
9173 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9174 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
9175 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
9176 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9177 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
9178 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9179 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9180 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
9181 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
9182 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9183 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
9184 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9185 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
9186 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
9187 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
9188 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
9189 #ifdef GL_GLEXT_PROTOTYPES
9190 GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9191 GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
9192 GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
9193 GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9194 GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
9195 GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9196 GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9197 GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
9198 GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
9199 GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9200 GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
9201 GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9202 GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
9203 GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
9204 GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
9205 GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
9206 #endif
9207 #endif /* GL_NV_gpu_program4 */
9208 
9209 #ifndef GL_NV_gpu_program5
9210 #define GL_NV_gpu_program5 1
9211 #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
9212 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
9213 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
9214 #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
9215 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
9216 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
9217 #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
9218 #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
9219 typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
9220 typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
9221 #ifdef GL_GLEXT_PROTOTYPES
9222 GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
9223 GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
9224 #endif
9225 #endif /* GL_NV_gpu_program5 */
9226 
9227 #ifndef GL_NV_gpu_program5_mem_extended
9228 #define GL_NV_gpu_program5_mem_extended 1
9229 #endif /* GL_NV_gpu_program5_mem_extended */
9230 
9231 #ifndef GL_NV_gpu_shader5
9232 #define GL_NV_gpu_shader5 1
9233 #endif /* GL_NV_gpu_shader5 */
9234 
9235 #ifndef GL_NV_half_float
9236 #define GL_NV_half_float 1
9237 typedef unsigned short GLhalfNV;
9238 #define GL_HALF_FLOAT_NV 0x140B
9239 typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
9240 typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
9241 typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
9242 typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
9243 typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9244 typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
9245 typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
9246 typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
9247 typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9248 typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
9249 typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
9250 typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
9251 typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
9252 typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
9253 typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
9254 typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
9255 typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
9256 typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
9257 typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9258 typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
9259 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
9260 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
9261 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
9262 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
9263 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
9264 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
9265 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9266 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
9267 typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
9268 typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
9269 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9270 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
9271 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
9272 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
9273 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
9274 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
9275 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
9276 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
9277 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
9278 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
9279 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9280 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
9281 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9282 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9283 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9284 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9285 #ifdef GL_GLEXT_PROTOTYPES
9286 GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
9287 GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
9288 GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
9289 GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
9290 GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9291 GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
9292 GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
9293 GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
9294 GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9295 GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
9296 GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
9297 GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
9298 GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
9299 GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
9300 GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
9301 GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
9302 GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
9303 GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
9304 GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9305 GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
9306 GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
9307 GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
9308 GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
9309 GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
9310 GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
9311 GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
9312 GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9313 GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
9314 GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
9315 GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
9316 GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9317 GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
9318 GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
9319 GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
9320 GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
9321 GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
9322 GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
9323 GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
9324 GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
9325 GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
9326 GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9327 GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
9328 GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9329 GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9330 GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9331 GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9332 #endif
9333 #endif /* GL_NV_half_float */
9334 
9335 #ifndef GL_NV_light_max_exponent
9336 #define GL_NV_light_max_exponent 1
9337 #define GL_MAX_SHININESS_NV 0x8504
9338 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
9339 #endif /* GL_NV_light_max_exponent */
9340 
9341 #ifndef GL_NV_multisample_coverage
9342 #define GL_NV_multisample_coverage 1
9343 #define GL_COLOR_SAMPLES_NV 0x8E20
9344 #endif /* GL_NV_multisample_coverage */
9345 
9346 #ifndef GL_NV_multisample_filter_hint
9347 #define GL_NV_multisample_filter_hint 1
9348 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
9349 #endif /* GL_NV_multisample_filter_hint */
9350 
9351 #ifndef GL_NV_occlusion_query
9352 #define GL_NV_occlusion_query 1
9353 #define GL_PIXEL_COUNTER_BITS_NV 0x8864
9354 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
9355 #define GL_PIXEL_COUNT_NV 0x8866
9356 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
9357 typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
9358 typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
9359 typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
9360 typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
9361 typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
9362 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
9363 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
9364 #ifdef GL_GLEXT_PROTOTYPES
9365 GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
9366 GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
9367 GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
9368 GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
9369 GLAPI void APIENTRY glEndOcclusionQueryNV (void);
9370 GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
9371 GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
9372 #endif
9373 #endif /* GL_NV_occlusion_query */
9374 
9375 #ifndef GL_NV_packed_depth_stencil
9376 #define GL_NV_packed_depth_stencil 1
9377 #define GL_DEPTH_STENCIL_NV 0x84F9
9378 #define GL_UNSIGNED_INT_24_8_NV 0x84FA
9379 #endif /* GL_NV_packed_depth_stencil */
9380 
9381 #ifndef GL_NV_parameter_buffer_object
9382 #define GL_NV_parameter_buffer_object 1
9383 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
9384 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
9385 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
9386 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
9387 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
9388 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
9389 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
9390 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
9391 #ifdef GL_GLEXT_PROTOTYPES
9392 GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
9393 GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
9394 GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
9395 #endif
9396 #endif /* GL_NV_parameter_buffer_object */
9397 
9398 #ifndef GL_NV_parameter_buffer_object2
9399 #define GL_NV_parameter_buffer_object2 1
9400 #endif /* GL_NV_parameter_buffer_object2 */
9401 
9402 #ifndef GL_NV_path_rendering
9403 #define GL_NV_path_rendering 1
9404 #define GL_PATH_FORMAT_SVG_NV 0x9070
9405 #define GL_PATH_FORMAT_PS_NV 0x9071
9406 #define GL_STANDARD_FONT_NAME_NV 0x9072
9407 #define GL_SYSTEM_FONT_NAME_NV 0x9073
9408 #define GL_FILE_NAME_NV 0x9074
9409 #define GL_PATH_STROKE_WIDTH_NV 0x9075
9410 #define GL_PATH_END_CAPS_NV 0x9076
9411 #define GL_PATH_INITIAL_END_CAP_NV 0x9077
9412 #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
9413 #define GL_PATH_JOIN_STYLE_NV 0x9079
9414 #define GL_PATH_MITER_LIMIT_NV 0x907A
9415 #define GL_PATH_DASH_CAPS_NV 0x907B
9416 #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
9417 #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
9418 #define GL_PATH_DASH_OFFSET_NV 0x907E
9419 #define GL_PATH_CLIENT_LENGTH_NV 0x907F
9420 #define GL_PATH_FILL_MODE_NV 0x9080
9421 #define GL_PATH_FILL_MASK_NV 0x9081
9422 #define GL_PATH_FILL_COVER_MODE_NV 0x9082
9423 #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
9424 #define GL_PATH_STROKE_MASK_NV 0x9084
9425 #define GL_COUNT_UP_NV 0x9088
9426 #define GL_COUNT_DOWN_NV 0x9089
9427 #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
9428 #define GL_CONVEX_HULL_NV 0x908B
9429 #define GL_BOUNDING_BOX_NV 0x908D
9430 #define GL_TRANSLATE_X_NV 0x908E
9431 #define GL_TRANSLATE_Y_NV 0x908F
9432 #define GL_TRANSLATE_2D_NV 0x9090
9433 #define GL_TRANSLATE_3D_NV 0x9091
9434 #define GL_AFFINE_2D_NV 0x9092
9435 #define GL_AFFINE_3D_NV 0x9094
9436 #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
9437 #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
9438 #define GL_UTF8_NV 0x909A
9439 #define GL_UTF16_NV 0x909B
9440 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
9441 #define GL_PATH_COMMAND_COUNT_NV 0x909D
9442 #define GL_PATH_COORD_COUNT_NV 0x909E
9443 #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
9444 #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
9445 #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
9446 #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
9447 #define GL_SQUARE_NV 0x90A3
9448 #define GL_ROUND_NV 0x90A4
9449 #define GL_TRIANGULAR_NV 0x90A5
9450 #define GL_BEVEL_NV 0x90A6
9451 #define GL_MITER_REVERT_NV 0x90A7
9452 #define GL_MITER_TRUNCATE_NV 0x90A8
9453 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
9454 #define GL_USE_MISSING_GLYPH_NV 0x90AA
9455 #define GL_PATH_ERROR_POSITION_NV 0x90AB
9456 #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
9457 #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
9458 #define GL_ADJACENT_PAIRS_NV 0x90AE
9459 #define GL_FIRST_TO_REST_NV 0x90AF
9460 #define GL_PATH_GEN_MODE_NV 0x90B0
9461 #define GL_PATH_GEN_COEFF_NV 0x90B1
9462 #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
9463 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
9464 #define GL_PATH_STENCIL_FUNC_NV 0x90B7
9465 #define GL_PATH_STENCIL_REF_NV 0x90B8
9466 #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
9467 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
9468 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
9469 #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
9470 #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
9471 #define GL_MOVE_TO_RESETS_NV 0x90B5
9472 #define GL_MOVE_TO_CONTINUES_NV 0x90B6
9473 #define GL_CLOSE_PATH_NV 0x00
9474 #define GL_MOVE_TO_NV 0x02
9475 #define GL_RELATIVE_MOVE_TO_NV 0x03
9476 #define GL_LINE_TO_NV 0x04
9477 #define GL_RELATIVE_LINE_TO_NV 0x05
9478 #define GL_HORIZONTAL_LINE_TO_NV 0x06
9479 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
9480 #define GL_VERTICAL_LINE_TO_NV 0x08
9481 #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
9482 #define GL_QUADRATIC_CURVE_TO_NV 0x0A
9483 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
9484 #define GL_CUBIC_CURVE_TO_NV 0x0C
9485 #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
9486 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
9487 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
9488 #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
9489 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
9490 #define GL_SMALL_CCW_ARC_TO_NV 0x12
9491 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
9492 #define GL_SMALL_CW_ARC_TO_NV 0x14
9493 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
9494 #define GL_LARGE_CCW_ARC_TO_NV 0x16
9495 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
9496 #define GL_LARGE_CW_ARC_TO_NV 0x18
9497 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
9498 #define GL_RESTART_PATH_NV 0xF0
9499 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
9500 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
9501 #define GL_RECT_NV 0xF6
9502 #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
9503 #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
9504 #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
9505 #define GL_ARC_TO_NV 0xFE
9506 #define GL_RELATIVE_ARC_TO_NV 0xFF
9507 #define GL_BOLD_BIT_NV 0x01
9508 #define GL_ITALIC_BIT_NV 0x02
9509 #define GL_GLYPH_WIDTH_BIT_NV 0x01
9510 #define GL_GLYPH_HEIGHT_BIT_NV 0x02
9511 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
9512 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
9513 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
9514 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
9515 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
9516 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
9517 #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
9518 #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
9519 #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
9520 #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
9521 #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
9522 #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
9523 #define GL_FONT_ASCENDER_BIT_NV 0x00200000
9524 #define GL_FONT_DESCENDER_BIT_NV 0x00400000
9525 #define GL_FONT_HEIGHT_BIT_NV 0x00800000
9526 #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
9527 #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
9528 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
9529 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
9530 #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
9531 #define GL_PRIMARY_COLOR_NV 0x852C
9532 #define GL_SECONDARY_COLOR_NV 0x852D
9533 #define GL_ROUNDED_RECT_NV 0xE8
9534 #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
9535 #define GL_ROUNDED_RECT2_NV 0xEA
9536 #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
9537 #define GL_ROUNDED_RECT4_NV 0xEC
9538 #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
9539 #define GL_ROUNDED_RECT8_NV 0xEE
9540 #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
9541 #define GL_RELATIVE_RECT_NV 0xF7
9542 #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
9543 #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
9544 #define GL_FONT_UNAVAILABLE_NV 0x936A
9545 #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
9546 #define GL_CONIC_CURVE_TO_NV 0x1A
9547 #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
9548 #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
9549 #define GL_STANDARD_FONT_FORMAT_NV 0x936C
9550 #define GL_2_BYTES_NV 0x1407
9551 #define GL_3_BYTES_NV 0x1408
9552 #define GL_4_BYTES_NV 0x1409
9553 #define GL_EYE_LINEAR_NV 0x2400
9554 #define GL_OBJECT_LINEAR_NV 0x2401
9555 #define GL_CONSTANT_NV 0x8576
9556 #define GL_PATH_PROJECTION_NV 0x1701
9557 #define GL_PATH_MODELVIEW_NV 0x1700
9558 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
9559 #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
9560 #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
9561 #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
9562 #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
9563 #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
9564 #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
9565 #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
9566 #define GL_FRAGMENT_INPUT_NV 0x936D
9567 typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
9568 typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
9569 typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
9570 typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9571 typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
9572 typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9573 typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
9574 typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
9577 typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
9578 typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
9579 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
9580 typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
9581 typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
9582 typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
9583 typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
9584 typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
9585 typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
9586 typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
9587 typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
9588 typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
9589 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
9590 typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9591 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9592 typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
9593 typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9594 typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9595 typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
9596 typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
9597 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
9598 typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9599 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9600 typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
9601 typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
9602 typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
9603 typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
9604 typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
9605 typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9606 typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9607 typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9608 typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
9609 typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
9610 typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
9611 typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
9612 typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9613 typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
9614 typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
9615 typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
9616 typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
9617 typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
9618 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
9619 typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
9620 typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
9621 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
9622 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
9623 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
9624 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9625 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9628 typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9629 typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
9630 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
9631 #ifdef GL_GLEXT_PROTOTYPES
9632 GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
9633 GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
9634 GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
9635 GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9636 GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
9637 GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9638 GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
9639 GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
9640 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);
9641 GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9642 GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
9643 GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
9644 GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
9645 GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
9646 GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
9647 GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
9648 GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
9649 GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
9650 GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
9651 GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
9652 GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
9653 GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
9654 GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
9655 GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9656 GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9657 GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
9658 GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9659 GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9660 GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
9661 GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
9662 GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
9663 GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9664 GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9665 GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
9666 GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
9667 GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
9668 GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
9669 GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
9670 GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9671 GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9672 GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9673 GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
9674 GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
9675 GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
9676 GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
9677 GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9678 GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
9679 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
9680 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
9681 GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
9682 GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
9683 GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
9684 GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
9685 GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
9686 GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
9687 GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
9688 GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
9689 GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9690 GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9691 GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
9692 GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9693 GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9694 GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
9695 GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
9696 #endif
9697 #endif /* GL_NV_path_rendering */
9698 
9699 #ifndef GL_NV_pixel_data_range
9700 #define GL_NV_pixel_data_range 1
9701 #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
9702 #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
9703 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
9704 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
9705 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
9706 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
9707 typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
9708 typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
9709 #ifdef GL_GLEXT_PROTOTYPES
9710 GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
9711 GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
9712 #endif
9713 #endif /* GL_NV_pixel_data_range */
9714 
9715 #ifndef GL_NV_point_sprite
9716 #define GL_NV_point_sprite 1
9717 #define GL_POINT_SPRITE_NV 0x8861
9718 #define GL_COORD_REPLACE_NV 0x8862
9719 #define GL_POINT_SPRITE_R_MODE_NV 0x8863
9720 typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
9721 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
9722 #ifdef GL_GLEXT_PROTOTYPES
9723 GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
9724 GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
9725 #endif
9726 #endif /* GL_NV_point_sprite */
9727 
9728 #ifndef GL_NV_present_video
9729 #define GL_NV_present_video 1
9730 #define GL_FRAME_NV 0x8E26
9731 #define GL_FIELDS_NV 0x8E27
9732 #define GL_CURRENT_TIME_NV 0x8E28
9733 #define GL_NUM_FILL_STREAMS_NV 0x8E29
9734 #define GL_PRESENT_TIME_NV 0x8E2A
9735 #define GL_PRESENT_DURATION_NV 0x8E2B
9738 typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
9739 typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
9740 typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
9741 typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
9742 #ifdef GL_GLEXT_PROTOTYPES
9743 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);
9744 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);
9745 GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
9746 GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
9747 GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
9748 GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
9749 #endif
9750 #endif /* GL_NV_present_video */
9751 
9752 #ifndef GL_NV_primitive_restart
9753 #define GL_NV_primitive_restart 1
9754 #define GL_PRIMITIVE_RESTART_NV 0x8558
9755 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
9756 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
9757 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
9758 #ifdef GL_GLEXT_PROTOTYPES
9759 GLAPI void APIENTRY glPrimitiveRestartNV (void);
9760 GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
9761 #endif
9762 #endif /* GL_NV_primitive_restart */
9763 
9764 #ifndef GL_NV_register_combiners
9765 #define GL_NV_register_combiners 1
9766 #define GL_REGISTER_COMBINERS_NV 0x8522
9767 #define GL_VARIABLE_A_NV 0x8523
9768 #define GL_VARIABLE_B_NV 0x8524
9769 #define GL_VARIABLE_C_NV 0x8525
9770 #define GL_VARIABLE_D_NV 0x8526
9771 #define GL_VARIABLE_E_NV 0x8527
9772 #define GL_VARIABLE_F_NV 0x8528
9773 #define GL_VARIABLE_G_NV 0x8529
9774 #define GL_CONSTANT_COLOR0_NV 0x852A
9775 #define GL_CONSTANT_COLOR1_NV 0x852B
9776 #define GL_SPARE0_NV 0x852E
9777 #define GL_SPARE1_NV 0x852F
9778 #define GL_DISCARD_NV 0x8530
9779 #define GL_E_TIMES_F_NV 0x8531
9780 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
9781 #define GL_UNSIGNED_IDENTITY_NV 0x8536
9782 #define GL_UNSIGNED_INVERT_NV 0x8537
9783 #define GL_EXPAND_NORMAL_NV 0x8538
9784 #define GL_EXPAND_NEGATE_NV 0x8539
9785 #define GL_HALF_BIAS_NORMAL_NV 0x853A
9786 #define GL_HALF_BIAS_NEGATE_NV 0x853B
9787 #define GL_SIGNED_IDENTITY_NV 0x853C
9788 #define GL_SIGNED_NEGATE_NV 0x853D
9789 #define GL_SCALE_BY_TWO_NV 0x853E
9790 #define GL_SCALE_BY_FOUR_NV 0x853F
9791 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
9792 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
9793 #define GL_COMBINER_INPUT_NV 0x8542
9794 #define GL_COMBINER_MAPPING_NV 0x8543
9795 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
9796 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
9797 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
9798 #define GL_COMBINER_MUX_SUM_NV 0x8547
9799 #define GL_COMBINER_SCALE_NV 0x8548
9800 #define GL_COMBINER_BIAS_NV 0x8549
9801 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
9802 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
9803 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
9804 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
9805 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
9806 #define GL_COLOR_SUM_CLAMP_NV 0x854F
9807 #define GL_COMBINER0_NV 0x8550
9808 #define GL_COMBINER1_NV 0x8551
9809 #define GL_COMBINER2_NV 0x8552
9810 #define GL_COMBINER3_NV 0x8553
9811 #define GL_COMBINER4_NV 0x8554
9812 #define GL_COMBINER5_NV 0x8555
9813 #define GL_COMBINER6_NV 0x8556
9814 #define GL_COMBINER7_NV 0x8557
9815 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
9816 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
9817 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
9818 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
9821 typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9822 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
9823 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
9824 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
9825 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
9826 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
9827 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
9828 #ifdef GL_GLEXT_PROTOTYPES
9829 GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
9830 GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
9831 GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
9832 GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
9833 GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9834 GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
9835 GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9836 GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
9837 GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
9838 GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
9839 GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
9840 GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
9841 GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
9842 #endif
9843 #endif /* GL_NV_register_combiners */
9844 
9845 #ifndef GL_NV_register_combiners2
9846 #define GL_NV_register_combiners2 1
9847 #define GL_PER_STAGE_CONSTANTS_NV 0x8535
9848 typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
9849 typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
9850 #ifdef GL_GLEXT_PROTOTYPES
9851 GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
9852 GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
9853 #endif
9854 #endif /* GL_NV_register_combiners2 */
9855 
9856 #ifndef GL_NV_shader_atomic_counters
9857 #define GL_NV_shader_atomic_counters 1
9858 #endif /* GL_NV_shader_atomic_counters */
9859 
9860 #ifndef GL_NV_shader_atomic_float
9861 #define GL_NV_shader_atomic_float 1
9862 #endif /* GL_NV_shader_atomic_float */
9863 
9864 #ifndef GL_NV_shader_atomic_int64
9865 #define GL_NV_shader_atomic_int64 1
9866 #endif /* GL_NV_shader_atomic_int64 */
9867 
9868 #ifndef GL_NV_shader_buffer_load
9869 #define GL_NV_shader_buffer_load 1
9870 #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
9871 #define GL_GPU_ADDRESS_NV 0x8F34
9872 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
9873 typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
9874 typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
9875 typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
9876 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
9877 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
9878 typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
9879 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
9880 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
9881 typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
9882 typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
9883 typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
9884 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
9885 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
9886 #ifdef GL_GLEXT_PROTOTYPES
9887 GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
9888 GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
9889 GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
9890 GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
9891 GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
9892 GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
9893 GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
9894 GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
9895 GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
9896 GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
9897 GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
9898 GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
9899 GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
9900 #endif
9901 #endif /* GL_NV_shader_buffer_load */
9902 
9903 #ifndef GL_NV_shader_buffer_store
9904 #define GL_NV_shader_buffer_store 1
9905 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
9906 #endif /* GL_NV_shader_buffer_store */
9907 
9908 #ifndef GL_NV_shader_storage_buffer_object
9909 #define GL_NV_shader_storage_buffer_object 1
9910 #endif /* GL_NV_shader_storage_buffer_object */
9911 
9912 #ifndef GL_NV_shader_thread_group
9913 #define GL_NV_shader_thread_group 1
9914 #define GL_WARP_SIZE_NV 0x9339
9915 #define GL_WARPS_PER_SM_NV 0x933A
9916 #define GL_SM_COUNT_NV 0x933B
9917 #endif /* GL_NV_shader_thread_group */
9918 
9919 #ifndef GL_NV_shader_thread_shuffle
9920 #define GL_NV_shader_thread_shuffle 1
9921 #endif /* GL_NV_shader_thread_shuffle */
9922 
9923 #ifndef GL_NV_tessellation_program5
9924 #define GL_NV_tessellation_program5 1
9925 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
9926 #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
9927 #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
9928 #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
9929 #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
9930 #endif /* GL_NV_tessellation_program5 */
9931 
9932 #ifndef GL_NV_texgen_emboss
9933 #define GL_NV_texgen_emboss 1
9934 #define GL_EMBOSS_LIGHT_NV 0x855D
9935 #define GL_EMBOSS_CONSTANT_NV 0x855E
9936 #define GL_EMBOSS_MAP_NV 0x855F
9937 #endif /* GL_NV_texgen_emboss */
9938 
9939 #ifndef GL_NV_texgen_reflection
9940 #define GL_NV_texgen_reflection 1
9941 #define GL_NORMAL_MAP_NV 0x8511
9942 #define GL_REFLECTION_MAP_NV 0x8512
9943 #endif /* GL_NV_texgen_reflection */
9944 
9945 #ifndef GL_NV_texture_barrier
9946 #define GL_NV_texture_barrier 1
9947 typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
9948 #ifdef GL_GLEXT_PROTOTYPES
9949 GLAPI void APIENTRY glTextureBarrierNV (void);
9950 #endif
9951 #endif /* GL_NV_texture_barrier */
9952 
9953 #ifndef GL_NV_texture_compression_vtc
9954 #define GL_NV_texture_compression_vtc 1
9955 #endif /* GL_NV_texture_compression_vtc */
9956 
9957 #ifndef GL_NV_texture_env_combine4
9958 #define GL_NV_texture_env_combine4 1
9959 #define GL_COMBINE4_NV 0x8503
9960 #define GL_SOURCE3_RGB_NV 0x8583
9961 #define GL_SOURCE3_ALPHA_NV 0x858B
9962 #define GL_OPERAND3_RGB_NV 0x8593
9963 #define GL_OPERAND3_ALPHA_NV 0x859B
9964 #endif /* GL_NV_texture_env_combine4 */
9965 
9966 #ifndef GL_NV_texture_expand_normal
9967 #define GL_NV_texture_expand_normal 1
9968 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
9969 #endif /* GL_NV_texture_expand_normal */
9970 
9971 #ifndef GL_NV_texture_multisample
9972 #define GL_NV_texture_multisample 1
9973 #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
9974 #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
9975 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9976 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9977 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9978 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9979 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9980 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9981 #ifdef GL_GLEXT_PROTOTYPES
9982 GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9983 GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9984 GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9985 GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9986 GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9987 GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9988 #endif
9989 #endif /* GL_NV_texture_multisample */
9990 
9991 #ifndef GL_NV_texture_rectangle
9992 #define GL_NV_texture_rectangle 1
9993 #define GL_TEXTURE_RECTANGLE_NV 0x84F5
9994 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
9995 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
9996 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
9997 #endif /* GL_NV_texture_rectangle */
9998 
9999 #ifndef GL_NV_texture_shader
10000 #define GL_NV_texture_shader 1
10001 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
10002 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
10003 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
10004 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
10005 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
10006 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
10007 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
10008 #define GL_SHADER_CONSISTENT_NV 0x86DD
10009 #define GL_TEXTURE_SHADER_NV 0x86DE
10010 #define GL_SHADER_OPERATION_NV 0x86DF
10011 #define GL_CULL_MODES_NV 0x86E0
10012 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
10013 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
10014 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
10015 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
10016 #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
10017 #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
10018 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
10019 #define GL_CONST_EYE_NV 0x86E5
10020 #define GL_PASS_THROUGH_NV 0x86E6
10021 #define GL_CULL_FRAGMENT_NV 0x86E7
10022 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
10023 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
10024 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
10025 #define GL_DOT_PRODUCT_NV 0x86EC
10026 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
10027 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
10028 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
10029 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
10030 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
10031 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
10032 #define GL_HILO_NV 0x86F4
10033 #define GL_DSDT_NV 0x86F5
10034 #define GL_DSDT_MAG_NV 0x86F6
10035 #define GL_DSDT_MAG_VIB_NV 0x86F7
10036 #define GL_HILO16_NV 0x86F8
10037 #define GL_SIGNED_HILO_NV 0x86F9
10038 #define GL_SIGNED_HILO16_NV 0x86FA
10039 #define GL_SIGNED_RGBA_NV 0x86FB
10040 #define GL_SIGNED_RGBA8_NV 0x86FC
10041 #define GL_SIGNED_RGB_NV 0x86FE
10042 #define GL_SIGNED_RGB8_NV 0x86FF
10043 #define GL_SIGNED_LUMINANCE_NV 0x8701
10044 #define GL_SIGNED_LUMINANCE8_NV 0x8702
10045 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
10046 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
10047 #define GL_SIGNED_ALPHA_NV 0x8705
10048 #define GL_SIGNED_ALPHA8_NV 0x8706
10049 #define GL_SIGNED_INTENSITY_NV 0x8707
10050 #define GL_SIGNED_INTENSITY8_NV 0x8708
10051 #define GL_DSDT8_NV 0x8709
10052 #define GL_DSDT8_MAG8_NV 0x870A
10053 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
10054 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
10055 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
10056 #define GL_HI_SCALE_NV 0x870E
10057 #define GL_LO_SCALE_NV 0x870F
10058 #define GL_DS_SCALE_NV 0x8710
10059 #define GL_DT_SCALE_NV 0x8711
10060 #define GL_MAGNITUDE_SCALE_NV 0x8712
10061 #define GL_VIBRANCE_SCALE_NV 0x8713
10062 #define GL_HI_BIAS_NV 0x8714
10063 #define GL_LO_BIAS_NV 0x8715
10064 #define GL_DS_BIAS_NV 0x8716
10065 #define GL_DT_BIAS_NV 0x8717
10066 #define GL_MAGNITUDE_BIAS_NV 0x8718
10067 #define GL_VIBRANCE_BIAS_NV 0x8719
10068 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
10069 #define GL_TEXTURE_HI_SIZE_NV 0x871B
10070 #define GL_TEXTURE_LO_SIZE_NV 0x871C
10071 #define GL_TEXTURE_DS_SIZE_NV 0x871D
10072 #define GL_TEXTURE_DT_SIZE_NV 0x871E
10073 #define GL_TEXTURE_MAG_SIZE_NV 0x871F
10074 #endif /* GL_NV_texture_shader */
10075 
10076 #ifndef GL_NV_texture_shader2
10077 #define GL_NV_texture_shader2 1
10078 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
10079 #endif /* GL_NV_texture_shader2 */
10080 
10081 #ifndef GL_NV_texture_shader3
10082 #define GL_NV_texture_shader3 1
10083 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
10084 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
10085 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
10086 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
10087 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
10088 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
10089 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
10090 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
10091 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
10092 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
10093 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
10094 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
10095 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
10096 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
10097 #define GL_HILO8_NV 0x885E
10098 #define GL_SIGNED_HILO8_NV 0x885F
10099 #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
10100 #endif /* GL_NV_texture_shader3 */
10101 
10102 #ifndef GL_NV_transform_feedback
10103 #define GL_NV_transform_feedback 1
10104 #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
10105 #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
10106 #define GL_TEXTURE_COORD_NV 0x8C79
10107 #define GL_CLIP_DISTANCE_NV 0x8C7A
10108 #define GL_VERTEX_ID_NV 0x8C7B
10109 #define GL_PRIMITIVE_ID_NV 0x8C7C
10110 #define GL_GENERIC_ATTRIB_NV 0x8C7D
10111 #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
10112 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
10113 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
10114 #define GL_ACTIVE_VARYINGS_NV 0x8C81
10115 #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
10116 #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
10117 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
10118 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
10119 #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
10120 #define GL_PRIMITIVES_GENERATED_NV 0x8C87
10121 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
10122 #define GL_RASTERIZER_DISCARD_NV 0x8C89
10123 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
10124 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
10125 #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
10126 #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
10127 #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
10128 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
10129 #define GL_LAYER_NV 0x8DAA
10130 #define GL_NEXT_BUFFER_NV -2
10131 #define GL_SKIP_COMPONENTS4_NV -3
10132 #define GL_SKIP_COMPONENTS3_NV -4
10133 #define GL_SKIP_COMPONENTS2_NV -5
10134 #define GL_SKIP_COMPONENTS1_NV -6
10135 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
10136 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
10137 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLenum bufferMode);
10138 typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
10139 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
10140 typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
10141 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
10142 typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
10143 typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
10144 typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
10145 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
10146 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
10147 #ifdef GL_GLEXT_PROTOTYPES
10148 GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
10149 GLAPI void APIENTRY glEndTransformFeedbackNV (void);
10150 GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLsizei count, const GLint *attribs, GLenum bufferMode);
10151 GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
10152 GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
10153 GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
10154 GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
10155 GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
10156 GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
10157 GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
10158 GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
10159 GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
10160 #endif
10161 #endif /* GL_NV_transform_feedback */
10162 
10163 #ifndef GL_NV_transform_feedback2
10164 #define GL_NV_transform_feedback2 1
10165 #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
10166 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
10167 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
10168 #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
10169 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
10170 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
10171 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
10172 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
10173 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
10174 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
10175 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
10176 #ifdef GL_GLEXT_PROTOTYPES
10177 GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
10178 GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
10179 GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
10180 GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
10181 GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
10182 GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
10183 GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
10184 #endif
10185 #endif /* GL_NV_transform_feedback2 */
10186 
10187 #ifndef GL_NV_vdpau_interop
10188 #define GL_NV_vdpau_interop 1
10189 typedef GLintptr GLvdpauSurfaceNV;
10190 #define GL_SURFACE_STATE_NV 0x86EB
10191 #define GL_SURFACE_REGISTERED_NV 0x86FD
10192 #define GL_SURFACE_MAPPED_NV 0x8700
10193 #define GL_WRITE_DISCARD_NV 0x88BE
10194 typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
10195 typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
10196 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
10197 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
10198 typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
10199 typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
10200 typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
10201 typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
10202 typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
10203 typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
10204 #ifdef GL_GLEXT_PROTOTYPES
10205 GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
10206 GLAPI void APIENTRY glVDPAUFiniNV (void);
10207 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
10208 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
10209 GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
10210 GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
10211 GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
10212 GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
10213 GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
10214 GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
10215 #endif
10216 #endif /* GL_NV_vdpau_interop */
10217 
10218 #ifndef GL_NV_vertex_array_range
10219 #define GL_NV_vertex_array_range 1
10220 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
10221 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
10222 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
10223 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
10224 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
10225 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
10226 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
10227 #ifdef GL_GLEXT_PROTOTYPES
10228 GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
10229 GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
10230 #endif
10231 #endif /* GL_NV_vertex_array_range */
10232 
10233 #ifndef GL_NV_vertex_array_range2
10234 #define GL_NV_vertex_array_range2 1
10235 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
10236 #endif /* GL_NV_vertex_array_range2 */
10237 
10238 #ifndef GL_NV_vertex_attrib_integer_64bit
10239 #define GL_NV_vertex_attrib_integer_64bit 1
10240 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
10241 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
10242 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
10243 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
10244 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
10245 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
10246 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
10247 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
10248 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
10249 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
10250 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
10251 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
10252 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
10253 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
10254 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
10255 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
10256 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
10257 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
10258 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
10259 #ifdef GL_GLEXT_PROTOTYPES
10260 GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
10261 GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
10262 GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
10263 GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
10264 GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
10265 GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
10266 GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
10267 GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
10268 GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
10269 GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
10270 GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
10271 GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
10272 GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
10273 GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
10274 GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
10275 GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
10276 GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
10277 GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
10278 GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
10279 #endif
10280 #endif /* GL_NV_vertex_attrib_integer_64bit */
10281 
10282 #ifndef GL_NV_vertex_buffer_unified_memory
10283 #define GL_NV_vertex_buffer_unified_memory 1
10284 #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
10285 #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
10286 #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
10287 #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
10288 #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
10289 #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
10290 #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
10291 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
10292 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
10293 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
10294 #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
10295 #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
10296 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
10297 #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
10298 #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
10299 #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
10300 #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
10301 #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
10302 #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
10303 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
10304 #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
10305 #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
10306 #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
10307 #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
10308 #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
10309 typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
10310 typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10311 typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
10312 typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10313 typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
10314 typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10315 typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
10316 typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10317 typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
10318 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
10319 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
10320 typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
10321 #ifdef GL_GLEXT_PROTOTYPES
10322 GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
10323 GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
10324 GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
10325 GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
10326 GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
10327 GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
10328 GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
10329 GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
10330 GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
10331 GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
10332 GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
10333 GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
10334 #endif
10335 #endif /* GL_NV_vertex_buffer_unified_memory */
10336 
10337 #ifndef GL_NV_vertex_program
10338 #define GL_NV_vertex_program 1
10339 #define GL_VERTEX_PROGRAM_NV 0x8620
10340 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
10341 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
10342 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
10343 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
10344 #define GL_CURRENT_ATTRIB_NV 0x8626
10345 #define GL_PROGRAM_LENGTH_NV 0x8627
10346 #define GL_PROGRAM_STRING_NV 0x8628
10347 #define GL_MODELVIEW_PROJECTION_NV 0x8629
10348 #define GL_IDENTITY_NV 0x862A
10349 #define GL_INVERSE_NV 0x862B
10350 #define GL_TRANSPOSE_NV 0x862C
10351 #define GL_INVERSE_TRANSPOSE_NV 0x862D
10352 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
10353 #define GL_MAX_TRACK_MATRICES_NV 0x862F
10354 #define GL_MATRIX0_NV 0x8630
10355 #define GL_MATRIX1_NV 0x8631
10356 #define GL_MATRIX2_NV 0x8632
10357 #define GL_MATRIX3_NV 0x8633
10358 #define GL_MATRIX4_NV 0x8634
10359 #define GL_MATRIX5_NV 0x8635
10360 #define GL_MATRIX6_NV 0x8636
10361 #define GL_MATRIX7_NV 0x8637
10362 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
10363 #define GL_CURRENT_MATRIX_NV 0x8641
10364 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
10365 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
10366 #define GL_PROGRAM_PARAMETER_NV 0x8644
10367 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
10368 #define GL_PROGRAM_TARGET_NV 0x8646
10369 #define GL_PROGRAM_RESIDENT_NV 0x8647
10370 #define GL_TRACK_MATRIX_NV 0x8648
10371 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
10372 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
10373 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
10374 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
10375 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
10376 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
10377 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
10378 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
10379 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
10380 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
10381 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
10382 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
10383 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
10384 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
10385 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
10386 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
10387 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
10388 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
10389 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
10390 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
10391 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
10392 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
10393 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
10394 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
10395 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
10396 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
10397 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
10398 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
10399 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
10400 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
10401 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
10402 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
10403 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
10404 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
10405 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
10406 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
10407 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
10408 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
10409 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
10410 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
10411 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
10412 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
10413 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
10414 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
10415 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
10416 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
10417 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
10418 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
10419 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
10420 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
10421 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
10422 typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
10423 typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
10424 typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
10425 typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
10426 typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
10427 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
10428 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
10429 typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
10430 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
10431 typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
10432 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
10433 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
10434 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
10435 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
10436 typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
10437 typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
10438 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10439 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
10440 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10441 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
10442 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
10443 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
10444 typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
10445 typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
10446 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
10447 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
10448 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
10449 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
10450 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
10451 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
10452 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
10453 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
10454 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
10455 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
10456 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
10457 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
10458 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
10459 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10460 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
10461 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
10462 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
10463 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
10464 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
10465 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10466 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
10467 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10468 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
10469 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
10470 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
10471 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
10472 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
10473 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10474 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10475 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10476 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10477 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10478 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10479 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10480 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10481 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10482 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10483 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10484 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10485 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
10486 #ifdef GL_GLEXT_PROTOTYPES
10487 GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
10488 GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
10489 GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
10490 GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
10491 GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
10492 GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
10493 GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
10494 GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
10495 GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
10496 GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
10497 GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
10498 GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
10499 GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
10500 GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
10501 GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
10502 GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
10503 GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10504 GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
10505 GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10506 GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
10507 GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
10508 GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
10509 GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
10510 GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
10511 GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
10512 GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
10513 GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
10514 GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
10515 GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
10516 GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
10517 GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
10518 GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
10519 GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
10520 GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
10521 GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
10522 GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
10523 GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
10524 GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10525 GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
10526 GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
10527 GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
10528 GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
10529 GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
10530 GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10531 GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
10532 GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10533 GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
10534 GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
10535 GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
10536 GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
10537 GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
10538 GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
10539 GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
10540 GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
10541 GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
10542 GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
10543 GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
10544 GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
10545 GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
10546 GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
10547 GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
10548 GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
10549 GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
10550 GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
10551 #endif
10552 #endif /* GL_NV_vertex_program */
10553 
10554 #ifndef GL_NV_vertex_program1_1
10555 #define GL_NV_vertex_program1_1 1
10556 #endif /* GL_NV_vertex_program1_1 */
10557 
10558 #ifndef GL_NV_vertex_program2
10559 #define GL_NV_vertex_program2 1
10560 #endif /* GL_NV_vertex_program2 */
10561 
10562 #ifndef GL_NV_vertex_program2_option
10563 #define GL_NV_vertex_program2_option 1
10564 #endif /* GL_NV_vertex_program2_option */
10565 
10566 #ifndef GL_NV_vertex_program3
10567 #define GL_NV_vertex_program3 1
10568 #endif /* GL_NV_vertex_program3 */
10569 
10570 #ifndef GL_NV_vertex_program4
10571 #define GL_NV_vertex_program4 1
10572 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
10573 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
10574 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
10575 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
10576 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
10577 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
10578 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
10579 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
10580 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10581 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
10582 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
10583 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
10584 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
10585 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
10586 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
10587 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
10588 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
10589 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
10590 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
10591 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
10592 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
10593 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10594 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
10595 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
10596 #ifdef GL_GLEXT_PROTOTYPES
10597 GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
10598 GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
10599 GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
10600 GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
10601 GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
10602 GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
10603 GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
10604 GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10605 GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
10606 GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
10607 GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
10608 GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
10609 GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
10610 GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
10611 GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
10612 GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
10613 GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
10614 GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
10615 GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
10616 GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
10617 GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10618 GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
10619 GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
10620 #endif
10621 #endif /* GL_NV_vertex_program4 */
10622 
10623 #ifndef GL_NV_video_capture
10624 #define GL_NV_video_capture 1
10625 #define GL_VIDEO_BUFFER_NV 0x9020
10626 #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
10627 #define GL_FIELD_UPPER_NV 0x9022
10628 #define GL_FIELD_LOWER_NV 0x9023
10629 #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
10630 #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
10631 #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
10632 #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
10633 #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
10634 #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
10635 #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
10636 #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
10637 #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
10638 #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
10639 #define GL_PARTIAL_SUCCESS_NV 0x902E
10640 #define GL_SUCCESS_NV 0x902F
10641 #define GL_FAILURE_NV 0x9030
10642 #define GL_YCBYCR8_422_NV 0x9031
10643 #define GL_YCBAYCR8A_4224_NV 0x9032
10644 #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
10645 #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
10646 #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
10647 #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
10648 #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
10649 #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
10650 #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
10651 #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
10652 #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
10653 #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
10654 typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
10655 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
10656 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
10657 typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
10658 typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
10659 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
10660 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
10661 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
10662 typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
10663 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
10664 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
10665 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
10666 #ifdef GL_GLEXT_PROTOTYPES
10667 GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
10668 GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
10669 GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
10670 GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
10671 GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
10672 GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
10673 GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
10674 GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
10675 GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
10676 GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
10677 GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
10678 GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
10679 #endif
10680 #endif /* GL_NV_video_capture */
10681 
10682 #ifndef GL_OML_interlace
10683 #define GL_OML_interlace 1
10684 #define GL_INTERLACE_OML 0x8980
10685 #define GL_INTERLACE_READ_OML 0x8981
10686 #endif /* GL_OML_interlace */
10687 
10688 #ifndef GL_OML_resample
10689 #define GL_OML_resample 1
10690 #define GL_PACK_RESAMPLE_OML 0x8984
10691 #define GL_UNPACK_RESAMPLE_OML 0x8985
10692 #define GL_RESAMPLE_REPLICATE_OML 0x8986
10693 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
10694 #define GL_RESAMPLE_AVERAGE_OML 0x8988
10695 #define GL_RESAMPLE_DECIMATE_OML 0x8989
10696 #endif /* GL_OML_resample */
10697 
10698 #ifndef GL_OML_subsample
10699 #define GL_OML_subsample 1
10700 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
10701 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
10702 #endif /* GL_OML_subsample */
10703 
10704 #ifndef GL_PGI_misc_hints
10705 #define GL_PGI_misc_hints 1
10706 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
10707 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
10708 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
10709 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
10710 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
10711 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
10712 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
10713 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
10714 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
10715 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
10716 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
10717 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
10718 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
10719 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
10720 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
10721 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
10722 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
10723 #define GL_CLIP_FAR_HINT_PGI 0x1A221
10724 #define GL_WIDE_LINE_HINT_PGI 0x1A222
10725 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
10726 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
10727 #ifdef GL_GLEXT_PROTOTYPES
10728 GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
10729 #endif
10730 #endif /* GL_PGI_misc_hints */
10731 
10732 #ifndef GL_PGI_vertex_hints
10733 #define GL_PGI_vertex_hints 1
10734 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
10735 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
10736 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
10737 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
10738 #define GL_COLOR3_BIT_PGI 0x00010000
10739 #define GL_COLOR4_BIT_PGI 0x00020000
10740 #define GL_EDGEFLAG_BIT_PGI 0x00040000
10741 #define GL_INDEX_BIT_PGI 0x00080000
10742 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
10743 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
10744 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
10745 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
10746 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
10747 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
10748 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
10749 #define GL_NORMAL_BIT_PGI 0x08000000
10750 #define GL_TEXCOORD1_BIT_PGI 0x10000000
10751 #define GL_TEXCOORD2_BIT_PGI 0x20000000
10752 #define GL_TEXCOORD3_BIT_PGI 0x40000000
10753 #define GL_TEXCOORD4_BIT_PGI 0x80000000
10754 #define GL_VERTEX23_BIT_PGI 0x00000004
10755 #define GL_VERTEX4_BIT_PGI 0x00000008
10756 #endif /* GL_PGI_vertex_hints */
10757 
10758 #ifndef GL_REND_screen_coordinates
10759 #define GL_REND_screen_coordinates 1
10760 #define GL_SCREEN_COORDINATES_REND 0x8490
10761 #define GL_INVERTED_SCREEN_W_REND 0x8491
10762 #endif /* GL_REND_screen_coordinates */
10763 
10764 #ifndef GL_S3_s3tc
10765 #define GL_S3_s3tc 1
10766 #define GL_RGB_S3TC 0x83A0
10767 #define GL_RGB4_S3TC 0x83A1
10768 #define GL_RGBA_S3TC 0x83A2
10769 #define GL_RGBA4_S3TC 0x83A3
10770 #define GL_RGBA_DXT5_S3TC 0x83A4
10771 #define GL_RGBA4_DXT5_S3TC 0x83A5
10772 #endif /* GL_S3_s3tc */
10773 
10774 #ifndef GL_SGIS_detail_texture
10775 #define GL_SGIS_detail_texture 1
10776 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
10777 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
10778 #define GL_LINEAR_DETAIL_SGIS 0x8097
10779 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
10780 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
10781 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
10782 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
10783 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
10784 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
10785 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
10786 #ifdef GL_GLEXT_PROTOTYPES
10787 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
10788 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
10789 #endif
10790 #endif /* GL_SGIS_detail_texture */
10791 
10792 #ifndef GL_SGIS_fog_function
10793 #define GL_SGIS_fog_function 1
10794 #define GL_FOG_FUNC_SGIS 0x812A
10795 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
10796 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
10797 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
10798 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
10799 #ifdef GL_GLEXT_PROTOTYPES
10800 GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
10801 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
10802 #endif
10803 #endif /* GL_SGIS_fog_function */
10804 
10805 #ifndef GL_SGIS_generate_mipmap
10806 #define GL_SGIS_generate_mipmap 1
10807 #define GL_GENERATE_MIPMAP_SGIS 0x8191
10808 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
10809 #endif /* GL_SGIS_generate_mipmap */
10810 
10811 #ifndef GL_SGIS_multisample
10812 #define GL_SGIS_multisample 1
10813 #define GL_MULTISAMPLE_SGIS 0x809D
10814 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
10815 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
10816 #define GL_SAMPLE_MASK_SGIS 0x80A0
10817 #define GL_1PASS_SGIS 0x80A1
10818 #define GL_2PASS_0_SGIS 0x80A2
10819 #define GL_2PASS_1_SGIS 0x80A3
10820 #define GL_4PASS_0_SGIS 0x80A4
10821 #define GL_4PASS_1_SGIS 0x80A5
10822 #define GL_4PASS_2_SGIS 0x80A6
10823 #define GL_4PASS_3_SGIS 0x80A7
10824 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
10825 #define GL_SAMPLES_SGIS 0x80A9
10826 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
10827 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
10828 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
10829 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
10830 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
10831 #ifdef GL_GLEXT_PROTOTYPES
10832 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
10833 GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
10834 #endif
10835 #endif /* GL_SGIS_multisample */
10836 
10837 #ifndef GL_SGIS_pixel_texture
10838 #define GL_SGIS_pixel_texture 1
10839 #define GL_PIXEL_TEXTURE_SGIS 0x8353
10840 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
10841 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
10842 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
10843 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
10844 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
10845 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
10846 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
10847 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
10848 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
10849 #ifdef GL_GLEXT_PROTOTYPES
10850 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
10851 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
10852 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
10853 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
10854 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
10855 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
10856 #endif
10857 #endif /* GL_SGIS_pixel_texture */
10858 
10859 #ifndef GL_SGIS_point_line_texgen
10860 #define GL_SGIS_point_line_texgen 1
10861 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
10862 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
10863 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
10864 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
10865 #define GL_EYE_POINT_SGIS 0x81F4
10866 #define GL_OBJECT_POINT_SGIS 0x81F5
10867 #define GL_EYE_LINE_SGIS 0x81F6
10868 #define GL_OBJECT_LINE_SGIS 0x81F7
10869 #endif /* GL_SGIS_point_line_texgen */
10870 
10871 #ifndef GL_SGIS_point_parameters
10872 #define GL_SGIS_point_parameters 1
10873 #define GL_POINT_SIZE_MIN_SGIS 0x8126
10874 #define GL_POINT_SIZE_MAX_SGIS 0x8127
10875 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
10876 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
10877 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
10878 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
10879 #ifdef GL_GLEXT_PROTOTYPES
10880 GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
10881 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
10882 #endif
10883 #endif /* GL_SGIS_point_parameters */
10884 
10885 #ifndef GL_SGIS_sharpen_texture
10886 #define GL_SGIS_sharpen_texture 1
10887 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
10888 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
10889 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
10890 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
10891 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
10892 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
10893 #ifdef GL_GLEXT_PROTOTYPES
10894 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
10895 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
10896 #endif
10897 #endif /* GL_SGIS_sharpen_texture */
10898 
10899 #ifndef GL_SGIS_texture4D
10900 #define GL_SGIS_texture4D 1
10901 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
10902 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
10903 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
10904 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
10905 #define GL_TEXTURE_4D_SGIS 0x8134
10906 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
10907 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
10908 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
10909 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
10910 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
10911 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);
10912 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);
10913 #ifdef GL_GLEXT_PROTOTYPES
10914 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);
10915 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);
10916 #endif
10917 #endif /* GL_SGIS_texture4D */
10918 
10919 #ifndef GL_SGIS_texture_border_clamp
10920 #define GL_SGIS_texture_border_clamp 1
10921 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
10922 #endif /* GL_SGIS_texture_border_clamp */
10923 
10924 #ifndef GL_SGIS_texture_color_mask
10925 #define GL_SGIS_texture_color_mask 1
10926 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
10927 typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
10928 #ifdef GL_GLEXT_PROTOTYPES
10929 GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
10930 #endif
10931 #endif /* GL_SGIS_texture_color_mask */
10932 
10933 #ifndef GL_SGIS_texture_edge_clamp
10934 #define GL_SGIS_texture_edge_clamp 1
10935 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
10936 #endif /* GL_SGIS_texture_edge_clamp */
10937 
10938 #ifndef GL_SGIS_texture_filter4
10939 #define GL_SGIS_texture_filter4 1
10940 #define GL_FILTER4_SGIS 0x8146
10941 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
10942 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
10943 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
10944 #ifdef GL_GLEXT_PROTOTYPES
10945 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
10946 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
10947 #endif
10948 #endif /* GL_SGIS_texture_filter4 */
10949 
10950 #ifndef GL_SGIS_texture_lod
10951 #define GL_SGIS_texture_lod 1
10952 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
10953 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
10954 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
10955 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
10956 #endif /* GL_SGIS_texture_lod */
10957 
10958 #ifndef GL_SGIS_texture_select
10959 #define GL_SGIS_texture_select 1
10960 #define GL_DUAL_ALPHA4_SGIS 0x8110
10961 #define GL_DUAL_ALPHA8_SGIS 0x8111
10962 #define GL_DUAL_ALPHA12_SGIS 0x8112
10963 #define GL_DUAL_ALPHA16_SGIS 0x8113
10964 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
10965 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
10966 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
10967 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
10968 #define GL_DUAL_INTENSITY4_SGIS 0x8118
10969 #define GL_DUAL_INTENSITY8_SGIS 0x8119
10970 #define GL_DUAL_INTENSITY12_SGIS 0x811A
10971 #define GL_DUAL_INTENSITY16_SGIS 0x811B
10972 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
10973 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
10974 #define GL_QUAD_ALPHA4_SGIS 0x811E
10975 #define GL_QUAD_ALPHA8_SGIS 0x811F
10976 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
10977 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
10978 #define GL_QUAD_INTENSITY4_SGIS 0x8122
10979 #define GL_QUAD_INTENSITY8_SGIS 0x8123
10980 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
10981 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
10982 #endif /* GL_SGIS_texture_select */
10983 
10984 #ifndef GL_SGIX_async
10985 #define GL_SGIX_async 1
10986 #define GL_ASYNC_MARKER_SGIX 0x8329
10987 typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
10988 typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
10989 typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
10990 typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
10991 typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
10992 typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
10993 #ifdef GL_GLEXT_PROTOTYPES
10994 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
10995 GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
10996 GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
10997 GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
10998 GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
10999 GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
11000 #endif
11001 #endif /* GL_SGIX_async */
11002 
11003 #ifndef GL_SGIX_async_histogram
11004 #define GL_SGIX_async_histogram 1
11005 #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
11006 #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
11007 #endif /* GL_SGIX_async_histogram */
11008 
11009 #ifndef GL_SGIX_async_pixel
11010 #define GL_SGIX_async_pixel 1
11011 #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
11012 #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
11013 #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
11014 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
11015 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
11016 #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
11017 #endif /* GL_SGIX_async_pixel */
11018 
11019 #ifndef GL_SGIX_blend_alpha_minmax
11020 #define GL_SGIX_blend_alpha_minmax 1
11021 #define GL_ALPHA_MIN_SGIX 0x8320
11022 #define GL_ALPHA_MAX_SGIX 0x8321
11023 #endif /* GL_SGIX_blend_alpha_minmax */
11024 
11025 #ifndef GL_SGIX_calligraphic_fragment
11026 #define GL_SGIX_calligraphic_fragment 1
11027 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
11028 #endif /* GL_SGIX_calligraphic_fragment */
11029 
11030 #ifndef GL_SGIX_clipmap
11031 #define GL_SGIX_clipmap 1
11032 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
11033 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
11034 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
11035 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
11036 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
11037 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
11038 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
11039 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
11040 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
11041 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
11042 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
11043 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
11044 #endif /* GL_SGIX_clipmap */
11045 
11046 #ifndef GL_SGIX_convolution_accuracy
11047 #define GL_SGIX_convolution_accuracy 1
11048 #define GL_CONVOLUTION_HINT_SGIX 0x8316
11049 #endif /* GL_SGIX_convolution_accuracy */
11050 
11051 #ifndef GL_SGIX_depth_pass_instrument
11052 #define GL_SGIX_depth_pass_instrument 1
11053 #endif /* GL_SGIX_depth_pass_instrument */
11054 
11055 #ifndef GL_SGIX_depth_texture
11056 #define GL_SGIX_depth_texture 1
11057 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
11058 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
11059 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
11060 #endif /* GL_SGIX_depth_texture */
11061 
11062 #ifndef GL_SGIX_flush_raster
11063 #define GL_SGIX_flush_raster 1
11064 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
11065 #ifdef GL_GLEXT_PROTOTYPES
11066 GLAPI void APIENTRY glFlushRasterSGIX (void);
11067 #endif
11068 #endif /* GL_SGIX_flush_raster */
11069 
11070 #ifndef GL_SGIX_fog_offset
11071 #define GL_SGIX_fog_offset 1
11072 #define GL_FOG_OFFSET_SGIX 0x8198
11073 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
11074 #endif /* GL_SGIX_fog_offset */
11075 
11076 #ifndef GL_SGIX_fragment_lighting
11077 #define GL_SGIX_fragment_lighting 1
11078 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
11079 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
11080 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
11081 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
11082 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
11083 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
11084 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
11085 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
11086 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
11087 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
11088 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
11089 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
11090 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
11091 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
11092 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
11093 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
11094 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
11095 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
11096 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
11097 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
11098 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
11099 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
11100 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
11101 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
11102 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
11103 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
11104 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
11105 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
11106 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
11107 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
11108 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
11109 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
11110 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
11111 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
11112 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
11113 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
11114 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
11115 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
11116 #ifdef GL_GLEXT_PROTOTYPES
11117 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
11118 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
11119 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
11120 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
11121 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
11122 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
11123 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
11124 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
11125 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
11126 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
11127 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
11128 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
11129 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
11130 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
11131 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
11132 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
11133 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
11134 GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
11135 #endif
11136 #endif /* GL_SGIX_fragment_lighting */
11137 
11138 #ifndef GL_SGIX_framezoom
11139 #define GL_SGIX_framezoom 1
11140 #define GL_FRAMEZOOM_SGIX 0x818B
11141 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
11142 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
11143 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
11144 #ifdef GL_GLEXT_PROTOTYPES
11145 GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
11146 #endif
11147 #endif /* GL_SGIX_framezoom */
11148 
11149 #ifndef GL_SGIX_igloo_interface
11150 #define GL_SGIX_igloo_interface 1
11151 typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
11152 #ifdef GL_GLEXT_PROTOTYPES
11153 GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
11154 #endif
11155 #endif /* GL_SGIX_igloo_interface */
11156 
11157 #ifndef GL_SGIX_instruments
11158 #define GL_SGIX_instruments 1
11159 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
11160 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
11161 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
11162 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
11163 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
11164 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
11165 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
11166 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
11167 #ifdef GL_GLEXT_PROTOTYPES
11168 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
11169 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
11170 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
11171 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
11172 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
11173 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
11174 #endif
11175 #endif /* GL_SGIX_instruments */
11176 
11177 #ifndef GL_SGIX_interlace
11178 #define GL_SGIX_interlace 1
11179 #define GL_INTERLACE_SGIX 0x8094
11180 #endif /* GL_SGIX_interlace */
11181 
11182 #ifndef GL_SGIX_ir_instrument1
11183 #define GL_SGIX_ir_instrument1 1
11184 #define GL_IR_INSTRUMENT1_SGIX 0x817F
11185 #endif /* GL_SGIX_ir_instrument1 */
11186 
11187 #ifndef GL_SGIX_list_priority
11188 #define GL_SGIX_list_priority 1
11189 #define GL_LIST_PRIORITY_SGIX 0x8182
11190 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
11191 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
11192 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
11193 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
11194 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
11195 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
11196 #ifdef GL_GLEXT_PROTOTYPES
11197 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
11198 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
11199 GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
11200 GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
11201 GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
11202 GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
11203 #endif
11204 #endif /* GL_SGIX_list_priority */
11205 
11206 #ifndef GL_SGIX_pixel_texture
11207 #define GL_SGIX_pixel_texture 1
11208 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
11209 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
11210 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
11211 #ifdef GL_GLEXT_PROTOTYPES
11212 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
11213 #endif
11214 #endif /* GL_SGIX_pixel_texture */
11215 
11216 #ifndef GL_SGIX_pixel_tiles
11217 #define GL_SGIX_pixel_tiles 1
11218 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
11219 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
11220 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
11221 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
11222 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
11223 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
11224 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
11225 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
11226 #endif /* GL_SGIX_pixel_tiles */
11227 
11228 #ifndef GL_SGIX_polynomial_ffd
11229 #define GL_SGIX_polynomial_ffd 1
11230 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
11231 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
11232 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
11233 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
11234 #define GL_DEFORMATIONS_MASK_SGIX 0x8196
11235 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
11236 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);
11238 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
11239 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
11240 #ifdef GL_GLEXT_PROTOTYPES
11241 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);
11242 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);
11243 GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
11244 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
11245 #endif
11246 #endif /* GL_SGIX_polynomial_ffd */
11247 
11248 #ifndef GL_SGIX_reference_plane
11249 #define GL_SGIX_reference_plane 1
11250 #define GL_REFERENCE_PLANE_SGIX 0x817D
11251 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
11252 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
11253 #ifdef GL_GLEXT_PROTOTYPES
11254 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
11255 #endif
11256 #endif /* GL_SGIX_reference_plane */
11257 
11258 #ifndef GL_SGIX_resample
11259 #define GL_SGIX_resample 1
11260 #define GL_PACK_RESAMPLE_SGIX 0x842C
11261 #define GL_UNPACK_RESAMPLE_SGIX 0x842D
11262 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
11263 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
11264 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
11265 #endif /* GL_SGIX_resample */
11266 
11267 #ifndef GL_SGIX_scalebias_hint
11268 #define GL_SGIX_scalebias_hint 1
11269 #define GL_SCALEBIAS_HINT_SGIX 0x8322
11270 #endif /* GL_SGIX_scalebias_hint */
11271 
11272 #ifndef GL_SGIX_shadow
11273 #define GL_SGIX_shadow 1
11274 #define GL_TEXTURE_COMPARE_SGIX 0x819A
11275 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
11276 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
11277 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
11278 #endif /* GL_SGIX_shadow */
11279 
11280 #ifndef GL_SGIX_shadow_ambient
11281 #define GL_SGIX_shadow_ambient 1
11282 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
11283 #endif /* GL_SGIX_shadow_ambient */
11284 
11285 #ifndef GL_SGIX_sprite
11286 #define GL_SGIX_sprite 1
11287 #define GL_SPRITE_SGIX 0x8148
11288 #define GL_SPRITE_MODE_SGIX 0x8149
11289 #define GL_SPRITE_AXIS_SGIX 0x814A
11290 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
11291 #define GL_SPRITE_AXIAL_SGIX 0x814C
11292 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
11293 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
11294 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
11295 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
11296 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
11297 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
11298 #ifdef GL_GLEXT_PROTOTYPES
11299 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
11300 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
11301 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
11302 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
11303 #endif
11304 #endif /* GL_SGIX_sprite */
11305 
11306 #ifndef GL_SGIX_subsample
11307 #define GL_SGIX_subsample 1
11308 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
11309 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
11310 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
11311 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
11312 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
11313 #endif /* GL_SGIX_subsample */
11314 
11315 #ifndef GL_SGIX_tag_sample_buffer
11316 #define GL_SGIX_tag_sample_buffer 1
11317 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
11318 #ifdef GL_GLEXT_PROTOTYPES
11319 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
11320 #endif
11321 #endif /* GL_SGIX_tag_sample_buffer */
11322 
11323 #ifndef GL_SGIX_texture_add_env
11324 #define GL_SGIX_texture_add_env 1
11325 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
11326 #endif /* GL_SGIX_texture_add_env */
11327 
11328 #ifndef GL_SGIX_texture_coordinate_clamp
11329 #define GL_SGIX_texture_coordinate_clamp 1
11330 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
11331 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
11332 #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
11333 #endif /* GL_SGIX_texture_coordinate_clamp */
11334 
11335 #ifndef GL_SGIX_texture_lod_bias
11336 #define GL_SGIX_texture_lod_bias 1
11337 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
11338 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
11339 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
11340 #endif /* GL_SGIX_texture_lod_bias */
11341 
11342 #ifndef GL_SGIX_texture_multi_buffer
11343 #define GL_SGIX_texture_multi_buffer 1
11344 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
11345 #endif /* GL_SGIX_texture_multi_buffer */
11346 
11347 #ifndef GL_SGIX_texture_scale_bias
11348 #define GL_SGIX_texture_scale_bias 1
11349 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
11350 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
11351 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
11352 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
11353 #endif /* GL_SGIX_texture_scale_bias */
11354 
11355 #ifndef GL_SGIX_vertex_preclip
11356 #define GL_SGIX_vertex_preclip 1
11357 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
11358 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
11359 #endif /* GL_SGIX_vertex_preclip */
11360 
11361 #ifndef GL_SGIX_ycrcb
11362 #define GL_SGIX_ycrcb 1
11363 #define GL_YCRCB_422_SGIX 0x81BB
11364 #define GL_YCRCB_444_SGIX 0x81BC
11365 #endif /* GL_SGIX_ycrcb */
11366 
11367 #ifndef GL_SGIX_ycrcb_subsample
11368 #define GL_SGIX_ycrcb_subsample 1
11369 #endif /* GL_SGIX_ycrcb_subsample */
11370 
11371 #ifndef GL_SGIX_ycrcba
11372 #define GL_SGIX_ycrcba 1
11373 #define GL_YCRCB_SGIX 0x8318
11374 #define GL_YCRCBA_SGIX 0x8319
11375 #endif /* GL_SGIX_ycrcba */
11376 
11377 #ifndef GL_SGI_color_matrix
11378 #define GL_SGI_color_matrix 1
11379 #define GL_COLOR_MATRIX_SGI 0x80B1
11380 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
11381 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
11382 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
11383 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
11384 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
11385 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
11386 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
11387 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
11388 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
11389 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
11390 #endif /* GL_SGI_color_matrix */
11391 
11392 #ifndef GL_SGI_color_table
11393 #define GL_SGI_color_table 1
11394 #define GL_COLOR_TABLE_SGI 0x80D0
11395 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
11396 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
11397 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
11398 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
11399 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
11400 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
11401 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
11402 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
11403 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
11404 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
11405 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
11406 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
11407 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
11408 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
11409 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
11410 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
11411 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
11412 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
11413 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
11414 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
11415 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
11416 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
11417 #ifdef GL_GLEXT_PROTOTYPES
11418 GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
11419 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
11420 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
11421 GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
11422 GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
11423 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
11424 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
11425 #endif
11426 #endif /* GL_SGI_color_table */
11427 
11428 #ifndef GL_SGI_texture_color_table
11429 #define GL_SGI_texture_color_table 1
11430 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
11431 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
11432 #endif /* GL_SGI_texture_color_table */
11433 
11434 #ifndef GL_SUNX_constant_data
11435 #define GL_SUNX_constant_data 1
11436 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
11437 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
11438 typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
11439 #ifdef GL_GLEXT_PROTOTYPES
11440 GLAPI void APIENTRY glFinishTextureSUNX (void);
11441 #endif
11442 #endif /* GL_SUNX_constant_data */
11443 
11444 #ifndef GL_SUN_convolution_border_modes
11445 #define GL_SUN_convolution_border_modes 1
11446 #define GL_WRAP_BORDER_SUN 0x81D4
11447 #endif /* GL_SUN_convolution_border_modes */
11448 
11449 #ifndef GL_SUN_global_alpha
11450 #define GL_SUN_global_alpha 1
11451 #define GL_GLOBAL_ALPHA_SUN 0x81D9
11452 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
11453 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
11454 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
11455 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
11456 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
11457 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
11458 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
11459 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
11460 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
11461 #ifdef GL_GLEXT_PROTOTYPES
11462 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
11463 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
11464 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
11465 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
11466 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
11467 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
11468 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
11469 GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
11470 #endif
11471 #endif /* GL_SUN_global_alpha */
11472 
11473 #ifndef GL_SUN_mesh_array
11474 #define GL_SUN_mesh_array 1
11475 #define GL_QUAD_MESH_SUN 0x8614
11476 #define GL_TRIANGLE_MESH_SUN 0x8615
11477 typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
11478 #ifdef GL_GLEXT_PROTOTYPES
11479 GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
11480 #endif
11481 #endif /* GL_SUN_mesh_array */
11482 
11483 #ifndef GL_SUN_slice_accum
11484 #define GL_SUN_slice_accum 1
11485 #define GL_SLICE_ACCUM_SUN 0x85CC
11486 #endif /* GL_SUN_slice_accum */
11487 
11488 #ifndef GL_SUN_triangle_list
11489 #define GL_SUN_triangle_list 1
11490 #define GL_RESTART_SUN 0x0001
11491 #define GL_REPLACE_MIDDLE_SUN 0x0002
11492 #define GL_REPLACE_OLDEST_SUN 0x0003
11493 #define GL_TRIANGLE_LIST_SUN 0x81D7
11494 #define GL_REPLACEMENT_CODE_SUN 0x81D8
11495 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
11496 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
11497 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
11498 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
11499 #define GL_R1UI_V3F_SUN 0x85C4
11500 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
11501 #define GL_R1UI_C3F_V3F_SUN 0x85C6
11502 #define GL_R1UI_N3F_V3F_SUN 0x85C7
11503 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
11504 #define GL_R1UI_T2F_V3F_SUN 0x85C9
11505 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
11506 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
11507 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
11508 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
11509 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
11510 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
11511 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
11512 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
11513 typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
11514 #ifdef GL_GLEXT_PROTOTYPES
11515 GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
11516 GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
11517 GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
11518 GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
11519 GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
11520 GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
11521 GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
11522 #endif
11523 #endif /* GL_SUN_triangle_list */
11524 
11525 #ifndef GL_SUN_vertex
11526 #define GL_SUN_vertex 1
11527 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
11528 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
11529 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11530 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
11531 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11532 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
11533 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11534 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
11535 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11536 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
11537 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11538 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
11539 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11540 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
11541 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11542 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
11543 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11544 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
11545 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11546 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11547 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);
11548 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11549 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);
11550 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11551 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
11552 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
11553 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11554 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
11555 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11556 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
11557 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11558 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
11559 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);
11560 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11561 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11562 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
11563 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11564 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11565 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);
11566 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11567 #ifdef GL_GLEXT_PROTOTYPES
11568 GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
11569 GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
11570 GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11571 GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
11572 GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11573 GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
11574 GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11575 GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
11576 GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11577 GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
11578 GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11579 GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
11580 GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11581 GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
11582 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11583 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
11584 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11585 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
11586 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11587 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11588 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);
11589 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11590 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);
11591 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11592 GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
11593 GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
11594 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11595 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
11596 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11597 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
11598 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11599 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
11600 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);
11601 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11602 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11603 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
11604 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11605 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11606 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);
11607 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11608 #endif
11609 #endif /* GL_SUN_vertex */
11610 
11611 #ifndef GL_WIN_phong_shading
11612 #define GL_WIN_phong_shading 1
11613 #define GL_PHONG_WIN 0x80EA
11614 #define GL_PHONG_HINT_WIN 0x80EB
11615 #endif /* GL_WIN_phong_shading */
11616 
11617 #ifndef GL_WIN_specular_fog
11618 #define GL_WIN_specular_fog 1
11619 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
11620 #endif /* GL_WIN_specular_fog */
11621 
11622 #ifdef __cplusplus
11623 }
11624 #endif
11625 
11626 #endif
GLenum const void GLuint pathBase
Definition: glext.h:9590
const GLuint GLboolean * residences
Definition: glext.h:7960
const void GLsizei drawCount
Definition: glext.h:8785
GLenum attachment
Definition: glext.h:1173
GLenum GLint GLint srcX
Definition: glext.h:2449
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const void * pixels
Definition: glext.h:112
GLfixed GLfixed u2
Definition: glext.h:4927
GLboolean GLboolean g
Definition: glext.h:1104
void *APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC(GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access)
Definition: glext.h:2618
GLsizei const void * pointer
Definition: glext.h:378
GLenum GLenum GLenum dppass
Definition: glext.h:651
GLuint64EXT GLuint GLuint GLenum GLenum GLuint fill0
Definition: glext.h:9736
GLintptr GLvdpauSurfaceNV
Definition: glext.h:10189
const GLfloat * params
Definition: glext.h:371
const GLubyte *APIENTRYP PFNGLGETSTRINGIPROC(GLenum name, GLuint index)
Definition: glext.h:1161
GLsizei GLfixed xorig
Definition: glext.h:4903
GLuint GLenum frame_region
Definition: glext.h:10655
GLsizei samples
Definition: glext.h:1180
GLsizei const GLchar *const GLenum bufferMode
Definition: glext.h:1114
GLenum backfunc
Definition: glext.h:5947
GLint GLsizei GLsizei primcount
Definition: glext.h:3105
GLint location
Definition: glext.h:674
GLuint * queryId
Definition: glext.h:8664
GLfixed GLfixed GLint GLint order
Definition: glext.h:4927
GLenum sfail
Definition: glext.h:651
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLenum GLuint GLenum GLuint fill2
Definition: glext.h:9737
const GLint * first
Definition: glext.h:368
GLuint GLenum const GLfloat * transformValues
Definition: glext.h:9580
const void GLsizei GLsizei GLint vertexBufferCount
Definition: glext.h:8785
GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2Mod
Definition: glext.h:5874
GLfloat GLfloat GLfloat v2
Definition: glext.h:687
GLint GLsizei GLsizei instancecount
Definition: glext.h:1339
GLfixed yfactor
Definition: glext.h:4944
GLenum GLintptr GLintptr writeOffset
Definition: glext.h:1343
const GLbyte * weights
Definition: glext.h:4447
GLint GLint GLsizei counterSize
Definition: glext.h:5359
GLenum srcRGB
Definition: glext.h:1736
GLsizei GLsizei GLchar * groupString
Definition: glext.h:5360
GLsizei GLenum GLenum GLuint GLenum * severities
Definition: glext.h:2481
void *APIENTRYP PFNGLMAPNAMEDBUFFERPROC(GLuint buffer, GLenum access)
Definition: glext.h:2617
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLuint GLenum GLuint GLuint key1
Definition: glext.h:9736
GLuint renderbuffer
Definition: glext.h:1163
GLuint attribindex
Definition: glext.h:2686
GLsizei GLsizei GLuint * shaders
Definition: glext.h:666
GLuint GLuint storageBlockBinding
Definition: glext.h:2467
GLuint GLuint GLchar GLuint GLchar GLuint GLuint GLuint * counterTypeEnum
Definition: glext.h:8662
int64_t GLint64EXT
Definition: glext.h:5197
GLenum GLenum dpfail
Definition: glext.h:651
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint dstY
Definition: glext.h:2449
const GLenum * bufs
Definition: glext.h:650
GLuint GLuint GLsizei GLenum const void * indices
Definition: glext.h:111
GLsizei GLenum * sources
Definition: glext.h:2481
GLuint GLenum GLsizei GLsizei GLint GLint GLboolean packed
Definition: glext.h:8998
GLenum const void * addr
Definition: glext.h:8318
GLint GLint GLint srcY1
Definition: glext.h:1179
GLbyte GLbyte bz
Definition: glext.h:6351
GLuint counterId
Definition: glext.h:8662
GLuint GLenum outX
Definition: glext.h:8313
GLint reference
Definition: glext.h:9589
GLenum GLuint GLenum GLuint GLuint GLuint minlayer
Definition: glext.h:2471
GLsizei levels
Definition: glext.h:2162
GLsizei GLenum const void GLuint GLsizei GLfloat * metrics
Definition: glext.h:9605
GLuint colorNumber
Definition: glext.h:1533
GLsizei const GLuint * paths
Definition: glext.h:9577
GLfixed u1
Definition: glext.h:4927
GLfixed units
Definition: glext.h:4893
GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar
Definition: glext.h:6472
GLuint GLenum matrix
Definition: glext.h:10445
void *APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access)
Definition: glext.h:6677
GLint GLint GLsizei GLsizei height
Definition: glext.h:112
GLint GLint GLint GLint GLint GLint GLint dstY1
Definition: glext.h:1179
ptrdiff_t GLintptrARB
Definition: glext.h:4481
GLsizei const GLubyte GLsizei GLenum coordType
Definition: glext.h:9570
const GLint * attribs
Definition: glext.h:10137
const GLfloat * m
Definition: glext.h:6461
GLint GLint GLint GLint GLint GLint y
Definition: glext.h:114
GLenum const void GLbitfield GLuint firstGlyph
Definition: glext.h:9576
GLint GLint GLint GLint zoffset
Definition: glext.h:113
GLuint64EXT GLuint beginPresentTimeId
Definition: glext.h:9736
GLenum GLint GLint GLint GLint GLuint dstName
Definition: glext.h:2449
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t0
Definition: glext.h:8966
GLuint GLuint GLuint group_size_x
Definition: glext.h:2966
GLuint GLchar GLuint GLuint GLuint GLuint * capsMask
Definition: glext.h:8665
GLenum GLenum GLenum GLenum GLenum GLenum GLboolean GLboolean GLboolean muxSum
Definition: glext.h:9820
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:9820
GLenum GLenum renderbuffertarget
Definition: glext.h:1176
GLboolean GLuint GLint GLuint * counterList
Definition: glext.h:5365
GLenum GLuint GLenum GLuint GLuint GLuint GLuint numlayers
Definition: glext.h:2471
unsigned short GLhalf
Definition: glext.h:882
GLenum GLenum GLsizei void * table
Definition: glext.h:2715
GLuint GLuint GLuint dstMod
Definition: glext.h:5873
GLenum GLsizei dataSize
Definition: glext.h:5368
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLenum GLuint GLenum GLuint GLenum GLuint fill3
Definition: glext.h:9737
GLint GLfloat GLint stencil
Definition: glext.h:1160
GLsizei numPaths
Definition: glext.h:9577
GLuint GLsizei const GLchar * message
Definition: glext.h:2482
GLint GLint GLsizei GLuint * counters
Definition: glext.h:5359
GLenum GLsizei numTextureNames
Definition: glext.h:10196
GLdouble GLdouble z
Definition: glext.h:404
GLsizei GLsizei GLenum * binaryFormat
Definition: glext.h:1870
GLsizei const GLchar *const * path
Definition: glext.h:4034
GLsizei stride
Definition: glext.h:378
GLint GLint GLint GLint GLsizei GLsizei GLsizei GLboolean resident
Definition: glext.h:4091
GLenum GLenum GLsizei void * image
Definition: glext.h:2716
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat s0
Definition: glext.h:8966
typedef GLenum(APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target)
GLsizei const GLchar *const * string
Definition: glext.h:683
GLsizei GLsizei colorSamples
Definition: glext.h:6639
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint GLsizei srcWidth
Definition: glext.h:2449
GLintptr GLsizei GLboolean commit
Definition: glext.h:4068
GLuint divisor
Definition: glext.h:1552
GLenum const void * fontName
Definition: glext.h:9575
GLuint GLsizei GLsizei GLchar * counterString
Definition: glext.h:5361
GLsizei GLenum const void GLuint GLfloat GLfloat kerningScale
Definition: glext.h:9607
const GLvdpauSurfaceNV * surfaces
Definition: glext.h:10202
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:2479
GLuint * sequence_num
Definition: glext.h:10662
const GLuint * buffers
Definition: glext.h:529
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t1
Definition: glext.h:8966
GLsizei const GLchar *const * uniformNames
Definition: glext.h:1344
void *APIENTRYP PFNGLMAPBUFFERPROC(GLenum target, GLenum access)
Definition: glext.h:535
GLsizei dashCount
Definition: glext.h:9585
GLenum GLuint GLsizei propCount
Definition: glext.h:2464
GLenum GLint GLuint mask
Definition: glext.h:652
GLuint GLuint GLchar GLuint counterDescLength
Definition: glext.h:8662
GLuint GLenum GLenum outY
Definition: glext.h:8313
GLfloat angle
Definition: glext.h:6466
GLfixed GLfixed nz
Definition: glext.h:4889
GLenum const void GLbitfield GLsizei GLenum const void GLenum GLuint GLfloat emScale
Definition: glext.h:9575
GLsizei GLboolean transpose
Definition: glext.h:701
GLuint GLuint counterNameLength
Definition: glext.h:8662
GLint GLint GLsizei GLsizei GLsizei depth
Definition: glext.h:112
ptrdiff_t GLintptr
Definition: glext.h:469
GLuint coords
Definition: glext.h:1567
GLenum GLuint GLsizei bufsize
Definition: glext.h:1760
GLuint GLenum texunit
Definition: glext.h:6664
GLuint stencilClearTag
Definition: glext.h:7666
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint GLsizei GLsizei GLsizei srcDepth
Definition: glext.h:2449
const GLint GLsizei nbuffers
Definition: glext.h:10146
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei imageSize
Definition: glext.h:223
GLsizei numCommands
Definition: glext.h:9570
GLuint GLchar GLuint GLuint GLuint * noInstances
Definition: glext.h:8665
GLint namelen
Definition: glext.h:4032
const GLint GLsizei const GLint * bufstreams
Definition: glext.h:10146
GLenum GLenum abOutput
Definition: glext.h:9820
GLsizei GLenum GLsizei GLsizei GLboolean fixedsamplelocations
Definition: glext.h:1488
void(APIENTRY * GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam)
Definition: glext.h:2996
GLint GLenum GLsizei GLsizei GLsizei GLsizei size4d
Definition: glext.h:10911
GLenum GLenum GLsizei const GLuint GLboolean enabled
Definition: glext.h:2478
GLsizei commandStart
Definition: glext.h:9572
GLuint64EXT minPresentTime
Definition: glext.h:9736
GLbitfield GLuint64 timeout
Definition: glext.h:1481
GLsizei GLenum GLboolean sink
Definition: glext.h:3432
const GLuint * arrays
Definition: glext.h:1185
GLint GLint GLint GLint GLint dstY0
Definition: glext.h:1179
GLenum func
Definition: glext.h:652
GLuint writeBuffer
Definition: glext.h:2614
GLbyte GLbyte blue
Definition: glext.h:379
GLintptr external_sync
Definition: glext.h:8421
GLbitfield flags
Definition: glext.h:1478
GLuint GLuint stream
Definition: glext.h:1774
GLenum src
Definition: glext.h:1735
#define APIENTRYP
Definition: glext.h:50
const GLchar * uniformBlockName
Definition: glext.h:1347
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:1944
GLuint GLuint GLfloat weight
Definition: glext.h:9579
GLdouble n
Definition: glext.h:1950
GLint limit
Definition: glext.h:9149
GLint void * img
Definition: glext.h:229
GLhandleARB obj
Definition: glext.h:3919
GLsizei GLsizei GLfloat distance
Definition: glext.h:9615
GLsizei const GLubyte * commands
Definition: glext.h:9570
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
Definition: glext.h:5874
GLuint * samplers
Definition: glext.h:1535
GLuint coord
Definition: glext.h:5871
GLsizei const GLchar *const * varyings
Definition: glext.h:1114
GLfixed GLfixed GLint ustride
Definition: glext.h:4928
ptrdiff_t GLsizeiptr
Definition: glext.h:468
GLboolean invert
Definition: glext.h:222
GLuint * ids
Definition: glext.h:520
GLenum pname
Definition: glext.h:525
GLenum precisiontype
Definition: glext.h:1867
GLfixed GLfixed GLfixed y2
Definition: glext.h:4952
GLuint GLsizei const void GLenum preserve
Definition: glext.h:6000
const GLint const GLsizei GLsizei GLint modestride
Definition: glext.h:8504
GLuint GLuint * names
Definition: glext.h:5325
GLuint num
Definition: glext.h:5325
GLuint buffer
Definition: glext.h:528
GLenum GLint GLint GLint GLint GLuint GLenum dstTarget
Definition: glext.h:2449
GLuint GLsizei bufSize
Definition: glext.h:664
GLenum GLsizeiptr const void * fontData
Definition: glext.h:9628
GLuint uniformIndex
Definition: glext.h:1346
GLint GLint GLint GLint GLint GLint dstX1
Definition: glext.h:1179
GLenum fontTarget
Definition: glext.h:9575
GLfloat GLfloat GLfloat alpha
Definition: glext.h:412
GLsizei coordStart
Definition: glext.h:9573
#define APIENTRY
Definition: glext.h:47
GLenum cap
Definition: glext.h:8336
GLsizei GLuint * groups
Definition: glext.h:5358
unsigned short GLhalfARB
Definition: glext.h:3328
GLint GLint GLsizei GLsizei GLsizei GLint border
Definition: glext.h:112
typedef GLint(APIENTRYP PFNGLGETATTRIBLOCATIONPROC)(GLuint program
GLuint uniformBlockIndex
Definition: glext.h:1348
GLenum GLsizei len
Definition: glext.h:3213
GLuint color
Definition: glext.h:1143
GLsizei const GLuint * textures
Definition: glext.h:2561
GLuint bufferIndex
Definition: glext.h:2159
GLenum GLenum colorFormat
Definition: glext.h:9593
GLenum const void GLbitfield GLsizei numGlyphs
Definition: glext.h:9575
GLuint GLuint GLuint GLuint arg1
Definition: glext.h:5873
GLuint srcPath
Definition: glext.h:9578
GLuint GLenum GLenum GLenum outZ
Definition: glext.h:8313
GLenum GLint ref
Definition: glext.h:652
GLsizei startSegment
Definition: glext.h:9614
GLenum GLenum sfactorAlpha
Definition: glext.h:367
GLuint GLuint GLchar GLuint GLchar GLuint GLuint GLuint GLuint GLuint64 * rawCounterMaxValue
Definition: glext.h:8662
GLenum GLuint GLenum GLuint GLuint numlevels
Definition: glext.h:2471
GLsizei const GLubyte GLsizei numCoords
Definition: glext.h:9570
GLint * numCounters
Definition: glext.h:5359
GLuint GLuint pathB
Definition: glext.h:9579
GLenum condition
Definition: glext.h:9053
GLsizeiptr const void GLenum usage
Definition: glext.h:532
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint worder
Definition: glext.h:11236
GLenum GLint GLint GLint srcY
Definition: glext.h:2449
GLfixed GLfixed GLint GLint GLfixed GLfixed GLint GLint vorder
Definition: glext.h:4928
GLuint GLuint wordIndex
Definition: glext.h:9388
const GLfloat * tc
Definition: glext.h:11562
GLenum GLenum dst
Definition: glext.h:1735
GLfloat bias
Definition: glext.h:7490
GLenum pathNameType
Definition: glext.h:9590
GLuint GLenum option
Definition: glext.h:5581
void(APIENTRY * GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam)
Definition: glext.h:2185
void *APIENTRYP PFNGLMAPBUFFERARBPROC(GLenum target, GLenum access)
Definition: glext.h:4521
GLint level
Definition: glext.h:112
GLenum GLenum GLsizei void GLsizei void * column
Definition: glext.h:2717
const GLuint const GLfixed * priorities
Definition: glext.h:4945
GLsizei const GLenum * attachments
Definition: glext.h:2457
typedef GLboolean(APIENTRYP PFNGLISQUERYPROC)(GLuint id)
GLenum GLint const void GLint ptrstride
Definition: glext.h:8550
GLenum writeTarget
Definition: glext.h:1343
GLsizei GLsizei commandsToDelete
Definition: glext.h:9572
GLint GLint bottom
Definition: glext.h:1947
GLenum GLenum GLsizei void GLsizei columnBufSize
Definition: glext.h:2717
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLenum GLuint GLenum target2
Definition: glext.h:9737
GLsizei GLenum GLenum * types
Definition: glext.h:2481
GLint GLint GLint yoffset
Definition: glext.h:113
GLuint storageBlockIndex
Definition: glext.h:2467
GLuint GLuint GLchar GLuint GLchar GLuint GLuint * counterDataSize
Definition: glext.h:8662
unsigned short GLhalfNV
Definition: glext.h:9237
void *APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC(GLuint buffer)
Definition: glext.h:5900
GLenum srcTarget
Definition: glext.h:2449
GLuint index
Definition: glext.h:655
GLuint * fences
Definition: glext.h:5523
const GLubyte * c
Definition: glext.h:11542
GLfixed GLfixed GLint GLint GLfixed points
Definition: glext.h:4927
GLuint counter
Definition: glext.h:5361
GLenum GLintptr readOffset
Definition: glext.h:1343
GLuint GLuint GLsizei count
Definition: glext.h:111
GLbitfield GLuint program
Definition: glext.h:1873
GLenum GLuint GLenum GLuint minlevel
Definition: glext.h:2471
GLuint * queryHandle
Definition: glext.h:8657
GLuint GLuint GLchar * counterName
Definition: glext.h:8662
GLenum GLint GLint * precision
Definition: glext.h:1867
void(APIENTRY * GLDEBUGPROCAMD)(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar *message, void *userParam)
Definition: glext.h:5144
GLint drawbuffer
Definition: glext.h:1157
GLenum GLsizei GLuint GLint * bytesWritten
Definition: glext.h:5368
GLint GLfixed
Definition: glext.h:4864
GLuint GLchar GLuint GLuint * noCounters
Definition: glext.h:8665
GLbyte ty
Definition: glext.h:6341
const void GLbitfield GLuint GLfloat GLuint baseAndCount[2]
Definition: glext.h:9626
GLenum GLenum GLuint texture
Definition: glext.h:1173
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint GLsizei GLsizei srcHeight
Definition: glext.h:2449
GLsizei const GLuint const GLintptr const GLsizei * strides
Definition: glext.h:2564
GLuint GLint srcX0
Definition: glext.h:2639
const void * getProcAddress
Definition: glext.h:10194
GLenum GLenum GLenum GLenum dstAlpha
Definition: glext.h:1736
GLfixed y1
Definition: glext.h:4952
GLuint GLuint end
Definition: glext.h:111
GLenum internalFormat
Definition: glext.h:5432
GLfloat param
Definition: glext.h:370
GLintptr GLintptr GLsizei maxdrawcount
Definition: glext.h:3476
GLint srcY0
Definition: glext.h:1179
GLfixed GLfixed GLint GLint GLfixed GLfixed GLint vstride
Definition: glext.h:4928
GLsizei GLenum GLenum GLuint GLenum GLsizei GLchar * messageLog
Definition: glext.h:2481
GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg3
Definition: glext.h:5875
GLfloat f
Definition: glext.h:1868
GLenum GLenum GLsizei void * row
Definition: glext.h:2717
GLenum GLuint GLint GLint layer
Definition: glext.h:1181
GLenum GLuint GLsizei const GLenum * props
Definition: glext.h:2464
GLfloat GLfloat GLfloat GLfloat v3
Definition: glext.h:688
GLenum clamp
Definition: glext.h:1116
GLuint shader
Definition: glext.h:654
GLenum GLenum variable
Definition: glext.h:9819
const void * indirect
Definition: glext.h:1737
GLenum GLint GLint GLint GLint GLuint GLenum GLint dstLevel
Definition: glext.h:2449
GLenum dfactorRGB
Definition: glext.h:367
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const void * bits
Definition: glext.h:6545
GLenum modeRGB
Definition: glext.h:1734
GLsizei groupsSize
Definition: glext.h:5358
GLuint GLuint GLuint GLuint GLuint group_size_z
Definition: glext.h:2966
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const void * data
Definition: glext.h:223
uint64_t GLuint64EXT
Definition: glext.h:2865
GLintptr offset
Definition: glext.h:533
GLenum target
Definition: glext.h:1549
GLuint GLsizei const GLchar * label
Definition: glext.h:2484
GLsizei const GLchar *const GLuint * uniformIndices
Definition: glext.h:1344
GLenum const void GLbitfield fontStyle
Definition: glext.h:9575
typedef GLfloat(APIENTRYP PFNGLGETPATHLENGTHNVPROC)(GLuint path
GLenum GLenum textarget
Definition: glext.h:1173
GLuint GLfloat x0
Definition: glext.h:8966
const void * userParam
Definition: glext.h:2480
const GLuint GLenum binaryformat
Definition: glext.h:1866
GLuint * nextQueryId
Definition: glext.h:8661
GLenum GLenum GLenum GLenum GLenum GLenum GLboolean GLboolean cdDotProduct
Definition: glext.h:9820
GLint GLenum GLboolean GLuint relativeoffset
Definition: glext.h:2473
GLuint GLuint GLuint GLuint GLuint arg1Rep
Definition: glext.h:5873
GLenum GLenum GLenum GLenum mapping
Definition: glext.h:9819
GLuint GLsizei GLsizei GLchar * uniformName
Definition: glext.h:1346
GLenum GLsizei const GLuint * textureNames
Definition: glext.h:10196
GLint left
Definition: glext.h:1947
struct __GLsync * GLsync
Definition: glext.h:1369
GLsizei GLenum const void GLuint GLfloat GLfloat GLenum GLfloat * returnedSpacing
Definition: glext.h:9607
GLbyte nx
Definition: glext.h:6082
GLsizei GLsizei GLfloat GLfloat GLfloat GLfloat GLfloat * tangentY
Definition: glext.h:9615
GLint GLsizei GLsizei GLuint baseinstance
Definition: glext.h:2155
GLdouble GLdouble right
Definition: glext.h:6472
GLuint queryNameLength
Definition: glext.h:8665
GLenum modeAlpha
Definition: glext.h:649
GLuint drawFramebuffer
Definition: glext.h:2639
GLint GLint GLint GLint GLint woffset
Definition: glext.h:10912
GLenum genMode
Definition: glext.h:9593
GLenum GLint GLint GLint GLint srcZ
Definition: glext.h:2449
GLuint * monitors
Definition: glext.h:5363
GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2Rep
Definition: glext.h:5874
GLclampd zmax
Definition: glext.h:6450
GLhandleARB attachedObj
Definition: glext.h:3914
GLenum programInterface
Definition: glext.h:2461
GLint GLint * maxActiveCounters
Definition: glext.h:5359
GLdouble GLdouble t
Definition: glext.h:239
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:1104
const GLint const GLsizei GLsizei drawcount
Definition: glext.h:368
const GLuint * renderbuffers
Definition: glext.h:1164
GLsizei const GLfloat * value
Definition: glext.h:693
GLuint GLuint64EXT * capture_time
Definition: glext.h:10662
GLenum GLenum GLsizei rowBufSize
Definition: glext.h:2717
GLsizei const GLchar *const * strings
Definition: glext.h:1875
GLsizei GLsizei GLint GLsizei GLsizei GLboolean fixedSampleLocations
Definition: glext.h:9975
GLenum const void GLbitfield GLsizei GLenum const void GLenum GLuint pathParameterTemplate
Definition: glext.h:9575
GLsizei GLfixed GLfixed GLfixed GLfixed ymove
Definition: glext.h:4903
GLenum coverMode
Definition: glext.h:9596
const GLdouble * v
Definition: glext.h:232
GLenum GLsizeiptr fontSize
Definition: glext.h:9628
GLenum mode
Definition: glext.h:1117
int64_t GLint64
Definition: glext.h:1408
GLuint GLuint num_groups_z
Definition: glext.h:2447
const GLuint * programs
Definition: glext.h:3215
GLuint GLsizei const GLuint const GLintptr * offsets
Definition: glext.h:2560
void *APIENTRYP PFNGLMAPBUFFERRANGEPROC(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
Definition: glext.h:1182
GLuint GLuint dstMask
Definition: glext.h:5873
GLint const GLchar GLint stringlen
Definition: glext.h:4032
GLenum const void GLbitfield GLsizei GLenum const void GLenum handleMissingGlyphs
Definition: glext.h:9575
GLint GLint GLint GLint dstX0
Definition: glext.h:1179
GLint GLint xoffset
Definition: glext.h:113
GLuint GLint GLboolean layered
Definition: glext.h:2160
GLsizei const GLint * locations
Definition: glext.h:10141
const void GLsizei GLsizei maxDrawCount
Definition: glext.h:8795
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint GLdouble GLdouble w2
Definition: glext.h:11236
GLboolean GLboolean GLboolean b
Definition: glext.h:1104
GLenum fillMode
Definition: glext.h:9588
GLuint GLenum transformType
Definition: glext.h:9580
struct _cl_event * event
Definition: glext.h:2917
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLuint GLenum target1
Definition: glext.h:9736
typedef void(APIENTRYP PFNGLDRAWRANGEELEMENTSPROC)(GLenum mode
unsigned int GLhandleARB
Definition: glext.h:3875
ptrdiff_t GLsizeiptrARB
Definition: glext.h:4480
GLenum portion
Definition: glext.h:9819
GLbyte green
Definition: glext.h:379
GLdouble GLdouble GLdouble GLdouble GLdouble zNear
Definition: glext.h:6472
GLuint GLuint GLuint GLuint group_size_y
Definition: glext.h:2966
GLubyte * pattern
Definition: glext.h:2714
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLuint key0
Definition: glext.h:9736
GLenum GLint * range
Definition: glext.h:1867
GLfloat v0
Definition: glext.h:685
GLuint GLfloat GLfloat GLfloat x1
Definition: glext.h:8966
GLenum array
Definition: glext.h:6669
GLenum GLenum GLenum dfactorAlpha
Definition: glext.h:367
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint dstZ
Definition: glext.h:2449
GLenum GLenum GLenum GLenum sumOutput
Definition: glext.h:9820
GLuint firstPathName
Definition: glext.h:9606
GLuint GLuint uniformBlockBinding
Definition: glext.h:1350
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint dstX
Definition: glext.h:2449
GLenum storagetype
Definition: glext.h:8317
GLenum GLsizei GLsizei GLint * values
Definition: glext.h:1484
GLuint GLuint GLuint GLuint GLuint GLuint arg1Mod
Definition: glext.h:5873
GLuint id
Definition: glext.h:523
GLuint GLuint GLchar GLuint GLchar GLuint * counterOffset
Definition: glext.h:8662
GLboolean enable
Definition: glext.h:5365
GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg3Mod
Definition: glext.h:5875
GLuint64EXT GLuint GLuint GLenum GLenum target0
Definition: glext.h:9736
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glext.h:1179
GLsizei GLfixed GLfixed GLfixed xmove
Definition: glext.h:4903
GLsizei const GLfloat * dashArray
Definition: glext.h:9585
GLdouble s
Definition: glext.h:231
GLenum GLenum GLsizei void GLsizei void void * span
Definition: glext.h:2717
GLenum GLenum GLenum input
Definition: glext.h:9819
GLboolean reset
Definition: glext.h:2718
const GLchar * marker
Definition: glext.h:6436
GLuint in
Definition: glext.h:8313
GLuint GLuint GLchar GLuint GLchar * counterDesc
Definition: glext.h:8662
GLint GLint GLsizei width
Definition: glext.h:112
GLenum GLenum GLuint components
Definition: glext.h:8317
GLuint const GLchar * name
Definition: glext.h:655
GLuint GLint GLboolean GLint GLenum access
Definition: glext.h:2160
void *APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC(GLuint buffer, GLenum access)
Definition: glext.h:6565
GLsizei GLsizei GLchar * source
Definition: glext.h:672
GLuint64EXT GLuint GLuint presentDurationId
Definition: glext.h:9736
const GLuint GLenum const void * binary
Definition: glext.h:1866
GLsizeiptr size
Definition: glext.h:532
GLenum GLenum GLenum srcAlpha
Definition: glext.h:1736
GLsizei maxCount
Definition: glext.h:666
GLsizei GLfixed GLfixed yorig
Definition: glext.h:4903
GLint lod
Definition: glext.h:2701
GLsizei coverageSamples
Definition: glext.h:6639
GLuint GLsizei GLsizei * length
Definition: glext.h:664
GLsizei GLsizei numSegments
Definition: glext.h:9614
GLfixed GLfixed x2
Definition: glext.h:4952
GLbyte GLbyte tz
Definition: glext.h:6341
GLsizei GLenum const void GLuint GLfloat advanceScale
Definition: glext.h:9607
GLuint GLfloat GLfloat y0
Definition: glext.h:8966
GLenum const void GLbitfield GLuint firstGlyphIndex
Definition: glext.h:9627
void *APIENTRYP PFNGLMAPTEXTURE2DINTELPROC(GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout)
Definition: glext.h:8607
GLsizei GLsizei GLfloat GLfloat GLfloat GLfloat * tangentX
Definition: glext.h:9615
GLfixed GLfixed GLint GLint uorder
Definition: glext.h:4928
GLuint bindingindex
Definition: glext.h:2476
GLuint GLuint64EXT address
Definition: glext.h:10309
GLenum GLsizeiptr const void GLsizei faceIndex
Definition: glext.h:9628
GLbyte by
Definition: glext.h:6351
typedef GLbitfield(APIENTRYP PFNGLQUERYMATRIXXOESPROC)(GLfixed *mantissa
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint GLdouble GLdouble GLint wstride
Definition: glext.h:11236
GLdouble GLdouble GLdouble GLdouble q
Definition: glext.h:255
uint64_t GLuint64
Definition: glext.h:1407
GLboolean GLuint group
Definition: glext.h:5365
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glext.h:112
GLfloat GLfloat v1
Definition: glext.h:686
GLenum GLsizei const void * pathString
Definition: glext.h:9574
GLenum GLenum GLenum GLenum GLenum componentUsage
Definition: glext.h:9819
GLsizei maxLength
Definition: glext.h:3944
GLenum GLenum GLenum GLenum GLenum GLenum GLboolean abDotProduct
Definition: glext.h:9820
GLsizei GLfixed GLfixed GLfixed GLfixed const GLubyte * bitmap
Definition: glext.h:4903
GLsizei numAttachments
Definition: glext.h:2457
GLsizei GLsizei GLchar * infoLog
Definition: glext.h:669
GLenum GLsizei GLsizei GLsizei GLsizei layers
Definition: glext.h:5432
GLuint res
Definition: glext.h:8310
GLuint interp
Definition: glext.h:5872
GLuint GLuint GLchar GLuint GLchar GLuint GLuint GLuint GLuint * counterDataTypeEnum
Definition: glext.h:8662
char GLcharARB
Definition: glext.h:3877
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat s1
Definition: glext.h:8966
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLuint GLenum GLuint fill1
Definition: glext.h:9736
GLuint GLchar * queryName
Definition: glext.h:8665
GLuint pathA
Definition: glext.h:9579
GLuint GLenum GLenum transform
Definition: glext.h:10445
GLfixed ny
Definition: glext.h:4889
GLuint object
Definition: glext.h:6426
GLuint GLenum swizzle
Definition: glext.h:5871
GLuint framebuffer
Definition: glext.h:1169
const GLuint * pipelines
Definition: glext.h:1877
GLint GLint srcX1
Definition: glext.h:1179
GLdouble GLdouble GLdouble GLdouble top
Definition: glext.h:6472
char GLchar
Definition: glext.h:564
GLbitfield stages
Definition: glext.h:1873
GLenum GLint srcLevel
Definition: glext.h:2449
GLfloat GLfloat p
Definition: glext.h:11539
GLenum const void GLbitfield GLsizei GLenum const void * charcodes
Definition: glext.h:9575
GLenum GLenum severity
Definition: glext.h:2478
GLuint GLsizei const GLuint const GLintptr const GLsizeiptr * sizes
Definition: glext.h:2560
GLuint GLenum GLenum GLenum GLenum outW
Definition: glext.h:8313
GLdouble GLdouble GLdouble r
Definition: glext.h:247
GLsizei GLenum GLenum GLuint GLenum GLsizei * lengths
Definition: glext.h:2481
GLuint64EXT * result
Definition: glext.h:9881
GLsizei GLenum const void GLint basevertex
Definition: glext.h:1473
GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg3Rep
Definition: glext.h:5875
GLint GLint GLint GLint GLint x
Definition: glext.h:114
GLint * exponent
Definition: glext.h:5080
GLuint bindingIndex
Definition: glext.h:9388
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:726
GLsizei uniformCount
Definition: glext.h:1344
GLenum query
Definition: glext.h:2708
GLenum shadertype
Definition: glext.h:1757
GLsizei GLenum * categories
Definition: glext.h:5162
GLuint start
Definition: glext.h:111
GLenum GLenum dstRGB
Definition: glext.h:1736
#define GLAPI
Definition: glext.h:53
GLenum GLuint GLint GLenum face
Definition: glext.h:3301
GLint GLint internalformat
Definition: glext.h:112
const GLfixed * equation
Definition: glext.h:4869
GLuint GLfloat * val
Definition: glext.h:1490
typedef GLuint(APIENTRYP PFNGLCREATEPROGRAMPROC)(void)
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLenum GLuint GLenum GLuint GLenum target3
Definition: glext.h:9737
const GLuint * framebuffers
Definition: glext.h:1170
GLint GLenum GLboolean normalized
Definition: glext.h:741
GLuint srcName
Definition: wglext.h:649
GLuint GLuint GLsizei GLenum type
Definition: glext.h:111
GLenum GLuint origtexture
Definition: glext.h:2471
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint GLdouble w1
Definition: glext.h:11236
GLuint sampler
Definition: glext.h:1538
GLuint num_groups_y
Definition: glext.h:2447
GLenum GLenum GLenum cdOutput
Definition: glext.h:9820
GLint fsize
Definition: glext.h:10446
GLenum GLenum const GLfloat * coeffs
Definition: glext.h:9593


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:17