diff options
author | Adam Jackson <ajax@redhat.com> | 2017-08-08 11:52:42 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-08-24 13:47:18 -0400 |
commit | 5d2205fafb5d244af658de5e3c38c6cc805ae345 (patch) | |
tree | aed6f2333939aca4aa21aea23a96677adce73070 /src/mapi | |
parent | ba51ad2f25db272699f1cbb213f665e3e0d8787f (diff) |
include: Sync Khronos headers for OpenGL 4.6
Taken from c21e602b9fda1d3bbaecb08194592f67e6a0649b from
OpenGL-Registry. (This time without breaking glext.h.)
Signed-off-by: Adam Jackson <ajax@redhat.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/registry/gl.xml | 261 |
1 files changed, 214 insertions, 47 deletions
diff --git a/src/mapi/glapi/registry/gl.xml b/src/mapi/glapi/registry/gl.xml index 353d0ef26b..cbabe11b39 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"> |