Update registry

- OpenGL: dc62ac39930726183c0f0ad007e4ce6499597664
- EGL: 0fa0d37da846998aa838ed2b784a340c28dadff3
macos/v1.5.9
Emmanuele Bassi 7 years ago
parent b1119d8fcf
commit fe62e02231
  1. 132
      registry/egl.xml
  2. 5598
      registry/gl.xml
  3. 78
      registry/glx.xml
  4. 59
      registry/wgl.xml

@ -38,6 +38,7 @@
<type name="khrplatform">#include &lt;KHR/khrplatform.h&gt;</type>
<type name="eglplatform" requires="khrplatform">#include &lt;EGL/eglplatform.h&gt;</type>
<type name="khronos_utime_nanoseconds_t" requires="khrplatform"/>
<type name="khronos_stime_nanoseconds_t" requires="khrplatform"/>
<type name="khronos_uint64_t" requires="khrplatform"/>
<type name="khronos_ssize_t" requires="khrplatform"/>
<type name="EGLNativeDisplayType" requires="eglplatform"/>
@ -47,6 +48,7 @@
<type name="NativeDisplayType" requires="eglplatform"/>
<type name="NativePixmapType" requires="eglplatform"/>
<type name="NativeWindowType" requires="eglplatform"/>
<type>struct <name>AHardwareBuffer</name>;</type>
<!-- Dummy placeholders for non-EGL types -->
<type name="Bool"/>
<!-- These are actual EGL types. -->
@ -147,6 +149,7 @@
<enums namespace="EGLDRMBufferUseMESAMask" type="bitmask" comment="EGL_DRM_BUFFER_USE_MESA bits">
<enum value="0x00000001" name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/>
<enum value="0x00000002" name="EGL_DRM_BUFFER_USE_SHARE_MESA"/>
<enum value="0x00000004" name="EGL_DRM_BUFFER_USE_CURSOR_MESA"/>
</enums>
<!-- Should be shared with GL, but aren't aren't since the
@ -788,9 +791,11 @@
<enum value="0x334E" name="EGL_STREAM_CROSS_DISPLAY_NV"/>
<enum value="0x334F" name="EGL_STREAM_CROSS_SYSTEM_NV"/>
<enum value="0x3350" name="EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT"/>
<unused start="0x3351"/>
<enum value="0x3351" name="EGL_GL_COLORSPACE_SCRGB_EXT"/>
<enum value="0x3352" name="EGL_TRACK_REFERENCES_KHR"/>
<unused start="0x3353" end="0x335F"/>
<unused start="0x3353" end="0x3356"/>
<enum value="0x3357" name="EGL_CONTEXT_PRIORITY_REALTIME_NV"/>
<unused start="0x3358" end="0x335F"/>
<enum value="0x3360" name="EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT"/>
<enum value="0x3361" name="EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT"/>
<enum value="0x3362" name="EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT"/>
@ -830,7 +835,22 @@
</enums>
<enums namespace="EGL" start="0x3430" end="0x343F" vendor="ANDROID" comment="Reserved for Pablo Ceballos (Bug 15874)">
<unused start="0x3430" end="0x343F"/>
<enum value="EGL_CAST(EGLnsecsANDROID,-2)" name="EGL_TIMESTAMP_PENDING_ANDROID"/>
<enum value="EGL_CAST(EGLnsecsANDROID,-1)" name="EGL_TIMESTAMP_INVALID_ANDROID"/>
<enum value="0x3430" name="EGL_TIMESTAMPS_ANDROID"/>
<enum value="0x3431" name="EGL_COMPOSITE_DEADLINE_ANDROID"/>
<enum value="0x3432" name="EGL_COMPOSITE_INTERVAL_ANDROID"/>
<enum value="0x3433" name="EGL_COMPOSITE_TO_PRESENT_LATENCY_ANDROID"/>
<enum value="0x3434" name="EGL_REQUESTED_PRESENT_TIME_ANDROID"/>
<enum value="0x3435" name="EGL_RENDERING_COMPLETE_TIME_ANDROID"/>
<enum value="0x3436" name="EGL_COMPOSITION_LATCH_TIME_ANDROID"/>
<enum value="0x3437" name="EGL_FIRST_COMPOSITION_START_TIME_ANDROID"/>
<enum value="0x3438" name="EGL_LAST_COMPOSITION_START_TIME_ANDROID"/>
<enum value="0x3439" name="EGL_FIRST_COMPOSITION_GPU_FINISHED_TIME_ANDROID"/>
<enum value="0x343A" name="EGL_DISPLAY_PRESENT_TIME_ANDROID"/>
<enum value="0x343B" name="EGL_DEQUEUE_READY_TIME_ANDROID"/>
<enum value="0x343C" name="EGL_READS_DONE_TIME_ANDROID"/>
<unused start="0x343D" end="0x343F"/>
</enums>
<enums namespace="EGL" start="0x3440" end="0x344F" vendor="ANDROID" comment="Reserved for Kristian Kristensen (Bug 16033)">
@ -857,7 +877,14 @@
<enum value="0x3461" name="EGL_EXTERNAL_REF_ID_EXT"/>
<enum value="0x3462" name="EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT"/>
<enum value="0x3463" name="EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT"/>
<unused start="0x3464" end="0x346F"/>
<enum value="0x3464" name="EGL_FRONT_BUFFER_EXT"/>
<unused start="0x3465" end="0x346F"/>
</enums>
<enums namespace="EGL" start="0x3470" end="0x347F" vendor="EXT" comment="Reserved for Daniel Stone (PR 14)">
<enum value="0x3470" name="EGL_IMPORT_SYNC_TYPE_EXT"/>
<enum value="0x3471" name="EGL_IMPORT_IMPLICIT_SYNC_EXT"/>
<enum value="0x3472" name="EGL_IMPORT_EXPLICIT_SYNC_EXT"/>
</enums>
<!-- Please remember that new enumerant allocations must be obtained by
@ -869,8 +896,8 @@
<!-- Reservable for future use. To generate a new range, allocate multiples
of 16 starting at the lowest available point in this block. -->
<enums namespace="EGL" start="0x3470" end="0x3FFF" vendor="KHR" comment="Reserved for future use">
<unused start="0x3470" end="0x3FFF"/>
<enums namespace="EGL" start="0x3480" end="0x3FFF" vendor="KHR" comment="Reserved for future use">
<unused start="0x3480" end="0x3FFF"/>
</enums>
<enums namespace="EGL" start="0x8F70" end="0x8F7F" vendor="HI" comment="For Mark Callow, Khronos bug 4055. Shared with GL.">
@ -1186,6 +1213,10 @@
<command>
<proto><ptype>EGLint</ptype> <name>eglGetError</name></proto>
</command>
<command>
<proto><ptype>EGLClientBuffer</ptype> <name>eglGetNativeClientBufferANDROID</name></proto>
<param>const struct <ptype>AHardwareBuffer</ptype> *<name>buffer</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglGetOutputLayersEXT</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
@ -1304,6 +1335,41 @@
<param><ptype>EGLSurface</ptype> <name>surface</name></param>
<param><ptype>EGLnsecsANDROID</ptype> <name>time</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglGetCompositorTimingSupportedANDROID</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLSurface</ptype> <name>surface</name></param>
<param><ptype>EGLint</ptype> <name>name</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglGetCompositorTimingANDROID</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLSurface</ptype> <name>surface</name></param>
<param><ptype>EGLint</ptype> <name>numTimestamps</name></param>
<param> const <ptype>EGLint</ptype> *<name>names</name></param>
<param><ptype>EGLnsecsANDROID</ptype> *<name>values</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglGetNextFrameIdANDROID</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLSurface</ptype> <name>surface</name></param>
<param><ptype>EGLuint64KHR</ptype> *<name>frameId</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglGetFrameTimestampSupportedANDROID</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLSurface</ptype> <name>surface</name></param>
<param><ptype>EGLint</ptype> <name>timestamp</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglGetFrameTimestampsANDROID</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLSurface</ptype> <name>surface</name></param>
<param><ptype>EGLuint64KHR</ptype> <name>frameId</name></param>
<param><ptype>EGLint</ptype> <name>numTimestamps</name></param>
<param> const <ptype>EGLint</ptype> *<name>timestamps</name></param>
<param><ptype>EGLnsecsANDROID</ptype> *<name>values</name></param>
</command>
<command>
<proto><ptype>EGLenum</ptype> <name>eglQueryAPI</name></proto>
</command>
@ -1560,7 +1626,7 @@
<proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerGLTextureExternalAttribsNV</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
<param><ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
<param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerOutputEXT</name></proto>
@ -1979,6 +2045,11 @@
<enum name="EGL_FRAMEBUFFER_TARGET_ANDROID"/>
</require>
</extension>
<extension name="EGL_ANDROID_get_native_client_buffer" supported="egl">
<require>
<command name="eglGetNativeClientBufferANDROID"/>
</require>
</extension>
<extension name="EGL_ANDROID_front_buffer_auto_refresh" supported="egl">
<require>
<enum name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/>
@ -2003,6 +2074,30 @@
<command name="eglPresentationTimeANDROID"/>
</require>
</extension>
<extension name="EGL_ANDROID_get_frame_timestamps" supported="egl">
<require>
<enum name="EGL_TIMESTAMP_PENDING_ANDROID"/>
<enum name="EGL_TIMESTAMP_INVALID_ANDROID"/>
<enum name="EGL_TIMESTAMPS_ANDROID"/>
<enum name="EGL_COMPOSITE_DEADLINE_ANDROID"/>
<enum name="EGL_COMPOSITE_INTERVAL_ANDROID"/>
<enum name="EGL_COMPOSITE_TO_PRESENT_LATENCY_ANDROID"/>
<enum name="EGL_REQUESTED_PRESENT_TIME_ANDROID"/>
<enum name="EGL_RENDERING_COMPLETE_TIME_ANDROID"/>
<enum name="EGL_COMPOSITION_LATCH_TIME_ANDROID"/>
<enum name="EGL_FIRST_COMPOSITION_START_TIME_ANDROID"/>
<enum name="EGL_LAST_COMPOSITION_START_TIME_ANDROID"/>
<enum name="EGL_FIRST_COMPOSITION_GPU_FINISHED_TIME_ANDROID"/>
<enum name="EGL_DISPLAY_PRESENT_TIME_ANDROID"/>
<enum name="EGL_DEQUEUE_READY_TIME_ANDROID"/>
<enum name="EGL_READS_DONE_TIME_ANDROID"/>
<command name="eglGetCompositorTimingSupportedANDROID"/>
<command name="eglGetCompositorTimingANDROID"/>
<command name="eglGetNextFrameIdANDROID"/>
<command name="eglGetFrameTimestampSupportedANDROID"/>
<command name="eglGetFrameTimestampsANDROID"/>
</require>
</extension>
<extension name="EGL_ANDROID_recordable" supported="egl">
<require>
<enum name="EGL_RECORDABLE_ANDROID"/>
@ -2104,6 +2199,11 @@
<enum name="EGL_GL_COLORSPACE_BT2020_PQ_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_gl_colorspace_scrgb" supported="egl">
<require>
<enum name="EGL_GL_COLORSPACE_SCRGB_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_gl_colorspace_scrgb_linear" supported="egl">
<require>
<enum name="EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT"/>
@ -2678,6 +2778,7 @@
<enum name="EGL_DRM_BUFFER_STRIDE_MESA"/>
<enum name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/>
<enum name="EGL_DRM_BUFFER_USE_SHARE_MESA"/>
<enum name="EGL_DRM_BUFFER_USE_CURSOR_MESA"/>
<command name="eglCreateDRMImageMESA"/>
<command name="eglExportDRMImageMESA"/>
</require>
@ -2725,6 +2826,11 @@
<enum name="EGL_COVERAGE_SAMPLES_NV"/>
</require>
</extension>
<extension name="EGL_NV_context_priority_realtime" supported="egl">
<require>
<enum name="EGL_CONTEXT_PRIORITY_REALTIME_NV"/>
</require>
</extension>
<extension name="EGL_NV_coverage_sample_resolve" supported="egl">
<require>
<enum name="EGL_COVERAGE_SAMPLE_RESOLVE_NV"/>
@ -2952,5 +3058,17 @@
<enum name="EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_image_implicit_sync_control" supported="egl">
<require>
<enum name="EGL_IMPORT_SYNC_TYPE_EXT"/>
<enum name="EGL_IMPORT_IMPLICIT_SYNC_EXT"/>
<enum name="EGL_IMPORT_EXPLICIT_SYNC_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_bind_to_front" supported="egl">
<require>
<enum name="EGL_FRONT_BUFFER_EXT"/>
</require>
</extension>
</extensions>
</registry>

