Warning: That file was not part of the compilation database. It may have many parsing errors.

1#ifndef __gles2_gl2ext_h_
2#define __gles2_gl2ext_h_ 1
3
4#if 0
5#pragma qt_no_master_include
6#pragma qt_sync_skip_header_check
7#pragma qt_sync_stop_processing
8#endif
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#ifndef __gl3_h_
15/* These types are defined with reference to <inttypes.h>
16 * in the Apple extension spec, but here we use the Khronos
17 * portable types in khrplatform.h, and assume those types
18 * are always defined.
19 * If any other extensions using these types are defined,
20 * the typedefs must move out of this block and be shared.
21 */
22typedef khronos_int64_t GLint64;
23typedef khronos_uint64_t GLuint64;
24typedef struct __GLsync *GLsync;
25#endif
26
27/*
28** Copyright (c) 2013-2018 The Khronos Group Inc.
29**
30** Permission is hereby granted, free of charge, to any person obtaining a
31** copy of this software and/or associated documentation files (the
32** "Materials"), to deal in the Materials without restriction, including
33** without limitation the rights to use, copy, modify, merge, publish,
34** distribute, sublicense, and/or sell copies of the Materials, and to
35** permit persons to whom the Materials are furnished to do so, subject to
36** the following conditions:
37**
38** The above copyright notice and this permission notice shall be included
39** in all copies or substantial portions of the Materials.
40**
41** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
42** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
43** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
44** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
45** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
46** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
47** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
48*/
49/*
50** This header is generated from the Khronos OpenGL / OpenGL ES XML
51** API Registry. The current version of the Registry, generator scripts
52** used to make the header, and the header can be found at
53** https://github.com/KhronosGroup/OpenGL-Registry
54*/
55
56#ifndef GL_APIENTRYP
57#define GL_APIENTRYP GL_APIENTRY*
58#endif
59
60/* Generated on date 20190228 */
61
62/* Generated C header for:
63 * API: gles2
64 * Profile: common
65 * Versions considered: 2\.[0-9]
66 * Versions emitted: _nomatch_^
67 * Default extensions included: gles2
68 * Additional extensions included: _nomatch_^
69 * Extensions removed: _nomatch_^
70 */
71
72#ifndef GL_KHR_blend_equation_advanced
73#define GL_KHR_blend_equation_advanced 1
74#define GL_MULTIPLY_KHR 0x9294
75#define GL_SCREEN_KHR 0x9295
76#define GL_OVERLAY_KHR 0x9296
77#define GL_DARKEN_KHR 0x9297
78#define GL_LIGHTEN_KHR 0x9298
79#define GL_COLORDODGE_KHR 0x9299
80#define GL_COLORBURN_KHR 0x929A
81#define GL_HARDLIGHT_KHR 0x929B
82#define GL_SOFTLIGHT_KHR 0x929C
83#define GL_DIFFERENCE_KHR 0x929E
84#define GL_EXCLUSION_KHR 0x92A0
85#define GL_HSL_HUE_KHR 0x92AD
86#define GL_HSL_SATURATION_KHR 0x92AE
87#define GL_HSL_COLOR_KHR 0x92AF
88#define GL_HSL_LUMINOSITY_KHR 0x92B0
89typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
90#ifdef GL_GLEXT_PROTOTYPES
91GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void);
92#endif
93#endif /* GL_KHR_blend_equation_advanced */
94
95#ifndef GL_KHR_blend_equation_advanced_coherent
96#define GL_KHR_blend_equation_advanced_coherent 1
97#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
98#endif /* GL_KHR_blend_equation_advanced_coherent */
99
100#ifndef GL_KHR_context_flush_control
101#define GL_KHR_context_flush_control 1
102#define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB
103#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC
104#endif /* GL_KHR_context_flush_control */
105
106#ifndef GL_KHR_debug
107#define GL_KHR_debug 1
108typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
109#define GL_SAMPLER 0x82E6
110#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242
111#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243
112#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244
113#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245
114#define GL_DEBUG_SOURCE_API_KHR 0x8246
115#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247
116#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248
117#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249
118#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A
119#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B
120#define GL_DEBUG_TYPE_ERROR_KHR 0x824C
121#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D
122#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E
123#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F
124#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250
125#define GL_DEBUG_TYPE_OTHER_KHR 0x8251
126#define GL_DEBUG_TYPE_MARKER_KHR 0x8268
127#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269
128#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A
129#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B
130#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C
131#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D
132#define GL_BUFFER_KHR 0x82E0
133#define GL_SHADER_KHR 0x82E1
134#define GL_PROGRAM_KHR 0x82E2
135#define GL_VERTEX_ARRAY_KHR 0x8074
136#define GL_QUERY_KHR 0x82E3
137#define GL_PROGRAM_PIPELINE_KHR 0x82E4
138#define GL_SAMPLER_KHR 0x82E6
139#define GL_MAX_LABEL_LENGTH_KHR 0x82E8
140#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143
141#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144
142#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145
143#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146
144#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147
145#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148
146#define GL_DEBUG_OUTPUT_KHR 0x92E0
147#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002
148#define GL_STACK_OVERFLOW_KHR 0x0503
149#define GL_STACK_UNDERFLOW_KHR 0x0504
150typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
151typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
152typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam);
153typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
154typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
155typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
156typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
157typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
158typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label);
159typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
160typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params);
161#ifdef GL_GLEXT_PROTOTYPES
162GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
163GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
164GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam);
165GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
166GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message);
167GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
168GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
169GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
170GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label);
171GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
172GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params);
173#endif
174#endif /* GL_KHR_debug */
175
176#ifndef GL_KHR_no_error
177#define GL_KHR_no_error 1
178#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
179#endif /* GL_KHR_no_error */
180
181#ifndef GL_KHR_parallel_shader_compile
182#define GL_KHR_parallel_shader_compile 1
183#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
184#define GL_COMPLETION_STATUS_KHR 0x91B1
185typedef void (GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
186#ifdef GL_GLEXT_PROTOTYPES
187GL_APICALL void GL_APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
188#endif
189#endif /* GL_KHR_parallel_shader_compile */
190
191#ifndef GL_KHR_robust_buffer_access_behavior
192#define GL_KHR_robust_buffer_access_behavior 1
193#endif /* GL_KHR_robust_buffer_access_behavior */
194
195#ifndef GL_KHR_robustness
196#define GL_KHR_robustness 1
197#define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3
198#define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252
199#define GL_GUILTY_CONTEXT_RESET_KHR 0x8253
200#define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254
201#define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255
202#define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256
203#define GL_NO_RESET_NOTIFICATION_KHR 0x8261
204#define GL_CONTEXT_LOST_KHR 0x0507
205typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void);
206typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
207typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
208typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
209typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
210#ifdef GL_GLEXT_PROTOTYPES
211GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void);
212GL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
213GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
214GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params);
215GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
216#endif
217#endif /* GL_KHR_robustness */
218
219#ifndef GL_KHR_texture_compression_astc_hdr
220#define GL_KHR_texture_compression_astc_hdr 1
221#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
222#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
223#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
224#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
225#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
226#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
227#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
228#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
229#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
230#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
231#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
232#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
233#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
234#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
235#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
236#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
237#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
238#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
239#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
240#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
241#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
242#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
243#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
244#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
245#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
246#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
247#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
248#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
249#endif /* GL_KHR_texture_compression_astc_hdr */
250
251#ifndef GL_KHR_texture_compression_astc_ldr
252#define GL_KHR_texture_compression_astc_ldr 1
253#endif /* GL_KHR_texture_compression_astc_ldr */
254
255#ifndef GL_KHR_texture_compression_astc_sliced_3d
256#define GL_KHR_texture_compression_astc_sliced_3d 1
257#endif /* GL_KHR_texture_compression_astc_sliced_3d */
258
259#ifndef GL_OES_EGL_image
260#define GL_OES_EGL_image 1
261typedef void *GLeglImageOES;
262typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
263typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
264#ifdef GL_GLEXT_PROTOTYPES
265GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
266GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
267#endif
268#endif /* GL_OES_EGL_image */
269
270#ifndef GL_OES_EGL_image_external
271#define GL_OES_EGL_image_external 1
272#define GL_TEXTURE_EXTERNAL_OES 0x8D65
273#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
274#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
275#define GL_SAMPLER_EXTERNAL_OES 0x8D66
276#endif /* GL_OES_EGL_image_external */
277
278#ifndef GL_OES_EGL_image_external_essl3
279#define GL_OES_EGL_image_external_essl3 1
280#endif /* GL_OES_EGL_image_external_essl3 */
281
282#ifndef GL_OES_compressed_ETC1_RGB8_sub_texture
283#define GL_OES_compressed_ETC1_RGB8_sub_texture 1
284#endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */
285
286#ifndef GL_OES_compressed_ETC1_RGB8_texture
287#define GL_OES_compressed_ETC1_RGB8_texture 1
288#define GL_ETC1_RGB8_OES 0x8D64
289#endif /* GL_OES_compressed_ETC1_RGB8_texture */
290
291#ifndef GL_OES_compressed_paletted_texture
292#define GL_OES_compressed_paletted_texture 1
293#define GL_PALETTE4_RGB8_OES 0x8B90
294#define GL_PALETTE4_RGBA8_OES 0x8B91
295#define GL_PALETTE4_R5_G6_B5_OES 0x8B92
296#define GL_PALETTE4_RGBA4_OES 0x8B93
297#define GL_PALETTE4_RGB5_A1_OES 0x8B94
298#define GL_PALETTE8_RGB8_OES 0x8B95
299#define GL_PALETTE8_RGBA8_OES 0x8B96
300#define GL_PALETTE8_R5_G6_B5_OES 0x8B97
301#define GL_PALETTE8_RGBA4_OES 0x8B98
302#define GL_PALETTE8_RGB5_A1_OES 0x8B99
303#endif /* GL_OES_compressed_paletted_texture */
304
305#ifndef GL_OES_copy_image
306#define GL_OES_copy_image 1
307typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESPROC) (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);
308#ifdef GL_GLEXT_PROTOTYPES
309GL_APICALL void GL_APIENTRY glCopyImageSubDataOES (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);
310#endif
311#endif /* GL_OES_copy_image */
312
313#ifndef GL_OES_depth24
314#define GL_OES_depth24 1
315#define GL_DEPTH_COMPONENT24_OES 0x81A6
316#endif /* GL_OES_depth24 */
317
318#ifndef GL_OES_depth32
319#define GL_OES_depth32 1
320#define GL_DEPTH_COMPONENT32_OES 0x81A7
321#endif /* GL_OES_depth32 */
322
323#ifndef GL_OES_depth_texture
324#define GL_OES_depth_texture 1
325#endif /* GL_OES_depth_texture */
326
327#ifndef GL_OES_draw_buffers_indexed
328#define GL_OES_draw_buffers_indexed 1
329#define GL_MIN 0x8007
330#define GL_MAX 0x8008
331typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index);
332typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index);
333typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode);
334typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
335typedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst);
336typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
337typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
338typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index);
339#ifdef GL_GLEXT_PROTOTYPES
340GL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index);
341GL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index);
342GL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode);
343GL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
344GL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst);
345GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
346GL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
347GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index);
348#endif
349#endif /* GL_OES_draw_buffers_indexed */
350
351#ifndef GL_OES_draw_elements_base_vertex
352#define GL_OES_draw_elements_base_vertex 1
353typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
354typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
355typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
356typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
357#ifdef GL_GLEXT_PROTOTYPES
358GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
359GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
360GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
361GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
362#endif
363#endif /* GL_OES_draw_elements_base_vertex */
364
365#ifndef GL_OES_element_index_uint
366#define GL_OES_element_index_uint 1
367#endif /* GL_OES_element_index_uint */
368
369#ifndef GL_OES_fbo_render_mipmap
370#define GL_OES_fbo_render_mipmap 1
371#endif /* GL_OES_fbo_render_mipmap */
372
373#ifndef GL_OES_fragment_precision_high
374#define GL_OES_fragment_precision_high 1
375#endif /* GL_OES_fragment_precision_high */
376
377#ifndef GL_OES_geometry_point_size
378#define GL_OES_geometry_point_size 1
379#endif /* GL_OES_geometry_point_size */
380
381#ifndef GL_OES_geometry_shader
382#define GL_OES_geometry_shader 1
383#define GL_GEOMETRY_SHADER_OES 0x8DD9
384#define GL_GEOMETRY_SHADER_BIT_OES 0x00000004
385#define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916
386#define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917
387#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918
388#define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F
389#define GL_LAYER_PROVOKING_VERTEX_OES 0x825E
390#define GL_LINES_ADJACENCY_OES 0x000A
391#define GL_LINE_STRIP_ADJACENCY_OES 0x000B
392#define GL_TRIANGLES_ADJACENCY_OES 0x000C
393#define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D
394#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF
395#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C
396#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32
397#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123
398#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124
399#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0
400#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1
401#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A
402#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29
403#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF
404#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5
405#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD
406#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7
407#define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D
408#define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E
409#define GL_UNDEFINED_VERTEX_OES 0x8260
410#define GL_PRIMITIVES_GENERATED_OES 0x8C87
411#define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312
412#define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317
413#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8
414#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7
415#define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309
416typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
417#ifdef GL_GLEXT_PROTOTYPES
418GL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level);
419#endif
420#endif /* GL_OES_geometry_shader */
421
422#ifndef GL_OES_get_program_binary
423#define GL_OES_get_program_binary 1
424#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
425#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
426#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
427typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
428typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
429#ifdef GL_GLEXT_PROTOTYPES
430GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
431GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
432#endif
433#endif /* GL_OES_get_program_binary */
434
435#ifndef GL_OES_gpu_shader5
436#define GL_OES_gpu_shader5 1
437#endif /* GL_OES_gpu_shader5 */
438
439#ifndef GL_OES_mapbuffer
440#define GL_OES_mapbuffer 1
441#define GL_WRITE_ONLY_OES 0x88B9
442#define GL_BUFFER_ACCESS_OES 0x88BB
443#define GL_BUFFER_MAPPED_OES 0x88BC
444#define GL_BUFFER_MAP_POINTER_OES 0x88BD
445typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
446typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
447typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params);
448#ifdef GL_GLEXT_PROTOTYPES
449GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
450GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
451GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params);
452#endif
453#endif /* GL_OES_mapbuffer */
454
455#ifndef GL_OES_packed_depth_stencil
456#define GL_OES_packed_depth_stencil 1
457#define GL_DEPTH_STENCIL_OES 0x84F9
458#define GL_UNSIGNED_INT_24_8_OES 0x84FA
459#define GL_DEPTH24_STENCIL8_OES 0x88F0
460#endif /* GL_OES_packed_depth_stencil */
461
462#ifndef GL_OES_primitive_bounding_box
463#define GL_OES_primitive_bounding_box 1
464#define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE
465typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
466#ifdef GL_GLEXT_PROTOTYPES
467GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
468#endif
469#endif /* GL_OES_primitive_bounding_box */
470
471#ifndef GL_OES_required_internalformat
472#define GL_OES_required_internalformat 1
473#define GL_ALPHA8_OES 0x803C
474#define GL_DEPTH_COMPONENT16_OES 0x81A5
475#define GL_LUMINANCE4_ALPHA4_OES 0x8043
476#define GL_LUMINANCE8_ALPHA8_OES 0x8045
477#define GL_LUMINANCE8_OES 0x8040
478#define GL_RGBA4_OES 0x8056
479#define GL_RGB5_A1_OES 0x8057
480#define GL_RGB565_OES 0x8D62
481#define GL_RGB8_OES 0x8051
482#define GL_RGBA8_OES 0x8058
483#define GL_RGB10_EXT 0x8052
484#define GL_RGB10_A2_EXT 0x8059
485#endif /* GL_OES_required_internalformat */
486
487#ifndef GL_OES_rgb8_rgba8
488#define GL_OES_rgb8_rgba8 1
489#endif /* GL_OES_rgb8_rgba8 */
490
491#ifndef GL_OES_sample_shading
492#define GL_OES_sample_shading 1
493#define GL_SAMPLE_SHADING_OES 0x8C36
494#define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37
495typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value);
496#ifdef GL_GLEXT_PROTOTYPES
497GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value);
498#endif
499#endif /* GL_OES_sample_shading */
500
501#ifndef GL_OES_sample_variables
502#define GL_OES_sample_variables 1
503#endif /* GL_OES_sample_variables */
504
505#ifndef GL_OES_shader_image_atomic
506#define GL_OES_shader_image_atomic 1
507#endif /* GL_OES_shader_image_atomic */
508
509#ifndef GL_OES_shader_io_blocks
510#define GL_OES_shader_io_blocks 1
511#endif /* GL_OES_shader_io_blocks */
512
513#ifndef GL_OES_shader_multisample_interpolation
514#define GL_OES_shader_multisample_interpolation 1
515#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B
516#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C
517#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D
518#endif /* GL_OES_shader_multisample_interpolation */
519
520#ifndef GL_OES_standard_derivatives
521#define GL_OES_standard_derivatives 1
522#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
523#endif /* GL_OES_standard_derivatives */
524
525#ifndef GL_OES_stencil1
526#define GL_OES_stencil1 1
527#define GL_STENCIL_INDEX1_OES 0x8D46
528#endif /* GL_OES_stencil1 */
529
530#ifndef GL_OES_stencil4
531#define GL_OES_stencil4 1
532#define GL_STENCIL_INDEX4_OES 0x8D47
533#endif /* GL_OES_stencil4 */
534
535#ifndef GL_OES_surfaceless_context
536#define GL_OES_surfaceless_context 1
537#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
538#endif /* GL_OES_surfaceless_context */
539
540#ifndef GL_OES_tessellation_point_size
541#define GL_OES_tessellation_point_size 1
542#endif /* GL_OES_tessellation_point_size */
543
544#ifndef GL_OES_tessellation_shader
545#define GL_OES_tessellation_shader 1
546#define GL_PATCHES_OES 0x000E
547#define GL_PATCH_VERTICES_OES 0x8E72
548#define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75
549#define GL_TESS_GEN_MODE_OES 0x8E76
550#define GL_TESS_GEN_SPACING_OES 0x8E77
551#define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78
552#define GL_TESS_GEN_POINT_MODE_OES 0x8E79
553#define GL_ISOLINES_OES 0x8E7A
554#define GL_QUADS_OES 0x0007
555#define GL_FRACTIONAL_ODD_OES 0x8E7B
556#define GL_FRACTIONAL_EVEN_OES 0x8E7C
557#define GL_MAX_PATCH_VERTICES_OES 0x8E7D
558#define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E
559#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F
560#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80
561#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81
562#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82
563#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83
564#define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84
565#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85
566#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86
567#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89
568#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A
569#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C
570#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D
571#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E
572#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F
573#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD
574#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE
575#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3
576#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4
577#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB
578#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC
579#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8
580#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9
581#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221
582#define GL_IS_PER_PATCH_OES 0x92E7
583#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307
584#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308
585#define GL_TESS_CONTROL_SHADER_OES 0x8E88
586#define GL_TESS_EVALUATION_SHADER_OES 0x8E87
587#define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008
588#define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010
589typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value);
590#ifdef GL_GLEXT_PROTOTYPES
591GL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value);
592#endif
593#endif /* GL_OES_tessellation_shader */
594
595#ifndef GL_OES_texture_3D
596#define GL_OES_texture_3D 1
597#define GL_TEXTURE_WRAP_R_OES 0x8072
598#define GL_TEXTURE_3D_OES 0x806F
599#define GL_TEXTURE_BINDING_3D_OES 0x806A
600#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
601#define GL_SAMPLER_3D_OES 0x8B5F
602#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
603typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
604typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
605typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
606typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
607typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
608typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
609#ifdef GL_GLEXT_PROTOTYPES
610GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
611GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
612GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
613GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
614GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
615GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
616#endif
617#endif /* GL_OES_texture_3D */
618
619#ifndef GL_OES_texture_border_clamp
620#define GL_OES_texture_border_clamp 1
621#define GL_TEXTURE_BORDER_COLOR_OES 0x1004
622#define GL_CLAMP_TO_BORDER_OES 0x812D
623typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params);
624typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params);
625typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params);
626typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params);
627typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param);
628typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param);
629typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params);
630typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params);
631#ifdef GL_GLEXT_PROTOTYPES
632GL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params);
633GL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params);
634GL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params);
635GL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params);
636GL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param);
637GL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param);
638GL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params);
639GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params);
640#endif
641#endif /* GL_OES_texture_border_clamp */
642
643#ifndef GL_OES_texture_buffer
644#define GL_OES_texture_buffer 1
645#define GL_TEXTURE_BUFFER_OES 0x8C2A
646#define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A
647#define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B
648#define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C
649#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D
650#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F
651#define GL_SAMPLER_BUFFER_OES 0x8DC2
652#define GL_INT_SAMPLER_BUFFER_OES 0x8DD0
653#define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8
654#define GL_IMAGE_BUFFER_OES 0x9051
655#define GL_INT_IMAGE_BUFFER_OES 0x905C
656#define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067
657#define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D
658#define GL_TEXTURE_BUFFER_SIZE_OES 0x919E
659typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
660typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
661#ifdef GL_GLEXT_PROTOTYPES
662GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
663GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
664#endif
665#endif /* GL_OES_texture_buffer */
666
667#ifndef GL_OES_texture_compression_astc
668#define GL_OES_texture_compression_astc 1
669#define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0
670#define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1
671#define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2
672#define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3
673#define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4
674#define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5
675#define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6
676#define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7
677#define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8
678#define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9
679#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0
680#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1
681#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2
682#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3
683#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4
684#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5
685#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6
686#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7
687#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8
688#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9
689#endif /* GL_OES_texture_compression_astc */
690
691#ifndef GL_OES_texture_cube_map_array
692#define GL_OES_texture_cube_map_array 1
693#define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009
694#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A
695#define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C
696#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D
697#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E
698#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F
699#define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054
700#define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F
701#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A
702#endif /* GL_OES_texture_cube_map_array */
703
704#ifndef GL_OES_texture_float
705#define GL_OES_texture_float 1
706#endif /* GL_OES_texture_float */
707
708#ifndef GL_OES_texture_float_linear
709#define GL_OES_texture_float_linear 1
710#endif /* GL_OES_texture_float_linear */
711
712#ifndef GL_OES_texture_half_float
713#define GL_OES_texture_half_float 1
714#define GL_HALF_FLOAT_OES 0x8D61
715#endif /* GL_OES_texture_half_float */
716
717#ifndef GL_OES_texture_half_float_linear
718#define GL_OES_texture_half_float_linear 1
719#endif /* GL_OES_texture_half_float_linear */
720
721#ifndef GL_OES_texture_npot
722#define GL_OES_texture_npot 1
723#endif /* GL_OES_texture_npot */
724
725#ifndef GL_OES_texture_stencil8
726#define GL_OES_texture_stencil8 1
727#define GL_STENCIL_INDEX_OES 0x1901
728#define GL_STENCIL_INDEX8_OES 0x8D48
729#endif /* GL_OES_texture_stencil8 */
730
731#ifndef GL_OES_texture_storage_multisample_2d_array
732#define GL_OES_texture_storage_multisample_2d_array 1
733#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102
734#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105
735#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B
736#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C
737#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D
738typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
739#ifdef GL_GLEXT_PROTOTYPES
740GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
741#endif
742#endif /* GL_OES_texture_storage_multisample_2d_array */
743
744#ifndef GL_OES_texture_view
745#define GL_OES_texture_view 1
746#define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB
747#define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC
748#define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD
749#define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE
750#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
751typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
752#ifdef GL_GLEXT_PROTOTYPES
753GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
754#endif
755#endif /* GL_OES_texture_view */
756
757#ifndef GL_OES_vertex_array_object
758#define GL_OES_vertex_array_object 1
759#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
760typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
761typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
762typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
763typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
764#ifdef GL_GLEXT_PROTOTYPES
765GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
766GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
767GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
768GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
769#endif
770#endif /* GL_OES_vertex_array_object */
771
772#ifndef GL_OES_vertex_half_float
773#define GL_OES_vertex_half_float 1
774#endif /* GL_OES_vertex_half_float */
775
776#ifndef GL_OES_vertex_type_10_10_10_2
777#define GL_OES_vertex_type_10_10_10_2 1
778#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
779#define GL_INT_10_10_10_2_OES 0x8DF7
780#endif /* GL_OES_vertex_type_10_10_10_2 */
781
782#ifndef GL_OES_viewport_array
783#define GL_OES_viewport_array 1
784#define GL_MAX_VIEWPORTS_OES 0x825B
785#define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C
786#define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D
787#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F
788typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) (GLuint first, GLsizei count, const GLfloat *v);
789typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
790typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) (GLuint index, const GLfloat *v);
791typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) (GLuint first, GLsizei count, const GLint *v);
792typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
793typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) (GLuint index, const GLint *v);
794typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) (GLuint first, GLsizei count, const GLfloat *v);
795typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) (GLuint index, GLfloat n, GLfloat f);
796typedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) (GLenum target, GLuint index, GLfloat *data);
797#ifdef GL_GLEXT_PROTOTYPES
798GL_APICALL void GL_APIENTRY glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat *v);
799GL_APICALL void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
800GL_APICALL void GL_APIENTRY glViewportIndexedfvOES (GLuint index, const GLfloat *v);
801GL_APICALL void GL_APIENTRY glScissorArrayvOES (GLuint first, GLsizei count, const GLint *v);
802GL_APICALL void GL_APIENTRY glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
803GL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v);
804GL_APICALL void GL_APIENTRY glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v);
805GL_APICALL void GL_APIENTRY glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f);
806GL_APICALL void GL_APIENTRY glGetFloati_vOES (GLenum target, GLuint index, GLfloat *data);
807#endif
808#endif /* GL_OES_viewport_array */
809
810#ifndef GL_AMD_compressed_3DC_texture
811#define GL_AMD_compressed_3DC_texture 1
812#define GL_3DC_X_AMD 0x87F9
813#define GL_3DC_XY_AMD 0x87FA
814#endif /* GL_AMD_compressed_3DC_texture */
815
816#ifndef GL_AMD_compressed_ATC_texture
817#define GL_AMD_compressed_ATC_texture 1
818#define GL_ATC_RGB_AMD 0x8C92
819#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
820#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
821#endif /* GL_AMD_compressed_ATC_texture */
822
823#ifndef GL_AMD_framebuffer_multisample_advanced
824#define GL_AMD_framebuffer_multisample_advanced 1
825#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
826#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
827#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
828#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
829#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
830#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
831typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
832typedef void (GL_APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
833#ifdef GL_GLEXT_PROTOTYPES
834GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
835GL_APICALL void GL_APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
836#endif
837#endif /* GL_AMD_framebuffer_multisample_advanced */
838
839#ifndef GL_AMD_performance_monitor
840#define GL_AMD_performance_monitor 1
841#define GL_COUNTER_TYPE_AMD 0x8BC0
842#define GL_COUNTER_RANGE_AMD 0x8BC1
843#define GL_UNSIGNED_INT64_AMD 0x8BC2
844#define GL_PERCENTAGE_AMD 0x8BC3
845#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
846#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
847#define GL_PERFMON_RESULT_AMD 0x8BC6
848typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
849typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
850typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
851typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
852typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
853typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
854typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
855typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
856typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
857typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
858typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
859#ifdef GL_GLEXT_PROTOTYPES
860GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
861GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
862GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
863GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
864GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
865GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
866GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
867GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
868GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
869GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
870GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
871#endif
872#endif /* GL_AMD_performance_monitor */
873
874#ifndef GL_AMD_program_binary_Z400
875#define GL_AMD_program_binary_Z400 1
876#define GL_Z400_BINARY_AMD 0x8740
877#endif /* GL_AMD_program_binary_Z400 */
878
879#ifndef GL_ANDROID_extension_pack_es31a
880#define GL_ANDROID_extension_pack_es31a 1
881#endif /* GL_ANDROID_extension_pack_es31a */
882
883#ifndef GL_ANGLE_depth_texture
884#define GL_ANGLE_depth_texture 1
885#endif /* GL_ANGLE_depth_texture */
886
887#ifndef GL_ANGLE_framebuffer_blit
888#define GL_ANGLE_framebuffer_blit 1
889#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
890#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
891#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
892#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
893typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
894#ifdef GL_GLEXT_PROTOTYPES
895GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
896#endif
897#endif /* GL_ANGLE_framebuffer_blit */
898
899#ifndef GL_ANGLE_framebuffer_multisample
900#define GL_ANGLE_framebuffer_multisample 1
901#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
902#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
903#define GL_MAX_SAMPLES_ANGLE 0x8D57
904typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
905#ifdef GL_GLEXT_PROTOTYPES
906GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
907#endif
908#endif /* GL_ANGLE_framebuffer_multisample */
909
910#ifndef GL_ANGLE_instanced_arrays
911#define GL_ANGLE_instanced_arrays 1
912#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
913typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
914typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
915typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
916#ifdef GL_GLEXT_PROTOTYPES
917GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
918GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
919GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
920#endif
921#endif /* GL_ANGLE_instanced_arrays */
922
923#ifndef GL_ANGLE_pack_reverse_row_order
924#define GL_ANGLE_pack_reverse_row_order 1
925#define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
926#endif /* GL_ANGLE_pack_reverse_row_order */
927
928#ifndef GL_ANGLE_program_binary
929#define GL_ANGLE_program_binary 1
930#define GL_PROGRAM_BINARY_ANGLE 0x93A6
931#endif /* GL_ANGLE_program_binary */
932
933#ifndef GL_ANGLE_texture_compression_dxt3
934#define GL_ANGLE_texture_compression_dxt3 1
935#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
936#endif /* GL_ANGLE_texture_compression_dxt3 */
937
938#ifndef GL_ANGLE_texture_compression_dxt5
939#define GL_ANGLE_texture_compression_dxt5 1
940#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
941#endif /* GL_ANGLE_texture_compression_dxt5 */
942
943#ifndef GL_ANGLE_texture_usage
944#define GL_ANGLE_texture_usage 1
945#define GL_TEXTURE_USAGE_ANGLE 0x93A2
946#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
947#endif /* GL_ANGLE_texture_usage */
948
949#ifndef GL_ANGLE_translated_shader_source
950#define GL_ANGLE_translated_shader_source 1
951#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
952typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
953#ifdef GL_GLEXT_PROTOTYPES
954GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
955#endif
956#endif /* GL_ANGLE_translated_shader_source */
957
958#ifndef GL_APPLE_clip_distance
959#define GL_APPLE_clip_distance 1
960#define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32
961#define GL_CLIP_DISTANCE0_APPLE 0x3000
962#define GL_CLIP_DISTANCE1_APPLE 0x3001
963#define GL_CLIP_DISTANCE2_APPLE 0x3002
964#define GL_CLIP_DISTANCE3_APPLE 0x3003
965#define GL_CLIP_DISTANCE4_APPLE 0x3004
966#define GL_CLIP_DISTANCE5_APPLE 0x3005
967#define GL_CLIP_DISTANCE6_APPLE 0x3006
968#define GL_CLIP_DISTANCE7_APPLE 0x3007
969#endif /* GL_APPLE_clip_distance */
970
971#ifndef GL_APPLE_color_buffer_packed_float
972#define GL_APPLE_color_buffer_packed_float 1
973#endif /* GL_APPLE_color_buffer_packed_float */
974
975#ifndef GL_APPLE_copy_texture_levels
976#define GL_APPLE_copy_texture_levels 1
977typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
978#ifdef GL_GLEXT_PROTOTYPES
979GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
980#endif
981#endif /* GL_APPLE_copy_texture_levels */
982
983#ifndef GL_APPLE_framebuffer_multisample
984#define GL_APPLE_framebuffer_multisample 1
985#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
986#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
987#define GL_MAX_SAMPLES_APPLE 0x8D57
988#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
989#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
990#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
991#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
992typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
993typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
994#ifdef GL_GLEXT_PROTOTYPES
995GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
996GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
997#endif
998#endif /* GL_APPLE_framebuffer_multisample */
999
1000#ifndef GL_APPLE_rgb_422
1001#define GL_APPLE_rgb_422 1
1002#define GL_RGB_422_APPLE 0x8A1F
1003#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
1004#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
1005#define GL_RGB_RAW_422_APPLE 0x8A51
1006#endif /* GL_APPLE_rgb_422 */
1007
1008#ifndef GL_APPLE_sync
1009#define GL_APPLE_sync 1
1010#define GL_SYNC_OBJECT_APPLE 0x8A53
1011#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111
1012#define GL_OBJECT_TYPE_APPLE 0x9112
1013#define GL_SYNC_CONDITION_APPLE 0x9113
1014#define GL_SYNC_STATUS_APPLE 0x9114
1015#define GL_SYNC_FLAGS_APPLE 0x9115
1016#define GL_SYNC_FENCE_APPLE 0x9116
1017#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
1018#define GL_UNSIGNALED_APPLE 0x9118
1019#define GL_SIGNALED_APPLE 0x9119
1020#define GL_ALREADY_SIGNALED_APPLE 0x911A
1021#define GL_TIMEOUT_EXPIRED_APPLE 0x911B
1022#define GL_CONDITION_SATISFIED_APPLE 0x911C
1023#define GL_WAIT_FAILED_APPLE 0x911D
1024#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001
1025#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull
1026typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
1027typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
1028typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
1029typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1030typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1031typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params);
1032typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1033#ifdef GL_GLEXT_PROTOTYPES
1034GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags);
1035GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
1036GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
1037GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
1038GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
1039GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params);
1040GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1041#endif
1042#endif /* GL_APPLE_sync */
1043
1044#ifndef GL_APPLE_texture_format_BGRA8888
1045#define GL_APPLE_texture_format_BGRA8888 1
1046#define GL_BGRA_EXT 0x80E1
1047#define GL_BGRA8_EXT 0x93A1
1048#endif /* GL_APPLE_texture_format_BGRA8888 */
1049
1050#ifndef GL_APPLE_texture_max_level
1051#define GL_APPLE_texture_max_level 1
1052#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
1053#endif /* GL_APPLE_texture_max_level */
1054
1055#ifndef GL_APPLE_texture_packed_float
1056#define GL_APPLE_texture_packed_float 1
1057#define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B
1058#define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E
1059#define GL_R11F_G11F_B10F_APPLE 0x8C3A
1060#define GL_RGB9_E5_APPLE 0x8C3D
1061#endif /* GL_APPLE_texture_packed_float */
1062
1063#ifndef GL_ARM_mali_program_binary
1064#define GL_ARM_mali_program_binary 1
1065#define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
1066#endif /* GL_ARM_mali_program_binary */
1067
1068#ifndef GL_ARM_mali_shader_binary
1069#define GL_ARM_mali_shader_binary 1
1070#define GL_MALI_SHADER_BINARY_ARM 0x8F60
1071#endif /* GL_ARM_mali_shader_binary */
1072
1073#ifndef GL_ARM_rgba8
1074#define GL_ARM_rgba8 1
1075#endif /* GL_ARM_rgba8 */
1076
1077#ifndef GL_ARM_shader_framebuffer_fetch
1078#define GL_ARM_shader_framebuffer_fetch 1
1079#define GL_FETCH_PER_SAMPLE_ARM 0x8F65
1080#define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66
1081#endif /* GL_ARM_shader_framebuffer_fetch */
1082
1083#ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil
1084#define GL_ARM_shader_framebuffer_fetch_depth_stencil 1
1085#endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */
1086
1087#ifndef GL_DMP_program_binary
1088#define GL_DMP_program_binary 1
1089#define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251
1090#define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252
1091#define GL_DMP_PROGRAM_BINARY_DMP 0x9253
1092#endif /* GL_DMP_program_binary */
1093
1094#ifndef GL_DMP_shader_binary
1095#define GL_DMP_shader_binary 1
1096#define GL_SHADER_BINARY_DMP 0x9250
1097#endif /* GL_DMP_shader_binary */
1098
1099#ifndef GL_EXT_EGL_image_array
1100#define GL_EXT_EGL_image_array 1
1101#endif /* GL_EXT_EGL_image_array */
1102
1103#ifndef GL_EXT_EGL_image_storage
1104#define GL_EXT_EGL_image_storage 1
1105typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
1106typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
1107#ifdef GL_GLEXT_PROTOTYPES
1108GL_APICALL void GL_APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
1109GL_APICALL void GL_APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
1110#endif
1111#endif /* GL_EXT_EGL_image_storage */
1112
1113#ifndef GL_EXT_YUV_target
1114#define GL_EXT_YUV_target 1
1115#define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7
1116#endif /* GL_EXT_YUV_target */
1117
1118#ifndef GL_EXT_base_instance
1119#define GL_EXT_base_instance 1
1120typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
1121typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
1122typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
1123#ifdef GL_GLEXT_PROTOTYPES
1124GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
1125GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
1126GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
1127#endif
1128#endif /* GL_EXT_base_instance */
1129
1130#ifndef GL_EXT_blend_func_extended
1131#define GL_EXT_blend_func_extended 1
1132#define GL_SRC1_COLOR_EXT 0x88F9
1133#define GL_SRC1_ALPHA_EXT 0x8589
1134#define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
1135#define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
1136#define GL_SRC_ALPHA_SATURATE_EXT 0x0308
1137#define GL_LOCATION_INDEX_EXT 0x930F
1138#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
1139typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1140typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
1141typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name);
1142typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name);
1143#ifdef GL_GLEXT_PROTOTYPES
1144GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1145GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
1146GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name);
1147GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name);
1148#endif
1149#endif /* GL_EXT_blend_func_extended */
1150
1151#ifndef GL_EXT_blend_minmax
1152#define GL_EXT_blend_minmax 1
1153#define GL_MIN_EXT 0x8007
1154#define GL_MAX_EXT 0x8008
1155#endif /* GL_EXT_blend_minmax */
1156
1157#ifndef GL_EXT_buffer_storage
1158#define GL_EXT_buffer_storage 1
1159#define GL_MAP_READ_BIT 0x0001
1160#define GL_MAP_WRITE_BIT 0x0002
1161#define GL_MAP_PERSISTENT_BIT_EXT 0x0040
1162#define GL_MAP_COHERENT_BIT_EXT 0x0080
1163#define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100
1164#define GL_CLIENT_STORAGE_BIT_EXT 0x0200
1165#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000
1166#define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F
1167#define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220
1168typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
1169#ifdef GL_GLEXT_PROTOTYPES
1170GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
1171#endif
1172#endif /* GL_EXT_buffer_storage */
1173
1174#ifndef GL_EXT_clear_texture
1175#define GL_EXT_clear_texture 1
1176typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
1177typedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
1178#ifdef GL_GLEXT_PROTOTYPES
1179GL_APICALL void GL_APIENTRY glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
1180GL_APICALL void GL_APIENTRY glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
1181#endif
1182#endif /* GL_EXT_clear_texture */
1183
1184#ifndef GL_EXT_clip_control
1185#define GL_EXT_clip_control 1
1186#define GL_LOWER_LEFT_EXT 0x8CA1
1187#define GL_UPPER_LEFT_EXT 0x8CA2
1188#define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E
1189#define GL_ZERO_TO_ONE_EXT 0x935F
1190#define GL_CLIP_ORIGIN_EXT 0x935C
1191#define GL_CLIP_DEPTH_MODE_EXT 0x935D
1192typedef void (GL_APIENTRYP PFNGLCLIPCONTROLEXTPROC) (GLenum origin, GLenum depth);
1193#ifdef GL_GLEXT_PROTOTYPES
1194GL_APICALL void GL_APIENTRY glClipControlEXT (GLenum origin, GLenum depth);
1195#endif
1196#endif /* GL_EXT_clip_control */
1197
1198#ifndef GL_EXT_clip_cull_distance
1199#define GL_EXT_clip_cull_distance 1
1200#define GL_MAX_CLIP_DISTANCES_EXT 0x0D32
1201#define GL_MAX_CULL_DISTANCES_EXT 0x82F9
1202#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA
1203#define GL_CLIP_DISTANCE0_EXT 0x3000
1204#define GL_CLIP_DISTANCE1_EXT 0x3001
1205#define GL_CLIP_DISTANCE2_EXT 0x3002
1206#define GL_CLIP_DISTANCE3_EXT 0x3003
1207#define GL_CLIP_DISTANCE4_EXT 0x3004
1208#define GL_CLIP_DISTANCE5_EXT 0x3005
1209#define GL_CLIP_DISTANCE6_EXT 0x3006
1210#define GL_CLIP_DISTANCE7_EXT 0x3007
1211#endif /* GL_EXT_clip_cull_distance */
1212
1213#ifndef GL_EXT_color_buffer_float
1214#define GL_EXT_color_buffer_float 1
1215#endif /* GL_EXT_color_buffer_float */
1216
1217#ifndef GL_EXT_color_buffer_half_float
1218#define GL_EXT_color_buffer_half_float 1
1219#define GL_RGBA16F_EXT 0x881A
1220#define GL_RGB16F_EXT 0x881B
1221#define GL_RG16F_EXT 0x822F
1222#define GL_R16F_EXT 0x822D
1223#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
1224#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
1225#endif /* GL_EXT_color_buffer_half_float */
1226
1227#ifndef GL_EXT_conservative_depth
1228#define GL_EXT_conservative_depth 1
1229#endif /* GL_EXT_conservative_depth */
1230
1231#ifndef GL_EXT_copy_image
1232#define GL_EXT_copy_image 1
1233typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (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);
1234#ifdef GL_GLEXT_PROTOTYPES
1235GL_APICALL void GL_APIENTRY glCopyImageSubDataEXT (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);
1236#endif
1237#endif /* GL_EXT_copy_image */
1238
1239#ifndef GL_EXT_debug_label
1240#define GL_EXT_debug_label 1
1241#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
1242#define GL_PROGRAM_OBJECT_EXT 0x8B40
1243#define GL_SHADER_OBJECT_EXT 0x8B48
1244#define GL_BUFFER_OBJECT_EXT 0x9151
1245#define GL_QUERY_OBJECT_EXT 0x9153
1246#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
1247#define GL_TRANSFORM_FEEDBACK 0x8E22
1248typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
1249typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
1250#ifdef GL_GLEXT_PROTOTYPES
1251GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
1252GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
1253#endif
1254#endif /* GL_EXT_debug_label */
1255
1256#ifndef GL_EXT_debug_marker
1257#define GL_EXT_debug_marker 1
1258typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1259typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1260typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
1261#ifdef GL_GLEXT_PROTOTYPES
1262GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
1263GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
1264GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);
1265#endif
1266#endif /* GL_EXT_debug_marker */
1267
1268#ifndef GL_EXT_depth_clamp
1269#define GL_EXT_depth_clamp 1
1270#define GL_DEPTH_CLAMP_EXT 0x864F
1271#endif /* GL_EXT_depth_clamp */
1272
1273#ifndef GL_EXT_discard_framebuffer
1274#define GL_EXT_discard_framebuffer 1
1275#define GL_COLOR_EXT 0x1800
1276#define GL_DEPTH_EXT 0x1801
1277#define GL_STENCIL_EXT 0x1802
1278typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
1279#ifdef GL_GLEXT_PROTOTYPES
1280GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
1281#endif
1282#endif /* GL_EXT_discard_framebuffer */
1283
1284#ifndef GL_EXT_disjoint_timer_query
1285#define GL_EXT_disjoint_timer_query 1
1286#define GL_QUERY_COUNTER_BITS_EXT 0x8864
1287#define GL_CURRENT_QUERY_EXT 0x8865
1288#define GL_QUERY_RESULT_EXT 0x8866
1289#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
1290#define GL_TIME_ELAPSED_EXT 0x88BF
1291#define GL_TIMESTAMP_EXT 0x8E28
1292#define GL_GPU_DISJOINT_EXT 0x8FBB
1293typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
1294typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids);
1295typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
1296typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
1297typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
1298typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
1299typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
1300typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params);
1301typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params);
1302typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
1303typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
1304#ifdef GL_GLEXT_PROTOTYPES
1305GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
1306GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
1307GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id);
1308GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id);
1309GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target);
1310GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target);
1311GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params);
1312GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params);
1313GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);
1314GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
1315GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
1316#endif
1317#endif /* GL_EXT_disjoint_timer_query */
1318
1319#ifndef GL_EXT_draw_buffers
1320#define GL_EXT_draw_buffers 1
1321#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
1322#define GL_MAX_DRAW_BUFFERS_EXT 0x8824
1323#define GL_DRAW_BUFFER0_EXT 0x8825
1324#define GL_DRAW_BUFFER1_EXT 0x8826
1325#define GL_DRAW_BUFFER2_EXT 0x8827
1326#define GL_DRAW_BUFFER3_EXT 0x8828
1327#define GL_DRAW_BUFFER4_EXT 0x8829
1328#define GL_DRAW_BUFFER5_EXT 0x882A
1329#define GL_DRAW_BUFFER6_EXT 0x882B
1330#define GL_DRAW_BUFFER7_EXT 0x882C
1331#define GL_DRAW_BUFFER8_EXT 0x882D
1332#define GL_DRAW_BUFFER9_EXT 0x882E
1333#define GL_DRAW_BUFFER10_EXT 0x882F
1334#define GL_DRAW_BUFFER11_EXT 0x8830
1335#define GL_DRAW_BUFFER12_EXT 0x8831
1336#define GL_DRAW_BUFFER13_EXT 0x8832
1337#define GL_DRAW_BUFFER14_EXT 0x8833
1338#define GL_DRAW_BUFFER15_EXT 0x8834
1339#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
1340#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
1341#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
1342#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
1343#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
1344#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
1345#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
1346#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
1347#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
1348#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
1349#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
1350#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
1351#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
1352#define GL_COLOR_ATTACHMENT13_EXT 0x8CED
1353#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
1354#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
1355typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
1356#ifdef GL_GLEXT_PROTOTYPES
1357GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
1358#endif
1359#endif /* GL_EXT_draw_buffers */
1360
1361#ifndef GL_EXT_draw_buffers_indexed
1362#define GL_EXT_draw_buffers_indexed 1
1363typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index);
1364typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index);
1365typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode);
1366typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1367typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst);
1368typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1369typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1370typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index);
1371#ifdef GL_GLEXT_PROTOTYPES
1372GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index);
1373GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index);
1374GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode);
1375GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1376GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst);
1377GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1378GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1379GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index);
1380#endif
1381#endif /* GL_EXT_draw_buffers_indexed */
1382
1383#ifndef GL_EXT_draw_elements_base_vertex
1384#define GL_EXT_draw_elements_base_vertex 1
1385typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1386typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1387typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1388#ifdef GL_GLEXT_PROTOTYPES
1389GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1390GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1391GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1392#endif
1393#endif /* GL_EXT_draw_elements_base_vertex */
1394
1395#ifndef GL_EXT_draw_instanced
1396#define GL_EXT_draw_instanced 1
1397typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1398typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1399#ifdef GL_GLEXT_PROTOTYPES
1400GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1401GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1402#endif
1403#endif /* GL_EXT_draw_instanced */
1404
1405#ifndef GL_EXT_draw_transform_feedback
1406#define GL_EXT_draw_transform_feedback 1
1407typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) (GLenum mode, GLuint id);
1408typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) (GLenum mode, GLuint id, GLsizei instancecount);
1409#ifdef GL_GLEXT_PROTOTYPES
1410GL_APICALL void GL_APIENTRY glDrawTransformFeedbackEXT (GLenum mode, GLuint id);
1411GL_APICALL void GL_APIENTRY glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount);
1412#endif
1413#endif /* GL_EXT_draw_transform_feedback */
1414
1415#ifndef GL_EXT_external_buffer
1416#define GL_EXT_external_buffer 1
1417typedef void *GLeglClientBufferEXT;
1418typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1419typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1420#ifdef GL_GLEXT_PROTOTYPES
1421GL_APICALL void GL_APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1422GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1423#endif
1424#endif /* GL_EXT_external_buffer */
1425
1426#ifndef GL_EXT_float_blend
1427#define GL_EXT_float_blend 1
1428#endif /* GL_EXT_float_blend */
1429
1430#ifndef GL_EXT_geometry_point_size
1431#define GL_EXT_geometry_point_size 1
1432#endif /* GL_EXT_geometry_point_size */
1433
1434#ifndef GL_EXT_geometry_shader
1435#define GL_EXT_geometry_shader 1
1436#define GL_GEOMETRY_SHADER_EXT 0x8DD9
1437#define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004
1438#define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916
1439#define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917
1440#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918
1441#define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F
1442#define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E
1443#define GL_LINES_ADJACENCY_EXT 0x000A
1444#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
1445#define GL_TRIANGLES_ADJACENCY_EXT 0x000C
1446#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
1447#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
1448#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C
1449#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32
1450#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123
1451#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124
1452#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
1453#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
1454#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A
1455#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
1456#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF
1457#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5
1458#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD
1459#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7
1460#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
1461#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
1462#define GL_UNDEFINED_VERTEX_EXT 0x8260
1463#define GL_PRIMITIVES_GENERATED_EXT 0x8C87
1464#define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312
1465#define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317
1466#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
1467#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
1468#define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309
1469typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1470#ifdef GL_GLEXT_PROTOTYPES
1471GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
1472#endif
1473#endif /* GL_EXT_geometry_shader */
1474
1475#ifndef GL_EXT_gpu_shader5
1476#define GL_EXT_gpu_shader5 1
1477#endif /* GL_EXT_gpu_shader5 */
1478
1479#ifndef GL_EXT_instanced_arrays
1480#define GL_EXT_instanced_arrays 1
1481#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE
1482typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor);
1483#ifdef GL_GLEXT_PROTOTYPES
1484GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor);
1485#endif
1486#endif /* GL_EXT_instanced_arrays */
1487
1488#ifndef GL_EXT_map_buffer_range
1489#define GL_EXT_map_buffer_range 1
1490#define GL_MAP_READ_BIT_EXT 0x0001
1491#define GL_MAP_WRITE_BIT_EXT 0x0002
1492#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
1493#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
1494#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
1495#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
1496typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1497typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1498#ifdef GL_GLEXT_PROTOTYPES
1499GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1500GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);
1501#endif
1502#endif /* GL_EXT_map_buffer_range */
1503
1504#ifndef GL_EXT_memory_object
1505#define GL_EXT_memory_object 1
1506#define GL_TEXTURE_TILING_EXT 0x9580
1507#define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
1508#define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
1509#define GL_NUM_TILING_TYPES_EXT 0x9582
1510#define GL_TILING_TYPES_EXT 0x9583
1511#define GL_OPTIMAL_TILING_EXT 0x9584
1512#define GL_LINEAR_TILING_EXT 0x9585
1513#define GL_NUM_DEVICE_UUIDS_EXT 0x9596
1514#define GL_DEVICE_UUID_EXT 0x9597
1515#define GL_DRIVER_UUID_EXT 0x9598
1516#define GL_UUID_SIZE_EXT 16
1517typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
1518typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
1519typedef void (GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
1520typedef GLboolean (GL_APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
1521typedef void (GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
1522typedef void (GL_APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
1523typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
1524typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1525typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1526typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1527typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1528typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
1529typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1530typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1531typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1532typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1533typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
1534#ifdef GL_GLEXT_PROTOTYPES
1535GL_APICALL void GL_APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
1536GL_APICALL void GL_APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
1537GL_APICALL void GL_APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
1538GL_APICALL GLboolean GL_APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
1539GL_APICALL void GL_APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
1540GL_APICALL void GL_APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
1541GL_APICALL void GL_APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
1542GL_APICALL void GL_APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1543GL_APICALL void GL_APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1544GL_APICALL void GL_APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1545GL_APICALL void GL_APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1546GL_APICALL void GL_APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
1547GL_APICALL void GL_APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1548GL_APICALL void GL_APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1549GL_APICALL void GL_APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1550GL_APICALL void GL_APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1551GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
1552#endif
1553#endif /* GL_EXT_memory_object */
1554
1555#ifndef GL_EXT_memory_object_fd
1556#define GL_EXT_memory_object_fd 1
1557#define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
1558typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
1559#ifdef GL_GLEXT_PROTOTYPES
1560GL_APICALL void GL_APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
1561#endif
1562#endif /* GL_EXT_memory_object_fd */
1563
1564#ifndef GL_EXT_memory_object_win32
1565#define GL_EXT_memory_object_win32 1
1566#define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
1567#define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
1568#define GL_DEVICE_LUID_EXT 0x9599
1569#define GL_DEVICE_NODE_MASK_EXT 0x959A
1570#define GL_LUID_SIZE_EXT 8
1571#define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
1572#define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
1573#define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
1574#define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
1575typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
1576typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
1577#ifdef GL_GLEXT_PROTOTYPES
1578GL_APICALL void GL_APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
1579GL_APICALL void GL_APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
1580#endif
1581#endif /* GL_EXT_memory_object_win32 */
1582
1583#ifndef GL_EXT_multi_draw_arrays
1584#define GL_EXT_multi_draw_arrays 1
1585typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1586typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
1587#ifdef GL_GLEXT_PROTOTYPES
1588GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1589GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
1590#endif
1591#endif /* GL_EXT_multi_draw_arrays */
1592
1593#ifndef GL_EXT_multi_draw_indirect
1594#define GL_EXT_multi_draw_indirect 1
1595typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
1596typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
1597#ifdef GL_GLEXT_PROTOTYPES
1598GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
1599GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
1600#endif
1601#endif /* GL_EXT_multi_draw_indirect */
1602
1603#ifndef GL_EXT_multisampled_compatibility
1604#define GL_EXT_multisampled_compatibility 1
1605#define GL_MULTISAMPLE_EXT 0x809D
1606#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1607#endif /* GL_EXT_multisampled_compatibility */
1608
1609#ifndef GL_EXT_multisampled_render_to_texture
1610#define GL_EXT_multisampled_render_to_texture 1
1611#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
1612#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
1613#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
1614#define GL_MAX_SAMPLES_EXT 0x8D57
1615typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1616typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1617#ifdef GL_GLEXT_PROTOTYPES
1618GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1619GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1620#endif
1621#endif /* GL_EXT_multisampled_render_to_texture */
1622
1623#ifndef GL_EXT_multiview_draw_buffers
1624#define GL_EXT_multiview_draw_buffers 1
1625#define GL_COLOR_ATTACHMENT_EXT 0x90F0
1626#define GL_MULTIVIEW_EXT 0x90F1
1627#define GL_DRAW_BUFFER_EXT 0x0C01
1628#define GL_READ_BUFFER_EXT 0x0C02
1629#define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
1630typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);
1631typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
1632typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data);
1633#ifdef GL_GLEXT_PROTOTYPES
1634GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);
1635GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
1636GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data);
1637#endif
1638#endif /* GL_EXT_multiview_draw_buffers */
1639
1640#ifndef GL_EXT_occlusion_query_boolean
1641#define GL_EXT_occlusion_query_boolean 1
1642#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
1643#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
1644#endif /* GL_EXT_occlusion_query_boolean */
1645
1646#ifndef GL_EXT_polygon_offset_clamp
1647#define GL_EXT_polygon_offset_clamp 1
1648#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
1649typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
1650#ifdef GL_GLEXT_PROTOTYPES
1651GL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
1652#endif
1653#endif /* GL_EXT_polygon_offset_clamp */
1654
1655#ifndef GL_EXT_post_depth_coverage
1656#define GL_EXT_post_depth_coverage 1
1657#endif /* GL_EXT_post_depth_coverage */
1658
1659#ifndef GL_EXT_primitive_bounding_box
1660#define GL_EXT_primitive_bounding_box 1
1661#define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE
1662typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
1663#ifdef GL_GLEXT_PROTOTYPES
1664GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
1665#endif
1666#endif /* GL_EXT_primitive_bounding_box */
1667
1668#ifndef GL_EXT_protected_textures
1669#define GL_EXT_protected_textures 1
1670#define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010
1671#define GL_TEXTURE_PROTECTED_EXT 0x8BFA
1672#endif /* GL_EXT_protected_textures */
1673
1674#ifndef GL_EXT_pvrtc_sRGB
1675#define GL_EXT_pvrtc_sRGB 1
1676#define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54
1677#define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55
1678#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56
1679#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57
1680#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0
1681#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1
1682#endif /* GL_EXT_pvrtc_sRGB */
1683
1684#ifndef GL_EXT_raster_multisample
1685#define GL_EXT_raster_multisample 1
1686#define GL_RASTER_MULTISAMPLE_EXT 0x9327
1687#define GL_RASTER_SAMPLES_EXT 0x9328
1688#define GL_MAX_RASTER_SAMPLES_EXT 0x9329
1689#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
1690#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
1691#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
1692typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
1693#ifdef GL_GLEXT_PROTOTYPES
1694GL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
1695#endif
1696#endif /* GL_EXT_raster_multisample */
1697
1698#ifndef GL_EXT_read_format_bgra
1699#define GL_EXT_read_format_bgra 1
1700#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
1701#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
1702#endif /* GL_EXT_read_format_bgra */
1703
1704#ifndef GL_EXT_render_snorm
1705#define GL_EXT_render_snorm 1
1706#define GL_R8_SNORM 0x8F94
1707#define GL_RG8_SNORM 0x8F95
1708#define GL_RGBA8_SNORM 0x8F97
1709#define GL_R16_SNORM_EXT 0x8F98
1710#define GL_RG16_SNORM_EXT 0x8F99
1711#define GL_RGBA16_SNORM_EXT 0x8F9B
1712#endif /* GL_EXT_render_snorm */
1713
1714#ifndef GL_EXT_robustness
1715#define GL_EXT_robustness 1
1716#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
1717#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
1718#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
1719#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
1720#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
1721#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
1722#define GL_NO_RESET_NOTIFICATION_EXT 0x8261
1723typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
1724typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1725typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1726typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
1727#ifdef GL_GLEXT_PROTOTYPES
1728GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
1729GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1730GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1731GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
1732#endif
1733#endif /* GL_EXT_robustness */
1734
1735#ifndef GL_EXT_sRGB
1736#define GL_EXT_sRGB 1
1737#define GL_SRGB_EXT 0x8C40
1738#define GL_SRGB_ALPHA_EXT 0x8C42
1739#define GL_SRGB8_ALPHA8_EXT 0x8C43
1740#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
1741#endif /* GL_EXT_sRGB */
1742
1743#ifndef GL_EXT_sRGB_write_control
1744#define GL_EXT_sRGB_write_control 1
1745#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
1746#endif /* GL_EXT_sRGB_write_control */
1747
1748#ifndef GL_EXT_semaphore
1749#define GL_EXT_semaphore 1
1750#define GL_LAYOUT_GENERAL_EXT 0x958D
1751#define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
1752#define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
1753#define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
1754#define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
1755#define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
1756#define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
1757#define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
1758#define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
1759typedef void (GL_APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
1760typedef void (GL_APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
1761typedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
1762typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
1763typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
1764typedef void (GL_APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
1765typedef void (GL_APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
1766#ifdef GL_GLEXT_PROTOTYPES
1767GL_APICALL void GL_APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
1768GL_APICALL void GL_APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
1769GL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXT (GLuint semaphore);
1770GL_APICALL void GL_APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
1771GL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
1772GL_APICALL void GL_APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
1773GL_APICALL void GL_APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
1774#endif
1775#endif /* GL_EXT_semaphore */
1776
1777#ifndef GL_EXT_semaphore_fd
1778#define GL_EXT_semaphore_fd 1
1779typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
1780#ifdef GL_GLEXT_PROTOTYPES
1781GL_APICALL void GL_APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
1782#endif
1783#endif /* GL_EXT_semaphore_fd */
1784
1785#ifndef GL_EXT_semaphore_win32
1786#define GL_EXT_semaphore_win32 1
1787#define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
1788#define GL_D3D12_FENCE_VALUE_EXT 0x9595
1789typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
1790typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
1791#ifdef GL_GLEXT_PROTOTYPES
1792GL_APICALL void GL_APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
1793GL_APICALL void GL_APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
1794#endif
1795#endif /* GL_EXT_semaphore_win32 */
1796
1797#ifndef GL_EXT_separate_shader_objects
1798#define GL_EXT_separate_shader_objects 1
1799#define GL_ACTIVE_PROGRAM_EXT 0x8259
1800#define GL_VERTEX_SHADER_BIT_EXT 0x00000001
1801#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
1802#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF
1803#define GL_PROGRAM_SEPARABLE_EXT 0x8258
1804#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A
1805typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program);
1806typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1807typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings);
1808typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines);
1809typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines);
1810typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1811typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params);
1812typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1813typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
1814typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
1815typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1816typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
1817typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1818typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1819typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1820typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1821typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1822typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1823typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1824typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1825typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1826typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1827typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1828typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1829typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1830typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1831typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1832typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1833typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1834typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1835typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
1836typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1837typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1838typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1839typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1840typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1841typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1842typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1843typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1844typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1845typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1846typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1847typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1848typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1849#ifdef GL_GLEXT_PROTOTYPES
1850GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program);
1851GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);
1852GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings);
1853GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines);
1854GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines);
1855GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1856GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params);
1857GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);
1858GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
1859GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
1860GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1861GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
1862GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1863GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1864GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1865GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
1866GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1867GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1868GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1869GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1870GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1871GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1872GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1873GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1874GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1875GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1876GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1877GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1878GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program);
1879GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);
1880GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
1881GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
1882GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1883GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1884GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1885GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1886GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1887GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1888GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1889GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1890GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1891GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1892GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1893GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1894#endif
1895#endif /* GL_EXT_separate_shader_objects */
1896
1897#ifndef GL_EXT_shader_framebuffer_fetch
1898#define GL_EXT_shader_framebuffer_fetch 1
1899#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
1900#endif /* GL_EXT_shader_framebuffer_fetch */
1901
1902#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
1903#define GL_EXT_shader_framebuffer_fetch_non_coherent 1
1904typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
1905#ifdef GL_GLEXT_PROTOTYPES
1906GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierEXT (void);
1907#endif
1908#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
1909
1910#ifndef GL_EXT_shader_group_vote
1911#define GL_EXT_shader_group_vote 1
1912#endif /* GL_EXT_shader_group_vote */
1913
1914#ifndef GL_EXT_shader_implicit_conversions
1915#define GL_EXT_shader_implicit_conversions 1
1916#endif /* GL_EXT_shader_implicit_conversions */
1917
1918#ifndef GL_EXT_shader_integer_mix
1919#define GL_EXT_shader_integer_mix 1
1920#endif /* GL_EXT_shader_integer_mix */
1921
1922#ifndef GL_EXT_shader_io_blocks
1923#define GL_EXT_shader_io_blocks 1
1924#endif /* GL_EXT_shader_io_blocks */
1925
1926#ifndef GL_EXT_shader_non_constant_global_initializers
1927#define GL_EXT_shader_non_constant_global_initializers 1
1928#endif /* GL_EXT_shader_non_constant_global_initializers */
1929
1930#ifndef GL_EXT_shader_pixel_local_storage
1931#define GL_EXT_shader_pixel_local_storage 1
1932#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63
1933#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67
1934#define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64
1935#endif /* GL_EXT_shader_pixel_local_storage */
1936
1937#ifndef GL_EXT_shader_pixel_local_storage2
1938#define GL_EXT_shader_pixel_local_storage2 1
1939#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650
1940#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651
1941#define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652
1942typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size);
1943typedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target);
1944typedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values);
1945#ifdef GL_GLEXT_PROTOTYPES
1946GL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size);
1947GL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target);
1948GL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values);
1949#endif
1950#endif /* GL_EXT_shader_pixel_local_storage2 */
1951
1952#ifndef GL_EXT_shader_texture_lod
1953#define GL_EXT_shader_texture_lod 1
1954#endif /* GL_EXT_shader_texture_lod */
1955
1956#ifndef GL_EXT_shadow_samplers
1957#define GL_EXT_shadow_samplers 1
1958#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
1959#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
1960#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
1961#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
1962#endif /* GL_EXT_shadow_samplers */
1963
1964#ifndef GL_EXT_sparse_texture
1965#define GL_EXT_sparse_texture 1
1966#define GL_TEXTURE_SPARSE_EXT 0x91A6
1967#define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7
1968#define GL_NUM_SPARSE_LEVELS_EXT 0x91AA
1969#define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8
1970#define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195
1971#define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196
1972#define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197
1973#define GL_TEXTURE_2D_ARRAY 0x8C1A
1974#define GL_TEXTURE_3D 0x806F
1975#define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198
1976#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199
1977#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A
1978#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9
1979typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
1980#ifdef GL_GLEXT_PROTOTYPES
1981GL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
1982#endif
1983#endif /* GL_EXT_sparse_texture */
1984
1985#ifndef GL_EXT_sparse_texture2
1986#define GL_EXT_sparse_texture2 1
1987#endif /* GL_EXT_sparse_texture2 */
1988
1989#ifndef GL_EXT_tessellation_point_size
1990#define GL_EXT_tessellation_point_size 1
1991#endif /* GL_EXT_tessellation_point_size */
1992
1993#ifndef GL_EXT_tessellation_shader
1994#define GL_EXT_tessellation_shader 1
1995#define GL_PATCHES_EXT 0x000E
1996#define GL_PATCH_VERTICES_EXT 0x8E72
1997#define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75
1998#define GL_TESS_GEN_MODE_EXT 0x8E76
1999#define GL_TESS_GEN_SPACING_EXT 0x8E77
2000#define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78
2001#define GL_TESS_GEN_POINT_MODE_EXT 0x8E79
2002#define GL_ISOLINES_EXT 0x8E7A
2003#define GL_QUADS_EXT 0x0007
2004#define GL_FRACTIONAL_ODD_EXT 0x8E7B
2005#define GL_FRACTIONAL_EVEN_EXT 0x8E7C
2006#define GL_MAX_PATCH_VERTICES_EXT 0x8E7D
2007#define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E
2008#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F
2009#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80
2010#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81
2011#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82
2012#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83
2013#define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84
2014#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85
2015#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86
2016#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89
2017#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A
2018#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C
2019#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D
2020#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E
2021#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F
2022#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD
2023#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE
2024#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3
2025#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4
2026#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB
2027#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC
2028#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8
2029#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9
2030#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2031#define GL_IS_PER_PATCH_EXT 0x92E7
2032#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307
2033#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308
2034#define GL_TESS_CONTROL_SHADER_EXT 0x8E88
2035#define GL_TESS_EVALUATION_SHADER_EXT 0x8E87
2036#define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008
2037#define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010
2038typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value);
2039#ifdef GL_GLEXT_PROTOTYPES
2040GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value);
2041#endif
2042#endif /* GL_EXT_tessellation_shader */
2043
2044#ifndef GL_EXT_texture_border_clamp
2045#define GL_EXT_texture_border_clamp 1
2046#define GL_TEXTURE_BORDER_COLOR_EXT 0x1004
2047#define GL_CLAMP_TO_BORDER_EXT 0x812D
2048typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
2049typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
2050typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
2051typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
2052typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param);
2053typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param);
2054typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params);
2055typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params);
2056#ifdef GL_GLEXT_PROTOTYPES
2057GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
2058GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
2059GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
2060GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
2061GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param);
2062GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param);
2063GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params);
2064GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params);
2065#endif
2066#endif /* GL_EXT_texture_border_clamp */
2067
2068#ifndef GL_EXT_texture_buffer
2069#define GL_EXT_texture_buffer 1
2070#define GL_TEXTURE_BUFFER_EXT 0x8C2A
2071#define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A
2072#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
2073#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
2074#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
2075#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F
2076#define GL_SAMPLER_BUFFER_EXT 0x8DC2
2077#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
2078#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
2079#define GL_IMAGE_BUFFER_EXT 0x9051
2080#define GL_INT_IMAGE_BUFFER_EXT 0x905C
2081#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
2082#define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D
2083#define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E
2084typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
2085typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2086#ifdef GL_GLEXT_PROTOTYPES
2087GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
2088GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2089#endif
2090#endif /* GL_EXT_texture_buffer */
2091
2092#ifndef GL_EXT_texture_compression_astc_decode_mode
2093#define GL_EXT_texture_compression_astc_decode_mode 1
2094#define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69
2095#endif /* GL_EXT_texture_compression_astc_decode_mode */
2096
2097#ifndef GL_EXT_texture_compression_bptc
2098#define GL_EXT_texture_compression_bptc 1
2099#define GL_COMPRESSED_RGBA_BPTC_UNORM_EXT 0x8E8C
2100#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT 0x8E8D
2101#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT 0x8E8E
2102#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT 0x8E8F
2103#endif /* GL_EXT_texture_compression_bptc */
2104
2105#ifndef GL_EXT_texture_compression_dxt1
2106#define GL_EXT_texture_compression_dxt1 1
2107#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
2108#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
2109#endif /* GL_EXT_texture_compression_dxt1 */
2110
2111#ifndef GL_EXT_texture_compression_rgtc
2112#define GL_EXT_texture_compression_rgtc 1
2113#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
2114#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
2115#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
2116#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
2117#endif /* GL_EXT_texture_compression_rgtc */
2118
2119#ifndef GL_EXT_texture_compression_s3tc
2120#define GL_EXT_texture_compression_s3tc 1
2121#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
2122#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
2123#endif /* GL_EXT_texture_compression_s3tc */
2124
2125#ifndef GL_EXT_texture_compression_s3tc_srgb
2126#define GL_EXT_texture_compression_s3tc_srgb 1
2127#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
2128#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
2129#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
2130#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
2131#endif /* GL_EXT_texture_compression_s3tc_srgb */
2132
2133#ifndef GL_EXT_texture_cube_map_array
2134#define GL_EXT_texture_cube_map_array 1
2135#define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009
2136#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A
2137#define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C
2138#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D
2139#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E
2140#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F
2141#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
2142#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
2143#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
2144#endif /* GL_EXT_texture_cube_map_array */
2145
2146#ifndef GL_EXT_texture_filter_anisotropic
2147#define GL_EXT_texture_filter_anisotropic 1
2148#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
2149#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
2150#endif /* GL_EXT_texture_filter_anisotropic */
2151
2152#ifndef GL_EXT_texture_filter_minmax
2153#define GL_EXT_texture_filter_minmax 1
2154#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
2155#define GL_WEIGHTED_AVERAGE_EXT 0x9367
2156#endif /* GL_EXT_texture_filter_minmax */
2157
2158#ifndef GL_EXT_texture_format_BGRA8888
2159#define GL_EXT_texture_format_BGRA8888 1
2160#endif /* GL_EXT_texture_format_BGRA8888 */
2161
2162#ifndef GL_EXT_texture_format_sRGB_override
2163#define GL_EXT_texture_format_sRGB_override 1
2164#define GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT 0x8FBF
2165#endif /* GL_EXT_texture_format_sRGB_override */
2166
2167#ifndef GL_EXT_texture_mirror_clamp_to_edge
2168#define GL_EXT_texture_mirror_clamp_to_edge 1
2169#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
2170#endif /* GL_EXT_texture_mirror_clamp_to_edge */
2171
2172#ifndef GL_EXT_texture_norm16
2173#define GL_EXT_texture_norm16 1
2174#define GL_R16_EXT 0x822A
2175#define GL_RG16_EXT 0x822C
2176#define GL_RGBA16_EXT 0x805B
2177#define GL_RGB16_EXT 0x8054
2178#define GL_RGB16_SNORM_EXT 0x8F9A
2179#endif /* GL_EXT_texture_norm16 */
2180
2181#ifndef GL_EXT_texture_query_lod
2182#define GL_EXT_texture_query_lod 1
2183#endif /* GL_EXT_texture_query_lod */
2184
2185#ifndef GL_EXT_texture_rg
2186#define GL_EXT_texture_rg 1
2187#define GL_RED_EXT 0x1903
2188#define GL_RG_EXT 0x8227
2189#define GL_R8_EXT 0x8229
2190#define GL_RG8_EXT 0x822B
2191#endif /* GL_EXT_texture_rg */
2192
2193#ifndef GL_EXT_texture_sRGB_R8
2194#define GL_EXT_texture_sRGB_R8 1
2195#define GL_SR8_EXT 0x8FBD
2196#endif /* GL_EXT_texture_sRGB_R8 */
2197
2198#ifndef GL_EXT_texture_sRGB_RG8
2199#define GL_EXT_texture_sRGB_RG8 1
2200#define GL_SRG8_EXT 0x8FBE
2201#endif /* GL_EXT_texture_sRGB_RG8 */
2202
2203#ifndef GL_EXT_texture_sRGB_decode
2204#define GL_EXT_texture_sRGB_decode 1
2205#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
2206#define GL_DECODE_EXT 0x8A49
2207#define GL_SKIP_DECODE_EXT 0x8A4A
2208#endif /* GL_EXT_texture_sRGB_decode */
2209
2210#ifndef GL_EXT_texture_storage
2211#define GL_EXT_texture_storage 1
2212#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
2213#define GL_ALPHA8_EXT 0x803C
2214#define GL_LUMINANCE8_EXT 0x8040
2215#define GL_LUMINANCE8_ALPHA8_EXT 0x8045
2216#define GL_RGBA32F_EXT 0x8814
2217#define GL_RGB32F_EXT 0x8815
2218#define GL_ALPHA32F_EXT 0x8816
2219#define GL_LUMINANCE32F_EXT 0x8818
2220#define GL_LUMINANCE_ALPHA32F_EXT 0x8819
2221#define GL_ALPHA16F_EXT 0x881C
2222#define GL_LUMINANCE16F_EXT 0x881E
2223#define GL_LUMINANCE_ALPHA16F_EXT 0x881F
2224#define GL_R32F_EXT 0x822E
2225#define GL_RG32F_EXT 0x8230
2226typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2227typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2228typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2229typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2230typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2231typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2232#ifdef GL_GLEXT_PROTOTYPES
2233GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2234GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2235GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2236GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2237GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2238GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2239#endif
2240#endif /* GL_EXT_texture_storage */
2241
2242#ifndef GL_EXT_texture_type_2_10_10_10_REV
2243#define GL_EXT_texture_type_2_10_10_10_REV 1
2244#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
2245#endif /* GL_EXT_texture_type_2_10_10_10_REV */
2246
2247#ifndef GL_EXT_texture_view
2248#define GL_EXT_texture_view 1
2249#define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB
2250#define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC
2251#define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD
2252#define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE
2253typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2254#ifdef GL_GLEXT_PROTOTYPES
2255GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2256#endif
2257#endif /* GL_EXT_texture_view */
2258
2259#ifndef GL_EXT_unpack_subimage
2260#define GL_EXT_unpack_subimage 1
2261#define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2
2262#define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3
2263#define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4
2264#endif /* GL_EXT_unpack_subimage */
2265
2266#ifndef GL_EXT_win32_keyed_mutex
2267#define GL_EXT_win32_keyed_mutex 1
2268typedef GLboolean (GL_APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
2269typedef GLboolean (GL_APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
2270#ifdef GL_GLEXT_PROTOTYPES
2271GL_APICALL GLboolean GL_APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
2272GL_APICALL GLboolean GL_APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);
2273#endif
2274#endif /* GL_EXT_win32_keyed_mutex */
2275
2276#ifndef GL_EXT_window_rectangles
2277#define GL_EXT_window_rectangles 1
2278#define GL_INCLUSIVE_EXT 0x8F10
2279#define GL_EXCLUSIVE_EXT 0x8F11
2280#define GL_WINDOW_RECTANGLE_EXT 0x8F12
2281#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
2282#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
2283#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
2284typedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
2285#ifdef GL_GLEXT_PROTOTYPES
2286GL_APICALL void GL_APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
2287#endif
2288#endif /* GL_EXT_window_rectangles */
2289
2290#ifndef GL_FJ_shader_binary_GCCSO
2291#define GL_FJ_shader_binary_GCCSO 1
2292#define GL_GCCSO_SHADER_BINARY_FJ 0x9260
2293#endif /* GL_FJ_shader_binary_GCCSO */
2294
2295#ifndef GL_IMG_bindless_texture
2296#define GL_IMG_bindless_texture 1
2297typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) (GLuint texture);
2298typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) (GLuint texture, GLuint sampler);
2299typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) (GLint location, GLuint64 value);
2300typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) (GLint location, GLsizei count, const GLuint64 *value);
2301typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) (GLuint program, GLint location, GLuint64 value);
2302typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2303#ifdef GL_GLEXT_PROTOTYPES
2304GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleIMG (GLuint texture);
2305GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler);
2306GL_APICALL void GL_APIENTRY glUniformHandleui64IMG (GLint location, GLuint64 value);
2307GL_APICALL void GL_APIENTRY glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 *value);
2308GL_APICALL void GL_APIENTRY glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value);
2309GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2310#endif
2311#endif /* GL_IMG_bindless_texture */
2312
2313#ifndef GL_IMG_framebuffer_downsample
2314#define GL_IMG_framebuffer_downsample 1
2315#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C
2316#define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D
2317#define GL_DOWNSAMPLE_SCALES_IMG 0x913E
2318#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F
2319typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2320typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2321#ifdef GL_GLEXT_PROTOTYPES
2322GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2323GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2324#endif
2325#endif /* GL_IMG_framebuffer_downsample */
2326
2327#ifndef GL_IMG_multisampled_render_to_texture
2328#define GL_IMG_multisampled_render_to_texture 1
2329#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
2330#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
2331#define GL_MAX_SAMPLES_IMG 0x9135
2332#define GL_TEXTURE_SAMPLES_IMG 0x9136
2333typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2334typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
2335#ifdef GL_GLEXT_PROTOTYPES
2336GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2337GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
2338#endif
2339#endif /* GL_IMG_multisampled_render_to_texture */
2340
2341#ifndef GL_IMG_program_binary
2342#define GL_IMG_program_binary 1
2343#define GL_SGX_PROGRAM_BINARY_IMG 0x9130
2344#endif /* GL_IMG_program_binary */
2345
2346#ifndef GL_IMG_read_format
2347#define GL_IMG_read_format 1
2348#define GL_BGRA_IMG 0x80E1
2349#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
2350#endif /* GL_IMG_read_format */
2351
2352#ifndef GL_IMG_shader_binary
2353#define GL_IMG_shader_binary 1
2354#define GL_SGX_BINARY_IMG 0x8C0A
2355#endif /* GL_IMG_shader_binary */
2356
2357#ifndef GL_IMG_texture_compression_pvrtc
2358#define GL_IMG_texture_compression_pvrtc 1
2359#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
2360#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
2361#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
2362#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
2363#endif /* GL_IMG_texture_compression_pvrtc */
2364
2365#ifndef GL_IMG_texture_compression_pvrtc2
2366#define GL_IMG_texture_compression_pvrtc2 1
2367#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
2368#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
2369#endif /* GL_IMG_texture_compression_pvrtc2 */
2370
2371#ifndef GL_IMG_texture_filter_cubic
2372#define GL_IMG_texture_filter_cubic 1
2373#define GL_CUBIC_IMG 0x9139
2374#define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A
2375#define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B
2376#endif /* GL_IMG_texture_filter_cubic */
2377
2378#ifndef GL_INTEL_blackhole_render
2379#define GL_INTEL_blackhole_render 1
2380#define GL_BLACKHOLE_RENDER_INTEL 0x83FC
2381#endif /* GL_INTEL_blackhole_render */
2382
2383#ifndef GL_INTEL_conservative_rasterization
2384#define GL_INTEL_conservative_rasterization 1
2385#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
2386#endif /* GL_INTEL_conservative_rasterization */
2387
2388#ifndef GL_INTEL_framebuffer_CMAA
2389#define GL_INTEL_framebuffer_CMAA 1
2390typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
2391#ifdef GL_GLEXT_PROTOTYPES
2392GL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
2393#endif
2394#endif /* GL_INTEL_framebuffer_CMAA */
2395
2396#ifndef GL_INTEL_performance_query
2397#define GL_INTEL_performance_query 1
2398#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
2399#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
2400#define GL_PERFQUERY_WAIT_INTEL 0x83FB
2401#define GL_PERFQUERY_FLUSH_INTEL 0x83FA
2402#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
2403#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
2404#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
2405#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
2406#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
2407#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
2408#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
2409#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
2410#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
2411#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
2412#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
2413#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
2414#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
2415#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
2416#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
2417#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
2418typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
2419typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
2420typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
2421typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
2422typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
2423typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
2424typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
2425typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
2426typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
2427typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
2428#ifdef GL_GLEXT_PROTOTYPES
2429GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
2430GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
2431GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
2432GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
2433GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
2434GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
2435GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
2436GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
2437GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
2438GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
2439#endif
2440#endif /* GL_INTEL_performance_query */
2441
2442#ifndef GL_MESA_framebuffer_flip_y
2443#define GL_MESA_framebuffer_flip_y 1
2444#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
2445#endif /* GL_MESA_framebuffer_flip_y */
2446
2447#ifndef GL_MESA_program_binary_formats
2448#define GL_MESA_program_binary_formats 1
2449#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
2450#endif /* GL_MESA_program_binary_formats */
2451
2452#ifndef GL_MESA_shader_integer_functions
2453#define GL_MESA_shader_integer_functions 1
2454#endif /* GL_MESA_shader_integer_functions */
2455
2456#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
2457#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
2458#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
2459
2460#ifndef GL_NV_bindless_texture
2461#define GL_NV_bindless_texture 1
2462typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
2463typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
2464typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
2465typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
2466typedef GLuint64 (GL_APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2467typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
2468typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
2469typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
2470typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
2471typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
2472typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2473typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
2474typedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
2475#ifdef GL_GLEXT_PROTOTYPES
2476GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleNV (GLuint texture);
2477GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
2478GL_APICALL void GL_APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
2479GL_APICALL void GL_APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
2480GL_APICALL GLuint64 GL_APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2481GL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
2482GL_APICALL void GL_APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
2483GL_APICALL void GL_APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
2484GL_APICALL void GL_APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
2485GL_APICALL void GL_APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
2486GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2487GL_APICALL GLboolean GL_APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
2488GL_APICALL GLboolean GL_APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
2489#endif
2490#endif /* GL_NV_bindless_texture */
2491
2492#ifndef GL_NV_blend_equation_advanced
2493#define GL_NV_blend_equation_advanced 1
2494#define GL_BLEND_OVERLAP_NV 0x9281
2495#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
2496#define GL_BLUE_NV 0x1905
2497#define GL_COLORBURN_NV 0x929A
2498#define GL_COLORDODGE_NV 0x9299
2499#define GL_CONJOINT_NV 0x9284
2500#define GL_CONTRAST_NV 0x92A1
2501#define GL_DARKEN_NV 0x9297
2502#define GL_DIFFERENCE_NV 0x929E
2503#define GL_DISJOINT_NV 0x9283
2504#define GL_DST_ATOP_NV 0x928F
2505#define GL_DST_IN_NV 0x928B
2506#define GL_DST_NV 0x9287
2507#define GL_DST_OUT_NV 0x928D
2508#define GL_DST_OVER_NV 0x9289
2509#define GL_EXCLUSION_NV 0x92A0
2510#define GL_GREEN_NV 0x1904
2511#define GL_HARDLIGHT_NV 0x929B
2512#define GL_HARDMIX_NV 0x92A9
2513#define GL_HSL_COLOR_NV 0x92AF
2514#define GL_HSL_HUE_NV 0x92AD
2515#define GL_HSL_LUMINOSITY_NV 0x92B0
2516#define GL_HSL_SATURATION_NV 0x92AE
2517#define GL_INVERT_OVG_NV 0x92B4
2518#define GL_INVERT_RGB_NV 0x92A3
2519#define GL_LIGHTEN_NV 0x9298
2520#define GL_LINEARBURN_NV 0x92A5
2521#define GL_LINEARDODGE_NV 0x92A4
2522#define GL_LINEARLIGHT_NV 0x92A7
2523#define GL_MINUS_CLAMPED_NV 0x92B3
2524#define GL_MINUS_NV 0x929F
2525#define GL_MULTIPLY_NV 0x9294
2526#define GL_OVERLAY_NV 0x9296
2527#define GL_PINLIGHT_NV 0x92A8
2528#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
2529#define GL_PLUS_CLAMPED_NV 0x92B1
2530#define GL_PLUS_DARKER_NV 0x9292
2531#define GL_PLUS_NV 0x9291
2532#define GL_RED_NV 0x1903
2533#define GL_SCREEN_NV 0x9295
2534#define GL_SOFTLIGHT_NV 0x929C
2535#define GL_SRC_ATOP_NV 0x928E
2536#define GL_SRC_IN_NV 0x928A
2537#define GL_SRC_NV 0x9286
2538#define GL_SRC_OUT_NV 0x928C
2539#define GL_SRC_OVER_NV 0x9288
2540#define GL_UNCORRELATED_NV 0x9282
2541#define GL_VIVIDLIGHT_NV 0x92A6
2542#define GL_XOR_NV 0x1506
2543typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
2544typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
2545#ifdef GL_GLEXT_PROTOTYPES
2546GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
2547GL_APICALL void GL_APIENTRY glBlendBarrierNV (void);
2548#endif
2549#endif /* GL_NV_blend_equation_advanced */
2550
2551#ifndef GL_NV_blend_equation_advanced_coherent
2552#define GL_NV_blend_equation_advanced_coherent 1
2553#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
2554#endif /* GL_NV_blend_equation_advanced_coherent */
2555
2556#ifndef GL_NV_blend_minmax_factor
2557#define GL_NV_blend_minmax_factor 1
2558#define GL_FACTOR_MIN_AMD 0x901C
2559#define GL_FACTOR_MAX_AMD 0x901D
2560#endif /* GL_NV_blend_minmax_factor */
2561
2562#ifndef GL_NV_clip_space_w_scaling
2563#define GL_NV_clip_space_w_scaling 1
2564#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
2565#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
2566#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
2567typedef void (GL_APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
2568#ifdef GL_GLEXT_PROTOTYPES
2569GL_APICALL void GL_APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
2570#endif
2571#endif /* GL_NV_clip_space_w_scaling */
2572
2573#ifndef GL_NV_compute_shader_derivatives
2574#define GL_NV_compute_shader_derivatives 1
2575#endif /* GL_NV_compute_shader_derivatives */
2576
2577#ifndef GL_NV_conditional_render
2578#define GL_NV_conditional_render 1
2579#define GL_QUERY_WAIT_NV 0x8E13
2580#define GL_QUERY_NO_WAIT_NV 0x8E14
2581#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
2582#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
2583typedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
2584typedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
2585#ifdef GL_GLEXT_PROTOTYPES
2586GL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
2587GL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void);
2588#endif
2589#endif /* GL_NV_conditional_render */
2590
2591#ifndef GL_NV_conservative_raster
2592#define GL_NV_conservative_raster 1
2593#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
2594#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
2595#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
2596#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
2597typedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
2598#ifdef GL_GLEXT_PROTOTYPES
2599GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
2600#endif
2601#endif /* GL_NV_conservative_raster */
2602
2603#ifndef GL_NV_conservative_raster_pre_snap
2604#define GL_NV_conservative_raster_pre_snap 1
2605#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
2606#endif /* GL_NV_conservative_raster_pre_snap */
2607
2608#ifndef GL_NV_conservative_raster_pre_snap_triangles
2609#define GL_NV_conservative_raster_pre_snap_triangles 1
2610#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
2611#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
2612#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
2613typedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
2614#ifdef GL_GLEXT_PROTOTYPES
2615GL_APICALL void GL_APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
2616#endif
2617#endif /* GL_NV_conservative_raster_pre_snap_triangles */
2618
2619#ifndef GL_NV_copy_buffer
2620#define GL_NV_copy_buffer 1
2621#define GL_COPY_READ_BUFFER_NV 0x8F36
2622#define GL_COPY_WRITE_BUFFER_NV 0x8F37
2623typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2624#ifdef GL_GLEXT_PROTOTYPES
2625GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2626#endif
2627#endif /* GL_NV_copy_buffer */
2628
2629#ifndef GL_NV_coverage_sample
2630#define GL_NV_coverage_sample 1
2631#define GL_COVERAGE_COMPONENT_NV 0x8ED0
2632#define GL_COVERAGE_COMPONENT4_NV 0x8ED1
2633#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
2634#define GL_COVERAGE_BUFFERS_NV 0x8ED3
2635#define GL_COVERAGE_SAMPLES_NV 0x8ED4
2636#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
2637#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
2638#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
2639#define GL_COVERAGE_BUFFER_BIT_NV 0x00008000
2640typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
2641typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
2642#ifdef GL_GLEXT_PROTOTYPES
2643GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
2644GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
2645#endif
2646#endif /* GL_NV_coverage_sample */
2647
2648#ifndef GL_NV_depth_nonlinear
2649#define GL_NV_depth_nonlinear 1
2650#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
2651#endif /* GL_NV_depth_nonlinear */
2652
2653#ifndef GL_NV_draw_buffers
2654#define GL_NV_draw_buffers 1
2655#define GL_MAX_DRAW_BUFFERS_NV 0x8824
2656#define GL_DRAW_BUFFER0_NV 0x8825
2657#define GL_DRAW_BUFFER1_NV 0x8826
2658#define GL_DRAW_BUFFER2_NV 0x8827
2659#define GL_DRAW_BUFFER3_NV 0x8828
2660#define GL_DRAW_BUFFER4_NV 0x8829
2661#define GL_DRAW_BUFFER5_NV 0x882A
2662#define GL_DRAW_BUFFER6_NV 0x882B
2663#define GL_DRAW_BUFFER7_NV 0x882C
2664#define GL_DRAW_BUFFER8_NV 0x882D
2665#define GL_DRAW_BUFFER9_NV 0x882E
2666#define GL_DRAW_BUFFER10_NV 0x882F
2667#define GL_DRAW_BUFFER11_NV 0x8830
2668#define GL_DRAW_BUFFER12_NV 0x8831
2669#define GL_DRAW_BUFFER13_NV 0x8832
2670#define GL_DRAW_BUFFER14_NV 0x8833
2671#define GL_DRAW_BUFFER15_NV 0x8834
2672#define GL_COLOR_ATTACHMENT0_NV 0x8CE0
2673#define GL_COLOR_ATTACHMENT1_NV 0x8CE1
2674#define GL_COLOR_ATTACHMENT2_NV 0x8CE2
2675#define GL_COLOR_ATTACHMENT3_NV 0x8CE3
2676#define GL_COLOR_ATTACHMENT4_NV 0x8CE4
2677#define GL_COLOR_ATTACHMENT5_NV 0x8CE5
2678#define GL_COLOR_ATTACHMENT6_NV 0x8CE6
2679#define GL_COLOR_ATTACHMENT7_NV 0x8CE7
2680#define GL_COLOR_ATTACHMENT8_NV 0x8CE8
2681#define GL_COLOR_ATTACHMENT9_NV 0x8CE9
2682#define GL_COLOR_ATTACHMENT10_NV 0x8CEA
2683#define GL_COLOR_ATTACHMENT11_NV 0x8CEB
2684#define GL_COLOR_ATTACHMENT12_NV 0x8CEC
2685#define GL_COLOR_ATTACHMENT13_NV 0x8CED
2686#define GL_COLOR_ATTACHMENT14_NV 0x8CEE
2687#define GL_COLOR_ATTACHMENT15_NV 0x8CEF
2688typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);
2689#ifdef GL_GLEXT_PROTOTYPES
2690GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
2691#endif
2692#endif /* GL_NV_draw_buffers */
2693
2694#ifndef GL_NV_draw_instanced
2695#define GL_NV_draw_instanced 1
2696typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2697typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2698#ifdef GL_GLEXT_PROTOTYPES
2699GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2700GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2701#endif
2702#endif /* GL_NV_draw_instanced */
2703
2704#ifndef GL_NV_draw_vulkan_image
2705#define GL_NV_draw_vulkan_image 1
2706typedef void (GL_APIENTRY *GLVULKANPROCNV)(void);
2707typedef void (GL_APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
2708typedef GLVULKANPROCNV (GL_APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
2709typedef void (GL_APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
2710typedef void (GL_APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
2711typedef void (GL_APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
2712#ifdef GL_GLEXT_PROTOTYPES
2713GL_APICALL void GL_APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
2714GL_APICALL GLVULKANPROCNV GL_APIENTRY glGetVkProcAddrNV (const GLchar *name);
2715GL_APICALL void GL_APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
2716GL_APICALL void GL_APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
2717GL_APICALL void GL_APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
2718#endif
2719#endif /* GL_NV_draw_vulkan_image */
2720
2721#ifndef GL_NV_explicit_attrib_location
2722#define GL_NV_explicit_attrib_location 1
2723#endif /* GL_NV_explicit_attrib_location */
2724
2725#ifndef GL_NV_fbo_color_attachments
2726#define GL_NV_fbo_color_attachments 1
2727#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
2728#endif /* GL_NV_fbo_color_attachments */
2729
2730#ifndef GL_NV_fence
2731#define GL_NV_fence 1
2732#define GL_ALL_COMPLETED_NV 0x84F2
2733#define GL_FENCE_STATUS_NV 0x84F3
2734#define GL_FENCE_CONDITION_NV 0x84F4
2735typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
2736typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (