2 #define __gl_glext_h_ 1
9 ** Copyright 2013-2020 The Khronos Group Inc.
10 ** SPDX-License-Identifier: MIT
12 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
13 ** API Registry. The current version of the Registry, generator scripts
14 ** used to make the header, and the header can be found at
15 ** https://github.com/KhronosGroup/OpenGL-Registry
18 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
19 #ifndef WIN32_LEAN_AND_MEAN
20 #define WIN32_LEAN_AND_MEAN 1
29 #define APIENTRYP APIENTRY *
35 #define GL_GLEXT_VERSION 20230309
37 #include <KHR/khrplatform.h>
39 /* Generated C header for:
41 * Profile: compatibility
42 * Versions considered: .*
43 * Versions emitted: 1\.[2-9]|[234]\.[0-9]
44 * Default extensions included: gl
45 * Additional extensions included: _nomatch_^
46 * Extensions removed: _nomatch_^
49 #ifndef GL_VERSION_1_2
50 #define GL_VERSION_1_2 1
51 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
52 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
53 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
54 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
55 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
56 #define GL_TEXTURE_BINDING_3D 0x806A
57 #define GL_PACK_SKIP_IMAGES 0x806B
58 #define GL_PACK_IMAGE_HEIGHT 0x806C
59 #define GL_UNPACK_SKIP_IMAGES 0x806D
60 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
61 #define GL_TEXTURE_3D 0x806F
62 #define GL_PROXY_TEXTURE_3D 0x8070
63 #define GL_TEXTURE_DEPTH 0x8071
64 #define GL_TEXTURE_WRAP_R 0x8072
65 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
66 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
67 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
68 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
69 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
70 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
71 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
72 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
74 #define GL_BGRA 0x80E1
75 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
76 #define GL_MAX_ELEMENTS_INDICES 0x80E9
77 #define GL_CLAMP_TO_EDGE 0x812F
78 #define GL_TEXTURE_MIN_LOD 0x813A
79 #define GL_TEXTURE_MAX_LOD 0x813B
80 #define GL_TEXTURE_BASE_LEVEL 0x813C
81 #define GL_TEXTURE_MAX_LEVEL 0x813D
82 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
83 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
84 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
85 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
86 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
87 #define GL_RESCALE_NORMAL 0x803A
88 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
89 #define GL_SINGLE_COLOR 0x81F9
90 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
91 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
92 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
93 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);
94 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);
95 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
96 #ifdef GL_GLEXT_PROTOTYPES
97 GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
98 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);
99 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);
100 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
102 #endif /* GL_VERSION_1_2 */
104 #ifndef GL_VERSION_1_3
105 #define GL_VERSION_1_3 1
106 #define GL_TEXTURE0 0x84C0
107 #define GL_TEXTURE1 0x84C1
108 #define GL_TEXTURE2 0x84C2
109 #define GL_TEXTURE3 0x84C3
110 #define GL_TEXTURE4 0x84C4
111 #define GL_TEXTURE5 0x84C5
112 #define GL_TEXTURE6 0x84C6
113 #define GL_TEXTURE7 0x84C7
114 #define GL_TEXTURE8 0x84C8
115 #define GL_TEXTURE9 0x84C9
116 #define GL_TEXTURE10 0x84CA
117 #define GL_TEXTURE11 0x84CB
118 #define GL_TEXTURE12 0x84CC
119 #define GL_TEXTURE13 0x84CD
120 #define GL_TEXTURE14 0x84CE
121 #define GL_TEXTURE15 0x84CF
122 #define GL_TEXTURE16 0x84D0
123 #define GL_TEXTURE17 0x84D1
124 #define GL_TEXTURE18 0x84D2
125 #define GL_TEXTURE19 0x84D3
126 #define GL_TEXTURE20 0x84D4
127 #define GL_TEXTURE21 0x84D5
128 #define GL_TEXTURE22 0x84D6
129 #define GL_TEXTURE23 0x84D7
130 #define GL_TEXTURE24 0x84D8
131 #define GL_TEXTURE25 0x84D9
132 #define GL_TEXTURE26 0x84DA
133 #define GL_TEXTURE27 0x84DB
134 #define GL_TEXTURE28 0x84DC
135 #define GL_TEXTURE29 0x84DD
136 #define GL_TEXTURE30 0x84DE
137 #define GL_TEXTURE31 0x84DF
138 #define GL_ACTIVE_TEXTURE 0x84E0
139 #define GL_MULTISAMPLE 0x809D
140 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
141 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
142 #define GL_SAMPLE_COVERAGE 0x80A0
143 #define GL_SAMPLE_BUFFERS 0x80A8
144 #define GL_SAMPLES 0x80A9
145 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
146 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
147 #define GL_TEXTURE_CUBE_MAP 0x8513
148 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
149 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
150 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
151 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
152 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
153 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
154 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
155 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
156 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
157 #define GL_COMPRESSED_RGB 0x84ED
158 #define GL_COMPRESSED_RGBA 0x84EE
159 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
160 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
161 #define GL_TEXTURE_COMPRESSED 0x86A1
162 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
163 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
164 #define GL_CLAMP_TO_BORDER 0x812D
165 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
166 #define GL_MAX_TEXTURE_UNITS 0x84E2
167 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
168 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
169 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
170 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
171 #define GL_MULTISAMPLE_BIT 0x20000000
172 #define GL_NORMAL_MAP 0x8511
173 #define GL_REFLECTION_MAP 0x8512
174 #define GL_COMPRESSED_ALPHA 0x84E9
175 #define GL_COMPRESSED_LUMINANCE 0x84EA
176 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
177 #define GL_COMPRESSED_INTENSITY 0x84EC
178 #define GL_COMBINE 0x8570
179 #define GL_COMBINE_RGB 0x8571
180 #define GL_COMBINE_ALPHA 0x8572
181 #define GL_SOURCE0_RGB 0x8580
182 #define GL_SOURCE1_RGB 0x8581
183 #define GL_SOURCE2_RGB 0x8582
184 #define GL_SOURCE0_ALPHA 0x8588
185 #define GL_SOURCE1_ALPHA 0x8589
186 #define GL_SOURCE2_ALPHA 0x858A
187 #define GL_OPERAND0_RGB 0x8590
188 #define GL_OPERAND1_RGB 0x8591
189 #define GL_OPERAND2_RGB 0x8592
190 #define GL_OPERAND0_ALPHA 0x8598
191 #define GL_OPERAND1_ALPHA 0x8599
192 #define GL_OPERAND2_ALPHA 0x859A
193 #define GL_RGB_SCALE 0x8573
194 #define GL_ADD_SIGNED 0x8574
195 #define GL_INTERPOLATE 0x8575
196 #define GL_SUBTRACT 0x84E7
197 #define GL_CONSTANT 0x8576
198 #define GL_PRIMARY_COLOR 0x8577
199 #define GL_PREVIOUS 0x8578
200 #define GL_DOT3_RGB 0x86AE
201 #define GL_DOT3_RGBA 0x86AF
202 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
203 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
204 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
205 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
206 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
207 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);
208 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
209 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
210 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
211 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
212 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
213 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
214 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
215 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
216 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
217 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
218 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
219 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
220 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
221 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
222 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
223 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
224 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
225 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
226 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
227 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
228 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
229 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
230 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
231 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
232 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
233 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
234 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
235 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
236 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
237 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
238 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
239 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
240 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
241 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
242 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
243 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
244 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
245 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
246 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
247 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
248 #ifdef GL_GLEXT_PROTOTYPES
249 GLAPI void APIENTRY glActiveTexture (GLenum texture);
250 GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
251 GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
252 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
253 GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
254 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);
255 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
256 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
257 GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
258 GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
259 GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
260 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
261 GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
262 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
263 GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
264 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
265 GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
266 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
267 GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
268 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
269 GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
270 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
271 GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
272 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
273 GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
274 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
275 GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
276 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
277 GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
278 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
279 GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
280 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
281 GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
282 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
283 GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
284 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
285 GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
286 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
287 GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
288 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
289 GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
290 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
291 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
292 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
293 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
294 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
296 #endif /* GL_VERSION_1_3 */
298 #ifndef GL_VERSION_1_4
299 #define GL_VERSION_1_4 1
300 #define GL_BLEND_DST_RGB 0x80C8
301 #define GL_BLEND_SRC_RGB 0x80C9
302 #define GL_BLEND_DST_ALPHA 0x80CA
303 #define GL_BLEND_SRC_ALPHA 0x80CB
304 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
305 #define GL_DEPTH_COMPONENT16 0x81A5
306 #define GL_DEPTH_COMPONENT24 0x81A6
307 #define GL_DEPTH_COMPONENT32 0x81A7
308 #define GL_MIRRORED_REPEAT 0x8370
309 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
310 #define GL_TEXTURE_LOD_BIAS 0x8501
311 #define GL_INCR_WRAP 0x8507
312 #define GL_DECR_WRAP 0x8508
313 #define GL_TEXTURE_DEPTH_SIZE 0x884A
314 #define GL_TEXTURE_COMPARE_MODE 0x884C
315 #define GL_TEXTURE_COMPARE_FUNC 0x884D
316 #define GL_POINT_SIZE_MIN 0x8126
317 #define GL_POINT_SIZE_MAX 0x8127
318 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
319 #define GL_GENERATE_MIPMAP 0x8191
320 #define GL_GENERATE_MIPMAP_HINT 0x8192
321 #define GL_FOG_COORDINATE_SOURCE 0x8450
322 #define GL_FOG_COORDINATE 0x8451
323 #define GL_FRAGMENT_DEPTH 0x8452
324 #define GL_CURRENT_FOG_COORDINATE 0x8453
325 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
326 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
327 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
328 #define GL_FOG_COORDINATE_ARRAY 0x8457
329 #define GL_COLOR_SUM 0x8458
330 #define GL_CURRENT_SECONDARY_COLOR 0x8459
331 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
332 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
333 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
334 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
335 #define GL_SECONDARY_COLOR_ARRAY 0x845E
336 #define GL_TEXTURE_FILTER_CONTROL 0x8500
337 #define GL_DEPTH_TEXTURE_MODE 0x884B
338 #define GL_COMPARE_R_TO_TEXTURE 0x884E
339 #define GL_BLEND_COLOR 0x8005
340 #define GL_BLEND_EQUATION 0x8009
341 #define GL_CONSTANT_COLOR 0x8001
342 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
343 #define GL_CONSTANT_ALPHA 0x8003
344 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
345 #define GL_FUNC_ADD 0x8006
346 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
347 #define GL_FUNC_SUBTRACT 0x800A
348 #define GL_MIN 0x8007
349 #define GL_MAX 0x8008
350 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
351 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
352 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
353 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
354 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
355 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
356 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
357 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
358 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
359 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
360 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
361 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
362 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
363 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
364 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
365 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
366 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
367 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
368 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
369 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
370 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
371 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
372 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
373 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
374 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
375 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
376 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
377 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
378 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
379 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
380 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
381 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
382 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
383 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
384 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
385 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
386 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
387 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
388 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
389 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
390 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
391 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
392 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
393 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
394 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
395 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
396 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
397 #ifdef GL_GLEXT_PROTOTYPES
398 GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
399 GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
400 GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
401 GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
402 GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
403 GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
404 GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
405 GLAPI void APIENTRY glFogCoordf (GLfloat coord);
406 GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
407 GLAPI void APIENTRY glFogCoordd (GLdouble coord);
408 GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
409 GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
410 GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
411 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
412 GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
413 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
414 GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
415 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
416 GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
417 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
418 GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
419 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
420 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
421 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
422 GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
423 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
424 GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
425 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
426 GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
427 GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
428 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
429 GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
430 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
431 GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
432 GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
433 GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
434 GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
435 GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
436 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
437 GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
438 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
439 GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
440 GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
441 GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
442 GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
443 GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
444 GLAPI void APIENTRY glBlendEquation (GLenum mode);
446 #endif /* GL_VERSION_1_4 */
448 #ifndef GL_VERSION_1_5
449 #define GL_VERSION_1_5 1
450 typedef khronos_ssize_t GLsizeiptr;
451 typedef khronos_intptr_t GLintptr;
452 #define GL_BUFFER_SIZE 0x8764
453 #define GL_BUFFER_USAGE 0x8765
454 #define GL_QUERY_COUNTER_BITS 0x8864
455 #define GL_CURRENT_QUERY 0x8865
456 #define GL_QUERY_RESULT 0x8866
457 #define GL_QUERY_RESULT_AVAILABLE 0x8867
458 #define GL_ARRAY_BUFFER 0x8892
459 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
460 #define GL_ARRAY_BUFFER_BINDING 0x8894
461 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
462 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
463 #define GL_READ_ONLY 0x88B8
464 #define GL_WRITE_ONLY 0x88B9
465 #define GL_READ_WRITE 0x88BA
466 #define GL_BUFFER_ACCESS 0x88BB
467 #define GL_BUFFER_MAPPED 0x88BC
468 #define GL_BUFFER_MAP_POINTER 0x88BD
469 #define GL_STREAM_DRAW 0x88E0
470 #define GL_STREAM_READ 0x88E1
471 #define GL_STREAM_COPY 0x88E2
472 #define GL_STATIC_DRAW 0x88E4
473 #define GL_STATIC_READ 0x88E5
474 #define GL_STATIC_COPY 0x88E6
475 #define GL_DYNAMIC_DRAW 0x88E8
476 #define GL_DYNAMIC_READ 0x88E9
477 #define GL_DYNAMIC_COPY 0x88EA
478 #define GL_SAMPLES_PASSED 0x8914
479 #define GL_SRC1_ALPHA 0x8589
480 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
481 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
482 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
483 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
484 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
485 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
486 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
487 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
488 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
489 #define GL_FOG_COORD_SRC 0x8450
490 #define GL_FOG_COORD 0x8451
491 #define GL_CURRENT_FOG_COORD 0x8453
492 #define GL_FOG_COORD_ARRAY_TYPE 0x8454
493 #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
494 #define GL_FOG_COORD_ARRAY_POINTER 0x8456
495 #define GL_FOG_COORD_ARRAY 0x8457
496 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
497 #define GL_SRC0_RGB 0x8580
498 #define GL_SRC1_RGB 0x8581
499 #define GL_SRC2_RGB 0x8582
500 #define GL_SRC0_ALPHA 0x8588
501 #define GL_SRC2_ALPHA 0x858A
502 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
503 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
504 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
505 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
506 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
507 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
508 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
509 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
510 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
511 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
512 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
513 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
514 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
515 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
516 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
517 typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
518 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
519 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
520 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
521 #ifdef GL_GLEXT_PROTOTYPES
522 GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
523 GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
524 GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
525 GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
526 GLAPI void APIENTRY glEndQuery (GLenum target);
527 GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
528 GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
529 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
530 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
531 GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
532 GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
533 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
534 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
535 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
536 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
537 GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
538 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
539 GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
540 GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
542 #endif /* GL_VERSION_1_5 */
544 #ifndef GL_VERSION_2_0
545 #define GL_VERSION_2_0 1
547 #define GL_BLEND_EQUATION_RGB 0x8009
548 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
549 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
550 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
551 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
552 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
553 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
554 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
555 #define GL_STENCIL_BACK_FUNC 0x8800
556 #define GL_STENCIL_BACK_FAIL 0x8801
557 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
558 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
559 #define GL_MAX_DRAW_BUFFERS 0x8824
560 #define GL_DRAW_BUFFER0 0x8825
561 #define GL_DRAW_BUFFER1 0x8826
562 #define GL_DRAW_BUFFER2 0x8827
563 #define GL_DRAW_BUFFER3 0x8828
564 #define GL_DRAW_BUFFER4 0x8829
565 #define GL_DRAW_BUFFER5 0x882A
566 #define GL_DRAW_BUFFER6 0x882B
567 #define GL_DRAW_BUFFER7 0x882C
568 #define GL_DRAW_BUFFER8 0x882D
569 #define GL_DRAW_BUFFER9 0x882E
570 #define GL_DRAW_BUFFER10 0x882F
571 #define GL_DRAW_BUFFER11 0x8830
572 #define GL_DRAW_BUFFER12 0x8831
573 #define GL_DRAW_BUFFER13 0x8832
574 #define GL_DRAW_BUFFER14 0x8833
575 #define GL_DRAW_BUFFER15 0x8834
576 #define GL_BLEND_EQUATION_ALPHA 0x883D
577 #define GL_MAX_VERTEX_ATTRIBS 0x8869
578 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
579 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
580 #define GL_FRAGMENT_SHADER 0x8B30
581 #define GL_VERTEX_SHADER 0x8B31
582 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
583 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
584 #define GL_MAX_VARYING_FLOATS 0x8B4B
585 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
586 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
587 #define GL_SHADER_TYPE 0x8B4F
588 #define GL_FLOAT_VEC2 0x8B50
589 #define GL_FLOAT_VEC3 0x8B51
590 #define GL_FLOAT_VEC4 0x8B52
591 #define GL_INT_VEC2 0x8B53
592 #define GL_INT_VEC3 0x8B54
593 #define GL_INT_VEC4 0x8B55
594 #define GL_BOOL 0x8B56
595 #define GL_BOOL_VEC2 0x8B57
596 #define GL_BOOL_VEC3 0x8B58
597 #define GL_BOOL_VEC4 0x8B59
598 #define GL_FLOAT_MAT2 0x8B5A
599 #define GL_FLOAT_MAT3 0x8B5B
600 #define GL_FLOAT_MAT4 0x8B5C
601 #define GL_SAMPLER_1D 0x8B5D
602 #define GL_SAMPLER_2D 0x8B5E
603 #define GL_SAMPLER_3D 0x8B5F
604 #define GL_SAMPLER_CUBE 0x8B60
605 #define GL_SAMPLER_1D_SHADOW 0x8B61
606 #define GL_SAMPLER_2D_SHADOW 0x8B62
607 #define GL_DELETE_STATUS 0x8B80
608 #define GL_COMPILE_STATUS 0x8B81
609 #define GL_LINK_STATUS 0x8B82
610 #define GL_VALIDATE_STATUS 0x8B83
611 #define GL_INFO_LOG_LENGTH 0x8B84
612 #define GL_ATTACHED_SHADERS 0x8B85
613 #define GL_ACTIVE_UNIFORMS 0x8B86
614 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
615 #define GL_SHADER_SOURCE_LENGTH 0x8B88
616 #define GL_ACTIVE_ATTRIBUTES 0x8B89
617 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
618 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
619 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
620 #define GL_CURRENT_PROGRAM 0x8B8D
621 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
622 #define GL_LOWER_LEFT 0x8CA1
623 #define GL_UPPER_LEFT 0x8CA2
624 #define GL_STENCIL_BACK_REF 0x8CA3
625 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
626 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
627 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
628 #define GL_POINT_SPRITE 0x8861
629 #define GL_COORD_REPLACE 0x8862
630 #define GL_MAX_TEXTURE_COORDS 0x8871
631 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
632 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
633 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
634 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
635 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
636 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
637 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
638 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
639 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
640 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
641 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
642 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
643 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
644 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
645 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
646 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
647 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
648 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
649 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
650 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
651 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
652 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
653 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
654 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
655 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
656 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
657 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
658 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
659 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
660 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
661 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
662 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
663 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
664 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
665 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
666 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
667 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
668 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
669 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
670 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
671 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
672 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
673 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
674 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
675 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
676 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
677 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
678 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
679 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
680 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
681 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
682 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
683 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
684 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
685 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
686 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
687 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
688 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
689 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
690 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
691 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
692 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
693 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
694 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
695 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
696 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
697 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
698 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
699 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
700 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
701 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
702 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
703 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
704 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
705 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
706 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
707 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
708 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
709 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
710 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
711 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
712 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
713 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
714 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
715 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
716 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
717 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
718 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
719 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
720 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
721 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
722 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
723 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
724 #ifdef GL_GLEXT_PROTOTYPES
725 GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
726 GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
727 GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
728 GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
729 GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
730 GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
731 GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
732 GLAPI void APIENTRY glCompileShader (GLuint shader);
733 GLAPI GLuint APIENTRY glCreateProgram (void);
734 GLAPI GLuint APIENTRY glCreateShader (GLenum type);
735 GLAPI void APIENTRY glDeleteProgram (GLuint program);
736 GLAPI void APIENTRY glDeleteShader (GLuint shader);
737 GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
738 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
739 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
740 GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
741 GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
742 GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
743 GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
744 GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
745 GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
746 GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
747 GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
748 GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
749 GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
750 GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
751 GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
752 GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
753 GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
754 GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
755 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
756 GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
757 GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
758 GLAPI void APIENTRY glLinkProgram (GLuint program);
759 GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
760 GLAPI void APIENTRY glUseProgram (GLuint program);
761 GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
762 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
763 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
764 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
765 GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
766 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
767 GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
768 GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
769 GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
770 GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
771 GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
772 GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
773 GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
774 GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
775 GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
776 GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
777 GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
778 GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
779 GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
780 GLAPI void APIENTRY glValidateProgram (GLuint program);
781 GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
782 GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
783 GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
784 GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
785 GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
786 GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
787 GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
788 GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
789 GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
790 GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
791 GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
792 GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
793 GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
794 GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
795 GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
796 GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
797 GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
798 GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
799 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
800 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
801 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
802 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
803 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
804 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
805 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
806 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
807 GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
808 GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
809 GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
810 GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
811 GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
812 GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
813 GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
814 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
815 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
816 GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
817 GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
819 #endif /* GL_VERSION_2_0 */
821 #ifndef GL_VERSION_2_1
822 #define GL_VERSION_2_1 1
823 #define GL_PIXEL_PACK_BUFFER 0x88EB
824 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
825 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
826 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
827 #define GL_FLOAT_MAT2x3 0x8B65
828 #define GL_FLOAT_MAT2x4 0x8B66
829 #define GL_FLOAT_MAT3x2 0x8B67
830 #define GL_FLOAT_MAT3x4 0x8B68
831 #define GL_FLOAT_MAT4x2 0x8B69
832 #define GL_FLOAT_MAT4x3 0x8B6A
833 #define GL_SRGB 0x8C40
834 #define GL_SRGB8 0x8C41
835 #define GL_SRGB_ALPHA 0x8C42
836 #define GL_SRGB8_ALPHA8 0x8C43
837 #define GL_COMPRESSED_SRGB 0x8C48
838 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
839 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
840 #define GL_SLUMINANCE_ALPHA 0x8C44
841 #define GL_SLUMINANCE8_ALPHA8 0x8C45
842 #define GL_SLUMINANCE 0x8C46
843 #define GL_SLUMINANCE8 0x8C47
844 #define GL_COMPRESSED_SLUMINANCE 0x8C4A
845 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
846 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
847 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
848 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
849 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
850 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
851 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
852 #ifdef GL_GLEXT_PROTOTYPES
853 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
854 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
855 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
856 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
857 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
858 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
860 #endif /* GL_VERSION_2_1 */
862 #ifndef GL_VERSION_3_0
863 #define GL_VERSION_3_0 1
864 typedef khronos_uint16_t GLhalf;
865 #define GL_COMPARE_REF_TO_TEXTURE 0x884E
866 #define GL_CLIP_DISTANCE0 0x3000
867 #define GL_CLIP_DISTANCE1 0x3001
868 #define GL_CLIP_DISTANCE2 0x3002
869 #define GL_CLIP_DISTANCE3 0x3003
870 #define GL_CLIP_DISTANCE4 0x3004
871 #define GL_CLIP_DISTANCE5 0x3005
872 #define GL_CLIP_DISTANCE6 0x3006
873 #define GL_CLIP_DISTANCE7 0x3007
874 #define GL_MAX_CLIP_DISTANCES 0x0D32
875 #define GL_MAJOR_VERSION 0x821B
876 #define GL_MINOR_VERSION 0x821C
877 #define GL_NUM_EXTENSIONS 0x821D
878 #define GL_CONTEXT_FLAGS 0x821E
879 #define GL_COMPRESSED_RED 0x8225
880 #define GL_COMPRESSED_RG 0x8226
881 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
882 #define GL_RGBA32F 0x8814
883 #define GL_RGB32F 0x8815
884 #define GL_RGBA16F 0x881A
885 #define GL_RGB16F 0x881B
886 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
887 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
888 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
889 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
890 #define GL_CLAMP_READ_COLOR 0x891C
891 #define GL_FIXED_ONLY 0x891D
892 #define GL_MAX_VARYING_COMPONENTS 0x8B4B
893 #define GL_TEXTURE_1D_ARRAY 0x8C18
894 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
895 #define GL_TEXTURE_2D_ARRAY 0x8C1A
896 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
897 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
898 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
899 #define GL_R11F_G11F_B10F 0x8C3A
900 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
901 #define GL_RGB9_E5 0x8C3D
902 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
903 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
904 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
905 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
906 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
907 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
908 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
909 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
910 #define GL_PRIMITIVES_GENERATED 0x8C87
911 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
912 #define GL_RASTERIZER_DISCARD 0x8C89
913 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
914 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
915 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
916 #define GL_SEPARATE_ATTRIBS 0x8C8D
917 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
918 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
919 #define GL_RGBA32UI 0x8D70
920 #define GL_RGB32UI 0x8D71
921 #define GL_RGBA16UI 0x8D76
922 #define GL_RGB16UI 0x8D77
923 #define GL_RGBA8UI 0x8D7C
924 #define GL_RGB8UI 0x8D7D
925 #define GL_RGBA32I 0x8D82
926 #define GL_RGB32I 0x8D83
927 #define GL_RGBA16I 0x8D88
928 #define GL_RGB16I 0x8D89
929 #define GL_RGBA8I 0x8D8E
930 #define GL_RGB8I 0x8D8F
931 #define GL_RED_INTEGER 0x8D94
932 #define GL_GREEN_INTEGER 0x8D95
933 #define GL_BLUE_INTEGER 0x8D96
934 #define GL_RGB_INTEGER 0x8D98
935 #define GL_RGBA_INTEGER 0x8D99
936 #define GL_BGR_INTEGER 0x8D9A
937 #define GL_BGRA_INTEGER 0x8D9B
938 #define GL_SAMPLER_1D_ARRAY 0x8DC0
939 #define GL_SAMPLER_2D_ARRAY 0x8DC1
940 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
941 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
942 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
943 #define GL_UNSIGNED_INT_VEC2 0x8DC6
944 #define GL_UNSIGNED_INT_VEC3 0x8DC7
945 #define GL_UNSIGNED_INT_VEC4 0x8DC8
946 #define GL_INT_SAMPLER_1D 0x8DC9
947 #define GL_INT_SAMPLER_2D 0x8DCA
948 #define GL_INT_SAMPLER_3D 0x8DCB
949 #define GL_INT_SAMPLER_CUBE 0x8DCC
950 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
951 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
952 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
953 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
954 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
955 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
956 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
957 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
958 #define GL_QUERY_WAIT 0x8E13
959 #define GL_QUERY_NO_WAIT 0x8E14
960 #define GL_QUERY_BY_REGION_WAIT 0x8E15
961 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
962 #define GL_BUFFER_ACCESS_FLAGS 0x911F
963 #define GL_BUFFER_MAP_LENGTH 0x9120
964 #define GL_BUFFER_MAP_OFFSET 0x9121
965 #define GL_DEPTH_COMPONENT32F 0x8CAC
966 #define GL_DEPTH32F_STENCIL8 0x8CAD
967 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
968 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
969 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
970 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
971 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
972 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
973 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
974 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
975 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
976 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
977 #define GL_FRAMEBUFFER_DEFAULT 0x8218
978 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
979 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
980 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
981 #define GL_DEPTH_STENCIL 0x84F9
982 #define GL_UNSIGNED_INT_24_8 0x84FA
983 #define GL_DEPTH24_STENCIL8 0x88F0
984 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
985 #define GL_TEXTURE_RED_TYPE 0x8C10
986 #define GL_TEXTURE_GREEN_TYPE 0x8C11
987 #define GL_TEXTURE_BLUE_TYPE 0x8C12
988 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
989 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
990 #define GL_UNSIGNED_NORMALIZED 0x8C17
991 #define GL_FRAMEBUFFER_BINDING 0x8CA6
992 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
993 #define GL_RENDERBUFFER_BINDING 0x8CA7
994 #define GL_READ_FRAMEBUFFER 0x8CA8
995 #define GL_DRAW_FRAMEBUFFER 0x8CA9
996 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
997 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
998 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
999 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1000 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1001 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1002 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1003 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
1004 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1005 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1006 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1007 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1008 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
1009 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
1010 #define GL_COLOR_ATTACHMENT0 0x8CE0
1011 #define GL_COLOR_ATTACHMENT1 0x8CE1
1012 #define GL_COLOR_ATTACHMENT2 0x8CE2
1013 #define GL_COLOR_ATTACHMENT3 0x8CE3
1014 #define GL_COLOR_ATTACHMENT4 0x8CE4
1015 #define GL_COLOR_ATTACHMENT5 0x8CE5
1016 #define GL_COLOR_ATTACHMENT6 0x8CE6
1017 #define GL_COLOR_ATTACHMENT7 0x8CE7
1018 #define GL_COLOR_ATTACHMENT8 0x8CE8
1019 #define GL_COLOR_ATTACHMENT9 0x8CE9
1020 #define GL_COLOR_ATTACHMENT10 0x8CEA
1021 #define GL_COLOR_ATTACHMENT11 0x8CEB
1022 #define GL_COLOR_ATTACHMENT12 0x8CEC
1023 #define GL_COLOR_ATTACHMENT13 0x8CED
1024 #define GL_COLOR_ATTACHMENT14 0x8CEE
1025 #define GL_COLOR_ATTACHMENT15 0x8CEF
1026 #define GL_COLOR_ATTACHMENT16 0x8CF0
1027 #define GL_COLOR_ATTACHMENT17 0x8CF1
1028 #define GL_COLOR_ATTACHMENT18 0x8CF2
1029 #define GL_COLOR_ATTACHMENT19 0x8CF3
1030 #define GL_COLOR_ATTACHMENT20 0x8CF4
1031 #define GL_COLOR_ATTACHMENT21 0x8CF5
1032 #define GL_COLOR_ATTACHMENT22 0x8CF6
1033 #define GL_COLOR_ATTACHMENT23 0x8CF7
1034 #define GL_COLOR_ATTACHMENT24 0x8CF8
1035 #define GL_COLOR_ATTACHMENT25 0x8CF9
1036 #define GL_COLOR_ATTACHMENT26 0x8CFA
1037 #define GL_COLOR_ATTACHMENT27 0x8CFB
1038 #define GL_COLOR_ATTACHMENT28 0x8CFC
1039 #define GL_COLOR_ATTACHMENT29 0x8CFD
1040 #define GL_COLOR_ATTACHMENT30 0x8CFE
1041 #define GL_COLOR_ATTACHMENT31 0x8CFF
1042 #define GL_DEPTH_ATTACHMENT 0x8D00
1043 #define GL_STENCIL_ATTACHMENT 0x8D20
1044 #define GL_FRAMEBUFFER 0x8D40
1045 #define GL_RENDERBUFFER 0x8D41
1046 #define GL_RENDERBUFFER_WIDTH 0x8D42
1047 #define GL_RENDERBUFFER_HEIGHT 0x8D43
1048 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
1049 #define GL_STENCIL_INDEX1 0x8D46
1050 #define GL_STENCIL_INDEX4 0x8D47
1051 #define GL_STENCIL_INDEX8 0x8D48
1052 #define GL_STENCIL_INDEX16 0x8D49
1053 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
1054 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
1055 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
1056 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
1057 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
1058 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
1059 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
1060 #define GL_MAX_SAMPLES 0x8D57
1061 #define GL_INDEX 0x8222
1062 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
1063 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
1064 #define GL_FRAMEBUFFER_SRGB 0x8DB9
1065 #define GL_HALF_FLOAT 0x140B
1066 #define GL_MAP_READ_BIT 0x0001
1067 #define GL_MAP_WRITE_BIT 0x0002
1068 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
1069 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
1070 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
1071 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
1072 #define GL_COMPRESSED_RED_RGTC1 0x8DBB
1073 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
1074 #define GL_COMPRESSED_RG_RGTC2 0x8DBD
1075 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
1076 #define GL_RG 0x8227
1077 #define GL_RG_INTEGER 0x8228
1078 #define GL_R8 0x8229
1079 #define GL_R16 0x822A
1080 #define GL_RG8 0x822B
1081 #define GL_RG16 0x822C
1082 #define GL_R16F 0x822D
1083 #define GL_R32F 0x822E
1084 #define GL_RG16F 0x822F
1085 #define GL_RG32F 0x8230
1086 #define GL_R8I 0x8231
1087 #define GL_R8UI 0x8232
1088 #define GL_R16I 0x8233
1089 #define GL_R16UI 0x8234
1090 #define GL_R32I 0x8235
1091 #define GL_R32UI 0x8236
1092 #define GL_RG8I 0x8237
1093 #define GL_RG8UI 0x8238
1094 #define GL_RG16I 0x8239
1095 #define GL_RG16UI 0x823A
1096 #define GL_RG32I 0x823B
1097 #define GL_RG32UI 0x823C
1098 #define GL_VERTEX_ARRAY_BINDING 0x85B5
1099 #define GL_CLAMP_VERTEX_COLOR 0x891A
1100 #define GL_CLAMP_FRAGMENT_COLOR 0x891B
1101 #define GL_ALPHA_INTEGER 0x8D97
1102 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1103 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
1104 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
1105 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
1106 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
1107 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
1108 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
1109 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
1110 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1111 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
1112 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1113 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1114 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
1115 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
1116 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
1117 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1118 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
1119 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
1120 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
1121 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
1122 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
1123 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
1124 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
1125 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
1126 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
1127 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1128 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
1129 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
1130 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
1131 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
1132 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
1133 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
1134 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
1135 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
1136 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
1137 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
1138 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
1139 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
1140 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
1141 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
1142 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
1143 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
1144 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
1145 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
1146 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1147 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1148 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1149 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1150 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1151 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
1152 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
1153 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
1154 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
1155 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
1156 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
1157 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1158 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1159 typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
1160 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
1161 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
1162 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
1163 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
1164 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1165 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1166 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
1167 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
1168 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
1169 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
1170 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
1171 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1172 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1173 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1174 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1175 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1176 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
1177 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1178 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1179 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1180 typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1181 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1182 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
1183 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
1184 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
1185 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
1186 #ifdef GL_GLEXT_PROTOTYPES
1187 GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1188 GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
1189 GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
1190 GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
1191 GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
1192 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
1193 GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
1194 GLAPI void APIENTRY glEndTransformFeedback (void);
1195 GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1196 GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
1197 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1198 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1199 GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
1200 GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
1201 GLAPI void APIENTRY glEndConditionalRender (void);
1202 GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1203 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
1204 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
1205 GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
1206 GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
1207 GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
1208 GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
1209 GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
1210 GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
1211 GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
1212 GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1213 GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
1214 GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
1215 GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
1216 GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
1217 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
1218 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
1219 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
1220 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
1221 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
1222 GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
1223 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
1224 GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
1225 GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
1226 GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
1227 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
1228 GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
1229 GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
1230 GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
1231 GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1232 GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
1233 GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
1234 GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
1235 GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
1236 GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
1237 GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
1238 GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
1239 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
1240 GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
1241 GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
1242 GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1243 GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1244 GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
1245 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
1246 GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
1247 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
1248 GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
1249 GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1250 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
1251 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
1252 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
1253 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
1254 GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
1255 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
1256 GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1257 GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1258 GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1259 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1260 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1261 GLAPI void APIENTRY glGenerateMipmap (GLenum target);
1262 GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1263 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1264 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1265 GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1266 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
1267 GLAPI void APIENTRY glBindVertexArray (GLuint array);
1268 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
1269 GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
1270 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
1272 #endif /* GL_VERSION_3_0 */
1274 #ifndef GL_VERSION_3_1
1275 #define GL_VERSION_3_1 1
1276 #define GL_SAMPLER_2D_RECT 0x8B63
1277 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
1278 #define GL_SAMPLER_BUFFER 0x8DC2
1279 #define GL_INT_SAMPLER_2D_RECT 0x8DCD
1280 #define GL_INT_SAMPLER_BUFFER 0x8DD0
1281 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
1282 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
1283 #define GL_TEXTURE_BUFFER 0x8C2A
1284 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
1285 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
1286 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
1287 #define GL_TEXTURE_RECTANGLE 0x84F5
1288 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
1289 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
1290 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
1291 #define GL_R8_SNORM 0x8F94
1292 #define GL_RG8_SNORM 0x8F95
1293 #define GL_RGB8_SNORM 0x8F96
1294 #define GL_RGBA8_SNORM 0x8F97
1295 #define GL_R16_SNORM 0x8F98
1296 #define GL_RG16_SNORM 0x8F99
1297 #define GL_RGB16_SNORM 0x8F9A
1298 #define GL_RGBA16_SNORM 0x8F9B
1299 #define GL_SIGNED_NORMALIZED 0x8F9C
1300 #define GL_PRIMITIVE_RESTART 0x8F9D
1301 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
1302 #define GL_COPY_READ_BUFFER 0x8F36
1303 #define GL_COPY_WRITE_BUFFER 0x8F37
1304 #define GL_UNIFORM_BUFFER 0x8A11
1305 #define GL_UNIFORM_BUFFER_BINDING 0x8A28
1306 #define GL_UNIFORM_BUFFER_START 0x8A29
1307 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
1308 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
1309 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
1310 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
1311 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
1312 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
1313 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
1314 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1315 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
1316 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1317 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1318 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
1319 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
1320 #define GL_UNIFORM_TYPE 0x8A37
1321 #define GL_UNIFORM_SIZE 0x8A38
1322 #define GL_UNIFORM_NAME_LENGTH 0x8A39
1323 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
1324 #define GL_UNIFORM_OFFSET 0x8A3B
1325 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
1326 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
1327 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
1328 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
1329 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
1330 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
1331 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
1332 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1333 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1334 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
1335 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1336 #define GL_INVALID_INDEX 0xFFFFFFFFu
1337 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1338 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1339 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
1340 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
1341 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1342 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1343 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1344 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1345 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
1346 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1347 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1348 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1349 #ifdef GL_GLEXT_PROTOTYPES
1350 GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1351 GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1352 GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
1353 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
1354 GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1355 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1356 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1357 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1358 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
1359 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1360 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1361 GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1363 #endif /* GL_VERSION_3_1 */
1365 #ifndef GL_VERSION_3_2
1366 #define GL_VERSION_3_2 1
1367 typedef struct __GLsync *GLsync;
1368 typedef khronos_uint64_t GLuint64;
1369 typedef khronos_int64_t GLint64;
1370 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
1371 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1372 #define GL_LINES_ADJACENCY 0x000A
1373 #define GL_LINE_STRIP_ADJACENCY 0x000B
1374 #define GL_TRIANGLES_ADJACENCY 0x000C
1375 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
1376 #define GL_PROGRAM_POINT_SIZE 0x8642
1377 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
1378 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
1379 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
1380 #define GL_GEOMETRY_SHADER 0x8DD9
1381 #define GL_GEOMETRY_VERTICES_OUT 0x8916
1382 #define GL_GEOMETRY_INPUT_TYPE 0x8917
1383 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
1384 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
1385 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
1386 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
1387 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
1388 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
1389 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
1390 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
1391 #define GL_CONTEXT_PROFILE_MASK 0x9126
1392 #define GL_DEPTH_CLAMP 0x864F
1393 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
1394 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
1395 #define GL_LAST_VERTEX_CONVENTION 0x8E4E
1396 #define GL_PROVOKING_VERTEX 0x8E4F
1397 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
1398 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
1399 #define GL_OBJECT_TYPE 0x9112
1400 #define GL_SYNC_CONDITION 0x9113
1401 #define GL_SYNC_STATUS 0x9114
1402 #define GL_SYNC_FLAGS 0x9115
1403 #define GL_SYNC_FENCE 0x9116
1404 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
1405 #define GL_UNSIGNALED 0x9118
1406 #define GL_SIGNALED 0x9119
1407 #define GL_ALREADY_SIGNALED 0x911A
1408 #define GL_TIMEOUT_EXPIRED 0x911B
1409 #define GL_CONDITION_SATISFIED 0x911C
1410 #define GL_WAIT_FAILED 0x911D
1411 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
1412 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
1413 #define GL_SAMPLE_POSITION 0x8E50
1414 #define GL_SAMPLE_MASK 0x8E51
1415 #define GL_SAMPLE_MASK_VALUE 0x8E52
1416 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
1417 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
1418 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
1419 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
1420 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
1421 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
1422 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
1423 #define GL_TEXTURE_SAMPLES 0x9106
1424 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
1425 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
1426 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
1427 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
1428 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
1429 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
1430 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
1431 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
1432 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
1433 #define GL_MAX_INTEGER_SAMPLES 0x9110
1434 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1435 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1436 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1437 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1438 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
1439 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
1440 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
1441 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
1442 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1443 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1444 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
1445 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1446 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
1447 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
1448 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1449 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1450 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1451 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
1452 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
1453 #ifdef GL_GLEXT_PROTOTYPES
1454 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1455 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1456 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1457 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1458 GLAPI void APIENTRY glProvokingVertex (GLenum mode);
1459 GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
1460 GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
1461 GLAPI void APIENTRY glDeleteSync (GLsync sync);
1462 GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1463 GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1464 GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
1465 GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1466 GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
1467 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
1468 GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
1469 GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1470 GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1471 GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
1472 GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
1474 #endif /* GL_VERSION_3_2 */
1476 #ifndef GL_VERSION_3_3
1477 #define GL_VERSION_3_3 1
1478 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
1479 #define GL_SRC1_COLOR 0x88F9
1480 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
1481 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
1482 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
1483 #define GL_ANY_SAMPLES_PASSED 0x8C2F
1484 #define GL_SAMPLER_BINDING 0x8919
1485 #define GL_RGB10_A2UI 0x906F
1486 #define GL_TEXTURE_SWIZZLE_R 0x8E42
1487 #define GL_TEXTURE_SWIZZLE_G 0x8E43
1488 #define GL_TEXTURE_SWIZZLE_B 0x8E44
1489 #define GL_TEXTURE_SWIZZLE_A 0x8E45
1490 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
1491 #define GL_TIME_ELAPSED 0x88BF
1492 #define GL_TIMESTAMP 0x8E28
1493 #define GL_INT_2_10_10_10_REV 0x8D9F
1494 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1495 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
1496 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
1497 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
1498 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
1499 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
1500 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
1501 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1502 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
1503 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
1504 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1505 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
1506 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1507 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1508 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
1509 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
1510 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
1511 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
1512 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
1513 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
1514 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1515 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1516 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1517 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1518 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1519 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1520 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1521 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1522 typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
1523 typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
1524 typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
1525 typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
1526 typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
1527 typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
1528 typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
1529 typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
1530 typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
1531 typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
1532 typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
1533 typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
1534 typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
1535 typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
1536 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
1537 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1538 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
1539 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1540 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
1541 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1542 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
1543 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1544 typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
1545 typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
1546 typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
1547 typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1548 typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
1549 typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
1550 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
1551 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1552 #ifdef GL_GLEXT_PROTOTYPES
1553 GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1554 GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
1555 GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
1556 GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
1557 GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
1558 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
1559 GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
1560 GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
1561 GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
1562 GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
1563 GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
1564 GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
1565 GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
1566 GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
1567 GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
1568 GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
1569 GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
1570 GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
1571 GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
1572 GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
1573 GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1574 GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1575 GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1576 GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1577 GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1578 GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1579 GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1580 GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1581 GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
1582 GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
1583 GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
1584 GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
1585 GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
1586 GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
1587 GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
1588 GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
1589 GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
1590 GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
1591 GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
1592 GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
1593 GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
1594 GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
1595 GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
1596 GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
1597 GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
1598 GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
1599 GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
1600 GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
1601 GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
1602 GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
1603 GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
1604 GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
1605 GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
1606 GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
1607 GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
1608 GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
1609 GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
1610 GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
1612 #endif /* GL_VERSION_3_3 */
1614 #ifndef GL_VERSION_4_0
1615 #define GL_VERSION_4_0 1
1616 #define GL_SAMPLE_SHADING 0x8C36
1617 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
1618 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
1619 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
1620 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
1621 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
1622 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
1623 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
1624 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
1625 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
1626 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
1627 #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
1628 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
1629 #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
1630 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
1631 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
1632 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
1633 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
1634 #define GL_MAX_VERTEX_STREAMS 0x8E71
1635 #define GL_DOUBLE_VEC2 0x8FFC
1636 #define GL_DOUBLE_VEC3 0x8FFD
1637 #define GL_DOUBLE_VEC4 0x8FFE
1638 #define GL_DOUBLE_MAT2 0x8F46
1639 #define GL_DOUBLE_MAT3 0x8F47
1640 #define GL_DOUBLE_MAT4 0x8F48
1641 #define GL_DOUBLE_MAT2x3 0x8F49
1642 #define GL_DOUBLE_MAT2x4 0x8F4A
1643 #define GL_DOUBLE_MAT3x2 0x8F4B
1644 #define GL_DOUBLE_MAT3x4 0x8F4C
1645 #define GL_DOUBLE_MAT4x2 0x8F4D
1646 #define GL_DOUBLE_MAT4x3 0x8F4E
1647 #define GL_ACTIVE_SUBROUTINES 0x8DE5
1648 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
1649 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
1650 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
1651 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
1652 #define GL_MAX_SUBROUTINES 0x8DE7
1653 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
1654 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
1655 #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
1656 #define GL_PATCHES 0x000E
1657 #define GL_PATCH_VERTICES 0x8E72
1658 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
1659 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
1660 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
1661 #define GL_TESS_GEN_MODE 0x8E76
1662 #define GL_TESS_GEN_SPACING 0x8E77
1663 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
1664 #define GL_TESS_GEN_POINT_MODE 0x8E79
1665 #define GL_ISOLINES 0x8E7A
1666 #define GL_FRACTIONAL_ODD 0x8E7B
1667 #define GL_FRACTIONAL_EVEN 0x8E7C
1668 #define GL_MAX_PATCH_VERTICES 0x8E7D
1669 #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
1670 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
1671 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
1672 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
1673 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
1674 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
1675 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
1676 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
1677 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
1678 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
1679 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
1680 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
1681 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
1682 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
1683 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
1684 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
1685 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
1686 #define GL_TESS_EVALUATION_SHADER 0x8E87
1687 #define GL_TESS_CONTROL_SHADER 0x8E88
1688 #define GL_TRANSFORM_FEEDBACK 0x8E22
1689 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
1690 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
1691 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
1692 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
1693 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
1694 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
1695 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1696 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
1697 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1698 typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
1699 typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
1700 typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
1701 typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
1702 typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
1703 typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1704 typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1705 typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1706 typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1707 typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1708 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1709 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1710 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1711 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1712 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1713 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1714 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1715 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1716 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1717 typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
1718 typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1719 typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1720 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1721 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1722 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1723 typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
1724 typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
1725 typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1726 typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
1727 typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
1728 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
1729 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
1730 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
1731 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
1732 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
1733 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
1734 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
1735 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
1736 typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
1737 typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
1738 typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
1739 #ifdef GL_GLEXT_PROTOTYPES
1740 GLAPI void APIENTRY glMinSampleShading (GLfloat value);
1741 GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
1742 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1743 GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
1744 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1745 GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
1746 GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
1747 GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
1748 GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
1749 GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
1750 GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1751 GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
1752 GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
1753 GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
1754 GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
1755 GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1756 GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1757 GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1758 GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1759 GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1760 GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1761 GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1762 GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1763 GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1764 GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
1765 GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
1766 GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
1767 GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1768 GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1769 GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1770 GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
1771 GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
1772 GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1773 GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
1774 GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
1775 GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
1776 GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
1777 GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
1778 GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
1779 GLAPI void APIENTRY glPauseTransformFeedback (void);
1780 GLAPI void APIENTRY glResumeTransformFeedback (void);
1781 GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
1782 GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
1783 GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
1784 GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
1785 GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
1787 #endif /* GL_VERSION_4_0 */
1789 #ifndef GL_VERSION_4_1
1790 #define GL_VERSION_4_1 1
1791 #define GL_FIXED 0x140C
1792 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
1793 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
1794 #define GL_LOW_FLOAT 0x8DF0
1795 #define GL_MEDIUM_FLOAT 0x8DF1
1796 #define GL_HIGH_FLOAT 0x8DF2
1797 #define GL_LOW_INT 0x8DF3
1798 #define GL_MEDIUM_INT 0x8DF4
1799 #define GL_HIGH_INT 0x8DF5
1800 #define GL_SHADER_COMPILER 0x8DFA
1801 #define GL_SHADER_BINARY_FORMATS 0x8DF8
1802 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
1803 #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
1804 #define GL_MAX_VARYING_VECTORS 0x8DFC
1805 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
1806 #define GL_RGB565 0x8D62
1807 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
1808 #define GL_PROGRAM_BINARY_LENGTH 0x8741
1809 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
1810 #define GL_PROGRAM_BINARY_FORMATS 0x87FF
1811 #define GL_VERTEX_SHADER_BIT 0x00000001
1812 #define GL_FRAGMENT_SHADER_BIT 0x00000002
1813 #define GL_GEOMETRY_SHADER_BIT 0x00000004
1814 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
1815 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
1816 #define GL_ALL_SHADER_BITS 0xFFFFFFFF
1817 #define GL_PROGRAM_SEPARABLE 0x8258
1818 #define GL_ACTIVE_PROGRAM 0x8259
1819 #define GL_PROGRAM_PIPELINE_BINDING 0x825A
1820 #define GL_MAX_VIEWPORTS 0x825B
1821 #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
1822 #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
1823 #define GL_LAYER_PROVOKING_VERTEX 0x825E
1824 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
1825 #define GL_UNDEFINED_VERTEX 0x8260
1826 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
1827 typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
1828 typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1829 typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
1830 typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
1831 typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1832 typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1833 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
1834 typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1835 typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
1836 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
1837 typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
1838 typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
1839 typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
1840 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
1841 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
1842 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
1843 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1844 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
1845 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1846 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
1847 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1848 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
1849 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1850 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1851 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1852 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1853 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1854 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1855 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1856 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1857 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1858 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1859 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1860 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1861 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1862 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
1863 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1864 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1865 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1866 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1867 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1868 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1869 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1870 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
1871 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1872 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1873 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1874 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1875 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1876 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1877 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1878 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1879 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1880 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1881 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1882 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1883 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1884 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1885 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1886 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1887 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1888 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1889 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1890 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1891 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1892 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
1893 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1894 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
1895 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
1896 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1897 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1898 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
1899 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
1900 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
1901 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
1902 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1903 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
1904 typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
1905 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
1906 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
1907 typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
1908 typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
1909 typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
1910 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
1911 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
1912 typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
1913 typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
1914 #ifdef GL_GLEXT_PROTOTYPES
1915 GLAPI void APIENTRY glReleaseShaderCompiler (void);
1916 GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
1917 GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1918 GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
1919 GLAPI void APIENTRY glClearDepthf (GLfloat d);
1920 GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1921 GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1922 GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
1923 GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
1924 GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
1925 GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
1926 GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
1927 GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
1928 GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
1929 GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
1930 GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
1931 GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
1932 GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1933 GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
1934 GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1935 GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
1936 GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1937 GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
1938 GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1939 GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
1940 GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1941 GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1942 GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1943 GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1944 GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1945 GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
1946 GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1947 GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1948 GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1949 GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1950 GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1951 GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
1952 GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1953 GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1954 GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1955 GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1956 GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1957 GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1958 GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1959 GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
1960 GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1961 GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1962 GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1963 GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1964 GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1965 GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1966 GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1967 GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1968 GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1969 GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1970 GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1971 GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1972 GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1973 GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1974 GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1975 GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1976 GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1977 GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1978 GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1979 GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1980 GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1981 GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
1982 GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1983 GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
1984 GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
1985 GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1986 GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1987 GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
1988 GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
1989 GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
1990 GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
1991 GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1992 GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
1993 GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
1994 GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
1995 GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
1996 GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
1997 GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
1998 GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
1999 GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
2000 GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
2001 GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
2002 GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
2004 #endif /* GL_VERSION_4_1 */
2006 #ifndef GL_VERSION_4_2
2007 #define GL_VERSION_4_2 1
2008 #define GL_COPY_READ_BUFFER_BINDING 0x8F36
2009 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2010 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
2011 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
2012 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
2013 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2014 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
2015 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
2016 #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
2017 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
2018 #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
2019 #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
2020 #define GL_NUM_SAMPLE_COUNTS 0x9380
2021 #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
2022 #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
2023 #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
2024 #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
2025 #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
2026 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2027 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2028 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2029 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2030 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2031 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2032 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2033 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2034 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2035 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2036 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2037 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2038 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2039 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2040 #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
2041 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2042 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2043 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
2044 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
2045 #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
2046 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2047 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2048 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
2049 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2050 #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
2051 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2052 #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
2053 #define GL_UNIFORM_BARRIER_BIT 0x00000004
2054 #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
2055 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2056 #define GL_COMMAND_BARRIER_BIT 0x00000040
2057 #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
2058 #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
2059 #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
2060 #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
2061 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2062 #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
2063 #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
2064 #define GL_MAX_IMAGE_UNITS 0x8F38
2065 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2066 #define GL_IMAGE_BINDING_NAME 0x8F3A
2067 #define GL_IMAGE_BINDING_LEVEL 0x8F3B
2068 #define GL_IMAGE_BINDING_LAYERED 0x8F3C
2069 #define GL_IMAGE_BINDING_LAYER 0x8F3D
2070 #define GL_IMAGE_BINDING_ACCESS 0x8F3E
2071 #define GL_IMAGE_1D 0x904C
2072 #define GL_IMAGE_2D 0x904D
2073 #define GL_IMAGE_3D 0x904E
2074 #define GL_IMAGE_2D_RECT 0x904F
2075 #define GL_IMAGE_CUBE 0x9050
2076 #define GL_IMAGE_BUFFER 0x9051
2077 #define GL_IMAGE_1D_ARRAY 0x9052
2078 #define GL_IMAGE_2D_ARRAY 0x9053
2079 #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
2080 #define GL_IMAGE_2D_MULTISAMPLE 0x9055
2081 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
2082 #define GL_INT_IMAGE_1D 0x9057
2083 #define GL_INT_IMAGE_2D 0x9058
2084 #define GL_INT_IMAGE_3D 0x9059
2085 #define GL_INT_IMAGE_2D_RECT 0x905A
2086 #define GL_INT_IMAGE_CUBE 0x905B
2087 #define GL_INT_IMAGE_BUFFER 0x905C
2088 #define GL_INT_IMAGE_1D_ARRAY 0x905D
2089 #define GL_INT_IMAGE_2D_ARRAY 0x905E
2090 #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
2091 #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
2092 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2093 #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
2094 #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
2095 #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
2096 #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
2097 #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
2098 #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
2099 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
2100 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
2101 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2102 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2103 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2104 #define GL_MAX_IMAGE_SAMPLES 0x906D
2105 #define GL_IMAGE_BINDING_FORMAT 0x906E
2106 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2107 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2108 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2109 #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
2110 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2111 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2112 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
2113 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
2114 #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
2115 #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
2116 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
2117 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
2118 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
2119 #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
2120 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2121 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2122 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2123 typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
2124 typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2125 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2126 typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
2127 typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2128 typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2129 typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2130 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
2131 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2132 #ifdef GL_GLEXT_PROTOTYPES
2133 GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2134 GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2135 GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2136 GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
2137 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2138 GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2139 GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
2140 GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2141 GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2142 GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2143 GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
2144 GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2146 #endif /* GL_VERSION_4_2 */
2148 #ifndef GL_VERSION_4_3
2149 #define GL_VERSION_4_3 1
2150 typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
2151 #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
2152 #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
2153 #define GL_COMPRESSED_RGB8_ETC2 0x9274
2154 #define GL_COMPRESSED_SRGB8_ETC2 0x9275
2155 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2156 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2157 #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
2158 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2159 #define GL_COMPRESSED_R11_EAC 0x9270
2160 #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
2161 #define GL_COMPRESSED_RG11_EAC 0x9272
2162 #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
2163 #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
2164 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2165 #define GL_MAX_ELEMENT_INDEX 0x8D6B
2166 #define GL_COMPUTE_SHADER 0x91B9
2167 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
2168 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2169 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
2170 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2171 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2172 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2173 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
2174 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2175 #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
2176 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
2177 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
2178 #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
2179 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2180 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2181 #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
2182 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2183 #define GL_COMPUTE_SHADER_BIT 0x00000020
2184 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
2185 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2186 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
2187 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
2188 #define GL_DEBUG_SOURCE_API 0x8246
2189 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
2190 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
2191 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
2192 #define GL_DEBUG_SOURCE_APPLICATION 0x824A
2193 #define GL_DEBUG_SOURCE_OTHER 0x824B
2194 #define GL_DEBUG_TYPE_ERROR 0x824C
2195 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2196 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
2197 #define GL_DEBUG_TYPE_PORTABILITY 0x824F
2198 #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
2199 #define GL_DEBUG_TYPE_OTHER 0x8251
2200 #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
2201 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
2202 #define GL_DEBUG_LOGGED_MESSAGES 0x9145
2203 #define GL_DEBUG_SEVERITY_HIGH 0x9146
2204 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
2205 #define GL_DEBUG_SEVERITY_LOW 0x9148
2206 #define GL_DEBUG_TYPE_MARKER 0x8268
2207 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
2208 #define GL_DEBUG_TYPE_POP_GROUP 0x826A
2209 #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
2210 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
2211 #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
2212 #define GL_BUFFER 0x82E0
2213 #define GL_SHADER 0x82E1
2214 #define GL_PROGRAM 0x82E2
2215 #define GL_QUERY 0x82E3
2216 #define GL_PROGRAM_PIPELINE 0x82E4
2217 #define GL_SAMPLER 0x82E6
2218 #define GL_MAX_LABEL_LENGTH 0x82E8
2219 #define GL_DEBUG_OUTPUT 0x92E0
2220 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
2221 #define GL_MAX_UNIFORM_LOCATIONS 0x826E
2222 #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
2223 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
2224 #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
2225 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
2226 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2227 #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
2228 #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
2229 #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
2230 #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
2231 #define GL_INTERNALFORMAT_SUPPORTED 0x826F
2232 #define GL_INTERNALFORMAT_PREFERRED 0x8270
2233 #define GL_INTERNALFORMAT_RED_SIZE 0x8271
2234 #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
2235 #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
2236 #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
2237 #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
2238 #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
2239 #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
2240 #define GL_INTERNALFORMAT_RED_TYPE 0x8278
2241 #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
2242 #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
2243 #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
2244 #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
2245 #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
2246 #define GL_MAX_WIDTH 0x827E
2247 #define GL_MAX_HEIGHT 0x827F
2248 #define GL_MAX_DEPTH 0x8280
2249 #define GL_MAX_LAYERS 0x8281
2250 #define GL_MAX_COMBINED_DIMENSIONS 0x8282
2251 #define GL_COLOR_COMPONENTS 0x8283
2252 #define GL_DEPTH_COMPONENTS 0x8284
2253 #define GL_STENCIL_COMPONENTS 0x8285
2254 #define GL_COLOR_RENDERABLE 0x8286
2255 #define GL_DEPTH_RENDERABLE 0x8287
2256 #define GL_STENCIL_RENDERABLE 0x8288
2257 #define GL_FRAMEBUFFER_RENDERABLE 0x8289
2258 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2259 #define GL_FRAMEBUFFER_BLEND 0x828B
2260 #define GL_READ_PIXELS 0x828C
2261 #define GL_READ_PIXELS_FORMAT 0x828D
2262 #define GL_READ_PIXELS_TYPE 0x828E
2263 #define GL_TEXTURE_IMAGE_FORMAT 0x828F
2264 #define GL_TEXTURE_IMAGE_TYPE 0x8290
2265 #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
2266 #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
2267 #define GL_MIPMAP 0x8293
2268 #define GL_MANUAL_GENERATE_MIPMAP 0x8294
2269 #define GL_AUTO_GENERATE_MIPMAP 0x8295
2270 #define GL_COLOR_ENCODING 0x8296
2271 #define GL_SRGB_READ 0x8297
2272 #define GL_SRGB_WRITE 0x8298
2273 #define GL_FILTER 0x829A
2274 #define GL_VERTEX_TEXTURE 0x829B
2275 #define GL_TESS_CONTROL_TEXTURE 0x829C
2276 #define GL_TESS_EVALUATION_TEXTURE 0x829D
2277 #define GL_GEOMETRY_TEXTURE 0x829E
2278 #define GL_FRAGMENT_TEXTURE 0x829F
2279 #define GL_COMPUTE_TEXTURE 0x82A0
2280 #define GL_TEXTURE_SHADOW 0x82A1
2281 #define GL_TEXTURE_GATHER 0x82A2
2282 #define GL_TEXTURE_GATHER_SHADOW 0x82A3
2283 #define GL_SHADER_IMAGE_LOAD 0x82A4
2284 #define GL_SHADER_IMAGE_STORE 0x82A5
2285 #define GL_SHADER_IMAGE_ATOMIC 0x82A6
2286 #define GL_IMAGE_TEXEL_SIZE 0x82A7
2287 #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
2288 #define GL_IMAGE_PIXEL_FORMAT 0x82A9
2289 #define GL_IMAGE_PIXEL_TYPE 0x82AA
2290 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2291 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2292 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2293 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2294 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2295 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2296 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
2297 #define GL_CLEAR_BUFFER 0x82B4
2298 #define GL_TEXTURE_VIEW 0x82B5
2299 #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
2300 #define GL_FULL_SUPPORT 0x82B7
2301 #define GL_CAVEAT_SUPPORT 0x82B8
2302 #define GL_IMAGE_CLASS_4_X_32 0x82B9
2303 #define GL_IMAGE_CLASS_2_X_32 0x82BA
2304 #define GL_IMAGE_CLASS_1_X_32 0x82BB
2305 #define GL_IMAGE_CLASS_4_X_16 0x82BC
2306 #define GL_IMAGE_CLASS_2_X_16 0x82BD
2307 #define GL_IMAGE_CLASS_1_X_16 0x82BE
2308 #define GL_IMAGE_CLASS_4_X_8 0x82BF
2309 #define GL_IMAGE_CLASS_2_X_8 0x82C0
2310 #define GL_IMAGE_CLASS_1_X_8 0x82C1
2311 #define GL_IMAGE_CLASS_11_11_10 0x82C2
2312 #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
2313 #define GL_VIEW_CLASS_128_BITS 0x82C4
2314 #define GL_VIEW_CLASS_96_BITS 0x82C5
2315 #define GL_VIEW_CLASS_64_BITS 0x82C6
2316 #define GL_VIEW_CLASS_48_BITS 0x82C7
2317 #define GL_VIEW_CLASS_32_BITS 0x82C8
2318 #define GL_VIEW_CLASS_24_BITS 0x82C9
2319 #define GL_VIEW_CLASS_16_BITS 0x82CA
2320 #define GL_VIEW_CLASS_8_BITS 0x82CB
2321 #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
2322 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
2323 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
2324 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
2325 #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
2326 #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
2327 #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
2328 #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
2329 #define GL_UNIFORM 0x92E1
2330 #define GL_UNIFORM_BLOCK 0x92E2
2331 #define GL_PROGRAM_INPUT 0x92E3
2332 #define GL_PROGRAM_OUTPUT 0x92E4
2333 #define GL_BUFFER_VARIABLE 0x92E5
2334 #define GL_SHADER_STORAGE_BLOCK 0x92E6
2335 #define GL_VERTEX_SUBROUTINE 0x92E8
2336 #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
2337 #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
2338 #define GL_GEOMETRY_SUBROUTINE 0x92EB
2339 #define GL_FRAGMENT_SUBROUTINE 0x92EC
2340 #define GL_COMPUTE_SUBROUTINE 0x92ED
2341 #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
2342 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2343 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2344 #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
2345 #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
2346 #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
2347 #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
2348 #define GL_ACTIVE_RESOURCES 0x92F5
2349 #define GL_MAX_NAME_LENGTH 0x92F6
2350 #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
2351 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2352 #define GL_NAME_LENGTH 0x92F9
2353 #define GL_TYPE 0x92FA
2354 #define GL_ARRAY_SIZE 0x92FB
2355 #define GL_OFFSET 0x92FC
2356 #define GL_BLOCK_INDEX 0x92FD
2357 #define GL_ARRAY_STRIDE 0x92FE
2358 #define GL_MATRIX_STRIDE 0x92FF
2359 #define GL_IS_ROW_MAJOR 0x9300
2360 #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
2361 #define GL_BUFFER_BINDING 0x9302
2362 #define GL_BUFFER_DATA_SIZE 0x9303
2363 #define GL_NUM_ACTIVE_VARIABLES 0x9304
2364 #define GL_ACTIVE_VARIABLES 0x9305
2365 #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
2366 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2367 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
2368 #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
2369 #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
2370 #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
2371 #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
2372 #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
2373 #define GL_LOCATION 0x930E
2374 #define GL_LOCATION_INDEX 0x930F
2375 #define GL_IS_PER_PATCH 0x92E7
2376 #define GL_SHADER_STORAGE_BUFFER 0x90D2
2377 #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
2378 #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
2379 #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
2380 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
2381 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
2382 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
2383 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
2384 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
2385 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
2386 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
2387 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
2388 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
2389 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
2390 #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
2391 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
2392 #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
2393 #define GL_TEXTURE_BUFFER_OFFSET 0x919D
2394 #define GL_TEXTURE_BUFFER_SIZE 0x919E
2395 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
2396 #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
2397 #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
2398 #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
2399 #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
2400 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
2401 #define GL_VERTEX_ATTRIB_BINDING 0x82D4
2402 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
2403 #define GL_VERTEX_BINDING_DIVISOR 0x82D6
2404 #define GL_VERTEX_BINDING_OFFSET 0x82D7
2405 #define GL_VERTEX_BINDING_STRIDE 0x82D8
2406 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2407 #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
2408 #define GL_VERTEX_BINDING_BUFFER 0x8F4F
2409 #define GL_DISPLAY_LIST 0x82E7
2410 typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2411 typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2412 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2413 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
2414 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
2415 typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
2416 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2417 typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
2418 typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2419 typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
2420 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2421 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
2422 typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2423 typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2424 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2425 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2426 typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2427 typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2428 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2429 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
2430 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2431 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2432 typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2433 typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2434 typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2435 typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2436 typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2437 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2438 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2439 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2440 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2441 typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
2442 typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
2443 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2444 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2445 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
2446 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2447 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2448 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
2449 typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2450 typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2451 typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
2452 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2453 #ifdef GL_GLEXT_PROTOTYPES
2454 GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2455 GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2456 GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2457 GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
2458 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);
2459 GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
2460 GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
2461 GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
2462 GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2463 GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
2464 GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
2465 GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
2466 GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2467 GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2468 GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2469 GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2470 GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2471 GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
2472 GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2473 GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
2474 GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
2475 GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
2476 GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2477 GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2478 GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2479 GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2480 GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2481 GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2482 GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2483 GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2484 GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2485 GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
2486 GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
2487 GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2488 GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2489 GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
2490 GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2491 GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2492 GLAPI void APIENTRY glPopDebugGroup (void);
2493 GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2494 GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2495 GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
2496 GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2498 #endif /* GL_VERSION_4_3 */
2500 #ifndef GL_VERSION_4_4
2501 #define GL_VERSION_4_4 1
2502 #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
2503 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2504 #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
2505 #define GL_MAP_PERSISTENT_BIT 0x0040
2506 #define GL_MAP_COHERENT_BIT 0x0080
2507 #define GL_DYNAMIC_STORAGE_BIT 0x0100
2508 #define GL_CLIENT_STORAGE_BIT 0x0200
2509 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
2510 #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
2511 #define GL_BUFFER_STORAGE_FLAGS 0x8220
2512 #define GL_CLEAR_TEXTURE 0x9365
2513 #define GL_LOCATION_COMPONENT 0x934A
2514 #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
2515 #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
2516 #define GL_QUERY_BUFFER 0x9192
2517 #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
2518 #define GL_QUERY_BUFFER_BINDING 0x9193
2519 #define GL_QUERY_RESULT_NO_WAIT 0x9194
2520 #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
2521 typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2522 typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2523 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);
2524 typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2525 typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2526 typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2527 typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
2528 typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2529 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2530 #ifdef GL_GLEXT_PROTOTYPES
2531 GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2532 GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2533 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);
2534 GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2535 GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2536 GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
2537 GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
2538 GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
2539 GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2541 #endif /* GL_VERSION_4_4 */
2543 #ifndef GL_VERSION_4_5
2544 #define GL_VERSION_4_5 1
2545 #define GL_CONTEXT_LOST 0x0507
2546 #define GL_NEGATIVE_ONE_TO_ONE 0x935E
2547 #define GL_ZERO_TO_ONE 0x935F
2548 #define GL_CLIP_ORIGIN 0x935C
2549 #define GL_CLIP_DEPTH_MODE 0x935D
2550 #define GL_QUERY_WAIT_INVERTED 0x8E17
2551 #define GL_QUERY_NO_WAIT_INVERTED 0x8E18
2552 #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
2553 #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
2554 #define GL_MAX_CULL_DISTANCES 0x82F9
2555 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
2556 #define GL_TEXTURE_TARGET 0x1006
2557 #define GL_QUERY_TARGET 0x82EA
2558 #define GL_GUILTY_CONTEXT_RESET 0x8253
2559 #define GL_INNOCENT_CONTEXT_RESET 0x8254
2560 #define GL_UNKNOWN_CONTEXT_RESET 0x8255
2561 #define GL_RESET_NOTIFICATION_STRATEGY 0x8256
2562 #define GL_LOSE_CONTEXT_ON_RESET 0x8252
2563 #define GL_NO_RESET_NOTIFICATION 0x8261
2564 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2565 #define GL_COLOR_TABLE 0x80D0
2566 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
2567 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
2568 #define GL_PROXY_COLOR_TABLE 0x80D3
2569 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
2570 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
2571 #define GL_CONVOLUTION_1D 0x8010
2572 #define GL_CONVOLUTION_2D 0x8011
2573 #define GL_SEPARABLE_2D 0x8012
2574 #define GL_HISTOGRAM 0x8024
2575 #define GL_PROXY_HISTOGRAM 0x8025
2576 #define GL_MINMAX 0x802E
2577 #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2578 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2579 typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
2580 typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
2581 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
2582 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
2583 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
2584 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2585 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2586 typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
2587 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
2588 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
2589 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
2590 typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2591 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2592 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2593 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
2594 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
2595 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
2596 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2597 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
2598 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
2599 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
2600 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
2601 typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
2602 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2603 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
2604 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2605 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2606 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
2607 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2608 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
2609 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2610 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2611 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2612 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2613 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2614 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
2615 typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2616 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
2617 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
2618 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2619 typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
2620 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2621 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2622 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
2623 typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
2624 typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
2625 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2626 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2627 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2628 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2629 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2630 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2631 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2632 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2633 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);
2634 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2635 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2636 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);
2637 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2638 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2639 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2640 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
2641 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
2642 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
2643 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
2644 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
2645 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
2646 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
2647 typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
2648 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2649 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2650 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2651 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
2652 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
2653 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
2654 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
2655 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
2656 typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
2657 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2658 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2659 typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
2660 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2661 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2662 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2663 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2664 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2665 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2666 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2667 typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
2668 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2669 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2670 typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
2671 typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
2672 typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
2673 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2674 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2675 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2676 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2677 typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
2678 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);
2679 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2680 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
2681 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2682 typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2683 typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2684 typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2685 typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2686 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2687 typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2688 typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2689 typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2690 typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2691 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
2692 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values);
2693 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values);
2694 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern);
2695 typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2696 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2697 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2698 typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2699 typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2700 typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
2701 #ifdef GL_GLEXT_PROTOTYPES
2702 GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
2703 GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
2704 GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
2705 GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
2706 GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
2707 GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2708 GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2709 GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
2710 GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
2711 GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
2712 GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
2713 GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2714 GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2715 GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2716 GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
2717 GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
2718 GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
2719 GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length);
2720 GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
2721 GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
2722 GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
2723 GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
2724 GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
2725 GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2726 GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
2727 GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2728 GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2729 GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
2730 GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2731 GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
2732 GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2733 GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2734 GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2735 GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2736 GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2737 GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
2738 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);
2739 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
2740 GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
2741 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2742 GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
2743 GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2744 GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2745 GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
2746 GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
2747 GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
2748 GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2749 GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2750 GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2751 GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2752 GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2753 GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2754 GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2755 GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2756 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);
2757 GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2758 GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2759 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);
2760 GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2761 GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2762 GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2763 GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
2764 GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
2765 GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
2766 GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
2767 GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
2768 GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
2769 GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
2770 GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
2771 GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2772 GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2773 GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2774 GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
2775 GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
2776 GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
2777 GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
2778 GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
2779 GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
2780 GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
2781 GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
2782 GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
2783 GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2784 GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2785 GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2786 GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2787 GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2788 GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2789 GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2790 GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
2791 GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2792 GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2793 GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
2794 GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
2795 GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
2796 GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2797 GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2798 GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2799 GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2800 GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
2801 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);
2802 GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2803 GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
2804 GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2805 GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2806 GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2807 GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2808 GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2809 GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2810 GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2811 GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2812 GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2813 GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2814 GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values);
2815 GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values);
2816 GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values);
2817 GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern);
2818 GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2819 GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2820 GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2821 GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2822 GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2823 GLAPI void APIENTRY glTextureBarrier (void);
2825 #endif /* GL_VERSION_4_5 */
2827 #ifndef GL_VERSION_4_6
2828 #define GL_VERSION_4_6 1
2829 #define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551
2830 #define GL_SPIR_V_BINARY 0x9552
2831 #define GL_PARAMETER_BUFFER 0x80EE
2832 #define GL_PARAMETER_BUFFER_BINDING 0x80EF
2833 #define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008
2834 #define GL_VERTICES_SUBMITTED 0x82EE
2835 #define GL_PRIMITIVES_SUBMITTED 0x82EF
2836 #define GL_VERTEX_SHADER_INVOCATIONS 0x82F0
2837 #define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1
2838 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
2839 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
2840 #define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4
2841 #define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5
2842 #define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6
2843 #define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7
2844 #define GL_POLYGON_OFFSET_CLAMP 0x8E1B
2845 #define GL_SPIR_V_EXTENSIONS 0x9553
2846 #define GL_NUM_SPIR_V_EXTENSIONS 0x9554
2847 #define GL_TEXTURE_MAX_ANISOTROPY 0x84FE
2848 #define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
2849 #define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC
2850 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
2851 typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
2852 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2853 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2854 typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
2855 #ifdef GL_GLEXT_PROTOTYPES
2856 GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
2857 GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2858 GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2859 GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp);
2861 #endif /* GL_VERSION_4_6 */
2863 #ifndef GL_ARB_ES2_compatibility
2864 #define GL_ARB_ES2_compatibility 1
2865 #endif /* GL_ARB_ES2_compatibility */
2867 #ifndef GL_ARB_ES3_1_compatibility
2868 #define GL_ARB_ES3_1_compatibility 1
2869 #endif /* GL_ARB_ES3_1_compatibility */
2871 #ifndef GL_ARB_ES3_2_compatibility
2872 #define GL_ARB_ES3_2_compatibility 1
2873 #define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE
2874 #define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381
2875 #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382
2876 typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
2877 #ifdef GL_GLEXT_PROTOTYPES
2878 GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
2880 #endif /* GL_ARB_ES3_2_compatibility */
2882 #ifndef GL_ARB_ES3_compatibility
2883 #define GL_ARB_ES3_compatibility 1
2884 #endif /* GL_ARB_ES3_compatibility */
2886 #ifndef GL_ARB_arrays_of_arrays
2887 #define GL_ARB_arrays_of_arrays 1
2888 #endif /* GL_ARB_arrays_of_arrays */
2890 #ifndef GL_ARB_base_instance
2891 #define GL_ARB_base_instance 1
2892 #endif /* GL_ARB_base_instance */
2894 #ifndef GL_ARB_bindless_texture
2895 #define GL_ARB_bindless_texture 1
2896 typedef khronos_uint64_t GLuint64EXT;
2897 #define GL_UNSIGNED_INT64_ARB 0x140F
2898 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
2899 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
2900 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2901 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2902 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2903 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
2904 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2905 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
2906 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
2907 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
2908 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2909 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2910 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
2911 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
2912 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
2913 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
2914 #ifdef GL_GLEXT_PROTOTYPES
2915 GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
2916 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
2917 GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
2918 GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
2919 GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2920 GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
2921 GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
2922 GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
2923 GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
2924 GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
2925 GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2926 GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
2927 GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
2928 GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
2929 GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
2930 GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
2932 #endif /* GL_ARB_bindless_texture */
2934 #ifndef GL_ARB_blend_func_extended
2935 #define GL_ARB_blend_func_extended 1
2936 #endif /* GL_ARB_blend_func_extended */
2938 #ifndef GL_ARB_buffer_storage
2939 #define GL_ARB_buffer_storage 1
2940 #endif /* GL_ARB_buffer_storage */
2942 #ifndef GL_ARB_cl_event
2943 #define GL_ARB_cl_event 1
2946 #define GL_SYNC_CL_EVENT_ARB 0x8240
2947 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
2948 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2949 #ifdef GL_GLEXT_PROTOTYPES
2950 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2952 #endif /* GL_ARB_cl_event */
2954 #ifndef GL_ARB_clear_buffer_object
2955 #define GL_ARB_clear_buffer_object 1
2956 #endif /* GL_ARB_clear_buffer_object */
2958 #ifndef GL_ARB_clear_texture
2959 #define GL_ARB_clear_texture 1
2960 #endif /* GL_ARB_clear_texture */
2962 #ifndef GL_ARB_clip_control
2963 #define GL_ARB_clip_control 1
2964 #endif /* GL_ARB_clip_control */
2966 #ifndef GL_ARB_color_buffer_float
2967 #define GL_ARB_color_buffer_float 1
2968 #define GL_RGBA_FLOAT_MODE_ARB 0x8820
2969 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
2970 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
2971 #define GL_CLAMP_READ_COLOR_ARB 0x891C
2972 #define GL_FIXED_ONLY_ARB 0x891D
2973 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
2974 #ifdef GL_GLEXT_PROTOTYPES
2975 GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
2977 #endif /* GL_ARB_color_buffer_float */
2979 #ifndef GL_ARB_compatibility
2980 #define GL_ARB_compatibility 1
2981 #endif /* GL_ARB_compatibility */
2983 #ifndef GL_ARB_compressed_texture_pixel_storage
2984 #define GL_ARB_compressed_texture_pixel_storage 1
2985 #endif /* GL_ARB_compressed_texture_pixel_storage */
2987 #ifndef GL_ARB_compute_shader
2988 #define GL_ARB_compute_shader 1
2989 #endif /* GL_ARB_compute_shader */
2991 #ifndef GL_ARB_compute_variable_group_size
2992 #define GL_ARB_compute_variable_group_size 1
2993 #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
2994 #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
2995 #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
2996 #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
2997 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);
2998 #ifdef GL_GLEXT_PROTOTYPES
2999 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);
3001 #endif /* GL_ARB_compute_variable_group_size */
3003 #ifndef GL_ARB_conditional_render_inverted
3004 #define GL_ARB_conditional_render_inverted 1
3005 #endif /* GL_ARB_conditional_render_inverted */
3007 #ifndef GL_ARB_conservative_depth
3008 #define GL_ARB_conservative_depth 1
3009 #endif /* GL_ARB_conservative_depth */
3011 #ifndef GL_ARB_copy_buffer
3012 #define GL_ARB_copy_buffer 1
3013 #endif /* GL_ARB_copy_buffer */
3015 #ifndef GL_ARB_copy_image
3016 #define GL_ARB_copy_image 1
3017 #endif /* GL_ARB_copy_image */
3019 #ifndef GL_ARB_cull_distance
3020 #define GL_ARB_cull_distance 1
3021 #endif /* GL_ARB_cull_distance */
3023 #ifndef GL_ARB_debug_output
3024 #define GL_ARB_debug_output 1
3025 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
3026 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
3027 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
3028 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
3029 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
3030 #define GL_DEBUG_SOURCE_API_ARB 0x8246
3031 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
3032 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
3033 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
3034 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
3035 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
3036 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
3037 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
3038 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
3039 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
3040 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
3041 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
3042 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
3043 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
3044 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
3045 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
3046 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
3047 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
3048 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3049 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3050 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
3051 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3052 #ifdef GL_GLEXT_PROTOTYPES
3053 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3054 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3055 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
3056 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3058 #endif /* GL_ARB_debug_output */
3060 #ifndef GL_ARB_depth_buffer_float
3061 #define GL_ARB_depth_buffer_float 1
3062 #endif /* GL_ARB_depth_buffer_float */
3064 #ifndef GL_ARB_depth_clamp
3065 #define GL_ARB_depth_clamp 1
3066 #endif /* GL_ARB_depth_clamp */
3068 #ifndef GL_ARB_depth_texture
3069 #define GL_ARB_depth_texture 1
3070 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
3071 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
3072 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
3073 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
3074 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
3075 #endif /* GL_ARB_depth_texture */
3077 #ifndef GL_ARB_derivative_control
3078 #define GL_ARB_derivative_control 1
3079 #endif /* GL_ARB_derivative_control */
3081 #ifndef GL_ARB_direct_state_access
3082 #define GL_ARB_direct_state_access 1
3083 #endif /* GL_ARB_direct_state_access */
3085 #ifndef GL_ARB_draw_buffers
3086 #define GL_ARB_draw_buffers 1
3087 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
3088 #define GL_DRAW_BUFFER0_ARB 0x8825
3089 #define GL_DRAW_BUFFER1_ARB 0x8826
3090 #define GL_DRAW_BUFFER2_ARB 0x8827
3091 #define GL_DRAW_BUFFER3_ARB 0x8828
3092 #define GL_DRAW_BUFFER4_ARB 0x8829
3093 #define GL_DRAW_BUFFER5_ARB 0x882A
3094 #define GL_DRAW_BUFFER6_ARB 0x882B
3095 #define GL_DRAW_BUFFER7_ARB 0x882C
3096 #define GL_DRAW_BUFFER8_ARB 0x882D
3097 #define GL_DRAW_BUFFER9_ARB 0x882E
3098 #define GL_DRAW_BUFFER10_ARB 0x882F
3099 #define GL_DRAW_BUFFER11_ARB 0x8830
3100 #define GL_DRAW_BUFFER12_ARB 0x8831
3101 #define GL_DRAW_BUFFER13_ARB 0x8832
3102 #define GL_DRAW_BUFFER14_ARB 0x8833
3103 #define GL_DRAW_BUFFER15_ARB 0x8834
3104 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
3105 #ifdef GL_GLEXT_PROTOTYPES
3106 GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
3108 #endif /* GL_ARB_draw_buffers */
3110 #ifndef GL_ARB_draw_buffers_blend
3111 #define GL_ARB_draw_buffers_blend 1
3112 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
3113 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3114 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
3115 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3116 #ifdef GL_GLEXT_PROTOTYPES
3117 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
3118 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3119 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
3120 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3122 #endif /* GL_ARB_draw_buffers_blend */
3124 #ifndef GL_ARB_draw_elements_base_vertex
3125 #define GL_ARB_draw_elements_base_vertex 1
3126 #endif /* GL_ARB_draw_elements_base_vertex */
3128 #ifndef GL_ARB_draw_indirect
3129 #define GL_ARB_draw_indirect 1
3130 #endif /* GL_ARB_draw_indirect */
3132 #ifndef GL_ARB_draw_instanced
3133 #define GL_ARB_draw_instanced 1
3134 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3135 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
3136 #ifdef GL_GLEXT_PROTOTYPES
3137 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3138 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
3140 #endif /* GL_ARB_draw_instanced */
3142 #ifndef GL_ARB_enhanced_layouts
3143 #define GL_ARB_enhanced_layouts 1
3144 #endif /* GL_ARB_enhanced_layouts */
3146 #ifndef GL_ARB_explicit_attrib_location
3147 #define GL_ARB_explicit_attrib_location 1
3148 #endif /* GL_ARB_explicit_attrib_location */
3150 #ifndef GL_ARB_explicit_uniform_location
3151 #define GL_ARB_explicit_uniform_location 1
3152 #endif /* GL_ARB_explicit_uniform_location */
3154 #ifndef GL_ARB_fragment_coord_conventions
3155 #define GL_ARB_fragment_coord_conventions 1
3156 #endif /* GL_ARB_fragment_coord_conventions */
3158 #ifndef GL_ARB_fragment_layer_viewport
3159 #define GL_ARB_fragment_layer_viewport 1
3160 #endif /* GL_ARB_fragment_layer_viewport */
3162 #ifndef GL_ARB_fragment_program
3163 #define GL_ARB_fragment_program 1
3164 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
3165 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
3166 #define GL_PROGRAM_LENGTH_ARB 0x8627
3167 #define GL_PROGRAM_FORMAT_ARB 0x8876
3168 #define GL_PROGRAM_BINDING_ARB 0x8677
3169 #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
3170 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
3171 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
3172 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
3173 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
3174 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
3175 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
3176 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
3177 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
3178 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
3179 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
3180 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
3181 #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
3182 #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
3183 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
3184 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
3185 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
3186 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
3187 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
3188 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
3189 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
3190 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
3191 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
3192 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
3193 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
3194 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
3195 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
3196 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
3197 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
3198 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
3199 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
3200 #define GL_PROGRAM_STRING_ARB 0x8628
3201 #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
3202 #define GL_CURRENT_MATRIX_ARB 0x8641
3203 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
3204 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
3205 #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
3206 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
3207 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
3208 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
3209 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
3210 #define GL_MATRIX0_ARB 0x88C0
3211 #define GL_MATRIX1_ARB 0x88C1
3212 #define GL_MATRIX2_ARB 0x88C2
3213 #define GL_MATRIX3_ARB 0x88C3
3214 #define GL_MATRIX4_ARB 0x88C4
3215 #define GL_MATRIX5_ARB 0x88C5
3216 #define GL_MATRIX6_ARB 0x88C6
3217 #define GL_MATRIX7_ARB 0x88C7
3218 #define GL_MATRIX8_ARB 0x88C8
3219 #define GL_MATRIX9_ARB 0x88C9
3220 #define GL_MATRIX10_ARB 0x88CA
3221 #define GL_MATRIX11_ARB 0x88CB
3222 #define GL_MATRIX12_ARB 0x88CC
3223 #define GL_MATRIX13_ARB 0x88CD
3224 #define GL_MATRIX14_ARB 0x88CE
3225 #define GL_MATRIX15_ARB 0x88CF
3226 #define GL_MATRIX16_ARB 0x88D0
3227 #define GL_MATRIX17_ARB 0x88D1
3228 #define GL_MATRIX18_ARB 0x88D2
3229 #define GL_MATRIX19_ARB 0x88D3
3230 #define GL_MATRIX20_ARB 0x88D4
3231 #define GL_MATRIX21_ARB 0x88D5
3232 #define GL_MATRIX22_ARB 0x88D6
3233 #define GL_MATRIX23_ARB 0x88D7
3234 #define GL_MATRIX24_ARB 0x88D8
3235 #define GL_MATRIX25_ARB 0x88D9
3236 #define GL_MATRIX26_ARB 0x88DA
3237 #define GL_MATRIX27_ARB 0x88DB
3238 #define GL_MATRIX28_ARB 0x88DC
3239 #define GL_MATRIX29_ARB 0x88DD
3240 #define GL_MATRIX30_ARB 0x88DE
3241 #define GL_MATRIX31_ARB 0x88DF
3242 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
3243 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
3244 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
3245 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
3246 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3247 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3248 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3249 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3250 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3251 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3252 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3253 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3254 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3255 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3256 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3257 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3258 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3259 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
3260 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
3261 #ifdef GL_GLEXT_PROTOTYPES
3262 GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
3263 GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
3264 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
3265 GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
3266 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3267 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3268 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3269 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3270 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3271 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3272 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3273 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3274 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3275 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3276 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3277 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3278 GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
3279 GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
3280 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
3282 #endif /* GL_ARB_fragment_program */
3284 #ifndef GL_ARB_fragment_program_shadow
3285 #define GL_ARB_fragment_program_shadow 1
3286 #endif /* GL_ARB_fragment_program_shadow */
3288 #ifndef GL_ARB_fragment_shader
3289 #define GL_ARB_fragment_shader 1
3290 #define GL_FRAGMENT_SHADER_ARB 0x8B30
3291 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
3292 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
3293 #endif /* GL_ARB_fragment_shader */
3295 #ifndef GL_ARB_fragment_shader_interlock
3296 #define GL_ARB_fragment_shader_interlock 1
3297 #endif /* GL_ARB_fragment_shader_interlock */
3299 #ifndef GL_ARB_framebuffer_no_attachments
3300 #define GL_ARB_framebuffer_no_attachments 1
3301 #endif /* GL_ARB_framebuffer_no_attachments */
3303 #ifndef GL_ARB_framebuffer_object
3304 #define GL_ARB_framebuffer_object 1
3305 #endif /* GL_ARB_framebuffer_object */
3307 #ifndef GL_ARB_framebuffer_sRGB
3308 #define GL_ARB_framebuffer_sRGB 1
3309 #endif /* GL_ARB_framebuffer_sRGB */
3311 #ifndef GL_ARB_geometry_shader4
3312 #define GL_ARB_geometry_shader4 1
3313 #define GL_LINES_ADJACENCY_ARB 0x000A
3314 #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
3315 #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
3316 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
3317 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
3318 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
3319 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
3320 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
3321 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
3322 #define GL_GEOMETRY_SHADER_ARB 0x8DD9
3323 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
3324 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
3325 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
3326 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
3327 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
3328 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
3329 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
3330 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
3331 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
3332 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
3333 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3334 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3335 #ifdef GL_GLEXT_PROTOTYPES
3336 GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
3337 GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
3338 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3339 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3341 #endif /* GL_ARB_geometry_shader4 */
3343 #ifndef GL_ARB_get_program_binary
3344 #define GL_ARB_get_program_binary 1
3345 #endif /* GL_ARB_get_program_binary */
3347 #ifndef GL_ARB_get_texture_sub_image
3348 #define GL_ARB_get_texture_sub_image 1
3349 #endif /* GL_ARB_get_texture_sub_image */
3351 #ifndef GL_ARB_gl_spirv
3352 #define GL_ARB_gl_spirv 1
3353 #define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
3354 #define GL_SPIR_V_BINARY_ARB 0x9552
3355 typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3356 #ifdef GL_GLEXT_PROTOTYPES
3357 GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3359 #endif /* GL_ARB_gl_spirv */
3361 #ifndef GL_ARB_gpu_shader5
3362 #define GL_ARB_gpu_shader5 1
3363 #endif /* GL_ARB_gpu_shader5 */
3365 #ifndef GL_ARB_gpu_shader_fp64
3366 #define GL_ARB_gpu_shader_fp64 1
3367 #endif /* GL_ARB_gpu_shader_fp64 */
3369 #ifndef GL_ARB_gpu_shader_int64
3370 #define GL_ARB_gpu_shader_int64 1
3371 #define GL_INT64_ARB 0x140E
3372 #define GL_INT64_VEC2_ARB 0x8FE9
3373 #define GL_INT64_VEC3_ARB 0x8FEA
3374 #define GL_INT64_VEC4_ARB 0x8FEB
3375 #define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5
3376 #define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6
3377 #define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7
3378 typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x);
3379 typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y);
3380 typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z);
3381 typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3382 typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3383 typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3384 typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3385 typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3386 typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x);
3387 typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y);
3388 typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3389 typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3390 typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3391 typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3392 typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3393 typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3394 typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params);
3395 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params);
3396 typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3397 typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3398 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x);
3399 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y);
3400 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3401 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3402 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3403 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3404 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3405 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3406 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x);
3407 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3408 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3409 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3410 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3411 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3412 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3413 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3414 #ifdef GL_GLEXT_PROTOTYPES
3415 GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x);
3416 GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y);
3417 GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z);
3418 GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3419 GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value);
3420 GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value);
3421 GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value);
3422 GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value);
3423 GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x);
3424 GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y);
3425 GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3426 GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3427 GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3428 GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3429 GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3430 GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3431 GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params);
3432 GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params);
3433 GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3434 GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3435 GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x);
3436 GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y);
3437 GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3438 GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3439 GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3440 GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3441 GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3442 GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3443 GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x);
3444 GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3445 GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3446 GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3447 GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3448 GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3449 GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3450 GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3452 #endif /* GL_ARB_gpu_shader_int64 */
3454 #ifndef GL_ARB_half_float_pixel
3455 #define GL_ARB_half_float_pixel 1
3456 typedef khronos_uint16_t GLhalfARB;
3457 #define GL_HALF_FLOAT_ARB 0x140B
3458 #endif /* GL_ARB_half_float_pixel */
3460 #ifndef GL_ARB_half_float_vertex
3461 #define GL_ARB_half_float_vertex 1
3462 #endif /* GL_ARB_half_float_vertex */
3464 #ifndef GL_ARB_imaging
3465 #define GL_ARB_imaging 1
3466 #define GL_CONVOLUTION_BORDER_MODE 0x8013
3467 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
3468 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
3469 #define GL_REDUCE 0x8016
3470 #define GL_CONVOLUTION_FORMAT 0x8017
3471 #define GL_CONVOLUTION_WIDTH 0x8018
3472 #define GL_CONVOLUTION_HEIGHT 0x8019
3473 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
3474 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
3475 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
3476 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
3477 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
3478 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
3479 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
3480 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
3481 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
3482 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
3483 #define GL_HISTOGRAM_WIDTH 0x8026
3484 #define GL_HISTOGRAM_FORMAT 0x8027
3485 #define GL_HISTOGRAM_RED_SIZE 0x8028
3486 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
3487 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
3488 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
3489 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
3490 #define GL_HISTOGRAM_SINK 0x802D
3491 #define GL_MINMAX_FORMAT 0x802F
3492 #define GL_MINMAX_SINK 0x8030
3493 #define GL_TABLE_TOO_LARGE 0x8031
3494 #define GL_COLOR_MATRIX 0x80B1
3495 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
3496 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
3497 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
3498 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
3499 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
3500 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
3501 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
3502 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
3503 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
3504 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
3505 #define GL_COLOR_TABLE_SCALE 0x80D6
3506 #define GL_COLOR_TABLE_BIAS 0x80D7
3507 #define GL_COLOR_TABLE_FORMAT 0x80D8
3508 #define GL_COLOR_TABLE_WIDTH 0x80D9
3509 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
3510 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
3511 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
3512 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
3513 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
3514 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
3515 #define GL_CONSTANT_BORDER 0x8151
3516 #define GL_REPLICATE_BORDER 0x8153
3517 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
3518 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3519 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3520 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3521 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3522 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
3523 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3524 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3525 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3526 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3527 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3528 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3529 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
3530 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3531 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
3532 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3533 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3534 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3535 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
3536 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3537 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3538 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3539 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3540 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3541 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3542 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3543 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3544 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3545 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3546 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3547 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3548 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
3549 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
3550 #ifdef GL_GLEXT_PROTOTYPES
3551 GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3552 GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3553 GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
3554 GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3555 GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
3556 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
3557 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
3558 GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3559 GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3560 GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3561 GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3562 GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
3563 GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3564 GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
3565 GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
3566 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3567 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3568 GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
3569 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
3570 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
3571 GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3572 GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3573 GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3574 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
3575 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
3576 GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3577 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
3578 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
3579 GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3580 GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
3581 GLAPI void APIENTRY glResetHistogram (GLenum target);
3582 GLAPI void APIENTRY glResetMinmax (GLenum target);
3584 #endif /* GL_ARB_imaging */
3586 #ifndef GL_ARB_indirect_parameters
3587 #define GL_ARB_indirect_parameters 1
3588 #define GL_PARAMETER_BUFFER_ARB 0x80EE
3589 #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
3590 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3591 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3592 #ifdef GL_GLEXT_PROTOTYPES
3593 GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3594 GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3596 #endif /* GL_ARB_indirect_parameters */
3598 #ifndef GL_ARB_instanced_arrays
3599 #define GL_ARB_instanced_arrays 1
3600 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
3601 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
3602 #ifdef GL_GLEXT_PROTOTYPES
3603 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
3605 #endif /* GL_ARB_instanced_arrays */
3607 #ifndef GL_ARB_internalformat_query
3608 #define GL_ARB_internalformat_query 1
3609 #endif /* GL_ARB_internalformat_query */
3611 #ifndef GL_ARB_internalformat_query2
3612 #define GL_ARB_internalformat_query2 1
3613 #define GL_SRGB_DECODE_ARB 0x8299
3614 #define GL_VIEW_CLASS_EAC_R11 0x9383
3615 #define GL_VIEW_CLASS_EAC_RG11 0x9384
3616 #define GL_VIEW_CLASS_ETC2_RGB 0x9385
3617 #define GL_VIEW_CLASS_ETC2_RGBA 0x9386
3618 #define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387
3619 #define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388
3620 #define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389
3621 #define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A
3622 #define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B
3623 #define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C
3624 #define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D
3625 #define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E
3626 #define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F
3627 #define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390
3628 #define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391
3629 #define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392
3630 #define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393
3631 #define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394
3632 #define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395
3633 #endif /* GL_ARB_internalformat_query2 */
3635 #ifndef GL_ARB_invalidate_subdata
3636 #define GL_ARB_invalidate_subdata 1
3637 #endif /* GL_ARB_invalidate_subdata */
3639 #ifndef GL_ARB_map_buffer_alignment
3640 #define GL_ARB_map_buffer_alignment 1
3641 #endif /* GL_ARB_map_buffer_alignment */
3643 #ifndef GL_ARB_map_buffer_range
3644 #define GL_ARB_map_buffer_range 1
3645 #endif /* GL_ARB_map_buffer_range */
3647 #ifndef GL_ARB_matrix_palette
3648 #define GL_ARB_matrix_palette 1
3649 #define GL_MATRIX_PALETTE_ARB 0x8840
3650 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
3651 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
3652 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
3653 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
3654 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
3655 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
3656 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
3657 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
3658 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
3659 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3660 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
3661 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
3662 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
3663 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
3664 #ifdef GL_GLEXT_PROTOTYPES
3665 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
3666 GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
3667 GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
3668 GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
3669 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
3671 #endif /* GL_ARB_matrix_palette */
3673 #ifndef GL_ARB_multi_bind
3674 #define GL_ARB_multi_bind 1
3675 #endif /* GL_ARB_multi_bind */
3677 #ifndef GL_ARB_multi_draw_indirect
3678 #define GL_ARB_multi_draw_indirect 1
3679 #endif /* GL_ARB_multi_draw_indirect */
3681 #ifndef GL_ARB_multisample
3682 #define GL_ARB_multisample 1
3683 #define GL_MULTISAMPLE_ARB 0x809D
3684 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
3685 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
3686 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
3687 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
3688 #define GL_SAMPLES_ARB 0x80A9
3689 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
3690 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
3691 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
3692 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
3693 #ifdef GL_GLEXT_PROTOTYPES
3694 GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
3696 #endif /* GL_ARB_multisample */
3698 #ifndef GL_ARB_multitexture
3699 #define GL_ARB_multitexture 1
3700 #define GL_TEXTURE0_ARB 0x84C0
3701 #define GL_TEXTURE1_ARB 0x84C1
3702 #define GL_TEXTURE2_ARB 0x84C2
3703 #define GL_TEXTURE3_ARB 0x84C3
3704 #define GL_TEXTURE4_ARB 0x84C4
3705 #define GL_TEXTURE5_ARB 0x84C5
3706 #define GL_TEXTURE6_ARB 0x84C6
3707 #define GL_TEXTURE7_ARB 0x84C7
3708 #define GL_TEXTURE8_ARB 0x84C8
3709 #define GL_TEXTURE9_ARB 0x84C9
3710 #define GL_TEXTURE10_ARB 0x84CA
3711 #define GL_TEXTURE11_ARB 0x84CB
3712 #define GL_TEXTURE12_ARB 0x84CC
3713 #define GL_TEXTURE13_ARB 0x84CD
3714 #define GL_TEXTURE14_ARB 0x84CE
3715 #define GL_TEXTURE15_ARB 0x84CF
3716 #define GL_TEXTURE16_ARB 0x84D0
3717 #define GL_TEXTURE17_ARB 0x84D1
3718 #define GL_TEXTURE18_ARB 0x84D2
3719 #define GL_TEXTURE19_ARB 0x84D3
3720 #define GL_TEXTURE20_ARB 0x84D4
3721 #define GL_TEXTURE21_ARB 0x84D5
3722 #define GL_TEXTURE22_ARB 0x84D6
3723 #define GL_TEXTURE23_ARB 0x84D7
3724 #define GL_TEXTURE24_ARB 0x84D8
3725 #define GL_TEXTURE25_ARB 0x84D9
3726 #define GL_TEXTURE26_ARB 0x84DA
3727 #define GL_TEXTURE27_ARB 0x84DB
3728 #define GL_TEXTURE28_ARB 0x84DC
3729 #define GL_TEXTURE29_ARB 0x84DD
3730 #define GL_TEXTURE30_ARB 0x84DE
3731 #define GL_TEXTURE31_ARB 0x84DF
3732 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
3733 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
3734 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
3735 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3736 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3737 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3738 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3739 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3740 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3741 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3742 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3743 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3744 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3745 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3746 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3747 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3748 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3749 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3750 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3751 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
3752 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
3753 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3754 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
3755 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3756 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
3757 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
3758 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
3759 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3760 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
3761 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3762 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
3763 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3764 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
3765 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3766 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
3767 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3768 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
3769 #ifdef GL_GLEXT_PROTOTYPES
3770 GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
3771 GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
3772 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
3773 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
3774 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
3775 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
3776 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
3777 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
3778 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
3779 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
3780 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
3781 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
3782 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
3783 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
3784 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
3785 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
3786 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
3787 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
3788 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3789 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
3790 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3791 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
3792 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
3793 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
3794 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
3795 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
3796 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3797 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
3798 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3799 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
3800 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
3801 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
3802 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3803 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
3805 #endif /* GL_ARB_multitexture */
3807 #ifndef GL_ARB_occlusion_query
3808 #define GL_ARB_occlusion_query 1
3809 #define GL_QUERY_COUNTER_BITS_ARB 0x8864
3810 #define GL_CURRENT_QUERY_ARB 0x8865
3811 #define GL_QUERY_RESULT_ARB 0x8866
3812 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
3813 #define GL_SAMPLES_PASSED_ARB 0x8914
3814 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
3815 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
3816 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
3817 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
3818 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
3819 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3820 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
3821 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
3822 #ifdef GL_GLEXT_PROTOTYPES
3823 GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
3824 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
3825 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
3826 GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
3827 GLAPI void APIENTRY glEndQueryARB (GLenum target);
3828 GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
3829 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
3830 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
3832 #endif /* GL_ARB_occlusion_query */
3834 #ifndef GL_ARB_occlusion_query2
3835 #define GL_ARB_occlusion_query2 1
3836 #endif /* GL_ARB_occlusion_query2 */
3838 #ifndef GL_ARB_parallel_shader_compile
3839 #define GL_ARB_parallel_shader_compile 1
3840 #define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0
3841 #define GL_COMPLETION_STATUS_ARB 0x91B1
3842 typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count);
3843 #ifdef GL_GLEXT_PROTOTYPES
3844 GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count);
3846 #endif /* GL_ARB_parallel_shader_compile */
3848 #ifndef GL_ARB_pipeline_statistics_query
3849 #define GL_ARB_pipeline_statistics_query 1
3850 #define GL_VERTICES_SUBMITTED_ARB 0x82EE
3851 #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
3852 #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
3853 #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
3854 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
3855 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
3856 #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
3857 #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
3858 #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
3859 #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
3860 #endif /* GL_ARB_pipeline_statistics_query */
3862 #ifndef GL_ARB_pixel_buffer_object
3863 #define GL_ARB_pixel_buffer_object 1
3864 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
3865 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
3866 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
3867 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
3868 #endif /* GL_ARB_pixel_buffer_object */
3870 #ifndef GL_ARB_point_parameters
3871 #define GL_ARB_point_parameters 1
3872 #define GL_POINT_SIZE_MIN_ARB 0x8126
3873 #define GL_POINT_SIZE_MAX_ARB 0x8127
3874 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
3875 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
3876 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
3877 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
3878 #ifdef GL_GLEXT_PROTOTYPES
3879 GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
3880 GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
3882 #endif /* GL_ARB_point_parameters */
3884 #ifndef GL_ARB_point_sprite
3885 #define GL_ARB_point_sprite 1
3886 #define GL_POINT_SPRITE_ARB 0x8861
3887 #define GL_COORD_REPLACE_ARB 0x8862
3888 #endif /* GL_ARB_point_sprite */
3890 #ifndef GL_ARB_polygon_offset_clamp
3891 #define GL_ARB_polygon_offset_clamp 1
3892 #endif /* GL_ARB_polygon_offset_clamp */
3894 #ifndef GL_ARB_post_depth_coverage
3895 #define GL_ARB_post_depth_coverage 1
3896 #endif /* GL_ARB_post_depth_coverage */
3898 #ifndef GL_ARB_program_interface_query
3899 #define GL_ARB_program_interface_query 1
3900 #endif /* GL_ARB_program_interface_query */
3902 #ifndef GL_ARB_provoking_vertex
3903 #define GL_ARB_provoking_vertex 1
3904 #endif /* GL_ARB_provoking_vertex */
3906 #ifndef GL_ARB_query_buffer_object
3907 #define GL_ARB_query_buffer_object 1
3908 #endif /* GL_ARB_query_buffer_object */
3910 #ifndef GL_ARB_robust_buffer_access_behavior
3911 #define GL_ARB_robust_buffer_access_behavior 1
3912 #endif /* GL_ARB_robust_buffer_access_behavior */
3914 #ifndef GL_ARB_robustness
3915 #define GL_ARB_robustness 1
3916 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
3917 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
3918 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
3919 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
3920 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
3921 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
3922 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
3923 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
3924 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3925 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3926 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
3927 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3928 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3929 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3930 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3931 typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3932 typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3933 typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3934 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
3935 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
3936 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
3937 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
3938 typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3939 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3940 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3941 typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3942 typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3943 #ifdef GL_GLEXT_PROTOTYPES
3944 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
3945 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3946 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3947 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
3948 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3949 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3950 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3951 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3952 GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3953 GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3954 GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3955 GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
3956 GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
3957 GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
3958 GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
3959 GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3960 GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3961 GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3962 GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3963 GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3965 #endif /* GL_ARB_robustness */
3967 #ifndef GL_ARB_robustness_isolation
3968 #define GL_ARB_robustness_isolation 1
3969 #endif /* GL_ARB_robustness_isolation */
3971 #ifndef GL_ARB_sample_locations
3972 #define GL_ARB_sample_locations 1
3973 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D
3974 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E
3975 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F
3976 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
3977 #define GL_SAMPLE_LOCATION_ARB 0x8E50
3978 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341
3979 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342
3980 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343
3981 typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
3982 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
3983 typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void);
3984 #ifdef GL_GLEXT_PROTOTYPES
3985 GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
3986 GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
3987 GLAPI void APIENTRY glEvaluateDepthValuesARB (void);
3989 #endif /* GL_ARB_sample_locations */
3991 #ifndef GL_ARB_sample_shading
3992 #define GL_ARB_sample_shading 1
3993 #define GL_SAMPLE_SHADING_ARB 0x8C36
3994 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
3995 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
3996 #ifdef GL_GLEXT_PROTOTYPES
3997 GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
3999 #endif /* GL_ARB_sample_shading */
4001 #ifndef GL_ARB_sampler_objects
4002 #define GL_ARB_sampler_objects 1
4003 #endif /* GL_ARB_sampler_objects */
4005 #ifndef GL_ARB_seamless_cube_map
4006 #define GL_ARB_seamless_cube_map 1
4007 #endif /* GL_ARB_seamless_cube_map */
4009 #ifndef GL_ARB_seamless_cubemap_per_texture
4010 #define GL_ARB_seamless_cubemap_per_texture 1
4011 #endif /* GL_ARB_seamless_cubemap_per_texture */
4013 #ifndef GL_ARB_separate_shader_objects
4014 #define GL_ARB_separate_shader_objects 1
4015 #endif /* GL_ARB_separate_shader_objects */
4017 #ifndef GL_ARB_shader_atomic_counter_ops
4018 #define GL_ARB_shader_atomic_counter_ops 1
4019 #endif /* GL_ARB_shader_atomic_counter_ops */
4021 #ifndef GL_ARB_shader_atomic_counters
4022 #define GL_ARB_shader_atomic_counters 1
4023 #endif /* GL_ARB_shader_atomic_counters */
4025 #ifndef GL_ARB_shader_ballot
4026 #define GL_ARB_shader_ballot 1
4027 #endif /* GL_ARB_shader_ballot */
4029 #ifndef GL_ARB_shader_bit_encoding
4030 #define GL_ARB_shader_bit_encoding 1
4031 #endif /* GL_ARB_shader_bit_encoding */
4033 #ifndef GL_ARB_shader_clock
4034 #define GL_ARB_shader_clock 1
4035 #endif /* GL_ARB_shader_clock */
4037 #ifndef GL_ARB_shader_draw_parameters
4038 #define GL_ARB_shader_draw_parameters 1
4039 #endif /* GL_ARB_shader_draw_parameters */
4041 #ifndef GL_ARB_shader_group_vote
4042 #define GL_ARB_shader_group_vote 1
4043 #endif /* GL_ARB_shader_group_vote */
4045 #ifndef GL_ARB_shader_image_load_store
4046 #define GL_ARB_shader_image_load_store 1
4047 #endif /* GL_ARB_shader_image_load_store */
4049 #ifndef GL_ARB_shader_image_size
4050 #define GL_ARB_shader_image_size 1
4051 #endif /* GL_ARB_shader_image_size */
4053 #ifndef GL_ARB_shader_objects
4054 #define GL_ARB_shader_objects 1
4056 #ifdef BUILDING_MESA
4057 /* Avoid uint <-> void* warnings */
4058 typedef unsigned long GLhandleARB;
4060 typedef void *GLhandleARB;
4063 typedef unsigned int GLhandleARB;
4065 typedef char GLcharARB;
4066 #define GL_PROGRAM_OBJECT_ARB 0x8B40
4067 #define GL_SHADER_OBJECT_ARB 0x8B48
4068 #define GL_OBJECT_TYPE_ARB 0x8B4E
4069 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
4070 #define GL_FLOAT_VEC2_ARB 0x8B50
4071 #define GL_FLOAT_VEC3_ARB 0x8B51
4072 #define GL_FLOAT_VEC4_ARB 0x8B52
4073 #define GL_INT_VEC2_ARB 0x8B53
4074 #define GL_INT_VEC3_ARB 0x8B54
4075 #define GL_INT_VEC4_ARB 0x8B55
4076 #define GL_BOOL_ARB 0x8B56
4077 #define GL_BOOL_VEC2_ARB 0x8B57
4078 #define GL_BOOL_VEC3_ARB 0x8B58
4079 #define GL_BOOL_VEC4_ARB 0x8B59
4080 #define GL_FLOAT_MAT2_ARB 0x8B5A
4081 #define GL_FLOAT_MAT3_ARB 0x8B5B
4082 #define GL_FLOAT_MAT4_ARB 0x8B5C
4083 #define GL_SAMPLER_1D_ARB 0x8B5D
4084 #define GL_SAMPLER_2D_ARB 0x8B5E
4085 #define GL_SAMPLER_3D_ARB 0x8B5F
4086 #define GL_SAMPLER_CUBE_ARB 0x8B60
4087 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
4088 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
4089 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
4090 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
4091 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
4092 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
4093 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
4094 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
4095 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
4096 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
4097 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
4098 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
4099 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
4100 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
4101 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
4102 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
4103 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
4104 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
4105 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
4106 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
4107 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
4108 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
4109 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
4110 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
4111 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
4112 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
4113 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
4114 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
4115 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
4116 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
4117 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
4118 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
4119 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4120 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4121 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4122 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4123 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4124 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4125 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4126 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4127 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4128 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4129 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4130 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
4131 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
4132 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
4133 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
4134 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4135 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4136 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
4137 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
4138 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
4139 #ifdef GL_GLEXT_PROTOTYPES
4140 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
4141 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
4142 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
4143 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
4144 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
4145 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
4146 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
4147 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
4148 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
4149 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
4150 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
4151 GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
4152 GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
4153 GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
4154 GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
4155 GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
4156 GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
4157 GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
4158 GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
4159 GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
4160 GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
4161 GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
4162 GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
4163 GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
4164 GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
4165 GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
4166 GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
4167 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4168 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4169 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4170 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
4171 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
4172 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
4173 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
4174 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
4175 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4176 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
4177 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
4178 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
4180 #endif /* GL_ARB_shader_objects */
4182 #ifndef GL_ARB_shader_precision
4183 #define GL_ARB_shader_precision 1
4184 #endif /* GL_ARB_shader_precision */
4186 #ifndef GL_ARB_shader_stencil_export
4187 #define GL_ARB_shader_stencil_export 1
4188 #endif /* GL_ARB_shader_stencil_export */
4190 #ifndef GL_ARB_shader_storage_buffer_object
4191 #define GL_ARB_shader_storage_buffer_object 1
4192 #endif /* GL_ARB_shader_storage_buffer_object */
4194 #ifndef GL_ARB_shader_subroutine
4195 #define GL_ARB_shader_subroutine 1
4196 #endif /* GL_ARB_shader_subroutine */
4198 #ifndef GL_ARB_shader_texture_image_samples
4199 #define GL_ARB_shader_texture_image_samples 1
4200 #endif /* GL_ARB_shader_texture_image_samples */
4202 #ifndef GL_ARB_shader_texture_lod
4203 #define GL_ARB_shader_texture_lod 1
4204 #endif /* GL_ARB_shader_texture_lod */
4206 #ifndef GL_ARB_shader_viewport_layer_array
4207 #define GL_ARB_shader_viewport_layer_array 1
4208 #endif /* GL_ARB_shader_viewport_layer_array */
4210 #ifndef GL_ARB_shading_language_100
4211 #define GL_ARB_shading_language_100 1
4212 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
4213 #endif /* GL_ARB_shading_language_100 */
4215 #ifndef GL_ARB_shading_language_420pack
4216 #define GL_ARB_shading_language_420pack 1
4217 #endif /* GL_ARB_shading_language_420pack */
4219 #ifndef GL_ARB_shading_language_include
4220 #define GL_ARB_shading_language_include 1
4221 #define GL_SHADER_INCLUDE_ARB 0x8DAE
4222 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
4223 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
4224 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4225 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4226 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4227 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4228 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4229 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4230 #ifdef GL_GLEXT_PROTOTYPES
4231 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4232 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
4233 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4234 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
4235 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4236 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4238 #endif /* GL_ARB_shading_language_include */
4240 #ifndef GL_ARB_shading_language_packing
4241 #define GL_ARB_shading_language_packing 1
4242 #endif /* GL_ARB_shading_language_packing */
4244 #ifndef GL_ARB_shadow
4245 #define GL_ARB_shadow 1
4246 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
4247 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
4248 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
4249 #endif /* GL_ARB_shadow */
4251 #ifndef GL_ARB_shadow_ambient
4252 #define GL_ARB_shadow_ambient 1
4253 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
4254 #endif /* GL_ARB_shadow_ambient */
4256 #ifndef GL_ARB_sparse_buffer
4257 #define GL_ARB_sparse_buffer 1
4258 #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
4259 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
4260 typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4261 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4262 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4263 #ifdef GL_GLEXT_PROTOTYPES
4264 GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4265 GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4266 GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4268 #endif /* GL_ARB_sparse_buffer */
4270 #ifndef GL_ARB_sparse_texture
4271 #define GL_ARB_sparse_texture 1
4272 #define GL_TEXTURE_SPARSE_ARB 0x91A6
4273 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
4274 #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
4275 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
4276 #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
4277 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
4278 #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
4279 #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
4280 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
4281 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
4282 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
4283 typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
4284 #ifdef GL_GLEXT_PROTOTYPES
4285 GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
4287 #endif /* GL_ARB_sparse_texture */
4289 #ifndef GL_ARB_sparse_texture2
4290 #define GL_ARB_sparse_texture2 1
4291 #endif /* GL_ARB_sparse_texture2 */
4293 #ifndef GL_ARB_sparse_texture_clamp
4294 #define GL_ARB_sparse_texture_clamp 1
4295 #endif /* GL_ARB_sparse_texture_clamp */
4297 #ifndef GL_ARB_spirv_extensions
4298 #define GL_ARB_spirv_extensions 1
4299 #endif /* GL_ARB_spirv_extensions */
4301 #ifndef GL_ARB_stencil_texturing
4302 #define GL_ARB_stencil_texturing 1
4303 #endif /* GL_ARB_stencil_texturing */
4306 #define GL_ARB_sync 1
4307 #endif /* GL_ARB_sync */
4309 #ifndef GL_ARB_tessellation_shader
4310 #define GL_ARB_tessellation_shader 1
4311 #endif /* GL_ARB_tessellation_shader */
4313 #ifndef GL_ARB_texture_barrier
4314 #define GL_ARB_texture_barrier 1
4315 #endif /* GL_ARB_texture_barrier */
4317 #ifndef GL_ARB_texture_border_clamp
4318 #define GL_ARB_texture_border_clamp 1
4319 #define GL_CLAMP_TO_BORDER_ARB 0x812D
4320 #endif /* GL_ARB_texture_border_clamp */
4322 #ifndef GL_ARB_texture_buffer_object
4323 #define GL_ARB_texture_buffer_object 1
4324 #define GL_TEXTURE_BUFFER_ARB 0x8C2A
4325 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
4326 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
4327 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
4328 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
4329 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
4330 #ifdef GL_GLEXT_PROTOTYPES
4331 GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
4333 #endif /* GL_ARB_texture_buffer_object */
4335 #ifndef GL_ARB_texture_buffer_object_rgb32
4336 #define GL_ARB_texture_buffer_object_rgb32 1
4337 #endif /* GL_ARB_texture_buffer_object_rgb32 */
4339 #ifndef GL_ARB_texture_buffer_range
4340 #define GL_ARB_texture_buffer_range 1
4341 #endif /* GL_ARB_texture_buffer_range */
4343 #ifndef GL_ARB_texture_compression
4344 #define GL_ARB_texture_compression 1
4345 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
4346 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
4347 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
4348 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
4349 #define GL_COMPRESSED_RGB_ARB 0x84ED
4350 #define GL_COMPRESSED_RGBA_ARB 0x84EE
4351 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
4352 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
4353 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
4354 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
4355 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
4356 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4357 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4358 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4359 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);
4360 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4361 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4362 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
4363 #ifdef GL_GLEXT_PROTOTYPES
4364 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4365 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4366 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4367 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);
4368 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4369 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4370 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
4372 #endif /* GL_ARB_texture_compression */
4374 #ifndef GL_ARB_texture_compression_bptc
4375 #define GL_ARB_texture_compression_bptc 1
4376 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
4377 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
4378 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
4379 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
4380 #endif /* GL_ARB_texture_compression_bptc */
4382 #ifndef GL_ARB_texture_compression_rgtc
4383 #define GL_ARB_texture_compression_rgtc 1
4384 #endif /* GL_ARB_texture_compression_rgtc */
4386 #ifndef GL_ARB_texture_cube_map
4387 #define GL_ARB_texture_cube_map 1
4388 #define GL_NORMAL_MAP_ARB 0x8511
4389 #define GL_REFLECTION_MAP_ARB 0x8512
4390 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
4391 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
4392 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
4393 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
4394 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
4395 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
4396 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
4397 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
4398 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
4399 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
4400 #endif /* GL_ARB_texture_cube_map */
4402 #ifndef GL_ARB_texture_cube_map_array
4403 #define GL_ARB_texture_cube_map_array 1
4404 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
4405 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
4406 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
4407 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
4408 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
4409 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
4410 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
4411 #endif /* GL_ARB_texture_cube_map_array */
4413 #ifndef GL_ARB_texture_env_add
4414 #define GL_ARB_texture_env_add 1
4415 #endif /* GL_ARB_texture_env_add */
4417 #ifndef GL_ARB_texture_env_combine
4418 #define GL_ARB_texture_env_combine 1
4419 #define GL_COMBINE_ARB 0x8570
4420 #define GL_COMBINE_RGB_ARB 0x8571
4421 #define GL_COMBINE_ALPHA_ARB 0x8572
4422 #define GL_SOURCE0_RGB_ARB 0x8580
4423 #define GL_SOURCE1_RGB_ARB 0x8581
4424 #define GL_SOURCE2_RGB_ARB 0x8582
4425 #define GL_SOURCE0_ALPHA_ARB 0x8588
4426 #define GL_SOURCE1_ALPHA_ARB 0x8589
4427 #define GL_SOURCE2_ALPHA_ARB 0x858A
4428 #define GL_OPERAND0_RGB_ARB 0x8590
4429 #define GL_OPERAND1_RGB_ARB 0x8591
4430 #define GL_OPERAND2_RGB_ARB 0x8592
4431 #define GL_OPERAND0_ALPHA_ARB 0x8598
4432 #define GL_OPERAND1_ALPHA_ARB 0x8599
4433 #define GL_OPERAND2_ALPHA_ARB 0x859A
4434 #define GL_RGB_SCALE_ARB 0x8573
4435 #define GL_ADD_SIGNED_ARB 0x8574
4436 #define GL_INTERPOLATE_ARB 0x8575
4437 #define GL_SUBTRACT_ARB 0x84E7
4438 #define GL_CONSTANT_ARB 0x8576
4439 #define GL_PRIMARY_COLOR_ARB 0x8577
4440 #define GL_PREVIOUS_ARB 0x8578
4441 #endif /* GL_ARB_texture_env_combine */
4443 #ifndef GL_ARB_texture_env_crossbar
4444 #define GL_ARB_texture_env_crossbar 1
4445 #endif /* GL_ARB_texture_env_crossbar */
4447 #ifndef GL_ARB_texture_env_dot3
4448 #define GL_ARB_texture_env_dot3 1
4449 #define GL_DOT3_RGB_ARB 0x86AE
4450 #define GL_DOT3_RGBA_ARB 0x86AF
4451 #endif /* GL_ARB_texture_env_dot3 */
4453 #ifndef GL_ARB_texture_filter_anisotropic
4454 #define GL_ARB_texture_filter_anisotropic 1
4455 #endif /* GL_ARB_texture_filter_anisotropic */
4457 #ifndef GL_ARB_texture_filter_minmax
4458 #define GL_ARB_texture_filter_minmax 1
4459 #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366
4460 #define GL_WEIGHTED_AVERAGE_ARB 0x9367
4461 #endif /* GL_ARB_texture_filter_minmax */
4463 #ifndef GL_ARB_texture_float
4464 #define GL_ARB_texture_float 1
4465 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
4466 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
4467 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
4468 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
4469 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
4470 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
4471 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
4472 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
4473 #define GL_RGBA32F_ARB 0x8814
4474 #define GL_RGB32F_ARB 0x8815
4475 #define GL_ALPHA32F_ARB 0x8816
4476 #define GL_INTENSITY32F_ARB 0x8817
4477 #define GL_LUMINANCE32F_ARB 0x8818
4478 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
4479 #define GL_RGBA16F_ARB 0x881A
4480 #define GL_RGB16F_ARB 0x881B
4481 #define GL_ALPHA16F_ARB 0x881C
4482 #define GL_INTENSITY16F_ARB 0x881D
4483 #define GL_LUMINANCE16F_ARB 0x881E
4484 #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
4485 #endif /* GL_ARB_texture_float */
4487 #ifndef GL_ARB_texture_gather
4488 #define GL_ARB_texture_gather 1
4489 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
4490 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
4491 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
4492 #endif /* GL_ARB_texture_gather */
4494 #ifndef GL_ARB_texture_mirror_clamp_to_edge
4495 #define GL_ARB_texture_mirror_clamp_to_edge 1
4496 #endif /* GL_ARB_texture_mirror_clamp_to_edge */
4498 #ifndef GL_ARB_texture_mirrored_repeat
4499 #define GL_ARB_texture_mirrored_repeat 1
4500 #define GL_MIRRORED_REPEAT_ARB 0x8370
4501 #endif /* GL_ARB_texture_mirrored_repeat */
4503 #ifndef GL_ARB_texture_multisample
4504 #define GL_ARB_texture_multisample 1
4505 #endif /* GL_ARB_texture_multisample */
4507 #ifndef GL_ARB_texture_non_power_of_two
4508 #define GL_ARB_texture_non_power_of_two 1
4509 #endif /* GL_ARB_texture_non_power_of_two */
4511 #ifndef GL_ARB_texture_query_levels
4512 #define GL_ARB_texture_query_levels 1
4513 #endif /* GL_ARB_texture_query_levels */
4515 #ifndef GL_ARB_texture_query_lod
4516 #define GL_ARB_texture_query_lod 1
4517 #endif /* GL_ARB_texture_query_lod */
4519 #ifndef GL_ARB_texture_rectangle
4520 #define GL_ARB_texture_rectangle 1
4521 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
4522 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
4523 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
4524 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
4525 #endif /* GL_ARB_texture_rectangle */
4527 #ifndef GL_ARB_texture_rg
4528 #define GL_ARB_texture_rg 1
4529 #endif /* GL_ARB_texture_rg */
4531 #ifndef GL_ARB_texture_rgb10_a2ui
4532 #define GL_ARB_texture_rgb10_a2ui 1
4533 #endif /* GL_ARB_texture_rgb10_a2ui */
4535 #ifndef GL_ARB_texture_stencil8
4536 #define GL_ARB_texture_stencil8 1
4537 #endif /* GL_ARB_texture_stencil8 */
4539 #ifndef GL_ARB_texture_storage
4540 #define GL_ARB_texture_storage 1
4541 #endif /* GL_ARB_texture_storage */
4543 #ifndef GL_ARB_texture_storage_multisample
4544 #define GL_ARB_texture_storage_multisample 1
4545 #endif /* GL_ARB_texture_storage_multisample */
4547 #ifndef GL_ARB_texture_swizzle
4548 #define GL_ARB_texture_swizzle 1
4549 #endif /* GL_ARB_texture_swizzle */
4551 #ifndef GL_ARB_texture_view
4552 #define GL_ARB_texture_view 1
4553 #endif /* GL_ARB_texture_view */
4555 #ifndef GL_ARB_timer_query
4556 #define GL_ARB_timer_query 1
4557 #endif /* GL_ARB_timer_query */
4559 #ifndef GL_ARB_transform_feedback2
4560 #define GL_ARB_transform_feedback2 1
4561 #endif /* GL_ARB_transform_feedback2 */
4563 #ifndef GL_ARB_transform_feedback3
4564 #define GL_ARB_transform_feedback3 1
4565 #endif /* GL_ARB_transform_feedback3 */
4567 #ifndef GL_ARB_transform_feedback_instanced
4568 #define GL_ARB_transform_feedback_instanced 1
4569 #endif /* GL_ARB_transform_feedback_instanced */
4571 #ifndef GL_ARB_transform_feedback_overflow_query
4572 #define GL_ARB_transform_feedback_overflow_query 1
4573 #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
4574 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
4575 #endif /* GL_ARB_transform_feedback_overflow_query */
4577 #ifndef GL_ARB_transpose_matrix
4578 #define GL_ARB_transpose_matrix 1
4579 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
4580 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
4581 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
4582 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
4583 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4584 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4585 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4586 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4587 #ifdef GL_GLEXT_PROTOTYPES
4588 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
4589 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
4590 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
4591 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
4593 #endif /* GL_ARB_transpose_matrix */
4595 #ifndef GL_ARB_uniform_buffer_object
4596 #define GL_ARB_uniform_buffer_object 1
4597 #endif /* GL_ARB_uniform_buffer_object */
4599 #ifndef GL_ARB_vertex_array_bgra
4600 #define GL_ARB_vertex_array_bgra 1
4601 #endif /* GL_ARB_vertex_array_bgra */
4603 #ifndef GL_ARB_vertex_array_object
4604 #define GL_ARB_vertex_array_object 1
4605 #endif /* GL_ARB_vertex_array_object */
4607 #ifndef GL_ARB_vertex_attrib_64bit
4608 #define GL_ARB_vertex_attrib_64bit 1
4609 #endif /* GL_ARB_vertex_attrib_64bit */
4611 #ifndef GL_ARB_vertex_attrib_binding
4612 #define GL_ARB_vertex_attrib_binding 1
4613 #endif /* GL_ARB_vertex_attrib_binding */
4615 #ifndef GL_ARB_vertex_blend
4616 #define GL_ARB_vertex_blend 1
4617 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
4618 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
4619 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
4620 #define GL_VERTEX_BLEND_ARB 0x86A7
4621 #define GL_CURRENT_WEIGHT_ARB 0x86A8
4622 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
4623 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
4624 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
4625 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
4626 #define GL_WEIGHT_ARRAY_ARB 0x86AD
4627 #define GL_MODELVIEW0_ARB 0x1700
4628 #define GL_MODELVIEW1_ARB 0x850A
4629 #define GL_MODELVIEW2_ARB 0x8722
4630 #define GL_MODELVIEW3_ARB 0x8723
4631 #define GL_MODELVIEW4_ARB 0x8724
4632 #define GL_MODELVIEW5_ARB 0x8725
4633 #define GL_MODELVIEW6_ARB 0x8726
4634 #define GL_MODELVIEW7_ARB 0x8727
4635 #define GL_MODELVIEW8_ARB 0x8728
4636 #define GL_MODELVIEW9_ARB 0x8729
4637 #define GL_MODELVIEW10_ARB 0x872A
4638 #define GL_MODELVIEW11_ARB 0x872B
4639 #define GL_MODELVIEW12_ARB 0x872C
4640 #define GL_MODELVIEW13_ARB 0x872D
4641 #define GL_MODELVIEW14_ARB 0x872E
4642 #define GL_MODELVIEW15_ARB 0x872F
4643 #define GL_MODELVIEW16_ARB 0x8730
4644 #define GL_MODELVIEW17_ARB 0x8731
4645 #define GL_MODELVIEW18_ARB 0x8732
4646 #define GL_MODELVIEW19_ARB 0x8733
4647 #define GL_MODELVIEW20_ARB 0x8734
4648 #define GL_MODELVIEW21_ARB 0x8735
4649 #define GL_MODELVIEW22_ARB 0x8736
4650 #define GL_MODELVIEW23_ARB 0x8737
4651 #define GL_MODELVIEW24_ARB 0x8738
4652 #define GL_MODELVIEW25_ARB 0x8739
4653 #define GL_MODELVIEW26_ARB 0x873A
4654 #define GL_MODELVIEW27_ARB 0x873B
4655 #define GL_MODELVIEW28_ARB 0x873C
4656 #define GL_MODELVIEW29_ARB 0x873D
4657 #define GL_MODELVIEW30_ARB 0x873E
4658 #define GL_MODELVIEW31_ARB 0x873F
4659 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
4660 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
4661 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
4662 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
4663 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
4664 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
4665 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
4666 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
4667 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
4668 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
4669 #ifdef GL_GLEXT_PROTOTYPES
4670 GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
4671 GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
4672 GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
4673 GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
4674 GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
4675 GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
4676 GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
4677 GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
4678 GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
4679 GLAPI void APIENTRY glVertexBlendARB (GLint count);
4681 #endif /* GL_ARB_vertex_blend */
4683 #ifndef GL_ARB_vertex_buffer_object
4684 #define GL_ARB_vertex_buffer_object 1
4685 typedef khronos_ssize_t GLsizeiptrARB;
4686 typedef khronos_intptr_t GLintptrARB;
4687 #define GL_BUFFER_SIZE_ARB 0x8764
4688 #define GL_BUFFER_USAGE_ARB 0x8765
4689 #define GL_ARRAY_BUFFER_ARB 0x8892
4690 #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
4691 #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
4692 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
4693 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
4694 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
4695 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
4696 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
4697 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
4698 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
4699 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
4700 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
4701 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
4702 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
4703 #define GL_READ_ONLY_ARB 0x88B8
4704 #define GL_WRITE_ONLY_ARB 0x88B9
4705 #define GL_READ_WRITE_ARB 0x88BA
4706 #define GL_BUFFER_ACCESS_ARB 0x88BB
4707 #define GL_BUFFER_MAPPED_ARB 0x88BC
4708 #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
4709 #define GL_STREAM_DRAW_ARB 0x88E0
4710 #define GL_STREAM_READ_ARB 0x88E1
4711 #define GL_STREAM_COPY_ARB 0x88E2
4712 #define GL_STATIC_DRAW_ARB 0x88E4
4713 #define GL_STATIC_READ_ARB 0x88E5
4714 #define GL_STATIC_COPY_ARB 0x88E6
4715 #define GL_DYNAMIC_DRAW_ARB 0x88E8
4716 #define GL_DYNAMIC_READ_ARB 0x88E9
4717 #define GL_DYNAMIC_COPY_ARB 0x88EA
4718 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
4719 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
4720 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
4721 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
4722 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4723 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4724 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4725 typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
4726 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
4727 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
4728 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
4729 #ifdef GL_GLEXT_PROTOTYPES
4730 GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
4731 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
4732 GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
4733 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
4734 GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4735 GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4736 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4737 GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
4738 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
4739 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
4740 GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
4742 #endif /* GL_ARB_vertex_buffer_object */
4744 #ifndef GL_ARB_vertex_program
4745 #define GL_ARB_vertex_program 1
4746 #define GL_COLOR_SUM_ARB 0x8458
4747 #define GL_VERTEX_PROGRAM_ARB 0x8620
4748 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
4749 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
4750 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
4751 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
4752 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
4753 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
4754 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
4755 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
4756 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
4757 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
4758 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
4759 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
4760 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
4761 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
4762 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
4763 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
4764 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
4765 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
4766 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
4767 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
4768 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
4769 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
4770 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
4771 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
4772 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
4773 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
4774 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4775 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
4776 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4777 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
4778 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
4779 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
4780 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
4781 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
4782 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
4783 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4784 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
4785 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
4786 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
4787 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
4788 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4789 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
4790 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4791 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
4792 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
4793 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4794 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
4795 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
4796 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
4797 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
4798 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4799 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4800 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4801 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
4802 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
4803 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
4804 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
4805 #ifdef GL_GLEXT_PROTOTYPES
4806 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
4807 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
4808 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
4809 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
4810 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
4811 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
4812 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
4813 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
4814 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
4815 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
4816 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
4817 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
4818 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4819 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
4820 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4821 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
4822 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
4823 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
4824 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
4825 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
4826 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
4827 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4828 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
4829 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
4830 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
4831 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
4832 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4833 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
4834 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4835 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
4836 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
4837 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4838 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
4839 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
4840 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
4841 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
4842 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4843 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
4844 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
4845 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
4846 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
4847 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
4848 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
4850 #endif /* GL_ARB_vertex_program */
4852 #ifndef GL_ARB_vertex_shader
4853 #define GL_ARB_vertex_shader 1
4854 #define GL_VERTEX_SHADER_ARB 0x8B31
4855 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
4856 #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
4857 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
4858 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
4859 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
4860 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
4861 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4862 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4863 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4864 #ifdef GL_GLEXT_PROTOTYPES
4865 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4866 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4867 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
4869 #endif /* GL_ARB_vertex_shader */
4871 #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
4872 #define GL_ARB_vertex_type_10f_11f_11f_rev 1
4873 #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
4875 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
4876 #define GL_ARB_vertex_type_2_10_10_10_rev 1
4877 #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
4879 #ifndef GL_ARB_viewport_array
4880 #define GL_ARB_viewport_array 1
4881 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYDVNVPROC) (GLuint first, GLsizei count, const GLdouble *v);
4882 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDDNVPROC) (GLuint index, GLdouble n, GLdouble f);
4883 #ifdef GL_GLEXT_PROTOTYPES
4884 GLAPI void APIENTRY glDepthRangeArraydvNV (GLuint first, GLsizei count, const GLdouble *v);
4885 GLAPI void APIENTRY glDepthRangeIndexeddNV (GLuint index, GLdouble n, GLdouble f);
4887 #endif /* GL_ARB_viewport_array */
4889 #ifndef GL_ARB_window_pos
4890 #define GL_ARB_window_pos 1
4891 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
4892 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
4893 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
4894 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
4895 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
4896 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
4897 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
4898 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
4899 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
4900 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
4901 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
4902 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
4903 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
4904 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
4905 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
4906 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
4907 #ifdef GL_GLEXT_PROTOTYPES
4908 GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
4909 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
4910 GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
4911 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
4912 GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
4913 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
4914 GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
4915 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
4916 GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
4917 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
4918 GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
4919 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
4920 GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
4921 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
4922 GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
4923 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
4925 #endif /* GL_ARB_window_pos */
4927 #ifndef GL_KHR_blend_equation_advanced
4928 #define GL_KHR_blend_equation_advanced 1
4929 #define GL_MULTIPLY_KHR 0x9294
4930 #define GL_SCREEN_KHR 0x9295
4931 #define GL_OVERLAY_KHR 0x9296
4932 #define GL_DARKEN_KHR 0x9297
4933 #define GL_LIGHTEN_KHR 0x9298
4934 #define GL_COLORDODGE_KHR 0x9299
4935 #define GL_COLORBURN_KHR 0x929A
4936 #define GL_HARDLIGHT_KHR 0x929B
4937 #define GL_SOFTLIGHT_KHR 0x929C
4938 #define GL_DIFFERENCE_KHR 0x929E
4939 #define GL_EXCLUSION_KHR 0x92A0
4940 #define GL_HSL_HUE_KHR 0x92AD
4941 #define GL_HSL_SATURATION_KHR 0x92AE
4942 #define GL_HSL_COLOR_KHR 0x92AF
4943 #define GL_HSL_LUMINOSITY_KHR 0x92B0
4944 typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
4945 #ifdef GL_GLEXT_PROTOTYPES
4946 GLAPI void APIENTRY glBlendBarrierKHR (void);
4948 #endif /* GL_KHR_blend_equation_advanced */
4950 #ifndef GL_KHR_blend_equation_advanced_coherent
4951 #define GL_KHR_blend_equation_advanced_coherent 1
4952 #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
4953 #endif /* GL_KHR_blend_equation_advanced_coherent */
4955 #ifndef GL_KHR_context_flush_control
4956 #define GL_KHR_context_flush_control 1
4957 #endif /* GL_KHR_context_flush_control */
4959 #ifndef GL_KHR_debug
4960 #define GL_KHR_debug 1
4961 #endif /* GL_KHR_debug */
4963 #ifndef GL_KHR_no_error
4964 #define GL_KHR_no_error 1
4965 #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
4966 #endif /* GL_KHR_no_error */
4968 #ifndef GL_KHR_parallel_shader_compile
4969 #define GL_KHR_parallel_shader_compile 1
4970 #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
4971 #define GL_COMPLETION_STATUS_KHR 0x91B1
4972 typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
4973 #ifdef GL_GLEXT_PROTOTYPES
4974 GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
4976 #endif /* GL_KHR_parallel_shader_compile */
4978 #ifndef GL_KHR_robust_buffer_access_behavior
4979 #define GL_KHR_robust_buffer_access_behavior 1
4980 #endif /* GL_KHR_robust_buffer_access_behavior */
4982 #ifndef GL_KHR_robustness
4983 #define GL_KHR_robustness 1
4984 #define GL_CONTEXT_ROBUST_ACCESS 0x90F3
4985 #endif /* GL_KHR_robustness */
4987 #ifndef GL_KHR_shader_subgroup
4988 #define GL_KHR_shader_subgroup 1
4989 #define GL_SUBGROUP_SIZE_KHR 0x9532
4990 #define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
4991 #define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
4992 #define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
4993 #define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
4994 #define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
4995 #define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
4996 #define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
4997 #define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
4998 #define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
4999 #define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
5000 #define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
5001 #endif /* GL_KHR_shader_subgroup */
5003 #ifndef GL_KHR_texture_compression_astc_hdr
5004 #define GL_KHR_texture_compression_astc_hdr 1
5005 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
5006 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
5007 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
5008 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
5009 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
5010 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
5011 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
5012 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
5013 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
5014 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
5015 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
5016 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
5017 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
5018 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
5019 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
5020 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
5021 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
5022 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
5023 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
5024 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
5025 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
5026 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
5027 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
5028 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
5029 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
5030 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
5031 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
5032 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
5033 #endif /* GL_KHR_texture_compression_astc_hdr */
5035 #ifndef GL_KHR_texture_compression_astc_ldr
5036 #define GL_KHR_texture_compression_astc_ldr 1
5037 #endif /* GL_KHR_texture_compression_astc_ldr */
5039 #ifndef GL_KHR_texture_compression_astc_sliced_3d
5040 #define GL_KHR_texture_compression_astc_sliced_3d 1
5041 #endif /* GL_KHR_texture_compression_astc_sliced_3d */
5043 #ifndef GL_OES_byte_coordinates
5044 #define GL_OES_byte_coordinates 1
5045 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
5046 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
5047 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
5048 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
5049 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
5050 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
5051 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5052 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
5053 typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
5054 typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
5055 typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
5056 typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
5057 typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
5058 typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
5059 typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5060 typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
5061 typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y);
5062 typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
5063 typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
5064 typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
5065 typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
5066 typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
5067 #ifdef GL_GLEXT_PROTOTYPES
5068 GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
5069 GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
5070 GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
5071 GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
5072 GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
5073 GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
5074 GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5075 GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
5076 GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
5077 GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
5078 GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
5079 GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
5080 GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
5081 GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
5082 GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5083 GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
5084 GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y);
5085 GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
5086 GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z);
5087 GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
5088 GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
5089 GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
5091 #endif /* GL_OES_byte_coordinates */
5093 #ifndef GL_OES_compressed_paletted_texture
5094 #define GL_OES_compressed_paletted_texture 1
5095 #define GL_PALETTE4_RGB8_OES 0x8B90
5096 #define GL_PALETTE4_RGBA8_OES 0x8B91
5097 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
5098 #define GL_PALETTE4_RGBA4_OES 0x8B93
5099 #define GL_PALETTE4_RGB5_A1_OES 0x8B94
5100 #define GL_PALETTE8_RGB8_OES 0x8B95
5101 #define GL_PALETTE8_RGBA8_OES 0x8B96
5102 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
5103 #define GL_PALETTE8_RGBA4_OES 0x8B98
5104 #define GL_PALETTE8_RGB5_A1_OES 0x8B99
5105 #endif /* GL_OES_compressed_paletted_texture */
5107 #ifndef GL_OES_fixed_point
5108 #define GL_OES_fixed_point 1
5109 typedef khronos_int32_t GLfixed;
5110 #define GL_FIXED_OES 0x140C
5111 typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
5112 typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5113 typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
5114 typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
5115 typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5116 typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
5117 typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
5118 typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
5119 typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5120 typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
5121 typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
5122 typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5123 typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5124 typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
5125 typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
5126 typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
5127 typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
5128 typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
5129 typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
5130 typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
5131 typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
5132 typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
5133 typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5134 typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
5135 typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5136 typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
5137 typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
5138 typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
5139 typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
5140 typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5141 typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
5142 typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
5143 typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
5144 typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
5145 typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5146 typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
5147 typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
5148 typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5149 typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5150 typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
5151 typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
5152 typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
5153 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
5154 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
5155 typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
5156 typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
5157 typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
5158 typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
5159 typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
5160 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5161 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5162 typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
5163 typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
5164 typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
5165 typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
5166 typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
5167 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
5168 typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
5169 typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
5170 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
5171 typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
5172 typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
5173 typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
5174 typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
5175 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
5176 typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
5177 typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
5178 typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
5179 typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
5180 typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
5181 typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
5182 typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
5183 typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
5184 typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
5185 typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
5186 typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
5187 typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
5188 typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
5189 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
5190 typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
5191 typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
5192 typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5193 typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
5194 typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
5195 typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
5196 typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
5197 typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
5198 typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
5199 typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
5200 typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
5201 typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
5202 typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
5203 typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
5204 typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5205 typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
5206 typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
5207 typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
5208 typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
5209 typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
5210 typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
5211 typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
5212 typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5213 typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
5214 #ifdef GL_GLEXT_PROTOTYPES
5215 GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
5216 GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5217 GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
5218 GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
5219 GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5220 GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
5221 GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
5222 GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
5223 GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5224 GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
5225 GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
5226 GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
5227 GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5228 GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
5229 GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
5230 GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
5231 GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
5232 GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
5233 GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
5234 GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
5235 GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
5236 GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
5237 GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5238 GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
5239 GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5240 GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
5241 GLAPI void APIENTRY glPointSizexOES (GLfixed size);
5242 GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
5243 GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
5244 GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
5245 GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
5246 GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
5247 GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
5248 GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
5249 GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
5250 GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
5251 GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
5252 GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5253 GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5254 GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
5255 GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
5256 GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
5257 GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
5258 GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
5259 GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
5260 GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
5261 GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
5262 GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
5263 GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
5264 GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5265 GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5266 GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
5267 GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
5268 GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
5269 GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
5270 GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
5271 GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
5272 GLAPI void APIENTRY glIndexxOES (GLfixed component);
5273 GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
5274 GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
5275 GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
5276 GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
5277 GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
5278 GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
5279 GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
5280 GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
5281 GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
5282 GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
5283 GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
5284 GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
5285 GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
5286 GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
5287 GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
5288 GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
5289 GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
5290 GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
5291 GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
5292 GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
5293 GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
5294 GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
5295 GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
5296 GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
5297 GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
5298 GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
5299 GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
5300 GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
5301 GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
5302 GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
5303 GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
5304 GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
5305 GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
5306 GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
5307 GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
5308 GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5309 GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
5310 GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
5311 GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
5312 GLAPI void APIENTRY glVertex2xOES (GLfixed x);
5313 GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
5314 GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
5315 GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
5316 GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
5317 GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
5319 #endif /* GL_OES_fixed_point */
5321 #ifndef GL_OES_query_matrix
5322 #define GL_OES_query_matrix 1
5323 typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
5324 #ifdef GL_GLEXT_PROTOTYPES
5325 GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
5327 #endif /* GL_OES_query_matrix */
5329 #ifndef GL_OES_read_format
5330 #define GL_OES_read_format 1
5331 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
5332 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
5333 #endif /* GL_OES_read_format */
5335 #ifndef GL_OES_single_precision
5336 #define GL_OES_single_precision 1
5337 typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
5338 typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
5339 typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
5340 typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5341 typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
5342 typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5343 #ifdef GL_GLEXT_PROTOTYPES
5344 GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
5345 GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
5346 GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
5347 GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5348 GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
5349 GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5351 #endif /* GL_OES_single_precision */
5353 #ifndef GL_3DFX_multisample
5354 #define GL_3DFX_multisample 1
5355 #define GL_MULTISAMPLE_3DFX 0x86B2
5356 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
5357 #define GL_SAMPLES_3DFX 0x86B4
5358 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
5359 #endif /* GL_3DFX_multisample */
5361 #ifndef GL_3DFX_tbuffer
5362 #define GL_3DFX_tbuffer 1
5363 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
5364 #ifdef GL_GLEXT_PROTOTYPES
5365 GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
5367 #endif /* GL_3DFX_tbuffer */
5369 #ifndef GL_3DFX_texture_compression_FXT1
5370 #define GL_3DFX_texture_compression_FXT1 1
5371 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
5372 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
5373 #endif /* GL_3DFX_texture_compression_FXT1 */
5375 #ifndef GL_AMD_blend_minmax_factor
5376 #define GL_AMD_blend_minmax_factor 1
5377 #define GL_FACTOR_MIN_AMD 0x901C
5378 #define GL_FACTOR_MAX_AMD 0x901D
5379 #endif /* GL_AMD_blend_minmax_factor */
5381 #ifndef GL_AMD_conservative_depth
5382 #define GL_AMD_conservative_depth 1
5383 #endif /* GL_AMD_conservative_depth */
5385 #ifndef GL_AMD_debug_output
5386 #define GL_AMD_debug_output 1
5387 typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
5388 #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
5389 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
5390 #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
5391 #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
5392 #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
5393 #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
5394 #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
5395 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
5396 #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
5397 #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
5398 #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
5399 #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
5400 #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
5401 #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
5402 typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
5403 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
5404 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
5405 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufSize, GLenum *categories, GLenum *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5406 #ifdef GL_GLEXT_PROTOTYPES
5407 GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
5408 GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
5409 GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
5410 GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum *categories, GLenum *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5412 #endif /* GL_AMD_debug_output */
5414 #ifndef GL_AMD_depth_clamp_separate
5415 #define GL_AMD_depth_clamp_separate 1
5416 #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
5417 #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
5418 #endif /* GL_AMD_depth_clamp_separate */
5420 #ifndef GL_AMD_draw_buffers_blend
5421 #define GL_AMD_draw_buffers_blend 1
5422 typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
5423 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5424 typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
5425 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5426 #ifdef GL_GLEXT_PROTOTYPES
5427 GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
5428 GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5429 GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
5430 GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5432 #endif /* GL_AMD_draw_buffers_blend */
5434 #ifndef GL_AMD_framebuffer_multisample_advanced
5435 #define GL_AMD_framebuffer_multisample_advanced 1
5436 #define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
5437 #define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
5438 #define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
5439 #define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
5440 #define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
5441 #define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
5442 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5443 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5444 #ifdef GL_GLEXT_PROTOTYPES
5445 GLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5446 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5448 #endif /* GL_AMD_framebuffer_multisample_advanced */
5450 #ifndef GL_AMD_framebuffer_sample_positions
5451 #define GL_AMD_framebuffer_sample_positions 1
5452 #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
5453 #define GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD 0x91AE
5454 #define GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD 0x91AF
5455 #define GL_ALL_PIXELS_AMD 0xFFFFFFFF
5456 typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5457 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5458 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5459 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5460 #ifdef GL_GLEXT_PROTOTYPES
5461 GLAPI void APIENTRY glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5462 GLAPI void APIENTRY glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5463 GLAPI void APIENTRY glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5464 GLAPI void APIENTRY glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5466 #endif /* GL_AMD_framebuffer_sample_positions */
5468 #ifndef GL_AMD_gcn_shader
5469 #define GL_AMD_gcn_shader 1
5470 #endif /* GL_AMD_gcn_shader */
5472 #ifndef GL_AMD_gpu_shader_half_float
5473 #define GL_AMD_gpu_shader_half_float 1
5474 #define GL_FLOAT16_NV 0x8FF8
5475 #define GL_FLOAT16_VEC2_NV 0x8FF9
5476 #define GL_FLOAT16_VEC3_NV 0x8FFA
5477 #define GL_FLOAT16_VEC4_NV 0x8FFB
5478 #define GL_FLOAT16_MAT2_AMD 0x91C5
5479 #define GL_FLOAT16_MAT3_AMD 0x91C6
5480 #define GL_FLOAT16_MAT4_AMD 0x91C7
5481 #define GL_FLOAT16_MAT2x3_AMD 0x91C8
5482 #define GL_FLOAT16_MAT2x4_AMD 0x91C9
5483 #define GL_FLOAT16_MAT3x2_AMD 0x91CA
5484 #define GL_FLOAT16_MAT3x4_AMD 0x91CB
5485 #define GL_FLOAT16_MAT4x2_AMD 0x91CC
5486 #define GL_FLOAT16_MAT4x3_AMD 0x91CD
5487 #endif /* GL_AMD_gpu_shader_half_float */
5489 #ifndef GL_AMD_gpu_shader_int16
5490 #define GL_AMD_gpu_shader_int16 1
5491 #endif /* GL_AMD_gpu_shader_int16 */
5493 #ifndef GL_AMD_gpu_shader_int64
5494 #define GL_AMD_gpu_shader_int64 1
5495 typedef khronos_int64_t GLint64EXT;
5496 #define GL_INT64_NV 0x140E
5497 #define GL_UNSIGNED_INT64_NV 0x140F
5498 #define GL_INT8_NV 0x8FE0
5499 #define GL_INT8_VEC2_NV 0x8FE1
5500 #define GL_INT8_VEC3_NV 0x8FE2
5501 #define GL_INT8_VEC4_NV 0x8FE3
5502 #define GL_INT16_NV 0x8FE4
5503 #define GL_INT16_VEC2_NV 0x8FE5
5504 #define GL_INT16_VEC3_NV 0x8FE6
5505 #define GL_INT16_VEC4_NV 0x8FE7
5506 #define GL_INT64_VEC2_NV 0x8FE9
5507 #define GL_INT64_VEC3_NV 0x8FEA
5508 #define GL_INT64_VEC4_NV 0x8FEB
5509 #define GL_UNSIGNED_INT8_NV 0x8FEC
5510 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
5511 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
5512 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
5513 #define GL_UNSIGNED_INT16_NV 0x8FF0
5514 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
5515 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
5516 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
5517 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
5518 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
5519 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
5520 typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
5521 typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
5522 typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5523 typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5524 typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5525 typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5526 typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5527 typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5528 typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
5529 typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
5530 typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5531 typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5532 typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5533 typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5534 typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5535 typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5536 typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
5537 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
5538 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
5539 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
5540 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5541 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5542 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5543 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5544 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5545 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5546 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
5547 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
5548 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5549 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5550 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5551 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5552 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5553 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5554 #ifdef GL_GLEXT_PROTOTYPES
5555 GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
5556 GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
5557 GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5558 GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5559 GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5560 GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5561 GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5562 GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5563 GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
5564 GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
5565 GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5566 GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5567 GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5568 GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5569 GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5570 GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5571 GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
5572 GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
5573 GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
5574 GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
5575 GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5576 GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5577 GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5578 GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5579 GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5580 GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5581 GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
5582 GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
5583 GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5584 GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5585 GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5586 GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5587 GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5588 GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5590 #endif /* GL_AMD_gpu_shader_int64 */
5592 #ifndef GL_AMD_interleaved_elements
5593 #define GL_AMD_interleaved_elements 1
5594 #define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4
5595 #define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5
5596 typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
5597 #ifdef GL_GLEXT_PROTOTYPES
5598 GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
5600 #endif /* GL_AMD_interleaved_elements */
5602 #ifndef GL_AMD_multi_draw_indirect
5603 #define GL_AMD_multi_draw_indirect 1
5604 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
5605 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
5606 #ifdef GL_GLEXT_PROTOTYPES
5607 GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
5608 GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
5610 #endif /* GL_AMD_multi_draw_indirect */
5612 #ifndef GL_AMD_name_gen_delete
5613 #define GL_AMD_name_gen_delete 1
5614 #define GL_DATA_BUFFER_AMD 0x9151
5615 #define GL_PERFORMANCE_MONITOR_AMD 0x9152
5616 #define GL_QUERY_OBJECT_AMD 0x9153
5617 #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
5618 #define GL_SAMPLER_OBJECT_AMD 0x9155
5619 typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
5620 typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
5621 typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
5622 #ifdef GL_GLEXT_PROTOTYPES
5623 GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
5624 GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
5625 GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
5627 #endif /* GL_AMD_name_gen_delete */
5629 #ifndef GL_AMD_occlusion_query_event
5630 #define GL_AMD_occlusion_query_event 1
5631 #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
5632 #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
5633 #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
5634 #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
5635 #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
5636 #define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF
5637 typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
5638 #ifdef GL_GLEXT_PROTOTYPES
5639 GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
5641 #endif /* GL_AMD_occlusion_query_event */
5643 #ifndef GL_AMD_performance_monitor
5644 #define GL_AMD_performance_monitor 1
5645 #define GL_COUNTER_TYPE_AMD 0x8BC0
5646 #define GL_COUNTER_RANGE_AMD 0x8BC1
5647 #define GL_UNSIGNED_INT64_AMD 0x8BC2
5648 #define GL_PERCENTAGE_AMD 0x8BC3
5649 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
5650 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
5651 #define GL_PERFMON_RESULT_AMD 0x8BC6
5652 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
5653 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
5654 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
5655 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
5656 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
5657 typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
5658 typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
5659 typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5660 typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
5661 typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
5662 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5663 #ifdef GL_GLEXT_PROTOTYPES
5664 GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
5665 GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
5666 GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
5667 GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
5668 GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
5669 GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
5670 GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
5671 GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5672 GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
5673 GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
5674 GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5676 #endif /* GL_AMD_performance_monitor */
5678 #ifndef GL_AMD_pinned_memory
5679 #define GL_AMD_pinned_memory 1
5680 #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
5681 #endif /* GL_AMD_pinned_memory */
5683 #ifndef GL_AMD_query_buffer_object
5684 #define GL_AMD_query_buffer_object 1
5685 #define GL_QUERY_BUFFER_AMD 0x9192
5686 #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
5687 #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
5688 #endif /* GL_AMD_query_buffer_object */
5690 #ifndef GL_AMD_sample_positions
5691 #define GL_AMD_sample_positions 1
5692 typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
5693 #ifdef GL_GLEXT_PROTOTYPES
5694 GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
5696 #endif /* GL_AMD_sample_positions */
5698 #ifndef GL_AMD_seamless_cubemap_per_texture
5699 #define GL_AMD_seamless_cubemap_per_texture 1
5700 #endif /* GL_AMD_seamless_cubemap_per_texture */
5702 #ifndef GL_AMD_shader_atomic_counter_ops
5703 #define GL_AMD_shader_atomic_counter_ops 1
5704 #endif /* GL_AMD_shader_atomic_counter_ops */
5706 #ifndef GL_AMD_shader_ballot
5707 #define GL_AMD_shader_ballot 1
5708 #endif /* GL_AMD_shader_ballot */
5710 #ifndef GL_AMD_shader_explicit_vertex_parameter
5711 #define GL_AMD_shader_explicit_vertex_parameter 1
5712 #endif /* GL_AMD_shader_explicit_vertex_parameter */
5714 #ifndef GL_AMD_shader_gpu_shader_half_float_fetch
5715 #define GL_AMD_shader_gpu_shader_half_float_fetch 1
5716 #endif /* GL_AMD_shader_gpu_shader_half_float_fetch */
5718 #ifndef GL_AMD_shader_image_load_store_lod
5719 #define GL_AMD_shader_image_load_store_lod 1
5720 #endif /* GL_AMD_shader_image_load_store_lod */
5722 #ifndef GL_AMD_shader_stencil_export
5723 #define GL_AMD_shader_stencil_export 1
5724 #endif /* GL_AMD_shader_stencil_export */
5726 #ifndef GL_AMD_shader_trinary_minmax
5727 #define GL_AMD_shader_trinary_minmax 1
5728 #endif /* GL_AMD_shader_trinary_minmax */
5730 #ifndef GL_AMD_sparse_texture
5731 #define GL_AMD_sparse_texture 1
5732 #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
5733 #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
5734 #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
5735 #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
5736 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
5737 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
5738 #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
5739 #define GL_MIN_LOD_WARNING_AMD 0x919C
5740 #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
5741 typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5742 typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5743 #ifdef GL_GLEXT_PROTOTYPES
5744 GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5745 GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5747 #endif /* GL_AMD_sparse_texture */
5749 #ifndef GL_AMD_stencil_operation_extended
5750 #define GL_AMD_stencil_operation_extended 1
5751 #define GL_SET_AMD 0x874A
5752 #define GL_REPLACE_VALUE_AMD 0x874B
5753 #define GL_STENCIL_OP_VALUE_AMD 0x874C
5754 #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
5755 typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
5756 #ifdef GL_GLEXT_PROTOTYPES
5757 GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
5759 #endif /* GL_AMD_stencil_operation_extended */
5761 #ifndef GL_AMD_texture_gather_bias_lod
5762 #define GL_AMD_texture_gather_bias_lod 1
5763 #endif /* GL_AMD_texture_gather_bias_lod */
5765 #ifndef GL_AMD_texture_texture4
5766 #define GL_AMD_texture_texture4 1
5767 #endif /* GL_AMD_texture_texture4 */
5769 #ifndef GL_AMD_transform_feedback3_lines_triangles
5770 #define GL_AMD_transform_feedback3_lines_triangles 1
5771 #endif /* GL_AMD_transform_feedback3_lines_triangles */
5773 #ifndef GL_AMD_transform_feedback4
5774 #define GL_AMD_transform_feedback4 1
5775 #define GL_STREAM_RASTERIZATION_AMD 0x91A0
5776 #endif /* GL_AMD_transform_feedback4 */
5778 #ifndef GL_AMD_vertex_shader_layer
5779 #define GL_AMD_vertex_shader_layer 1
5780 #endif /* GL_AMD_vertex_shader_layer */
5782 #ifndef GL_AMD_vertex_shader_tessellator
5783 #define GL_AMD_vertex_shader_tessellator 1
5784 #define GL_SAMPLER_BUFFER_AMD 0x9001
5785 #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
5786 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
5787 #define GL_TESSELLATION_MODE_AMD 0x9004
5788 #define GL_TESSELLATION_FACTOR_AMD 0x9005
5789 #define GL_DISCRETE_AMD 0x9006
5790 #define GL_CONTINUOUS_AMD 0x9007
5791 typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
5792 typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
5793 #ifdef GL_GLEXT_PROTOTYPES
5794 GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
5795 GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
5797 #endif /* GL_AMD_vertex_shader_tessellator */
5799 #ifndef GL_AMD_vertex_shader_viewport_index
5800 #define GL_AMD_vertex_shader_viewport_index 1
5801 #endif /* GL_AMD_vertex_shader_viewport_index */
5803 #ifndef GL_APPLE_aux_depth_stencil
5804 #define GL_APPLE_aux_depth_stencil 1
5805 #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
5806 #endif /* GL_APPLE_aux_depth_stencil */
5808 #ifndef GL_APPLE_client_storage
5809 #define GL_APPLE_client_storage 1
5810 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
5811 #endif /* GL_APPLE_client_storage */
5813 #ifndef GL_APPLE_element_array
5814 #define GL_APPLE_element_array 1
5815 #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
5816 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
5817 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
5818 typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
5819 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
5820 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5821 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5822 typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5823 #ifdef GL_GLEXT_PROTOTYPES
5824 GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
5825 GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
5826 GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5827 GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5828 GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5830 #endif /* GL_APPLE_element_array */
5832 #ifndef GL_APPLE_fence
5833 #define GL_APPLE_fence 1
5834 #define GL_DRAW_PIXELS_APPLE 0x8A0A
5835 #define GL_FENCE_APPLE 0x8A0B
5836 typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
5837 typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
5838 typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
5839 typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
5840 typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
5841 typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
5842 typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
5843 typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
5844 #ifdef GL_GLEXT_PROTOTYPES
5845 GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
5846 GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
5847 GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
5848 GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
5849 GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
5850 GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
5851 GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
5852 GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
5854 #endif /* GL_APPLE_fence */
5856 #ifndef GL_APPLE_float_pixels
5857 #define GL_APPLE_float_pixels 1
5858 #define GL_HALF_APPLE 0x140B
5859 #define GL_RGBA_FLOAT32_APPLE 0x8814
5860 #define GL_RGB_FLOAT32_APPLE 0x8815
5861 #define GL_ALPHA_FLOAT32_APPLE 0x8816
5862 #define GL_INTENSITY_FLOAT32_APPLE 0x8817
5863 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
5864 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
5865 #define GL_RGBA_FLOAT16_APPLE 0x881A
5866 #define GL_RGB_FLOAT16_APPLE 0x881B
5867 #define GL_ALPHA_FLOAT16_APPLE 0x881C
5868 #define GL_INTENSITY_FLOAT16_APPLE 0x881D
5869 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
5870 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
5871 #define GL_COLOR_FLOAT_APPLE 0x8A0F
5872 #endif /* GL_APPLE_float_pixels */
5874 #ifndef GL_APPLE_flush_buffer_range
5875 #define GL_APPLE_flush_buffer_range 1
5876 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
5877 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
5878 typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
5879 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
5880 #ifdef GL_GLEXT_PROTOTYPES
5881 GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
5882 GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
5884 #endif /* GL_APPLE_flush_buffer_range */
5886 #ifndef GL_APPLE_object_purgeable
5887 #define GL_APPLE_object_purgeable 1
5888 #define GL_BUFFER_OBJECT_APPLE 0x85B3
5889 #define GL_RELEASED_APPLE 0x8A19
5890 #define GL_VOLATILE_APPLE 0x8A1A
5891 #define GL_RETAINED_APPLE 0x8A1B
5892 #define GL_UNDEFINED_APPLE 0x8A1C
5893 #define GL_PURGEABLE_APPLE 0x8A1D
5894 typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5895 typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5896 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5897 #ifdef GL_GLEXT_PROTOTYPES
5898 GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5899 GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5900 GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5902 #endif /* GL_APPLE_object_purgeable */
5904 #ifndef GL_APPLE_rgb_422
5905 #define GL_APPLE_rgb_422 1
5906 #define GL_RGB_422_APPLE 0x8A1F
5907 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
5908 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
5909 #define GL_RGB_RAW_422_APPLE 0x8A51
5910 #endif /* GL_APPLE_rgb_422 */
5912 #ifndef GL_APPLE_row_bytes
5913 #define GL_APPLE_row_bytes 1
5914 #define GL_PACK_ROW_BYTES_APPLE 0x8A15
5915 #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
5916 #endif /* GL_APPLE_row_bytes */
5918 #ifndef GL_APPLE_specular_vector
5919 #define GL_APPLE_specular_vector 1
5920 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
5921 #endif /* GL_APPLE_specular_vector */
5923 #ifndef GL_APPLE_texture_range
5924 #define GL_APPLE_texture_range 1
5925 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
5926 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
5927 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
5928 #define GL_STORAGE_PRIVATE_APPLE 0x85BD
5929 #define GL_STORAGE_CACHED_APPLE 0x85BE
5930 #define GL_STORAGE_SHARED_APPLE 0x85BF
5931 typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
5932 typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
5933 #ifdef GL_GLEXT_PROTOTYPES
5934 GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
5935 GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
5937 #endif /* GL_APPLE_texture_range */
5939 #ifndef GL_APPLE_transform_hint
5940 #define GL_APPLE_transform_hint 1
5941 #define GL_TRANSFORM_HINT_APPLE 0x85B1
5942 #endif /* GL_APPLE_transform_hint */
5944 #ifndef GL_APPLE_vertex_array_object
5945 #define GL_APPLE_vertex_array_object 1
5946 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
5947 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
5948 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
5949 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
5950 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
5951 #ifdef GL_GLEXT_PROTOTYPES
5952 GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
5953 GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
5954 GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
5955 GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
5957 #endif /* GL_APPLE_vertex_array_object */
5959 #ifndef GL_APPLE_vertex_array_range
5960 #define GL_APPLE_vertex_array_range 1
5961 #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
5962 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
5963 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
5964 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
5965 #define GL_STORAGE_CLIENT_APPLE 0x85B4
5966 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5967 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5968 typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
5969 #ifdef GL_GLEXT_PROTOTYPES
5970 GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5971 GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5972 GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
5974 #endif /* GL_APPLE_vertex_array_range */
5976 #ifndef GL_APPLE_vertex_program_evaluators
5977 #define GL_APPLE_vertex_program_evaluators 1
5978 #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
5979 #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
5980 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
5981 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
5982 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
5983 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
5984 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
5985 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
5986 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
5987 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
5988 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
5989 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
5990 typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
5991 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
5992 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
5993 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);
5994 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);
5995 #ifdef GL_GLEXT_PROTOTYPES
5996 GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
5997 GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
5998 GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
5999 GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
6000 GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
6001 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);
6002 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);
6004 #endif /* GL_APPLE_vertex_program_evaluators */
6006 #ifndef GL_APPLE_ycbcr_422
6007 #define GL_APPLE_ycbcr_422 1
6008 #define GL_YCBCR_422_APPLE 0x85B9
6009 #endif /* GL_APPLE_ycbcr_422 */
6011 #ifndef GL_ATI_draw_buffers
6012 #define GL_ATI_draw_buffers 1
6013 #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
6014 #define GL_DRAW_BUFFER0_ATI 0x8825
6015 #define GL_DRAW_BUFFER1_ATI 0x8826
6016 #define GL_DRAW_BUFFER2_ATI 0x8827
6017 #define GL_DRAW_BUFFER3_ATI 0x8828
6018 #define GL_DRAW_BUFFER4_ATI 0x8829
6019 #define GL_DRAW_BUFFER5_ATI 0x882A
6020 #define GL_DRAW_BUFFER6_ATI 0x882B
6021 #define GL_DRAW_BUFFER7_ATI 0x882C
6022 #define GL_DRAW_BUFFER8_ATI 0x882D
6023 #define GL_DRAW_BUFFER9_ATI 0x882E
6024 #define GL_DRAW_BUFFER10_ATI 0x882F
6025 #define GL_DRAW_BUFFER11_ATI 0x8830
6026 #define GL_DRAW_BUFFER12_ATI 0x8831
6027 #define GL_DRAW_BUFFER13_ATI 0x8832
6028 #define GL_DRAW_BUFFER14_ATI 0x8833
6029 #define GL_DRAW_BUFFER15_ATI 0x8834
6030 typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
6031 #ifdef GL_GLEXT_PROTOTYPES
6032 GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
6034 #endif /* GL_ATI_draw_buffers */
6036 #ifndef GL_ATI_element_array
6037 #define GL_ATI_element_array 1
6038 #define GL_ELEMENT_ARRAY_ATI 0x8768
6039 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
6040 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
6041 typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
6042 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
6043 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
6044 #ifdef GL_GLEXT_PROTOTYPES
6045 GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
6046 GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
6047 GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
6049 #endif /* GL_ATI_element_array */
6051 #ifndef GL_ATI_envmap_bumpmap
6052 #define GL_ATI_envmap_bumpmap 1
6053 #define GL_BUMP_ROT_MATRIX_ATI 0x8775
6054 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
6055 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
6056 #define GL_BUMP_TEX_UNITS_ATI 0x8778
6057 #define GL_DUDV_ATI 0x8779
6058 #define GL_DU8DV8_ATI 0x877A
6059 #define GL_BUMP_ENVMAP_ATI 0x877B
6060 #define GL_BUMP_TARGET_ATI 0x877C
6061 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
6062 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
6063 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
6064 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
6065 #ifdef GL_GLEXT_PROTOTYPES
6066 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
6067 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
6068 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
6069 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
6071 #endif /* GL_ATI_envmap_bumpmap */
6073 #ifndef GL_ATI_fragment_shader
6074 #define GL_ATI_fragment_shader 1
6075 #define GL_FRAGMENT_SHADER_ATI 0x8920
6076 #define GL_REG_0_ATI 0x8921
6077 #define GL_REG_1_ATI 0x8922
6078 #define GL_REG_2_ATI 0x8923
6079 #define GL_REG_3_ATI 0x8924
6080 #define GL_REG_4_ATI 0x8925
6081 #define GL_REG_5_ATI 0x8926
6082 #define GL_REG_6_ATI 0x8927
6083 #define GL_REG_7_ATI 0x8928
6084 #define GL_REG_8_ATI 0x8929
6085 #define GL_REG_9_ATI 0x892A
6086 #define GL_REG_10_ATI 0x892B
6087 #define GL_REG_11_ATI 0x892C
6088 #define GL_REG_12_ATI 0x892D
6089 #define GL_REG_13_ATI 0x892E
6090 #define GL_REG_14_ATI 0x892F
6091 #define GL_REG_15_ATI 0x8930
6092 #define GL_REG_16_ATI 0x8931
6093 #define GL_REG_17_ATI 0x8932
6094 #define GL_REG_18_ATI 0x8933
6095 #define GL_REG_19_ATI 0x8934
6096 #define GL_REG_20_ATI 0x8935
6097 #define GL_REG_21_ATI 0x8936
6098 #define GL_REG_22_ATI 0x8937
6099 #define GL_REG_23_ATI 0x8938
6100 #define GL_REG_24_ATI 0x8939
6101 #define GL_REG_25_ATI 0x893A
6102 #define GL_REG_26_ATI 0x893B
6103 #define GL_REG_27_ATI 0x893C
6104 #define GL_REG_28_ATI 0x893D
6105 #define GL_REG_29_ATI 0x893E
6106 #define GL_REG_30_ATI 0x893F
6107 #define GL_REG_31_ATI 0x8940
6108 #define GL_CON_0_ATI 0x8941
6109 #define GL_CON_1_ATI 0x8942
6110 #define GL_CON_2_ATI 0x8943
6111 #define GL_CON_3_ATI 0x8944
6112 #define GL_CON_4_ATI 0x8945
6113 #define GL_CON_5_ATI 0x8946
6114 #define GL_CON_6_ATI 0x8947
6115 #define GL_CON_7_ATI 0x8948
6116 #define GL_CON_8_ATI 0x8949
6117 #define GL_CON_9_ATI 0x894A
6118 #define GL_CON_10_ATI 0x894B
6119 #define GL_CON_11_ATI 0x894C
6120 #define GL_CON_12_ATI 0x894D
6121 #define GL_CON_13_ATI 0x894E
6122 #define GL_CON_14_ATI 0x894F
6123 #define GL_CON_15_ATI 0x8950
6124 #define GL_CON_16_ATI 0x8951
6125 #define GL_CON_17_ATI 0x8952
6126 #define GL_CON_18_ATI 0x8953
6127 #define GL_CON_19_ATI 0x8954
6128 #define GL_CON_20_ATI 0x8955
6129 #define GL_CON_21_ATI 0x8956
6130 #define GL_CON_22_ATI 0x8957
6131 #define GL_CON_23_ATI 0x8958
6132 #define GL_CON_24_ATI 0x8959
6133 #define GL_CON_25_ATI 0x895A
6134 #define GL_CON_26_ATI 0x895B
6135 #define GL_CON_27_ATI 0x895C
6136 #define GL_CON_28_ATI 0x895D
6137 #define GL_CON_29_ATI 0x895E
6138 #define GL_CON_30_ATI 0x895F
6139 #define GL_CON_31_ATI 0x8960
6140 #define GL_MOV_ATI 0x8961
6141 #define GL_ADD_ATI 0x8963
6142 #define GL_MUL_ATI 0x8964
6143 #define GL_SUB_ATI 0x8965
6144 #define GL_DOT3_ATI 0x8966
6145 #define GL_DOT4_ATI 0x8967
6146 #define GL_MAD_ATI 0x8968
6147 #define GL_LERP_ATI 0x8969
6148 #define GL_CND_ATI 0x896A
6149 #define GL_CND0_ATI 0x896B
6150 #define GL_DOT2_ADD_ATI 0x896C
6151 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
6152 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
6153 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
6154 #define GL_NUM_PASSES_ATI 0x8970
6155 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
6156 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
6157 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
6158 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
6159 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
6160 #define GL_SWIZZLE_STR_ATI 0x8976
6161 #define GL_SWIZZLE_STQ_ATI 0x8977
6162 #define GL_SWIZZLE_STR_DR_ATI 0x8978
6163 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
6164 #define GL_SWIZZLE_STRQ_ATI 0x897A
6165 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
6166 #define GL_RED_BIT_ATI 0x00000001
6167 #define GL_GREEN_BIT_ATI 0x00000002
6168 #define GL_BLUE_BIT_ATI 0x00000004
6169 #define GL_2X_BIT_ATI 0x00000001
6170 #define GL_4X_BIT_ATI 0x00000002
6171 #define GL_8X_BIT_ATI 0x00000004
6172 #define GL_HALF_BIT_ATI 0x00000008
6173 #define GL_QUARTER_BIT_ATI 0x00000010
6174 #define GL_EIGHTH_BIT_ATI 0x00000020
6175 #define GL_SATURATE_BIT_ATI 0x00000040
6176 #define GL_COMP_BIT_ATI 0x00000002
6177 #define GL_NEGATE_BIT_ATI 0x00000004
6178 #define GL_BIAS_BIT_ATI 0x00000008
6179 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
6180 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
6181 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
6182 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
6183 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
6184 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
6185 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
6186 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6187 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6188 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
6189 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6190 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6191 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
6192 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
6193 #ifdef GL_GLEXT_PROTOTYPES
6194 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
6195 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
6196 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
6197 GLAPI void APIENTRY glBeginFragmentShaderATI (void);
6198 GLAPI void APIENTRY glEndFragmentShaderATI (void);
6199 GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
6200 GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
6201 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6202 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6203 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);
6204 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6205 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6206 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);
6207 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
6209 #endif /* GL_ATI_fragment_shader */
6211 #ifndef GL_ATI_map_object_buffer
6212 #define GL_ATI_map_object_buffer 1
6213 typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
6214 typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
6215 #ifdef GL_GLEXT_PROTOTYPES
6216 GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
6217 GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
6219 #endif /* GL_ATI_map_object_buffer */
6221 #ifndef GL_ATI_meminfo
6222 #define GL_ATI_meminfo 1
6223 #define GL_VBO_FREE_MEMORY_ATI 0x87FB
6224 #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
6225 #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
6226 #endif /* GL_ATI_meminfo */
6228 #ifndef GL_ATI_pixel_format_float
6229 #define GL_ATI_pixel_format_float 1
6230 #define GL_RGBA_FLOAT_MODE_ATI 0x8820
6231 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
6232 #endif /* GL_ATI_pixel_format_float */
6234 #ifndef GL_ATI_pn_triangles
6235 #define GL_ATI_pn_triangles 1
6236 #define GL_PN_TRIANGLES_ATI 0x87F0
6237 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
6238 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
6239 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
6240 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
6241 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
6242 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
6243 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
6244 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
6245 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
6246 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
6247 #ifdef GL_GLEXT_PROTOTYPES
6248 GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
6249 GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
6251 #endif /* GL_ATI_pn_triangles */
6253 #ifndef GL_ATI_separate_stencil
6254 #define GL_ATI_separate_stencil 1
6255 #define GL_STENCIL_BACK_FUNC_ATI 0x8800
6256 #define GL_STENCIL_BACK_FAIL_ATI 0x8801
6257 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
6258 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
6259 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
6260 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
6261 #ifdef GL_GLEXT_PROTOTYPES
6262 GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
6263 GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
6265 #endif /* GL_ATI_separate_stencil */
6267 #ifndef GL_ATI_text_fragment_shader
6268 #define GL_ATI_text_fragment_shader 1
6269 #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
6270 #endif /* GL_ATI_text_fragment_shader */
6272 #ifndef GL_ATI_texture_env_combine3
6273 #define GL_ATI_texture_env_combine3 1
6274 #define GL_MODULATE_ADD_ATI 0x8744
6275 #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
6276 #define GL_MODULATE_SUBTRACT_ATI 0x8746
6277 #endif /* GL_ATI_texture_env_combine3 */
6279 #ifndef GL_ATI_texture_float
6280 #define GL_ATI_texture_float 1
6281 #define GL_RGBA_FLOAT32_ATI 0x8814
6282 #define GL_RGB_FLOAT32_ATI 0x8815
6283 #define GL_ALPHA_FLOAT32_ATI 0x8816
6284 #define GL_INTENSITY_FLOAT32_ATI 0x8817
6285 #define GL_LUMINANCE_FLOAT32_ATI 0x8818
6286 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
6287 #define GL_RGBA_FLOAT16_ATI 0x881A
6288 #define GL_RGB_FLOAT16_ATI 0x881B
6289 #define GL_ALPHA_FLOAT16_ATI 0x881C
6290 #define GL_INTENSITY_FLOAT16_ATI 0x881D
6291 #define GL_LUMINANCE_FLOAT16_ATI 0x881E
6292 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
6293 #endif /* GL_ATI_texture_float */
6295 #ifndef GL_ATI_texture_mirror_once
6296 #define GL_ATI_texture_mirror_once 1
6297 #define GL_MIRROR_CLAMP_ATI 0x8742
6298 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
6299 #endif /* GL_ATI_texture_mirror_once */
6301 #ifndef GL_ATI_vertex_array_object
6302 #define GL_ATI_vertex_array_object 1
6303 #define GL_STATIC_ATI 0x8760
6304 #define GL_DYNAMIC_ATI 0x8761
6305 #define GL_PRESERVE_ATI 0x8762
6306 #define GL_DISCARD_ATI 0x8763
6307 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
6308 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
6309 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
6310 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
6311 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
6312 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
6313 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
6314 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
6315 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
6316 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
6317 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6318 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
6319 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
6320 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6321 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
6322 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
6323 #ifdef GL_GLEXT_PROTOTYPES
6324 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
6325 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
6326 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
6327 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
6328 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
6329 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
6330 GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6331 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
6332 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
6333 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6334 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
6335 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
6337 #endif /* GL_ATI_vertex_array_object */
6339 #ifndef GL_ATI_vertex_attrib_array_object
6340 #define GL_ATI_vertex_attrib_array_object 1
6341 typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6342 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
6343 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
6344 #ifdef GL_GLEXT_PROTOTYPES
6345 GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6346 GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
6347 GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
6349 #endif /* GL_ATI_vertex_attrib_array_object */
6351 #ifndef GL_ATI_vertex_streams
6352 #define GL_ATI_vertex_streams 1
6353 #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
6354 #define GL_VERTEX_STREAM0_ATI 0x876C
6355 #define GL_VERTEX_STREAM1_ATI 0x876D
6356 #define GL_VERTEX_STREAM2_ATI 0x876E
6357 #define GL_VERTEX_STREAM3_ATI 0x876F
6358 #define GL_VERTEX_STREAM4_ATI 0x8770
6359 #define GL_VERTEX_STREAM5_ATI 0x8771
6360 #define GL_VERTEX_STREAM6_ATI 0x8772
6361 #define GL_VERTEX_STREAM7_ATI 0x8773
6362 #define GL_VERTEX_SOURCE_ATI 0x8774
6363 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
6364 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
6365 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
6366 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
6367 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
6368 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
6369 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
6370 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
6371 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
6372 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
6373 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
6374 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
6375 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
6376 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
6377 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
6378 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
6379 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
6380 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6381 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
6382 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6383 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6384 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6385 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6386 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6387 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6388 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
6389 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6390 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
6391 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6392 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
6393 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6394 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
6395 typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
6396 typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
6397 typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
6398 typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6399 typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
6400 typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6401 typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
6402 typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6403 typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
6404 typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6405 typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
6406 typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
6407 typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
6408 #ifdef GL_GLEXT_PROTOTYPES
6409 GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
6410 GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
6411 GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
6412 GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
6413 GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
6414 GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
6415 GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
6416 GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
6417 GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
6418 GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
6419 GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
6420 GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
6421 GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
6422 GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
6423 GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
6424 GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
6425 GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
6426 GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
6427 GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
6428 GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
6429 GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6430 GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
6431 GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6432 GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
6433 GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6434 GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
6435 GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6436 GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
6437 GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6438 GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
6439 GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6440 GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
6441 GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
6442 GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
6443 GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
6444 GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
6445 GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
6446 GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
6447 GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
6448 GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
6449 GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
6450 GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
6451 GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
6452 GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
6453 GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
6455 #endif /* GL_ATI_vertex_streams */
6457 #ifndef GL_EXT_422_pixels
6458 #define GL_EXT_422_pixels 1
6459 #define GL_422_EXT 0x80CC
6460 #define GL_422_REV_EXT 0x80CD
6461 #define GL_422_AVERAGE_EXT 0x80CE
6462 #define GL_422_REV_AVERAGE_EXT 0x80CF
6463 #endif /* GL_EXT_422_pixels */
6465 #ifndef GL_EXT_EGL_image_storage
6466 #define GL_EXT_EGL_image_storage 1
6467 typedef void *GLeglImageOES;
6468 typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
6469 typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
6470 #ifdef GL_GLEXT_PROTOTYPES
6471 GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
6472 GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
6474 #endif /* GL_EXT_EGL_image_storage */
6476 #ifndef GL_EXT_EGL_sync
6477 #define GL_EXT_EGL_sync 1
6478 #endif /* GL_EXT_EGL_sync */
6481 #define GL_EXT_abgr 1
6482 #define GL_ABGR_EXT 0x8000
6483 #endif /* GL_EXT_abgr */
6486 #define GL_EXT_bgra 1
6487 #define GL_BGR_EXT 0x80E0
6488 #define GL_BGRA_EXT 0x80E1
6489 #endif /* GL_EXT_bgra */
6491 #ifndef GL_EXT_bindable_uniform
6492 #define GL_EXT_bindable_uniform 1
6493 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
6494 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
6495 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
6496 #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
6497 #define GL_UNIFORM_BUFFER_EXT 0x8DEE
6498 #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
6499 typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
6500 typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
6501 typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
6502 #ifdef GL_GLEXT_PROTOTYPES
6503 GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
6504 GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
6505 GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
6507 #endif /* GL_EXT_bindable_uniform */
6509 #ifndef GL_EXT_blend_color
6510 #define GL_EXT_blend_color 1
6511 #define GL_CONSTANT_COLOR_EXT 0x8001
6512 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
6513 #define GL_CONSTANT_ALPHA_EXT 0x8003
6514 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
6515 #define GL_BLEND_COLOR_EXT 0x8005
6516 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6517 #ifdef GL_GLEXT_PROTOTYPES
6518 GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6520 #endif /* GL_EXT_blend_color */
6522 #ifndef GL_EXT_blend_equation_separate
6523 #define GL_EXT_blend_equation_separate 1
6524 #define GL_BLEND_EQUATION_RGB_EXT 0x8009
6525 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
6526 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
6527 #ifdef GL_GLEXT_PROTOTYPES
6528 GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
6530 #endif /* GL_EXT_blend_equation_separate */
6532 #ifndef GL_EXT_blend_func_separate
6533 #define GL_EXT_blend_func_separate 1
6534 #define GL_BLEND_DST_RGB_EXT 0x80C8
6535 #define GL_BLEND_SRC_RGB_EXT 0x80C9
6536 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
6537 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
6538 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6539 #ifdef GL_GLEXT_PROTOTYPES
6540 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6542 #endif /* GL_EXT_blend_func_separate */
6544 #ifndef GL_EXT_blend_logic_op
6545 #define GL_EXT_blend_logic_op 1
6546 #endif /* GL_EXT_blend_logic_op */
6548 #ifndef GL_EXT_blend_minmax
6549 #define GL_EXT_blend_minmax 1
6550 #define GL_MIN_EXT 0x8007
6551 #define GL_MAX_EXT 0x8008
6552 #define GL_FUNC_ADD_EXT 0x8006
6553 #define GL_BLEND_EQUATION_EXT 0x8009
6554 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
6555 #ifdef GL_GLEXT_PROTOTYPES
6556 GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
6558 #endif /* GL_EXT_blend_minmax */
6560 #ifndef GL_EXT_blend_subtract
6561 #define GL_EXT_blend_subtract 1
6562 #define GL_FUNC_SUBTRACT_EXT 0x800A
6563 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
6564 #endif /* GL_EXT_blend_subtract */
6566 #ifndef GL_EXT_clip_volume_hint
6567 #define GL_EXT_clip_volume_hint 1
6568 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
6569 #endif /* GL_EXT_clip_volume_hint */
6571 #ifndef GL_EXT_cmyka
6572 #define GL_EXT_cmyka 1
6573 #define GL_CMYK_EXT 0x800C
6574 #define GL_CMYKA_EXT 0x800D
6575 #define GL_PACK_CMYK_HINT_EXT 0x800E
6576 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
6577 #endif /* GL_EXT_cmyka */
6579 #ifndef GL_EXT_color_subtable
6580 #define GL_EXT_color_subtable 1
6581 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
6582 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6583 #ifdef GL_GLEXT_PROTOTYPES
6584 GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
6585 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6587 #endif /* GL_EXT_color_subtable */
6589 #ifndef GL_EXT_compiled_vertex_array
6590 #define GL_EXT_compiled_vertex_array 1
6591 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
6592 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
6593 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
6594 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
6595 #ifdef GL_GLEXT_PROTOTYPES
6596 GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
6597 GLAPI void APIENTRY glUnlockArraysEXT (void);
6599 #endif /* GL_EXT_compiled_vertex_array */
6601 #ifndef GL_EXT_convolution
6602 #define GL_EXT_convolution 1
6603 #define GL_CONVOLUTION_1D_EXT 0x8010
6604 #define GL_CONVOLUTION_2D_EXT 0x8011
6605 #define GL_SEPARABLE_2D_EXT 0x8012
6606 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
6607 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
6608 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
6609 #define GL_REDUCE_EXT 0x8016
6610 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
6611 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
6612 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
6613 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
6614 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
6615 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
6616 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
6617 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
6618 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
6619 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
6620 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
6621 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
6622 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
6623 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
6624 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
6625 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
6626 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
6627 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
6628 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
6629 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6630 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6631 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
6632 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6633 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6634 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
6635 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
6636 #ifdef GL_GLEXT_PROTOTYPES
6637 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
6638 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
6639 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
6640 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
6641 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
6642 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
6643 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6644 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6645 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
6646 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
6647 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
6648 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
6649 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
6651 #endif /* GL_EXT_convolution */
6653 #ifndef GL_EXT_coordinate_frame
6654 #define GL_EXT_coordinate_frame 1
6655 #define GL_TANGENT_ARRAY_EXT 0x8439
6656 #define GL_BINORMAL_ARRAY_EXT 0x843A
6657 #define GL_CURRENT_TANGENT_EXT 0x843B
6658 #define GL_CURRENT_BINORMAL_EXT 0x843C
6659 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
6660 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
6661 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
6662 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
6663 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
6664 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
6665 #define GL_MAP1_TANGENT_EXT 0x8444
6666 #define GL_MAP2_TANGENT_EXT 0x8445
6667 #define GL_MAP1_BINORMAL_EXT 0x8446
6668 #define GL_MAP2_BINORMAL_EXT 0x8447
6669 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
6670 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
6671 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
6672 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
6673 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
6674 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
6675 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
6676 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
6677 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
6678 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
6679 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
6680 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
6681 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
6682 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
6683 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
6684 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
6685 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
6686 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
6687 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
6688 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
6689 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
6690 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
6691 #ifdef GL_GLEXT_PROTOTYPES
6692 GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
6693 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
6694 GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
6695 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
6696 GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
6697 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
6698 GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
6699 GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
6700 GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
6701 GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
6702 GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
6703 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
6704 GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
6705 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
6706 GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
6707 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
6708 GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
6709 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
6710 GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
6711 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
6712 GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6713 GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6715 #endif /* GL_EXT_coordinate_frame */
6717 #ifndef GL_EXT_copy_texture
6718 #define GL_EXT_copy_texture 1
6719 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6720 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6721 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6722 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6723 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6724 #ifdef GL_GLEXT_PROTOTYPES
6725 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6726 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6727 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6728 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6729 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6731 #endif /* GL_EXT_copy_texture */
6733 #ifndef GL_EXT_cull_vertex
6734 #define GL_EXT_cull_vertex 1
6735 #define GL_CULL_VERTEX_EXT 0x81AA
6736 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
6737 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
6738 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
6739 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
6740 #ifdef GL_GLEXT_PROTOTYPES
6741 GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
6742 GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
6744 #endif /* GL_EXT_cull_vertex */
6746 #ifndef GL_EXT_debug_label
6747 #define GL_EXT_debug_label 1
6748 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
6749 #define GL_PROGRAM_OBJECT_EXT 0x8B40
6750 #define GL_SHADER_OBJECT_EXT 0x8B48
6751 #define GL_BUFFER_OBJECT_EXT 0x9151
6752 #define GL_QUERY_OBJECT_EXT 0x9153
6753 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
6754 typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6755 typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6756 #ifdef GL_GLEXT_PROTOTYPES
6757 GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6758 GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6760 #endif /* GL_EXT_debug_label */
6762 #ifndef GL_EXT_debug_marker
6763 #define GL_EXT_debug_marker 1
6764 typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6765 typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6766 typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
6767 #ifdef GL_GLEXT_PROTOTYPES
6768 GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
6769 GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
6770 GLAPI void APIENTRY glPopGroupMarkerEXT (void);
6772 #endif /* GL_EXT_debug_marker */
6774 #ifndef GL_EXT_depth_bounds_test
6775 #define GL_EXT_depth_bounds_test 1
6776 #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
6777 #define GL_DEPTH_BOUNDS_EXT 0x8891
6778 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6779 #ifdef GL_GLEXT_PROTOTYPES
6780 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
6782 #endif /* GL_EXT_depth_bounds_test */
6784 #ifndef GL_EXT_direct_state_access
6785 #define GL_EXT_direct_state_access 1
6786 #define GL_PROGRAM_MATRIX_EXT 0x8E2D
6787 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
6788 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
6789 typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
6790 typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
6791 typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
6792 typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
6793 typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
6794 typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
6795 typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
6796 typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6797 typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6798 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6799 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6800 typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6801 typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6802 typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
6803 typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
6804 typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6805 typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6806 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
6807 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
6808 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
6809 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6810 typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6811 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);
6812 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6813 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);
6814 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6815 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6816 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6817 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6818 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6819 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
6820 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6821 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
6822 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
6823 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);
6824 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);
6825 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6826 typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
6827 typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
6828 typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6829 typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6830 typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6831 typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6832 typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
6833 typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
6834 typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
6835 typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
6836 typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
6837 typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
6838 typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6839 typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6840 typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
6841 typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
6842 typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
6843 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6844 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6845 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6846 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6847 typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6848 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);
6849 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6850 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);
6851 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6852 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6853 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6854 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6855 typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6856 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6857 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6858 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
6859 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
6860 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);
6861 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);
6862 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6863 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6864 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6865 typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
6866 typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
6867 typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
6868 typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6869 typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6870 typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
6871 typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
6872 typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
6873 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);
6874 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6875 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6876 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);
6877 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);
6878 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6879 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
6880 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);
6881 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6882 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6883 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);
6884 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);
6885 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6886 typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
6887 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6888 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6889 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6890 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6891 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
6892 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
6893 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
6894 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
6895 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
6896 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
6897 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
6898 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
6899 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
6900 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6901 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6902 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
6903 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
6904 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
6905 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6906 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6907 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6908 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6909 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6910 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6911 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6912 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6913 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6914 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6915 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6916 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6917 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6918 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6919 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6920 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6921 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6922 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6923 typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
6924 typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
6925 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6926 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
6927 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6928 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
6929 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6930 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
6931 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6932 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
6933 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
6934 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
6935 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
6936 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6937 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6938 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6939 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6940 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6941 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6942 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
6943 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
6944 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
6945 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6946 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
6947 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
6948 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
6949 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
6950 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6951 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6952 typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
6953 typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
6954 typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
6955 typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
6956 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6957 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
6958 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6959 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
6960 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
6961 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
6962 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
6963 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
6964 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
6965 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
6966 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6967 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
6968 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
6969 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6970 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6971 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6972 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6973 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
6974 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
6975 typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
6976 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6977 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
6978 typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6979 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
6980 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
6981 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
6982 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
6983 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
6984 typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
6985 typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
6986 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6987 typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6988 typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
6989 typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6990 typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6991 typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6992 typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6993 typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6994 typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6995 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
6996 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6997 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6998 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6999 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
7000 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
7001 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
7002 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
7003 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
7004 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
7005 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
7006 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
7007 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
7008 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
7009 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
7010 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
7011 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
7012 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
7013 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
7014 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
7015 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7016 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7017 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7018 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7019 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7020 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7021 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7022 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7023 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7024 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7025 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7026 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7027 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7028 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7029 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
7030 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
7031 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
7032 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
7033 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
7034 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
7035 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
7036 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
7037 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
7038 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
7039 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
7040 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
7041 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7042 typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
7043 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
7044 #ifdef GL_GLEXT_PROTOTYPES
7045 GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
7046 GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
7047 GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
7048 GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
7049 GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
7050 GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
7051 GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
7052 GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
7053 GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
7054 GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
7055 GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
7056 GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
7057 GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
7058 GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
7059 GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
7060 GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
7061 GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
7062 GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
7063 GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
7064 GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
7065 GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
7066 GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
7067 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);
7068 GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7069 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);
7070 GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
7071 GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
7072 GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
7073 GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7074 GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
7075 GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
7076 GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
7077 GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
7078 GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
7079 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);
7080 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);
7081 GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7082 GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
7083 GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
7084 GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
7085 GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
7086 GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
7087 GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
7088 GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
7089 GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
7090 GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
7091 GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
7092 GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
7093 GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
7094 GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
7095 GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
7096 GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
7097 GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
7098 GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
7099 GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
7100 GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
7101 GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
7102 GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
7103 GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
7104 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);
7105 GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7106 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);
7107 GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
7108 GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
7109 GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
7110 GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7111 GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
7112 GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
7113 GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
7114 GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
7115 GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
7116 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);
7117 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);
7118 GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7119 GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
7120 GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
7121 GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
7122 GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
7123 GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
7124 GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
7125 GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
7126 GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
7127 GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
7128 GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
7129 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);
7130 GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
7131 GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
7132 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);
7133 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);
7134 GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
7135 GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
7136 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);
7137 GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
7138 GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
7139 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);
7140 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);
7141 GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
7142 GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
7143 GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
7144 GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
7145 GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
7146 GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
7147 GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
7148 GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
7149 GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
7150 GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
7151 GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
7152 GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
7153 GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
7154 GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
7155 GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
7156 GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
7157 GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
7158 GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
7159 GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
7160 GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
7161 GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
7162 GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7163 GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7164 GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7165 GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7166 GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
7167 GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
7168 GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
7169 GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
7170 GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7171 GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7172 GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7173 GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7174 GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7175 GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7176 GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7177 GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7178 GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7179 GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
7180 GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
7181 GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
7182 GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
7183 GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
7184 GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
7185 GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
7186 GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
7187 GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
7188 GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
7189 GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
7190 GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
7191 GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
7192 GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7193 GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
7194 GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
7195 GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
7196 GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
7197 GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7198 GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
7199 GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
7200 GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
7201 GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7202 GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
7203 GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
7204 GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
7205 GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
7206 GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
7207 GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
7208 GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
7209 GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
7210 GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
7211 GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
7212 GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7213 GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
7214 GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7215 GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
7216 GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
7217 GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
7218 GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
7219 GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
7220 GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
7221 GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
7222 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7223 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
7224 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
7225 GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7226 GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7227 GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7228 GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7229 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
7230 GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
7231 GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
7232 GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
7233 GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
7234 GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
7235 GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
7236 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
7237 GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
7238 GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
7239 GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
7240 GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
7241 GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
7242 GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7243 GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7244 GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
7245 GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7246 GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7247 GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7248 GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7249 GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7250 GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7251 GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
7252 GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7253 GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
7254 GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
7255 GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
7256 GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
7257 GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
7258 GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
7259 GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
7260 GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
7261 GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
7262 GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
7263 GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
7264 GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
7265 GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
7266 GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
7267 GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
7268 GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
7269 GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
7270 GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
7271 GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7272 GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7273 GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7274 GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7275 GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7276 GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7277 GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7278 GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7279 GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7280 GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7281 GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7282 GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7283 GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7284 GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7285 GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
7286 GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
7287 GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
7288 GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
7289 GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
7290 GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
7291 GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
7292 GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
7293 GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
7294 GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
7295 GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
7296 GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
7297 GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7298 GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
7299 GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
7301 #endif /* GL_EXT_direct_state_access */
7303 #ifndef GL_EXT_draw_buffers2
7304 #define GL_EXT_draw_buffers2 1
7305 typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
7306 #ifdef GL_GLEXT_PROTOTYPES
7307 GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
7309 #endif /* GL_EXT_draw_buffers2 */
7311 #ifndef GL_EXT_draw_instanced
7312 #define GL_EXT_draw_instanced 1
7313 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
7314 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
7315 #ifdef GL_GLEXT_PROTOTYPES
7316 GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
7317 GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
7319 #endif /* GL_EXT_draw_instanced */
7321 #ifndef GL_EXT_draw_range_elements
7322 #define GL_EXT_draw_range_elements 1
7323 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
7324 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
7325 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
7326 #ifdef GL_GLEXT_PROTOTYPES
7327 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
7329 #endif /* GL_EXT_draw_range_elements */
7331 #ifndef GL_EXT_external_buffer
7332 #define GL_EXT_external_buffer 1
7333 typedef void *GLeglClientBufferEXT;
7334 typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7335 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7336 #ifdef GL_GLEXT_PROTOTYPES
7337 GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7338 GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7340 #endif /* GL_EXT_external_buffer */
7342 #ifndef GL_EXT_fog_coord
7343 #define GL_EXT_fog_coord 1
7344 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
7345 #define GL_FOG_COORDINATE_EXT 0x8451
7346 #define GL_FRAGMENT_DEPTH_EXT 0x8452
7347 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
7348 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
7349 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
7350 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
7351 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
7352 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
7353 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
7354 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
7355 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
7356 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
7357 #ifdef GL_GLEXT_PROTOTYPES
7358 GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
7359 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
7360 GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
7361 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
7362 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
7364 #endif /* GL_EXT_fog_coord */
7366 #ifndef GL_EXT_framebuffer_blit
7367 #define GL_EXT_framebuffer_blit 1
7368 #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
7369 #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
7370 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
7371 #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
7372 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7373 #ifdef GL_GLEXT_PROTOTYPES
7374 GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7376 #endif /* GL_EXT_framebuffer_blit */
7378 #ifndef GL_EXT_framebuffer_blit_layers
7379 #define GL_EXT_framebuffer_blit_layers 1
7380 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERLAYERSEXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7381 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERLAYEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint srcLayer, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLint dstLayer, GLbitfield mask, GLenum filter);
7382 #ifdef GL_GLEXT_PROTOTYPES
7383 GLAPI void APIENTRY glBlitFramebufferLayersEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7384 GLAPI void APIENTRY glBlitFramebufferLayerEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint srcLayer, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLint dstLayer, GLbitfield mask, GLenum filter);
7386 #endif /* GL_EXT_framebuffer_blit_layers */
7388 #ifndef GL_EXT_framebuffer_multisample
7389 #define GL_EXT_framebuffer_multisample 1
7390 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
7391 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
7392 #define GL_MAX_SAMPLES_EXT 0x8D57
7393 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7394 #ifdef GL_GLEXT_PROTOTYPES
7395 GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7397 #endif /* GL_EXT_framebuffer_multisample */
7399 #ifndef GL_EXT_framebuffer_multisample_blit_scaled
7400 #define GL_EXT_framebuffer_multisample_blit_scaled 1
7401 #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
7402 #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
7403 #endif /* GL_EXT_framebuffer_multisample_blit_scaled */
7405 #ifndef GL_EXT_framebuffer_object
7406 #define GL_EXT_framebuffer_object 1
7407 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
7408 #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
7409 #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
7410 #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
7411 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
7412 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
7413 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
7414 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
7415 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
7416 #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
7417 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
7418 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
7419 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
7420 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
7421 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
7422 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
7423 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
7424 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
7425 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
7426 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
7427 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
7428 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
7429 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
7430 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
7431 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
7432 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
7433 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
7434 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
7435 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
7436 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
7437 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
7438 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
7439 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
7440 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
7441 #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
7442 #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
7443 #define GL_FRAMEBUFFER_EXT 0x8D40
7444 #define GL_RENDERBUFFER_EXT 0x8D41
7445 #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
7446 #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
7447 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
7448 #define GL_STENCIL_INDEX1_EXT 0x8D46
7449 #define GL_STENCIL_INDEX4_EXT 0x8D47
7450 #define GL_STENCIL_INDEX8_EXT 0x8D48
7451 #define GL_STENCIL_INDEX16_EXT 0x8D49
7452 #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
7453 #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
7454 #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
7455 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
7456 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
7457 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
7458 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
7459 typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
7460 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
7461 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
7462 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7463 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7464 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
7465 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
7466 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
7467 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
7468 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
7469 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7470 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7471 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7472 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7473 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7474 typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
7475 #ifdef GL_GLEXT_PROTOTYPES
7476 GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
7477 GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
7478 GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
7479 GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
7480 GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7481 GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
7482 GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
7483 GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
7484 GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
7485 GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
7486 GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
7487 GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7488 GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7489 GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7490 GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7491 GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7492 GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
7494 #endif /* GL_EXT_framebuffer_object */
7496 #ifndef GL_EXT_framebuffer_sRGB
7497 #define GL_EXT_framebuffer_sRGB 1
7498 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
7499 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
7500 #endif /* GL_EXT_framebuffer_sRGB */
7502 #ifndef GL_EXT_geometry_shader4
7503 #define GL_EXT_geometry_shader4 1
7504 #define GL_GEOMETRY_SHADER_EXT 0x8DD9
7505 #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
7506 #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
7507 #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
7508 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
7509 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
7510 #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
7511 #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
7512 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
7513 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
7514 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
7515 #define GL_LINES_ADJACENCY_EXT 0x000A
7516 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
7517 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
7518 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
7519 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
7520 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
7521 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
7522 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
7523 #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
7524 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
7525 #ifdef GL_GLEXT_PROTOTYPES
7526 GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
7528 #endif /* GL_EXT_geometry_shader4 */
7530 #ifndef GL_EXT_gpu_program_parameters
7531 #define GL_EXT_gpu_program_parameters 1
7532 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7533 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7534 #ifdef GL_GLEXT_PROTOTYPES
7535 GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7536 GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7538 #endif /* GL_EXT_gpu_program_parameters */
7540 #ifndef GL_EXT_gpu_shader4
7541 #define GL_EXT_gpu_shader4 1
7542 #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
7543 #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
7544 #define GL_SAMPLER_BUFFER_EXT 0x8DC2
7545 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
7546 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
7547 #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
7548 #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
7549 #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
7550 #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
7551 #define GL_INT_SAMPLER_1D_EXT 0x8DC9
7552 #define GL_INT_SAMPLER_2D_EXT 0x8DCA
7553 #define GL_INT_SAMPLER_3D_EXT 0x8DCB
7554 #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
7555 #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
7556 #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
7557 #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
7558 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
7559 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
7560 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
7561 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
7562 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
7563 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
7564 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
7565 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
7566 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
7567 #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
7568 #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
7569 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
7570 typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
7571 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
7572 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
7573 typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
7574 typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
7575 typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
7576 typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7577 typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7578 typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7579 typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7580 typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7581 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
7582 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
7583 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
7584 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
7585 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
7586 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
7587 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
7588 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7589 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
7590 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
7591 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
7592 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
7593 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
7594 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
7595 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
7596 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
7597 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
7598 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
7599 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
7600 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
7601 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
7602 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
7603 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
7604 #ifdef GL_GLEXT_PROTOTYPES
7605 GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
7606 GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
7607 GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
7608 GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
7609 GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
7610 GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
7611 GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7612 GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
7613 GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
7614 GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
7615 GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
7616 GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
7617 GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
7618 GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
7619 GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
7620 GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
7621 GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
7622 GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
7623 GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7624 GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
7625 GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
7626 GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
7627 GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
7628 GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
7629 GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
7630 GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
7631 GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
7632 GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
7633 GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
7634 GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
7635 GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
7636 GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
7637 GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
7638 GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
7640 #endif /* GL_EXT_gpu_shader4 */
7642 #ifndef GL_EXT_histogram
7643 #define GL_EXT_histogram 1
7644 #define GL_HISTOGRAM_EXT 0x8024
7645 #define GL_PROXY_HISTOGRAM_EXT 0x8025
7646 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
7647 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
7648 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
7649 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
7650 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
7651 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
7652 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
7653 #define GL_HISTOGRAM_SINK_EXT 0x802D
7654 #define GL_MINMAX_EXT 0x802E
7655 #define GL_MINMAX_FORMAT_EXT 0x802F
7656 #define GL_MINMAX_SINK_EXT 0x8030
7657 #define GL_TABLE_TOO_LARGE_EXT 0x8031
7658 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7659 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7660 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7661 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7662 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7663 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7664 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7665 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
7666 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
7667 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
7668 #ifdef GL_GLEXT_PROTOTYPES
7669 GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7670 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7671 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
7672 GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7673 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7674 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
7675 GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7676 GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
7677 GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
7678 GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
7680 #endif /* GL_EXT_histogram */
7682 #ifndef GL_EXT_index_array_formats
7683 #define GL_EXT_index_array_formats 1
7684 #define GL_IUI_V2F_EXT 0x81AD
7685 #define GL_IUI_V3F_EXT 0x81AE
7686 #define GL_IUI_N3F_V2F_EXT 0x81AF
7687 #define GL_IUI_N3F_V3F_EXT 0x81B0
7688 #define GL_T2F_IUI_V2F_EXT 0x81B1
7689 #define GL_T2F_IUI_V3F_EXT 0x81B2
7690 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
7691 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
7692 #endif /* GL_EXT_index_array_formats */
7694 #ifndef GL_EXT_index_func
7695 #define GL_EXT_index_func 1
7696 #define GL_INDEX_TEST_EXT 0x81B5
7697 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
7698 #define GL_INDEX_TEST_REF_EXT 0x81B7
7699 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
7700 #ifdef GL_GLEXT_PROTOTYPES
7701 GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
7703 #endif /* GL_EXT_index_func */
7705 #ifndef GL_EXT_index_material
7706 #define GL_EXT_index_material 1
7707 #define GL_INDEX_MATERIAL_EXT 0x81B8
7708 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
7709 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
7710 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
7711 #ifdef GL_GLEXT_PROTOTYPES
7712 GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
7714 #endif /* GL_EXT_index_material */
7716 #ifndef GL_EXT_index_texture
7717 #define GL_EXT_index_texture 1
7718 #endif /* GL_EXT_index_texture */
7720 #ifndef GL_EXT_light_texture
7721 #define GL_EXT_light_texture 1
7722 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
7723 #define GL_FRAGMENT_NORMAL_EXT 0x834A
7724 #define GL_FRAGMENT_COLOR_EXT 0x834C
7725 #define GL_ATTENUATION_EXT 0x834D
7726 #define GL_SHADOW_ATTENUATION_EXT 0x834E
7727 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
7728 #define GL_TEXTURE_LIGHT_EXT 0x8350
7729 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
7730 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
7731 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
7732 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
7733 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
7734 #ifdef GL_GLEXT_PROTOTYPES
7735 GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
7736 GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
7737 GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
7739 #endif /* GL_EXT_light_texture */
7741 #ifndef GL_EXT_memory_object
7742 #define GL_EXT_memory_object 1
7743 #define GL_TEXTURE_TILING_EXT 0x9580
7744 #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
7745 #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
7746 #define GL_NUM_TILING_TYPES_EXT 0x9582
7747 #define GL_TILING_TYPES_EXT 0x9583
7748 #define GL_OPTIMAL_TILING_EXT 0x9584
7749 #define GL_LINEAR_TILING_EXT 0x9585
7750 #define GL_NUM_DEVICE_UUIDS_EXT 0x9596
7751 #define GL_DEVICE_UUID_EXT 0x9597
7752 #define GL_DRIVER_UUID_EXT 0x9598
7753 #define GL_UUID_SIZE_EXT 16
7754 typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
7755 typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
7756 typedef void (APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
7757 typedef GLboolean (APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
7758 typedef void (APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
7759 typedef void (APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
7760 typedef void (APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
7761 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
7762 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7763 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
7764 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7765 typedef void (APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
7766 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
7767 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7768 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
7769 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7770 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
7771 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
7772 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM1DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
7773 #ifdef GL_GLEXT_PROTOTYPES
7774 GLAPI void APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
7775 GLAPI void APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
7776 GLAPI void APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
7777 GLAPI GLboolean APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
7778 GLAPI void APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
7779 GLAPI void APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
7780 GLAPI void APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
7781 GLAPI void APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
7782 GLAPI void APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7783 GLAPI void APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
7784 GLAPI void APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7785 GLAPI void APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
7786 GLAPI void APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
7787 GLAPI void APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7788 GLAPI void APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
7789 GLAPI void APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7790 GLAPI void APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
7791 GLAPI void APIENTRY glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
7792 GLAPI void APIENTRY glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
7794 #endif /* GL_EXT_memory_object */
7796 #ifndef GL_EXT_memory_object_fd
7797 #define GL_EXT_memory_object_fd 1
7798 #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
7799 typedef void (APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
7800 #ifdef GL_GLEXT_PROTOTYPES
7801 GLAPI void APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
7803 #endif /* GL_EXT_memory_object_fd */
7805 #ifndef GL_EXT_memory_object_win32
7806 #define GL_EXT_memory_object_win32 1
7807 #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
7808 #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
7809 #define GL_DEVICE_LUID_EXT 0x9599
7810 #define GL_DEVICE_NODE_MASK_EXT 0x959A
7811 #define GL_LUID_SIZE_EXT 8
7812 #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
7813 #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
7814 #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
7815 #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
7816 typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
7817 typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
7818 #ifdef GL_GLEXT_PROTOTYPES
7819 GLAPI void APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
7820 GLAPI void APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
7822 #endif /* GL_EXT_memory_object_win32 */
7824 #ifndef GL_EXT_misc_attribute
7825 #define GL_EXT_misc_attribute 1
7826 #endif /* GL_EXT_misc_attribute */
7828 #ifndef GL_EXT_multi_draw_arrays
7829 #define GL_EXT_multi_draw_arrays 1
7830 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
7831 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
7832 #ifdef GL_GLEXT_PROTOTYPES
7833 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
7834 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
7836 #endif /* GL_EXT_multi_draw_arrays */
7838 #ifndef GL_EXT_multisample
7839 #define GL_EXT_multisample 1
7840 #define GL_MULTISAMPLE_EXT 0x809D
7841 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
7842 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
7843 #define GL_SAMPLE_MASK_EXT 0x80A0
7844 #define GL_1PASS_EXT 0x80A1
7845 #define GL_2PASS_0_EXT 0x80A2
7846 #define GL_2PASS_1_EXT 0x80A3
7847 #define GL_4PASS_0_EXT 0x80A4
7848 #define GL_4PASS_1_EXT 0x80A5
7849 #define GL_4PASS_2_EXT 0x80A6
7850 #define GL_4PASS_3_EXT 0x80A7
7851 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
7852 #define GL_SAMPLES_EXT 0x80A9
7853 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
7854 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
7855 #define GL_SAMPLE_PATTERN_EXT 0x80AC
7856 #define GL_MULTISAMPLE_BIT_EXT 0x20000000
7857 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
7858 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
7859 #ifdef GL_GLEXT_PROTOTYPES
7860 GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
7861 GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
7863 #endif /* GL_EXT_multisample */
7865 #ifndef GL_EXT_multiview_tessellation_geometry_shader
7866 #define GL_EXT_multiview_tessellation_geometry_shader 1
7867 #endif /* GL_EXT_multiview_tessellation_geometry_shader */
7869 #ifndef GL_EXT_multiview_texture_multisample
7870 #define GL_EXT_multiview_texture_multisample 1
7871 #endif /* GL_EXT_multiview_texture_multisample */
7873 #ifndef GL_EXT_multiview_timer_query
7874 #define GL_EXT_multiview_timer_query 1
7875 #endif /* GL_EXT_multiview_timer_query */
7877 #ifndef GL_EXT_packed_depth_stencil
7878 #define GL_EXT_packed_depth_stencil 1
7879 #define GL_DEPTH_STENCIL_EXT 0x84F9
7880 #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
7881 #define GL_DEPTH24_STENCIL8_EXT 0x88F0
7882 #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
7883 #endif /* GL_EXT_packed_depth_stencil */
7885 #ifndef GL_EXT_packed_float
7886 #define GL_EXT_packed_float 1
7887 #define GL_R11F_G11F_B10F_EXT 0x8C3A
7888 #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
7889 #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
7890 #endif /* GL_EXT_packed_float */
7892 #ifndef GL_EXT_packed_pixels
7893 #define GL_EXT_packed_pixels 1
7894 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
7895 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
7896 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
7897 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
7898 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
7899 #endif /* GL_EXT_packed_pixels */
7901 #ifndef GL_EXT_paletted_texture
7902 #define GL_EXT_paletted_texture 1
7903 #define GL_COLOR_INDEX1_EXT 0x80E2
7904 #define GL_COLOR_INDEX2_EXT 0x80E3
7905 #define GL_COLOR_INDEX4_EXT 0x80E4
7906 #define GL_COLOR_INDEX8_EXT 0x80E5
7907 #define GL_COLOR_INDEX12_EXT 0x80E6
7908 #define GL_COLOR_INDEX16_EXT 0x80E7
7909 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
7910 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7911 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
7912 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7913 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7914 #ifdef GL_GLEXT_PROTOTYPES
7915 GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7916 GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
7917 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
7918 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7920 #endif /* GL_EXT_paletted_texture */
7922 #ifndef GL_EXT_pixel_buffer_object
7923 #define GL_EXT_pixel_buffer_object 1
7924 #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
7925 #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
7926 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
7927 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
7928 #endif /* GL_EXT_pixel_buffer_object */
7930 #ifndef GL_EXT_pixel_transform
7931 #define GL_EXT_pixel_transform 1
7932 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
7933 #define GL_PIXEL_MAG_FILTER_EXT 0x8331
7934 #define GL_PIXEL_MIN_FILTER_EXT 0x8332
7935 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
7936 #define GL_CUBIC_EXT 0x8334
7937 #define GL_AVERAGE_EXT 0x8335
7938 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
7939 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
7940 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
7941 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
7942 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
7943 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
7944 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
7945 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7946 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7947 #ifdef GL_GLEXT_PROTOTYPES
7948 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
7949 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
7950 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
7951 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
7952 GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
7953 GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7955 #endif /* GL_EXT_pixel_transform */
7957 #ifndef GL_EXT_pixel_transform_color_table
7958 #define GL_EXT_pixel_transform_color_table 1
7959 #endif /* GL_EXT_pixel_transform_color_table */
7961 #ifndef GL_EXT_point_parameters
7962 #define GL_EXT_point_parameters 1
7963 #define GL_POINT_SIZE_MIN_EXT 0x8126
7964 #define GL_POINT_SIZE_MAX_EXT 0x8127
7965 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
7966 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
7967 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
7968 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
7969 #ifdef GL_GLEXT_PROTOTYPES
7970 GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
7971 GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
7973 #endif /* GL_EXT_point_parameters */
7975 #ifndef GL_EXT_polygon_offset
7976 #define GL_EXT_polygon_offset 1
7977 #define GL_POLYGON_OFFSET_EXT 0x8037
7978 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
7979 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
7980 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
7981 #ifdef GL_GLEXT_PROTOTYPES
7982 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
7984 #endif /* GL_EXT_polygon_offset */
7986 #ifndef GL_EXT_polygon_offset_clamp
7987 #define GL_EXT_polygon_offset_clamp 1
7988 #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
7989 typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
7990 #ifdef GL_GLEXT_PROTOTYPES
7991 GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
7993 #endif /* GL_EXT_polygon_offset_clamp */
7995 #ifndef GL_EXT_post_depth_coverage
7996 #define GL_EXT_post_depth_coverage 1
7997 #endif /* GL_EXT_post_depth_coverage */
7999 #ifndef GL_EXT_provoking_vertex
8000 #define GL_EXT_provoking_vertex 1
8001 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
8002 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
8003 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
8004 #define GL_PROVOKING_VERTEX_EXT 0x8E4F
8005 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
8006 #ifdef GL_GLEXT_PROTOTYPES
8007 GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
8009 #endif /* GL_EXT_provoking_vertex */
8011 #ifndef GL_EXT_raster_multisample
8012 #define GL_EXT_raster_multisample 1
8013 #define GL_RASTER_MULTISAMPLE_EXT 0x9327
8014 #define GL_RASTER_SAMPLES_EXT 0x9328
8015 #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
8016 #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
8017 #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
8018 #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
8019 typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
8020 #ifdef GL_GLEXT_PROTOTYPES
8021 GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
8023 #endif /* GL_EXT_raster_multisample */
8025 #ifndef GL_EXT_rescale_normal
8026 #define GL_EXT_rescale_normal 1
8027 #define GL_RESCALE_NORMAL_EXT 0x803A
8028 #endif /* GL_EXT_rescale_normal */
8030 #ifndef GL_EXT_secondary_color
8031 #define GL_EXT_secondary_color 1
8032 #define GL_COLOR_SUM_EXT 0x8458
8033 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
8034 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
8035 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
8036 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
8037 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
8038 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
8039 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
8040 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
8041 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
8042 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
8043 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
8044 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
8045 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
8046 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
8047 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
8048 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
8049 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
8050 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
8051 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
8052 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
8053 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
8054 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
8055 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
8056 #ifdef GL_GLEXT_PROTOTYPES
8057 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
8058 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
8059 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
8060 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
8061 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
8062 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
8063 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
8064 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
8065 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
8066 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
8067 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
8068 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
8069 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
8070 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
8071 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
8072 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
8073 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
8075 #endif /* GL_EXT_secondary_color */
8077 #ifndef GL_EXT_semaphore
8078 #define GL_EXT_semaphore 1
8079 #define GL_LAYOUT_GENERAL_EXT 0x958D
8080 #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
8081 #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
8082 #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
8083 #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
8084 #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
8085 #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
8086 #define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
8087 #define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
8088 typedef void (APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
8089 typedef void (APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
8090 typedef GLboolean (APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
8091 typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
8092 typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
8093 typedef void (APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
8094 typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
8095 #ifdef GL_GLEXT_PROTOTYPES
8096 GLAPI void APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
8097 GLAPI void APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
8098 GLAPI GLboolean APIENTRY glIsSemaphoreEXT (GLuint semaphore);
8099 GLAPI void APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
8100 GLAPI void APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
8101 GLAPI void APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
8102 GLAPI void APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
8104 #endif /* GL_EXT_semaphore */
8106 #ifndef GL_EXT_semaphore_fd
8107 #define GL_EXT_semaphore_fd 1
8108 typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
8109 #ifdef GL_GLEXT_PROTOTYPES
8110 GLAPI void APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
8112 #endif /* GL_EXT_semaphore_fd */
8114 #ifndef GL_EXT_semaphore_win32
8115 #define GL_EXT_semaphore_win32 1
8116 #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
8117 #define GL_D3D12_FENCE_VALUE_EXT 0x9595
8118 typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
8119 typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
8120 #ifdef GL_GLEXT_PROTOTYPES
8121 GLAPI void APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
8122 GLAPI void APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
8124 #endif /* GL_EXT_semaphore_win32 */
8126 #ifndef GL_EXT_separate_shader_objects
8127 #define GL_EXT_separate_shader_objects 1
8128 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
8129 typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
8130 typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
8131 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
8132 #ifdef GL_GLEXT_PROTOTYPES
8133 GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
8134 GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
8135 GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
8137 #endif /* GL_EXT_separate_shader_objects */
8139 #ifndef GL_EXT_separate_specular_color
8140 #define GL_EXT_separate_specular_color 1
8141 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
8142 #define GL_SINGLE_COLOR_EXT 0x81F9
8143 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
8144 #endif /* GL_EXT_separate_specular_color */
8146 #ifndef GL_EXT_shader_framebuffer_fetch
8147 #define GL_EXT_shader_framebuffer_fetch 1
8148 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
8149 #endif /* GL_EXT_shader_framebuffer_fetch */
8151 #ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
8152 #define GL_EXT_shader_framebuffer_fetch_non_coherent 1
8153 typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
8154 #ifdef GL_GLEXT_PROTOTYPES
8155 GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void);
8157 #endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
8159 #ifndef GL_EXT_shader_image_load_formatted
8160 #define GL_EXT_shader_image_load_formatted 1
8161 #endif /* GL_EXT_shader_image_load_formatted */
8163 #ifndef GL_EXT_shader_image_load_store
8164 #define GL_EXT_shader_image_load_store 1
8165 #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
8166 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
8167 #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
8168 #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
8169 #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
8170 #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
8171 #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
8172 #define GL_IMAGE_1D_EXT 0x904C
8173 #define GL_IMAGE_2D_EXT 0x904D
8174 #define GL_IMAGE_3D_EXT 0x904E
8175 #define GL_IMAGE_2D_RECT_EXT 0x904F
8176 #define GL_IMAGE_CUBE_EXT 0x9050
8177 #define GL_IMAGE_BUFFER_EXT 0x9051
8178 #define GL_IMAGE_1D_ARRAY_EXT 0x9052
8179 #define GL_IMAGE_2D_ARRAY_EXT 0x9053
8180 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
8181 #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
8182 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
8183 #define GL_INT_IMAGE_1D_EXT 0x9057
8184 #define GL_INT_IMAGE_2D_EXT 0x9058
8185 #define GL_INT_IMAGE_3D_EXT 0x9059
8186 #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
8187 #define GL_INT_IMAGE_CUBE_EXT 0x905B
8188 #define GL_INT_IMAGE_BUFFER_EXT 0x905C
8189 #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
8190 #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
8191 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
8192 #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
8193 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
8194 #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
8195 #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
8196 #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
8197 #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
8198 #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
8199 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
8200 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
8201 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
8202 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
8203 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
8204 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
8205 #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
8206 #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
8207 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
8208 #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
8209 #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
8210 #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
8211 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
8212 #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
8213 #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
8214 #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
8215 #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
8216 #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
8217 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
8218 #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
8219 #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
8220 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
8221 typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
8222 #ifdef GL_GLEXT_PROTOTYPES
8223 GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
8224 GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
8226 #endif /* GL_EXT_shader_image_load_store */
8228 #ifndef GL_EXT_shader_integer_mix
8229 #define GL_EXT_shader_integer_mix 1
8230 #endif /* GL_EXT_shader_integer_mix */
8232 #ifndef GL_EXT_shader_samples_identical
8233 #define GL_EXT_shader_samples_identical 1
8234 #endif /* GL_EXT_shader_samples_identical */
8236 #ifndef GL_EXT_shadow_funcs
8237 #define GL_EXT_shadow_funcs 1
8238 #endif /* GL_EXT_shadow_funcs */
8240 #ifndef GL_EXT_shared_texture_palette
8241 #define GL_EXT_shared_texture_palette 1
8242 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
8243 #endif /* GL_EXT_shared_texture_palette */
8245 #ifndef GL_EXT_sparse_texture2
8246 #define GL_EXT_sparse_texture2 1
8247 #endif /* GL_EXT_sparse_texture2 */
8249 #ifndef GL_EXT_stencil_clear_tag
8250 #define GL_EXT_stencil_clear_tag 1
8251 #define GL_STENCIL_TAG_BITS_EXT 0x88F2
8252 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
8253 typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
8254 #ifdef GL_GLEXT_PROTOTYPES
8255 GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
8257 #endif /* GL_EXT_stencil_clear_tag */
8259 #ifndef GL_EXT_stencil_two_side
8260 #define GL_EXT_stencil_two_side 1
8261 #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
8262 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
8263 typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
8264 #ifdef GL_GLEXT_PROTOTYPES
8265 GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
8267 #endif /* GL_EXT_stencil_two_side */
8269 #ifndef GL_EXT_stencil_wrap
8270 #define GL_EXT_stencil_wrap 1
8271 #define GL_INCR_WRAP_EXT 0x8507
8272 #define GL_DECR_WRAP_EXT 0x8508
8273 #endif /* GL_EXT_stencil_wrap */
8275 #ifndef GL_EXT_subtexture
8276 #define GL_EXT_subtexture 1
8277 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
8278 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
8279 #ifdef GL_GLEXT_PROTOTYPES
8280 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
8281 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
8283 #endif /* GL_EXT_subtexture */
8285 #ifndef GL_EXT_texture
8286 #define GL_EXT_texture 1
8287 #define GL_ALPHA4_EXT 0x803B
8288 #define GL_ALPHA8_EXT 0x803C
8289 #define GL_ALPHA12_EXT 0x803D
8290 #define GL_ALPHA16_EXT 0x803E
8291 #define GL_LUMINANCE4_EXT 0x803F
8292 #define GL_LUMINANCE8_EXT 0x8040
8293 #define GL_LUMINANCE12_EXT 0x8041
8294 #define GL_LUMINANCE16_EXT 0x8042
8295 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
8296 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
8297 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
8298 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
8299 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
8300 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
8301 #define GL_INTENSITY_EXT 0x8049
8302 #define GL_INTENSITY4_EXT 0x804A
8303 #define GL_INTENSITY8_EXT 0x804B
8304 #define GL_INTENSITY12_EXT 0x804C
8305 #define GL_INTENSITY16_EXT 0x804D
8306 #define GL_RGB2_EXT 0x804E
8307 #define GL_RGB4_EXT 0x804F
8308 #define GL_RGB5_EXT 0x8050
8309 #define GL_RGB8_EXT 0x8051
8310 #define GL_RGB10_EXT 0x8052
8311 #define GL_RGB12_EXT 0x8053
8312 #define GL_RGB16_EXT 0x8054
8313 #define GL_RGBA2_EXT 0x8055
8314 #define GL_RGBA4_EXT 0x8056
8315 #define GL_RGB5_A1_EXT 0x8057
8316 #define GL_RGBA8_EXT 0x8058
8317 #define GL_RGB10_A2_EXT 0x8059
8318 #define GL_RGBA12_EXT 0x805A
8319 #define GL_RGBA16_EXT 0x805B
8320 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
8321 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
8322 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
8323 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
8324 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
8325 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
8326 #define GL_REPLACE_EXT 0x8062
8327 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
8328 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
8329 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
8330 #endif /* GL_EXT_texture */
8332 #ifndef GL_EXT_texture3D
8333 #define GL_EXT_texture3D 1
8334 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
8335 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
8336 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
8337 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
8338 #define GL_TEXTURE_3D_EXT 0x806F
8339 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
8340 #define GL_TEXTURE_DEPTH_EXT 0x8071
8341 #define GL_TEXTURE_WRAP_R_EXT 0x8072
8342 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
8343 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);
8344 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);
8345 #ifdef GL_GLEXT_PROTOTYPES
8346 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);
8347 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);
8349 #endif /* GL_EXT_texture3D */
8351 #ifndef GL_EXT_texture_array
8352 #define GL_EXT_texture_array 1
8353 #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
8354 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
8355 #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
8356 #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
8357 #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
8358 #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
8359 #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
8360 #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
8361 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8362 #ifdef GL_GLEXT_PROTOTYPES
8363 GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8365 #endif /* GL_EXT_texture_array */
8367 #ifndef GL_EXT_texture_buffer_object
8368 #define GL_EXT_texture_buffer_object 1
8369 #define GL_TEXTURE_BUFFER_EXT 0x8C2A
8370 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
8371 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
8372 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
8373 #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
8374 typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
8375 #ifdef GL_GLEXT_PROTOTYPES
8376 GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
8378 #endif /* GL_EXT_texture_buffer_object */
8380 #ifndef GL_EXT_texture_compression_latc
8381 #define GL_EXT_texture_compression_latc 1
8382 #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
8383 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
8384 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
8385 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
8386 #endif /* GL_EXT_texture_compression_latc */
8388 #ifndef GL_EXT_texture_compression_rgtc
8389 #define GL_EXT_texture_compression_rgtc 1
8390 #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
8391 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
8392 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
8393 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
8394 #endif /* GL_EXT_texture_compression_rgtc */
8396 #ifndef GL_EXT_texture_compression_s3tc
8397 #define GL_EXT_texture_compression_s3tc 1
8398 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
8399 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
8400 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
8401 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
8402 #endif /* GL_EXT_texture_compression_s3tc */
8404 #ifndef GL_EXT_texture_cube_map
8405 #define GL_EXT_texture_cube_map 1
8406 #define GL_NORMAL_MAP_EXT 0x8511
8407 #define GL_REFLECTION_MAP_EXT 0x8512
8408 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
8409 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
8410 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
8411 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
8412 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
8413 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
8414 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
8415 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
8416 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
8417 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
8418 #endif /* GL_EXT_texture_cube_map */
8420 #ifndef GL_EXT_texture_env_add
8421 #define GL_EXT_texture_env_add 1
8422 #endif /* GL_EXT_texture_env_add */
8424 #ifndef GL_EXT_texture_env_combine
8425 #define GL_EXT_texture_env_combine 1
8426 #define GL_COMBINE_EXT 0x8570
8427 #define GL_COMBINE_RGB_EXT 0x8571
8428 #define GL_COMBINE_ALPHA_EXT 0x8572
8429 #define GL_RGB_SCALE_EXT 0x8573
8430 #define GL_ADD_SIGNED_EXT 0x8574
8431 #define GL_INTERPOLATE_EXT 0x8575
8432 #define GL_CONSTANT_EXT 0x8576
8433 #define GL_PRIMARY_COLOR_EXT 0x8577
8434 #define GL_PREVIOUS_EXT 0x8578
8435 #define GL_SOURCE0_RGB_EXT 0x8580
8436 #define GL_SOURCE1_RGB_EXT 0x8581
8437 #define GL_SOURCE2_RGB_EXT 0x8582
8438 #define GL_SOURCE0_ALPHA_EXT 0x8588
8439 #define GL_SOURCE1_ALPHA_EXT 0x8589
8440 #define GL_SOURCE2_ALPHA_EXT 0x858A
8441 #define GL_OPERAND0_RGB_EXT 0x8590
8442 #define GL_OPERAND1_RGB_EXT 0x8591
8443 #define GL_OPERAND2_RGB_EXT 0x8592
8444 #define GL_OPERAND0_ALPHA_EXT 0x8598
8445 #define GL_OPERAND1_ALPHA_EXT 0x8599
8446 #define GL_OPERAND2_ALPHA_EXT 0x859A
8447 #endif /* GL_EXT_texture_env_combine */
8449 #ifndef GL_EXT_texture_env_dot3
8450 #define GL_EXT_texture_env_dot3 1
8451 #define GL_DOT3_RGB_EXT 0x8740
8452 #define GL_DOT3_RGBA_EXT 0x8741
8453 #endif /* GL_EXT_texture_env_dot3 */
8455 #ifndef GL_EXT_texture_filter_anisotropic
8456 #define GL_EXT_texture_filter_anisotropic 1
8457 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
8458 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
8459 #endif /* GL_EXT_texture_filter_anisotropic */
8461 #ifndef GL_EXT_texture_filter_minmax
8462 #define GL_EXT_texture_filter_minmax 1
8463 #define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
8464 #define GL_WEIGHTED_AVERAGE_EXT 0x9367
8465 #endif /* GL_EXT_texture_filter_minmax */
8467 #ifndef GL_EXT_texture_integer
8468 #define GL_EXT_texture_integer 1
8469 #define GL_RGBA32UI_EXT 0x8D70
8470 #define GL_RGB32UI_EXT 0x8D71
8471 #define GL_ALPHA32UI_EXT 0x8D72
8472 #define GL_INTENSITY32UI_EXT 0x8D73
8473 #define GL_LUMINANCE32UI_EXT 0x8D74
8474 #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
8475 #define GL_RGBA16UI_EXT 0x8D76
8476 #define GL_RGB16UI_EXT 0x8D77
8477 #define GL_ALPHA16UI_EXT 0x8D78
8478 #define GL_INTENSITY16UI_EXT 0x8D79
8479 #define GL_LUMINANCE16UI_EXT 0x8D7A
8480 #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
8481 #define GL_RGBA8UI_EXT 0x8D7C
8482 #define GL_RGB8UI_EXT 0x8D7D
8483 #define GL_ALPHA8UI_EXT 0x8D7E
8484 #define GL_INTENSITY8UI_EXT 0x8D7F
8485 #define GL_LUMINANCE8UI_EXT 0x8D80
8486 #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
8487 #define GL_RGBA32I_EXT 0x8D82
8488 #define GL_RGB32I_EXT 0x8D83
8489 #define GL_ALPHA32I_EXT 0x8D84
8490 #define GL_INTENSITY32I_EXT 0x8D85
8491 #define GL_LUMINANCE32I_EXT 0x8D86
8492 #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
8493 #define GL_RGBA16I_EXT 0x8D88
8494 #define GL_RGB16I_EXT 0x8D89
8495 #define GL_ALPHA16I_EXT 0x8D8A
8496 #define GL_INTENSITY16I_EXT 0x8D8B
8497 #define GL_LUMINANCE16I_EXT 0x8D8C
8498 #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
8499 #define GL_RGBA8I_EXT 0x8D8E
8500 #define GL_RGB8I_EXT 0x8D8F
8501 #define GL_ALPHA8I_EXT 0x8D90
8502 #define GL_INTENSITY8I_EXT 0x8D91
8503 #define GL_LUMINANCE8I_EXT 0x8D92
8504 #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
8505 #define GL_RED_INTEGER_EXT 0x8D94
8506 #define GL_GREEN_INTEGER_EXT 0x8D95
8507 #define GL_BLUE_INTEGER_EXT 0x8D96
8508 #define GL_ALPHA_INTEGER_EXT 0x8D97
8509 #define GL_RGB_INTEGER_EXT 0x8D98
8510 #define GL_RGBA_INTEGER_EXT 0x8D99
8511 #define GL_BGR_INTEGER_EXT 0x8D9A
8512 #define GL_BGRA_INTEGER_EXT 0x8D9B
8513 #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
8514 #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
8515 #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
8516 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
8517 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
8518 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
8519 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
8520 typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
8521 typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
8522 #ifdef GL_GLEXT_PROTOTYPES
8523 GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
8524 GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
8525 GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
8526 GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
8527 GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
8528 GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
8530 #endif /* GL_EXT_texture_integer */
8532 #ifndef GL_EXT_texture_lod_bias
8533 #define GL_EXT_texture_lod_bias 1
8534 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
8535 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
8536 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
8537 #endif /* GL_EXT_texture_lod_bias */
8539 #ifndef GL_EXT_texture_mirror_clamp
8540 #define GL_EXT_texture_mirror_clamp 1
8541 #define GL_MIRROR_CLAMP_EXT 0x8742
8542 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
8543 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
8544 #endif /* GL_EXT_texture_mirror_clamp */
8546 #ifndef GL_EXT_texture_object
8547 #define GL_EXT_texture_object 1
8548 #define GL_TEXTURE_PRIORITY_EXT 0x8066
8549 #define GL_TEXTURE_RESIDENT_EXT 0x8067
8550 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
8551 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
8552 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
8553 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
8554 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
8555 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
8556 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
8557 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
8558 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
8559 #ifdef GL_GLEXT_PROTOTYPES
8560 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
8561 GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
8562 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
8563 GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
8564 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
8565 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
8567 #endif /* GL_EXT_texture_object */
8569 #ifndef GL_EXT_texture_perturb_normal
8570 #define GL_EXT_texture_perturb_normal 1
8571 #define GL_PERTURB_EXT 0x85AE
8572 #define GL_TEXTURE_NORMAL_EXT 0x85AF
8573 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
8574 #ifdef GL_GLEXT_PROTOTYPES
8575 GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
8577 #endif /* GL_EXT_texture_perturb_normal */
8579 #ifndef GL_EXT_texture_sRGB
8580 #define GL_EXT_texture_sRGB 1
8581 #define GL_SRGB_EXT 0x8C40
8582 #define GL_SRGB8_EXT 0x8C41
8583 #define GL_SRGB_ALPHA_EXT 0x8C42
8584 #define GL_SRGB8_ALPHA8_EXT 0x8C43
8585 #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
8586 #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
8587 #define GL_SLUMINANCE_EXT 0x8C46
8588 #define GL_SLUMINANCE8_EXT 0x8C47
8589 #define GL_COMPRESSED_SRGB_EXT 0x8C48
8590 #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
8591 #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
8592 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
8593 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
8594 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
8595 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
8596 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
8597 #endif /* GL_EXT_texture_sRGB */
8599 #ifndef GL_EXT_texture_sRGB_R8
8600 #define GL_EXT_texture_sRGB_R8 1
8601 #define GL_SR8_EXT 0x8FBD
8602 #endif /* GL_EXT_texture_sRGB_R8 */
8604 #ifndef GL_EXT_texture_sRGB_RG8
8605 #define GL_EXT_texture_sRGB_RG8 1
8606 #define GL_SRG8_EXT 0x8FBE
8607 #endif /* GL_EXT_texture_sRGB_RG8 */
8609 #ifndef GL_EXT_texture_sRGB_decode
8610 #define GL_EXT_texture_sRGB_decode 1
8611 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
8612 #define GL_DECODE_EXT 0x8A49
8613 #define GL_SKIP_DECODE_EXT 0x8A4A
8614 #endif /* GL_EXT_texture_sRGB_decode */
8616 #ifndef GL_EXT_texture_shadow_lod
8617 #define GL_EXT_texture_shadow_lod 1
8618 #endif /* GL_EXT_texture_shadow_lod */
8620 #ifndef GL_EXT_texture_shared_exponent
8621 #define GL_EXT_texture_shared_exponent 1
8622 #define GL_RGB9_E5_EXT 0x8C3D
8623 #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
8624 #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
8625 #endif /* GL_EXT_texture_shared_exponent */
8627 #ifndef GL_EXT_texture_snorm
8628 #define GL_EXT_texture_snorm 1
8629 #define GL_ALPHA_SNORM 0x9010
8630 #define GL_LUMINANCE_SNORM 0x9011
8631 #define GL_LUMINANCE_ALPHA_SNORM 0x9012
8632 #define GL_INTENSITY_SNORM 0x9013
8633 #define GL_ALPHA8_SNORM 0x9014
8634 #define GL_LUMINANCE8_SNORM 0x9015
8635 #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
8636 #define GL_INTENSITY8_SNORM 0x9017
8637 #define GL_ALPHA16_SNORM 0x9018
8638 #define GL_LUMINANCE16_SNORM 0x9019
8639 #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
8640 #define GL_INTENSITY16_SNORM 0x901B
8641 #define GL_RED_SNORM 0x8F90
8642 #define GL_RG_SNORM 0x8F91
8643 #define GL_RGB_SNORM 0x8F92
8644 #define GL_RGBA_SNORM 0x8F93
8645 #endif /* GL_EXT_texture_snorm */
8647 #ifndef GL_EXT_texture_storage
8648 #define GL_EXT_texture_storage 1
8649 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
8650 #define GL_RGBA32F_EXT 0x8814
8651 #define GL_RGB32F_EXT 0x8815
8652 #define GL_ALPHA32F_EXT 0x8816
8653 #define GL_LUMINANCE32F_EXT 0x8818
8654 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
8655 #define GL_RGBA16F_EXT 0x881A
8656 #define GL_RGB16F_EXT 0x881B
8657 #define GL_ALPHA16F_EXT 0x881C
8658 #define GL_LUMINANCE16F_EXT 0x881E
8659 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
8660 #define GL_BGRA8_EXT 0x93A1
8661 #define GL_R8_EXT 0x8229
8662 #define GL_RG8_EXT 0x822B
8663 #define GL_R32F_EXT 0x822E
8664 #define GL_RG32F_EXT 0x8230
8665 #define GL_R16F_EXT 0x822D
8666 #define GL_RG16F_EXT 0x822F
8667 typedef void (APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8668 typedef void (APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8669 typedef void (APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8670 #ifdef GL_GLEXT_PROTOTYPES
8671 GLAPI void APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8672 GLAPI void APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8673 GLAPI void APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8675 #endif /* GL_EXT_texture_storage */
8677 #ifndef GL_EXT_texture_swizzle
8678 #define GL_EXT_texture_swizzle 1
8679 #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
8680 #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
8681 #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
8682 #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
8683 #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
8684 #endif /* GL_EXT_texture_swizzle */
8686 #ifndef GL_EXT_timer_query
8687 #define GL_EXT_timer_query 1
8688 #define GL_TIME_ELAPSED_EXT 0x88BF
8689 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
8690 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
8691 #ifdef GL_GLEXT_PROTOTYPES
8692 GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
8693 GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
8695 #endif /* GL_EXT_timer_query */
8697 #ifndef GL_EXT_transform_feedback
8698 #define GL_EXT_transform_feedback 1
8699 #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
8700 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
8701 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
8702 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
8703 #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
8704 #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
8705 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
8706 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
8707 #define GL_RASTERIZER_DISCARD_EXT 0x8C89
8708 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
8709 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
8710 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
8711 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
8712 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
8713 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
8714 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
8715 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
8716 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
8717 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
8718 typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
8719 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
8720 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
8721 #ifdef GL_GLEXT_PROTOTYPES
8722 GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
8723 GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
8724 GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
8725 GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
8726 GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
8727 GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
8728 GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
8730 #endif /* GL_EXT_transform_feedback */
8732 #ifndef GL_EXT_vertex_array
8733 #define GL_EXT_vertex_array 1
8734 #define GL_VERTEX_ARRAY_EXT 0x8074
8735 #define GL_NORMAL_ARRAY_EXT 0x8075
8736 #define GL_COLOR_ARRAY_EXT 0x8076
8737 #define GL_INDEX_ARRAY_EXT 0x8077
8738 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
8739 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
8740 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
8741 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
8742 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
8743 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
8744 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
8745 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
8746 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
8747 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
8748 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
8749 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
8750 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
8751 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
8752 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
8753 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
8754 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
8755 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
8756 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
8757 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
8758 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
8759 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
8760 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
8761 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
8762 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
8763 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
8764 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
8765 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
8766 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
8767 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8768 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
8769 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
8770 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
8771 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8772 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8773 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8774 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8775 #ifdef GL_GLEXT_PROTOTYPES
8776 GLAPI void APIENTRY glArrayElementEXT (GLint i);
8777 GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8778 GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
8779 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
8780 GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
8781 GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8782 GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8783 GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8784 GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8786 #endif /* GL_EXT_vertex_array */
8788 #ifndef GL_EXT_vertex_array_bgra
8789 #define GL_EXT_vertex_array_bgra 1
8790 #endif /* GL_EXT_vertex_array_bgra */
8792 #ifndef GL_EXT_vertex_attrib_64bit
8793 #define GL_EXT_vertex_attrib_64bit 1
8794 #define GL_DOUBLE_VEC2_EXT 0x8FFC
8795 #define GL_DOUBLE_VEC3_EXT 0x8FFD
8796 #define GL_DOUBLE_VEC4_EXT 0x8FFE
8797 #define GL_DOUBLE_MAT2_EXT 0x8F46
8798 #define GL_DOUBLE_MAT3_EXT 0x8F47
8799 #define GL_DOUBLE_MAT4_EXT 0x8F48
8800 #define GL_DOUBLE_MAT2x3_EXT 0x8F49
8801 #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
8802 #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
8803 #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
8804 #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
8805 #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
8806 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
8807 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
8808 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8809 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8810 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
8811 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
8812 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
8813 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
8814 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
8815 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
8816 #ifdef GL_GLEXT_PROTOTYPES
8817 GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
8818 GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
8819 GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8820 GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8821 GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
8822 GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
8823 GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
8824 GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
8825 GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
8826 GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
8828 #endif /* GL_EXT_vertex_attrib_64bit */
8830 #ifndef GL_EXT_vertex_shader
8831 #define GL_EXT_vertex_shader 1
8832 #define GL_VERTEX_SHADER_EXT 0x8780
8833 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
8834 #define GL_OP_INDEX_EXT 0x8782
8835 #define GL_OP_NEGATE_EXT 0x8783
8836 #define GL_OP_DOT3_EXT 0x8784
8837 #define GL_OP_DOT4_EXT 0x8785
8838 #define GL_OP_MUL_EXT 0x8786
8839 #define GL_OP_ADD_EXT 0x8787
8840 #define GL_OP_MADD_EXT 0x8788
8841 #define GL_OP_FRAC_EXT 0x8789
8842 #define GL_OP_MAX_EXT 0x878A
8843 #define GL_OP_MIN_EXT 0x878B
8844 #define GL_OP_SET_GE_EXT 0x878C
8845 #define GL_OP_SET_LT_EXT 0x878D
8846 #define GL_OP_CLAMP_EXT 0x878E
8847 #define GL_OP_FLOOR_EXT 0x878F
8848 #define GL_OP_ROUND_EXT 0x8790
8849 #define GL_OP_EXP_BASE_2_EXT 0x8791
8850 #define GL_OP_LOG_BASE_2_EXT 0x8792
8851 #define GL_OP_POWER_EXT 0x8793
8852 #define GL_OP_RECIP_EXT 0x8794
8853 #define GL_OP_RECIP_SQRT_EXT 0x8795
8854 #define GL_OP_SUB_EXT 0x8796
8855 #define GL_OP_CROSS_PRODUCT_EXT 0x8797
8856 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
8857 #define GL_OP_MOV_EXT 0x8799
8858 #define GL_OUTPUT_VERTEX_EXT 0x879A
8859 #define GL_OUTPUT_COLOR0_EXT 0x879B
8860 #define GL_OUTPUT_COLOR1_EXT 0x879C
8861 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
8862 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
8863 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
8864 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
8865 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
8866 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
8867 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
8868 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
8869 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
8870 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
8871 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
8872 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
8873 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
8874 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
8875 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
8876 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
8877 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
8878 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
8879 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
8880 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
8881 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
8882 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
8883 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
8884 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
8885 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
8886 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
8887 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
8888 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
8889 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
8890 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
8891 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
8892 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
8893 #define GL_OUTPUT_FOG_EXT 0x87BD
8894 #define GL_SCALAR_EXT 0x87BE
8895 #define GL_VECTOR_EXT 0x87BF
8896 #define GL_MATRIX_EXT 0x87C0
8897 #define GL_VARIANT_EXT 0x87C1
8898 #define GL_INVARIANT_EXT 0x87C2
8899 #define GL_LOCAL_CONSTANT_EXT 0x87C3
8900 #define GL_LOCAL_EXT 0x87C4
8901 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
8902 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
8903 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
8904 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
8905 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
8906 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
8907 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
8908 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
8909 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
8910 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
8911 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
8912 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
8913 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
8914 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
8915 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
8916 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
8917 #define GL_X_EXT 0x87D5
8918 #define GL_Y_EXT 0x87D6
8919 #define GL_Z_EXT 0x87D7
8920 #define GL_W_EXT 0x87D8
8921 #define GL_NEGATIVE_X_EXT 0x87D9
8922 #define GL_NEGATIVE_Y_EXT 0x87DA
8923 #define GL_NEGATIVE_Z_EXT 0x87DB
8924 #define GL_NEGATIVE_W_EXT 0x87DC
8925 #define GL_ZERO_EXT 0x87DD
8926 #define GL_ONE_EXT 0x87DE
8927 #define GL_NEGATIVE_ONE_EXT 0x87DF
8928 #define GL_NORMALIZED_RANGE_EXT 0x87E0
8929 #define GL_FULL_RANGE_EXT 0x87E1
8930 #define GL_CURRENT_VERTEX_EXT 0x87E2
8931 #define GL_MVP_MATRIX_EXT 0x87E3
8932 #define GL_VARIANT_VALUE_EXT 0x87E4
8933 #define GL_VARIANT_DATATYPE_EXT 0x87E5
8934 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
8935 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
8936 #define GL_VARIANT_ARRAY_EXT 0x87E8
8937 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
8938 #define GL_INVARIANT_VALUE_EXT 0x87EA
8939 #define GL_INVARIANT_DATATYPE_EXT 0x87EB
8940 #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
8941 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
8942 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
8943 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
8944 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
8945 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
8946 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
8947 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
8948 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
8949 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
8950 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8951 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8952 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
8953 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
8954 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
8955 typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
8956 typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
8957 typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
8958 typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
8959 typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
8960 typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
8961 typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
8962 typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
8963 typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
8964 typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
8965 typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
8966 typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
8967 typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
8968 typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
8969 typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
8970 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
8971 typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
8972 typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
8973 typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
8974 typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8975 typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8976 typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8977 typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
8978 typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8979 typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8980 typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8981 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8982 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8983 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8984 #ifdef GL_GLEXT_PROTOTYPES
8985 GLAPI void APIENTRY glBeginVertexShaderEXT (void);
8986 GLAPI void APIENTRY glEndVertexShaderEXT (void);
8987 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
8988 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
8989 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
8990 GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
8991 GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
8992 GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
8993 GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8994 GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8995 GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
8996 GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
8997 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
8998 GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
8999 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
9000 GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
9001 GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
9002 GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
9003 GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
9004 GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
9005 GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
9006 GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
9007 GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
9008 GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
9009 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
9010 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
9011 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
9012 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
9013 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
9014 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
9015 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
9016 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
9017 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
9018 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
9019 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
9020 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
9021 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
9022 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
9023 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
9024 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
9025 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
9026 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
9028 #endif /* GL_EXT_vertex_shader */
9030 #ifndef GL_EXT_vertex_weighting
9031 #define GL_EXT_vertex_weighting 1
9032 #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
9033 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
9034 #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
9035 #define GL_MODELVIEW1_MATRIX_EXT 0x8506
9036 #define GL_VERTEX_WEIGHTING_EXT 0x8509
9037 #define GL_MODELVIEW0_EXT 0x1700
9038 #define GL_MODELVIEW1_EXT 0x850A
9039 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
9040 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
9041 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
9042 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
9043 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
9044 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
9045 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
9046 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
9047 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
9048 #ifdef GL_GLEXT_PROTOTYPES
9049 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
9050 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
9051 GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
9053 #endif /* GL_EXT_vertex_weighting */
9055 #ifndef GL_EXT_win32_keyed_mutex
9056 #define GL_EXT_win32_keyed_mutex 1
9057 typedef GLboolean (APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
9058 typedef GLboolean (APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
9059 #ifdef GL_GLEXT_PROTOTYPES
9060 GLAPI GLboolean APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
9061 GLAPI GLboolean APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);
9063 #endif /* GL_EXT_win32_keyed_mutex */
9065 #ifndef GL_EXT_window_rectangles
9066 #define GL_EXT_window_rectangles 1
9067 #define GL_INCLUSIVE_EXT 0x8F10
9068 #define GL_EXCLUSIVE_EXT 0x8F11
9069 #define GL_WINDOW_RECTANGLE_EXT 0x8F12
9070 #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
9071 #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
9072 #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
9073 typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
9074 #ifdef GL_GLEXT_PROTOTYPES
9075 GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
9077 #endif /* GL_EXT_window_rectangles */
9079 #ifndef GL_EXT_x11_sync_object
9080 #define GL_EXT_x11_sync_object 1
9081 #define GL_SYNC_X11_FENCE_EXT 0x90E1
9082 typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
9083 #ifdef GL_GLEXT_PROTOTYPES
9084 GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
9086 #endif /* GL_EXT_x11_sync_object */
9088 #ifndef GL_GREMEDY_frame_terminator
9089 #define GL_GREMEDY_frame_terminator 1
9090 typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
9091 #ifdef GL_GLEXT_PROTOTYPES
9092 GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
9094 #endif /* GL_GREMEDY_frame_terminator */
9096 #ifndef GL_GREMEDY_string_marker
9097 #define GL_GREMEDY_string_marker 1
9098 typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
9099 #ifdef GL_GLEXT_PROTOTYPES
9100 GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
9102 #endif /* GL_GREMEDY_string_marker */
9104 #ifndef GL_HP_convolution_border_modes
9105 #define GL_HP_convolution_border_modes 1
9106 #define GL_IGNORE_BORDER_HP 0x8150
9107 #define GL_CONSTANT_BORDER_HP 0x8151
9108 #define GL_REPLICATE_BORDER_HP 0x8153
9109 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
9110 #endif /* GL_HP_convolution_border_modes */
9112 #ifndef GL_HP_image_transform
9113 #define GL_HP_image_transform 1
9114 #define GL_IMAGE_SCALE_X_HP 0x8155
9115 #define GL_IMAGE_SCALE_Y_HP 0x8156
9116 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
9117 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
9118 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
9119 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
9120 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
9121 #define GL_IMAGE_MAG_FILTER_HP 0x815C
9122 #define GL_IMAGE_MIN_FILTER_HP 0x815D
9123 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
9124 #define GL_CUBIC_HP 0x815F
9125 #define GL_AVERAGE_HP 0x8160
9126 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
9127 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
9128 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
9129 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
9130 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
9131 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
9132 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
9133 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
9134 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
9135 #ifdef GL_GLEXT_PROTOTYPES
9136 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
9137 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
9138 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
9139 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
9140 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
9141 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
9143 #endif /* GL_HP_image_transform */
9145 #ifndef GL_HP_occlusion_test
9146 #define GL_HP_occlusion_test 1
9147 #define GL_OCCLUSION_TEST_HP 0x8165
9148 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
9149 #endif /* GL_HP_occlusion_test */
9151 #ifndef GL_HP_texture_lighting
9152 #define GL_HP_texture_lighting 1
9153 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
9154 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
9155 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
9156 #endif /* GL_HP_texture_lighting */
9158 #ifndef GL_IBM_cull_vertex
9159 #define GL_IBM_cull_vertex 1
9160 #define GL_CULL_VERTEX_IBM 103050
9161 #endif /* GL_IBM_cull_vertex */
9163 #ifndef GL_IBM_multimode_draw_arrays
9164 #define GL_IBM_multimode_draw_arrays 1
9165 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
9166 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
9167 #ifdef GL_GLEXT_PROTOTYPES
9168 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
9169 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
9171 #endif /* GL_IBM_multimode_draw_arrays */
9173 #ifndef GL_IBM_rasterpos_clip
9174 #define GL_IBM_rasterpos_clip 1
9175 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
9176 #endif /* GL_IBM_rasterpos_clip */
9178 #ifndef GL_IBM_static_data
9179 #define GL_IBM_static_data 1
9180 #define GL_ALL_STATIC_DATA_IBM 103060
9181 #define GL_STATIC_VERTEX_ARRAY_IBM 103061
9182 typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
9183 #ifdef GL_GLEXT_PROTOTYPES
9184 GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
9186 #endif /* GL_IBM_static_data */
9188 #ifndef GL_IBM_texture_mirrored_repeat
9189 #define GL_IBM_texture_mirrored_repeat 1
9190 #define GL_MIRRORED_REPEAT_IBM 0x8370
9191 #endif /* GL_IBM_texture_mirrored_repeat */
9193 #ifndef GL_IBM_vertex_array_lists
9194 #define GL_IBM_vertex_array_lists 1
9195 #define GL_VERTEX_ARRAY_LIST_IBM 103070
9196 #define GL_NORMAL_ARRAY_LIST_IBM 103071
9197 #define GL_COLOR_ARRAY_LIST_IBM 103072
9198 #define GL_INDEX_ARRAY_LIST_IBM 103073
9199 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
9200 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
9201 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
9202 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
9203 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
9204 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
9205 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
9206 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
9207 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
9208 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
9209 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
9210 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
9211 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9212 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9213 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
9214 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9215 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9216 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9217 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9218 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9219 #ifdef GL_GLEXT_PROTOTYPES
9220 GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9221 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9222 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
9223 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9224 GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9225 GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9226 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9227 GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9229 #endif /* GL_IBM_vertex_array_lists */
9231 #ifndef GL_INGR_blend_func_separate
9232 #define GL_INGR_blend_func_separate 1
9233 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
9234 #ifdef GL_GLEXT_PROTOTYPES
9235 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
9237 #endif /* GL_INGR_blend_func_separate */
9239 #ifndef GL_INGR_color_clamp
9240 #define GL_INGR_color_clamp 1
9241 #define GL_RED_MIN_CLAMP_INGR 0x8560
9242 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
9243 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
9244 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
9245 #define GL_RED_MAX_CLAMP_INGR 0x8564
9246 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
9247 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
9248 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
9249 #endif /* GL_INGR_color_clamp */
9251 #ifndef GL_INGR_interlace_read
9252 #define GL_INGR_interlace_read 1
9253 #define GL_INTERLACE_READ_INGR 0x8568
9254 #endif /* GL_INGR_interlace_read */
9256 #ifndef GL_INTEL_blackhole_render
9257 #define GL_INTEL_blackhole_render 1
9258 #define GL_BLACKHOLE_RENDER_INTEL 0x83FC
9259 #endif /* GL_INTEL_blackhole_render */
9261 #ifndef GL_INTEL_conservative_rasterization
9262 #define GL_INTEL_conservative_rasterization 1
9263 #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
9264 #endif /* GL_INTEL_conservative_rasterization */
9266 #ifndef GL_INTEL_fragment_shader_ordering
9267 #define GL_INTEL_fragment_shader_ordering 1
9268 #endif /* GL_INTEL_fragment_shader_ordering */
9270 #ifndef GL_INTEL_framebuffer_CMAA
9271 #define GL_INTEL_framebuffer_CMAA 1
9272 typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
9273 #ifdef GL_GLEXT_PROTOTYPES
9274 GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
9276 #endif /* GL_INTEL_framebuffer_CMAA */
9278 #ifndef GL_INTEL_map_texture
9279 #define GL_INTEL_map_texture 1
9280 #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
9281 #define GL_LAYOUT_DEFAULT_INTEL 0
9282 #define GL_LAYOUT_LINEAR_INTEL 1
9283 #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
9284 typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
9285 typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
9286 typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
9287 #ifdef GL_GLEXT_PROTOTYPES
9288 GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
9289 GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
9290 GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
9292 #endif /* GL_INTEL_map_texture */
9294 #ifndef GL_INTEL_parallel_arrays
9295 #define GL_INTEL_parallel_arrays 1
9296 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
9297 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
9298 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
9299 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
9300 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
9301 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
9302 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
9303 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
9304 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
9305 #ifdef GL_GLEXT_PROTOTYPES
9306 GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
9307 GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
9308 GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
9309 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
9311 #endif /* GL_INTEL_parallel_arrays */
9313 #ifndef GL_INTEL_performance_query
9314 #define GL_INTEL_performance_query 1
9315 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
9316 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
9317 #define GL_PERFQUERY_WAIT_INTEL 0x83FB
9318 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
9319 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
9320 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
9321 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
9322 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
9323 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
9324 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
9325 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
9326 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
9327 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
9328 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
9329 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
9330 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
9331 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
9332 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
9333 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
9334 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
9335 typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
9336 typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
9337 typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
9338 typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
9339 typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
9340 typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
9341 typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
9342 typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
9343 typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
9344 typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
9345 #ifdef GL_GLEXT_PROTOTYPES
9346 GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
9347 GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
9348 GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
9349 GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
9350 GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
9351 GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
9352 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);
9353 GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
9354 GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
9355 GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
9357 #endif /* GL_INTEL_performance_query */
9359 #ifndef GL_MESAX_texture_stack
9360 #define GL_MESAX_texture_stack 1
9361 #define GL_TEXTURE_1D_STACK_MESAX 0x8759
9362 #define GL_TEXTURE_2D_STACK_MESAX 0x875A
9363 #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
9364 #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
9365 #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
9366 #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
9367 #endif /* GL_MESAX_texture_stack */
9369 #ifndef GL_MESA_framebuffer_flip_x
9370 #define GL_MESA_framebuffer_flip_x 1
9371 #define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
9372 #endif /* GL_MESA_framebuffer_flip_x */
9374 #ifndef GL_MESA_framebuffer_flip_y
9375 #define GL_MESA_framebuffer_flip_y 1
9376 #define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
9377 typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param);
9378 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params);
9379 #ifdef GL_GLEXT_PROTOTYPES
9380 GLAPI void APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param);
9381 GLAPI void APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params);
9383 #endif /* GL_MESA_framebuffer_flip_y */
9385 #ifndef GL_MESA_framebuffer_swap_xy
9386 #define GL_MESA_framebuffer_swap_xy 1
9387 #define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
9388 #endif /* GL_MESA_framebuffer_swap_xy */
9390 #ifndef GL_MESA_pack_invert
9391 #define GL_MESA_pack_invert 1
9392 #define GL_PACK_INVERT_MESA 0x8758
9393 #endif /* GL_MESA_pack_invert */
9395 #ifndef GL_MESA_program_binary_formats
9396 #define GL_MESA_program_binary_formats 1
9397 #define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
9398 #endif /* GL_MESA_program_binary_formats */
9400 #ifndef GL_MESA_resize_buffers
9401 #define GL_MESA_resize_buffers 1
9402 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
9403 #ifdef GL_GLEXT_PROTOTYPES
9404 GLAPI void APIENTRY glResizeBuffersMESA (void);
9406 #endif /* GL_MESA_resize_buffers */
9408 #ifndef GL_MESA_shader_integer_functions
9409 #define GL_MESA_shader_integer_functions 1
9410 #endif /* GL_MESA_shader_integer_functions */
9412 #ifndef GL_MESA_tile_raster_order
9413 #define GL_MESA_tile_raster_order 1
9414 #define GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8
9415 #define GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9
9416 #define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA
9417 #endif /* GL_MESA_tile_raster_order */
9419 #ifndef GL_MESA_window_pos
9420 #define GL_MESA_window_pos 1
9421 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
9422 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
9423 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
9424 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
9425 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
9426 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
9427 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
9428 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
9429 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
9430 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
9431 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
9432 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
9433 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
9434 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
9435 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
9436 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
9437 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9438 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
9439 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9440 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
9441 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
9442 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
9443 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
9444 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
9445 #ifdef GL_GLEXT_PROTOTYPES
9446 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
9447 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
9448 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
9449 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
9450 GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
9451 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
9452 GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
9453 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
9454 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
9455 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
9456 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
9457 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
9458 GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
9459 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
9460 GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
9461 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
9462 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9463 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
9464 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9465 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
9466 GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
9467 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
9468 GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
9469 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
9471 #endif /* GL_MESA_window_pos */
9473 #ifndef GL_MESA_ycbcr_texture
9474 #define GL_MESA_ycbcr_texture 1
9475 #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
9476 #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
9477 #define GL_YCBCR_MESA 0x8757
9478 #endif /* GL_MESA_ycbcr_texture */
9480 #ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
9481 #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
9482 #endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
9484 #ifndef GL_NVX_conditional_render
9485 #define GL_NVX_conditional_render 1
9486 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
9487 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
9488 #ifdef GL_GLEXT_PROTOTYPES
9489 GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
9490 GLAPI void APIENTRY glEndConditionalRenderNVX (void);
9492 #endif /* GL_NVX_conditional_render */
9494 #ifndef GL_NVX_gpu_memory_info
9495 #define GL_NVX_gpu_memory_info 1
9496 #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
9497 #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
9498 #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
9499 #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
9500 #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
9501 #endif /* GL_NVX_gpu_memory_info */
9503 #ifndef GL_NVX_gpu_multicast2
9504 #define GL_NVX_gpu_multicast2 1
9505 #define GL_UPLOAD_GPU_MASK_NVX 0x954A
9506 typedef void (APIENTRYP PFNGLUPLOADGPUMASKNVXPROC) (GLbitfield mask);
9507 typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
9508 typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC) (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9509 typedef void (APIENTRYP PFNGLMULTICASTSCISSORARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
9510 typedef GLuint (APIENTRYP PFNGLASYNCCOPYBUFFERSUBDATANVXPROC) (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
9511 typedef GLuint (APIENTRYP PFNGLASYNCCOPYIMAGESUBDATANVXPROC) (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, 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, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
9512 #ifdef GL_GLEXT_PROTOTYPES
9513 GLAPI void APIENTRY glUploadGpuMaskNVX (GLbitfield mask);
9514 GLAPI void APIENTRY glMulticastViewportArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
9515 GLAPI void APIENTRY glMulticastViewportPositionWScaleNVX (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9516 GLAPI void APIENTRY glMulticastScissorArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
9517 GLAPI GLuint APIENTRY glAsyncCopyBufferSubDataNVX (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
9518 GLAPI GLuint APIENTRY glAsyncCopyImageSubDataNVX (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, 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, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
9520 #endif /* GL_NVX_gpu_multicast2 */
9522 #ifndef GL_NVX_linked_gpu_multicast
9523 #define GL_NVX_linked_gpu_multicast 1
9524 #define GL_LGPU_SEPARATE_STORAGE_BIT_NVX 0x0800
9525 #define GL_MAX_LGPU_GPUS_NVX 0x92BA
9526 typedef void (APIENTRYP PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
9527 typedef void (APIENTRYP PFNGLLGPUCOPYIMAGESUBDATANVXPROC) (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
9528 typedef void (APIENTRYP PFNGLLGPUINTERLOCKNVXPROC) (void);
9529 #ifdef GL_GLEXT_PROTOTYPES
9530 GLAPI void APIENTRY glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
9531 GLAPI void APIENTRY glLGPUCopyImageSubDataNVX (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
9532 GLAPI void APIENTRY glLGPUInterlockNVX (void);
9534 #endif /* GL_NVX_linked_gpu_multicast */
9536 #ifndef GL_NVX_progress_fence
9537 #define GL_NVX_progress_fence 1
9538 typedef GLuint (APIENTRYP PFNGLCREATEPROGRESSFENCENVXPROC) (void);
9539 typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREUI64NVXPROC) (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9540 typedef void (APIENTRYP PFNGLWAITSEMAPHOREUI64NVXPROC) (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9541 typedef void (APIENTRYP PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC) (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9542 #ifdef GL_GLEXT_PROTOTYPES
9543 GLAPI GLuint APIENTRY glCreateProgressFenceNVX (void);
9544 GLAPI void APIENTRY glSignalSemaphoreui64NVX (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9545 GLAPI void APIENTRY glWaitSemaphoreui64NVX (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9546 GLAPI void APIENTRY glClientWaitSemaphoreui64NVX (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9548 #endif /* GL_NVX_progress_fence */
9550 #ifndef GL_NV_alpha_to_coverage_dither_control
9551 #define GL_NV_alpha_to_coverage_dither_control 1
9552 #define GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV 0x934D
9553 #define GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV 0x934E
9554 #define GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV 0x934F
9555 #define GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV 0x92BF
9556 typedef void (APIENTRYP PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) (GLenum mode);
9557 #ifdef GL_GLEXT_PROTOTYPES
9558 GLAPI void APIENTRY glAlphaToCoverageDitherControlNV (GLenum mode);
9560 #endif /* GL_NV_alpha_to_coverage_dither_control */
9562 #ifndef GL_NV_bindless_multi_draw_indirect
9563 #define GL_NV_bindless_multi_draw_indirect 1
9564 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
9565 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
9566 #ifdef GL_GLEXT_PROTOTYPES
9567 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
9568 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
9570 #endif /* GL_NV_bindless_multi_draw_indirect */
9572 #ifndef GL_NV_bindless_multi_draw_indirect_count
9573 #define GL_NV_bindless_multi_draw_indirect_count 1
9574 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9575 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9576 #ifdef GL_GLEXT_PROTOTYPES
9577 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9578 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9580 #endif /* GL_NV_bindless_multi_draw_indirect_count */
9582 #ifndef GL_NV_bindless_texture
9583 #define GL_NV_bindless_texture 1
9584 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
9585 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
9586 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
9587 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
9588 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
9589 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
9590 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
9591 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
9592 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
9593 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
9594 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
9595 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
9596 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
9597 #ifdef GL_GLEXT_PROTOTYPES
9598 GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
9599 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
9600 GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
9601 GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
9602 GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
9603 GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
9604 GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
9605 GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
9606 GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
9607 GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
9608 GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
9609 GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
9610 GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
9612 #endif /* GL_NV_bindless_texture */
9614 #ifndef GL_NV_blend_equation_advanced
9615 #define GL_NV_blend_equation_advanced 1
9616 #define GL_BLEND_OVERLAP_NV 0x9281
9617 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
9618 #define GL_BLUE_NV 0x1905
9619 #define GL_COLORBURN_NV 0x929A
9620 #define GL_COLORDODGE_NV 0x9299
9621 #define GL_CONJOINT_NV 0x9284
9622 #define GL_CONTRAST_NV 0x92A1
9623 #define GL_DARKEN_NV 0x9297
9624 #define GL_DIFFERENCE_NV 0x929E
9625 #define GL_DISJOINT_NV 0x9283
9626 #define GL_DST_ATOP_NV 0x928F
9627 #define GL_DST_IN_NV 0x928B
9628 #define GL_DST_NV 0x9287
9629 #define GL_DST_OUT_NV 0x928D
9630 #define GL_DST_OVER_NV 0x9289
9631 #define GL_EXCLUSION_NV 0x92A0
9632 #define GL_GREEN_NV 0x1904
9633 #define GL_HARDLIGHT_NV 0x929B
9634 #define GL_HARDMIX_NV 0x92A9
9635 #define GL_HSL_COLOR_NV 0x92AF
9636 #define GL_HSL_HUE_NV 0x92AD
9637 #define GL_HSL_LUMINOSITY_NV 0x92B0
9638 #define GL_HSL_SATURATION_NV 0x92AE
9639 #define GL_INVERT_OVG_NV 0x92B4
9640 #define GL_INVERT_RGB_NV 0x92A3
9641 #define GL_LIGHTEN_NV 0x9298
9642 #define GL_LINEARBURN_NV 0x92A5
9643 #define GL_LINEARDODGE_NV 0x92A4
9644 #define GL_LINEARLIGHT_NV 0x92A7
9645 #define GL_MINUS_CLAMPED_NV 0x92B3
9646 #define GL_MINUS_NV 0x929F
9647 #define GL_MULTIPLY_NV 0x9294
9648 #define GL_OVERLAY_NV 0x9296
9649 #define GL_PINLIGHT_NV 0x92A8
9650 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
9651 #define GL_PLUS_CLAMPED_NV 0x92B1
9652 #define GL_PLUS_DARKER_NV 0x9292
9653 #define GL_PLUS_NV 0x9291
9654 #define GL_RED_NV 0x1903
9655 #define GL_SCREEN_NV 0x9295
9656 #define GL_SOFTLIGHT_NV 0x929C
9657 #define GL_SRC_ATOP_NV 0x928E
9658 #define GL_SRC_IN_NV 0x928A
9659 #define GL_SRC_NV 0x9286
9660 #define GL_SRC_OUT_NV 0x928C
9661 #define GL_SRC_OVER_NV 0x9288
9662 #define GL_UNCORRELATED_NV 0x9282
9663 #define GL_VIVIDLIGHT_NV 0x92A6
9664 #define GL_XOR_NV 0x1506
9665 typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
9666 typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
9667 #ifdef GL_GLEXT_PROTOTYPES
9668 GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
9669 GLAPI void APIENTRY glBlendBarrierNV (void);
9671 #endif /* GL_NV_blend_equation_advanced */
9673 #ifndef GL_NV_blend_equation_advanced_coherent
9674 #define GL_NV_blend_equation_advanced_coherent 1
9675 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
9676 #endif /* GL_NV_blend_equation_advanced_coherent */
9678 #ifndef GL_NV_blend_minmax_factor
9679 #define GL_NV_blend_minmax_factor 1
9680 #endif /* GL_NV_blend_minmax_factor */
9682 #ifndef GL_NV_blend_square
9683 #define GL_NV_blend_square 1
9684 #endif /* GL_NV_blend_square */
9686 #ifndef GL_NV_clip_space_w_scaling
9687 #define GL_NV_clip_space_w_scaling 1
9688 #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
9689 #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
9690 #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
9691 typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9692 #ifdef GL_GLEXT_PROTOTYPES
9693 GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9695 #endif /* GL_NV_clip_space_w_scaling */
9697 #ifndef GL_NV_command_list
9698 #define GL_NV_command_list 1
9699 #define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000
9700 #define GL_NOP_COMMAND_NV 0x0001
9701 #define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002
9702 #define GL_DRAW_ARRAYS_COMMAND_NV 0x0003
9703 #define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004
9704 #define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005
9705 #define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006
9706 #define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007
9707 #define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008
9708 #define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009
9709 #define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A
9710 #define GL_BLEND_COLOR_COMMAND_NV 0x000B
9711 #define GL_STENCIL_REF_COMMAND_NV 0x000C
9712 #define GL_LINE_WIDTH_COMMAND_NV 0x000D
9713 #define GL_POLYGON_OFFSET_COMMAND_NV 0x000E
9714 #define GL_ALPHA_REF_COMMAND_NV 0x000F
9715 #define GL_VIEWPORT_COMMAND_NV 0x0010
9716 #define GL_SCISSOR_COMMAND_NV 0x0011
9717 #define GL_FRONT_FACE_COMMAND_NV 0x0012
9718 typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states);
9719 typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states);
9720 typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state);
9721 typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode);
9722 typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
9723 typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype);
9724 typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
9725 typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
9726 typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9727 typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9728 typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists);
9729 typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists);
9730 typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list);
9731 typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9732 typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments);
9733 typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list);
9734 typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list);
9735 #ifdef GL_GLEXT_PROTOTYPES
9736 GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states);
9737 GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states);
9738 GLAPI GLboolean APIENTRY glIsStateNV (GLuint state);
9739 GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode);
9740 GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
9741 GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype);
9742 GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
9743 GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
9744 GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9745 GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9746 GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists);
9747 GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists);
9748 GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list);
9749 GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9750 GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments);
9751 GLAPI void APIENTRY glCompileCommandListNV (GLuint list);
9752 GLAPI void APIENTRY glCallCommandListNV (GLuint list);
9754 #endif /* GL_NV_command_list */
9756 #ifndef GL_NV_compute_program5
9757 #define GL_NV_compute_program5 1
9758 #define GL_COMPUTE_PROGRAM_NV 0x90FB
9759 #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
9760 #endif /* GL_NV_compute_program5 */
9762 #ifndef GL_NV_compute_shader_derivatives
9763 #define GL_NV_compute_shader_derivatives 1
9764 #endif /* GL_NV_compute_shader_derivatives */
9766 #ifndef GL_NV_conditional_render
9767 #define GL_NV_conditional_render 1
9768 #define GL_QUERY_WAIT_NV 0x8E13
9769 #define GL_QUERY_NO_WAIT_NV 0x8E14
9770 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
9771 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
9772 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
9773 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
9774 #ifdef GL_GLEXT_PROTOTYPES
9775 GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
9776 GLAPI void APIENTRY glEndConditionalRenderNV (void);
9778 #endif /* GL_NV_conditional_render */
9780 #ifndef GL_NV_conservative_raster
9781 #define GL_NV_conservative_raster 1
9782 #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
9783 #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
9784 #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
9785 #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
9786 typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
9787 #ifdef GL_GLEXT_PROTOTYPES
9788 GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
9790 #endif /* GL_NV_conservative_raster */
9792 #ifndef GL_NV_conservative_raster_dilate
9793 #define GL_NV_conservative_raster_dilate 1
9794 #define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379
9795 #define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A
9796 #define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B
9797 typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value);
9798 #ifdef GL_GLEXT_PROTOTYPES
9799 GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value);
9801 #endif /* GL_NV_conservative_raster_dilate */
9803 #ifndef GL_NV_conservative_raster_pre_snap
9804 #define GL_NV_conservative_raster_pre_snap 1
9805 #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
9806 #endif /* GL_NV_conservative_raster_pre_snap */
9808 #ifndef GL_NV_conservative_raster_pre_snap_triangles
9809 #define GL_NV_conservative_raster_pre_snap_triangles 1
9810 #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
9811 #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
9812 #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
9813 typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
9814 #ifdef GL_GLEXT_PROTOTYPES
9815 GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
9817 #endif /* GL_NV_conservative_raster_pre_snap_triangles */
9819 #ifndef GL_NV_conservative_raster_underestimation
9820 #define GL_NV_conservative_raster_underestimation 1
9821 #endif /* GL_NV_conservative_raster_underestimation */
9823 #ifndef GL_NV_copy_depth_to_color
9824 #define GL_NV_copy_depth_to_color 1
9825 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
9826 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
9827 #endif /* GL_NV_copy_depth_to_color */
9829 #ifndef GL_NV_copy_image
9830 #define GL_NV_copy_image 1
9831 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);
9832 #ifdef GL_GLEXT_PROTOTYPES
9833 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);
9835 #endif /* GL_NV_copy_image */
9837 #ifndef GL_NV_deep_texture3D
9838 #define GL_NV_deep_texture3D 1
9839 #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
9840 #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1
9841 #endif /* GL_NV_deep_texture3D */
9843 #ifndef GL_NV_depth_buffer_float
9844 #define GL_NV_depth_buffer_float 1
9845 #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
9846 #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
9847 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
9848 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
9849 typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
9850 typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
9851 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
9852 #ifdef GL_GLEXT_PROTOTYPES
9853 GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
9854 GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
9855 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
9857 #endif /* GL_NV_depth_buffer_float */
9859 #ifndef GL_NV_depth_clamp
9860 #define GL_NV_depth_clamp 1
9861 #define GL_DEPTH_CLAMP_NV 0x864F
9862 #endif /* GL_NV_depth_clamp */
9864 #ifndef GL_NV_draw_texture
9865 #define GL_NV_draw_texture 1
9866 typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
9867 #ifdef GL_GLEXT_PROTOTYPES
9868 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);
9870 #endif /* GL_NV_draw_texture */
9872 #ifndef GL_NV_draw_vulkan_image
9873 #define GL_NV_draw_vulkan_image 1
9874 typedef void (APIENTRY *GLVULKANPROCNV)(void);
9875 typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
9876 typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
9877 typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
9878 typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
9879 typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
9880 #ifdef GL_GLEXT_PROTOTYPES
9881 GLAPI void APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
9882 GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name);
9883 GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
9884 GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
9885 GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
9887 #endif /* GL_NV_draw_vulkan_image */
9889 #ifndef GL_NV_evaluators
9890 #define GL_NV_evaluators 1
9891 #define GL_EVAL_2D_NV 0x86C0
9892 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
9893 #define GL_MAP_TESSELLATION_NV 0x86C2
9894 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
9895 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
9896 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
9897 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
9898 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
9899 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
9900 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
9901 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
9902 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
9903 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
9904 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
9905 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
9906 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
9907 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
9908 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
9909 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
9910 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
9911 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
9912 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
9913 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
9914 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
9915 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
9916 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
9917 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
9918 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
9919 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
9920 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
9921 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
9922 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
9923 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
9924 #ifdef GL_GLEXT_PROTOTYPES
9925 GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
9926 GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
9927 GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
9928 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
9929 GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
9930 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
9931 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
9932 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
9933 GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
9935 #endif /* GL_NV_evaluators */
9937 #ifndef GL_NV_explicit_multisample
9938 #define GL_NV_explicit_multisample 1
9939 #define GL_SAMPLE_POSITION_NV 0x8E50
9940 #define GL_SAMPLE_MASK_NV 0x8E51
9941 #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
9942 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
9943 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
9944 #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
9945 #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
9946 #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
9947 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
9948 #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
9949 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
9950 typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
9951 typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
9952 #ifdef GL_GLEXT_PROTOTYPES
9953 GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
9954 GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
9955 GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
9957 #endif /* GL_NV_explicit_multisample */
9960 #define GL_NV_fence 1
9961 #define GL_ALL_COMPLETED_NV 0x84F2
9962 #define GL_FENCE_STATUS_NV 0x84F3
9963 #define GL_FENCE_CONDITION_NV 0x84F4
9964 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
9965 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
9966 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
9967 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
9968 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
9969 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
9970 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
9971 #ifdef GL_GLEXT_PROTOTYPES
9972 GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
9973 GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
9974 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
9975 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
9976 GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
9977 GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
9978 GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
9980 #endif /* GL_NV_fence */
9982 #ifndef GL_NV_fill_rectangle
9983 #define GL_NV_fill_rectangle 1
9984 #define GL_FILL_RECTANGLE_NV 0x933C
9985 #endif /* GL_NV_fill_rectangle */
9987 #ifndef GL_NV_float_buffer
9988 #define GL_NV_float_buffer 1
9989 #define GL_FLOAT_R_NV 0x8880
9990 #define GL_FLOAT_RG_NV 0x8881
9991 #define GL_FLOAT_RGB_NV 0x8882
9992 #define GL_FLOAT_RGBA_NV 0x8883
9993 #define GL_FLOAT_R16_NV 0x8884
9994 #define GL_FLOAT_R32_NV 0x8885
9995 #define GL_FLOAT_RG16_NV 0x8886
9996 #define GL_FLOAT_RG32_NV 0x8887
9997 #define GL_FLOAT_RGB16_NV 0x8888
9998 #define GL_FLOAT_RGB32_NV 0x8889
9999 #define GL_FLOAT_RGBA16_NV 0x888A
10000 #define GL_FLOAT_RGBA32_NV 0x888B
10001 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
10002 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
10003 #define GL_FLOAT_RGBA_MODE_NV 0x888E
10004 #endif /* GL_NV_float_buffer */
10006 #ifndef GL_NV_fog_distance
10007 #define GL_NV_fog_distance 1
10008 #define GL_FOG_DISTANCE_MODE_NV 0x855A
10009 #define GL_EYE_RADIAL_NV 0x855B
10010 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
10011 #endif /* GL_NV_fog_distance */
10013 #ifndef GL_NV_fragment_coverage_to_color
10014 #define GL_NV_fragment_coverage_to_color 1
10015 #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
10016 #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
10017 typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
10018 #ifdef GL_GLEXT_PROTOTYPES
10019 GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color);
10021 #endif /* GL_NV_fragment_coverage_to_color */
10023 #ifndef GL_NV_fragment_program
10024 #define GL_NV_fragment_program 1
10025 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
10026 #define GL_FRAGMENT_PROGRAM_NV 0x8870
10027 #define GL_MAX_TEXTURE_COORDS_NV 0x8871
10028 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
10029 #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
10030 #define GL_PROGRAM_ERROR_STRING_NV 0x8874
10031 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10032 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
10033 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10034 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
10035 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
10036 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
10037 #ifdef GL_GLEXT_PROTOTYPES
10038 GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10039 GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
10040 GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10041 GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
10042 GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
10043 GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
10045 #endif /* GL_NV_fragment_program */
10047 #ifndef GL_NV_fragment_program2
10048 #define GL_NV_fragment_program2 1
10049 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
10050 #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
10051 #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
10052 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
10053 #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
10054 #endif /* GL_NV_fragment_program2 */
10056 #ifndef GL_NV_fragment_program4
10057 #define GL_NV_fragment_program4 1
10058 #endif /* GL_NV_fragment_program4 */
10060 #ifndef GL_NV_fragment_program_option
10061 #define GL_NV_fragment_program_option 1
10062 #endif /* GL_NV_fragment_program_option */
10064 #ifndef GL_NV_fragment_shader_barycentric
10065 #define GL_NV_fragment_shader_barycentric 1
10066 #endif /* GL_NV_fragment_shader_barycentric */
10068 #ifndef GL_NV_fragment_shader_interlock
10069 #define GL_NV_fragment_shader_interlock 1
10070 #endif /* GL_NV_fragment_shader_interlock */
10072 #ifndef GL_NV_framebuffer_mixed_samples
10073 #define GL_NV_framebuffer_mixed_samples 1
10074 #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
10075 #define GL_COLOR_SAMPLES_NV 0x8E20
10076 #define GL_DEPTH_SAMPLES_NV 0x932D
10077 #define GL_STENCIL_SAMPLES_NV 0x932E
10078 #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
10079 #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
10080 #define GL_COVERAGE_MODULATION_NV 0x9332
10081 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
10082 typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
10083 typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v);
10084 typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
10085 #ifdef GL_GLEXT_PROTOTYPES
10086 GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
10087 GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v);
10088 GLAPI void APIENTRY glCoverageModulationNV (GLenum components);
10090 #endif /* GL_NV_framebuffer_mixed_samples */
10092 #ifndef GL_NV_framebuffer_multisample_coverage
10093 #define GL_NV_framebuffer_multisample_coverage 1
10094 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
10095 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
10096 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
10097 #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
10098 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
10099 #ifdef GL_GLEXT_PROTOTYPES
10100 GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
10102 #endif /* GL_NV_framebuffer_multisample_coverage */
10104 #ifndef GL_NV_geometry_program4
10105 #define GL_NV_geometry_program4 1
10106 #define GL_GEOMETRY_PROGRAM_NV 0x8C26
10107 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
10108 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
10109 typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
10110 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
10111 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
10112 #ifdef GL_GLEXT_PROTOTYPES
10113 GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
10114 GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
10115 GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
10117 #endif /* GL_NV_geometry_program4 */
10119 #ifndef GL_NV_geometry_shader4
10120 #define GL_NV_geometry_shader4 1
10121 #endif /* GL_NV_geometry_shader4 */
10123 #ifndef GL_NV_geometry_shader_passthrough
10124 #define GL_NV_geometry_shader_passthrough 1
10125 #endif /* GL_NV_geometry_shader_passthrough */
10127 #ifndef GL_NV_gpu_multicast
10128 #define GL_NV_gpu_multicast 1
10129 #define GL_PER_GPU_STORAGE_BIT_NV 0x0800
10130 #define GL_MULTICAST_GPUS_NV 0x92BA
10131 #define GL_RENDER_GPU_MASK_NV 0x9558
10132 #define GL_PER_GPU_STORAGE_NV 0x9548
10133 #define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549
10134 typedef void (APIENTRYP PFNGLRENDERGPUMASKNVPROC) (GLbitfield mask);
10135 typedef void (APIENTRYP PFNGLMULTICASTBUFFERSUBDATANVPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
10136 typedef void (APIENTRYP PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10137 typedef void (APIENTRYP PFNGLMULTICASTCOPYIMAGESUBDATANVPROC) (GLuint srcGpu, GLbitfield dstGpuMask, 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);
10138 typedef void (APIENTRYP PFNGLMULTICASTBLITFRAMEBUFFERNVPROC) (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
10139 typedef void (APIENTRYP PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
10140 typedef void (APIENTRYP PFNGLMULTICASTBARRIERNVPROC) (void);
10141 typedef void (APIENTRYP PFNGLMULTICASTWAITSYNCNVPROC) (GLuint signalGpu, GLbitfield waitGpuMask);
10142 typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint *params);
10143 typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
10144 typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
10145 typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
10146 #ifdef GL_GLEXT_PROTOTYPES
10147 GLAPI void APIENTRY glRenderGpuMaskNV (GLbitfield mask);
10148 GLAPI void APIENTRY glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
10149 GLAPI void APIENTRY glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10150 GLAPI void APIENTRY glMulticastCopyImageSubDataNV (GLuint srcGpu, GLbitfield dstGpuMask, 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);
10151 GLAPI void APIENTRY glMulticastBlitFramebufferNV (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
10152 GLAPI void APIENTRY glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
10153 GLAPI void APIENTRY glMulticastBarrierNV (void);
10154 GLAPI void APIENTRY glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask);
10155 GLAPI void APIENTRY glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint *params);
10156 GLAPI void APIENTRY glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
10157 GLAPI void APIENTRY glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
10158 GLAPI void APIENTRY glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
10160 #endif /* GL_NV_gpu_multicast */
10162 #ifndef GL_NV_gpu_program4
10163 #define GL_NV_gpu_program4 1
10164 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
10165 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
10166 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
10167 #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
10168 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
10169 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
10170 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
10171 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
10172 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10173 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
10174 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
10175 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10176 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
10177 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
10178 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10179 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
10180 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
10181 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10182 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
10183 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
10184 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
10185 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
10186 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
10187 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
10188 #ifdef GL_GLEXT_PROTOTYPES
10189 GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10190 GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
10191 GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
10192 GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10193 GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
10194 GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
10195 GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10196 GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
10197 GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
10198 GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10199 GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
10200 GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
10201 GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
10202 GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
10203 GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
10204 GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
10206 #endif /* GL_NV_gpu_program4 */
10208 #ifndef GL_NV_gpu_program5
10209 #define GL_NV_gpu_program5 1
10210 #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
10211 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
10212 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
10213 #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
10214 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
10215 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
10216 #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
10217 #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
10218 typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
10219 typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
10220 #ifdef GL_GLEXT_PROTOTYPES
10221 GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
10222 GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
10224 #endif /* GL_NV_gpu_program5 */
10226 #ifndef GL_NV_gpu_program5_mem_extended
10227 #define GL_NV_gpu_program5_mem_extended 1
10228 #endif /* GL_NV_gpu_program5_mem_extended */
10230 #ifndef GL_NV_gpu_shader5
10231 #define GL_NV_gpu_shader5 1
10232 #endif /* GL_NV_gpu_shader5 */
10234 #ifndef GL_NV_half_float
10235 #define GL_NV_half_float 1
10236 typedef unsigned short GLhalfNV;
10237 #define GL_HALF_FLOAT_NV 0x140B
10238 typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
10239 typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
10240 typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
10241 typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
10242 typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10243 typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
10244 typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
10245 typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
10246 typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10247 typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
10248 typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
10249 typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
10250 typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
10251 typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
10252 typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
10253 typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
10254 typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
10255 typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
10256 typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10257 typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
10258 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
10259 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
10260 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
10261 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
10262 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
10263 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
10264 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10265 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
10266 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
10267 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
10268 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
10269 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
10270 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
10271 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
10272 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10273 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
10274 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10275 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10276 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10277 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10278 typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
10279 typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
10280 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10281 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
10282 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
10283 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
10284 #ifdef GL_GLEXT_PROTOTYPES
10285 GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
10286 GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
10287 GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
10288 GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
10289 GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10290 GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
10291 GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
10292 GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
10293 GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10294 GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
10295 GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
10296 GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
10297 GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
10298 GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
10299 GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
10300 GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
10301 GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
10302 GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
10303 GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10304 GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
10305 GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
10306 GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
10307 GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
10308 GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
10309 GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
10310 GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
10311 GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10312 GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
10313 GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
10314 GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
10315 GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
10316 GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
10317 GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
10318 GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
10319 GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10320 GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
10321 GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10322 GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10323 GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10324 GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10325 GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
10326 GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
10327 GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10328 GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
10329 GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
10330 GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
10332 #endif /* GL_NV_half_float */
10334 #ifndef GL_NV_internalformat_sample_query
10335 #define GL_NV_internalformat_sample_query 1
10336 #define GL_MULTISAMPLES_NV 0x9371
10337 #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
10338 #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
10339 #define GL_CONFORMANT_NV 0x9374
10340 typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
10341 #ifdef GL_GLEXT_PROTOTYPES
10342 GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
10344 #endif /* GL_NV_internalformat_sample_query */
10346 #ifndef GL_NV_light_max_exponent
10347 #define GL_NV_light_max_exponent 1
10348 #define GL_MAX_SHININESS_NV 0x8504
10349 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
10350 #endif /* GL_NV_light_max_exponent */
10352 #ifndef GL_NV_memory_attachment
10353 #define GL_NV_memory_attachment 1
10354 #define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
10355 #define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
10356 #define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
10357 #define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
10358 #define GL_MEMORY_ATTACHABLE_NV 0x95A8
10359 #define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
10360 #define GL_DETACHED_TEXTURES_NV 0x95AA
10361 #define GL_DETACHED_BUFFERS_NV 0x95AB
10362 #define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
10363 #define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
10364 typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
10365 typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname);
10366 typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
10367 typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
10368 typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset);
10369 typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset);
10370 #ifdef GL_GLEXT_PROTOTYPES
10371 GLAPI void APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
10372 GLAPI void APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname);
10373 GLAPI void APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
10374 GLAPI void APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
10375 GLAPI void APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset);
10376 GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset);
10378 #endif /* GL_NV_memory_attachment */
10380 #ifndef GL_NV_memory_object_sparse
10381 #define GL_NV_memory_object_sparse 1
10382 typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10383 typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
10384 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10385 typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
10386 #ifdef GL_GLEXT_PROTOTYPES
10387 GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10388 GLAPI void APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
10389 GLAPI void APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10390 GLAPI void APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
10392 #endif /* GL_NV_memory_object_sparse */
10394 #ifndef GL_NV_mesh_shader
10395 #define GL_NV_mesh_shader 1
10396 #define GL_MESH_SHADER_NV 0x9559
10397 #define GL_TASK_SHADER_NV 0x955A
10398 #define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
10399 #define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
10400 #define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
10401 #define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
10402 #define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
10403 #define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
10404 #define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
10405 #define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
10406 #define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
10407 #define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
10408 #define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
10409 #define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
10410 #define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
10411 #define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
10412 #define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
10413 #define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
10414 #define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
10415 #define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
10416 #define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
10417 #define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
10418 #define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
10419 #define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
10420 #define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
10421 #define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
10422 #define GL_MAX_MESH_VIEWS_NV 0x9557
10423 #define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
10424 #define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
10425 #define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
10426 #define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
10427 #define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
10428 #define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
10429 #define GL_MESH_VERTICES_OUT_NV 0x9579
10430 #define GL_MESH_PRIMITIVES_OUT_NV 0x957A
10431 #define GL_MESH_OUTPUT_TYPE_NV 0x957B
10432 #define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
10433 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
10434 #define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
10435 #define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
10436 #define GL_MESH_SHADER_BIT_NV 0x00000040
10437 #define GL_TASK_SHADER_BIT_NV 0x00000080
10438 #define GL_MESH_SUBROUTINE_NV 0x957C
10439 #define GL_TASK_SUBROUTINE_NV 0x957D
10440 #define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
10441 #define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
10442 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
10443 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
10444 typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count);
10445 typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect);
10446 typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride);
10447 typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
10448 #ifdef GL_GLEXT_PROTOTYPES
10449 GLAPI void APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count);
10450 GLAPI void APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect);
10451 GLAPI void APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride);
10452 GLAPI void APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
10454 #endif /* GL_NV_mesh_shader */
10456 #ifndef GL_NV_multisample_coverage
10457 #define GL_NV_multisample_coverage 1
10458 #endif /* GL_NV_multisample_coverage */
10460 #ifndef GL_NV_multisample_filter_hint
10461 #define GL_NV_multisample_filter_hint 1
10462 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
10463 #endif /* GL_NV_multisample_filter_hint */
10465 #ifndef GL_NV_occlusion_query
10466 #define GL_NV_occlusion_query 1
10467 #define GL_PIXEL_COUNTER_BITS_NV 0x8864
10468 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
10469 #define GL_PIXEL_COUNT_NV 0x8866
10470 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
10471 typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
10472 typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
10473 typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
10474 typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
10475 typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
10476 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
10477 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
10478 #ifdef GL_GLEXT_PROTOTYPES
10479 GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
10480 GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
10481 GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
10482 GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
10483 GLAPI void APIENTRY glEndOcclusionQueryNV (void);
10484 GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
10485 GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
10487 #endif /* GL_NV_occlusion_query */
10489 #ifndef GL_NV_packed_depth_stencil
10490 #define GL_NV_packed_depth_stencil 1
10491 #define GL_DEPTH_STENCIL_NV 0x84F9
10492 #define GL_UNSIGNED_INT_24_8_NV 0x84FA
10493 #endif /* GL_NV_packed_depth_stencil */
10495 #ifndef GL_NV_parameter_buffer_object
10496 #define GL_NV_parameter_buffer_object 1
10497 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
10498 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
10499 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
10500 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
10501 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
10502 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
10503 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
10504 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
10505 #ifdef GL_GLEXT_PROTOTYPES
10506 GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
10507 GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
10508 GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
10510 #endif /* GL_NV_parameter_buffer_object */
10512 #ifndef GL_NV_parameter_buffer_object2
10513 #define GL_NV_parameter_buffer_object2 1
10514 #endif /* GL_NV_parameter_buffer_object2 */
10516 #ifndef GL_NV_path_rendering
10517 #define GL_NV_path_rendering 1
10518 #define GL_PATH_FORMAT_SVG_NV 0x9070
10519 #define GL_PATH_FORMAT_PS_NV 0x9071
10520 #define GL_STANDARD_FONT_NAME_NV 0x9072
10521 #define GL_SYSTEM_FONT_NAME_NV 0x9073
10522 #define GL_FILE_NAME_NV 0x9074
10523 #define GL_PATH_STROKE_WIDTH_NV 0x9075
10524 #define GL_PATH_END_CAPS_NV 0x9076
10525 #define GL_PATH_INITIAL_END_CAP_NV 0x9077
10526 #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
10527 #define GL_PATH_JOIN_STYLE_NV 0x9079
10528 #define GL_PATH_MITER_LIMIT_NV 0x907A
10529 #define GL_PATH_DASH_CAPS_NV 0x907B
10530 #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
10531 #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
10532 #define GL_PATH_DASH_OFFSET_NV 0x907E
10533 #define GL_PATH_CLIENT_LENGTH_NV 0x907F
10534 #define GL_PATH_FILL_MODE_NV 0x9080
10535 #define GL_PATH_FILL_MASK_NV 0x9081
10536 #define GL_PATH_FILL_COVER_MODE_NV 0x9082
10537 #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
10538 #define GL_PATH_STROKE_MASK_NV 0x9084
10539 #define GL_COUNT_UP_NV 0x9088
10540 #define GL_COUNT_DOWN_NV 0x9089
10541 #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
10542 #define GL_CONVEX_HULL_NV 0x908B
10543 #define GL_BOUNDING_BOX_NV 0x908D
10544 #define GL_TRANSLATE_X_NV 0x908E
10545 #define GL_TRANSLATE_Y_NV 0x908F
10546 #define GL_TRANSLATE_2D_NV 0x9090
10547 #define GL_TRANSLATE_3D_NV 0x9091
10548 #define GL_AFFINE_2D_NV 0x9092
10549 #define GL_AFFINE_3D_NV 0x9094
10550 #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
10551 #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
10552 #define GL_UTF8_NV 0x909A
10553 #define GL_UTF16_NV 0x909B
10554 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
10555 #define GL_PATH_COMMAND_COUNT_NV 0x909D
10556 #define GL_PATH_COORD_COUNT_NV 0x909E
10557 #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
10558 #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
10559 #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
10560 #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
10561 #define GL_SQUARE_NV 0x90A3
10562 #define GL_ROUND_NV 0x90A4
10563 #define GL_TRIANGULAR_NV 0x90A5
10564 #define GL_BEVEL_NV 0x90A6
10565 #define GL_MITER_REVERT_NV 0x90A7
10566 #define GL_MITER_TRUNCATE_NV 0x90A8
10567 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
10568 #define GL_USE_MISSING_GLYPH_NV 0x90AA
10569 #define GL_PATH_ERROR_POSITION_NV 0x90AB
10570 #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
10571 #define GL_ADJACENT_PAIRS_NV 0x90AE
10572 #define GL_FIRST_TO_REST_NV 0x90AF
10573 #define GL_PATH_GEN_MODE_NV 0x90B0
10574 #define GL_PATH_GEN_COEFF_NV 0x90B1
10575 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
10576 #define GL_PATH_STENCIL_FUNC_NV 0x90B7
10577 #define GL_PATH_STENCIL_REF_NV 0x90B8
10578 #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
10579 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
10580 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
10581 #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
10582 #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
10583 #define GL_MOVE_TO_RESETS_NV 0x90B5
10584 #define GL_MOVE_TO_CONTINUES_NV 0x90B6
10585 #define GL_CLOSE_PATH_NV 0x00
10586 #define GL_MOVE_TO_NV 0x02
10587 #define GL_RELATIVE_MOVE_TO_NV 0x03
10588 #define GL_LINE_TO_NV 0x04
10589 #define GL_RELATIVE_LINE_TO_NV 0x05
10590 #define GL_HORIZONTAL_LINE_TO_NV 0x06
10591 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
10592 #define GL_VERTICAL_LINE_TO_NV 0x08
10593 #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
10594 #define GL_QUADRATIC_CURVE_TO_NV 0x0A
10595 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
10596 #define GL_CUBIC_CURVE_TO_NV 0x0C
10597 #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
10598 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
10599 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
10600 #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
10601 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
10602 #define GL_SMALL_CCW_ARC_TO_NV 0x12
10603 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
10604 #define GL_SMALL_CW_ARC_TO_NV 0x14
10605 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
10606 #define GL_LARGE_CCW_ARC_TO_NV 0x16
10607 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
10608 #define GL_LARGE_CW_ARC_TO_NV 0x18
10609 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
10610 #define GL_RESTART_PATH_NV 0xF0
10611 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
10612 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
10613 #define GL_RECT_NV 0xF6
10614 #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
10615 #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
10616 #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
10617 #define GL_ARC_TO_NV 0xFE
10618 #define GL_RELATIVE_ARC_TO_NV 0xFF
10619 #define GL_BOLD_BIT_NV 0x01
10620 #define GL_ITALIC_BIT_NV 0x02
10621 #define GL_GLYPH_WIDTH_BIT_NV 0x01
10622 #define GL_GLYPH_HEIGHT_BIT_NV 0x02
10623 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
10624 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
10625 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
10626 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
10627 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
10628 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
10629 #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
10630 #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
10631 #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
10632 #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
10633 #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
10634 #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
10635 #define GL_FONT_ASCENDER_BIT_NV 0x00200000
10636 #define GL_FONT_DESCENDER_BIT_NV 0x00400000
10637 #define GL_FONT_HEIGHT_BIT_NV 0x00800000
10638 #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
10639 #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
10640 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
10641 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
10642 #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
10643 #define GL_ROUNDED_RECT_NV 0xE8
10644 #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
10645 #define GL_ROUNDED_RECT2_NV 0xEA
10646 #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
10647 #define GL_ROUNDED_RECT4_NV 0xEC
10648 #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
10649 #define GL_ROUNDED_RECT8_NV 0xEE
10650 #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
10651 #define GL_RELATIVE_RECT_NV 0xF7
10652 #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
10653 #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
10654 #define GL_FONT_UNAVAILABLE_NV 0x936A
10655 #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
10656 #define GL_CONIC_CURVE_TO_NV 0x1A
10657 #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
10658 #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
10659 #define GL_STANDARD_FONT_FORMAT_NV 0x936C
10660 #define GL_2_BYTES_NV 0x1407
10661 #define GL_3_BYTES_NV 0x1408
10662 #define GL_4_BYTES_NV 0x1409
10663 #define GL_EYE_LINEAR_NV 0x2400
10664 #define GL_OBJECT_LINEAR_NV 0x2401
10665 #define GL_CONSTANT_NV 0x8576
10666 #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
10667 #define GL_PRIMARY_COLOR_NV 0x852C
10668 #define GL_SECONDARY_COLOR_NV 0x852D
10669 #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
10670 #define GL_PATH_PROJECTION_NV 0x1701
10671 #define GL_PATH_MODELVIEW_NV 0x1700
10672 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
10673 #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
10674 #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
10675 #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
10676 #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
10677 #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
10678 #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
10679 #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
10680 #define GL_FRAGMENT_INPUT_NV 0x936D
10681 typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
10682 typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
10683 typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
10684 typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
10685 typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
10686 typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
10687 typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
10688 typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
10689 typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
10690 typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
10691 typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
10692 typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
10693 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
10694 typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
10695 typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
10696 typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
10697 typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
10698 typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
10699 typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
10700 typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
10701 typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
10702 typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
10703 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
10704 typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
10705 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
10706 typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
10707 typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
10708 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
10709 typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
10710 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
10711 typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
10712 typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
10713 typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
10714 typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
10715 typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
10716 typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
10717 typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
10718 typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
10719 typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
10720 typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
10721 typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
10722 typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
10723 typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
10724 typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
10725 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
10726 typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
10727 typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
10728 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
10729 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
10730 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
10731 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
10732 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
10733 typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
10734 typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
10735 typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
10736 typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
10737 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
10738 typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
10739 typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
10740 typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
10741 typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
10742 typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
10743 typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
10744 typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
10745 #ifdef GL_GLEXT_PROTOTYPES
10746 GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
10747 GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
10748 GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
10749 GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
10750 GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
10751 GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
10752 GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
10753 GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
10754 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);
10755 GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
10756 GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
10757 GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
10758 GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
10759 GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
10760 GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
10761 GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
10762 GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
10763 GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
10764 GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
10765 GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
10766 GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
10767 GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
10768 GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
10769 GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
10770 GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
10771 GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
10772 GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
10773 GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
10774 GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
10775 GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
10776 GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
10777 GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
10778 GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
10779 GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
10780 GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
10781 GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
10782 GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
10783 GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
10784 GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
10785 GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
10786 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
10787 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
10788 GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
10789 GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
10790 GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
10791 GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
10792 GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
10793 GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
10794 GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
10795 GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
10796 GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
10797 GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
10798 GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
10799 GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
10800 GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
10801 GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
10802 GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
10803 GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
10804 GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
10805 GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
10806 GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
10807 GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
10808 GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
10809 GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
10811 #endif /* GL_NV_path_rendering */
10813 #ifndef GL_NV_path_rendering_shared_edge
10814 #define GL_NV_path_rendering_shared_edge 1
10815 #define GL_SHARED_EDGE_NV 0xC0
10816 #endif /* GL_NV_path_rendering_shared_edge */
10818 #ifndef GL_NV_pixel_data_range
10819 #define GL_NV_pixel_data_range 1
10820 #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
10821 #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
10822 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
10823 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
10824 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
10825 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
10826 typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
10827 typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
10828 #ifdef GL_GLEXT_PROTOTYPES
10829 GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
10830 GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
10832 #endif /* GL_NV_pixel_data_range */
10834 #ifndef GL_NV_point_sprite
10835 #define GL_NV_point_sprite 1
10836 #define GL_POINT_SPRITE_NV 0x8861
10837 #define GL_COORD_REPLACE_NV 0x8862
10838 #define GL_POINT_SPRITE_R_MODE_NV 0x8863
10839 typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
10840 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
10841 #ifdef GL_GLEXT_PROTOTYPES
10842 GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
10843 GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
10845 #endif /* GL_NV_point_sprite */
10847 #ifndef GL_NV_present_video
10848 #define GL_NV_present_video 1
10849 #define GL_FRAME_NV 0x8E26
10850 #define GL_FIELDS_NV 0x8E27
10851 #define GL_CURRENT_TIME_NV 0x8E28
10852 #define GL_NUM_FILL_STREAMS_NV 0x8E29
10853 #define GL_PRESENT_TIME_NV 0x8E2A
10854 #define GL_PRESENT_DURATION_NV 0x8E2B
10855 typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
10856 typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
10857 typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
10858 typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
10859 typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
10860 typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
10861 #ifdef GL_GLEXT_PROTOTYPES
10862 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);
10863 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);
10864 GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
10865 GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
10866 GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
10867 GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
10869 #endif /* GL_NV_present_video */
10871 #ifndef GL_NV_primitive_restart
10872 #define GL_NV_primitive_restart 1
10873 #define GL_PRIMITIVE_RESTART_NV 0x8558
10874 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
10875 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
10876 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
10877 #ifdef GL_GLEXT_PROTOTYPES
10878 GLAPI void APIENTRY glPrimitiveRestartNV (void);
10879 GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
10881 #endif /* GL_NV_primitive_restart */
10883 #ifndef GL_NV_primitive_shading_rate
10884 #define GL_NV_primitive_shading_rate 1
10885 #define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
10886 #define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
10887 #endif /* GL_NV_primitive_shading_rate */
10889 #ifndef GL_NV_query_resource
10890 #define GL_NV_query_resource 1
10891 #define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540
10892 #define GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV 0x9542
10893 #define GL_QUERY_RESOURCE_SYS_RESERVED_NV 0x9544
10894 #define GL_QUERY_RESOURCE_TEXTURE_NV 0x9545
10895 #define GL_QUERY_RESOURCE_RENDERBUFFER_NV 0x9546
10896 #define GL_QUERY_RESOURCE_BUFFEROBJECT_NV 0x9547
10897 typedef GLint (APIENTRYP PFNGLQUERYRESOURCENVPROC) (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
10898 #ifdef GL_GLEXT_PROTOTYPES
10899 GLAPI GLint APIENTRY glQueryResourceNV (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
10901 #endif /* GL_NV_query_resource */
10903 #ifndef GL_NV_query_resource_tag
10904 #define GL_NV_query_resource_tag 1
10905 typedef void (APIENTRYP PFNGLGENQUERYRESOURCETAGNVPROC) (GLsizei n, GLint *tagIds);
10906 typedef void (APIENTRYP PFNGLDELETEQUERYRESOURCETAGNVPROC) (GLsizei n, const GLint *tagIds);
10907 typedef void (APIENTRYP PFNGLQUERYRESOURCETAGNVPROC) (GLint tagId, const GLchar *tagString);
10908 #ifdef GL_GLEXT_PROTOTYPES
10909 GLAPI void APIENTRY glGenQueryResourceTagNV (GLsizei n, GLint *tagIds);
10910 GLAPI void APIENTRY glDeleteQueryResourceTagNV (GLsizei n, const GLint *tagIds);
10911 GLAPI void APIENTRY glQueryResourceTagNV (GLint tagId, const GLchar *tagString);
10913 #endif /* GL_NV_query_resource_tag */
10915 #ifndef GL_NV_register_combiners
10916 #define GL_NV_register_combiners 1
10917 #define GL_REGISTER_COMBINERS_NV 0x8522
10918 #define GL_VARIABLE_A_NV 0x8523
10919 #define GL_VARIABLE_B_NV 0x8524
10920 #define GL_VARIABLE_C_NV 0x8525
10921 #define GL_VARIABLE_D_NV 0x8526
10922 #define GL_VARIABLE_E_NV 0x8527
10923 #define GL_VARIABLE_F_NV 0x8528
10924 #define GL_VARIABLE_G_NV 0x8529
10925 #define GL_CONSTANT_COLOR0_NV 0x852A
10926 #define GL_CONSTANT_COLOR1_NV 0x852B
10927 #define GL_SPARE0_NV 0x852E
10928 #define GL_SPARE1_NV 0x852F
10929 #define GL_DISCARD_NV 0x8530
10930 #define GL_E_TIMES_F_NV 0x8531
10931 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
10932 #define GL_UNSIGNED_IDENTITY_NV 0x8536
10933 #define GL_UNSIGNED_INVERT_NV 0x8537
10934 #define GL_EXPAND_NORMAL_NV 0x8538
10935 #define GL_EXPAND_NEGATE_NV 0x8539
10936 #define GL_HALF_BIAS_NORMAL_NV 0x853A
10937 #define GL_HALF_BIAS_NEGATE_NV 0x853B
10938 #define GL_SIGNED_IDENTITY_NV 0x853C
10939 #define GL_SIGNED_NEGATE_NV 0x853D
10940 #define GL_SCALE_BY_TWO_NV 0x853E
10941 #define GL_SCALE_BY_FOUR_NV 0x853F
10942 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
10943 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
10944 #define GL_COMBINER_INPUT_NV 0x8542
10945 #define GL_COMBINER_MAPPING_NV 0x8543
10946 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
10947 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
10948 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
10949 #define GL_COMBINER_MUX_SUM_NV 0x8547
10950 #define GL_COMBINER_SCALE_NV 0x8548
10951 #define GL_COMBINER_BIAS_NV 0x8549
10952 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
10953 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
10954 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
10955 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
10956 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
10957 #define GL_COLOR_SUM_CLAMP_NV 0x854F
10958 #define GL_COMBINER0_NV 0x8550
10959 #define GL_COMBINER1_NV 0x8551
10960 #define GL_COMBINER2_NV 0x8552
10961 #define GL_COMBINER3_NV 0x8553
10962 #define GL_COMBINER4_NV 0x8554
10963 #define GL_COMBINER5_NV 0x8555
10964 #define GL_COMBINER6_NV 0x8556
10965 #define GL_COMBINER7_NV 0x8557
10966 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
10967 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
10968 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
10969 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
10970 typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
10971 typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
10972 typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
10973 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
10974 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
10975 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
10976 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
10977 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
10978 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
10979 #ifdef GL_GLEXT_PROTOTYPES
10980 GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
10981 GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
10982 GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
10983 GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
10984 GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
10985 GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
10986 GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
10987 GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
10988 GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
10989 GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
10990 GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
10991 GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
10992 GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
10994 #endif /* GL_NV_register_combiners */
10996 #ifndef GL_NV_register_combiners2
10997 #define GL_NV_register_combiners2 1
10998 #define GL_PER_STAGE_CONSTANTS_NV 0x8535
10999 typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
11000 typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
11001 #ifdef GL_GLEXT_PROTOTYPES
11002 GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
11003 GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
11005 #endif /* GL_NV_register_combiners2 */
11007 #ifndef GL_NV_representative_fragment_test
11008 #define GL_NV_representative_fragment_test 1
11009 #define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
11010 #endif /* GL_NV_representative_fragment_test */
11012 #ifndef GL_NV_robustness_video_memory_purge
11013 #define GL_NV_robustness_video_memory_purge 1
11014 #define GL_PURGED_CONTEXT_RESET_NV 0x92BB
11015 #endif /* GL_NV_robustness_video_memory_purge */
11017 #ifndef GL_NV_sample_locations
11018 #define GL_NV_sample_locations 1
11019 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
11020 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
11021 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
11022 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
11023 #define GL_SAMPLE_LOCATION_NV 0x8E50
11024 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
11025 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
11026 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
11027 typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
11028 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
11029 typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
11030 #ifdef GL_GLEXT_PROTOTYPES
11031 GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
11032 GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
11033 GLAPI void APIENTRY glResolveDepthValuesNV (void);
11035 #endif /* GL_NV_sample_locations */
11037 #ifndef GL_NV_sample_mask_override_coverage
11038 #define GL_NV_sample_mask_override_coverage 1
11039 #endif /* GL_NV_sample_mask_override_coverage */
11041 #ifndef GL_NV_scissor_exclusive
11042 #define GL_NV_scissor_exclusive 1
11043 #define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
11044 #define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
11045 typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
11046 typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
11047 #ifdef GL_GLEXT_PROTOTYPES
11048 GLAPI void APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height);
11049 GLAPI void APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v);
11051 #endif /* GL_NV_scissor_exclusive */
11053 #ifndef GL_NV_shader_atomic_counters
11054 #define GL_NV_shader_atomic_counters 1
11055 #endif /* GL_NV_shader_atomic_counters */
11057 #ifndef GL_NV_shader_atomic_float
11058 #define GL_NV_shader_atomic_float 1
11059 #endif /* GL_NV_shader_atomic_float */
11061 #ifndef GL_NV_shader_atomic_float64
11062 #define GL_NV_shader_atomic_float64 1
11063 #endif /* GL_NV_shader_atomic_float64 */
11065 #ifndef GL_NV_shader_atomic_fp16_vector
11066 #define GL_NV_shader_atomic_fp16_vector 1
11067 #endif /* GL_NV_shader_atomic_fp16_vector */
11069 #ifndef GL_NV_shader_atomic_int64
11070 #define GL_NV_shader_atomic_int64 1
11071 #endif /* GL_NV_shader_atomic_int64 */
11073 #ifndef GL_NV_shader_buffer_load
11074 #define GL_NV_shader_buffer_load 1
11075 #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
11076 #define GL_GPU_ADDRESS_NV 0x8F34
11077 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
11078 typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
11079 typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
11080 typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
11081 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
11082 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
11083 typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
11084 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
11085 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
11086 typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
11087 typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
11088 typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
11089 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
11090 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
11091 #ifdef GL_GLEXT_PROTOTYPES
11092 GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
11093 GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
11094 GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
11095 GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
11096 GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
11097 GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
11098 GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
11099 GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
11100 GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
11101 GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
11102 GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
11103 GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
11104 GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
11106 #endif /* GL_NV_shader_buffer_load */
11108 #ifndef GL_NV_shader_buffer_store
11109 #define GL_NV_shader_buffer_store 1
11110 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
11111 #endif /* GL_NV_shader_buffer_store */
11113 #ifndef GL_NV_shader_storage_buffer_object
11114 #define GL_NV_shader_storage_buffer_object 1
11115 #endif /* GL_NV_shader_storage_buffer_object */
11117 #ifndef GL_NV_shader_subgroup_partitioned
11118 #define GL_NV_shader_subgroup_partitioned 1
11119 #define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100
11120 #endif /* GL_NV_shader_subgroup_partitioned */
11122 #ifndef GL_NV_shader_texture_footprint
11123 #define GL_NV_shader_texture_footprint 1
11124 #endif /* GL_NV_shader_texture_footprint */
11126 #ifndef GL_NV_shader_thread_group
11127 #define GL_NV_shader_thread_group 1
11128 #define GL_WARP_SIZE_NV 0x9339
11129 #define GL_WARPS_PER_SM_NV 0x933A
11130 #define GL_SM_COUNT_NV 0x933B
11131 #endif /* GL_NV_shader_thread_group */
11133 #ifndef GL_NV_shader_thread_shuffle
11134 #define GL_NV_shader_thread_shuffle 1
11135 #endif /* GL_NV_shader_thread_shuffle */
11137 #ifndef GL_NV_shading_rate_image
11138 #define GL_NV_shading_rate_image 1
11139 #define GL_SHADING_RATE_IMAGE_NV 0x9563
11140 #define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
11141 #define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
11142 #define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
11143 #define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
11144 #define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
11145 #define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
11146 #define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
11147 #define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
11148 #define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
11149 #define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
11150 #define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
11151 #define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
11152 #define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
11153 #define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
11154 #define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
11155 #define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
11156 #define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
11157 #define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
11158 #define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
11159 #define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
11160 typedef void (APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture);
11161 typedef void (APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate);
11162 typedef void (APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location);
11163 typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize);
11164 typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
11165 typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order);
11166 typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations);
11167 #ifdef GL_GLEXT_PROTOTYPES
11168 GLAPI void APIENTRY glBindShadingRateImageNV (GLuint texture);
11169 GLAPI void APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate);
11170 GLAPI void APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location);
11171 GLAPI void APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize);
11172 GLAPI void APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
11173 GLAPI void APIENTRY glShadingRateSampleOrderNV (GLenum order);
11174 GLAPI void APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations);
11176 #endif /* GL_NV_shading_rate_image */
11178 #ifndef GL_NV_stereo_view_rendering
11179 #define GL_NV_stereo_view_rendering 1
11180 #endif /* GL_NV_stereo_view_rendering */
11182 #ifndef GL_NV_tessellation_program5
11183 #define GL_NV_tessellation_program5 1
11184 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
11185 #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
11186 #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
11187 #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
11188 #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
11189 #endif /* GL_NV_tessellation_program5 */
11191 #ifndef GL_NV_texgen_emboss
11192 #define GL_NV_texgen_emboss 1
11193 #define GL_EMBOSS_LIGHT_NV 0x855D
11194 #define GL_EMBOSS_CONSTANT_NV 0x855E
11195 #define GL_EMBOSS_MAP_NV 0x855F
11196 #endif /* GL_NV_texgen_emboss */
11198 #ifndef GL_NV_texgen_reflection
11199 #define GL_NV_texgen_reflection 1
11200 #define GL_NORMAL_MAP_NV 0x8511
11201 #define GL_REFLECTION_MAP_NV 0x8512
11202 #endif /* GL_NV_texgen_reflection */
11204 #ifndef GL_NV_texture_barrier
11205 #define GL_NV_texture_barrier 1
11206 typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
11207 #ifdef GL_GLEXT_PROTOTYPES
11208 GLAPI void APIENTRY glTextureBarrierNV (void);
11210 #endif /* GL_NV_texture_barrier */
11212 #ifndef GL_NV_texture_compression_vtc
11213 #define GL_NV_texture_compression_vtc 1
11214 #endif /* GL_NV_texture_compression_vtc */
11216 #ifndef GL_NV_texture_env_combine4
11217 #define GL_NV_texture_env_combine4 1
11218 #define GL_COMBINE4_NV 0x8503
11219 #define GL_SOURCE3_RGB_NV 0x8583
11220 #define GL_SOURCE3_ALPHA_NV 0x858B
11221 #define GL_OPERAND3_RGB_NV 0x8593
11222 #define GL_OPERAND3_ALPHA_NV 0x859B
11223 #endif /* GL_NV_texture_env_combine4 */
11225 #ifndef GL_NV_texture_expand_normal
11226 #define GL_NV_texture_expand_normal 1
11227 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
11228 #endif /* GL_NV_texture_expand_normal */
11230 #ifndef GL_NV_texture_multisample
11231 #define GL_NV_texture_multisample 1
11232 #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
11233 #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
11234 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
11235 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
11236 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
11237 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
11238 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
11239 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
11240 #ifdef GL_GLEXT_PROTOTYPES
11241 GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
11242 GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
11243 GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
11244 GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
11245 GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
11246 GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
11248 #endif /* GL_NV_texture_multisample */
11250 #ifndef GL_NV_texture_rectangle
11251 #define GL_NV_texture_rectangle 1
11252 #define GL_TEXTURE_RECTANGLE_NV 0x84F5
11253 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
11254 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
11255 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
11256 #endif /* GL_NV_texture_rectangle */
11258 #ifndef GL_NV_texture_rectangle_compressed
11259 #define GL_NV_texture_rectangle_compressed 1
11260 #endif /* GL_NV_texture_rectangle_compressed */
11262 #ifndef GL_NV_texture_shader
11263 #define GL_NV_texture_shader 1
11264 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
11265 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
11266 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
11267 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
11268 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
11269 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
11270 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
11271 #define GL_SHADER_CONSISTENT_NV 0x86DD
11272 #define GL_TEXTURE_SHADER_NV 0x86DE
11273 #define GL_SHADER_OPERATION_NV 0x86DF
11274 #define GL_CULL_MODES_NV 0x86E0
11275 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
11276 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
11277 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
11278 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
11279 #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
11280 #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
11281 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
11282 #define GL_CONST_EYE_NV 0x86E5
11283 #define GL_PASS_THROUGH_NV 0x86E6
11284 #define GL_CULL_FRAGMENT_NV 0x86E7
11285 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
11286 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
11287 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
11288 #define GL_DOT_PRODUCT_NV 0x86EC
11289 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
11290 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
11291 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
11292 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
11293 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
11294 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
11295 #define GL_HILO_NV 0x86F4
11296 #define GL_DSDT_NV 0x86F5
11297 #define GL_DSDT_MAG_NV 0x86F6
11298 #define GL_DSDT_MAG_VIB_NV 0x86F7
11299 #define GL_HILO16_NV 0x86F8
11300 #define GL_SIGNED_HILO_NV 0x86F9
11301 #define GL_SIGNED_HILO16_NV 0x86FA
11302 #define GL_SIGNED_RGBA_NV 0x86FB
11303 #define GL_SIGNED_RGBA8_NV 0x86FC
11304 #define GL_SIGNED_RGB_NV 0x86FE
11305 #define GL_SIGNED_RGB8_NV 0x86FF
11306 #define GL_SIGNED_LUMINANCE_NV 0x8701
11307 #define GL_SIGNED_LUMINANCE8_NV 0x8702
11308 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
11309 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
11310 #define GL_SIGNED_ALPHA_NV 0x8705
11311 #define GL_SIGNED_ALPHA8_NV 0x8706
11312 #define GL_SIGNED_INTENSITY_NV 0x8707
11313 #define GL_SIGNED_INTENSITY8_NV 0x8708
11314 #define GL_DSDT8_NV 0x8709
11315 #define GL_DSDT8_MAG8_NV 0x870A
11316 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
11317 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
11318 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
11319 #define GL_HI_SCALE_NV 0x870E
11320 #define GL_LO_SCALE_NV 0x870F
11321 #define GL_DS_SCALE_NV 0x8710
11322 #define GL_DT_SCALE_NV 0x8711
11323 #define GL_MAGNITUDE_SCALE_NV 0x8712
11324 #define GL_VIBRANCE_SCALE_NV 0x8713
11325 #define GL_HI_BIAS_NV 0x8714
11326 #define GL_LO_BIAS_NV 0x8715
11327 #define GL_DS_BIAS_NV 0x8716
11328 #define GL_DT_BIAS_NV 0x8717
11329 #define GL_MAGNITUDE_BIAS_NV 0x8718
11330 #define GL_VIBRANCE_BIAS_NV 0x8719
11331 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
11332 #define GL_TEXTURE_HI_SIZE_NV 0x871B
11333 #define GL_TEXTURE_LO_SIZE_NV 0x871C
11334 #define GL_TEXTURE_DS_SIZE_NV 0x871D
11335 #define GL_TEXTURE_DT_SIZE_NV 0x871E
11336 #define GL_TEXTURE_MAG_SIZE_NV 0x871F
11337 #endif /* GL_NV_texture_shader */
11339 #ifndef GL_NV_texture_shader2
11340 #define GL_NV_texture_shader2 1
11341 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
11342 #endif /* GL_NV_texture_shader2 */
11344 #ifndef GL_NV_texture_shader3
11345 #define GL_NV_texture_shader3 1
11346 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
11347 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
11348 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
11349 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
11350 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
11351 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
11352 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
11353 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
11354 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
11355 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
11356 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
11357 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
11358 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
11359 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
11360 #define GL_HILO8_NV 0x885E
11361 #define GL_SIGNED_HILO8_NV 0x885F
11362 #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
11363 #endif /* GL_NV_texture_shader3 */
11365 #ifndef GL_NV_timeline_semaphore
11366 #define GL_NV_timeline_semaphore 1
11367 #define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595
11368 #define GL_SEMAPHORE_TYPE_NV 0x95B3
11369 #define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4
11370 #define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5
11371 #define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6
11372 typedef void (APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores);
11373 typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params);
11374 typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params);
11375 #ifdef GL_GLEXT_PROTOTYPES
11376 GLAPI void APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores);
11377 GLAPI void APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params);
11378 GLAPI void APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params);
11380 #endif /* GL_NV_timeline_semaphore */
11382 #ifndef GL_NV_transform_feedback
11383 #define GL_NV_transform_feedback 1
11384 #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
11385 #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
11386 #define GL_TEXTURE_COORD_NV 0x8C79
11387 #define GL_CLIP_DISTANCE_NV 0x8C7A
11388 #define GL_VERTEX_ID_NV 0x8C7B
11389 #define GL_PRIMITIVE_ID_NV 0x8C7C
11390 #define GL_GENERIC_ATTRIB_NV 0x8C7D
11391 #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
11392 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
11393 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
11394 #define GL_ACTIVE_VARYINGS_NV 0x8C81
11395 #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
11396 #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
11397 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
11398 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
11399 #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
11400 #define GL_PRIMITIVES_GENERATED_NV 0x8C87
11401 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
11402 #define GL_RASTERIZER_DISCARD_NV 0x8C89
11403 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
11404 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
11405 #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
11406 #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
11407 #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
11408 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
11409 #define GL_LAYER_NV 0x8DAA
11410 #define GL_NEXT_BUFFER_NV -2
11411 #define GL_SKIP_COMPONENTS4_NV -3
11412 #define GL_SKIP_COMPONENTS3_NV -4
11413 #define GL_SKIP_COMPONENTS2_NV -5
11414 #define GL_SKIP_COMPONENTS1_NV -6
11415 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
11416 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
11417 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLenum bufferMode);
11418 typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
11419 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
11420 typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
11421 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
11422 typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
11423 typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
11424 typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
11425 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
11426 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
11427 #ifdef GL_GLEXT_PROTOTYPES
11428 GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
11429 GLAPI void APIENTRY glEndTransformFeedbackNV (void);
11430 GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLsizei count, const GLint *attribs, GLenum bufferMode);
11431 GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
11432 GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
11433 GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
11434 GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
11435 GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
11436 GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
11437 GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
11438 GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
11439 GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
11441 #endif /* GL_NV_transform_feedback */
11443 #ifndef GL_NV_transform_feedback2
11444 #define GL_NV_transform_feedback2 1
11445 #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
11446 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
11447 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
11448 #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
11449 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
11450 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
11451 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
11452 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
11453 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
11454 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
11455 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
11456 #ifdef GL_GLEXT_PROTOTYPES
11457 GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
11458 GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
11459 GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
11460 GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
11461 GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
11462 GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
11463 GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
11465 #endif /* GL_NV_transform_feedback2 */
11467 #ifndef GL_NV_uniform_buffer_unified_memory
11468 #define GL_NV_uniform_buffer_unified_memory 1
11469 #define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E
11470 #define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F
11471 #define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370
11472 #endif /* GL_NV_uniform_buffer_unified_memory */
11474 #ifndef GL_NV_vdpau_interop
11475 #define GL_NV_vdpau_interop 1
11476 typedef GLintptr GLvdpauSurfaceNV;
11477 #define GL_SURFACE_STATE_NV 0x86EB
11478 #define GL_SURFACE_REGISTERED_NV 0x86FD
11479 #define GL_SURFACE_MAPPED_NV 0x8700
11480 #define GL_WRITE_DISCARD_NV 0x88BE
11481 typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
11482 typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
11483 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
11484 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
11485 typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
11486 typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
11487 typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
11488 typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
11489 typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
11490 typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
11491 #ifdef GL_GLEXT_PROTOTYPES
11492 GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
11493 GLAPI void APIENTRY glVDPAUFiniNV (void);
11494 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
11495 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
11496 GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
11497 GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
11498 GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
11499 GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
11500 GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
11501 GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
11503 #endif /* GL_NV_vdpau_interop */
11505 #ifndef GL_NV_vdpau_interop2
11506 #define GL_NV_vdpau_interop2 1
11507 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
11508 #ifdef GL_GLEXT_PROTOTYPES
11509 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceWithPictureStructureNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
11511 #endif /* GL_NV_vdpau_interop2 */
11513 #ifndef GL_NV_vertex_array_range
11514 #define GL_NV_vertex_array_range 1
11515 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
11516 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
11517 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
11518 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
11519 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
11520 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
11521 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
11522 #ifdef GL_GLEXT_PROTOTYPES
11523 GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
11524 GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
11526 #endif /* GL_NV_vertex_array_range */
11528 #ifndef GL_NV_vertex_array_range2
11529 #define GL_NV_vertex_array_range2 1
11530 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
11531 #endif /* GL_NV_vertex_array_range2 */
11533 #ifndef GL_NV_vertex_attrib_integer_64bit
11534 #define GL_NV_vertex_attrib_integer_64bit 1
11535 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
11536 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
11537 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
11538 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
11539 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
11540 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
11541 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
11542 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
11543 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
11544 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
11545 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
11546 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
11547 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
11548 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
11549 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
11550 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
11551 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
11552 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
11553 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
11554 #ifdef GL_GLEXT_PROTOTYPES
11555 GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
11556 GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
11557 GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
11558 GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
11559 GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
11560 GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
11561 GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
11562 GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
11563 GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
11564 GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
11565 GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
11566 GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
11567 GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
11568 GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
11569 GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
11570 GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
11571 GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
11572 GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
11573 GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
11575 #endif /* GL_NV_vertex_attrib_integer_64bit */
11577 #ifndef GL_NV_vertex_buffer_unified_memory
11578 #define GL_NV_vertex_buffer_unified_memory 1
11579 #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
11580 #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
11581 #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
11582 #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
11583 #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
11584 #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
11585 #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
11586 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
11587 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
11588 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
11589 #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
11590 #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
11591 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
11592 #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
11593 #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
11594 #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
11595 #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
11596 #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
11597 #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
11598 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
11599 #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
11600 #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
11601 #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
11602 #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
11603 #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
11604 typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
11605 typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
11606 typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
11607 typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
11608 typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
11609 typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
11610 typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
11611 typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
11612 typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
11613 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
11614 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
11615 typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
11616 #ifdef GL_GLEXT_PROTOTYPES
11617 GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
11618 GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
11619 GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
11620 GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
11621 GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
11622 GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
11623 GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
11624 GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
11625 GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
11626 GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
11627 GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
11628 GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
11630 #endif /* GL_NV_vertex_buffer_unified_memory */
11632 #ifndef GL_NV_vertex_program
11633 #define GL_NV_vertex_program 1
11634 #define GL_VERTEX_PROGRAM_NV 0x8620
11635 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
11636 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
11637 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
11638 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
11639 #define GL_CURRENT_ATTRIB_NV 0x8626
11640 #define GL_PROGRAM_LENGTH_NV 0x8627
11641 #define GL_PROGRAM_STRING_NV 0x8628
11642 #define GL_MODELVIEW_PROJECTION_NV 0x8629
11643 #define GL_IDENTITY_NV 0x862A
11644 #define GL_INVERSE_NV 0x862B
11645 #define GL_TRANSPOSE_NV 0x862C
11646 #define GL_INVERSE_TRANSPOSE_NV 0x862D
11647 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
11648 #define GL_MAX_TRACK_MATRICES_NV 0x862F
11649 #define GL_MATRIX0_NV 0x8630
11650 #define GL_MATRIX1_NV 0x8631
11651 #define GL_MATRIX2_NV 0x8632
11652 #define GL_MATRIX3_NV 0x8633
11653 #define GL_MATRIX4_NV 0x8634
11654 #define GL_MATRIX5_NV 0x8635
11655 #define GL_MATRIX6_NV 0x8636
11656 #define GL_MATRIX7_NV 0x8637
11657 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
11658 #define GL_CURRENT_MATRIX_NV 0x8641
11659 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
11660 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
11661 #define GL_PROGRAM_PARAMETER_NV 0x8644
11662 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
11663 #define GL_PROGRAM_TARGET_NV 0x8646
11664 #define GL_PROGRAM_RESIDENT_NV 0x8647
11665 #define GL_TRACK_MATRIX_NV 0x8648
11666 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
11667 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
11668 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
11669 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
11670 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
11671 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
11672 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
11673 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
11674 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
11675 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
11676 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
11677 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
11678 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
11679 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
11680 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
11681 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
11682 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
11683 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
11684 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
11685 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
11686 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
11687 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
11688 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
11689 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
11690 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
11691 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
11692 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
11693 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
11694 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
11695 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
11696 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
11697 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
11698 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
11699 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
11700 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
11701 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
11702 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
11703 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
11704 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
11705 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
11706 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
11707 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
11708 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
11709 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
11710 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
11711 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
11712 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
11713 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
11714 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
11715 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
11716 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
11717 typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
11718 typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
11719 typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
11720 typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
11721 typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
11722 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
11723 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
11724 typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
11725 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
11726 typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
11727 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
11728 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
11729 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
11730 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
11731 typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
11732 typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
11733 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
11734 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
11735 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11736 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
11737 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
11738 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
11739 typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
11740 typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
11741 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
11742 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
11743 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
11744 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
11745 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
11746 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
11747 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
11748 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
11749 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
11750 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
11751 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
11752 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
11753 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
11754 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
11755 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
11756 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
11757 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
11758 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
11759 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
11760 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
11761 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
11762 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11763 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
11764 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
11765 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
11766 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
11767 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
11768 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
11769 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
11770 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
11771 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
11772 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
11773 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
11774 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
11775 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
11776 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
11777 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
11778 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
11779 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
11780 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
11781 #ifdef GL_GLEXT_PROTOTYPES
11782 GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
11783 GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
11784 GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
11785 GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
11786 GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
11787 GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
11788 GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
11789 GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
11790 GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
11791 GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
11792 GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
11793 GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
11794 GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
11795 GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
11796 GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
11797 GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
11798 GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
11799 GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
11800 GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11801 GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
11802 GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
11803 GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
11804 GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
11805 GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
11806 GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
11807 GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
11808 GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
11809 GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
11810 GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
11811 GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
11812 GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
11813 GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
11814 GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
11815 GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
11816 GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
11817 GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
11818 GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
11819 GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
11820 GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
11821 GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
11822 GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
11823 GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
11824 GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
11825 GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
11826 GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
11827 GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11828 GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
11829 GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
11830 GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
11831 GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
11832 GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
11833 GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
11834 GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
11835 GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
11836 GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
11837 GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
11838 GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
11839 GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
11840 GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
11841 GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
11842 GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
11843 GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
11844 GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
11845 GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
11847 #endif /* GL_NV_vertex_program */
11849 #ifndef GL_NV_vertex_program1_1
11850 #define GL_NV_vertex_program1_1 1
11851 #endif /* GL_NV_vertex_program1_1 */
11853 #ifndef GL_NV_vertex_program2
11854 #define GL_NV_vertex_program2 1
11855 #endif /* GL_NV_vertex_program2 */
11857 #ifndef GL_NV_vertex_program2_option
11858 #define GL_NV_vertex_program2_option 1
11859 #endif /* GL_NV_vertex_program2_option */
11861 #ifndef GL_NV_vertex_program3
11862 #define GL_NV_vertex_program3 1
11863 #endif /* GL_NV_vertex_program3 */
11865 #ifndef GL_NV_vertex_program4
11866 #define GL_NV_vertex_program4 1
11867 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
11868 #endif /* GL_NV_vertex_program4 */
11870 #ifndef GL_NV_video_capture
11871 #define GL_NV_video_capture 1
11872 #define GL_VIDEO_BUFFER_NV 0x9020
11873 #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
11874 #define GL_FIELD_UPPER_NV 0x9022
11875 #define GL_FIELD_LOWER_NV 0x9023
11876 #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
11877 #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
11878 #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
11879 #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
11880 #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
11881 #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
11882 #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
11883 #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
11884 #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
11885 #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
11886 #define GL_PARTIAL_SUCCESS_NV 0x902E
11887 #define GL_SUCCESS_NV 0x902F
11888 #define GL_FAILURE_NV 0x9030
11889 #define GL_YCBYCR8_422_NV 0x9031
11890 #define GL_YCBAYCR8A_4224_NV 0x9032
11891 #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
11892 #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
11893 #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
11894 #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
11895 #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
11896 #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
11897 #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
11898 #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
11899 #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
11900 #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
11901 typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
11902 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
11903 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
11904 typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
11905 typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
11906 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
11907 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
11908 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
11909 typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
11910 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
11911 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
11912 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
11913 #ifdef GL_GLEXT_PROTOTYPES
11914 GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
11915 GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
11916 GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
11917 GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
11918 GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
11919 GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
11920 GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
11921 GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
11922 GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
11923 GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
11924 GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
11925 GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
11927 #endif /* GL_NV_video_capture */
11929 #ifndef GL_NV_viewport_array2
11930 #define GL_NV_viewport_array2 1
11931 #endif /* GL_NV_viewport_array2 */
11933 #ifndef GL_NV_viewport_swizzle
11934 #define GL_NV_viewport_swizzle 1
11935 #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
11936 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
11937 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
11938 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
11939 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
11940 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
11941 #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
11942 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
11943 #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
11944 #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
11945 #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
11946 #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
11947 typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
11948 #ifdef GL_GLEXT_PROTOTYPES
11949 GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
11951 #endif /* GL_NV_viewport_swizzle */
11953 #ifndef GL_OML_interlace
11954 #define GL_OML_interlace 1
11955 #define GL_INTERLACE_OML 0x8980
11956 #define GL_INTERLACE_READ_OML 0x8981
11957 #endif /* GL_OML_interlace */
11959 #ifndef GL_OML_resample
11960 #define GL_OML_resample 1
11961 #define GL_PACK_RESAMPLE_OML 0x8984
11962 #define GL_UNPACK_RESAMPLE_OML 0x8985
11963 #define GL_RESAMPLE_REPLICATE_OML 0x8986
11964 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
11965 #define GL_RESAMPLE_AVERAGE_OML 0x8988
11966 #define GL_RESAMPLE_DECIMATE_OML 0x8989
11967 #endif /* GL_OML_resample */
11969 #ifndef GL_OML_subsample
11970 #define GL_OML_subsample 1
11971 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
11972 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
11973 #endif /* GL_OML_subsample */
11975 #ifndef GL_OVR_multiview
11976 #define GL_OVR_multiview 1
11977 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
11978 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
11979 #define GL_MAX_VIEWS_OVR 0x9631
11980 #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
11981 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
11982 #ifdef GL_GLEXT_PROTOTYPES
11983 GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
11985 #endif /* GL_OVR_multiview */
11987 #ifndef GL_OVR_multiview2
11988 #define GL_OVR_multiview2 1
11989 #endif /* GL_OVR_multiview2 */
11991 #ifndef GL_PGI_misc_hints
11992 #define GL_PGI_misc_hints 1
11993 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
11994 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
11995 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
11996 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
11997 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
11998 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
11999 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
12000 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
12001 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
12002 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
12003 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
12004 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
12005 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
12006 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
12007 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
12008 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
12009 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
12010 #define GL_CLIP_FAR_HINT_PGI 0x1A221
12011 #define GL_WIDE_LINE_HINT_PGI 0x1A222
12012 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
12013 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
12014 #ifdef GL_GLEXT_PROTOTYPES
12015 GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
12017 #endif /* GL_PGI_misc_hints */
12019 #ifndef GL_PGI_vertex_hints
12020 #define GL_PGI_vertex_hints 1
12021 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
12022 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
12023 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
12024 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
12025 #define GL_COLOR3_BIT_PGI 0x00010000
12026 #define GL_COLOR4_BIT_PGI 0x00020000
12027 #define GL_EDGEFLAG_BIT_PGI 0x00040000
12028 #define GL_INDEX_BIT_PGI 0x00080000
12029 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
12030 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
12031 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
12032 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
12033 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
12034 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
12035 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
12036 #define GL_NORMAL_BIT_PGI 0x08000000
12037 #define GL_TEXCOORD1_BIT_PGI 0x10000000
12038 #define GL_TEXCOORD2_BIT_PGI 0x20000000
12039 #define GL_TEXCOORD3_BIT_PGI 0x40000000
12040 #define GL_TEXCOORD4_BIT_PGI 0x80000000
12041 #define GL_VERTEX23_BIT_PGI 0x00000004
12042 #define GL_VERTEX4_BIT_PGI 0x00000008
12043 #endif /* GL_PGI_vertex_hints */
12045 #ifndef GL_REND_screen_coordinates
12046 #define GL_REND_screen_coordinates 1
12047 #define GL_SCREEN_COORDINATES_REND 0x8490
12048 #define GL_INVERTED_SCREEN_W_REND 0x8491
12049 #endif /* GL_REND_screen_coordinates */
12052 #define GL_S3_s3tc 1
12053 #define GL_RGB_S3TC 0x83A0
12054 #define GL_RGB4_S3TC 0x83A1
12055 #define GL_RGBA_S3TC 0x83A2
12056 #define GL_RGBA4_S3TC 0x83A3
12057 #define GL_RGBA_DXT5_S3TC 0x83A4
12058 #define GL_RGBA4_DXT5_S3TC 0x83A5
12059 #endif /* GL_S3_s3tc */
12061 #ifndef GL_SGIS_detail_texture
12062 #define GL_SGIS_detail_texture 1
12063 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
12064 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
12065 #define GL_LINEAR_DETAIL_SGIS 0x8097
12066 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
12067 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
12068 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
12069 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
12070 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
12071 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
12072 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
12073 #ifdef GL_GLEXT_PROTOTYPES
12074 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
12075 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
12077 #endif /* GL_SGIS_detail_texture */
12079 #ifndef GL_SGIS_fog_function
12080 #define GL_SGIS_fog_function 1
12081 #define GL_FOG_FUNC_SGIS 0x812A
12082 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
12083 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
12084 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
12085 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
12086 #ifdef GL_GLEXT_PROTOTYPES
12087 GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
12088 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
12090 #endif /* GL_SGIS_fog_function */
12092 #ifndef GL_SGIS_generate_mipmap
12093 #define GL_SGIS_generate_mipmap 1
12094 #define GL_GENERATE_MIPMAP_SGIS 0x8191
12095 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
12096 #endif /* GL_SGIS_generate_mipmap */
12098 #ifndef GL_SGIS_multisample
12099 #define GL_SGIS_multisample 1
12100 #define GL_MULTISAMPLE_SGIS 0x809D
12101 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
12102 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
12103 #define GL_SAMPLE_MASK_SGIS 0x80A0
12104 #define GL_1PASS_SGIS 0x80A1
12105 #define GL_2PASS_0_SGIS 0x80A2
12106 #define GL_2PASS_1_SGIS 0x80A3
12107 #define GL_4PASS_0_SGIS 0x80A4
12108 #define GL_4PASS_1_SGIS 0x80A5
12109 #define GL_4PASS_2_SGIS 0x80A6
12110 #define GL_4PASS_3_SGIS 0x80A7
12111 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
12112 #define GL_SAMPLES_SGIS 0x80A9
12113 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
12114 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
12115 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
12116 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
12117 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
12118 #ifdef GL_GLEXT_PROTOTYPES
12119 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
12120 GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
12122 #endif /* GL_SGIS_multisample */
12124 #ifndef GL_SGIS_pixel_texture
12125 #define GL_SGIS_pixel_texture 1
12126 #define GL_PIXEL_TEXTURE_SGIS 0x8353
12127 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
12128 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
12129 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
12130 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
12131 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
12132 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
12133 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
12134 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
12135 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
12136 #ifdef GL_GLEXT_PROTOTYPES
12137 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
12138 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
12139 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
12140 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
12141 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
12142 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
12144 #endif /* GL_SGIS_pixel_texture */
12146 #ifndef GL_SGIS_point_line_texgen
12147 #define GL_SGIS_point_line_texgen 1
12148 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
12149 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
12150 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
12151 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
12152 #define GL_EYE_POINT_SGIS 0x81F4
12153 #define GL_OBJECT_POINT_SGIS 0x81F5
12154 #define GL_EYE_LINE_SGIS 0x81F6
12155 #define GL_OBJECT_LINE_SGIS 0x81F7
12156 #endif /* GL_SGIS_point_line_texgen */
12158 #ifndef GL_SGIS_point_parameters
12159 #define GL_SGIS_point_parameters 1
12160 #define GL_POINT_SIZE_MIN_SGIS 0x8126
12161 #define GL_POINT_SIZE_MAX_SGIS 0x8127
12162 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
12163 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
12164 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
12165 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
12166 #ifdef GL_GLEXT_PROTOTYPES
12167 GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
12168 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
12170 #endif /* GL_SGIS_point_parameters */
12172 #ifndef GL_SGIS_sharpen_texture
12173 #define GL_SGIS_sharpen_texture 1
12174 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
12175 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
12176 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
12177 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
12178 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
12179 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
12180 #ifdef GL_GLEXT_PROTOTYPES
12181 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
12182 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
12184 #endif /* GL_SGIS_sharpen_texture */
12186 #ifndef GL_SGIS_texture4D
12187 #define GL_SGIS_texture4D 1
12188 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
12189 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
12190 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
12191 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
12192 #define GL_TEXTURE_4D_SGIS 0x8134
12193 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
12194 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
12195 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
12196 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
12197 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
12198 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);
12199 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);
12200 #ifdef GL_GLEXT_PROTOTYPES
12201 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);
12202 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);
12204 #endif /* GL_SGIS_texture4D */
12206 #ifndef GL_SGIS_texture_border_clamp
12207 #define GL_SGIS_texture_border_clamp 1
12208 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
12209 #endif /* GL_SGIS_texture_border_clamp */
12211 #ifndef GL_SGIS_texture_color_mask
12212 #define GL_SGIS_texture_color_mask 1
12213 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
12214 typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
12215 #ifdef GL_GLEXT_PROTOTYPES
12216 GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
12218 #endif /* GL_SGIS_texture_color_mask */
12220 #ifndef GL_SGIS_texture_edge_clamp
12221 #define GL_SGIS_texture_edge_clamp 1
12222 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
12223 #endif /* GL_SGIS_texture_edge_clamp */
12225 #ifndef GL_SGIS_texture_filter4
12226 #define GL_SGIS_texture_filter4 1
12227 #define GL_FILTER4_SGIS 0x8146
12228 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
12229 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
12230 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
12231 #ifdef GL_GLEXT_PROTOTYPES
12232 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
12233 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
12235 #endif /* GL_SGIS_texture_filter4 */
12237 #ifndef GL_SGIS_texture_lod
12238 #define GL_SGIS_texture_lod 1
12239 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
12240 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
12241 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
12242 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
12243 #endif /* GL_SGIS_texture_lod */
12245 #ifndef GL_SGIS_texture_select
12246 #define GL_SGIS_texture_select 1
12247 #define GL_DUAL_ALPHA4_SGIS 0x8110
12248 #define GL_DUAL_ALPHA8_SGIS 0x8111
12249 #define GL_DUAL_ALPHA12_SGIS 0x8112
12250 #define GL_DUAL_ALPHA16_SGIS 0x8113
12251 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
12252 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
12253 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
12254 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
12255 #define GL_DUAL_INTENSITY4_SGIS 0x8118
12256 #define GL_DUAL_INTENSITY8_SGIS 0x8119
12257 #define GL_DUAL_INTENSITY12_SGIS 0x811A
12258 #define GL_DUAL_INTENSITY16_SGIS 0x811B
12259 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
12260 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
12261 #define GL_QUAD_ALPHA4_SGIS 0x811E
12262 #define GL_QUAD_ALPHA8_SGIS 0x811F
12263 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
12264 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
12265 #define GL_QUAD_INTENSITY4_SGIS 0x8122
12266 #define GL_QUAD_INTENSITY8_SGIS 0x8123
12267 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
12268 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
12269 #endif /* GL_SGIS_texture_select */
12271 #ifndef GL_SGIX_async
12272 #define GL_SGIX_async 1
12273 #define GL_ASYNC_MARKER_SGIX 0x8329
12274 typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
12275 typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
12276 typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
12277 typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
12278 typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
12279 typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
12280 #ifdef GL_GLEXT_PROTOTYPES
12281 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
12282 GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
12283 GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
12284 GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
12285 GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
12286 GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
12288 #endif /* GL_SGIX_async */
12290 #ifndef GL_SGIX_async_histogram
12291 #define GL_SGIX_async_histogram 1
12292 #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
12293 #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
12294 #endif /* GL_SGIX_async_histogram */
12296 #ifndef GL_SGIX_async_pixel
12297 #define GL_SGIX_async_pixel 1
12298 #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
12299 #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
12300 #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
12301 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
12302 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
12303 #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
12304 #endif /* GL_SGIX_async_pixel */
12306 #ifndef GL_SGIX_blend_alpha_minmax
12307 #define GL_SGIX_blend_alpha_minmax 1
12308 #define GL_ALPHA_MIN_SGIX 0x8320
12309 #define GL_ALPHA_MAX_SGIX 0x8321
12310 #endif /* GL_SGIX_blend_alpha_minmax */
12312 #ifndef GL_SGIX_calligraphic_fragment
12313 #define GL_SGIX_calligraphic_fragment 1
12314 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
12315 #endif /* GL_SGIX_calligraphic_fragment */
12317 #ifndef GL_SGIX_clipmap
12318 #define GL_SGIX_clipmap 1
12319 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
12320 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
12321 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
12322 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
12323 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
12324 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
12325 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
12326 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
12327 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
12328 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
12329 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
12330 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
12331 #endif /* GL_SGIX_clipmap */
12333 #ifndef GL_SGIX_convolution_accuracy
12334 #define GL_SGIX_convolution_accuracy 1
12335 #define GL_CONVOLUTION_HINT_SGIX 0x8316
12336 #endif /* GL_SGIX_convolution_accuracy */
12338 #ifndef GL_SGIX_depth_pass_instrument
12339 #define GL_SGIX_depth_pass_instrument 1
12340 #endif /* GL_SGIX_depth_pass_instrument */
12342 #ifndef GL_SGIX_depth_texture
12343 #define GL_SGIX_depth_texture 1
12344 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
12345 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
12346 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
12347 #endif /* GL_SGIX_depth_texture */
12349 #ifndef GL_SGIX_flush_raster
12350 #define GL_SGIX_flush_raster 1
12351 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
12352 #ifdef GL_GLEXT_PROTOTYPES
12353 GLAPI void APIENTRY glFlushRasterSGIX (void);
12355 #endif /* GL_SGIX_flush_raster */
12357 #ifndef GL_SGIX_fog_offset
12358 #define GL_SGIX_fog_offset 1
12359 #define GL_FOG_OFFSET_SGIX 0x8198
12360 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
12361 #endif /* GL_SGIX_fog_offset */
12363 #ifndef GL_SGIX_fragment_lighting
12364 #define GL_SGIX_fragment_lighting 1
12365 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
12366 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
12367 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
12368 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
12369 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
12370 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
12371 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
12372 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
12373 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
12374 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
12375 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
12376 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
12377 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
12378 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
12379 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
12380 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
12381 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
12382 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
12383 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
12384 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
12385 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
12386 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
12387 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
12388 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
12389 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
12390 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
12391 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
12392 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
12393 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
12394 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
12395 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
12396 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
12397 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
12398 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
12399 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
12400 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
12401 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
12402 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
12403 #ifdef GL_GLEXT_PROTOTYPES
12404 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
12405 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
12406 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
12407 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
12408 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
12409 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
12410 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
12411 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
12412 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
12413 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
12414 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
12415 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
12416 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
12417 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
12418 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
12419 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
12420 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
12421 GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
12423 #endif /* GL_SGIX_fragment_lighting */
12425 #ifndef GL_SGIX_framezoom
12426 #define GL_SGIX_framezoom 1
12427 #define GL_FRAMEZOOM_SGIX 0x818B
12428 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
12429 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
12430 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
12431 #ifdef GL_GLEXT_PROTOTYPES
12432 GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
12434 #endif /* GL_SGIX_framezoom */
12436 #ifndef GL_SGIX_igloo_interface
12437 #define GL_SGIX_igloo_interface 1
12438 typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
12439 #ifdef GL_GLEXT_PROTOTYPES
12440 GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
12442 #endif /* GL_SGIX_igloo_interface */
12444 #ifndef GL_SGIX_instruments
12445 #define GL_SGIX_instruments 1
12446 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
12447 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
12448 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
12449 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
12450 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
12451 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
12452 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
12453 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
12454 #ifdef GL_GLEXT_PROTOTYPES
12455 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
12456 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
12457 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
12458 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
12459 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
12460 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
12462 #endif /* GL_SGIX_instruments */
12464 #ifndef GL_SGIX_interlace
12465 #define GL_SGIX_interlace 1
12466 #define GL_INTERLACE_SGIX 0x8094
12467 #endif /* GL_SGIX_interlace */
12469 #ifndef GL_SGIX_ir_instrument1
12470 #define GL_SGIX_ir_instrument1 1
12471 #define GL_IR_INSTRUMENT1_SGIX 0x817F
12472 #endif /* GL_SGIX_ir_instrument1 */
12474 #ifndef GL_SGIX_list_priority
12475 #define GL_SGIX_list_priority 1
12476 #define GL_LIST_PRIORITY_SGIX 0x8182
12477 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
12478 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
12479 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
12480 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
12481 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
12482 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
12483 #ifdef GL_GLEXT_PROTOTYPES
12484 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
12485 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
12486 GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
12487 GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
12488 GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
12489 GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
12491 #endif /* GL_SGIX_list_priority */
12493 #ifndef GL_SGIX_pixel_texture
12494 #define GL_SGIX_pixel_texture 1
12495 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
12496 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
12497 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
12498 #ifdef GL_GLEXT_PROTOTYPES
12499 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
12501 #endif /* GL_SGIX_pixel_texture */
12503 #ifndef GL_SGIX_pixel_tiles
12504 #define GL_SGIX_pixel_tiles 1
12505 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
12506 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
12507 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
12508 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
12509 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
12510 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
12511 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
12512 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
12513 #endif /* GL_SGIX_pixel_tiles */
12515 #ifndef GL_SGIX_polynomial_ffd
12516 #define GL_SGIX_polynomial_ffd 1
12517 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
12518 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
12519 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
12520 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
12521 #define GL_DEFORMATIONS_MASK_SGIX 0x8196
12522 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
12523 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);
12524 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
12525 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
12526 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
12527 #ifdef GL_GLEXT_PROTOTYPES
12528 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);
12529 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);
12530 GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
12531 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
12533 #endif /* GL_SGIX_polynomial_ffd */
12535 #ifndef GL_SGIX_reference_plane
12536 #define GL_SGIX_reference_plane 1
12537 #define GL_REFERENCE_PLANE_SGIX 0x817D
12538 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
12539 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
12540 #ifdef GL_GLEXT_PROTOTYPES
12541 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
12543 #endif /* GL_SGIX_reference_plane */
12545 #ifndef GL_SGIX_resample
12546 #define GL_SGIX_resample 1
12547 #define GL_PACK_RESAMPLE_SGIX 0x842E
12548 #define GL_UNPACK_RESAMPLE_SGIX 0x842F
12549 #define GL_RESAMPLE_REPLICATE_SGIX 0x8433
12550 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434
12551 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
12552 #endif /* GL_SGIX_resample */
12554 #ifndef GL_SGIX_scalebias_hint
12555 #define GL_SGIX_scalebias_hint 1
12556 #define GL_SCALEBIAS_HINT_SGIX 0x8322
12557 #endif /* GL_SGIX_scalebias_hint */
12559 #ifndef GL_SGIX_shadow
12560 #define GL_SGIX_shadow 1
12561 #define GL_TEXTURE_COMPARE_SGIX 0x819A
12562 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
12563 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
12564 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
12565 #endif /* GL_SGIX_shadow */
12567 #ifndef GL_SGIX_shadow_ambient
12568 #define GL_SGIX_shadow_ambient 1
12569 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
12570 #endif /* GL_SGIX_shadow_ambient */
12572 #ifndef GL_SGIX_sprite
12573 #define GL_SGIX_sprite 1
12574 #define GL_SPRITE_SGIX 0x8148
12575 #define GL_SPRITE_MODE_SGIX 0x8149
12576 #define GL_SPRITE_AXIS_SGIX 0x814A
12577 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
12578 #define GL_SPRITE_AXIAL_SGIX 0x814C
12579 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
12580 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
12581 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
12582 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
12583 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
12584 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
12585 #ifdef GL_GLEXT_PROTOTYPES
12586 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
12587 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
12588 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
12589 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
12591 #endif /* GL_SGIX_sprite */
12593 #ifndef GL_SGIX_subsample
12594 #define GL_SGIX_subsample 1
12595 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
12596 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
12597 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
12598 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
12599 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
12600 #endif /* GL_SGIX_subsample */
12602 #ifndef GL_SGIX_tag_sample_buffer
12603 #define GL_SGIX_tag_sample_buffer 1
12604 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
12605 #ifdef GL_GLEXT_PROTOTYPES
12606 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
12608 #endif /* GL_SGIX_tag_sample_buffer */
12610 #ifndef GL_SGIX_texture_add_env
12611 #define GL_SGIX_texture_add_env 1
12612 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
12613 #endif /* GL_SGIX_texture_add_env */
12615 #ifndef GL_SGIX_texture_coordinate_clamp
12616 #define GL_SGIX_texture_coordinate_clamp 1
12617 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
12618 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
12619 #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
12620 #endif /* GL_SGIX_texture_coordinate_clamp */
12622 #ifndef GL_SGIX_texture_lod_bias
12623 #define GL_SGIX_texture_lod_bias 1
12624 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
12625 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
12626 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
12627 #endif /* GL_SGIX_texture_lod_bias */
12629 #ifndef GL_SGIX_texture_multi_buffer
12630 #define GL_SGIX_texture_multi_buffer 1
12631 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
12632 #endif /* GL_SGIX_texture_multi_buffer */
12634 #ifndef GL_SGIX_texture_scale_bias
12635 #define GL_SGIX_texture_scale_bias 1
12636 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
12637 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
12638 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
12639 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
12640 #endif /* GL_SGIX_texture_scale_bias */
12642 #ifndef GL_SGIX_vertex_preclip
12643 #define GL_SGIX_vertex_preclip 1
12644 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
12645 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
12646 #endif /* GL_SGIX_vertex_preclip */
12648 #ifndef GL_SGIX_ycrcb
12649 #define GL_SGIX_ycrcb 1
12650 #define GL_YCRCB_422_SGIX 0x81BB
12651 #define GL_YCRCB_444_SGIX 0x81BC
12652 #endif /* GL_SGIX_ycrcb */
12654 #ifndef GL_SGIX_ycrcb_subsample
12655 #define GL_SGIX_ycrcb_subsample 1
12656 #endif /* GL_SGIX_ycrcb_subsample */
12658 #ifndef GL_SGIX_ycrcba
12659 #define GL_SGIX_ycrcba 1
12660 #define GL_YCRCB_SGIX 0x8318
12661 #define GL_YCRCBA_SGIX 0x8319
12662 #endif /* GL_SGIX_ycrcba */
12664 #ifndef GL_SGI_color_matrix
12665 #define GL_SGI_color_matrix 1
12666 #define GL_COLOR_MATRIX_SGI 0x80B1
12667 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
12668 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
12669 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
12670 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
12671 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
12672 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
12673 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
12674 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
12675 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
12676 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
12677 #endif /* GL_SGI_color_matrix */
12679 #ifndef GL_SGI_color_table
12680 #define GL_SGI_color_table 1
12681 #define GL_COLOR_TABLE_SGI 0x80D0
12682 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
12683 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
12684 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
12685 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
12686 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
12687 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
12688 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
12689 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
12690 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
12691 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
12692 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
12693 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
12694 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
12695 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
12696 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
12697 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
12698 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
12699 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
12700 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
12701 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
12702 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
12703 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
12704 #ifdef GL_GLEXT_PROTOTYPES
12705 GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
12706 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
12707 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
12708 GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
12709 GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
12710 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
12711 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
12713 #endif /* GL_SGI_color_table */
12715 #ifndef GL_SGI_texture_color_table
12716 #define GL_SGI_texture_color_table 1
12717 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
12718 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
12719 #endif /* GL_SGI_texture_color_table */
12721 #ifndef GL_SUNX_constant_data
12722 #define GL_SUNX_constant_data 1
12723 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
12724 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
12725 typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
12726 #ifdef GL_GLEXT_PROTOTYPES
12727 GLAPI void APIENTRY glFinishTextureSUNX (void);
12729 #endif /* GL_SUNX_constant_data */
12731 #ifndef GL_SUN_convolution_border_modes
12732 #define GL_SUN_convolution_border_modes 1
12733 #define GL_WRAP_BORDER_SUN 0x81D4
12734 #endif /* GL_SUN_convolution_border_modes */
12736 #ifndef GL_SUN_global_alpha
12737 #define GL_SUN_global_alpha 1
12738 #define GL_GLOBAL_ALPHA_SUN 0x81D9
12739 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
12740 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
12741 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
12742 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
12743 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
12744 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
12745 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
12746 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
12747 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
12748 #ifdef GL_GLEXT_PROTOTYPES
12749 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
12750 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
12751 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
12752 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
12753 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
12754 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
12755 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
12756 GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
12758 #endif /* GL_SUN_global_alpha */
12760 #ifndef GL_SUN_mesh_array
12761 #define GL_SUN_mesh_array 1
12762 #define GL_QUAD_MESH_SUN 0x8614
12763 #define GL_TRIANGLE_MESH_SUN 0x8615
12764 typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
12765 #ifdef GL_GLEXT_PROTOTYPES
12766 GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
12768 #endif /* GL_SUN_mesh_array */
12770 #ifndef GL_SUN_slice_accum
12771 #define GL_SUN_slice_accum 1
12772 #define GL_SLICE_ACCUM_SUN 0x85CC
12773 #endif /* GL_SUN_slice_accum */
12775 #ifndef GL_SUN_triangle_list
12776 #define GL_SUN_triangle_list 1
12777 #define GL_RESTART_SUN 0x0001
12778 #define GL_REPLACE_MIDDLE_SUN 0x0002
12779 #define GL_REPLACE_OLDEST_SUN 0x0003
12780 #define GL_TRIANGLE_LIST_SUN 0x81D7
12781 #define GL_REPLACEMENT_CODE_SUN 0x81D8
12782 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
12783 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
12784 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
12785 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
12786 #define GL_R1UI_V3F_SUN 0x85C4
12787 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
12788 #define GL_R1UI_C3F_V3F_SUN 0x85C6
12789 #define GL_R1UI_N3F_V3F_SUN 0x85C7
12790 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
12791 #define GL_R1UI_T2F_V3F_SUN 0x85C9
12792 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
12793 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
12794 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
12795 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
12796 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
12797 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
12798 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
12799 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
12800 typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
12801 #ifdef GL_GLEXT_PROTOTYPES
12802 GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
12803 GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
12804 GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
12805 GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
12806 GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
12807 GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
12808 GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
12810 #endif /* GL_SUN_triangle_list */
12812 #ifndef GL_SUN_vertex
12813 #define GL_SUN_vertex 1
12814 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
12815 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
12816 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
12817 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
12818 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
12819 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
12820 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12821 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
12822 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12823 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
12824 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
12825 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
12826 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
12827 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
12828 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
12829 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
12830 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
12831 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
12832 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12833 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
12834 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);
12835 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
12836 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);
12837 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
12838 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
12839 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
12840 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
12841 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
12842 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
12843 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
12844 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12845 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
12846 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);
12847 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
12848 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
12849 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
12850 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12851 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
12852 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);
12853 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
12854 #ifdef GL_GLEXT_PROTOTYPES
12855 GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
12856 GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
12857 GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
12858 GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
12859 GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
12860 GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
12861 GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12862 GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
12863 GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12864 GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
12865 GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
12866 GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
12867 GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
12868 GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
12869 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
12870 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
12871 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
12872 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
12873 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12874 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
12875 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);
12876 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
12877 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);
12878 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
12879 GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
12880 GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
12881 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
12882 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
12883 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
12884 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
12885 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12886 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
12887 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);
12888 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
12889 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
12890 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
12891 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
12892 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
12893 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);
12894 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
12896 #endif /* GL_SUN_vertex */
12898 #ifndef GL_WIN_phong_shading
12899 #define GL_WIN_phong_shading 1
12900 #define GL_PHONG_WIN 0x80EA
12901 #define GL_PHONG_HINT_WIN 0x80EB
12902 #endif /* GL_WIN_phong_shading */
12904 #ifndef GL_WIN_specular_fog
12905 #define GL_WIN_specular_fog 1
12906 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
12907 #endif /* GL_WIN_specular_fog */
12909 #ifndef GL_MESA_texture_const_bandwidth
12910 #define GL_MESA_texture_const_bandwidth 1
12911 #define GL_CONST_BW_TILING_MESA 0x8BBE