File diff suppressed because it is too large Load Diff

@ -1,36 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<!--
Copyright (c) 2013-2016 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
"Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Materials, and to
permit persons to whom the Materials are furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Materials.
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
-->
<!--
This file, glx.xml, is the GLX API Registry. The older ".spec" file
format has been retired and will no longer be updated with new
extensions and API versions. The canonical version of the registry,
together with documentation, schema, and Python generator scripts used
to generate C header files for GLX, can always be found in the Khronos
Registry at
http://www.opengl.org/registry/
-->
<comment>
Copyright (c) 2013-2017 The Khronos Group Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
------------------------------------------------------------------------
This file, glx.xml, is the GLX API Registry. The canonical version of the
registry, together with documentation, schema, and Python generator scripts
used to generate C header files for GLX, can always be found in the Khronos
Registry at
https://github.com/KhronosGroup/OpenGL-Registry
</comment>
<!-- SECTION: GLX type definitions. Does not include X or GL types. -->
<types>
@ -470,6 +462,10 @@ typedef unsigned __int64 uint64_t;
<unused start="0x21A9" end="0x21AF"/>
</enums>
<enums namespace="GLX" start="0x31B3" end="0x31B3" vendor="ARB" comment="Shared with WGL.">
<enum value="0x31B3" name="GLX_CONTEXT_OPENGL_NO_ERROR_ARB"/>
</enums>
<enums namespace="GLX" start="0x8000" end="0x804F" vendor="ARB">
<enum value="0x8000" name="GLX_NONE" comment="Attribute value"/>
<enum value="0x8001" name="GLX_SLOW_CONFIG" comment="CONFIG_CAVEAT attribute value"/>
@ -1075,6 +1071,9 @@ typedef unsigned __int64 uint64_t;
<param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
<param>unsigned long *<name>mask</name></param>
</command>
<command>
<proto>int <name>glXGetSwapIntervalMESA</name></proto>
</command>
<command>
<proto><ptype>Bool</ptype> <name>glXGetSyncValuesOML</name></proto>
<param><ptype>Display</ptype> *<name>dpy</name></param>
@ -1411,6 +1410,10 @@ typedef unsigned __int64 uint64_t;
<param><ptype>int64_t</ptype> <name>divisor</name></param>
<param><ptype>int64_t</ptype> <name>remainder</name></param>
</command>
<command>
<proto>int <name>glXSwapIntervalMESA</name></proto>
<param>unsigned int <name>interval</name></param>
</command>
<command>
<proto>void <name>glXSwapIntervalEXT</name></proto>
<param><ptype>Display</ptype> *<name>dpy</name></param>
@ -1670,6 +1673,11 @@ typedef unsigned __int64 uint64_t;
<command name="glXCreateContextAttribsARB"/>
</require>
</extension>
<extension name="GLX_ARB_create_context_no_error" supported="glx">
<require>
<enum name="GLX_CONTEXT_OPENGL_NO_ERROR_ARB"/>
</require>
</extension>
<extension name="GLX_ARB_create_context_profile" supported="glx">
<require>
<enum name="GLX_CONTEXT_CORE_PROFILE_BIT_ARB"/>
@ -1765,6 +1773,8 @@ typedef unsigned __int64 uint64_t;
<enum name="GLX_VENDOR_NAMES_EXT"/>
</require>
</extension>
<extension name="GLX_EXT_no_config_context" supported="glx">
</extension>
<extension name="GLX_EXT_stereo_tree" supported="glx">
<require>
<type name="GLXStereoNotifyEventEXT"/>
@ -1907,6 +1917,12 @@ typedef unsigned __int64 uint64_t;
<command name="glXSet3DfxModeMESA"/>
</require>
</extension>
<extension name="GLX_MESA_swap_control" supported="glx">
<require>
<command name="glXGetSwapIntervalMESA"/>
<command name="glXSwapIntervalMESA"/>
</require>
</extension>
<extension name="GLX_NV_copy_buffer" supported="glx">
<require>
<command name="glXCopyBufferSubDataNV"/>

