9 ** Copyright (c) 2013-2014 The Khronos Group Inc.
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:
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
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.
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/
36 ** Khronos $Revision: 28335 $ on $Date: 2014-09-26 18:55:45 -0700 (Fri, 26 Sep 2014) $
40 #define GL_APIENTRYP GL_APIENTRY*
43 /* Generated on date 20140926 */
45 /* Generated C header for:
48 * Versions considered: 2\.[0-9]
49 * Versions emitted: _nomatch_^
50 * Default extensions included: gles2
51 * Additional extensions included: _nomatch_^
52 * Extensions removed: _nomatch_^
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
74 GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void);
76 #endif /* GL_KHR_blend_equation_advanced */
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 */
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 */
90 #define GL_KHR_debug 1
91 typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source, GLenum type,
92 GLuint id, GLenum severity, GLsizei length, const GLchar *message,
93 const void *userParam);
94 #define GL_SAMPLER 0x82E6
95 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242
96 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243
97 #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244
98 #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245
99 #define GL_DEBUG_SOURCE_API_KHR 0x8246
100 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247
101 #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248
102 #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249
103 #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A
104 #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B
105 #define GL_DEBUG_TYPE_ERROR_KHR 0x824C
106 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D
107 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E
108 #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F
109 #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250
110 #define GL_DEBUG_TYPE_OTHER_KHR 0x8251
111 #define GL_DEBUG_TYPE_MARKER_KHR 0x8268
112 #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269
113 #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A
114 #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B
115 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C
116 #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D
117 #define GL_BUFFER_KHR 0x82E0
118 #define GL_SHADER_KHR 0x82E1
119 #define GL_PROGRAM_KHR 0x82E2
120 #define GL_VERTEX_ARRAY_KHR 0x8074
121 #define GL_QUERY_KHR 0x82E3
122 #define GL_SAMPLER_KHR 0x82E6
123 #define GL_MAX_LABEL_LENGTH_KHR 0x82E8
124 #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143
125 #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144
126 #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145
127 #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146
128 #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147
129 #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148
130 #define GL_DEBUG_OUTPUT_KHR 0x92E0
131 #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002
132 #define GL_STACK_OVERFLOW_KHR 0x0503
133 #define GL_STACK_UNDERFLOW_KHR 0x0504
134 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source,
135 GLenum type, GLenum severity, GLsizei count, const GLuint *ids,
137 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source,
138 GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
139 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (
140 GLDEBUGPROCKHR callback, const void *userParam);
141 typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count,
142 GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids,
143 GLenum *severities, GLsizei *lengths, GLchar *messageLog);
144 typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source,
145 GLuint id, GLsizei length, const GLchar *message);
146 typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
147 typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier,
148 GLuint name, GLsizei length, const GLchar *label);
149 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier,
150 GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
151 typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr,
152 GLsizei length, const GLchar *label);
153 typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr,
154 GLsizei bufSize, GLsizei *length, GLchar *label);
155 typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname,
157 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier,
158 GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
159 typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr,
160 GLsizei bufSize, GLsizei *length, GLchar *label);
161 #ifdef GL_GLEXT_PROTOTYPES
162 GL_APICALL void GL_APIENTRY glObjectLabel (GLenum identifier, GLuint name,
163 GLsizei length, const GLchar *label);
164 GL_APICALL void GL_APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length,
165 const GLchar *label);
166 GL_APICALL void GL_APIENTRY glPopDebugGroup (void);
167 GL_APICALL void GL_APIENTRY glPushDebugGroup (GLenum source, GLuint id,
168 GLsizei length, const GLchar *message);
169 GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source,
170 GLenum type, GLenum severity, GLsizei count, const GLuint *ids,
172 GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type,
173 GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
174 GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback,
175 const void *userParam);
176 GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count,
177 GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids,
178 GLenum *severities, GLsizei *lengths, GLchar *messageLog);
179 GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id,
180 GLsizei length, const GLchar *message);
181 GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
182 GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name,
183 GLsizei length, const GLchar *label);
184 GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name,
185 GLsizei bufSize, GLsizei *length, GLchar *label);
186 GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr,
187 GLsizei length, const GLchar *label);
188 GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr,
189 GLsizei bufSize, GLsizei *length, GLchar *label);
190 GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params);
191 GL_APICALL void GL_APIENTRY glGetObjectLabel (GLenum identifier, GLuint name,
192 GLsizei bufSize, GLsizei *length, GLchar *label);
193 GL_APICALL void GL_APIENTRY glGetObjectPtrLabel (const void *ptr,
194 GLsizei bufSize, GLsizei *length, GLchar *label);
196 #endif /* GL_KHR_debug */
198 #ifndef GL_KHR_robust_buffer_access_behavior
199 #define GL_KHR_robust_buffer_access_behavior 1
200 #endif /* GL_KHR_robust_buffer_access_behavior */
202 #ifndef GL_KHR_robustness
203 #define GL_KHR_robustness 1
204 #define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3
205 #define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252
206 #define GL_GUILTY_CONTEXT_RESET_KHR 0x8253
207 #define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254
208 #define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255
209 #define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256
210 #define GL_NO_RESET_NOTIFICATION_KHR 0x8261
211 #define GL_CONTEXT_LOST_KHR 0x0507
212 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void);
213 typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y,
214 GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize,
216 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program,
217 GLint location, GLsizei bufSize, GLfloat *params);
218 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program,
219 GLint location, GLsizei bufSize, GLint *params);
220 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program,
221 GLint location, GLsizei bufSize, GLuint *params);
222 #ifdef GL_GLEXT_PROTOTYPES
223 GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void);
224 GL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width,
225 GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
226 GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location,
227 GLsizei bufSize, GLfloat *params);
228 GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location,
229 GLsizei bufSize, GLint *params);
230 GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location,
231 GLsizei bufSize, GLuint *params);
233 #endif /* GL_KHR_robustness */
235 #ifndef GL_KHR_texture_compression_astc_hdr
236 #define GL_KHR_texture_compression_astc_hdr 1
237 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
238 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
239 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
240 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
241 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
242 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
243 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
244 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
245 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
246 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
247 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
248 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
249 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
250 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
251 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
252 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
253 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
254 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
255 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
256 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
257 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
258 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
259 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
260 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
261 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
262 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
263 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
264 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
265 #endif /* GL_KHR_texture_compression_astc_hdr */
267 #ifndef GL_KHR_texture_compression_astc_ldr
268 #define GL_KHR_texture_compression_astc_ldr 1
269 #endif /* GL_KHR_texture_compression_astc_ldr */
271 #ifndef GL_OES_EGL_image
272 #define GL_OES_EGL_image 1
273 typedef void *GLeglImageOES;
274 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target,
275 GLeglImageOES image);
276 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (
277 GLenum target, GLeglImageOES image);
278 #ifdef GL_GLEXT_PROTOTYPES
279 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target,
280 GLeglImageOES image);
281 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (
282 GLenum target, GLeglImageOES image);
284 #endif /* GL_OES_EGL_image */
286 #ifndef GL_OES_EGL_image_external
287 #define GL_OES_EGL_image_external 1
288 #define GL_TEXTURE_EXTERNAL_OES 0x8D65
289 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
290 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
291 #define GL_SAMPLER_EXTERNAL_OES 0x8D66
292 #endif /* GL_OES_EGL_image_external */
294 #ifndef GL_OES_compressed_ETC1_RGB8_sub_texture
295 #define GL_OES_compressed_ETC1_RGB8_sub_texture 1
296 #endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */
298 #ifndef GL_OES_compressed_ETC1_RGB8_texture
299 #define GL_OES_compressed_ETC1_RGB8_texture 1
300 #define GL_ETC1_RGB8_OES 0x8D64
301 #endif /* GL_OES_compressed_ETC1_RGB8_texture */
303 #ifndef GL_OES_compressed_paletted_texture
304 #define GL_OES_compressed_paletted_texture 1
305 #define GL_PALETTE4_RGB8_OES 0x8B90
306 #define GL_PALETTE4_RGBA8_OES 0x8B91
307 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
308 #define GL_PALETTE4_RGBA4_OES 0x8B93
309 #define GL_PALETTE4_RGB5_A1_OES 0x8B94
310 #define GL_PALETTE8_RGB8_OES 0x8B95
311 #define GL_PALETTE8_RGBA8_OES 0x8B96
312 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
313 #define GL_PALETTE8_RGBA4_OES 0x8B98
314 #define GL_PALETTE8_RGB5_A1_OES 0x8B99
315 #endif /* GL_OES_compressed_paletted_texture */
317 #ifndef GL_OES_depth24
318 #define GL_OES_depth24 1
319 #define GL_DEPTH_COMPONENT24_OES 0x81A6
320 #endif /* GL_OES_depth24 */
322 #ifndef GL_OES_depth32
323 #define GL_OES_depth32 1
324 #define GL_DEPTH_COMPONENT32_OES 0x81A7
325 #endif /* GL_OES_depth32 */
327 #ifndef GL_OES_depth_texture
328 #define GL_OES_depth_texture 1
329 #endif /* GL_OES_depth_texture */
331 #ifndef GL_OES_element_index_uint
332 #define GL_OES_element_index_uint 1
333 #endif /* GL_OES_element_index_uint */
335 #ifndef GL_OES_fbo_render_mipmap
336 #define GL_OES_fbo_render_mipmap 1
337 #endif /* GL_OES_fbo_render_mipmap */
339 #ifndef GL_OES_fragment_precision_high
340 #define GL_OES_fragment_precision_high 1
341 #endif /* GL_OES_fragment_precision_high */
343 #ifndef GL_OES_get_program_binary
344 #define GL_OES_get_program_binary 1
345 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
346 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
347 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
348 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program,
349 GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
350 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program,
351 GLenum binaryFormat, const void *binary, GLint length);
352 #ifdef GL_GLEXT_PROTOTYPES
353 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program,
354 GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
355 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program,
356 GLenum binaryFormat, const void *binary, GLint length);
358 #endif /* GL_OES_get_program_binary */
360 #ifndef GL_OES_mapbuffer
361 #define GL_OES_mapbuffer 1
362 #define GL_WRITE_ONLY_OES 0x88B9
363 #define GL_BUFFER_ACCESS_OES 0x88BB
364 #define GL_BUFFER_MAPPED_OES 0x88BC
365 #define GL_BUFFER_MAP_POINTER_OES 0x88BD
366 typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target,
368 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
369 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target,
370 GLenum pname, void **params);
371 #ifdef GL_GLEXT_PROTOTYPES
372 GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
373 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
374 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname,
377 #endif /* GL_OES_mapbuffer */
379 #ifndef GL_OES_packed_depth_stencil
380 #define GL_OES_packed_depth_stencil 1
381 #define GL_DEPTH_STENCIL_OES 0x84F9
382 #define GL_UNSIGNED_INT_24_8_OES 0x84FA
383 #define GL_DEPTH24_STENCIL8_OES 0x88F0
384 #endif /* GL_OES_packed_depth_stencil */
386 #ifndef GL_OES_required_internalformat
387 #define GL_OES_required_internalformat 1
388 #define GL_ALPHA8_OES 0x803C
389 #define GL_DEPTH_COMPONENT16_OES 0x81A5
390 #define GL_LUMINANCE4_ALPHA4_OES 0x8043
391 #define GL_LUMINANCE8_ALPHA8_OES 0x8045
392 #define GL_LUMINANCE8_OES 0x8040
393 #define GL_RGBA4_OES 0x8056
394 #define GL_RGB5_A1_OES 0x8057
395 #define GL_RGB565_OES 0x8D62
396 #define GL_RGB8_OES 0x8051
397 #define GL_RGBA8_OES 0x8058
398 #define GL_RGB10_EXT 0x8052
399 #define GL_RGB10_A2_EXT 0x8059
400 #endif /* GL_OES_required_internalformat */
402 #ifndef GL_OES_rgb8_rgba8
403 #define GL_OES_rgb8_rgba8 1
404 #endif /* GL_OES_rgb8_rgba8 */
406 #ifndef GL_OES_sample_shading
407 #define GL_OES_sample_shading 1
408 #define GL_SAMPLE_SHADING_OES 0x8C36
409 #define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37
410 typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value);
411 #ifdef GL_GLEXT_PROTOTYPES
412 GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value);
414 #endif /* GL_OES_sample_shading */
416 #ifndef GL_OES_sample_variables
417 #define GL_OES_sample_variables 1
418 #endif /* GL_OES_sample_variables */
420 #ifndef GL_OES_shader_image_atomic
421 #define GL_OES_shader_image_atomic 1
422 #endif /* GL_OES_shader_image_atomic */
424 #ifndef GL_OES_shader_multisample_interpolation
425 #define GL_OES_shader_multisample_interpolation 1
426 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B
427 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C
428 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D
429 #endif /* GL_OES_shader_multisample_interpolation */
431 #ifndef GL_OES_standard_derivatives
432 #define GL_OES_standard_derivatives 1
433 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
434 #endif /* GL_OES_standard_derivatives */
436 #ifndef GL_OES_stencil1
437 #define GL_OES_stencil1 1
438 #define GL_STENCIL_INDEX1_OES 0x8D46
439 #endif /* GL_OES_stencil1 */
441 #ifndef GL_OES_stencil4
442 #define GL_OES_stencil4 1
443 #define GL_STENCIL_INDEX4_OES 0x8D47
444 #endif /* GL_OES_stencil4 */
446 #ifndef GL_OES_surfaceless_context
447 #define GL_OES_surfaceless_context 1
448 #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
449 #endif /* GL_OES_surfaceless_context */
451 #ifndef GL_OES_texture_3D
452 #define GL_OES_texture_3D 1
453 #define GL_TEXTURE_WRAP_R_OES 0x8072
454 #define GL_TEXTURE_3D_OES 0x806F
455 #define GL_TEXTURE_BINDING_3D_OES 0x806A
456 #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
457 #define GL_SAMPLER_3D_OES 0x8B5F
458 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
459 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level,
460 GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth,
461 GLint border, GLenum format, GLenum type, const void *pixels);
462 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target,
463 GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width,
464 GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
465 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target,
466 GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y,
467 GLsizei width, GLsizei height);
468 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target,
469 GLint level, GLenum internalformat, GLsizei width, GLsizei height,
470 GLsizei depth, GLint border, GLsizei imageSize, const void *data);
471 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target,
472 GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width,
473 GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize,
475 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target,
476 GLenum attachment, GLenum textarget, GLuint texture, GLint level,
478 #ifdef GL_GLEXT_PROTOTYPES
479 GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level,
480 GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth,
481 GLint border, GLenum format, GLenum type, const void *pixels);
482 GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level,
483 GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height,
484 GLsizei depth, GLenum format, GLenum type, const void *pixels);
485 GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level,
486 GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width,
488 GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target,
489 GLint level, GLenum internalformat, GLsizei width, GLsizei height,
490 GLsizei depth, GLint border, GLsizei imageSize, const void *data);
491 GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target,
492 GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width,
493 GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize,
495 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target,
496 GLenum attachment, GLenum textarget, GLuint texture, GLint level,
499 #endif /* GL_OES_texture_3D */
501 #ifndef GL_OES_texture_compression_astc
502 #define GL_OES_texture_compression_astc 1
503 #define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0
504 #define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1
505 #define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2
506 #define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3
507 #define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4
508 #define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5
509 #define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6
510 #define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7
511 #define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8
512 #define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9
513 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0
514 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1
515 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2
516 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3
517 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4
518 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5
519 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6
520 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7
521 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8
522 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9
523 #endif /* GL_OES_texture_compression_astc */
525 #ifndef GL_OES_texture_float
526 #define GL_OES_texture_float 1
527 #endif /* GL_OES_texture_float */
529 #ifndef GL_OES_texture_float_linear
530 #define GL_OES_texture_float_linear 1
531 #endif /* GL_OES_texture_float_linear */
533 #ifndef GL_OES_texture_half_float
534 #define GL_OES_texture_half_float 1
535 #define GL_HALF_FLOAT_OES 0x8D61
536 #endif /* GL_OES_texture_half_float */
538 #ifndef GL_OES_texture_half_float_linear
539 #define GL_OES_texture_half_float_linear 1
540 #endif /* GL_OES_texture_half_float_linear */
542 #ifndef GL_OES_texture_npot
543 #define GL_OES_texture_npot 1
544 #endif /* GL_OES_texture_npot */
546 #ifndef GL_OES_texture_stencil8
547 #define GL_OES_texture_stencil8 1
548 #define GL_STENCIL_INDEX_OES 0x1901
549 #define GL_STENCIL_INDEX8_OES 0x8D48
550 #endif /* GL_OES_texture_stencil8 */
552 #ifndef GL_OES_texture_storage_multisample_2d_array
553 #define GL_OES_texture_storage_multisample_2d_array 1
554 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102
555 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105
556 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B
557 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C
558 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D
559 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target,
560 GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height,
561 GLsizei depth, GLboolean fixedsamplelocations);
562 #ifdef GL_GLEXT_PROTOTYPES
563 GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target,
564 GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height,
565 GLsizei depth, GLboolean fixedsamplelocations);
567 #endif /* GL_OES_texture_storage_multisample_2d_array */
569 #ifndef GL_OES_vertex_array_object
570 #define GL_OES_vertex_array_object 1
571 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
572 typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
573 typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n,
574 const GLuint *arrays);
575 typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n,
577 typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
578 #ifdef GL_GLEXT_PROTOTYPES
579 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
580 GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n,
581 const GLuint *arrays);
582 GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
583 GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
585 #endif /* GL_OES_vertex_array_object */
587 #ifndef GL_OES_vertex_half_float
588 #define GL_OES_vertex_half_float 1
589 #endif /* GL_OES_vertex_half_float */
591 #ifndef GL_OES_vertex_type_10_10_10_2
592 #define GL_OES_vertex_type_10_10_10_2 1
593 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
594 #define GL_INT_10_10_10_2_OES 0x8DF7
595 #endif /* GL_OES_vertex_type_10_10_10_2 */
597 #ifndef GL_AMD_compressed_3DC_texture
598 #define GL_AMD_compressed_3DC_texture 1
599 #define GL_3DC_X_AMD 0x87F9
600 #define GL_3DC_XY_AMD 0x87FA
601 #endif /* GL_AMD_compressed_3DC_texture */
603 #ifndef GL_AMD_compressed_ATC_texture
604 #define GL_AMD_compressed_ATC_texture 1
605 #define GL_ATC_RGB_AMD 0x8C92
606 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
607 #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
608 #endif /* GL_AMD_compressed_ATC_texture */
610 #ifndef GL_AMD_performance_monitor
611 #define GL_AMD_performance_monitor 1
612 #define GL_COUNTER_TYPE_AMD 0x8BC0
613 #define GL_COUNTER_RANGE_AMD 0x8BC1
614 #define GL_UNSIGNED_INT64_AMD 0x8BC2
615 #define GL_PERCENTAGE_AMD 0x8BC3
616 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
617 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
618 #define GL_PERFMON_RESULT_AMD 0x8BC6
619 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups,
620 GLsizei groupsSize, GLuint *groups);
621 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group,
622 GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize,
624 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group,
625 GLsizei bufSize, GLsizei *length, GLchar *groupString);
626 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (
627 GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length,
628 GLchar *counterString);
629 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group,
630 GLuint counter, GLenum pname, void *data);
631 typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n,
633 typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n,
635 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (
636 GLuint monitor, GLboolean enable, GLuint group, GLint numCounters,
637 GLuint *counterList);
638 typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
639 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
640 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (
641 GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data,
642 GLint *bytesWritten);
643 #ifdef GL_GLEXT_PROTOTYPES
644 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups,
645 GLsizei groupsSize, GLuint *groups);
646 GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group,
647 GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize,
649 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group,
650 GLsizei bufSize, GLsizei *length, GLchar *groupString);
651 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group,
652 GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
653 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group,
654 GLuint counter, GLenum pname, void *data);
655 GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
656 GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n,
658 GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor,
659 GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
660 GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
661 GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
662 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor,
663 GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
665 #endif /* GL_AMD_performance_monitor */
667 #ifndef GL_AMD_program_binary_Z400
668 #define GL_AMD_program_binary_Z400 1
669 #define GL_Z400_BINARY_AMD 0x8740
670 #endif /* GL_AMD_program_binary_Z400 */
672 #ifndef GL_ANDROID_extension_pack_es31a
673 #define GL_ANDROID_extension_pack_es31a 1
674 #endif /* GL_ANDROID_extension_pack_es31a */
676 #ifndef GL_ANGLE_depth_texture
677 #define GL_ANGLE_depth_texture 1
678 #endif /* GL_ANGLE_depth_texture */
680 #ifndef GL_ANGLE_framebuffer_blit
681 #define GL_ANGLE_framebuffer_blit 1
682 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
683 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
684 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
685 #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
686 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0,
687 GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1,
688 GLint dstY1, GLbitfield mask, GLenum filter);
689 #ifdef GL_GLEXT_PROTOTYPES
690 GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0,
691 GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
692 GLbitfield mask, GLenum filter);
694 #endif /* GL_ANGLE_framebuffer_blit */
696 #ifndef GL_ANGLE_framebuffer_multisample
697 #define GL_ANGLE_framebuffer_multisample 1
698 #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
699 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
700 #define GL_MAX_SAMPLES_ANGLE 0x8D57
701 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (
702 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
704 #ifdef GL_GLEXT_PROTOTYPES
705 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (
706 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
709 #endif /* GL_ANGLE_framebuffer_multisample */
711 #ifndef GL_ANGLE_instanced_arrays
712 #define GL_ANGLE_instanced_arrays 1
713 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
714 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode,
715 GLint first, GLsizei count, GLsizei primcount);
716 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode,
717 GLsizei count, GLenum type, const void *indices, GLsizei primcount);
718 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index,
720 #ifdef GL_GLEXT_PROTOTYPES
721 GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode,
722 GLint first, GLsizei count, GLsizei primcount);
723 GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode,
724 GLsizei count, GLenum type, const void *indices, GLsizei primcount);
725 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index,
728 #endif /* GL_ANGLE_instanced_arrays */
730 #ifndef GL_ANGLE_pack_reverse_row_order
731 #define GL_ANGLE_pack_reverse_row_order 1
732 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
733 #endif /* GL_ANGLE_pack_reverse_row_order */
735 #ifndef GL_ANGLE_program_binary
736 #define GL_ANGLE_program_binary 1
737 #define GL_PROGRAM_BINARY_ANGLE 0x93A6
738 #endif /* GL_ANGLE_program_binary */
740 #ifndef GL_ANGLE_texture_compression_dxt3
741 #define GL_ANGLE_texture_compression_dxt3 1
742 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
743 #endif /* GL_ANGLE_texture_compression_dxt3 */
745 #ifndef GL_ANGLE_texture_compression_dxt5
746 #define GL_ANGLE_texture_compression_dxt5 1
747 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
748 #endif /* GL_ANGLE_texture_compression_dxt5 */
750 #ifndef GL_ANGLE_texture_usage
751 #define GL_ANGLE_texture_usage 1
752 #define GL_TEXTURE_USAGE_ANGLE 0x93A2
753 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
754 #endif /* GL_ANGLE_texture_usage */
756 #ifndef GL_ANGLE_translated_shader_source
757 #define GL_ANGLE_translated_shader_source 1
758 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
759 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (
760 GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
761 #ifdef GL_GLEXT_PROTOTYPES
762 GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader,
763 GLsizei bufsize, GLsizei *length, GLchar *source);
765 #endif /* GL_ANGLE_translated_shader_source */
767 #ifndef GL_APPLE_clip_distance
768 #define GL_APPLE_clip_distance 1
769 #define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32
770 #define GL_CLIP_DISTANCE0_APPLE 0x3000
771 #define GL_CLIP_DISTANCE1_APPLE 0x3001
772 #define GL_CLIP_DISTANCE2_APPLE 0x3002
773 #define GL_CLIP_DISTANCE3_APPLE 0x3003
774 #define GL_CLIP_DISTANCE4_APPLE 0x3004
775 #define GL_CLIP_DISTANCE5_APPLE 0x3005
776 #define GL_CLIP_DISTANCE6_APPLE 0x3006
777 #define GL_CLIP_DISTANCE7_APPLE 0x3007
778 #endif /* GL_APPLE_clip_distance */
780 #ifndef GL_APPLE_color_buffer_packed_float
781 #define GL_APPLE_color_buffer_packed_float 1
782 #endif /* GL_APPLE_color_buffer_packed_float */
784 #ifndef GL_APPLE_copy_texture_levels
785 #define GL_APPLE_copy_texture_levels 1
786 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (
787 GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel,
788 GLsizei sourceLevelCount);
789 #ifdef GL_GLEXT_PROTOTYPES
790 GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture,
791 GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
793 #endif /* GL_APPLE_copy_texture_levels */
795 #ifndef GL_APPLE_framebuffer_multisample
796 #define GL_APPLE_framebuffer_multisample 1
797 #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
798 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
799 #define GL_MAX_SAMPLES_APPLE 0x8D57
800 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
801 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
802 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
803 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
804 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (
805 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
807 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
808 #ifdef GL_GLEXT_PROTOTYPES
809 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (
810 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
812 GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
814 #endif /* GL_APPLE_framebuffer_multisample */
816 #ifndef GL_APPLE_rgb_422
817 #define GL_APPLE_rgb_422 1
818 #define GL_RGB_422_APPLE 0x8A1F
819 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
820 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
821 #define GL_RGB_RAW_422_APPLE 0x8A51
822 #endif /* GL_APPLE_rgb_422 */
824 #ifndef GL_APPLE_sync
825 #define GL_APPLE_sync 1
826 #define GL_SYNC_OBJECT_APPLE 0x8A53
827 #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111
828 #define GL_OBJECT_TYPE_APPLE 0x9112
829 #define GL_SYNC_CONDITION_APPLE 0x9113
830 #define GL_SYNC_STATUS_APPLE 0x9114
831 #define GL_SYNC_FLAGS_APPLE 0x9115
832 #define GL_SYNC_FENCE_APPLE 0x9116
833 #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
834 #define GL_UNSIGNALED_APPLE 0x9118
835 #define GL_SIGNALED_APPLE 0x9119
836 #define GL_ALREADY_SIGNALED_APPLE 0x911A
837 #define GL_TIMEOUT_EXPIRED_APPLE 0x911B
838 #define GL_CONDITION_SATISFIED_APPLE 0x911C
839 #define GL_WAIT_FAILED_APPLE 0x911D
840 #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001
841 #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull
842 typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition,
844 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
845 typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
846 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync,
847 GLbitfield flags, GLuint64 timeout);
848 typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync,
849 GLbitfield flags, GLuint64 timeout);
850 typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname,
852 typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname,
853 GLsizei bufSize, GLsizei *length, GLint *values);
854 #ifdef GL_GLEXT_PROTOTYPES
855 GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition,
857 GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
858 GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
859 GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync,
860 GLbitfield flags, GLuint64 timeout);
861 GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags,
863 GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname,
865 GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname,
866 GLsizei bufSize, GLsizei *length, GLint *values);
868 #endif /* GL_APPLE_sync */
870 #ifndef GL_APPLE_texture_format_BGRA8888
871 #define GL_APPLE_texture_format_BGRA8888 1
872 #define GL_BGRA_EXT 0x80E1
873 #define GL_BGRA8_EXT 0x93A1
874 #endif /* GL_APPLE_texture_format_BGRA8888 */
876 #ifndef GL_APPLE_texture_max_level
877 #define GL_APPLE_texture_max_level 1
878 #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
879 #endif /* GL_APPLE_texture_max_level */
881 #ifndef GL_APPLE_texture_packed_float
882 #define GL_APPLE_texture_packed_float 1
883 #define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B
884 #define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E
885 #define GL_R11F_G11F_B10F_APPLE 0x8C3A
886 #define GL_RGB9_E5_APPLE 0x8C3D
887 #endif /* GL_APPLE_texture_packed_float */
889 #ifndef GL_ARM_mali_program_binary
890 #define GL_ARM_mali_program_binary 1
891 #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
892 #endif /* GL_ARM_mali_program_binary */
894 #ifndef GL_ARM_mali_shader_binary
895 #define GL_ARM_mali_shader_binary 1
896 #define GL_MALI_SHADER_BINARY_ARM 0x8F60
897 #endif /* GL_ARM_mali_shader_binary */
900 #define GL_ARM_rgba8 1
901 #endif /* GL_ARM_rgba8 */
903 #ifndef GL_ARM_shader_framebuffer_fetch
904 #define GL_ARM_shader_framebuffer_fetch 1
905 #define GL_FETCH_PER_SAMPLE_ARM 0x8F65
906 #define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66
907 #endif /* GL_ARM_shader_framebuffer_fetch */
909 #ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil
910 #define GL_ARM_shader_framebuffer_fetch_depth_stencil 1
911 #endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */
913 #ifndef GL_DMP_program_binary
914 #define GL_DMP_program_binary 1
915 #define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251
916 #define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252
917 #define GL_DMP_PROGRAM_BINARY_DMP 0x9253
918 #endif /* GL_DMP_program_binary */
920 #ifndef GL_DMP_shader_binary
921 #define GL_DMP_shader_binary 1
922 #define GL_SHADER_BINARY_DMP 0x9250
923 #endif /* GL_DMP_shader_binary */
925 #ifndef GL_EXT_blend_minmax
926 #define GL_EXT_blend_minmax 1
927 #define GL_MIN_EXT 0x8007
928 #define GL_MAX_EXT 0x8008
929 #endif /* GL_EXT_blend_minmax */
931 #ifndef GL_EXT_color_buffer_half_float
932 #define GL_EXT_color_buffer_half_float 1
933 #define GL_RGBA16F_EXT 0x881A
934 #define GL_RGB16F_EXT 0x881B
935 #define GL_RG16F_EXT 0x822F
936 #define GL_R16F_EXT 0x822D
937 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
938 #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
939 #endif /* GL_EXT_color_buffer_half_float */
941 #ifndef GL_EXT_copy_image
942 #define GL_EXT_copy_image 1
943 typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (GLuint srcName,
944 GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ,
945 GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY,
946 GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
947 #ifdef GL_GLEXT_PROTOTYPES
948 GL_APICALL void GL_APIENTRY glCopyImageSubDataEXT (GLuint srcName,
949 GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ,
950 GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY,
951 GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
953 #endif /* GL_EXT_copy_image */
955 #ifndef GL_EXT_debug_label
956 #define GL_EXT_debug_label 1
957 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
958 #define GL_PROGRAM_OBJECT_EXT 0x8B40
959 #define GL_SHADER_OBJECT_EXT 0x8B48
960 #define GL_BUFFER_OBJECT_EXT 0x9151
961 #define GL_QUERY_OBJECT_EXT 0x9153
962 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
963 #define GL_TRANSFORM_FEEDBACK 0x8E22
964 typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object,
965 GLsizei length, const GLchar *label);
966 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type,
967 GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
968 #ifdef GL_GLEXT_PROTOTYPES
969 GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object,
970 GLsizei length, const GLchar *label);
971 GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object,
972 GLsizei bufSize, GLsizei *length, GLchar *label);
974 #endif /* GL_EXT_debug_label */
976 #ifndef GL_EXT_debug_marker
977 #define GL_EXT_debug_marker 1
978 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length,
979 const GLchar *marker);
980 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length,
981 const GLchar *marker);
982 typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
983 #ifdef GL_GLEXT_PROTOTYPES
984 GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length,
985 const GLchar *marker);
986 GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length,
987 const GLchar *marker);
988 GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);
990 #endif /* GL_EXT_debug_marker */
992 #ifndef GL_EXT_discard_framebuffer
993 #define GL_EXT_discard_framebuffer 1
994 #define GL_COLOR_EXT 0x1800
995 #define GL_DEPTH_EXT 0x1801
996 #define GL_STENCIL_EXT 0x1802
997 typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target,
998 GLsizei numAttachments, const GLenum *attachments);
999 #ifdef GL_GLEXT_PROTOTYPES
1000 GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target,
1001 GLsizei numAttachments, const GLenum *attachments);
1003 #endif /* GL_EXT_discard_framebuffer */
1005 #ifndef GL_EXT_disjoint_timer_query
1006 #define GL_EXT_disjoint_timer_query 1
1007 #define GL_QUERY_COUNTER_BITS_EXT 0x8864
1008 #define GL_CURRENT_QUERY_EXT 0x8865
1009 #define GL_QUERY_RESULT_EXT 0x8866
1010 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
1011 #define GL_TIME_ELAPSED_EXT 0x88BF
1012 #define GL_TIMESTAMP_EXT 0x8E28
1013 #define GL_GPU_DISJOINT_EXT 0x8FBB
1014 typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
1015 typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n,
1017 typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
1018 typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
1019 typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
1020 typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
1021 typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname,
1023 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id,
1024 GLenum pname, GLint *params);
1025 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id,
1026 GLenum pname, GLuint *params);
1027 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id,
1028 GLenum pname, GLint64 *params);
1029 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id,
1030 GLenum pname, GLuint64 *params);
1031 #ifdef GL_GLEXT_PROTOTYPES
1032 GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
1033 GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
1034 GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id);
1035 GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id);
1036 GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target);
1037 GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target);
1038 GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname,
1040 GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname,
1042 GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname,
1044 GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname,
1046 GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname,
1049 #endif /* GL_EXT_disjoint_timer_query */
1051 #ifndef GL_EXT_draw_buffers
1052 #define GL_EXT_draw_buffers 1
1053 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
1054 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824
1055 #define GL_DRAW_BUFFER0_EXT 0x8825
1056 #define GL_DRAW_BUFFER1_EXT 0x8826
1057 #define GL_DRAW_BUFFER2_EXT 0x8827
1058 #define GL_DRAW_BUFFER3_EXT 0x8828
1059 #define GL_DRAW_BUFFER4_EXT 0x8829
1060 #define GL_DRAW_BUFFER5_EXT 0x882A
1061 #define GL_DRAW_BUFFER6_EXT 0x882B
1062 #define GL_DRAW_BUFFER7_EXT 0x882C
1063 #define GL_DRAW_BUFFER8_EXT 0x882D
1064 #define GL_DRAW_BUFFER9_EXT 0x882E
1065 #define GL_DRAW_BUFFER10_EXT 0x882F
1066 #define GL_DRAW_BUFFER11_EXT 0x8830
1067 #define GL_DRAW_BUFFER12_EXT 0x8831
1068 #define GL_DRAW_BUFFER13_EXT 0x8832
1069 #define GL_DRAW_BUFFER14_EXT 0x8833
1070 #define GL_DRAW_BUFFER15_EXT 0x8834
1071 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
1072 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
1073 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
1074 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
1075 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
1076 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
1077 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
1078 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
1079 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
1080 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
1081 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
1082 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
1083 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
1084 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
1085 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
1086 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
1087 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n,
1088 const GLenum *bufs);
1089 #ifdef GL_GLEXT_PROTOTYPES
1090 GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
1092 #endif /* GL_EXT_draw_buffers */
1094 #ifndef GL_EXT_draw_buffers_indexed
1095 #define GL_EXT_draw_buffers_indexed 1
1096 #define GL_MIN 0x8007
1097 #define GL_MAX 0x8008
1098 typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index);
1099 typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index);
1100 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf,
1102 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf,
1103 GLenum modeRGB, GLenum modeAlpha);
1104 typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src,
1106 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf,
1107 GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1108 typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r,
1109 GLboolean g, GLboolean b, GLboolean a);
1110 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target,
1112 #ifdef GL_GLEXT_PROTOTYPES
1113 GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index);
1114 GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index);
1115 GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode);
1116 GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf,
1117 GLenum modeRGB, GLenum modeAlpha);
1118 GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src,
1120 GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB,
1121 GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1122 GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r,
1123 GLboolean g, GLboolean b, GLboolean a);
1124 GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index);
1126 #endif /* GL_EXT_draw_buffers_indexed */
1128 #ifndef GL_EXT_draw_instanced
1129 #define GL_EXT_draw_instanced 1
1130 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode,
1131 GLint start, GLsizei count, GLsizei primcount);
1132 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode,
1133 GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1134 #ifdef GL_GLEXT_PROTOTYPES
1135 GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start,
1136 GLsizei count, GLsizei primcount);
1137 GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode,
1138 GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1140 #endif /* GL_EXT_draw_instanced */
1142 #ifndef GL_EXT_geometry_point_size
1143 #define GL_EXT_geometry_point_size 1
1144 #endif /* GL_EXT_geometry_point_size */
1146 #ifndef GL_EXT_geometry_shader
1147 #define GL_EXT_geometry_shader 1
1148 #define GL_GEOMETRY_SHADER_EXT 0x8DD9
1149 #define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004
1150 #define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916
1151 #define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917
1152 #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918
1153 #define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F
1154 #define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E
1155 #define GL_LINES_ADJACENCY_EXT 0x000A
1156 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
1157 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
1158 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
1159 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
1160 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C
1161 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32
1162 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123
1163 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124
1164 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
1165 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
1166 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A
1167 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
1168 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF
1169 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5
1170 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD
1171 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7
1172 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
1173 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
1174 #define GL_UNDEFINED_VERTEX_EXT 0x8260
1175 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
1176 #define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312
1177 #define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317
1178 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
1179 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
1180 #define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309
1181 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target,
1182 GLenum attachment, GLuint texture, GLint level);
1183 #ifdef GL_GLEXT_PROTOTYPES
1184 GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target,
1185 GLenum attachment, GLuint texture, GLint level);
1187 #endif /* GL_EXT_geometry_shader */
1189 #ifndef GL_EXT_gpu_shader5
1190 #define GL_EXT_gpu_shader5 1
1191 #endif /* GL_EXT_gpu_shader5 */
1193 #ifndef GL_EXT_instanced_arrays
1194 #define GL_EXT_instanced_arrays 1
1195 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE
1196 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index,
1198 #ifdef GL_GLEXT_PROTOTYPES
1199 GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index,
1202 #endif /* GL_EXT_instanced_arrays */
1204 #ifndef GL_EXT_map_buffer_range
1205 #define GL_EXT_map_buffer_range 1
1206 #define GL_MAP_READ_BIT_EXT 0x0001
1207 #define GL_MAP_WRITE_BIT_EXT 0x0002
1208 #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
1209 #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
1210 #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
1211 #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
1212 typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target,
1213 GLintptr offset, GLsizeiptr length, GLbitfield access);
1214 typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target,
1215 GLintptr offset, GLsizeiptr length);
1216 #ifdef GL_GLEXT_PROTOTYPES
1217 GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target,
1218 GLintptr offset, GLsizeiptr length, GLbitfield access);
1219 GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target,
1220 GLintptr offset, GLsizeiptr length);
1222 #endif /* GL_EXT_map_buffer_range */
1224 #ifndef GL_EXT_multi_draw_arrays
1225 #define GL_EXT_multi_draw_arrays 1
1226 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode,
1227 const GLint *first, const GLsizei *count, GLsizei primcount);
1228 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode,
1229 const GLsizei *count, GLenum type, const void *const *indices,
1231 #ifdef GL_GLEXT_PROTOTYPES
1232 GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode,
1233 const GLint *first, const GLsizei *count, GLsizei primcount);
1234 GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode,
1235 const GLsizei *count, GLenum type, const void *const *indices,
1238 #endif /* GL_EXT_multi_draw_arrays */
1240 #ifndef GL_EXT_multisampled_render_to_texture
1241 #define GL_EXT_multisampled_render_to_texture 1
1242 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
1243 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
1244 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
1245 #define GL_MAX_SAMPLES_EXT 0x8D57
1246 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (
1247 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
1249 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (
1250 GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level,
1252 #ifdef GL_GLEXT_PROTOTYPES
1253 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target,
1254 GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1255 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target,
1256 GLenum attachment, GLenum textarget, GLuint texture, GLint level,
1259 #endif /* GL_EXT_multisampled_render_to_texture */
1261 #ifndef GL_EXT_multiview_draw_buffers
1262 #define GL_EXT_multiview_draw_buffers 1
1263 #define GL_COLOR_ATTACHMENT_EXT 0x90F0
1264 #define GL_MULTIVIEW_EXT 0x90F1
1265 #define GL_DRAW_BUFFER_EXT 0x0C01
1266 #define GL_READ_BUFFER_EXT 0x0C02
1267 #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
1268 typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src,
1270 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n,
1271 const GLenum *location, const GLint *indices);
1272 typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target,
1273 GLuint index, GLint *data);
1274 #ifdef GL_GLEXT_PROTOTYPES
1275 GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);
1276 GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n,
1277 const GLenum *location, const GLint *indices);
1278 GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index,
1281 #endif /* GL_EXT_multiview_draw_buffers */
1283 #ifndef GL_EXT_occlusion_query_boolean
1284 #define GL_EXT_occlusion_query_boolean 1
1285 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
1286 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
1287 #endif /* GL_EXT_occlusion_query_boolean */
1289 #ifndef GL_EXT_primitive_bounding_box
1290 #define GL_EXT_primitive_bounding_box 1
1291 #define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE
1292 typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX,
1293 GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY,
1294 GLfloat maxZ, GLfloat maxW);
1295 #ifdef GL_GLEXT_PROTOTYPES
1296 GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX,
1297 GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY,
1298 GLfloat maxZ, GLfloat maxW);
1300 #endif /* GL_EXT_primitive_bounding_box */
1302 #ifndef GL_EXT_pvrtc_sRGB
1303 #define GL_EXT_pvrtc_sRGB 1
1304 #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54
1305 #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55
1306 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56
1307 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57
1308 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0
1309 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1
1310 #endif /* GL_EXT_pvrtc_sRGB */
1312 #ifndef GL_EXT_read_format_bgra
1313 #define GL_EXT_read_format_bgra 1
1314 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
1315 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
1316 #endif /* GL_EXT_read_format_bgra */
1318 #ifndef GL_EXT_robustness
1319 #define GL_EXT_robustness 1
1320 #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
1321 #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
1322 #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
1323 #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
1324 #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
1325 #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
1326 #define GL_NO_RESET_NOTIFICATION_EXT 0x8261
1327 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
1328 typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y,
1329 GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize,
1331 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program,
1332 GLint location, GLsizei bufSize, GLfloat *params);
1333 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program,
1334 GLint location, GLsizei bufSize, GLint *params);
1335 #ifdef GL_GLEXT_PROTOTYPES
1336 GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
1337 GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width,
1338 GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1339 GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location,
1340 GLsizei bufSize, GLfloat *params);
1341 GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location,
1342 GLsizei bufSize, GLint *params);
1344 #endif /* GL_EXT_robustness */
1347 #define GL_EXT_sRGB 1
1348 #define GL_SRGB_EXT 0x8C40
1349 #define GL_SRGB_ALPHA_EXT 0x8C42
1350 #define GL_SRGB8_ALPHA8_EXT 0x8C43
1351 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
1352 #endif /* GL_EXT_sRGB */
1354 #ifndef GL_EXT_sRGB_write_control
1355 #define GL_EXT_sRGB_write_control 1
1356 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
1357 #endif /* GL_EXT_sRGB_write_control */
1359 #ifndef GL_EXT_separate_shader_objects
1360 #define GL_EXT_separate_shader_objects 1
1361 #define GL_ACTIVE_PROGRAM_EXT 0x8259
1362 #define GL_VERTEX_SHADER_BIT_EXT 0x00000001
1363 #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
1364 #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF
1365 #define GL_PROGRAM_SEPARABLE_EXT 0x8258
1366 #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A
1367 typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline,
1369 typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1370 typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type,
1371 GLsizei count, const GLchar **strings);
1372 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n,
1373 const GLuint *pipelines);
1374 typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n,
1376 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (
1377 GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1378 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline,
1379 GLenum pname, GLint *params);
1380 typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (
1382 typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program,
1383 GLenum pname, GLint value);
1384 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program,
1385 GLint location, GLfloat v0);
1386 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program,
1387 GLint location, GLsizei count, const GLfloat *value);
1388 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program,
1389 GLint location, GLint v0);
1390 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program,
1391 GLint location, GLsizei count, const GLint *value);
1392 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program,
1393 GLint location, GLfloat v0, GLfloat v1);
1394 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program,
1395 GLint location, GLsizei count, const GLfloat *value);
1396 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program,
1397 GLint location, GLint v0, GLint v1);
1398 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program,
1399 GLint location, GLsizei count, const GLint *value);
1400 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program,
1401 GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1402 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program,
1403 GLint location, GLsizei count, const GLfloat *value);
1404 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program,
1405 GLint location, GLint v0, GLint v1, GLint v2);
1406 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program,
1407 GLint location, GLsizei count, const GLint *value);
1408 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program,
1409 GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1410 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program,
1411 GLint location, GLsizei count, const GLfloat *value);
1412 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program,
1413 GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1414 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program,
1415 GLint location, GLsizei count, const GLint *value);
1416 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program,
1417 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1418 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program,
1419 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1420 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program,
1421 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1422 typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline,
1423 GLbitfield stages, GLuint program);
1424 typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (
1426 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program,
1427 GLint location, GLuint v0);
1428 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program,
1429 GLint location, GLuint v0, GLuint v1);
1430 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program,
1431 GLint location, GLuint v0, GLuint v1, GLuint v2);
1432 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program,
1433 GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1434 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program,
1435 GLint location, GLsizei count, const GLuint *value);
1436 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program,
1437 GLint location, GLsizei count, const GLuint *value);
1438 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program,
1439 GLint location, GLsizei count, const GLuint *value);
1440 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program,
1441 GLint location, GLsizei count, const GLuint *value);
1442 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (
1443 GLuint program, GLint location, GLsizei count, GLboolean transpose,
1444 const GLfloat *value);
1445 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (
1446 GLuint program, GLint location, GLsizei count, GLboolean transpose,
1447 const GLfloat *value);
1448 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (
1449 GLuint program, GLint location, GLsizei count, GLboolean transpose,
1450 const GLfloat *value);
1451 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (
1452 GLuint program, GLint location, GLsizei count, GLboolean transpose,
1453 const GLfloat *value);
1454 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (
1455 GLuint program, GLint location, GLsizei count, GLboolean transpose,
1456 const GLfloat *value);
1457 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (
1458 GLuint program, GLint location, GLsizei count, GLboolean transpose,
1459 const GLfloat *value);
1460 #ifdef GL_GLEXT_PROTOTYPES
1461 GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline,
1463 GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);
1464 GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type,
1465 GLsizei count, const GLchar **strings);
1466 GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n,
1467 const GLuint *pipelines);
1468 GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n,
1470 GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline,
1471 GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1472 GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline,
1473 GLenum pname, GLint *params);
1474 GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);
1475 GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program,
1476 GLenum pname, GLint value);
1477 GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program,
1478 GLint location, GLfloat v0);
1479 GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program,
1480 GLint location, GLsizei count, const GLfloat *value);
1481 GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program,
1482 GLint location, GLint v0);
1483 GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program,
1484 GLint location, GLsizei count, const GLint *value);
1485 GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program,
1486 GLint location, GLfloat v0, GLfloat v1);
1487 GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program,
1488 GLint location, GLsizei count, const GLfloat *value);
1489 GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program,
1490 GLint location, GLint v0, GLint v1);
1491 GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program,
1492 GLint location, GLsizei count, const GLint *value);
1493 GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program,
1494 GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1495 GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program,
1496 GLint location, GLsizei count, const GLfloat *value);
1497 GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program,
1498 GLint location, GLint v0, GLint v1, GLint v2);
1499 GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program,
1500 GLint location, GLsizei count, const GLint *value);
1501 GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program,
1502 GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1503 GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program,
1504 GLint location, GLsizei count, const GLfloat *value);
1505 GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program,
1506 GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1507 GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program,
1508 GLint location, GLsizei count, const GLint *value);
1509 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program,
1510 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1511 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program,
1512 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1513 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program,
1514 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1515 GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline,
1516 GLbitfield stages, GLuint program);
1517 GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);
1518 GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program,
1519 GLint location, GLuint v0);
1520 GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program,
1521 GLint location, GLuint v0, GLuint v1);
1522 GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program,
1523 GLint location, GLuint v0, GLuint v1, GLuint v2);
1524 GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program,
1525 GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1526 GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program,
1527 GLint location, GLsizei count, const GLuint *value);
1528 GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program,
1529 GLint location, GLsizei count, const GLuint *value);
1530 GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program,
1531 GLint location, GLsizei count, const GLuint *value);
1532 GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program,
1533 GLint location, GLsizei count, const GLuint *value);
1534 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program,
1535 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1536 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program,
1537 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1538 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program,
1539 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1540 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program,
1541 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1542 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program,
1543 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1544 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program,
1545 GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1547 #endif /* GL_EXT_separate_shader_objects */
1549 #ifndef GL_EXT_shader_framebuffer_fetch
1550 #define GL_EXT_shader_framebuffer_fetch 1
1551 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
1552 #endif /* GL_EXT_shader_framebuffer_fetch */
1554 #ifndef GL_EXT_shader_implicit_conversions
1555 #define GL_EXT_shader_implicit_conversions 1
1556 #endif /* GL_EXT_shader_implicit_conversions */
1558 #ifndef GL_EXT_shader_integer_mix
1559 #define GL_EXT_shader_integer_mix 1
1560 #endif /* GL_EXT_shader_integer_mix */
1562 #ifndef GL_EXT_shader_io_blocks
1563 #define GL_EXT_shader_io_blocks 1
1564 #endif /* GL_EXT_shader_io_blocks */
1566 #ifndef GL_EXT_shader_pixel_local_storage
1567 #define GL_EXT_shader_pixel_local_storage 1
1568 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63
1569 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67
1570 #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64
1571 #endif /* GL_EXT_shader_pixel_local_storage */
1573 #ifndef GL_EXT_shader_texture_lod
1574 #define GL_EXT_shader_texture_lod 1
1575 #endif /* GL_EXT_shader_texture_lod */
1577 #ifndef GL_EXT_shadow_samplers
1578 #define GL_EXT_shadow_samplers 1
1579 #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
1580 #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
1581 #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
1582 #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
1583 #endif /* GL_EXT_shadow_samplers */
1585 #ifndef GL_EXT_tessellation_point_size
1586 #define GL_EXT_tessellation_point_size 1
1587 #endif /* GL_EXT_tessellation_point_size */
1589 #ifndef GL_EXT_tessellation_shader
1590 #define GL_EXT_tessellation_shader 1
1591 #define GL_PATCHES_EXT 0x000E
1592 #define GL_PATCH_VERTICES_EXT 0x8E72
1593 #define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75
1594 #define GL_TESS_GEN_MODE_EXT 0x8E76
1595 #define GL_TESS_GEN_SPACING_EXT 0x8E77
1596 #define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78
1597 #define GL_TESS_GEN_POINT_MODE_EXT 0x8E79
1598 #define GL_ISOLINES_EXT 0x8E7A
1599 #define GL_QUADS_EXT 0x0007
1600 #define GL_FRACTIONAL_ODD_EXT 0x8E7B
1601 #define GL_FRACTIONAL_EVEN_EXT 0x8E7C
1602 #define GL_MAX_PATCH_VERTICES_EXT 0x8E7D
1603 #define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E
1604 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F
1605 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80
1606 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81
1607 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82
1608 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83
1609 #define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84
1610 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85
1611 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86
1612 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89
1613 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A
1614 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C
1615 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D
1616 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E
1617 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F
1618 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD
1619 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE
1620 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3
1621 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4
1622 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB
1623 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC
1624 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8
1625 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9
1626 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
1627 #define GL_IS_PER_PATCH_EXT 0x92E7
1628 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307
1629 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308
1630 #define GL_TESS_CONTROL_SHADER_EXT 0x8E88
1631 #define GL_TESS_EVALUATION_SHADER_EXT 0x8E87
1632 #define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008
1633 #define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010
1634 typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname,
1636 #ifdef GL_GLEXT_PROTOTYPES
1637 GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value);
1639 #endif /* GL_EXT_tessellation_shader */
1641 #ifndef GL_EXT_texture_border_clamp
1642 #define GL_EXT_texture_border_clamp 1
1643 #define GL_TEXTURE_BORDER_COLOR_EXT 0x1004
1644 #define GL_CLAMP_TO_BORDER_EXT 0x812D
1645 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target,
1646 GLenum pname, const GLint *params);
1647 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target,
1648 GLenum pname, const GLuint *params);
1649 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target,
1650 GLenum pname, GLint *params);
1651 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target,
1652 GLenum pname, GLuint *params);
1653 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler,
1654 GLenum pname, const GLint *param);
1655 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler,
1656 GLenum pname, const GLuint *param);
1657 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler,
1658 GLenum pname, GLint *params);
1659 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler,
1660 GLenum pname, GLuint *params);
1661 #ifdef GL_GLEXT_PROTOTYPES
1662 GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname,
1663 const GLint *params);
1664 GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname,
1665 const GLuint *params);
1666 GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target,
1667 GLenum pname, GLint *params);
1668 GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target,
1669 GLenum pname, GLuint *params);
1670 GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler,
1671 GLenum pname, const GLint *param);
1672 GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler,
1673 GLenum pname, const GLuint *param);
1674 GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler,
1675 GLenum pname, GLint *params);
1676 GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler,
1677 GLenum pname, GLuint *params);
1679 #endif /* GL_EXT_texture_border_clamp */
1681 #ifndef GL_EXT_texture_buffer
1682 #define GL_EXT_texture_buffer 1
1683 #define GL_TEXTURE_BUFFER_EXT 0x8C2A
1684 #define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A
1685 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
1686 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
1687 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
1688 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F
1689 #define GL_SAMPLER_BUFFER_EXT 0x8DC2
1690 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
1691 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
1692 #define GL_IMAGE_BUFFER_EXT 0x9051
1693 #define GL_INT_IMAGE_BUFFER_EXT 0x905C
1694 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
1695 #define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D
1696 #define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E
1697 typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target,
1698 GLenum internalformat, GLuint buffer);
1699 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target,
1700 GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
1701 #ifdef GL_GLEXT_PROTOTYPES
1702 GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target,
1703 GLenum internalformat, GLuint buffer);
1704 GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target,
1705 GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
1707 #endif /* GL_EXT_texture_buffer */
1709 #ifndef GL_EXT_texture_compression_dxt1
1710 #define GL_EXT_texture_compression_dxt1 1
1711 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
1712 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
1713 #endif /* GL_EXT_texture_compression_dxt1 */
1715 #ifndef GL_EXT_texture_compression_s3tc
1716 #define GL_EXT_texture_compression_s3tc 1
1717 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
1718 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
1719 #endif /* GL_EXT_texture_compression_s3tc */
1721 #ifndef GL_EXT_texture_cube_map_array
1722 #define GL_EXT_texture_cube_map_array 1
1723 #define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009
1724 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A
1725 #define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C
1726 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D
1727 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E
1728 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F
1729 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
1730 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
1731 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
1732 #endif /* GL_EXT_texture_cube_map_array */
1734 #ifndef GL_EXT_texture_filter_anisotropic
1735 #define GL_EXT_texture_filter_anisotropic 1
1736 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
1737 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
1738 #endif /* GL_EXT_texture_filter_anisotropic */
1740 #ifndef GL_EXT_texture_format_BGRA8888
1741 #define GL_EXT_texture_format_BGRA8888 1
1742 #endif /* GL_EXT_texture_format_BGRA8888 */
1744 #ifndef GL_EXT_texture_rg
1745 #define GL_EXT_texture_rg 1
1746 #define GL_RED_EXT 0x1903
1747 #define GL_RG_EXT 0x8227
1748 #define GL_R8_EXT 0x8229
1749 #define GL_RG8_EXT 0x822B
1750 #endif /* GL_EXT_texture_rg */
1752 #ifndef GL_EXT_texture_sRGB_decode
1753 #define GL_EXT_texture_sRGB_decode 1
1754 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
1755 #define GL_DECODE_EXT 0x8A49
1756 #define GL_SKIP_DECODE_EXT 0x8A4A
1757 #endif /* GL_EXT_texture_sRGB_decode */
1759 #ifndef GL_EXT_texture_storage
1760 #define GL_EXT_texture_storage 1
1761 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
1762 #define GL_ALPHA8_EXT 0x803C
1763 #define GL_LUMINANCE8_EXT 0x8040
1764 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
1765 #define GL_RGBA32F_EXT 0x8814
1766 #define GL_RGB32F_EXT 0x8815
1767 #define GL_ALPHA32F_EXT 0x8816
1768 #define GL_LUMINANCE32F_EXT 0x8818
1769 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
1770 #define GL_ALPHA16F_EXT 0x881C
1771 #define GL_LUMINANCE16F_EXT 0x881E
1772 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
1773 #define GL_R32F_EXT 0x822E
1774 #define GL_RG32F_EXT 0x8230
1775 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target,
1776 GLsizei levels, GLenum internalformat, GLsizei width);
1777 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target,
1778 GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1779 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target,
1780 GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height,
1782 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture,
1783 GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1784 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture,
1785 GLenum target, GLsizei levels, GLenum internalformat, GLsizei width,
1787 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture,
1788 GLenum target, GLsizei levels, GLenum internalformat, GLsizei width,
1789 GLsizei height, GLsizei depth);
1790 #ifdef GL_GLEXT_PROTOTYPES
1791 GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels,
1792 GLenum internalformat, GLsizei width);
1793 GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels,
1794 GLenum internalformat, GLsizei width, GLsizei height);
1795 GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels,
1796 GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1797 GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture,
1798 GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1799 GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture,
1800 GLenum target, GLsizei levels, GLenum internalformat, GLsizei width,
1802 GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture,
1803 GLenum target, GLsizei levels, GLenum internalformat, GLsizei width,
1804 GLsizei height, GLsizei depth);
1806 #endif /* GL_EXT_texture_storage */
1808 #ifndef GL_EXT_texture_type_2_10_10_10_REV
1809 #define GL_EXT_texture_type_2_10_10_10_REV 1
1810 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
1811 #endif /* GL_EXT_texture_type_2_10_10_10_REV */
1813 #ifndef GL_EXT_texture_view
1814 #define GL_EXT_texture_view 1
1815 #define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB
1816 #define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC
1817 #define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD
1818 #define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE
1819 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
1820 typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture,
1821 GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel,
1822 GLuint numlevels, GLuint minlayer, GLuint numlayers);
1823 #ifdef GL_GLEXT_PROTOTYPES
1824 GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target,
1825 GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels,
1826 GLuint minlayer, GLuint numlayers);
1828 #endif /* GL_EXT_texture_view */
1830 #ifndef GL_EXT_unpack_subimage
1831 #define GL_EXT_unpack_subimage 1
1832 #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2
1833 #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3
1834 #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4
1835 #endif /* GL_EXT_unpack_subimage */
1837 #ifndef GL_FJ_shader_binary_GCCSO
1838 #define GL_FJ_shader_binary_GCCSO 1
1839 #define GL_GCCSO_SHADER_BINARY_FJ 0x9260
1840 #endif /* GL_FJ_shader_binary_GCCSO */
1842 #ifndef GL_IMG_multisampled_render_to_texture
1843 #define GL_IMG_multisampled_render_to_texture 1
1844 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
1845 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
1846 #define GL_MAX_SAMPLES_IMG 0x9135
1847 #define GL_TEXTURE_SAMPLES_IMG 0x9136
1848 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (
1849 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
1851 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (
1852 GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level,
1854 #ifdef GL_GLEXT_PROTOTYPES
1855 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target,
1856 GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1857 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target,
1858 GLenum attachment, GLenum textarget, GLuint texture, GLint level,
1861 #endif /* GL_IMG_multisampled_render_to_texture */
1863 #ifndef GL_IMG_program_binary
1864 #define GL_IMG_program_binary 1
1865 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130
1866 #endif /* GL_IMG_program_binary */
1868 #ifndef GL_IMG_read_format
1869 #define GL_IMG_read_format 1
1870 #define GL_BGRA_IMG 0x80E1
1871 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
1872 #endif /* GL_IMG_read_format */
1874 #ifndef GL_IMG_shader_binary
1875 #define GL_IMG_shader_binary 1
1876 #define GL_SGX_BINARY_IMG 0x8C0A
1877 #endif /* GL_IMG_shader_binary */
1879 #ifndef GL_IMG_texture_compression_pvrtc
1880 #define GL_IMG_texture_compression_pvrtc 1
1881 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
1882 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
1883 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
1884 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
1885 #endif /* GL_IMG_texture_compression_pvrtc */
1887 #ifndef GL_IMG_texture_compression_pvrtc2
1888 #define GL_IMG_texture_compression_pvrtc2 1
1889 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
1890 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
1891 #endif /* GL_IMG_texture_compression_pvrtc2 */
1893 #ifndef GL_INTEL_performance_query
1894 #define GL_INTEL_performance_query 1
1895 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
1896 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
1897 #define GL_PERFQUERY_WAIT_INTEL 0x83FB
1898 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
1899 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
1900 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
1901 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
1902 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
1903 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
1904 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
1905 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
1906 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
1907 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
1908 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
1909 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
1910 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
1911 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
1912 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
1913 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
1914 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
1915 typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
1916 typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId,
1917 GLuint *queryHandle);
1918 typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
1919 typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
1920 typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
1921 typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId,
1922 GLuint *nextQueryId);
1923 typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId,
1924 GLuint counterId, GLuint counterNameLength, GLchar *counterName,
1925 GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset,
1926 GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum,
1927 GLuint64 *rawCounterMaxValue);
1928 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle,
1929 GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
1930 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (
1931 GLchar *queryName, GLuint *queryId);
1932 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId,
1933 GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters,
1934 GLuint *noInstances, GLuint *capsMask);
1935 #ifdef GL_GLEXT_PROTOTYPES
1936 GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
1937 GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId,
1938 GLuint *queryHandle);
1939 GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
1940 GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
1941 GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
1942 GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId,
1943 GLuint *nextQueryId);
1944 GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId,
1945 GLuint counterId, GLuint counterNameLength, GLchar *counterName,
1946 GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset,
1947 GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum,
1948 GLuint64 *rawCounterMaxValue);
1949 GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle,
1950 GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
1951 GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName,
1953 GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId,
1954 GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters,
1955 GLuint *noInstances, GLuint *capsMask);
1957 #endif /* GL_INTEL_performance_query */
1959 #ifndef GL_NV_blend_equation_advanced
1960 #define GL_NV_blend_equation_advanced 1
1961 #define GL_BLEND_OVERLAP_NV 0x9281
1962 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
1963 #define GL_BLUE_NV 0x1905
1964 #define GL_COLORBURN_NV 0x929A
1965 #define GL_COLORDODGE_NV 0x9299
1966 #define GL_CONJOINT_NV 0x9284
1967 #define GL_CONTRAST_NV 0x92A1
1968 #define GL_DARKEN_NV 0x9297
1969 #define GL_DIFFERENCE_NV 0x929E
1970 #define GL_DISJOINT_NV 0x9283
1971 #define GL_DST_ATOP_NV 0x928F
1972 #define GL_DST_IN_NV 0x928B
1973 #define GL_DST_NV 0x9287
1974 #define GL_DST_OUT_NV 0x928D
1975 #define GL_DST_OVER_NV 0x9289
1976 #define GL_EXCLUSION_NV 0x92A0
1977 #define GL_GREEN_NV 0x1904
1978 #define GL_HARDLIGHT_NV 0x929B
1979 #define GL_HARDMIX_NV 0x92A9
1980 #define GL_HSL_COLOR_NV 0x92AF
1981 #define GL_HSL_HUE_NV 0x92AD
1982 #define GL_HSL_LUMINOSITY_NV 0x92B0
1983 #define GL_HSL_SATURATION_NV 0x92AE
1984 #define GL_INVERT_OVG_NV 0x92B4
1985 #define GL_INVERT_RGB_NV 0x92A3
1986 #define GL_LIGHTEN_NV 0x9298
1987 #define GL_LINEARBURN_NV 0x92A5
1988 #define GL_LINEARDODGE_NV 0x92A4
1989 #define GL_LINEARLIGHT_NV 0x92A7
1990 #define GL_MINUS_CLAMPED_NV 0x92B3
1991 #define GL_MINUS_NV 0x929F
1992 #define GL_MULTIPLY_NV 0x9294
1993 #define GL_OVERLAY_NV 0x9296
1994 #define GL_PINLIGHT_NV 0x92A8
1995 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
1996 #define GL_PLUS_CLAMPED_NV 0x92B1
1997 #define GL_PLUS_DARKER_NV 0x9292
1998 #define GL_PLUS_NV 0x9291
1999 #define GL_RED_NV 0x1903
2000 #define GL_SCREEN_NV 0x9295
2001 #define GL_SOFTLIGHT_NV 0x929C
2002 #define GL_SRC_ATOP_NV 0x928E
2003 #define GL_SRC_IN_NV 0x928A
2004 #define GL_SRC_NV 0x9286
2005 #define GL_SRC_OUT_NV 0x928C
2006 #define GL_SRC_OVER_NV 0x9288
2007 #define GL_UNCORRELATED_NV 0x9282
2008 #define GL_VIVIDLIGHT_NV 0x92A6
2009 #define GL_XOR_NV 0x1506
2010 typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname,
2012 typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
2013 #ifdef GL_GLEXT_PROTOTYPES
2014 GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
2015 GL_APICALL void GL_APIENTRY glBlendBarrierNV (void);
2017 #endif /* GL_NV_blend_equation_advanced */
2019 #ifndef GL_NV_blend_equation_advanced_coherent
2020 #define GL_NV_blend_equation_advanced_coherent 1
2021 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
2022 #endif /* GL_NV_blend_equation_advanced_coherent */
2024 #ifndef GL_NV_copy_buffer
2025 #define GL_NV_copy_buffer 1
2026 #define GL_COPY_READ_BUFFER_NV 0x8F36
2027 #define GL_COPY_WRITE_BUFFER_NV 0x8F37
2028 typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget,
2029 GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2030 #ifdef GL_GLEXT_PROTOTYPES
2031 GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget,
2032 GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2034 #endif /* GL_NV_copy_buffer */
2036 #ifndef GL_NV_coverage_sample
2037 #define GL_NV_coverage_sample 1
2038 #define GL_COVERAGE_COMPONENT_NV 0x8ED0
2039 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1
2040 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
2041 #define GL_COVERAGE_BUFFERS_NV 0x8ED3
2042 #define GL_COVERAGE_SAMPLES_NV 0x8ED4
2043 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
2044 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
2045 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
2046 #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000
2047 typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
2048 typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
2049 #ifdef GL_GLEXT_PROTOTYPES
2050 GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
2051 GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
2053 #endif /* GL_NV_coverage_sample */
2055 #ifndef GL_NV_depth_nonlinear
2056 #define GL_NV_depth_nonlinear 1
2057 #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
2058 #endif /* GL_NV_depth_nonlinear */
2060 #ifndef GL_NV_draw_buffers
2061 #define GL_NV_draw_buffers 1
2062 #define GL_MAX_DRAW_BUFFERS_NV 0x8824
2063 #define GL_DRAW_BUFFER0_NV 0x8825
2064 #define GL_DRAW_BUFFER1_NV 0x8826
2065 #define GL_DRAW_BUFFER2_NV 0x8827
2066 #define GL_DRAW_BUFFER3_NV 0x8828
2067 #define GL_DRAW_BUFFER4_NV 0x8829
2068 #define GL_DRAW_BUFFER5_NV 0x882A
2069 #define GL_DRAW_BUFFER6_NV 0x882B
2070 #define GL_DRAW_BUFFER7_NV 0x882C
2071 #define GL_DRAW_BUFFER8_NV 0x882D
2072 #define GL_DRAW_BUFFER9_NV 0x882E
2073 #define GL_DRAW_BUFFER10_NV 0x882F
2074 #define GL_DRAW_BUFFER11_NV 0x8830
2075 #define GL_DRAW_BUFFER12_NV 0x8831
2076 #define GL_DRAW_BUFFER13_NV 0x8832
2077 #define GL_DRAW_BUFFER14_NV 0x8833
2078 #define GL_DRAW_BUFFER15_NV 0x8834
2079 #define GL_COLOR_ATTACHMENT0_NV 0x8CE0
2080 #define GL_COLOR_ATTACHMENT1_NV 0x8CE1
2081 #define GL_COLOR_ATTACHMENT2_NV 0x8CE2
2082 #define GL_COLOR_ATTACHMENT3_NV 0x8CE3
2083 #define GL_COLOR_ATTACHMENT4_NV 0x8CE4
2084 #define GL_COLOR_ATTACHMENT5_NV 0x8CE5
2085 #define GL_COLOR_ATTACHMENT6_NV 0x8CE6
2086 #define GL_COLOR_ATTACHMENT7_NV 0x8CE7
2087 #define GL_COLOR_ATTACHMENT8_NV 0x8CE8
2088 #define GL_COLOR_ATTACHMENT9_NV 0x8CE9
2089 #define GL_COLOR_ATTACHMENT10_NV 0x8CEA
2090 #define GL_COLOR_ATTACHMENT11_NV 0x8CEB
2091 #define GL_COLOR_ATTACHMENT12_NV 0x8CEC
2092 #define GL_COLOR_ATTACHMENT13_NV 0x8CED
2093 #define GL_COLOR_ATTACHMENT14_NV 0x8CEE
2094 #define GL_COLOR_ATTACHMENT15_NV 0x8CEF
2095 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n,
2096 const GLenum *bufs);
2097 #ifdef GL_GLEXT_PROTOTYPES
2098 GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
2100 #endif /* GL_NV_draw_buffers */
2102 #ifndef GL_NV_draw_instanced
2103 #define GL_NV_draw_instanced 1
2104 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode,
2105 GLint first, GLsizei count, GLsizei primcount);
2106 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode,
2107 GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2108 #ifdef GL_GLEXT_PROTOTYPES
2109 GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first,
2110 GLsizei count, GLsizei primcount);
2111 GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode,
2112 GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2114 #endif /* GL_NV_draw_instanced */
2116 #ifndef GL_NV_explicit_attrib_location
2117 #define GL_NV_explicit_attrib_location 1
2118 #endif /* GL_NV_explicit_attrib_location */
2120 #ifndef GL_NV_fbo_color_attachments
2121 #define GL_NV_fbo_color_attachments 1
2122 #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
2123 #endif /* GL_NV_fbo_color_attachments */
2126 #define GL_NV_fence 1
2127 #define GL_ALL_COMPLETED_NV 0x84F2
2128 #define GL_FENCE_STATUS_NV 0x84F3
2129 #define GL_FENCE_CONDITION_NV 0x84F4
2130 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n,
2131 const GLuint *fences);
2132 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
2133 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
2134 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
2135 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname,
2137 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
2138 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence,
2140 #ifdef GL_GLEXT_PROTOTYPES
2141 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
2142 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
2143 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
2144 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
2145 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname,
2147 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
2148 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
2150 #endif /* GL_NV_fence */
2152 #ifndef GL_NV_framebuffer_blit
2153 #define GL_NV_framebuffer_blit 1
2154 #define GL_READ_FRAMEBUFFER_NV 0x8CA8
2155 #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9
2156 #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6
2157 #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA
2158 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0,
2159 GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1,
2160 GLint dstY1, GLbitfield mask, GLenum filter);
2161 #ifdef GL_GLEXT_PROTOTYPES
2162 GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0,
2163 GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
2164 GLbitfield mask, GLenum filter);
2166 #endif /* GL_NV_framebuffer_blit */
2168 #ifndef GL_NV_framebuffer_multisample
2169 #define GL_NV_framebuffer_multisample 1
2170 #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB
2171 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56
2172 #define GL_MAX_SAMPLES_NV 0x8D57
2173 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (
2174 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
2176 #ifdef GL_GLEXT_PROTOTYPES
2177 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target,
2178 GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2180 #endif /* GL_NV_framebuffer_multisample */
2182 #ifndef GL_NV_generate_mipmap_sRGB
2183 #define GL_NV_generate_mipmap_sRGB 1
2184 #endif /* GL_NV_generate_mipmap_sRGB */
2186 #ifndef GL_NV_instanced_arrays
2187 #define GL_NV_instanced_arrays 1
2188 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE
2189 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index,
2191 #ifdef GL_GLEXT_PROTOTYPES
2192 GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index,
2195 #endif /* GL_NV_instanced_arrays */
2197 #ifndef GL_NV_non_square_matrices
2198 #define GL_NV_non_square_matrices 1
2199 #define GL_FLOAT_MAT2x3_NV 0x8B65
2200 #define GL_FLOAT_MAT2x4_NV 0x8B66
2201 #define GL_FLOAT_MAT3x2_NV 0x8B67
2202 #define GL_FLOAT_MAT3x4_NV 0x8B68
2203 #define GL_FLOAT_MAT4x2_NV 0x8B69
2204 #define GL_FLOAT_MAT4x3_NV 0x8B6A
2205 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location,
2206 GLsizei count, GLboolean transpose, const GLfloat *value);
2207 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location,
2208 GLsizei count, GLboolean transpose, const GLfloat *value);
2209 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location,
2210 GLsizei count, GLboolean transpose, const GLfloat *value);
2211 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location,
2212 GLsizei count, GLboolean transpose, const GLfloat *value);
2213 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location,
2214 GLsizei count, GLboolean transpose, const GLfloat *value);
2215 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location,
2216 GLsizei count, GLboolean transpose, const GLfloat *value);
2217 #ifdef GL_GLEXT_PROTOTYPES
2218 GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location,
2219 GLsizei count, GLboolean transpose, const GLfloat *value);
2220 GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location,
2221 GLsizei count, GLboolean transpose, const GLfloat *value);
2222 GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location,
2223 GLsizei count, GLboolean transpose, const GLfloat *value);
2224 GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location,
2225 GLsizei count, GLboolean transpose, const GLfloat *value);
2226 GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location,
2227 GLsizei count, GLboolean transpose, const GLfloat *value);
2228 GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location,
2229 GLsizei count, GLboolean transpose, const GLfloat *value);
2231 #endif /* GL_NV_non_square_matrices */
2233 #ifndef GL_NV_read_buffer
2234 #define GL_NV_read_buffer 1
2235 #define GL_READ_BUFFER_NV 0x0C02
2236 typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode);
2237 #ifdef GL_GLEXT_PROTOTYPES
2238 GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode);
2240 #endif /* GL_NV_read_buffer */
2242 #ifndef GL_NV_read_buffer_front
2243 #define GL_NV_read_buffer_front 1
2244 #endif /* GL_NV_read_buffer_front */
2246 #ifndef GL_NV_read_depth
2247 #define GL_NV_read_depth 1
2248 #endif /* GL_NV_read_depth */
2250 #ifndef GL_NV_read_depth_stencil
2251 #define GL_NV_read_depth_stencil 1
2252 #endif /* GL_NV_read_depth_stencil */
2254 #ifndef GL_NV_read_stencil
2255 #define GL_NV_read_stencil 1
2256 #endif /* GL_NV_read_stencil */
2258 #ifndef GL_NV_sRGB_formats
2259 #define GL_NV_sRGB_formats 1
2260 #define GL_SLUMINANCE_NV 0x8C46
2261 #define GL_SLUMINANCE_ALPHA_NV 0x8C44
2262 #define GL_SRGB8_NV 0x8C41
2263 #define GL_SLUMINANCE8_NV 0x8C47
2264 #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45
2265 #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C
2266 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D
2267 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E
2268 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F
2269 #define GL_ETC1_SRGB8_NV 0x88EE
2270 #endif /* GL_NV_sRGB_formats */
2272 #ifndef GL_NV_shadow_samplers_array
2273 #define GL_NV_shadow_samplers_array 1
2274 #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4
2275 #endif /* GL_NV_shadow_samplers_array */
2277 #ifndef GL_NV_shadow_samplers_cube
2278 #define GL_NV_shadow_samplers_cube 1
2279 #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5
2280 #endif /* GL_NV_shadow_samplers_cube */
2282 #ifndef GL_NV_texture_border_clamp
2283 #define GL_NV_texture_border_clamp 1
2284 #define GL_TEXTURE_BORDER_COLOR_NV 0x1004
2285 #define GL_CLAMP_TO_BORDER_NV 0x812D
2286 #endif /* GL_NV_texture_border_clamp */
2288 #ifndef GL_NV_texture_compression_s3tc_update
2289 #define GL_NV_texture_compression_s3tc_update 1
2290 #endif /* GL_NV_texture_compression_s3tc_update */
2292 #ifndef GL_NV_texture_npot_2D_mipmap
2293 #define GL_NV_texture_npot_2D_mipmap 1
2294 #endif /* GL_NV_texture_npot_2D_mipmap */
2296 #ifndef GL_QCOM_alpha_test
2297 #define GL_QCOM_alpha_test 1
2298 #define GL_ALPHA_TEST_QCOM 0x0BC0
2299 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1
2300 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2
2301 typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref);
2302 #ifdef GL_GLEXT_PROTOTYPES
2303 GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref);
2305 #endif /* GL_QCOM_alpha_test */
2307 #ifndef GL_QCOM_binning_control
2308 #define GL_QCOM_binning_control 1
2309 #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0
2310 #define GL_CPU_OPTIMIZED_QCOM 0x8FB1
2311 #define GL_GPU_OPTIMIZED_QCOM 0x8FB2
2312 #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3
2313 #endif /* GL_QCOM_binning_control */
2315 #ifndef GL_QCOM_driver_control
2316 #define GL_QCOM_driver_control 1
2317 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num,
2318 GLsizei size, GLuint *driverControls);
2319 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (
2320 GLuint driverControl, GLsizei bufSize, GLsizei *length,
2321 GLchar *driverControlString);
2322 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (
2323 GLuint driverControl);
2324 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (
2325 GLuint driverControl);
2326 #ifdef GL_GLEXT_PROTOTYPES
2327 GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size,
2328 GLuint *driverControls);
2329 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl,
2330 GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
2331 GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
2332 GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
2334 #endif /* GL_QCOM_driver_control */
2336 #ifndef GL_QCOM_extended_get
2337 #define GL_QCOM_extended_get 1
2338 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2
2339 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3
2340 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4
2341 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5
2342 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6
2343 #define GL_TEXTURE_TYPE_QCOM 0x8BD7
2344 #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8
2345 #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9
2346 #define GL_TEXTURE_TARGET_QCOM 0x8BDA
2347 #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB
2348 #define GL_STATE_RESTORE 0x8BDC
2349 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures,
2350 GLint maxTextures, GLint *numTextures);
2351 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers,
2352 GLint maxBuffers, GLint *numBuffers);
2353 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (
2354 GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
2355 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (
2356 GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
2357 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (
2358 GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
2359 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (
2360 GLenum target, GLenum pname, GLint param);
2361 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target,
2362 GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width,
2363 GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
2364 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target,
2366 #ifdef GL_GLEXT_PROTOTYPES
2367 GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures,
2368 GLint maxTextures, GLint *numTextures);
2369 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers,
2370 GLint maxBuffers, GLint *numBuffers);
2371 GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers,
2372 GLint maxRenderbuffers, GLint *numRenderbuffers);
2373 GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers,
2374 GLint maxFramebuffers, GLint *numFramebuffers);
2375 GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture,
2376 GLenum face, GLint level, GLenum pname, GLint *params);
2377 GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target,
2378 GLenum pname, GLint param);
2379 GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level,
2380 GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height,
2381 GLsizei depth, GLenum format, GLenum type, void *texels);
2382 GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target,
2385 #endif /* GL_QCOM_extended_get */
2387 #ifndef GL_QCOM_extended_get2
2388 #define GL_QCOM_extended_get2 1
2389 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders,
2390 GLint maxShaders, GLint *numShaders);
2391 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs,
2392 GLint maxPrograms, GLint *numPrograms);
2393 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (
2395 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (
2396 GLuint program, GLenum shadertype, GLchar *source, GLint *length);
2397 #ifdef GL_GLEXT_PROTOTYPES
2398 GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders,
2399 GLint maxShaders, GLint *numShaders);
2400 GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs,
2401 GLint maxPrograms, GLint *numPrograms);
2402 GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
2403 GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program,
2404 GLenum shadertype, GLchar *source, GLint *length);
2406 #endif /* GL_QCOM_extended_get2 */
2408 #ifndef GL_QCOM_perfmon_global_mode
2409 #define GL_QCOM_perfmon_global_mode 1
2410 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
2411 #endif /* GL_QCOM_perfmon_global_mode */
2413 #ifndef GL_QCOM_tiled_rendering
2414 #define GL_QCOM_tiled_rendering 1
2415 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001
2416 #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002
2417 #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004
2418 #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008
2419 #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010
2420 #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020
2421 #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040
2422 #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080
2423 #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100
2424 #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200
2425 #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400
2426 #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800
2427 #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000
2428 #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000
2429 #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000
2430 #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000
2431 #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000
2432 #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000
2433 #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000
2434 #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000
2435 #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000
2436 #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000
2437 #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000
2438 #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000
2439 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000
2440 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000
2441 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000
2442 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000
2443 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000
2444 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000
2445 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000
2446 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000
2447 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y,
2448 GLuint width, GLuint height, GLbitfield preserveMask);
2449 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
2450 #ifdef GL_GLEXT_PROTOTYPES
2451 GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width,
2452 GLuint height, GLbitfield preserveMask);
2453 GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
2455 #endif /* GL_QCOM_tiled_rendering */
2457 #ifndef GL_QCOM_writeonly_rendering
2458 #define GL_QCOM_writeonly_rendering 1
2459 #define GL_WRITEONLY_RENDERING_QCOM 0x8823
2460 #endif /* GL_QCOM_writeonly_rendering */
2462 #ifndef GL_VIV_shader_binary
2463 #define GL_VIV_shader_binary 1
2464 #define GL_SHADER_BINARY_VIV 0x8FC4
2465 #endif /* GL_VIV_shader_binary */
2467 /******************************************************************************/
2468 /* 20140709-joonbum.ko: add definition */
2469 #define GL_UNSIGNED_INT 0x1405
2471 #ifndef GL_IMG_texture_stream
2472 #define GL_TEXTURE_STREAM_IMG 0x8C0D
2473 #define GL_TEXTURE_NUM_STREAM_DEVICES_IMG 0x8C0E
2474 #define GL_TEXTURE_STREAM_DEVICE_WIDTH_IMG 0x8C0F
2475 #define GL_TEXTURE_STREAM_DEVICE_HEIGHT_IMG 0x8EA0
2476 #define GL_TEXTURE_STREAM_DEVICE_FORMAT_IMG 0x8EA1
2477 #define GL_TEXTURE_STREAM_DEVICE_NUM_BUFFERS_IMG 0x8EA2
2478 #define GL_TEXTURE_BINDING_STREAM_IMG 0x9131
2479 #define GL_SAMPLER_STREAM_IMG 0x9132
2480 #endif /* GL_IMG_texture_stream */
2482 #ifndef GL_IMG_texture_stream2
2483 #define GL_IMG_texture_stream2 1
2484 typedef void (GL_APIENTRYP PFNGLTEXBINDSTREAMIMGPROC) (GLint device,
2485 GLint deviceoffset);
2486 typedef const GLubyte *(GL_APIENTRYP PFNGLGETTEXSTREAMDEVICENAMEIMGPROC) (
2488 typedef void (GL_APIENTRYP PFNGLGETTEXSTREAMDEVICEATTRIBUTEIVIMGPROC) (
2489 GLenum target, GLenum pname, GLint *params);
2490 #ifdef GL_GLEXT_PROTOTYPES
2491 GL_APICALL void GL_APIENTRY glTexBindStreamIMG(GLint device,
2492 GLint deviceoffset);
2493 GL_APICALL void GL_APIENTRY glGetTexStreamDeviceAttributeivIMG(GLint device,
2494 GLenum pname, GLint *params);
2495 GL_APICALL const GLubyte *GL_APIENTRY glGetTexStreamDeviceNameIMG(GLint device);
2497 #endif /* GL_IMG_texture_stream2 */
2499 /* 20140930-sw815.ha: SEC proprietary specs */
2500 #ifndef GL_EXT_multisampled_render_to_texture
2501 #define GL_TEXTURE_SAMPLES_EXT 0x9136
2503 /******************************************************************************/