glcorearb.h
Go to the documentation of this file.
1 #ifndef __glcorearb_h_
2 #define __glcorearb_h_ 1
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 /*
9 ** Copyright (c) 2013-2014 The Khronos Group Inc.
10 **
11 ** Permission is hereby granted, free of charge, to any person obtaining a
12 ** copy of this software and/or associated documentation files (the
13 ** "Materials"), to deal in the Materials without restriction, including
14 ** without limitation the rights to use, copy, modify, merge, publish,
15 ** distribute, sublicense, and/or sell copies of the Materials, and to
16 ** permit persons to whom the Materials are furnished to do so, subject to
17 ** the following conditions:
18 **
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
21 **
22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29 */
30 /*
31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
32 ** API Registry. The current version of the Registry, generator scripts
33 ** used to make the header, and the header can be found at
34 ** http://www.opengl.org/registry/
35 **
36 ** Khronos $Revision: 28299 $ on $Date: 2014-09-25 04:11:58 -0700 (Thu, 25 Sep 2014) $
37 */
38 
39 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
40 #ifndef WIN32_LEAN_AND_MEAN
41 #define WIN32_LEAN_AND_MEAN 1
42 #endif
43 #include <windows.h>
44 #endif
45 
46 #ifndef APIENTRY
47 #define APIENTRY
48 #endif
49 #ifndef APIENTRYP
50 #define APIENTRYP APIENTRY *
51 #endif
52 #ifndef GLAPI
53 #define GLAPI extern
54 #endif
55 
56 /* glcorearb.h is for use with OpenGL core profile implementations.
57 ** It should should be placed in the same directory as gl.h and
58 ** included as <GL/glcorearb.h>.
59 **
60 ** glcorearb.h includes only APIs in the latest OpenGL core profile
61 ** implementation together with APIs in newer ARB extensions which
62 ** can be supported by the core profile. It does not, and never will
63 ** include functionality removed from the core profile, such as
64 ** fixed-function vertex and fragment processing.
65 **
66 ** Do not #include both <GL/glcorearb.h> and either of <GL/gl.h> or
67 ** <GL/glext.h> in the same source file.
68 */
69 
70 /* Generated C header for:
71  * API: gl
72  * Profile: core
73  * Versions considered: .*
74  * Versions emitted: .*
75  * Default extensions included: glcore
76  * Additional extensions included: _nomatch_^
77  * Extensions removed: _nomatch_^
78  */
79 
80 #ifndef GL_VERSION_1_0
81 #define GL_VERSION_1_0 1
82 typedef void GLvoid;
83 typedef unsigned int GLenum;
84 typedef float GLfloat;
85 typedef int GLint;
86 typedef int GLsizei;
87 typedef unsigned int GLbitfield;
88 typedef double GLdouble;
89 typedef unsigned int GLuint;
90 typedef unsigned char GLboolean;
91 typedef unsigned char GLubyte;
92 typedef void (APIENTRYP PFNGLCULLFACEPROC) (GLenum mode);
93 typedef void (APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode);
94 typedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode);
95 typedef void (APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width);
96 typedef void (APIENTRYP PFNGLPOINTSIZEPROC) (GLfloat size);
97 typedef void (APIENTRYP PFNGLPOLYGONMODEPROC) (GLenum face, GLenum mode);
98 typedef void (APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
99 typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param);
100 typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
101 typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
102 typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
103 typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
104 typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
105 typedef void (APIENTRYP PFNGLDRAWBUFFERPROC) (GLenum buf);
106 typedef void (APIENTRYP PFNGLCLEARPROC) (GLbitfield mask);
107 typedef void (APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
108 typedef void (APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s);
109 typedef void (APIENTRYP PFNGLCLEARDEPTHPROC) (GLdouble depth);
110 typedef void (APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask);
111 typedef void (APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
112 typedef void (APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag);
113 typedef void (APIENTRYP PFNGLDISABLEPROC) (GLenum cap);
114 typedef void (APIENTRYP PFNGLENABLEPROC) (GLenum cap);
115 typedef void (APIENTRYP PFNGLFINISHPROC) (void);
116 typedef void (APIENTRYP PFNGLFLUSHPROC) (void);
117 typedef void (APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor);
118 typedef void (APIENTRYP PFNGLLOGICOPPROC) (GLenum opcode);
119 typedef void (APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask);
120 typedef void (APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass);
121 typedef void (APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func);
122 typedef void (APIENTRYP PFNGLPIXELSTOREFPROC) (GLenum pname, GLfloat param);
123 typedef void (APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param);
124 typedef void (APIENTRYP PFNGLREADBUFFERPROC) (GLenum src);
125 typedef void (APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
126 typedef void (APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data);
127 typedef void (APIENTRYP PFNGLGETDOUBLEVPROC) (GLenum pname, GLdouble *data);
128 typedef GLenum (APIENTRYP PFNGLGETERRORPROC) (void);
129 typedef void (APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data);
130 typedef void (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data);
131 typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGPROC) (GLenum name);
132 typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
133 typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
134 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
135 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params);
136 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params);
137 typedef GLboolean (APIENTRYP PFNGLISENABLEDPROC) (GLenum cap);
138 typedef void (APIENTRYP PFNGLDEPTHRANGEPROC) (GLdouble near, GLdouble far);
139 typedef void (APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
140 #ifdef GL_GLEXT_PROTOTYPES
141 GLAPI void APIENTRY glCullFace (GLenum mode);
142 GLAPI void APIENTRY glFrontFace (GLenum mode);
143 GLAPI void APIENTRY glHint (GLenum target, GLenum mode);
144 GLAPI void APIENTRY glLineWidth (GLfloat width);
145 GLAPI void APIENTRY glPointSize (GLfloat size);
146 GLAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode);
147 GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
148 GLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
149 GLAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
150 GLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
151 GLAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
152 GLAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
153 GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
154 GLAPI void APIENTRY glDrawBuffer (GLenum buf);
155 GLAPI void APIENTRY glClear (GLbitfield mask);
156 GLAPI void APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
157 GLAPI void APIENTRY glClearStencil (GLint s);
158 GLAPI void APIENTRY glClearDepth (GLdouble depth);
159 GLAPI void APIENTRY glStencilMask (GLuint mask);
160 GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
161 GLAPI void APIENTRY glDepthMask (GLboolean flag);
162 GLAPI void APIENTRY glDisable (GLenum cap);
163 GLAPI void APIENTRY glEnable (GLenum cap);
164 GLAPI void APIENTRY glFinish (void);
165 GLAPI void APIENTRY glFlush (void);
166 GLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
167 GLAPI void APIENTRY glLogicOp (GLenum opcode);
168 GLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
169 GLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
170 GLAPI void APIENTRY glDepthFunc (GLenum func);
171 GLAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param);
172 GLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param);
173 GLAPI void APIENTRY glReadBuffer (GLenum src);
174 GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
175 GLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *data);
176 GLAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *data);
177 GLAPI GLenum APIENTRY glGetError (void);
178 GLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *data);
179 GLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *data);
180 GLAPI const GLubyte *APIENTRY glGetString (GLenum name);
181 GLAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
182 GLAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
183 GLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
184 GLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
185 GLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
186 GLAPI GLboolean APIENTRY glIsEnabled (GLenum cap);
187 GLAPI void APIENTRY glDepthRange (GLdouble near, GLdouble far);
188 GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
189 #endif
190 #endif /* GL_VERSION_1_0 */
191 
192 #ifndef GL_VERSION_1_1
193 #define GL_VERSION_1_1 1
194 typedef float GLclampf;
195 typedef double GLclampd;
196 #define GL_DEPTH_BUFFER_BIT 0x00000100
197 #define GL_STENCIL_BUFFER_BIT 0x00000400
198 #define GL_COLOR_BUFFER_BIT 0x00004000
199 #define GL_FALSE 0
200 #define GL_TRUE 1
201 #define GL_POINTS 0x0000
202 #define GL_LINES 0x0001
203 #define GL_LINE_LOOP 0x0002
204 #define GL_LINE_STRIP 0x0003
205 #define GL_TRIANGLES 0x0004
206 #define GL_TRIANGLE_STRIP 0x0005
207 #define GL_TRIANGLE_FAN 0x0006
208 #define GL_QUADS 0x0007
209 #define GL_NEVER 0x0200
210 #define GL_LESS 0x0201
211 #define GL_EQUAL 0x0202
212 #define GL_LEQUAL 0x0203
213 #define GL_GREATER 0x0204
214 #define GL_NOTEQUAL 0x0205
215 #define GL_GEQUAL 0x0206
216 #define GL_ALWAYS 0x0207
217 #define GL_ZERO 0
218 #define GL_ONE 1
219 #define GL_SRC_COLOR 0x0300
220 #define GL_ONE_MINUS_SRC_COLOR 0x0301
221 #define GL_SRC_ALPHA 0x0302
222 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
223 #define GL_DST_ALPHA 0x0304
224 #define GL_ONE_MINUS_DST_ALPHA 0x0305
225 #define GL_DST_COLOR 0x0306
226 #define GL_ONE_MINUS_DST_COLOR 0x0307
227 #define GL_SRC_ALPHA_SATURATE 0x0308
228 #define GL_NONE 0
229 #define GL_FRONT_LEFT 0x0400
230 #define GL_FRONT_RIGHT 0x0401
231 #define GL_BACK_LEFT 0x0402
232 #define GL_BACK_RIGHT 0x0403
233 #define GL_FRONT 0x0404
234 #define GL_BACK 0x0405
235 #define GL_LEFT 0x0406
236 #define GL_RIGHT 0x0407
237 #define GL_FRONT_AND_BACK 0x0408
238 #define GL_NO_ERROR 0
239 #define GL_INVALID_ENUM 0x0500
240 #define GL_INVALID_VALUE 0x0501
241 #define GL_INVALID_OPERATION 0x0502
242 #define GL_OUT_OF_MEMORY 0x0505
243 #define GL_CW 0x0900
244 #define GL_CCW 0x0901
245 #define GL_POINT_SIZE 0x0B11
246 #define GL_POINT_SIZE_RANGE 0x0B12
247 #define GL_POINT_SIZE_GRANULARITY 0x0B13
248 #define GL_LINE_SMOOTH 0x0B20
249 #define GL_LINE_WIDTH 0x0B21
250 #define GL_LINE_WIDTH_RANGE 0x0B22
251 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
252 #define GL_POLYGON_MODE 0x0B40
253 #define GL_POLYGON_SMOOTH 0x0B41
254 #define GL_CULL_FACE 0x0B44
255 #define GL_CULL_FACE_MODE 0x0B45
256 #define GL_FRONT_FACE 0x0B46
257 #define GL_DEPTH_RANGE 0x0B70
258 #define GL_DEPTH_TEST 0x0B71
259 #define GL_DEPTH_WRITEMASK 0x0B72
260 #define GL_DEPTH_CLEAR_VALUE 0x0B73
261 #define GL_DEPTH_FUNC 0x0B74
262 #define GL_STENCIL_TEST 0x0B90
263 #define GL_STENCIL_CLEAR_VALUE 0x0B91
264 #define GL_STENCIL_FUNC 0x0B92
265 #define GL_STENCIL_VALUE_MASK 0x0B93
266 #define GL_STENCIL_FAIL 0x0B94
267 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
268 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
269 #define GL_STENCIL_REF 0x0B97
270 #define GL_STENCIL_WRITEMASK 0x0B98
271 #define GL_VIEWPORT 0x0BA2
272 #define GL_DITHER 0x0BD0
273 #define GL_BLEND_DST 0x0BE0
274 #define GL_BLEND_SRC 0x0BE1
275 #define GL_BLEND 0x0BE2
276 #define GL_LOGIC_OP_MODE 0x0BF0
277 #define GL_COLOR_LOGIC_OP 0x0BF2
278 #define GL_DRAW_BUFFER 0x0C01
279 #define GL_READ_BUFFER 0x0C02
280 #define GL_SCISSOR_BOX 0x0C10
281 #define GL_SCISSOR_TEST 0x0C11
282 #define GL_COLOR_CLEAR_VALUE 0x0C22
283 #define GL_COLOR_WRITEMASK 0x0C23
284 #define GL_DOUBLEBUFFER 0x0C32
285 #define GL_STEREO 0x0C33
286 #define GL_LINE_SMOOTH_HINT 0x0C52
287 #define GL_POLYGON_SMOOTH_HINT 0x0C53
288 #define GL_UNPACK_SWAP_BYTES 0x0CF0
289 #define GL_UNPACK_LSB_FIRST 0x0CF1
290 #define GL_UNPACK_ROW_LENGTH 0x0CF2
291 #define GL_UNPACK_SKIP_ROWS 0x0CF3
292 #define GL_UNPACK_SKIP_PIXELS 0x0CF4
293 #define GL_UNPACK_ALIGNMENT 0x0CF5
294 #define GL_PACK_SWAP_BYTES 0x0D00
295 #define GL_PACK_LSB_FIRST 0x0D01
296 #define GL_PACK_ROW_LENGTH 0x0D02
297 #define GL_PACK_SKIP_ROWS 0x0D03
298 #define GL_PACK_SKIP_PIXELS 0x0D04
299 #define GL_PACK_ALIGNMENT 0x0D05
300 #define GL_MAX_TEXTURE_SIZE 0x0D33
301 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
302 #define GL_SUBPIXEL_BITS 0x0D50
303 #define GL_TEXTURE_1D 0x0DE0
304 #define GL_TEXTURE_2D 0x0DE1
305 #define GL_POLYGON_OFFSET_UNITS 0x2A00
306 #define GL_POLYGON_OFFSET_POINT 0x2A01
307 #define GL_POLYGON_OFFSET_LINE 0x2A02
308 #define GL_POLYGON_OFFSET_FILL 0x8037
309 #define GL_POLYGON_OFFSET_FACTOR 0x8038
310 #define GL_TEXTURE_BINDING_1D 0x8068
311 #define GL_TEXTURE_BINDING_2D 0x8069
312 #define GL_TEXTURE_WIDTH 0x1000
313 #define GL_TEXTURE_HEIGHT 0x1001
314 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
315 #define GL_TEXTURE_BORDER_COLOR 0x1004
316 #define GL_TEXTURE_RED_SIZE 0x805C
317 #define GL_TEXTURE_GREEN_SIZE 0x805D
318 #define GL_TEXTURE_BLUE_SIZE 0x805E
319 #define GL_TEXTURE_ALPHA_SIZE 0x805F
320 #define GL_DONT_CARE 0x1100
321 #define GL_FASTEST 0x1101
322 #define GL_NICEST 0x1102
323 #define GL_BYTE 0x1400
324 #define GL_UNSIGNED_BYTE 0x1401
325 #define GL_SHORT 0x1402
326 #define GL_UNSIGNED_SHORT 0x1403
327 #define GL_INT 0x1404
328 #define GL_UNSIGNED_INT 0x1405
329 #define GL_FLOAT 0x1406
330 #define GL_DOUBLE 0x140A
331 #define GL_STACK_OVERFLOW 0x0503
332 #define GL_STACK_UNDERFLOW 0x0504
333 #define GL_CLEAR 0x1500
334 #define GL_AND 0x1501
335 #define GL_AND_REVERSE 0x1502
336 #define GL_COPY 0x1503
337 #define GL_AND_INVERTED 0x1504
338 #define GL_NOOP 0x1505
339 #define GL_XOR 0x1506
340 #define GL_OR 0x1507
341 #define GL_NOR 0x1508
342 #define GL_EQUIV 0x1509
343 #define GL_INVERT 0x150A
344 #define GL_OR_REVERSE 0x150B
345 #define GL_COPY_INVERTED 0x150C
346 #define GL_OR_INVERTED 0x150D
347 #define GL_NAND 0x150E
348 #define GL_SET 0x150F
349 #define GL_TEXTURE 0x1702
350 #define GL_COLOR 0x1800
351 #define GL_DEPTH 0x1801
352 #define GL_STENCIL 0x1802
353 #define GL_STENCIL_INDEX 0x1901
354 #define GL_DEPTH_COMPONENT 0x1902
355 #define GL_RED 0x1903
356 #define GL_GREEN 0x1904
357 #define GL_BLUE 0x1905
358 #define GL_ALPHA 0x1906
359 #define GL_RGB 0x1907
360 #define GL_RGBA 0x1908
361 #define GL_POINT 0x1B00
362 #define GL_LINE 0x1B01
363 #define GL_FILL 0x1B02
364 #define GL_KEEP 0x1E00
365 #define GL_REPLACE 0x1E01
366 #define GL_INCR 0x1E02
367 #define GL_DECR 0x1E03
368 #define GL_VENDOR 0x1F00
369 #define GL_RENDERER 0x1F01
370 #define GL_VERSION 0x1F02
371 #define GL_EXTENSIONS 0x1F03
372 #define GL_NEAREST 0x2600
373 #define GL_LINEAR 0x2601
374 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
375 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
376 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
377 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
378 #define GL_TEXTURE_MAG_FILTER 0x2800
379 #define GL_TEXTURE_MIN_FILTER 0x2801
380 #define GL_TEXTURE_WRAP_S 0x2802
381 #define GL_TEXTURE_WRAP_T 0x2803
382 #define GL_PROXY_TEXTURE_1D 0x8063
383 #define GL_PROXY_TEXTURE_2D 0x8064
384 #define GL_REPEAT 0x2901
385 #define GL_R3_G3_B2 0x2A10
386 #define GL_RGB4 0x804F
387 #define GL_RGB5 0x8050
388 #define GL_RGB8 0x8051
389 #define GL_RGB10 0x8052
390 #define GL_RGB12 0x8053
391 #define GL_RGB16 0x8054
392 #define GL_RGBA2 0x8055
393 #define GL_RGBA4 0x8056
394 #define GL_RGB5_A1 0x8057
395 #define GL_RGBA8 0x8058
396 #define GL_RGB10_A2 0x8059
397 #define GL_RGBA12 0x805A
398 #define GL_RGBA16 0x805B
399 #define GL_VERTEX_ARRAY 0x8074
400 typedef void (APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
401 typedef void (APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices);
402 typedef void (APIENTRYP PFNGLGETPOINTERVPROC) (GLenum pname, void **params);
403 typedef void (APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units);
404 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
405 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
406 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
407 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
408 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
409 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
410 typedef void (APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture);
411 typedef void (APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures);
412 typedef void (APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures);
413 typedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture);
414 #ifdef GL_GLEXT_PROTOTYPES
415 GLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
416 GLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices);
417 GLAPI void APIENTRY glGetPointerv (GLenum pname, void **params);
418 GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
419 GLAPI void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
420 GLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
421 GLAPI void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
422 GLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
423 GLAPI void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
424 GLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
425 GLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture);
426 GLAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
427 GLAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures);
428 GLAPI GLboolean APIENTRY glIsTexture (GLuint texture);
429 #endif
430 #endif /* GL_VERSION_1_1 */
431 
432 #ifndef GL_VERSION_1_2
433 #define GL_VERSION_1_2 1
434 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
435 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
436 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
437 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
438 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
439 #define GL_TEXTURE_BINDING_3D 0x806A
440 #define GL_PACK_SKIP_IMAGES 0x806B
441 #define GL_PACK_IMAGE_HEIGHT 0x806C
442 #define GL_UNPACK_SKIP_IMAGES 0x806D
443 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
444 #define GL_TEXTURE_3D 0x806F
445 #define GL_PROXY_TEXTURE_3D 0x8070
446 #define GL_TEXTURE_DEPTH 0x8071
447 #define GL_TEXTURE_WRAP_R 0x8072
448 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
449 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
450 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
451 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
452 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
453 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
454 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
455 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
456 #define GL_BGR 0x80E0
457 #define GL_BGRA 0x80E1
458 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
459 #define GL_MAX_ELEMENTS_INDICES 0x80E9
460 #define GL_CLAMP_TO_EDGE 0x812F
461 #define GL_TEXTURE_MIN_LOD 0x813A
462 #define GL_TEXTURE_MAX_LOD 0x813B
463 #define GL_TEXTURE_BASE_LEVEL 0x813C
464 #define GL_TEXTURE_MAX_LEVEL 0x813D
465 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
466 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
467 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
468 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
469 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
470 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
471 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
472 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
473 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
474 #ifdef GL_GLEXT_PROTOTYPES
475 GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
476 GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
477 GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
478 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
479 #endif
480 #endif /* GL_VERSION_1_2 */
481 
482 #ifndef GL_VERSION_1_3
483 #define GL_VERSION_1_3 1
484 #define GL_TEXTURE0 0x84C0
485 #define GL_TEXTURE1 0x84C1
486 #define GL_TEXTURE2 0x84C2
487 #define GL_TEXTURE3 0x84C3
488 #define GL_TEXTURE4 0x84C4
489 #define GL_TEXTURE5 0x84C5
490 #define GL_TEXTURE6 0x84C6
491 #define GL_TEXTURE7 0x84C7
492 #define GL_TEXTURE8 0x84C8
493 #define GL_TEXTURE9 0x84C9
494 #define GL_TEXTURE10 0x84CA
495 #define GL_TEXTURE11 0x84CB
496 #define GL_TEXTURE12 0x84CC
497 #define GL_TEXTURE13 0x84CD
498 #define GL_TEXTURE14 0x84CE
499 #define GL_TEXTURE15 0x84CF
500 #define GL_TEXTURE16 0x84D0
501 #define GL_TEXTURE17 0x84D1
502 #define GL_TEXTURE18 0x84D2
503 #define GL_TEXTURE19 0x84D3
504 #define GL_TEXTURE20 0x84D4
505 #define GL_TEXTURE21 0x84D5
506 #define GL_TEXTURE22 0x84D6
507 #define GL_TEXTURE23 0x84D7
508 #define GL_TEXTURE24 0x84D8
509 #define GL_TEXTURE25 0x84D9
510 #define GL_TEXTURE26 0x84DA
511 #define GL_TEXTURE27 0x84DB
512 #define GL_TEXTURE28 0x84DC
513 #define GL_TEXTURE29 0x84DD
514 #define GL_TEXTURE30 0x84DE
515 #define GL_TEXTURE31 0x84DF
516 #define GL_ACTIVE_TEXTURE 0x84E0
517 #define GL_MULTISAMPLE 0x809D
518 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
519 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
520 #define GL_SAMPLE_COVERAGE 0x80A0
521 #define GL_SAMPLE_BUFFERS 0x80A8
522 #define GL_SAMPLES 0x80A9
523 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
524 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
525 #define GL_TEXTURE_CUBE_MAP 0x8513
526 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
527 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
528 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
529 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
530 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
531 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
532 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
533 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
534 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
535 #define GL_COMPRESSED_RGB 0x84ED
536 #define GL_COMPRESSED_RGBA 0x84EE
537 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
538 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
539 #define GL_TEXTURE_COMPRESSED 0x86A1
540 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
541 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
542 #define GL_CLAMP_TO_BORDER 0x812D
543 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
544 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
545 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
546 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
547 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
548 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
549 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
550 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
551 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
552 #ifdef GL_GLEXT_PROTOTYPES
553 GLAPI void APIENTRY glActiveTexture (GLenum texture);
554 GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
555 GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
556 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
557 GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
558 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
559 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
560 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
561 GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
562 #endif
563 #endif /* GL_VERSION_1_3 */
564 
565 #ifndef GL_VERSION_1_4
566 #define GL_VERSION_1_4 1
567 #define GL_BLEND_DST_RGB 0x80C8
568 #define GL_BLEND_SRC_RGB 0x80C9
569 #define GL_BLEND_DST_ALPHA 0x80CA
570 #define GL_BLEND_SRC_ALPHA 0x80CB
571 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
572 #define GL_DEPTH_COMPONENT16 0x81A5
573 #define GL_DEPTH_COMPONENT24 0x81A6
574 #define GL_DEPTH_COMPONENT32 0x81A7
575 #define GL_MIRRORED_REPEAT 0x8370
576 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
577 #define GL_TEXTURE_LOD_BIAS 0x8501
578 #define GL_INCR_WRAP 0x8507
579 #define GL_DECR_WRAP 0x8508
580 #define GL_TEXTURE_DEPTH_SIZE 0x884A
581 #define GL_TEXTURE_COMPARE_MODE 0x884C
582 #define GL_TEXTURE_COMPARE_FUNC 0x884D
583 #define GL_FUNC_ADD 0x8006
584 #define GL_FUNC_SUBTRACT 0x800A
585 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
586 #define GL_MIN 0x8007
587 #define GL_MAX 0x8008
588 #define GL_CONSTANT_COLOR 0x8001
589 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
590 #define GL_CONSTANT_ALPHA 0x8003
591 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
592 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
593 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
594 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
595 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
596 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
597 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
598 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
599 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
600 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
601 #ifdef GL_GLEXT_PROTOTYPES
602 GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
603 GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
604 GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
605 GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
606 GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
607 GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
608 GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
609 GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
610 GLAPI void APIENTRY glBlendEquation (GLenum mode);
611 #endif
612 #endif /* GL_VERSION_1_4 */
613 
614 #ifndef GL_VERSION_1_5
615 #define GL_VERSION_1_5 1
616 #include <stddef.h>
617 typedef ptrdiff_t GLsizeiptr;
618 typedef ptrdiff_t GLintptr;
619 #define GL_BUFFER_SIZE 0x8764
620 #define GL_BUFFER_USAGE 0x8765
621 #define GL_QUERY_COUNTER_BITS 0x8864
622 #define GL_CURRENT_QUERY 0x8865
623 #define GL_QUERY_RESULT 0x8866
624 #define GL_QUERY_RESULT_AVAILABLE 0x8867
625 #define GL_ARRAY_BUFFER 0x8892
626 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
627 #define GL_ARRAY_BUFFER_BINDING 0x8894
628 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
629 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
630 #define GL_READ_ONLY 0x88B8
631 #define GL_WRITE_ONLY 0x88B9
632 #define GL_READ_WRITE 0x88BA
633 #define GL_BUFFER_ACCESS 0x88BB
634 #define GL_BUFFER_MAPPED 0x88BC
635 #define GL_BUFFER_MAP_POINTER 0x88BD
636 #define GL_STREAM_DRAW 0x88E0
637 #define GL_STREAM_READ 0x88E1
638 #define GL_STREAM_COPY 0x88E2
639 #define GL_STATIC_DRAW 0x88E4
640 #define GL_STATIC_READ 0x88E5
641 #define GL_STATIC_COPY 0x88E6
642 #define GL_DYNAMIC_DRAW 0x88E8
643 #define GL_DYNAMIC_READ 0x88E9
644 #define GL_DYNAMIC_COPY 0x88EA
645 #define GL_SAMPLES_PASSED 0x8914
646 #define GL_SRC1_ALPHA 0x8589
647 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
648 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
649 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
650 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
651 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
652 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
653 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
654 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
655 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
656 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
657 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
658 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
659 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
660 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
661 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
662 typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
663 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
664 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
665 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
666 #ifdef GL_GLEXT_PROTOTYPES
667 GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
668 GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
669 GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
670 GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
671 GLAPI void APIENTRY glEndQuery (GLenum target);
672 GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
673 GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
674 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
675 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
676 GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
677 GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
678 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
679 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
680 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
681 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
682 GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
683 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
684 GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
685 GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
686 #endif
687 #endif /* GL_VERSION_1_5 */
688 
689 #ifndef GL_VERSION_2_0
690 #define GL_VERSION_2_0 1
691 typedef char GLchar;
692 typedef short GLshort;
693 typedef signed char GLbyte;
694 typedef unsigned short GLushort;
695 #define GL_BLEND_EQUATION_RGB 0x8009
696 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
697 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
698 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
699 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
700 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
701 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
702 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
703 #define GL_STENCIL_BACK_FUNC 0x8800
704 #define GL_STENCIL_BACK_FAIL 0x8801
705 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
706 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
707 #define GL_MAX_DRAW_BUFFERS 0x8824
708 #define GL_DRAW_BUFFER0 0x8825
709 #define GL_DRAW_BUFFER1 0x8826
710 #define GL_DRAW_BUFFER2 0x8827
711 #define GL_DRAW_BUFFER3 0x8828
712 #define GL_DRAW_BUFFER4 0x8829
713 #define GL_DRAW_BUFFER5 0x882A
714 #define GL_DRAW_BUFFER6 0x882B
715 #define GL_DRAW_BUFFER7 0x882C
716 #define GL_DRAW_BUFFER8 0x882D
717 #define GL_DRAW_BUFFER9 0x882E
718 #define GL_DRAW_BUFFER10 0x882F
719 #define GL_DRAW_BUFFER11 0x8830
720 #define GL_DRAW_BUFFER12 0x8831
721 #define GL_DRAW_BUFFER13 0x8832
722 #define GL_DRAW_BUFFER14 0x8833
723 #define GL_DRAW_BUFFER15 0x8834
724 #define GL_BLEND_EQUATION_ALPHA 0x883D
725 #define GL_MAX_VERTEX_ATTRIBS 0x8869
726 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
727 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
728 #define GL_FRAGMENT_SHADER 0x8B30
729 #define GL_VERTEX_SHADER 0x8B31
730 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
731 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
732 #define GL_MAX_VARYING_FLOATS 0x8B4B
733 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
734 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
735 #define GL_SHADER_TYPE 0x8B4F
736 #define GL_FLOAT_VEC2 0x8B50
737 #define GL_FLOAT_VEC3 0x8B51
738 #define GL_FLOAT_VEC4 0x8B52
739 #define GL_INT_VEC2 0x8B53
740 #define GL_INT_VEC3 0x8B54
741 #define GL_INT_VEC4 0x8B55
742 #define GL_BOOL 0x8B56
743 #define GL_BOOL_VEC2 0x8B57
744 #define GL_BOOL_VEC3 0x8B58
745 #define GL_BOOL_VEC4 0x8B59
746 #define GL_FLOAT_MAT2 0x8B5A
747 #define GL_FLOAT_MAT3 0x8B5B
748 #define GL_FLOAT_MAT4 0x8B5C
749 #define GL_SAMPLER_1D 0x8B5D
750 #define GL_SAMPLER_2D 0x8B5E
751 #define GL_SAMPLER_3D 0x8B5F
752 #define GL_SAMPLER_CUBE 0x8B60
753 #define GL_SAMPLER_1D_SHADOW 0x8B61
754 #define GL_SAMPLER_2D_SHADOW 0x8B62
755 #define GL_DELETE_STATUS 0x8B80
756 #define GL_COMPILE_STATUS 0x8B81
757 #define GL_LINK_STATUS 0x8B82
758 #define GL_VALIDATE_STATUS 0x8B83
759 #define GL_INFO_LOG_LENGTH 0x8B84
760 #define GL_ATTACHED_SHADERS 0x8B85
761 #define GL_ACTIVE_UNIFORMS 0x8B86
762 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
763 #define GL_SHADER_SOURCE_LENGTH 0x8B88
764 #define GL_ACTIVE_ATTRIBUTES 0x8B89
765 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
766 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
767 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
768 #define GL_CURRENT_PROGRAM 0x8B8D
769 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
770 #define GL_LOWER_LEFT 0x8CA1
771 #define GL_UPPER_LEFT 0x8CA2
772 #define GL_STENCIL_BACK_REF 0x8CA3
773 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
774 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
775 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
776 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
777 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
778 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
779 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
780 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
781 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
782 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
783 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
784 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
785 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
786 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
787 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
788 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
789 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
790 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
791 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
792 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
793 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
794 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
795 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
796 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
797 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
798 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
799 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
800 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
801 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
802 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
803 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
804 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
805 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
806 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
807 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
808 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
809 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
810 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
811 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
812 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
813 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
814 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
815 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
816 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
817 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
818 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
819 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
820 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
821 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
822 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
823 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
824 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
825 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
826 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
827 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
828 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
829 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
830 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
831 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
832 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
833 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
834 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
835 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
836 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
837 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
838 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
839 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
840 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
841 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
842 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
843 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
844 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
845 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
846 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
847 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
848 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
849 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
850 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
851 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
852 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
853 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
854 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
855 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
856 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
857 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
858 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
859 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
860 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
861 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
862 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
863 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
864 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
865 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
866 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
867 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
868 #ifdef GL_GLEXT_PROTOTYPES
869 GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
870 GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
871 GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
872 GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
873 GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
874 GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
875 GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
876 GLAPI void APIENTRY glCompileShader (GLuint shader);
877 GLAPI GLuint APIENTRY glCreateProgram (void);
878 GLAPI GLuint APIENTRY glCreateShader (GLenum type);
879 GLAPI void APIENTRY glDeleteProgram (GLuint program);
880 GLAPI void APIENTRY glDeleteShader (GLuint shader);
881 GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
882 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
883 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
884 GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
885 GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
886 GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
887 GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
888 GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
889 GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
890 GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
891 GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
892 GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
893 GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
894 GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
895 GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
896 GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
897 GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
898 GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
899 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
900 GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
901 GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
902 GLAPI void APIENTRY glLinkProgram (GLuint program);
903 GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
904 GLAPI void APIENTRY glUseProgram (GLuint program);
905 GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
906 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
907 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
908 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
909 GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
910 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
911 GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
912 GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
913 GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
914 GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
915 GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
916 GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
917 GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
918 GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
919 GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
920 GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
921 GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
922 GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
923 GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
924 GLAPI void APIENTRY glValidateProgram (GLuint program);
925 GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
926 GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
927 GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
928 GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
929 GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
930 GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
931 GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
932 GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
933 GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
934 GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
935 GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
936 GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
937 GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
938 GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
939 GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
940 GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
941 GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
942 GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
943 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
944 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
945 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
946 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
947 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
948 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
949 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
950 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
951 GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
952 GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
953 GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
954 GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
955 GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
956 GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
957 GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
958 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
959 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
960 GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
961 GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
962 #endif
963 #endif /* GL_VERSION_2_0 */
964 
965 #ifndef GL_VERSION_2_1
966 #define GL_VERSION_2_1 1
967 #define GL_PIXEL_PACK_BUFFER 0x88EB
968 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
969 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
970 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
971 #define GL_FLOAT_MAT2x3 0x8B65
972 #define GL_FLOAT_MAT2x4 0x8B66
973 #define GL_FLOAT_MAT3x2 0x8B67
974 #define GL_FLOAT_MAT3x4 0x8B68
975 #define GL_FLOAT_MAT4x2 0x8B69
976 #define GL_FLOAT_MAT4x3 0x8B6A
977 #define GL_SRGB 0x8C40
978 #define GL_SRGB8 0x8C41
979 #define GL_SRGB_ALPHA 0x8C42
980 #define GL_SRGB8_ALPHA8 0x8C43
981 #define GL_COMPRESSED_SRGB 0x8C48
982 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
983 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
984 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
985 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
986 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
987 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
988 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
989 #ifdef GL_GLEXT_PROTOTYPES
990 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
991 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
992 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
993 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
994 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
995 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
996 #endif
997 #endif /* GL_VERSION_2_1 */
998 
999 #ifndef GL_VERSION_3_0
1000 #define GL_VERSION_3_0 1
1001 typedef unsigned short GLhalf;
1002 #define GL_COMPARE_REF_TO_TEXTURE 0x884E
1003 #define GL_CLIP_DISTANCE0 0x3000
1004 #define GL_CLIP_DISTANCE1 0x3001
1005 #define GL_CLIP_DISTANCE2 0x3002
1006 #define GL_CLIP_DISTANCE3 0x3003
1007 #define GL_CLIP_DISTANCE4 0x3004
1008 #define GL_CLIP_DISTANCE5 0x3005
1009 #define GL_CLIP_DISTANCE6 0x3006
1010 #define GL_CLIP_DISTANCE7 0x3007
1011 #define GL_MAX_CLIP_DISTANCES 0x0D32
1012 #define GL_MAJOR_VERSION 0x821B
1013 #define GL_MINOR_VERSION 0x821C
1014 #define GL_NUM_EXTENSIONS 0x821D
1015 #define GL_CONTEXT_FLAGS 0x821E
1016 #define GL_COMPRESSED_RED 0x8225
1017 #define GL_COMPRESSED_RG 0x8226
1018 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
1019 #define GL_RGBA32F 0x8814
1020 #define GL_RGB32F 0x8815
1021 #define GL_RGBA16F 0x881A
1022 #define GL_RGB16F 0x881B
1023 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
1024 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
1025 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
1026 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
1027 #define GL_CLAMP_READ_COLOR 0x891C
1028 #define GL_FIXED_ONLY 0x891D
1029 #define GL_MAX_VARYING_COMPONENTS 0x8B4B
1030 #define GL_TEXTURE_1D_ARRAY 0x8C18
1031 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
1032 #define GL_TEXTURE_2D_ARRAY 0x8C1A
1033 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
1034 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
1035 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
1036 #define GL_R11F_G11F_B10F 0x8C3A
1037 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
1038 #define GL_RGB9_E5 0x8C3D
1039 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
1040 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
1041 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
1042 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
1043 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
1044 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
1045 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
1046 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
1047 #define GL_PRIMITIVES_GENERATED 0x8C87
1048 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
1049 #define GL_RASTERIZER_DISCARD 0x8C89
1050 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
1051 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
1052 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
1053 #define GL_SEPARATE_ATTRIBS 0x8C8D
1054 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
1055 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
1056 #define GL_RGBA32UI 0x8D70
1057 #define GL_RGB32UI 0x8D71
1058 #define GL_RGBA16UI 0x8D76
1059 #define GL_RGB16UI 0x8D77
1060 #define GL_RGBA8UI 0x8D7C
1061 #define GL_RGB8UI 0x8D7D
1062 #define GL_RGBA32I 0x8D82
1063 #define GL_RGB32I 0x8D83
1064 #define GL_RGBA16I 0x8D88
1065 #define GL_RGB16I 0x8D89
1066 #define GL_RGBA8I 0x8D8E
1067 #define GL_RGB8I 0x8D8F
1068 #define GL_RED_INTEGER 0x8D94
1069 #define GL_GREEN_INTEGER 0x8D95
1070 #define GL_BLUE_INTEGER 0x8D96
1071 #define GL_RGB_INTEGER 0x8D98
1072 #define GL_RGBA_INTEGER 0x8D99
1073 #define GL_BGR_INTEGER 0x8D9A
1074 #define GL_BGRA_INTEGER 0x8D9B
1075 #define GL_SAMPLER_1D_ARRAY 0x8DC0
1076 #define GL_SAMPLER_2D_ARRAY 0x8DC1
1077 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
1078 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
1079 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
1080 #define GL_UNSIGNED_INT_VEC2 0x8DC6
1081 #define GL_UNSIGNED_INT_VEC3 0x8DC7
1082 #define GL_UNSIGNED_INT_VEC4 0x8DC8
1083 #define GL_INT_SAMPLER_1D 0x8DC9
1084 #define GL_INT_SAMPLER_2D 0x8DCA
1085 #define GL_INT_SAMPLER_3D 0x8DCB
1086 #define GL_INT_SAMPLER_CUBE 0x8DCC
1087 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
1088 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
1089 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
1090 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
1091 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
1092 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
1093 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
1094 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
1095 #define GL_QUERY_WAIT 0x8E13
1096 #define GL_QUERY_NO_WAIT 0x8E14
1097 #define GL_QUERY_BY_REGION_WAIT 0x8E15
1098 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
1099 #define GL_BUFFER_ACCESS_FLAGS 0x911F
1100 #define GL_BUFFER_MAP_LENGTH 0x9120
1101 #define GL_BUFFER_MAP_OFFSET 0x9121
1102 #define GL_DEPTH_COMPONENT32F 0x8CAC
1103 #define GL_DEPTH32F_STENCIL8 0x8CAD
1104 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
1105 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
1106 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
1107 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
1108 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
1109 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
1110 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
1111 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
1112 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
1113 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
1114 #define GL_FRAMEBUFFER_DEFAULT 0x8218
1115 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
1116 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
1117 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
1118 #define GL_DEPTH_STENCIL 0x84F9
1119 #define GL_UNSIGNED_INT_24_8 0x84FA
1120 #define GL_DEPTH24_STENCIL8 0x88F0
1121 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
1122 #define GL_TEXTURE_RED_TYPE 0x8C10
1123 #define GL_TEXTURE_GREEN_TYPE 0x8C11
1124 #define GL_TEXTURE_BLUE_TYPE 0x8C12
1125 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
1126 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
1127 #define GL_UNSIGNED_NORMALIZED 0x8C17
1128 #define GL_FRAMEBUFFER_BINDING 0x8CA6
1129 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
1130 #define GL_RENDERBUFFER_BINDING 0x8CA7
1131 #define GL_READ_FRAMEBUFFER 0x8CA8
1132 #define GL_DRAW_FRAMEBUFFER 0x8CA9
1133 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
1134 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
1135 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1136 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1137 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1138 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1139 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1140 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
1141 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1142 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1143 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1144 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1145 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
1146 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
1147 #define GL_COLOR_ATTACHMENT0 0x8CE0
1148 #define GL_COLOR_ATTACHMENT1 0x8CE1
1149 #define GL_COLOR_ATTACHMENT2 0x8CE2
1150 #define GL_COLOR_ATTACHMENT3 0x8CE3
1151 #define GL_COLOR_ATTACHMENT4 0x8CE4
1152 #define GL_COLOR_ATTACHMENT5 0x8CE5
1153 #define GL_COLOR_ATTACHMENT6 0x8CE6
1154 #define GL_COLOR_ATTACHMENT7 0x8CE7
1155 #define GL_COLOR_ATTACHMENT8 0x8CE8
1156 #define GL_COLOR_ATTACHMENT9 0x8CE9
1157 #define GL_COLOR_ATTACHMENT10 0x8CEA
1158 #define GL_COLOR_ATTACHMENT11 0x8CEB
1159 #define GL_COLOR_ATTACHMENT12 0x8CEC
1160 #define GL_COLOR_ATTACHMENT13 0x8CED
1161 #define GL_COLOR_ATTACHMENT14 0x8CEE
1162 #define GL_COLOR_ATTACHMENT15 0x8CEF
1163 #define GL_DEPTH_ATTACHMENT 0x8D00
1164 #define GL_STENCIL_ATTACHMENT 0x8D20
1165 #define GL_FRAMEBUFFER 0x8D40
1166 #define GL_RENDERBUFFER 0x8D41
1167 #define GL_RENDERBUFFER_WIDTH 0x8D42
1168 #define GL_RENDERBUFFER_HEIGHT 0x8D43
1169 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
1170 #define GL_STENCIL_INDEX1 0x8D46
1171 #define GL_STENCIL_INDEX4 0x8D47
1172 #define GL_STENCIL_INDEX8 0x8D48
1173 #define GL_STENCIL_INDEX16 0x8D49
1174 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
1175 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
1176 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
1177 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
1178 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
1179 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
1180 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
1181 #define GL_MAX_SAMPLES 0x8D57
1182 #define GL_FRAMEBUFFER_SRGB 0x8DB9
1183 #define GL_HALF_FLOAT 0x140B
1184 #define GL_MAP_READ_BIT 0x0001
1185 #define GL_MAP_WRITE_BIT 0x0002
1186 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
1187 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
1188 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
1189 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
1190 #define GL_COMPRESSED_RED_RGTC1 0x8DBB
1191 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
1192 #define GL_COMPRESSED_RG_RGTC2 0x8DBD
1193 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
1194 #define GL_RG 0x8227
1195 #define GL_RG_INTEGER 0x8228
1196 #define GL_R8 0x8229
1197 #define GL_R16 0x822A
1198 #define GL_RG8 0x822B
1199 #define GL_RG16 0x822C
1200 #define GL_R16F 0x822D
1201 #define GL_R32F 0x822E
1202 #define GL_RG16F 0x822F
1203 #define GL_RG32F 0x8230
1204 #define GL_R8I 0x8231
1205 #define GL_R8UI 0x8232
1206 #define GL_R16I 0x8233
1207 #define GL_R16UI 0x8234
1208 #define GL_R32I 0x8235
1209 #define GL_R32UI 0x8236
1210 #define GL_RG8I 0x8237
1211 #define GL_RG8UI 0x8238
1212 #define GL_RG16I 0x8239
1213 #define GL_RG16UI 0x823A
1214 #define GL_RG32I 0x823B
1215 #define GL_RG32UI 0x823C
1216 #define GL_VERTEX_ARRAY_BINDING 0x85B5
1217 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1218 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
1219 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
1220 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
1221 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
1222 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
1223 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
1224 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
1225 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1226 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
1227 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1228 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1229 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
1230 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
1231 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
1232 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1233 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
1234 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
1235 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
1236 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
1237 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
1238 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
1239 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
1240 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
1241 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
1242 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1243 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
1244 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
1245 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
1246 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
1247 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
1248 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
1249 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
1250 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
1251 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
1252 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
1253 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
1254 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
1255 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
1256 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
1257 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
1258 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
1259 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
1260 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
1261 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1262 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1263 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1264 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1265 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1266 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
1267 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
1268 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
1269 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
1270 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
1271 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
1272 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1273 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1274 typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
1275 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
1276 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
1277 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
1278 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
1279 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1280 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1281 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
1282 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
1283 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
1284 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
1285 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
1286 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1287 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1288 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1289 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1290 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1291 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
1292 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1293 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1294 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1295 typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1296 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1297 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
1298 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
1299 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
1300 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
1301 #ifdef GL_GLEXT_PROTOTYPES
1302 GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1303 GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
1304 GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
1305 GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
1306 GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
1307 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
1308 GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
1310 GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1311 GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
1312 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1313 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1314 GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
1315 GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
1317 GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1318 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
1319 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
1320 GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
1321 GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
1322 GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
1323 GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
1324 GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
1325 GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
1326 GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
1327 GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1328 GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
1329 GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
1330 GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
1331 GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
1332 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
1333 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
1334 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
1335 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
1336 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
1337 GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
1338 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
1339 GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
1340 GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
1341 GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
1342 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
1343 GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
1344 GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
1345 GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
1346 GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1347 GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
1348 GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
1349 GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
1350 GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
1351 GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
1352 GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
1353 GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
1354 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
1355 GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
1356 GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
1357 GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1358 GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1359 GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
1360 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
1361 GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
1362 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
1363 GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
1364 GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1365 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
1366 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
1367 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
1368 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
1369 GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
1370 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
1371 GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1372 GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1373 GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1374 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1375 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1376 GLAPI void APIENTRY glGenerateMipmap (GLenum target);
1377 GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1378 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1379 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1380 GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1381 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
1382 GLAPI void APIENTRY glBindVertexArray (GLuint array);
1383 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
1384 GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
1385 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
1386 #endif
1387 #endif /* GL_VERSION_3_0 */
1388 
1389 #ifndef GL_VERSION_3_1
1390 #define GL_VERSION_3_1 1
1391 #define GL_SAMPLER_2D_RECT 0x8B63
1392 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
1393 #define GL_SAMPLER_BUFFER 0x8DC2
1394 #define GL_INT_SAMPLER_2D_RECT 0x8DCD
1395 #define GL_INT_SAMPLER_BUFFER 0x8DD0
1396 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
1397 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
1398 #define GL_TEXTURE_BUFFER 0x8C2A
1399 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
1400 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
1401 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
1402 #define GL_TEXTURE_RECTANGLE 0x84F5
1403 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
1404 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
1405 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
1406 #define GL_R8_SNORM 0x8F94
1407 #define GL_RG8_SNORM 0x8F95
1408 #define GL_RGB8_SNORM 0x8F96
1409 #define GL_RGBA8_SNORM 0x8F97
1410 #define GL_R16_SNORM 0x8F98
1411 #define GL_RG16_SNORM 0x8F99
1412 #define GL_RGB16_SNORM 0x8F9A
1413 #define GL_RGBA16_SNORM 0x8F9B
1414 #define GL_SIGNED_NORMALIZED 0x8F9C
1415 #define GL_PRIMITIVE_RESTART 0x8F9D
1416 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
1417 #define GL_COPY_READ_BUFFER 0x8F36
1418 #define GL_COPY_WRITE_BUFFER 0x8F37
1419 #define GL_UNIFORM_BUFFER 0x8A11
1420 #define GL_UNIFORM_BUFFER_BINDING 0x8A28
1421 #define GL_UNIFORM_BUFFER_START 0x8A29
1422 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
1423 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
1424 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
1425 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
1426 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
1427 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
1428 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
1429 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1430 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
1431 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1432 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1433 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
1434 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
1435 #define GL_UNIFORM_TYPE 0x8A37
1436 #define GL_UNIFORM_SIZE 0x8A38
1437 #define GL_UNIFORM_NAME_LENGTH 0x8A39
1438 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
1439 #define GL_UNIFORM_OFFSET 0x8A3B
1440 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
1441 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
1442 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
1443 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
1444 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
1445 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
1446 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
1447 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1448 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1449 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
1450 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1451 #define GL_INVALID_INDEX 0xFFFFFFFFu
1452 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1453 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1454 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
1455 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
1456 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1457 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1458 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1459 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1460 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
1461 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1462 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1463 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1464 #ifdef GL_GLEXT_PROTOTYPES
1465 GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1466 GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1467 GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
1468 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
1469 GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1470 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1471 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1472 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1473 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
1474 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1475 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1476 GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1477 #endif
1478 #endif /* GL_VERSION_3_1 */
1479 
1480 #ifndef GL_VERSION_3_2
1481 #define GL_VERSION_3_2 1
1482 typedef struct __GLsync *GLsync;
1483 #ifndef GLEXT_64_TYPES_DEFINED
1484 /* This code block is duplicated in glxext.h, so must be protected */
1485 #define GLEXT_64_TYPES_DEFINED
1486 /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
1487 /* (as used in the GL_EXT_timer_query extension). */
1488 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
1489 #include <inttypes.h>
1490 #elif defined(__sun__) || defined(__digital__)
1491 #include <inttypes.h>
1492 #if defined(__STDC__)
1493 #if defined(__arch64__) || defined(_LP64)
1494 typedef long int int64_t;
1495 typedef unsigned long int uint64_t;
1496 #else
1497 typedef long long int int64_t;
1498 typedef unsigned long long int uint64_t;
1499 #endif /* __arch64__ */
1500 #endif /* __STDC__ */
1501 #elif defined( __VMS ) || defined(__sgi)
1502 #include <inttypes.h>
1503 #elif defined(__SCO__) || defined(__USLC__)
1504 #include <stdint.h>
1505 #elif defined(__UNIXOS2__) || defined(__SOL64__)
1506 typedef long int int32_t;
1507 typedef long long int int64_t;
1508 typedef unsigned long long int uint64_t;
1509 #elif defined(_WIN32) && defined(__GNUC__)
1510 #include <stdint.h>
1511 #elif defined(_WIN32)
1512 typedef __int32 int32_t;
1513 typedef __int64 int64_t;
1514 typedef unsigned __int64 uint64_t;
1515 #else
1516 /* Fallback if nothing above works */
1517 #include <inttypes.h>
1518 #endif
1519 #endif
1520 typedef uint64_t GLuint64;
1521 typedef int64_t GLint64;
1522 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
1523 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1524 #define GL_LINES_ADJACENCY 0x000A
1525 #define GL_LINE_STRIP_ADJACENCY 0x000B
1526 #define GL_TRIANGLES_ADJACENCY 0x000C
1527 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
1528 #define GL_PROGRAM_POINT_SIZE 0x8642
1529 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
1530 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
1531 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
1532 #define GL_GEOMETRY_SHADER 0x8DD9
1533 #define GL_GEOMETRY_VERTICES_OUT 0x8916
1534 #define GL_GEOMETRY_INPUT_TYPE 0x8917
1535 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
1536 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
1537 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
1538 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
1539 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
1540 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
1541 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
1542 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
1543 #define GL_CONTEXT_PROFILE_MASK 0x9126
1544 #define GL_DEPTH_CLAMP 0x864F
1545 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
1546 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
1547 #define GL_LAST_VERTEX_CONVENTION 0x8E4E
1548 #define GL_PROVOKING_VERTEX 0x8E4F
1549 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
1550 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
1551 #define GL_OBJECT_TYPE 0x9112
1552 #define GL_SYNC_CONDITION 0x9113
1553 #define GL_SYNC_STATUS 0x9114
1554 #define GL_SYNC_FLAGS 0x9115
1555 #define GL_SYNC_FENCE 0x9116
1556 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
1557 #define GL_UNSIGNALED 0x9118
1558 #define GL_SIGNALED 0x9119
1559 #define GL_ALREADY_SIGNALED 0x911A
1560 #define GL_TIMEOUT_EXPIRED 0x911B
1561 #define GL_CONDITION_SATISFIED 0x911C
1562 #define GL_WAIT_FAILED 0x911D
1563 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
1564 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
1565 #define GL_SAMPLE_POSITION 0x8E50
1566 #define GL_SAMPLE_MASK 0x8E51
1567 #define GL_SAMPLE_MASK_VALUE 0x8E52
1568 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
1569 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
1570 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
1571 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
1572 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
1573 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
1574 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
1575 #define GL_TEXTURE_SAMPLES 0x9106
1576 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
1577 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
1578 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
1579 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
1580 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
1581 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
1582 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
1583 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
1584 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
1585 #define GL_MAX_INTEGER_SAMPLES 0x9110
1586 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1587 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1588 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1589 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1590 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
1591 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
1592 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
1593 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
1594 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1595 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1596 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
1597 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1598 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
1599 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
1600 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1601 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1602 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1603 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
1604 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
1605 #ifdef GL_GLEXT_PROTOTYPES
1606 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1607 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1608 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1609 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1610 GLAPI void APIENTRY glProvokingVertex (GLenum mode);
1611 GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
1612 GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
1613 GLAPI void APIENTRY glDeleteSync (GLsync sync);
1614 GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1615 GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1616 GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
1617 GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1618 GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
1619 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
1620 GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
1621 GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1622 GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1623 GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
1624 GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
1625 #endif
1626 #endif /* GL_VERSION_3_2 */
1627 
1628 #ifndef GL_VERSION_3_3
1629 #define GL_VERSION_3_3 1
1630 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
1631 #define GL_SRC1_COLOR 0x88F9
1632 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
1633 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
1634 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
1635 #define GL_ANY_SAMPLES_PASSED 0x8C2F
1636 #define GL_SAMPLER_BINDING 0x8919
1637 #define GL_RGB10_A2UI 0x906F
1638 #define GL_TEXTURE_SWIZZLE_R 0x8E42
1639 #define GL_TEXTURE_SWIZZLE_G 0x8E43
1640 #define GL_TEXTURE_SWIZZLE_B 0x8E44
1641 #define GL_TEXTURE_SWIZZLE_A 0x8E45
1642 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
1643 #define GL_TIME_ELAPSED 0x88BF
1644 #define GL_TIMESTAMP 0x8E28
1645 #define GL_INT_2_10_10_10_REV 0x8D9F
1646 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1647 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
1648 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
1649 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
1650 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
1651 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
1652 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
1653 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1654 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
1655 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
1656 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1657 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
1658 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1659 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1660 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
1661 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
1662 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
1663 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
1664 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
1665 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
1666 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1667 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1668 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1669 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1670 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1671 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1672 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1673 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1674 #ifdef GL_GLEXT_PROTOTYPES
1675 GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1676 GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
1677 GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
1678 GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
1679 GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
1680 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
1681 GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
1682 GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
1683 GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
1684 GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
1685 GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
1686 GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
1687 GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
1688 GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
1689 GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
1690 GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
1691 GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
1692 GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
1693 GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
1694 GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
1695 GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1696 GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1697 GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1698 GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1699 GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1700 GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1701 GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1702 GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1703 #endif
1704 #endif /* GL_VERSION_3_3 */
1705 
1706 #ifndef GL_VERSION_4_0
1707 #define GL_VERSION_4_0 1
1708 #define GL_SAMPLE_SHADING 0x8C36
1709 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
1710 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
1711 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
1712 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
1713 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
1714 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
1715 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
1716 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
1717 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
1718 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
1719 #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
1720 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
1721 #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
1722 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
1723 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
1724 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
1725 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
1726 #define GL_MAX_VERTEX_STREAMS 0x8E71
1727 #define GL_DOUBLE_VEC2 0x8FFC
1728 #define GL_DOUBLE_VEC3 0x8FFD
1729 #define GL_DOUBLE_VEC4 0x8FFE
1730 #define GL_DOUBLE_MAT2 0x8F46
1731 #define GL_DOUBLE_MAT3 0x8F47
1732 #define GL_DOUBLE_MAT4 0x8F48
1733 #define GL_DOUBLE_MAT2x3 0x8F49
1734 #define GL_DOUBLE_MAT2x4 0x8F4A
1735 #define GL_DOUBLE_MAT3x2 0x8F4B
1736 #define GL_DOUBLE_MAT3x4 0x8F4C
1737 #define GL_DOUBLE_MAT4x2 0x8F4D
1738 #define GL_DOUBLE_MAT4x3 0x8F4E
1739 #define GL_ACTIVE_SUBROUTINES 0x8DE5
1740 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
1741 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
1742 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
1743 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
1744 #define GL_MAX_SUBROUTINES 0x8DE7
1745 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
1746 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
1747 #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
1748 #define GL_PATCHES 0x000E
1749 #define GL_PATCH_VERTICES 0x8E72
1750 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
1751 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
1752 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
1753 #define GL_TESS_GEN_MODE 0x8E76
1754 #define GL_TESS_GEN_SPACING 0x8E77
1755 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
1756 #define GL_TESS_GEN_POINT_MODE 0x8E79
1757 #define GL_ISOLINES 0x8E7A
1758 #define GL_FRACTIONAL_ODD 0x8E7B
1759 #define GL_FRACTIONAL_EVEN 0x8E7C
1760 #define GL_MAX_PATCH_VERTICES 0x8E7D
1761 #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
1762 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
1763 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
1764 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
1765 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
1766 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
1767 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
1768 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
1769 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
1770 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
1771 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
1772 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
1773 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
1774 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
1775 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
1776 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
1777 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
1778 #define GL_TESS_EVALUATION_SHADER 0x8E87
1779 #define GL_TESS_CONTROL_SHADER 0x8E88
1780 #define GL_TRANSFORM_FEEDBACK 0x8E22
1781 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
1782 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
1783 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
1784 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
1785 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
1786 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
1787 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1788 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
1789 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1790 typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
1791 typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
1792 typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
1793 typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
1794 typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
1795 typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1796 typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1797 typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1798 typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1799 typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1800 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1801 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1802 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1803 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1804 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1805 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1806 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1807 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1808 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1809 typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
1810 typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1811 typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1812 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1813 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1814 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1815 typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
1816 typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
1817 typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1818 typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
1819 typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
1820 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
1821 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
1822 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
1823 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
1824 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
1825 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
1826 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
1827 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
1828 typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
1829 typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
1830 typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
1831 #ifdef GL_GLEXT_PROTOTYPES
1832 GLAPI void APIENTRY glMinSampleShading (GLfloat value);
1833 GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
1834 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1835 GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
1836 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1837 GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
1838 GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
1839 GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
1840 GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
1841 GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
1842 GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1843 GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
1844 GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
1845 GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
1846 GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
1847 GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1848 GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1849 GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1850 GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1851 GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1852 GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1853 GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1854 GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1855 GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1856 GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
1857 GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
1858 GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
1859 GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1860 GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1861 GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1862 GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
1863 GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
1864 GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1865 GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
1866 GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
1867 GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
1868 GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
1869 GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
1870 GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
1873 GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
1874 GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
1875 GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
1876 GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
1877 GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
1878 #endif
1879 #endif /* GL_VERSION_4_0 */
1880 
1881 #ifndef GL_VERSION_4_1
1882 #define GL_VERSION_4_1 1
1883 #define GL_FIXED 0x140C
1884 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
1885 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
1886 #define GL_LOW_FLOAT 0x8DF0
1887 #define GL_MEDIUM_FLOAT 0x8DF1
1888 #define GL_HIGH_FLOAT 0x8DF2
1889 #define GL_LOW_INT 0x8DF3
1890 #define GL_MEDIUM_INT 0x8DF4
1891 #define GL_HIGH_INT 0x8DF5
1892 #define GL_SHADER_COMPILER 0x8DFA
1893 #define GL_SHADER_BINARY_FORMATS 0x8DF8
1894 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
1895 #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
1896 #define GL_MAX_VARYING_VECTORS 0x8DFC
1897 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
1898 #define GL_RGB565 0x8D62
1899 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
1900 #define GL_PROGRAM_BINARY_LENGTH 0x8741
1901 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
1902 #define GL_PROGRAM_BINARY_FORMATS 0x87FF
1903 #define GL_VERTEX_SHADER_BIT 0x00000001
1904 #define GL_FRAGMENT_SHADER_BIT 0x00000002
1905 #define GL_GEOMETRY_SHADER_BIT 0x00000004
1906 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
1907 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
1908 #define GL_ALL_SHADER_BITS 0xFFFFFFFF
1909 #define GL_PROGRAM_SEPARABLE 0x8258
1910 #define GL_ACTIVE_PROGRAM 0x8259
1911 #define GL_PROGRAM_PIPELINE_BINDING 0x825A
1912 #define GL_MAX_VIEWPORTS 0x825B
1913 #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
1914 #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
1915 #define GL_LAYER_PROVOKING_VERTEX 0x825E
1916 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
1917 #define GL_UNDEFINED_VERTEX 0x8260
1918 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
1919 typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
1920 typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1921 typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
1922 typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
1923 typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1924 typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1925 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
1926 typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1927 typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
1928 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
1929 typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
1930 typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
1931 typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
1932 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
1933 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
1934 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
1935 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1936 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
1937 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1938 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
1939 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1940 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
1941 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1942 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1943 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1944 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1945 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1946 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1947 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1948 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1949 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1950 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1951 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1952 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1953 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1954 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
1955 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1956 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1957 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1958 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1959 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1960 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1961 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1962 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
1963 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1964 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1965 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1966 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1967 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1968 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1969 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1970 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1971 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1972 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1973 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1974 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1975 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1976 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1977 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1978 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1979 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1980 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1981 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1982 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1983 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1984 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
1985 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1986 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
1987 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
1988 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1989 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1990 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
1991 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
1992 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
1993 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
1994 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1995 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
1996 typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
1997 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
1998 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
1999 typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
2000 typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
2001 typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
2002 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
2003 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
2004 typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
2005 typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
2006 #ifdef GL_GLEXT_PROTOTYPES
2008 GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
2009 GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
2010 GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
2011 GLAPI void APIENTRY glClearDepthf (GLfloat d);
2012 GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
2013 GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
2014 GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
2015 GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
2016 GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
2017 GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
2018 GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
2019 GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
2020 GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
2021 GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
2022 GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
2023 GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
2024 GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
2025 GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
2026 GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
2027 GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
2028 GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2029 GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
2030 GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2031 GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
2032 GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
2033 GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
2034 GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
2035 GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
2036 GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2037 GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
2038 GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2039 GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
2040 GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
2041 GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
2042 GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
2043 GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
2044 GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2045 GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
2046 GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2047 GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
2048 GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
2049 GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
2050 GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
2051 GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
2052 GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2053 GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
2054 GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2055 GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2056 GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2057 GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2058 GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2059 GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2060 GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2061 GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2062 GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2063 GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2064 GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2065 GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2066 GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2067 GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2068 GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2069 GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2070 GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2071 GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2072 GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2073 GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
2074 GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
2075 GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
2076 GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
2077 GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
2078 GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2079 GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
2080 GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
2081 GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
2082 GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
2083 GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
2084 GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
2085 GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
2086 GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
2087 GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
2088 GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
2089 GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
2090 GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
2091 GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
2092 GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
2093 GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
2094 GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
2095 #endif
2096 #endif /* GL_VERSION_4_1 */
2097 
2098 #ifndef GL_VERSION_4_2
2099 #define GL_VERSION_4_2 1
2100 #define GL_COPY_READ_BUFFER_BINDING 0x8F36
2101 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2102 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
2103 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
2104 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
2105 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2106 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
2107 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
2108 #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
2109 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
2110 #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
2111 #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
2112 #define GL_NUM_SAMPLE_COUNTS 0x9380
2113 #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
2114 #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
2115 #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
2116 #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
2117 #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
2118 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2119 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2120 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2121 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2122 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2123 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2124 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2125 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2126 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2127 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2128 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2129 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2130 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2131 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2132 #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
2133 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2134 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2135 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
2136 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
2137 #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
2138 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2139 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2140 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
2141 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2142 #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
2143 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2144 #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
2145 #define GL_UNIFORM_BARRIER_BIT 0x00000004
2146 #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
2147 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2148 #define GL_COMMAND_BARRIER_BIT 0x00000040
2149 #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
2150 #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
2151 #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
2152 #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
2153 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2154 #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
2155 #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
2156 #define GL_MAX_IMAGE_UNITS 0x8F38
2157 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2158 #define GL_IMAGE_BINDING_NAME 0x8F3A
2159 #define GL_IMAGE_BINDING_LEVEL 0x8F3B
2160 #define GL_IMAGE_BINDING_LAYERED 0x8F3C
2161 #define GL_IMAGE_BINDING_LAYER 0x8F3D
2162 #define GL_IMAGE_BINDING_ACCESS 0x8F3E
2163 #define GL_IMAGE_1D 0x904C
2164 #define GL_IMAGE_2D 0x904D
2165 #define GL_IMAGE_3D 0x904E
2166 #define GL_IMAGE_2D_RECT 0x904F
2167 #define GL_IMAGE_CUBE 0x9050
2168 #define GL_IMAGE_BUFFER 0x9051
2169 #define GL_IMAGE_1D_ARRAY 0x9052
2170 #define GL_IMAGE_2D_ARRAY 0x9053
2171 #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
2172 #define GL_IMAGE_2D_MULTISAMPLE 0x9055
2173 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
2174 #define GL_INT_IMAGE_1D 0x9057
2175 #define GL_INT_IMAGE_2D 0x9058
2176 #define GL_INT_IMAGE_3D 0x9059
2177 #define GL_INT_IMAGE_2D_RECT 0x905A
2178 #define GL_INT_IMAGE_CUBE 0x905B
2179 #define GL_INT_IMAGE_BUFFER 0x905C
2180 #define GL_INT_IMAGE_1D_ARRAY 0x905D
2181 #define GL_INT_IMAGE_2D_ARRAY 0x905E
2182 #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
2183 #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
2184 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2185 #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
2186 #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
2187 #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
2188 #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
2189 #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
2190 #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
2191 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
2192 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
2193 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2194 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2195 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2196 #define GL_MAX_IMAGE_SAMPLES 0x906D
2197 #define GL_IMAGE_BINDING_FORMAT 0x906E
2198 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2199 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2200 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2201 #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
2202 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2203 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2204 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
2205 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
2206 #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
2207 #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
2208 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
2209 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
2210 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
2211 #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
2212 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2213 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2214 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2215 typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2216 typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2217 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2218 typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
2219 typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2220 typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2221 typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2222 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
2223 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2224 #ifdef GL_GLEXT_PROTOTYPES
2225 GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2226 GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2227 GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2228 GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2229 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2230 GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2231 GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
2232 GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2233 GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2234 GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2235 GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
2236 GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2237 #endif
2238 #endif /* GL_VERSION_4_2 */
2239 
2240 #ifndef GL_VERSION_4_3
2241 #define GL_VERSION_4_3 1
2242 typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
2243 #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
2244 #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
2245 #define GL_COMPRESSED_RGB8_ETC2 0x9274
2246 #define GL_COMPRESSED_SRGB8_ETC2 0x9275
2247 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2248 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2249 #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
2250 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2251 #define GL_COMPRESSED_R11_EAC 0x9270
2252 #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
2253 #define GL_COMPRESSED_RG11_EAC 0x9272
2254 #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
2255 #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
2256 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2257 #define GL_MAX_ELEMENT_INDEX 0x8D6B
2258 #define GL_COMPUTE_SHADER 0x91B9
2259 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
2260 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2261 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
2262 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2263 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2264 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2265 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
2266 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2267 #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
2268 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
2269 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
2270 #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
2271 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2272 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2273 #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
2274 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2275 #define GL_COMPUTE_SHADER_BIT 0x00000020
2276 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
2277 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2278 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
2279 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
2280 #define GL_DEBUG_SOURCE_API 0x8246
2281 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
2282 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
2283 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
2284 #define GL_DEBUG_SOURCE_APPLICATION 0x824A
2285 #define GL_DEBUG_SOURCE_OTHER 0x824B
2286 #define GL_DEBUG_TYPE_ERROR 0x824C
2287 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2288 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
2289 #define GL_DEBUG_TYPE_PORTABILITY 0x824F
2290 #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
2291 #define GL_DEBUG_TYPE_OTHER 0x8251
2292 #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
2293 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
2294 #define GL_DEBUG_LOGGED_MESSAGES 0x9145
2295 #define GL_DEBUG_SEVERITY_HIGH 0x9146
2296 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
2297 #define GL_DEBUG_SEVERITY_LOW 0x9148
2298 #define GL_DEBUG_TYPE_MARKER 0x8268
2299 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
2300 #define GL_DEBUG_TYPE_POP_GROUP 0x826A
2301 #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
2302 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
2303 #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
2304 #define GL_BUFFER 0x82E0
2305 #define GL_SHADER 0x82E1
2306 #define GL_PROGRAM 0x82E2
2307 #define GL_QUERY 0x82E3
2308 #define GL_PROGRAM_PIPELINE 0x82E4
2309 #define GL_SAMPLER 0x82E6
2310 #define GL_MAX_LABEL_LENGTH 0x82E8
2311 #define GL_DEBUG_OUTPUT 0x92E0
2312 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
2313 #define GL_MAX_UNIFORM_LOCATIONS 0x826E
2314 #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
2315 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
2316 #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
2317 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
2318 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2319 #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
2320 #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
2321 #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
2322 #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
2323 #define GL_INTERNALFORMAT_SUPPORTED 0x826F
2324 #define GL_INTERNALFORMAT_PREFERRED 0x8270
2325 #define GL_INTERNALFORMAT_RED_SIZE 0x8271
2326 #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
2327 #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
2328 #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
2329 #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
2330 #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
2331 #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
2332 #define GL_INTERNALFORMAT_RED_TYPE 0x8278
2333 #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
2334 #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
2335 #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
2336 #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
2337 #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
2338 #define GL_MAX_WIDTH 0x827E
2339 #define GL_MAX_HEIGHT 0x827F
2340 #define GL_MAX_DEPTH 0x8280
2341 #define GL_MAX_LAYERS 0x8281
2342 #define GL_MAX_COMBINED_DIMENSIONS 0x8282
2343 #define GL_COLOR_COMPONENTS 0x8283
2344 #define GL_DEPTH_COMPONENTS 0x8284
2345 #define GL_STENCIL_COMPONENTS 0x8285
2346 #define GL_COLOR_RENDERABLE 0x8286
2347 #define GL_DEPTH_RENDERABLE 0x8287
2348 #define GL_STENCIL_RENDERABLE 0x8288
2349 #define GL_FRAMEBUFFER_RENDERABLE 0x8289
2350 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2351 #define GL_FRAMEBUFFER_BLEND 0x828B
2352 #define GL_READ_PIXELS 0x828C
2353 #define GL_READ_PIXELS_FORMAT 0x828D
2354 #define GL_READ_PIXELS_TYPE 0x828E
2355 #define GL_TEXTURE_IMAGE_FORMAT 0x828F
2356 #define GL_TEXTURE_IMAGE_TYPE 0x8290
2357 #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
2358 #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
2359 #define GL_MIPMAP 0x8293
2360 #define GL_MANUAL_GENERATE_MIPMAP 0x8294
2361 #define GL_AUTO_GENERATE_MIPMAP 0x8295
2362 #define GL_COLOR_ENCODING 0x8296
2363 #define GL_SRGB_READ 0x8297
2364 #define GL_SRGB_WRITE 0x8298
2365 #define GL_FILTER 0x829A
2366 #define GL_VERTEX_TEXTURE 0x829B
2367 #define GL_TESS_CONTROL_TEXTURE 0x829C
2368 #define GL_TESS_EVALUATION_TEXTURE 0x829D
2369 #define GL_GEOMETRY_TEXTURE 0x829E
2370 #define GL_FRAGMENT_TEXTURE 0x829F
2371 #define GL_COMPUTE_TEXTURE 0x82A0
2372 #define GL_TEXTURE_SHADOW 0x82A1
2373 #define GL_TEXTURE_GATHER 0x82A2
2374 #define GL_TEXTURE_GATHER_SHADOW 0x82A3
2375 #define GL_SHADER_IMAGE_LOAD 0x82A4
2376 #define GL_SHADER_IMAGE_STORE 0x82A5
2377 #define GL_SHADER_IMAGE_ATOMIC 0x82A6
2378 #define GL_IMAGE_TEXEL_SIZE 0x82A7
2379 #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
2380 #define GL_IMAGE_PIXEL_FORMAT 0x82A9
2381 #define GL_IMAGE_PIXEL_TYPE 0x82AA
2382 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2383 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2384 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2385 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2386 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2387 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2388 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
2389 #define GL_CLEAR_BUFFER 0x82B4
2390 #define GL_TEXTURE_VIEW 0x82B5
2391 #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
2392 #define GL_FULL_SUPPORT 0x82B7
2393 #define GL_CAVEAT_SUPPORT 0x82B8
2394 #define GL_IMAGE_CLASS_4_X_32 0x82B9
2395 #define GL_IMAGE_CLASS_2_X_32 0x82BA
2396 #define GL_IMAGE_CLASS_1_X_32 0x82BB
2397 #define GL_IMAGE_CLASS_4_X_16 0x82BC
2398 #define GL_IMAGE_CLASS_2_X_16 0x82BD
2399 #define GL_IMAGE_CLASS_1_X_16 0x82BE
2400 #define GL_IMAGE_CLASS_4_X_8 0x82BF
2401 #define GL_IMAGE_CLASS_2_X_8 0x82C0
2402 #define GL_IMAGE_CLASS_1_X_8 0x82C1
2403 #define GL_IMAGE_CLASS_11_11_10 0x82C2
2404 #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
2405 #define GL_VIEW_CLASS_128_BITS 0x82C4
2406 #define GL_VIEW_CLASS_96_BITS 0x82C5
2407 #define GL_VIEW_CLASS_64_BITS 0x82C6
2408 #define GL_VIEW_CLASS_48_BITS 0x82C7
2409 #define GL_VIEW_CLASS_32_BITS 0x82C8
2410 #define GL_VIEW_CLASS_24_BITS 0x82C9
2411 #define GL_VIEW_CLASS_16_BITS 0x82CA
2412 #define GL_VIEW_CLASS_8_BITS 0x82CB
2413 #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
2414 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
2415 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
2416 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
2417 #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
2418 #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
2419 #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
2420 #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
2421 #define GL_UNIFORM 0x92E1
2422 #define GL_UNIFORM_BLOCK 0x92E2
2423 #define GL_PROGRAM_INPUT 0x92E3
2424 #define GL_PROGRAM_OUTPUT 0x92E4
2425 #define GL_BUFFER_VARIABLE 0x92E5
2426 #define GL_SHADER_STORAGE_BLOCK 0x92E6
2427 #define GL_VERTEX_SUBROUTINE 0x92E8
2428 #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
2429 #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
2430 #define GL_GEOMETRY_SUBROUTINE 0x92EB
2431 #define GL_FRAGMENT_SUBROUTINE 0x92EC
2432 #define GL_COMPUTE_SUBROUTINE 0x92ED
2433 #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
2434 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2435 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2436 #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
2437 #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
2438 #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
2439 #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
2440 #define GL_ACTIVE_RESOURCES 0x92F5
2441 #define GL_MAX_NAME_LENGTH 0x92F6
2442 #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
2443 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2444 #define GL_NAME_LENGTH 0x92F9
2445 #define GL_TYPE 0x92FA
2446 #define GL_ARRAY_SIZE 0x92FB
2447 #define GL_OFFSET 0x92FC
2448 #define GL_BLOCK_INDEX 0x92FD
2449 #define GL_ARRAY_STRIDE 0x92FE
2450 #define GL_MATRIX_STRIDE 0x92FF
2451 #define GL_IS_ROW_MAJOR 0x9300
2452 #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
2453 #define GL_BUFFER_BINDING 0x9302
2454 #define GL_BUFFER_DATA_SIZE 0x9303
2455 #define GL_NUM_ACTIVE_VARIABLES 0x9304
2456 #define GL_ACTIVE_VARIABLES 0x9305
2457 #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
2458 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2459 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
2460 #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
2461 #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
2462 #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
2463 #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
2464 #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
2465 #define GL_LOCATION 0x930E
2466 #define GL_LOCATION_INDEX 0x930F
2467 #define GL_IS_PER_PATCH 0x92E7
2468 #define GL_SHADER_STORAGE_BUFFER 0x90D2
2469 #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
2470 #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
2471 #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
2472 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
2473 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
2474 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
2475 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
2476 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
2477 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
2478 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
2479 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
2480 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
2481 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
2482 #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
2483 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
2484 #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
2485 #define GL_TEXTURE_BUFFER_OFFSET 0x919D
2486 #define GL_TEXTURE_BUFFER_SIZE 0x919E
2487 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
2488 #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
2489 #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
2490 #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
2491 #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
2492 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
2493 #define GL_VERTEX_ATTRIB_BINDING 0x82D4
2494 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
2495 #define GL_VERTEX_BINDING_DIVISOR 0x82D6
2496 #define GL_VERTEX_BINDING_OFFSET 0x82D7
2497 #define GL_VERTEX_BINDING_STRIDE 0x82D8
2498 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2499 #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
2500 #define GL_VERTEX_BINDING_BUFFER 0x8F4F
2501 typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2502 typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2503 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2504 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
2505 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
2506 typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
2507 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2508 typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2509 typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2510 typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
2511 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2512 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
2513 typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2514 typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2515 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2516 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2517 typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2518 typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2519 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2520 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2521 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2522 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2523 typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2524 typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2525 typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2526 typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2527 typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2528 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2529 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2530 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2531 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2532 typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
2533 typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
2534 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2535 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2536 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
2537 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2538 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2539 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
2540 typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2541 typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2542 typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
2543 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2544 #ifdef GL_GLEXT_PROTOTYPES
2545 GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2546 GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2547 GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2548 GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
2549 GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
2550 GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
2551 GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
2552 GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2553 GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2554 GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
2555 GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
2556 GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
2557 GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2558 GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2559 GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2560 GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2561 GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2562 GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
2563 GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2564 GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2565 GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
2566 GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
2567 GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2568 GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2569 GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2570 GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2571 GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2572 GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2573 GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2574 GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2575 GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2576 GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
2577 GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
2578 GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2579 GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2580 GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
2581 GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2582 GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2583 GLAPI void APIENTRY glPopDebugGroup (void);
2584 GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2585 GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2586 GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
2587 GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2588 #endif
2589 #endif /* GL_VERSION_4_3 */
2590 
2591 #ifndef GL_VERSION_4_4
2592 #define GL_VERSION_4_4 1
2593 #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
2594 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2595 #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
2596 #define GL_MAP_PERSISTENT_BIT 0x0040
2597 #define GL_MAP_COHERENT_BIT 0x0080
2598 #define GL_DYNAMIC_STORAGE_BIT 0x0100
2599 #define GL_CLIENT_STORAGE_BIT 0x0200
2600 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
2601 #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
2602 #define GL_BUFFER_STORAGE_FLAGS 0x8220
2603 #define GL_CLEAR_TEXTURE 0x9365
2604 #define GL_LOCATION_COMPONENT 0x934A
2605 #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
2606 #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
2607 #define GL_QUERY_BUFFER 0x9192
2608 #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
2609 #define GL_QUERY_BUFFER_BINDING 0x9193
2610 #define GL_QUERY_RESULT_NO_WAIT 0x9194
2611 #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
2612 typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2613 typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2614 typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
2615 typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2616 typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2617 typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2618 typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
2619 typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2620 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2621 #ifdef GL_GLEXT_PROTOTYPES
2622 GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2623 GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2624 GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
2625 GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2626 GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2627 GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
2628 GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
2629 GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
2630 GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2631 #endif
2632 #endif /* GL_VERSION_4_4 */
2633 
2634 #ifndef GL_VERSION_4_5
2635 #define GL_VERSION_4_5 1
2636 #define GL_CONTEXT_LOST 0x0507
2637 #define GL_NEGATIVE_ONE_TO_ONE 0x935E
2638 #define GL_ZERO_TO_ONE 0x935F
2639 #define GL_CLIP_ORIGIN 0x935C
2640 #define GL_CLIP_DEPTH_MODE 0x935D
2641 #define GL_QUERY_WAIT_INVERTED 0x8E17
2642 #define GL_QUERY_NO_WAIT_INVERTED 0x8E18
2643 #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
2644 #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
2645 #define GL_MAX_CULL_DISTANCES 0x82F9
2646 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
2647 #define GL_TEXTURE_TARGET 0x1006
2648 #define GL_QUERY_TARGET 0x82EA
2649 #define GL_TEXTURE_BINDING 0x82EB
2650 #define GL_GUILTY_CONTEXT_RESET 0x8253
2651 #define GL_INNOCENT_CONTEXT_RESET 0x8254
2652 #define GL_UNKNOWN_CONTEXT_RESET 0x8255
2653 #define GL_RESET_NOTIFICATION_STRATEGY 0x8256
2654 #define GL_LOSE_CONTEXT_ON_RESET 0x8252
2655 #define GL_NO_RESET_NOTIFICATION 0x8261
2656 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2657 #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2658 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2659 typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
2660 typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
2661 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
2662 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size);
2663 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
2664 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2665 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2666 typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
2667 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizei size, const void *data, GLbitfield flags);
2668 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizei size, const void *data, GLenum usage);
2669 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizei size, const void *data);
2670 typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size);
2671 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2672 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void *data);
2673 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
2674 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access);
2675 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
2676 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizei length);
2677 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
2678 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
2679 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
2680 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizei size, void *data);
2681 typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
2682 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2683 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
2684 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2685 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2686 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
2687 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2688 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
2689 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2690 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2691 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2692 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2693 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2694 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil);
2695 typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2696 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
2697 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
2698 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2699 typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
2700 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2701 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2702 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
2703 typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
2704 typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
2705 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size);
2706 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2707 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2708 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2709 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2710 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2711 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2712 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2713 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
2714 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2715 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2716 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
2717 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2718 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2719 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2720 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
2721 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
2722 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
2723 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
2724 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
2725 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
2726 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
2727 typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
2728 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2729 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2730 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2731 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
2732 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
2733 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
2734 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
2735 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
2736 typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
2737 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2738 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2739 typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
2740 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2741 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2742 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2743 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2744 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2745 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2746 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2747 typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
2748 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2749 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2750 typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
2751 typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
2752 typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
2753 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2754 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2755 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2756 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2757 typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
2758 typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2759 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2760 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
2761 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2762 typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2763 typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2764 typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2765 typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2766 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2767 typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2768 typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
2769 #ifdef GL_GLEXT_PROTOTYPES
2770 GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
2771 GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
2772 GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
2773 GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size);
2774 GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
2775 GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2776 GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2777 GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
2778 GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizei size, const void *data, GLbitfield flags);
2779 GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizei size, const void *data, GLenum usage);
2780 GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizei size, const void *data);
2781 GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size);
2782 GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2783 GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void *data);
2784 GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
2785 GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access);
2786 GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
2787 GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizei length);
2788 GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
2789 GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
2790 GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
2791 GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizei size, void *data);
2792 GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
2793 GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2794 GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
2795 GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2796 GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2797 GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
2798 GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2799 GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
2800 GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2801 GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2802 GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2803 GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2804 GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2805 GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil);
2806 GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2807 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
2808 GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
2809 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2810 GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
2811 GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2812 GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2813 GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
2814 GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
2815 GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
2816 GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size);
2817 GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2818 GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2819 GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2820 GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2821 GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2822 GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2823 GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2824 GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
2825 GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2826 GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2827 GLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
2828 GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2829 GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2830 GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2831 GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
2832 GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
2833 GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
2834 GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
2835 GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
2836 GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
2837 GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
2838 GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
2839 GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2840 GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2841 GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2842 GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
2843 GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
2844 GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
2845 GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
2846 GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
2847 GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
2848 GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
2849 GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
2850 GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
2851 GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2852 GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2853 GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2854 GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2855 GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2856 GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2857 GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2858 GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
2859 GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2860 GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2861 GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
2862 GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
2863 GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
2864 GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2865 GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2866 GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2867 GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2868 GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
2869 GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2870 GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2872 GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2873 GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2874 GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2875 GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2876 GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2877 GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2878 GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2879 GLAPI void APIENTRY glTextureBarrier (void);
2880 #endif
2881 #endif /* GL_VERSION_4_5 */
2882 
2883 #ifndef GL_ARB_ES2_compatibility
2884 #define GL_ARB_ES2_compatibility 1
2885 #endif /* GL_ARB_ES2_compatibility */
2886 
2887 #ifndef GL_ARB_ES3_1_compatibility
2888 #define GL_ARB_ES3_1_compatibility 1
2889 #endif /* GL_ARB_ES3_1_compatibility */
2890 
2891 #ifndef GL_ARB_ES3_compatibility
2892 #define GL_ARB_ES3_compatibility 1
2893 #endif /* GL_ARB_ES3_compatibility */
2894 
2895 #ifndef GL_ARB_arrays_of_arrays
2896 #define GL_ARB_arrays_of_arrays 1
2897 #endif /* GL_ARB_arrays_of_arrays */
2898 
2899 #ifndef GL_ARB_base_instance
2900 #define GL_ARB_base_instance 1
2901 #endif /* GL_ARB_base_instance */
2902 
2903 #ifndef GL_ARB_bindless_texture
2904 #define GL_ARB_bindless_texture 1
2905 typedef uint64_t GLuint64EXT;
2906 #define GL_UNSIGNED_INT64_ARB 0x140F
2907 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
2908 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
2909 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2910 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2911 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2912 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
2913 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2914 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
2915 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
2916 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
2917 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2918 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2919 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
2920 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
2921 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
2922 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
2923 #ifdef GL_GLEXT_PROTOTYPES
2924 GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
2925 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
2926 GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
2927 GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
2928 GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2929 GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
2930 GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
2931 GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
2932 GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
2933 GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
2934 GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2935 GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
2936 GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
2937 GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
2938 GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
2939 GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
2940 #endif
2941 #endif /* GL_ARB_bindless_texture */
2942 
2943 #ifndef GL_ARB_blend_func_extended
2944 #define GL_ARB_blend_func_extended 1
2945 #endif /* GL_ARB_blend_func_extended */
2946 
2947 #ifndef GL_ARB_buffer_storage
2948 #define GL_ARB_buffer_storage 1
2949 #endif /* GL_ARB_buffer_storage */
2950 
2951 #ifndef GL_ARB_cl_event
2952 #define GL_ARB_cl_event 1
2953 struct _cl_context;
2954 struct _cl_event;
2955 #define GL_SYNC_CL_EVENT_ARB 0x8240
2956 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
2957 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2958 #ifdef GL_GLEXT_PROTOTYPES
2959 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2960 #endif
2961 #endif /* GL_ARB_cl_event */
2962 
2963 #ifndef GL_ARB_clear_buffer_object
2964 #define GL_ARB_clear_buffer_object 1
2965 #endif /* GL_ARB_clear_buffer_object */
2966 
2967 #ifndef GL_ARB_clear_texture
2968 #define GL_ARB_clear_texture 1
2969 #endif /* GL_ARB_clear_texture */
2970 
2971 #ifndef GL_ARB_clip_control
2972 #define GL_ARB_clip_control 1
2973 #endif /* GL_ARB_clip_control */
2974 
2975 #ifndef GL_ARB_compressed_texture_pixel_storage
2976 #define GL_ARB_compressed_texture_pixel_storage 1
2977 #endif /* GL_ARB_compressed_texture_pixel_storage */
2978 
2979 #ifndef GL_ARB_compute_shader
2980 #define GL_ARB_compute_shader 1
2981 #endif /* GL_ARB_compute_shader */
2982 
2983 #ifndef GL_ARB_compute_variable_group_size
2984 #define GL_ARB_compute_variable_group_size 1
2985 #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
2986 #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
2987 #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
2988 #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
2989 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
2990 #ifdef GL_GLEXT_PROTOTYPES
2991 GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
2992 #endif
2993 #endif /* GL_ARB_compute_variable_group_size */
2994 
2995 #ifndef GL_ARB_conditional_render_inverted
2996 #define GL_ARB_conditional_render_inverted 1
2997 #endif /* GL_ARB_conditional_render_inverted */
2998 
2999 #ifndef GL_ARB_conservative_depth
3000 #define GL_ARB_conservative_depth 1
3001 #endif /* GL_ARB_conservative_depth */
3002 
3003 #ifndef GL_ARB_copy_buffer
3004 #define GL_ARB_copy_buffer 1
3005 #endif /* GL_ARB_copy_buffer */
3006 
3007 #ifndef GL_ARB_copy_image
3008 #define GL_ARB_copy_image 1
3009 #endif /* GL_ARB_copy_image */
3010 
3011 #ifndef GL_ARB_cull_distance
3012 #define GL_ARB_cull_distance 1
3013 #endif /* GL_ARB_cull_distance */
3014 
3015 #ifndef GL_ARB_debug_output
3016 #define GL_ARB_debug_output 1
3017 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
3018 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
3019 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
3020 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
3021 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
3022 #define GL_DEBUG_SOURCE_API_ARB 0x8246
3023 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
3024 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
3025 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
3026 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
3027 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
3028 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
3029 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
3030 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
3031 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
3032 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
3033 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
3034 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
3035 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
3036 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
3037 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
3038 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
3039 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
3040 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3041 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3042 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
3043 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3044 #ifdef GL_GLEXT_PROTOTYPES
3045 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3046 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3047 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
3048 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3049 #endif
3050 #endif /* GL_ARB_debug_output */
3051 
3052 #ifndef GL_ARB_depth_buffer_float
3053 #define GL_ARB_depth_buffer_float 1
3054 #endif /* GL_ARB_depth_buffer_float */
3055 
3056 #ifndef GL_ARB_depth_clamp
3057 #define GL_ARB_depth_clamp 1
3058 #endif /* GL_ARB_depth_clamp */
3059 
3060 #ifndef GL_ARB_derivative_control
3061 #define GL_ARB_derivative_control 1
3062 #endif /* GL_ARB_derivative_control */
3063 
3064 #ifndef GL_ARB_direct_state_access
3065 #define GL_ARB_direct_state_access 1
3066 #endif /* GL_ARB_direct_state_access */
3067 
3068 #ifndef GL_ARB_draw_buffers_blend
3069 #define GL_ARB_draw_buffers_blend 1
3070 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
3071 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3072 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
3073 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3074 #ifdef GL_GLEXT_PROTOTYPES
3075 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
3076 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3077 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
3078 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3079 #endif
3080 #endif /* GL_ARB_draw_buffers_blend */
3081 
3082 #ifndef GL_ARB_draw_elements_base_vertex
3083 #define GL_ARB_draw_elements_base_vertex 1
3084 #endif /* GL_ARB_draw_elements_base_vertex */
3085 
3086 #ifndef GL_ARB_draw_indirect
3087 #define GL_ARB_draw_indirect 1
3088 #endif /* GL_ARB_draw_indirect */
3089 
3090 #ifndef GL_ARB_enhanced_layouts
3091 #define GL_ARB_enhanced_layouts 1
3092 #endif /* GL_ARB_enhanced_layouts */
3093 
3094 #ifndef GL_ARB_explicit_attrib_location
3095 #define GL_ARB_explicit_attrib_location 1
3096 #endif /* GL_ARB_explicit_attrib_location */
3097 
3098 #ifndef GL_ARB_explicit_uniform_location
3099 #define GL_ARB_explicit_uniform_location 1
3100 #endif /* GL_ARB_explicit_uniform_location */
3101 
3102 #ifndef GL_ARB_fragment_coord_conventions
3103 #define GL_ARB_fragment_coord_conventions 1
3104 #endif /* GL_ARB_fragment_coord_conventions */
3105 
3106 #ifndef GL_ARB_fragment_layer_viewport
3107 #define GL_ARB_fragment_layer_viewport 1
3108 #endif /* GL_ARB_fragment_layer_viewport */
3109 
3110 #ifndef GL_ARB_framebuffer_no_attachments
3111 #define GL_ARB_framebuffer_no_attachments 1
3112 #endif /* GL_ARB_framebuffer_no_attachments */
3113 
3114 #ifndef GL_ARB_framebuffer_object
3115 #define GL_ARB_framebuffer_object 1
3116 #endif /* GL_ARB_framebuffer_object */
3117 
3118 #ifndef GL_ARB_framebuffer_sRGB
3119 #define GL_ARB_framebuffer_sRGB 1
3120 #endif /* GL_ARB_framebuffer_sRGB */
3121 
3122 #ifndef GL_ARB_get_program_binary
3123 #define GL_ARB_get_program_binary 1
3124 #endif /* GL_ARB_get_program_binary */
3125 
3126 #ifndef GL_ARB_get_texture_sub_image
3127 #define GL_ARB_get_texture_sub_image 1
3128 #endif /* GL_ARB_get_texture_sub_image */
3129 
3130 #ifndef GL_ARB_gpu_shader5
3131 #define GL_ARB_gpu_shader5 1
3132 #endif /* GL_ARB_gpu_shader5 */
3133 
3134 #ifndef GL_ARB_gpu_shader_fp64
3135 #define GL_ARB_gpu_shader_fp64 1
3136 #endif /* GL_ARB_gpu_shader_fp64 */
3137 
3138 #ifndef GL_ARB_half_float_vertex
3139 #define GL_ARB_half_float_vertex 1
3140 #endif /* GL_ARB_half_float_vertex */
3141 
3142 #ifndef GL_ARB_imaging
3143 #define GL_ARB_imaging 1
3144 #define GL_BLEND_COLOR 0x8005
3145 #define GL_BLEND_EQUATION 0x8009
3146 #endif /* GL_ARB_imaging */
3147 
3148 #ifndef GL_ARB_indirect_parameters
3149 #define GL_ARB_indirect_parameters 1
3150 #define GL_PARAMETER_BUFFER_ARB 0x80EE
3151 #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
3152 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3153 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3154 #ifdef GL_GLEXT_PROTOTYPES
3155 GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3156 GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3157 #endif
3158 #endif /* GL_ARB_indirect_parameters */
3159 
3160 #ifndef GL_ARB_internalformat_query
3161 #define GL_ARB_internalformat_query 1
3162 #endif /* GL_ARB_internalformat_query */
3163 
3164 #ifndef GL_ARB_internalformat_query2
3165 #define GL_ARB_internalformat_query2 1
3166 #define GL_SRGB_DECODE_ARB 0x8299
3167 #endif /* GL_ARB_internalformat_query2 */
3168 
3169 #ifndef GL_ARB_invalidate_subdata
3170 #define GL_ARB_invalidate_subdata 1
3171 #endif /* GL_ARB_invalidate_subdata */
3172 
3173 #ifndef GL_ARB_map_buffer_alignment
3174 #define GL_ARB_map_buffer_alignment 1
3175 #endif /* GL_ARB_map_buffer_alignment */
3176 
3177 #ifndef GL_ARB_map_buffer_range
3178 #define GL_ARB_map_buffer_range 1
3179 #endif /* GL_ARB_map_buffer_range */
3180 
3181 #ifndef GL_ARB_multi_bind
3182 #define GL_ARB_multi_bind 1
3183 #endif /* GL_ARB_multi_bind */
3184 
3185 #ifndef GL_ARB_multi_draw_indirect
3186 #define GL_ARB_multi_draw_indirect 1
3187 #endif /* GL_ARB_multi_draw_indirect */
3188 
3189 #ifndef GL_ARB_occlusion_query2
3190 #define GL_ARB_occlusion_query2 1
3191 #endif /* GL_ARB_occlusion_query2 */
3192 
3193 #ifndef GL_ARB_pipeline_statistics_query
3194 #define GL_ARB_pipeline_statistics_query 1
3195 #define GL_VERTICES_SUBMITTED_ARB 0x82EE
3196 #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
3197 #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
3198 #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
3199 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
3200 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
3201 #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
3202 #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
3203 #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
3204 #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
3205 #endif /* GL_ARB_pipeline_statistics_query */
3206 
3207 #ifndef GL_ARB_program_interface_query
3208 #define GL_ARB_program_interface_query 1
3209 #endif /* GL_ARB_program_interface_query */
3210 
3211 #ifndef GL_ARB_provoking_vertex
3212 #define GL_ARB_provoking_vertex 1
3213 #endif /* GL_ARB_provoking_vertex */
3214 
3215 #ifndef GL_ARB_query_buffer_object
3216 #define GL_ARB_query_buffer_object 1
3217 #endif /* GL_ARB_query_buffer_object */
3218 
3219 #ifndef GL_ARB_robust_buffer_access_behavior
3220 #define GL_ARB_robust_buffer_access_behavior 1
3221 #endif /* GL_ARB_robust_buffer_access_behavior */
3222 
3223 #ifndef GL_ARB_robustness
3224 #define GL_ARB_robustness 1
3225 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
3226 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
3227 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
3228 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
3229 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
3230 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
3231 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
3232 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
3233 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3234 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3235 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
3236 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3237 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3238 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3239 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3240 #ifdef GL_GLEXT_PROTOTYPES
3241 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
3242 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3243 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3244 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
3245 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3246 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3247 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3248 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3249 #endif
3250 #endif /* GL_ARB_robustness */
3251 
3252 #ifndef GL_ARB_robustness_isolation
3253 #define GL_ARB_robustness_isolation 1
3254 #endif /* GL_ARB_robustness_isolation */
3255 
3256 #ifndef GL_ARB_sample_shading
3257 #define GL_ARB_sample_shading 1
3258 #define GL_SAMPLE_SHADING_ARB 0x8C36
3259 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
3260 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
3261 #ifdef GL_GLEXT_PROTOTYPES
3262 GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
3263 #endif
3264 #endif /* GL_ARB_sample_shading */
3265 
3266 #ifndef GL_ARB_sampler_objects
3267 #define GL_ARB_sampler_objects 1
3268 #endif /* GL_ARB_sampler_objects */
3269 
3270 #ifndef GL_ARB_seamless_cube_map
3271 #define GL_ARB_seamless_cube_map 1
3272 #endif /* GL_ARB_seamless_cube_map */
3273 
3274 #ifndef GL_ARB_seamless_cubemap_per_texture
3275 #define GL_ARB_seamless_cubemap_per_texture 1
3276 #endif /* GL_ARB_seamless_cubemap_per_texture */
3277 
3278 #ifndef GL_ARB_separate_shader_objects
3279 #define GL_ARB_separate_shader_objects 1
3280 #endif /* GL_ARB_separate_shader_objects */
3281 
3282 #ifndef GL_ARB_shader_atomic_counters
3283 #define GL_ARB_shader_atomic_counters 1
3284 #endif /* GL_ARB_shader_atomic_counters */
3285 
3286 #ifndef GL_ARB_shader_bit_encoding
3287 #define GL_ARB_shader_bit_encoding 1
3288 #endif /* GL_ARB_shader_bit_encoding */
3289 
3290 #ifndef GL_ARB_shader_draw_parameters
3291 #define GL_ARB_shader_draw_parameters 1
3292 #endif /* GL_ARB_shader_draw_parameters */
3293 
3294 #ifndef GL_ARB_shader_group_vote
3295 #define GL_ARB_shader_group_vote 1
3296 #endif /* GL_ARB_shader_group_vote */
3297 
3298 #ifndef GL_ARB_shader_image_load_store
3299 #define GL_ARB_shader_image_load_store 1
3300 #endif /* GL_ARB_shader_image_load_store */
3301 
3302 #ifndef GL_ARB_shader_image_size
3303 #define GL_ARB_shader_image_size 1
3304 #endif /* GL_ARB_shader_image_size */
3305 
3306 #ifndef GL_ARB_shader_precision
3307 #define GL_ARB_shader_precision 1
3308 #endif /* GL_ARB_shader_precision */
3309 
3310 #ifndef GL_ARB_shader_stencil_export
3311 #define GL_ARB_shader_stencil_export 1
3312 #endif /* GL_ARB_shader_stencil_export */
3313 
3314 #ifndef GL_ARB_shader_storage_buffer_object
3315 #define GL_ARB_shader_storage_buffer_object 1
3316 #endif /* GL_ARB_shader_storage_buffer_object */
3317 
3318 #ifndef GL_ARB_shader_subroutine
3319 #define GL_ARB_shader_subroutine 1
3320 #endif /* GL_ARB_shader_subroutine */
3321 
3322 #ifndef GL_ARB_shader_texture_image_samples
3323 #define GL_ARB_shader_texture_image_samples 1
3324 #endif /* GL_ARB_shader_texture_image_samples */
3325 
3326 #ifndef GL_ARB_shading_language_420pack
3327 #define GL_ARB_shading_language_420pack 1
3328 #endif /* GL_ARB_shading_language_420pack */
3329 
3330 #ifndef GL_ARB_shading_language_include
3331 #define GL_ARB_shading_language_include 1
3332 #define GL_SHADER_INCLUDE_ARB 0x8DAE
3333 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
3334 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
3335 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
3336 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
3337 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
3338 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
3339 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
3340 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
3341 #ifdef GL_GLEXT_PROTOTYPES
3342 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
3343 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
3344 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
3345 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
3346 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
3347 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
3348 #endif
3349 #endif /* GL_ARB_shading_language_include */
3350 
3351 #ifndef GL_ARB_shading_language_packing
3352 #define GL_ARB_shading_language_packing 1
3353 #endif /* GL_ARB_shading_language_packing */
3354 
3355 #ifndef GL_ARB_sparse_buffer
3356 #define GL_ARB_sparse_buffer 1
3357 #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
3358 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
3359 typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
3360 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
3361 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
3362 #ifdef GL_GLEXT_PROTOTYPES
3363 GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
3364 GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
3365 GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
3366 #endif
3367 #endif /* GL_ARB_sparse_buffer */
3368 
3369 #ifndef GL_ARB_sparse_texture
3370 #define GL_ARB_sparse_texture 1
3371 #define GL_TEXTURE_SPARSE_ARB 0x91A6
3372 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
3373 #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
3374 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
3375 #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
3376 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
3377 #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
3378 #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
3379 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
3380 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
3381 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
3382 typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
3383 #ifdef GL_GLEXT_PROTOTYPES
3384 GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
3385 #endif
3386 #endif /* GL_ARB_sparse_texture */
3387 
3388 #ifndef GL_ARB_stencil_texturing
3389 #define GL_ARB_stencil_texturing 1
3390 #endif /* GL_ARB_stencil_texturing */
3391 
3392 #ifndef GL_ARB_sync
3393 #define GL_ARB_sync 1
3394 #endif /* GL_ARB_sync */
3395 
3396 #ifndef GL_ARB_tessellation_shader
3397 #define GL_ARB_tessellation_shader 1
3398 #endif /* GL_ARB_tessellation_shader */
3399 
3400 #ifndef GL_ARB_texture_barrier
3401 #define GL_ARB_texture_barrier 1
3402 #endif /* GL_ARB_texture_barrier */
3403 
3404 #ifndef GL_ARB_texture_buffer_object_rgb32
3405 #define GL_ARB_texture_buffer_object_rgb32 1
3406 #endif /* GL_ARB_texture_buffer_object_rgb32 */
3407 
3408 #ifndef GL_ARB_texture_buffer_range
3409 #define GL_ARB_texture_buffer_range 1
3410 #endif /* GL_ARB_texture_buffer_range */
3411 
3412 #ifndef GL_ARB_texture_compression_bptc
3413 #define GL_ARB_texture_compression_bptc 1
3414 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
3415 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
3416 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
3417 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
3418 #endif /* GL_ARB_texture_compression_bptc */
3419 
3420 #ifndef GL_ARB_texture_compression_rgtc
3421 #define GL_ARB_texture_compression_rgtc 1
3422 #endif /* GL_ARB_texture_compression_rgtc */
3423 
3424 #ifndef GL_ARB_texture_cube_map_array
3425 #define GL_ARB_texture_cube_map_array 1
3426 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
3427 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
3428 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
3429 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
3430 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
3431 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
3432 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
3433 #endif /* GL_ARB_texture_cube_map_array */
3434 
3435 #ifndef GL_ARB_texture_gather
3436 #define GL_ARB_texture_gather 1
3437 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
3438 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
3439 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
3440 #endif /* GL_ARB_texture_gather */
3441 
3442 #ifndef GL_ARB_texture_mirror_clamp_to_edge
3443 #define GL_ARB_texture_mirror_clamp_to_edge 1
3444 #endif /* GL_ARB_texture_mirror_clamp_to_edge */
3445 
3446 #ifndef GL_ARB_texture_multisample
3447 #define GL_ARB_texture_multisample 1
3448 #endif /* GL_ARB_texture_multisample */
3449 
3450 #ifndef GL_ARB_texture_query_levels
3451 #define GL_ARB_texture_query_levels 1
3452 #endif /* GL_ARB_texture_query_levels */
3453 
3454 #ifndef GL_ARB_texture_query_lod
3455 #define GL_ARB_texture_query_lod 1
3456 #endif /* GL_ARB_texture_query_lod */
3457 
3458 #ifndef GL_ARB_texture_rg
3459 #define GL_ARB_texture_rg 1
3460 #endif /* GL_ARB_texture_rg */
3461 
3462 #ifndef GL_ARB_texture_rgb10_a2ui
3463 #define GL_ARB_texture_rgb10_a2ui 1
3464 #endif /* GL_ARB_texture_rgb10_a2ui */
3465 
3466 #ifndef GL_ARB_texture_stencil8
3467 #define GL_ARB_texture_stencil8 1
3468 #endif /* GL_ARB_texture_stencil8 */
3469 
3470 #ifndef GL_ARB_texture_storage
3471 #define GL_ARB_texture_storage 1
3472 #endif /* GL_ARB_texture_storage */
3473 
3474 #ifndef GL_ARB_texture_storage_multisample
3475 #define GL_ARB_texture_storage_multisample 1
3476 #endif /* GL_ARB_texture_storage_multisample */
3477 
3478 #ifndef GL_ARB_texture_swizzle
3479 #define GL_ARB_texture_swizzle 1
3480 #endif /* GL_ARB_texture_swizzle */
3481 
3482 #ifndef GL_ARB_texture_view
3483 #define GL_ARB_texture_view 1
3484 #endif /* GL_ARB_texture_view */
3485 
3486 #ifndef GL_ARB_timer_query
3487 #define GL_ARB_timer_query 1
3488 #endif /* GL_ARB_timer_query */
3489 
3490 #ifndef GL_ARB_transform_feedback2
3491 #define GL_ARB_transform_feedback2 1
3492 #endif /* GL_ARB_transform_feedback2 */
3493 
3494 #ifndef GL_ARB_transform_feedback3
3495 #define GL_ARB_transform_feedback3 1
3496 #endif /* GL_ARB_transform_feedback3 */
3497 
3498 #ifndef GL_ARB_transform_feedback_instanced
3499 #define GL_ARB_transform_feedback_instanced 1
3500 #endif /* GL_ARB_transform_feedback_instanced */
3501 
3502 #ifndef GL_ARB_transform_feedback_overflow_query
3503 #define GL_ARB_transform_feedback_overflow_query 1
3504 #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
3505 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
3506 #endif /* GL_ARB_transform_feedback_overflow_query */
3507 
3508 #ifndef GL_ARB_uniform_buffer_object
3509 #define GL_ARB_uniform_buffer_object 1
3510 #endif /* GL_ARB_uniform_buffer_object */
3511 
3512 #ifndef GL_ARB_vertex_array_bgra
3513 #define GL_ARB_vertex_array_bgra 1
3514 #endif /* GL_ARB_vertex_array_bgra */
3515 
3516 #ifndef GL_ARB_vertex_array_object
3517 #define GL_ARB_vertex_array_object 1
3518 #endif /* GL_ARB_vertex_array_object */
3519 
3520 #ifndef GL_ARB_vertex_attrib_64bit
3521 #define GL_ARB_vertex_attrib_64bit 1
3522 #endif /* GL_ARB_vertex_attrib_64bit */
3523 
3524 #ifndef GL_ARB_vertex_attrib_binding
3525 #define GL_ARB_vertex_attrib_binding 1
3526 #endif /* GL_ARB_vertex_attrib_binding */
3527 
3528 #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
3529 #define GL_ARB_vertex_type_10f_11f_11f_rev 1
3530 #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
3531 
3532 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
3533 #define GL_ARB_vertex_type_2_10_10_10_rev 1
3534 #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
3535 
3536 #ifndef GL_ARB_viewport_array
3537 #define GL_ARB_viewport_array 1
3538 #endif /* GL_ARB_viewport_array */
3539 
3540 #ifndef GL_KHR_context_flush_control
3541 #define GL_KHR_context_flush_control 1
3542 #endif /* GL_KHR_context_flush_control */
3543 
3544 #ifndef GL_KHR_debug
3545 #define GL_KHR_debug 1
3546 #endif /* GL_KHR_debug */
3547 
3548 #ifndef GL_KHR_robust_buffer_access_behavior
3549 #define GL_KHR_robust_buffer_access_behavior 1
3550 #endif /* GL_KHR_robust_buffer_access_behavior */
3551 
3552 #ifndef GL_KHR_robustness
3553 #define GL_KHR_robustness 1
3554 #define GL_CONTEXT_ROBUST_ACCESS 0x90F3
3555 #endif /* GL_KHR_robustness */
3556 
3557 #ifndef GL_KHR_texture_compression_astc_hdr
3558 #define GL_KHR_texture_compression_astc_hdr 1
3559 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
3560 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
3561 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
3562 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
3563 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
3564 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
3565 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
3566 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
3567 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
3568 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
3569 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
3570 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
3571 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
3572 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
3573 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
3574 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
3575 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
3576 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
3577 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
3578 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
3579 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
3580 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
3581 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
3582 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
3583 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
3584 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
3585 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
3586 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
3587 #endif /* GL_KHR_texture_compression_astc_hdr */
3588 
3589 #ifndef GL_KHR_texture_compression_astc_ldr
3590 #define GL_KHR_texture_compression_astc_ldr 1
3591 #endif /* GL_KHR_texture_compression_astc_ldr */
3592 
3593 #ifdef __cplusplus
3594 }
3595 #endif
3596 
3597 #endif
GLuint GLuint storageBlockBinding
Definition: glcorearb.h:2523
void APIENTRY glNamedFramebufferRenderbuffer(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
Definition: GteOpenGL.cpp:8930
GLfloat green
Definition: glcorearb.h:107
void APIENTRY glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, void *pixels)
Definition: GteOpenGL.cpp:661
void APIENTRY glGetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params)
Definition: GteOpenGL.cpp:7993
void APIENTRY glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params)
Definition: GteOpenGL.cpp:7561
void APIENTRY glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values)
Definition: GteOpenGL.cpp:5933
void APIENTRY glNamedBufferData(GLuint buffer, GLsizei size, const void *data, GLenum usage)
Definition: GteOpenGL.cpp:8739
void APIENTRY glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
Definition: GteOpenGL.cpp:6515
void APIENTRY glVertexAttribI4sv(GLuint index, const GLshort *v)
Definition: GteOpenGL.cpp:3780
void APIENTRY glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary)
Definition: GteOpenGL.cpp:6327
GLuint GLsizei const GLuint const GLintptr const GLsizeiptr * sizes
Definition: glcorearb.h:2616
void APIENTRY glUniform2uiv(GLint location, GLsizei count, const GLuint *value)
Definition: GteOpenGL.cpp:3926
void APIENTRY glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
Definition: GteOpenGL.cpp:4263
void APIENTRY glProgramUniform1i(GLuint program, GLint location, GLint v0)
Definition: GteOpenGL.cpp:6476
GLdouble n
Definition: glcorearb.h:2003
void APIENTRY glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z)
Definition: GteOpenGL.cpp:2762
GLsync APIENTRY glFenceSync(GLenum condition, GLbitfield flags)
Definition: GteOpenGL.cpp:4809
void APIENTRY glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
Definition: GteOpenGL.cpp:2171
GLenum GLenum textarget
Definition: glcorearb.h:1286
void APIENTRY glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params)
Definition: GteOpenGL.cpp:7269
void APIENTRY glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids)
Definition: GteOpenGL.cpp:5985
void APIENTRY glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
Definition: GteOpenGL.cpp:889
void APIENTRY glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
Definition: GteOpenGL.cpp:6788
void APIENTRY glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v)
Definition: GteOpenGL.cpp:7360
void APIENTRY glVertexAttribI4uiv(GLuint index, const GLuint *v)
Definition: GteOpenGL.cpp:3754
void APIENTRY glVertexBindingDivisor(GLuint bindingindex, GLuint divisor)
Definition: GteOpenGL.cpp:8168
void APIENTRY glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:2528
GLenum APIENTRY glCheckFramebufferStatus(GLenum target)
Definition: GteOpenGL.cpp:4221
void APIENTRY glGetTextureLevelParameterfv(GLuint texture, GLint level, GLenum pname, GLfloat *params)
Definition: GteOpenGL.cpp:9557
void APIENTRY glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:1091
void APIENTRY glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
Definition: GteOpenGL.cpp:5414
void APIENTRY glTextureParameteri(GLuint texture, GLenum pname, GLint param)
Definition: GteOpenGL.cpp:9453
void APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor)
Definition: GteOpenGL.cpp:461
void APIENTRY glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
Definition: GteOpenGL.cpp:5362
void APIENTRY glObjectPtrLabel(const void *ptr, GLsizei length, const GLchar *label)
Definition: GteOpenGL.cpp:8288
void APIENTRY glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values)
Definition: GteOpenGL.cpp:4896
void APIENTRY glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer)
Definition: GteOpenGL.cpp:7256
void APIENTRY glDeleteProgram(GLuint program)
Definition: GteOpenGL.cpp:1944
void APIENTRY glVertexAttrib3dv(GLuint index, const GLdouble *v)
Definition: GteOpenGL.cpp:2723
GLfloat GLfloat GLfloat alpha
Definition: glcorearb.h:107
void APIENTRY glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:5232
void APIENTRY glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount)
Definition: GteOpenGL.cpp:4557
void APIENTRY glUniform3dv(GLint location, GLsizei count, const GLdouble *value)
Definition: GteOpenGL.cpp:5680
float GLfloat
Definition: glcorearb.h:84
GLint GLint GLint yoffset
Definition: glcorearb.h:407
void APIENTRY glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
Definition: GteOpenGL.cpp:4396
void APIENTRY glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data)
Definition: GteOpenGL.cpp:1153
GLuint uniformIndex
Definition: glcorearb.h:1459
GLenum modeRGB
Definition: glcorearb.h:1787
void APIENTRY glTextureParameteriv(GLuint texture, GLenum pname, const GLint *param)
Definition: GteOpenGL.cpp:9492
void *APIENTRY glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
Definition: GteOpenGL.cpp:4354
void APIENTRY glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex)
Definition: GteOpenGL.cpp:4757
void APIENTRY glTextureBufferRange(GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size)
Definition: GteOpenGL.cpp:9232
void APIENTRY glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
Definition: GteOpenGL.cpp:4870
void APIENTRY glPauseTransformFeedback()
Definition: GteOpenGL.cpp:6027
GLint location
Definition: glcorearb.h:800
void APIENTRY glVertexAttrib4Nubv(GLuint index, const GLubyte *v)
Definition: GteOpenGL.cpp:2840
GLenum GLfloat param
Definition: glcorearb.h:99
void APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer)
Definition: GteOpenGL.cpp:4182
void APIENTRY glVertexAttrib1s(GLuint index, GLshort x)
Definition: GteOpenGL.cpp:2606
void APIENTRY glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:2515
GLint GLint GLsizei GLint border
Definition: glcorearb.h:103
void APIENTRY glUniform1f(GLint location, GLfloat v0)
Definition: GteOpenGL.cpp:2294
void APIENTRY glTransformFeedbackBufferRange(GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size)
Definition: GteOpenGL.cpp:8661
GLenum GLenum dstRGB
Definition: glcorearb.h:1789
GLuint APIENTRY glGetDebugMessageLog(GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog)
Definition: GteOpenGL.cpp:8220
void APIENTRY glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer)
Definition: GteOpenGL.cpp:4570
void APIENTRY glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const void *const *indices, GLsizei drawcount)
Definition: GteOpenGL.cpp:1298
void APIENTRY glEndConditionalRender()
Definition: GteOpenGL.cpp:3507
void APIENTRY glCompressedTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data)
Definition: GteOpenGL.cpp:9349
int GLint
Definition: glcorearb.h:85
void APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param)
Definition: GteOpenGL.cpp:253
void APIENTRY glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:6918
void APIENTRY glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w)
Definition: GteOpenGL.cpp:3650
void APIENTRY glGenProgramPipelines(GLsizei n, GLuint *pipelines)
Definition: GteOpenGL.cpp:6434
void APIENTRY glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value)
Definition: GteOpenGL.cpp:6697
void APIENTRY glPointParameteriv(GLenum pname, const GLint *params)
Definition: GteOpenGL.cpp:1350
unsigned int GLuint
Definition: glcorearb.h:89
void APIENTRY glDeleteBuffers(GLsizei n, const GLuint *buffers)
Definition: GteOpenGL.cpp:1547
void APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count)
Definition: GteOpenGL.cpp:837
void APIENTRY glProgramUniform2d(GLuint program, GLint location, GLdouble v0, GLdouble v1)
Definition: GteOpenGL.cpp:6632
const GLuint * arrays
Definition: glcorearb.h:1298
void APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:1660
void APIENTRY glDispatchComputeIndirect(GLintptr indirect)
Definition: GteOpenGL.cpp:7782
void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance)
Definition: GteOpenGL.cpp:7548
void APIENTRY glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:4153
void APIENTRY glViewportIndexedfv(GLuint index, const GLfloat *v)
Definition: GteOpenGL.cpp:7308
void APIENTRY glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
Definition: GteOpenGL.cpp:1363
GLenum GLuint GLint GLint layer
Definition: glcorearb.h:1294
GLbitfield stages
Definition: glcorearb.h:1926
void APIENTRY glGetQueryBufferObjecti64v(GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
Definition: GteOpenGL.cpp:9856
void APIENTRY glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const void *const *indices, GLsizei drawcount, const GLint *basevertex)
Definition: GteOpenGL.cpp:4783
GLenum clamp
Definition: glcorearb.h:1229
void APIENTRY glGetInteger64v(GLenum pname, GLint64 *data)
Definition: GteOpenGL.cpp:4883
void APIENTRY glGetFloatv(GLenum pname, GLfloat *data)
Definition: GteOpenGL.cpp:619
void APIENTRY glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
Definition: GteOpenGL.cpp:6723
void APIENTRY glNamedRenderbufferStorageMultisample(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:9180
const void * indirect
Definition: glcorearb.h:1790
GLenum GLint srcLevel
Definition: glcorearb.h:2505
void APIENTRY glDrawTransformFeedback(GLenum mode, GLuint id)
Definition: GteOpenGL.cpp:6053
void APIENTRY glGetVertexArrayiv(GLuint vaobj, GLenum pname, GLint *param)
Definition: GteOpenGL.cpp:9778
void APIENTRY glVertexAttrib4Nuiv(GLuint index, const GLuint *v)
Definition: GteOpenGL.cpp:2853
void APIENTRY glUniform2ui(GLint location, GLuint v0, GLuint v1)
Definition: GteOpenGL.cpp:3874
GLenum GLuint GLsizei const GLenum * props
Definition: glcorearb.h:2520
void APIENTRY glNamedFramebufferTextureLayer(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer)
Definition: GteOpenGL.cpp:8969
void APIENTRY glUniform1d(GLint location, GLdouble x)
Definition: GteOpenGL.cpp:5602
void APIENTRY glVertexAttrib4dv(GLuint index, const GLdouble *v)
Definition: GteOpenGL.cpp:2905
void APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:755
void APIENTRY glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:1508
void APIENTRY glGetnUniformuiv(GLuint program, GLint location, GLsizei bufSize, GLuint *params)
void APIENTRY glEnableVertexAttribArray(GLuint index)
Definition: GteOpenGL.cpp:1996
void APIENTRY glGetPointerv(GLenum pname, void **params)
Definition: GteOpenGL.cpp:863
void APIENTRY glProgramUniform1dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
Definition: GteOpenGL.cpp:6541
GLsizei const GLchar *const * uniformNames
Definition: glcorearb.h:1457
void APIENTRY glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2)
Definition: GteOpenGL.cpp:6684
void APIENTRY glDepthMask(GLboolean flag)
Definition: GteOpenGL.cpp:396
void APIENTRY glTextureParameterIiv(GLuint texture, GLenum pname, const GLint *params)
Definition: GteOpenGL.cpp:9466
void APIENTRY glUniform1iv(GLint location, GLsizei count, const GLint *value)
Definition: GteOpenGL.cpp:2450
void APIENTRY glReadnPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data)
void APIENTRY glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines)
Definition: GteOpenGL.cpp:6421
void APIENTRY glInvalidateTexImage(GLuint texture, GLint level)
Definition: GteOpenGL.cpp:7860
void APIENTRY glBindBuffersRange(GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes)
Definition: GteOpenGL.cpp:8428
GLboolean invert
Definition: glcorearb.h:544
GLsizei numAttachments
Definition: glcorearb.h:2513
GLenum srcTarget
Definition: glcorearb.h:2505
void APIENTRY glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
Definition: GteOpenGL.cpp:2022
void APIENTRY glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices)
Definition: GteOpenGL.cpp:5907
void APIENTRY glUniform3iv(GLint location, GLsizei count, const GLint *value)
Definition: GteOpenGL.cpp:2476
GLint GLsizei width
Definition: glcorearb.h:98
void APIENTRY glGetTextureParameterfv(GLuint texture, GLenum pname, GLfloat *params)
Definition: GteOpenGL.cpp:9583
void APIENTRY glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
Definition: GteOpenGL.cpp:4237
GLenum shadertype
Definition: glcorearb.h:1810
void APIENTRY glCreateTextures(GLenum target, GLsizei n, GLuint *textures)
Definition: GteOpenGL.cpp:9206
GLenum GLuint GLsizei propCount
Definition: glcorearb.h:2520
void APIENTRY glFramebufferParameteri(GLenum target, GLenum pname, GLint param)
Definition: GteOpenGL.cpp:7808
GLint APIENTRY glGetFragDataIndex(GLuint program, const GLchar *name)
Definition: GteOpenGL.cpp:5070
void APIENTRY glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:7626
GLboolean APIENTRY glIsSampler(GLuint sampler)
Definition: GteOpenGL.cpp:5112
GLint APIENTRY glGetUniformLocation(GLuint program, const GLchar *name)
Definition: GteOpenGL.cpp:2129
GLsizei uniformCount
Definition: glcorearb.h:1457
void APIENTRY glVertexAttribI1uiv(GLuint index, const GLuint *v)
Definition: GteOpenGL.cpp:3715
void APIENTRY glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:4328
void APIENTRY glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride)
Definition: GteOpenGL.cpp:8103
void APIENTRY glVertexAttribL3dv(GLuint index, const GLdouble *v)
Definition: GteOpenGL.cpp:7230
void APIENTRY glDepthRange(GLdouble near, GLdouble far)
Definition: GteOpenGL.cpp:742
void APIENTRY glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
Definition: GteOpenGL.cpp:2116
void APIENTRY glNamedFramebufferDrawBuffer(GLuint framebuffer, GLenum buf)
Definition: GteOpenGL.cpp:8982
GLenum GLuint GLenum GLuint minlevel
Definition: glcorearb.h:2527
GLboolean APIENTRY glIsTexture(GLuint texture)
Definition: GteOpenGL.cpp:1006
GLuint start
Definition: glcorearb.h:470
void APIENTRY glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
Definition: GteOpenGL.cpp:6710
void APIENTRY glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
Definition: GteOpenGL.cpp:6879
GLenum GLenum GLsizei const GLuint GLboolean enabled
Definition: glcorearb.h:2534
void APIENTRY glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
Definition: GteOpenGL.cpp:3429
void APIENTRY glInvalidateBufferSubData(GLuint buffer, GLintptr offset, GLsizeiptr length)
Definition: GteOpenGL.cpp:7873
GLuint color
Definition: glcorearb.h:1256
void APIENTRY glProgramUniformMatrix4x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:7087
void APIENTRY glVertexAttrib4uiv(GLuint index, const GLuint *v)
Definition: GteOpenGL.cpp:2996
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
void APIENTRY glGetNamedFramebufferAttachmentParameteriv(GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:9141
const GLuint GLenum const void * binary
Definition: glcorearb.h:1919
void APIENTRY glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
Definition: GteOpenGL.cpp:5141
void APIENTRY glVertexAttrib3fv(GLuint index, const GLfloat *v)
Definition: GteOpenGL.cpp:2749
GLsizei const GLchar *const * path
Definition: glcorearb.h:3337
void APIENTRY glCopyTextureSubImage3D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:9414
GLenum GLint GLint GLint GLint GLuint GLenum GLint dstLevel
Definition: glcorearb.h:2505
void APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param)
Definition: GteOpenGL.cpp:227
void APIENTRY glTextureParameterfv(GLuint texture, GLenum pname, const GLfloat *param)
Definition: GteOpenGL.cpp:9440
void APIENTRY glTextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
Definition: GteOpenGL.cpp:9271
void APIENTRY glVertexAttrib4sv(GLuint index, const GLshort *v)
Definition: GteOpenGL.cpp:2970
void APIENTRY glReleaseShaderCompiler()
Definition: GteOpenGL.cpp:6262
void APIENTRY glDeleteQueries(GLsizei n, const GLuint *ids)
Definition: GteOpenGL.cpp:1440
void APIENTRY glPushDebugGroup(GLenum source, GLuint id, GLsizei length, const GLchar *message)
Definition: GteOpenGL.cpp:8236
void APIENTRY glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
Definition: GteOpenGL.cpp:915
void APIENTRY glBindRenderbuffer(GLenum target, GLuint renderbuffer)
Definition: GteOpenGL.cpp:4101
void APIENTRY glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:4289
void APIENTRY glTexStorage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
Definition: GteOpenGL.cpp:8064
void APIENTRY glLineWidth(GLfloat width)
Definition: GteOpenGL.cpp:175
void APIENTRY glVertexAttrib2sv(GLuint index, const GLshort *v)
Definition: GteOpenGL.cpp:2697
void APIENTRY glVertexAttribI4iv(GLuint index, const GLint *v)
Definition: GteOpenGL.cpp:3702
void APIENTRY glStencilMask(GLuint mask)
Definition: GteOpenGL.cpp:370
GLint level
Definition: glcorearb.h:103
void *APIENTRY glMapBuffer(GLenum target, GLenum access)
Definition: GteOpenGL.cpp:1628
GLuint GLsizei bufSize
Definition: glcorearb.h:790
void APIENTRY glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param)
Definition: GteOpenGL.cpp:5193
void APIENTRY glGetQueryBufferObjectuiv(GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
Definition: GteOpenGL.cpp:9895
void APIENTRY glVertexAttribIFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
Definition: GteOpenGL.cpp:8129
void APIENTRY glDeleteShader(GLuint shader)
Definition: GteOpenGL.cpp:1957
void APIENTRY glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z)
Definition: GteOpenGL.cpp:3637
unsigned char GLboolean
Definition: glcorearb.h:90
void APIENTRY glVertexArrayAttribBinding(GLuint vaobj, GLuint attribindex, GLuint bindingindex)
Definition: GteOpenGL.cpp:9713
GLuint GLuint stream
Definition: glcorearb.h:1827
ptrdiff_t GLsizeiptr
Definition: glcorearb.h:617
unsigned char GLubyte
Definition: glcorearb.h:91
void APIENTRY glVertexAttribL1d(GLuint index, GLdouble x)
Definition: GteOpenGL.cpp:7152
void APIENTRY glGenSamplers(GLsizei count, GLuint *samplers)
Definition: GteOpenGL.cpp:5086
void APIENTRY glScissorArrayv(GLuint first, GLsizei count, const GLint *v)
Definition: GteOpenGL.cpp:7321
void APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders)
Definition: GteOpenGL.cpp:2035
void APIENTRY glTexStorage3DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
Definition: GteOpenGL.cpp:8077
void APIENTRY glProgramUniformMatrix2x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:7074
void APIENTRY glTexBufferRange(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size)
Definition: GteOpenGL.cpp:8051
void APIENTRY glVertexAttribI3uiv(GLuint index, const GLuint *v)
Definition: GteOpenGL.cpp:3741
void APIENTRY glVertexAttrib4Nusv(GLuint index, const GLushort *v)
Definition: GteOpenGL.cpp:2866
void APIENTRY glMemoryBarrierByRegion(GLbitfield barriers)
Definition: GteOpenGL.cpp:9908
GLfloat GLfloat v1
Definition: glcorearb.h:812
void APIENTRY glUniform1uiv(GLint location, GLsizei count, const GLuint *value)
Definition: GteOpenGL.cpp:3913
void APIENTRY glObjectLabel(GLenum identifier, GLuint name, GLsizei length, const GLchar *label)
Definition: GteOpenGL.cpp:8262
void APIENTRY glBindVertexArray(GLuint array)
Definition: GteOpenGL.cpp:4383
void APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
Definition: GteOpenGL.cpp:500
const GLuint * buffers
Definition: glcorearb.h:656
GLuint * samplers
Definition: glcorearb.h:1648
void APIENTRY glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length)
Definition: GteOpenGL.cpp:6340
GLuint GLuint GLuint GLuint GLuint group_size_z
Definition: glcorearb.h:2989
void APIENTRY glGetTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels)
Definition: GteOpenGL.cpp:9921
void APIENTRY glPointParameterfv(GLenum pname, const GLfloat *params)
Definition: GteOpenGL.cpp:1324
void APIENTRY glMultiDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride)
Definition: GteOpenGL.cpp:7938
void APIENTRY glGetCompressedTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels)
Definition: GteOpenGL.cpp:9934
void APIENTRY glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
Definition: GteOpenGL.cpp:5167
void APIENTRY glVertexAttribI4ubv(GLuint index, const GLubyte *v)
Definition: GteOpenGL.cpp:3793
void APIENTRY glUniform3i(GLint location, GLint v0, GLint v1, GLint v2)
Definition: GteOpenGL.cpp:2372
void APIENTRY glDrawArraysInstancedBaseInstance(GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance)
Definition: GteOpenGL.cpp:7522
void APIENTRY glGetTextureParameterIuiv(GLuint texture, GLenum pname, GLuint *params)
Definition: GteOpenGL.cpp:9609
GLenum sfail
Definition: glcorearb.h:777
void APIENTRY glPopDebugGroup()
Definition: GteOpenGL.cpp:8249
int64_t GLint64
Definition: glcorearb.h:1521
void APIENTRY glTextureParameterf(GLuint texture, GLenum pname, GLfloat param)
Definition: GteOpenGL.cpp:9427
void APIENTRY glCreateVertexArrays(GLsizei n, GLuint *arrays)
Definition: GteOpenGL.cpp:9635
GLuint uniformBlockIndex
Definition: glcorearb.h:1461
GLbitfield GLuint program
Definition: glcorearb.h:1926
GLsizei GLenum const void GLint basevertex
Definition: glcorearb.h:1586
void APIENTRY glVertexAttribL2dv(GLuint index, const GLdouble *v)
Definition: GteOpenGL.cpp:7217
GLboolean APIENTRY glIsQuery(GLuint id)
Definition: GteOpenGL.cpp:1453
void APIENTRY glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
Definition: GteOpenGL.cpp:5563
void APIENTRY glClearBufferSubData(GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data)
Definition: GteOpenGL.cpp:7756
void APIENTRY glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
Definition: GteOpenGL.cpp:7639
void APIENTRY glGetnCompressedTexImage(GLenum target, GLint lod, GLsizei bufSize, void *pixels)
Definition: GteOpenGL.cpp:9963
void APIENTRY glGetTransformFeedbackiv(GLuint xfb, GLenum pname, GLint *param)
Definition: GteOpenGL.cpp:8674
GLboolean APIENTRY glIsRenderbuffer(GLuint renderbuffer)
Definition: GteOpenGL.cpp:4085
const GLuint * textures
Definition: glcorearb.h:411
void APIENTRY glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:5758
GLuint GLint srcX0
Definition: glcorearb.h:2695
GLenum GLintptr GLintptr writeOffset
Definition: glcorearb.h:1456
void APIENTRY glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
Definition: GteOpenGL.cpp:5375
GLint lod
Definition: glcorearb.h:2761
void APIENTRY glDepthRangeIndexed(GLuint index, GLdouble n, GLdouble f)
Definition: GteOpenGL.cpp:7373
void APIENTRY glProgramUniformMatrix4x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:7113
void APIENTRY glGetnTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels)
Definition: GteOpenGL.cpp:9976
GLint left
Definition: glcorearb.h:2000
GLenum GLenum sfactorAlpha
Definition: glcorearb.h:592
GLuint sampler
Definition: glcorearb.h:1651
void APIENTRY glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:4140
GLdouble far
Definition: glcorearb.h:138
GLenum src
Definition: glcorearb.h:1788
void APIENTRY glProgramUniform1f(GLuint program, GLint location, GLfloat v0)
Definition: GteOpenGL.cpp:6502
void APIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels)
Definition: GteOpenGL.cpp:565
#define GLAPI
Definition: glcorearb.h:53
void APIENTRY glShaderStorageBlockBinding(GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding)
Definition: GteOpenGL.cpp:8038
void *APIENTRYP PFNGLMAPBUFFERRANGEPROC(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
Definition: glcorearb.h:1295
void APIENTRY glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z)
Definition: GteOpenGL.cpp:7769
void APIENTRY glDeleteTextures(GLsizei n, const GLuint *textures)
Definition: GteOpenGL.cpp:980
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint dstZ
Definition: glcorearb.h:2505
const GLuint * pipelines
Definition: glcorearb.h:1930
GLsizei const GLfloat * value
Definition: glcorearb.h:819
void APIENTRY glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y)
Definition: GteOpenGL.cpp:2632
const GLenum * bufs
Definition: glcorearb.h:776
void APIENTRY glVertexArrayVertexBuffers(GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides)
Definition: GteOpenGL.cpp:9700
GLuint colorNumber
Definition: glcorearb.h:1646
GLuint const GLchar * name
Definition: glcorearb.h:781
GLuint drawFramebuffer
Definition: glcorearb.h:2695
void APIENTRY glGetUniformuiv(GLuint program, GLint location, GLuint *params)
Definition: GteOpenGL.cpp:3819
void APIENTRY glGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:7951
void APIENTRY glProgramUniform1d(GLuint program, GLint location, GLdouble v0)
Definition: GteOpenGL.cpp:6528
void APIENTRY glGetNamedFramebufferParameteriv(GLuint framebuffer, GLenum pname, GLint *param)
Definition: GteOpenGL.cpp:9128
void APIENTRY glGetUniformfv(GLuint program, GLint location, GLfloat *params)
Definition: GteOpenGL.cpp:2145
void APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:687
void APIENTRY glUniform4uiv(GLint location, GLsizei count, const GLuint *value)
Definition: GteOpenGL.cpp:3952
void APIENTRY glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params)
Definition: GteOpenGL.cpp:5258
void APIENTRY glTextureBarrier()
GLenum GLenum GLenum dppass
Definition: glcorearb.h:777
void APIENTRY glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
Definition: GteOpenGL.cpp:1272
void APIENTRY glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z)
Definition: GteOpenGL.cpp:7178
void APIENTRY glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer)
Definition: GteOpenGL.cpp:3022
float GLclampf
Definition: glcorearb.h:194
GLenum APIENTRY glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
Definition: GteOpenGL.cpp:4854
void APIENTRY glUniform2f(GLint location, GLfloat v0, GLfloat v1)
Definition: GteOpenGL.cpp:2307
void APIENTRY glBlitNamedFramebuffer(GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
Definition: GteOpenGL.cpp:9099
void APIENTRY glCopyTextureSubImage2D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:9401
void APIENTRY glBeginQueryIndexed(GLenum target, GLuint index, GLuint id)
Definition: GteOpenGL.cpp:6079
void APIENTRY glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers)
Definition: GteOpenGL.cpp:4195
void APIENTRY glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers)
Definition: GteOpenGL.cpp:4114
GLuint APIENTRY glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name)
Definition: GteOpenGL.cpp:5852
void APIENTRY glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data)
Definition: GteOpenGL.cpp:4909
GLsizei samples
Definition: glcorearb.h:1293
void APIENTRY glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:2197
void APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
Definition: GteOpenGL.cpp:240
void APIENTRY glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels)
Definition: GteOpenGL.cpp:941
void APIENTRY glTextureStorage2DMultisample(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
Definition: GteOpenGL.cpp:9284
GLintptr GLsizeiptr GLboolean commit
Definition: glcorearb.h:3359
GLenum target
Definition: glcorearb.h:1662
GLenum GLsizei GLsizei GLint * values
Definition: glcorearb.h:1597
GLint GLenum GLint x
Definition: glcorearb.h:404
void APIENTRY glGetProgramiv(GLuint program, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:2064
GLint GLuint mask
Definition: glcorearb.h:119
GLuint GLsizei const GLuint const GLintptr * offsets
Definition: glcorearb.h:2616
GLenum GLint GLint GLint GLint GLuint dstName
Definition: glcorearb.h:2505
GLenum cap
Definition: glext.h:8371
void APIENTRY glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:3209
void APIENTRY glPixelStorei(GLenum pname, GLint param)
Definition: GteOpenGL.cpp:539
struct _cl_event * event
Definition: glcorearb.h:2957
void APIENTRY glDisableVertexArrayAttrib(GLuint vaobj, GLuint index)
Definition: GteOpenGL.cpp:9648
GLsizeiptr size
Definition: glcorearb.h:659
GLint GLenum GLboolean GLuint relativeoffset
Definition: glcorearb.h:2529
void APIENTRY glBlendEquation(GLenum mode)
Definition: GteOpenGL.cpp:1376
void APIENTRY glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
Definition: GteOpenGL.cpp:6775
void APIENTRY glTexParameterIiv(GLenum target, GLenum pname, const GLint *params)
Definition: GteOpenGL.cpp:3965
void APIENTRY glVertexArrayAttribIFormat(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
Definition: GteOpenGL.cpp:9739
GLuint APIENTRY glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar *const *strings)
Definition: GteOpenGL.cpp:6392
void APIENTRY glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
Definition: GteOpenGL.cpp:2184
void APIENTRY glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params)
Definition: GteOpenGL.cpp:5245
void APIENTRY glGetQueryBufferObjectiv(GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
Definition: GteOpenGL.cpp:9869
const void * userParam
Definition: glcorearb.h:2536
void APIENTRY glProgramUniform3d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2)
Definition: GteOpenGL.cpp:6736
void APIENTRY glVertexAttrib4Nbv(GLuint index, const GLbyte *v)
Definition: GteOpenGL.cpp:2788
GLintptr GLintptr GLsizei maxdrawcount
Definition: glcorearb.h:3152
void APIENTRY glBindSampler(GLuint unit, GLuint sampler)
Definition: GteOpenGL.cpp:5128
const GLchar * uniformBlockName
Definition: glcorearb.h:1460
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei imageSize
Definition: glcorearb.h:545
void APIENTRY glClearNamedFramebufferfi(GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil)
Definition: GteOpenGL.cpp:9086
void APIENTRY glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:3157
GLsizei GLboolean transpose
Definition: glcorearb.h:827
void APIENTRY glLogicOp(GLenum opcode)
Definition: GteOpenGL.cpp:474
void APIENTRY glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val)
Definition: GteOpenGL.cpp:4974
GLint APIENTRY glGetFragDataLocation(GLuint program, const GLchar *name)
Definition: GteOpenGL.cpp:3845
GLubyte GLubyte GLubyte GLubyte w
Definition: glcorearb.h:852
GLenum srcRGB
Definition: glcorearb.h:1789
void APIENTRY glGetProgramResourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name)
Definition: GteOpenGL.cpp:7980
GLint GLint GLsizei GLsizei GLsizei depth
Definition: glcorearb.h:471
void APIENTRY glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:7334
void APIENTRY glGetBufferPointerv(GLenum target, GLenum pname, void **params)
Definition: GteOpenGL.cpp:1673
void APIENTRY glVertexAttribL1dv(GLuint index, const GLdouble *v)
Definition: GteOpenGL.cpp:7204
GLuint APIENTRY glCreateProgram()
Definition: GteOpenGL.cpp:1912
void APIENTRY glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
Definition: GteOpenGL.cpp:4341
void APIENTRY glCompressedTextureSubImage3D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data)
Definition: GteOpenGL.cpp:9375
void APIENTRY glActiveShaderProgram(GLuint pipeline, GLuint program)
Definition: GteOpenGL.cpp:6379
struct __GLsync * GLsync
Definition: glcorearb.h:1482
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1217
void GLvoid
Definition: glcorearb.h:82
void APIENTRY glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:4664
void APIENTRY glEnablei(GLenum target, GLuint index)
Definition: GteOpenGL.cpp:3361
void APIENTRY glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex)
Definition: GteOpenGL.cpp:4744
void APIENTRY glDetachShader(GLuint program, GLuint shader)
Definition: GteOpenGL.cpp:1970
void APIENTRY glBindTexture(GLenum target, GLuint texture)
Definition: GteOpenGL.cpp:967
GLenum APIENTRY glGetError()
Definition: GteOpenGL.cpp:604
int GLsizei
Definition: glcorearb.h:86
GLint APIENTRY glGetProgramResourceLocation(GLuint program, GLenum programInterface, const GLchar *name)
Definition: GteOpenGL.cpp:8006
GLenum condition
Definition: glext.h:9100
void APIENTRY glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, void *data)
Definition: GteOpenGL.cpp:1615
GLsizei GLenum * sources
Definition: glcorearb.h:2537
void APIENTRY glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params)
Definition: GteOpenGL.cpp:5284
GLsizei GLenum GLenum GLuint GLenum GLsizei * lengths
Definition: glcorearb.h:2537
void APIENTRY glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
Definition: GteOpenGL.cpp:2385
void APIENTRY glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a)
Definition: GteOpenGL.cpp:3322
const GLuint * renderbuffers
Definition: glcorearb.h:1277
void APIENTRY glVertexArrayAttribLFormat(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
Definition: GteOpenGL.cpp:9752
void APIENTRY glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
Definition: GteOpenGL.cpp:5894
void APIENTRY glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v)
Definition: GteOpenGL.cpp:7282
void APIENTRY glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream)
Definition: GteOpenGL.cpp:6066
void APIENTRY glInvalidateNamedFramebufferSubData(GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:9034
signed char GLbyte
Definition: glcorearb.h:693
GLuint framebuffer
Definition: glcorearb.h:1282
void APIENTRY glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:7912
double GLclampd
Definition: glcorearb.h:195
GLenum precisiontype
Definition: glcorearb.h:1920
GLuint GLuint GLuint GLuint group_size_y
Definition: glcorearb.h:2989
void APIENTRY glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params)
Definition: GteOpenGL.cpp:4004
void APIENTRY glVertexArrayVertexBuffer(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride)
Definition: GteOpenGL.cpp:9687
void APIENTRY glShaderSource(GLuint shader, GLsizei count, const GLchar *const *string, const GLint *length)
Definition: GteOpenGL.cpp:2268
void APIENTRY glReadBuffer(GLenum src)
Definition: GteOpenGL.cpp:552
void APIENTRY glFinish()
Definition: GteOpenGL.cpp:435
void APIENTRY glFlushMappedNamedBufferRange(GLuint buffer, GLintptr offset, GLsizei length)
Definition: GteOpenGL.cpp:8852
GLboolean GLboolean g
Definition: glcorearb.h:1217
void APIENTRY glBindAttribLocation(GLuint program, GLuint index, const GLchar *name)
Definition: GteOpenGL.cpp:1886
void APIENTRY glGetDoublei_v(GLenum target, GLuint index, GLdouble *data)
Definition: GteOpenGL.cpp:7399
GLuint GLuint uniformBlockBinding
Definition: glcorearb.h:1463
void APIENTRY glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName)
Definition: GteOpenGL.cpp:4677
void APIENTRY glLinkProgram(GLuint program)
Definition: GteOpenGL.cpp:2255
void APIENTRY glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params)
Definition: GteOpenGL.cpp:4922
GLint GLint srcX1
Definition: glcorearb.h:1292
void APIENTRY glVertexAttribI2i(GLuint index, GLint x, GLint y)
Definition: GteOpenGL.cpp:3572
void APIENTRY glGetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label)
Definition: GteOpenGL.cpp:8275
void APIENTRY glEnableVertexArrayAttrib(GLuint vaobj, GLuint index)
Definition: GteOpenGL.cpp:9661
void APIENTRY glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:5797
void APIENTRY glProgramUniform3dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
Definition: GteOpenGL.cpp:6749
void APIENTRY glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value)
Definition: GteOpenGL.cpp:6489
void APIENTRY glClearTexImage(GLuint texture, GLint level, GLenum format, GLenum type, const void *data)
Definition: GteOpenGL.cpp:8389
GLenum GLenum GLenum dfactorAlpha
Definition: glcorearb.h:592
GLint GLint GLint GLint dstX0
Definition: glcorearb.h:1292
void APIENTRY glEndQuery(GLenum target)
Definition: GteOpenGL.cpp:1482
void APIENTRY glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level)
Definition: GteOpenGL.cpp:4935
void APIENTRY glDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect)
Definition: GteOpenGL.cpp:5589
void APIENTRY glTexImage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
Definition: GteOpenGL.cpp:4948
void APIENTRY glNamedBufferStorage(GLuint buffer, GLsizei size, const void *data, GLbitfield flags)
Definition: GteOpenGL.cpp:8726
void APIENTRY glClearNamedFramebufferuiv(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value)
Definition: GteOpenGL.cpp:9060
void APIENTRY glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value)
Definition: GteOpenGL.cpp:4017
GLint GLint GLint GLint GLint GLint GLint dstY1
Definition: glcorearb.h:1292
GLuint storageBlockIndex
Definition: glcorearb.h:2523
void APIENTRY glVertexAttrib4usv(GLuint index, const GLushort *v)
Definition: GteOpenGL.cpp:3009
void APIENTRY glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
Definition: GteOpenGL.cpp:4276
GLsizei GLsizei GLchar * infoLog
Definition: glcorearb.h:795
GLint GLenum GLboolean normalized
Definition: glcorearb.h:867
void APIENTRY glDeleteSync(GLsync sync)
Definition: GteOpenGL.cpp:4841
void APIENTRY glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
Definition: GteOpenGL.cpp:5401
GLenum GLenum GLenum srcAlpha
Definition: glcorearb.h:1789
void APIENTRY glUniform1i(GLint location, GLint v0)
Definition: GteOpenGL.cpp:2346
void APIENTRY glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:713
GLbitfield GLuint64 timeout
Definition: glcorearb.h:1594
GLboolean APIENTRY glIsBuffer(GLuint buffer)
Definition: GteOpenGL.cpp:1573
void APIENTRY glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
Definition: GteOpenGL.cpp:5349
GLsizei GLsizei GLenum * binaryFormat
Definition: glcorearb.h:1923
void APIENTRY glGetTextureParameterIiv(GLuint texture, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:9596
void APIENTRY glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
Definition: GteOpenGL.cpp:2892
void APIENTRY glGetVertexArrayIndexediv(GLuint vaobj, GLuint index, GLenum pname, GLint *param)
Definition: GteOpenGL.cpp:9791
void APIENTRY glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value)
Definition: GteOpenGL.cpp:4030
void APIENTRY glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
Definition: GteOpenGL.cpp:2333
void APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage)
Definition: GteOpenGL.cpp:1589
GLuint GLint GLboolean GLint GLenum access
Definition: glcorearb.h:2217
void APIENTRY glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2)
Definition: GteOpenGL.cpp:3887
GLuint renderbuffer
Definition: glcorearb.h:1276
void APIENTRY glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision)
Definition: GteOpenGL.cpp:6288
void APIENTRY glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
Definition: GteOpenGL.cpp:6827
void APIENTRY glDebugMessageControl(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled)
Definition: GteOpenGL.cpp:8181
void APIENTRY glUseProgram(GLuint program)
Definition: GteOpenGL.cpp:2281
void APIENTRY glClearNamedBufferData(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data)
Definition: GteOpenGL.cpp:8778
GLuint writeBuffer
Definition: glcorearb.h:2670
GLuint GLint GLboolean layered
Definition: glcorearb.h:2217
GLenum dfactor
Definition: glcorearb.h:117
unsigned short GLhalf
Definition: glcorearb.h:1001
unsigned int GLenum
Definition: glcorearb.h:83
GLsizei GLsizei GLchar * source
Definition: glcorearb.h:798
GLfloat GLfloat blue
Definition: glcorearb.h:107
void APIENTRY glVertexAttribI3iv(GLuint index, const GLint *v)
Definition: GteOpenGL.cpp:3689
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)
Definition: GteOpenGL.cpp:7795
GLuint GLuint end
Definition: glcorearb.h:470
const GLuint * framebuffers
Definition: glcorearb.h:1283
GLsizei GLenum GLenum GLuint GLenum GLsizei GLchar * messageLog
Definition: glcorearb.h:2537
void APIENTRY glGetInternalformati64v(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params)
Definition: GteOpenGL.cpp:7834
void APIENTRY glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
Definition: GteOpenGL.cpp:6866
void APIENTRY glGenTransformFeedbacks(GLsizei n, GLuint *ids)
Definition: GteOpenGL.cpp:5998
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)
Definition: GteOpenGL.cpp:1078
void APIENTRY glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:4622
GLsizei const GLchar *const * string
Definition: glcorearb.h:809
GLint ref
Definition: glcorearb.h:119
GLsizei GLenum const void * indices
Definition: glcorearb.h:401
GLint GLint internalformat
Definition: glcorearb.h:103
const GLubyte *APIENTRYP PFNGLGETSTRINGPROC(GLenum name)
Definition: glcorearb.h:131
void APIENTRY glClipControl(GLenum origin, GLenum depth)
Definition: GteOpenGL.cpp:8622
void *APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC(GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access)
Definition: glcorearb.h:2674
void APIENTRY glTextureView(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers)
Definition: GteOpenGL.cpp:8090
void APIENTRY glGetTransformFeedbacki_v(GLuint xfb, GLenum pname, GLuint index, GLint *param)
Definition: GteOpenGL.cpp:8687
GLboolean APIENTRY glIsProgram(GLuint program)
Definition: GteOpenGL.cpp:2223
void APIENTRY glProgramUniform1ui(GLuint program, GLint location, GLuint v0)
Definition: GteOpenGL.cpp:6554
void APIENTRY glBeginConditionalRender(GLuint id, GLenum mode)
Definition: GteOpenGL.cpp:3494
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2540
void APIENTRY glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex)
Definition: GteOpenGL.cpp:4770
void APIENTRY glVertexAttrib4iv(GLuint index, const GLint *v)
Definition: GteOpenGL.cpp:2944
GLsizei const GLenum * attachments
Definition: glcorearb.h:2513
void APIENTRY glDrawBuffer(GLenum buf)
Definition: GteOpenGL.cpp:305
void APIENTRY glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
Definition: GteOpenGL.cpp:4596
uint64_t GLuint64
Definition: glcorearb.h:1520
void APIENTRY glClearNamedBufferSubData(GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void *data)
Definition: GteOpenGL.cpp:8791
void APIENTRY glBufferStorage(GLenum target, GLsizeiptr size, const void *data, GLbitfield flags)
Definition: GteOpenGL.cpp:8376
void APIENTRY glBindProgramPipeline(GLuint pipeline)
Definition: GteOpenGL.cpp:6408
void APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
Definition: GteOpenGL.cpp:266
void APIENTRY glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
Definition: GteOpenGL.cpp:7139
GLboolean * data
Definition: glcorearb.h:126
void APIENTRY glDeleteSamplers(GLsizei count, const GLuint *samplers)
Definition: GteOpenGL.cpp:5099
void APIENTRY glGenBuffers(GLsizei n, GLuint *buffers)
Definition: GteOpenGL.cpp:1560
GLsizei const GLchar *const GLuint * uniformIndices
Definition: glcorearb.h:1457
void APIENTRY glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:5219
void APIENTRY glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param)
Definition: GteOpenGL.cpp:5206
void APIENTRY glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:3196
GLboolean APIENTRY glIsFramebuffer(GLuint framebuffer)
Definition: GteOpenGL.cpp:4166
void APIENTRY glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param)
Definition: GteOpenGL.cpp:5180
GLint namelen
Definition: glcorearb.h:3335
void APIENTRY glGenRenderbuffers(GLsizei n, GLuint *renderbuffers)
Definition: GteOpenGL.cpp:4127
GLenum GLintptr readOffset
Definition: glcorearb.h:1456
void APIENTRY glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
Definition: GteOpenGL.cpp:6671
GLint first
Definition: glcorearb.h:400
const GLubyte *APIENTRY glGetString(GLenum name)
Definition: GteOpenGL.cpp:645
void APIENTRY glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
Definition: GteOpenGL.cpp:1847
void APIENTRY glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2)
Definition: GteOpenGL.cpp:6762
void APIENTRY glDebugMessageInsert(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf)
Definition: GteOpenGL.cpp:8194
void APIENTRY glProgramUniformMatrix2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:6931
GLboolean APIENTRY glIsTransformFeedback(GLuint id)
Definition: GteOpenGL.cpp:6011
void APIENTRY glVertexAttrib2dv(GLuint index, const GLdouble *v)
Definition: GteOpenGL.cpp:2645
void APIENTRY glBlendEquationi(GLuint buf, GLenum mode)
Definition: GteOpenGL.cpp:5524
void APIENTRY glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
Definition: GteOpenGL.cpp:4250
void APIENTRY glCreateQueries(GLenum target, GLsizei n, GLuint *ids)
Definition: GteOpenGL.cpp:9843
void APIENTRY glUniform4dv(GLint location, GLsizei count, const GLdouble *value)
Definition: GteOpenGL.cpp:5693
void APIENTRY glProgramUniformMatrix3x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:7061
GLuint id
Definition: glcorearb.h:650
GLuint texture
Definition: glcorearb.h:410
void APIENTRY glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name)
Definition: GteOpenGL.cpp:3832
void APIENTRY glPrimitiveRestartIndex(GLuint index)
Definition: GteOpenGL.cpp:4583
void APIENTRY glMultiDrawArraysIndirect(GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride)
Definition: GteOpenGL.cpp:7925
void APIENTRY glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels)
Definition: GteOpenGL.cpp:1065
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glcorearb.h:1292
void APIENTRY glPatchParameteri(GLenum pname, GLint value)
Definition: GteOpenGL.cpp:5946
void APIENTRY glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:5732
void APIENTRY glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
Definition: GteOpenGL.cpp:1285
GLsizei GLenum GLsizei GLsizei GLboolean fixedsamplelocations
Definition: glcorearb.h:1601
void APIENTRY glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
Definition: GteOpenGL.cpp:1808
void APIENTRY glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
Definition: GteOpenGL.cpp:5323
void APIENTRY glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values)
Definition: GteOpenGL.cpp:5868
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint GLsizei GLsizei srcHeight
Definition: glcorearb.h:2505
void APIENTRY glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1)
Definition: GteOpenGL.cpp:6658
void APIENTRY glGenTextures(GLsizei n, GLuint *textures)
Definition: GteOpenGL.cpp:993
void APIENTRY glValidateProgramPipeline(GLuint pipeline)
Definition: GteOpenGL.cpp:7126
GLboolean APIENTRY glIsShader(GLuint shader)
Definition: GteOpenGL.cpp:2239
GLint GLsizei count
Definition: glcorearb.h:400
void APIENTRY glVertexArrayElementBuffer(GLuint vaobj, GLuint buffer)
Definition: GteOpenGL.cpp:9674
void APIENTRY glVertexAttrib2fv(GLuint index, const GLfloat *v)
Definition: GteOpenGL.cpp:2671
GLint GLint xoffset
Definition: glcorearb.h:406
GLuint GLsizei const GLchar * message
Definition: glcorearb.h:2538
GLboolean APIENTRY glIsProgramPipeline(GLuint pipeline)
Definition: GteOpenGL.cpp:6447
GLenum GLint GLint GLint GLint srcZ
Definition: glcorearb.h:2505
void APIENTRY glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value)
Definition: GteOpenGL.cpp:6801
void APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices)
Definition: GteOpenGL.cpp:850
void APIENTRY glUniform2d(GLint location, GLdouble x, GLdouble y)
Definition: GteOpenGL.cpp:5615
GLfloat GLfloat GLfloat GLfloat v3
Definition: glcorearb.h:814
void APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask)
Definition: GteOpenGL.cpp:487
GLint void * img
Definition: glcorearb.h:551
void APIENTRY glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length)
Definition: GteOpenGL.cpp:6275
void APIENTRY glVertexAttrib2s(GLuint index, GLshort x, GLshort y)
Definition: GteOpenGL.cpp:2684
void APIENTRY glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
Definition: GteOpenGL.cpp:5388
void APIENTRY glNamedRenderbufferStorage(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:9167
GLsizei GLsizei GLuint * shaders
Definition: glcorearb.h:792
void APIENTRY glBindTransformFeedback(GLenum target, GLuint id)
Definition: GteOpenGL.cpp:5972
void APIENTRY glNamedFramebufferDrawBuffers(GLuint framebuffer, GLsizei n, const GLenum *bufs)
Definition: GteOpenGL.cpp:8995
void APIENTRY glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
Definition: GteOpenGL.cpp:1834
void APIENTRY glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:6463
GLbitfield flags
Definition: glcorearb.h:1591
GLsizei const GLchar *const GLenum bufferMode
Definition: glcorearb.h:1227
void APIENTRY glActiveTexture(GLenum texture)
Definition: GteOpenGL.cpp:1127
GLsizei const GLchar *const * strings
Definition: glcorearb.h:1928
void APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:214
void APIENTRY glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments)
Definition: GteOpenGL.cpp:7899
void APIENTRY glGetCompressedTextureImage(GLuint texture, GLint level, GLsizei bufSize, void *pixels)
Definition: GteOpenGL.cpp:9544
void APIENTRY glScissorIndexedv(GLuint index, const GLint *v)
Definition: GteOpenGL.cpp:7347
void APIENTRY glHint(GLenum target, GLenum mode)
Definition: GteOpenGL.cpp:162
void APIENTRY glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w)
Definition: GteOpenGL.cpp:2957
void(APIENTRY * GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam)
Definition: glcorearb.h:2242
GLint GLint GLint srcY1
Definition: glcorearb.h:1292
void APIENTRY glClearBufferData(GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data)
Definition: GteOpenGL.cpp:7743
void APIENTRY glEndQueryIndexed(GLenum target, GLuint index)
Definition: GteOpenGL.cpp:6092
void APIENTRY glGetUniformdv(GLuint program, GLint location, GLdouble *params)
Definition: GteOpenGL.cpp:5823
void APIENTRY glProgramUniform4dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
Definition: GteOpenGL.cpp:6853
GLuint * ids
Definition: glcorearb.h:647
void APIENTRY glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)
Definition: GteOpenGL.cpp:4056
GLfloat v0
Definition: glcorearb.h:811
void APIENTRY glGetNamedBufferParameteriv(GLuint buffer, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:8865
void APIENTRY glCullFace(GLenum mode)
Definition: GteOpenGL.cpp:136
void APIENTRY glSampleMaski(GLuint maskNumber, GLbitfield mask)
Definition: GteOpenGL.cpp:4987
void APIENTRY glMinSampleShading(GLfloat value)
Definition: GteOpenGL.cpp:5511
void APIENTRY glFlush()
Definition: GteOpenGL.cpp:448
GLenum pname
Definition: glcorearb.h:99
GLenum zfail
Definition: glcorearb.h:120
GLint GLint GLsizei GLint GLenum format
Definition: glcorearb.h:103
GLenum GLint GLint srcX
Definition: glcorearb.h:2505
void *APIENTRYP PFNGLMAPBUFFERPROC(GLenum target, GLenum access)
Definition: glcorearb.h:662
GLint GLsizei GLsizei height
Definition: glcorearb.h:98
void APIENTRY glGetNamedBufferParameteri64v(GLuint buffer, GLenum pname, GLint64 *params)
Definition: GteOpenGL.cpp:8878
void APIENTRY glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value)
Definition: GteOpenGL.cpp:4043
void APIENTRY glGetObjectPtrLabel(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label)
Definition: GteOpenGL.cpp:8301
void APIENTRY glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
Definition: GteOpenGL.cpp:700
void APIENTRY glBindBuffer(GLenum target, GLuint buffer)
Definition: GteOpenGL.cpp:1534
GLsizei const GLchar *const * varyings
Definition: glcorearb.h:1227
void APIENTRY glBindBuffersBase(GLenum target, GLuint first, GLsizei count, const GLuint *buffers)
Definition: GteOpenGL.cpp:8415
void APIENTRY glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName)
Definition: GteOpenGL.cpp:4635
GLenum GLuint GLenum GLuint GLuint GLuint GLuint numlayers
Definition: glcorearb.h:2527
GLint GLfloat GLint stencil
Definition: glcorearb.h:1273
void APIENTRY glVertexAttrib1sv(GLuint index, const GLshort *v)
Definition: GteOpenGL.cpp:2619
void APIENTRY glVertexAttrib1fv(GLuint index, const GLfloat *v)
Definition: GteOpenGL.cpp:2593
GLint GLsizei GLsizei instancecount
Definition: glcorearb.h:1452
GLenum mode
Definition: glcorearb.h:94
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1217
void APIENTRY glSampleCoverage(GLfloat value, GLboolean invert)
Definition: GteOpenGL.cpp:1140
void APIENTRY glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params)
Definition: GteOpenGL.cpp:5297
GLenum attachment
Definition: glcorearb.h:1286
void APIENTRY glBindTextureUnit(GLuint unit, GLuint texture)
Definition: GteOpenGL.cpp:9518
void APIENTRY glProgramUniformMatrix4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:6957
void APIENTRY glTextureParameterIuiv(GLuint texture, GLenum pname, const GLuint *params)
Definition: GteOpenGL.cpp:9479
GLenum GLuint GLsizei bufsize
Definition: glcorearb.h:1813
GLfloat units
Definition: glcorearb.h:403
void APIENTRY glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params)
Definition: GteOpenGL.cpp:3978
GLenum GLint GLint * precision
Definition: glcorearb.h:1920
void APIENTRY glUniform2fv(GLint location, GLsizei count, const GLfloat *value)
Definition: GteOpenGL.cpp:2411
void APIENTRY glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:2502
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint GLsizei GLsizei GLsizei srcDepth
Definition: glcorearb.h:2505
void APIENTRY glCompileShader(GLuint shader)
Definition: GteOpenGL.cpp:1899
void APIENTRY glVertexAttrib4Niv(GLuint index, const GLint *v)
Definition: GteOpenGL.cpp:2801
void APIENTRY glBindSamplers(GLuint first, GLsizei count, const GLuint *samplers)
Definition: GteOpenGL.cpp:8454
void APIENTRY glGetVertexArrayIndexed64iv(GLuint vaobj, GLuint index, GLenum pname, GLint64 *param)
Definition: GteOpenGL.cpp:9804
void APIENTRY glDisableVertexAttribArray(GLuint index)
Definition: GteOpenGL.cpp:1983
void APIENTRY glPointParameteri(GLenum pname, GLint param)
Definition: GteOpenGL.cpp:1337
GLsizei maxCount
Definition: glcorearb.h:792
void APIENTRY glDrawArraysIndirect(GLenum mode, const void *indirect)
Definition: GteOpenGL.cpp:5576
void APIENTRY glBindVertexBuffers(GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides)
Definition: GteOpenGL.cpp:8480
void APIENTRY glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels)
Definition: GteOpenGL.cpp:292
void APIENTRY glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:6970
void APIENTRY glVertexAttrib4Nsv(GLuint index, const GLshort *v)
Definition: GteOpenGL.cpp:2814
void APIENTRY glDrawBuffers(GLsizei n, const GLenum *bufs)
Definition: GteOpenGL.cpp:1821
void APIENTRY glTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels)
Definition: GteOpenGL.cpp:9310
void APIENTRY glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:3991
void APIENTRY glVertexAttribDivisor(GLuint index, GLuint divisor)
Definition: GteOpenGL.cpp:5310
void APIENTRY glProgramUniformMatrix3x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:7100
GLenum GLenum dpfail
Definition: glcorearb.h:777
GLuint GLsizei GLsizei * length
Definition: glcorearb.h:790
void APIENTRY glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w)
Definition: GteOpenGL.cpp:3598
unsigned short GLushort
Definition: glcorearb.h:694
GLuint GLfloat * val
Definition: glcorearb.h:1603
void APIENTRY glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param)
Definition: GteOpenGL.cpp:5154
GLdouble GLdouble GLdouble z
Definition: glcorearb.h:843
void APIENTRY glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:3533
void APIENTRY glCopyTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
Definition: GteOpenGL.cpp:9388
GLenum modeAlpha
Definition: glcorearb.h:775
GLfloat GLfloat GLfloat GLfloat h
Definition: glcorearb.h:1997
GLenum GLuint GLenum GLuint GLuint numlevels
Definition: glcorearb.h:2527
void APIENTRY glClearNamedFramebufferfv(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value)
Definition: GteOpenGL.cpp:9073
void APIENTRY glValidateProgram(GLuint program)
Definition: GteOpenGL.cpp:2541
GLuint shader
Definition: glcorearb.h:780
void APIENTRY glInvalidateBufferData(GLuint buffer)
Definition: GteOpenGL.cpp:7886
void APIENTRY glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:6983
GLenum GLenum zpass
Definition: glcorearb.h:120
void APIENTRY glTextureStorage3DMultisample(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
Definition: GteOpenGL.cpp:9297
void APIENTRY glTextureStorage2D(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:9258
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
Definition: glcorearb.h:103
GLsizeiptr const void GLenum usage
Definition: glcorearb.h:659
GLuint APIENTRY glGetProgramResourceIndex(GLuint program, GLenum programInterface, const GLchar *name)
Definition: GteOpenGL.cpp:7964
void APIENTRY glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name)
Definition: GteOpenGL.cpp:5057
GLenum GLuint origtexture
Definition: glcorearb.h:2527
void APIENTRY glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y)
Definition: GteOpenGL.cpp:7165
GLenum func
Definition: glcorearb.h:778
void *APIENTRY glMapNamedBuffer(GLuint buffer, GLenum access)
Definition: GteOpenGL.cpp:8804
void APIENTRY glGetFloati_v(GLenum target, GLuint index, GLfloat *data)
Definition: GteOpenGL.cpp:7386
void APIENTRY glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices)
Definition: GteOpenGL.cpp:4609
GLuint num_groups_y
Definition: glcorearb.h:2503
void APIENTRY glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
Definition: GteOpenGL.cpp:6619
void APIENTRY glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
Definition: GteOpenGL.cpp:2918
GLenum void ** pointer
Definition: glcorearb.h:805
void APIENTRY glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:5706
GLenum array
Definition: glext.h:6669
void APIENTRY glProgramParameteri(GLuint program, GLenum pname, GLint value)
Definition: GteOpenGL.cpp:6353
void APIENTRY glGetVertexAttribPointerv(GLuint index, GLenum pname, void **pointer)
Definition: GteOpenGL.cpp:2210
GLuint divisor
Definition: glcorearb.h:1665
void APIENTRY glClearDepth(GLdouble depth)
Definition: GteOpenGL.cpp:357
const GLint const GLsizei GLsizei drawcount
Definition: glcorearb.h:593
void APIENTRY glClampColor(GLenum target, GLenum clamp)
Definition: GteOpenGL.cpp:3481
void APIENTRY glVertexAttribBinding(GLuint attribindex, GLuint bindingindex)
Definition: GteOpenGL.cpp:8155
void APIENTRY glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar *const *varyings, GLenum bufferMode)
Definition: GteOpenGL.cpp:3455
void APIENTRY glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w)
Definition: GteOpenGL.cpp:2827
void APIENTRY glCreateTransformFeedbacks(GLsizei n, GLuint *ids)
Definition: GteOpenGL.cpp:8635
GLenum GLenum renderbuffertarget
Definition: glcorearb.h:1289
void APIENTRY glCreateRenderbuffers(GLsizei n, GLuint *renderbuffers)
Definition: GteOpenGL.cpp:9154
GLenum GLenum severity
Definition: glcorearb.h:2534
void APIENTRY glTexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width)
Definition: GteOpenGL.cpp:7613
void APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
Definition: GteOpenGL.cpp:383
void APIENTRY glTexImage3DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
Definition: GteOpenGL.cpp:4961
void APIENTRY glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y)
Definition: GteOpenGL.cpp:2658
GLboolean APIENTRY glIsEnabledi(GLenum target, GLuint index)
Definition: GteOpenGL.cpp:3387
void APIENTRY glGetNamedBufferSubData(GLuint buffer, GLintptr offset, GLsizei size, void *data)
Definition: GteOpenGL.cpp:8904
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glcorearb.h:2535
double GLdouble
Definition: glcorearb.h:88
const GLdouble * v
Definition: glcorearb.h:832
void APIENTRY glGetBooleanv(GLenum pname, GLboolean *data)
Definition: GteOpenGL.cpp:578
void APIENTRY glNamedFramebufferReadBuffer(GLuint framebuffer, GLenum src)
Definition: GteOpenGL.cpp:9008
void APIENTRY glGetBooleani_v(GLenum target, GLuint index, GLboolean *data)
Definition: GteOpenGL.cpp:3335
void APIENTRY glDrawTransformFeedbackStreamInstanced(GLenum mode, GLuint id, GLuint stream, GLsizei instancecount)
Definition: GteOpenGL.cpp:7665
void APIENTRY glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:7022
void APIENTRY glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h)
Definition: GteOpenGL.cpp:7295
void APIENTRY glVertexAttrib4bv(GLuint index, const GLbyte *v)
Definition: GteOpenGL.cpp:2879
GLboolean r
Definition: glcorearb.h:1217
void APIENTRY glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:3170
void APIENTRY glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:5810
void APIENTRY glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z)
Definition: GteOpenGL.cpp:2710
void APIENTRY glVertexAttrib4ubv(GLuint index, const GLubyte *v)
Definition: GteOpenGL.cpp:2983
void APIENTRY glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount)
Definition: GteOpenGL.cpp:4544
GLboolean APIENTRY glIsSync(GLsync sync)
Definition: GteOpenGL.cpp:4825
void APIENTRY glProvokingVertex(GLenum mode)
Definition: GteOpenGL.cpp:4796
void APIENTRY glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset)
Definition: GteOpenGL.cpp:8116
GLdouble s
Definition: glext.h:231
void APIENTRY glUniform3uiv(GLint location, GLsizei count, const GLuint *value)
Definition: GteOpenGL.cpp:3939
void APIENTRY glNamedFramebufferTexture(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level)
Definition: GteOpenGL.cpp:8956
void APIENTRY glGetIntegerv(GLenum pname, GLint *data)
Definition: GteOpenGL.cpp:632
void APIENTRY glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
Definition: GteOpenGL.cpp:6567
void APIENTRY glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data)
Definition: GteOpenGL.cpp:1179
void APIENTRY glCompressedTextureSubImage2D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data)
Definition: GteOpenGL.cpp:9362
void APIENTRY glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params)
Definition: GteOpenGL.cpp:5920
void APIENTRY glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z)
Definition: GteOpenGL.cpp:5628
GLfloat GLfloat GLfloat v2
Definition: glcorearb.h:813
GLenum GLenum GLenum GLenum dstAlpha
Definition: glcorearb.h:1789
GLuint index
Definition: glcorearb.h:781
void APIENTRY glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:3144
GLuint GLuint GLuint group_size_x
Definition: glcorearb.h:2989
void APIENTRY glVertexAttribI1iv(GLuint index, const GLint *v)
Definition: GteOpenGL.cpp:3663
void APIENTRY glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels)
Definition: GteOpenGL.cpp:279
void APIENTRY glPatchParameterfv(GLenum pname, const GLfloat *values)
Definition: GteOpenGL.cpp:5959
void APIENTRY glVertexAttrib1f(GLuint index, GLfloat x)
Definition: GteOpenGL.cpp:2580
void APIENTRY glGetActiveAtomicCounterBufferiv(GLuint program, GLuint bufferIndex, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:7574
void APIENTRY glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z)
Definition: GteOpenGL.cpp:2736
const GLubyte *APIENTRY glGetStringi(GLenum name, GLuint index)
Definition: GteOpenGL.cpp:4069
void APIENTRY glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha)
Definition: GteOpenGL.cpp:5537
void APIENTRY glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format)
Definition: GteOpenGL.cpp:7587
void APIENTRY glGetCompressedTexImage(GLenum target, GLint level, void *img)
Definition: GteOpenGL.cpp:1231
GLint GLint GLint GLint GLint dstY0
Definition: glcorearb.h:1292
void APIENTRY glProgramUniform4d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3)
Definition: GteOpenGL.cpp:6840
void *APIENTRYP PFNGLMAPNAMEDBUFFERPROC(GLuint buffer, GLenum access)
Definition: glcorearb.h:2673
void APIENTRY glTextureBuffer(GLuint texture, GLenum internalformat, GLuint buffer)
Definition: GteOpenGL.cpp:9219
void APIENTRY glClearDepthf(GLfloat d)
Definition: GteOpenGL.cpp:6314
void APIENTRY glUniform1ui(GLint location, GLuint v0)
Definition: GteOpenGL.cpp:3861
void APIENTRY glProgramUniformMatrix3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:6944
void APIENTRY glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:6905
void APIENTRY glPolygonOffset(GLfloat factor, GLfloat units)
Definition: GteOpenGL.cpp:876
void APIENTRY glStencilMaskSeparate(GLenum face, GLuint mask)
Definition: GteOpenGL.cpp:1860
void APIENTRY glBindImageTextures(GLuint first, GLsizei count, const GLuint *textures)
Definition: GteOpenGL.cpp:8467
void APIENTRY glVertexAttrib3sv(GLuint index, const GLshort *v)
Definition: GteOpenGL.cpp:2775
void APIENTRY glVertexAttribI4bv(GLuint index, const GLbyte *v)
Definition: GteOpenGL.cpp:3767
void APIENTRY glClear(GLbitfield mask)
Definition: GteOpenGL.cpp:318
void APIENTRY glUniform4iv(GLint location, GLsizei count, const GLint *value)
Definition: GteOpenGL.cpp:2489
void APIENTRY glPointParameterf(GLenum pname, GLfloat param)
Definition: GteOpenGL.cpp:1311
#define APIENTRYP
Definition: glcorearb.h:50
void APIENTRY glNamedBufferSubData(GLuint buffer, GLintptr offset, GLsizei size, const void *data)
Definition: GteOpenGL.cpp:8752
void APIENTRY glQueryCounter(GLuint id, GLenum target)
Definition: GteOpenGL.cpp:5271
void APIENTRY glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params)
Definition: GteOpenGL.cpp:3546
void APIENTRY glUniform1dv(GLint location, GLsizei count, const GLdouble *value)
Definition: GteOpenGL.cpp:5654
GLenum GLuint GLenum GLuint GLuint GLuint minlayer
Definition: glcorearb.h:2527
void APIENTRY glVertexArrayBindingDivisor(GLuint vaobj, GLuint bindingindex, GLuint divisor)
Definition: GteOpenGL.cpp:9765
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint GLsizei srcWidth
Definition: glcorearb.h:2505
void APIENTRY glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length)
Definition: GteOpenGL.cpp:4370
void APIENTRY glBindBufferBase(GLenum target, GLuint index, GLuint buffer)
Definition: GteOpenGL.cpp:3442
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)
Definition: GteOpenGL.cpp:1192
GLfloat f
Definition: glcorearb.h:1921
void APIENTRY glGetQueryiv(GLenum target, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:1495
void APIENTRY glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value)
Definition: GteOpenGL.cpp:6593
void APIENTRY glInvalidateTexSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth)
Definition: GteOpenGL.cpp:7847
GLenum programInterface
Definition: glcorearb.h:2517
void APIENTRY glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:7035
void APIENTRY glUniform2i(GLint location, GLint v0, GLint v1)
Definition: GteOpenGL.cpp:2359
GLenum const GLfloat * params
Definition: glcorearb.h:100
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint dstX
Definition: glcorearb.h:2505
GLenum GLint * range
Definition: glcorearb.h:1920
GLenum GLint GLint GLint GLint GLuint GLenum dstTarget
Definition: glcorearb.h:2505
void APIENTRY glDrawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance)
Definition: GteOpenGL.cpp:7535
void APIENTRY glGetDoublev(GLenum pname, GLdouble *data)
Definition: GteOpenGL.cpp:591
void APIENTRY glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:6105
GLenum APIENTRY glGetGraphicsResetStatus()
Definition: GteOpenGL.cpp:9947
void APIENTRY glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:5745
void APIENTRY glCreateSamplers(GLsizei n, GLuint *samplers)
Definition: GteOpenGL.cpp:9817
GLuint APIENTRY glCreateShader(GLenum type)
Definition: GteOpenGL.cpp:1928
void APIENTRY glGetnUniformiv(GLuint program, GLint location, GLsizei bufSize, GLint *params)
void APIENTRY glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
Definition: GteOpenGL.cpp:5336
void APIENTRY glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding)
Definition: GteOpenGL.cpp:4690
void APIENTRY glCopyNamedBufferSubData(GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size)
Definition: GteOpenGL.cpp:8765
GLint const GLchar GLint stringlen
Definition: glcorearb.h:3335
void APIENTRY glUniform1fv(GLint location, GLsizei count, const GLfloat *value)
Definition: GteOpenGL.cpp:2398
void APIENTRY glDrawTransformFeedbackInstanced(GLenum mode, GLuint id, GLsizei instancecount)
Definition: GteOpenGL.cpp:7652
GLuint GLuint num_groups_z
Definition: glcorearb.h:2503
void APIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
Definition: GteOpenGL.cpp:902
void APIENTRY glVertexAttribI2uiv(GLuint index, const GLuint *v)
Definition: GteOpenGL.cpp:3728
void APIENTRY glCreateFramebuffers(GLsizei n, GLuint *framebuffers)
Definition: GteOpenGL.cpp:8917
void APIENTRY glGenerateTextureMipmap(GLuint texture)
Definition: GteOpenGL.cpp:9505
void APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
Definition: GteOpenGL.cpp:331
void APIENTRY glCreateBuffers(GLsizei n, GLuint *buffers)
Definition: GteOpenGL.cpp:8713
void APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void *data)
Definition: GteOpenGL.cpp:1602
void APIENTRY glDisable(GLenum cap)
Definition: GteOpenGL.cpp:409
void APIENTRY glEndTransformFeedback()
Definition: GteOpenGL.cpp:3416
GLboolean APIENTRY glIsVertexArray(GLuint array)
Definition: GteOpenGL.cpp:4422
void APIENTRY glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
Definition: GteOpenGL.cpp:2077
GLintptr offset
Definition: glcorearb.h:660
void APIENTRY glPointSize(GLfloat size)
Definition: GteOpenGL.cpp:188
void APIENTRY glDebugMessageCallback(GLDEBUGPROC callback, const void *userParam)
Definition: GteOpenGL.cpp:8207
GLboolean APIENTRY glUnmapBuffer(GLenum target)
Definition: GteOpenGL.cpp:1644
void APIENTRY glNamedFramebufferParameteri(GLuint framebuffer, GLenum pname, GLint param)
Definition: GteOpenGL.cpp:8943
void APIENTRY glGetNamedBufferPointerv(GLuint buffer, GLenum pname, void **params)
Definition: GteOpenGL.cpp:8891
void APIENTRY glGetIntegeri_v(GLenum target, GLuint index, GLint *data)
Definition: GteOpenGL.cpp:3348
void APIENTRY glGetQueryBufferObjectui64v(GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
Definition: GteOpenGL.cpp:9882
void APIENTRY glTextureSubImage2D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
Definition: GteOpenGL.cpp:9323
void APIENTRY glGenVertexArrays(GLsizei n, GLuint *arrays)
Definition: GteOpenGL.cpp:4409
GLenum APIENTRY glCheckNamedFramebufferStatus(GLuint framebuffer, GLenum target)
Definition: GteOpenGL.cpp:9112
void APIENTRY glVertexAttrib4fv(GLuint index, const GLfloat *v)
Definition: GteOpenGL.cpp:2931
void APIENTRY glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
Definition: GteOpenGL.cpp:954
void APIENTRY glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data)
Definition: GteOpenGL.cpp:1205
GLuint buffer
Definition: glcorearb.h:655
void APIENTRY glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices)
Definition: GteOpenGL.cpp:1052
GLsizei GLenum GLenum * types
Definition: glcorearb.h:2537
void APIENTRY glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer)
Definition: GteOpenGL.cpp:3520
void APIENTRY glGetNamedRenderbufferParameteriv(GLuint renderbuffer, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:9193
void APIENTRY glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program)
Definition: GteOpenGL.cpp:6366
GLint GLenum GLboolean GLsizei stride
Definition: glcorearb.h:867
void APIENTRY glBlendFunci(GLuint buf, GLenum src, GLenum dst)
Definition: GteOpenGL.cpp:5550
unsigned int GLbitfield
Definition: glcorearb.h:87
void APIENTRY glVertexAttribI1ui(GLuint index, GLuint x)
Definition: GteOpenGL.cpp:3611
GLint GLint GLint GLint GLsizei GLsizei GLsizei GLboolean resident
Definition: glcorearb.h:3382
GLsizei GLenum GLenum GLuint GLenum * severities
Definition: glcorearb.h:2537
void APIENTRY glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:7821
void *APIENTRY glMapNamedBufferRange(GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access)
Definition: GteOpenGL.cpp:8820
GLuint bindingindex
Definition: glcorearb.h:2532
GLuint attribindex
Definition: glcorearb.h:2742
void APIENTRY glVertexAttrib1d(GLuint index, GLdouble x)
Definition: GteOpenGL.cpp:2554
void APIENTRY glProgramUniformMatrix2x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:7048
GLint srcY0
Definition: glcorearb.h:1292
void APIENTRY glFrontFace(GLenum mode)
Definition: GteOpenGL.cpp:149
void APIENTRY glGetnUniformfv(GLuint program, GLint location, GLsizei bufSize, GLfloat *params)
void APIENTRY glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:5784
GLint GLsizei GLsizei GLuint baseinstance
Definition: glcorearb.h:2212
void APIENTRY glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
Definition: GteOpenGL.cpp:2320
void APIENTRY glGetTransformFeedbacki64_v(GLuint xfb, GLenum pname, GLuint index, GLint64 *param)
Definition: GteOpenGL.cpp:8700
GLenum GLenum dst
Definition: glcorearb.h:1788
GLuint bufferIndex
Definition: glcorearb.h:2216
void APIENTRY glGenFramebuffers(GLsizei n, GLuint *framebuffers)
Definition: GteOpenGL.cpp:4208
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)
Definition: GteOpenGL.cpp:8402
GLboolean APIENTRY glUnmapNamedBuffer(GLuint buffer)
Definition: GteOpenGL.cpp:8836
GLenum GLint GLint GLint srcY
Definition: glcorearb.h:2505
void APIENTRY glClearStencil(GLint s)
Definition: GteOpenGL.cpp:344
void APIENTRY glInvalidateNamedFramebufferData(GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments)
Definition: GteOpenGL.cpp:9021
void APIENTRY glTextureSubImage3D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels)
Definition: GteOpenGL.cpp:9336
GLint GLint bottom
Definition: glcorearb.h:2000
void APIENTRY glDisablei(GLenum target, GLuint index)
Definition: GteOpenGL.cpp:3374
void APIENTRY glGetnUniformdv(GLuint program, GLint location, GLsizei bufSize, GLdouble *params)
Definition: GteOpenGL.cpp:9989
void APIENTRY glUniform2dv(GLint location, GLsizei count, const GLdouble *value)
Definition: GteOpenGL.cpp:5667
void APIENTRY glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:6892
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint dstY
Definition: glcorearb.h:2505
void APIENTRY glCreateProgramPipelines(GLsizei n, GLuint *pipelines)
Definition: GteOpenGL.cpp:9830
void APIENTRY glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:5771
GLuint APIENTRY glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName)
Definition: GteOpenGL.cpp:4648
GLint APIENTRY glGetProgramResourceLocationIndex(GLuint program, GLenum programInterface, const GLchar *name)
Definition: GteOpenGL.cpp:8022
void APIENTRY glVertexAttribI2ui(GLuint index, GLuint x, GLuint y)
Definition: GteOpenGL.cpp:3624
void APIENTRY glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:7009
void APIENTRY glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
Definition: GteOpenGL.cpp:5881
void APIENTRY glVertexAttrib1dv(GLuint index, const GLdouble *v)
Definition: GteOpenGL.cpp:2567
void APIENTRY glBindTextures(GLuint first, GLsizei count, const GLuint *textures)
Definition: GteOpenGL.cpp:8441
const GLubyte *APIENTRYP PFNGLGETSTRINGIPROC(GLenum name, GLuint index)
Definition: glcorearb.h:1274
void APIENTRY glVertexAttribI1i(GLuint index, GLint x)
Definition: GteOpenGL.cpp:3559
void APIENTRY glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
Definition: GteOpenGL.cpp:1521
void APIENTRY glDepthFunc(GLenum func)
Definition: GteOpenGL.cpp:513
void APIENTRY glVertexAttribI4usv(GLuint index, const GLushort *v)
Definition: GteOpenGL.cpp:3806
void APIENTRY glVertexAttribLFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
Definition: GteOpenGL.cpp:8142
void APIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
Definition: GteOpenGL.cpp:928
void APIENTRY glTransformFeedbackBufferBase(GLuint xfb, GLuint index, GLuint buffer)
Definition: GteOpenGL.cpp:8648
void APIENTRY glBeginQuery(GLenum target, GLuint id)
Definition: GteOpenGL.cpp:1469
short GLshort
Definition: glcorearb.h:692
void APIENTRY glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
Definition: GteOpenGL.cpp:2103
void APIENTRY glGetTextureLevelParameteriv(GLuint texture, GLint level, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:9570
GLint y
Definition: glcorearb.h:98
void APIENTRY glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data)
Definition: GteOpenGL.cpp:1166
void APIENTRY glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z)
Definition: GteOpenGL.cpp:3585
void APIENTRY glClearNamedFramebufferiv(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value)
Definition: GteOpenGL.cpp:9047
GLint GLint GLint GLint zoffset
Definition: glcorearb.h:472
void APIENTRY glVertexAttribI2iv(GLuint index, const GLint *v)
Definition: GteOpenGL.cpp:3676
GLint APIENTRY glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name)
Definition: GteOpenGL.cpp:5836
GLuint GLsizei GLsizei GLchar * uniformName
Definition: glcorearb.h:1459
void APIENTRY glPixelStoref(GLenum pname, GLfloat param)
Definition: GteOpenGL.cpp:526
void APIENTRY glVertexArrayAttribFormat(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset)
Definition: GteOpenGL.cpp:9726
void APIENTRY glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
Definition: GteOpenGL.cpp:6814
GLint GLint GLint GLint GLint GLint dstX1
Definition: glcorearb.h:1292
void APIENTRY glPolygonMode(GLenum face, GLenum mode)
Definition: GteOpenGL.cpp:201
void APIENTRY glResumeTransformFeedback()
Definition: GteOpenGL.cpp:6040
void APIENTRY glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
Definition: GteOpenGL.cpp:3900
void APIENTRY glBeginTransformFeedback(GLenum primitiveMode)
Definition: GteOpenGL.cpp:3403
void APIENTRY glGenerateMipmap(GLenum target)
Definition: GteOpenGL.cpp:4302
void APIENTRY glUniform4fv(GLint location, GLsizei count, const GLfloat *value)
Definition: GteOpenGL.cpp:2437
ptrdiff_t GLintptr
Definition: glcorearb.h:618
void APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
Definition: GteOpenGL.cpp:674
void APIENTRY glGenQueries(GLsizei n, GLuint *ids)
Definition: GteOpenGL.cpp:1427
void APIENTRY glDepthRangef(GLfloat n, GLfloat f)
Definition: GteOpenGL.cpp:6301
void APIENTRY glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1)
Definition: GteOpenGL.cpp:6606
void APIENTRY glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
Definition: GteOpenGL.cpp:7191
void APIENTRY glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name)
Definition: GteOpenGL.cpp:3468
GLenum GLuint GLint GLenum face
Definition: glext.h:3311
GLint APIENTRY glGetAttribLocation(GLuint program, const GLchar *name)
Definition: GteOpenGL.cpp:2048
void APIENTRY glUniform2iv(GLint location, GLsizei count, const GLint *value)
Definition: GteOpenGL.cpp:2463
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:103
void APIENTRY glGetUniformiv(GLuint program, GLint location, GLint *params)
Definition: GteOpenGL.cpp:2158
void APIENTRY glGetShaderiv(GLuint shader, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:2090
void APIENTRY glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
Definition: GteOpenGL.cpp:4315
void APIENTRY glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data)
Definition: GteOpenGL.cpp:1218
void APIENTRY glTextureStorage1D(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width)
Definition: GteOpenGL.cpp:9245
void APIENTRY glUniform3fv(GLint location, GLsizei count, const GLfloat *value)
Definition: GteOpenGL.cpp:2424
void(APIENTRY * GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam)
Definition: glcorearb.h:3017
const GLuint GLenum binaryformat
Definition: glcorearb.h:1919
#define APIENTRY
Definition: glcorearb.h:47
GLsizei const GLuint const GLintptr const GLsizei * strides
Definition: glcorearb.h:2620
GLboolean APIENTRY glIsEnabled(GLenum cap)
Definition: GteOpenGL.cpp:726
void APIENTRY glGetTextureImage(GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels)
Definition: GteOpenGL.cpp:9531
char GLchar
Definition: glcorearb.h:691
void APIENTRY glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
Definition: GteOpenGL.cpp:2009
void APIENTRY glMemoryBarrier(GLbitfield barriers)
Definition: GteOpenGL.cpp:7600
GLuint srcName
Definition: wglext.h:649
void APIENTRY glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1)
Definition: GteOpenGL.cpp:6580
void APIENTRY glAttachShader(GLuint program, GLuint shader)
Definition: GteOpenGL.cpp:1873
GLenum writeTarget
Definition: glcorearb.h:1456
void APIENTRY glEnable(GLenum cap)
Definition: GteOpenGL.cpp:422
void APIENTRY glVertexAttribL4dv(GLuint index, const GLdouble *v)
Definition: GteOpenGL.cpp:7243
void APIENTRY glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
Definition: GteOpenGL.cpp:5641
GLint drawbuffer
Definition: glcorearb.h:1270
void APIENTRY glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:3183
void APIENTRY glProgramUniform2dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
Definition: GteOpenGL.cpp:6645
void APIENTRY glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
Definition: GteOpenGL.cpp:6996
GLenum dfactorRGB
Definition: glcorearb.h:592
void APIENTRY glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
Definition: GteOpenGL.cpp:5719
void APIENTRY glGetTextureParameteriv(GLuint texture, GLenum pname, GLint *params)
Definition: GteOpenGL.cpp:9622
GLsizei levels
Definition: glcorearb.h:2219
uint64_t GLuint64EXT
Definition: glcorearb.h:2905


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:58