summary refs log tree commit diff stats
path: root/vendor/SDL2/include/SDL_opengl_glext.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 13:03:18 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 13:03:18 -0400
commit304bab2aced9cae51d2e4c09f3d9e06c66ff175d (patch)
tree8397f81b893feb1cf624eee49c4fb01297aa08ad /vendor/SDL2/include/SDL_opengl_glext.h
parentba350484072c78e5e1a765370c22dbd76474aa39 (diff)
downloadether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.tar.gz
ether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.tar.bz2
ether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.zip
we can build a window app!
build type must be set to Release or it's horribly slow, and fullscreen does not work
Diffstat (limited to 'vendor/SDL2/include/SDL_opengl_glext.h')
-rw-r--r--vendor/SDL2/include/SDL_opengl_glext.h11180
1 files changed, 11180 insertions, 0 deletions
diff --git a/vendor/SDL2/include/SDL_opengl_glext.h b/vendor/SDL2/include/SDL_opengl_glext.h new file mode 100644 index 0000000..6a402b1 --- /dev/null +++ b/vendor/SDL2/include/SDL_opengl_glext.h
@@ -0,0 +1,11180 @@
1#ifndef __glext_h_
2#define __glext_h_ 1
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/*
9** Copyright (c) 2013-2014 The Khronos Group Inc.
10**
11** Permission is hereby granted, free of charge, to any person obtaining a
12** copy of this software and/or associated documentation files (the
13** "Materials"), to deal in the Materials without restriction, including
14** without limitation the rights to use, copy, modify, merge, publish,
15** distribute, sublicense, and/or sell copies of the Materials, and to
16** permit persons to whom the Materials are furnished to do so, subject to
17** the following conditions:
18**
19** The above copyright notice and this permission notice shall be included
20** in all copies or substantial portions of the Materials.
21**
22** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29*/
30/*
31** This header is generated from the Khronos OpenGL / OpenGL ES XML
32** API Registry. The current version of the Registry, generator scripts
33** used to make the header, and the header can be found at
34** http://www.opengl.org/registry/
35**
36** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $
37*/
38
39#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
40#ifndef WIN32_LEAN_AND_MEAN
41#define WIN32_LEAN_AND_MEAN 1
42#endif
43#ifndef NOMINMAX /* don't define min() and max(). */
44#define NOMINMAX
45#endif
46#include <windows.h>
47#endif
48
49#ifndef APIENTRY
50#define APIENTRY
51#endif
52#ifndef APIENTRYP
53#define APIENTRYP APIENTRY *
54#endif
55#ifndef GLAPI
56#define GLAPI extern
57#endif
58
59#define GL_GLEXT_VERSION 20140521
60
61/* Generated C header for:
62 * API: gl
63 * Profile: compatibility
64 * Versions considered: .*
65 * Versions emitted: 1\.[2-9]|[234]\.[0-9]
66 * Default extensions included: gl
67 * Additional extensions included: _nomatch_^
68 * Extensions removed: _nomatch_^
69 */
70
71#ifndef GL_VERSION_1_2
72#define GL_VERSION_1_2 1
73#define GL_UNSIGNED_BYTE_3_3_2 0x8032
74#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
75#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
76#define GL_UNSIGNED_INT_8_8_8_8 0x8035
77#define GL_UNSIGNED_INT_10_10_10_2 0x8036
78#define GL_TEXTURE_BINDING_3D 0x806A
79#define GL_PACK_SKIP_IMAGES 0x806B
80#define GL_PACK_IMAGE_HEIGHT 0x806C
81#define GL_UNPACK_SKIP_IMAGES 0x806D
82#define GL_UNPACK_IMAGE_HEIGHT 0x806E
83#define GL_TEXTURE_3D 0x806F
84#define GL_PROXY_TEXTURE_3D 0x8070
85#define GL_TEXTURE_DEPTH 0x8071
86#define GL_TEXTURE_WRAP_R 0x8072
87#define GL_MAX_3D_TEXTURE_SIZE 0x8073
88#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
89#define GL_UNSIGNED_SHORT_5_6_5 0x8363
90#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
91#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
92#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
93#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
94#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
95#define GL_BGR 0x80E0
96#define GL_BGRA 0x80E1
97#define GL_MAX_ELEMENTS_VERTICES 0x80E8
98#define GL_MAX_ELEMENTS_INDICES 0x80E9
99#define GL_CLAMP_TO_EDGE 0x812F
100#define GL_TEXTURE_MIN_LOD 0x813A
101#define GL_TEXTURE_MAX_LOD 0x813B
102#define GL_TEXTURE_BASE_LEVEL 0x813C
103#define GL_TEXTURE_MAX_LEVEL 0x813D
104#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
105#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
106#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
107#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
108#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
109#define GL_RESCALE_NORMAL 0x803A
110#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
111#define GL_SINGLE_COLOR 0x81F9
112#define GL_SEPARATE_SPECULAR_COLOR 0x81FA
113#define GL_ALIASED_POINT_SIZE_RANGE 0x846D
114typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
115typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
116typedef 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);
117typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
118#ifdef GL_GLEXT_PROTOTYPES
119GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
120GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
121GLAPI 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);
122GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
123#endif
124#endif /* GL_VERSION_1_2 */
125
126#ifndef GL_VERSION_1_3
127#define GL_VERSION_1_3 1
128#define GL_TEXTURE0 0x84C0
129#define GL_TEXTURE1 0x84C1
130#define GL_TEXTURE2 0x84C2
131#define GL_TEXTURE3 0x84C3
132#define GL_TEXTURE4 0x84C4
133#define GL_TEXTURE5 0x84C5
134#define GL_TEXTURE6 0x84C6
135#define GL_TEXTURE7 0x84C7
136#define GL_TEXTURE8 0x84C8
137#define GL_TEXTURE9 0x84C9
138#define GL_TEXTURE10 0x84CA
139#define GL_TEXTURE11 0x84CB
140#define GL_TEXTURE12 0x84CC
141#define GL_TEXTURE13 0x84CD
142#define GL_TEXTURE14 0x84CE
143#define GL_TEXTURE15 0x84CF
144#define GL_TEXTURE16 0x84D0
145#define GL_TEXTURE17 0x84D1
146#define GL_TEXTURE18 0x84D2
147#define GL_TEXTURE19 0x84D3
148#define GL_TEXTURE20 0x84D4
149#define GL_TEXTURE21 0x84D5
150#define GL_TEXTURE22 0x84D6
151#define GL_TEXTURE23 0x84D7
152#define GL_TEXTURE24 0x84D8
153#define GL_TEXTURE25 0x84D9
154#define GL_TEXTURE26 0x84DA
155#define GL_TEXTURE27 0x84DB
156#define GL_TEXTURE28 0x84DC
157#define GL_TEXTURE29 0x84DD
158#define GL_TEXTURE30 0x84DE
159#define GL_TEXTURE31 0x84DF
160#define GL_ACTIVE_TEXTURE 0x84E0
161#define GL_MULTISAMPLE 0x809D
162#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
163#define GL_SAMPLE_ALPHA_TO_ONE 0x809F
164#define GL_SAMPLE_COVERAGE 0x80A0
165#define GL_SAMPLE_BUFFERS 0x80A8
166#define GL_SAMPLES 0x80A9
167#define GL_SAMPLE_COVERAGE_VALUE 0x80AA
168#define GL_SAMPLE_COVERAGE_INVERT 0x80AB
169#define GL_TEXTURE_CUBE_MAP 0x8513
170#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
171#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
172#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
173#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
174#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
175#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
176#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
177#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
178#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
179#define GL_COMPRESSED_RGB 0x84ED
180#define GL_COMPRESSED_RGBA 0x84EE
181#define GL_TEXTURE_COMPRESSION_HINT 0x84EF
182#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
183#define GL_TEXTURE_COMPRESSED 0x86A1
184#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
185#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
186#define GL_CLAMP_TO_BORDER 0x812D
187#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
188#define GL_MAX_TEXTURE_UNITS 0x84E2
189#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
190#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
191#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
192#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
193#define GL_MULTISAMPLE_BIT 0x20000000
194#define GL_NORMAL_MAP 0x8511
195#define GL_REFLECTION_MAP 0x8512
196#define GL_COMPRESSED_ALPHA 0x84E9
197#define GL_COMPRESSED_LUMINANCE 0x84EA
198#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
199#define GL_COMPRESSED_INTENSITY 0x84EC
200#define GL_COMBINE 0x8570
201#define GL_COMBINE_RGB 0x8571
202#define GL_COMBINE_ALPHA 0x8572
203#define GL_SOURCE0_RGB 0x8580
204#define GL_SOURCE1_RGB 0x8581
205#define GL_SOURCE2_RGB 0x8582
206#define GL_SOURCE0_ALPHA 0x8588
207#define GL_SOURCE1_ALPHA 0x8589
208#define GL_SOURCE2_ALPHA 0x858A
209#define GL_OPERAND0_RGB 0x8590
210#define GL_OPERAND1_RGB 0x8591
211#define GL_OPERAND2_RGB 0x8592
212#define GL_OPERAND0_ALPHA 0x8598
213#define GL_OPERAND1_ALPHA 0x8599
214#define GL_OPERAND2_ALPHA 0x859A
215#define GL_RGB_SCALE 0x8573
216#define GL_ADD_SIGNED 0x8574
217#define GL_INTERPOLATE 0x8575
218#define GL_SUBTRACT 0x84E7
219#define GL_CONSTANT 0x8576
220#define GL_PRIMARY_COLOR 0x8577
221#define GL_PREVIOUS 0x8578
222#define GL_DOT3_RGB 0x86AE
223#define GL_DOT3_RGBA 0x86AF
224typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
225typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
226typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
227typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
228typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
229typedef 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);
230typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
231typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
232typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
233typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
234typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
235typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
236typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
237typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
238typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
239typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
240typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
241typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
242typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
243typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
244typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
245typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
246typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
247typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
248typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
249typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
250typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
251typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
252typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
253typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
254typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
255typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
256typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
257typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
258typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
259typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
260typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
261typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
262typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
263typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
264typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
265typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
266typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
267typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
268typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
269typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
270#ifdef GL_GLEXT_PROTOTYPES
271GLAPI void APIENTRY glActiveTexture (GLenum texture);
272GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
273GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
274GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
275GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
276GLAPI 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);
277GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
278GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
279GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
280GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
281GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
282GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
283GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
284GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
285GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
286GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
287GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
288GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
289GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
290GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
291GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
292GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
293GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
294GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
295GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
296GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
297GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
298GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
299GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
300GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
301GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
302GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
303GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
304GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
305GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
306GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
307GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
308GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
309GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
310GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
311GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
312GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
313GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
314GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
315GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
316GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
317#endif
318#endif /* GL_VERSION_1_3 */
319
320#ifndef GL_VERSION_1_4
321#define GL_VERSION_1_4 1
322#define GL_BLEND_DST_RGB 0x80C8
323#define GL_BLEND_SRC_RGB 0x80C9
324#define GL_BLEND_DST_ALPHA 0x80CA
325#define GL_BLEND_SRC_ALPHA 0x80CB
326#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
327#define GL_DEPTH_COMPONENT16 0x81A5
328#define GL_DEPTH_COMPONENT24 0x81A6
329#define GL_DEPTH_COMPONENT32 0x81A7
330#define GL_MIRRORED_REPEAT 0x8370
331#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
332#define GL_TEXTURE_LOD_BIAS 0x8501
333#define GL_INCR_WRAP 0x8507
334#define GL_DECR_WRAP 0x8508
335#define GL_TEXTURE_DEPTH_SIZE 0x884A
336#define GL_TEXTURE_COMPARE_MODE 0x884C
337#define GL_TEXTURE_COMPARE_FUNC 0x884D
338#define GL_POINT_SIZE_MIN 0x8126
339#define GL_POINT_SIZE_MAX 0x8127
340#define GL_POINT_DISTANCE_ATTENUATION 0x8129
341#define GL_GENERATE_MIPMAP 0x8191
342#define GL_GENERATE_MIPMAP_HINT 0x8192
343#define GL_FOG_COORDINATE_SOURCE 0x8450
344#define GL_FOG_COORDINATE 0x8451
345#define GL_FRAGMENT_DEPTH 0x8452
346#define GL_CURRENT_FOG_COORDINATE 0x8453
347#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
348#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
349#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
350#define GL_FOG_COORDINATE_ARRAY 0x8457
351#define GL_COLOR_SUM 0x8458
352#define GL_CURRENT_SECONDARY_COLOR 0x8459
353#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
354#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
355#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
356#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
357#define GL_SECONDARY_COLOR_ARRAY 0x845E
358#define GL_TEXTURE_FILTER_CONTROL 0x8500
359#define GL_DEPTH_TEXTURE_MODE 0x884B
360#define GL_COMPARE_R_TO_TEXTURE 0x884E
361#define GL_FUNC_ADD 0x8006
362#define GL_FUNC_SUBTRACT 0x800A
363#define GL_FUNC_REVERSE_SUBTRACT 0x800B
364#define GL_MIN 0x8007
365#define GL_MAX 0x8008
366#define GL_CONSTANT_COLOR 0x8001
367#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
368#define GL_CONSTANT_ALPHA 0x8003
369#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
370typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
371typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
372typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
373typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
374typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
375typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
376typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
377typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
378typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
379typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
380typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
381typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
382typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
383typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
384typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
385typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
386typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
387typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
388typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
389typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
390typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
391typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
392typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
393typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
394typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
395typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
396typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
397typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
398typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
399typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
400typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
401typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
402typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
403typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
404typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
405typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
406typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
407typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
408typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
409typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
410typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
411typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
412typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
413typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
414typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
415typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
416typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
417#ifdef GL_GLEXT_PROTOTYPES
418GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
419GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
420GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
421GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
422GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
423GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
424GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
425GLAPI void APIENTRY glFogCoordf (GLfloat coord);
426GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
427GLAPI void APIENTRY glFogCoordd (GLdouble coord);
428GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
429GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
430GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
431GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
432GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
433GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
434GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
435GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
436GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
437GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
438GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
439GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
440GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
441GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
442GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
443GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
444GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
445GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
446GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
447GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
448GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
449GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
450GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
451GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
452GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
453GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
454GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
455GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
456GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
457GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
458GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
459GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
460GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
461GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
462GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
463GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
464GLAPI void APIENTRY glBlendEquation (GLenum mode);
465#endif
466#endif /* GL_VERSION_1_4 */
467
468#ifndef GL_VERSION_1_5
469#define GL_VERSION_1_5 1
470#include <stddef.h>
471#ifdef __MACOSX__
472typedef long GLsizeiptr;
473typedef long GLintptr;
474#else
475typedef ptrdiff_t GLsizeiptr;
476typedef ptrdiff_t GLintptr;
477#endif
478#define GL_BUFFER_SIZE 0x8764
479#define GL_BUFFER_USAGE 0x8765
480#define GL_QUERY_COUNTER_BITS 0x8864
481#define GL_CURRENT_QUERY 0x8865
482#define GL_QUERY_RESULT 0x8866
483#define GL_QUERY_RESULT_AVAILABLE 0x8867
484#define GL_ARRAY_BUFFER 0x8892
485#define GL_ELEMENT_ARRAY_BUFFER 0x8893
486#define GL_ARRAY_BUFFER_BINDING 0x8894
487#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
488#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
489#define GL_READ_ONLY 0x88B8
490#define GL_WRITE_ONLY 0x88B9
491#define GL_READ_WRITE 0x88BA
492#define GL_BUFFER_ACCESS 0x88BB
493#define GL_BUFFER_MAPPED 0x88BC
494#define GL_BUFFER_MAP_POINTER 0x88BD
495#define GL_STREAM_DRAW 0x88E0
496#define GL_STREAM_READ 0x88E1
497#define GL_STREAM_COPY 0x88E2
498#define GL_STATIC_DRAW 0x88E4
499#define GL_STATIC_READ 0x88E5
500#define GL_STATIC_COPY 0x88E6
501#define GL_DYNAMIC_DRAW 0x88E8
502#define GL_DYNAMIC_READ 0x88E9
503#define GL_DYNAMIC_COPY 0x88EA
504#define GL_SAMPLES_PASSED 0x8914
505#define GL_SRC1_ALPHA 0x8589
506#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
507#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
508#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
509#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
510#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
511#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
512#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
513#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
514#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
515#define GL_FOG_COORD_SRC 0x8450
516#define GL_FOG_COORD 0x8451
517#define GL_CURRENT_FOG_COORD 0x8453
518#define GL_FOG_COORD_ARRAY_TYPE 0x8454
519#define GL_FOG_COORD_ARRAY_STRIDE 0x8455
520#define GL_FOG_COORD_ARRAY_POINTER 0x8456
521#define GL_FOG_COORD_ARRAY 0x8457
522#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
523#define GL_SRC0_RGB 0x8580
524#define GL_SRC1_RGB 0x8581
525#define GL_SRC2_RGB 0x8582
526#define GL_SRC0_ALPHA 0x8588
527#define GL_SRC2_ALPHA 0x858A
528typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
529typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
530typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
531typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
532typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
533typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
534typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
535typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
536typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
537typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
538typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
539typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
540typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
541typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
542typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
543typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
544typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
545typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
546typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
547#ifdef GL_GLEXT_PROTOTYPES
548GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
549GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
550GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
551GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
552GLAPI void APIENTRY glEndQuery (GLenum target);
553GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
554GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
555GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
556GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
557GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
558GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
559GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
560GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
561GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
562GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
563GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
564GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
565GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
566GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
567#endif
568#endif /* GL_VERSION_1_5 */
569
570#ifndef GL_VERSION_2_0
571#define GL_VERSION_2_0 1
572typedef char GLchar;
573#define GL_BLEND_EQUATION_RGB 0x8009
574#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
575#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
576#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
577#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
578#define GL_CURRENT_VERTEX_ATTRIB 0x8626
579#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
580#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
581#define GL_STENCIL_BACK_FUNC 0x8800
582#define GL_STENCIL_BACK_FAIL 0x8801
583#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
584#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
585#define GL_MAX_DRAW_BUFFERS 0x8824
586#define GL_DRAW_BUFFER0 0x8825
587#define GL_DRAW_BUFFER1 0x8826
588#define GL_DRAW_BUFFER2 0x8827
589#define GL_DRAW_BUFFER3 0x8828
590#define GL_DRAW_BUFFER4 0x8829
591#define GL_DRAW_BUFFER5 0x882A
592#define GL_DRAW_BUFFER6 0x882B
593#define GL_DRAW_BUFFER7 0x882C
594#define GL_DRAW_BUFFER8 0x882D
595#define GL_DRAW_BUFFER9 0x882E
596#define GL_DRAW_BUFFER10 0x882F
597#define GL_DRAW_BUFFER11 0x8830
598#define GL_DRAW_BUFFER12 0x8831
599#define GL_DRAW_BUFFER13 0x8832
600#define GL_DRAW_BUFFER14 0x8833
601#define GL_DRAW_BUFFER15 0x8834
602#define GL_BLEND_EQUATION_ALPHA 0x883D
603#define GL_MAX_VERTEX_ATTRIBS 0x8869
604#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
605#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
606#define GL_FRAGMENT_SHADER 0x8B30
607#define GL_VERTEX_SHADER 0x8B31
608#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
609#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
610#define GL_MAX_VARYING_FLOATS 0x8B4B
611#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
612#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
613#define GL_SHADER_TYPE 0x8B4F
614#define GL_FLOAT_VEC2 0x8B50
615#define GL_FLOAT_VEC3 0x8B51
616#define GL_FLOAT_VEC4 0x8B52
617#define GL_INT_VEC2 0x8B53
618#define GL_INT_VEC3 0x8B54
619#define GL_INT_VEC4 0x8B55
620#define GL_BOOL 0x8B56
621#define GL_BOOL_VEC2 0x8B57
622#define GL_BOOL_VEC3 0x8B58
623#define GL_BOOL_VEC4 0x8B59
624#define GL_FLOAT_MAT2 0x8B5A
625#define GL_FLOAT_MAT3 0x8B5B
626#define GL_FLOAT_MAT4 0x8B5C
627#define GL_SAMPLER_1D 0x8B5D
628#define GL_SAMPLER_2D 0x8B5E
629#define GL_SAMPLER_3D 0x8B5F
630#define GL_SAMPLER_CUBE 0x8B60
631#define GL_SAMPLER_1D_SHADOW 0x8B61
632#define GL_SAMPLER_2D_SHADOW 0x8B62
633#define GL_DELETE_STATUS 0x8B80
634#define GL_COMPILE_STATUS 0x8B81
635#define GL_LINK_STATUS 0x8B82
636#define GL_VALIDATE_STATUS 0x8B83
637#define GL_INFO_LOG_LENGTH 0x8B84
638#define GL_ATTACHED_SHADERS 0x8B85
639#define GL_ACTIVE_UNIFORMS 0x8B86
640#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
641#define GL_SHADER_SOURCE_LENGTH 0x8B88
642#define GL_ACTIVE_ATTRIBUTES 0x8B89
643#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
644#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
645#define GL_SHADING_LANGUAGE_VERSION 0x8B8C
646#define GL_CURRENT_PROGRAM 0x8B8D
647#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
648#define GL_LOWER_LEFT 0x8CA1
649#define GL_UPPER_LEFT 0x8CA2
650#define GL_STENCIL_BACK_REF 0x8CA3
651#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
652#define GL_STENCIL_BACK_WRITEMASK 0x8CA5
653#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
654#define GL_POINT_SPRITE 0x8861
655#define GL_COORD_REPLACE 0x8862
656#define GL_MAX_TEXTURE_COORDS 0x8871
657typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
658typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
659typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
660typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
661typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
662typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
663typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
664typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
665typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
666typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
667typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
668typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
669typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
670typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
671typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
672typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
673typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
674typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
675typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
676typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
677typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
678typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
679typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
680typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
681typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
682typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
683typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
684typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
685typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
686typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
687typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
688typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
689typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
690typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
691typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
692typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
693typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
694typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
695typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
696typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
697typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
698typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
699typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
700typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
701typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
702typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
703typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
704typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
705typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
706typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
707typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
708typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
709typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
710typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
711typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
712typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
713typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
714typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
715typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
716typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
717typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
718typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
719typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
720typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
721typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
722typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
723typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
724typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
725typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
726typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
727typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
728typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
729typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
730typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
731typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
732typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
733typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
734typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
735typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
736typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
737typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
738typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
739typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
740typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
741typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
742typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
743typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
744typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
745typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
746typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
747typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
748typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
749typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
750#ifdef GL_GLEXT_PROTOTYPES
751GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
752GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
753GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
754GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
755GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
756GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
757GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
758GLAPI void APIENTRY glCompileShader (GLuint shader);
759GLAPI GLuint APIENTRY glCreateProgram (void);
760GLAPI GLuint APIENTRY glCreateShader (GLenum type);
761GLAPI void APIENTRY glDeleteProgram (GLuint program);
762GLAPI void APIENTRY glDeleteShader (GLuint shader);
763GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
764GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
765GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
766GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
767GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
768GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
769GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
770GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
771GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
772GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
773GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
774GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
775GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
776GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
777GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
778GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
779GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
780GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
781GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
782GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
783GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
784GLAPI void APIENTRY glLinkProgram (GLuint program);
785GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
786GLAPI void APIENTRY glUseProgram (GLuint program);
787GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
788GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
789GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
790GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
791GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
792GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
793GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
794GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
795GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
796GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
797GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
798GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
799GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
800GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
801GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
802GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
803GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
804GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
805GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
806GLAPI void APIENTRY glValidateProgram (GLuint program);
807GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
808GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
809GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
810GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
811GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
812GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
813GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
814GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
815GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
816GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
817GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
818GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
819GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
820GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
821GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
822GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
823GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
824GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
825GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
826GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
827GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
828GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
829GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
830GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
831GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
832GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
833GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
834GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
835GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
836GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
837GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
838GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
839GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
840GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
841GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
842GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
843GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
844#endif
845#endif /* GL_VERSION_2_0 */
846
847#ifndef GL_VERSION_2_1
848#define GL_VERSION_2_1 1
849#define GL_PIXEL_PACK_BUFFER 0x88EB
850#define GL_PIXEL_UNPACK_BUFFER 0x88EC
851#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
852#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
853#define GL_FLOAT_MAT2x3 0x8B65
854#define GL_FLOAT_MAT2x4 0x8B66
855#define GL_FLOAT_MAT3x2 0x8B67
856#define GL_FLOAT_MAT3x4 0x8B68
857#define GL_FLOAT_MAT4x2 0x8B69
858#define GL_FLOAT_MAT4x3 0x8B6A
859#define GL_SRGB 0x8C40
860#define GL_SRGB8 0x8C41
861#define GL_SRGB_ALPHA 0x8C42
862#define GL_SRGB8_ALPHA8 0x8C43
863#define GL_COMPRESSED_SRGB 0x8C48
864#define GL_COMPRESSED_SRGB_ALPHA 0x8C49
865#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
866#define GL_SLUMINANCE_ALPHA 0x8C44
867#define GL_SLUMINANCE8_ALPHA8 0x8C45
868#define GL_SLUMINANCE 0x8C46
869#define GL_SLUMINANCE8 0x8C47
870#define GL_COMPRESSED_SLUMINANCE 0x8C4A
871#define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
872typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
873typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
874typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
875typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
876typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
877typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
878#ifdef GL_GLEXT_PROTOTYPES
879GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
880GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
881GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
882GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
883GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
884GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
885#endif
886#endif /* GL_VERSION_2_1 */
887
888#ifndef GL_VERSION_3_0
889#define GL_VERSION_3_0 1
890typedef unsigned short GLhalf;
891#define GL_COMPARE_REF_TO_TEXTURE 0x884E
892#define GL_CLIP_DISTANCE0 0x3000
893#define GL_CLIP_DISTANCE1 0x3001
894#define GL_CLIP_DISTANCE2 0x3002
895#define GL_CLIP_DISTANCE3 0x3003
896#define GL_CLIP_DISTANCE4 0x3004
897#define GL_CLIP_DISTANCE5 0x3005
898#define GL_CLIP_DISTANCE6 0x3006
899#define GL_CLIP_DISTANCE7 0x3007
900#define GL_MAX_CLIP_DISTANCES 0x0D32
901#define GL_MAJOR_VERSION 0x821B
902#define GL_MINOR_VERSION 0x821C
903#define GL_NUM_EXTENSIONS 0x821D
904#define GL_CONTEXT_FLAGS 0x821E
905#define GL_COMPRESSED_RED 0x8225
906#define GL_COMPRESSED_RG 0x8226
907#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
908#define GL_RGBA32F 0x8814
909#define GL_RGB32F 0x8815
910#define GL_RGBA16F 0x881A
911#define GL_RGB16F 0x881B
912#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
913#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
914#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
915#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
916#define GL_CLAMP_READ_COLOR 0x891C
917#define GL_FIXED_ONLY 0x891D
918#define GL_MAX_VARYING_COMPONENTS 0x8B4B
919#define GL_TEXTURE_1D_ARRAY 0x8C18
920#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
921#define GL_TEXTURE_2D_ARRAY 0x8C1A
922#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
923#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
924#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
925#define GL_R11F_G11F_B10F 0x8C3A
926#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
927#define GL_RGB9_E5 0x8C3D
928#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
929#define GL_TEXTURE_SHARED_SIZE 0x8C3F
930#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
931#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
932#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
933#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
934#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
935#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
936#define GL_PRIMITIVES_GENERATED 0x8C87
937#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
938#define GL_RASTERIZER_DISCARD 0x8C89
939#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
940#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
941#define GL_INTERLEAVED_ATTRIBS 0x8C8C
942#define GL_SEPARATE_ATTRIBS 0x8C8D
943#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
944#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
945#define GL_RGBA32UI 0x8D70
946#define GL_RGB32UI 0x8D71
947#define GL_RGBA16UI 0x8D76
948#define GL_RGB16UI 0x8D77
949#define GL_RGBA8UI 0x8D7C
950#define GL_RGB8UI 0x8D7D
951#define GL_RGBA32I 0x8D82
952#define GL_RGB32I 0x8D83
953#define GL_RGBA16I 0x8D88
954#define GL_RGB16I 0x8D89
955#define GL_RGBA8I 0x8D8E
956#define GL_RGB8I 0x8D8F
957#define GL_RED_INTEGER 0x8D94
958#define GL_GREEN_INTEGER 0x8D95
959#define GL_BLUE_INTEGER 0x8D96
960#define GL_RGB_INTEGER 0x8D98
961#define GL_RGBA_INTEGER 0x8D99
962#define GL_BGR_INTEGER 0x8D9A
963#define GL_BGRA_INTEGER 0x8D9B
964#define GL_SAMPLER_1D_ARRAY 0x8DC0
965#define GL_SAMPLER_2D_ARRAY 0x8DC1
966#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
967#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
968#define GL_SAMPLER_CUBE_SHADOW 0x8DC5
969#define GL_UNSIGNED_INT_VEC2 0x8DC6
970#define GL_UNSIGNED_INT_VEC3 0x8DC7
971#define GL_UNSIGNED_INT_VEC4 0x8DC8
972#define GL_INT_SAMPLER_1D 0x8DC9
973#define GL_INT_SAMPLER_2D 0x8DCA
974#define GL_INT_SAMPLER_3D 0x8DCB
975#define GL_INT_SAMPLER_CUBE 0x8DCC
976#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
977#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
978#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
979#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
980#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
981#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
982#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
983#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
984#define GL_QUERY_WAIT 0x8E13
985#define GL_QUERY_NO_WAIT 0x8E14
986#define GL_QUERY_BY_REGION_WAIT 0x8E15
987#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
988#define GL_BUFFER_ACCESS_FLAGS 0x911F
989#define GL_BUFFER_MAP_LENGTH 0x9120
990#define GL_BUFFER_MAP_OFFSET 0x9121
991#define GL_DEPTH_COMPONENT32F 0x8CAC
992#define GL_DEPTH32F_STENCIL8 0x8CAD
993#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
994#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
995#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
996#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
997#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
998#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
999#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
1000#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
1001#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
1002#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
1003#define GL_FRAMEBUFFER_DEFAULT 0x8218
1004#define GL_FRAMEBUFFER_UNDEFINED 0x8219
1005#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
1006#define GL_MAX_RENDERBUFFER_SIZE 0x84E8
1007#define GL_DEPTH_STENCIL 0x84F9
1008#define GL_UNSIGNED_INT_24_8 0x84FA
1009#define GL_DEPTH24_STENCIL8 0x88F0
1010#define GL_TEXTURE_STENCIL_SIZE 0x88F1
1011#define GL_TEXTURE_RED_TYPE 0x8C10
1012#define GL_TEXTURE_GREEN_TYPE 0x8C11
1013#define GL_TEXTURE_BLUE_TYPE 0x8C12
1014#define GL_TEXTURE_ALPHA_TYPE 0x8C13
1015#define GL_TEXTURE_DEPTH_TYPE 0x8C16
1016#define GL_UNSIGNED_NORMALIZED 0x8C17
1017#define GL_FRAMEBUFFER_BINDING 0x8CA6
1018#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
1019#define GL_RENDERBUFFER_BINDING 0x8CA7
1020#define GL_READ_FRAMEBUFFER 0x8CA8
1021#define GL_DRAW_FRAMEBUFFER 0x8CA9
1022#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
1023#define GL_RENDERBUFFER_SAMPLES 0x8CAB
1024#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1025#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1026#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1027#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1028#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1029#define GL_FRAMEBUFFER_COMPLETE 0x8CD5
1030#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1031#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1032#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1033#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1034#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
1035#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
1036#define GL_COLOR_ATTACHMENT0 0x8CE0
1037#define GL_COLOR_ATTACHMENT1 0x8CE1
1038#define GL_COLOR_ATTACHMENT2 0x8CE2
1039#define GL_COLOR_ATTACHMENT3 0x8CE3
1040#define GL_COLOR_ATTACHMENT4 0x8CE4
1041#define GL_COLOR_ATTACHMENT5 0x8CE5
1042#define GL_COLOR_ATTACHMENT6 0x8CE6
1043#define GL_COLOR_ATTACHMENT7 0x8CE7
1044#define GL_COLOR_ATTACHMENT8 0x8CE8
1045#define GL_COLOR_ATTACHMENT9 0x8CE9
1046#define GL_COLOR_ATTACHMENT10 0x8CEA
1047#define GL_COLOR_ATTACHMENT11 0x8CEB
1048#define GL_COLOR_ATTACHMENT12 0x8CEC
1049#define GL_COLOR_ATTACHMENT13 0x8CED
1050#define GL_COLOR_ATTACHMENT14 0x8CEE
1051#define GL_COLOR_ATTACHMENT15 0x8CEF
1052#define GL_DEPTH_ATTACHMENT 0x8D00
1053#define GL_STENCIL_ATTACHMENT 0x8D20
1054#define GL_FRAMEBUFFER 0x8D40
1055#define GL_RENDERBUFFER 0x8D41
1056#define GL_RENDERBUFFER_WIDTH 0x8D42
1057#define GL_RENDERBUFFER_HEIGHT 0x8D43
1058#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
1059#define GL_STENCIL_INDEX1 0x8D46
1060#define GL_STENCIL_INDEX4 0x8D47
1061#define GL_STENCIL_INDEX8 0x8D48
1062#define GL_STENCIL_INDEX16 0x8D49
1063#define GL_RENDERBUFFER_RED_SIZE 0x8D50
1064#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
1065#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
1066#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
1067#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
1068#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
1069#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
1070#define GL_MAX_SAMPLES 0x8D57
1071#define GL_INDEX 0x8222
1072#define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
1073#define GL_TEXTURE_INTENSITY_TYPE 0x8C15
1074#define GL_FRAMEBUFFER_SRGB 0x8DB9
1075#define GL_HALF_FLOAT 0x140B
1076#define GL_MAP_READ_BIT 0x0001
1077#define GL_MAP_WRITE_BIT 0x0002
1078#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
1079#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
1080#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
1081#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
1082#define GL_COMPRESSED_RED_RGTC1 0x8DBB
1083#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
1084#define GL_COMPRESSED_RG_RGTC2 0x8DBD
1085#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
1086#define GL_RG 0x8227
1087#define GL_RG_INTEGER 0x8228
1088#define GL_R8 0x8229
1089#define GL_R16 0x822A
1090#define GL_RG8 0x822B
1091#define GL_RG16 0x822C
1092#define GL_R16F 0x822D
1093#define GL_R32F 0x822E
1094#define GL_RG16F 0x822F
1095#define GL_RG32F 0x8230
1096#define GL_R8I 0x8231
1097#define GL_R8UI 0x8232
1098#define GL_R16I 0x8233
1099#define GL_R16UI 0x8234
1100#define GL_R32I 0x8235
1101#define GL_R32UI 0x8236
1102#define GL_RG8I 0x8237
1103#define GL_RG8UI 0x8238
1104#define GL_RG16I 0x8239
1105#define GL_RG16UI 0x823A
1106#define GL_RG32I 0x823B
1107#define GL_RG32UI 0x823C
1108#define GL_VERTEX_ARRAY_BINDING 0x85B5
1109#define GL_CLAMP_VERTEX_COLOR 0x891A
1110#define GL_CLAMP_FRAGMENT_COLOR 0x891B
1111#define GL_ALPHA_INTEGER 0x8D97
1112typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1113typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
1114typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
1115typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
1116typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
1117typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
1118typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
1119typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
1120typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1121typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
1122typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1123typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1124typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
1125typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
1126typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
1127typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1128typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
1129typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
1130typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
1131typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
1132typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
1133typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
1134typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
1135typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
1136typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
1137typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1138typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
1139typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
1140typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
1141typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
1142typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
1143typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
1144typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
1145typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
1146typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
1147typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
1148typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
1149typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
1150typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
1151typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
1152typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
1153typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
1154typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
1155typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
1156typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1157typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1158typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1159typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1160typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1161typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
1162typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
1163typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
1164typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
1165typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
1166typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
1167typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1168typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1169typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
1170typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
1171typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
1172typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
1173typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
1174typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1175typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1176typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
1177typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
1178typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
1179typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
1180typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
1181typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1182typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1183typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1184typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1185typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1186typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
1187typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1188typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1189typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1190typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1191typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1192typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
1193typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
1194typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
1195typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
1196#ifdef GL_GLEXT_PROTOTYPES
1197GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1198GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
1199GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
1200GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
1201GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
1202GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
1203GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
1204GLAPI void APIENTRY glEndTransformFeedback (void);
1205GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1206GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
1207GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1208GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1209GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
1210GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
1211GLAPI void APIENTRY glEndConditionalRender (void);
1212GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1213GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
1214GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
1215GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
1216GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
1217GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
1218GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
1219GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
1220GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
1221GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
1222GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1223GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
1224GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
1225GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
1226GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
1227GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
1228GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
1229GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
1230GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
1231GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
1232GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
1233GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
1234GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
1235GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
1236GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
1237GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
1238GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
1239GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
1240GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
1241GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1242GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
1243GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
1244GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
1245GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
1246GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
1247GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
1248GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
1249GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
1250GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
1251GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
1252GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1253GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1254GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
1255GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
1256GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
1257GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
1258GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
1259GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1260GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
1261GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
1262GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
1263GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
1264GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
1265GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
1266GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1267GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1268GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1269GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1270GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1271GLAPI void APIENTRY glGenerateMipmap (GLenum target);
1272GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1273GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1274GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1275GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1276GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
1277GLAPI void APIENTRY glBindVertexArray (GLuint array);
1278GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
1279GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
1280GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
1281#endif
1282#endif /* GL_VERSION_3_0 */
1283
1284#ifndef GL_VERSION_3_1
1285#define GL_VERSION_3_1 1
1286#define GL_SAMPLER_2D_RECT 0x8B63
1287#define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
1288#define GL_SAMPLER_BUFFER 0x8DC2
1289#define GL_INT_SAMPLER_2D_RECT 0x8DCD
1290#define GL_INT_SAMPLER_BUFFER 0x8DD0
1291#define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
1292#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
1293#define GL_TEXTURE_BUFFER 0x8C2A
1294#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
1295#define GL_TEXTURE_BINDING_BUFFER 0x8C2C
1296#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
1297#define GL_TEXTURE_RECTANGLE 0x84F5
1298#define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
1299#define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
1300#define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
1301#define GL_R8_SNORM 0x8F94
1302#define GL_RG8_SNORM 0x8F95
1303#define GL_RGB8_SNORM 0x8F96
1304#define GL_RGBA8_SNORM 0x8F97
1305#define GL_R16_SNORM 0x8F98
1306#define GL_RG16_SNORM 0x8F99
1307#define GL_RGB16_SNORM 0x8F9A
1308#define GL_RGBA16_SNORM 0x8F9B
1309#define GL_SIGNED_NORMALIZED 0x8F9C
1310#define GL_PRIMITIVE_RESTART 0x8F9D
1311#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
1312#define GL_COPY_READ_BUFFER 0x8F36
1313#define GL_COPY_WRITE_BUFFER 0x8F37
1314#define GL_UNIFORM_BUFFER 0x8A11
1315#define GL_UNIFORM_BUFFER_BINDING 0x8A28
1316#define GL_UNIFORM_BUFFER_START 0x8A29
1317#define GL_UNIFORM_BUFFER_SIZE 0x8A2A
1318#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
1319#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
1320#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
1321#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
1322#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
1323#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1324#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1325#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1326#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
1327#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
1328#define GL_UNIFORM_TYPE 0x8A37
1329#define GL_UNIFORM_SIZE 0x8A38
1330#define GL_UNIFORM_NAME_LENGTH 0x8A39
1331#define GL_UNIFORM_BLOCK_INDEX 0x8A3A
1332#define GL_UNIFORM_OFFSET 0x8A3B
1333#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
1334#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
1335#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
1336#define GL_UNIFORM_BLOCK_BINDING 0x8A3F
1337#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
1338#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
1339#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
1340#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1341#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1342#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1343#define GL_INVALID_INDEX 0xFFFFFFFFu
1344typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1345typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1346typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
1347typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
1348typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1349typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1350typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1351typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1352typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
1353typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1354typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1355typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1356#ifdef GL_GLEXT_PROTOTYPES
1357GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1358GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1359GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
1360GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
1361GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1362GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1363GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1364GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1365GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
1366GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1367GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1368GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1369#endif
1370#endif /* GL_VERSION_3_1 */
1371
1372#ifndef GL_VERSION_3_2
1373#define GL_VERSION_3_2 1
1374typedef struct __GLsync *GLsync;
1375#ifndef GLEXT_64_TYPES_DEFINED
1376/* This code block is duplicated in glxext.h, so must be protected */
1377#define GLEXT_64_TYPES_DEFINED
1378/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
1379/* (as used in the GL_EXT_timer_query extension). */
1380#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
1381#include <inttypes.h>
1382#elif defined(__sun__) || defined(__digital__)
1383#include <inttypes.h>
1384#if defined(__STDC__)
1385#if defined(__arch64__) || defined(_LP64)
1386typedef long int int64_t;
1387typedef unsigned long int uint64_t;
1388#else
1389typedef long long int int64_t;
1390typedef unsigned long long int uint64_t;
1391#endif /* __arch64__ */
1392#endif /* __STDC__ */
1393#elif defined( __VMS ) || defined(__sgi)
1394#include <inttypes.h>
1395#elif defined(__SCO__) || defined(__USLC__)
1396#include <stdint.h>
1397#elif defined(__UNIXOS2__) || defined(__SOL64__)
1398typedef long int int32_t;
1399typedef long long int int64_t;
1400typedef unsigned long long int uint64_t;
1401#elif defined(_WIN32) && defined(__GNUC__)
1402#include <stdint.h>
1403#elif defined(_WIN32)
1404typedef __int32 int32_t;
1405typedef __int64 int64_t;
1406typedef unsigned __int64 uint64_t;
1407#else
1408/* Fallback if nothing above works */
1409#include <inttypes.h>
1410#endif
1411#endif
1412typedef uint64_t GLuint64;
1413typedef int64_t GLint64;
1414#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
1415#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1416#define GL_LINES_ADJACENCY 0x000A
1417#define GL_LINE_STRIP_ADJACENCY 0x000B
1418#define GL_TRIANGLES_ADJACENCY 0x000C
1419#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
1420#define GL_PROGRAM_POINT_SIZE 0x8642
1421#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
1422#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
1423#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
1424#define GL_GEOMETRY_SHADER 0x8DD9
1425#define GL_GEOMETRY_VERTICES_OUT 0x8916
1426#define GL_GEOMETRY_INPUT_TYPE 0x8917
1427#define GL_GEOMETRY_OUTPUT_TYPE 0x8918
1428#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
1429#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
1430#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
1431#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
1432#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
1433#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
1434#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
1435#define GL_CONTEXT_PROFILE_MASK 0x9126
1436#define GL_DEPTH_CLAMP 0x864F
1437#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
1438#define GL_FIRST_VERTEX_CONVENTION 0x8E4D
1439#define GL_LAST_VERTEX_CONVENTION 0x8E4E
1440#define GL_PROVOKING_VERTEX 0x8E4F
1441#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
1442#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
1443#define GL_OBJECT_TYPE 0x9112
1444#define GL_SYNC_CONDITION 0x9113
1445#define GL_SYNC_STATUS 0x9114
1446#define GL_SYNC_FLAGS 0x9115
1447#define GL_SYNC_FENCE 0x9116
1448#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
1449#define GL_UNSIGNALED 0x9118
1450#define GL_SIGNALED 0x9119
1451#define GL_ALREADY_SIGNALED 0x911A
1452#define GL_TIMEOUT_EXPIRED 0x911B
1453#define GL_CONDITION_SATISFIED 0x911C
1454#define GL_WAIT_FAILED 0x911D
1455#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
1456#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
1457#define GL_SAMPLE_POSITION 0x8E50
1458#define GL_SAMPLE_MASK 0x8E51
1459#define GL_SAMPLE_MASK_VALUE 0x8E52
1460#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
1461#define GL_TEXTURE_2D_MULTISAMPLE 0x9100
1462#define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
1463#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
1464#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
1465#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
1466#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
1467#define GL_TEXTURE_SAMPLES 0x9106
1468#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
1469#define GL_SAMPLER_2D_MULTISAMPLE 0x9108
1470#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
1471#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
1472#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
1473#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
1474#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
1475#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
1476#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
1477#define GL_MAX_INTEGER_SAMPLES 0x9110
1478typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1479typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1480typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1481typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1482typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
1483typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
1484typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
1485typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
1486typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1487typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1488typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
1489typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1490typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
1491typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
1492typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1493typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1494typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1495typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
1496typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
1497#ifdef GL_GLEXT_PROTOTYPES
1498GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1499GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1500GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1501GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1502GLAPI void APIENTRY glProvokingVertex (GLenum mode);
1503GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
1504GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
1505GLAPI void APIENTRY glDeleteSync (GLsync sync);
1506GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1507GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1508GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
1509GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1510GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
1511GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
1512GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
1513GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1514GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1515GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
1516GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
1517#endif
1518#endif /* GL_VERSION_3_2 */
1519
1520#ifndef GL_VERSION_3_3
1521#define GL_VERSION_3_3 1
1522#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
1523#define GL_SRC1_COLOR 0x88F9
1524#define GL_ONE_MINUS_SRC1_COLOR 0x88FA
1525#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
1526#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
1527#define GL_ANY_SAMPLES_PASSED 0x8C2F
1528#define GL_SAMPLER_BINDING 0x8919
1529#define GL_RGB10_A2UI 0x906F
1530#define GL_TEXTURE_SWIZZLE_R 0x8E42
1531#define GL_TEXTURE_SWIZZLE_G 0x8E43
1532#define GL_TEXTURE_SWIZZLE_B 0x8E44
1533#define GL_TEXTURE_SWIZZLE_A 0x8E45
1534#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
1535#define GL_TIME_ELAPSED 0x88BF
1536#define GL_TIMESTAMP 0x8E28
1537#define GL_INT_2_10_10_10_REV 0x8D9F
1538typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1539typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
1540typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
1541typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
1542typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
1543typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
1544typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
1545typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1546typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
1547typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
1548typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1549typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
1550typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1551typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1552typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
1553typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
1554typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
1555typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
1556typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
1557typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
1558typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1559typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1560typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1561typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1562typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1563typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1564typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1565typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1566typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
1567typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
1568typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
1569typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
1570typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
1571typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
1572typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
1573typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
1574typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
1575typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
1576typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
1577typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
1578typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
1579typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
1580typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
1581typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1582typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
1583typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1584typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
1585typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1586typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
1587typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1588typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
1589typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
1590typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
1591typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1592typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
1593typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
1594typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
1595typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1596#ifdef GL_GLEXT_PROTOTYPES
1597GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1598GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
1599GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
1600GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
1601GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
1602GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
1603GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
1604GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
1605GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
1606GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
1607GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
1608GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
1609GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
1610GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
1611GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
1612GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
1613GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
1614GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
1615GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
1616GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
1617GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1618GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1619GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1620GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1621GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1622GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1623GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1624GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1625GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
1626GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
1627GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
1628GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
1629GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
1630GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
1631GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
1632GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
1633GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
1634GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
1635GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
1636GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
1637GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
1638GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
1639GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
1640GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
1641GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
1642GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
1643GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
1644GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
1645GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
1646GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
1647GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
1648GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
1649GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
1650GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
1651GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
1652GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
1653GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
1654GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
1655#endif
1656#endif /* GL_VERSION_3_3 */
1657
1658#ifndef GL_VERSION_4_0
1659#define GL_VERSION_4_0 1
1660#define GL_SAMPLE_SHADING 0x8C36
1661#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
1662#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
1663#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
1664#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
1665#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
1666#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
1667#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
1668#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
1669#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
1670#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
1671#define GL_DRAW_INDIRECT_BUFFER 0x8F3F
1672#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
1673#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
1674#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
1675#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
1676#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
1677#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
1678#define GL_MAX_VERTEX_STREAMS 0x8E71
1679#define GL_DOUBLE_VEC2 0x8FFC
1680#define GL_DOUBLE_VEC3 0x8FFD
1681#define GL_DOUBLE_VEC4 0x8FFE
1682#define GL_DOUBLE_MAT2 0x8F46
1683#define GL_DOUBLE_MAT3 0x8F47
1684#define GL_DOUBLE_MAT4 0x8F48
1685#define GL_DOUBLE_MAT2x3 0x8F49
1686#define GL_DOUBLE_MAT2x4 0x8F4A
1687#define GL_DOUBLE_MAT3x2 0x8F4B
1688#define GL_DOUBLE_MAT3x4 0x8F4C
1689#define GL_DOUBLE_MAT4x2 0x8F4D
1690#define GL_DOUBLE_MAT4x3 0x8F4E
1691#define GL_ACTIVE_SUBROUTINES 0x8DE5
1692#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
1693#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
1694#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
1695#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
1696#define GL_MAX_SUBROUTINES 0x8DE7
1697#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
1698#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
1699#define GL_COMPATIBLE_SUBROUTINES 0x8E4B
1700#define GL_PATCHES 0x000E
1701#define GL_PATCH_VERTICES 0x8E72
1702#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
1703#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
1704#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
1705#define GL_TESS_GEN_MODE 0x8E76
1706#define GL_TESS_GEN_SPACING 0x8E77
1707#define GL_TESS_GEN_VERTEX_ORDER 0x8E78
1708#define GL_TESS_GEN_POINT_MODE 0x8E79
1709#define GL_ISOLINES 0x8E7A
1710#define GL_FRACTIONAL_ODD 0x8E7B
1711#define GL_FRACTIONAL_EVEN 0x8E7C
1712#define GL_MAX_PATCH_VERTICES 0x8E7D
1713#define GL_MAX_TESS_GEN_LEVEL 0x8E7E
1714#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
1715#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
1716#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
1717#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
1718#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
1719#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
1720#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
1721#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
1722#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
1723#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
1724#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
1725#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
1726#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
1727#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
1728#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
1729#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
1730#define GL_TESS_EVALUATION_SHADER 0x8E87
1731#define GL_TESS_CONTROL_SHADER 0x8E88
1732#define GL_TRANSFORM_FEEDBACK 0x8E22
1733#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
1734#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
1735#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
1736#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
1737typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
1738typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
1739typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1740typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
1741typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1742typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
1743typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
1744typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
1745typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
1746typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
1747typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1748typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1749typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1750typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1751typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1752typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1753typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1754typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1755typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1756typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1757typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1758typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1759typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1760typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1761typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
1762typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1763typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1764typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1765typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1766typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1767typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
1768typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
1769typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1770typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
1771typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
1772typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
1773typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
1774typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
1775typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
1776typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
1777typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
1778typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
1779typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
1780typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
1781typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
1782typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
1783#ifdef GL_GLEXT_PROTOTYPES
1784GLAPI void APIENTRY glMinSampleShading (GLfloat value);
1785GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
1786GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1787GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
1788GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1789GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
1790GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
1791GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
1792GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
1793GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
1794GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1795GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
1796GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
1797GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
1798GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
1799GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1800GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1801GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1802GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1803GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1804GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1805GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1806GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1807GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1808GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
1809GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
1810GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
1811GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1812GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1813GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1814GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
1815GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
1816GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1817GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
1818GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
1819GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
1820GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
1821GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
1822GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
1823GLAPI void APIENTRY glPauseTransformFeedback (void);
1824GLAPI void APIENTRY glResumeTransformFeedback (void);
1825GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
1826GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
1827GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
1828GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
1829GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
1830#endif
1831#endif /* GL_VERSION_4_0 */
1832
1833#ifndef GL_VERSION_4_1
1834#define GL_VERSION_4_1 1
1835#define GL_FIXED 0x140C
1836#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
1837#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
1838#define GL_LOW_FLOAT 0x8DF0
1839#define GL_MEDIUM_FLOAT 0x8DF1
1840#define GL_HIGH_FLOAT 0x8DF2
1841#define GL_LOW_INT 0x8DF3
1842#define GL_MEDIUM_INT 0x8DF4
1843#define GL_HIGH_INT 0x8DF5
1844#define GL_SHADER_COMPILER 0x8DFA
1845#define GL_SHADER_BINARY_FORMATS 0x8DF8
1846#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
1847#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
1848#define GL_MAX_VARYING_VECTORS 0x8DFC
1849#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
1850#define GL_RGB565 0x8D62
1851#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
1852#define GL_PROGRAM_BINARY_LENGTH 0x8741
1853#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
1854#define GL_PROGRAM_BINARY_FORMATS 0x87FF
1855#define GL_VERTEX_SHADER_BIT 0x00000001
1856#define GL_FRAGMENT_SHADER_BIT 0x00000002
1857#define GL_GEOMETRY_SHADER_BIT 0x00000004
1858#define GL_TESS_CONTROL_SHADER_BIT 0x00000008
1859#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
1860#define GL_ALL_SHADER_BITS 0xFFFFFFFF
1861#define GL_PROGRAM_SEPARABLE 0x8258
1862#define GL_ACTIVE_PROGRAM 0x8259
1863#define GL_PROGRAM_PIPELINE_BINDING 0x825A
1864#define GL_MAX_VIEWPORTS 0x825B
1865#define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
1866#define GL_VIEWPORT_BOUNDS_RANGE 0x825D
1867#define GL_LAYER_PROVOKING_VERTEX 0x825E
1868#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
1869#define GL_UNDEFINED_VERTEX 0x8260
1870typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
1871typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
1872typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1873typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
1874typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
1875typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1876typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1877typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
1878typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1879typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
1880typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
1881typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
1882typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
1883typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
1884typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
1885typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
1886typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
1887typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1888typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
1889typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1890typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
1891typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1892typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
1893typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1894typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1895typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1896typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1897typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1898typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1899typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1900typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1901typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1902typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1903typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1904typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1905typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1906typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
1907typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1908typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1909typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1910typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1911typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1912typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1913typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1914typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
1915typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1916typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1917typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1918typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1919typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1920typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1921typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1922typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1923typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1924typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1925typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1926typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1927typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1928typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1929typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1930typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1931typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1932typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1933typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1934typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1935typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1936typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
1937typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1938typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
1939typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
1940typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1941typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1942typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
1943typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
1944typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
1945typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
1946typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1947typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
1948typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
1949typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
1950typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
1951typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
1952typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
1953typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
1954typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
1955typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
1956typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
1957typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
1958#ifdef GL_GLEXT_PROTOTYPES
1959GLAPI void APIENTRY glReleaseShaderCompiler (void);
1960GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
1961GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1962GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
1963GLAPI void APIENTRY glClearDepthf (GLfloat d);
1964GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1965GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1966GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
1967GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
1968GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
1969GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
1970GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
1971GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
1972GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
1973GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
1974GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
1975GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
1976GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1977GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
1978GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1979GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
1980GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1981GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
1982GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1983GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
1984GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1985GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1986GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1987GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1988GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1989GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
1990GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1991GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1992GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1993GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1994GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1995GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
1996GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1997GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1998GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1999GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
2000GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
2001GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
2002GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
2003GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
2004GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2005GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
2006GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2007GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2008GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2009GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2010GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2011GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2012GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2013GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2014GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2015GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2016GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2017GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2018GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2019GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2020GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2021GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2022GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2023GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2024GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2025GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
2026GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
2027GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
2028GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
2029GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
2030GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2031GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
2032GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
2033GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
2034GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
2035GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
2036GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
2037GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
2038GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
2039GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
2040GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
2041GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
2042GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
2043GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
2044GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
2045GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
2046GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
2047#endif
2048#endif /* GL_VERSION_4_1 */
2049
2050#ifndef GL_VERSION_4_2
2051#define GL_VERSION_4_2 1
2052#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
2053#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2054#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
2055#define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
2056#define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
2057#define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
2058#define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
2059#define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
2060#define GL_NUM_SAMPLE_COUNTS 0x9380
2061#define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
2062#define GL_ATOMIC_COUNTER_BUFFER 0x92C0
2063#define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
2064#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
2065#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
2066#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2067#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2068#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2069#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2070#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2071#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2072#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2073#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2074#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2075#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2076#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2077#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2078#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2079#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2080#define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
2081#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2082#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2083#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
2084#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
2085#define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
2086#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2087#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2088#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
2089#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2090#define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
2091#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2092#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
2093#define GL_UNIFORM_BARRIER_BIT 0x00000004
2094#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
2095#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2096#define GL_COMMAND_BARRIER_BIT 0x00000040
2097#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
2098#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
2099#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
2100#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
2101#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2102#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
2103#define GL_ALL_BARRIER_BITS 0xFFFFFFFF
2104#define GL_MAX_IMAGE_UNITS 0x8F38
2105#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2106#define GL_IMAGE_BINDING_NAME 0x8F3A
2107#define GL_IMAGE_BINDING_LEVEL 0x8F3B
2108#define GL_IMAGE_BINDING_LAYERED 0x8F3C
2109#define GL_IMAGE_BINDING_LAYER 0x8F3D
2110#define GL_IMAGE_BINDING_ACCESS 0x8F3E
2111#define GL_IMAGE_1D 0x904C
2112#define GL_IMAGE_2D 0x904D
2113#define GL_IMAGE_3D 0x904E
2114#define GL_IMAGE_2D_RECT 0x904F
2115#define GL_IMAGE_CUBE 0x9050
2116#define GL_IMAGE_BUFFER 0x9051
2117#define GL_IMAGE_1D_ARRAY 0x9052
2118#define GL_IMAGE_2D_ARRAY 0x9053
2119#define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
2120#define GL_IMAGE_2D_MULTISAMPLE 0x9055
2121#define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
2122#define GL_INT_IMAGE_1D 0x9057
2123#define GL_INT_IMAGE_2D 0x9058
2124#define GL_INT_IMAGE_3D 0x9059
2125#define GL_INT_IMAGE_2D_RECT 0x905A
2126#define GL_INT_IMAGE_CUBE 0x905B
2127#define GL_INT_IMAGE_BUFFER 0x905C
2128#define GL_INT_IMAGE_1D_ARRAY 0x905D
2129#define GL_INT_IMAGE_2D_ARRAY 0x905E
2130#define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
2131#define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
2132#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2133#define GL_UNSIGNED_INT_IMAGE_1D 0x9062
2134#define GL_UNSIGNED_INT_IMAGE_2D 0x9063
2135#define GL_UNSIGNED_INT_IMAGE_3D 0x9064
2136#define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
2137#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
2138#define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
2139#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
2140#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
2141#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2142#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2143#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2144#define GL_MAX_IMAGE_SAMPLES 0x906D
2145#define GL_IMAGE_BINDING_FORMAT 0x906E
2146#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2147#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2148#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2149#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
2150#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2151#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2152#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
2153#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
2154#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
2155#define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
2156#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
2157#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
2158#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
2159#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
2160typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2161typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2162typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2163typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2164typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2165typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2166typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
2167typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2168typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2169typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2170typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
2171typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2172#ifdef GL_GLEXT_PROTOTYPES
2173GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2174GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2175GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2176GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2177GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2178GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2179GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
2180GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2181GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2182GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2183GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
2184GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2185#endif
2186#endif /* GL_VERSION_4_2 */
2187
2188#ifndef GL_VERSION_4_3
2189#define GL_VERSION_4_3 1
2190typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
2191#define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
2192#define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
2193#define GL_COMPRESSED_RGB8_ETC2 0x9274
2194#define GL_COMPRESSED_SRGB8_ETC2 0x9275
2195#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2196#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2197#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
2198#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2199#define GL_COMPRESSED_R11_EAC 0x9270
2200#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
2201#define GL_COMPRESSED_RG11_EAC 0x9272
2202#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
2203#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
2204#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2205#define GL_MAX_ELEMENT_INDEX 0x8D6B
2206#define GL_COMPUTE_SHADER 0x91B9
2207#define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
2208#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2209#define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
2210#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2211#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2212#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2213#define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
2214#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2215#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
2216#define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
2217#define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
2218#define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
2219#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2220#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2221#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
2222#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2223#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
2224#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2225#define GL_DEBUG_CALLBACK_FUNCTION 0x8244
2226#define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
2227#define GL_DEBUG_SOURCE_API 0x8246
2228#define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
2229#define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
2230#define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
2231#define GL_DEBUG_SOURCE_APPLICATION 0x824A
2232#define GL_DEBUG_SOURCE_OTHER 0x824B
2233#define GL_DEBUG_TYPE_ERROR 0x824C
2234#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2235#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
2236#define GL_DEBUG_TYPE_PORTABILITY 0x824F
2237#define GL_DEBUG_TYPE_PERFORMANCE 0x8250
2238#define GL_DEBUG_TYPE_OTHER 0x8251
2239#define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
2240#define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
2241#define GL_DEBUG_LOGGED_MESSAGES 0x9145
2242#define GL_DEBUG_SEVERITY_HIGH 0x9146
2243#define GL_DEBUG_SEVERITY_MEDIUM 0x9147
2244#define GL_DEBUG_SEVERITY_LOW 0x9148
2245#define GL_DEBUG_TYPE_MARKER 0x8268
2246#define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
2247#define GL_DEBUG_TYPE_POP_GROUP 0x826A
2248#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
2249#define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
2250#define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
2251#define GL_BUFFER 0x82E0
2252#define GL_SHADER 0x82E1
2253#define GL_PROGRAM 0x82E2
2254#define GL_QUERY 0x82E3
2255#define GL_PROGRAM_PIPELINE 0x82E4
2256#define GL_SAMPLER 0x82E6
2257#define GL_MAX_LABEL_LENGTH 0x82E8
2258#define GL_DEBUG_OUTPUT 0x92E0
2259#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
2260#define GL_MAX_UNIFORM_LOCATIONS 0x826E
2261#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
2262#define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
2263#define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
2264#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
2265#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2266#define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
2267#define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
2268#define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
2269#define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
2270#define GL_INTERNALFORMAT_SUPPORTED 0x826F
2271#define GL_INTERNALFORMAT_PREFERRED 0x8270
2272#define GL_INTERNALFORMAT_RED_SIZE 0x8271
2273#define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
2274#define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
2275#define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
2276#define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
2277#define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
2278#define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
2279#define GL_INTERNALFORMAT_RED_TYPE 0x8278
2280#define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
2281#define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
2282#define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
2283#define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
2284#define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
2285#define GL_MAX_WIDTH 0x827E
2286#define GL_MAX_HEIGHT 0x827F
2287#define GL_MAX_DEPTH 0x8280
2288#define GL_MAX_LAYERS 0x8281
2289#define GL_MAX_COMBINED_DIMENSIONS 0x8282
2290#define GL_COLOR_COMPONENTS 0x8283
2291#define GL_DEPTH_COMPONENTS 0x8284
2292#define GL_STENCIL_COMPONENTS 0x8285
2293#define GL_COLOR_RENDERABLE 0x8286
2294#define GL_DEPTH_RENDERABLE 0x8287
2295#define GL_STENCIL_RENDERABLE 0x8288
2296#define GL_FRAMEBUFFER_RENDERABLE 0x8289
2297#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2298#define GL_FRAMEBUFFER_BLEND 0x828B
2299#define GL_READ_PIXELS 0x828C
2300#define GL_READ_PIXELS_FORMAT 0x828D
2301#define GL_READ_PIXELS_TYPE 0x828E
2302#define GL_TEXTURE_IMAGE_FORMAT 0x828F
2303#define GL_TEXTURE_IMAGE_TYPE 0x8290
2304#define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
2305#define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
2306#define GL_MIPMAP 0x8293
2307#define GL_MANUAL_GENERATE_MIPMAP 0x8294
2308#define GL_AUTO_GENERATE_MIPMAP 0x8295
2309#define GL_COLOR_ENCODING 0x8296
2310#define GL_SRGB_READ 0x8297
2311#define GL_SRGB_WRITE 0x8298
2312#define GL_FILTER 0x829A
2313#define GL_VERTEX_TEXTURE 0x829B
2314#define GL_TESS_CONTROL_TEXTURE 0x829C
2315#define GL_TESS_EVALUATION_TEXTURE 0x829D
2316#define GL_GEOMETRY_TEXTURE 0x829E
2317#define GL_FRAGMENT_TEXTURE 0x829F
2318#define GL_COMPUTE_TEXTURE 0x82A0
2319#define GL_TEXTURE_SHADOW 0x82A1
2320#define GL_TEXTURE_GATHER 0x82A2
2321#define GL_TEXTURE_GATHER_SHADOW 0x82A3
2322#define GL_SHADER_IMAGE_LOAD 0x82A4
2323#define GL_SHADER_IMAGE_STORE 0x82A5
2324#define GL_SHADER_IMAGE_ATOMIC 0x82A6
2325#define GL_IMAGE_TEXEL_SIZE 0x82A7
2326#define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
2327#define GL_IMAGE_PIXEL_FORMAT 0x82A9
2328#define GL_IMAGE_PIXEL_TYPE 0x82AA
2329#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2330#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2331#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2332#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2333#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2334#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2335#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
2336#define GL_CLEAR_BUFFER 0x82B4
2337#define GL_TEXTURE_VIEW 0x82B5
2338#define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
2339#define GL_FULL_SUPPORT 0x82B7
2340#define GL_CAVEAT_SUPPORT 0x82B8
2341#define GL_IMAGE_CLASS_4_X_32 0x82B9
2342#define GL_IMAGE_CLASS_2_X_32 0x82BA
2343#define GL_IMAGE_CLASS_1_X_32 0x82BB
2344#define GL_IMAGE_CLASS_4_X_16 0x82BC
2345#define GL_IMAGE_CLASS_2_X_16 0x82BD
2346#define GL_IMAGE_CLASS_1_X_16 0x82BE
2347#define GL_IMAGE_CLASS_4_X_8 0x82BF
2348#define GL_IMAGE_CLASS_2_X_8 0x82C0
2349#define GL_IMAGE_CLASS_1_X_8 0x82C1
2350#define GL_IMAGE_CLASS_11_11_10 0x82C2
2351#define GL_IMAGE_CLASS_10_10_10_2 0x82C3
2352#define GL_VIEW_CLASS_128_BITS 0x82C4
2353#define GL_VIEW_CLASS_96_BITS 0x82C5
2354#define GL_VIEW_CLASS_64_BITS 0x82C6
2355#define GL_VIEW_CLASS_48_BITS 0x82C7
2356#define GL_VIEW_CLASS_32_BITS 0x82C8
2357#define GL_VIEW_CLASS_24_BITS 0x82C9
2358#define GL_VIEW_CLASS_16_BITS 0x82CA
2359#define GL_VIEW_CLASS_8_BITS 0x82CB
2360#define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
2361#define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
2362#define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
2363#define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
2364#define GL_VIEW_CLASS_RGTC1_RED 0x82D0
2365#define GL_VIEW_CLASS_RGTC2_RG 0x82D1
2366#define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
2367#define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
2368#define GL_UNIFORM 0x92E1
2369#define GL_UNIFORM_BLOCK 0x92E2
2370#define GL_PROGRAM_INPUT 0x92E3
2371#define GL_PROGRAM_OUTPUT 0x92E4
2372#define GL_BUFFER_VARIABLE 0x92E5
2373#define GL_SHADER_STORAGE_BLOCK 0x92E6
2374#define GL_VERTEX_SUBROUTINE 0x92E8
2375#define GL_TESS_CONTROL_SUBROUTINE 0x92E9
2376#define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
2377#define GL_GEOMETRY_SUBROUTINE 0x92EB
2378#define GL_FRAGMENT_SUBROUTINE 0x92EC
2379#define GL_COMPUTE_SUBROUTINE 0x92ED
2380#define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
2381#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2382#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2383#define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
2384#define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
2385#define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
2386#define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
2387#define GL_ACTIVE_RESOURCES 0x92F5
2388#define GL_MAX_NAME_LENGTH 0x92F6
2389#define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
2390#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2391#define GL_NAME_LENGTH 0x92F9
2392#define GL_TYPE 0x92FA
2393#define GL_ARRAY_SIZE 0x92FB
2394#define GL_OFFSET 0x92FC
2395#define GL_BLOCK_INDEX 0x92FD
2396#define GL_ARRAY_STRIDE 0x92FE
2397#define GL_MATRIX_STRIDE 0x92FF
2398#define GL_IS_ROW_MAJOR 0x9300
2399#define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
2400#define GL_BUFFER_BINDING 0x9302
2401#define GL_BUFFER_DATA_SIZE 0x9303
2402#define GL_NUM_ACTIVE_VARIABLES 0x9304
2403#define GL_ACTIVE_VARIABLES 0x9305
2404#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
2405#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2406#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
2407#define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
2408#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
2409#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
2410#define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
2411#define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
2412#define GL_LOCATION 0x930E
2413#define GL_LOCATION_INDEX 0x930F
2414#define GL_IS_PER_PATCH 0x92E7
2415#define GL_SHADER_STORAGE_BUFFER 0x90D2
2416#define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
2417#define GL_SHADER_STORAGE_BUFFER_START 0x90D4
2418#define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
2419#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
2420#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
2421#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
2422#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
2423#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
2424#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
2425#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
2426#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
2427#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
2428#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
2429#define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
2430#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
2431#define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
2432#define GL_TEXTURE_BUFFER_OFFSET 0x919D
2433#define GL_TEXTURE_BUFFER_SIZE 0x919E
2434#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
2435#define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
2436#define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
2437#define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
2438#define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
2439#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
2440#define GL_VERTEX_ATTRIB_BINDING 0x82D4
2441#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
2442#define GL_VERTEX_BINDING_DIVISOR 0x82D6
2443#define GL_VERTEX_BINDING_OFFSET 0x82D7
2444#define GL_VERTEX_BINDING_STRIDE 0x82D8
2445#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2446#define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
2447#define GL_VERTEX_BINDING_BUFFER 0x8F4F
2448#define GL_DISPLAY_LIST 0x82E7
2449typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2450typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2451typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2452typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
2453typedef 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);
2454typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
2455typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2456typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2457typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2458typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
2459typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2460typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
2461typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2462typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2463typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2464typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2465typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2466typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2467typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2468typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2469typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2470typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2471typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2472typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2473typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2474typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2475typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2476typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2477typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2478typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2479typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2480typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
2481typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
2482typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2483typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2484typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
2485typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2486typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2487typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
2488typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2489typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2490typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
2491typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2492#ifdef GL_GLEXT_PROTOTYPES
2493GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2494GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2495GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2496GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
2497GLAPI 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);
2498GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
2499GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
2500GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2501GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2502GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
2503GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
2504GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
2505GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2506GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2507GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2508GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2509GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2510GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
2511GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2512GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2513GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
2514GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
2515GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2516GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2517GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2518GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2519GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2520GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2521GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2522GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2523GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2524GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
2525GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
2526GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2527GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2528GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
2529GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2530GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2531GLAPI void APIENTRY glPopDebugGroup (void);
2532GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2533GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2534GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
2535GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2536#endif
2537#endif /* GL_VERSION_4_3 */
2538
2539#ifndef GL_VERSION_4_4
2540#define GL_VERSION_4_4 1
2541#define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
2542#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2543#define GL_TEXTURE_BUFFER_BINDING 0x8C2A
2544#define GL_MAP_PERSISTENT_BIT 0x0040
2545#define GL_MAP_COHERENT_BIT 0x0080
2546#define GL_DYNAMIC_STORAGE_BIT 0x0100
2547#define GL_CLIENT_STORAGE_BIT 0x0200
2548#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
2549#define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
2550#define GL_BUFFER_STORAGE_FLAGS 0x8220
2551#define GL_CLEAR_TEXTURE 0x9365
2552#define GL_LOCATION_COMPONENT 0x934A
2553#define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
2554#define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
2555#define GL_QUERY_BUFFER 0x9192
2556#define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
2557#define GL_QUERY_BUFFER_BINDING 0x9193
2558#define GL_QUERY_RESULT_NO_WAIT 0x9194
2559#define GL_MIRROR_CLAMP_TO_EDGE 0x8743
2560typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2561typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2562typedef 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);
2563typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2564typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2565typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2566typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
2567typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2568typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2569#ifdef GL_GLEXT_PROTOTYPES
2570GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2571GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2572GLAPI 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);
2573GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2574GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2575GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
2576GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
2577GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
2578GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2579#endif
2580#endif /* GL_VERSION_4_4 */
2581
2582#ifndef GL_ARB_ES2_compatibility
2583#define GL_ARB_ES2_compatibility 1
2584#endif /* GL_ARB_ES2_compatibility */
2585
2586#ifndef GL_ARB_ES3_compatibility
2587#define GL_ARB_ES3_compatibility 1
2588#endif /* GL_ARB_ES3_compatibility */
2589
2590#ifndef GL_ARB_arrays_of_arrays
2591#define GL_ARB_arrays_of_arrays 1
2592#endif /* GL_ARB_arrays_of_arrays */
2593
2594#ifndef GL_ARB_base_instance
2595#define GL_ARB_base_instance 1
2596#endif /* GL_ARB_base_instance */
2597
2598#ifndef GL_ARB_bindless_texture
2599#define GL_ARB_bindless_texture 1
2600typedef uint64_t GLuint64EXT;
2601#define GL_UNSIGNED_INT64_ARB 0x140F
2602typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
2603typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
2604typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2605typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2606typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2607typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
2608typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2609typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
2610typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
2611typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
2612typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2613typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2614typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
2615typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
2616typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
2617typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
2618#ifdef GL_GLEXT_PROTOTYPES
2619GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
2620GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
2621GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
2622GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
2623GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2624GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
2625GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
2626GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
2627GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
2628GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
2629GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2630GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
2631GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
2632GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
2633GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
2634GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
2635#endif
2636#endif /* GL_ARB_bindless_texture */
2637
2638#ifndef GL_ARB_blend_func_extended
2639#define GL_ARB_blend_func_extended 1
2640#endif /* GL_ARB_blend_func_extended */
2641
2642#ifndef GL_ARB_buffer_storage
2643#define GL_ARB_buffer_storage 1
2644#endif /* GL_ARB_buffer_storage */
2645
2646#ifndef GL_ARB_cl_event
2647#define GL_ARB_cl_event 1
2648struct _cl_context;
2649struct _cl_event;
2650#define GL_SYNC_CL_EVENT_ARB 0x8240
2651#define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
2652typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2653#ifdef GL_GLEXT_PROTOTYPES
2654GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2655#endif
2656#endif /* GL_ARB_cl_event */
2657
2658#ifndef GL_ARB_clear_buffer_object
2659#define GL_ARB_clear_buffer_object 1
2660#endif /* GL_ARB_clear_buffer_object */
2661
2662#ifndef GL_ARB_clear_texture
2663#define GL_ARB_clear_texture 1
2664#endif /* GL_ARB_clear_texture */
2665
2666#ifndef GL_ARB_color_buffer_float
2667#define GL_ARB_color_buffer_float 1
2668#define GL_RGBA_FLOAT_MODE_ARB 0x8820
2669#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
2670#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
2671#define GL_CLAMP_READ_COLOR_ARB 0x891C
2672#define GL_FIXED_ONLY_ARB 0x891D
2673typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
2674#ifdef GL_GLEXT_PROTOTYPES
2675GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
2676#endif
2677#endif /* GL_ARB_color_buffer_float */
2678
2679#ifndef GL_ARB_compatibility
2680#define GL_ARB_compatibility 1
2681#endif /* GL_ARB_compatibility */
2682
2683#ifndef GL_ARB_compressed_texture_pixel_storage
2684#define GL_ARB_compressed_texture_pixel_storage 1
2685#endif /* GL_ARB_compressed_texture_pixel_storage */
2686
2687#ifndef GL_ARB_compute_shader
2688#define GL_ARB_compute_shader 1
2689#define GL_COMPUTE_SHADER_BIT 0x00000020
2690#endif /* GL_ARB_compute_shader */
2691
2692#ifndef GL_ARB_compute_variable_group_size
2693#define GL_ARB_compute_variable_group_size 1
2694#define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
2695#define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
2696#define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
2697#define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
2698typedef 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);
2699#ifdef GL_GLEXT_PROTOTYPES
2700GLAPI 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);
2701#endif
2702#endif /* GL_ARB_compute_variable_group_size */
2703
2704#ifndef GL_ARB_conservative_depth
2705#define GL_ARB_conservative_depth 1
2706#endif /* GL_ARB_conservative_depth */
2707
2708#ifndef GL_ARB_copy_buffer
2709#define GL_ARB_copy_buffer 1
2710#define GL_COPY_READ_BUFFER_BINDING 0x8F36
2711#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2712#endif /* GL_ARB_copy_buffer */
2713
2714#ifndef GL_ARB_copy_image
2715#define GL_ARB_copy_image 1
2716#endif /* GL_ARB_copy_image */
2717
2718#ifndef GL_ARB_debug_output
2719#define GL_ARB_debug_output 1
2720typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
2721#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
2722#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
2723#define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
2724#define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
2725#define GL_DEBUG_SOURCE_API_ARB 0x8246
2726#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
2727#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
2728#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
2729#define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
2730#define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
2731#define GL_DEBUG_TYPE_ERROR_ARB 0x824C
2732#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
2733#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
2734#define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
2735#define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
2736#define GL_DEBUG_TYPE_OTHER_ARB 0x8251
2737#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
2738#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
2739#define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
2740#define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
2741#define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
2742#define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
2743typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2744typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2745typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
2746typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2747#ifdef GL_GLEXT_PROTOTYPES
2748GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2749GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2750GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
2751GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2752#endif
2753#endif /* GL_ARB_debug_output */
2754
2755#ifndef GL_ARB_depth_buffer_float
2756#define GL_ARB_depth_buffer_float 1
2757#endif /* GL_ARB_depth_buffer_float */
2758
2759#ifndef GL_ARB_depth_clamp
2760#define GL_ARB_depth_clamp 1
2761#endif /* GL_ARB_depth_clamp */
2762
2763#ifndef GL_ARB_depth_texture
2764#define GL_ARB_depth_texture 1
2765#define GL_DEPTH_COMPONENT16_ARB 0x81A5
2766#define GL_DEPTH_COMPONENT24_ARB 0x81A6
2767#define GL_DEPTH_COMPONENT32_ARB 0x81A7
2768#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
2769#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
2770#endif /* GL_ARB_depth_texture */
2771
2772#ifndef GL_ARB_draw_buffers
2773#define GL_ARB_draw_buffers 1
2774#define GL_MAX_DRAW_BUFFERS_ARB 0x8824
2775#define GL_DRAW_BUFFER0_ARB 0x8825
2776#define GL_DRAW_BUFFER1_ARB 0x8826
2777#define GL_DRAW_BUFFER2_ARB 0x8827
2778#define GL_DRAW_BUFFER3_ARB 0x8828
2779#define GL_DRAW_BUFFER4_ARB 0x8829
2780#define GL_DRAW_BUFFER5_ARB 0x882A
2781#define GL_DRAW_BUFFER6_ARB 0x882B
2782#define GL_DRAW_BUFFER7_ARB 0x882C
2783#define GL_DRAW_BUFFER8_ARB 0x882D
2784#define GL_DRAW_BUFFER9_ARB 0x882E
2785#define GL_DRAW_BUFFER10_ARB 0x882F
2786#define GL_DRAW_BUFFER11_ARB 0x8830
2787#define GL_DRAW_BUFFER12_ARB 0x8831
2788#define GL_DRAW_BUFFER13_ARB 0x8832
2789#define GL_DRAW_BUFFER14_ARB 0x8833
2790#define GL_DRAW_BUFFER15_ARB 0x8834
2791typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
2792#ifdef GL_GLEXT_PROTOTYPES
2793GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
2794#endif
2795#endif /* GL_ARB_draw_buffers */
2796
2797#ifndef GL_ARB_draw_buffers_blend
2798#define GL_ARB_draw_buffers_blend 1
2799typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
2800typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
2801typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
2802typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
2803#ifdef GL_GLEXT_PROTOTYPES
2804GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
2805GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
2806GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
2807GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
2808#endif
2809#endif /* GL_ARB_draw_buffers_blend */
2810
2811#ifndef GL_ARB_draw_elements_base_vertex
2812#define GL_ARB_draw_elements_base_vertex 1
2813#endif /* GL_ARB_draw_elements_base_vertex */
2814
2815#ifndef GL_ARB_draw_indirect
2816#define GL_ARB_draw_indirect 1
2817#endif /* GL_ARB_draw_indirect */
2818
2819#ifndef GL_ARB_draw_instanced
2820#define GL_ARB_draw_instanced 1
2821typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2822typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2823#ifdef GL_GLEXT_PROTOTYPES
2824GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2825GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2826#endif
2827#endif /* GL_ARB_draw_instanced */
2828
2829#ifndef GL_ARB_enhanced_layouts
2830#define GL_ARB_enhanced_layouts 1
2831#endif /* GL_ARB_enhanced_layouts */
2832
2833#ifndef GL_ARB_explicit_attrib_location
2834#define GL_ARB_explicit_attrib_location 1
2835#endif /* GL_ARB_explicit_attrib_location */
2836
2837#ifndef GL_ARB_explicit_uniform_location
2838#define GL_ARB_explicit_uniform_location 1
2839#endif /* GL_ARB_explicit_uniform_location */
2840
2841#ifndef GL_ARB_fragment_coord_conventions
2842#define GL_ARB_fragment_coord_conventions 1
2843#endif /* GL_ARB_fragment_coord_conventions */
2844
2845#ifndef GL_ARB_fragment_layer_viewport
2846#define GL_ARB_fragment_layer_viewport 1
2847#endif /* GL_ARB_fragment_layer_viewport */
2848
2849#ifndef GL_ARB_fragment_program
2850#define GL_ARB_fragment_program 1
2851#define GL_FRAGMENT_PROGRAM_ARB 0x8804
2852#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
2853#define GL_PROGRAM_LENGTH_ARB 0x8627
2854#define GL_PROGRAM_FORMAT_ARB 0x8876
2855#define GL_PROGRAM_BINDING_ARB 0x8677
2856#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
2857#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
2858#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
2859#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
2860#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
2861#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
2862#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
2863#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
2864#define GL_PROGRAM_PARAMETERS_ARB 0x88A8
2865#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
2866#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
2867#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
2868#define GL_PROGRAM_ATTRIBS_ARB 0x88AC
2869#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
2870#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
2871#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
2872#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
2873#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
2874#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
2875#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
2876#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
2877#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
2878#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
2879#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
2880#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
2881#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
2882#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
2883#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
2884#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
2885#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
2886#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
2887#define GL_PROGRAM_STRING_ARB 0x8628
2888#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
2889#define GL_CURRENT_MATRIX_ARB 0x8641
2890#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
2891#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
2892#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
2893#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
2894#define GL_MAX_TEXTURE_COORDS_ARB 0x8871
2895#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
2896#define GL_PROGRAM_ERROR_STRING_ARB 0x8874
2897#define GL_MATRIX0_ARB 0x88C0
2898#define GL_MATRIX1_ARB 0x88C1
2899#define GL_MATRIX2_ARB 0x88C2
2900#define GL_MATRIX3_ARB 0x88C3
2901#define GL_MATRIX4_ARB 0x88C4
2902#define GL_MATRIX5_ARB 0x88C5
2903#define GL_MATRIX6_ARB 0x88C6
2904#define GL_MATRIX7_ARB 0x88C7
2905#define GL_MATRIX8_ARB 0x88C8
2906#define GL_MATRIX9_ARB 0x88C9
2907#define GL_MATRIX10_ARB 0x88CA
2908#define GL_MATRIX11_ARB 0x88CB
2909#define GL_MATRIX12_ARB 0x88CC
2910#define GL_MATRIX13_ARB 0x88CD
2911#define GL_MATRIX14_ARB 0x88CE
2912#define GL_MATRIX15_ARB 0x88CF
2913#define GL_MATRIX16_ARB 0x88D0
2914#define GL_MATRIX17_ARB 0x88D1
2915#define GL_MATRIX18_ARB 0x88D2
2916#define GL_MATRIX19_ARB 0x88D3
2917#define GL_MATRIX20_ARB 0x88D4
2918#define GL_MATRIX21_ARB 0x88D5
2919#define GL_MATRIX22_ARB 0x88D6
2920#define GL_MATRIX23_ARB 0x88D7
2921#define GL_MATRIX24_ARB 0x88D8
2922#define GL_MATRIX25_ARB 0x88D9
2923#define GL_MATRIX26_ARB 0x88DA
2924#define GL_MATRIX27_ARB 0x88DB
2925#define GL_MATRIX28_ARB 0x88DC
2926#define GL_MATRIX29_ARB 0x88DD
2927#define GL_MATRIX30_ARB 0x88DE
2928#define GL_MATRIX31_ARB 0x88DF
2929typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
2930typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
2931typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
2932typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
2933typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2934typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
2935typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
2936typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
2937typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2938typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
2939typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
2940typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
2941typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
2942typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
2943typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
2944typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
2945typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
2946typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
2947typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
2948#ifdef GL_GLEXT_PROTOTYPES
2949GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
2950GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
2951GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
2952GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
2953GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2954GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
2955GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
2956GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
2957GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2958GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
2959GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
2960GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
2961GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
2962GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
2963GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
2964GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
2965GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
2966GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
2967GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
2968#endif
2969#endif /* GL_ARB_fragment_program */
2970
2971#ifndef GL_ARB_fragment_program_shadow
2972#define GL_ARB_fragment_program_shadow 1
2973#endif /* GL_ARB_fragment_program_shadow */
2974
2975#ifndef GL_ARB_fragment_shader
2976#define GL_ARB_fragment_shader 1
2977#define GL_FRAGMENT_SHADER_ARB 0x8B30
2978#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
2979#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
2980#endif /* GL_ARB_fragment_shader */
2981
2982#ifndef GL_ARB_framebuffer_no_attachments
2983#define GL_ARB_framebuffer_no_attachments 1
2984#endif /* GL_ARB_framebuffer_no_attachments */
2985
2986#ifndef GL_ARB_framebuffer_object
2987#define GL_ARB_framebuffer_object 1
2988#endif /* GL_ARB_framebuffer_object */
2989
2990#ifndef GL_ARB_framebuffer_sRGB
2991#define GL_ARB_framebuffer_sRGB 1
2992#endif /* GL_ARB_framebuffer_sRGB */
2993
2994#ifndef GL_KHR_context_flush_control
2995#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2996#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2997#endif /* GL_KHR_context_flush_control */
2998
2999#ifndef GL_ARB_geometry_shader4
3000#define GL_ARB_geometry_shader4 1
3001#define GL_LINES_ADJACENCY_ARB 0x000A
3002#define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
3003#define GL_TRIANGLES_ADJACENCY_ARB 0x000C
3004#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
3005#define GL_PROGRAM_POINT_SIZE_ARB 0x8642
3006#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
3007#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
3008#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
3009#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
3010#define GL_GEOMETRY_SHADER_ARB 0x8DD9
3011#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
3012#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
3013#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
3014#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
3015#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
3016#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
3017#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
3018#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
3019typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
3020typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
3021typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3022typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3023#ifdef GL_GLEXT_PROTOTYPES
3024GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
3025GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
3026GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3027GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3028#endif
3029#endif /* GL_ARB_geometry_shader4 */
3030
3031#ifndef GL_ARB_get_program_binary
3032#define GL_ARB_get_program_binary 1
3033#endif /* GL_ARB_get_program_binary */
3034
3035#ifndef GL_ARB_gpu_shader5
3036#define GL_ARB_gpu_shader5 1
3037#endif /* GL_ARB_gpu_shader5 */
3038
3039#ifndef GL_ARB_gpu_shader_fp64
3040#define GL_ARB_gpu_shader_fp64 1
3041#endif /* GL_ARB_gpu_shader_fp64 */
3042
3043#ifndef GL_ARB_half_float_pixel
3044#define GL_ARB_half_float_pixel 1
3045typedef unsigned short GLhalfARB;
3046#define GL_HALF_FLOAT_ARB 0x140B
3047#endif /* GL_ARB_half_float_pixel */
3048
3049#ifndef GL_ARB_half_float_vertex
3050#define GL_ARB_half_float_vertex 1
3051#endif /* GL_ARB_half_float_vertex */
3052
3053#ifndef GL_ARB_imaging
3054#define GL_ARB_imaging 1
3055#define GL_BLEND_COLOR 0x8005
3056#define GL_BLEND_EQUATION 0x8009
3057#define GL_CONVOLUTION_1D 0x8010
3058#define GL_CONVOLUTION_2D 0x8011
3059#define GL_SEPARABLE_2D 0x8012
3060#define GL_CONVOLUTION_BORDER_MODE 0x8013
3061#define GL_CONVOLUTION_FILTER_SCALE 0x8014
3062#define GL_CONVOLUTION_FILTER_BIAS 0x8015
3063#define GL_REDUCE 0x8016
3064#define GL_CONVOLUTION_FORMAT 0x8017
3065#define GL_CONVOLUTION_WIDTH 0x8018
3066#define GL_CONVOLUTION_HEIGHT 0x8019
3067#define GL_MAX_CONVOLUTION_WIDTH 0x801A
3068#define GL_MAX_CONVOLUTION_HEIGHT 0x801B
3069#define GL_POST_CONVOLUTION_RED_SCALE 0x801C
3070#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
3071#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
3072#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
3073#define GL_POST_CONVOLUTION_RED_BIAS 0x8020
3074#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
3075#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
3076#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
3077#define GL_HISTOGRAM 0x8024
3078#define GL_PROXY_HISTOGRAM 0x8025
3079#define GL_HISTOGRAM_WIDTH 0x8026
3080#define GL_HISTOGRAM_FORMAT 0x8027
3081#define GL_HISTOGRAM_RED_SIZE 0x8028
3082#define GL_HISTOGRAM_GREEN_SIZE 0x8029
3083#define GL_HISTOGRAM_BLUE_SIZE 0x802A
3084#define GL_HISTOGRAM_ALPHA_SIZE 0x802B
3085#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
3086#define GL_HISTOGRAM_SINK 0x802D
3087#define GL_MINMAX 0x802E
3088#define GL_MINMAX_FORMAT 0x802F
3089#define GL_MINMAX_SINK 0x8030
3090#define GL_TABLE_TOO_LARGE 0x8031
3091#define GL_COLOR_MATRIX 0x80B1
3092#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
3093#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
3094#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
3095#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
3096#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
3097#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
3098#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
3099#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
3100#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
3101#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
3102#define GL_COLOR_TABLE 0x80D0
3103#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
3104#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
3105#define GL_PROXY_COLOR_TABLE 0x80D3
3106#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
3107#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
3108#define GL_COLOR_TABLE_SCALE 0x80D6
3109#define GL_COLOR_TABLE_BIAS 0x80D7
3110#define GL_COLOR_TABLE_FORMAT 0x80D8
3111#define GL_COLOR_TABLE_WIDTH 0x80D9
3112#define GL_COLOR_TABLE_RED_SIZE 0x80DA
3113#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
3114#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
3115#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
3116#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
3117#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
3118#define GL_CONSTANT_BORDER 0x8151
3119#define GL_REPLICATE_BORDER 0x8153
3120#define GL_CONVOLUTION_BORDER_COLOR 0x8154
3121typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3122typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3123typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3124typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3125typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
3126typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3127typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3128typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3129typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3130typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3131typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3132typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
3133typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3134typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
3135typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3136typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3137typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3138typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
3139typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3140typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3141typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3142typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3143typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3144typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3145typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3146typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3147typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3148typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3149typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3150typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3151typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
3152typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
3153#ifdef GL_GLEXT_PROTOTYPES
3154GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3155GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3156GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
3157GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3158GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
3159GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
3160GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
3161GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3162GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3163GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3164GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3165GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
3166GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3167GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
3168GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
3169GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3170GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3171GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
3172GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
3173GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
3174GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3175GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3176GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3177GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
3178GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
3179GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3180GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
3181GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
3182GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3183GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
3184GLAPI void APIENTRY glResetHistogram (GLenum target);
3185GLAPI void APIENTRY glResetMinmax (GLenum target);
3186#endif
3187#endif /* GL_ARB_imaging */
3188
3189#ifndef GL_ARB_indirect_parameters
3190#define GL_ARB_indirect_parameters 1
3191#define GL_PARAMETER_BUFFER_ARB 0x80EE
3192#define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
3193typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3194typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3195#ifdef GL_GLEXT_PROTOTYPES
3196GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3197GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3198#endif
3199#endif /* GL_ARB_indirect_parameters */
3200
3201#ifndef GL_ARB_instanced_arrays
3202#define GL_ARB_instanced_arrays 1
3203#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
3204typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
3205#ifdef GL_GLEXT_PROTOTYPES
3206GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
3207#endif
3208#endif /* GL_ARB_instanced_arrays */
3209
3210#ifndef GL_ARB_internalformat_query
3211#define GL_ARB_internalformat_query 1
3212#endif /* GL_ARB_internalformat_query */
3213
3214#ifndef GL_ARB_internalformat_query2
3215#define GL_ARB_internalformat_query2 1
3216#define GL_SRGB_DECODE_ARB 0x8299
3217#endif /* GL_ARB_internalformat_query2 */
3218
3219#ifndef GL_ARB_invalidate_subdata
3220#define GL_ARB_invalidate_subdata 1
3221#endif /* GL_ARB_invalidate_subdata */
3222
3223#ifndef GL_ARB_map_buffer_alignment
3224#define GL_ARB_map_buffer_alignment 1
3225#endif /* GL_ARB_map_buffer_alignment */
3226
3227#ifndef GL_ARB_map_buffer_range
3228#define GL_ARB_map_buffer_range 1
3229#endif /* GL_ARB_map_buffer_range */
3230
3231#ifndef GL_ARB_matrix_palette
3232#define GL_ARB_matrix_palette 1
3233#define GL_MATRIX_PALETTE_ARB 0x8840
3234#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
3235#define GL_MAX_PALETTE_MATRICES_ARB 0x8842
3236#define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
3237#define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
3238#define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
3239#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
3240#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
3241#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
3242#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
3243typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3244typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
3245typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
3246typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
3247typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
3248#ifdef GL_GLEXT_PROTOTYPES
3249GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
3250GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
3251GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
3252GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
3253GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
3254#endif
3255#endif /* GL_ARB_matrix_palette */
3256
3257#ifndef GL_ARB_multi_bind
3258#define GL_ARB_multi_bind 1
3259#endif /* GL_ARB_multi_bind */
3260
3261#ifndef GL_ARB_multi_draw_indirect
3262#define GL_ARB_multi_draw_indirect 1
3263#endif /* GL_ARB_multi_draw_indirect */
3264
3265#ifndef GL_ARB_multisample
3266#define GL_ARB_multisample 1
3267#define GL_MULTISAMPLE_ARB 0x809D
3268#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
3269#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
3270#define GL_SAMPLE_COVERAGE_ARB 0x80A0
3271#define GL_SAMPLE_BUFFERS_ARB 0x80A8
3272#define GL_SAMPLES_ARB 0x80A9
3273#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
3274#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
3275#define GL_MULTISAMPLE_BIT_ARB 0x20000000
3276typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
3277#ifdef GL_GLEXT_PROTOTYPES
3278GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
3279#endif
3280#endif /* GL_ARB_multisample */
3281
3282#ifndef GL_ARB_multitexture
3283#define GL_ARB_multitexture 1
3284#define GL_TEXTURE0_ARB 0x84C0
3285#define GL_TEXTURE1_ARB 0x84C1
3286#define GL_TEXTURE2_ARB 0x84C2
3287#define GL_TEXTURE3_ARB 0x84C3
3288#define GL_TEXTURE4_ARB 0x84C4
3289#define GL_TEXTURE5_ARB 0x84C5
3290#define GL_TEXTURE6_ARB 0x84C6
3291#define GL_TEXTURE7_ARB 0x84C7
3292#define GL_TEXTURE8_ARB 0x84C8
3293#define GL_TEXTURE9_ARB 0x84C9
3294#define GL_TEXTURE10_ARB 0x84CA
3295#define GL_TEXTURE11_ARB 0x84CB
3296#define GL_TEXTURE12_ARB 0x84CC
3297#define GL_TEXTURE13_ARB 0x84CD
3298#define GL_TEXTURE14_ARB 0x84CE
3299#define GL_TEXTURE15_ARB 0x84CF
3300#define GL_TEXTURE16_ARB 0x84D0
3301#define GL_TEXTURE17_ARB 0x84D1
3302#define GL_TEXTURE18_ARB 0x84D2
3303#define GL_TEXTURE19_ARB 0x84D3
3304#define GL_TEXTURE20_ARB 0x84D4
3305#define GL_TEXTURE21_ARB 0x84D5
3306#define GL_TEXTURE22_ARB 0x84D6
3307#define GL_TEXTURE23_ARB 0x84D7
3308#define GL_TEXTURE24_ARB 0x84D8
3309#define GL_TEXTURE25_ARB 0x84D9
3310#define GL_TEXTURE26_ARB 0x84DA
3311#define GL_TEXTURE27_ARB 0x84DB
3312#define GL_TEXTURE28_ARB 0x84DC
3313#define GL_TEXTURE29_ARB 0x84DD
3314#define GL_TEXTURE30_ARB 0x84DE
3315#define GL_TEXTURE31_ARB 0x84DF
3316#define GL_ACTIVE_TEXTURE_ARB 0x84E0
3317#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
3318#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
3319typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3320typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3321typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3322typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3323typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3324typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3325typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3326typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3327typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3328typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3329typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3330typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3331typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3332typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3333typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3334typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3335typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
3336typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
3337typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3338typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
3339typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3340typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
3341typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
3342typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
3343typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3344typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
3345typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3346typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
3347typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3348typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
3349typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3350typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
3351typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3352typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
3353#ifdef GL_GLEXT_PROTOTYPES
3354GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
3355GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
3356GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
3357GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
3358GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
3359GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
3360GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
3361GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
3362GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
3363GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
3364GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
3365GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
3366GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
3367GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
3368GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
3369GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
3370GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
3371GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
3372GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3373GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
3374GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3375GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
3376GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
3377GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
3378GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
3379GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
3380GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3381GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
3382GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3383GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
3384GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
3385GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
3386GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3387GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
3388#endif
3389#endif /* GL_ARB_multitexture */
3390
3391#ifndef GL_ARB_occlusion_query
3392#define GL_ARB_occlusion_query 1
3393#define GL_QUERY_COUNTER_BITS_ARB 0x8864
3394#define GL_CURRENT_QUERY_ARB 0x8865
3395#define GL_QUERY_RESULT_ARB 0x8866
3396#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
3397#define GL_SAMPLES_PASSED_ARB 0x8914
3398typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
3399typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
3400typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
3401typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
3402typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
3403typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3404typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
3405typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
3406#ifdef GL_GLEXT_PROTOTYPES
3407GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
3408GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
3409GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
3410GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
3411GLAPI void APIENTRY glEndQueryARB (GLenum target);
3412GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
3413GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
3414GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
3415#endif
3416#endif /* GL_ARB_occlusion_query */
3417
3418#ifndef GL_ARB_occlusion_query2
3419#define GL_ARB_occlusion_query2 1
3420#endif /* GL_ARB_occlusion_query2 */
3421
3422#ifndef GL_ARB_pixel_buffer_object
3423#define GL_ARB_pixel_buffer_object 1
3424#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
3425#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
3426#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
3427#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
3428#endif /* GL_ARB_pixel_buffer_object */
3429
3430#ifndef GL_ARB_point_parameters
3431#define GL_ARB_point_parameters 1
3432#define GL_POINT_SIZE_MIN_ARB 0x8126
3433#define GL_POINT_SIZE_MAX_ARB 0x8127
3434#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
3435#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
3436typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
3437typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
3438#ifdef GL_GLEXT_PROTOTYPES
3439GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
3440GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
3441#endif
3442#endif /* GL_ARB_point_parameters */
3443
3444#ifndef GL_ARB_point_sprite
3445#define GL_ARB_point_sprite 1
3446#define GL_POINT_SPRITE_ARB 0x8861
3447#define GL_COORD_REPLACE_ARB 0x8862
3448#endif /* GL_ARB_point_sprite */
3449
3450#ifndef GL_ARB_program_interface_query
3451#define GL_ARB_program_interface_query 1
3452#endif /* GL_ARB_program_interface_query */
3453
3454#ifndef GL_ARB_provoking_vertex
3455#define GL_ARB_provoking_vertex 1
3456#endif /* GL_ARB_provoking_vertex */
3457
3458#ifndef GL_ARB_query_buffer_object
3459#define GL_ARB_query_buffer_object 1
3460#endif /* GL_ARB_query_buffer_object */
3461
3462#ifndef GL_ARB_robust_buffer_access_behavior
3463#define GL_ARB_robust_buffer_access_behavior 1
3464#endif /* GL_ARB_robust_buffer_access_behavior */
3465
3466#ifndef GL_ARB_robustness
3467#define GL_ARB_robustness 1
3468#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
3469#define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
3470#define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
3471#define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
3472#define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
3473#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
3474#define GL_NO_RESET_NOTIFICATION_ARB 0x8261
3475typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
3476typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3477typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3478typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
3479typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3480typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3481typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3482typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3483typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3484typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3485typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3486typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
3487typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
3488typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
3489typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
3490typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3491typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3492typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3493typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3494typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3495#ifdef GL_GLEXT_PROTOTYPES
3496GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
3497GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3498GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3499GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
3500GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3501GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3502GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3503GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3504GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3505GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3506GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3507GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
3508GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
3509GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
3510GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
3511GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3512GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3513GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3514GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3515GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3516#endif
3517#endif /* GL_ARB_robustness */
3518
3519#ifndef GL_ARB_robustness_isolation
3520#define GL_ARB_robustness_isolation 1
3521#endif /* GL_ARB_robustness_isolation */
3522
3523#ifndef GL_ARB_sample_shading
3524#define GL_ARB_sample_shading 1
3525#define GL_SAMPLE_SHADING_ARB 0x8C36
3526#define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
3527typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
3528#ifdef GL_GLEXT_PROTOTYPES
3529GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
3530#endif
3531#endif /* GL_ARB_sample_shading */
3532
3533#ifndef GL_ARB_sampler_objects
3534#define GL_ARB_sampler_objects 1
3535#endif /* GL_ARB_sampler_objects */
3536
3537#ifndef GL_ARB_seamless_cube_map
3538#define GL_ARB_seamless_cube_map 1
3539#endif /* GL_ARB_seamless_cube_map */
3540
3541#ifndef GL_ARB_seamless_cubemap_per_texture
3542#define GL_ARB_seamless_cubemap_per_texture 1
3543#endif /* GL_ARB_seamless_cubemap_per_texture */
3544
3545#ifndef GL_ARB_separate_shader_objects
3546#define GL_ARB_separate_shader_objects 1
3547#endif /* GL_ARB_separate_shader_objects */
3548
3549#ifndef GL_ARB_shader_atomic_counters
3550#define GL_ARB_shader_atomic_counters 1
3551#endif /* GL_ARB_shader_atomic_counters */
3552
3553#ifndef GL_ARB_shader_bit_encoding
3554#define GL_ARB_shader_bit_encoding 1
3555#endif /* GL_ARB_shader_bit_encoding */
3556
3557#ifndef GL_ARB_shader_draw_parameters
3558#define GL_ARB_shader_draw_parameters 1
3559#endif /* GL_ARB_shader_draw_parameters */
3560
3561#ifndef GL_ARB_shader_group_vote
3562#define GL_ARB_shader_group_vote 1
3563#endif /* GL_ARB_shader_group_vote */
3564
3565#ifndef GL_ARB_shader_image_load_store
3566#define GL_ARB_shader_image_load_store 1
3567#endif /* GL_ARB_shader_image_load_store */
3568
3569#ifndef GL_ARB_shader_image_size
3570#define GL_ARB_shader_image_size 1
3571#endif /* GL_ARB_shader_image_size */
3572
3573#ifndef GL_ARB_shader_objects
3574#define GL_ARB_shader_objects 1
3575#ifdef __APPLE__
3576typedef void *GLhandleARB;
3577#else
3578typedef unsigned int GLhandleARB;
3579#endif
3580typedef char GLcharARB;
3581#define GL_PROGRAM_OBJECT_ARB 0x8B40
3582#define GL_SHADER_OBJECT_ARB 0x8B48
3583#define GL_OBJECT_TYPE_ARB 0x8B4E
3584#define GL_OBJECT_SUBTYPE_ARB 0x8B4F
3585#define GL_FLOAT_VEC2_ARB 0x8B50
3586#define GL_FLOAT_VEC3_ARB 0x8B51
3587#define GL_FLOAT_VEC4_ARB 0x8B52
3588#define GL_INT_VEC2_ARB 0x8B53
3589#define GL_INT_VEC3_ARB 0x8B54
3590#define GL_INT_VEC4_ARB 0x8B55
3591#define GL_BOOL_ARB 0x8B56
3592#define GL_BOOL_VEC2_ARB 0x8B57
3593#define GL_BOOL_VEC3_ARB 0x8B58
3594#define GL_BOOL_VEC4_ARB 0x8B59
3595#define GL_FLOAT_MAT2_ARB 0x8B5A
3596#define GL_FLOAT_MAT3_ARB 0x8B5B
3597#define GL_FLOAT_MAT4_ARB 0x8B5C
3598#define GL_SAMPLER_1D_ARB 0x8B5D
3599#define GL_SAMPLER_2D_ARB 0x8B5E
3600#define GL_SAMPLER_3D_ARB 0x8B5F
3601#define GL_SAMPLER_CUBE_ARB 0x8B60
3602#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
3603#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
3604#define GL_SAMPLER_2D_RECT_ARB 0x8B63
3605#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
3606#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
3607#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
3608#define GL_OBJECT_LINK_STATUS_ARB 0x8B82
3609#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
3610#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
3611#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
3612#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
3613#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
3614#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
3615typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
3616typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
3617typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
3618typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
3619typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
3620typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
3621typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
3622typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
3623typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
3624typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
3625typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
3626typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
3627typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
3628typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
3629typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
3630typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
3631typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
3632typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
3633typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
3634typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3635typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3636typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3637typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3638typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3639typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3640typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3641typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3642typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3643typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3644typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3645typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
3646typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
3647typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
3648typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
3649typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
3650typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
3651typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
3652typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
3653typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
3654#ifdef GL_GLEXT_PROTOTYPES
3655GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
3656GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
3657GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
3658GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
3659GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
3660GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
3661GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
3662GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
3663GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
3664GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
3665GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
3666GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
3667GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
3668GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
3669GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
3670GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
3671GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
3672GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
3673GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
3674GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
3675GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
3676GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
3677GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
3678GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
3679GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
3680GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
3681GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
3682GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3683GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3684GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3685GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
3686GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
3687GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
3688GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
3689GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
3690GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
3691GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
3692GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
3693GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
3694#endif
3695#endif /* GL_ARB_shader_objects */
3696
3697#ifndef GL_ARB_shader_precision
3698#define GL_ARB_shader_precision 1
3699#endif /* GL_ARB_shader_precision */
3700
3701#ifndef GL_ARB_shader_stencil_export
3702#define GL_ARB_shader_stencil_export 1
3703#endif /* GL_ARB_shader_stencil_export */
3704
3705#ifndef GL_ARB_shader_storage_buffer_object
3706#define GL_ARB_shader_storage_buffer_object 1
3707#endif /* GL_ARB_shader_storage_buffer_object */
3708
3709#ifndef GL_ARB_shader_subroutine
3710#define GL_ARB_shader_subroutine 1
3711#endif /* GL_ARB_shader_subroutine */
3712
3713#ifndef GL_ARB_shader_texture_lod
3714#define GL_ARB_shader_texture_lod 1
3715#endif /* GL_ARB_shader_texture_lod */
3716
3717#ifndef GL_ARB_shading_language_100
3718#define GL_ARB_shading_language_100 1
3719#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
3720#endif /* GL_ARB_shading_language_100 */
3721
3722#ifndef GL_ARB_shading_language_420pack
3723#define GL_ARB_shading_language_420pack 1
3724#endif /* GL_ARB_shading_language_420pack */
3725
3726#ifndef GL_ARB_shading_language_include
3727#define GL_ARB_shading_language_include 1
3728#define GL_SHADER_INCLUDE_ARB 0x8DAE
3729#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
3730#define GL_NAMED_STRING_TYPE_ARB 0x8DEA
3731typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
3732typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
3733typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
3734typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
3735typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
3736typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
3737#ifdef GL_GLEXT_PROTOTYPES
3738GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
3739GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
3740GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
3741GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
3742GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
3743GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
3744#endif
3745#endif /* GL_ARB_shading_language_include */
3746
3747#ifndef GL_ARB_shading_language_packing
3748#define GL_ARB_shading_language_packing 1
3749#endif /* GL_ARB_shading_language_packing */
3750
3751#ifndef GL_ARB_shadow
3752#define GL_ARB_shadow 1
3753#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
3754#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
3755#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
3756#endif /* GL_ARB_shadow */
3757
3758#ifndef GL_ARB_shadow_ambient
3759#define GL_ARB_shadow_ambient 1
3760#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
3761#endif /* GL_ARB_shadow_ambient */
3762
3763#ifndef GL_ARB_sparse_texture
3764#define GL_ARB_sparse_texture 1
3765#define GL_TEXTURE_SPARSE_ARB 0x91A6
3766#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
3767#define GL_MIN_SPARSE_LEVEL_ARB 0x919B
3768#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
3769#define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
3770#define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
3771#define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
3772#define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
3773#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
3774#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
3775#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
3776typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
3777#ifdef GL_GLEXT_PROTOTYPES
3778GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
3779#endif
3780#endif /* GL_ARB_sparse_texture */
3781
3782#ifndef GL_ARB_stencil_texturing
3783#define GL_ARB_stencil_texturing 1
3784#endif /* GL_ARB_stencil_texturing */
3785
3786#ifndef GL_ARB_sync
3787#define GL_ARB_sync 1
3788#endif /* GL_ARB_sync */
3789
3790#ifndef GL_ARB_tessellation_shader
3791#define GL_ARB_tessellation_shader 1
3792#endif /* GL_ARB_tessellation_shader */
3793
3794#ifndef GL_ARB_texture_border_clamp
3795#define GL_ARB_texture_border_clamp 1
3796#define GL_CLAMP_TO_BORDER_ARB 0x812D
3797#endif /* GL_ARB_texture_border_clamp */
3798
3799#ifndef GL_ARB_texture_buffer_object
3800#define GL_ARB_texture_buffer_object 1
3801#define GL_TEXTURE_BUFFER_ARB 0x8C2A
3802#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
3803#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
3804#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
3805#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
3806typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
3807#ifdef GL_GLEXT_PROTOTYPES
3808GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
3809#endif
3810#endif /* GL_ARB_texture_buffer_object */
3811
3812#ifndef GL_ARB_texture_buffer_object_rgb32
3813#define GL_ARB_texture_buffer_object_rgb32 1
3814#endif /* GL_ARB_texture_buffer_object_rgb32 */
3815
3816#ifndef GL_ARB_texture_buffer_range
3817#define GL_ARB_texture_buffer_range 1
3818#endif /* GL_ARB_texture_buffer_range */
3819
3820#ifndef GL_ARB_texture_compression
3821#define GL_ARB_texture_compression 1
3822#define GL_COMPRESSED_ALPHA_ARB 0x84E9
3823#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
3824#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
3825#define GL_COMPRESSED_INTENSITY_ARB 0x84EC
3826#define GL_COMPRESSED_RGB_ARB 0x84ED
3827#define GL_COMPRESSED_RGBA_ARB 0x84EE
3828#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
3829#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
3830#define GL_TEXTURE_COMPRESSED_ARB 0x86A1
3831#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
3832#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
3833typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
3834typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
3835typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
3836typedef 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);
3837typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
3838typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
3839typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
3840#ifdef GL_GLEXT_PROTOTYPES
3841GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
3842GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
3843GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
3844GLAPI 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);
3845GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
3846GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
3847GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
3848#endif
3849#endif /* GL_ARB_texture_compression */
3850
3851#ifndef GL_ARB_texture_compression_bptc
3852#define GL_ARB_texture_compression_bptc 1
3853#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
3854#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
3855#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
3856#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
3857#endif /* GL_ARB_texture_compression_bptc */
3858
3859#ifndef GL_ARB_texture_compression_rgtc
3860#define GL_ARB_texture_compression_rgtc 1
3861#endif /* GL_ARB_texture_compression_rgtc */
3862
3863#ifndef GL_ARB_texture_cube_map
3864#define GL_ARB_texture_cube_map 1
3865#define GL_NORMAL_MAP_ARB 0x8511
3866#define GL_REFLECTION_MAP_ARB 0x8512
3867#define GL_TEXTURE_CUBE_MAP_ARB 0x8513
3868#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
3869#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
3870#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
3871#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
3872#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
3873#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
3874#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
3875#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
3876#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
3877#endif /* GL_ARB_texture_cube_map */
3878
3879#ifndef GL_ARB_texture_cube_map_array
3880#define GL_ARB_texture_cube_map_array 1
3881#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
3882#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
3883#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
3884#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
3885#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
3886#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
3887#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
3888#endif /* GL_ARB_texture_cube_map_array */
3889
3890#ifndef GL_ARB_texture_env_add
3891#define GL_ARB_texture_env_add 1
3892#endif /* GL_ARB_texture_env_add */
3893
3894#ifndef GL_ARB_texture_env_combine
3895#define GL_ARB_texture_env_combine 1
3896#define GL_COMBINE_ARB 0x8570
3897#define GL_COMBINE_RGB_ARB 0x8571
3898#define GL_COMBINE_ALPHA_ARB 0x8572
3899#define GL_SOURCE0_RGB_ARB 0x8580
3900#define GL_SOURCE1_RGB_ARB 0x8581
3901#define GL_SOURCE2_RGB_ARB 0x8582
3902#define GL_SOURCE0_ALPHA_ARB 0x8588
3903#define GL_SOURCE1_ALPHA_ARB 0x8589
3904#define GL_SOURCE2_ALPHA_ARB 0x858A
3905#define GL_OPERAND0_RGB_ARB 0x8590
3906#define GL_OPERAND1_RGB_ARB 0x8591
3907#define GL_OPERAND2_RGB_ARB 0x8592
3908#define GL_OPERAND0_ALPHA_ARB 0x8598
3909#define GL_OPERAND1_ALPHA_ARB 0x8599
3910#define GL_OPERAND2_ALPHA_ARB 0x859A
3911#define GL_RGB_SCALE_ARB 0x8573
3912#define GL_ADD_SIGNED_ARB 0x8574
3913#define GL_INTERPOLATE_ARB 0x8575
3914#define GL_SUBTRACT_ARB 0x84E7
3915#define GL_CONSTANT_ARB 0x8576
3916#define GL_PRIMARY_COLOR_ARB 0x8577
3917#define GL_PREVIOUS_ARB 0x8578
3918#endif /* GL_ARB_texture_env_combine */
3919
3920#ifndef GL_ARB_texture_env_crossbar
3921#define GL_ARB_texture_env_crossbar 1
3922#endif /* GL_ARB_texture_env_crossbar */
3923
3924#ifndef GL_ARB_texture_env_dot3
3925#define GL_ARB_texture_env_dot3 1
3926#define GL_DOT3_RGB_ARB 0x86AE
3927#define GL_DOT3_RGBA_ARB 0x86AF
3928#endif /* GL_ARB_texture_env_dot3 */
3929
3930#ifndef GL_ARB_texture_float
3931#define GL_ARB_texture_float 1
3932#define GL_TEXTURE_RED_TYPE_ARB 0x8C10
3933#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
3934#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
3935#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
3936#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
3937#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
3938#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
3939#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
3940#define GL_RGBA32F_ARB 0x8814
3941#define GL_RGB32F_ARB 0x8815
3942#define GL_ALPHA32F_ARB 0x8816
3943#define GL_INTENSITY32F_ARB 0x8817
3944#define GL_LUMINANCE32F_ARB 0x8818
3945#define GL_LUMINANCE_ALPHA32F_ARB 0x8819
3946#define GL_RGBA16F_ARB 0x881A
3947#define GL_RGB16F_ARB 0x881B
3948#define GL_ALPHA16F_ARB 0x881C
3949#define GL_INTENSITY16F_ARB 0x881D
3950#define GL_LUMINANCE16F_ARB 0x881E
3951#define GL_LUMINANCE_ALPHA16F_ARB 0x881F
3952#endif /* GL_ARB_texture_float */
3953
3954#ifndef GL_ARB_texture_gather
3955#define GL_ARB_texture_gather 1
3956#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
3957#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
3958#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
3959#endif /* GL_ARB_texture_gather */
3960
3961#ifndef GL_ARB_texture_mirror_clamp_to_edge
3962#define GL_ARB_texture_mirror_clamp_to_edge 1
3963#endif /* GL_ARB_texture_mirror_clamp_to_edge */
3964
3965#ifndef GL_ARB_texture_mirrored_repeat
3966#define GL_ARB_texture_mirrored_repeat 1
3967#define GL_MIRRORED_REPEAT_ARB 0x8370
3968#endif /* GL_ARB_texture_mirrored_repeat */
3969
3970#ifndef GL_ARB_texture_multisample
3971#define GL_ARB_texture_multisample 1
3972#endif /* GL_ARB_texture_multisample */
3973
3974#ifndef GL_ARB_texture_non_power_of_two
3975#define GL_ARB_texture_non_power_of_two 1
3976#endif /* GL_ARB_texture_non_power_of_two */
3977
3978#ifndef GL_ARB_texture_query_levels
3979#define GL_ARB_texture_query_levels 1
3980#endif /* GL_ARB_texture_query_levels */
3981
3982#ifndef GL_ARB_texture_query_lod
3983#define GL_ARB_texture_query_lod 1
3984#endif /* GL_ARB_texture_query_lod */
3985
3986#ifndef GL_ARB_texture_rectangle
3987#define GL_ARB_texture_rectangle 1
3988#define GL_TEXTURE_RECTANGLE_ARB 0x84F5
3989#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
3990#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
3991#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
3992#endif /* GL_ARB_texture_rectangle */
3993
3994#ifndef GL_ARB_texture_rg
3995#define GL_ARB_texture_rg 1
3996#endif /* GL_ARB_texture_rg */
3997
3998#ifndef GL_ARB_texture_rgb10_a2ui
3999#define GL_ARB_texture_rgb10_a2ui 1
4000#endif /* GL_ARB_texture_rgb10_a2ui */
4001
4002#ifndef GL_ARB_texture_stencil8
4003#define GL_ARB_texture_stencil8 1
4004#endif /* GL_ARB_texture_stencil8 */
4005
4006#ifndef GL_ARB_texture_storage
4007#define GL_ARB_texture_storage 1
4008#endif /* GL_ARB_texture_storage */
4009
4010#ifndef GL_ARB_texture_storage_multisample
4011#define GL_ARB_texture_storage_multisample 1
4012#endif /* GL_ARB_texture_storage_multisample */
4013
4014#ifndef GL_ARB_texture_swizzle
4015#define GL_ARB_texture_swizzle 1
4016#endif /* GL_ARB_texture_swizzle */
4017
4018#ifndef GL_ARB_texture_view
4019#define GL_ARB_texture_view 1
4020#endif /* GL_ARB_texture_view */
4021
4022#ifndef GL_ARB_timer_query
4023#define GL_ARB_timer_query 1
4024#endif /* GL_ARB_timer_query */
4025
4026#ifndef GL_ARB_transform_feedback2
4027#define GL_ARB_transform_feedback2 1
4028#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
4029#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
4030#endif /* GL_ARB_transform_feedback2 */
4031
4032#ifndef GL_ARB_transform_feedback3
4033#define GL_ARB_transform_feedback3 1
4034#endif /* GL_ARB_transform_feedback3 */
4035
4036#ifndef GL_ARB_transform_feedback_instanced
4037#define GL_ARB_transform_feedback_instanced 1
4038#endif /* GL_ARB_transform_feedback_instanced */
4039
4040#ifndef GL_ARB_transpose_matrix
4041#define GL_ARB_transpose_matrix 1
4042#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
4043#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
4044#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
4045#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
4046typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4047typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4048typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4049typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4050#ifdef GL_GLEXT_PROTOTYPES
4051GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
4052GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
4053GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
4054GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
4055#endif
4056#endif /* GL_ARB_transpose_matrix */
4057
4058#ifndef GL_ARB_uniform_buffer_object
4059#define GL_ARB_uniform_buffer_object 1
4060#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
4061#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
4062#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
4063#endif /* GL_ARB_uniform_buffer_object */
4064
4065#ifndef GL_ARB_vertex_array_bgra
4066#define GL_ARB_vertex_array_bgra 1
4067#endif /* GL_ARB_vertex_array_bgra */
4068
4069#ifndef GL_ARB_vertex_array_object
4070#define GL_ARB_vertex_array_object 1
4071#endif /* GL_ARB_vertex_array_object */
4072
4073#ifndef GL_ARB_vertex_attrib_64bit
4074#define GL_ARB_vertex_attrib_64bit 1
4075#endif /* GL_ARB_vertex_attrib_64bit */
4076
4077#ifndef GL_ARB_vertex_attrib_binding
4078#define GL_ARB_vertex_attrib_binding 1
4079#endif /* GL_ARB_vertex_attrib_binding */
4080
4081#ifndef GL_ARB_vertex_blend
4082#define GL_ARB_vertex_blend 1
4083#define GL_MAX_VERTEX_UNITS_ARB 0x86A4
4084#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
4085#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
4086#define GL_VERTEX_BLEND_ARB 0x86A7
4087#define GL_CURRENT_WEIGHT_ARB 0x86A8
4088#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
4089#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
4090#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
4091#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
4092#define GL_WEIGHT_ARRAY_ARB 0x86AD
4093#define GL_MODELVIEW0_ARB 0x1700
4094#define GL_MODELVIEW1_ARB 0x850A
4095#define GL_MODELVIEW2_ARB 0x8722
4096#define GL_MODELVIEW3_ARB 0x8723
4097#define GL_MODELVIEW4_ARB 0x8724
4098#define GL_MODELVIEW5_ARB 0x8725
4099#define GL_MODELVIEW6_ARB 0x8726
4100#define GL_MODELVIEW7_ARB 0x8727
4101#define GL_MODELVIEW8_ARB 0x8728
4102#define GL_MODELVIEW9_ARB 0x8729
4103#define GL_MODELVIEW10_ARB 0x872A
4104#define GL_MODELVIEW11_ARB 0x872B
4105#define GL_MODELVIEW12_ARB 0x872C
4106#define GL_MODELVIEW13_ARB 0x872D
4107#define GL_MODELVIEW14_ARB 0x872E
4108#define GL_MODELVIEW15_ARB 0x872F
4109#define GL_MODELVIEW16_ARB 0x8730
4110#define GL_MODELVIEW17_ARB 0x8731
4111#define GL_MODELVIEW18_ARB 0x8732
4112#define GL_MODELVIEW19_ARB 0x8733
4113#define GL_MODELVIEW20_ARB 0x8734
4114#define GL_MODELVIEW21_ARB 0x8735
4115#define GL_MODELVIEW22_ARB 0x8736
4116#define GL_MODELVIEW23_ARB 0x8737
4117#define GL_MODELVIEW24_ARB 0x8738
4118#define GL_MODELVIEW25_ARB 0x8739
4119#define GL_MODELVIEW26_ARB 0x873A
4120#define GL_MODELVIEW27_ARB 0x873B
4121#define GL_MODELVIEW28_ARB 0x873C
4122#define GL_MODELVIEW29_ARB 0x873D
4123#define GL_MODELVIEW30_ARB 0x873E
4124#define GL_MODELVIEW31_ARB 0x873F
4125typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
4126typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
4127typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
4128typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
4129typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
4130typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
4131typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
4132typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
4133typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
4134typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
4135#ifdef GL_GLEXT_PROTOTYPES
4136GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
4137GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
4138GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
4139GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
4140GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
4141GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
4142GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
4143GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
4144GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
4145GLAPI void APIENTRY glVertexBlendARB (GLint count);
4146#endif
4147#endif /* GL_ARB_vertex_blend */
4148
4149#ifndef GL_ARB_vertex_buffer_object
4150#define GL_ARB_vertex_buffer_object 1
4151#ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */
4152typedef long GLsizeiptrARB;
4153typedef long GLintptrARB;
4154#else
4155typedef ptrdiff_t GLsizeiptrARB;
4156typedef ptrdiff_t GLintptrARB;
4157#endif
4158#define GL_BUFFER_SIZE_ARB 0x8764
4159#define GL_BUFFER_USAGE_ARB 0x8765
4160#define GL_ARRAY_BUFFER_ARB 0x8892
4161#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
4162#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
4163#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
4164#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
4165#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
4166#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
4167#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
4168#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
4169#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
4170#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
4171#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
4172#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
4173#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
4174#define GL_READ_ONLY_ARB 0x88B8
4175#define GL_WRITE_ONLY_ARB 0x88B9
4176#define GL_READ_WRITE_ARB 0x88BA
4177#define GL_BUFFER_ACCESS_ARB 0x88BB
4178#define GL_BUFFER_MAPPED_ARB 0x88BC
4179#define GL_BUFFER_MAP_POINTER_ARB 0x88BD
4180#define GL_STREAM_DRAW_ARB 0x88E0
4181#define GL_STREAM_READ_ARB 0x88E1
4182#define GL_STREAM_COPY_ARB 0x88E2
4183#define GL_STATIC_DRAW_ARB 0x88E4
4184#define GL_STATIC_READ_ARB 0x88E5
4185#define GL_STATIC_COPY_ARB 0x88E6
4186#define GL_DYNAMIC_DRAW_ARB 0x88E8
4187#define GL_DYNAMIC_READ_ARB 0x88E9
4188#define GL_DYNAMIC_COPY_ARB 0x88EA
4189typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
4190typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
4191typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
4192typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
4193typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4194typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4195typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4196typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
4197typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
4198typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
4199typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
4200#ifdef GL_GLEXT_PROTOTYPES
4201GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
4202GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
4203GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
4204GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
4205GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4206GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4207GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4208GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
4209GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
4210GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
4211GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
4212#endif
4213#endif /* GL_ARB_vertex_buffer_object */
4214
4215#ifndef GL_ARB_vertex_program
4216#define GL_ARB_vertex_program 1
4217#define GL_COLOR_SUM_ARB 0x8458
4218#define GL_VERTEX_PROGRAM_ARB 0x8620
4219#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
4220#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
4221#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
4222#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
4223#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
4224#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
4225#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
4226#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
4227#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
4228#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
4229#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
4230#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
4231#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
4232#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
4233typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
4234typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
4235typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
4236typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
4237typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
4238typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
4239typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
4240typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
4241typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
4242typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
4243typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
4244typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
4245typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4246typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
4247typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4248typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
4249typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
4250typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
4251typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
4252typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
4253typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
4254typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4255typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
4256typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
4257typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
4258typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
4259typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4260typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
4261typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4262typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
4263typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
4264typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4265typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
4266typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
4267typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
4268typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
4269typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4270typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4271typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4272typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
4273typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
4274typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
4275typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
4276#ifdef GL_GLEXT_PROTOTYPES
4277GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
4278GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
4279GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
4280GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
4281GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
4282GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
4283GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
4284GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
4285GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
4286GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
4287GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
4288GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
4289GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4290GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
4291GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4292GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
4293GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
4294GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
4295GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
4296GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
4297GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
4298GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4299GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
4300GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
4301GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
4302GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
4303GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4304GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
4305GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4306GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
4307GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
4308GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4309GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
4310GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
4311GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
4312GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
4313GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4314GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
4315GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
4316GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
4317GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
4318GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
4319GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
4320#endif
4321#endif /* GL_ARB_vertex_program */
4322
4323#ifndef GL_ARB_vertex_shader
4324#define GL_ARB_vertex_shader 1
4325#define GL_VERTEX_SHADER_ARB 0x8B31
4326#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
4327#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
4328#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
4329#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
4330#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
4331#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
4332typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4333typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4334typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4335#ifdef GL_GLEXT_PROTOTYPES
4336GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4337GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4338GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
4339#endif
4340#endif /* GL_ARB_vertex_shader */
4341
4342#ifndef GL_ARB_vertex_type_10f_11f_11f_rev
4343#define GL_ARB_vertex_type_10f_11f_11f_rev 1
4344#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
4345
4346#ifndef GL_ARB_vertex_type_2_10_10_10_rev
4347#define GL_ARB_vertex_type_2_10_10_10_rev 1
4348#endif /* GL_ARB_vertex_type_2_10_10_10_rev */
4349
4350#ifndef GL_ARB_viewport_array
4351#define GL_ARB_viewport_array 1
4352#endif /* GL_ARB_viewport_array */
4353
4354#ifndef GL_ARB_window_pos
4355#define GL_ARB_window_pos 1
4356typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
4357typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
4358typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
4359typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
4360typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
4361typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
4362typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
4363typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
4364typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
4365typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
4366typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
4367typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
4368typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
4369typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
4370typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
4371typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
4372#ifdef GL_GLEXT_PROTOTYPES
4373GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
4374GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
4375GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
4376GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
4377GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
4378GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
4379GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
4380GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
4381GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
4382GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
4383GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
4384GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
4385GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
4386GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
4387GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
4388GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
4389#endif
4390#endif /* GL_ARB_window_pos */
4391
4392#ifndef GL_KHR_debug
4393#define GL_KHR_debug 1
4394#endif /* GL_KHR_debug */
4395
4396#ifndef GL_KHR_texture_compression_astc_hdr
4397#define GL_KHR_texture_compression_astc_hdr 1
4398#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
4399#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
4400#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
4401#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
4402#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
4403#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
4404#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
4405#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
4406#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
4407#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
4408#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
4409#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
4410#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
4411#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
4412#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
4413#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
4414#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
4415#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
4416#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
4417#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
4418#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
4419#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
4420#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
4421#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
4422#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
4423#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
4424#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
4425#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
4426#endif /* GL_KHR_texture_compression_astc_hdr */
4427
4428#ifndef GL_KHR_texture_compression_astc_ldr
4429#define GL_KHR_texture_compression_astc_ldr 1
4430#endif /* GL_KHR_texture_compression_astc_ldr */
4431
4432#ifndef GL_OES_byte_coordinates
4433#define GL_OES_byte_coordinates 1
4434typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
4435typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
4436typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
4437typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
4438typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
4439typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
4440typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4441typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
4442typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
4443typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
4444typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
4445typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
4446typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
4447typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
4448typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4449typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
4450typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x);
4451typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
4452typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y);
4453typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
4454typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
4455typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
4456#ifdef GL_GLEXT_PROTOTYPES
4457GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
4458GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
4459GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
4460GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
4461GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
4462GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
4463GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4464GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
4465GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
4466GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
4467GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
4468GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
4469GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
4470GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
4471GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4472GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
4473GLAPI void APIENTRY glVertex2bOES (GLbyte x);
4474GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
4475GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y);
4476GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
4477GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z);
4478GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
4479#endif
4480#endif /* GL_OES_byte_coordinates */
4481
4482#ifndef GL_OES_compressed_paletted_texture
4483#define GL_OES_compressed_paletted_texture 1
4484#define GL_PALETTE4_RGB8_OES 0x8B90
4485#define GL_PALETTE4_RGBA8_OES 0x8B91
4486#define GL_PALETTE4_R5_G6_B5_OES 0x8B92
4487#define GL_PALETTE4_RGBA4_OES 0x8B93
4488#define GL_PALETTE4_RGB5_A1_OES 0x8B94
4489#define GL_PALETTE8_RGB8_OES 0x8B95
4490#define GL_PALETTE8_RGBA8_OES 0x8B96
4491#define GL_PALETTE8_R5_G6_B5_OES 0x8B97
4492#define GL_PALETTE8_RGBA4_OES 0x8B98
4493#define GL_PALETTE8_RGB5_A1_OES 0x8B99
4494#endif /* GL_OES_compressed_paletted_texture */
4495
4496#ifndef GL_OES_fixed_point
4497#define GL_OES_fixed_point 1
4498typedef GLint GLfixed;
4499#define GL_FIXED_OES 0x140C
4500typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
4501typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4502typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
4503typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
4504typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4505typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
4506typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
4507typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
4508typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4509typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
4510typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
4511typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4512typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4513typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
4514typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
4515typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
4516typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
4517typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
4518typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
4519typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
4520typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
4521typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
4522typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
4523typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
4524typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4525typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
4526typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
4527typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
4528typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4529typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
4530typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4531typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4532typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
4533typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4534typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
4535typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4536typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
4537typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
4538typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4539typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4540typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
4541typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
4542typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
4543typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4544typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
4545typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
4546typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
4547typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
4548typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
4549typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
4550typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4551typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
4552typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
4553typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
4554typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
4555typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
4556typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
4557typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
4558typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
4559typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
4560typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
4561typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
4562typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
4563typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
4564typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
4565typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
4566typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
4567typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
4568typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
4569typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
4570typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
4571typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
4572typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
4573typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
4574typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
4575typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
4576typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
4577typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
4578typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
4579typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
4580typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
4581typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
4582typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4583typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
4584typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
4585typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
4586typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
4587typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
4588typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
4589typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
4590typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
4591typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
4592typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
4593typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
4594typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
4595typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
4596typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
4597typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
4598typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
4599typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
4600typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
4601typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
4602typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4603typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
4604#ifdef GL_GLEXT_PROTOTYPES
4605GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
4606GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4607GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
4608GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
4609GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4610GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
4611GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
4612GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
4613GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4614GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
4615GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
4616GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
4617GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
4618GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
4619GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
4620GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
4621GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
4622GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
4623GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
4624GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
4625GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
4626GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
4627GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
4628GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
4629GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
4630GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
4631GLAPI void APIENTRY glPointSizexOES (GLfixed size);
4632GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
4633GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4634GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
4635GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
4636GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
4637GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
4638GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
4639GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
4640GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
4641GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
4642GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
4643GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4644GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
4645GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
4646GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
4647GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
4648GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
4649GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
4650GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
4651GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
4652GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
4653GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
4654GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
4655GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
4656GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
4657GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
4658GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
4659GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
4660GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
4661GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
4662GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
4663GLAPI void APIENTRY glIndexxOES (GLfixed component);
4664GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
4665GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
4666GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
4667GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
4668GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
4669GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
4670GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
4671GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
4672GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
4673GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
4674GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
4675GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
4676GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
4677GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
4678GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
4679GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
4680GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
4681GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
4682GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
4683GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
4684GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
4685GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
4686GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
4687GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
4688GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
4689GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
4690GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
4691GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
4692GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
4693GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
4694GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
4695GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
4696GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
4697GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
4698GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
4699GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
4700GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
4701GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
4702GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
4703GLAPI void APIENTRY glVertex2xOES (GLfixed x);
4704GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
4705GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
4706GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
4707GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
4708GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
4709#endif
4710#endif /* GL_OES_fixed_point */
4711
4712#ifndef GL_OES_query_matrix
4713#define GL_OES_query_matrix 1
4714typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
4715#ifdef GL_GLEXT_PROTOTYPES
4716GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
4717#endif
4718#endif /* GL_OES_query_matrix */
4719
4720#ifndef GL_OES_read_format
4721#define GL_OES_read_format 1
4722#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
4723#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
4724#endif /* GL_OES_read_format */
4725
4726#ifndef GL_OES_single_precision
4727#define GL_OES_single_precision 1
4728typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
4729typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
4730typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
4731typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
4732typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
4733typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
4734#ifdef GL_GLEXT_PROTOTYPES
4735GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
4736GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
4737GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
4738GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
4739GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
4740GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
4741#endif
4742#endif /* GL_OES_single_precision */
4743
4744#ifndef GL_3DFX_multisample
4745#define GL_3DFX_multisample 1
4746#define GL_MULTISAMPLE_3DFX 0x86B2
4747#define GL_SAMPLE_BUFFERS_3DFX 0x86B3
4748#define GL_SAMPLES_3DFX 0x86B4
4749#define GL_MULTISAMPLE_BIT_3DFX 0x20000000
4750#endif /* GL_3DFX_multisample */
4751
4752#ifndef GL_3DFX_tbuffer
4753#define GL_3DFX_tbuffer 1
4754typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
4755#ifdef GL_GLEXT_PROTOTYPES
4756GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
4757#endif
4758#endif /* GL_3DFX_tbuffer */
4759
4760#ifndef GL_3DFX_texture_compression_FXT1
4761#define GL_3DFX_texture_compression_FXT1 1
4762#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
4763#define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
4764#endif /* GL_3DFX_texture_compression_FXT1 */
4765
4766#ifndef GL_AMD_blend_minmax_factor
4767#define GL_AMD_blend_minmax_factor 1
4768#define GL_FACTOR_MIN_AMD 0x901C
4769#define GL_FACTOR_MAX_AMD 0x901D
4770#endif /* GL_AMD_blend_minmax_factor */
4771
4772#ifndef GL_AMD_conservative_depth
4773#define GL_AMD_conservative_depth 1
4774#endif /* GL_AMD_conservative_depth */
4775
4776#ifndef GL_AMD_debug_output
4777#define GL_AMD_debug_output 1
4778typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
4779#define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
4780#define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
4781#define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
4782#define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
4783#define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
4784#define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
4785#define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
4786#define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
4787#define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
4788#define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
4789#define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
4790#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
4791#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
4792#define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
4793typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
4794typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
4795typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
4796typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
4797#ifdef GL_GLEXT_PROTOTYPES
4798GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
4799GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
4800GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
4801GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
4802#endif
4803#endif /* GL_AMD_debug_output */
4804
4805#ifndef GL_AMD_depth_clamp_separate
4806#define GL_AMD_depth_clamp_separate 1
4807#define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
4808#define GL_DEPTH_CLAMP_FAR_AMD 0x901F
4809#endif /* GL_AMD_depth_clamp_separate */
4810
4811#ifndef GL_AMD_draw_buffers_blend
4812#define GL_AMD_draw_buffers_blend 1
4813typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
4814typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
4815typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
4816typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
4817#ifdef GL_GLEXT_PROTOTYPES
4818GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
4819GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
4820GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
4821GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
4822#endif
4823#endif /* GL_AMD_draw_buffers_blend */
4824
4825#ifndef GL_AMD_gcn_shader
4826#define GL_AMD_gcn_shader 1
4827#endif /* GL_AMD_gcn_shader */
4828
4829#ifndef GL_AMD_gpu_shader_int64
4830#define GL_AMD_gpu_shader_int64 1
4831typedef int64_t GLint64EXT;
4832#define GL_INT64_NV 0x140E
4833#define GL_UNSIGNED_INT64_NV 0x140F
4834#define GL_INT8_NV 0x8FE0
4835#define GL_INT8_VEC2_NV 0x8FE1
4836#define GL_INT8_VEC3_NV 0x8FE2
4837#define GL_INT8_VEC4_NV 0x8FE3
4838#define GL_INT16_NV 0x8FE4
4839#define GL_INT16_VEC2_NV 0x8FE5
4840#define GL_INT16_VEC3_NV 0x8FE6
4841#define GL_INT16_VEC4_NV 0x8FE7
4842#define GL_INT64_VEC2_NV 0x8FE9
4843#define GL_INT64_VEC3_NV 0x8FEA
4844#define GL_INT64_VEC4_NV 0x8FEB
4845#define GL_UNSIGNED_INT8_NV 0x8FEC
4846#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
4847#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
4848#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
4849#define GL_UNSIGNED_INT16_NV 0x8FF0
4850#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
4851#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
4852#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
4853#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
4854#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
4855#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
4856#define GL_FLOAT16_NV 0x8FF8
4857#define GL_FLOAT16_VEC2_NV 0x8FF9
4858#define GL_FLOAT16_VEC3_NV 0x8FFA
4859#define GL_FLOAT16_VEC4_NV 0x8FFB
4860typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
4861typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
4862typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
4863typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
4864typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
4865typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
4866typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
4867typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
4868typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
4869typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
4870typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
4871typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
4872typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
4873typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
4874typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
4875typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
4876typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
4877typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
4878typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
4879typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
4880typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
4881typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
4882typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
4883typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
4884typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
4885typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
4886typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
4887typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
4888typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
4889typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
4890typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
4891typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
4892typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
4893typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
4894#ifdef GL_GLEXT_PROTOTYPES
4895GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
4896GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
4897GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
4898GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
4899GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
4900GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
4901GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
4902GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
4903GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
4904GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
4905GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
4906GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
4907GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
4908GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
4909GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
4910GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
4911GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
4912GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
4913GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
4914GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
4915GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
4916GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
4917GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
4918GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
4919GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
4920GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
4921GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
4922GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
4923GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
4924GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
4925GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
4926GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
4927GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
4928GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
4929#endif
4930#endif /* GL_AMD_gpu_shader_int64 */
4931
4932#ifndef GL_AMD_interleaved_elements
4933#define GL_AMD_interleaved_elements 1
4934#define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4
4935#define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5
4936typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
4937#ifdef GL_GLEXT_PROTOTYPES
4938GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
4939#endif
4940#endif /* GL_AMD_interleaved_elements */
4941
4942#ifndef GL_AMD_multi_draw_indirect
4943#define GL_AMD_multi_draw_indirect 1
4944typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
4945typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
4946#ifdef GL_GLEXT_PROTOTYPES
4947GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
4948GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
4949#endif
4950#endif /* GL_AMD_multi_draw_indirect */
4951
4952#ifndef GL_AMD_name_gen_delete
4953#define GL_AMD_name_gen_delete 1
4954#define GL_DATA_BUFFER_AMD 0x9151
4955#define GL_PERFORMANCE_MONITOR_AMD 0x9152
4956#define GL_QUERY_OBJECT_AMD 0x9153
4957#define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
4958#define GL_SAMPLER_OBJECT_AMD 0x9155
4959typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
4960typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
4961typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
4962#ifdef GL_GLEXT_PROTOTYPES
4963GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
4964GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
4965GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
4966#endif
4967#endif /* GL_AMD_name_gen_delete */
4968
4969#ifndef GL_AMD_occlusion_query_event
4970#define GL_AMD_occlusion_query_event 1
4971#define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
4972#define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
4973#define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
4974#define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
4975#define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
4976#define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF
4977typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
4978#ifdef GL_GLEXT_PROTOTYPES
4979GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
4980#endif
4981#endif /* GL_AMD_occlusion_query_event */
4982
4983#ifndef GL_AMD_performance_monitor
4984#define GL_AMD_performance_monitor 1
4985#define GL_COUNTER_TYPE_AMD 0x8BC0
4986#define GL_COUNTER_RANGE_AMD 0x8BC1
4987#define GL_UNSIGNED_INT64_AMD 0x8BC2
4988#define GL_PERCENTAGE_AMD 0x8BC3
4989#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
4990#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
4991#define GL_PERFMON_RESULT_AMD 0x8BC6
4992typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
4993typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
4994typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
4995typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
4996typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
4997typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
4998typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
4999typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5000typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
5001typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
5002typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5003#ifdef GL_GLEXT_PROTOTYPES
5004GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
5005GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
5006GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
5007GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
5008GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
5009GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
5010GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
5011GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5012GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
5013GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
5014GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5015#endif
5016#endif /* GL_AMD_performance_monitor */
5017
5018#ifndef GL_AMD_pinned_memory
5019#define GL_AMD_pinned_memory 1
5020#define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
5021#endif /* GL_AMD_pinned_memory */
5022
5023#ifndef GL_AMD_query_buffer_object
5024#define GL_AMD_query_buffer_object 1
5025#define GL_QUERY_BUFFER_AMD 0x9192
5026#define GL_QUERY_BUFFER_BINDING_AMD 0x9193
5027#define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
5028#endif /* GL_AMD_query_buffer_object */
5029
5030#ifndef GL_AMD_sample_positions
5031#define GL_AMD_sample_positions 1
5032#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
5033typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
5034#ifdef GL_GLEXT_PROTOTYPES
5035GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
5036#endif
5037#endif /* GL_AMD_sample_positions */
5038
5039#ifndef GL_AMD_seamless_cubemap_per_texture
5040#define GL_AMD_seamless_cubemap_per_texture 1
5041#endif /* GL_AMD_seamless_cubemap_per_texture */
5042
5043#ifndef GL_AMD_shader_atomic_counter_ops
5044#define GL_AMD_shader_atomic_counter_ops 1
5045#endif /* GL_AMD_shader_atomic_counter_ops */
5046
5047#ifndef GL_AMD_shader_stencil_export
5048#define GL_AMD_shader_stencil_export 1
5049#endif /* GL_AMD_shader_stencil_export */
5050
5051#ifndef GL_AMD_shader_trinary_minmax
5052#define GL_AMD_shader_trinary_minmax 1
5053#endif /* GL_AMD_shader_trinary_minmax */
5054
5055#ifndef GL_AMD_sparse_texture
5056#define GL_AMD_sparse_texture 1
5057#define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
5058#define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
5059#define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
5060#define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
5061#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
5062#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
5063#define GL_MIN_SPARSE_LEVEL_AMD 0x919B
5064#define GL_MIN_LOD_WARNING_AMD 0x919C
5065#define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
5066typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5067typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5068#ifdef GL_GLEXT_PROTOTYPES
5069GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5070GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5071#endif
5072#endif /* GL_AMD_sparse_texture */
5073
5074#ifndef GL_AMD_stencil_operation_extended
5075#define GL_AMD_stencil_operation_extended 1
5076#define GL_SET_AMD 0x874A
5077#define GL_REPLACE_VALUE_AMD 0x874B
5078#define GL_STENCIL_OP_VALUE_AMD 0x874C
5079#define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
5080typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
5081#ifdef GL_GLEXT_PROTOTYPES
5082GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
5083#endif
5084#endif /* GL_AMD_stencil_operation_extended */
5085
5086#ifndef GL_AMD_texture_texture4
5087#define GL_AMD_texture_texture4 1
5088#endif /* GL_AMD_texture_texture4 */
5089
5090#ifndef GL_AMD_transform_feedback3_lines_triangles
5091#define GL_AMD_transform_feedback3_lines_triangles 1
5092#endif /* GL_AMD_transform_feedback3_lines_triangles */
5093
5094#ifndef GL_AMD_transform_feedback4
5095#define GL_AMD_transform_feedback4 1
5096#define GL_STREAM_RASTERIZATION_AMD 0x91A0
5097#endif /* GL_AMD_transform_feedback4 */
5098
5099#ifndef GL_AMD_vertex_shader_layer
5100#define GL_AMD_vertex_shader_layer 1
5101#endif /* GL_AMD_vertex_shader_layer */
5102
5103#ifndef GL_AMD_vertex_shader_tessellator
5104#define GL_AMD_vertex_shader_tessellator 1
5105#define GL_SAMPLER_BUFFER_AMD 0x9001
5106#define GL_INT_SAMPLER_BUFFER_AMD 0x9002
5107#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
5108#define GL_TESSELLATION_MODE_AMD 0x9004
5109#define GL_TESSELLATION_FACTOR_AMD 0x9005
5110#define GL_DISCRETE_AMD 0x9006
5111#define GL_CONTINUOUS_AMD 0x9007
5112typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
5113typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
5114#ifdef GL_GLEXT_PROTOTYPES
5115GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
5116GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
5117#endif
5118#endif /* GL_AMD_vertex_shader_tessellator */
5119
5120#ifndef GL_AMD_vertex_shader_viewport_index
5121#define GL_AMD_vertex_shader_viewport_index 1
5122#endif /* GL_AMD_vertex_shader_viewport_index */
5123
5124#ifndef GL_APPLE_aux_depth_stencil
5125#define GL_APPLE_aux_depth_stencil 1
5126#define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
5127#endif /* GL_APPLE_aux_depth_stencil */
5128
5129#ifndef GL_APPLE_client_storage
5130#define GL_APPLE_client_storage 1
5131#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
5132#endif /* GL_APPLE_client_storage */
5133
5134#ifndef GL_APPLE_element_array
5135#define GL_APPLE_element_array 1
5136#define GL_ELEMENT_ARRAY_APPLE 0x8A0C
5137#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
5138#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
5139typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
5140typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
5141typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5142typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5143typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5144#ifdef GL_GLEXT_PROTOTYPES
5145GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
5146GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
5147GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5148GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5149GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5150#endif
5151#endif /* GL_APPLE_element_array */
5152
5153#ifndef GL_APPLE_fence
5154#define GL_APPLE_fence 1
5155#define GL_DRAW_PIXELS_APPLE 0x8A0A
5156#define GL_FENCE_APPLE 0x8A0B
5157typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
5158typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
5159typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
5160typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
5161typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
5162typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
5163typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
5164typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
5165#ifdef GL_GLEXT_PROTOTYPES
5166GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
5167GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
5168GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
5169GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
5170GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
5171GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
5172GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
5173GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
5174#endif
5175#endif /* GL_APPLE_fence */
5176
5177#ifndef GL_APPLE_float_pixels
5178#define GL_APPLE_float_pixels 1
5179#define GL_HALF_APPLE 0x140B
5180#define GL_RGBA_FLOAT32_APPLE 0x8814
5181#define GL_RGB_FLOAT32_APPLE 0x8815
5182#define GL_ALPHA_FLOAT32_APPLE 0x8816
5183#define GL_INTENSITY_FLOAT32_APPLE 0x8817
5184#define GL_LUMINANCE_FLOAT32_APPLE 0x8818
5185#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
5186#define GL_RGBA_FLOAT16_APPLE 0x881A
5187#define GL_RGB_FLOAT16_APPLE 0x881B
5188#define GL_ALPHA_FLOAT16_APPLE 0x881C
5189#define GL_INTENSITY_FLOAT16_APPLE 0x881D
5190#define GL_LUMINANCE_FLOAT16_APPLE 0x881E
5191#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
5192#define GL_COLOR_FLOAT_APPLE 0x8A0F
5193#endif /* GL_APPLE_float_pixels */
5194
5195#ifndef GL_APPLE_flush_buffer_range
5196#define GL_APPLE_flush_buffer_range 1
5197#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
5198#define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
5199typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
5200typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
5201#ifdef GL_GLEXT_PROTOTYPES
5202GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
5203GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
5204#endif
5205#endif /* GL_APPLE_flush_buffer_range */
5206
5207#ifndef GL_APPLE_object_purgeable
5208#define GL_APPLE_object_purgeable 1
5209#define GL_BUFFER_OBJECT_APPLE 0x85B3
5210#define GL_RELEASED_APPLE 0x8A19
5211#define GL_VOLATILE_APPLE 0x8A1A
5212#define GL_RETAINED_APPLE 0x8A1B
5213#define GL_UNDEFINED_APPLE 0x8A1C
5214#define GL_PURGEABLE_APPLE 0x8A1D
5215typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5216typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5217typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5218#ifdef GL_GLEXT_PROTOTYPES
5219GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5220GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5221GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5222#endif
5223#endif /* GL_APPLE_object_purgeable */
5224
5225#ifndef GL_APPLE_rgb_422
5226#define GL_APPLE_rgb_422 1
5227#define GL_RGB_422_APPLE 0x8A1F
5228#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
5229#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
5230#define GL_RGB_RAW_422_APPLE 0x8A51
5231#endif /* GL_APPLE_rgb_422 */
5232
5233#ifndef GL_APPLE_row_bytes
5234#define GL_APPLE_row_bytes 1
5235#define GL_PACK_ROW_BYTES_APPLE 0x8A15
5236#define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
5237#endif /* GL_APPLE_row_bytes */
5238
5239#ifndef GL_APPLE_specular_vector
5240#define GL_APPLE_specular_vector 1
5241#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
5242#endif /* GL_APPLE_specular_vector */
5243
5244#ifndef GL_APPLE_texture_range
5245#define GL_APPLE_texture_range 1
5246#define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
5247#define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
5248#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
5249#define GL_STORAGE_PRIVATE_APPLE 0x85BD
5250#define GL_STORAGE_CACHED_APPLE 0x85BE
5251#define GL_STORAGE_SHARED_APPLE 0x85BF
5252typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
5253typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
5254#ifdef GL_GLEXT_PROTOTYPES
5255GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
5256GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
5257#endif
5258#endif /* GL_APPLE_texture_range */
5259
5260#ifndef GL_APPLE_transform_hint
5261#define GL_APPLE_transform_hint 1
5262#define GL_TRANSFORM_HINT_APPLE 0x85B1
5263#endif /* GL_APPLE_transform_hint */
5264
5265#ifndef GL_APPLE_vertex_array_object
5266#define GL_APPLE_vertex_array_object 1
5267#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
5268typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
5269typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
5270typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
5271typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
5272#ifdef GL_GLEXT_PROTOTYPES
5273GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
5274GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
5275GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
5276GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
5277#endif
5278#endif /* GL_APPLE_vertex_array_object */
5279
5280#ifndef GL_APPLE_vertex_array_range
5281#define GL_APPLE_vertex_array_range 1
5282#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
5283#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
5284#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
5285#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
5286#define GL_STORAGE_CLIENT_APPLE 0x85B4
5287typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5288typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5289typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
5290#ifdef GL_GLEXT_PROTOTYPES
5291GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5292GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5293GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
5294#endif
5295#endif /* GL_APPLE_vertex_array_range */
5296
5297#ifndef GL_APPLE_vertex_program_evaluators
5298#define GL_APPLE_vertex_program_evaluators 1
5299#define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
5300#define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
5301#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
5302#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
5303#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
5304#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
5305#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
5306#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
5307#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
5308#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
5309typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
5310typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
5311typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
5312typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
5313typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
5314typedef 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);
5315typedef 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);
5316#ifdef GL_GLEXT_PROTOTYPES
5317GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
5318GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
5319GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
5320GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
5321GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
5322GLAPI 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);
5323GLAPI 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);
5324#endif
5325#endif /* GL_APPLE_vertex_program_evaluators */
5326
5327#ifndef GL_APPLE_ycbcr_422
5328#define GL_APPLE_ycbcr_422 1
5329#define GL_YCBCR_422_APPLE 0x85B9
5330#endif /* GL_APPLE_ycbcr_422 */
5331
5332#ifndef GL_ATI_draw_buffers
5333#define GL_ATI_draw_buffers 1
5334#define GL_MAX_DRAW_BUFFERS_ATI 0x8824
5335#define GL_DRAW_BUFFER0_ATI 0x8825
5336#define GL_DRAW_BUFFER1_ATI 0x8826
5337#define GL_DRAW_BUFFER2_ATI 0x8827
5338#define GL_DRAW_BUFFER3_ATI 0x8828
5339#define GL_DRAW_BUFFER4_ATI 0x8829
5340#define GL_DRAW_BUFFER5_ATI 0x882A
5341#define GL_DRAW_BUFFER6_ATI 0x882B
5342#define GL_DRAW_BUFFER7_ATI 0x882C
5343#define GL_DRAW_BUFFER8_ATI 0x882D
5344#define GL_DRAW_BUFFER9_ATI 0x882E
5345#define GL_DRAW_BUFFER10_ATI 0x882F
5346#define GL_DRAW_BUFFER11_ATI 0x8830
5347#define GL_DRAW_BUFFER12_ATI 0x8831
5348#define GL_DRAW_BUFFER13_ATI 0x8832
5349#define GL_DRAW_BUFFER14_ATI 0x8833
5350#define GL_DRAW_BUFFER15_ATI 0x8834
5351typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
5352#ifdef GL_GLEXT_PROTOTYPES
5353GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
5354#endif
5355#endif /* GL_ATI_draw_buffers */
5356
5357#ifndef GL_ATI_element_array
5358#define GL_ATI_element_array 1
5359#define GL_ELEMENT_ARRAY_ATI 0x8768
5360#define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
5361#define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
5362typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
5363typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
5364typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
5365#ifdef GL_GLEXT_PROTOTYPES
5366GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
5367GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
5368GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
5369#endif
5370#endif /* GL_ATI_element_array */
5371
5372#ifndef GL_ATI_envmap_bumpmap
5373#define GL_ATI_envmap_bumpmap 1
5374#define GL_BUMP_ROT_MATRIX_ATI 0x8775
5375#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
5376#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
5377#define GL_BUMP_TEX_UNITS_ATI 0x8778
5378#define GL_DUDV_ATI 0x8779
5379#define GL_DU8DV8_ATI 0x877A
5380#define GL_BUMP_ENVMAP_ATI 0x877B
5381#define GL_BUMP_TARGET_ATI 0x877C
5382typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
5383typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
5384typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
5385typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
5386#ifdef GL_GLEXT_PROTOTYPES
5387GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
5388GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
5389GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
5390GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
5391#endif
5392#endif /* GL_ATI_envmap_bumpmap */
5393
5394#ifndef GL_ATI_fragment_shader
5395#define GL_ATI_fragment_shader 1
5396#define GL_FRAGMENT_SHADER_ATI 0x8920
5397#define GL_REG_0_ATI 0x8921
5398#define GL_REG_1_ATI 0x8922
5399#define GL_REG_2_ATI 0x8923
5400#define GL_REG_3_ATI 0x8924
5401#define GL_REG_4_ATI 0x8925
5402#define GL_REG_5_ATI 0x8926
5403#define GL_REG_6_ATI 0x8927
5404#define GL_REG_7_ATI 0x8928
5405#define GL_REG_8_ATI 0x8929
5406#define GL_REG_9_ATI 0x892A
5407#define GL_REG_10_ATI 0x892B
5408#define GL_REG_11_ATI 0x892C
5409#define GL_REG_12_ATI 0x892D
5410#define GL_REG_13_ATI 0x892E
5411#define GL_REG_14_ATI 0x892F
5412#define GL_REG_15_ATI 0x8930
5413#define GL_REG_16_ATI 0x8931
5414#define GL_REG_17_ATI 0x8932
5415#define GL_REG_18_ATI 0x8933
5416#define GL_REG_19_ATI 0x8934
5417#define GL_REG_20_ATI 0x8935
5418#define GL_REG_21_ATI 0x8936
5419#define GL_REG_22_ATI 0x8937
5420#define GL_REG_23_ATI 0x8938
5421#define GL_REG_24_ATI 0x8939
5422#define GL_REG_25_ATI 0x893A
5423#define GL_REG_26_ATI 0x893B
5424#define GL_REG_27_ATI 0x893C
5425#define GL_REG_28_ATI 0x893D
5426#define GL_REG_29_ATI 0x893E
5427#define GL_REG_30_ATI 0x893F
5428#define GL_REG_31_ATI 0x8940
5429#define GL_CON_0_ATI 0x8941
5430#define GL_CON_1_ATI 0x8942
5431#define GL_CON_2_ATI 0x8943
5432#define GL_CON_3_ATI 0x8944
5433#define GL_CON_4_ATI 0x8945
5434#define GL_CON_5_ATI 0x8946
5435#define GL_CON_6_ATI 0x8947
5436#define GL_CON_7_ATI 0x8948
5437#define GL_CON_8_ATI 0x8949
5438#define GL_CON_9_ATI 0x894A
5439#define GL_CON_10_ATI 0x894B
5440#define GL_CON_11_ATI 0x894C
5441#define GL_CON_12_ATI 0x894D
5442#define GL_CON_13_ATI 0x894E
5443#define GL_CON_14_ATI 0x894F
5444#define GL_CON_15_ATI 0x8950
5445#define GL_CON_16_ATI 0x8951
5446#define GL_CON_17_ATI 0x8952
5447#define GL_CON_18_ATI 0x8953
5448#define GL_CON_19_ATI 0x8954
5449#define GL_CON_20_ATI 0x8955
5450#define GL_CON_21_ATI 0x8956
5451#define GL_CON_22_ATI 0x8957
5452#define GL_CON_23_ATI 0x8958
5453#define GL_CON_24_ATI 0x8959
5454#define GL_CON_25_ATI 0x895A
5455#define GL_CON_26_ATI 0x895B
5456#define GL_CON_27_ATI 0x895C
5457#define GL_CON_28_ATI 0x895D
5458#define GL_CON_29_ATI 0x895E
5459#define GL_CON_30_ATI 0x895F
5460#define GL_CON_31_ATI 0x8960
5461#define GL_MOV_ATI 0x8961
5462#define GL_ADD_ATI 0x8963
5463#define GL_MUL_ATI 0x8964
5464#define GL_SUB_ATI 0x8965
5465#define GL_DOT3_ATI 0x8966
5466#define GL_DOT4_ATI 0x8967
5467#define GL_MAD_ATI 0x8968
5468#define GL_LERP_ATI 0x8969
5469#define GL_CND_ATI 0x896A
5470#define GL_CND0_ATI 0x896B
5471#define GL_DOT2_ADD_ATI 0x896C
5472#define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
5473#define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
5474#define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
5475#define GL_NUM_PASSES_ATI 0x8970
5476#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
5477#define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
5478#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
5479#define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
5480#define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
5481#define GL_SWIZZLE_STR_ATI 0x8976
5482#define GL_SWIZZLE_STQ_ATI 0x8977
5483#define GL_SWIZZLE_STR_DR_ATI 0x8978
5484#define GL_SWIZZLE_STQ_DQ_ATI 0x8979
5485#define GL_SWIZZLE_STRQ_ATI 0x897A
5486#define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
5487#define GL_RED_BIT_ATI 0x00000001
5488#define GL_GREEN_BIT_ATI 0x00000002
5489#define GL_BLUE_BIT_ATI 0x00000004
5490#define GL_2X_BIT_ATI 0x00000001
5491#define GL_4X_BIT_ATI 0x00000002
5492#define GL_8X_BIT_ATI 0x00000004
5493#define GL_HALF_BIT_ATI 0x00000008
5494#define GL_QUARTER_BIT_ATI 0x00000010
5495#define GL_EIGHTH_BIT_ATI 0x00000020
5496#define GL_SATURATE_BIT_ATI 0x00000040
5497#define GL_COMP_BIT_ATI 0x00000002
5498#define GL_NEGATE_BIT_ATI 0x00000004
5499#define GL_BIAS_BIT_ATI 0x00000008
5500typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
5501typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
5502typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
5503typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
5504typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
5505typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
5506typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
5507typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5508typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5509typedef 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);
5510typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5511typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5512typedef 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);
5513typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
5514#ifdef GL_GLEXT_PROTOTYPES
5515GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
5516GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
5517GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
5518GLAPI void APIENTRY glBeginFragmentShaderATI (void);
5519GLAPI void APIENTRY glEndFragmentShaderATI (void);
5520GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
5521GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
5522GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5523GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5524GLAPI 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);
5525GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5526GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5527GLAPI 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);
5528GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
5529#endif
5530#endif /* GL_ATI_fragment_shader */
5531
5532#ifndef GL_ATI_map_object_buffer
5533#define GL_ATI_map_object_buffer 1
5534typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
5535typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
5536#ifdef GL_GLEXT_PROTOTYPES
5537GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
5538GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
5539#endif
5540#endif /* GL_ATI_map_object_buffer */
5541
5542#ifndef GL_ATI_meminfo
5543#define GL_ATI_meminfo 1
5544#define GL_VBO_FREE_MEMORY_ATI 0x87FB
5545#define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
5546#define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
5547#endif /* GL_ATI_meminfo */
5548
5549#ifndef GL_ATI_pixel_format_float
5550#define GL_ATI_pixel_format_float 1
5551#define GL_RGBA_FLOAT_MODE_ATI 0x8820
5552#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
5553#endif /* GL_ATI_pixel_format_float */
5554
5555#ifndef GL_ATI_pn_triangles
5556#define GL_ATI_pn_triangles 1
5557#define GL_PN_TRIANGLES_ATI 0x87F0
5558#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
5559#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
5560#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
5561#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
5562#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
5563#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
5564#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
5565#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
5566typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
5567typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
5568#ifdef GL_GLEXT_PROTOTYPES
5569GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
5570GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
5571#endif
5572#endif /* GL_ATI_pn_triangles */
5573
5574#ifndef GL_ATI_separate_stencil
5575#define GL_ATI_separate_stencil 1
5576#define GL_STENCIL_BACK_FUNC_ATI 0x8800
5577#define GL_STENCIL_BACK_FAIL_ATI 0x8801
5578#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
5579#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
5580typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
5581typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
5582#ifdef GL_GLEXT_PROTOTYPES
5583GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
5584GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
5585#endif
5586#endif /* GL_ATI_separate_stencil */
5587
5588#ifndef GL_ATI_text_fragment_shader
5589#define GL_ATI_text_fragment_shader 1
5590#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
5591#endif /* GL_ATI_text_fragment_shader */
5592
5593#ifndef GL_ATI_texture_env_combine3
5594#define GL_ATI_texture_env_combine3 1
5595#define GL_MODULATE_ADD_ATI 0x8744
5596#define GL_MODULATE_SIGNED_ADD_ATI 0x8745
5597#define GL_MODULATE_SUBTRACT_ATI 0x8746
5598#endif /* GL_ATI_texture_env_combine3 */
5599
5600#ifndef GL_ATI_texture_float
5601#define GL_ATI_texture_float 1
5602#define GL_RGBA_FLOAT32_ATI 0x8814
5603#define GL_RGB_FLOAT32_ATI 0x8815
5604#define GL_ALPHA_FLOAT32_ATI 0x8816
5605#define GL_INTENSITY_FLOAT32_ATI 0x8817
5606#define GL_LUMINANCE_FLOAT32_ATI 0x8818
5607#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
5608#define GL_RGBA_FLOAT16_ATI 0x881A
5609#define GL_RGB_FLOAT16_ATI 0x881B
5610#define GL_ALPHA_FLOAT16_ATI 0x881C
5611#define GL_INTENSITY_FLOAT16_ATI 0x881D
5612#define GL_LUMINANCE_FLOAT16_ATI 0x881E
5613#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
5614#endif /* GL_ATI_texture_float */
5615
5616#ifndef GL_ATI_texture_mirror_once
5617#define GL_ATI_texture_mirror_once 1
5618#define GL_MIRROR_CLAMP_ATI 0x8742
5619#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
5620#endif /* GL_ATI_texture_mirror_once */
5621
5622#ifndef GL_ATI_vertex_array_object
5623#define GL_ATI_vertex_array_object 1
5624#define GL_STATIC_ATI 0x8760
5625#define GL_DYNAMIC_ATI 0x8761
5626#define GL_PRESERVE_ATI 0x8762
5627#define GL_DISCARD_ATI 0x8763
5628#define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
5629#define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
5630#define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
5631#define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
5632typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
5633typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
5634typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
5635typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
5636typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
5637typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
5638typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
5639typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
5640typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
5641typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
5642typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
5643typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
5644#ifdef GL_GLEXT_PROTOTYPES
5645GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
5646GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
5647GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
5648GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
5649GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
5650GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
5651GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
5652GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
5653GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
5654GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
5655GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
5656GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
5657#endif
5658#endif /* GL_ATI_vertex_array_object */
5659
5660#ifndef GL_ATI_vertex_attrib_array_object
5661#define GL_ATI_vertex_attrib_array_object 1
5662typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
5663typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
5664typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
5665#ifdef GL_GLEXT_PROTOTYPES
5666GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
5667GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
5668GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
5669#endif
5670#endif /* GL_ATI_vertex_attrib_array_object */
5671
5672#ifndef GL_ATI_vertex_streams
5673#define GL_ATI_vertex_streams 1
5674#define GL_MAX_VERTEX_STREAMS_ATI 0x876B
5675#define GL_VERTEX_STREAM0_ATI 0x876C
5676#define GL_VERTEX_STREAM1_ATI 0x876D
5677#define GL_VERTEX_STREAM2_ATI 0x876E
5678#define GL_VERTEX_STREAM3_ATI 0x876F
5679#define GL_VERTEX_STREAM4_ATI 0x8770
5680#define GL_VERTEX_STREAM5_ATI 0x8771
5681#define GL_VERTEX_STREAM6_ATI 0x8772
5682#define GL_VERTEX_STREAM7_ATI 0x8773
5683#define GL_VERTEX_SOURCE_ATI 0x8774
5684typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
5685typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
5686typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
5687typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
5688typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
5689typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
5690typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
5691typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
5692typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
5693typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
5694typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
5695typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
5696typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
5697typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
5698typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
5699typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
5700typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
5701typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
5702typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
5703typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
5704typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
5705typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
5706typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
5707typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
5708typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
5709typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
5710typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
5711typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
5712typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5713typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
5714typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5715typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
5716typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
5717typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
5718typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
5719typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
5720typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
5721typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
5722typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
5723typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
5724typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
5725typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
5726typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
5727typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
5728typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
5729#ifdef GL_GLEXT_PROTOTYPES
5730GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
5731GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
5732GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
5733GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
5734GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
5735GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
5736GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
5737GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
5738GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
5739GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
5740GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
5741GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
5742GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
5743GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
5744GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
5745GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
5746GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
5747GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
5748GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
5749GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
5750GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
5751GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
5752GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
5753GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
5754GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
5755GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
5756GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
5757GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
5758GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5759GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
5760GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5761GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
5762GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
5763GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
5764GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
5765GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
5766GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
5767GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
5768GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
5769GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
5770GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
5771GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
5772GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
5773GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
5774GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
5775#endif
5776#endif /* GL_ATI_vertex_streams */
5777
5778#ifndef GL_EXT_422_pixels
5779#define GL_EXT_422_pixels 1
5780#define GL_422_EXT 0x80CC
5781#define GL_422_REV_EXT 0x80CD
5782#define GL_422_AVERAGE_EXT 0x80CE
5783#define GL_422_REV_AVERAGE_EXT 0x80CF
5784#endif /* GL_EXT_422_pixels */
5785
5786#ifndef GL_EXT_abgr
5787#define GL_EXT_abgr 1
5788#define GL_ABGR_EXT 0x8000
5789#endif /* GL_EXT_abgr */
5790
5791#ifndef GL_EXT_bgra
5792#define GL_EXT_bgra 1
5793#define GL_BGR_EXT 0x80E0
5794#define GL_BGRA_EXT 0x80E1
5795#endif /* GL_EXT_bgra */
5796
5797#ifndef GL_EXT_bindable_uniform
5798#define GL_EXT_bindable_uniform 1
5799#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
5800#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
5801#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
5802#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
5803#define GL_UNIFORM_BUFFER_EXT 0x8DEE
5804#define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
5805typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
5806typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
5807typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
5808#ifdef GL_GLEXT_PROTOTYPES
5809GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
5810GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
5811GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
5812#endif
5813#endif /* GL_EXT_bindable_uniform */
5814
5815#ifndef GL_EXT_blend_color
5816#define GL_EXT_blend_color 1
5817#define GL_CONSTANT_COLOR_EXT 0x8001
5818#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
5819#define GL_CONSTANT_ALPHA_EXT 0x8003
5820#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
5821#define GL_BLEND_COLOR_EXT 0x8005
5822typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
5823#ifdef GL_GLEXT_PROTOTYPES
5824GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
5825#endif
5826#endif /* GL_EXT_blend_color */
5827
5828#ifndef GL_EXT_blend_equation_separate
5829#define GL_EXT_blend_equation_separate 1
5830#define GL_BLEND_EQUATION_RGB_EXT 0x8009
5831#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
5832typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
5833#ifdef GL_GLEXT_PROTOTYPES
5834GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
5835#endif
5836#endif /* GL_EXT_blend_equation_separate */
5837
5838#ifndef GL_EXT_blend_func_separate
5839#define GL_EXT_blend_func_separate 1
5840#define GL_BLEND_DST_RGB_EXT 0x80C8
5841#define GL_BLEND_SRC_RGB_EXT 0x80C9
5842#define GL_BLEND_DST_ALPHA_EXT 0x80CA
5843#define GL_BLEND_SRC_ALPHA_EXT 0x80CB
5844typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
5845#ifdef GL_GLEXT_PROTOTYPES
5846GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
5847#endif
5848#endif /* GL_EXT_blend_func_separate */
5849
5850#ifndef GL_EXT_blend_logic_op
5851#define GL_EXT_blend_logic_op 1
5852#endif /* GL_EXT_blend_logic_op */
5853
5854#ifndef GL_EXT_blend_minmax
5855#define GL_EXT_blend_minmax 1
5856#define GL_MIN_EXT 0x8007
5857#define GL_MAX_EXT 0x8008
5858#define GL_FUNC_ADD_EXT 0x8006
5859#define GL_BLEND_EQUATION_EXT 0x8009
5860typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
5861#ifdef GL_GLEXT_PROTOTYPES
5862GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
5863#endif
5864#endif /* GL_EXT_blend_minmax */
5865
5866#ifndef GL_EXT_blend_subtract
5867#define GL_EXT_blend_subtract 1
5868#define GL_FUNC_SUBTRACT_EXT 0x800A
5869#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
5870#endif /* GL_EXT_blend_subtract */
5871
5872#ifndef GL_EXT_clip_volume_hint
5873#define GL_EXT_clip_volume_hint 1
5874#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
5875#endif /* GL_EXT_clip_volume_hint */
5876
5877#ifndef GL_EXT_cmyka
5878#define GL_EXT_cmyka 1
5879#define GL_CMYK_EXT 0x800C
5880#define GL_CMYKA_EXT 0x800D
5881#define GL_PACK_CMYK_HINT_EXT 0x800E
5882#define GL_UNPACK_CMYK_HINT_EXT 0x800F
5883#endif /* GL_EXT_cmyka */
5884
5885#ifndef GL_EXT_color_subtable
5886#define GL_EXT_color_subtable 1
5887typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
5888typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
5889#ifdef GL_GLEXT_PROTOTYPES
5890GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
5891GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
5892#endif
5893#endif /* GL_EXT_color_subtable */
5894
5895#ifndef GL_EXT_compiled_vertex_array
5896#define GL_EXT_compiled_vertex_array 1
5897#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
5898#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
5899typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
5900typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
5901#ifdef GL_GLEXT_PROTOTYPES
5902GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
5903GLAPI void APIENTRY glUnlockArraysEXT (void);
5904#endif
5905#endif /* GL_EXT_compiled_vertex_array */
5906
5907#ifndef GL_EXT_convolution
5908#define GL_EXT_convolution 1
5909#define GL_CONVOLUTION_1D_EXT 0x8010
5910#define GL_CONVOLUTION_2D_EXT 0x8011
5911#define GL_SEPARABLE_2D_EXT 0x8012
5912#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
5913#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
5914#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
5915#define GL_REDUCE_EXT 0x8016
5916#define GL_CONVOLUTION_FORMAT_EXT 0x8017
5917#define GL_CONVOLUTION_WIDTH_EXT 0x8018
5918#define GL_CONVOLUTION_HEIGHT_EXT 0x8019
5919#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
5920#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
5921#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
5922#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
5923#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
5924#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
5925#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
5926#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
5927#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
5928#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
5929typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
5930typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
5931typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
5932typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
5933typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
5934typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
5935typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
5936typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
5937typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
5938typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
5939typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
5940typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
5941typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
5942#ifdef GL_GLEXT_PROTOTYPES
5943GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
5944GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
5945GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
5946GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
5947GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
5948GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
5949GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
5950GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
5951GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
5952GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
5953GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
5954GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
5955GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
5956#endif
5957#endif /* GL_EXT_convolution */
5958
5959#ifndef GL_EXT_coordinate_frame
5960#define GL_EXT_coordinate_frame 1
5961#define GL_TANGENT_ARRAY_EXT 0x8439
5962#define GL_BINORMAL_ARRAY_EXT 0x843A
5963#define GL_CURRENT_TANGENT_EXT 0x843B
5964#define GL_CURRENT_BINORMAL_EXT 0x843C
5965#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
5966#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
5967#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
5968#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
5969#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
5970#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
5971#define GL_MAP1_TANGENT_EXT 0x8444
5972#define GL_MAP2_TANGENT_EXT 0x8445
5973#define GL_MAP1_BINORMAL_EXT 0x8446
5974#define GL_MAP2_BINORMAL_EXT 0x8447
5975typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
5976typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
5977typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
5978typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
5979typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
5980typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
5981typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
5982typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
5983typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
5984typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
5985typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
5986typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
5987typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
5988typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
5989typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
5990typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
5991typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
5992typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
5993typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
5994typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
5995typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
5996typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
5997#ifdef GL_GLEXT_PROTOTYPES
5998GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
5999GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
6000GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
6001GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
6002GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
6003GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
6004GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
6005GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
6006GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
6007GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
6008GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
6009GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
6010GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
6011GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
6012GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
6013GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
6014GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
6015GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
6016GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
6017GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
6018GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6019GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6020#endif
6021#endif /* GL_EXT_coordinate_frame */
6022
6023#ifndef GL_EXT_copy_texture
6024#define GL_EXT_copy_texture 1
6025typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6026typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6027typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6028typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6029typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6030#ifdef GL_GLEXT_PROTOTYPES
6031GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6032GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6033GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6034GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6035GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6036#endif
6037#endif /* GL_EXT_copy_texture */
6038
6039#ifndef GL_EXT_cull_vertex
6040#define GL_EXT_cull_vertex 1
6041#define GL_CULL_VERTEX_EXT 0x81AA
6042#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
6043#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
6044typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
6045typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
6046#ifdef GL_GLEXT_PROTOTYPES
6047GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
6048GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
6049#endif
6050#endif /* GL_EXT_cull_vertex */
6051
6052#ifndef GL_EXT_debug_label
6053#define GL_EXT_debug_label 1
6054#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
6055#define GL_PROGRAM_OBJECT_EXT 0x8B40
6056#define GL_SHADER_OBJECT_EXT 0x8B48
6057#define GL_BUFFER_OBJECT_EXT 0x9151
6058#define GL_QUERY_OBJECT_EXT 0x9153
6059#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
6060typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6061typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6062#ifdef GL_GLEXT_PROTOTYPES
6063GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6064GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6065#endif
6066#endif /* GL_EXT_debug_label */
6067
6068#ifndef GL_EXT_debug_marker
6069#define GL_EXT_debug_marker 1
6070typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6071typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6072typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
6073#ifdef GL_GLEXT_PROTOTYPES
6074GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
6075GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
6076GLAPI void APIENTRY glPopGroupMarkerEXT (void);
6077#endif
6078#endif /* GL_EXT_debug_marker */
6079
6080#ifndef GL_EXT_depth_bounds_test
6081#define GL_EXT_depth_bounds_test 1
6082#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
6083#define GL_DEPTH_BOUNDS_EXT 0x8891
6084typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6085#ifdef GL_GLEXT_PROTOTYPES
6086GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
6087#endif
6088#endif /* GL_EXT_depth_bounds_test */
6089
6090#ifndef GL_EXT_direct_state_access
6091#define GL_EXT_direct_state_access 1
6092#define GL_PROGRAM_MATRIX_EXT 0x8E2D
6093#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
6094#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
6095typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
6096typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
6097typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
6098typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
6099typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
6100typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
6101typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
6102typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6103typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6104typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6105typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6106typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6107typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6108typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
6109typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
6110typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6111typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6112typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
6113typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
6114typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
6115typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6116typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6117typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6118typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6119typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6120typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6121typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6122typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6123typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6124typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6125typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
6126typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6127typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
6128typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
6129typedef 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);
6130typedef 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);
6131typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6132typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
6133typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
6134typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6135typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6136typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6137typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6138typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
6139typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
6140typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
6141typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
6142typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
6143typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
6144typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6145typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6146typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
6147typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
6148typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
6149typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6150typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6151typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6152typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6153typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6154typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6155typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6156typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6157typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6158typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6159typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6160typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6161typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6162typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6163typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6164typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
6165typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
6166typedef 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);
6167typedef 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);
6168typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6169typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6170typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6171typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
6172typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
6173typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
6174typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6175typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6176typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
6177typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
6178typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
6179typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6180typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6181typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6182typedef 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);
6183typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6184typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6185typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
6186typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6187typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6188typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6189typedef 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);
6190typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6191typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6192typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
6193typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6194typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6195typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6196typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6197typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
6198typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
6199typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
6200typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
6201typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
6202typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
6203typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
6204typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
6205typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
6206typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6207typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6208typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
6209typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
6210typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
6211typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6212typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6213typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6214typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6215typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6216typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6217typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6218typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6219typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6220typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6221typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6222typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6223typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6224typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6225typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6226typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6227typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6228typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6229typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
6230typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
6231typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6232typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
6233typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6234typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
6235typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6236typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
6237typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6238typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
6239typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
6240typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
6241typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
6242typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6243typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6244typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6245typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6246typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6247typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6248typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
6249typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
6250typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
6251typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6252typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
6253typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
6254typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
6255typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
6256typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6257typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6258typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
6259typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
6260typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
6261typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
6262typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6263typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
6264typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6265typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
6266typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
6267typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
6268typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
6269typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
6270typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
6271typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
6272typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6273typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
6274typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
6275typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6276typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6277typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6278typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6279typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
6280typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
6281typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
6282typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6283typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
6284typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
6285typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
6286typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
6287typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
6288typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
6289typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
6290typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
6291typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
6292typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6293typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6294typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
6295typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6296typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6297typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6298typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6299typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6300typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6301typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
6302typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6303typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6304typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
6305typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
6306typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
6307typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
6308typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
6309typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
6310typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
6311typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
6312typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
6313typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
6314typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
6315typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
6316typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
6317typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
6318typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
6319typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
6320typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
6321typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6322typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6323typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6324typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6325typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6326typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6327typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6328typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6329typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6330typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6331typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6332typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6333typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6334typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6335typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
6336typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
6337typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
6338typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
6339typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
6340typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
6341typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
6342typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
6343typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6344typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6345typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6346typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6347typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6348typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
6349typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
6350#ifdef GL_GLEXT_PROTOTYPES
6351GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
6352GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
6353GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
6354GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
6355GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
6356GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
6357GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
6358GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6359GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6360GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6361GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6362GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6363GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6364GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
6365GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
6366GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
6367GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
6368GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
6369GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
6370GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
6371GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6372GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6373GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6374GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6375GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6376GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6377GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6378GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6379GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6380GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6381GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
6382GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
6383GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
6384GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
6385GLAPI 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);
6386GLAPI 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);
6387GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6388GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
6389GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
6390GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6391GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6392GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
6393GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6394GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
6395GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
6396GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
6397GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
6398GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
6399GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
6400GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6401GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6402GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
6403GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
6404GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
6405GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
6406GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6407GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6408GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6409GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6410GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6411GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6412GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6413GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6414GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6415GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6416GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6417GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6418GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6419GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6420GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
6421GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
6422GLAPI 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);
6423GLAPI 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);
6424GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6425GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
6426GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
6427GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
6428GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
6429GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
6430GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
6431GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
6432GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
6433GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
6434GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
6435GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6436GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6437GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6438GLAPI 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);
6439GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6440GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6441GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
6442GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6443GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6444GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6445GLAPI 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);
6446GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6447GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6448GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
6449GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
6450GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
6451GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
6452GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
6453GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
6454GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
6455GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
6456GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
6457GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
6458GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
6459GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
6460GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
6461GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
6462GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6463GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6464GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
6465GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
6466GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
6467GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6468GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6469GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6470GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6471GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6472GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6473GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6474GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6475GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
6476GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6477GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6478GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6479GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6480GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6481GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6482GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6483GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6484GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6485GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
6486GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
6487GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6488GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
6489GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
6490GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
6491GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6492GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
6493GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6494GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
6495GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
6496GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
6497GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
6498GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6499GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6500GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6501GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6502GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
6503GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6504GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
6505GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
6506GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
6507GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6508GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
6509GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
6510GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
6511GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
6512GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
6513GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
6514GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
6515GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
6516GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
6517GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
6518GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6519GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
6520GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6521GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
6522GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
6523GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
6524GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
6525GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
6526GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
6527GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
6528GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6529GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
6530GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
6531GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6532GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6533GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6534GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6535GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
6536GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
6537GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
6538GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
6539GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
6540GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
6541GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
6542GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
6543GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
6544GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
6545GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
6546GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
6547GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
6548GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6549GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6550GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
6551GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6552GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6553GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6554GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6555GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
6556GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6557GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
6558GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6559GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
6560GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
6561GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
6562GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
6563GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
6564GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
6565GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
6566GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
6567GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
6568GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
6569GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
6570GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
6571GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
6572GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
6573GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
6574GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
6575GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
6576GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
6577GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6578GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6579GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6580GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6581GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
6582GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6583GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6584GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6585GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6586GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6587GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6588GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6589GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6590GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
6591GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
6592GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
6593GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
6594GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
6595GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
6596GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
6597GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
6598GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
6599GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6600GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
6601GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6602GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6603GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6604GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
6605GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
6606#endif
6607#endif /* GL_EXT_direct_state_access */
6608
6609#ifndef GL_EXT_draw_buffers2
6610#define GL_EXT_draw_buffers2 1
6611typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
6612#ifdef GL_GLEXT_PROTOTYPES
6613GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
6614#endif
6615#endif /* GL_EXT_draw_buffers2 */
6616
6617#ifndef GL_EXT_draw_instanced
6618#define GL_EXT_draw_instanced 1
6619typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
6620typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
6621#ifdef GL_GLEXT_PROTOTYPES
6622GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
6623GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
6624#endif
6625#endif /* GL_EXT_draw_instanced */
6626
6627#ifndef GL_EXT_draw_range_elements
6628#define GL_EXT_draw_range_elements 1
6629#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
6630#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
6631typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
6632#ifdef GL_GLEXT_PROTOTYPES
6633GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
6634#endif
6635#endif /* GL_EXT_draw_range_elements */
6636
6637#ifndef GL_EXT_fog_coord
6638#define GL_EXT_fog_coord 1
6639#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
6640#define GL_FOG_COORDINATE_EXT 0x8451
6641#define GL_FRAGMENT_DEPTH_EXT 0x8452
6642#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
6643#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
6644#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
6645#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
6646#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
6647typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
6648typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
6649typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
6650typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
6651typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
6652#ifdef GL_GLEXT_PROTOTYPES
6653GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
6654GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
6655GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
6656GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
6657GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6658#endif
6659#endif /* GL_EXT_fog_coord */
6660
6661#ifndef GL_EXT_framebuffer_blit
6662#define GL_EXT_framebuffer_blit 1
6663#define GL_READ_FRAMEBUFFER_EXT 0x8CA8
6664#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
6665#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
6666#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
6667typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
6668#ifdef GL_GLEXT_PROTOTYPES
6669GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
6670#endif
6671#endif /* GL_EXT_framebuffer_blit */
6672
6673#ifndef GL_EXT_framebuffer_multisample
6674#define GL_EXT_framebuffer_multisample 1
6675#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
6676#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
6677#define GL_MAX_SAMPLES_EXT 0x8D57
6678typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6679#ifdef GL_GLEXT_PROTOTYPES
6680GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6681#endif
6682#endif /* GL_EXT_framebuffer_multisample */
6683
6684#ifndef GL_EXT_framebuffer_multisample_blit_scaled
6685#define GL_EXT_framebuffer_multisample_blit_scaled 1
6686#define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
6687#define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
6688#endif /* GL_EXT_framebuffer_multisample_blit_scaled */
6689
6690#ifndef GL_EXT_framebuffer_object
6691#define GL_EXT_framebuffer_object 1
6692#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
6693#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
6694#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
6695#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
6696#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
6697#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
6698#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
6699#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
6700#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
6701#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
6702#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
6703#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
6704#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
6705#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
6706#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
6707#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
6708#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
6709#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
6710#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
6711#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
6712#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
6713#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
6714#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
6715#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
6716#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
6717#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
6718#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
6719#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
6720#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
6721#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
6722#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
6723#define GL_COLOR_ATTACHMENT13_EXT 0x8CED
6724#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
6725#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
6726#define GL_DEPTH_ATTACHMENT_EXT 0x8D00
6727#define GL_STENCIL_ATTACHMENT_EXT 0x8D20
6728#define GL_FRAMEBUFFER_EXT 0x8D40
6729#define GL_RENDERBUFFER_EXT 0x8D41
6730#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
6731#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
6732#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
6733#define GL_STENCIL_INDEX1_EXT 0x8D46
6734#define GL_STENCIL_INDEX4_EXT 0x8D47
6735#define GL_STENCIL_INDEX8_EXT 0x8D48
6736#define GL_STENCIL_INDEX16_EXT 0x8D49
6737#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
6738#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
6739#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
6740#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
6741#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
6742#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
6743typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
6744typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
6745typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
6746typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
6747typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
6748typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6749typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
6750typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
6751typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
6752typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
6753typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
6754typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6755typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6756typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6757typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6758typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
6759typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
6760#ifdef GL_GLEXT_PROTOTYPES
6761GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
6762GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
6763GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
6764GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
6765GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
6766GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
6767GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
6768GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
6769GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
6770GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
6771GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
6772GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6773GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6774GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6775GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6776GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
6777GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
6778#endif
6779#endif /* GL_EXT_framebuffer_object */
6780
6781#ifndef GL_EXT_framebuffer_sRGB
6782#define GL_EXT_framebuffer_sRGB 1
6783#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
6784#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
6785#endif /* GL_EXT_framebuffer_sRGB */
6786
6787#ifndef GL_EXT_geometry_shader4
6788#define GL_EXT_geometry_shader4 1
6789#define GL_GEOMETRY_SHADER_EXT 0x8DD9
6790#define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
6791#define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
6792#define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
6793#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
6794#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
6795#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
6796#define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
6797#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
6798#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
6799#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
6800#define GL_LINES_ADJACENCY_EXT 0x000A
6801#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
6802#define GL_TRIANGLES_ADJACENCY_EXT 0x000C
6803#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
6804#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
6805#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
6806#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
6807#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
6808#define GL_PROGRAM_POINT_SIZE_EXT 0x8642
6809typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
6810#ifdef GL_GLEXT_PROTOTYPES
6811GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
6812#endif
6813#endif /* GL_EXT_geometry_shader4 */
6814
6815#ifndef GL_EXT_gpu_program_parameters
6816#define GL_EXT_gpu_program_parameters 1
6817typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6818typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6819#ifdef GL_GLEXT_PROTOTYPES
6820GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6821GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6822#endif
6823#endif /* GL_EXT_gpu_program_parameters */
6824
6825#ifndef GL_EXT_gpu_shader4
6826#define GL_EXT_gpu_shader4 1
6827#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
6828#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
6829#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
6830#define GL_SAMPLER_BUFFER_EXT 0x8DC2
6831#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
6832#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
6833#define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
6834#define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
6835#define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
6836#define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
6837#define GL_INT_SAMPLER_1D_EXT 0x8DC9
6838#define GL_INT_SAMPLER_2D_EXT 0x8DCA
6839#define GL_INT_SAMPLER_3D_EXT 0x8DCB
6840#define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
6841#define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
6842#define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
6843#define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
6844#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
6845#define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
6846#define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
6847#define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
6848#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
6849#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
6850#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
6851#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
6852#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
6853#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
6854#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
6855typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
6856typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
6857typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
6858typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
6859typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
6860typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
6861typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6862typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
6863typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
6864typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
6865typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
6866#ifdef GL_GLEXT_PROTOTYPES
6867GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
6868GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
6869GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
6870GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
6871GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
6872GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
6873GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6874GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
6875GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
6876GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
6877GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
6878#endif
6879#endif /* GL_EXT_gpu_shader4 */
6880
6881#ifndef GL_EXT_histogram
6882#define GL_EXT_histogram 1
6883#define GL_HISTOGRAM_EXT 0x8024
6884#define GL_PROXY_HISTOGRAM_EXT 0x8025
6885#define GL_HISTOGRAM_WIDTH_EXT 0x8026
6886#define GL_HISTOGRAM_FORMAT_EXT 0x8027
6887#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
6888#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
6889#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
6890#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
6891#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
6892#define GL_HISTOGRAM_SINK_EXT 0x802D
6893#define GL_MINMAX_EXT 0x802E
6894#define GL_MINMAX_FORMAT_EXT 0x802F
6895#define GL_MINMAX_SINK_EXT 0x8030
6896#define GL_TABLE_TOO_LARGE_EXT 0x8031
6897typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
6898typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6899typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6900typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
6901typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6902typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6903typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
6904typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
6905typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
6906typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
6907#ifdef GL_GLEXT_PROTOTYPES
6908GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
6909GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
6910GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
6911GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
6912GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
6913GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
6914GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
6915GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
6916GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
6917GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
6918#endif
6919#endif /* GL_EXT_histogram */
6920
6921#ifndef GL_EXT_index_array_formats
6922#define GL_EXT_index_array_formats 1
6923#define GL_IUI_V2F_EXT 0x81AD
6924#define GL_IUI_V3F_EXT 0x81AE
6925#define GL_IUI_N3F_V2F_EXT 0x81AF
6926#define GL_IUI_N3F_V3F_EXT 0x81B0
6927#define GL_T2F_IUI_V2F_EXT 0x81B1
6928#define GL_T2F_IUI_V3F_EXT 0x81B2
6929#define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
6930#define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
6931#endif /* GL_EXT_index_array_formats */
6932
6933#ifndef GL_EXT_index_func
6934#define GL_EXT_index_func 1
6935#define GL_INDEX_TEST_EXT 0x81B5
6936#define GL_INDEX_TEST_FUNC_EXT 0x81B6
6937#define GL_INDEX_TEST_REF_EXT 0x81B7
6938typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
6939#ifdef GL_GLEXT_PROTOTYPES
6940GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
6941#endif
6942#endif /* GL_EXT_index_func */
6943
6944#ifndef GL_EXT_index_material
6945#define GL_EXT_index_material 1
6946#define GL_INDEX_MATERIAL_EXT 0x81B8
6947#define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
6948#define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
6949typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
6950#ifdef GL_GLEXT_PROTOTYPES
6951GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
6952#endif
6953#endif /* GL_EXT_index_material */
6954
6955#ifndef GL_EXT_index_texture
6956#define GL_EXT_index_texture 1
6957#endif /* GL_EXT_index_texture */
6958
6959#ifndef GL_EXT_light_texture
6960#define GL_EXT_light_texture 1
6961#define GL_FRAGMENT_MATERIAL_EXT 0x8349
6962#define GL_FRAGMENT_NORMAL_EXT 0x834A
6963#define GL_FRAGMENT_COLOR_EXT 0x834C
6964#define GL_ATTENUATION_EXT 0x834D
6965#define GL_SHADOW_ATTENUATION_EXT 0x834E
6966#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
6967#define GL_TEXTURE_LIGHT_EXT 0x8350
6968#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
6969#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
6970typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
6971typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
6972typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
6973#ifdef GL_GLEXT_PROTOTYPES
6974GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
6975GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
6976GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
6977#endif
6978#endif /* GL_EXT_light_texture */
6979
6980#ifndef GL_EXT_misc_attribute
6981#define GL_EXT_misc_attribute 1
6982#endif /* GL_EXT_misc_attribute */
6983
6984#ifndef GL_EXT_multi_draw_arrays
6985#define GL_EXT_multi_draw_arrays 1
6986typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
6987typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
6988#ifdef GL_GLEXT_PROTOTYPES
6989GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
6990GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
6991#endif
6992#endif /* GL_EXT_multi_draw_arrays */
6993
6994#ifndef GL_EXT_multisample
6995#define GL_EXT_multisample 1
6996#define GL_MULTISAMPLE_EXT 0x809D
6997#define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
6998#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
6999#define GL_SAMPLE_MASK_EXT 0x80A0
7000#define GL_1PASS_EXT 0x80A1
7001#define GL_2PASS_0_EXT 0x80A2
7002#define GL_2PASS_1_EXT 0x80A3
7003#define GL_4PASS_0_EXT 0x80A4
7004#define GL_4PASS_1_EXT 0x80A5
7005#define GL_4PASS_2_EXT 0x80A6
7006#define GL_4PASS_3_EXT 0x80A7
7007#define GL_SAMPLE_BUFFERS_EXT 0x80A8
7008#define GL_SAMPLES_EXT 0x80A9
7009#define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
7010#define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
7011#define GL_SAMPLE_PATTERN_EXT 0x80AC
7012#define GL_MULTISAMPLE_BIT_EXT 0x20000000
7013typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
7014typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
7015#ifdef GL_GLEXT_PROTOTYPES
7016GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
7017GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
7018#endif
7019#endif /* GL_EXT_multisample */
7020
7021#ifndef GL_EXT_packed_depth_stencil
7022#define GL_EXT_packed_depth_stencil 1
7023#define GL_DEPTH_STENCIL_EXT 0x84F9
7024#define GL_UNSIGNED_INT_24_8_EXT 0x84FA
7025#define GL_DEPTH24_STENCIL8_EXT 0x88F0
7026#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
7027#endif /* GL_EXT_packed_depth_stencil */
7028
7029#ifndef GL_EXT_packed_float
7030#define GL_EXT_packed_float 1
7031#define GL_R11F_G11F_B10F_EXT 0x8C3A
7032#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
7033#define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
7034#endif /* GL_EXT_packed_float */
7035
7036#ifndef GL_EXT_packed_pixels
7037#define GL_EXT_packed_pixels 1
7038#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
7039#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
7040#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
7041#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
7042#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
7043#endif /* GL_EXT_packed_pixels */
7044
7045#ifndef GL_EXT_paletted_texture
7046#define GL_EXT_paletted_texture 1
7047#define GL_COLOR_INDEX1_EXT 0x80E2
7048#define GL_COLOR_INDEX2_EXT 0x80E3
7049#define GL_COLOR_INDEX4_EXT 0x80E4
7050#define GL_COLOR_INDEX8_EXT 0x80E5
7051#define GL_COLOR_INDEX12_EXT 0x80E6
7052#define GL_COLOR_INDEX16_EXT 0x80E7
7053#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
7054typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7055typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
7056typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7057typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7058#ifdef GL_GLEXT_PROTOTYPES
7059GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7060GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
7061GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
7062GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7063#endif
7064#endif /* GL_EXT_paletted_texture */
7065
7066#ifndef GL_EXT_pixel_buffer_object
7067#define GL_EXT_pixel_buffer_object 1
7068#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
7069#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
7070#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
7071#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
7072#endif /* GL_EXT_pixel_buffer_object */
7073
7074#ifndef GL_EXT_pixel_transform
7075#define GL_EXT_pixel_transform 1
7076#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
7077#define GL_PIXEL_MAG_FILTER_EXT 0x8331
7078#define GL_PIXEL_MIN_FILTER_EXT 0x8332
7079#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
7080#define GL_CUBIC_EXT 0x8334
7081#define GL_AVERAGE_EXT 0x8335
7082#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
7083#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
7084#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
7085typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
7086typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
7087typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
7088typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
7089typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7090typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7091#ifdef GL_GLEXT_PROTOTYPES
7092GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
7093GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
7094GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
7095GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
7096GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
7097GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7098#endif
7099#endif /* GL_EXT_pixel_transform */
7100
7101#ifndef GL_EXT_pixel_transform_color_table
7102#define GL_EXT_pixel_transform_color_table 1
7103#endif /* GL_EXT_pixel_transform_color_table */
7104
7105#ifndef GL_EXT_point_parameters
7106#define GL_EXT_point_parameters 1
7107#define GL_POINT_SIZE_MIN_EXT 0x8126
7108#define GL_POINT_SIZE_MAX_EXT 0x8127
7109#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
7110#define GL_DISTANCE_ATTENUATION_EXT 0x8129
7111typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
7112typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
7113#ifdef GL_GLEXT_PROTOTYPES
7114GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
7115GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
7116#endif
7117#endif /* GL_EXT_point_parameters */
7118
7119#ifndef GL_EXT_polygon_offset
7120#define GL_EXT_polygon_offset 1
7121#define GL_POLYGON_OFFSET_EXT 0x8037
7122#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
7123#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
7124typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
7125#ifdef GL_GLEXT_PROTOTYPES
7126GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
7127#endif
7128#endif /* GL_EXT_polygon_offset */
7129
7130#ifndef GL_EXT_provoking_vertex
7131#define GL_EXT_provoking_vertex 1
7132#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
7133#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
7134#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
7135#define GL_PROVOKING_VERTEX_EXT 0x8E4F
7136typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
7137#ifdef GL_GLEXT_PROTOTYPES
7138GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
7139#endif
7140#endif /* GL_EXT_provoking_vertex */
7141
7142#ifndef GL_EXT_rescale_normal
7143#define GL_EXT_rescale_normal 1
7144#define GL_RESCALE_NORMAL_EXT 0x803A
7145#endif /* GL_EXT_rescale_normal */
7146
7147#ifndef GL_EXT_secondary_color
7148#define GL_EXT_secondary_color 1
7149#define GL_COLOR_SUM_EXT 0x8458
7150#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
7151#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
7152#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
7153#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
7154#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
7155#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
7156typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
7157typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
7158typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
7159typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
7160typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
7161typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
7162typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
7163typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
7164typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
7165typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
7166typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
7167typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
7168typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
7169typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
7170typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
7171typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
7172typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
7173#ifdef GL_GLEXT_PROTOTYPES
7174GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
7175GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
7176GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
7177GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
7178GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
7179GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
7180GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
7181GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
7182GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
7183GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
7184GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
7185GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
7186GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
7187GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
7188GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
7189GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
7190GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
7191#endif
7192#endif /* GL_EXT_secondary_color */
7193
7194#ifndef GL_EXT_separate_shader_objects
7195#define GL_EXT_separate_shader_objects 1
7196#define GL_ACTIVE_PROGRAM_EXT 0x8B8D
7197typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
7198typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
7199typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
7200#ifdef GL_GLEXT_PROTOTYPES
7201GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
7202GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
7203GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
7204#endif
7205#endif /* GL_EXT_separate_shader_objects */
7206
7207#ifndef GL_EXT_separate_specular_color
7208#define GL_EXT_separate_specular_color 1
7209#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
7210#define GL_SINGLE_COLOR_EXT 0x81F9
7211#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
7212#endif /* GL_EXT_separate_specular_color */
7213
7214#ifndef GL_EXT_shader_image_load_formatted
7215#define GL_EXT_shader_image_load_formatted 1
7216#endif /* GL_EXT_shader_image_load_formatted */
7217
7218#ifndef GL_EXT_shader_image_load_store
7219#define GL_EXT_shader_image_load_store 1
7220#define GL_MAX_IMAGE_UNITS_EXT 0x8F38
7221#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
7222#define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
7223#define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
7224#define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
7225#define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
7226#define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
7227#define GL_IMAGE_1D_EXT 0x904C
7228#define GL_IMAGE_2D_EXT 0x904D
7229#define GL_IMAGE_3D_EXT 0x904E
7230#define GL_IMAGE_2D_RECT_EXT 0x904F
7231#define GL_IMAGE_CUBE_EXT 0x9050
7232#define GL_IMAGE_BUFFER_EXT 0x9051
7233#define GL_IMAGE_1D_ARRAY_EXT 0x9052
7234#define GL_IMAGE_2D_ARRAY_EXT 0x9053
7235#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
7236#define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
7237#define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
7238#define GL_INT_IMAGE_1D_EXT 0x9057
7239#define GL_INT_IMAGE_2D_EXT 0x9058
7240#define GL_INT_IMAGE_3D_EXT 0x9059
7241#define GL_INT_IMAGE_2D_RECT_EXT 0x905A
7242#define GL_INT_IMAGE_CUBE_EXT 0x905B
7243#define GL_INT_IMAGE_BUFFER_EXT 0x905C
7244#define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
7245#define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
7246#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
7247#define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
7248#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
7249#define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
7250#define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
7251#define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
7252#define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
7253#define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
7254#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
7255#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
7256#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
7257#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
7258#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
7259#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
7260#define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
7261#define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
7262#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
7263#define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
7264#define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
7265#define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
7266#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
7267#define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
7268#define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
7269#define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
7270#define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
7271#define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
7272#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
7273#define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
7274#define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
7275typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
7276typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
7277#ifdef GL_GLEXT_PROTOTYPES
7278GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
7279GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
7280#endif
7281#endif /* GL_EXT_shader_image_load_store */
7282
7283#ifndef GL_EXT_shader_integer_mix
7284#define GL_EXT_shader_integer_mix 1
7285#endif /* GL_EXT_shader_integer_mix */
7286
7287#ifndef GL_EXT_shadow_funcs
7288#define GL_EXT_shadow_funcs 1
7289#endif /* GL_EXT_shadow_funcs */
7290
7291#ifndef GL_EXT_shared_texture_palette
7292#define GL_EXT_shared_texture_palette 1
7293#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
7294#endif /* GL_EXT_shared_texture_palette */
7295
7296#ifndef GL_EXT_stencil_clear_tag
7297#define GL_EXT_stencil_clear_tag 1
7298#define GL_STENCIL_TAG_BITS_EXT 0x88F2
7299#define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
7300typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
7301#ifdef GL_GLEXT_PROTOTYPES
7302GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
7303#endif
7304#endif /* GL_EXT_stencil_clear_tag */
7305
7306#ifndef GL_EXT_stencil_two_side
7307#define GL_EXT_stencil_two_side 1
7308#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
7309#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
7310typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
7311#ifdef GL_GLEXT_PROTOTYPES
7312GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
7313#endif
7314#endif /* GL_EXT_stencil_two_side */
7315
7316#ifndef GL_EXT_stencil_wrap
7317#define GL_EXT_stencil_wrap 1
7318#define GL_INCR_WRAP_EXT 0x8507
7319#define GL_DECR_WRAP_EXT 0x8508
7320#endif /* GL_EXT_stencil_wrap */
7321
7322#ifndef GL_EXT_subtexture
7323#define GL_EXT_subtexture 1
7324typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7325typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
7326#ifdef GL_GLEXT_PROTOTYPES
7327GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7328GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
7329#endif
7330#endif /* GL_EXT_subtexture */
7331
7332#ifndef GL_EXT_texture
7333#define GL_EXT_texture 1
7334#define GL_ALPHA4_EXT 0x803B
7335#define GL_ALPHA8_EXT 0x803C
7336#define GL_ALPHA12_EXT 0x803D
7337#define GL_ALPHA16_EXT 0x803E
7338#define GL_LUMINANCE4_EXT 0x803F
7339#define GL_LUMINANCE8_EXT 0x8040
7340#define GL_LUMINANCE12_EXT 0x8041
7341#define GL_LUMINANCE16_EXT 0x8042
7342#define GL_LUMINANCE4_ALPHA4_EXT 0x8043
7343#define GL_LUMINANCE6_ALPHA2_EXT 0x8044
7344#define GL_LUMINANCE8_ALPHA8_EXT 0x8045
7345#define GL_LUMINANCE12_ALPHA4_EXT 0x8046
7346#define GL_LUMINANCE12_ALPHA12_EXT 0x8047
7347#define GL_LUMINANCE16_ALPHA16_EXT 0x8048
7348#define GL_INTENSITY_EXT 0x8049
7349#define GL_INTENSITY4_EXT 0x804A
7350#define GL_INTENSITY8_EXT 0x804B
7351#define GL_INTENSITY12_EXT 0x804C
7352#define GL_INTENSITY16_EXT 0x804D
7353#define GL_RGB2_EXT 0x804E
7354#define GL_RGB4_EXT 0x804F
7355#define GL_RGB5_EXT 0x8050
7356#define GL_RGB8_EXT 0x8051
7357#define GL_RGB10_EXT 0x8052
7358#define GL_RGB12_EXT 0x8053
7359#define GL_RGB16_EXT 0x8054
7360#define GL_RGBA2_EXT 0x8055
7361#define GL_RGBA4_EXT 0x8056
7362#define GL_RGB5_A1_EXT 0x8057
7363#define GL_RGBA8_EXT 0x8058
7364#define GL_RGB10_A2_EXT 0x8059
7365#define GL_RGBA12_EXT 0x805A
7366#define GL_RGBA16_EXT 0x805B
7367#define GL_TEXTURE_RED_SIZE_EXT 0x805C
7368#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
7369#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
7370#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
7371#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
7372#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
7373#define GL_REPLACE_EXT 0x8062
7374#define GL_PROXY_TEXTURE_1D_EXT 0x8063
7375#define GL_PROXY_TEXTURE_2D_EXT 0x8064
7376#define GL_TEXTURE_TOO_LARGE_EXT 0x8065
7377#endif /* GL_EXT_texture */
7378
7379#ifndef GL_EXT_texture3D
7380#define GL_EXT_texture3D 1
7381#define GL_PACK_SKIP_IMAGES_EXT 0x806B
7382#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
7383#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
7384#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
7385#define GL_TEXTURE_3D_EXT 0x806F
7386#define GL_PROXY_TEXTURE_3D_EXT 0x8070
7387#define GL_TEXTURE_DEPTH_EXT 0x8071
7388#define GL_TEXTURE_WRAP_R_EXT 0x8072
7389#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
7390typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
7391typedef 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);
7392#ifdef GL_GLEXT_PROTOTYPES
7393GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
7394GLAPI 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);
7395#endif
7396#endif /* GL_EXT_texture3D */
7397
7398#ifndef GL_EXT_texture_array
7399#define GL_EXT_texture_array 1
7400#define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
7401#define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
7402#define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
7403#define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
7404#define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
7405#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
7406#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
7407#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
7408#endif /* GL_EXT_texture_array */
7409
7410#ifndef GL_EXT_texture_buffer_object
7411#define GL_EXT_texture_buffer_object 1
7412#define GL_TEXTURE_BUFFER_EXT 0x8C2A
7413#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
7414#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
7415#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
7416#define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
7417typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
7418#ifdef GL_GLEXT_PROTOTYPES
7419GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
7420#endif
7421#endif /* GL_EXT_texture_buffer_object */
7422
7423#ifndef GL_EXT_texture_compression_latc
7424#define GL_EXT_texture_compression_latc 1
7425#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
7426#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
7427#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
7428#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
7429#endif /* GL_EXT_texture_compression_latc */
7430
7431#ifndef GL_EXT_texture_compression_rgtc
7432#define GL_EXT_texture_compression_rgtc 1
7433#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
7434#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
7435#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
7436#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
7437#endif /* GL_EXT_texture_compression_rgtc */
7438
7439#ifndef GL_EXT_texture_compression_s3tc
7440#define GL_EXT_texture_compression_s3tc 1
7441#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
7442#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
7443#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
7444#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
7445#endif /* GL_EXT_texture_compression_s3tc */
7446
7447#ifndef GL_EXT_texture_cube_map
7448#define GL_EXT_texture_cube_map 1
7449#define GL_NORMAL_MAP_EXT 0x8511
7450#define GL_REFLECTION_MAP_EXT 0x8512
7451#define GL_TEXTURE_CUBE_MAP_EXT 0x8513
7452#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
7453#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
7454#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
7455#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
7456#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
7457#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
7458#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
7459#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
7460#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
7461#endif /* GL_EXT_texture_cube_map */
7462
7463#ifndef GL_EXT_texture_env_add
7464#define GL_EXT_texture_env_add 1
7465#endif /* GL_EXT_texture_env_add */
7466
7467#ifndef GL_EXT_texture_env_combine
7468#define GL_EXT_texture_env_combine 1
7469#define GL_COMBINE_EXT 0x8570
7470#define GL_COMBINE_RGB_EXT 0x8571
7471#define GL_COMBINE_ALPHA_EXT 0x8572
7472#define GL_RGB_SCALE_EXT 0x8573
7473#define GL_ADD_SIGNED_EXT 0x8574
7474#define GL_INTERPOLATE_EXT 0x8575
7475#define GL_CONSTANT_EXT 0x8576
7476#define GL_PRIMARY_COLOR_EXT 0x8577
7477#define GL_PREVIOUS_EXT 0x8578
7478#define GL_SOURCE0_RGB_EXT 0x8580
7479#define GL_SOURCE1_RGB_EXT 0x8581
7480#define GL_SOURCE2_RGB_EXT 0x8582
7481#define GL_SOURCE0_ALPHA_EXT 0x8588
7482#define GL_SOURCE1_ALPHA_EXT 0x8589
7483#define GL_SOURCE2_ALPHA_EXT 0x858A
7484#define GL_OPERAND0_RGB_EXT 0x8590
7485#define GL_OPERAND1_RGB_EXT 0x8591
7486#define GL_OPERAND2_RGB_EXT 0x8592
7487#define GL_OPERAND0_ALPHA_EXT 0x8598
7488#define GL_OPERAND1_ALPHA_EXT 0x8599
7489#define GL_OPERAND2_ALPHA_EXT 0x859A
7490#endif /* GL_EXT_texture_env_combine */
7491
7492#ifndef GL_EXT_texture_env_dot3
7493#define GL_EXT_texture_env_dot3 1
7494#define GL_DOT3_RGB_EXT 0x8740
7495#define GL_DOT3_RGBA_EXT 0x8741
7496#endif /* GL_EXT_texture_env_dot3 */
7497
7498#ifndef GL_EXT_texture_filter_anisotropic
7499#define GL_EXT_texture_filter_anisotropic 1
7500#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
7501#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
7502#endif /* GL_EXT_texture_filter_anisotropic */
7503
7504#ifndef GL_EXT_texture_integer
7505#define GL_EXT_texture_integer 1
7506#define GL_RGBA32UI_EXT 0x8D70
7507#define GL_RGB32UI_EXT 0x8D71
7508#define GL_ALPHA32UI_EXT 0x8D72
7509#define GL_INTENSITY32UI_EXT 0x8D73
7510#define GL_LUMINANCE32UI_EXT 0x8D74
7511#define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
7512#define GL_RGBA16UI_EXT 0x8D76
7513#define GL_RGB16UI_EXT 0x8D77
7514#define GL_ALPHA16UI_EXT 0x8D78
7515#define GL_INTENSITY16UI_EXT 0x8D79
7516#define GL_LUMINANCE16UI_EXT 0x8D7A
7517#define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
7518#define GL_RGBA8UI_EXT 0x8D7C
7519#define GL_RGB8UI_EXT 0x8D7D
7520#define GL_ALPHA8UI_EXT 0x8D7E
7521#define GL_INTENSITY8UI_EXT 0x8D7F
7522#define GL_LUMINANCE8UI_EXT 0x8D80
7523#define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
7524#define GL_RGBA32I_EXT 0x8D82
7525#define GL_RGB32I_EXT 0x8D83
7526#define GL_ALPHA32I_EXT 0x8D84
7527#define GL_INTENSITY32I_EXT 0x8D85
7528#define GL_LUMINANCE32I_EXT 0x8D86
7529#define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
7530#define GL_RGBA16I_EXT 0x8D88
7531#define GL_RGB16I_EXT 0x8D89
7532#define GL_ALPHA16I_EXT 0x8D8A
7533#define GL_INTENSITY16I_EXT 0x8D8B
7534#define GL_LUMINANCE16I_EXT 0x8D8C
7535#define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
7536#define GL_RGBA8I_EXT 0x8D8E
7537#define GL_RGB8I_EXT 0x8D8F
7538#define GL_ALPHA8I_EXT 0x8D90
7539#define GL_INTENSITY8I_EXT 0x8D91
7540#define GL_LUMINANCE8I_EXT 0x8D92
7541#define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
7542#define GL_RED_INTEGER_EXT 0x8D94
7543#define GL_GREEN_INTEGER_EXT 0x8D95
7544#define GL_BLUE_INTEGER_EXT 0x8D96
7545#define GL_ALPHA_INTEGER_EXT 0x8D97
7546#define GL_RGB_INTEGER_EXT 0x8D98
7547#define GL_RGBA_INTEGER_EXT 0x8D99
7548#define GL_BGR_INTEGER_EXT 0x8D9A
7549#define GL_BGRA_INTEGER_EXT 0x8D9B
7550#define GL_LUMINANCE_INTEGER_EXT 0x8D9C
7551#define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
7552#define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
7553typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
7554typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
7555typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7556typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
7557typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
7558typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
7559#ifdef GL_GLEXT_PROTOTYPES
7560GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
7561GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
7562GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
7563GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
7564GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
7565GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
7566#endif
7567#endif /* GL_EXT_texture_integer */
7568
7569#ifndef GL_EXT_texture_lod_bias
7570#define GL_EXT_texture_lod_bias 1
7571#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
7572#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
7573#define GL_TEXTURE_LOD_BIAS_EXT 0x8501
7574#endif /* GL_EXT_texture_lod_bias */
7575
7576#ifndef GL_EXT_texture_mirror_clamp
7577#define GL_EXT_texture_mirror_clamp 1
7578#define GL_MIRROR_CLAMP_EXT 0x8742
7579#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
7580#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
7581#endif /* GL_EXT_texture_mirror_clamp */
7582
7583#ifndef GL_EXT_texture_object
7584#define GL_EXT_texture_object 1
7585#define GL_TEXTURE_PRIORITY_EXT 0x8066
7586#define GL_TEXTURE_RESIDENT_EXT 0x8067
7587#define GL_TEXTURE_1D_BINDING_EXT 0x8068
7588#define GL_TEXTURE_2D_BINDING_EXT 0x8069
7589#define GL_TEXTURE_3D_BINDING_EXT 0x806A
7590typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
7591typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
7592typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
7593typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
7594typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
7595typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
7596#ifdef GL_GLEXT_PROTOTYPES
7597GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
7598GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
7599GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
7600GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
7601GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
7602GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
7603#endif
7604#endif /* GL_EXT_texture_object */
7605
7606#ifndef GL_EXT_texture_perturb_normal
7607#define GL_EXT_texture_perturb_normal 1
7608#define GL_PERTURB_EXT 0x85AE
7609#define GL_TEXTURE_NORMAL_EXT 0x85AF
7610typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
7611#ifdef GL_GLEXT_PROTOTYPES
7612GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
7613#endif
7614#endif /* GL_EXT_texture_perturb_normal */
7615
7616#ifndef GL_EXT_texture_sRGB
7617#define GL_EXT_texture_sRGB 1
7618#define GL_SRGB_EXT 0x8C40
7619#define GL_SRGB8_EXT 0x8C41
7620#define GL_SRGB_ALPHA_EXT 0x8C42
7621#define GL_SRGB8_ALPHA8_EXT 0x8C43
7622#define GL_SLUMINANCE_ALPHA_EXT 0x8C44
7623#define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
7624#define GL_SLUMINANCE_EXT 0x8C46
7625#define GL_SLUMINANCE8_EXT 0x8C47
7626#define GL_COMPRESSED_SRGB_EXT 0x8C48
7627#define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
7628#define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
7629#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
7630#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
7631#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
7632#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
7633#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
7634#endif /* GL_EXT_texture_sRGB */
7635
7636#ifndef GL_EXT_texture_sRGB_decode
7637#define GL_EXT_texture_sRGB_decode 1
7638#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
7639#define GL_DECODE_EXT 0x8A49
7640#define GL_SKIP_DECODE_EXT 0x8A4A
7641#endif /* GL_EXT_texture_sRGB_decode */
7642
7643#ifndef GL_EXT_texture_shared_exponent
7644#define GL_EXT_texture_shared_exponent 1
7645#define GL_RGB9_E5_EXT 0x8C3D
7646#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
7647#define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
7648#endif /* GL_EXT_texture_shared_exponent */
7649
7650#ifndef GL_EXT_texture_snorm
7651#define GL_EXT_texture_snorm 1
7652#define GL_ALPHA_SNORM 0x9010
7653#define GL_LUMINANCE_SNORM 0x9011
7654#define GL_LUMINANCE_ALPHA_SNORM 0x9012
7655#define GL_INTENSITY_SNORM 0x9013
7656#define GL_ALPHA8_SNORM 0x9014
7657#define GL_LUMINANCE8_SNORM 0x9015
7658#define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
7659#define GL_INTENSITY8_SNORM 0x9017
7660#define GL_ALPHA16_SNORM 0x9018
7661#define GL_LUMINANCE16_SNORM 0x9019
7662#define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
7663#define GL_INTENSITY16_SNORM 0x901B
7664#define GL_RED_SNORM 0x8F90
7665#define GL_RG_SNORM 0x8F91
7666#define GL_RGB_SNORM 0x8F92
7667#define GL_RGBA_SNORM 0x8F93
7668#endif /* GL_EXT_texture_snorm */
7669
7670#ifndef GL_EXT_texture_swizzle
7671#define GL_EXT_texture_swizzle 1
7672#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
7673#define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
7674#define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
7675#define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
7676#define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
7677#endif /* GL_EXT_texture_swizzle */
7678
7679#ifndef GL_EXT_timer_query
7680#define GL_EXT_timer_query 1
7681#define GL_TIME_ELAPSED_EXT 0x88BF
7682typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
7683typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
7684#ifdef GL_GLEXT_PROTOTYPES
7685GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
7686GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
7687#endif
7688#endif /* GL_EXT_timer_query */
7689
7690#ifndef GL_EXT_transform_feedback
7691#define GL_EXT_transform_feedback 1
7692#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
7693#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
7694#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
7695#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
7696#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
7697#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
7698#define GL_PRIMITIVES_GENERATED_EXT 0x8C87
7699#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
7700#define GL_RASTERIZER_DISCARD_EXT 0x8C89
7701#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
7702#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
7703#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
7704#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
7705#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
7706#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
7707typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
7708typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
7709typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
7710typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
7711typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
7712typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
7713typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
7714#ifdef GL_GLEXT_PROTOTYPES
7715GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
7716GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
7717GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
7718GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
7719GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
7720GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
7721GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
7722#endif
7723#endif /* GL_EXT_transform_feedback */
7724
7725#ifndef GL_EXT_vertex_array
7726#define GL_EXT_vertex_array 1
7727#define GL_VERTEX_ARRAY_EXT 0x8074
7728#define GL_NORMAL_ARRAY_EXT 0x8075
7729#define GL_COLOR_ARRAY_EXT 0x8076
7730#define GL_INDEX_ARRAY_EXT 0x8077
7731#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
7732#define GL_EDGE_FLAG_ARRAY_EXT 0x8079
7733#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
7734#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
7735#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
7736#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
7737#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
7738#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
7739#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
7740#define GL_COLOR_ARRAY_SIZE_EXT 0x8081
7741#define GL_COLOR_ARRAY_TYPE_EXT 0x8082
7742#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
7743#define GL_COLOR_ARRAY_COUNT_EXT 0x8084
7744#define GL_INDEX_ARRAY_TYPE_EXT 0x8085
7745#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
7746#define GL_INDEX_ARRAY_COUNT_EXT 0x8087
7747#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
7748#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
7749#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
7750#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
7751#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
7752#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
7753#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
7754#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
7755#define GL_COLOR_ARRAY_POINTER_EXT 0x8090
7756#define GL_INDEX_ARRAY_POINTER_EXT 0x8091
7757#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
7758#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
7759typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
7760typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7761typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
7762typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
7763typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
7764typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7765typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7766typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7767typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7768#ifdef GL_GLEXT_PROTOTYPES
7769GLAPI void APIENTRY glArrayElementEXT (GLint i);
7770GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7771GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
7772GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
7773GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
7774GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7775GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7776GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7777GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
7778#endif
7779#endif /* GL_EXT_vertex_array */
7780
7781#ifndef GL_EXT_vertex_array_bgra
7782#define GL_EXT_vertex_array_bgra 1
7783#endif /* GL_EXT_vertex_array_bgra */
7784
7785#ifndef GL_EXT_vertex_attrib_64bit
7786#define GL_EXT_vertex_attrib_64bit 1
7787#define GL_DOUBLE_VEC2_EXT 0x8FFC
7788#define GL_DOUBLE_VEC3_EXT 0x8FFD
7789#define GL_DOUBLE_VEC4_EXT 0x8FFE
7790#define GL_DOUBLE_MAT2_EXT 0x8F46
7791#define GL_DOUBLE_MAT3_EXT 0x8F47
7792#define GL_DOUBLE_MAT4_EXT 0x8F48
7793#define GL_DOUBLE_MAT2x3_EXT 0x8F49
7794#define GL_DOUBLE_MAT2x4_EXT 0x8F4A
7795#define GL_DOUBLE_MAT3x2_EXT 0x8F4B
7796#define GL_DOUBLE_MAT3x4_EXT 0x8F4C
7797#define GL_DOUBLE_MAT4x2_EXT 0x8F4D
7798#define GL_DOUBLE_MAT4x3_EXT 0x8F4E
7799typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
7800typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
7801typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
7802typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7803typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
7804typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
7805typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
7806typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
7807typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
7808typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
7809#ifdef GL_GLEXT_PROTOTYPES
7810GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
7811GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
7812GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
7813GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7814GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
7815GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
7816GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
7817GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
7818GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
7819GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
7820#endif
7821#endif /* GL_EXT_vertex_attrib_64bit */
7822
7823#ifndef GL_EXT_vertex_shader
7824#define GL_EXT_vertex_shader 1
7825#define GL_VERTEX_SHADER_EXT 0x8780
7826#define GL_VERTEX_SHADER_BINDING_EXT 0x8781
7827#define GL_OP_INDEX_EXT 0x8782
7828#define GL_OP_NEGATE_EXT 0x8783
7829#define GL_OP_DOT3_EXT 0x8784
7830#define GL_OP_DOT4_EXT 0x8785
7831#define GL_OP_MUL_EXT 0x8786
7832#define GL_OP_ADD_EXT 0x8787
7833#define GL_OP_MADD_EXT 0x8788
7834#define GL_OP_FRAC_EXT 0x8789
7835#define GL_OP_MAX_EXT 0x878A
7836#define GL_OP_MIN_EXT 0x878B
7837#define GL_OP_SET_GE_EXT 0x878C
7838#define GL_OP_SET_LT_EXT 0x878D
7839#define GL_OP_CLAMP_EXT 0x878E
7840#define GL_OP_FLOOR_EXT 0x878F
7841#define GL_OP_ROUND_EXT 0x8790
7842#define GL_OP_EXP_BASE_2_EXT 0x8791
7843#define GL_OP_LOG_BASE_2_EXT 0x8792
7844#define GL_OP_POWER_EXT 0x8793
7845#define GL_OP_RECIP_EXT 0x8794
7846#define GL_OP_RECIP_SQRT_EXT 0x8795
7847#define GL_OP_SUB_EXT 0x8796
7848#define GL_OP_CROSS_PRODUCT_EXT 0x8797
7849#define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
7850#define GL_OP_MOV_EXT 0x8799
7851#define GL_OUTPUT_VERTEX_EXT 0x879A
7852#define GL_OUTPUT_COLOR0_EXT 0x879B
7853#define GL_OUTPUT_COLOR1_EXT 0x879C
7854#define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
7855#define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
7856#define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
7857#define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
7858#define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
7859#define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
7860#define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
7861#define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
7862#define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
7863#define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
7864#define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
7865#define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
7866#define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
7867#define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
7868#define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
7869#define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
7870#define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
7871#define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
7872#define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
7873#define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
7874#define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
7875#define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
7876#define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
7877#define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
7878#define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
7879#define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
7880#define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
7881#define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
7882#define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
7883#define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
7884#define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
7885#define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
7886#define GL_OUTPUT_FOG_EXT 0x87BD
7887#define GL_SCALAR_EXT 0x87BE
7888#define GL_VECTOR_EXT 0x87BF
7889#define GL_MATRIX_EXT 0x87C0
7890#define GL_VARIANT_EXT 0x87C1
7891#define GL_INVARIANT_EXT 0x87C2
7892#define GL_LOCAL_CONSTANT_EXT 0x87C3
7893#define GL_LOCAL_EXT 0x87C4
7894#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
7895#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
7896#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
7897#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
7898#define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
7899#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
7900#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
7901#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
7902#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
7903#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
7904#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
7905#define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
7906#define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
7907#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
7908#define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
7909#define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
7910#define GL_X_EXT 0x87D5
7911#define GL_Y_EXT 0x87D6
7912#define GL_Z_EXT 0x87D7
7913#define GL_W_EXT 0x87D8
7914#define GL_NEGATIVE_X_EXT 0x87D9
7915#define GL_NEGATIVE_Y_EXT 0x87DA
7916#define GL_NEGATIVE_Z_EXT 0x87DB
7917#define GL_NEGATIVE_W_EXT 0x87DC
7918#define GL_ZERO_EXT 0x87DD
7919#define GL_ONE_EXT 0x87DE
7920#define GL_NEGATIVE_ONE_EXT 0x87DF
7921#define GL_NORMALIZED_RANGE_EXT 0x87E0
7922#define GL_FULL_RANGE_EXT 0x87E1
7923#define GL_CURRENT_VERTEX_EXT 0x87E2
7924#define GL_MVP_MATRIX_EXT 0x87E3
7925#define GL_VARIANT_VALUE_EXT 0x87E4
7926#define GL_VARIANT_DATATYPE_EXT 0x87E5
7927#define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
7928#define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
7929#define GL_VARIANT_ARRAY_EXT 0x87E8
7930#define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
7931#define GL_INVARIANT_VALUE_EXT 0x87EA
7932#define GL_INVARIANT_DATATYPE_EXT 0x87EB
7933#define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
7934#define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
7935typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
7936typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
7937typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
7938typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
7939typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
7940typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
7941typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
7942typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
7943typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
7944typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
7945typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
7946typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
7947typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
7948typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
7949typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
7950typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
7951typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
7952typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
7953typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
7954typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
7955typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
7956typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
7957typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
7958typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
7959typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
7960typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
7961typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
7962typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
7963typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
7964typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
7965typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
7966typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
7967typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
7968typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
7969typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
7970typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
7971typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
7972typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
7973typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
7974typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
7975typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
7976typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
7977#ifdef GL_GLEXT_PROTOTYPES
7978GLAPI void APIENTRY glBeginVertexShaderEXT (void);
7979GLAPI void APIENTRY glEndVertexShaderEXT (void);
7980GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
7981GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
7982GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
7983GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
7984GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
7985GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
7986GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
7987GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
7988GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
7989GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
7990GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
7991GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
7992GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
7993GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
7994GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
7995GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
7996GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
7997GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
7998GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
7999GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
8000GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
8001GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
8002GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
8003GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
8004GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
8005GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
8006GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
8007GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
8008GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
8009GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
8010GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8011GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
8012GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8013GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
8014GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8015GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
8016GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8017GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8018GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
8019GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8020#endif
8021#endif /* GL_EXT_vertex_shader */
8022
8023#ifndef GL_EXT_vertex_weighting
8024#define GL_EXT_vertex_weighting 1
8025#define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
8026#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
8027#define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
8028#define GL_MODELVIEW1_MATRIX_EXT 0x8506
8029#define GL_VERTEX_WEIGHTING_EXT 0x8509
8030#define GL_MODELVIEW0_EXT 0x1700
8031#define GL_MODELVIEW1_EXT 0x850A
8032#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
8033#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
8034#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
8035#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
8036#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
8037#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
8038typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
8039typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
8040typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
8041#ifdef GL_GLEXT_PROTOTYPES
8042GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
8043GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
8044GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
8045#endif
8046#endif /* GL_EXT_vertex_weighting */
8047
8048#ifndef GL_EXT_x11_sync_object
8049#define GL_EXT_x11_sync_object 1
8050#define GL_SYNC_X11_FENCE_EXT 0x90E1
8051typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
8052#ifdef GL_GLEXT_PROTOTYPES
8053GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
8054#endif
8055#endif /* GL_EXT_x11_sync_object */
8056
8057#ifndef GL_GREMEDY_frame_terminator
8058#define GL_GREMEDY_frame_terminator 1
8059typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
8060#ifdef GL_GLEXT_PROTOTYPES
8061GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
8062#endif
8063#endif /* GL_GREMEDY_frame_terminator */
8064
8065#ifndef GL_GREMEDY_string_marker
8066#define GL_GREMEDY_string_marker 1
8067typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
8068#ifdef GL_GLEXT_PROTOTYPES
8069GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
8070#endif
8071#endif /* GL_GREMEDY_string_marker */
8072
8073#ifndef GL_HP_convolution_border_modes
8074#define GL_HP_convolution_border_modes 1
8075#define GL_IGNORE_BORDER_HP 0x8150
8076#define GL_CONSTANT_BORDER_HP 0x8151
8077#define GL_REPLICATE_BORDER_HP 0x8153
8078#define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
8079#endif /* GL_HP_convolution_border_modes */
8080
8081#ifndef GL_HP_image_transform
8082#define GL_HP_image_transform 1
8083#define GL_IMAGE_SCALE_X_HP 0x8155
8084#define GL_IMAGE_SCALE_Y_HP 0x8156
8085#define GL_IMAGE_TRANSLATE_X_HP 0x8157
8086#define GL_IMAGE_TRANSLATE_Y_HP 0x8158
8087#define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
8088#define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
8089#define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
8090#define GL_IMAGE_MAG_FILTER_HP 0x815C
8091#define GL_IMAGE_MIN_FILTER_HP 0x815D
8092#define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
8093#define GL_CUBIC_HP 0x815F
8094#define GL_AVERAGE_HP 0x8160
8095#define GL_IMAGE_TRANSFORM_2D_HP 0x8161
8096#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
8097#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
8098typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
8099typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
8100typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
8101typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
8102typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
8103typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
8104#ifdef GL_GLEXT_PROTOTYPES
8105GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
8106GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
8107GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
8108GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
8109GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
8110GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
8111#endif
8112#endif /* GL_HP_image_transform */
8113
8114#ifndef GL_HP_occlusion_test
8115#define GL_HP_occlusion_test 1
8116#define GL_OCCLUSION_TEST_HP 0x8165
8117#define GL_OCCLUSION_TEST_RESULT_HP 0x8166
8118#endif /* GL_HP_occlusion_test */
8119
8120#ifndef GL_HP_texture_lighting
8121#define GL_HP_texture_lighting 1
8122#define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
8123#define GL_TEXTURE_POST_SPECULAR_HP 0x8168
8124#define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
8125#endif /* GL_HP_texture_lighting */
8126
8127#ifndef GL_IBM_cull_vertex
8128#define GL_IBM_cull_vertex 1
8129#define GL_CULL_VERTEX_IBM 103050
8130#endif /* GL_IBM_cull_vertex */
8131
8132#ifndef GL_IBM_multimode_draw_arrays
8133#define GL_IBM_multimode_draw_arrays 1
8134typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
8135typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
8136#ifdef GL_GLEXT_PROTOTYPES
8137GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
8138GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
8139#endif
8140#endif /* GL_IBM_multimode_draw_arrays */
8141
8142#ifndef GL_IBM_rasterpos_clip
8143#define GL_IBM_rasterpos_clip 1
8144#define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
8145#endif /* GL_IBM_rasterpos_clip */
8146
8147#ifndef GL_IBM_static_data
8148#define GL_IBM_static_data 1
8149#define GL_ALL_STATIC_DATA_IBM 103060
8150#define GL_STATIC_VERTEX_ARRAY_IBM 103061
8151typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
8152#ifdef GL_GLEXT_PROTOTYPES
8153GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
8154#endif
8155#endif /* GL_IBM_static_data */
8156
8157#ifndef GL_IBM_texture_mirrored_repeat
8158#define GL_IBM_texture_mirrored_repeat 1
8159#define GL_MIRRORED_REPEAT_IBM 0x8370
8160#endif /* GL_IBM_texture_mirrored_repeat */
8161
8162#ifndef GL_IBM_vertex_array_lists
8163#define GL_IBM_vertex_array_lists 1
8164#define GL_VERTEX_ARRAY_LIST_IBM 103070
8165#define GL_NORMAL_ARRAY_LIST_IBM 103071
8166#define GL_COLOR_ARRAY_LIST_IBM 103072
8167#define GL_INDEX_ARRAY_LIST_IBM 103073
8168#define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
8169#define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
8170#define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
8171#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
8172#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
8173#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
8174#define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
8175#define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
8176#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
8177#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
8178#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
8179#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
8180typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8181typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8182typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
8183typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8184typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8185typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8186typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8187typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8188#ifdef GL_GLEXT_PROTOTYPES
8189GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8190GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8191GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
8192GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8193GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8194GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8195GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8196GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
8197#endif
8198#endif /* GL_IBM_vertex_array_lists */
8199
8200#ifndef GL_INGR_blend_func_separate
8201#define GL_INGR_blend_func_separate 1
8202typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8203#ifdef GL_GLEXT_PROTOTYPES
8204GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8205#endif
8206#endif /* GL_INGR_blend_func_separate */
8207
8208#ifndef GL_INGR_color_clamp
8209#define GL_INGR_color_clamp 1
8210#define GL_RED_MIN_CLAMP_INGR 0x8560
8211#define GL_GREEN_MIN_CLAMP_INGR 0x8561
8212#define GL_BLUE_MIN_CLAMP_INGR 0x8562
8213#define GL_ALPHA_MIN_CLAMP_INGR 0x8563
8214#define GL_RED_MAX_CLAMP_INGR 0x8564
8215#define GL_GREEN_MAX_CLAMP_INGR 0x8565
8216#define GL_BLUE_MAX_CLAMP_INGR 0x8566
8217#define GL_ALPHA_MAX_CLAMP_INGR 0x8567
8218#endif /* GL_INGR_color_clamp */
8219
8220#ifndef GL_INGR_interlace_read
8221#define GL_INGR_interlace_read 1
8222#define GL_INTERLACE_READ_INGR 0x8568
8223#endif /* GL_INGR_interlace_read */
8224
8225#ifndef GL_INTEL_fragment_shader_ordering
8226#define GL_INTEL_fragment_shader_ordering 1
8227#endif /* GL_INTEL_fragment_shader_ordering */
8228
8229#ifndef GL_INTEL_map_texture
8230#define GL_INTEL_map_texture 1
8231#define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
8232#define GL_LAYOUT_DEFAULT_INTEL 0
8233#define GL_LAYOUT_LINEAR_INTEL 1
8234#define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
8235typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
8236typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
8237typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
8238#ifdef GL_GLEXT_PROTOTYPES
8239GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
8240GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
8241GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
8242#endif
8243#endif /* GL_INTEL_map_texture */
8244
8245#ifndef GL_INTEL_parallel_arrays
8246#define GL_INTEL_parallel_arrays 1
8247#define GL_PARALLEL_ARRAYS_INTEL 0x83F4
8248#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
8249#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
8250#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
8251#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
8252typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
8253typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
8254typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
8255typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
8256#ifdef GL_GLEXT_PROTOTYPES
8257GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
8258GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
8259GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
8260GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
8261#endif
8262#endif /* GL_INTEL_parallel_arrays */
8263
8264#ifndef GL_INTEL_performance_query
8265#define GL_INTEL_performance_query 1
8266#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
8267#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
8268#define GL_PERFQUERY_WAIT_INTEL 0x83FB
8269#define GL_PERFQUERY_FLUSH_INTEL 0x83FA
8270#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
8271#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
8272#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
8273#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
8274#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
8275#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
8276#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
8277#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
8278#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
8279#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
8280#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
8281#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
8282#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
8283#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
8284#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
8285#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
8286typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
8287typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
8288typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
8289typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
8290typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
8291typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
8292typedef 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);
8293typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
8294typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
8295typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
8296#ifdef GL_GLEXT_PROTOTYPES
8297GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
8298GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
8299GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
8300GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
8301GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
8302GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
8303GLAPI 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);
8304GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
8305GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
8306GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
8307#endif
8308#endif /* GL_INTEL_performance_query */
8309
8310#ifndef GL_MESAX_texture_stack
8311#define GL_MESAX_texture_stack 1
8312#define GL_TEXTURE_1D_STACK_MESAX 0x8759
8313#define GL_TEXTURE_2D_STACK_MESAX 0x875A
8314#define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
8315#define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
8316#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
8317#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
8318#endif /* GL_MESAX_texture_stack */
8319
8320#ifndef GL_MESA_pack_invert
8321#define GL_MESA_pack_invert 1
8322#define GL_PACK_INVERT_MESA 0x8758
8323#endif /* GL_MESA_pack_invert */
8324
8325#ifndef GL_MESA_resize_buffers
8326#define GL_MESA_resize_buffers 1
8327typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
8328#ifdef GL_GLEXT_PROTOTYPES
8329GLAPI void APIENTRY glResizeBuffersMESA (void);
8330#endif
8331#endif /* GL_MESA_resize_buffers */
8332
8333#ifndef GL_MESA_window_pos
8334#define GL_MESA_window_pos 1
8335typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
8336typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
8337typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
8338typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
8339typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
8340typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
8341typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
8342typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
8343typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
8344typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
8345typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
8346typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
8347typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
8348typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
8349typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
8350typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
8351typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8352typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
8353typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8354typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
8355typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
8356typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
8357typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
8358typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
8359#ifdef GL_GLEXT_PROTOTYPES
8360GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
8361GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
8362GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
8363GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
8364GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
8365GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
8366GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
8367GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
8368GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
8369GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
8370GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
8371GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
8372GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
8373GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
8374GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
8375GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
8376GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8377GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
8378GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8379GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
8380GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
8381GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
8382GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
8383GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
8384#endif
8385#endif /* GL_MESA_window_pos */
8386
8387#ifndef GL_MESA_ycbcr_texture
8388#define GL_MESA_ycbcr_texture 1
8389#define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
8390#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
8391#define GL_YCBCR_MESA 0x8757
8392#endif /* GL_MESA_ycbcr_texture */
8393
8394#ifndef GL_NVX_conditional_render
8395#define GL_NVX_conditional_render 1
8396typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
8397typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
8398#ifdef GL_GLEXT_PROTOTYPES
8399GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
8400GLAPI void APIENTRY glEndConditionalRenderNVX (void);
8401#endif
8402#endif /* GL_NVX_conditional_render */
8403
8404#ifndef GL_NVX_gpu_memory_info
8405#define GL_NVX_gpu_memory_info 1
8406#define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
8407#define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
8408#define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
8409#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
8410#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
8411#endif /* GL_NVX_gpu_memory_info */
8412
8413#ifndef GL_NV_bindless_multi_draw_indirect
8414#define GL_NV_bindless_multi_draw_indirect 1
8415typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8416typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8417#ifdef GL_GLEXT_PROTOTYPES
8418GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8419GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
8420#endif
8421#endif /* GL_NV_bindless_multi_draw_indirect */
8422
8423#ifndef GL_NV_bindless_texture
8424#define GL_NV_bindless_texture 1
8425typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
8426typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
8427typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
8428typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
8429typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
8430typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
8431typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
8432typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
8433typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
8434typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
8435typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
8436typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
8437typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
8438#ifdef GL_GLEXT_PROTOTYPES
8439GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
8440GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
8441GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
8442GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
8443GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
8444GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
8445GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
8446GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
8447GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
8448GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
8449GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
8450GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
8451GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
8452#endif
8453#endif /* GL_NV_bindless_texture */
8454
8455#ifndef GL_NV_blend_equation_advanced
8456#define GL_NV_blend_equation_advanced 1
8457#define GL_BLEND_OVERLAP_NV 0x9281
8458#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
8459#define GL_BLUE_NV 0x1905
8460#define GL_COLORBURN_NV 0x929A
8461#define GL_COLORDODGE_NV 0x9299
8462#define GL_CONJOINT_NV 0x9284
8463#define GL_CONTRAST_NV 0x92A1
8464#define GL_DARKEN_NV 0x9297
8465#define GL_DIFFERENCE_NV 0x929E
8466#define GL_DISJOINT_NV 0x9283
8467#define GL_DST_ATOP_NV 0x928F
8468#define GL_DST_IN_NV 0x928B
8469#define GL_DST_NV 0x9287
8470#define GL_DST_OUT_NV 0x928D
8471#define GL_DST_OVER_NV 0x9289
8472#define GL_EXCLUSION_NV 0x92A0
8473#define GL_GREEN_NV 0x1904
8474#define GL_HARDLIGHT_NV 0x929B
8475#define GL_HARDMIX_NV 0x92A9
8476#define GL_HSL_COLOR_NV 0x92AF
8477#define GL_HSL_HUE_NV 0x92AD
8478#define GL_HSL_LUMINOSITY_NV 0x92B0
8479#define GL_HSL_SATURATION_NV 0x92AE
8480#define GL_INVERT_OVG_NV 0x92B4
8481#define GL_INVERT_RGB_NV 0x92A3
8482#define GL_LIGHTEN_NV 0x9298
8483#define GL_LINEARBURN_NV 0x92A5
8484#define GL_LINEARDODGE_NV 0x92A4
8485#define GL_LINEARLIGHT_NV 0x92A7
8486#define GL_MINUS_CLAMPED_NV 0x92B3
8487#define GL_MINUS_NV 0x929F
8488#define GL_MULTIPLY_NV 0x9294
8489#define GL_OVERLAY_NV 0x9296
8490#define GL_PINLIGHT_NV 0x92A8
8491#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
8492#define GL_PLUS_CLAMPED_NV 0x92B1
8493#define GL_PLUS_DARKER_NV 0x9292
8494#define GL_PLUS_NV 0x9291
8495#define GL_RED_NV 0x1903
8496#define GL_SCREEN_NV 0x9295
8497#define GL_SOFTLIGHT_NV 0x929C
8498#define GL_SRC_ATOP_NV 0x928E
8499#define GL_SRC_IN_NV 0x928A
8500#define GL_SRC_NV 0x9286
8501#define GL_SRC_OUT_NV 0x928C
8502#define GL_SRC_OVER_NV 0x9288
8503#define GL_UNCORRELATED_NV 0x9282
8504#define GL_VIVIDLIGHT_NV 0x92A6
8505#define GL_XOR_NV 0x1506
8506typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
8507typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
8508#ifdef GL_GLEXT_PROTOTYPES
8509GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
8510GLAPI void APIENTRY glBlendBarrierNV (void);
8511#endif
8512#endif /* GL_NV_blend_equation_advanced */
8513
8514#ifndef GL_NV_blend_equation_advanced_coherent
8515#define GL_NV_blend_equation_advanced_coherent 1
8516#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
8517#endif /* GL_NV_blend_equation_advanced_coherent */
8518
8519#ifndef GL_NV_blend_square
8520#define GL_NV_blend_square 1
8521#endif /* GL_NV_blend_square */
8522
8523#ifndef GL_NV_compute_program5
8524#define GL_NV_compute_program5 1
8525#define GL_COMPUTE_PROGRAM_NV 0x90FB
8526#define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
8527#endif /* GL_NV_compute_program5 */
8528
8529#ifndef GL_NV_conditional_render
8530#define GL_NV_conditional_render 1
8531#define GL_QUERY_WAIT_NV 0x8E13
8532#define GL_QUERY_NO_WAIT_NV 0x8E14
8533#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
8534#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
8535typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
8536typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
8537#ifdef GL_GLEXT_PROTOTYPES
8538GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
8539GLAPI void APIENTRY glEndConditionalRenderNV (void);
8540#endif
8541#endif /* GL_NV_conditional_render */
8542
8543#ifndef GL_NV_copy_depth_to_color
8544#define GL_NV_copy_depth_to_color 1
8545#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
8546#define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
8547#endif /* GL_NV_copy_depth_to_color */
8548
8549#ifndef GL_NV_copy_image
8550#define GL_NV_copy_image 1
8551typedef 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);
8552#ifdef GL_GLEXT_PROTOTYPES
8553GLAPI 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);
8554#endif
8555#endif /* GL_NV_copy_image */
8556
8557#ifndef GL_NV_deep_texture3D
8558#define GL_NV_deep_texture3D 1
8559#define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
8560#define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1
8561#endif /* GL_NV_deep_texture3D */
8562
8563#ifndef GL_NV_depth_buffer_float
8564#define GL_NV_depth_buffer_float 1
8565#define GL_DEPTH_COMPONENT32F_NV 0x8DAB
8566#define GL_DEPTH32F_STENCIL8_NV 0x8DAC
8567#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
8568#define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
8569typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
8570typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
8571typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
8572#ifdef GL_GLEXT_PROTOTYPES
8573GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
8574GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
8575GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
8576#endif
8577#endif /* GL_NV_depth_buffer_float */
8578
8579#ifndef GL_NV_depth_clamp
8580#define GL_NV_depth_clamp 1
8581#define GL_DEPTH_CLAMP_NV 0x864F
8582#endif /* GL_NV_depth_clamp */
8583
8584#ifndef GL_NV_draw_texture
8585#define GL_NV_draw_texture 1
8586typedef 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);
8587#ifdef GL_GLEXT_PROTOTYPES
8588GLAPI 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);
8589#endif
8590#endif /* GL_NV_draw_texture */
8591
8592#ifndef GL_NV_evaluators
8593#define GL_NV_evaluators 1
8594#define GL_EVAL_2D_NV 0x86C0
8595#define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
8596#define GL_MAP_TESSELLATION_NV 0x86C2
8597#define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
8598#define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
8599#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
8600#define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
8601#define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
8602#define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
8603#define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
8604#define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
8605#define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
8606#define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
8607#define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
8608#define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
8609#define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
8610#define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
8611#define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
8612#define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
8613#define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
8614#define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
8615#define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
8616#define GL_MAX_MAP_TESSELLATION_NV 0x86D6
8617#define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
8618typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
8619typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
8620typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
8621typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
8622typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
8623typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
8624typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
8625typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
8626typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
8627#ifdef GL_GLEXT_PROTOTYPES
8628GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
8629GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
8630GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
8631GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
8632GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
8633GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
8634GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
8635GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
8636GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
8637#endif
8638#endif /* GL_NV_evaluators */
8639
8640#ifndef GL_NV_explicit_multisample
8641#define GL_NV_explicit_multisample 1
8642#define GL_SAMPLE_POSITION_NV 0x8E50
8643#define GL_SAMPLE_MASK_NV 0x8E51
8644#define GL_SAMPLE_MASK_VALUE_NV 0x8E52
8645#define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
8646#define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
8647#define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
8648#define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
8649#define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
8650#define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
8651#define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
8652typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
8653typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
8654typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
8655#ifdef GL_GLEXT_PROTOTYPES
8656GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
8657GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
8658GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
8659#endif
8660#endif /* GL_NV_explicit_multisample */
8661
8662#ifndef GL_NV_fence
8663#define GL_NV_fence 1
8664#define GL_ALL_COMPLETED_NV 0x84F2
8665#define GL_FENCE_STATUS_NV 0x84F3
8666#define GL_FENCE_CONDITION_NV 0x84F4
8667typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
8668typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
8669typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
8670typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
8671typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
8672typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
8673typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
8674#ifdef GL_GLEXT_PROTOTYPES
8675GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
8676GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
8677GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
8678GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
8679GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
8680GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
8681GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
8682#endif
8683#endif /* GL_NV_fence */
8684
8685#ifndef GL_NV_float_buffer
8686#define GL_NV_float_buffer 1
8687#define GL_FLOAT_R_NV 0x8880
8688#define GL_FLOAT_RG_NV 0x8881
8689#define GL_FLOAT_RGB_NV 0x8882
8690#define GL_FLOAT_RGBA_NV 0x8883
8691#define GL_FLOAT_R16_NV 0x8884
8692#define GL_FLOAT_R32_NV 0x8885
8693#define GL_FLOAT_RG16_NV 0x8886
8694#define GL_FLOAT_RG32_NV 0x8887
8695#define GL_FLOAT_RGB16_NV 0x8888
8696#define GL_FLOAT_RGB32_NV 0x8889
8697#define GL_FLOAT_RGBA16_NV 0x888A
8698#define GL_FLOAT_RGBA32_NV 0x888B
8699#define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
8700#define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
8701#define GL_FLOAT_RGBA_MODE_NV 0x888E
8702#endif /* GL_NV_float_buffer */
8703
8704#ifndef GL_NV_fog_distance
8705#define GL_NV_fog_distance 1
8706#define GL_FOG_DISTANCE_MODE_NV 0x855A
8707#define GL_EYE_RADIAL_NV 0x855B
8708#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
8709#endif /* GL_NV_fog_distance */
8710
8711#ifndef GL_NV_fragment_program
8712#define GL_NV_fragment_program 1
8713#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
8714#define GL_FRAGMENT_PROGRAM_NV 0x8870
8715#define GL_MAX_TEXTURE_COORDS_NV 0x8871
8716#define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
8717#define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
8718#define GL_PROGRAM_ERROR_STRING_NV 0x8874
8719typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8720typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
8721typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8722typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
8723typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
8724typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
8725#ifdef GL_GLEXT_PROTOTYPES
8726GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8727GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
8728GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8729GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
8730GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
8731GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
8732#endif
8733#endif /* GL_NV_fragment_program */
8734
8735#ifndef GL_NV_fragment_program2
8736#define GL_NV_fragment_program2 1
8737#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
8738#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
8739#define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
8740#define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
8741#define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
8742#endif /* GL_NV_fragment_program2 */
8743
8744#ifndef GL_NV_fragment_program4
8745#define GL_NV_fragment_program4 1
8746#endif /* GL_NV_fragment_program4 */
8747
8748#ifndef GL_NV_fragment_program_option
8749#define GL_NV_fragment_program_option 1
8750#endif /* GL_NV_fragment_program_option */
8751
8752#ifndef GL_NV_framebuffer_multisample_coverage
8753#define GL_NV_framebuffer_multisample_coverage 1
8754#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
8755#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
8756#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
8757#define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
8758typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
8759#ifdef GL_GLEXT_PROTOTYPES
8760GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
8761#endif
8762#endif /* GL_NV_framebuffer_multisample_coverage */
8763
8764#ifndef GL_NV_geometry_program4
8765#define GL_NV_geometry_program4 1
8766#define GL_GEOMETRY_PROGRAM_NV 0x8C26
8767#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
8768#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
8769typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
8770typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
8771typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8772typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
8773#ifdef GL_GLEXT_PROTOTYPES
8774GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
8775GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
8776GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8777GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
8778#endif
8779#endif /* GL_NV_geometry_program4 */
8780
8781#ifndef GL_NV_geometry_shader4
8782#define GL_NV_geometry_shader4 1
8783#endif /* GL_NV_geometry_shader4 */
8784
8785#ifndef GL_NV_gpu_program4
8786#define GL_NV_gpu_program4 1
8787#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
8788#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
8789#define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
8790#define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
8791#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
8792#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
8793#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
8794#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
8795typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
8796typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
8797typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
8798typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
8799typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
8800typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
8801typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
8802typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
8803typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
8804typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
8805typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
8806typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
8807typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
8808typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
8809typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
8810typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
8811#ifdef GL_GLEXT_PROTOTYPES
8812GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
8813GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
8814GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
8815GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
8816GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
8817GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
8818GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
8819GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
8820GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
8821GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
8822GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
8823GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
8824GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
8825GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
8826GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
8827GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
8828#endif
8829#endif /* GL_NV_gpu_program4 */
8830
8831#ifndef GL_NV_gpu_program5
8832#define GL_NV_gpu_program5 1
8833#define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
8834#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
8835#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
8836#define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
8837#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
8838#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
8839#define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
8840#define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
8841typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
8842typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
8843#ifdef GL_GLEXT_PROTOTYPES
8844GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
8845GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
8846#endif
8847#endif /* GL_NV_gpu_program5 */
8848
8849#ifndef GL_NV_gpu_program5_mem_extended
8850#define GL_NV_gpu_program5_mem_extended 1
8851#endif /* GL_NV_gpu_program5_mem_extended */
8852
8853#ifndef GL_NV_gpu_shader5
8854#define GL_NV_gpu_shader5 1
8855#endif /* GL_NV_gpu_shader5 */
8856
8857#ifndef GL_NV_half_float
8858#define GL_NV_half_float 1
8859typedef unsigned short GLhalfNV;
8860#define GL_HALF_FLOAT_NV 0x140B
8861typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
8862typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
8863typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
8864typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
8865typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
8866typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
8867typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
8868typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
8869typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
8870typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
8871typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
8872typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
8873typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
8874typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
8875typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
8876typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
8877typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
8878typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
8879typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
8880typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
8881typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
8882typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
8883typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
8884typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
8885typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
8886typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
8887typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
8888typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
8889typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
8890typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
8891typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
8892typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
8893typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
8894typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
8895typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
8896typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
8897typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
8898typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
8899typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
8900typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
8901typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
8902typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
8903typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
8904typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
8905typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
8906typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
8907#ifdef GL_GLEXT_PROTOTYPES
8908GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
8909GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
8910GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
8911GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
8912GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
8913GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
8914GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
8915GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
8916GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
8917GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
8918GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
8919GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
8920GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
8921GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
8922GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
8923GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
8924GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
8925GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
8926GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
8927GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
8928GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
8929GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
8930GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
8931GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
8932GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
8933GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
8934GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
8935GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
8936GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
8937GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
8938GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
8939GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
8940GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
8941GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
8942GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
8943GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
8944GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
8945GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
8946GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
8947GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
8948GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
8949GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
8950GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
8951GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
8952GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
8953GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
8954#endif
8955#endif /* GL_NV_half_float */
8956
8957#ifndef GL_NV_light_max_exponent
8958#define GL_NV_light_max_exponent 1
8959#define GL_MAX_SHININESS_NV 0x8504
8960#define GL_MAX_SPOT_EXPONENT_NV 0x8505
8961#endif /* GL_NV_light_max_exponent */
8962
8963#ifndef GL_NV_multisample_coverage
8964#define GL_NV_multisample_coverage 1
8965#define GL_COLOR_SAMPLES_NV 0x8E20
8966#endif /* GL_NV_multisample_coverage */
8967
8968#ifndef GL_NV_multisample_filter_hint
8969#define GL_NV_multisample_filter_hint 1
8970#define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
8971#endif /* GL_NV_multisample_filter_hint */
8972
8973#ifndef GL_NV_occlusion_query
8974#define GL_NV_occlusion_query 1
8975#define GL_PIXEL_COUNTER_BITS_NV 0x8864
8976#define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
8977#define GL_PIXEL_COUNT_NV 0x8866
8978#define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
8979typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
8980typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
8981typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
8982typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
8983typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
8984typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
8985typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
8986#ifdef GL_GLEXT_PROTOTYPES
8987GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
8988GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
8989GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
8990GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
8991GLAPI void APIENTRY glEndOcclusionQueryNV (void);
8992GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
8993GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
8994#endif
8995#endif /* GL_NV_occlusion_query */
8996
8997#ifndef GL_NV_packed_depth_stencil
8998#define GL_NV_packed_depth_stencil 1
8999#define GL_DEPTH_STENCIL_NV 0x84F9
9000#define GL_UNSIGNED_INT_24_8_NV 0x84FA
9001#endif /* GL_NV_packed_depth_stencil */
9002
9003#ifndef GL_NV_parameter_buffer_object
9004#define GL_NV_parameter_buffer_object 1
9005#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
9006#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
9007#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
9008#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
9009#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
9010typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
9011typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
9012typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
9013#ifdef GL_GLEXT_PROTOTYPES
9014GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
9015GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
9016GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
9017#endif
9018#endif /* GL_NV_parameter_buffer_object */
9019
9020#ifndef GL_NV_parameter_buffer_object2
9021#define GL_NV_parameter_buffer_object2 1
9022#endif /* GL_NV_parameter_buffer_object2 */
9023
9024#ifndef GL_NV_path_rendering
9025#define GL_NV_path_rendering 1
9026#define GL_PATH_FORMAT_SVG_NV 0x9070
9027#define GL_PATH_FORMAT_PS_NV 0x9071
9028#define GL_STANDARD_FONT_NAME_NV 0x9072
9029#define GL_SYSTEM_FONT_NAME_NV 0x9073
9030#define GL_FILE_NAME_NV 0x9074
9031#define GL_PATH_STROKE_WIDTH_NV 0x9075
9032#define GL_PATH_END_CAPS_NV 0x9076
9033#define GL_PATH_INITIAL_END_CAP_NV 0x9077
9034#define GL_PATH_TERMINAL_END_CAP_NV 0x9078
9035#define GL_PATH_JOIN_STYLE_NV 0x9079
9036#define GL_PATH_MITER_LIMIT_NV 0x907A
9037#define GL_PATH_DASH_CAPS_NV 0x907B
9038#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
9039#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
9040#define GL_PATH_DASH_OFFSET_NV 0x907E
9041#define GL_PATH_CLIENT_LENGTH_NV 0x907F
9042#define GL_PATH_FILL_MODE_NV 0x9080
9043#define GL_PATH_FILL_MASK_NV 0x9081
9044#define GL_PATH_FILL_COVER_MODE_NV 0x9082
9045#define GL_PATH_STROKE_COVER_MODE_NV 0x9083
9046#define GL_PATH_STROKE_MASK_NV 0x9084
9047#define GL_COUNT_UP_NV 0x9088
9048#define GL_COUNT_DOWN_NV 0x9089
9049#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
9050#define GL_CONVEX_HULL_NV 0x908B
9051#define GL_BOUNDING_BOX_NV 0x908D
9052#define GL_TRANSLATE_X_NV 0x908E
9053#define GL_TRANSLATE_Y_NV 0x908F
9054#define GL_TRANSLATE_2D_NV 0x9090
9055#define GL_TRANSLATE_3D_NV 0x9091
9056#define GL_AFFINE_2D_NV 0x9092
9057#define GL_AFFINE_3D_NV 0x9094
9058#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
9059#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
9060#define GL_UTF8_NV 0x909A
9061#define GL_UTF16_NV 0x909B
9062#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
9063#define GL_PATH_COMMAND_COUNT_NV 0x909D
9064#define GL_PATH_COORD_COUNT_NV 0x909E
9065#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
9066#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
9067#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
9068#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
9069#define GL_SQUARE_NV 0x90A3
9070#define GL_ROUND_NV 0x90A4
9071#define GL_TRIANGULAR_NV 0x90A5
9072#define GL_BEVEL_NV 0x90A6
9073#define GL_MITER_REVERT_NV 0x90A7
9074#define GL_MITER_TRUNCATE_NV 0x90A8
9075#define GL_SKIP_MISSING_GLYPH_NV 0x90A9
9076#define GL_USE_MISSING_GLYPH_NV 0x90AA
9077#define GL_PATH_ERROR_POSITION_NV 0x90AB
9078#define GL_PATH_FOG_GEN_MODE_NV 0x90AC
9079#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
9080#define GL_ADJACENT_PAIRS_NV 0x90AE
9081#define GL_FIRST_TO_REST_NV 0x90AF
9082#define GL_PATH_GEN_MODE_NV 0x90B0
9083#define GL_PATH_GEN_COEFF_NV 0x90B1
9084#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
9085#define GL_PATH_GEN_COMPONENTS_NV 0x90B3
9086#define GL_PATH_STENCIL_FUNC_NV 0x90B7
9087#define GL_PATH_STENCIL_REF_NV 0x90B8
9088#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
9089#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
9090#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
9091#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
9092#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
9093#define GL_MOVE_TO_RESETS_NV 0x90B5
9094#define GL_MOVE_TO_CONTINUES_NV 0x90B6
9095#define GL_CLOSE_PATH_NV 0x00
9096#define GL_MOVE_TO_NV 0x02
9097#define GL_RELATIVE_MOVE_TO_NV 0x03
9098#define GL_LINE_TO_NV 0x04
9099#define GL_RELATIVE_LINE_TO_NV 0x05
9100#define GL_HORIZONTAL_LINE_TO_NV 0x06
9101#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
9102#define GL_VERTICAL_LINE_TO_NV 0x08
9103#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
9104#define GL_QUADRATIC_CURVE_TO_NV 0x0A
9105#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
9106#define GL_CUBIC_CURVE_TO_NV 0x0C
9107#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
9108#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
9109#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
9110#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
9111#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
9112#define GL_SMALL_CCW_ARC_TO_NV 0x12
9113#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
9114#define GL_SMALL_CW_ARC_TO_NV 0x14
9115#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
9116#define GL_LARGE_CCW_ARC_TO_NV 0x16
9117#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
9118#define GL_LARGE_CW_ARC_TO_NV 0x18
9119#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
9120#define GL_RESTART_PATH_NV 0xF0
9121#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
9122#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
9123#define GL_RECT_NV 0xF6
9124#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
9125#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
9126#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
9127#define GL_ARC_TO_NV 0xFE
9128#define GL_RELATIVE_ARC_TO_NV 0xFF
9129#define GL_BOLD_BIT_NV 0x01
9130#define GL_ITALIC_BIT_NV 0x02
9131#define GL_GLYPH_WIDTH_BIT_NV 0x01
9132#define GL_GLYPH_HEIGHT_BIT_NV 0x02
9133#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
9134#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
9135#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
9136#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
9137#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
9138#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
9139#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
9140#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
9141#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
9142#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
9143#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
9144#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
9145#define GL_FONT_ASCENDER_BIT_NV 0x00200000
9146#define GL_FONT_DESCENDER_BIT_NV 0x00400000
9147#define GL_FONT_HEIGHT_BIT_NV 0x00800000
9148#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
9149#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
9150#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
9151#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
9152#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
9153#define GL_PRIMARY_COLOR_NV 0x852C
9154#define GL_SECONDARY_COLOR_NV 0x852D
9155typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
9156typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
9157typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
9158typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9159typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
9160typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9161typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
9162typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
9163typedef 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);
9164typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9165typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
9166typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
9167typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
9168typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
9169typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
9170typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
9171typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
9172typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
9173typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
9174typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
9175typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
9176typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
9177typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
9178typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9179typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9180typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
9181typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9182typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9183typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
9184typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
9185typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
9186typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9187typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9188typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
9189typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
9190typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
9191typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
9192typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
9193typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9194typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9195typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9196typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
9197typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
9198typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
9199typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
9200typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9201typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
9202typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
9203typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
9204#ifdef GL_GLEXT_PROTOTYPES
9205GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
9206GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
9207GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
9208GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9209GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
9210GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
9211GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
9212GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
9213GLAPI 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);
9214GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
9215GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
9216GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
9217GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
9218GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
9219GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
9220GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
9221GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
9222GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
9223GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
9224GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
9225GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
9226GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
9227GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
9228GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9229GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9230GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
9231GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9232GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9233GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
9234GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
9235GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
9236GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9237GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
9238GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
9239GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
9240GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
9241GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
9242GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
9243GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9244GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9245GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9246GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
9247GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
9248GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
9249GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
9250GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9251GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
9252GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
9253GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
9254#endif
9255#endif /* GL_NV_path_rendering */
9256
9257#ifndef GL_NV_pixel_data_range
9258#define GL_NV_pixel_data_range 1
9259#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
9260#define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
9261#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
9262#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
9263#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
9264#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
9265typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
9266typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
9267#ifdef GL_GLEXT_PROTOTYPES
9268GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
9269GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
9270#endif
9271#endif /* GL_NV_pixel_data_range */
9272
9273#ifndef GL_NV_point_sprite
9274#define GL_NV_point_sprite 1
9275#define GL_POINT_SPRITE_NV 0x8861
9276#define GL_COORD_REPLACE_NV 0x8862
9277#define GL_POINT_SPRITE_R_MODE_NV 0x8863
9278typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
9279typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
9280#ifdef GL_GLEXT_PROTOTYPES
9281GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
9282GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
9283#endif
9284#endif /* GL_NV_point_sprite */
9285
9286#ifndef GL_NV_present_video
9287#define GL_NV_present_video 1
9288#define GL_FRAME_NV 0x8E26
9289#define GL_FIELDS_NV 0x8E27
9290#define GL_CURRENT_TIME_NV 0x8E28
9291#define GL_NUM_FILL_STREAMS_NV 0x8E29
9292#define GL_PRESENT_TIME_NV 0x8E2A
9293#define GL_PRESENT_DURATION_NV 0x8E2B
9294typedef 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);
9295typedef 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);
9296typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
9297typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
9298typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
9299typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
9300#ifdef GL_GLEXT_PROTOTYPES
9301GLAPI 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);
9302GLAPI 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);
9303GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
9304GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
9305GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
9306GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
9307#endif
9308#endif /* GL_NV_present_video */
9309
9310#ifndef GL_NV_primitive_restart
9311#define GL_NV_primitive_restart 1
9312#define GL_PRIMITIVE_RESTART_NV 0x8558
9313#define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
9314typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
9315typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
9316#ifdef GL_GLEXT_PROTOTYPES
9317GLAPI void APIENTRY glPrimitiveRestartNV (void);
9318GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
9319#endif
9320#endif /* GL_NV_primitive_restart */
9321
9322#ifndef GL_NV_register_combiners
9323#define GL_NV_register_combiners 1
9324#define GL_REGISTER_COMBINERS_NV 0x8522
9325#define GL_VARIABLE_A_NV 0x8523
9326#define GL_VARIABLE_B_NV 0x8524
9327#define GL_VARIABLE_C_NV 0x8525
9328#define GL_VARIABLE_D_NV 0x8526
9329#define GL_VARIABLE_E_NV 0x8527
9330#define GL_VARIABLE_F_NV 0x8528
9331#define GL_VARIABLE_G_NV 0x8529
9332#define GL_CONSTANT_COLOR0_NV 0x852A
9333#define GL_CONSTANT_COLOR1_NV 0x852B
9334#define GL_SPARE0_NV 0x852E
9335#define GL_SPARE1_NV 0x852F
9336#define GL_DISCARD_NV 0x8530
9337#define GL_E_TIMES_F_NV 0x8531
9338#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
9339#define GL_UNSIGNED_IDENTITY_NV 0x8536
9340#define GL_UNSIGNED_INVERT_NV 0x8537
9341#define GL_EXPAND_NORMAL_NV 0x8538
9342#define GL_EXPAND_NEGATE_NV 0x8539
9343#define GL_HALF_BIAS_NORMAL_NV 0x853A
9344#define GL_HALF_BIAS_NEGATE_NV 0x853B
9345#define GL_SIGNED_IDENTITY_NV 0x853C
9346#define GL_SIGNED_NEGATE_NV 0x853D
9347#define GL_SCALE_BY_TWO_NV 0x853E
9348#define GL_SCALE_BY_FOUR_NV 0x853F
9349#define GL_SCALE_BY_ONE_HALF_NV 0x8540
9350#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
9351#define GL_COMBINER_INPUT_NV 0x8542
9352#define GL_COMBINER_MAPPING_NV 0x8543
9353#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
9354#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
9355#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
9356#define GL_COMBINER_MUX_SUM_NV 0x8547
9357#define GL_COMBINER_SCALE_NV 0x8548
9358#define GL_COMBINER_BIAS_NV 0x8549
9359#define GL_COMBINER_AB_OUTPUT_NV 0x854A
9360#define GL_COMBINER_CD_OUTPUT_NV 0x854B
9361#define GL_COMBINER_SUM_OUTPUT_NV 0x854C
9362#define GL_MAX_GENERAL_COMBINERS_NV 0x854D
9363#define GL_NUM_GENERAL_COMBINERS_NV 0x854E
9364#define GL_COLOR_SUM_CLAMP_NV 0x854F
9365#define GL_COMBINER0_NV 0x8550
9366#define GL_COMBINER1_NV 0x8551
9367#define GL_COMBINER2_NV 0x8552
9368#define GL_COMBINER3_NV 0x8553
9369#define GL_COMBINER4_NV 0x8554
9370#define GL_COMBINER5_NV 0x8555
9371#define GL_COMBINER6_NV 0x8556
9372#define GL_COMBINER7_NV 0x8557
9373typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
9374typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
9375typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
9376typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
9377typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9378typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
9379typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9380typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
9381typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
9382typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
9383typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
9384typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
9385typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
9386#ifdef GL_GLEXT_PROTOTYPES
9387GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
9388GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
9389GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
9390GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
9391GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9392GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
9393GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9394GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
9395GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
9396GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
9397GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
9398GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
9399GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
9400#endif
9401#endif /* GL_NV_register_combiners */
9402
9403#ifndef GL_NV_register_combiners2
9404#define GL_NV_register_combiners2 1
9405#define GL_PER_STAGE_CONSTANTS_NV 0x8535
9406typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
9407typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
9408#ifdef GL_GLEXT_PROTOTYPES
9409GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
9410GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
9411#endif
9412#endif /* GL_NV_register_combiners2 */
9413
9414#ifndef GL_NV_shader_atomic_counters
9415#define GL_NV_shader_atomic_counters 1
9416#endif /* GL_NV_shader_atomic_counters */
9417
9418#ifndef GL_NV_shader_atomic_float
9419#define GL_NV_shader_atomic_float 1
9420#endif /* GL_NV_shader_atomic_float */
9421
9422#ifndef GL_NV_shader_buffer_load
9423#define GL_NV_shader_buffer_load 1
9424#define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
9425#define GL_GPU_ADDRESS_NV 0x8F34
9426#define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
9427typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
9428typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
9429typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
9430typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
9431typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
9432typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
9433typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
9434typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
9435typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
9436typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
9437typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
9438typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
9439typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
9440#ifdef GL_GLEXT_PROTOTYPES
9441GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
9442GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
9443GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
9444GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
9445GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
9446GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
9447GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
9448GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
9449GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
9450GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
9451GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
9452GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
9453GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
9454#endif
9455#endif /* GL_NV_shader_buffer_load */
9456
9457#ifndef GL_NV_shader_buffer_store
9458#define GL_NV_shader_buffer_store 1
9459#define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
9460#endif /* GL_NV_shader_buffer_store */
9461
9462#ifndef GL_NV_shader_storage_buffer_object
9463#define GL_NV_shader_storage_buffer_object 1
9464#endif /* GL_NV_shader_storage_buffer_object */
9465
9466#ifndef GL_NV_shader_thread_group
9467#define GL_NV_shader_thread_group 1
9468#define GL_WARP_SIZE_NV 0x9339
9469#define GL_WARPS_PER_SM_NV 0x933A
9470#define GL_SM_COUNT_NV 0x933B
9471#endif /* GL_NV_shader_thread_group */
9472
9473#ifndef GL_NV_shader_thread_shuffle
9474#define GL_NV_shader_thread_shuffle 1
9475#endif /* GL_NV_shader_thread_shuffle */
9476
9477#ifndef GL_NV_tessellation_program5
9478#define GL_NV_tessellation_program5 1
9479#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
9480#define GL_TESS_CONTROL_PROGRAM_NV 0x891E
9481#define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
9482#define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
9483#define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
9484#endif /* GL_NV_tessellation_program5 */
9485
9486#ifndef GL_NV_texgen_emboss
9487#define GL_NV_texgen_emboss 1
9488#define GL_EMBOSS_LIGHT_NV 0x855D
9489#define GL_EMBOSS_CONSTANT_NV 0x855E
9490#define GL_EMBOSS_MAP_NV 0x855F
9491#endif /* GL_NV_texgen_emboss */
9492
9493#ifndef GL_NV_texgen_reflection
9494#define GL_NV_texgen_reflection 1
9495#define GL_NORMAL_MAP_NV 0x8511
9496#define GL_REFLECTION_MAP_NV 0x8512
9497#endif /* GL_NV_texgen_reflection */
9498
9499#ifndef GL_NV_texture_barrier
9500#define GL_NV_texture_barrier 1
9501typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
9502#ifdef GL_GLEXT_PROTOTYPES
9503GLAPI void APIENTRY glTextureBarrierNV (void);
9504#endif
9505#endif /* GL_NV_texture_barrier */
9506
9507#ifndef GL_NV_texture_compression_vtc
9508#define GL_NV_texture_compression_vtc 1
9509#endif /* GL_NV_texture_compression_vtc */
9510
9511#ifndef GL_NV_texture_env_combine4
9512#define GL_NV_texture_env_combine4 1
9513#define GL_COMBINE4_NV 0x8503
9514#define GL_SOURCE3_RGB_NV 0x8583
9515#define GL_SOURCE3_ALPHA_NV 0x858B
9516#define GL_OPERAND3_RGB_NV 0x8593
9517#define GL_OPERAND3_ALPHA_NV 0x859B
9518#endif /* GL_NV_texture_env_combine4 */
9519
9520#ifndef GL_NV_texture_expand_normal
9521#define GL_NV_texture_expand_normal 1
9522#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
9523#endif /* GL_NV_texture_expand_normal */
9524
9525#ifndef GL_NV_texture_multisample
9526#define GL_NV_texture_multisample 1
9527#define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
9528#define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
9529typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9530typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9531typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9532typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9533typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9534typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9535#ifdef GL_GLEXT_PROTOTYPES
9536GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9537GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9538GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9539GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9540GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
9541GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
9542#endif
9543#endif /* GL_NV_texture_multisample */
9544
9545#ifndef GL_NV_texture_rectangle
9546#define GL_NV_texture_rectangle 1
9547#define GL_TEXTURE_RECTANGLE_NV 0x84F5
9548#define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
9549#define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
9550#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
9551#endif /* GL_NV_texture_rectangle */
9552
9553#ifndef GL_NV_texture_shader
9554#define GL_NV_texture_shader 1
9555#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
9556#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
9557#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
9558#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
9559#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
9560#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
9561#define GL_DSDT_MAG_INTENSITY_NV 0x86DC
9562#define GL_SHADER_CONSISTENT_NV 0x86DD
9563#define GL_TEXTURE_SHADER_NV 0x86DE
9564#define GL_SHADER_OPERATION_NV 0x86DF
9565#define GL_CULL_MODES_NV 0x86E0
9566#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
9567#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
9568#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
9569#define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
9570#define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
9571#define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
9572#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
9573#define GL_CONST_EYE_NV 0x86E5
9574#define GL_PASS_THROUGH_NV 0x86E6
9575#define GL_CULL_FRAGMENT_NV 0x86E7
9576#define GL_OFFSET_TEXTURE_2D_NV 0x86E8
9577#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
9578#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
9579#define GL_DOT_PRODUCT_NV 0x86EC
9580#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
9581#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
9582#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
9583#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
9584#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
9585#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
9586#define GL_HILO_NV 0x86F4
9587#define GL_DSDT_NV 0x86F5
9588#define GL_DSDT_MAG_NV 0x86F6
9589#define GL_DSDT_MAG_VIB_NV 0x86F7
9590#define GL_HILO16_NV 0x86F8
9591#define GL_SIGNED_HILO_NV 0x86F9
9592#define GL_SIGNED_HILO16_NV 0x86FA
9593#define GL_SIGNED_RGBA_NV 0x86FB
9594#define GL_SIGNED_RGBA8_NV 0x86FC
9595#define GL_SIGNED_RGB_NV 0x86FE
9596#define GL_SIGNED_RGB8_NV 0x86FF
9597#define GL_SIGNED_LUMINANCE_NV 0x8701
9598#define GL_SIGNED_LUMINANCE8_NV 0x8702
9599#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
9600#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
9601#define GL_SIGNED_ALPHA_NV 0x8705
9602#define GL_SIGNED_ALPHA8_NV 0x8706
9603#define GL_SIGNED_INTENSITY_NV 0x8707
9604#define GL_SIGNED_INTENSITY8_NV 0x8708
9605#define GL_DSDT8_NV 0x8709
9606#define GL_DSDT8_MAG8_NV 0x870A
9607#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
9608#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
9609#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
9610#define GL_HI_SCALE_NV 0x870E
9611#define GL_LO_SCALE_NV 0x870F
9612#define GL_DS_SCALE_NV 0x8710
9613#define GL_DT_SCALE_NV 0x8711
9614#define GL_MAGNITUDE_SCALE_NV 0x8712
9615#define GL_VIBRANCE_SCALE_NV 0x8713
9616#define GL_HI_BIAS_NV 0x8714
9617#define GL_LO_BIAS_NV 0x8715
9618#define GL_DS_BIAS_NV 0x8716
9619#define GL_DT_BIAS_NV 0x8717
9620#define GL_MAGNITUDE_BIAS_NV 0x8718
9621#define GL_VIBRANCE_BIAS_NV 0x8719
9622#define GL_TEXTURE_BORDER_VALUES_NV 0x871A
9623#define GL_TEXTURE_HI_SIZE_NV 0x871B
9624#define GL_TEXTURE_LO_SIZE_NV 0x871C
9625#define GL_TEXTURE_DS_SIZE_NV 0x871D
9626#define GL_TEXTURE_DT_SIZE_NV 0x871E
9627#define GL_TEXTURE_MAG_SIZE_NV 0x871F
9628#endif /* GL_NV_texture_shader */
9629
9630#ifndef GL_NV_texture_shader2
9631#define GL_NV_texture_shader2 1
9632#define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
9633#endif /* GL_NV_texture_shader2 */
9634
9635#ifndef GL_NV_texture_shader3
9636#define GL_NV_texture_shader3 1
9637#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
9638#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
9639#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
9640#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
9641#define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
9642#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
9643#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
9644#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
9645#define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
9646#define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
9647#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
9648#define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
9649#define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
9650#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
9651#define GL_HILO8_NV 0x885E
9652#define GL_SIGNED_HILO8_NV 0x885F
9653#define GL_FORCE_BLUE_TO_ONE_NV 0x8860
9654#endif /* GL_NV_texture_shader3 */
9655
9656#ifndef GL_NV_transform_feedback
9657#define GL_NV_transform_feedback 1
9658#define GL_BACK_PRIMARY_COLOR_NV 0x8C77
9659#define GL_BACK_SECONDARY_COLOR_NV 0x8C78
9660#define GL_TEXTURE_COORD_NV 0x8C79
9661#define GL_CLIP_DISTANCE_NV 0x8C7A
9662#define GL_VERTEX_ID_NV 0x8C7B
9663#define GL_PRIMITIVE_ID_NV 0x8C7C
9664#define GL_GENERIC_ATTRIB_NV 0x8C7D
9665#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
9666#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
9667#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
9668#define GL_ACTIVE_VARYINGS_NV 0x8C81
9669#define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
9670#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
9671#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
9672#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
9673#define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
9674#define GL_PRIMITIVES_GENERATED_NV 0x8C87
9675#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
9676#define GL_RASTERIZER_DISCARD_NV 0x8C89
9677#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
9678#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
9679#define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
9680#define GL_SEPARATE_ATTRIBS_NV 0x8C8D
9681#define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
9682#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
9683#define GL_LAYER_NV 0x8DAA
9684#define GL_NEXT_BUFFER_NV -2
9685#define GL_SKIP_COMPONENTS4_NV -3
9686#define GL_SKIP_COMPONENTS3_NV -4
9687#define GL_SKIP_COMPONENTS2_NV -5
9688#define GL_SKIP_COMPONENTS1_NV -6
9689typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
9690typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
9691typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
9692typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
9693typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
9694typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
9695typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
9696typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
9697typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
9698typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
9699typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
9700typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
9701#ifdef GL_GLEXT_PROTOTYPES
9702GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
9703GLAPI void APIENTRY glEndTransformFeedbackNV (void);
9704GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
9705GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
9706GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
9707GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
9708GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
9709GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
9710GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
9711GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
9712GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
9713GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
9714#endif
9715#endif /* GL_NV_transform_feedback */
9716
9717#ifndef GL_NV_transform_feedback2
9718#define GL_NV_transform_feedback2 1
9719#define GL_TRANSFORM_FEEDBACK_NV 0x8E22
9720#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
9721#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
9722#define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
9723typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
9724typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
9725typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
9726typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
9727typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
9728typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
9729typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
9730#ifdef GL_GLEXT_PROTOTYPES
9731GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
9732GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
9733GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
9734GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
9735GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
9736GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
9737GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
9738#endif
9739#endif /* GL_NV_transform_feedback2 */
9740
9741#ifndef GL_NV_vdpau_interop
9742#define GL_NV_vdpau_interop 1
9743typedef GLintptr GLvdpauSurfaceNV;
9744#define GL_SURFACE_STATE_NV 0x86EB
9745#define GL_SURFACE_REGISTERED_NV 0x86FD
9746#define GL_SURFACE_MAPPED_NV 0x8700
9747#define GL_WRITE_DISCARD_NV 0x88BE
9748typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
9749typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
9750typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
9751typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
9752typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
9753typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
9754typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
9755typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
9756typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
9757typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
9758#ifdef GL_GLEXT_PROTOTYPES
9759GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
9760GLAPI void APIENTRY glVDPAUFiniNV (void);
9761GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
9762GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
9763GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
9764GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
9765GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
9766GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
9767GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
9768GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
9769#endif
9770#endif /* GL_NV_vdpau_interop */
9771
9772#ifndef GL_NV_vertex_array_range
9773#define GL_NV_vertex_array_range 1
9774#define GL_VERTEX_ARRAY_RANGE_NV 0x851D
9775#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
9776#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
9777#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
9778#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
9779typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
9780typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
9781#ifdef GL_GLEXT_PROTOTYPES
9782GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
9783GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
9784#endif
9785#endif /* GL_NV_vertex_array_range */
9786
9787#ifndef GL_NV_vertex_array_range2
9788#define GL_NV_vertex_array_range2 1
9789#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
9790#endif /* GL_NV_vertex_array_range2 */
9791
9792#ifndef GL_NV_vertex_attrib_integer_64bit
9793#define GL_NV_vertex_attrib_integer_64bit 1
9794typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
9795typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
9796typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
9797typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
9798typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
9799typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
9800typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
9801typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
9802typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
9803typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
9804typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
9805typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
9806typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
9807typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
9808typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
9809typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
9810typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
9811typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
9812typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
9813#ifdef GL_GLEXT_PROTOTYPES
9814GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
9815GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
9816GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
9817GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
9818GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
9819GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
9820GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
9821GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
9822GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
9823GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
9824GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
9825GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
9826GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
9827GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
9828GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
9829GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
9830GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
9831GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
9832GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
9833#endif
9834#endif /* GL_NV_vertex_attrib_integer_64bit */
9835
9836#ifndef GL_NV_vertex_buffer_unified_memory
9837#define GL_NV_vertex_buffer_unified_memory 1
9838#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
9839#define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
9840#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
9841#define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
9842#define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
9843#define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
9844#define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
9845#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
9846#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
9847#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
9848#define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
9849#define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
9850#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
9851#define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
9852#define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
9853#define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
9854#define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
9855#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
9856#define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
9857#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
9858#define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
9859#define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
9860#define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
9861#define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
9862#define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
9863typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
9864typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
9865typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
9866typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
9867typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
9868typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
9869typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
9870typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
9871typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
9872typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
9873typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
9874typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
9875#ifdef GL_GLEXT_PROTOTYPES
9876GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
9877GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
9878GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
9879GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
9880GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
9881GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
9882GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
9883GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
9884GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
9885GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
9886GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
9887GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
9888#endif
9889#endif /* GL_NV_vertex_buffer_unified_memory */
9890
9891#ifndef GL_NV_vertex_program
9892#define GL_NV_vertex_program 1
9893#define GL_VERTEX_PROGRAM_NV 0x8620
9894#define GL_VERTEX_STATE_PROGRAM_NV 0x8621
9895#define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
9896#define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
9897#define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
9898#define GL_CURRENT_ATTRIB_NV 0x8626
9899#define GL_PROGRAM_LENGTH_NV 0x8627
9900#define GL_PROGRAM_STRING_NV 0x8628
9901#define GL_MODELVIEW_PROJECTION_NV 0x8629
9902#define GL_IDENTITY_NV 0x862A
9903#define GL_INVERSE_NV 0x862B
9904#define GL_TRANSPOSE_NV 0x862C
9905#define GL_INVERSE_TRANSPOSE_NV 0x862D
9906#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
9907#define GL_MAX_TRACK_MATRICES_NV 0x862F
9908#define GL_MATRIX0_NV 0x8630
9909#define GL_MATRIX1_NV 0x8631
9910#define GL_MATRIX2_NV 0x8632
9911#define GL_MATRIX3_NV 0x8633
9912#define GL_MATRIX4_NV 0x8634
9913#define GL_MATRIX5_NV 0x8635
9914#define GL_MATRIX6_NV 0x8636
9915#define GL_MATRIX7_NV 0x8637
9916#define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
9917#define GL_CURRENT_MATRIX_NV 0x8641
9918#define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
9919#define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
9920#define GL_PROGRAM_PARAMETER_NV 0x8644
9921#define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
9922#define GL_PROGRAM_TARGET_NV 0x8646
9923#define GL_PROGRAM_RESIDENT_NV 0x8647
9924#define GL_TRACK_MATRIX_NV 0x8648
9925#define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
9926#define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
9927#define GL_PROGRAM_ERROR_POSITION_NV 0x864B
9928#define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
9929#define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
9930#define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
9931#define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
9932#define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
9933#define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
9934#define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
9935#define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
9936#define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
9937#define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
9938#define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
9939#define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
9940#define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
9941#define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
9942#define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
9943#define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
9944#define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
9945#define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
9946#define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
9947#define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
9948#define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
9949#define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
9950#define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
9951#define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
9952#define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
9953#define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
9954#define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
9955#define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
9956#define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
9957#define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
9958#define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
9959#define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
9960#define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
9961#define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
9962#define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
9963#define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
9964#define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
9965#define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
9966#define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
9967#define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
9968#define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
9969#define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
9970#define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
9971#define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
9972#define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
9973#define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
9974#define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
9975#define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
9976typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
9977typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
9978typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
9979typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
9980typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
9981typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
9982typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
9983typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
9984typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
9985typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
9986typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
9987typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
9988typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
9989typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
9990typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
9991typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
9992typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9993typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
9994typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9995typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
9996typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
9997typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
9998typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
9999typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
10000typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
10001typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
10002typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
10003typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
10004typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
10005typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
10006typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
10007typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
10008typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
10009typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
10010typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
10011typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
10012typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
10013typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10014typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
10015typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
10016typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
10017typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
10018typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
10019typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10020typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
10021typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10022typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
10023typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
10024typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
10025typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
10026typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
10027typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10028typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10029typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10030typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10031typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10032typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10033typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10034typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10035typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10036typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10037typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10038typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10039typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
10040#ifdef GL_GLEXT_PROTOTYPES
10041GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
10042GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
10043GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
10044GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
10045GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
10046GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
10047GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
10048GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
10049GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
10050GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
10051GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
10052GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
10053GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
10054GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
10055GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
10056GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
10057GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10058GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
10059GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10060GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
10061GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
10062GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
10063GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
10064GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
10065GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
10066GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
10067GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
10068GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
10069GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
10070GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
10071GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
10072GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
10073GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
10074GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
10075GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
10076GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
10077GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
10078GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10079GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
10080GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
10081GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
10082GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
10083GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
10084GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10085GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
10086GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10087GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
10088GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
10089GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
10090GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
10091GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
10092GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
10093GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
10094GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
10095GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
10096GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
10097GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
10098GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
10099GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
10100GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
10101GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
10102GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
10103GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
10104GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
10105#endif
10106#endif /* GL_NV_vertex_program */
10107
10108#ifndef GL_NV_vertex_program1_1
10109#define GL_NV_vertex_program1_1 1
10110#endif /* GL_NV_vertex_program1_1 */
10111
10112#ifndef GL_NV_vertex_program2
10113#define GL_NV_vertex_program2 1
10114#endif /* GL_NV_vertex_program2 */
10115
10116#ifndef GL_NV_vertex_program2_option
10117#define GL_NV_vertex_program2_option 1
10118#endif /* GL_NV_vertex_program2_option */
10119
10120#ifndef GL_NV_vertex_program3
10121#define GL_NV_vertex_program3 1
10122#endif /* GL_NV_vertex_program3 */
10123
10124#ifndef GL_NV_vertex_program4
10125#define GL_NV_vertex_program4 1
10126#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
10127typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
10128typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
10129typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
10130typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
10131typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
10132typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
10133typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
10134typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10135typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
10136typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
10137typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
10138typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
10139typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
10140typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
10141typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
10142typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
10143typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
10144typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
10145typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
10146typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
10147typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10148typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
10149typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
10150#ifdef GL_GLEXT_PROTOTYPES
10151GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
10152GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
10153GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
10154GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
10155GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
10156GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
10157GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
10158GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10159GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
10160GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
10161GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
10162GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
10163GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
10164GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
10165GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
10166GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
10167GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
10168GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
10169GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
10170GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
10171GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10172GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
10173GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
10174#endif
10175#endif /* GL_NV_vertex_program4 */
10176
10177#ifndef GL_NV_video_capture
10178#define GL_NV_video_capture 1
10179#define GL_VIDEO_BUFFER_NV 0x9020
10180#define GL_VIDEO_BUFFER_BINDING_NV 0x9021
10181#define GL_FIELD_UPPER_NV 0x9022
10182#define GL_FIELD_LOWER_NV 0x9023
10183#define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
10184#define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
10185#define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
10186#define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
10187#define GL_VIDEO_BUFFER_PITCH_NV 0x9028
10188#define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
10189#define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
10190#define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
10191#define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
10192#define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
10193#define GL_PARTIAL_SUCCESS_NV 0x902E
10194#define GL_SUCCESS_NV 0x902F
10195#define GL_FAILURE_NV 0x9030
10196#define GL_YCBYCR8_422_NV 0x9031
10197#define GL_YCBAYCR8A_4224_NV 0x9032
10198#define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
10199#define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
10200#define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
10201#define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
10202#define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
10203#define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
10204#define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
10205#define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
10206#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
10207#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
10208typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
10209typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
10210typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
10211typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
10212typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
10213typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
10214typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
10215typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
10216typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
10217typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
10218typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
10219typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
10220#ifdef GL_GLEXT_PROTOTYPES
10221GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
10222GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
10223GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
10224GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
10225GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
10226GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
10227GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
10228GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
10229GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
10230GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
10231GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
10232GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
10233#endif
10234#endif /* GL_NV_video_capture */
10235
10236#ifndef GL_OML_interlace
10237#define GL_OML_interlace 1
10238#define GL_INTERLACE_OML 0x8980
10239#define GL_INTERLACE_READ_OML 0x8981
10240#endif /* GL_OML_interlace */
10241
10242#ifndef GL_OML_resample
10243#define GL_OML_resample 1
10244#define GL_PACK_RESAMPLE_OML 0x8984
10245#define GL_UNPACK_RESAMPLE_OML 0x8985
10246#define GL_RESAMPLE_REPLICATE_OML 0x8986
10247#define GL_RESAMPLE_ZERO_FILL_OML 0x8987
10248#define GL_RESAMPLE_AVERAGE_OML 0x8988
10249#define GL_RESAMPLE_DECIMATE_OML 0x8989
10250#endif /* GL_OML_resample */
10251
10252#ifndef GL_OML_subsample
10253#define GL_OML_subsample 1
10254#define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
10255#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
10256#endif /* GL_OML_subsample */
10257
10258#ifndef GL_PGI_misc_hints
10259#define GL_PGI_misc_hints 1
10260#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
10261#define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
10262#define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
10263#define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
10264#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
10265#define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
10266#define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
10267#define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
10268#define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
10269#define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
10270#define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
10271#define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
10272#define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
10273#define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
10274#define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
10275#define GL_FULL_STIPPLE_HINT_PGI 0x1A219
10276#define GL_CLIP_NEAR_HINT_PGI 0x1A220
10277#define GL_CLIP_FAR_HINT_PGI 0x1A221
10278#define GL_WIDE_LINE_HINT_PGI 0x1A222
10279#define GL_BACK_NORMALS_HINT_PGI 0x1A223
10280typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
10281#ifdef GL_GLEXT_PROTOTYPES
10282GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
10283#endif
10284#endif /* GL_PGI_misc_hints */
10285
10286#ifndef GL_PGI_vertex_hints
10287#define GL_PGI_vertex_hints 1
10288#define GL_VERTEX_DATA_HINT_PGI 0x1A22A
10289#define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
10290#define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
10291#define GL_MAX_VERTEX_HINT_PGI 0x1A22D
10292#define GL_COLOR3_BIT_PGI 0x00010000
10293#define GL_COLOR4_BIT_PGI 0x00020000
10294#define GL_EDGEFLAG_BIT_PGI 0x00040000
10295#define GL_INDEX_BIT_PGI 0x00080000
10296#define GL_MAT_AMBIENT_BIT_PGI 0x00100000
10297#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
10298#define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
10299#define GL_MAT_EMISSION_BIT_PGI 0x00800000
10300#define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
10301#define GL_MAT_SHININESS_BIT_PGI 0x02000000
10302#define GL_MAT_SPECULAR_BIT_PGI 0x04000000
10303#define GL_NORMAL_BIT_PGI 0x08000000
10304#define GL_TEXCOORD1_BIT_PGI 0x10000000
10305#define GL_TEXCOORD2_BIT_PGI 0x20000000
10306#define GL_TEXCOORD3_BIT_PGI 0x40000000
10307#define GL_TEXCOORD4_BIT_PGI 0x80000000
10308#define GL_VERTEX23_BIT_PGI 0x00000004
10309#define GL_VERTEX4_BIT_PGI 0x00000008
10310#endif /* GL_PGI_vertex_hints */
10311
10312#ifndef GL_REND_screen_coordinates
10313#define GL_REND_screen_coordinates 1
10314#define GL_SCREEN_COORDINATES_REND 0x8490
10315#define GL_INVERTED_SCREEN_W_REND 0x8491
10316#endif /* GL_REND_screen_coordinates */
10317
10318#ifndef GL_S3_s3tc
10319#define GL_S3_s3tc 1
10320#define GL_RGB_S3TC 0x83A0
10321#define GL_RGB4_S3TC 0x83A1
10322#define GL_RGBA_S3TC 0x83A2
10323#define GL_RGBA4_S3TC 0x83A3
10324#define GL_RGBA_DXT5_S3TC 0x83A4
10325#define GL_RGBA4_DXT5_S3TC 0x83A5
10326#endif /* GL_S3_s3tc */
10327
10328#ifndef GL_SGIS_detail_texture
10329#define GL_SGIS_detail_texture 1
10330#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
10331#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
10332#define GL_LINEAR_DETAIL_SGIS 0x8097
10333#define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
10334#define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
10335#define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
10336#define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
10337#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
10338typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
10339typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
10340#ifdef GL_GLEXT_PROTOTYPES
10341GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
10342GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
10343#endif
10344#endif /* GL_SGIS_detail_texture */
10345
10346#ifndef GL_SGIS_fog_function
10347#define GL_SGIS_fog_function 1
10348#define GL_FOG_FUNC_SGIS 0x812A
10349#define GL_FOG_FUNC_POINTS_SGIS 0x812B
10350#define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
10351typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
10352typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
10353#ifdef GL_GLEXT_PROTOTYPES
10354GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
10355GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
10356#endif
10357#endif /* GL_SGIS_fog_function */
10358
10359#ifndef GL_SGIS_generate_mipmap
10360#define GL_SGIS_generate_mipmap 1
10361#define GL_GENERATE_MIPMAP_SGIS 0x8191
10362#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
10363#endif /* GL_SGIS_generate_mipmap */
10364
10365#ifndef GL_SGIS_multisample
10366#define GL_SGIS_multisample 1
10367#define GL_MULTISAMPLE_SGIS 0x809D
10368#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
10369#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
10370#define GL_SAMPLE_MASK_SGIS 0x80A0
10371#define GL_1PASS_SGIS 0x80A1
10372#define GL_2PASS_0_SGIS 0x80A2
10373#define GL_2PASS_1_SGIS 0x80A3
10374#define GL_4PASS_0_SGIS 0x80A4
10375#define GL_4PASS_1_SGIS 0x80A5
10376#define GL_4PASS_2_SGIS 0x80A6
10377#define GL_4PASS_3_SGIS 0x80A7
10378#define GL_SAMPLE_BUFFERS_SGIS 0x80A8
10379#define GL_SAMPLES_SGIS 0x80A9
10380#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
10381#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
10382#define GL_SAMPLE_PATTERN_SGIS 0x80AC
10383typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
10384typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
10385#ifdef GL_GLEXT_PROTOTYPES
10386GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
10387GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
10388#endif
10389#endif /* GL_SGIS_multisample */
10390
10391#ifndef GL_SGIS_pixel_texture
10392#define GL_SGIS_pixel_texture 1
10393#define GL_PIXEL_TEXTURE_SGIS 0x8353
10394#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
10395#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
10396#define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
10397typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
10398typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
10399typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
10400typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
10401typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
10402typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
10403#ifdef GL_GLEXT_PROTOTYPES
10404GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
10405GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
10406GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
10407GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
10408GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
10409GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
10410#endif
10411#endif /* GL_SGIS_pixel_texture */
10412
10413#ifndef GL_SGIS_point_line_texgen
10414#define GL_SGIS_point_line_texgen 1
10415#define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
10416#define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
10417#define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
10418#define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
10419#define GL_EYE_POINT_SGIS 0x81F4
10420#define GL_OBJECT_POINT_SGIS 0x81F5
10421#define GL_EYE_LINE_SGIS 0x81F6
10422#define GL_OBJECT_LINE_SGIS 0x81F7
10423#endif /* GL_SGIS_point_line_texgen */
10424
10425#ifndef GL_SGIS_point_parameters
10426#define GL_SGIS_point_parameters 1
10427#define GL_POINT_SIZE_MIN_SGIS 0x8126
10428#define GL_POINT_SIZE_MAX_SGIS 0x8127
10429#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
10430#define GL_DISTANCE_ATTENUATION_SGIS 0x8129
10431typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
10432typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
10433#ifdef GL_GLEXT_PROTOTYPES
10434GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
10435GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
10436#endif
10437#endif /* GL_SGIS_point_parameters */
10438
10439#ifndef GL_SGIS_sharpen_texture
10440#define GL_SGIS_sharpen_texture 1
10441#define GL_LINEAR_SHARPEN_SGIS 0x80AD
10442#define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
10443#define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
10444#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
10445typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
10446typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
10447#ifdef GL_GLEXT_PROTOTYPES
10448GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
10449GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
10450#endif
10451#endif /* GL_SGIS_sharpen_texture */
10452
10453#ifndef GL_SGIS_texture4D
10454#define GL_SGIS_texture4D 1
10455#define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
10456#define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
10457#define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
10458#define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
10459#define GL_TEXTURE_4D_SGIS 0x8134
10460#define GL_PROXY_TEXTURE_4D_SGIS 0x8135
10461#define GL_TEXTURE_4DSIZE_SGIS 0x8136
10462#define GL_TEXTURE_WRAP_Q_SGIS 0x8137
10463#define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
10464#define GL_TEXTURE_4D_BINDING_SGIS 0x814F
10465typedef 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);
10466typedef 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);
10467#ifdef GL_GLEXT_PROTOTYPES
10468GLAPI 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);
10469GLAPI 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);
10470#endif
10471#endif /* GL_SGIS_texture4D */
10472
10473#ifndef GL_SGIS_texture_border_clamp
10474#define GL_SGIS_texture_border_clamp 1
10475#define GL_CLAMP_TO_BORDER_SGIS 0x812D
10476#endif /* GL_SGIS_texture_border_clamp */
10477
10478#ifndef GL_SGIS_texture_color_mask
10479#define GL_SGIS_texture_color_mask 1
10480#define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
10481typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
10482#ifdef GL_GLEXT_PROTOTYPES
10483GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
10484#endif
10485#endif /* GL_SGIS_texture_color_mask */
10486
10487#ifndef GL_SGIS_texture_edge_clamp
10488#define GL_SGIS_texture_edge_clamp 1
10489#define GL_CLAMP_TO_EDGE_SGIS 0x812F
10490#endif /* GL_SGIS_texture_edge_clamp */
10491
10492#ifndef GL_SGIS_texture_filter4
10493#define GL_SGIS_texture_filter4 1
10494#define GL_FILTER4_SGIS 0x8146
10495#define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
10496typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
10497typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
10498#ifdef GL_GLEXT_PROTOTYPES
10499GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
10500GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
10501#endif
10502#endif /* GL_SGIS_texture_filter4 */
10503
10504#ifndef GL_SGIS_texture_lod
10505#define GL_SGIS_texture_lod 1
10506#define GL_TEXTURE_MIN_LOD_SGIS 0x813A
10507#define GL_TEXTURE_MAX_LOD_SGIS 0x813B
10508#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
10509#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
10510#endif /* GL_SGIS_texture_lod */
10511
10512#ifndef GL_SGIS_texture_select
10513#define GL_SGIS_texture_select 1
10514#define GL_DUAL_ALPHA4_SGIS 0x8110
10515#define GL_DUAL_ALPHA8_SGIS 0x8111
10516#define GL_DUAL_ALPHA12_SGIS 0x8112
10517#define GL_DUAL_ALPHA16_SGIS 0x8113
10518#define GL_DUAL_LUMINANCE4_SGIS 0x8114
10519#define GL_DUAL_LUMINANCE8_SGIS 0x8115
10520#define GL_DUAL_LUMINANCE12_SGIS 0x8116
10521#define GL_DUAL_LUMINANCE16_SGIS 0x8117
10522#define GL_DUAL_INTENSITY4_SGIS 0x8118
10523#define GL_DUAL_INTENSITY8_SGIS 0x8119
10524#define GL_DUAL_INTENSITY12_SGIS 0x811A
10525#define GL_DUAL_INTENSITY16_SGIS 0x811B
10526#define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
10527#define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
10528#define GL_QUAD_ALPHA4_SGIS 0x811E
10529#define GL_QUAD_ALPHA8_SGIS 0x811F
10530#define GL_QUAD_LUMINANCE4_SGIS 0x8120
10531#define GL_QUAD_LUMINANCE8_SGIS 0x8121
10532#define GL_QUAD_INTENSITY4_SGIS 0x8122
10533#define GL_QUAD_INTENSITY8_SGIS 0x8123
10534#define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
10535#define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
10536#endif /* GL_SGIS_texture_select */
10537
10538#ifndef GL_SGIX_async
10539#define GL_SGIX_async 1
10540#define GL_ASYNC_MARKER_SGIX 0x8329
10541typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
10542typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
10543typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
10544typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
10545typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
10546typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
10547#ifdef GL_GLEXT_PROTOTYPES
10548GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
10549GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
10550GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
10551GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
10552GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
10553GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
10554#endif
10555#endif /* GL_SGIX_async */
10556
10557#ifndef GL_SGIX_async_histogram
10558#define GL_SGIX_async_histogram 1
10559#define GL_ASYNC_HISTOGRAM_SGIX 0x832C
10560#define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
10561#endif /* GL_SGIX_async_histogram */
10562
10563#ifndef GL_SGIX_async_pixel
10564#define GL_SGIX_async_pixel 1
10565#define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
10566#define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
10567#define GL_ASYNC_READ_PIXELS_SGIX 0x835E
10568#define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
10569#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
10570#define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
10571#endif /* GL_SGIX_async_pixel */
10572
10573#ifndef GL_SGIX_blend_alpha_minmax
10574#define GL_SGIX_blend_alpha_minmax 1
10575#define GL_ALPHA_MIN_SGIX 0x8320
10576#define GL_ALPHA_MAX_SGIX 0x8321
10577#endif /* GL_SGIX_blend_alpha_minmax */
10578
10579#ifndef GL_SGIX_calligraphic_fragment
10580#define GL_SGIX_calligraphic_fragment 1
10581#define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
10582#endif /* GL_SGIX_calligraphic_fragment */
10583
10584#ifndef GL_SGIX_clipmap
10585#define GL_SGIX_clipmap 1
10586#define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
10587#define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
10588#define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
10589#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
10590#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
10591#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
10592#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
10593#define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
10594#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
10595#define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
10596#define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
10597#define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
10598#endif /* GL_SGIX_clipmap */
10599
10600#ifndef GL_SGIX_convolution_accuracy
10601#define GL_SGIX_convolution_accuracy 1
10602#define GL_CONVOLUTION_HINT_SGIX 0x8316
10603#endif /* GL_SGIX_convolution_accuracy */
10604
10605#ifndef GL_SGIX_depth_pass_instrument
10606#define GL_SGIX_depth_pass_instrument 1
10607#endif /* GL_SGIX_depth_pass_instrument */
10608
10609#ifndef GL_SGIX_depth_texture
10610#define GL_SGIX_depth_texture 1
10611#define GL_DEPTH_COMPONENT16_SGIX 0x81A5
10612#define GL_DEPTH_COMPONENT24_SGIX 0x81A6
10613#define GL_DEPTH_COMPONENT32_SGIX 0x81A7
10614#endif /* GL_SGIX_depth_texture */
10615
10616#ifndef GL_SGIX_flush_raster
10617#define GL_SGIX_flush_raster 1
10618typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
10619#ifdef GL_GLEXT_PROTOTYPES
10620GLAPI void APIENTRY glFlushRasterSGIX (void);
10621#endif
10622#endif /* GL_SGIX_flush_raster */
10623
10624#ifndef GL_SGIX_fog_offset
10625#define GL_SGIX_fog_offset 1
10626#define GL_FOG_OFFSET_SGIX 0x8198
10627#define GL_FOG_OFFSET_VALUE_SGIX 0x8199
10628#endif /* GL_SGIX_fog_offset */
10629
10630#ifndef GL_SGIX_fragment_lighting
10631#define GL_SGIX_fragment_lighting 1
10632#define GL_FRAGMENT_LIGHTING_SGIX 0x8400
10633#define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
10634#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
10635#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
10636#define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
10637#define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
10638#define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
10639#define GL_LIGHT_ENV_MODE_SGIX 0x8407
10640#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
10641#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
10642#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
10643#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
10644#define GL_FRAGMENT_LIGHT0_SGIX 0x840C
10645#define GL_FRAGMENT_LIGHT1_SGIX 0x840D
10646#define GL_FRAGMENT_LIGHT2_SGIX 0x840E
10647#define GL_FRAGMENT_LIGHT3_SGIX 0x840F
10648#define GL_FRAGMENT_LIGHT4_SGIX 0x8410
10649#define GL_FRAGMENT_LIGHT5_SGIX 0x8411
10650#define GL_FRAGMENT_LIGHT6_SGIX 0x8412
10651#define GL_FRAGMENT_LIGHT7_SGIX 0x8413
10652typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
10653typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
10654typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
10655typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
10656typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
10657typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
10658typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
10659typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
10660typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
10661typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
10662typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
10663typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
10664typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
10665typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
10666typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
10667typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
10668typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
10669typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
10670#ifdef GL_GLEXT_PROTOTYPES
10671GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
10672GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
10673GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
10674GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
10675GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
10676GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
10677GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
10678GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
10679GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
10680GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
10681GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
10682GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
10683GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
10684GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
10685GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
10686GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
10687GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
10688GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
10689#endif
10690#endif /* GL_SGIX_fragment_lighting */
10691
10692#ifndef GL_SGIX_framezoom
10693#define GL_SGIX_framezoom 1
10694#define GL_FRAMEZOOM_SGIX 0x818B
10695#define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
10696#define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
10697typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
10698#ifdef GL_GLEXT_PROTOTYPES
10699GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
10700#endif
10701#endif /* GL_SGIX_framezoom */
10702
10703#ifndef GL_SGIX_igloo_interface
10704#define GL_SGIX_igloo_interface 1
10705typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
10706#ifdef GL_GLEXT_PROTOTYPES
10707GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
10708#endif
10709#endif /* GL_SGIX_igloo_interface */
10710
10711#ifndef GL_SGIX_instruments
10712#define GL_SGIX_instruments 1
10713#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
10714#define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
10715typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
10716typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
10717typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
10718typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
10719typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
10720typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
10721#ifdef GL_GLEXT_PROTOTYPES
10722GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
10723GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
10724GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
10725GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
10726GLAPI void APIENTRY glStartInstrumentsSGIX (void);
10727GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
10728#endif
10729#endif /* GL_SGIX_instruments */
10730
10731#ifndef GL_SGIX_interlace
10732#define GL_SGIX_interlace 1
10733#define GL_INTERLACE_SGIX 0x8094
10734#endif /* GL_SGIX_interlace */
10735
10736#ifndef GL_SGIX_ir_instrument1
10737#define GL_SGIX_ir_instrument1 1
10738#define GL_IR_INSTRUMENT1_SGIX 0x817F
10739#endif /* GL_SGIX_ir_instrument1 */
10740
10741#ifndef GL_SGIX_list_priority
10742#define GL_SGIX_list_priority 1
10743#define GL_LIST_PRIORITY_SGIX 0x8182
10744typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
10745typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
10746typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
10747typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
10748typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
10749typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
10750#ifdef GL_GLEXT_PROTOTYPES
10751GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
10752GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
10753GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
10754GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
10755GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
10756GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
10757#endif
10758#endif /* GL_SGIX_list_priority */
10759
10760#ifndef GL_SGIX_pixel_texture
10761#define GL_SGIX_pixel_texture 1
10762#define GL_PIXEL_TEX_GEN_SGIX 0x8139
10763#define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
10764typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
10765#ifdef GL_GLEXT_PROTOTYPES
10766GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
10767#endif
10768#endif /* GL_SGIX_pixel_texture */
10769
10770#ifndef GL_SGIX_pixel_tiles
10771#define GL_SGIX_pixel_tiles 1
10772#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
10773#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
10774#define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
10775#define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
10776#define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
10777#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
10778#define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
10779#define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
10780#endif /* GL_SGIX_pixel_tiles */
10781
10782#ifndef GL_SGIX_polynomial_ffd
10783#define GL_SGIX_polynomial_ffd 1
10784#define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
10785#define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
10786#define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
10787#define GL_TEXTURE_DEFORMATION_SGIX 0x8195
10788#define GL_DEFORMATIONS_MASK_SGIX 0x8196
10789#define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
10790typedef 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);
10791typedef 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);
10792typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
10793typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
10794#ifdef GL_GLEXT_PROTOTYPES
10795GLAPI 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);
10796GLAPI 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);
10797GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
10798GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
10799#endif
10800#endif /* GL_SGIX_polynomial_ffd */
10801
10802#ifndef GL_SGIX_reference_plane
10803#define GL_SGIX_reference_plane 1
10804#define GL_REFERENCE_PLANE_SGIX 0x817D
10805#define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
10806typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
10807#ifdef GL_GLEXT_PROTOTYPES
10808GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
10809#endif
10810#endif /* GL_SGIX_reference_plane */
10811
10812#ifndef GL_SGIX_resample
10813#define GL_SGIX_resample 1
10814#define GL_PACK_RESAMPLE_SGIX 0x842C
10815#define GL_UNPACK_RESAMPLE_SGIX 0x842D
10816#define GL_RESAMPLE_REPLICATE_SGIX 0x842E
10817#define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
10818#define GL_RESAMPLE_DECIMATE_SGIX 0x8430
10819#endif /* GL_SGIX_resample */
10820
10821#ifndef GL_SGIX_scalebias_hint
10822#define GL_SGIX_scalebias_hint 1
10823#define GL_SCALEBIAS_HINT_SGIX 0x8322
10824#endif /* GL_SGIX_scalebias_hint */
10825
10826#ifndef GL_SGIX_shadow
10827#define GL_SGIX_shadow 1
10828#define GL_TEXTURE_COMPARE_SGIX 0x819A
10829#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
10830#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
10831#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
10832#endif /* GL_SGIX_shadow */
10833
10834#ifndef GL_SGIX_shadow_ambient
10835#define GL_SGIX_shadow_ambient 1
10836#define GL_SHADOW_AMBIENT_SGIX 0x80BF
10837#endif /* GL_SGIX_shadow_ambient */
10838
10839#ifndef GL_SGIX_sprite
10840#define GL_SGIX_sprite 1
10841#define GL_SPRITE_SGIX 0x8148
10842#define GL_SPRITE_MODE_SGIX 0x8149
10843#define GL_SPRITE_AXIS_SGIX 0x814A
10844#define GL_SPRITE_TRANSLATION_SGIX 0x814B
10845#define GL_SPRITE_AXIAL_SGIX 0x814C
10846#define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
10847#define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
10848typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
10849typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
10850typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
10851typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
10852#ifdef GL_GLEXT_PROTOTYPES
10853GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
10854GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
10855GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
10856GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
10857#endif
10858#endif /* GL_SGIX_sprite */
10859
10860#ifndef GL_SGIX_subsample
10861#define GL_SGIX_subsample 1
10862#define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
10863#define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
10864#define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
10865#define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
10866#define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
10867#endif /* GL_SGIX_subsample */
10868
10869#ifndef GL_SGIX_tag_sample_buffer
10870#define GL_SGIX_tag_sample_buffer 1
10871typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
10872#ifdef GL_GLEXT_PROTOTYPES
10873GLAPI void APIENTRY glTagSampleBufferSGIX (void);
10874#endif
10875#endif /* GL_SGIX_tag_sample_buffer */
10876
10877#ifndef GL_SGIX_texture_add_env
10878#define GL_SGIX_texture_add_env 1
10879#define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
10880#endif /* GL_SGIX_texture_add_env */
10881
10882#ifndef GL_SGIX_texture_coordinate_clamp
10883#define GL_SGIX_texture_coordinate_clamp 1
10884#define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
10885#define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
10886#define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
10887#endif /* GL_SGIX_texture_coordinate_clamp */
10888
10889#ifndef GL_SGIX_texture_lod_bias
10890#define GL_SGIX_texture_lod_bias 1
10891#define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
10892#define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
10893#define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
10894#endif /* GL_SGIX_texture_lod_bias */
10895
10896#ifndef GL_SGIX_texture_multi_buffer
10897#define GL_SGIX_texture_multi_buffer 1
10898#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
10899#endif /* GL_SGIX_texture_multi_buffer */
10900
10901#ifndef GL_SGIX_texture_scale_bias
10902#define GL_SGIX_texture_scale_bias 1
10903#define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
10904#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
10905#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
10906#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
10907#endif /* GL_SGIX_texture_scale_bias */
10908
10909#ifndef GL_SGIX_vertex_preclip
10910#define GL_SGIX_vertex_preclip 1
10911#define GL_VERTEX_PRECLIP_SGIX 0x83EE
10912#define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
10913#endif /* GL_SGIX_vertex_preclip */
10914
10915#ifndef GL_SGIX_ycrcb
10916#define GL_SGIX_ycrcb 1
10917#define GL_YCRCB_422_SGIX 0x81BB
10918#define GL_YCRCB_444_SGIX 0x81BC
10919#endif /* GL_SGIX_ycrcb */
10920
10921#ifndef GL_SGIX_ycrcb_subsample
10922#define GL_SGIX_ycrcb_subsample 1
10923#endif /* GL_SGIX_ycrcb_subsample */
10924
10925#ifndef GL_SGIX_ycrcba
10926#define GL_SGIX_ycrcba 1
10927#define GL_YCRCB_SGIX 0x8318
10928#define GL_YCRCBA_SGIX 0x8319
10929#endif /* GL_SGIX_ycrcba */
10930
10931#ifndef GL_SGI_color_matrix
10932#define GL_SGI_color_matrix 1
10933#define GL_COLOR_MATRIX_SGI 0x80B1
10934#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
10935#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
10936#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
10937#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
10938#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
10939#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
10940#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
10941#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
10942#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
10943#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
10944#endif /* GL_SGI_color_matrix */
10945
10946#ifndef GL_SGI_color_table
10947#define GL_SGI_color_table 1
10948#define GL_COLOR_TABLE_SGI 0x80D0
10949#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
10950#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
10951#define GL_PROXY_COLOR_TABLE_SGI 0x80D3
10952#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
10953#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
10954#define GL_COLOR_TABLE_SCALE_SGI 0x80D6
10955#define GL_COLOR_TABLE_BIAS_SGI 0x80D7
10956#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
10957#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
10958#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
10959#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
10960#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
10961#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
10962#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
10963#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
10964typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
10965typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
10966typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
10967typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
10968typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
10969typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
10970typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
10971#ifdef GL_GLEXT_PROTOTYPES
10972GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
10973GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
10974GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
10975GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
10976GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
10977GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
10978GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
10979#endif
10980#endif /* GL_SGI_color_table */
10981
10982#ifndef GL_SGI_texture_color_table
10983#define GL_SGI_texture_color_table 1
10984#define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
10985#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
10986#endif /* GL_SGI_texture_color_table */
10987
10988#ifndef GL_SUNX_constant_data
10989#define GL_SUNX_constant_data 1
10990#define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
10991#define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
10992typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
10993#ifdef GL_GLEXT_PROTOTYPES
10994GLAPI void APIENTRY glFinishTextureSUNX (void);
10995#endif
10996#endif /* GL_SUNX_constant_data */
10997
10998#ifndef GL_SUN_convolution_border_modes
10999#define GL_SUN_convolution_border_modes 1
11000#define GL_WRAP_BORDER_SUN 0x81D4
11001#endif /* GL_SUN_convolution_border_modes */
11002
11003#ifndef GL_SUN_global_alpha
11004#define GL_SUN_global_alpha 1
11005#define GL_GLOBAL_ALPHA_SUN 0x81D9
11006#define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
11007typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
11008typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
11009typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
11010typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
11011typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
11012typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
11013typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
11014typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
11015#ifdef GL_GLEXT_PROTOTYPES
11016GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
11017GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
11018GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
11019GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
11020GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
11021GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
11022GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
11023GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
11024#endif
11025#endif /* GL_SUN_global_alpha */
11026
11027#ifndef GL_SUN_mesh_array
11028#define GL_SUN_mesh_array 1
11029#define GL_QUAD_MESH_SUN 0x8614
11030#define GL_TRIANGLE_MESH_SUN 0x8615
11031typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
11032#ifdef GL_GLEXT_PROTOTYPES
11033GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
11034#endif
11035#endif /* GL_SUN_mesh_array */
11036
11037#ifndef GL_SUN_slice_accum
11038#define GL_SUN_slice_accum 1
11039#define GL_SLICE_ACCUM_SUN 0x85CC
11040#endif /* GL_SUN_slice_accum */
11041
11042#ifndef GL_SUN_triangle_list
11043#define GL_SUN_triangle_list 1
11044#define GL_RESTART_SUN 0x0001
11045#define GL_REPLACE_MIDDLE_SUN 0x0002
11046#define GL_REPLACE_OLDEST_SUN 0x0003
11047#define GL_TRIANGLE_LIST_SUN 0x81D7
11048#define GL_REPLACEMENT_CODE_SUN 0x81D8
11049#define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
11050#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
11051#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
11052#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
11053#define GL_R1UI_V3F_SUN 0x85C4
11054#define GL_R1UI_C4UB_V3F_SUN 0x85C5
11055#define GL_R1UI_C3F_V3F_SUN 0x85C6
11056#define GL_R1UI_N3F_V3F_SUN 0x85C7
11057#define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
11058#define GL_R1UI_T2F_V3F_SUN 0x85C9
11059#define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
11060#define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
11061typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
11062typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
11063typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
11064typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
11065typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
11066typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
11067typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
11068#ifdef GL_GLEXT_PROTOTYPES
11069GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
11070GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
11071GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
11072GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
11073GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
11074GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
11075GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
11076#endif
11077#endif /* GL_SUN_triangle_list */
11078
11079#ifndef GL_SUN_vertex
11080#define GL_SUN_vertex 1
11081typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
11082typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
11083typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11084typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
11085typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11086typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
11087typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11088typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
11089typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11090typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
11091typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11092typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
11093typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11094typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
11095typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11096typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
11097typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11098typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
11099typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11100typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11101typedef 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);
11102typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11103typedef 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);
11104typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11105typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
11106typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
11107typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11108typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
11109typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11110typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
11111typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11112typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
11113typedef 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);
11114typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11115typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11116typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
11117typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11118typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11119typedef 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);
11120typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11121#ifdef GL_GLEXT_PROTOTYPES
11122GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
11123GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
11124GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11125GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
11126GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11127GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
11128GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11129GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
11130GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11131GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
11132GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11133GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
11134GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11135GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
11136GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11137GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
11138GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11139GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
11140GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11141GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11142GLAPI 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);
11143GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11144GLAPI 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);
11145GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11146GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
11147GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
11148GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
11149GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
11150GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
11151GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
11152GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11153GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
11154GLAPI 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);
11155GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11156GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
11157GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
11158GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
11159GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
11160GLAPI 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);
11161GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
11162#endif
11163#endif /* GL_SUN_vertex */
11164
11165#ifndef GL_WIN_phong_shading
11166#define GL_WIN_phong_shading 1
11167#define GL_PHONG_WIN 0x80EA
11168#define GL_PHONG_HINT_WIN 0x80EB
11169#endif /* GL_WIN_phong_shading */
11170
11171#ifndef GL_WIN_specular_fog
11172#define GL_WIN_specular_fog 1
11173#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
11174#endif /* GL_WIN_specular_fog */
11175
11176#ifdef __cplusplus
11177}
11178#endif
11179
11180#endif