diff options
-rw-r--r-- | include/GL/glcorearb.h | 66 | ||||
-rw-r--r-- | include/GL/glext.h | 82 | ||||
-rw-r--r-- | include/GL/glxext.h | 2 | ||||
-rw-r--r-- | include/GL/wglext.h | 2 | ||||
-rw-r--r-- | src/mapi/glapi/registry/gl.xml | 261 |
5 files changed, 350 insertions, 63 deletions
diff --git a/include/GL/glcorearb.h b/include/GL/glcorearb.h index 1f4d64e83f7..071b0c56135 100644 --- a/include/GL/glcorearb.h +++ b/include/GL/glcorearb.h @@ -2893,6 +2893,42 @@ GLAPI void APIENTRY glTextureBarrier (void); #endif #endif /* GL_VERSION_4_5 */ +#ifndef GL_VERSION_4_6 +#define GL_VERSION_4_6 1 +#define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551 +#define GL_SPIR_V_BINARY 0x9552 +#define GL_PARAMETER_BUFFER 0x80EE +#define GL_PARAMETER_BUFFER_BINDING 0x80EF +#define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008 +#define GL_VERTICES_SUBMITTED 0x82EE +#define GL_PRIMITIVES_SUBMITTED 0x82EF +#define GL_VERTEX_SHADER_INVOCATIONS 0x82F0 +#define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1 +#define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2 +#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3 +#define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4 +#define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5 +#define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6 +#define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7 +#define GL_POLYGON_OFFSET_CLAMP 0x8E1B +#define GL_SPIR_V_EXTENSIONS 0x9553 +#define GL_NUM_SPIR_V_EXTENSIONS 0x9554 +#define GL_TEXTURE_MAX_ANISOTROPY 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF +#define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC +#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED +typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp); +#endif +#endif /* GL_VERSION_4_6 */ + #ifndef GL_ARB_ES2_compatibility #define GL_ARB_ES2_compatibility 1 #endif /* GL_ARB_ES2_compatibility */ @@ -3314,11 +3350,11 @@ GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, G #define GL_ARB_indirect_parameters 1 #define GL_PARAMETER_BUFFER_ARB 0x80EE #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); #ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); #endif #endif /* GL_ARB_indirect_parameters */ @@ -3396,6 +3432,10 @@ GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count); #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF #endif /* GL_ARB_pixel_buffer_object */ +#ifndef GL_ARB_polygon_offset_clamp +#define GL_ARB_polygon_offset_clamp 1 +#endif /* GL_ARB_polygon_offset_clamp */ + #ifndef GL_ARB_post_depth_coverage #define GL_ARB_post_depth_coverage 1 #endif /* GL_ARB_post_depth_coverage */ @@ -3625,6 +3665,10 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #define GL_ARB_sparse_texture_clamp 1 #endif /* GL_ARB_sparse_texture_clamp */ +#ifndef GL_ARB_spirv_extensions +#define GL_ARB_spirv_extensions 1 +#endif /* GL_ARB_spirv_extensions */ + #ifndef GL_ARB_stencil_texturing #define GL_ARB_stencil_texturing 1 #endif /* GL_ARB_stencil_texturing */ @@ -3690,6 +3734,10 @@ GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F #endif /* GL_ARB_texture_cube_map_array */ +#ifndef GL_ARB_texture_filter_anisotropic +#define GL_ARB_texture_filter_anisotropic 1 +#endif /* GL_ARB_texture_filter_anisotropic */ + #ifndef GL_ARB_texture_filter_minmax #define GL_ARB_texture_filter_minmax 1 #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366 @@ -4752,6 +4800,12 @@ GLAPI void APIENTRY glBlendBarrierNV (void); #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 #endif /* GL_NV_blend_equation_advanced_coherent */ +#ifndef GL_NV_blend_minmax_factor +#define GL_NV_blend_minmax_factor 1 +#define GL_FACTOR_MIN_AMD 0x901C +#define GL_FACTOR_MAX_AMD 0x901D +#endif /* GL_NV_blend_minmax_factor */ + #ifndef GL_NV_clip_space_w_scaling #define GL_NV_clip_space_w_scaling 1 #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C @@ -5442,6 +5496,10 @@ GLAPI void APIENTRY glTextureBarrierNV (void); #endif #endif /* GL_NV_texture_barrier */ +#ifndef GL_NV_texture_rectangle_compressed +#define GL_NV_texture_rectangle_compressed 1 +#endif /* GL_NV_texture_rectangle_compressed */ + #ifndef GL_NV_uniform_buffer_unified_memory #define GL_NV_uniform_buffer_unified_memory 1 #define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E diff --git a/include/GL/glext.h b/include/GL/glext.h index b7f61190721..1bf85b58c21 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -51,7 +51,7 @@ extern "C" { #define GLAPI extern #endif -#define GL_GLEXT_VERSION 20170608 +#define GL_GLEXT_VERSION 20170730 /* Generated C header for: * API: gl @@ -2865,6 +2865,42 @@ GLAPI void APIENTRY glTextureBarrier (void); #endif #endif /* GL_VERSION_4_5 */ +#ifndef GL_VERSION_4_6 +#define GL_VERSION_4_6 1 +#define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551 +#define GL_SPIR_V_BINARY 0x9552 +#define GL_PARAMETER_BUFFER 0x80EE +#define GL_PARAMETER_BUFFER_BINDING 0x80EF +#define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008 +#define GL_VERTICES_SUBMITTED 0x82EE +#define GL_PRIMITIVES_SUBMITTED 0x82EF +#define GL_VERTEX_SHADER_INVOCATIONS 0x82F0 +#define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1 +#define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2 +#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3 +#define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4 +#define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5 +#define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6 +#define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7 +#define GL_POLYGON_OFFSET_CLAMP 0x8E1B +#define GL_SPIR_V_EXTENSIONS 0x9553 +#define GL_NUM_SPIR_V_EXTENSIONS 0x9554 +#define GL_TEXTURE_MAX_ANISOTROPY 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF +#define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC +#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED +typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp); +#endif +#endif /* GL_VERSION_4_6 */ + #ifndef GL_ARB_ES2_compatibility #define GL_ARB_ES2_compatibility 1 #endif /* GL_ARB_ES2_compatibility */ @@ -3606,11 +3642,11 @@ GLAPI void APIENTRY glResetMinmax (GLenum target); #define GL_ARB_indirect_parameters 1 #define GL_PARAMETER_BUFFER_ARB 0x80EE #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); #ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); #endif #endif /* GL_ARB_indirect_parameters */ @@ -3887,6 +3923,10 @@ GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params); #define GL_COORD_REPLACE_ARB 0x8862 #endif /* GL_ARB_point_sprite */ +#ifndef GL_ARB_polygon_offset_clamp +#define GL_ARB_polygon_offset_clamp 1 +#endif /* GL_ARB_polygon_offset_clamp */ + #ifndef GL_ARB_post_depth_coverage #define GL_ARB_post_depth_coverage 1 #endif /* GL_ARB_post_depth_coverage */ @@ -4049,12 +4089,7 @@ GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); #ifndef GL_ARB_shader_objects #define GL_ARB_shader_objects 1 #ifdef __APPLE__ -#ifdef BUILDING_MESA -/* Avoid uint <-> void* warnings */ -typedef unsigned long GLhandleARB; -#else typedef void *GLhandleARB; -#endif #else typedef unsigned int GLhandleARB; #endif @@ -4290,6 +4325,10 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #define GL_ARB_sparse_texture_clamp 1 #endif /* GL_ARB_sparse_texture_clamp */ +#ifndef GL_ARB_spirv_extensions +#define GL_ARB_spirv_extensions 1 +#endif /* GL_ARB_spirv_extensions */ + #ifndef GL_ARB_stencil_texturing #define GL_ARB_stencil_texturing 1 #endif /* GL_ARB_stencil_texturing */ @@ -4442,6 +4481,10 @@ GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void #define GL_DOT3_RGBA_ARB 0x86AF #endif /* GL_ARB_texture_env_dot3 */ +#ifndef GL_ARB_texture_filter_anisotropic +#define GL_ARB_texture_filter_anisotropic 1 +#endif /* GL_ARB_texture_filter_anisotropic */ + #ifndef GL_ARB_texture_filter_minmax #define GL_ARB_texture_filter_minmax 1 #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366 @@ -7245,6 +7288,17 @@ GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint en #endif #endif /* GL_EXT_draw_range_elements */ +#ifndef GL_EXT_external_buffer +#define GL_EXT_external_buffer 1 +typedef void *GLeglClientBufferEXT; +typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +#endif +#endif /* GL_EXT_external_buffer */ + #ifndef GL_EXT_fog_coord #define GL_EXT_fog_coord 1 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 @@ -9377,6 +9431,10 @@ GLAPI void APIENTRY glBlendBarrierNV (void); #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 #endif /* GL_NV_blend_equation_advanced_coherent */ +#ifndef GL_NV_blend_minmax_factor +#define GL_NV_blend_minmax_factor 1 +#endif /* GL_NV_blend_minmax_factor */ + #ifndef GL_NV_blend_square #define GL_NV_blend_square 1 #endif /* GL_NV_blend_square */ @@ -10733,6 +10791,10 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 #endif /* GL_NV_texture_rectangle */ +#ifndef GL_NV_texture_rectangle_compressed +#define GL_NV_texture_rectangle_compressed 1 +#endif /* GL_NV_texture_rectangle_compressed */ + #ifndef GL_NV_texture_shader #define GL_NV_texture_shader 1 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C diff --git a/include/GL/glxext.h b/include/GL/glxext.h index 2a6291cdcf3..0f60a380c21 100644 --- a/include/GL/glxext.h +++ b/include/GL/glxext.h @@ -34,7 +34,7 @@ extern "C" { ** https://github.com/KhronosGroup/OpenGL-Registry */ -#define GLX_GLXEXT_VERSION 20170606 +#define GLX_GLXEXT_VERSION 20170728 /* Generated C header for: * API: glx diff --git a/include/GL/wglext.h b/include/GL/wglext.h index 77ec4a12549..ed95f5569be 100644 --- a/include/GL/wglext.h +++ b/include/GL/wglext.h @@ -39,7 +39,7 @@ extern "C" { #include <windows.h> #endif -#define WGL_WGLEXT_VERSION 20170606 +#define WGL_WGLEXT_VERSION 20170728 /* Generated C header for: * API: wgl diff --git a/src/mapi/glapi/registry/gl.xml b/src/mapi/glapi/registry/gl.xml index 353d0ef26ba..cbabe11b398 100644 --- a/src/mapi/glapi/registry/gl.xml +++ b/src/mapi/glapi/registry/gl.xml @@ -83,6 +83,7 @@ typedef unsigned __int64 uint64_t; <type>typedef float <name>GLclampf</name>;</type> <type>typedef double <name>GLdouble</name>;</type> <type>typedef double <name>GLclampd</name>;</type> + <type>typedef void *<name>GLeglClientBufferEXT</name>;</type> <type>typedef void *<name>GLeglImageOES</name>;</type> <type>typedef char <name>GLchar</name>;</type> <type>typedef char <name>GLcharARB</name>;</type> @@ -2181,7 +2182,8 @@ typedef unsigned int GLhandleARB; <enum value="0x00000002" name="GL_CONTEXT_FLAG_DEBUG_BIT_KHR"/> <enum value="0x00000004" name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT"/> <enum value="0x00000004" name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB"/> - <enum value="0x00000008" name="GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR"/> + <enum value="0x00000008" name="GL_CONTEXT_FLAG_NO_ERROR_BIT"/> + <enum value="0x00000008" name="GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR" alias="GL_CONTEXT_FLAG_NO_ERROR_BIT"/> <enum value="0x00000010" name="GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT"/> </enums> @@ -3648,8 +3650,10 @@ typedef unsigned int GLhandleARB; <enum value="0x80EB" name="GL_PHONG_HINT_WIN"/> <enum value="0x80EC" name="GL_FOG_SPECULAR_TEXTURE_WIN"/> <enum value="0x80ED" name="GL_TEXTURE_INDEX_SIZE_EXT"/> - <enum value="0x80EE" name="GL_PARAMETER_BUFFER_ARB"/> - <enum value="0x80EF" name="GL_PARAMETER_BUFFER_BINDING_ARB"/> + <enum value="0x80EE" name="GL_PARAMETER_BUFFER"/> + <enum value="0x80EE" name="GL_PARAMETER_BUFFER_ARB" alias="GL_PARAMETER_BUFFER"/> + <enum value="0x80EF" name="GL_PARAMETER_BUFFER_BINDING"/> + <enum value="0x80EF" name="GL_PARAMETER_BUFFER_BINDING_ARB" alias="GL_PARAMETER_BUFFER_BINDING"/> <enum value="0x80F0" name="GL_CLIP_VOLUME_CLIPPING_HINT_EXT"/> <unused start="0x80F1" end="0x810F" vendor="MS"/> </enums> @@ -4285,18 +4289,30 @@ typedef unsigned int GLhandleARB; ARB_direct_state_access in February 2015 after determining it was not well defined or implementable. --> <unused start="0x82EB" vendor="ARB" comment="Reserved. Formerly used for GL_TEXTURE_BINDING."/> - <enum value="0x82EC" name="GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB"/> - <enum value="0x82ED" name="GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB"/> - <enum value="0x82EE" name="GL_VERTICES_SUBMITTED_ARB"/> - <enum value="0x82EF" name="GL_PRIMITIVES_SUBMITTED_ARB"/> - <enum value="0x82F0" name="GL_VERTEX_SHADER_INVOCATIONS_ARB"/> - <enum value="0x82F1" name="GL_TESS_CONTROL_SHADER_PATCHES_ARB"/> - <enum value="0x82F2" name="GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB"/> - <enum value="0x82F3" name="GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB"/> - <enum value="0x82F4" name="GL_FRAGMENT_SHADER_INVOCATIONS_ARB"/> - <enum value="0x82F5" name="GL_COMPUTE_SHADER_INVOCATIONS_ARB"/> - <enum value="0x82F6" name="GL_CLIPPING_INPUT_PRIMITIVES_ARB"/> - <enum value="0x82F7" name="GL_CLIPPING_OUTPUT_PRIMITIVES_ARB"/> + <enum value="0x82EC" name="GL_TRANSFORM_FEEDBACK_OVERFLOW"/> + <enum value="0x82EC" name="GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB" alias="GL_TRANSFORM_FEEDBACK_OVERFLOW"/> + <enum value="0x82ED" name="GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW"/> + <enum value="0x82ED" name="GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB" alias="GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW"/> + <enum value="0x82EE" name="GL_VERTICES_SUBMITTED"/> + <enum value="0x82EE" name="GL_VERTICES_SUBMITTED_ARB" alias="GL_VERTICES_SUBMITTED"/> + <enum value="0x82EF" name="GL_PRIMITIVES_SUBMITTED"/> + <enum value="0x82EF" name="GL_PRIMITIVES_SUBMITTED_ARB" alias="GL_PRIMITIVES_SUBMITTED"/> + <enum value="0x82F0" name="GL_VERTEX_SHADER_INVOCATIONS"/> + <enum value="0x82F0" name="GL_VERTEX_SHADER_INVOCATIONS_ARB" alias="GL_VERTEX_SHADER_INVOCATIONS"/> + <enum value="0x82F1" name="GL_TESS_CONTROL_SHADER_PATCHES"/> + <enum value="0x82F1" name="GL_TESS_CONTROL_SHADER_PATCHES_ARB" alias="GL_TESS_CONTROL_SHADER_PATCHES"/> + <enum value="0x82F2" name="GL_TESS_EVALUATION_SHADER_INVOCATIONS"/> + <enum value="0x82F2" name="GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB" alias="GL_TESS_EVALUATION_SHADER_INVOCATIONS"/> + <enum value="0x82F3" name="GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED"/> + <enum value="0x82F3" name="GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB" alias="GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED"/> + <enum value="0x82F4" name="GL_FRAGMENT_SHADER_INVOCATIONS"/> + <enum value="0x82F4" name="GL_FRAGMENT_SHADER_INVOCATIONS_ARB" alias="GL_FRAGMENT_SHADER_INVOCATIONS"/> + <enum value="0x82F5" name="GL_COMPUTE_SHADER_INVOCATIONS"/> + <enum value="0x82F5" name="GL_COMPUTE_SHADER_INVOCATIONS_ARB" alias="GL_COMPUTE_SHADER_INVOCATIONS"/> + <enum value="0x82F6" name="GL_CLIPPING_INPUT_PRIMITIVES"/> + <enum value="0x82F6" name="GL_CLIPPING_INPUT_PRIMITIVES_ARB" alias="GL_CLIPPING_INPUT_PRIMITIVES"/> + <enum value="0x82F7" name="GL_CLIPPING_OUTPUT_PRIMITIVES"/> + <enum value="0x82F7" name="GL_CLIPPING_OUTPUT_PRIMITIVES_ARB" alias="GL_CLIPPING_OUTPUT_PRIMITIVES"/> <enum value="0x82F8" name="GL_SPARSE_BUFFER_PAGE_SIZE_ARB"/> <enum value="0x82F9" name="GL_MAX_CULL_DISTANCES"/> <enum value="0x82F9" name="GL_MAX_CULL_DISTANCES_EXT" alias="GL_MAX_CULL_DISTANCES"/> @@ -4784,8 +4800,10 @@ typedef unsigned int GLhandleARB; <unused start="0x84FB" end="0x84FC" vendor="NV"/> <enum value="0x84FD" name="GL_MAX_TEXTURE_LOD_BIAS"/> <enum value="0x84FD" name="GL_MAX_TEXTURE_LOD_BIAS_EXT"/> - <enum value="0x84FE" name="GL_TEXTURE_MAX_ANISOTROPY_EXT"/> - <enum value="0x84FF" name="GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT"/> + <enum value="0x84FE" name="GL_TEXTURE_MAX_ANISOTROPY"/> + <enum value="0x84FE" name="GL_TEXTURE_MAX_ANISOTROPY_EXT" alias="GL_TEXTURE_MAX_ANISOTROPY"/> + <enum value="0x84FF" name="GL_MAX_TEXTURE_MAX_ANISOTROPY"/> + <enum value="0x84FF" name="GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT" alias="GL_MAX_TEXTURE_MAX_ANISOTROPY"/> <enum value="0x8500" name="GL_TEXTURE_FILTER_CONTROL"/> <enum value="0x8500" name="GL_TEXTURE_FILTER_CONTROL_EXT"/> <enum value="0x8501" name="GL_TEXTURE_LOD_BIAS"/> @@ -6090,16 +6108,20 @@ typedef unsigned int GLhandleARB; <enum value="0x88EB" name="GL_PIXEL_PACK_BUFFER"/> <enum value="0x88EB" name="GL_PIXEL_PACK_BUFFER_ARB"/> <enum value="0x88EB" name="GL_PIXEL_PACK_BUFFER_EXT"/> + <enum value="0x88EB" name="GL_PIXEL_PACK_BUFFER_NV"/> <enum value="0x88EC" name="GL_PIXEL_UNPACK_BUFFER"/> <enum value="0x88EC" name="GL_PIXEL_UNPACK_BUFFER_ARB"/> <enum value="0x88EC" name="GL_PIXEL_UNPACK_BUFFER_EXT"/> + <enum value="0x88EC" name="GL_PIXEL_UNPACK_BUFFER_NV"/> <enum value="0x88ED" name="GL_PIXEL_PACK_BUFFER_BINDING"/> <enum value="0x88ED" name="GL_PIXEL_PACK_BUFFER_BINDING_ARB"/> <enum value="0x88ED" name="GL_PIXEL_PACK_BUFFER_BINDING_EXT"/> + <enum value="0x88ED" name="GL_PIXEL_PACK_BUFFER_BINDING_NV"/> <enum value="0x88EE" name="GL_ETC1_SRGB8_NV"/> <enum value="0x88EF" name="GL_PIXEL_UNPACK_BUFFER_BINDING"/> <enum value="0x88EF" name="GL_PIXEL_UNPACK_BUFFER_BINDING_ARB"/> <enum value="0x88EF" name="GL_PIXEL_UNPACK_BUFFER_BINDING_EXT"/> + <enum value="0x88EF" name="GL_PIXEL_UNPACK_BUFFER_BINDING_NV"/> <enum value="0x88F0" name="GL_DEPTH24_STENCIL8"/> <enum value="0x88F0" name="GL_DEPTH24_STENCIL8_EXT"/> <enum value="0x88F0" name="GL_DEPTH24_STENCIL8_OES"/> @@ -7267,7 +7289,8 @@ typedef unsigned int GLhandleARB; <enum value="0x8E18" name="GL_QUERY_NO_WAIT_INVERTED"/> <enum value="0x8E19" name="GL_QUERY_BY_REGION_WAIT_INVERTED"/> <enum value="0x8E1A" name="GL_QUERY_BY_REGION_NO_WAIT_INVERTED"/> - <enum value="0x8E1B" name="GL_POLYGON_OFFSET_CLAMP_EXT"/> + <enum value="0x8E1B" name="GL_POLYGON_OFFSET_CLAMP"/> + <enum value="0x8E1B" name="GL_POLYGON_OFFSET_CLAMP_EXT" alias="GL_POLYGON_OFFSET_CLAMP"/> <unused start="0x8E1C" end="0x8E1D" vendor="NV"/> <enum value="0x8E1E" name="GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS"/> <enum value="0x8E1E" name="GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT"/> @@ -7439,12 +7462,16 @@ typedef unsigned int GLhandleARB; <unused start="0x8E8B" vendor="NV"/> <enum value="0x8E8C" name="GL_COMPRESSED_RGBA_BPTC_UNORM"/> <enum value="0x8E8C" name="GL_COMPRESSED_RGBA_BPTC_UNORM_ARB"/> + <enum value="0x8E8C" name="GL_COMPRESSED_RGBA_BPTC_UNORM_EXT"/> <enum value="0x8E8D" name="GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM"/> <enum value="0x8E8D" name="GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB"/> + <enum value="0x8E8D" name="GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT"/> <enum value="0x8E8E" name="GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT"/> <enum value="0x8E8E" name="GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB"/> + <enum value="0x8E8E" name="GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT"/> <enum value="0x8E8F" name="GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT"/> <enum value="0x8E8F" name="GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB"/> + <enum value="0x8E8F" name="GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT"/> </enums> <enums namespace="GL" start="0x8E90" end="0x8E9F" vendor="QNX" comment="For QNX_texture_tiling, QNX_complex_polygon, QNX_stippled_lines (Khronos bug 696)"> @@ -8668,9 +8695,13 @@ typedef unsigned int GLhandleARB; <enum value="0x954E" name="GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV"/> <enum value="0x954F" name="GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV"/> <unused start="0x9550" vendor="NV"/> - <enum value="0x9551" name="GL_SHADER_BINARY_FORMAT_SPIR_V_ARB"/> - <enum value="0x9552" name="GL_SPIR_V_BINARY_ARB"/> - <unused start="0x9553" end="0x9557" vendor="NV"/> + <enum value="0x9551" name="GL_SHADER_BINARY_FORMAT_SPIR_V"/> + <enum value="0x9551" name="GL_SHADER_BINARY_FORMAT_SPIR_V_ARB" alias="GL_SHADER_BINARY_FORMAT_SPIR_V"/> + <enum value="0x9552" name="GL_SPIR_V_BINARY"/> + <enum value="0x9552" name="GL_SPIR_V_BINARY_ARB" alias="GL_SPIR_V_BINARY"/> + <enum value="0x9553" name="GL_SPIR_V_EXTENSIONS"/> + <enum value="0x9554" name="GL_NUM_SPIR_V_EXTENSIONS"/> + <unused start="0x9555" end="0x9557" vendor="NV"/> <enum value="0x9558" name="GL_RENDER_GPU_MASK_NV"/> <unused start="0x9559" end="0x957F" vendor="NV"/> <enum value="0x9580" name="GL_TEXTURE_TILING_EXT"/> @@ -9861,6 +9892,14 @@ typedef unsigned int GLhandleARB; <alias name="glBufferStorage"/> </command> <command> + <proto>void <name>glBufferStorageExternalEXT</name></proto> + <param><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLintptr</ptype> <name>offset</name></param> + <param><ptype>GLsizeiptr</ptype> <name>size</name></param> + <param><ptype>GLeglClientBufferEXT</ptype> <name>clientBuffer</name></param> + <param><ptype>GLbitfield</ptype> <name>flags</name></param> + </command> + <command> <proto>void <name>glBufferStorageMemEXT</name></proto> <param group="BufferTargetARB"><ptype>GLenum</ptype> <name>target</name></param> <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>size</name></param> @@ -11048,7 +11087,6 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>border</name></param> <param><ptype>GLsizei</ptype> <name>imageSize</name></param> <param len="imageSize">const void *<name>data</name></param> - <alias name="glCompressedTexImage3D"/> </command> <command> <proto>void <name>glCompressedTexSubImage1D</name></proto> @@ -11147,7 +11185,6 @@ typedef unsigned int GLhandleARB; <param><ptype>GLenum</ptype> <name>format</name></param> <param><ptype>GLsizei</ptype> <name>imageSize</name></param> <param len="imageSize">const void *<name>data</name></param> - <alias name="glCompressedTexSubImage3D"/> </command> <command> <proto>void <name>glCompressedTextureImage1DEXT</name></proto> @@ -11769,7 +11806,6 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>y</name></param> <param><ptype>GLsizei</ptype> <name>width</name></param> <param><ptype>GLsizei</ptype> <name>height</name></param> - <alias name="glCopyTexSubImage3D"/> </command> <command> <proto>void <name>glCopyTextureImage1DEXT</name></proto> @@ -14067,7 +14103,6 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>texture</name></param> <param><ptype>GLint</ptype> <name>level</name></param> <param><ptype>GLint</ptype> <name>zoffset</name></param> - <alias name="glFramebufferTexture3D"/> </command> <command> <proto>void <name>glFramebufferTextureARB</name></proto> @@ -16679,7 +16714,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLenum</ptype> <name>shadertype</name></param> <param><ptype>GLenum</ptype> <name>precisiontype</name></param> <param len="2"><ptype>GLint</ptype> *<name>range</name></param> - <param len="2"><ptype>GLint</ptype> *<name>precision</name></param> + <param len="1"><ptype>GLint</ptype> *<name>precision</name></param> </command> <command> <proto>void <name>glGetShaderSource</name></proto> @@ -19445,12 +19480,21 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>vertexBufferCount</name></param> </command> <command> + <proto>void <name>glMultiDrawArraysIndirectCount</name></proto> + <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> + <param>const void *<name>indirect</name></param> + <param><ptype>GLintptr</ptype> <name>drawcount</name></param> + <param><ptype>GLsizei</ptype> <name>maxdrawcount</name></param> + <param><ptype>GLsizei</ptype> <name>stride</name></param> + </command> + <command> <proto>void <name>glMultiDrawArraysIndirectCountARB</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> - <param><ptype>GLintptr</ptype> <name>indirect</name></param> + <param>const void *<name>indirect</name></param> <param><ptype>GLintptr</ptype> <name>drawcount</name></param> <param><ptype>GLsizei</ptype> <name>maxdrawcount</name></param> <param><ptype>GLsizei</ptype> <name>stride</name></param> + <alias name="glMultiDrawArraysIndirectCount"/> </command> <command> <proto>void <name>glMultiDrawArraysIndirectEXT</name></proto> @@ -19495,16 +19539,6 @@ typedef unsigned int GLhandleARB; <alias name="glMultiDrawElementsBaseVertex"/> </command> <command> - <proto>void <name>glMultiDrawElementsBaseVertexOES</name></proto> - <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> - <param len="COMPSIZE(drawcount)">const <ptype>GLsizei</ptype> *<name>count</name></param> - <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> - <param len="COMPSIZE(drawcount)">const void *const*<name>indices</name></param> - <param><ptype>GLsizei</ptype> <name>primcount</name></param> - <param len="COMPSIZE(drawcount)">const <ptype>GLint</ptype> *<name>basevertex</name></param> - <alias name="glMultiDrawElementsBaseVertex"/> - </command> - <command> <proto>void <name>glMultiDrawElementsEXT</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param len="COMPSIZE(primcount)">const <ptype>GLsizei</ptype> *<name>count</name></param> @@ -19550,13 +19584,23 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>vertexBufferCount</name></param> </command> <command> + <proto>void <name>glMultiDrawElementsIndirectCount</name></proto> + <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> + <param><ptype>GLenum</ptype> <name>type</name></param> + <param>const void *<name>indirect</name></param> + <param><ptype>GLintptr</ptype> <name>drawcount</name></param> + <param><ptype>GLsizei</ptype> <name>maxdrawcount</name></param> + <param><ptype>GLsizei</ptype> <name>stride</name></param> + </command> + <command> <proto>void <name>glMultiDrawElementsIndirectCountARB</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLenum</ptype> <name>type</name></param> - <param><ptype>GLintptr</ptype> <name>indirect</name></param> + <param>const void *<name>indirect</name></param> <param><ptype>GLintptr</ptype> <name>drawcount</name></param> <param><ptype>GLsizei</ptype> <name>maxdrawcount</name></param> <param><ptype>GLsizei</ptype> <name>stride</name></param> + <alias name="glMultiDrawElementsIndirectCount"/> </command> <command> <proto>void <name>glMultiDrawElementsIndirectEXT</name></proto> @@ -20610,6 +20654,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLbitfield</ptype> <name>flags</name></param> </command> <command> + <proto>void <name>glNamedBufferStorageExternalEXT</name></proto> + <param><ptype>GLuint</ptype> <name>buffer</name></param> + <param><ptype>GLintptr</ptype> <name>offset</name></param> + <param><ptype>GLsizeiptr</ptype> <name>size</name></param> + <param><ptype>GLeglClientBufferEXT</ptype> <name>clientBuffer</name></param> + <param><ptype>GLbitfield</ptype> <name>flags</name></param> + </command> + <command> <proto>void <name>glNamedBufferStorageEXT</name></proto> <param><ptype>GLuint</ptype> <name>buffer</name></param> <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>size</name></param> @@ -21727,13 +21779,20 @@ typedef unsigned int GLhandleARB; <glx type="render" opcode="192"/> </command> <command> - <proto>void <name>glPolygonOffsetClampEXT</name></proto> + <proto>void <name>glPolygonOffsetClamp</name></proto> <param><ptype>GLfloat</ptype> <name>factor</name></param> <param><ptype>GLfloat</ptype> <name>units</name></param> <param><ptype>GLfloat</ptype> <name>clamp</name></param> <glx type="render" opcode="4225"/> </command> <command> + <proto>void <name>glPolygonOffsetClampEXT</name></proto> + <param><ptype>GLfloat</ptype> <name>factor</name></param> + <param><ptype>GLfloat</ptype> <name>units</name></param> + <param><ptype>GLfloat</ptype> <name>clamp</name></param> + <alias name="glPolygonOffsetClamp"/> + </command> + <command> <proto>void <name>glPolygonOffsetEXT</name></proto> <param><ptype>GLfloat</ptype> <name>factor</name></param> <param><ptype>GLfloat</ptype> <name>bias</name></param> @@ -24685,12 +24744,21 @@ typedef unsigned int GLhandleARB; <param group="TextureLayout" len="COMPSIZE(numTextureBarriers)">const <ptype>GLenum</ptype> *<name>dstLayouts</name></param> </command> <command> + <proto>void <name>glSpecializeShader</name></proto> + <param><ptype>GLuint</ptype> <name>shader</name></param> + <param>const <ptype>GLchar</ptype> *<name>pEntryPoint</name></param> + <param><ptype>GLuint</ptype> <name>numSpecializationConstants</name></param> + <param>const <ptype>GLuint</ptype> *<name>pConstantIndex</name></param> + <param>const <ptype>GLuint</ptype> *<name>pConstantValue</name></param> + </command> + <command> <proto>void <name>glSpecializeShaderARB</name></proto> <param><ptype>GLuint</ptype> <name>shader</name></param> <param>const <ptype>GLchar</ptype> *<name>pEntryPoint</name></param> <param><ptype>GLuint</ptype> <name>numSpecializationConstants</name></param> <param>const <ptype>GLuint</ptype> *<name>pConstantIndex</name></param> <param>const <ptype>GLuint</ptype> *<name>pConstantValue</name></param> + <alias name="glSpecializeShader"/> </command> <command> <proto>void <name>glSpriteParameterfSGIX</name></proto> @@ -25807,7 +25875,6 @@ typedef unsigned int GLhandleARB; <param><ptype>GLenum</ptype> <name>format</name></param> <param><ptype>GLenum</ptype> <name>type</name></param> <param len="COMPSIZE(format,type,width,height,depth)">const void *<name>pixels</name></param> - <alias name="glTexImage3D"/> </command> <command> <proto>void <name>glTexImage4DSGIS</name></proto> @@ -26189,7 +26256,6 @@ typedef unsigned int GLhandleARB; <param><ptype>GLenum</ptype> <name>format</name></param> <param><ptype>GLenum</ptype> <name>type</name></param> <param len="COMPSIZE(format,type,width,height,depth)">const void *<name>pixels</name></param> - <alias name="glTexSubImage3D"/> </command> <command> <proto>void <name>glTexSubImage4DSGIS</name></proto> @@ -34777,6 +34843,60 @@ typedef unsigned int GLhandleARB; <enum name="GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH"/> </require> </feature> + <feature api="gl" name="GL_VERSION_4_6" number="4.6"> + <require comment="Reuse GL_KHR_context_flush_control"> + <enum name="GL_CONTEXT_RELEASE_BEHAVIOR"/> + <enum name="GL_NONE"/> + <enum name="GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH"/> + </require> + <require comment="Reuse GL_ARB_gl_spirv"> + <enum name="GL_SHADER_BINARY_FORMAT_SPIR_V"/> + <enum name="GL_SPIR_V_BINARY"/> + <command name="glSpecializeShader"/> + </require> + <require comment="Reuse GL_ARB_indirect_parameters"> + <enum name="GL_PARAMETER_BUFFER"/> + <enum name="GL_PARAMETER_BUFFER_BINDING"/> + <command name="glMultiDrawArraysIndirectCount"/> + <command name="glMultiDrawElementsIndirectCount"/> + </require> + <require comment="Reuse GL_KHR_no_error"> + <enum name="GL_CONTEXT_FLAG_NO_ERROR_BIT"/> + </require> + <require comment="Reuse GL_ARB_pipeline_statistics_query"> + <enum name="GL_VERTICES_SUBMITTED"/> + <enum name="GL_PRIMITIVES_SUBMITTED"/> + <enum name="GL_VERTEX_SHADER_INVOCATIONS"/> + <enum name="GL_TESS_CONTROL_SHADER_PATCHES"/> + <enum name="GL_TESS_EVALUATION_SHADER_INVOCATIONS"/> + <enum name="GL_GEOMETRY_SHADER_INVOCATIONS"/> + <enum name="GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED"/> + <enum name="GL_FRAGMENT_SHADER_INVOCATIONS"/> + <enum name="GL_COMPUTE_SHADER_INVOCATIONS"/> + <enum name="GL_CLIPPING_INPUT_PRIMITIVES"/> + <enum name="GL_CLIPPING_OUTPUT_PRIMITIVES"/> + </require> + <require comment="Reuse GL_ARB_polygon_offset_clamp"> + <enum name="GL_POLYGON_OFFSET_CLAMP"/> + <command name="glPolygonOffsetClamp"/> + </require> + <require comment="Reuse GL_ARB_shader_atomic_counter_ops (none)"/> + <require comment="Reuse GL_ARB_shader_draw_parameters (none)"/> + <require comment="Reuse GL_ARB_shader_group_vote (none)"/> + <require comment="Reuse GL_ARB_spirv_extensions"> + <enum name="GL_SPIR_V_EXTENSIONS"/> + <enum name="GL_NUM_SPIR_V_EXTENSIONS"/> + </require> + <require comment="Reuse GL_ARB_texture_filter_anisotropic"> + <enum name="GL_TEXTURE_MAX_ANISOTROPY"/> + <enum name="GL_MAX_TEXTURE_MAX_ANISOTROPY"/> + </require> + <require comment="Reuse GL_ARB_transform_feedback_overflow_query"> + <enum name="GL_TRANSFORM_FEEDBACK_OVERFLOW"/> + <enum name="GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW"/> + </require> + </feature> + <!-- SECTION: OpenGL ES 1.0/1.1 API interface definitions. --> <feature api="gles1" name="GL_VERSION_ES_CM_1_0" number="1.0"> @@ -38587,6 +38707,13 @@ typedef unsigned int GLhandleARB; <command name="glGetCompressedTextureSubImage"/> </require> </extension> + <extension name="GL_ARB_gl_spirv" supported="gl|glcore"> + <require> + <enum name="GL_SHADER_BINARY_FORMAT_SPIR_V_ARB"/> + <enum name="GL_SPIR_V_BINARY_ARB"/> + <command name="glSpecializeShaderARB"/> + </require> + </extension> <extension name="GL_ARB_gpu_shader5" supported="gl|glcore"> <require> <enum name="GL_GEOMETRY_SHADER_INVOCATIONS"/> @@ -39164,6 +39291,12 @@ typedef unsigned int GLhandleARB; <enum name="GL_COORD_REPLACE_ARB"/> </require> </extension> + <extension name="GL_ARB_polygon_offset_clamp" supported="gl|glcore"> + <require> + <enum name="GL_POLYGON_OFFSET_CLAMP"/> + <command name="glPolygonOffsetClamp"/> + </require> + </extension> <extension name="GL_ARB_post_depth_coverage" supported="gl|glcore"/> <extension name="GL_ARB_program_interface_query" supported="gl|glcore"> <require> @@ -39704,11 +39837,10 @@ typedef unsigned int GLhandleARB; </extension> <extension name="GL_ARB_sparse_texture2" supported="gl|glcore"/> <extension name="GL_ARB_sparse_texture_clamp" supported="gl|glcore"/> - <extension name="GL_ARB_gl_spirv" supported="gl|glcore"> + <extension name="GL_ARB_spirv_extensions" supported="gl|glcore"> <require> - <enum name="GL_SHADER_BINARY_FORMAT_SPIR_V_ARB"/> - <enum name="GL_SPIR_V_BINARY_ARB"/> - <command name="glSpecializeShaderARB"/> + <enum name="GL_SPIR_V_EXTENSIONS"/> + <enum name="GL_NUM_SPIR_V_EXTENSIONS"/> </require> </extension> <extension name="GL_ARB_stencil_texturing" supported="gl|glcore"> @@ -39919,6 +40051,12 @@ typedef unsigned int GLhandleARB; <enum name="GL_DOT3_RGBA_ARB"/> </require> </extension> + <extension name="GL_ARB_texture_filter_anisotropic" supported="gl|glcore"> + <require> + <enum name="GL_TEXTURE_MAX_ANISOTROPY"/> + <enum name="GL_MAX_TEXTURE_MAX_ANISOTROPY"/> + </require> + </extension> <extension name="GL_ARB_texture_filter_minmax" supported="gl|glcore"> <require> <enum name="GL_TEXTURE_REDUCTION_MODE_ARB"/> @@ -41841,6 +41979,12 @@ typedef unsigned int GLhandleARB; <command name="glDrawTransformFeedbackInstancedEXT"/> </require> </extension> + <extension name="GL_EXT_external_buffer" supported="gl|gles2"> + <require> + <command name="glBufferStorageExternalEXT"/> + <command name="glNamedBufferStorageExternalEXT"/> + </require> + </extension> <extension name="GL_EXT_float_blend" supported="gles2"/> <extension name="GL_EXT_fog_coord" supported="gl"> <require> @@ -42968,6 +43112,14 @@ typedef unsigned int GLhandleARB; <enum name="GL_TEXTURE_ASTC_DECODE_PRECISION_EXT"/> </require> </extension> + <extension name="GL_EXT_texture_compression_bptc" supported="gles2"> + <require> + <enum name="GL_COMPRESSED_RGBA_BPTC_UNORM_EXT"/> + <enum name="GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT"/> + <enum name="GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT"/> + <enum name="GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT"/> + </require> + </extension> <extension name="GL_EXT_texture_compression_dxt1" supported="gles1|gles2"> <require> <enum name="GL_COMPRESSED_RGB_S3TC_DXT1_EXT"/> @@ -42982,7 +43134,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT"/> </require> </extension> - <extension name="GL_EXT_texture_compression_rgtc" supported="gl"> + <extension name="GL_EXT_texture_compression_rgtc" supported="gl|gles2"> <require> <enum name="GL_COMPRESSED_RED_RGTC1_EXT"/> <enum name="GL_COMPRESSED_SIGNED_RED_RGTC1_EXT"/> @@ -44375,6 +44527,12 @@ typedef unsigned int GLhandleARB; <enum name="GL_BLEND_ADVANCED_COHERENT_NV"/> </require> </extension> + <extension name="GL_NV_blend_minmax_factor" supported="gl|glcore|gles2"> + <require> + <enum name="GL_FACTOR_MIN_AMD"/> + <enum name="GL_FACTOR_MAX_AMD"/> + </require> + </extension> <extension name="GL_NV_blend_square" supported="gl"/> <extension name="GL_NV_clip_space_w_scaling" supported="gl|glcore"> <require> @@ -45344,6 +45502,14 @@ typedef unsigned int GLhandleARB; <command name="glFlushPixelDataRangeNV"/> </require> </extension> + <extension name="GL_NV_pixel_buffer_object" supported="gles2"> + <require> + <enum name="GL_PIXEL_PACK_BUFFER_NV"/> + <enum name="GL_PIXEL_UNPACK_BUFFER_NV"/> + <enum name="GL_PIXEL_PACK_BUFFER_BINDING_NV"/> + <enum name="GL_PIXEL_UNPACK_BUFFER_BINDING_NV"/> + </require> + </extension> <extension name="GL_NV_point_sprite" supported="gl"> <require> <enum name="GL_POINT_SPRITE_NV"/> @@ -45639,6 +45805,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_MAX_RECTANGLE_TEXTURE_SIZE_NV"/> </require> </extension> + <extension name="GL_NV_texture_rectangle_compressed" supported="gl|glcore"/> <extension name="GL_NV_texture_shader" supported="gl"> <require> <enum name="GL_OFFSET_TEXTURE_RECTANGLE_NV"/> @@ -46353,7 +46520,7 @@ typedef unsigned int GLhandleARB; <command name="glDrawElementsBaseVertexOES"/> <command name="glDrawRangeElementsBaseVertexOES" comment="Supported only if OpenGL ES 3.0 is supported"/> <command name="glDrawElementsInstancedBaseVertexOES" comment="Supported only if OpenGL ES 3.0 is supported"/> - <command name="glMultiDrawElementsBaseVertexOES" comment="Supported only if GL_EXT_multi_draw_arrays is supported"/> + <command name="glMultiDrawElementsBaseVertexEXT" comment="Supported only if GL_EXT_multi_draw_arrays is supported"/> </require> </extension> <extension name="GL_OES_draw_texture" supported="gles1"> |