@ -1,36 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<!--
Copyright (c) 2013-2016 The Khronos Group Inc.
<comment>
Copyright (c) 2013-2017 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
"Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Materials, and to
permit persons to whom the Materials are furnished to do so, subject to
the following conditions:
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Materials.
http://www.apache.org/licenses/LICENSE-2.0
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
-->
<!--
This file, wgl.xml, is the WGL API Registry. The older ".spec" file
format has been retired and will no longer be updated with new
extensions and API versions. The canonical version of the registry,
together with documentation, schema, and Python generator scripts used
to generate C header files for WGL, can always be found in the Khronos
Registry at
http://www.opengl.org/registry/
-->
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
------------------------------------------------------------------------
This file, wgl.xml, is the WGL API Registry. The older ".spec" file
format has been retired and will no longer be updated with new
extensions and API versions. The canonical version of the registry,
together with documentation, schema, and Python generator scripts used
to generate C header files for WGL, can always be found in the Khronos
Registry at
https://github.com/KhronosGroup/OpenGL-Registry
</comment>
<!-- SECTION: WGL type definitions. Does not include base Windows types. -->
@ -462,6 +456,10 @@
<enum value="0x308A" name="WGL_COLORSPACE_LINEAR_EXT"/>
</enums>
<enums namespace="WGL" start="0x31B3" end="0x31B3" vendor="ARB" comment="Shared with GLX.">
<enum value="0x31B3" name="WGL_CONTEXT_OPENGL_NO_ERROR_ARB"/>
</enums>
<enums namespace="GL" start="0x8250" end="0x826F" vendor="ARB" comment="Values shared with GL. Do not allocate additional values in this range.">
<enum value="0x8252" name="WGL_LOSE_CONTEXT_ON_RESET_ARB"/>
<enum value="0x8256" name="WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"/>
@ -1451,6 +1449,11 @@
<command name="wglCreateContextAttribsARB"/>
</require>
</extension>
<extension name="WGL_ARB_create_context_no_error" supported="wgl">
<require>
<enum name="WGL_CONTEXT_OPENGL_NO_ERROR_ARB"/>
</require>
</extension>
<extension name="WGL_ARB_create_context_profile" supported="wgl">
<require>
<enum name="WGL_CONTEXT_PROFILE_MASK_ARB"/>

Loading…
Cancel
Save