Panda3D

Loading...
Searching...
No Matches
panda_esgl2ext.h
1#ifndef __panda_esgl2ext_h_
2#define __panda_esgl2ext_h_ 1
3
4#ifdef __cplusplus
5 extern "C" {
6#endif
7
8/*
9** Copyright (c) 2013-2016 The Khronos Group Inc.
10**
11** Permission is hereby granted, free of charge, to any person obtaining a
12** copy of this software and/or associated documentation files (the
13** "Materials"), to deal in the Materials without restriction, including
14** without limitation the rights to use, copy, modify, merge, publish,
15** distribute, sublicense, and/or sell copies of the Materials, and to
16** permit persons to whom the Materials are furnished to do so, subject to
17** the following conditions:
18**
19** The above copyright notice and this permission notice shall be included
20** in all copies or substantial portions of the Materials.
21**
22** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29*/
30/*
31** This header is generated from the Khronos OpenGL / OpenGL ES XML
32** API Registry. The current version of the Registry, generator scripts
33** used to make the header, and the header can be found at
34** http://www.opengl.org/registry/
35**
36** Khronos $Revision: 32518 $ on $Date: 2016-03-11 02:42:11 -0800 (Fri, 11 Mar 2016) $
37*/
38
39#ifndef GL_APIENTRYP
40#define GL_APIENTRYP GL_APIENTRY*
41#endif
42
43/* Generated on date 20160311 */
44
45/* Generated C header for:
46 * API: gles2
47 * Profile: common
48 * Versions considered: 2\.[0-9]
49 * Versions emitted: _nomatch_^
50 * Default extensions included: gles2
51 * Additional extensions included: _nomatch_^
52 * Extensions removed: _nomatch_^
53 */
54
55#ifndef GL_KHR_blend_equation_advanced
56#define GL_KHR_blend_equation_advanced 1
57#define GL_MULTIPLY_KHR 0x9294
58#define GL_SCREEN_KHR 0x9295
59#define GL_OVERLAY_KHR 0x9296
60#define GL_DARKEN_KHR 0x9297
61#define GL_LIGHTEN_KHR 0x9298
62#define GL_COLORDODGE_KHR 0x9299
63#define GL_COLORBURN_KHR 0x929A
64#define GL_HARDLIGHT_KHR 0x929B
65#define GL_SOFTLIGHT_KHR 0x929C
66#define GL_DIFFERENCE_KHR 0x929E
67#define GL_EXCLUSION_KHR 0x92A0
68#define GL_HSL_HUE_KHR 0x92AD
69#define GL_HSL_SATURATION_KHR 0x92AE
70#define GL_HSL_COLOR_KHR 0x92AF
71#define GL_HSL_LUMINOSITY_KHR 0x92B0
72 typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
73#ifdef GL_GLEXT_PROTOTYPES
74GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void);
75#endif
76#endif /* GL_KHR_blend_equation_advanced */
77
78#ifndef GL_KHR_blend_equation_advanced_coherent
79#define GL_KHR_blend_equation_advanced_coherent 1
80#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
81#endif /* GL_KHR_blend_equation_advanced_coherent */
82
83#ifndef GL_KHR_context_flush_control
84#define GL_KHR_context_flush_control 1
85#define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB
86#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC
87#endif /* GL_KHR_context_flush_control */
88
89#ifndef GL_KHR_debug
90#define GL_KHR_debug 1
91 typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
92#define GL_SAMPLER 0x82E6
93#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242
94#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243
95#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244
96#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245
97#define GL_DEBUG_SOURCE_API_KHR 0x8246
98#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247
99#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248
100#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249
101#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A
102#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B
103#define GL_DEBUG_TYPE_ERROR_KHR 0x824C
104#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D
105#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E
106#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F
107#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250
108#define GL_DEBUG_TYPE_OTHER_KHR 0x8251
109#define GL_DEBUG_TYPE_MARKER_KHR 0x8268
110#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269
111#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A
112#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B
113#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C
114#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D
115#define GL_BUFFER_KHR 0x82E0
116#define GL_SHADER_KHR 0x82E1
117#define GL_PROGRAM_KHR 0x82E2
118#define GL_VERTEX_ARRAY_KHR 0x8074
119#define GL_QUERY_KHR 0x82E3
120#define GL_PROGRAM_PIPELINE_KHR 0x82E4
121#define GL_SAMPLER_KHR 0x82E6
122#define GL_MAX_LABEL_LENGTH_KHR 0x82E8
123#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143
124#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144
125#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145
126#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146
127#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147
128#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148
129#define GL_DEBUG_OUTPUT_KHR 0x92E0
130#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002
131#define GL_STACK_OVERFLOW_KHR 0x0503
132#define GL_STACK_UNDERFLOW_KHR 0x0504
133 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
134 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
135 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam);
136 typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
137 typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
138 typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
139 typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
140 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
141 typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label);
142 typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
143 typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params);
144#ifdef GL_GLEXT_PROTOTYPES
145GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
146GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
147GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam);
148GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
149GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message);
150GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
151GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
152GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
153GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label);
154GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
155GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params);
156#endif
157#endif /* GL_KHR_debug */
158
159#ifndef GL_KHR_no_error
160#define GL_KHR_no_error 1
161#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
162#endif /* GL_KHR_no_error */
163
164#ifndef GL_KHR_robust_buffer_access_behavior
165#define GL_KHR_robust_buffer_access_behavior 1
166#endif /* GL_KHR_robust_buffer_access_behavior */
167
168#ifndef GL_KHR_robustness
169#define GL_KHR_robustness 1
170#define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3
171#define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252
172#define GL_GUILTY_CONTEXT_RESET_KHR 0x8253
173#define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254
174#define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255
175#define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256
176#define GL_NO_RESET_NOTIFICATION_KHR 0x8261
177#define GL_CONTEXT_LOST_KHR 0x0507
178 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void);
179 typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
180 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
181 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
182 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
183#ifdef GL_GLEXT_PROTOTYPES
184GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void);
185GL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
186GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
187GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params);
188GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
189#endif
190#endif /* GL_KHR_robustness */
191
192#ifndef GL_KHR_texture_compression_astc_hdr
193#define GL_KHR_texture_compression_astc_hdr 1
194#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
195#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
196#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
197#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
198#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
199#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
200#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
201#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
202#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
203#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
204#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
205#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
206#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
207#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
208#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
209#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
210#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
211#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
212#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
213#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
214#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
215#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
216#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
217#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
218#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
219#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
220#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
221#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
222#endif /* GL_KHR_texture_compression_astc_hdr */
223
224#ifndef GL_KHR_texture_compression_astc_ldr
225#define GL_KHR_texture_compression_astc_ldr 1
226#endif /* GL_KHR_texture_compression_astc_ldr */
227
228#ifndef GL_KHR_texture_compression_astc_sliced_3d
229#define GL_KHR_texture_compression_astc_sliced_3d 1
230#endif /* GL_KHR_texture_compression_astc_sliced_3d */
231
232#ifndef GL_OES_EGL_image
233#define GL_OES_EGL_image 1
234 typedef void *GLeglImageOES;
235 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
236 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
237#ifdef GL_GLEXT_PROTOTYPES
238GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
239GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
240#endif
241#endif /* GL_OES_EGL_image */
242
243#ifndef GL_OES_EGL_image_external
244#define GL_OES_EGL_image_external 1
245#define GL_TEXTURE_EXTERNAL_OES 0x8D65
246#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
247#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
248#define GL_SAMPLER_EXTERNAL_OES 0x8D66
249#endif /* GL_OES_EGL_image_external */
250
251#ifndef GL_OES_EGL_image_external_essl3
252#define GL_OES_EGL_image_external_essl3 1
253#endif /* GL_OES_EGL_image_external_essl3 */
254
255#ifndef GL_OES_compressed_ETC1_RGB8_sub_texture
256#define GL_OES_compressed_ETC1_RGB8_sub_texture 1
257#endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */
258
259#ifndef GL_OES_compressed_ETC1_RGB8_texture
260#define GL_OES_compressed_ETC1_RGB8_texture 1
261#define GL_ETC1_RGB8_OES 0x8D64
262#endif /* GL_OES_compressed_ETC1_RGB8_texture */
263
264#ifndef GL_OES_compressed_paletted_texture
265#define GL_OES_compressed_paletted_texture 1
266#define GL_PALETTE4_RGB8_OES 0x8B90
267#define GL_PALETTE4_RGBA8_OES 0x8B91
268#define GL_PALETTE4_R5_G6_B5_OES 0x8B92
269#define GL_PALETTE4_RGBA4_OES 0x8B93
270#define GL_PALETTE4_RGB5_A1_OES 0x8B94
271#define GL_PALETTE8_RGB8_OES 0x8B95
272#define GL_PALETTE8_RGBA8_OES 0x8B96
273#define GL_PALETTE8_R5_G6_B5_OES 0x8B97
274#define GL_PALETTE8_RGBA4_OES 0x8B98
275#define GL_PALETTE8_RGB5_A1_OES 0x8B99
276#endif /* GL_OES_compressed_paletted_texture */
277
278#ifndef GL_OES_copy_image
279#define GL_OES_copy_image 1
280 typedef 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);
281#ifdef GL_GLEXT_PROTOTYPES
282GL_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);
283#endif
284#endif /* GL_OES_copy_image */
285
286#ifndef GL_OES_depth24
287#define GL_OES_depth24 1
288#define GL_DEPTH_COMPONENT24_OES 0x81A6
289#endif /* GL_OES_depth24 */
290
291#ifndef GL_OES_depth32
292#define GL_OES_depth32 1
293#define GL_DEPTH_COMPONENT32_OES 0x81A7
294#endif /* GL_OES_depth32 */
295
296#ifndef GL_OES_depth_texture
297#define GL_OES_depth_texture 1
298#endif /* GL_OES_depth_texture */
299
300#ifndef GL_OES_draw_buffers_indexed
301#define GL_OES_draw_buffers_indexed 1
302#define GL_MIN 0x8007
303#define GL_MAX 0x8008
304 typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index);
305 typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index);
306 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode);
307 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
308 typedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst);
309 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
310 typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
311 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index);
312#ifdef GL_GLEXT_PROTOTYPES
313GL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index);
314GL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index);
315GL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode);
316GL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
317GL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst);
318GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
319GL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
320GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index);
321#endif
322#endif /* GL_OES_draw_buffers_indexed */
323
324#ifndef GL_OES_draw_elements_base_vertex
325#define GL_OES_draw_elements_base_vertex 1
326 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
327 typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
328 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
329 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
330#ifdef GL_GLEXT_PROTOTYPES
331GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
332GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
333GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
334GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
335#endif
336#endif /* GL_OES_draw_elements_base_vertex */
337
338#ifndef GL_OES_element_index_uint
339#define GL_OES_element_index_uint 1
340#endif /* GL_OES_element_index_uint */
341
342#ifndef GL_OES_fbo_render_mipmap
343#define GL_OES_fbo_render_mipmap 1
344#endif /* GL_OES_fbo_render_mipmap */
345
346#ifndef GL_OES_fragment_precision_high
347#define GL_OES_fragment_precision_high 1
348#endif /* GL_OES_fragment_precision_high */
349
350#ifndef GL_OES_geometry_point_size
351#define GL_OES_geometry_point_size 1
352#endif /* GL_OES_geometry_point_size */
353
354#ifndef GL_OES_geometry_shader
355#define GL_OES_geometry_shader 1
356#define GL_GEOMETRY_SHADER_OES 0x8DD9
357#define GL_GEOMETRY_SHADER_BIT_OES 0x00000004
358#define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916
359#define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917
360#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918
361#define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F
362#define GL_LAYER_PROVOKING_VERTEX_OES 0x825E
363#define GL_LINES_ADJACENCY_OES 0x000A
364#define GL_LINE_STRIP_ADJACENCY_OES 0x000B
365#define GL_TRIANGLES_ADJACENCY_OES 0x000C
366#define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D
367#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF
368#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C
369#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32
370#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123
371#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124
372#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0
373#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1
374#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A
375#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29
376#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF
377#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5
378#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD
379#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7
380#define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D
381#define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E
382#define GL_UNDEFINED_VERTEX_OES 0x8260
383#define GL_PRIMITIVES_GENERATED_OES 0x8C87
384#define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312
385#define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317
386#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8
387#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7
388#define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309
389 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
390#ifdef GL_GLEXT_PROTOTYPES
391GL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level);
392#endif
393#endif /* GL_OES_geometry_shader */
394
395#ifndef GL_OES_get_program_binary
396#define GL_OES_get_program_binary 1
397#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
398#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
399#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
400 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
401 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
402#ifdef GL_GLEXT_PROTOTYPES
403GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
404GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
405#endif
406#endif /* GL_OES_get_program_binary */
407
408#ifndef GL_OES_gpu_shader5
409#define GL_OES_gpu_shader5 1
410#endif /* GL_OES_gpu_shader5 */
411
412#ifndef GL_OES_mapbuffer
413#define GL_OES_mapbuffer 1
414#define GL_WRITE_ONLY_OES 0x88B9
415#define GL_BUFFER_ACCESS_OES 0x88BB
416#define GL_BUFFER_MAPPED_OES 0x88BC
417#define GL_BUFFER_MAP_POINTER_OES 0x88BD
418 typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
419 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
420 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params);
421#ifdef GL_GLEXT_PROTOTYPES
422GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
423GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
424GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params);
425#endif
426#endif /* GL_OES_mapbuffer */
427
428#ifndef GL_OES_packed_depth_stencil
429#define GL_OES_packed_depth_stencil 1
430#define GL_DEPTH_STENCIL_OES 0x84F9
431#define GL_UNSIGNED_INT_24_8_OES 0x84FA
432#define GL_DEPTH24_STENCIL8_OES 0x88F0
433#endif /* GL_OES_packed_depth_stencil */
434
435#ifndef GL_OES_primitive_bounding_box
436#define GL_OES_primitive_bounding_box 1
437#define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE
438 typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
439#ifdef GL_GLEXT_PROTOTYPES
440GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
441#endif
442#endif /* GL_OES_primitive_bounding_box */
443
444#ifndef GL_OES_required_internalformat
445#define GL_OES_required_internalformat 1
446#define GL_ALPHA8_OES 0x803C
447#define GL_DEPTH_COMPONENT16_OES 0x81A5
448#define GL_LUMINANCE4_ALPHA4_OES 0x8043
449#define GL_LUMINANCE8_ALPHA8_OES 0x8045
450#define GL_LUMINANCE8_OES 0x8040
451#define GL_RGBA4_OES 0x8056
452#define GL_RGB5_A1_OES 0x8057
453#define GL_RGB565_OES 0x8D62
454#define GL_RGB8_OES 0x8051
455#define GL_RGBA8_OES 0x8058
456#define GL_RGB10_EXT 0x8052
457#define GL_RGB10_A2_EXT 0x8059
458#endif /* GL_OES_required_internalformat */
459
460#ifndef GL_OES_rgb8_rgba8
461#define GL_OES_rgb8_rgba8 1
462#endif /* GL_OES_rgb8_rgba8 */
463
464#ifndef GL_OES_sample_shading
465#define GL_OES_sample_shading 1
466#define GL_SAMPLE_SHADING_OES 0x8C36
467#define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37
468 typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value);
469#ifdef GL_GLEXT_PROTOTYPES
470GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value);
471#endif
472#endif /* GL_OES_sample_shading */
473
474#ifndef GL_OES_sample_variables
475#define GL_OES_sample_variables 1
476#endif /* GL_OES_sample_variables */
477
478#ifndef GL_OES_shader_image_atomic
479#define GL_OES_shader_image_atomic 1
480#endif /* GL_OES_shader_image_atomic */
481
482#ifndef GL_OES_shader_io_blocks
483#define GL_OES_shader_io_blocks 1
484#endif /* GL_OES_shader_io_blocks */
485
486#ifndef GL_OES_shader_multisample_interpolation
487#define GL_OES_shader_multisample_interpolation 1
488#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B
489#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C
490#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D
491#endif /* GL_OES_shader_multisample_interpolation */
492
493#ifndef GL_OES_standard_derivatives
494#define GL_OES_standard_derivatives 1
495#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
496#endif /* GL_OES_standard_derivatives */
497
498#ifndef GL_OES_stencil1
499#define GL_OES_stencil1 1
500#define GL_STENCIL_INDEX1_OES 0x8D46
501#endif /* GL_OES_stencil1 */
502
503#ifndef GL_OES_stencil4
504#define GL_OES_stencil4 1
505#define GL_STENCIL_INDEX4_OES 0x8D47
506#endif /* GL_OES_stencil4 */
507
508#ifndef GL_OES_surfaceless_context
509#define GL_OES_surfaceless_context 1
510#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
511#endif /* GL_OES_surfaceless_context */
512
513#ifndef GL_OES_tessellation_point_size
514#define GL_OES_tessellation_point_size 1
515#endif /* GL_OES_tessellation_point_size */
516
517#ifndef GL_OES_tessellation_shader
518#define GL_OES_tessellation_shader 1
519#define GL_PATCHES_OES 0x000E
520#define GL_PATCH_VERTICES_OES 0x8E72
521#define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75
522#define GL_TESS_GEN_MODE_OES 0x8E76
523#define GL_TESS_GEN_SPACING_OES 0x8E77
524#define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78
525#define GL_TESS_GEN_POINT_MODE_OES 0x8E79
526#define GL_ISOLINES_OES 0x8E7A
527#define GL_QUADS_OES 0x0007
528#define GL_FRACTIONAL_ODD_OES 0x8E7B
529#define GL_FRACTIONAL_EVEN_OES 0x8E7C
530#define GL_MAX_PATCH_VERTICES_OES 0x8E7D
531#define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E
532#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F
533#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80
534#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81
535#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82
536#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83
537#define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84
538#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85
539#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86
540#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89
541#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A
542#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C
543#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D
544#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E
545#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F
546#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD
547#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE
548#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3
549#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4
550#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB
551#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC
552#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8
553#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9
554#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221
555#define GL_IS_PER_PATCH_OES 0x92E7
556#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307
557#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308
558#define GL_TESS_CONTROL_SHADER_OES 0x8E88
559#define GL_TESS_EVALUATION_SHADER_OES 0x8E87
560#define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008
561#define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010
562 typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value);
563#ifdef GL_GLEXT_PROTOTYPES
564GL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value);
565#endif
566#endif /* GL_OES_tessellation_shader */
567
568#ifndef GL_OES_texture_3D
569#define GL_OES_texture_3D 1
570#define GL_TEXTURE_WRAP_R_OES 0x8072
571#define GL_TEXTURE_3D_OES 0x806F
572#define GL_TEXTURE_BINDING_3D_OES 0x806A
573#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
574#define GL_SAMPLER_3D_OES 0x8B5F
575#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
576 typedef 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);
577 typedef 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);
578 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
579 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
580 typedef 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);
581 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
582#ifdef GL_GLEXT_PROTOTYPES
583GL_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);
584GL_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);
585GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
586GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
587GL_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);
588GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
589#endif
590#endif /* GL_OES_texture_3D */
591
592#ifndef GL_OES_texture_border_clamp
593#define GL_OES_texture_border_clamp 1
594#define GL_TEXTURE_BORDER_COLOR_OES 0x1004
595#define GL_CLAMP_TO_BORDER_OES 0x812D
596 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params);
597 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params);
598 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params);
599 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params);
600 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param);
601 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param);
602 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params);
603 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params);
604#ifdef GL_GLEXT_PROTOTYPES
605GL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params);
606GL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params);
607GL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params);
608GL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params);
609GL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param);
610GL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param);
611GL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params);
612GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params);
613#endif
614#endif /* GL_OES_texture_border_clamp */
615
616#ifndef GL_OES_texture_buffer
617#define GL_OES_texture_buffer 1
618#define GL_TEXTURE_BUFFER_OES 0x8C2A
619#define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A
620#define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B
621#define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C
622#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D
623#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F
624#define GL_SAMPLER_BUFFER_OES 0x8DC2
625#define GL_INT_SAMPLER_BUFFER_OES 0x8DD0
626#define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8
627#define GL_IMAGE_BUFFER_OES 0x9051
628#define GL_INT_IMAGE_BUFFER_OES 0x905C
629#define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067
630#define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D
631#define GL_TEXTURE_BUFFER_SIZE_OES 0x919E
632 typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
633 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
634#ifdef GL_GLEXT_PROTOTYPES
635GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
636GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
637#endif
638#endif /* GL_OES_texture_buffer */
639
640#ifndef GL_OES_texture_compression_astc
641#define GL_OES_texture_compression_astc 1
642#define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0
643#define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1
644#define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2
645#define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3
646#define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4
647#define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5
648#define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6
649#define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7
650#define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8
651#define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9
652#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0
653#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1
654#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2
655#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3
656#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4
657#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5
658#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6
659#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7
660#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8
661#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9
662#endif /* GL_OES_texture_compression_astc */
663
664#ifndef GL_OES_texture_cube_map_array
665#define GL_OES_texture_cube_map_array 1
666#define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009
667#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A
668#define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C
669#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D
670#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E
671#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F
672#define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054
673#define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F
674#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A
675#endif /* GL_OES_texture_cube_map_array */
676
677#ifndef GL_OES_texture_float
678#define GL_OES_texture_float 1
679#endif /* GL_OES_texture_float */
680
681#ifndef GL_OES_texture_float_linear
682#define GL_OES_texture_float_linear 1
683#endif /* GL_OES_texture_float_linear */
684
685#ifndef GL_OES_texture_half_float
686#define GL_OES_texture_half_float 1
687#define GL_HALF_FLOAT_OES 0x8D61
688#endif /* GL_OES_texture_half_float */
689
690#ifndef GL_OES_texture_half_float_linear
691#define GL_OES_texture_half_float_linear 1
692#endif /* GL_OES_texture_half_float_linear */
693
694#ifndef GL_OES_texture_npot
695#define GL_OES_texture_npot 1
696#endif /* GL_OES_texture_npot */
697
698#ifndef GL_OES_texture_stencil8
699#define GL_OES_texture_stencil8 1
700#define GL_STENCIL_INDEX_OES 0x1901
701#define GL_STENCIL_INDEX8_OES 0x8D48
702#endif /* GL_OES_texture_stencil8 */
703
704#ifndef GL_OES_texture_storage_multisample_2d_array
705#define GL_OES_texture_storage_multisample_2d_array 1
706#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102
707#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105
708#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B
709#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C
710#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D
711 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
712#ifdef GL_GLEXT_PROTOTYPES
713GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
714#endif
715#endif /* GL_OES_texture_storage_multisample_2d_array */
716
717#ifndef GL_OES_texture_view
718#define GL_OES_texture_view 1
719#define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB
720#define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC
721#define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD
722#define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE
723#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
724 typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
725#ifdef GL_GLEXT_PROTOTYPES
726GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
727#endif
728#endif /* GL_OES_texture_view */
729
730#ifndef GL_OES_vertex_array_object
731#define GL_OES_vertex_array_object 1
732#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
733 typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
734 typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
735 typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
736 typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
737#ifdef GL_GLEXT_PROTOTYPES
738GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
739GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
740GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
741GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
742#endif
743#endif /* GL_OES_vertex_array_object */
744
745#ifndef GL_OES_vertex_half_float
746#define GL_OES_vertex_half_float 1
747#endif /* GL_OES_vertex_half_float */
748
749#ifndef GL_OES_vertex_type_10_10_10_2
750#define GL_OES_vertex_type_10_10_10_2 1
751#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
752#define GL_INT_10_10_10_2_OES 0x8DF7
753#endif /* GL_OES_vertex_type_10_10_10_2 */
754
755#ifndef GL_AMD_compressed_3DC_texture
756#define GL_AMD_compressed_3DC_texture 1
757#define GL_3DC_X_AMD 0x87F9
758#define GL_3DC_XY_AMD 0x87FA
759#endif /* GL_AMD_compressed_3DC_texture */
760
761#ifndef GL_AMD_compressed_ATC_texture
762#define GL_AMD_compressed_ATC_texture 1
763#define GL_ATC_RGB_AMD 0x8C92
764#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
765#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
766#endif /* GL_AMD_compressed_ATC_texture */
767
768#ifndef GL_AMD_performance_monitor
769#define GL_AMD_performance_monitor 1
770#define GL_COUNTER_TYPE_AMD 0x8BC0
771#define GL_COUNTER_RANGE_AMD 0x8BC1
772#define GL_UNSIGNED_INT64_AMD 0x8BC2
773#define GL_PERCENTAGE_AMD 0x8BC3
774#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
775#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
776#define GL_PERFMON_RESULT_AMD 0x8BC6
777 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
778 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
779 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
780 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
781 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
782 typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
783 typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
784 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
785 typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
786 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
787 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
788#ifdef GL_GLEXT_PROTOTYPES
789GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
790GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
791GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
792GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
793GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
794GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
795GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
796GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
797GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
798GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
799GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
800#endif
801#endif /* GL_AMD_performance_monitor */
802
803#ifndef GL_AMD_program_binary_Z400
804#define GL_AMD_program_binary_Z400 1
805#define GL_Z400_BINARY_AMD 0x8740
806#endif /* GL_AMD_program_binary_Z400 */
807
808#ifndef GL_ANDROID_extension_pack_es31a
809#define GL_ANDROID_extension_pack_es31a 1
810#endif /* GL_ANDROID_extension_pack_es31a */
811
812#ifndef GL_ANGLE_depth_texture
813#define GL_ANGLE_depth_texture 1
814#endif /* GL_ANGLE_depth_texture */
815
816#ifndef GL_ANGLE_framebuffer_blit
817#define GL_ANGLE_framebuffer_blit 1
818#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
819#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
820#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
821#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
822 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
823#ifdef GL_GLEXT_PROTOTYPES
824GL_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);
825#endif
826#endif /* GL_ANGLE_framebuffer_blit */
827
828#ifndef GL_ANGLE_framebuffer_multisample
829#define GL_ANGLE_framebuffer_multisample 1
830#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
831#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
832#define GL_MAX_SAMPLES_ANGLE 0x8D57
833 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
834#ifdef GL_GLEXT_PROTOTYPES
835GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
836#endif
837#endif /* GL_ANGLE_framebuffer_multisample */
838
839#ifndef GL_ANGLE_instanced_arrays
840#define GL_ANGLE_instanced_arrays 1
841#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
842 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
843 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
844 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
845#ifdef GL_GLEXT_PROTOTYPES
846GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
847GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
848GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
849#endif
850#endif /* GL_ANGLE_instanced_arrays */
851
852#ifndef GL_ANGLE_pack_reverse_row_order
853#define GL_ANGLE_pack_reverse_row_order 1
854#define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
855#endif /* GL_ANGLE_pack_reverse_row_order */
856
857#ifndef GL_ANGLE_program_binary
858#define GL_ANGLE_program_binary 1
859#define GL_PROGRAM_BINARY_ANGLE 0x93A6
860#endif /* GL_ANGLE_program_binary */
861
862#ifndef GL_ANGLE_texture_compression_dxt3
863#define GL_ANGLE_texture_compression_dxt3 1
864#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
865#endif /* GL_ANGLE_texture_compression_dxt3 */
866
867#ifndef GL_ANGLE_texture_compression_dxt5
868#define GL_ANGLE_texture_compression_dxt5 1
869#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
870#endif /* GL_ANGLE_texture_compression_dxt5 */
871
872#ifndef GL_ANGLE_texture_usage
873#define GL_ANGLE_texture_usage 1
874#define GL_TEXTURE_USAGE_ANGLE 0x93A2
875#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
876#endif /* GL_ANGLE_texture_usage */
877
878#ifndef GL_ANGLE_translated_shader_source
879#define GL_ANGLE_translated_shader_source 1
880#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
881 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
882#ifdef GL_GLEXT_PROTOTYPES
883GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
884#endif
885#endif /* GL_ANGLE_translated_shader_source */
886
887#ifndef GL_APPLE_clip_distance
888#define GL_APPLE_clip_distance 1
889#define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32
890#define GL_CLIP_DISTANCE0_APPLE 0x3000
891#define GL_CLIP_DISTANCE1_APPLE 0x3001
892#define GL_CLIP_DISTANCE2_APPLE 0x3002
893#define GL_CLIP_DISTANCE3_APPLE 0x3003
894#define GL_CLIP_DISTANCE4_APPLE 0x3004
895#define GL_CLIP_DISTANCE5_APPLE 0x3005
896#define GL_CLIP_DISTANCE6_APPLE 0x3006
897#define GL_CLIP_DISTANCE7_APPLE 0x3007
898#endif /* GL_APPLE_clip_distance */
899
900#ifndef GL_APPLE_color_buffer_packed_float
901#define GL_APPLE_color_buffer_packed_float 1
902#endif /* GL_APPLE_color_buffer_packed_float */
903
904#ifndef GL_APPLE_copy_texture_levels
905#define GL_APPLE_copy_texture_levels 1
906 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
907#ifdef GL_GLEXT_PROTOTYPES
908GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
909#endif
910#endif /* GL_APPLE_copy_texture_levels */
911
912#ifndef GL_APPLE_framebuffer_multisample
913#define GL_APPLE_framebuffer_multisample 1
914#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
915#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
916#define GL_MAX_SAMPLES_APPLE 0x8D57
917#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
918#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
919#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
920#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
921 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
922 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
923#ifdef GL_GLEXT_PROTOTYPES
924GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
925GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
926#endif
927#endif /* GL_APPLE_framebuffer_multisample */
928
929#ifndef GL_APPLE_rgb_422
930#define GL_APPLE_rgb_422 1
931#define GL_RGB_422_APPLE 0x8A1F
932#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
933#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
934#define GL_RGB_RAW_422_APPLE 0x8A51
935#endif /* GL_APPLE_rgb_422 */
936
937#ifndef GL_APPLE_texture_format_BGRA8888
938#define GL_APPLE_texture_format_BGRA8888 1
939#define GL_BGRA_EXT 0x80E1
940#define GL_BGRA8_EXT 0x93A1
941#endif /* GL_APPLE_texture_format_BGRA8888 */
942
943#ifndef GL_APPLE_texture_max_level
944#define GL_APPLE_texture_max_level 1
945#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
946#endif /* GL_APPLE_texture_max_level */
947
948#ifndef GL_APPLE_texture_packed_float
949#define GL_APPLE_texture_packed_float 1
950#define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B
951#define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E
952#define GL_R11F_G11F_B10F_APPLE 0x8C3A
953#define GL_RGB9_E5_APPLE 0x8C3D
954#endif /* GL_APPLE_texture_packed_float */
955
956#ifndef GL_ARM_mali_program_binary
957#define GL_ARM_mali_program_binary 1
958#define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
959#endif /* GL_ARM_mali_program_binary */
960
961#ifndef GL_ARM_mali_shader_binary
962#define GL_ARM_mali_shader_binary 1
963#define GL_MALI_SHADER_BINARY_ARM 0x8F60
964#endif /* GL_ARM_mali_shader_binary */
965
966#ifndef GL_ARM_rgba8
967#define GL_ARM_rgba8 1
968#endif /* GL_ARM_rgba8 */
969
970#ifndef GL_ARM_shader_framebuffer_fetch
971#define GL_ARM_shader_framebuffer_fetch 1
972#define GL_FETCH_PER_SAMPLE_ARM 0x8F65
973#define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66
974#endif /* GL_ARM_shader_framebuffer_fetch */
975
976#ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil
977#define GL_ARM_shader_framebuffer_fetch_depth_stencil 1
978#endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */
979
980#ifndef GL_DMP_program_binary
981#define GL_DMP_program_binary 1
982#define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251
983#define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252
984#define GL_DMP_PROGRAM_BINARY_DMP 0x9253
985#endif /* GL_DMP_program_binary */
986
987#ifndef GL_DMP_shader_binary
988#define GL_DMP_shader_binary 1
989#define GL_SHADER_BINARY_DMP 0x9250
990#endif /* GL_DMP_shader_binary */
991
992#ifndef GL_EXT_YUV_target
993#define GL_EXT_YUV_target 1
994#define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7
995#endif /* GL_EXT_YUV_target */
996
997#ifndef GL_EXT_base_instance
998#define GL_EXT_base_instance 1
999 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
1000 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
1001 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
1002#ifdef GL_GLEXT_PROTOTYPES
1003GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
1004GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
1005GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
1006#endif
1007#endif /* GL_EXT_base_instance */
1008
1009#ifndef GL_EXT_blend_func_extended
1010#define GL_EXT_blend_func_extended 1
1011#define GL_SRC1_COLOR_EXT 0x88F9
1012#define GL_SRC1_ALPHA_EXT 0x8589
1013#define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
1014#define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
1015#define GL_SRC_ALPHA_SATURATE_EXT 0x0308
1016#define GL_LOCATION_INDEX_EXT 0x930F
1017#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
1018 typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1019 typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
1020 typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name);
1021 typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name);
1022#ifdef GL_GLEXT_PROTOTYPES
1023GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1024GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
1025GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name);
1026GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name);
1027#endif
1028#endif /* GL_EXT_blend_func_extended */
1029
1030#ifndef GL_EXT_blend_minmax
1031#define GL_EXT_blend_minmax 1
1032#define GL_MIN_EXT 0x8007
1033#define GL_MAX_EXT 0x8008
1034#endif /* GL_EXT_blend_minmax */
1035
1036#ifndef GL_EXT_buffer_storage
1037#define GL_EXT_buffer_storage 1
1038#define GL_MAP_READ_BIT 0x0001
1039#define GL_MAP_WRITE_BIT 0x0002
1040#define GL_MAP_PERSISTENT_BIT_EXT 0x0040
1041#define GL_MAP_COHERENT_BIT_EXT 0x0080
1042#define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100
1043#define GL_CLIENT_STORAGE_BIT_EXT 0x0200
1044#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000
1045#define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F
1046#define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220
1047 typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
1048#ifdef GL_GLEXT_PROTOTYPES
1049GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
1050#endif
1051#endif /* GL_EXT_buffer_storage */
1052
1053#ifndef GL_EXT_clear_texture
1054#define GL_EXT_clear_texture 1
1055 typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
1056 typedef 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);
1057#ifdef GL_GLEXT_PROTOTYPES
1058GL_APICALL void GL_APIENTRY glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
1059GL_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);
1060#endif
1061#endif /* GL_EXT_clear_texture */
1062
1063#ifndef GL_EXT_clip_control
1064#define GL_EXT_clip_control 1
1065#define GL_LOWER_LEFT_EXT 0x8CA1
1066#define GL_UPPER_LEFT_EXT 0x8CA2
1067#define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E
1068#define GL_ZERO_TO_ONE_EXT 0x935F
1069#define GL_CLIP_ORIGIN_EXT 0x935C
1070#define GL_CLIP_DEPTH_MODE_EXT 0x935D
1071 typedef void (GL_APIENTRYP PFNGLCLIPCONTROLEXTPROC) (GLenum origin, GLenum depth);
1072#ifdef GL_GLEXT_PROTOTYPES
1073GL_APICALL void GL_APIENTRY glClipControlEXT (GLenum origin, GLenum depth);
1074#endif
1075#endif /* GL_EXT_clip_control */
1076
1077#ifndef GL_EXT_color_buffer_float
1078#define GL_EXT_color_buffer_float 1
1079#endif /* GL_EXT_color_buffer_float */
1080
1081#ifndef GL_EXT_color_buffer_half_float
1082#define GL_EXT_color_buffer_half_float 1
1083#define GL_RGBA16F_EXT 0x881A
1084#define GL_RGB16F_EXT 0x881B
1085#define GL_RG16F_EXT 0x822F
1086#define GL_R16F_EXT 0x822D
1087#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
1088#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
1089#endif /* GL_EXT_color_buffer_half_float */
1090
1091#ifndef GL_EXT_copy_image
1092#define GL_EXT_copy_image 1
1093 typedef 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);
1094#ifdef GL_GLEXT_PROTOTYPES
1095GL_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);
1096#endif
1097#endif /* GL_EXT_copy_image */
1098
1099#ifndef GL_EXT_debug_label
1100#define GL_EXT_debug_label 1
1101#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
1102#define GL_PROGRAM_OBJECT_EXT 0x8B40
1103#define GL_SHADER_OBJECT_EXT 0x8B48
1104#define GL_BUFFER_OBJECT_EXT 0x9151
1105#define GL_QUERY_OBJECT_EXT 0x9153
1106#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
1107#define GL_TRANSFORM_FEEDBACK 0x8E22
1108 typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
1109 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
1110#ifdef GL_GLEXT_PROTOTYPES
1111GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
1112GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
1113#endif
1114#endif /* GL_EXT_debug_label */
1115
1116#ifndef GL_EXT_debug_marker
1117#define GL_EXT_debug_marker 1
1118 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1119 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1120 typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
1121#ifdef GL_GLEXT_PROTOTYPES
1122GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
1123GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
1124GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);
1125#endif
1126#endif /* GL_EXT_debug_marker */
1127
1128#ifndef GL_EXT_discard_framebuffer
1129#define GL_EXT_discard_framebuffer 1
1130#define GL_COLOR_EXT 0x1800
1131#define GL_DEPTH_EXT 0x1801
1132#define GL_STENCIL_EXT 0x1802
1133 typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
1134#ifdef GL_GLEXT_PROTOTYPES
1135GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
1136#endif
1137#endif /* GL_EXT_discard_framebuffer */
1138
1139#ifndef GL_EXT_disjoint_timer_query
1140#define GL_EXT_disjoint_timer_query 1
1141#define GL_QUERY_COUNTER_BITS_EXT 0x8864
1142#define GL_CURRENT_QUERY_EXT 0x8865
1143#define GL_QUERY_RESULT_EXT 0x8866
1144#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
1145#define GL_TIME_ELAPSED_EXT 0x88BF
1146#define GL_TIMESTAMP_EXT 0x8E28
1147#define GL_GPU_DISJOINT_EXT 0x8FBB
1148 typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
1149 typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids);
1150 typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
1151 typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
1152 typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
1153 typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
1154 typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
1155 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params);
1156 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params);
1157//typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
1158//typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
1159#ifdef GL_GLEXT_PROTOTYPES
1160GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
1161GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
1162GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id);
1163GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id);
1164GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target);
1165GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target);
1166GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params);
1167GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params);
1168GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);
1169//GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
1170//GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
1171#endif
1172#endif /* GL_EXT_disjoint_timer_query */
1173
1174#ifndef GL_EXT_draw_buffers
1175#define GL_EXT_draw_buffers 1
1176#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
1177#define GL_MAX_DRAW_BUFFERS_EXT 0x8824
1178#define GL_DRAW_BUFFER0_EXT 0x8825
1179#define GL_DRAW_BUFFER1_EXT 0x8826
1180#define GL_DRAW_BUFFER2_EXT 0x8827
1181#define GL_DRAW_BUFFER3_EXT 0x8828
1182#define GL_DRAW_BUFFER4_EXT 0x8829
1183#define GL_DRAW_BUFFER5_EXT 0x882A
1184#define GL_DRAW_BUFFER6_EXT 0x882B
1185#define GL_DRAW_BUFFER7_EXT 0x882C
1186#define GL_DRAW_BUFFER8_EXT 0x882D
1187#define GL_DRAW_BUFFER9_EXT 0x882E
1188#define GL_DRAW_BUFFER10_EXT 0x882F
1189#define GL_DRAW_BUFFER11_EXT 0x8830
1190#define GL_DRAW_BUFFER12_EXT 0x8831
1191#define GL_DRAW_BUFFER13_EXT 0x8832
1192#define GL_DRAW_BUFFER14_EXT 0x8833
1193#define GL_DRAW_BUFFER15_EXT 0x8834
1194#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
1195#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
1196#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
1197#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
1198#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
1199#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
1200#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
1201#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
1202#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
1203#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
1204#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
1205#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
1206#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
1207#define GL_COLOR_ATTACHMENT13_EXT 0x8CED
1208#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
1209#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
1210 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
1211#ifdef GL_GLEXT_PROTOTYPES
1212GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
1213#endif
1214#endif /* GL_EXT_draw_buffers */
1215
1216#ifndef GL_EXT_draw_buffers_indexed
1217#define GL_EXT_draw_buffers_indexed 1
1218 typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index);
1219 typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index);
1220 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode);
1221 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1222 typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst);
1223 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1224 typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1225 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index);
1226#ifdef GL_GLEXT_PROTOTYPES
1227GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index);
1228GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index);
1229GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode);
1230GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1231GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst);
1232GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1233GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1234GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index);
1235#endif
1236#endif /* GL_EXT_draw_buffers_indexed */
1237
1238#ifndef GL_EXT_draw_elements_base_vertex
1239#define GL_EXT_draw_elements_base_vertex 1
1240 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1241 typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1242 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1243 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
1244#ifdef GL_GLEXT_PROTOTYPES
1245GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1246GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1247GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1248GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
1249#endif
1250#endif /* GL_EXT_draw_elements_base_vertex */
1251
1252#ifndef GL_EXT_draw_instanced
1253#define GL_EXT_draw_instanced 1
1254 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1255 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1256#ifdef GL_GLEXT_PROTOTYPES
1257GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1258GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1259#endif
1260#endif /* GL_EXT_draw_instanced */
1261
1262#ifndef GL_EXT_float_blend
1263#define GL_EXT_float_blend 1
1264#endif /* GL_EXT_float_blend */
1265
1266#ifndef GL_EXT_geometry_point_size
1267#define GL_EXT_geometry_point_size 1
1268#endif /* GL_EXT_geometry_point_size */
1269
1270#ifndef GL_EXT_geometry_shader
1271#define GL_EXT_geometry_shader 1
1272#define GL_GEOMETRY_SHADER_EXT 0x8DD9
1273#define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004
1274#define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916
1275#define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917
1276#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918
1277#define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F
1278#define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E
1279#define GL_LINES_ADJACENCY_EXT 0x000A
1280#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
1281#define GL_TRIANGLES_ADJACENCY_EXT 0x000C
1282#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
1283#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
1284#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C
1285#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32
1286#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123
1287#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124
1288#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
1289#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
1290#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A
1291#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
1292#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF
1293#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5
1294#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD
1295#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7
1296#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
1297#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
1298#define GL_UNDEFINED_VERTEX_EXT 0x8260
1299#define GL_PRIMITIVES_GENERATED_EXT 0x8C87
1300#define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312
1301#define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317
1302#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
1303#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
1304#define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309
1305 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1306#ifdef GL_GLEXT_PROTOTYPES
1307GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
1308#endif
1309#endif /* GL_EXT_geometry_shader */
1310
1311#ifndef GL_EXT_gpu_shader5
1312#define GL_EXT_gpu_shader5 1
1313#endif /* GL_EXT_gpu_shader5 */
1314
1315#ifndef GL_EXT_instanced_arrays
1316#define GL_EXT_instanced_arrays 1
1317#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE
1318 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor);
1319#ifdef GL_GLEXT_PROTOTYPES
1320GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor);
1321#endif
1322#endif /* GL_EXT_instanced_arrays */
1323
1324#ifndef GL_EXT_map_buffer_range
1325#define GL_EXT_map_buffer_range 1
1326#define GL_MAP_READ_BIT_EXT 0x0001
1327#define GL_MAP_WRITE_BIT_EXT 0x0002
1328#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
1329#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
1330#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
1331#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
1332 typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1333 typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1334#ifdef GL_GLEXT_PROTOTYPES
1335GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1336GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);
1337#endif
1338#endif /* GL_EXT_map_buffer_range */
1339
1340#ifndef GL_EXT_multi_draw_arrays
1341#define GL_EXT_multi_draw_arrays 1
1342 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1343 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
1344#ifdef GL_GLEXT_PROTOTYPES
1345GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1346GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
1347#endif
1348#endif /* GL_EXT_multi_draw_arrays */
1349
1350#ifndef GL_EXT_multi_draw_indirect
1351#define GL_EXT_multi_draw_indirect 1
1352 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
1353 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
1354#ifdef GL_GLEXT_PROTOTYPES
1355GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
1356GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
1357#endif
1358#endif /* GL_EXT_multi_draw_indirect */
1359
1360#ifndef GL_EXT_multisampled_compatibility
1361#define GL_EXT_multisampled_compatibility 1
1362#define GL_MULTISAMPLE_EXT 0x809D
1363#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1364#endif /* GL_EXT_multisampled_compatibility */
1365
1366#ifndef GL_EXT_multisampled_render_to_texture
1367#define GL_EXT_multisampled_render_to_texture 1
1368#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
1369#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
1370#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
1371#define GL_MAX_SAMPLES_EXT 0x8D57
1372 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1373 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1374#ifdef GL_GLEXT_PROTOTYPES
1375GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1376GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1377#endif
1378#endif /* GL_EXT_multisampled_render_to_texture */
1379
1380#ifndef GL_EXT_multiview_draw_buffers
1381#define GL_EXT_multiview_draw_buffers 1
1382#define GL_COLOR_ATTACHMENT_EXT 0x90F0
1383#define GL_MULTIVIEW_EXT 0x90F1
1384#define GL_DRAW_BUFFER_EXT 0x0C01
1385#define GL_READ_BUFFER_EXT 0x0C02
1386#define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
1387 typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);
1388 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
1389 typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data);
1390#ifdef GL_GLEXT_PROTOTYPES
1391GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);
1392GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
1393GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data);
1394#endif
1395#endif /* GL_EXT_multiview_draw_buffers */
1396
1397#ifndef GL_EXT_occlusion_query_boolean
1398#define GL_EXT_occlusion_query_boolean 1
1399#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
1400#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
1401#endif /* GL_EXT_occlusion_query_boolean */
1402
1403#ifndef GL_EXT_polygon_offset_clamp
1404#define GL_EXT_polygon_offset_clamp 1
1405#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
1406 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
1407#ifdef GL_GLEXT_PROTOTYPES
1408GL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
1409#endif
1410#endif /* GL_EXT_polygon_offset_clamp */
1411
1412#ifndef GL_EXT_post_depth_coverage
1413#define GL_EXT_post_depth_coverage 1
1414#endif /* GL_EXT_post_depth_coverage */
1415
1416#ifndef GL_EXT_primitive_bounding_box
1417#define GL_EXT_primitive_bounding_box 1
1418#define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE
1419 typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
1420#ifdef GL_GLEXT_PROTOTYPES
1421GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
1422#endif
1423#endif /* GL_EXT_primitive_bounding_box */
1424
1425#ifndef GL_EXT_pvrtc_sRGB
1426#define GL_EXT_pvrtc_sRGB 1
1427#define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54
1428#define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55
1429#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56
1430#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57
1431#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0
1432#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1
1433#endif /* GL_EXT_pvrtc_sRGB */
1434
1435#ifndef GL_EXT_raster_multisample
1436#define GL_EXT_raster_multisample 1
1437#define GL_RASTER_MULTISAMPLE_EXT 0x9327
1438#define GL_RASTER_SAMPLES_EXT 0x9328
1439#define GL_MAX_RASTER_SAMPLES_EXT 0x9329
1440#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
1441#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
1442#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
1443 typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
1444#ifdef GL_GLEXT_PROTOTYPES
1445GL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
1446#endif
1447#endif /* GL_EXT_raster_multisample */
1448
1449#ifndef GL_EXT_read_format_bgra
1450#define GL_EXT_read_format_bgra 1
1451#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
1452#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
1453#endif /* GL_EXT_read_format_bgra */
1454
1455#ifndef GL_EXT_render_snorm
1456#define GL_EXT_render_snorm 1
1457#define GL_R8_SNORM 0x8F94
1458#define GL_RG8_SNORM 0x8F95
1459#define GL_RGBA8_SNORM 0x8F97
1460#define GL_R16_SNORM_EXT 0x8F98
1461#define GL_RG16_SNORM_EXT 0x8F99
1462#define GL_RGBA16_SNORM_EXT 0x8F9B
1463#endif /* GL_EXT_render_snorm */
1464
1465#ifndef GL_EXT_robustness
1466#define GL_EXT_robustness 1
1467#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
1468#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
1469#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
1470#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
1471#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
1472#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
1473#define GL_NO_RESET_NOTIFICATION_EXT 0x8261
1474 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
1475 typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1476 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1477 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
1478#ifdef GL_GLEXT_PROTOTYPES
1479GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
1480GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1481GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1482GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
1483#endif
1484#endif /* GL_EXT_robustness */
1485
1486#ifndef GL_EXT_sRGB
1487#define GL_EXT_sRGB 1
1488#define GL_SRGB_EXT 0x8C40
1489#define GL_SRGB_ALPHA_EXT 0x8C42
1490#define GL_SRGB8_ALPHA8_EXT 0x8C43
1491#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
1492#endif /* GL_EXT_sRGB */
1493
1494#ifndef GL_EXT_sRGB_write_control
1495#define GL_EXT_sRGB_write_control 1
1496#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
1497#endif /* GL_EXT_sRGB_write_control */
1498
1499#ifndef GL_EXT_separate_shader_objects
1500#define GL_EXT_separate_shader_objects 1
1501#define GL_ACTIVE_PROGRAM_EXT 0x8259
1502#define GL_VERTEX_SHADER_BIT_EXT 0x00000001
1503#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
1504#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF
1505#define GL_PROGRAM_SEPARABLE_EXT 0x8258
1506#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A
1507 typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program);
1508 typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1509 typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings);
1510 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines);
1511 typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines);
1512 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1513 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params);
1514 typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1515 typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
1516 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
1517 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1518 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
1519 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1520 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1521 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1522 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1523 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1524 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1525 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1526 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1527 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1528 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1529 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1530 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1531 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1532 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1533 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1534 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1535 typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1536 typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1537 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
1538 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1539 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1540 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1541 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1542 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1543 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1544 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1545 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1546 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1547 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1548 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1549 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1550 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1551#ifdef GL_GLEXT_PROTOTYPES
1552GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program);
1553GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);
1554GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings);
1555GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines);
1556GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines);
1557GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1558GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params);
1559GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);
1560GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
1561GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
1562GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1563GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
1564GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1565GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1566GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1567GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
1568GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1569GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1570GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1571GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1572GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1573GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1574GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1575GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1576GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1577GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1578GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1579GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1580GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program);
1581GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);
1582GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
1583GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
1584GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1585GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1586GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1587GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1588GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1589GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1590GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1591GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1592GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1593GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1594GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1595GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1596#endif
1597#endif /* GL_EXT_separate_shader_objects */
1598
1599#ifndef GL_EXT_shader_framebuffer_fetch
1600#define GL_EXT_shader_framebuffer_fetch 1
1601#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
1602#endif /* GL_EXT_shader_framebuffer_fetch */
1603
1604#ifndef GL_EXT_shader_group_vote
1605#define GL_EXT_shader_group_vote 1
1606#endif /* GL_EXT_shader_group_vote */
1607
1608#ifndef GL_EXT_shader_implicit_conversions
1609#define GL_EXT_shader_implicit_conversions 1
1610#endif /* GL_EXT_shader_implicit_conversions */
1611
1612#ifndef GL_EXT_shader_integer_mix
1613#define GL_EXT_shader_integer_mix 1
1614#endif /* GL_EXT_shader_integer_mix */
1615
1616#ifndef GL_EXT_shader_io_blocks
1617#define GL_EXT_shader_io_blocks 1
1618#endif /* GL_EXT_shader_io_blocks */
1619
1620#ifndef GL_EXT_shader_pixel_local_storage
1621#define GL_EXT_shader_pixel_local_storage 1
1622#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63
1623#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67
1624#define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64
1625#endif /* GL_EXT_shader_pixel_local_storage */
1626
1627#ifndef GL_EXT_shader_pixel_local_storage2
1628#define GL_EXT_shader_pixel_local_storage2 1
1629#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650
1630#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651
1631#define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652
1632 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size);
1633 typedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target);
1634 typedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values);
1635#ifdef GL_GLEXT_PROTOTYPES
1636GL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size);
1637GL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target);
1638GL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values);
1639#endif
1640#endif /* GL_EXT_shader_pixel_local_storage2 */
1641
1642#ifndef GL_EXT_shader_texture_lod
1643#define GL_EXT_shader_texture_lod 1
1644#endif /* GL_EXT_shader_texture_lod */
1645
1646#ifndef GL_EXT_shadow_samplers
1647#define GL_EXT_shadow_samplers 1
1648#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
1649#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
1650#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
1651#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
1652#endif /* GL_EXT_shadow_samplers */
1653
1654#ifndef GL_EXT_sparse_texture
1655#define GL_EXT_sparse_texture 1
1656#define GL_TEXTURE_SPARSE_EXT 0x91A6
1657#define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7
1658#define GL_NUM_SPARSE_LEVELS_EXT 0x91AA
1659#define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8
1660#define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195
1661#define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196
1662#define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197
1663#define GL_TEXTURE_2D_ARRAY 0x8C1A
1664#define GL_TEXTURE_3D 0x806F
1665#define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198
1666#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199
1667#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A
1668#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9
1669 typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
1670#ifdef GL_GLEXT_PROTOTYPES
1671GL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
1672#endif
1673#endif /* GL_EXT_sparse_texture */
1674
1675#ifndef GL_EXT_tessellation_point_size
1676#define GL_EXT_tessellation_point_size 1
1677#endif /* GL_EXT_tessellation_point_size */
1678
1679#ifndef GL_EXT_tessellation_shader
1680#define GL_EXT_tessellation_shader 1
1681#define GL_PATCHES_EXT 0x000E
1682#define GL_PATCH_VERTICES_EXT 0x8E72
1683#define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75
1684#define GL_TESS_GEN_MODE_EXT 0x8E76
1685#define GL_TESS_GEN_SPACING_EXT 0x8E77
1686#define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78
1687#define GL_TESS_GEN_POINT_MODE_EXT 0x8E79
1688#define GL_ISOLINES_EXT 0x8E7A
1689#define GL_QUADS_EXT 0x0007
1690#define GL_FRACTIONAL_ODD_EXT 0x8E7B
1691#define GL_FRACTIONAL_EVEN_EXT 0x8E7C
1692#define GL_MAX_PATCH_VERTICES_EXT 0x8E7D
1693#define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E
1694#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F
1695#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80
1696#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81
1697#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82
1698#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83
1699#define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84
1700#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85
1701#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86
1702#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89
1703#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A
1704#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C
1705#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D
1706#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E
1707#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F
1708#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD
1709#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE
1710#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3
1711#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4
1712#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB
1713#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC
1714#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8
1715#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9
1716#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
1717#define GL_IS_PER_PATCH_EXT 0x92E7
1718#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307
1719#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308
1720#define GL_TESS_CONTROL_SHADER_EXT 0x8E88
1721#define GL_TESS_EVALUATION_SHADER_EXT 0x8E87
1722#define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008
1723#define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010
1724 typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value);
1725#ifdef GL_GLEXT_PROTOTYPES
1726GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value);
1727#endif
1728#endif /* GL_EXT_tessellation_shader */
1729
1730#ifndef GL_EXT_texture_border_clamp
1731#define GL_EXT_texture_border_clamp 1
1732#define GL_TEXTURE_BORDER_COLOR_EXT 0x1004
1733#define GL_CLAMP_TO_BORDER_EXT 0x812D
1734 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
1735 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
1736 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
1737 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
1738 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param);
1739 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param);
1740 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params);
1741 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params);
1742#ifdef GL_GLEXT_PROTOTYPES
1743GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
1744GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
1745GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
1746GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
1747GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param);
1748GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param);
1749GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params);
1750GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params);
1751#endif
1752#endif /* GL_EXT_texture_border_clamp */
1753
1754#ifndef GL_EXT_texture_buffer
1755#define GL_EXT_texture_buffer 1
1756#define GL_TEXTURE_BUFFER_EXT 0x8C2A
1757#define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A
1758#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
1759#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
1760#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
1761#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F
1762#define GL_SAMPLER_BUFFER_EXT 0x8DC2
1763#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
1764#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
1765#define GL_IMAGE_BUFFER_EXT 0x9051
1766#define GL_INT_IMAGE_BUFFER_EXT 0x905C
1767#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
1768#define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D
1769#define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E
1770 typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
1771 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
1772#ifdef GL_GLEXT_PROTOTYPES
1773GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
1774GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
1775#endif
1776#endif /* GL_EXT_texture_buffer */
1777
1778#ifndef GL_EXT_texture_compression_dxt1
1779#define GL_EXT_texture_compression_dxt1 1
1780#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
1781#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
1782#endif /* GL_EXT_texture_compression_dxt1 */
1783
1784#ifndef GL_EXT_texture_compression_s3tc
1785#define GL_EXT_texture_compression_s3tc 1
1786#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
1787#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
1788#endif /* GL_EXT_texture_compression_s3tc */
1789
1790#ifndef GL_EXT_texture_cube_map_array
1791#define GL_EXT_texture_cube_map_array 1
1792#define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009
1793#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A
1794#define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C
1795#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D
1796#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E
1797#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F
1798#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
1799#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
1800#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
1801#endif /* GL_EXT_texture_cube_map_array */
1802
1803#ifndef GL_EXT_texture_filter_anisotropic
1804#define GL_EXT_texture_filter_anisotropic 1
1805#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
1806#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
1807#endif /* GL_EXT_texture_filter_anisotropic */
1808
1809#ifndef GL_EXT_texture_filter_minmax
1810#define GL_EXT_texture_filter_minmax 1
1811#endif /* GL_EXT_texture_filter_minmax */
1812
1813#ifndef GL_EXT_texture_format_BGRA8888
1814#define GL_EXT_texture_format_BGRA8888 1
1815#endif /* GL_EXT_texture_format_BGRA8888 */
1816
1817#ifndef GL_EXT_texture_norm16
1818#define GL_EXT_texture_norm16 1
1819#define GL_R16_EXT 0x822A
1820#define GL_RG16_EXT 0x822C
1821#define GL_RGBA16_EXT 0x805B
1822#define GL_RGB16_EXT 0x8054
1823#define GL_RGB16_SNORM_EXT 0x8F9A
1824#endif /* GL_EXT_texture_norm16 */
1825
1826#ifndef GL_EXT_texture_rg
1827#define GL_EXT_texture_rg 1
1828#define GL_RED_EXT 0x1903
1829#define GL_RG_EXT 0x8227
1830#define GL_R8_EXT 0x8229
1831#define GL_RG8_EXT 0x822B
1832#endif /* GL_EXT_texture_rg */
1833
1834#ifndef GL_EXT_texture_sRGB_R8
1835#define GL_EXT_texture_sRGB_R8 1
1836#define GL_SR8_EXT 0x8FBD
1837#endif /* GL_EXT_texture_sRGB_R8 */
1838
1839#ifndef GL_EXT_texture_sRGB_RG8
1840#define GL_EXT_texture_sRGB_RG8 1
1841#define GL_SRG8_EXT 0x8FBE
1842#endif /* GL_EXT_texture_sRGB_RG8 */
1843
1844#ifndef GL_EXT_texture_sRGB_decode
1845#define GL_EXT_texture_sRGB_decode 1
1846#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
1847#define GL_DECODE_EXT 0x8A49
1848#define GL_SKIP_DECODE_EXT 0x8A4A
1849#endif /* GL_EXT_texture_sRGB_decode */
1850
1851#ifndef GL_EXT_texture_storage
1852#define GL_EXT_texture_storage 1
1853#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
1854#define GL_ALPHA8_EXT 0x803C
1855#define GL_LUMINANCE8_EXT 0x8040
1856#define GL_LUMINANCE8_ALPHA8_EXT 0x8045
1857#define GL_RGBA32F_EXT 0x8814
1858#define GL_RGB32F_EXT 0x8815
1859#define GL_ALPHA32F_EXT 0x8816
1860#define GL_LUMINANCE32F_EXT 0x8818
1861#define GL_LUMINANCE_ALPHA32F_EXT 0x8819
1862#define GL_ALPHA16F_EXT 0x881C
1863#define GL_LUMINANCE16F_EXT 0x881E
1864#define GL_LUMINANCE_ALPHA16F_EXT 0x881F
1865#define GL_R32F_EXT 0x822E
1866#define GL_RG32F_EXT 0x8230
1867 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1868 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1869 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1870 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1871 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1872 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1873#ifdef GL_GLEXT_PROTOTYPES
1874GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1875GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1876GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1877GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1878GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1879GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1880#endif
1881#endif /* GL_EXT_texture_storage */
1882
1883#ifndef GL_EXT_texture_type_2_10_10_10_REV
1884#define GL_EXT_texture_type_2_10_10_10_REV 1
1885#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
1886#endif /* GL_EXT_texture_type_2_10_10_10_REV */
1887
1888#ifndef GL_EXT_texture_view
1889#define GL_EXT_texture_view 1
1890#define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB
1891#define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC
1892#define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD
1893#define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE
1894 typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
1895#ifdef GL_GLEXT_PROTOTYPES
1896GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
1897#endif
1898#endif /* GL_EXT_texture_view */
1899
1900#ifndef GL_EXT_unpack_subimage
1901#define GL_EXT_unpack_subimage 1
1902#define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2
1903#define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3
1904#define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4
1905#endif /* GL_EXT_unpack_subimage */
1906
1907#ifndef GL_FJ_shader_binary_GCCSO
1908#define GL_FJ_shader_binary_GCCSO 1
1909#define GL_GCCSO_SHADER_BINARY_FJ 0x9260
1910#endif /* GL_FJ_shader_binary_GCCSO */
1911
1912#ifndef GL_IMG_framebuffer_downsample
1913#define GL_IMG_framebuffer_downsample 1
1914#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C
1915#define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D
1916#define GL_DOWNSAMPLE_SCALES_IMG 0x913E
1917#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F
1918 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
1919 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
1920#ifdef GL_GLEXT_PROTOTYPES
1921GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
1922GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
1923#endif
1924#endif /* GL_IMG_framebuffer_downsample */
1925
1926#ifndef GL_IMG_multisampled_render_to_texture
1927#define GL_IMG_multisampled_render_to_texture 1
1928#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
1929#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
1930#define GL_MAX_SAMPLES_IMG 0x9135
1931#define GL_TEXTURE_SAMPLES_IMG 0x9136
1932 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1933 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1934#ifdef GL_GLEXT_PROTOTYPES
1935GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1936GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1937#endif
1938#endif /* GL_IMG_multisampled_render_to_texture */
1939
1940#ifndef GL_IMG_program_binary
1941#define GL_IMG_program_binary 1
1942#define GL_SGX_PROGRAM_BINARY_IMG 0x9130
1943#endif /* GL_IMG_program_binary */
1944
1945#ifndef GL_IMG_read_format
1946#define GL_IMG_read_format 1
1947#define GL_BGRA_IMG 0x80E1
1948#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
1949#endif /* GL_IMG_read_format */
1950
1951#ifndef GL_IMG_shader_binary
1952#define GL_IMG_shader_binary 1
1953#define GL_SGX_BINARY_IMG 0x8C0A
1954#endif /* GL_IMG_shader_binary */
1955
1956#ifndef GL_IMG_texture_compression_pvrtc
1957#define GL_IMG_texture_compression_pvrtc 1
1958#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
1959#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
1960#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
1961#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
1962#endif /* GL_IMG_texture_compression_pvrtc */
1963
1964#ifndef GL_IMG_texture_compression_pvrtc2
1965#define GL_IMG_texture_compression_pvrtc2 1
1966#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
1967#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
1968#endif /* GL_IMG_texture_compression_pvrtc2 */
1969
1970#ifndef GL_IMG_texture_filter_cubic
1971#define GL_IMG_texture_filter_cubic 1
1972#define GL_CUBIC_IMG 0x9139
1973#define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A
1974#define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B
1975#endif /* GL_IMG_texture_filter_cubic */
1976
1977#ifndef GL_INTEL_framebuffer_CMAA
1978#define GL_INTEL_framebuffer_CMAA 1
1979 typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
1980#ifdef GL_GLEXT_PROTOTYPES
1981GL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
1982#endif
1983#endif /* GL_INTEL_framebuffer_CMAA */
1984
1985#ifndef GL_INTEL_performance_query
1986#define GL_INTEL_performance_query 1
1987#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
1988#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
1989#define GL_PERFQUERY_WAIT_INTEL 0x83FB
1990#define GL_PERFQUERY_FLUSH_INTEL 0x83FA
1991#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
1992#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
1993#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
1994#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
1995#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
1996#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
1997#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
1998#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
1999#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
2000#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
2001#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
2002#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
2003#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
2004#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
2005#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
2006#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
2007 typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
2008 typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
2009 typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
2010 typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
2011 typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
2012 typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
2013//typedef 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);
2014 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
2015 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
2016 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
2017#ifdef GL_GLEXT_PROTOTYPES
2018GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
2019GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
2020GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
2021GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
2022GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
2023GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
2024//GL_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);
2025GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
2026GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
2027GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
2028#endif
2029#endif /* GL_INTEL_performance_query */
2030
2031#ifndef GL_NV_blend_equation_advanced
2032#define GL_NV_blend_equation_advanced 1
2033#define GL_BLEND_OVERLAP_NV 0x9281
2034#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
2035#define GL_BLUE_NV 0x1905
2036#define GL_COLORBURN_NV 0x929A
2037#define GL_COLORDODGE_NV 0x9299
2038#define GL_CONJOINT_NV 0x9284
2039#define GL_CONTRAST_NV 0x92A1
2040#define GL_DARKEN_NV 0x9297
2041#define GL_DIFFERENCE_NV 0x929E
2042#define GL_DISJOINT_NV 0x9283
2043#define GL_DST_ATOP_NV 0x928F
2044#define GL_DST_IN_NV 0x928B
2045#define GL_DST_NV 0x9287
2046#define GL_DST_OUT_NV 0x928D
2047#define GL_DST_OVER_NV 0x9289
2048#define GL_EXCLUSION_NV 0x92A0
2049#define GL_GREEN_NV 0x1904
2050#define GL_HARDLIGHT_NV 0x929B
2051#define GL_HARDMIX_NV 0x92A9
2052#define GL_HSL_COLOR_NV 0x92AF
2053#define GL_HSL_HUE_NV 0x92AD
2054#define GL_HSL_LUMINOSITY_NV 0x92B0
2055#define GL_HSL_SATURATION_NV 0x92AE
2056#define GL_INVERT_OVG_NV 0x92B4
2057#define GL_INVERT_RGB_NV 0x92A3
2058#define GL_LIGHTEN_NV 0x9298
2059#define GL_LINEARBURN_NV 0x92A5
2060#define GL_LINEARDODGE_NV 0x92A4
2061#define GL_LINEARLIGHT_NV 0x92A7
2062#define GL_MINUS_CLAMPED_NV 0x92B3
2063#define GL_MINUS_NV 0x929F
2064#define GL_MULTIPLY_NV 0x9294
2065#define GL_OVERLAY_NV 0x9296
2066#define GL_PINLIGHT_NV 0x92A8
2067#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
2068#define GL_PLUS_CLAMPED_NV 0x92B1
2069#define GL_PLUS_DARKER_NV 0x9292
2070#define GL_PLUS_NV 0x9291
2071#define GL_RED_NV 0x1903
2072#define GL_SCREEN_NV 0x9295
2073#define GL_SOFTLIGHT_NV 0x929C
2074#define GL_SRC_ATOP_NV 0x928E
2075#define GL_SRC_IN_NV 0x928A
2076#define GL_SRC_NV 0x9286
2077#define GL_SRC_OUT_NV 0x928C
2078#define GL_SRC_OVER_NV 0x9288
2079#define GL_UNCORRELATED_NV 0x9282
2080#define GL_VIVIDLIGHT_NV 0x92A6
2081#define GL_XOR_NV 0x1506
2082 typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
2083 typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
2084#ifdef GL_GLEXT_PROTOTYPES
2085GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
2086GL_APICALL void GL_APIENTRY glBlendBarrierNV (void);
2087#endif
2088#endif /* GL_NV_blend_equation_advanced */
2089
2090#ifndef GL_NV_blend_equation_advanced_coherent
2091#define GL_NV_blend_equation_advanced_coherent 1
2092#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
2093#endif /* GL_NV_blend_equation_advanced_coherent */
2094
2095#ifndef GL_NV_conditional_render
2096#define GL_NV_conditional_render 1
2097#define GL_QUERY_WAIT_NV 0x8E13
2098#define GL_QUERY_NO_WAIT_NV 0x8E14
2099#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
2100#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
2101 typedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
2102 typedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
2103#ifdef GL_GLEXT_PROTOTYPES
2104GL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
2105GL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void);
2106#endif
2107#endif /* GL_NV_conditional_render */
2108
2109#ifndef GL_NV_conservative_raster
2110#define GL_NV_conservative_raster 1
2111#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
2112#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
2113#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
2114#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
2115 typedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
2116#ifdef GL_GLEXT_PROTOTYPES
2117GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
2118#endif
2119#endif /* GL_NV_conservative_raster */
2120
2121#ifndef GL_NV_copy_buffer
2122#define GL_NV_copy_buffer 1
2123#define GL_COPY_READ_BUFFER_NV 0x8F36
2124#define GL_COPY_WRITE_BUFFER_NV 0x8F37
2125 typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2126#ifdef GL_GLEXT_PROTOTYPES
2127GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2128#endif
2129#endif /* GL_NV_copy_buffer */
2130
2131#ifndef GL_NV_coverage_sample
2132#define GL_NV_coverage_sample 1
2133#define GL_COVERAGE_COMPONENT_NV 0x8ED0
2134#define GL_COVERAGE_COMPONENT4_NV 0x8ED1
2135#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
2136#define GL_COVERAGE_BUFFERS_NV 0x8ED3
2137#define GL_COVERAGE_SAMPLES_NV 0x8ED4
2138#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
2139#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
2140#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
2141#define GL_COVERAGE_BUFFER_BIT_NV 0x00008000
2142 typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
2143 typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
2144#ifdef GL_GLEXT_PROTOTYPES
2145GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
2146GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
2147#endif
2148#endif /* GL_NV_coverage_sample */
2149
2150#ifndef GL_NV_depth_nonlinear
2151#define GL_NV_depth_nonlinear 1
2152#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
2153#endif /* GL_NV_depth_nonlinear */
2154
2155#ifndef GL_NV_draw_buffers
2156#define GL_NV_draw_buffers 1
2157#define GL_MAX_DRAW_BUFFERS_NV 0x8824
2158#define GL_DRAW_BUFFER0_NV 0x8825
2159#define GL_DRAW_BUFFER1_NV 0x8826
2160#define GL_DRAW_BUFFER2_NV 0x8827
2161#define GL_DRAW_BUFFER3_NV 0x8828
2162#define GL_DRAW_BUFFER4_NV 0x8829
2163#define GL_DRAW_BUFFER5_NV 0x882A
2164#define GL_DRAW_BUFFER6_NV 0x882B
2165#define GL_DRAW_BUFFER7_NV 0x882C
2166#define GL_DRAW_BUFFER8_NV 0x882D
2167#define GL_DRAW_BUFFER9_NV 0x882E
2168#define GL_DRAW_BUFFER10_NV 0x882F
2169#define GL_DRAW_BUFFER11_NV 0x8830
2170#define GL_DRAW_BUFFER12_NV 0x8831
2171#define GL_DRAW_BUFFER13_NV 0x8832
2172#define GL_DRAW_BUFFER14_NV 0x8833
2173#define GL_DRAW_BUFFER15_NV 0x8834
2174#define GL_COLOR_ATTACHMENT0_NV 0x8CE0
2175#define GL_COLOR_ATTACHMENT1_NV 0x8CE1
2176#define GL_COLOR_ATTACHMENT2_NV 0x8CE2
2177#define GL_COLOR_ATTACHMENT3_NV 0x8CE3
2178#define GL_COLOR_ATTACHMENT4_NV 0x8CE4
2179#define GL_COLOR_ATTACHMENT5_NV 0x8CE5
2180#define GL_COLOR_ATTACHMENT6_NV 0x8CE6
2181#define GL_COLOR_ATTACHMENT7_NV 0x8CE7
2182#define GL_COLOR_ATTACHMENT8_NV 0x8CE8
2183#define GL_COLOR_ATTACHMENT9_NV 0x8CE9
2184#define GL_COLOR_ATTACHMENT10_NV 0x8CEA
2185#define GL_COLOR_ATTACHMENT11_NV 0x8CEB
2186#define GL_COLOR_ATTACHMENT12_NV 0x8CEC
2187#define GL_COLOR_ATTACHMENT13_NV 0x8CED
2188#define GL_COLOR_ATTACHMENT14_NV 0x8CEE
2189#define GL_COLOR_ATTACHMENT15_NV 0x8CEF
2190 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);
2191#ifdef GL_GLEXT_PROTOTYPES
2192GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
2193#endif
2194#endif /* GL_NV_draw_buffers */
2195
2196#ifndef GL_NV_draw_instanced
2197#define GL_NV_draw_instanced 1
2198 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2199 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2200#ifdef GL_GLEXT_PROTOTYPES
2201GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2202GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2203#endif
2204#endif /* GL_NV_draw_instanced */
2205
2206#ifndef GL_NV_explicit_attrib_location
2207#define GL_NV_explicit_attrib_location 1
2208#endif /* GL_NV_explicit_attrib_location */
2209
2210#ifndef GL_NV_fbo_color_attachments
2211#define GL_NV_fbo_color_attachments 1
2212#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
2213#endif /* GL_NV_fbo_color_attachments */
2214
2215#ifndef GL_NV_fence
2216#define GL_NV_fence 1
2217#define GL_ALL_COMPLETED_NV 0x84F2
2218#define GL_FENCE_STATUS_NV 0x84F3
2219#define GL_FENCE_CONDITION_NV 0x84F4
2220 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
2221 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
2222 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
2223 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
2224 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
2225 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
2226 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
2227#ifdef GL_GLEXT_PROTOTYPES
2228GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
2229GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
2230GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
2231GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
2232GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
2233GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
2234GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
2235#endif
2236#endif /* GL_NV_fence */
2237
2238#ifndef GL_NV_fill_rectangle
2239#define GL_NV_fill_rectangle 1
2240#define GL_FILL_RECTANGLE_NV 0x933C
2241#endif /* GL_NV_fill_rectangle */
2242
2243#ifndef GL_NV_fragment_coverage_to_color
2244#define GL_NV_fragment_coverage_to_color 1
2245#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
2246#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
2247 typedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
2248#ifdef GL_GLEXT_PROTOTYPES
2249GL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color);
2250#endif
2251#endif /* GL_NV_fragment_coverage_to_color */
2252
2253#ifndef GL_NV_fragment_shader_interlock
2254#define GL_NV_fragment_shader_interlock 1
2255#endif /* GL_NV_fragment_shader_interlock */
2256
2257#ifndef GL_NV_framebuffer_blit
2258#define GL_NV_framebuffer_blit 1
2259#define GL_READ_FRAMEBUFFER_NV 0x8CA8
2260#define GL_DRAW_FRAMEBUFFER_NV 0x8CA9
2261#define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6
2262#define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA
2263 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2264#ifdef GL_GLEXT_PROTOTYPES
2265GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2266#endif
2267#endif /* GL_NV_framebuffer_blit */
2268
2269#ifndef GL_NV_framebuffer_mixed_samples
2270#define GL_NV_framebuffer_mixed_samples 1
2271#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
2272#define GL_COLOR_SAMPLES_NV 0x8E20
2273#define GL_DEPTH_SAMPLES_NV 0x932D
2274#define GL_STENCIL_SAMPLES_NV 0x932E
2275#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
2276#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
2277#define GL_COVERAGE_MODULATION_NV 0x9332
2278#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
2279 typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
2280 typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v);
2281 typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
2282#ifdef GL_GLEXT_PROTOTYPES
2283GL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
2284GL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v);
2285GL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components);
2286#endif
2287#endif /* GL_NV_framebuffer_mixed_samples */
2288
2289#ifndef GL_NV_framebuffer_multisample
2290#define GL_NV_framebuffer_multisample 1
2291#define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB
2292#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56
2293#define GL_MAX_SAMPLES_NV 0x8D57
2294 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2295#ifdef GL_GLEXT_PROTOTYPES
2296GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2297#endif
2298#endif /* GL_NV_framebuffer_multisample */
2299
2300#ifndef GL_NV_generate_mipmap_sRGB
2301#define GL_NV_generate_mipmap_sRGB 1
2302#endif /* GL_NV_generate_mipmap_sRGB */
2303
2304#ifndef GL_NV_geometry_shader_passthrough
2305#define GL_NV_geometry_shader_passthrough 1
2306#endif /* GL_NV_geometry_shader_passthrough */
2307
2308#ifndef GL_NV_image_formats
2309#define GL_NV_image_formats 1
2310#endif /* GL_NV_image_formats */
2311
2312#ifndef GL_NV_instanced_arrays
2313#define GL_NV_instanced_arrays 1
2314#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE
2315 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);
2316#ifdef GL_GLEXT_PROTOTYPES
2317GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);
2318#endif
2319#endif /* GL_NV_instanced_arrays */
2320
2321#ifndef GL_NV_internalformat_sample_query
2322#define GL_NV_internalformat_sample_query 1
2323#define GL_TEXTURE_2D_MULTISAMPLE 0x9100
2324#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
2325#define GL_MULTISAMPLES_NV 0x9371
2326#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
2327#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
2328#define GL_CONFORMANT_NV 0x9374
2329 typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
2330#ifdef GL_GLEXT_PROTOTYPES
2331GL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
2332#endif
2333#endif /* GL_NV_internalformat_sample_query */
2334
2335#ifndef GL_NV_non_square_matrices
2336#define GL_NV_non_square_matrices 1
2337#define GL_FLOAT_MAT2x3_NV 0x8B65
2338#define GL_FLOAT_MAT2x4_NV 0x8B66
2339#define GL_FLOAT_MAT3x2_NV 0x8B67
2340#define GL_FLOAT_MAT3x4_NV 0x8B68
2341#define GL_FLOAT_MAT4x2_NV 0x8B69
2342#define GL_FLOAT_MAT4x3_NV 0x8B6A
2343 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2344 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2345 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2346 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2347 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2348 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2349#ifdef GL_GLEXT_PROTOTYPES
2350GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2351GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2352GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2353GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2354GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2355GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2356#endif
2357#endif /* GL_NV_non_square_matrices */
2358
2359#ifndef GL_NV_path_rendering
2360#define GL_NV_path_rendering 1
2361#define GL_PATH_FORMAT_SVG_NV 0x9070
2362#define GL_PATH_FORMAT_PS_NV 0x9071
2363#define GL_STANDARD_FONT_NAME_NV 0x9072
2364#define GL_SYSTEM_FONT_NAME_NV 0x9073
2365#define GL_FILE_NAME_NV 0x9074
2366#define GL_PATH_STROKE_WIDTH_NV 0x9075
2367#define GL_PATH_END_CAPS_NV 0x9076
2368#define GL_PATH_INITIAL_END_CAP_NV 0x9077
2369#define GL_PATH_TERMINAL_END_CAP_NV 0x9078
2370#define GL_PATH_JOIN_STYLE_NV 0x9079
2371#define GL_PATH_MITER_LIMIT_NV 0x907A
2372#define GL_PATH_DASH_CAPS_NV 0x907B
2373#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
2374#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
2375#define GL_PATH_DASH_OFFSET_NV 0x907E
2376#define GL_PATH_CLIENT_LENGTH_NV 0x907F
2377#define GL_PATH_FILL_MODE_NV 0x9080
2378#define GL_PATH_FILL_MASK_NV 0x9081
2379#define GL_PATH_FILL_COVER_MODE_NV 0x9082
2380#define GL_PATH_STROKE_COVER_MODE_NV 0x9083
2381#define GL_PATH_STROKE_MASK_NV 0x9084
2382#define GL_COUNT_UP_NV 0x9088
2383#define GL_COUNT_DOWN_NV 0x9089
2384#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
2385#define GL_CONVEX_HULL_NV 0x908B
2386#define GL_BOUNDING_BOX_NV 0x908D
2387#define GL_TRANSLATE_X_NV 0x908E
2388#define GL_TRANSLATE_Y_NV 0x908F
2389#define GL_TRANSLATE_2D_NV 0x9090
2390#define GL_TRANSLATE_3D_NV 0x9091
2391#define GL_AFFINE_2D_NV 0x9092
2392#define GL_AFFINE_3D_NV 0x9094
2393#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
2394#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
2395#define GL_UTF8_NV 0x909A
2396#define GL_UTF16_NV 0x909B
2397#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
2398#define GL_PATH_COMMAND_COUNT_NV 0x909D
2399#define GL_PATH_COORD_COUNT_NV 0x909E
2400#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
2401#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
2402#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
2403#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
2404#define GL_SQUARE_NV 0x90A3
2405#define GL_ROUND_NV 0x90A4
2406#define GL_TRIANGULAR_NV 0x90A5
2407#define GL_BEVEL_NV 0x90A6
2408#define GL_MITER_REVERT_NV 0x90A7
2409#define GL_MITER_TRUNCATE_NV 0x90A8
2410#define GL_SKIP_MISSING_GLYPH_NV 0x90A9
2411#define GL_USE_MISSING_GLYPH_NV 0x90AA
2412#define GL_PATH_ERROR_POSITION_NV 0x90AB
2413#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
2414#define GL_ADJACENT_PAIRS_NV 0x90AE
2415#define GL_FIRST_TO_REST_NV 0x90AF
2416#define GL_PATH_GEN_MODE_NV 0x90B0
2417#define GL_PATH_GEN_COEFF_NV 0x90B1
2418#define GL_PATH_GEN_COMPONENTS_NV 0x90B3
2419#define GL_PATH_STENCIL_FUNC_NV 0x90B7
2420#define GL_PATH_STENCIL_REF_NV 0x90B8
2421#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
2422#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
2423#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
2424#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
2425#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
2426#define GL_MOVE_TO_RESETS_NV 0x90B5
2427#define GL_MOVE_TO_CONTINUES_NV 0x90B6
2428#define GL_CLOSE_PATH_NV 0x00
2429#define GL_MOVE_TO_NV 0x02
2430#define GL_RELATIVE_MOVE_TO_NV 0x03
2431#define GL_LINE_TO_NV 0x04
2432#define GL_RELATIVE_LINE_TO_NV 0x05
2433#define GL_HORIZONTAL_LINE_TO_NV 0x06
2434#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
2435#define GL_VERTICAL_LINE_TO_NV 0x08
2436#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
2437#define GL_QUADRATIC_CURVE_TO_NV 0x0A
2438#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
2439#define GL_CUBIC_CURVE_TO_NV 0x0C
2440#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
2441#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
2442#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
2443#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
2444#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
2445#define GL_SMALL_CCW_ARC_TO_NV 0x12
2446#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
2447#define GL_SMALL_CW_ARC_TO_NV 0x14
2448#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
2449#define GL_LARGE_CCW_ARC_TO_NV 0x16
2450#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
2451#define GL_LARGE_CW_ARC_TO_NV 0x18
2452#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
2453#define GL_RESTART_PATH_NV 0xF0
2454#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
2455#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
2456#define GL_RECT_NV 0xF6
2457#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
2458#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
2459#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
2460#define GL_ARC_TO_NV 0xFE
2461#define GL_RELATIVE_ARC_TO_NV 0xFF
2462#define GL_BOLD_BIT_NV 0x01
2463#define GL_ITALIC_BIT_NV 0x02
2464#define GL_GLYPH_WIDTH_BIT_NV 0x01
2465#define GL_GLYPH_HEIGHT_BIT_NV 0x02
2466#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
2467#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
2468#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
2469#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
2470#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
2471#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
2472#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
2473#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
2474#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
2475#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
2476#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
2477#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
2478#define GL_FONT_ASCENDER_BIT_NV 0x00200000
2479#define GL_FONT_DESCENDER_BIT_NV 0x00400000
2480#define GL_FONT_HEIGHT_BIT_NV 0x00800000
2481#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
2482#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
2483#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
2484#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
2485#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
2486#define GL_ROUNDED_RECT_NV 0xE8
2487#define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
2488#define GL_ROUNDED_RECT2_NV 0xEA
2489#define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
2490#define GL_ROUNDED_RECT4_NV 0xEC
2491#define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
2492#define GL_ROUNDED_RECT8_NV 0xEE
2493#define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
2494#define GL_RELATIVE_RECT_NV 0xF7
2495#define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
2496#define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
2497#define GL_FONT_UNAVAILABLE_NV 0x936A
2498#define GL_FONT_UNINTELLIGIBLE_NV 0x936B
2499#define GL_CONIC_CURVE_TO_NV 0x1A
2500#define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
2501#define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
2502#define GL_STANDARD_FONT_FORMAT_NV 0x936C
2503#define GL_PATH_PROJECTION_NV 0x1701
2504#define GL_PATH_MODELVIEW_NV 0x1700
2505#define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
2506#define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
2507#define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
2508#define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
2509#define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
2510#define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
2511#define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
2512#define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
2513#define GL_FRAGMENT_INPUT_NV 0x936D
2514 typedef GLuint (GL_APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
2515 typedef void (GL_APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
2516 typedef GLboolean (GL_APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
2517 typedef void (GL_APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
2518 typedef void (GL_APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
2519 typedef void (GL_APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
2520 typedef void (GL_APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
2521 typedef void (GL_APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
2522 typedef void (GL_APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
2523 typedef void (GL_APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
2524 typedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
2525 typedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
2526 typedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
2527 typedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
2528 typedef void (GL_APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
2529 typedef void (GL_APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
2530 typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
2531 typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
2532 typedef void (GL_APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
2533 typedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
2534 typedef void (GL_APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
2535 typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
2536 typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
2537 typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
2538 typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
2539 typedef void (GL_APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
2540 typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
2541 typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
2542 typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2543 typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2544 typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
2545 typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
2546 typedef void (GL_APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
2547 typedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
2548 typedef void (GL_APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
2549 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
2550 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
2551 typedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
2552 typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
2553 typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
2554 typedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
2555 typedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
2556 typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
2557 typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
2558 typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
2559 typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
2560 typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
2561 typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
2562 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
2563 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
2564 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2565 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2566 typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
2567 typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
2568 typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
2569 typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
2570 typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
2571#ifdef GL_GLEXT_PROTOTYPES
2572GL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range);
2573GL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
2574GL_APICALL GLboolean GL_APIENTRY glIsPathNV (GLuint path);
2575GL_APICALL void GL_APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
2576GL_APICALL void GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
2577GL_APICALL void GL_APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
2578GL_APICALL void GL_APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
2579GL_APICALL void GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
2580GL_APICALL void GL_APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
2581GL_APICALL void GL_APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
2582GL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
2583GL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
2584GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
2585GL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
2586GL_APICALL void GL_APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
2587GL_APICALL void GL_APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
2588GL_APICALL void GL_APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
2589GL_APICALL void GL_APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
2590GL_APICALL void GL_APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
2591GL_APICALL void GL_APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
2592GL_APICALL void GL_APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
2593GL_APICALL void GL_APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
2594GL_APICALL void GL_APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
2595GL_APICALL void GL_APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
2596GL_APICALL void GL_APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
2597GL_APICALL void GL_APIENTRY glPathCoverDepthFuncNV (GLenum func);
2598GL_APICALL void GL_APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
2599GL_APICALL void GL_APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
2600GL_APICALL void GL_APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2601GL_APICALL void GL_APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2602GL_APICALL void GL_APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
2603GL_APICALL void GL_APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
2604GL_APICALL void GL_APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
2605GL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
2606GL_APICALL void GL_APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
2607GL_APICALL void GL_APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
2608GL_APICALL void GL_APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
2609GL_APICALL void GL_APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
2610GL_APICALL GLboolean GL_APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
2611GL_APICALL GLboolean GL_APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
2612GL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
2613GL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
2614GL_APICALL void GL_APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
2615GL_APICALL void GL_APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
2616GL_APICALL void GL_APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
2617GL_APICALL void GL_APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
2618GL_APICALL void GL_APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
2619GL_APICALL void GL_APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
2620GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
2621GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
2622GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2623GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
2624GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
2625GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
2626GL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
2627GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
2628GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
2629#endif
2630#endif /* GL_NV_path_rendering */
2631
2632#ifndef GL_NV_path_rendering_shared_edge
2633#define GL_NV_path_rendering_shared_edge 1
2634#define GL_SHARED_EDGE_NV 0xC0
2635#endif /* GL_NV_path_rendering_shared_edge */
2636
2637#ifndef GL_NV_polygon_mode
2638#define GL_NV_polygon_mode 1
2639#define GL_POLYGON_MODE_NV 0x0B40
2640#define GL_POLYGON_OFFSET_POINT_NV 0x2A01
2641#define GL_POLYGON_OFFSET_LINE_NV 0x2A02
2642#define GL_POINT_NV 0x1B00
2643#define GL_LINE_NV 0x1B01
2644#define GL_FILL_NV 0x1B02
2645 typedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) (GLenum face, GLenum mode);
2646#ifdef GL_GLEXT_PROTOTYPES
2647GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode);
2648#endif
2649#endif /* GL_NV_polygon_mode */
2650
2651#ifndef GL_NV_read_buffer
2652#define GL_NV_read_buffer 1
2653#define GL_READ_BUFFER_NV 0x0C02
2654 typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode);
2655#ifdef GL_GLEXT_PROTOTYPES
2656GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode);
2657#endif
2658#endif /* GL_NV_read_buffer */
2659
2660#ifndef GL_NV_read_buffer_front
2661#define GL_NV_read_buffer_front 1
2662#endif /* GL_NV_read_buffer_front */
2663
2664#ifndef GL_NV_read_depth
2665#define GL_NV_read_depth 1
2666#endif /* GL_NV_read_depth */
2667
2668#ifndef GL_NV_read_depth_stencil
2669#define GL_NV_read_depth_stencil 1
2670#endif /* GL_NV_read_depth_stencil */
2671
2672#ifndef GL_NV_read_stencil
2673#define GL_NV_read_stencil 1
2674#endif /* GL_NV_read_stencil */
2675
2676#ifndef GL_NV_sRGB_formats
2677#define GL_NV_sRGB_formats 1
2678#define GL_SLUMINANCE_NV 0x8C46
2679#define GL_SLUMINANCE_ALPHA_NV 0x8C44
2680#define GL_SRGB8_NV 0x8C41
2681#define GL_SLUMINANCE8_NV 0x8C47
2682#define GL_SLUMINANCE8_ALPHA8_NV 0x8C45
2683#define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C
2684#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D
2685#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E
2686#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F
2687#define GL_ETC1_SRGB8_NV 0x88EE
2688#endif /* GL_NV_sRGB_formats */
2689
2690#ifndef GL_NV_sample_locations
2691#define GL_NV_sample_locations 1
2692#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
2693#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
2694#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
2695#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
2696#define GL_SAMPLE_LOCATION_NV 0x8E50
2697#define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
2698#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
2699#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
2700 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
2701 typedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
2702 typedef void (GL_APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
2703#ifdef GL_GLEXT_PROTOTYPES
2704GL_APICALL void GL_APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
2705GL_APICALL void GL_APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
2706GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void);
2707#endif
2708#endif /* GL_NV_sample_locations */
2709
2710#ifndef GL_NV_sample_mask_override_coverage
2711#define GL_NV_sample_mask_override_coverage 1
2712#endif /* GL_NV_sample_mask_override_coverage */
2713
2714#ifndef GL_NV_shader_noperspective_interpolation
2715#define GL_NV_shader_noperspective_interpolation 1
2716#endif /* GL_NV_shader_noperspective_interpolation */
2717
2718#ifndef GL_NV_shadow_samplers_array
2719#define GL_NV_shadow_samplers_array 1
2720#define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4
2721#endif /* GL_NV_shadow_samplers_array */
2722
2723#ifndef GL_NV_shadow_samplers_cube
2724#define GL_NV_shadow_samplers_cube 1
2725#define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5
2726#endif /* GL_NV_shadow_samplers_cube */
2727
2728#ifndef GL_NV_texture_border_clamp
2729#define GL_NV_texture_border_clamp 1
2730#define GL_TEXTURE_BORDER_COLOR_NV 0x1004
2731#define GL_CLAMP_TO_BORDER_NV 0x812D
2732#endif /* GL_NV_texture_border_clamp */
2733
2734#ifndef GL_NV_texture_compression_s3tc_update
2735#define GL_NV_texture_compression_s3tc_update 1
2736#endif /* GL_NV_texture_compression_s3tc_update */
2737
2738#ifndef GL_NV_texture_npot_2D_mipmap
2739#define GL_NV_texture_npot_2D_mipmap 1
2740#endif /* GL_NV_texture_npot_2D_mipmap */
2741
2742#ifndef GL_NV_viewport_array
2743#define GL_NV_viewport_array 1
2744#define GL_MAX_VIEWPORTS_NV 0x825B
2745#define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C
2746#define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D
2747#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F
2748 typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVNVPROC) (GLuint first, GLsizei count, const GLfloat *v);
2749 typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
2750 typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVNVPROC) (GLuint index, const GLfloat *v);
2751 typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
2752 typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDNVPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
2753 typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVNVPROC) (GLuint index, const GLint *v);
2754 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVNVPROC) (GLuint first, GLsizei count, const GLfloat *v);
2755 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFNVPROC) (GLuint index, GLfloat n, GLfloat f);
2756 typedef void (GL_APIENTRYP PFNGLGETFLOATI_VNVPROC) (GLenum target, GLuint index, GLfloat *data);
2757 typedef void (GL_APIENTRYP PFNGLENABLEINVPROC) (GLenum target, GLuint index);
2758 typedef void (GL_APIENTRYP PFNGLDISABLEINVPROC) (GLenum target, GLuint index);
2759 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDINVPROC) (GLenum target, GLuint index);
2760#ifdef GL_GLEXT_PROTOTYPES
2761GL_APICALL void GL_APIENTRY glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat *v);
2762GL_APICALL void GL_APIENTRY glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
2763GL_APICALL void GL_APIENTRY glViewportIndexedfvNV (GLuint index, const GLfloat *v);
2764GL_APICALL void GL_APIENTRY glScissorArrayvNV (GLuint first, GLsizei count, const GLint *v);
2765GL_APICALL void GL_APIENTRY glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
2766GL_APICALL void GL_APIENTRY glScissorIndexedvNV (GLuint index, const GLint *v);
2767GL_APICALL void GL_APIENTRY glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat *v);
2768GL_APICALL void GL_APIENTRY glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f);
2769GL_APICALL void GL_APIENTRY glGetFloati_vNV (GLenum target, GLuint index, GLfloat *data);
2770GL_APICALL void GL_APIENTRY glEnableiNV (GLenum target, GLuint index);
2771GL_APICALL void GL_APIENTRY glDisableiNV (GLenum target, GLuint index);
2772GL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index);
2773#endif
2774#endif /* GL_NV_viewport_array */
2775
2776#ifndef GL_NV_viewport_array2
2777#define GL_NV_viewport_array2 1
2778#endif /* GL_NV_viewport_array2 */
2779
2780#ifndef GL_OVR_multiview
2781#define GL_OVR_multiview 1
2782#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
2783#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
2784#define GL_MAX_VIEWS_OVR 0x9631
2785 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
2786#ifdef GL_GLEXT_PROTOTYPES
2787GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
2788#endif
2789#endif /* GL_OVR_multiview */
2790
2791#ifndef GL_OVR_multiview2
2792#define GL_OVR_multiview2 1
2793#endif /* GL_OVR_multiview2 */
2794
2795#ifndef GL_OVR_multiview_multisampled_render_to_texture
2796#define GL_OVR_multiview_multisampled_render_to_texture 1
2797 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews);
2798#ifdef GL_GLEXT_PROTOTYPES
2799GL_APICALL void GL_APIENTRY glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews);
2800#endif
2801#endif /* GL_OVR_multiview_multisampled_render_to_texture */
2802
2803#ifndef GL_QCOM_alpha_test
2804#define GL_QCOM_alpha_test 1
2805#define GL_ALPHA_TEST_QCOM 0x0BC0
2806#define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1
2807#define GL_ALPHA_TEST_REF_QCOM 0x0BC2
2808 typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref);
2809#ifdef GL_GLEXT_PROTOTYPES
2810GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref);
2811#endif
2812#endif /* GL_QCOM_alpha_test */
2813
2814#ifndef GL_QCOM_binning_control
2815#define GL_QCOM_binning_control 1
2816#define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0
2817#define GL_CPU_OPTIMIZED_QCOM 0x8FB1
2818#define GL_GPU_OPTIMIZED_QCOM 0x8FB2
2819#define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3
2820#endif /* GL_QCOM_binning_control */
2821
2822#ifndef GL_QCOM_driver_control
2823#define GL_QCOM_driver_control 1
2824 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls);
2825 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
2826 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
2827 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
2828#ifdef GL_GLEXT_PROTOTYPES
2829GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls);
2830GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
2831GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
2832GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
2833#endif
2834#endif /* GL_QCOM_driver_control */
2835
2836#ifndef GL_QCOM_extended_get
2837#define GL_QCOM_extended_get 1
2838#define GL_TEXTURE_WIDTH_QCOM 0x8BD2
2839#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3
2840#define GL_TEXTURE_DEPTH_QCOM 0x8BD4
2841#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5
2842#define GL_TEXTURE_FORMAT_QCOM 0x8BD6
2843#define GL_TEXTURE_TYPE_QCOM 0x8BD7
2844#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8
2845#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9
2846#define GL_TEXTURE_TARGET_QCOM 0x8BDA
2847#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB
2848#define GL_STATE_RESTORE 0x8BDC
2849 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures);
2850 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
2851 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
2852 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
2853 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
2854 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
2855 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
2856 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params);
2857#ifdef GL_GLEXT_PROTOTYPES
2858GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures);
2859GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
2860GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
2861GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
2862GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
2863GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param);
2864GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
2865GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params);
2866#endif
2867#endif /* GL_QCOM_extended_get */
2868
2869#ifndef GL_QCOM_extended_get2
2870#define GL_QCOM_extended_get2 1
2871 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders);
2872 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
2873 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
2874 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
2875#ifdef GL_GLEXT_PROTOTYPES
2876GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders);
2877GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
2878GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
2879GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
2880#endif
2881#endif /* GL_QCOM_extended_get2 */
2882
2883#ifndef GL_QCOM_perfmon_global_mode
2884#define GL_QCOM_perfmon_global_mode 1
2885#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
2886#endif /* GL_QCOM_perfmon_global_mode */
2887
2888#ifndef GL_QCOM_tiled_rendering
2889#define GL_QCOM_tiled_rendering 1
2890#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001
2891#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002
2892#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004
2893#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008
2894#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010
2895#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020
2896#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040
2897#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080
2898#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100
2899#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200
2900#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400
2901#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800
2902#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000
2903#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000
2904#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000
2905#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000
2906#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000
2907#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000
2908#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000
2909#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000
2910#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000
2911#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000
2912#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000
2913#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000
2914#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000
2915#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000
2916#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000
2917#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000
2918#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000
2919#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000
2920#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000
2921#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000
2922 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
2923 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
2924#ifdef GL_GLEXT_PROTOTYPES
2925GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
2926GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
2927#endif
2928#endif /* GL_QCOM_tiled_rendering */
2929
2930#ifndef GL_QCOM_writeonly_rendering
2931#define GL_QCOM_writeonly_rendering 1
2932#define GL_WRITEONLY_RENDERING_QCOM 0x8823
2933#endif /* GL_QCOM_writeonly_rendering */
2934
2935#ifndef GL_VIV_shader_binary
2936#define GL_VIV_shader_binary 1
2937#define GL_SHADER_BINARY_VIV 0x8FC4
2938#endif /* GL_VIV_shader_binary */
2939
2940#ifdef __cplusplus
2941}
2942#endif
2943
2944#endif
array
STL class.
reference