38 #define GL_APIENTRYP GL_APIENTRY*
53 #ifndef GL_KHR_blend_equation_advanced
54 #define GL_KHR_blend_equation_advanced 1
55 #define GL_MULTIPLY_KHR 0x9294
56 #define GL_SCREEN_KHR 0x9295
57 #define GL_OVERLAY_KHR 0x9296
58 #define GL_DARKEN_KHR 0x9297
59 #define GL_LIGHTEN_KHR 0x9298
60 #define GL_COLORDODGE_KHR 0x9299
61 #define GL_COLORBURN_KHR 0x929A
62 #define GL_HARDLIGHT_KHR 0x929B
63 #define GL_SOFTLIGHT_KHR 0x929C
64 #define GL_DIFFERENCE_KHR 0x929E
65 #define GL_EXCLUSION_KHR 0x92A0
66 #define GL_HSL_HUE_KHR 0x92AD
67 #define GL_HSL_SATURATION_KHR 0x92AE
68 #define GL_HSL_COLOR_KHR 0x92AF
69 #define GL_HSL_LUMINOSITY_KHR 0x92B0
71 #ifdef GL_GLEXT_PROTOTYPES
76 #ifndef GL_KHR_blend_equation_advanced_coherent
77 #define GL_KHR_blend_equation_advanced_coherent 1
78 #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
81 #ifndef GL_KHR_context_flush_control
82 #define GL_KHR_context_flush_control 1
83 #define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB
84 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC
88 #define GL_KHR_debug 1
90 #define GL_SAMPLER 0x82E6
91 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242
92 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243
93 #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244
94 #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245
95 #define GL_DEBUG_SOURCE_API_KHR 0x8246
96 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247
97 #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248
98 #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249
99 #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A
100 #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B
101 #define GL_DEBUG_TYPE_ERROR_KHR 0x824C
102 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D
103 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E
104 #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F
105 #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250
106 #define GL_DEBUG_TYPE_OTHER_KHR 0x8251
107 #define GL_DEBUG_TYPE_MARKER_KHR 0x8268
108 #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269
109 #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A
110 #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B
111 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C
112 #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D
113 #define GL_BUFFER_KHR 0x82E0
114 #define GL_SHADER_KHR 0x82E1
115 #define GL_PROGRAM_KHR 0x82E2
116 #define GL_VERTEX_ARRAY_KHR 0x8074
117 #define GL_QUERY_KHR 0x82E3
118 #define GL_PROGRAM_PIPELINE_KHR 0x82E4
119 #define GL_SAMPLER_KHR 0x82E6
120 #define GL_MAX_LABEL_LENGTH_KHR 0x82E8
121 #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143
122 #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144
123 #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145
124 #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146
125 #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147
126 #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148
127 #define GL_DEBUG_OUTPUT_KHR 0x92E0
128 #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002
129 #define GL_STACK_OVERFLOW_KHR 0x0503
130 #define GL_STACK_UNDERFLOW_KHR 0x0504
142 #ifdef GL_GLEXT_PROTOTYPES
157 #ifndef GL_KHR_no_error
158 #define GL_KHR_no_error 1
159 #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
162 #ifndef GL_KHR_parallel_shader_compile
163 #define GL_KHR_parallel_shader_compile 1
164 #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
165 #define GL_COMPLETION_STATUS_KHR 0x91B1
167 #ifdef GL_GLEXT_PROTOTYPES
172 #ifndef GL_KHR_robust_buffer_access_behavior
173 #define GL_KHR_robust_buffer_access_behavior 1
176 #ifndef GL_KHR_robustness
177 #define GL_KHR_robustness 1
178 #define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3
179 #define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252
180 #define GL_GUILTY_CONTEXT_RESET_KHR 0x8253
181 #define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254
182 #define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255
183 #define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256
184 #define GL_NO_RESET_NOTIFICATION_KHR 0x8261
185 #define GL_CONTEXT_LOST_KHR 0x0507
191 #ifdef GL_GLEXT_PROTOTYPES
200 #ifndef GL_KHR_texture_compression_astc_hdr
201 #define GL_KHR_texture_compression_astc_hdr 1
202 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
203 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
204 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
205 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
206 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
207 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
208 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
209 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
210 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
211 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
212 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
213 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
214 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
215 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
216 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
217 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
218 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
219 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
220 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
221 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
222 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
223 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
224 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
225 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
226 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
227 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
228 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
229 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
232 #ifndef GL_KHR_texture_compression_astc_ldr
233 #define GL_KHR_texture_compression_astc_ldr 1
236 #ifndef GL_KHR_texture_compression_astc_sliced_3d
237 #define GL_KHR_texture_compression_astc_sliced_3d 1
240 #ifndef GL_OES_EGL_image
241 #define GL_OES_EGL_image 1
245 #ifdef GL_GLEXT_PROTOTYPES
251 #ifndef GL_OES_EGL_image_external
252 #define GL_OES_EGL_image_external 1
253 #define GL_TEXTURE_EXTERNAL_OES 0x8D65
254 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
255 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
256 #define GL_SAMPLER_EXTERNAL_OES 0x8D66
259 #ifndef GL_OES_EGL_image_external_essl3
260 #define GL_OES_EGL_image_external_essl3 1
263 #ifndef GL_OES_compressed_ETC1_RGB8_sub_texture
264 #define GL_OES_compressed_ETC1_RGB8_sub_texture 1
267 #ifndef GL_OES_compressed_ETC1_RGB8_texture
268 #define GL_OES_compressed_ETC1_RGB8_texture 1
269 #define GL_ETC1_RGB8_OES 0x8D64
272 #ifndef GL_OES_compressed_paletted_texture
273 #define GL_OES_compressed_paletted_texture 1
274 #define GL_PALETTE4_RGB8_OES 0x8B90
275 #define GL_PALETTE4_RGBA8_OES 0x8B91
276 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
277 #define GL_PALETTE4_RGBA4_OES 0x8B93
278 #define GL_PALETTE4_RGB5_A1_OES 0x8B94
279 #define GL_PALETTE8_RGB8_OES 0x8B95
280 #define GL_PALETTE8_RGBA8_OES 0x8B96
281 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
282 #define GL_PALETTE8_RGBA4_OES 0x8B98
283 #define GL_PALETTE8_RGB5_A1_OES 0x8B99
286 #ifndef GL_OES_copy_image
287 #define GL_OES_copy_image 1
288 typedef void (
GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESPROC) (
GLuint srcName,
GLenum srcTarget,
GLint srcLevel,
GLint srcX,
GLint srcY,
GLint srcZ,
GLuint dstName,
GLenum dstTarget,
GLint dstLevel,
GLint dstX,
GLint dstY,
GLint dstZ,
GLsizei srcWidth,
GLsizei srcHeight,
GLsizei srcDepth);
289 #ifdef GL_GLEXT_PROTOTYPES
290 GL_APICALL void GL_APIENTRY glCopyImageSubDataOES (
GLuint srcName,
GLenum srcTarget,
GLint srcLevel,
GLint srcX,
GLint srcY,
GLint srcZ,
GLuint dstName,
GLenum dstTarget,
GLint dstLevel,
GLint dstX,
GLint dstY,
GLint dstZ,
GLsizei srcWidth,
GLsizei srcHeight,
GLsizei srcDepth);
294 #ifndef GL_OES_depth24
295 #define GL_OES_depth24 1
296 #define GL_DEPTH_COMPONENT24_OES 0x81A6
299 #ifndef GL_OES_depth32
300 #define GL_OES_depth32 1
301 #define GL_DEPTH_COMPONENT32_OES 0x81A7
304 #ifndef GL_OES_depth_texture
305 #define GL_OES_depth_texture 1
308 #ifndef GL_OES_draw_buffers_indexed
309 #define GL_OES_draw_buffers_indexed 1
310 #define GL_MIN 0x8007
311 #define GL_MAX 0x8008
320 #ifdef GL_GLEXT_PROTOTYPES
332 #ifndef GL_OES_draw_elements_base_vertex
333 #define GL_OES_draw_elements_base_vertex 1
338 #ifdef GL_GLEXT_PROTOTYPES
346 #ifndef GL_OES_element_index_uint
347 #define GL_OES_element_index_uint 1
350 #ifndef GL_OES_fbo_render_mipmap
351 #define GL_OES_fbo_render_mipmap 1
354 #ifndef GL_OES_fragment_precision_high
355 #define GL_OES_fragment_precision_high 1
358 #ifndef GL_OES_geometry_point_size
359 #define GL_OES_geometry_point_size 1
362 #ifndef GL_OES_geometry_shader
363 #define GL_OES_geometry_shader 1
364 #define GL_GEOMETRY_SHADER_OES 0x8DD9
365 #define GL_GEOMETRY_SHADER_BIT_OES 0x00000004
366 #define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916
367 #define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917
368 #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918
369 #define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F
370 #define GL_LAYER_PROVOKING_VERTEX_OES 0x825E
371 #define GL_LINES_ADJACENCY_OES 0x000A
372 #define GL_LINE_STRIP_ADJACENCY_OES 0x000B
373 #define GL_TRIANGLES_ADJACENCY_OES 0x000C
374 #define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D
375 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF
376 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C
377 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32
378 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123
379 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124
380 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0
381 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1
382 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A
383 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29
384 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF
385 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5
386 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD
387 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7
388 #define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D
389 #define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E
390 #define GL_UNDEFINED_VERTEX_OES 0x8260
391 #define GL_PRIMITIVES_GENERATED_OES 0x8C87
392 #define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312
393 #define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317
394 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8
395 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7
396 #define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309
398 #ifdef GL_GLEXT_PROTOTYPES
403 #ifndef GL_OES_get_program_binary
404 #define GL_OES_get_program_binary 1
405 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
406 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
407 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
410 #ifdef GL_GLEXT_PROTOTYPES
416 #ifndef GL_OES_gpu_shader5
417 #define GL_OES_gpu_shader5 1
420 #ifndef GL_OES_mapbuffer
421 #define GL_OES_mapbuffer 1
422 #define GL_WRITE_ONLY_OES 0x88B9
423 #define GL_BUFFER_ACCESS_OES 0x88BB
424 #define GL_BUFFER_MAPPED_OES 0x88BC
425 #define GL_BUFFER_MAP_POINTER_OES 0x88BD
429 #ifdef GL_GLEXT_PROTOTYPES
436 #ifndef GL_OES_packed_depth_stencil
437 #define GL_OES_packed_depth_stencil 1
438 #define GL_DEPTH_STENCIL_OES 0x84F9
439 #define GL_UNSIGNED_INT_24_8_OES 0x84FA
440 #define GL_DEPTH24_STENCIL8_OES 0x88F0
443 #ifndef GL_OES_primitive_bounding_box
444 #define GL_OES_primitive_bounding_box 1
445 #define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE
447 #ifdef GL_GLEXT_PROTOTYPES
452 #ifndef GL_OES_required_internalformat
453 #define GL_OES_required_internalformat 1
454 #define GL_ALPHA8_OES 0x803C
455 #define GL_DEPTH_COMPONENT16_OES 0x81A5
456 #define GL_LUMINANCE4_ALPHA4_OES 0x8043
457 #define GL_LUMINANCE8_ALPHA8_OES 0x8045
458 #define GL_LUMINANCE8_OES 0x8040
459 #define GL_RGBA4_OES 0x8056
460 #define GL_RGB5_A1_OES 0x8057
461 #define GL_RGB565_OES 0x8D62
462 #define GL_RGB8_OES 0x8051
463 #define GL_RGBA8_OES 0x8058
464 #define GL_RGB10_EXT 0x8052
465 #define GL_RGB10_A2_EXT 0x8059
468 #ifndef GL_OES_rgb8_rgba8
469 #define GL_OES_rgb8_rgba8 1
472 #ifndef GL_OES_sample_shading
473 #define GL_OES_sample_shading 1
474 #define GL_SAMPLE_SHADING_OES 0x8C36
475 #define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37
477 #ifdef GL_GLEXT_PROTOTYPES
482 #ifndef GL_OES_sample_variables
483 #define GL_OES_sample_variables 1
486 #ifndef GL_OES_shader_image_atomic
487 #define GL_OES_shader_image_atomic 1
490 #ifndef GL_OES_shader_io_blocks
491 #define GL_OES_shader_io_blocks 1
494 #ifndef GL_OES_shader_multisample_interpolation
495 #define GL_OES_shader_multisample_interpolation 1
496 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B
497 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C
498 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D
501 #ifndef GL_OES_standard_derivatives
502 #define GL_OES_standard_derivatives 1
503 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
506 #ifndef GL_OES_stencil1
507 #define GL_OES_stencil1 1
508 #define GL_STENCIL_INDEX1_OES 0x8D46
511 #ifndef GL_OES_stencil4
512 #define GL_OES_stencil4 1
513 #define GL_STENCIL_INDEX4_OES 0x8D47
516 #ifndef GL_OES_surfaceless_context
517 #define GL_OES_surfaceless_context 1
518 #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
521 #ifndef GL_OES_tessellation_point_size
522 #define GL_OES_tessellation_point_size 1
525 #ifndef GL_OES_tessellation_shader
526 #define GL_OES_tessellation_shader 1
527 #define GL_PATCHES_OES 0x000E
528 #define GL_PATCH_VERTICES_OES 0x8E72
529 #define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75
530 #define GL_TESS_GEN_MODE_OES 0x8E76
531 #define GL_TESS_GEN_SPACING_OES 0x8E77
532 #define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78
533 #define GL_TESS_GEN_POINT_MODE_OES 0x8E79
534 #define GL_ISOLINES_OES 0x8E7A
535 #define GL_QUADS_OES 0x0007
536 #define GL_FRACTIONAL_ODD_OES 0x8E7B
537 #define GL_FRACTIONAL_EVEN_OES 0x8E7C
538 #define GL_MAX_PATCH_VERTICES_OES 0x8E7D
539 #define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E
540 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F
541 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80
542 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81
543 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82
544 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83
545 #define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84
546 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85
547 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86
548 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89
549 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A
550 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C
551 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D
552 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E
553 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F
554 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD
555 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE
556 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3
557 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4
558 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB
559 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC
560 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8
561 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9
562 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221
563 #define GL_IS_PER_PATCH_OES 0x92E7
564 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307
565 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308
566 #define GL_TESS_CONTROL_SHADER_OES 0x8E88
567 #define GL_TESS_EVALUATION_SHADER_OES 0x8E87
568 #define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008
569 #define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010
571 #ifdef GL_GLEXT_PROTOTYPES
576 #ifndef GL_OES_texture_3D
577 #define GL_OES_texture_3D 1
578 #define GL_TEXTURE_WRAP_R_OES 0x8072
579 #define GL_TEXTURE_3D_OES 0x806F
580 #define GL_TEXTURE_BINDING_3D_OES 0x806A
581 #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
582 #define GL_SAMPLER_3D_OES 0x8B5F
583 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
585 typedef void (
GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLenum type,
const void *
pixels);
588 typedef void (
GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLsizei imageSize,
const void *
data);
590 #ifdef GL_GLEXT_PROTOTYPES
592 GL_APICALL void GL_APIENTRY glTexSubImage3DOES (
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLenum type,
const void *
pixels);
595 GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLsizei imageSize,
const void *
data);
600 #ifndef GL_OES_texture_border_clamp
601 #define GL_OES_texture_border_clamp 1
602 #define GL_TEXTURE_BORDER_COLOR_OES 0x1004
603 #define GL_CLAMP_TO_BORDER_OES 0x812D
612 #ifdef GL_GLEXT_PROTOTYPES
624 #ifndef GL_OES_texture_buffer
625 #define GL_OES_texture_buffer 1
626 #define GL_TEXTURE_BUFFER_OES 0x8C2A
627 #define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A
628 #define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B
629 #define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C
630 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D
631 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F
632 #define GL_SAMPLER_BUFFER_OES 0x8DC2
633 #define GL_INT_SAMPLER_BUFFER_OES 0x8DD0
634 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8
635 #define GL_IMAGE_BUFFER_OES 0x9051
636 #define GL_INT_IMAGE_BUFFER_OES 0x905C
637 #define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067
638 #define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D
639 #define GL_TEXTURE_BUFFER_SIZE_OES 0x919E
642 #ifdef GL_GLEXT_PROTOTYPES
648 #ifndef GL_OES_texture_compression_astc
649 #define GL_OES_texture_compression_astc 1
650 #define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0
651 #define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1
652 #define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2
653 #define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3
654 #define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4
655 #define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5
656 #define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6
657 #define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7
658 #define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8
659 #define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9
660 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0
661 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1
662 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2
663 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3
664 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4
665 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5
666 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6
667 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7
668 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8
669 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9
672 #ifndef GL_OES_texture_cube_map_array
673 #define GL_OES_texture_cube_map_array 1
674 #define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009
675 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A
676 #define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C
677 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D
678 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E
679 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F
680 #define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054
681 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F
682 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A
685 #ifndef GL_OES_texture_float
686 #define GL_OES_texture_float 1
689 #ifndef GL_OES_texture_float_linear
690 #define GL_OES_texture_float_linear 1
693 #ifndef GL_OES_texture_half_float
694 #define GL_OES_texture_half_float 1
695 #define GL_HALF_FLOAT_OES 0x8D61
698 #ifndef GL_OES_texture_half_float_linear
699 #define GL_OES_texture_half_float_linear 1
702 #ifndef GL_OES_texture_npot
703 #define GL_OES_texture_npot 1
706 #ifndef GL_OES_texture_stencil8
707 #define GL_OES_texture_stencil8 1
708 #define GL_STENCIL_INDEX_OES 0x1901
709 #define GL_STENCIL_INDEX8_OES 0x8D48
712 #ifndef GL_OES_texture_storage_multisample_2d_array
713 #define GL_OES_texture_storage_multisample_2d_array 1
714 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102
715 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105
716 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B
717 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C
718 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D
720 #ifdef GL_GLEXT_PROTOTYPES
725 #ifndef GL_OES_texture_view
726 #define GL_OES_texture_view 1
727 #define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB
728 #define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC
729 #define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD
730 #define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE
731 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
733 #ifdef GL_GLEXT_PROTOTYPES
738 #ifndef GL_OES_vertex_array_object
739 #define GL_OES_vertex_array_object 1
740 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
745 #ifdef GL_GLEXT_PROTOTYPES
753 #ifndef GL_OES_vertex_half_float
754 #define GL_OES_vertex_half_float 1
757 #ifndef GL_OES_vertex_type_10_10_10_2
758 #define GL_OES_vertex_type_10_10_10_2 1
759 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
760 #define GL_INT_10_10_10_2_OES 0x8DF7
763 #ifndef GL_OES_viewport_array
764 #define GL_OES_viewport_array 1
765 #define GL_MAX_VIEWPORTS_OES 0x825B
766 #define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C
767 #define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D
768 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F
778 #ifdef GL_GLEXT_PROTOTYPES
791 #ifndef GL_AMD_compressed_3DC_texture
792 #define GL_AMD_compressed_3DC_texture 1
793 #define GL_3DC_X_AMD 0x87F9
794 #define GL_3DC_XY_AMD 0x87FA
797 #ifndef GL_AMD_compressed_ATC_texture
798 #define GL_AMD_compressed_ATC_texture 1
799 #define GL_ATC_RGB_AMD 0x8C92
800 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
801 #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
804 #ifndef GL_AMD_performance_monitor
805 #define GL_AMD_performance_monitor 1
806 #define GL_COUNTER_TYPE_AMD 0x8BC0
807 #define GL_COUNTER_RANGE_AMD 0x8BC1
808 #define GL_UNSIGNED_INT64_AMD 0x8BC2
809 #define GL_PERCENTAGE_AMD 0x8BC3
810 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
811 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
812 #define GL_PERFMON_RESULT_AMD 0x8BC6
824 #ifdef GL_GLEXT_PROTOTYPES
839 #ifndef GL_AMD_program_binary_Z400
840 #define GL_AMD_program_binary_Z400 1
841 #define GL_Z400_BINARY_AMD 0x8740
844 #ifndef GL_ANDROID_extension_pack_es31a
845 #define GL_ANDROID_extension_pack_es31a 1
848 #ifndef GL_ANGLE_depth_texture
849 #define GL_ANGLE_depth_texture 1
852 #ifndef GL_ANGLE_framebuffer_blit
853 #define GL_ANGLE_framebuffer_blit 1
854 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
855 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
856 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
857 #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
859 #ifdef GL_GLEXT_PROTOTYPES
864 #ifndef GL_ANGLE_framebuffer_multisample
865 #define GL_ANGLE_framebuffer_multisample 1
866 #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
867 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
868 #define GL_MAX_SAMPLES_ANGLE 0x8D57
870 #ifdef GL_GLEXT_PROTOTYPES
875 #ifndef GL_ANGLE_instanced_arrays
876 #define GL_ANGLE_instanced_arrays 1
877 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
881 #ifdef GL_GLEXT_PROTOTYPES
888 #ifndef GL_ANGLE_pack_reverse_row_order
889 #define GL_ANGLE_pack_reverse_row_order 1
890 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
893 #ifndef GL_ANGLE_program_binary
894 #define GL_ANGLE_program_binary 1
895 #define GL_PROGRAM_BINARY_ANGLE 0x93A6
898 #ifndef GL_ANGLE_texture_compression_dxt3
899 #define GL_ANGLE_texture_compression_dxt3 1
900 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
903 #ifndef GL_ANGLE_texture_compression_dxt5
904 #define GL_ANGLE_texture_compression_dxt5 1
905 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
908 #ifndef GL_ANGLE_texture_usage
909 #define GL_ANGLE_texture_usage 1
910 #define GL_TEXTURE_USAGE_ANGLE 0x93A2
911 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
914 #ifndef GL_ANGLE_translated_shader_source
915 #define GL_ANGLE_translated_shader_source 1
916 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
918 #ifdef GL_GLEXT_PROTOTYPES
923 #ifndef GL_APPLE_clip_distance
924 #define GL_APPLE_clip_distance 1
925 #define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32
926 #define GL_CLIP_DISTANCE0_APPLE 0x3000
927 #define GL_CLIP_DISTANCE1_APPLE 0x3001
928 #define GL_CLIP_DISTANCE2_APPLE 0x3002
929 #define GL_CLIP_DISTANCE3_APPLE 0x3003
930 #define GL_CLIP_DISTANCE4_APPLE 0x3004
931 #define GL_CLIP_DISTANCE5_APPLE 0x3005
932 #define GL_CLIP_DISTANCE6_APPLE 0x3006
933 #define GL_CLIP_DISTANCE7_APPLE 0x3007
936 #ifndef GL_APPLE_color_buffer_packed_float
937 #define GL_APPLE_color_buffer_packed_float 1
940 #ifndef GL_APPLE_copy_texture_levels
941 #define GL_APPLE_copy_texture_levels 1
943 #ifdef GL_GLEXT_PROTOTYPES
948 #ifndef GL_APPLE_framebuffer_multisample
949 #define GL_APPLE_framebuffer_multisample 1
950 #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
951 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
952 #define GL_MAX_SAMPLES_APPLE 0x8D57
953 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
954 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
955 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
956 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
959 #ifdef GL_GLEXT_PROTOTYPES
965 #ifndef GL_APPLE_rgb_422
966 #define GL_APPLE_rgb_422 1
967 #define GL_RGB_422_APPLE 0x8A1F
968 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
969 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
970 #define GL_RGB_RAW_422_APPLE 0x8A51
973 #ifndef GL_APPLE_sync
974 #define GL_APPLE_sync 1
975 #define GL_SYNC_OBJECT_APPLE 0x8A53
976 #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111
977 #define GL_OBJECT_TYPE_APPLE 0x9112
978 #define GL_SYNC_CONDITION_APPLE 0x9113
979 #define GL_SYNC_STATUS_APPLE 0x9114
980 #define GL_SYNC_FLAGS_APPLE 0x9115
981 #define GL_SYNC_FENCE_APPLE 0x9116
982 #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
983 #define GL_UNSIGNALED_APPLE 0x9118
984 #define GL_SIGNALED_APPLE 0x9119
985 #define GL_ALREADY_SIGNALED_APPLE 0x911A
986 #define GL_TIMEOUT_EXPIRED_APPLE 0x911B
987 #define GL_CONDITION_SATISFIED_APPLE 0x911C
988 #define GL_WAIT_FAILED_APPLE 0x911D
989 #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001
990 #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull
998 #ifdef GL_GLEXT_PROTOTYPES
1009 #ifndef GL_APPLE_texture_format_BGRA8888
1010 #define GL_APPLE_texture_format_BGRA8888 1
1011 #define GL_BGRA_EXT 0x80E1
1012 #define GL_BGRA8_EXT 0x93A1
1015 #ifndef GL_APPLE_texture_max_level
1016 #define GL_APPLE_texture_max_level 1
1017 #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
1020 #ifndef GL_APPLE_texture_packed_float
1021 #define GL_APPLE_texture_packed_float 1
1022 #define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B
1023 #define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E
1024 #define GL_R11F_G11F_B10F_APPLE 0x8C3A
1025 #define GL_RGB9_E5_APPLE 0x8C3D
1028 #ifndef GL_ARM_mali_program_binary
1029 #define GL_ARM_mali_program_binary 1
1030 #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
1033 #ifndef GL_ARM_mali_shader_binary
1034 #define GL_ARM_mali_shader_binary 1
1035 #define GL_MALI_SHADER_BINARY_ARM 0x8F60
1038 #ifndef GL_ARM_rgba8
1039 #define GL_ARM_rgba8 1
1042 #ifndef GL_ARM_shader_framebuffer_fetch
1043 #define GL_ARM_shader_framebuffer_fetch 1
1044 #define GL_FETCH_PER_SAMPLE_ARM 0x8F65
1045 #define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66
1048 #ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil
1049 #define GL_ARM_shader_framebuffer_fetch_depth_stencil 1
1052 #ifndef GL_DMP_program_binary
1053 #define GL_DMP_program_binary 1
1054 #define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251
1055 #define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252
1056 #define GL_DMP_PROGRAM_BINARY_DMP 0x9253
1059 #ifndef GL_DMP_shader_binary
1060 #define GL_DMP_shader_binary 1
1061 #define GL_SHADER_BINARY_DMP 0x9250
1064 #ifndef GL_EXT_EGL_image_array
1065 #define GL_EXT_EGL_image_array 1
1068 #ifndef GL_EXT_YUV_target
1069 #define GL_EXT_YUV_target 1
1070 #define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7
1073 #ifndef GL_EXT_base_instance
1074 #define GL_EXT_base_instance 1
1078 #ifdef GL_GLEXT_PROTOTYPES
1085 #ifndef GL_EXT_blend_func_extended
1086 #define GL_EXT_blend_func_extended 1
1087 #define GL_SRC1_COLOR_EXT 0x88F9
1088 #define GL_SRC1_ALPHA_EXT 0x8589
1089 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
1090 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
1091 #define GL_SRC_ALPHA_SATURATE_EXT 0x0308
1092 #define GL_LOCATION_INDEX_EXT 0x930F
1093 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
1098 #ifdef GL_GLEXT_PROTOTYPES
1106 #ifndef GL_EXT_blend_minmax
1107 #define GL_EXT_blend_minmax 1
1108 #define GL_MIN_EXT 0x8007
1109 #define GL_MAX_EXT 0x8008
1112 #ifndef GL_EXT_buffer_storage
1113 #define GL_EXT_buffer_storage 1
1114 #define GL_MAP_READ_BIT 0x0001
1115 #define GL_MAP_WRITE_BIT 0x0002
1116 #define GL_MAP_PERSISTENT_BIT_EXT 0x0040
1117 #define GL_MAP_COHERENT_BIT_EXT 0x0080
1118 #define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100
1119 #define GL_CLIENT_STORAGE_BIT_EXT 0x0200
1120 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000
1121 #define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F
1122 #define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220
1124 #ifdef GL_GLEXT_PROTOTYPES
1129 #ifndef GL_EXT_clear_texture
1130 #define GL_EXT_clear_texture 1
1132 typedef void (
GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (
GLuint texture,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLenum type,
const void *
data);
1133 #ifdef GL_GLEXT_PROTOTYPES
1135 GL_APICALL void GL_APIENTRY glClearTexSubImageEXT (
GLuint texture,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLenum type,
const void *
data);
1139 #ifndef GL_EXT_clip_control
1140 #define GL_EXT_clip_control 1
1141 #define GL_LOWER_LEFT_EXT 0x8CA1
1142 #define GL_UPPER_LEFT_EXT 0x8CA2
1143 #define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E
1144 #define GL_ZERO_TO_ONE_EXT 0x935F
1145 #define GL_CLIP_ORIGIN_EXT 0x935C
1146 #define GL_CLIP_DEPTH_MODE_EXT 0x935D
1148 #ifdef GL_GLEXT_PROTOTYPES
1153 #ifndef GL_EXT_clip_cull_distance
1154 #define GL_EXT_clip_cull_distance 1
1155 #define GL_MAX_CLIP_DISTANCES_EXT 0x0D32
1156 #define GL_MAX_CULL_DISTANCES_EXT 0x82F9
1157 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA
1158 #define GL_CLIP_DISTANCE0_EXT 0x3000
1159 #define GL_CLIP_DISTANCE1_EXT 0x3001
1160 #define GL_CLIP_DISTANCE2_EXT 0x3002
1161 #define GL_CLIP_DISTANCE3_EXT 0x3003
1162 #define GL_CLIP_DISTANCE4_EXT 0x3004
1163 #define GL_CLIP_DISTANCE5_EXT 0x3005
1164 #define GL_CLIP_DISTANCE6_EXT 0x3006
1165 #define GL_CLIP_DISTANCE7_EXT 0x3007
1168 #ifndef GL_EXT_color_buffer_float
1169 #define GL_EXT_color_buffer_float 1
1172 #ifndef GL_EXT_color_buffer_half_float
1173 #define GL_EXT_color_buffer_half_float 1
1174 #define GL_RGBA16F_EXT 0x881A
1175 #define GL_RGB16F_EXT 0x881B
1176 #define GL_RG16F_EXT 0x822F
1177 #define GL_R16F_EXT 0x822D
1178 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
1179 #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
1182 #ifndef GL_EXT_conservative_depth
1183 #define GL_EXT_conservative_depth 1
1186 #ifndef GL_EXT_copy_image
1187 #define GL_EXT_copy_image 1
1188 typedef void (
GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (
GLuint srcName,
GLenum srcTarget,
GLint srcLevel,
GLint srcX,
GLint srcY,
GLint srcZ,
GLuint dstName,
GLenum dstTarget,
GLint dstLevel,
GLint dstX,
GLint dstY,
GLint dstZ,
GLsizei srcWidth,
GLsizei srcHeight,
GLsizei srcDepth);
1189 #ifdef GL_GLEXT_PROTOTYPES
1190 GL_APICALL void GL_APIENTRY glCopyImageSubDataEXT (
GLuint srcName,
GLenum srcTarget,
GLint srcLevel,
GLint srcX,
GLint srcY,
GLint srcZ,
GLuint dstName,
GLenum dstTarget,
GLint dstLevel,
GLint dstX,
GLint dstY,
GLint dstZ,
GLsizei srcWidth,
GLsizei srcHeight,
GLsizei srcDepth);
1194 #ifndef GL_EXT_debug_label
1195 #define GL_EXT_debug_label 1
1196 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
1197 #define GL_PROGRAM_OBJECT_EXT 0x8B40
1198 #define GL_SHADER_OBJECT_EXT 0x8B48
1199 #define GL_BUFFER_OBJECT_EXT 0x9151
1200 #define GL_QUERY_OBJECT_EXT 0x9153
1201 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
1202 #define GL_TRANSFORM_FEEDBACK 0x8E22
1205 #ifdef GL_GLEXT_PROTOTYPES
1211 #ifndef GL_EXT_debug_marker
1212 #define GL_EXT_debug_marker 1
1216 #ifdef GL_GLEXT_PROTOTYPES
1223 #ifndef GL_EXT_discard_framebuffer
1224 #define GL_EXT_discard_framebuffer 1
1225 #define GL_COLOR_EXT 0x1800
1226 #define GL_DEPTH_EXT 0x1801
1227 #define GL_STENCIL_EXT 0x1802
1229 #ifdef GL_GLEXT_PROTOTYPES
1234 #ifndef GL_EXT_disjoint_timer_query
1235 #define GL_EXT_disjoint_timer_query 1
1236 #define GL_QUERY_COUNTER_BITS_EXT 0x8864
1237 #define GL_CURRENT_QUERY_EXT 0x8865
1238 #define GL_QUERY_RESULT_EXT 0x8866
1239 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
1240 #define GL_TIME_ELAPSED_EXT 0x88BF
1241 #define GL_TIMESTAMP_EXT 0x8E28
1242 #define GL_GPU_DISJOINT_EXT 0x8FBB
1254 #ifdef GL_GLEXT_PROTOTYPES
1269 #ifndef GL_EXT_draw_buffers
1270 #define GL_EXT_draw_buffers 1
1271 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
1272 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824
1273 #define GL_DRAW_BUFFER0_EXT 0x8825
1274 #define GL_DRAW_BUFFER1_EXT 0x8826
1275 #define GL_DRAW_BUFFER2_EXT 0x8827
1276 #define GL_DRAW_BUFFER3_EXT 0x8828
1277 #define GL_DRAW_BUFFER4_EXT 0x8829
1278 #define GL_DRAW_BUFFER5_EXT 0x882A
1279 #define GL_DRAW_BUFFER6_EXT 0x882B
1280 #define GL_DRAW_BUFFER7_EXT 0x882C
1281 #define GL_DRAW_BUFFER8_EXT 0x882D
1282 #define GL_DRAW_BUFFER9_EXT 0x882E
1283 #define GL_DRAW_BUFFER10_EXT 0x882F
1284 #define GL_DRAW_BUFFER11_EXT 0x8830
1285 #define GL_DRAW_BUFFER12_EXT 0x8831
1286 #define GL_DRAW_BUFFER13_EXT 0x8832
1287 #define GL_DRAW_BUFFER14_EXT 0x8833
1288 #define GL_DRAW_BUFFER15_EXT 0x8834
1289 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
1290 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
1291 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
1292 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
1293 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
1294 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
1295 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
1296 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
1297 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
1298 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
1299 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
1300 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
1301 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
1302 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
1303 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
1304 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
1306 #ifdef GL_GLEXT_PROTOTYPES
1311 #ifndef GL_EXT_draw_buffers_indexed
1312 #define GL_EXT_draw_buffers_indexed 1
1321 #ifdef GL_GLEXT_PROTOTYPES
1333 #ifndef GL_EXT_draw_elements_base_vertex
1334 #define GL_EXT_draw_elements_base_vertex 1
1338 #ifdef GL_GLEXT_PROTOTYPES
1345 #ifndef GL_EXT_draw_instanced
1346 #define GL_EXT_draw_instanced 1
1349 #ifdef GL_GLEXT_PROTOTYPES
1355 #ifndef GL_EXT_draw_transform_feedback
1356 #define GL_EXT_draw_transform_feedback 1
1359 #ifdef GL_GLEXT_PROTOTYPES
1365 #ifndef GL_EXT_external_buffer
1366 #define GL_EXT_external_buffer 1
1370 #ifdef GL_GLEXT_PROTOTYPES
1376 #ifndef GL_EXT_float_blend
1377 #define GL_EXT_float_blend 1
1380 #ifndef GL_EXT_geometry_point_size
1381 #define GL_EXT_geometry_point_size 1
1384 #ifndef GL_EXT_geometry_shader
1385 #define GL_EXT_geometry_shader 1
1386 #define GL_GEOMETRY_SHADER_EXT 0x8DD9
1387 #define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004
1388 #define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916
1389 #define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917
1390 #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918
1391 #define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F
1392 #define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E
1393 #define GL_LINES_ADJACENCY_EXT 0x000A
1394 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
1395 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
1396 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
1397 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
1398 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C
1399 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32
1400 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123
1401 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124
1402 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
1403 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
1404 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A
1405 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
1406 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF
1407 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5
1408 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD
1409 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7
1410 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
1411 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
1412 #define GL_UNDEFINED_VERTEX_EXT 0x8260
1413 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
1414 #define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312
1415 #define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317
1416 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
1417 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
1418 #define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309
1420 #ifdef GL_GLEXT_PROTOTYPES
1425 #ifndef GL_EXT_gpu_shader5
1426 #define GL_EXT_gpu_shader5 1
1429 #ifndef GL_EXT_instanced_arrays
1430 #define GL_EXT_instanced_arrays 1
1431 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE
1433 #ifdef GL_GLEXT_PROTOTYPES
1438 #ifndef GL_EXT_map_buffer_range
1439 #define GL_EXT_map_buffer_range 1
1440 #define GL_MAP_READ_BIT_EXT 0x0001
1441 #define GL_MAP_WRITE_BIT_EXT 0x0002
1442 #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
1443 #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
1444 #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
1445 #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
1448 #ifdef GL_GLEXT_PROTOTYPES
1454 #ifndef GL_EXT_memory_object
1455 #define GL_EXT_memory_object 1
1456 #define GL_TEXTURE_TILING_EXT 0x9580
1457 #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
1458 #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
1459 #define GL_NUM_TILING_TYPES_EXT 0x9582
1460 #define GL_TILING_TYPES_EXT 0x9583
1461 #define GL_OPTIMAL_TILING_EXT 0x9584
1462 #define GL_LINEAR_TILING_EXT 0x9585
1463 #define GL_NUM_DEVICE_UUIDS_EXT 0x9596
1464 #define GL_DEVICE_UUID_EXT 0x9597
1465 #define GL_DRIVER_UUID_EXT 0x9598
1466 #define GL_UUID_SIZE_EXT 16
1484 #ifdef GL_GLEXT_PROTOTYPES
1505 #ifndef GL_EXT_memory_object_fd
1506 #define GL_EXT_memory_object_fd 1
1507 #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
1509 #ifdef GL_GLEXT_PROTOTYPES
1514 #ifndef GL_EXT_memory_object_win32
1515 #define GL_EXT_memory_object_win32 1
1516 #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
1517 #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
1518 #define GL_DEVICE_LUID_EXT 0x9599
1519 #define GL_DEVICE_NODE_MASK_EXT 0x959A
1520 #define GL_LUID_SIZE_EXT 8
1521 #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
1522 #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
1523 #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
1524 #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
1527 #ifdef GL_GLEXT_PROTOTYPES
1533 #ifndef GL_EXT_multi_draw_arrays
1534 #define GL_EXT_multi_draw_arrays 1
1537 #ifdef GL_GLEXT_PROTOTYPES
1543 #ifndef GL_EXT_multi_draw_indirect
1544 #define GL_EXT_multi_draw_indirect 1
1547 #ifdef GL_GLEXT_PROTOTYPES
1553 #ifndef GL_EXT_multisampled_compatibility
1554 #define GL_EXT_multisampled_compatibility 1
1555 #define GL_MULTISAMPLE_EXT 0x809D
1556 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1559 #ifndef GL_EXT_multisampled_render_to_texture
1560 #define GL_EXT_multisampled_render_to_texture 1
1561 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
1562 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
1563 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
1564 #define GL_MAX_SAMPLES_EXT 0x8D57
1567 #ifdef GL_GLEXT_PROTOTYPES
1573 #ifndef GL_EXT_multiview_draw_buffers
1574 #define GL_EXT_multiview_draw_buffers 1
1575 #define GL_COLOR_ATTACHMENT_EXT 0x90F0
1576 #define GL_MULTIVIEW_EXT 0x90F1
1577 #define GL_DRAW_BUFFER_EXT 0x0C01
1578 #define GL_READ_BUFFER_EXT 0x0C02
1579 #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
1583 #ifdef GL_GLEXT_PROTOTYPES
1590 #ifndef GL_EXT_occlusion_query_boolean
1591 #define GL_EXT_occlusion_query_boolean 1
1592 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
1593 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
1596 #ifndef GL_EXT_polygon_offset_clamp
1597 #define GL_EXT_polygon_offset_clamp 1
1598 #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
1600 #ifdef GL_GLEXT_PROTOTYPES
1605 #ifndef GL_EXT_post_depth_coverage
1606 #define GL_EXT_post_depth_coverage 1
1609 #ifndef GL_EXT_primitive_bounding_box
1610 #define GL_EXT_primitive_bounding_box 1
1611 #define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE
1613 #ifdef GL_GLEXT_PROTOTYPES
1618 #ifndef GL_EXT_protected_textures
1619 #define GL_EXT_protected_textures 1
1620 #define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010
1621 #define GL_TEXTURE_PROTECTED_EXT 0x8BFA
1624 #ifndef GL_EXT_pvrtc_sRGB
1625 #define GL_EXT_pvrtc_sRGB 1
1626 #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54
1627 #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55
1628 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56
1629 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57
1630 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0
1631 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1
1634 #ifndef GL_EXT_raster_multisample
1635 #define GL_EXT_raster_multisample 1
1636 #define GL_RASTER_MULTISAMPLE_EXT 0x9327
1637 #define GL_RASTER_SAMPLES_EXT 0x9328
1638 #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
1639 #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
1640 #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
1641 #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
1643 #ifdef GL_GLEXT_PROTOTYPES
1648 #ifndef GL_EXT_read_format_bgra
1649 #define GL_EXT_read_format_bgra 1
1650 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
1651 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
1654 #ifndef GL_EXT_render_snorm
1655 #define GL_EXT_render_snorm 1
1656 #define GL_R8_SNORM 0x8F94
1657 #define GL_RG8_SNORM 0x8F95
1658 #define GL_RGBA8_SNORM 0x8F97
1659 #define GL_R16_SNORM_EXT 0x8F98
1660 #define GL_RG16_SNORM_EXT 0x8F99
1661 #define GL_RGBA16_SNORM_EXT 0x8F9B
1664 #ifndef GL_EXT_robustness
1665 #define GL_EXT_robustness 1
1666 #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
1667 #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
1668 #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
1669 #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
1670 #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
1671 #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
1672 #define GL_NO_RESET_NOTIFICATION_EXT 0x8261
1677 #ifdef GL_GLEXT_PROTOTYPES
1686 #define GL_EXT_sRGB 1
1687 #define GL_SRGB_EXT 0x8C40
1688 #define GL_SRGB_ALPHA_EXT 0x8C42
1689 #define GL_SRGB8_ALPHA8_EXT 0x8C43
1690 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
1693 #ifndef GL_EXT_sRGB_write_control
1694 #define GL_EXT_sRGB_write_control 1
1695 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
1698 #ifndef GL_EXT_semaphore
1699 #define GL_EXT_semaphore 1
1700 #define GL_LAYOUT_GENERAL_EXT 0x958D
1701 #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
1702 #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
1703 #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
1704 #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
1705 #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
1706 #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
1714 #ifdef GL_GLEXT_PROTOTYPES
1725 #ifndef GL_EXT_semaphore_fd
1726 #define GL_EXT_semaphore_fd 1
1728 #ifdef GL_GLEXT_PROTOTYPES
1733 #ifndef GL_EXT_semaphore_win32
1734 #define GL_EXT_semaphore_win32 1
1735 #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
1736 #define GL_D3D12_FENCE_VALUE_EXT 0x9595
1739 #ifdef GL_GLEXT_PROTOTYPES
1745 #ifndef GL_EXT_separate_shader_objects
1746 #define GL_EXT_separate_shader_objects 1
1747 #define GL_ACTIVE_PROGRAM_EXT 0x8259
1748 #define GL_VERTEX_SHADER_BIT_EXT 0x00000001
1749 #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
1750 #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF
1751 #define GL_PROGRAM_SEPARABLE_EXT 0x8258
1752 #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A
1797 #ifdef GL_GLEXT_PROTOTYPES
1845 #ifndef GL_EXT_shader_framebuffer_fetch
1846 #define GL_EXT_shader_framebuffer_fetch 1
1847 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
1850 #ifndef GL_EXT_shader_group_vote
1851 #define GL_EXT_shader_group_vote 1
1854 #ifndef GL_EXT_shader_implicit_conversions
1855 #define GL_EXT_shader_implicit_conversions 1
1858 #ifndef GL_EXT_shader_integer_mix
1859 #define GL_EXT_shader_integer_mix 1
1862 #ifndef GL_EXT_shader_io_blocks
1863 #define GL_EXT_shader_io_blocks 1
1866 #ifndef GL_EXT_shader_non_constant_global_initializers
1867 #define GL_EXT_shader_non_constant_global_initializers 1
1870 #ifndef GL_EXT_shader_pixel_local_storage
1871 #define GL_EXT_shader_pixel_local_storage 1
1872 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63
1873 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67
1874 #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64
1877 #ifndef GL_EXT_shader_pixel_local_storage2
1878 #define GL_EXT_shader_pixel_local_storage2 1
1879 #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650
1880 #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651
1881 #define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652
1885 #ifdef GL_GLEXT_PROTOTYPES
1892 #ifndef GL_EXT_shader_texture_lod
1893 #define GL_EXT_shader_texture_lod 1
1896 #ifndef GL_EXT_shadow_samplers
1897 #define GL_EXT_shadow_samplers 1
1898 #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
1899 #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
1900 #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
1901 #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
1904 #ifndef GL_EXT_sparse_texture
1905 #define GL_EXT_sparse_texture 1
1906 #define GL_TEXTURE_SPARSE_EXT 0x91A6
1907 #define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7
1908 #define GL_NUM_SPARSE_LEVELS_EXT 0x91AA
1909 #define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8
1910 #define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195
1911 #define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196
1912 #define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197
1913 #define GL_TEXTURE_2D_ARRAY 0x8C1A
1914 #define GL_TEXTURE_3D 0x806F
1915 #define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198
1916 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199
1917 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A
1918 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9
1920 #ifdef GL_GLEXT_PROTOTYPES
1925 #ifndef GL_EXT_sparse_texture2
1926 #define GL_EXT_sparse_texture2 1
1929 #ifndef GL_EXT_tessellation_point_size
1930 #define GL_EXT_tessellation_point_size 1
1933 #ifndef GL_EXT_tessellation_shader
1934 #define GL_EXT_tessellation_shader 1
1935 #define GL_PATCHES_EXT 0x000E
1936 #define GL_PATCH_VERTICES_EXT 0x8E72
1937 #define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75
1938 #define GL_TESS_GEN_MODE_EXT 0x8E76
1939 #define GL_TESS_GEN_SPACING_EXT 0x8E77
1940 #define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78
1941 #define GL_TESS_GEN_POINT_MODE_EXT 0x8E79
1942 #define GL_ISOLINES_EXT 0x8E7A
1943 #define GL_QUADS_EXT 0x0007
1944 #define GL_FRACTIONAL_ODD_EXT 0x8E7B
1945 #define GL_FRACTIONAL_EVEN_EXT 0x8E7C
1946 #define GL_MAX_PATCH_VERTICES_EXT 0x8E7D
1947 #define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E
1948 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F
1949 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80
1950 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81
1951 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82
1952 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83
1953 #define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84
1954 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85
1955 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86
1956 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89
1957 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A
1958 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C
1959 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D
1960 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E
1961 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F
1962 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD
1963 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE
1964 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3
1965 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4
1966 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB
1967 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC
1968 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8
1969 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9
1970 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
1971 #define GL_IS_PER_PATCH_EXT 0x92E7
1972 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307
1973 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308
1974 #define GL_TESS_CONTROL_SHADER_EXT 0x8E88
1975 #define GL_TESS_EVALUATION_SHADER_EXT 0x8E87
1976 #define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008
1977 #define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010
1979 #ifdef GL_GLEXT_PROTOTYPES
1984 #ifndef GL_EXT_texture_border_clamp
1985 #define GL_EXT_texture_border_clamp 1
1986 #define GL_TEXTURE_BORDER_COLOR_EXT 0x1004
1987 #define GL_CLAMP_TO_BORDER_EXT 0x812D
1996 #ifdef GL_GLEXT_PROTOTYPES
2008 #ifndef GL_EXT_texture_buffer
2009 #define GL_EXT_texture_buffer 1
2010 #define GL_TEXTURE_BUFFER_EXT 0x8C2A
2011 #define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A
2012 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
2013 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
2014 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
2015 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F
2016 #define GL_SAMPLER_BUFFER_EXT 0x8DC2
2017 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
2018 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
2019 #define GL_IMAGE_BUFFER_EXT 0x9051
2020 #define GL_INT_IMAGE_BUFFER_EXT 0x905C
2021 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
2022 #define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D
2023 #define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E
2026 #ifdef GL_GLEXT_PROTOTYPES
2032 #ifndef GL_EXT_texture_compression_astc_decode_mode
2033 #define GL_EXT_texture_compression_astc_decode_mode 1
2034 #define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69
2037 #ifndef GL_EXT_texture_compression_bptc
2038 #define GL_EXT_texture_compression_bptc 1
2039 #define GL_COMPRESSED_RGBA_BPTC_UNORM_EXT 0x8E8C
2040 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT 0x8E8D
2041 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT 0x8E8E
2042 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT 0x8E8F
2045 #ifndef GL_EXT_texture_compression_dxt1
2046 #define GL_EXT_texture_compression_dxt1 1
2047 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
2048 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
2051 #ifndef GL_EXT_texture_compression_rgtc
2052 #define GL_EXT_texture_compression_rgtc 1
2053 #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
2054 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
2055 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
2056 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
2059 #ifndef GL_EXT_texture_compression_s3tc
2060 #define GL_EXT_texture_compression_s3tc 1
2061 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
2062 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
2065 #ifndef GL_EXT_texture_compression_s3tc_srgb
2066 #define GL_EXT_texture_compression_s3tc_srgb 1
2067 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
2068 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
2069 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
2070 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
2073 #ifndef GL_EXT_texture_cube_map_array
2074 #define GL_EXT_texture_cube_map_array 1
2075 #define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009
2076 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A
2077 #define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C
2078 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D
2079 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E
2080 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F
2081 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
2082 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
2083 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
2086 #ifndef GL_EXT_texture_filter_anisotropic
2087 #define GL_EXT_texture_filter_anisotropic 1
2088 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
2089 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
2092 #ifndef GL_EXT_texture_filter_minmax
2093 #define GL_EXT_texture_filter_minmax 1
2096 #ifndef GL_EXT_texture_format_BGRA8888
2097 #define GL_EXT_texture_format_BGRA8888 1
2100 #ifndef GL_EXT_texture_norm16
2101 #define GL_EXT_texture_norm16 1
2102 #define GL_R16_EXT 0x822A
2103 #define GL_RG16_EXT 0x822C
2104 #define GL_RGBA16_EXT 0x805B
2105 #define GL_RGB16_EXT 0x8054
2106 #define GL_RGB16_SNORM_EXT 0x8F9A
2109 #ifndef GL_EXT_texture_rg
2110 #define GL_EXT_texture_rg 1
2111 #define GL_RED_EXT 0x1903
2112 #define GL_RG_EXT 0x8227
2113 #define GL_R8_EXT 0x8229
2114 #define GL_RG8_EXT 0x822B
2117 #ifndef GL_EXT_texture_sRGB_R8
2118 #define GL_EXT_texture_sRGB_R8 1
2119 #define GL_SR8_EXT 0x8FBD
2122 #ifndef GL_EXT_texture_sRGB_RG8
2123 #define GL_EXT_texture_sRGB_RG8 1
2124 #define GL_SRG8_EXT 0x8FBE
2127 #ifndef GL_EXT_texture_sRGB_decode
2128 #define GL_EXT_texture_sRGB_decode 1
2129 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
2130 #define GL_DECODE_EXT 0x8A49
2131 #define GL_SKIP_DECODE_EXT 0x8A4A
2134 #ifndef GL_EXT_texture_storage
2135 #define GL_EXT_texture_storage 1
2136 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
2137 #define GL_ALPHA8_EXT 0x803C
2138 #define GL_LUMINANCE8_EXT 0x8040
2139 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
2140 #define GL_RGBA32F_EXT 0x8814
2141 #define GL_RGB32F_EXT 0x8815
2142 #define GL_ALPHA32F_EXT 0x8816
2143 #define GL_LUMINANCE32F_EXT 0x8818
2144 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
2145 #define GL_ALPHA16F_EXT 0x881C
2146 #define GL_LUMINANCE16F_EXT 0x881E
2147 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
2148 #define GL_R32F_EXT 0x822E
2149 #define GL_RG32F_EXT 0x8230
2156 #ifdef GL_GLEXT_PROTOTYPES
2166 #ifndef GL_EXT_texture_type_2_10_10_10_REV
2167 #define GL_EXT_texture_type_2_10_10_10_REV 1
2168 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
2171 #ifndef GL_EXT_texture_view
2172 #define GL_EXT_texture_view 1
2173 #define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB
2174 #define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC
2175 #define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD
2176 #define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE
2178 #ifdef GL_GLEXT_PROTOTYPES
2183 #ifndef GL_EXT_unpack_subimage
2184 #define GL_EXT_unpack_subimage 1
2185 #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2
2186 #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3
2187 #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4
2190 #ifndef GL_EXT_win32_keyed_mutex
2191 #define GL_EXT_win32_keyed_mutex 1
2194 #ifdef GL_GLEXT_PROTOTYPES
2200 #ifndef GL_EXT_window_rectangles
2201 #define GL_EXT_window_rectangles 1
2202 #define GL_INCLUSIVE_EXT 0x8F10
2203 #define GL_EXCLUSIVE_EXT 0x8F11
2204 #define GL_WINDOW_RECTANGLE_EXT 0x8F12
2205 #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
2206 #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
2207 #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
2209 #ifdef GL_GLEXT_PROTOTYPES
2214 #ifndef GL_FJ_shader_binary_GCCSO
2215 #define GL_FJ_shader_binary_GCCSO 1
2216 #define GL_GCCSO_SHADER_BINARY_FJ 0x9260
2219 #ifndef GL_IMG_bindless_texture
2220 #define GL_IMG_bindless_texture 1
2227 #ifdef GL_GLEXT_PROTOTYPES
2237 #ifndef GL_IMG_framebuffer_downsample
2238 #define GL_IMG_framebuffer_downsample 1
2239 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C
2240 #define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D
2241 #define GL_DOWNSAMPLE_SCALES_IMG 0x913E
2242 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F
2245 #ifdef GL_GLEXT_PROTOTYPES
2251 #ifndef GL_IMG_multisampled_render_to_texture
2252 #define GL_IMG_multisampled_render_to_texture 1
2253 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
2254 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
2255 #define GL_MAX_SAMPLES_IMG 0x9135
2256 #define GL_TEXTURE_SAMPLES_IMG 0x9136
2259 #ifdef GL_GLEXT_PROTOTYPES
2265 #ifndef GL_IMG_program_binary
2266 #define GL_IMG_program_binary 1
2267 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130
2270 #ifndef GL_IMG_read_format
2271 #define GL_IMG_read_format 1
2272 #define GL_BGRA_IMG 0x80E1
2273 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
2276 #ifndef GL_IMG_shader_binary
2277 #define GL_IMG_shader_binary 1
2278 #define GL_SGX_BINARY_IMG 0x8C0A
2281 #ifndef GL_IMG_texture_compression_pvrtc
2282 #define GL_IMG_texture_compression_pvrtc 1
2283 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
2284 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
2285 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
2286 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
2289 #ifndef GL_IMG_texture_compression_pvrtc2
2290 #define GL_IMG_texture_compression_pvrtc2 1
2291 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
2292 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
2295 #ifndef GL_IMG_texture_filter_cubic
2296 #define GL_IMG_texture_filter_cubic 1
2297 #define GL_CUBIC_IMG 0x9139
2298 #define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A
2299 #define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B
2302 #ifndef GL_INTEL_conservative_rasterization
2303 #define GL_INTEL_conservative_rasterization 1
2304 #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
2307 #ifndef GL_INTEL_framebuffer_CMAA
2308 #define GL_INTEL_framebuffer_CMAA 1
2310 #ifdef GL_GLEXT_PROTOTYPES
2315 #ifndef GL_INTEL_performance_query
2316 #define GL_INTEL_performance_query 1
2317 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
2318 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
2319 #define GL_PERFQUERY_WAIT_INTEL 0x83FB
2320 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
2321 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
2322 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
2323 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
2324 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
2325 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
2326 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
2327 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
2328 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
2329 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
2330 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
2331 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
2332 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
2333 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
2334 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
2335 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
2336 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
2343 typedef void (
GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (
GLuint queryId,
GLuint counterId,
GLuint counterNameLength,
GLchar *
counterName,
GLuint counterDescLength,
GLchar *
counterDesc,
GLuint *
counterOffset,
GLuint *
counterDataSize,
GLuint *
counterTypeEnum,
GLuint *
counterDataTypeEnum,
GLuint64 *
rawCounterMaxValue);
2347 #ifdef GL_GLEXT_PROTOTYPES
2354 GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (
GLuint queryId,
GLuint counterId,
GLuint counterNameLength,
GLchar *
counterName,
GLuint counterDescLength,
GLchar *
counterDesc,
GLuint *
counterOffset,
GLuint *
counterDataSize,
GLuint *
counterTypeEnum,
GLuint *
counterDataTypeEnum,
GLuint64 *
rawCounterMaxValue);
2361 #ifndef GL_MESA_shader_integer_functions
2362 #define GL_MESA_shader_integer_functions 1
2365 #ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
2366 #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
2369 #ifndef GL_NV_bindless_texture
2370 #define GL_NV_bindless_texture 1
2384 #ifdef GL_GLEXT_PROTOTYPES
2401 #ifndef GL_NV_blend_equation_advanced
2402 #define GL_NV_blend_equation_advanced 1
2403 #define GL_BLEND_OVERLAP_NV 0x9281
2404 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
2405 #define GL_BLUE_NV 0x1905
2406 #define GL_COLORBURN_NV 0x929A
2407 #define GL_COLORDODGE_NV 0x9299
2408 #define GL_CONJOINT_NV 0x9284
2409 #define GL_CONTRAST_NV 0x92A1
2410 #define GL_DARKEN_NV 0x9297
2411 #define GL_DIFFERENCE_NV 0x929E
2412 #define GL_DISJOINT_NV 0x9283
2413 #define GL_DST_ATOP_NV 0x928F
2414 #define GL_DST_IN_NV 0x928B
2415 #define GL_DST_NV 0x9287
2416 #define GL_DST_OUT_NV 0x928D
2417 #define GL_DST_OVER_NV 0x9289
2418 #define GL_EXCLUSION_NV 0x92A0
2419 #define GL_GREEN_NV 0x1904
2420 #define GL_HARDLIGHT_NV 0x929B
2421 #define GL_HARDMIX_NV 0x92A9
2422 #define GL_HSL_COLOR_NV 0x92AF
2423 #define GL_HSL_HUE_NV 0x92AD
2424 #define GL_HSL_LUMINOSITY_NV 0x92B0
2425 #define GL_HSL_SATURATION_NV 0x92AE
2426 #define GL_INVERT_OVG_NV 0x92B4
2427 #define GL_INVERT_RGB_NV 0x92A3
2428 #define GL_LIGHTEN_NV 0x9298
2429 #define GL_LINEARBURN_NV 0x92A5
2430 #define GL_LINEARDODGE_NV 0x92A4
2431 #define GL_LINEARLIGHT_NV 0x92A7
2432 #define GL_MINUS_CLAMPED_NV 0x92B3
2433 #define GL_MINUS_NV 0x929F
2434 #define GL_MULTIPLY_NV 0x9294
2435 #define GL_OVERLAY_NV 0x9296
2436 #define GL_PINLIGHT_NV 0x92A8
2437 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
2438 #define GL_PLUS_CLAMPED_NV 0x92B1
2439 #define GL_PLUS_DARKER_NV 0x9292
2440 #define GL_PLUS_NV 0x9291
2441 #define GL_RED_NV 0x1903
2442 #define GL_SCREEN_NV 0x9295
2443 #define GL_SOFTLIGHT_NV 0x929C
2444 #define GL_SRC_ATOP_NV 0x928E
2445 #define GL_SRC_IN_NV 0x928A
2446 #define GL_SRC_NV 0x9286
2447 #define GL_SRC_OUT_NV 0x928C
2448 #define GL_SRC_OVER_NV 0x9288
2449 #define GL_UNCORRELATED_NV 0x9282
2450 #define GL_VIVIDLIGHT_NV 0x92A6
2451 #define GL_XOR_NV 0x1506
2454 #ifdef GL_GLEXT_PROTOTYPES
2460 #ifndef GL_NV_blend_equation_advanced_coherent
2461 #define GL_NV_blend_equation_advanced_coherent 1
2462 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
2465 #ifndef GL_NV_blend_minmax_factor
2466 #define GL_NV_blend_minmax_factor 1
2467 #define GL_FACTOR_MIN_AMD 0x901C
2468 #define GL_FACTOR_MAX_AMD 0x901D
2471 #ifndef GL_NV_conditional_render
2472 #define GL_NV_conditional_render 1
2473 #define GL_QUERY_WAIT_NV 0x8E13
2474 #define GL_QUERY_NO_WAIT_NV 0x8E14
2475 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
2476 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
2479 #ifdef GL_GLEXT_PROTOTYPES
2485 #ifndef GL_NV_conservative_raster
2486 #define GL_NV_conservative_raster 1
2487 #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
2488 #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
2489 #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
2490 #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
2492 #ifdef GL_GLEXT_PROTOTYPES
2497 #ifndef GL_NV_conservative_raster_pre_snap_triangles
2498 #define GL_NV_conservative_raster_pre_snap_triangles 1
2499 #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
2500 #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
2501 #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
2503 #ifdef GL_GLEXT_PROTOTYPES
2508 #ifndef GL_NV_copy_buffer
2509 #define GL_NV_copy_buffer 1
2510 #define GL_COPY_READ_BUFFER_NV 0x8F36
2511 #define GL_COPY_WRITE_BUFFER_NV 0x8F37
2513 #ifdef GL_GLEXT_PROTOTYPES
2518 #ifndef GL_NV_coverage_sample
2519 #define GL_NV_coverage_sample 1
2520 #define GL_COVERAGE_COMPONENT_NV 0x8ED0
2521 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1
2522 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
2523 #define GL_COVERAGE_BUFFERS_NV 0x8ED3
2524 #define GL_COVERAGE_SAMPLES_NV 0x8ED4
2525 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
2526 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
2527 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
2528 #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000
2531 #ifdef GL_GLEXT_PROTOTYPES
2537 #ifndef GL_NV_depth_nonlinear
2538 #define GL_NV_depth_nonlinear 1
2539 #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
2542 #ifndef GL_NV_draw_buffers
2543 #define GL_NV_draw_buffers 1
2544 #define GL_MAX_DRAW_BUFFERS_NV 0x8824
2545 #define GL_DRAW_BUFFER0_NV 0x8825
2546 #define GL_DRAW_BUFFER1_NV 0x8826
2547 #define GL_DRAW_BUFFER2_NV 0x8827
2548 #define GL_DRAW_BUFFER3_NV 0x8828
2549 #define GL_DRAW_BUFFER4_NV 0x8829
2550 #define GL_DRAW_BUFFER5_NV 0x882A
2551 #define GL_DRAW_BUFFER6_NV 0x882B
2552 #define GL_DRAW_BUFFER7_NV 0x882C
2553 #define GL_DRAW_BUFFER8_NV 0x882D
2554 #define GL_DRAW_BUFFER9_NV 0x882E
2555 #define GL_DRAW_BUFFER10_NV 0x882F
2556 #define GL_DRAW_BUFFER11_NV 0x8830
2557 #define GL_DRAW_BUFFER12_NV 0x8831
2558 #define GL_DRAW_BUFFER13_NV 0x8832
2559 #define GL_DRAW_BUFFER14_NV 0x8833
2560 #define GL_DRAW_BUFFER15_NV 0x8834
2561 #define GL_COLOR_ATTACHMENT0_NV 0x8CE0
2562 #define GL_COLOR_ATTACHMENT1_NV 0x8CE1
2563 #define GL_COLOR_ATTACHMENT2_NV 0x8CE2
2564 #define GL_COLOR_ATTACHMENT3_NV 0x8CE3
2565 #define GL_COLOR_ATTACHMENT4_NV 0x8CE4
2566 #define GL_COLOR_ATTACHMENT5_NV 0x8CE5
2567 #define GL_COLOR_ATTACHMENT6_NV 0x8CE6
2568 #define GL_COLOR_ATTACHMENT7_NV 0x8CE7
2569 #define GL_COLOR_ATTACHMENT8_NV 0x8CE8
2570 #define GL_COLOR_ATTACHMENT9_NV 0x8CE9
2571 #define GL_COLOR_ATTACHMENT10_NV 0x8CEA
2572 #define GL_COLOR_ATTACHMENT11_NV 0x8CEB
2573 #define GL_COLOR_ATTACHMENT12_NV 0x8CEC
2574 #define GL_COLOR_ATTACHMENT13_NV 0x8CED
2575 #define GL_COLOR_ATTACHMENT14_NV 0x8CEE
2576 #define GL_COLOR_ATTACHMENT15_NV 0x8CEF
2578 #ifdef GL_GLEXT_PROTOTYPES
2583 #ifndef GL_NV_draw_instanced
2584 #define GL_NV_draw_instanced 1
2587 #ifdef GL_GLEXT_PROTOTYPES
2593 #ifndef GL_NV_draw_vulkan_image
2594 #define GL_NV_draw_vulkan_image 1
2596 typedef void (
GL_APIENTRYP PFNGLDRAWVKIMAGENVPROC) (
GLuint64 vkImage,
GLuint sampler,
GLfloat x0,
GLfloat y0,
GLfloat x1,
GLfloat y1,
GLfloat z,
GLfloat s0,
GLfloat t0,
GLfloat s1,
GLfloat t1);
2601 #ifdef GL_GLEXT_PROTOTYPES
2602 GL_APICALL void GL_APIENTRY glDrawVkImageNV (
GLuint64 vkImage,
GLuint sampler,
GLfloat x0,
GLfloat y0,
GLfloat x1,
GLfloat y1,
GLfloat z,
GLfloat s0,
GLfloat t0,
GLfloat s1,
GLfloat t1);
2610 #ifndef GL_NV_explicit_attrib_location
2611 #define GL_NV_explicit_attrib_location 1
2614 #ifndef GL_NV_fbo_color_attachments
2615 #define GL_NV_fbo_color_attachments 1
2616 #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
2620 #define GL_NV_fence 1
2621 #define GL_ALL_COMPLETED_NV 0x84F2
2622 #define GL_FENCE_STATUS_NV 0x84F3
2623 #define GL_FENCE_CONDITION_NV 0x84F4
2631 #ifdef GL_GLEXT_PROTOTYPES
2642 #ifndef GL_NV_fill_rectangle
2643 #define GL_NV_fill_rectangle 1
2644 #define GL_FILL_RECTANGLE_NV 0x933C
2647 #ifndef GL_NV_fragment_coverage_to_color
2648 #define GL_NV_fragment_coverage_to_color 1
2649 #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
2650 #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
2652 #ifdef GL_GLEXT_PROTOTYPES
2657 #ifndef GL_NV_fragment_shader_interlock
2658 #define GL_NV_fragment_shader_interlock 1
2661 #ifndef GL_NV_framebuffer_blit
2662 #define GL_NV_framebuffer_blit 1
2663 #define GL_READ_FRAMEBUFFER_NV 0x8CA8
2664 #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9
2665 #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6
2666 #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA
2668 #ifdef GL_GLEXT_PROTOTYPES
2673 #ifndef GL_NV_framebuffer_mixed_samples
2674 #define GL_NV_framebuffer_mixed_samples 1
2675 #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
2676 #define GL_COLOR_SAMPLES_NV 0x8E20
2677 #define GL_DEPTH_SAMPLES_NV 0x932D
2678 #define GL_STENCIL_SAMPLES_NV 0x932E
2679 #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
2680 #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
2681 #define GL_COVERAGE_MODULATION_NV 0x9332
2682 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
2686 #ifdef GL_GLEXT_PROTOTYPES
2693 #ifndef GL_NV_framebuffer_multisample
2694 #define GL_NV_framebuffer_multisample 1
2695 #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB
2696 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56
2697 #define GL_MAX_SAMPLES_NV 0x8D57
2699 #ifdef GL_GLEXT_PROTOTYPES
2704 #ifndef GL_NV_generate_mipmap_sRGB
2705 #define GL_NV_generate_mipmap_sRGB 1
2708 #ifndef GL_NV_geometry_shader_passthrough
2709 #define GL_NV_geometry_shader_passthrough 1
2712 #ifndef GL_NV_gpu_shader5
2713 #define GL_NV_gpu_shader5 1
2716 #define GL_INT64_NV 0x140E
2717 #define GL_UNSIGNED_INT64_NV 0x140F
2718 #define GL_INT8_NV 0x8FE0
2719 #define GL_INT8_VEC2_NV 0x8FE1
2720 #define GL_INT8_VEC3_NV 0x8FE2
2721 #define GL_INT8_VEC4_NV 0x8FE3
2722 #define GL_INT16_NV 0x8FE4
2723 #define GL_INT16_VEC2_NV 0x8FE5
2724 #define GL_INT16_VEC3_NV 0x8FE6
2725 #define GL_INT16_VEC4_NV 0x8FE7
2726 #define GL_INT64_VEC2_NV 0x8FE9
2727 #define GL_INT64_VEC3_NV 0x8FEA
2728 #define GL_INT64_VEC4_NV 0x8FEB
2729 #define GL_UNSIGNED_INT8_NV 0x8FEC
2730 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
2731 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
2732 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
2733 #define GL_UNSIGNED_INT16_NV 0x8FF0
2734 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
2735 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
2736 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
2737 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
2738 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
2739 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
2740 #define GL_FLOAT16_NV 0x8FF8
2741 #define GL_FLOAT16_VEC2_NV 0x8FF9
2742 #define GL_FLOAT16_VEC3_NV 0x8FFA
2743 #define GL_FLOAT16_VEC4_NV 0x8FFB
2744 #define GL_PATCHES 0x000E
2778 #ifdef GL_GLEXT_PROTOTYPES
2815 #ifndef GL_NV_image_formats
2816 #define GL_NV_image_formats 1
2819 #ifndef GL_NV_instanced_arrays
2820 #define GL_NV_instanced_arrays 1
2821 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE
2823 #ifdef GL_GLEXT_PROTOTYPES
2828 #ifndef GL_NV_internalformat_sample_query
2829 #define GL_NV_internalformat_sample_query 1
2830 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
2831 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
2832 #define GL_MULTISAMPLES_NV 0x9371
2833 #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
2834 #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
2835 #define GL_CONFORMANT_NV 0x9374
2837 #ifdef GL_GLEXT_PROTOTYPES
2842 #ifndef GL_NV_non_square_matrices
2843 #define GL_NV_non_square_matrices 1
2844 #define GL_FLOAT_MAT2x3_NV 0x8B65
2845 #define GL_FLOAT_MAT2x4_NV 0x8B66
2846 #define GL_FLOAT_MAT3x2_NV 0x8B67
2847 #define GL_FLOAT_MAT3x4_NV 0x8B68
2848 #define GL_FLOAT_MAT4x2_NV 0x8B69
2849 #define GL_FLOAT_MAT4x3_NV 0x8B6A
2856 #ifdef GL_GLEXT_PROTOTYPES
2866 #ifndef GL_NV_path_rendering
2867 #define GL_NV_path_rendering 1
2868 #define GL_PATH_FORMAT_SVG_NV 0x9070
2869 #define GL_PATH_FORMAT_PS_NV 0x9071
2870 #define GL_STANDARD_FONT_NAME_NV 0x9072
2871 #define GL_SYSTEM_FONT_NAME_NV 0x9073
2872 #define GL_FILE_NAME_NV 0x9074
2873 #define GL_PATH_STROKE_WIDTH_NV 0x9075
2874 #define GL_PATH_END_CAPS_NV 0x9076
2875 #define GL_PATH_INITIAL_END_CAP_NV 0x9077
2876 #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
2877 #define GL_PATH_JOIN_STYLE_NV 0x9079
2878 #define GL_PATH_MITER_LIMIT_NV 0x907A
2879 #define GL_PATH_DASH_CAPS_NV 0x907B
2880 #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
2881 #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
2882 #define GL_PATH_DASH_OFFSET_NV 0x907E
2883 #define GL_PATH_CLIENT_LENGTH_NV 0x907F
2884 #define GL_PATH_FILL_MODE_NV 0x9080
2885 #define GL_PATH_FILL_MASK_NV 0x9081
2886 #define GL_PATH_FILL_COVER_MODE_NV 0x9082
2887 #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
2888 #define GL_PATH_STROKE_MASK_NV 0x9084
2889 #define GL_COUNT_UP_NV 0x9088
2890 #define GL_COUNT_DOWN_NV 0x9089
2891 #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
2892 #define GL_CONVEX_HULL_NV 0x908B
2893 #define GL_BOUNDING_BOX_NV 0x908D
2894 #define GL_TRANSLATE_X_NV 0x908E
2895 #define GL_TRANSLATE_Y_NV 0x908F
2896 #define GL_TRANSLATE_2D_NV 0x9090
2897 #define GL_TRANSLATE_3D_NV 0x9091
2898 #define GL_AFFINE_2D_NV 0x9092
2899 #define GL_AFFINE_3D_NV 0x9094
2900 #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
2901 #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
2902 #define GL_UTF8_NV 0x909A
2903 #define GL_UTF16_NV 0x909B
2904 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
2905 #define GL_PATH_COMMAND_COUNT_NV 0x909D
2906 #define GL_PATH_COORD_COUNT_NV 0x909E
2907 #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
2908 #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
2909 #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
2910 #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
2911 #define GL_SQUARE_NV 0x90A3
2912 #define GL_ROUND_NV 0x90A4
2913 #define GL_TRIANGULAR_NV 0x90A5
2914 #define GL_BEVEL_NV 0x90A6
2915 #define GL_MITER_REVERT_NV 0x90A7
2916 #define GL_MITER_TRUNCATE_NV 0x90A8
2917 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
2918 #define GL_USE_MISSING_GLYPH_NV 0x90AA
2919 #define GL_PATH_ERROR_POSITION_NV 0x90AB
2920 #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
2921 #define GL_ADJACENT_PAIRS_NV 0x90AE
2922 #define GL_FIRST_TO_REST_NV 0x90AF
2923 #define GL_PATH_GEN_MODE_NV 0x90B0
2924 #define GL_PATH_GEN_COEFF_NV 0x90B1
2925 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
2926 #define GL_PATH_STENCIL_FUNC_NV 0x90B7
2927 #define GL_PATH_STENCIL_REF_NV 0x90B8
2928 #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
2929 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
2930 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
2931 #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
2932 #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
2933 #define GL_MOVE_TO_RESETS_NV 0x90B5
2934 #define GL_MOVE_TO_CONTINUES_NV 0x90B6
2935 #define GL_CLOSE_PATH_NV 0x00
2936 #define GL_MOVE_TO_NV 0x02
2937 #define GL_RELATIVE_MOVE_TO_NV 0x03
2938 #define GL_LINE_TO_NV 0x04
2939 #define GL_RELATIVE_LINE_TO_NV 0x05
2940 #define GL_HORIZONTAL_LINE_TO_NV 0x06
2941 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
2942 #define GL_VERTICAL_LINE_TO_NV 0x08
2943 #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
2944 #define GL_QUADRATIC_CURVE_TO_NV 0x0A
2945 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
2946 #define GL_CUBIC_CURVE_TO_NV 0x0C
2947 #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
2948 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
2949 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
2950 #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
2951 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
2952 #define GL_SMALL_CCW_ARC_TO_NV 0x12
2953 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
2954 #define GL_SMALL_CW_ARC_TO_NV 0x14
2955 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
2956 #define GL_LARGE_CCW_ARC_TO_NV 0x16
2957 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
2958 #define GL_LARGE_CW_ARC_TO_NV 0x18
2959 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
2960 #define GL_RESTART_PATH_NV 0xF0
2961 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
2962 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
2963 #define GL_RECT_NV 0xF6
2964 #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
2965 #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
2966 #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
2967 #define GL_ARC_TO_NV 0xFE
2968 #define GL_RELATIVE_ARC_TO_NV 0xFF
2969 #define GL_BOLD_BIT_NV 0x01
2970 #define GL_ITALIC_BIT_NV 0x02
2971 #define GL_GLYPH_WIDTH_BIT_NV 0x01
2972 #define GL_GLYPH_HEIGHT_BIT_NV 0x02
2973 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
2974 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
2975 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
2976 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
2977 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
2978 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
2979 #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
2980 #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
2981 #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
2982 #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
2983 #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
2984 #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
2985 #define GL_FONT_ASCENDER_BIT_NV 0x00200000
2986 #define GL_FONT_DESCENDER_BIT_NV 0x00400000
2987 #define GL_FONT_HEIGHT_BIT_NV 0x00800000
2988 #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
2989 #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
2990 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
2991 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
2992 #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
2993 #define GL_ROUNDED_RECT_NV 0xE8
2994 #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
2995 #define GL_ROUNDED_RECT2_NV 0xEA
2996 #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
2997 #define GL_ROUNDED_RECT4_NV 0xEC
2998 #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
2999 #define GL_ROUNDED_RECT8_NV 0xEE
3000 #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
3001 #define GL_RELATIVE_RECT_NV 0xF7
3002 #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
3003 #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
3004 #define GL_FONT_UNAVAILABLE_NV 0x936A
3005 #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
3006 #define GL_CONIC_CURVE_TO_NV 0x1A
3007 #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
3008 #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
3009 #define GL_STANDARD_FONT_FORMAT_NV 0x936C
3010 #define GL_PATH_PROJECTION_NV 0x1701
3011 #define GL_PATH_MODELVIEW_NV 0x1700
3012 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
3013 #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
3014 #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
3015 #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
3016 #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
3017 #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
3018 #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
3019 #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
3020 #define GL_FRAGMENT_INPUT_NV 0x936D
3078 #ifdef GL_GLEXT_PROTOTYPES
3139 #ifndef GL_NV_path_rendering_shared_edge
3140 #define GL_NV_path_rendering_shared_edge 1
3141 #define GL_SHARED_EDGE_NV 0xC0
3144 #ifndef GL_NV_pixel_buffer_object
3145 #define GL_NV_pixel_buffer_object 1
3146 #define GL_PIXEL_PACK_BUFFER_NV 0x88EB
3147 #define GL_PIXEL_UNPACK_BUFFER_NV 0x88EC
3148 #define GL_PIXEL_PACK_BUFFER_BINDING_NV 0x88ED
3149 #define GL_PIXEL_UNPACK_BUFFER_BINDING_NV 0x88EF
3152 #ifndef GL_NV_polygon_mode
3153 #define GL_NV_polygon_mode 1
3154 #define GL_POLYGON_MODE_NV 0x0B40
3155 #define GL_POLYGON_OFFSET_POINT_NV 0x2A01
3156 #define GL_POLYGON_OFFSET_LINE_NV 0x2A02
3157 #define GL_POINT_NV 0x1B00
3158 #define GL_LINE_NV 0x1B01
3159 #define GL_FILL_NV 0x1B02
3161 #ifdef GL_GLEXT_PROTOTYPES
3166 #ifndef GL_NV_read_buffer
3167 #define GL_NV_read_buffer 1
3168 #define GL_READ_BUFFER_NV 0x0C02
3170 #ifdef GL_GLEXT_PROTOTYPES
3175 #ifndef GL_NV_read_buffer_front
3176 #define GL_NV_read_buffer_front 1
3179 #ifndef GL_NV_read_depth
3180 #define GL_NV_read_depth 1
3183 #ifndef GL_NV_read_depth_stencil
3184 #define GL_NV_read_depth_stencil 1
3187 #ifndef GL_NV_read_stencil
3188 #define GL_NV_read_stencil 1
3191 #ifndef GL_NV_sRGB_formats
3192 #define GL_NV_sRGB_formats 1
3193 #define GL_SLUMINANCE_NV 0x8C46
3194 #define GL_SLUMINANCE_ALPHA_NV 0x8C44
3195 #define GL_SRGB8_NV 0x8C41
3196 #define GL_SLUMINANCE8_NV 0x8C47
3197 #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45
3198 #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C
3199 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D
3200 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E
3201 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F
3202 #define GL_ETC1_SRGB8_NV 0x88EE
3205 #ifndef GL_NV_sample_locations
3206 #define GL_NV_sample_locations 1
3207 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
3208 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
3209 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
3210 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
3211 #define GL_SAMPLE_LOCATION_NV 0x8E50
3212 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
3213 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
3214 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
3218 #ifdef GL_GLEXT_PROTOTYPES
3225 #ifndef GL_NV_sample_mask_override_coverage
3226 #define GL_NV_sample_mask_override_coverage 1
3229 #ifndef GL_NV_shader_atomic_fp16_vector
3230 #define GL_NV_shader_atomic_fp16_vector 1
3233 #ifndef GL_NV_shader_noperspective_interpolation
3234 #define GL_NV_shader_noperspective_interpolation 1
3237 #ifndef GL_NV_shadow_samplers_array
3238 #define GL_NV_shadow_samplers_array 1
3239 #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4
3242 #ifndef GL_NV_shadow_samplers_cube
3243 #define GL_NV_shadow_samplers_cube 1
3244 #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5
3247 #ifndef GL_NV_texture_border_clamp
3248 #define GL_NV_texture_border_clamp 1
3249 #define GL_TEXTURE_BORDER_COLOR_NV 0x1004
3250 #define GL_CLAMP_TO_BORDER_NV 0x812D
3253 #ifndef GL_NV_texture_compression_s3tc_update
3254 #define GL_NV_texture_compression_s3tc_update 1
3257 #ifndef GL_NV_texture_npot_2D_mipmap
3258 #define GL_NV_texture_npot_2D_mipmap 1
3261 #ifndef GL_NV_viewport_array
3262 #define GL_NV_viewport_array 1
3263 #define GL_MAX_VIEWPORTS_NV 0x825B
3264 #define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C
3265 #define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D
3266 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F
3279 #ifdef GL_GLEXT_PROTOTYPES
3295 #ifndef GL_NV_viewport_array2
3296 #define GL_NV_viewport_array2 1
3299 #ifndef GL_NV_viewport_swizzle
3300 #define GL_NV_viewport_swizzle 1
3301 #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
3302 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
3303 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
3304 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
3305 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
3306 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
3307 #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
3308 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
3309 #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
3310 #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
3311 #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
3312 #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
3314 #ifdef GL_GLEXT_PROTOTYPES
3319 #ifndef GL_OVR_multiview
3320 #define GL_OVR_multiview 1
3321 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
3322 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
3323 #define GL_MAX_VIEWS_OVR 0x9631
3324 #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
3326 #ifdef GL_GLEXT_PROTOTYPES
3331 #ifndef GL_OVR_multiview2
3332 #define GL_OVR_multiview2 1
3335 #ifndef GL_OVR_multiview_multisampled_render_to_texture
3336 #define GL_OVR_multiview_multisampled_render_to_texture 1
3338 #ifdef GL_GLEXT_PROTOTYPES
3343 #ifndef GL_QCOM_alpha_test
3344 #define GL_QCOM_alpha_test 1
3345 #define GL_ALPHA_TEST_QCOM 0x0BC0
3346 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1
3347 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2
3349 #ifdef GL_GLEXT_PROTOTYPES
3354 #ifndef GL_QCOM_binning_control
3355 #define GL_QCOM_binning_control 1
3356 #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0
3357 #define GL_CPU_OPTIMIZED_QCOM 0x8FB1
3358 #define GL_GPU_OPTIMIZED_QCOM 0x8FB2
3359 #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3
3362 #ifndef GL_QCOM_driver_control
3363 #define GL_QCOM_driver_control 1
3368 #ifdef GL_GLEXT_PROTOTYPES
3376 #ifndef GL_QCOM_extended_get
3377 #define GL_QCOM_extended_get 1
3378 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2
3379 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3
3380 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4
3381 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5
3382 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6
3383 #define GL_TEXTURE_TYPE_QCOM 0x8BD7
3384 #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8
3385 #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9
3386 #define GL_TEXTURE_TARGET_QCOM 0x8BDA
3387 #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB
3388 #define GL_STATE_RESTORE 0x8BDC
3395 typedef void (
GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLenum type,
void *
texels);
3397 #ifdef GL_GLEXT_PROTOTYPES
3404 GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLenum type,
void *
texels);
3409 #ifndef GL_QCOM_extended_get2
3410 #define GL_QCOM_extended_get2 1
3415 #ifdef GL_GLEXT_PROTOTYPES
3423 #ifndef GL_QCOM_framebuffer_foveated
3424 #define GL_QCOM_framebuffer_foveated 1
3425 #define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001
3426 #define GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM 0x00000002
3429 #ifdef GL_GLEXT_PROTOTYPES
3435 #ifndef GL_QCOM_perfmon_global_mode
3436 #define GL_QCOM_perfmon_global_mode 1
3437 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
3440 #ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent
3441 #define GL_QCOM_shader_framebuffer_fetch_noncoherent 1
3442 #define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2
3444 #ifdef GL_GLEXT_PROTOTYPES
3449 #ifndef GL_QCOM_tiled_rendering
3450 #define GL_QCOM_tiled_rendering 1
3451 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001
3452 #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002
3453 #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004
3454 #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008
3455 #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010
3456 #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020
3457 #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040
3458 #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080
3459 #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100
3460 #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200
3461 #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400
3462 #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800
3463 #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000
3464 #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000
3465 #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000
3466 #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000
3467 #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000
3468 #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000
3469 #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000
3470 #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000
3471 #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000
3472 #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000
3473 #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000
3474 #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000
3475 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000
3476 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000
3477 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000
3478 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000
3479 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000
3480 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000
3481 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000
3482 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000
3485 #ifdef GL_GLEXT_PROTOTYPES
3491 #ifndef GL_QCOM_writeonly_rendering
3492 #define GL_QCOM_writeonly_rendering 1
3493 #define GL_WRITEONLY_RENDERING_QCOM 0x8823
3496 #ifndef GL_VIV_shader_binary
3497 #define GL_VIV_shader_binary 1
3498 #define GL_SHADER_BINARY_VIV 0x8FC4