Update OpenGL/EGL registries

OpenGL: 253836ac53b2e248fa47d96cacc18a63ac27c703
EGL: a9bef577b041caab108257ea386d0302290d4361
macos/v1.5.9
Gurchetan Singh 5 years ago
parent 09c7657370
commit 5a281aeaa5
  1. 512
      registry/egl.xml
  2. 10640
      registry/gl.xml
  3. 105
      registry/glx.xml
  4. 91
      registry/wgl.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<registry> <registry>
<!-- <!--
Copyright (c) 2013-2016 The Khronos Group Inc. Copyright (c) 2013-2017 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the copy of this software and/or associated documentation files (the
@ -29,7 +29,7 @@
together with documentation, schema, and Python generator scripts used together with documentation, schema, and Python generator scripts used
to generate C header files for EGL, can be found in the Khronos Registry to generate C header files for EGL, can be found in the Khronos Registry
at at
http://www.opengl.org/registry/ https://www.github.com/KhronosGroup/EGL-Registry
--> -->
<!-- SECTION: EGL type definitions. Does not include GL types. --> <!-- SECTION: EGL type definitions. Does not include GL types. -->
@ -38,6 +38,7 @@
<type name="khrplatform">#include &lt;KHR/khrplatform.h&gt;</type> <type name="khrplatform">#include &lt;KHR/khrplatform.h&gt;</type>
<type name="eglplatform" requires="khrplatform">#include &lt;EGL/eglplatform.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_utime_nanoseconds_t" requires="khrplatform"/>
<type name="khronos_stime_nanoseconds_t" requires="khrplatform"/>
<type name="khronos_uint64_t" requires="khrplatform"/> <type name="khronos_uint64_t" requires="khrplatform"/>
<type name="khronos_ssize_t" requires="khrplatform"/> <type name="khronos_ssize_t" requires="khrplatform"/>
<type name="EGLNativeDisplayType" requires="eglplatform"/> <type name="EGLNativeDisplayType" requires="eglplatform"/>
@ -47,6 +48,7 @@
<type name="NativeDisplayType" requires="eglplatform"/> <type name="NativeDisplayType" requires="eglplatform"/>
<type name="NativePixmapType" requires="eglplatform"/> <type name="NativePixmapType" requires="eglplatform"/>
<type name="NativeWindowType" requires="eglplatform"/> <type name="NativeWindowType" requires="eglplatform"/>
<type>struct <name>AHardwareBuffer</name>;</type>
<!-- Dummy placeholders for non-EGL types --> <!-- Dummy placeholders for non-EGL types -->
<type name="Bool"/> <type name="Bool"/>
<!-- These are actual EGL types. --> <!-- These are actual EGL types. -->
@ -147,6 +149,7 @@
<enums namespace="EGLDRMBufferUseMESAMask" type="bitmask" comment="EGL_DRM_BUFFER_USE_MESA bits"> <enums namespace="EGLDRMBufferUseMESAMask" type="bitmask" comment="EGL_DRM_BUFFER_USE_MESA bits">
<enum value="0x00000001" name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/> <enum value="0x00000001" name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/>
<enum value="0x00000002" name="EGL_DRM_BUFFER_USE_SHARE_MESA"/> <enum value="0x00000002" name="EGL_DRM_BUFFER_USE_SHARE_MESA"/>
<enum value="0x00000004" name="EGL_DRM_BUFFER_USE_CURSOR_MESA"/>
</enums> </enums>
<!-- Should be shared with GL, but aren't aren't since the <!-- Should be shared with GL, but aren't aren't since the
@ -185,25 +188,25 @@
</enums> </enums>
<enums namespace="EGL" group="SpecialNumbers" vendor="ARB" comment="Tokens whose numeric value is intrinsically meaningful"> <enums namespace="EGL" group="SpecialNumbers" vendor="ARB" comment="Tokens whose numeric value is intrinsically meaningful">
<enum value="((EGLint)-1)" name="EGL_DONT_CARE"/> <enum value="EGL_CAST(EGLint,-1)" name="EGL_DONT_CARE"/>
<enum value="((EGLint)-1)" name="EGL_UNKNOWN"/> <enum value="EGL_CAST(EGLint,-1)" name="EGL_UNKNOWN"/>
<enum value="-1" name="EGL_NO_NATIVE_FENCE_FD_ANDROID"/> <enum value="-1" name="EGL_NO_NATIVE_FENCE_FD_ANDROID"/>
<enum value="0" name="EGL_DEPTH_ENCODING_NONE_NV"/> <enum value="0" name="EGL_DEPTH_ENCODING_NONE_NV"/>
<enum value="((EGLContext)0)" name="EGL_NO_CONTEXT"/> <enum value="EGL_CAST(EGLContext,0)" name="EGL_NO_CONTEXT"/>
<enum value="((EGLDeviceEXT)(0))" name="EGL_NO_DEVICE_EXT"/> <enum value="EGL_CAST(EGLDeviceEXT,0)" name="EGL_NO_DEVICE_EXT"/>
<enum value="((EGLDisplay)0)" name="EGL_NO_DISPLAY"/> <enum value="EGL_CAST(EGLDisplay,0)" name="EGL_NO_DISPLAY"/>
<enum value="((EGLImage)0)" name="EGL_NO_IMAGE"/> <enum value="EGL_CAST(EGLImage,0)" name="EGL_NO_IMAGE"/>
<enum value="((EGLImageKHR)0)" name="EGL_NO_IMAGE_KHR"/> <enum value="EGL_CAST(EGLImageKHR,0)" name="EGL_NO_IMAGE_KHR"/>
<enum value="((EGLNativeDisplayType)0)" name="EGL_DEFAULT_DISPLAY"/> <enum value="EGL_CAST(EGLNativeDisplayType,0)" name="EGL_DEFAULT_DISPLAY"/>
<enum value="((EGLNativeFileDescriptorKHR)(-1))" name="EGL_NO_FILE_DESCRIPTOR_KHR"/> <enum value="EGL_CAST(EGLNativeFileDescriptorKHR,-1)" name="EGL_NO_FILE_DESCRIPTOR_KHR"/>
<enum value="((EGLOutputLayerEXT)0)" name="EGL_NO_OUTPUT_LAYER_EXT"/> <enum value="EGL_CAST(EGLOutputLayerEXT,0)" name="EGL_NO_OUTPUT_LAYER_EXT"/>
<enum value="((EGLOutputPortEXT)0)" name="EGL_NO_OUTPUT_PORT_EXT"/> <enum value="EGL_CAST(EGLOutputPortEXT,0)" name="EGL_NO_OUTPUT_PORT_EXT"/>
<enum value="((EGLStreamKHR)0)" name="EGL_NO_STREAM_KHR"/> <enum value="EGL_CAST(EGLStreamKHR,0)" name="EGL_NO_STREAM_KHR"/>
<enum value="((EGLSurface)0)" name="EGL_NO_SURFACE"/> <enum value="EGL_CAST(EGLSurface,0)" name="EGL_NO_SURFACE"/>
<enum value="((EGLSync)0)" name="EGL_NO_SYNC"/> <enum value="EGL_CAST(EGLSync,0)" name="EGL_NO_SYNC"/>
<enum value="((EGLSyncKHR)0)" name="EGL_NO_SYNC_KHR" alias="EGL_NO_SYNC"/> <enum value="EGL_CAST(EGLSyncKHR,0)" name="EGL_NO_SYNC_KHR" alias="EGL_NO_SYNC"/>
<enum value="((EGLSyncNV)0)" name="EGL_NO_SYNC_NV" alias="EGL_NO_SYNC"/> <enum value="EGL_CAST(EGLSyncNV,0)" name="EGL_NO_SYNC_NV" alias="EGL_NO_SYNC"/>
<enum value="((EGLConfig)0)" name="EGL_NO_CONFIG_KHR"/> <enum value="EGL_CAST(EGLConfig,0)" name="EGL_NO_CONFIG_KHR"/>
<enum value="10000" name="EGL_DISPLAY_SCALING"/> <enum value="10000" name="EGL_DISPLAY_SCALING"/>
<enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER" type="ull"/> <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER" type="ull"/>
<enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER_KHR" type="ull" alias="EGL_FOREVER"/> <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER_KHR" type="ull" alias="EGL_FOREVER"/>
@ -465,8 +468,20 @@
<unused start="0x3111" end="0x311F"/> <unused start="0x3111" end="0x311F"/>
</enums> </enums>
<enums namespace="EGL" start="0x3120" end="0x312F" vendor="AMD" comment="Reserved for David Garcia (Khronos bug 5149)"> <enums namespace="EGL" start="0x3120" end="0x312F" vendor="QCOM" comment="EGL_QCOM_create_image">
<unused start="0x3120" end="0x312F"/> <enum value="0x3120" name="EGL_NEW_IMAGE_QCOM"/>
<enum value="0x3121" name="EGL_IMAGE_FORMAT_QCOM"/>
<enum value="0x3122" name="EGL_FORMAT_RGBA_8888_QCOM"/>
<enum value="0x3123" name="EGL_FORMAT_RGB_565_QCOM"/>
<enum value="0x3124" name="EGL_FORMAT_YUYV_QCOM"/>
<enum value="0x3125" name="EGL_FORMAT_UYVY_QCOM"/>
<enum value="0x3126" name="EGL_FORMAT_YV12_QCOM"/>
<enum value="0x3127" name="EGL_FORMAT_NV21_QCOM"/>
<enum value="0x3128" name="EGL_FORMAT_NV12_TILED_QCOM"/>
<enum value="0x3129" name="EGL_FORMAT_BGRA_8888_QCOM"/>
<enum value="0x312A" name="EGL_FORMAT_BGRX_8888_QCOM"/>
<unused start="0x312B" end="0x312E"/>
<enum value="0x312F" name="EGL_FORMAT_RGBX_8888_QCOM"/>
</enums> </enums>
<enums namespace="EGL" start="0x3130" end="0x313F" vendor="NV" comment="Reserved for Greg Prisament (Khronos bug 5166)"> <enums namespace="EGL" start="0x3130" end="0x313F" vendor="NV" comment="Reserved for Greg Prisament (Khronos bug 5166)">
@ -497,7 +512,8 @@
<enum value="0x3147" name="EGL_FRAMEBUFFER_TARGET_ANDROID"/> <enum value="0x3147" name="EGL_FRAMEBUFFER_TARGET_ANDROID"/>
<unused start="0x3148" end="0x314B"/> <unused start="0x3148" end="0x314B"/>
<enum value="0x314C" name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/> <enum value="0x314C" name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/>
<unused start="0x314D" end="0x314F"/> <enum value="0x314D" name="EGL_GL_COLORSPACE_DEFAULT_EXT"/>
<unused start="0x314E" end="0x314F"/>
</enums> </enums>
<enums namespace="EGL" start="0x3150" end="0x315F" vendor="NOK" comment="Reserved for Robert Palmer (Khronos bug 5368)"> <enums namespace="EGL" start="0x3150" end="0x315F" vendor="NOK" comment="Reserved for Robert Palmer (Khronos bug 5368)">
@ -532,8 +548,23 @@
<enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET_EXT" alias="EGL_LOSE_CONTEXT_ON_RESET"/> <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET_EXT" alias="EGL_LOSE_CONTEXT_ON_RESET"/>
</enums> </enums>
<enums namespace="EGL" start="0x31C0" end="0x31CF" vendor="QCOM" comment="Reserved for Maurice Ribble (Khronos bug 6644) - EGL_QCOM_create_image spec TBD"> <enums namespace="EGL" start="0x31C0" end="0x31CF" vendor="QCOM" comment="Reserved for Maurice Ribble (Khronos bug 6644) - EGL_QCOM_create_image spec">
<unused start="0x31C0" end="0x31CF"/> <enum value="0x31C0" name="EGL_FORMAT_R8_QCOM"/>
<enum value="0x31C1" name="EGL_FORMAT_RG88_QCOM"/>
<enum value="0x31C2" name="EGL_FORMAT_NV12_QCOM"/>
<enum value="0x31C3" name="EGL_FORMAT_SRGBX_8888_QCOM"/>
<enum value="0x31C4" name="EGL_FORMAT_SRGBA_8888_QCOM"/>
<enum value="0x31C5" name="EGL_FORMAT_YVYU_QCOM"/>
<enum value="0x31C6" name="EGL_FORMAT_VYUY_QCOM"/>
<enum value="0x31C7" name="EGL_FORMAT_IYUV_QCOM"/>
<enum value="0x31C8" name="EGL_FORMAT_RGB_888_QCOM"/>
<enum value="0x31C9" name="EGL_FORMAT_RGBA_5551_QCOM"/>
<enum value="0x31CA" name="EGL_FORMAT_RGBA_4444_QCOM"/>
<enum value="0x31CB" name="EGL_FORMAT_R_16_FLOAT_QCOM"/>
<enum value="0x31CC" name="EGL_FORMAT_RG_1616_FLOAT_QCOM"/>
<enum value="0x31CD" name="EGL_FORMAT_RGBA_16_FLOAT_QCOM"/>
<enum value="0x31CE" name="EGL_FORMAT_RGBA_1010102_QCOM"/>
<enum value="0x31CF" name="EGL_FORMAT_FLAG_QCOM"/>
</enums> </enums>
<enums namespace="EGL" start="0x31D0" end="0x31DF" vendor="MESA" comment="Reserved for Kristian H&#248;gsberg (Khronos bug 6757)"> <enums namespace="EGL" start="0x31D0" end="0x31DF" vendor="MESA" comment="Reserved for Kristian H&#248;gsberg (Khronos bug 6757)">
@ -613,7 +644,9 @@
<enum value="0x322D" name="EGL_BAD_OUTPUT_LAYER_EXT"/> <enum value="0x322D" name="EGL_BAD_OUTPUT_LAYER_EXT"/>
<enum value="0x322E" name="EGL_BAD_OUTPUT_PORT_EXT"/> <enum value="0x322E" name="EGL_BAD_OUTPUT_PORT_EXT"/>
<enum value="0x322F" name="EGL_SWAP_INTERVAL_EXT"/> <enum value="0x322F" name="EGL_SWAP_INTERVAL_EXT"/>
<unused start="0x3230" end="0x3232"/> <enum value="0x3230" name="EGL_TRIPLE_BUFFER_NV"/>
<enum value="0x3231" name="EGL_QUADRUPLE_BUFFER_NV"/>
<unused start="0x3232"/>
<enum value="0x3233" name="EGL_DRM_DEVICE_FILE_EXT"/> <enum value="0x3233" name="EGL_DRM_DEVICE_FILE_EXT"/>
<enum value="0x3234" name="EGL_DRM_CRTC_EXT"/> <enum value="0x3234" name="EGL_DRM_CRTC_EXT"/>
<enum value="0x3235" name="EGL_DRM_PLANE_EXT"/> <enum value="0x3235" name="EGL_DRM_PLANE_EXT"/>
@ -701,8 +734,23 @@
<unused start="0x32A2" end="0x32AF"/> <unused start="0x32A2" end="0x32AF"/>
</enums> </enums>
<enums namespace="EGL" start="0x32B0" end="0x32BF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 10663) - EGL_QCOM_lock_image spec TBD"> <enums namespace="EGL" start="0x32B0" end="0x32BF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 10663) - EGL_QCOM_lock_image2 spec">
<unused start="0x32B0" end="0x32BF"/> <enum value="0x32B0" name="EGL_IMAGE_NUM_PLANES_QCOM"/>
<enum value="0x32B1" name="EGL_IMAGE_PLANE_PITCH_0_QCOM"/>
<enum value="0x32B2" name="EGL_IMAGE_PLANE_PITCH_1_QCOM"/>
<enum value="0x32B3" name="EGL_IMAGE_PLANE_PITCH_2_QCOM"/>
<enum value="0x32B4" name="EGL_IMAGE_PLANE_DEPTH_0_QCOM"/>
<enum value="0x32B5" name="EGL_IMAGE_PLANE_DEPTH_1_QCOM"/>
<enum value="0x32B6" name="EGL_IMAGE_PLANE_DEPTH_2_QCOM"/>
<enum value="0x32B7" name="EGL_IMAGE_PLANE_WIDTH_0_QCOM"/>
<enum value="0x32B8" name="EGL_IMAGE_PLANE_WIDTH_1_QCOM"/>
<enum value="0x32B9" name="EGL_IMAGE_PLANE_WIDTH_2_QCOM"/>
<enum value="0x32BA" name="EGL_IMAGE_PLANE_HEIGHT_0_QCOM"/>
<enum value="0x32BB" name="EGL_IMAGE_PLANE_HEIGHT_1_QCOM"/>
<enum value="0x32BC" name="EGL_IMAGE_PLANE_HEIGHT_2_QCOM"/>
<enum value="0x32BD" name="EGL_IMAGE_PLANE_POINTER_0_QCOM"/>
<enum value="0x32BE" name="EGL_IMAGE_PLANE_POINTER_1_QCOM"/>
<enum value="0x32BF" name="EGL_IMAGE_PLANE_POINTER_2_QCOM"/>
</enums> </enums>
<enums namespace="EGL" start="0x32C0" end="0x32CF" vendor="Vivante" comment="Reserved for Yanjun Zhang (Bug 11498)"> <enums namespace="EGL" start="0x32C0" end="0x32CF" vendor="Vivante" comment="Reserved for Yanjun Zhang (Bug 11498)">
@ -710,8 +758,10 @@
<unused start="0x32C1" end="0x32CF"/> <unused start="0x32C1" end="0x32CF"/>
</enums> </enums>
<enums namespace="EGL" start="0x32D0" end="0x32EF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 11735) - EGL_QCOM_gpu_perf spec TBD + Bug 12286 - EGL_QCOM_content_protection spec TBD"> <enums namespace="EGL" start="0x32D0" end="0x32EF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 11735) - EGL_QCOM_gpu_perf spec">
<unused start="0x32D0" end="0x32EF"/> <enum value="0x32D0" name="EGL_GPU_PERF_HINT_QCOM"/>
<enum value="0x32D1" name="EGL_HINT_PERSISTENT_QCOM"/>
<unused start="0x32D2" end="0x32EF"/>
</enums> </enums>
<enums namespace="EGL" start="0x32F0" end="0x32FF" vendor="BCOM" comment="Reserved for Gary Sweet, Broadcom (Bug 12870)"> <enums namespace="EGL" start="0x32F0" end="0x32FF" vendor="BCOM" comment="Reserved for Gary Sweet, Broadcom (Bug 12870)">
@ -768,7 +818,8 @@
<enum value="0x3339" name="EGL_COLOR_COMPONENT_TYPE_EXT"/> <enum value="0x3339" name="EGL_COLOR_COMPONENT_TYPE_EXT"/>
<enum value="0x333A" name="EGL_COLOR_COMPONENT_TYPE_FIXED_EXT"/> <enum value="0x333A" name="EGL_COLOR_COMPONENT_TYPE_FIXED_EXT"/>
<enum value="0x333B" name="EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT"/> <enum value="0x333B" name="EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT"/>
<unused start="0x333C" end="0x333E"/> <enum value="0x333C" name="EGL_DRM_MASTER_FD_EXT"/>
<unused start="0x333D" end="0x333E"/>
<enum value="0x333F" name="EGL_GL_COLORSPACE_BT2020_LINEAR_EXT"/> <enum value="0x333F" name="EGL_GL_COLORSPACE_BT2020_LINEAR_EXT"/>
<enum value="0x3340" name="EGL_GL_COLORSPACE_BT2020_PQ_EXT"/> <enum value="0x3340" name="EGL_GL_COLORSPACE_BT2020_PQ_EXT"/>
<enum value="0x3341" name="EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT"/> <enum value="0x3341" name="EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT"/>
@ -781,13 +832,38 @@
<enum value="0x3348" name="EGL_SMPTE2086_WHITE_POINT_Y_EXT"/> <enum value="0x3348" name="EGL_SMPTE2086_WHITE_POINT_Y_EXT"/>
<enum value="0x3349" name="EGL_SMPTE2086_MAX_LUMINANCE_EXT"/> <enum value="0x3349" name="EGL_SMPTE2086_MAX_LUMINANCE_EXT"/>
<enum value="0x334A" name="EGL_SMPTE2086_MIN_LUMINANCE_EXT"/> <enum value="0x334A" name="EGL_SMPTE2086_MIN_LUMINANCE_EXT"/>
<enum value="50000" name="EGL_METADATA_SCALING_EXT"/>
<unused start="0x334B"/> <unused start="0x334B"/>
<enum value="0x334C" name="EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV"/> <enum value="0x334C" name="EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV"/>
<enum value="0x334D" name="EGL_STREAM_CROSS_OBJECT_NV"/> <enum value="0x334D" name="EGL_STREAM_CROSS_OBJECT_NV"/>
<enum value="0x334E" name="EGL_STREAM_CROSS_DISPLAY_NV"/> <enum value="0x334E" name="EGL_STREAM_CROSS_DISPLAY_NV"/>
<enum value="0x334F" name="EGL_STREAM_CROSS_SYSTEM_NV"/> <enum value="0x334F" name="EGL_STREAM_CROSS_SYSTEM_NV"/>
<enum value="0x3350" name="EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT"/> <enum value="0x3350" name="EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT"/>
<unused start="0x3351" end="0x339F"/> <enum value="0x3351" name="EGL_GL_COLORSPACE_SCRGB_EXT"/>
<enum value="0x3352" name="EGL_TRACK_REFERENCES_KHR"/>
<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"/>
<enum value="0x3363" name="EGL_GL_COLORSPACE_DISPLAY_P3_EXT"/>
<enum value="0x3364" name="EGL_SYNC_CLIENT_EXT"/>
<enum value="0x3365" name="EGL_SYNC_CLIENT_SIGNAL_EXT"/>
<enum value="0x3366" name="EGL_STREAM_FRAME_ORIGIN_X_NV"/>
<enum value="0x3367" name="EGL_STREAM_FRAME_ORIGIN_Y_NV"/>
<enum value="0x3368" name="EGL_STREAM_FRAME_MAJOR_AXIS_NV"/>
<enum value="0x3369" name="EGL_CONSUMER_AUTO_ORIENTATION_NV"/>
<enum value="0x336A" name="EGL_PRODUCER_AUTO_ORIENTATION_NV"/>
<enum value="0x336B" name="EGL_LEFT_NV"/>
<enum value="0x336C" name="EGL_RIGHT_NV"/>
<enum value="0x336D" name="EGL_TOP_NV"/>
<enum value="0x336E" name="EGL_BOTTOM_NV"/>
<enum value="0x336F" name="EGL_X_AXIS_NV"/>
<enum value="0x3370" name="EGL_Y_AXIS_NV"/>
<enum value="0x3371" name="EGL_STREAM_DMA_NV"/>
<enum value="0x3372" name="EGL_STREAM_DMA_SERVER_NV"/>
<unused start="0x3373" end="0x339F"/>
</enums> </enums>
<enums namespace="EGL" start="0x33A0" end="0x33AF" vendor="ANGLE" comment="Reserved for Shannon Woods (Bug 13175)"> <enums namespace="EGL" start="0x33A0" end="0x33AF" vendor="ANGLE" comment="Reserved for Shannon Woods (Bug 13175)">
@ -817,12 +893,73 @@
<unused start="0x33C0" end="0x33DF"/> <unused start="0x33C0" end="0x33DF"/>
</enums> </enums>
<enums namespace="EGL" start="0x33E0" end="0x342F" vendor="QCOM" comment="Reserved for Jeff Vigil (Bugs 10663,13364)"> <enums namespace="EGL" start="0x33E0" end="0x342F" vendor="QCOM" comment="EGL_QCOM_create_image and EGL_QCOM_lock_image2">
<unused start="0x33E0" end="0x342F"/> <enum value="0x33E0" name="EGL_FORMAT_FLAG_UBWC_QCOM"/>
<enum value="0x33E1" name="EGL_FORMAT_FLAG_MACROTILE_QCOM"/>
<enum value="0x33E2" name="EGL_FORMAT_ASTC_4X4_QCOM"/>
<enum value="0x33E3" name="EGL_FORMAT_ASTC_5X4_QCOM"/>
<enum value="0x33E4" name="EGL_FORMAT_ASTC_5X5_QCOM"/>
<enum value="0x33E5" name="EGL_FORMAT_ASTC_6X5_QCOM"/>
<enum value="0x33E6" name="EGL_FORMAT_ASTC_6X6_QCOM"/>
<enum value="0x33E7" name="EGL_FORMAT_ASTC_8X5_QCOM"/>
<enum value="0x33E8" name="EGL_FORMAT_ASTC_8X6_QCOM"/>
<enum value="0x33E9" name="EGL_FORMAT_ASTC_8X8_QCOM"/>
<enum value="0x33EA" name="EGL_FORMAT_ASTC_10X5_QCOM"/>
<enum value="0x33EB" name="EGL_FORMAT_ASTC_10X6_QCOM"/>
<enum value="0x33EC" name="EGL_FORMAT_ASTC_10X8_QCOM"/>
<enum value="0x33ED" name="EGL_FORMAT_ASTC_10X10_QCOM"/>
<enum value="0x33EE" name="EGL_FORMAT_ASTC_12X10_QCOM"/>
<enum value="0x33EF" name="EGL_FORMAT_ASTC_12X12_QCOM"/>
<enum value="0x3400" name="EGL_FORMAT_ASTC_4X4_SRGB_QCOM"/>
<enum value="0x3401" name="EGL_FORMAT_ASTC_5X4_SRGB_QCOM"/>
<enum value="0x3402" name="EGL_FORMAT_ASTC_5X5_SRGB_QCOM"/>
<enum value="0x3403" name="EGL_FORMAT_ASTC_6X5_SRGB_QCOM"/>
<enum value="0x3404" name="EGL_FORMAT_ASTC_6X6_SRGB_QCOM"/>
<enum value="0x3405" name="EGL_FORMAT_ASTC_8X5_SRGB_QCOM"/>
<enum value="0x3406" name="EGL_FORMAT_ASTC_8X6_SRGB_QCOM"/>
<enum value="0x3407" name="EGL_FORMAT_ASTC_8X8_SRGB_QCOM"/>
<enum value="0x3408" name="EGL_FORMAT_ASTC_10X5_SRGB_QCOM"/>
<enum value="0x3409" name="EGL_FORMAT_ASTC_10X6_SRGB_QCOM"/>
<enum value="0x340A" name="EGL_FORMAT_ASTC_10X8_SRGB_QCOM"/>
<enum value="0x340B" name="EGL_FORMAT_ASTC_10X10_SRGB_QCOM"/>
<enum value="0x340C" name="EGL_FORMAT_ASTC_12X10_SRGB_QCOM"/>
<enum value="0x340D" name="EGL_FORMAT_ASTC_12X12_SRGB_QCOM"/>
<enum value="0x340E" name="EGL_FORMAT_TP10_QCOM"/>
<enum value="0x340F" name="EGL_FORMAT_NV12_Y_QCOM"/>
<enum value="0x3410" name="EGL_FORMAT_NV12_UV_QCOM"/>
<enum value="0x3411" name="EGL_FORMAT_NV21_VU_QCOM"/>
<enum value="0x3412" name="EGL_FORMAT_NV12_4R_QCOM"/>
<enum value="0x3413" name="EGL_FORMAT_NV12_4R_Y_QCOM"/>
<enum value="0x3414" name="EGL_FORMAT_NV12_4R_UV_QCOM"/>
<enum value="0x3415" name="EGL_FORMAT_P010_QCOM"/>
<enum value="0x3416" name="EGL_FORMAT_P010_Y_QCOM"/>
<enum value="0x3417" name="EGL_FORMAT_P010_UV_QCOM"/>
<enum value="0x3418" name="EGL_FORMAT_TP10_Y_QCOM"/>
<enum value="0x3419" name="EGL_FORMAT_TP10_UV_QCOM"/>
<unused start="0x341A" end="0x341F"/>
<enum value="0x3420" name="EGL_GENERIC_TOKEN_1_QCOM"/>
<enum value="0x3421" name="EGL_GENERIC_TOKEN_2_QCOM"/>
<enum value="0x3422" name="EGL_GENERIC_TOKEN_3_QCOM"/>
<unused start="0x3423" end="0x342F"/>
</enums> </enums>
<enums namespace="EGL" start="0x3430" end="0x343F" vendor="ANDROID" comment="Reserved for Pablo Ceballos (Bug 15874)"> <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>
<enums namespace="EGL" start="0x3440" end="0x344F" vendor="ANDROID" comment="Reserved for Kristian Kristensen (Bug 16033)"> <enums namespace="EGL" start="0x3440" end="0x344F" vendor="ANDROID" comment="Reserved for Kristian Kristensen (Bug 16033)">
@ -844,6 +981,28 @@
<unused start="0x3450" end="0x345F"/> <unused start="0x3450" end="0x345F"/>
</enums> </enums>
<enums namespace="EGL" start="0x3460" end="0x346F" vendor="COREAVI" comment="Reserved for Daniel Herring (Bug 16162)">
<enum value="0x3460" name="EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT"/>
<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"/>
<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>
<enums namespace="EGL" start="0x3480" end="0x348F" vendor="ANGLE" comment="Reserved for Courtney Goeltzenleuchter - ANGLE (gitlab EGL bug 7)">
<unused start="0x3480" end="0x348F"/>
</enums>
<enums namespace="EGL" start="0x3490" end="0x349F" vendor="EXT" comment="Reserved for Courtney Goeltzenleuchter - Android (gitlab EGL bug 69)">
<enum value="0x3490" name="EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT"/>
<unused start="0x3491" end="0x349F"/>
</enums>
<!-- Please remember that new enumerant allocations must be obtained by <!-- Please remember that new enumerant allocations must be obtained by
request to the Khronos API registrar (see comments at the top of this request to the Khronos API registrar (see comments at the top of this
file) File requests in the Khronos Bugzilla, EGL project, Registry file) File requests in the Khronos Bugzilla, EGL project, Registry
@ -853,8 +1012,8 @@
<!-- Reservable for future use. To generate a new range, allocate multiples <!-- Reservable for future use. To generate a new range, allocate multiples
of 16 starting at the lowest available point in this block. --> of 16 starting at the lowest available point in this block. -->
<enums namespace="EGL" start="0x3460" end="0x3FFF" vendor="KHR" comment="Reserved for future use"> <enums namespace="EGL" start="0x34A0" end="0x3FFF" vendor="KHR" comment="Reserved for future use">
<unused start="0x3460" end="0x3FFF"/> <unused start="0x34A0" end="0x3FFF"/>
</enums> </enums>
<enums namespace="EGL" start="0x8F70" end="0x8F7F" vendor="HI" comment="For Mark Callow, Khronos bug 4055. Shared with GL."> <enums namespace="EGL" start="0x8F70" end="0x8F7F" vendor="HI" comment="For Mark Callow, Khronos bug 4055. Shared with GL.">
@ -885,6 +1044,12 @@
<param><ptype>EGLint</ptype> <name>config_size</name></param> <param><ptype>EGLint</ptype> <name>config_size</name></param>
<param><ptype>EGLint</ptype> *<name>num_config</name></param> <param><ptype>EGLint</ptype> *<name>num_config</name></param>
</command> </command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglClientSignalSyncEXT</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLSync</ptype> <name>sync</name></param>
<param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
</command>
<command> <command>
<proto><ptype>EGLint</ptype> <name>eglClientWaitSync</name></proto> <proto><ptype>EGLint</ptype> <name>eglClientWaitSync</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
@ -1167,9 +1332,21 @@
<proto><ptype>EGLDisplay</ptype> <name>eglGetDisplay</name></proto> <proto><ptype>EGLDisplay</ptype> <name>eglGetDisplay</name></proto>
<param><ptype>EGLNativeDisplayType</ptype> <name>display_id</name></param> <param><ptype>EGLNativeDisplayType</ptype> <name>display_id</name></param>
</command> </command>
<command>
<proto>char *<name>eglGetDisplayDriverConfig</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
</command>
<command>
<proto>const char *<name>eglGetDisplayDriverName</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
</command>
<command> <command>
<proto><ptype>EGLint</ptype> <name>eglGetError</name></proto> <proto><ptype>EGLint</ptype> <name>eglGetError</name></proto>
</command> </command>
<command>
<proto><ptype>EGLClientBuffer</ptype> <name>eglGetNativeClientBufferANDROID</name></proto>
<param>const struct <ptype>AHardwareBuffer</ptype> *<name>buffer</name></param>
</command>
<command> <command>
<proto><ptype>EGLBoolean</ptype> <name>eglGetOutputLayersEXT</name></proto> <proto><ptype>EGLBoolean</ptype> <name>eglGetOutputLayersEXT</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
@ -1288,6 +1465,41 @@
<param><ptype>EGLSurface</ptype> <name>surface</name></param> <param><ptype>EGLSurface</ptype> <name>surface</name></param>
<param><ptype>EGLnsecsANDROID</ptype> <name>time</name></param> <param><ptype>EGLnsecsANDROID</ptype> <name>time</name></param>
</command> </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> <command>
<proto><ptype>EGLenum</ptype> <name>eglQueryAPI</name></proto> <proto><ptype>EGLenum</ptype> <name>eglQueryAPI</name></proto>
</command> </command>
@ -1325,29 +1537,36 @@
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLint</ptype> <name>attribute</name></param> <param><ptype>EGLint</ptype> <name>attribute</name></param>
<param><ptype>EGLAttrib</ptype> *<name>value</name></param> <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
<alias name="eglQueryDisplayAttribKHR"/>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglQueryDisplayAttribKHR</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLint</ptype> <name>name</name></param>
<param><ptype>EGLAttrib</ptype> *<name>value</name></param>
</command> </command>
<command> <command>
<proto><ptype>EGLBoolean</ptype> <name>eglQueryDisplayAttribNV</name></proto> <proto><ptype>EGLBoolean</ptype> <name>eglQueryDisplayAttribNV</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLint</ptype> <name>attribute</name></param> <param><ptype>EGLint</ptype> <name>attribute</name></param>
<param><ptype>EGLAttrib</ptype> *<name>value</name></param> <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
<alias name="eglQueryDisplayAttribEXT"/> <alias name="eglQueryDisplayAttribKHR"/>
</command> </command>
<command> <command>
<proto><ptype>EGLBoolean</ptype> <name>eglQueryDmaBufFormatsEXT</name></proto> <proto><ptype>EGLBoolean</ptype> <name>eglQueryDmaBufFormatsEXT</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLint</ptype> <name>max_formats</name></param> <param><ptype>EGLint</ptype> <name>max_formats</name></param>
<param><ptype>EGLint</ptype> <name>*formats</name></param> <param><ptype>EGLint</ptype> *<name>formats</name></param>
<param><ptype>EGLint</ptype> <name>*num_formats</name></param> <param><ptype>EGLint</ptype> *<name>num_formats</name></param>
</command> </command>
<command> <command>
<proto><ptype>EGLBoolean</ptype> <name>eglQueryDmaBufModifiersEXT</name></proto> <proto><ptype>EGLBoolean</ptype> <name>eglQueryDmaBufModifiersEXT</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLint</ptype> <name>format</name></param> <param><ptype>EGLint</ptype> <name>format</name></param>
<param><ptype>EGLint</ptype> <name>max_modifiers</name></param> <param><ptype>EGLint</ptype> <name>max_modifiers</name></param>
<param><ptype>EGLuint64KHR</ptype> <name>*modifiers</name></param> <param><ptype>EGLuint64KHR</ptype> *<name>modifiers</name></param>
<param><ptype>EGLBoolean</ptype> <name>*external_only</name></param> <param><ptype>EGLBoolean</ptype> *<name>external_only</name></param>
<param><ptype>EGLint</ptype> <name>*num_modifiers</name></param> <param><ptype>EGLint</ptype> *<name>num_modifiers</name></param>
</command> </command>
<command> <command>
<proto><ptype>EGLBoolean</ptype> <name>eglQueryNativeDisplayNV</name></proto> <proto><ptype>EGLBoolean</ptype> <name>eglQueryNativeDisplayNV</name></proto>
@ -1537,7 +1756,7 @@
<proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerGLTextureExternalAttribsNV</name></proto> <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerGLTextureExternalAttribsNV</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLStreamKHR</ptype> <name>stream</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>
<command> <command>
<proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerOutputEXT</name></proto> <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerOutputEXT</name></proto>
@ -1556,6 +1775,11 @@
<param><ptype>EGLStreamKHR</ptype> <name>stream</name></param> <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
<param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param> <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
</command> </command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglStreamFlushNV</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
</command>
<command> <command>
<proto><ptype>EGLBoolean</ptype> <name>eglSurfaceAttrib</name></proto> <proto><ptype>EGLBoolean</ptype> <name>eglSurfaceAttrib</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
@ -1610,6 +1834,12 @@
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLSurface</ptype> <name>surface</name></param> <param><ptype>EGLSurface</ptype> <name>surface</name></param>
</command> </command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglUnsignalSyncEXT</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
<param><ptype>EGLSync</ptype> <name>sync</name></param>
<param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
</command>
<command> <command>
<proto><ptype>EGLBoolean</ptype> <name>eglWaitClient</name></proto> <proto><ptype>EGLBoolean</ptype> <name>eglWaitClient</name></proto>
</command> </command>
@ -1632,6 +1862,44 @@
<param><ptype>EGLSyncKHR</ptype> <name>sync</name></param> <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
<param><ptype>EGLint</ptype> <name>flags</name></param> <param><ptype>EGLint</ptype> <name>flags</name></param>
</command> </command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetContextListEXT</name></proto>
<param>const <ptype>EGLint</ptype> *<name>external_ref_ids</name></param>
<param><ptype>EGLint</ptype> <name>num_entries</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetContextAttributesEXT</name></proto>
<param><ptype>EGLint</ptype> <name>external_ref_id</name></param>
<param>const <ptype>EGLint</ptype> *<name>context_attributes</name></param>
<param><ptype>EGLint</ptype> <name>num_entries</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetWindowListEXT</name></proto>
<param><ptype>EGLint</ptype> <name>external_ref_id</name></param>
<param>const <ptype>EGLint</ptype> *<name>external_win_ids</name></param>
<param><ptype>EGLint</ptype> <name>num_entries</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetWindowAttributesEXT</name></proto>
<param><ptype>EGLint</ptype> <name>external_win_id</name></param>
<param>const <ptype>EGLint</ptype> *<name>window_attributes</name></param>
<param><ptype>EGLint</ptype> <name>num_entries</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglCompositorBindTexWindowEXT</name></proto>
<param><ptype>EGLint</ptype> <name>external_win_id</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetSizeEXT</name></proto>
<param><ptype>EGLint</ptype> <name>external_win_id</name></param>
<param><ptype>EGLint</ptype> <name>width</name></param>
<param><ptype>EGLint</ptype> <name>height</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglCompositorSwapPolicyEXT</name></proto>
<param><ptype>EGLint</ptype> <name>external_win_id</name></param>
<param><ptype>EGLint</ptype> <name>policy</name></param>
</command>
</commands> </commands>
<!-- SECTION: EGL API interface definitions. --> <!-- SECTION: EGL API interface definitions. -->
@ -1918,6 +2186,11 @@
<enum name="EGL_FRAMEBUFFER_TARGET_ANDROID"/> <enum name="EGL_FRAMEBUFFER_TARGET_ANDROID"/>
</require> </require>
</extension> </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"> <extension name="EGL_ANDROID_front_buffer_auto_refresh" supported="egl">
<require> <require>
<enum name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/> <enum name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/>
@ -1942,11 +2215,36 @@
<command name="eglPresentationTimeANDROID"/> <command name="eglPresentationTimeANDROID"/>
</require> </require>
</extension> </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"> <extension name="EGL_ANDROID_recordable" supported="egl">
<require> <require>
<enum name="EGL_RECORDABLE_ANDROID"/> <enum name="EGL_RECORDABLE_ANDROID"/>
</require> </require>
</extension> </extension>
<extension name="EGL_ANDROID_GLES_layers" supported="egl"/>
<extension name="EGL_ANGLE_d3d_share_handle_client_buffer" supported="egl"> <extension name="EGL_ANGLE_d3d_share_handle_client_buffer" supported="egl">
<require> <require>
<enum name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/> <enum name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/>
@ -1989,6 +2287,13 @@
</require> </require>
</extension> </extension>
<extension name="EGL_EXT_client_extensions" supported="egl"/> <extension name="EGL_EXT_client_extensions" supported="egl"/>
<extension name="EGL_EXT_client_sync" supported="egl">
<require>
<enum name="EGL_SYNC_CLIENT_EXT"/>
<enum name="EGL_SYNC_CLIENT_SIGNAL_EXT"/>
<command name="eglClientSignalSyncEXT"/>
</require>
</extension>
<extension name="EGL_EXT_create_context_robustness" supported="egl"> <extension name="EGL_EXT_create_context_robustness" supported="egl">
<require> <require>
<enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT"/> <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT"/>
@ -2011,6 +2316,7 @@
<extension name="EGL_EXT_device_drm" supported="egl"> <extension name="EGL_EXT_device_drm" supported="egl">
<require> <require>
<enum name="EGL_DRM_DEVICE_FILE_EXT"/> <enum name="EGL_DRM_DEVICE_FILE_EXT"/>
<enum name="EGL_DRM_MASTER_FD_EXT"/>
</require> </require>
</extension> </extension>
<extension name="EGL_EXT_device_enumeration" supported="egl"> <extension name="EGL_EXT_device_enumeration" supported="egl">
@ -2043,11 +2349,31 @@
<enum name="EGL_GL_COLORSPACE_BT2020_PQ_EXT"/> <enum name="EGL_GL_COLORSPACE_BT2020_PQ_EXT"/>
</require> </require>
</extension> </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"> <extension name="EGL_EXT_gl_colorspace_scrgb_linear" supported="egl">
<require> <require>
<enum name="EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT"/> <enum name="EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT"/>
</require> </require>
</extension> </extension>
<extension name="EGL_EXT_gl_colorspace_display_p3_linear" supported="egl">
<require>
<enum name="EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_gl_colorspace_display_p3" supported="egl">
<require>
<enum name="EGL_GL_COLORSPACE_DISPLAY_P3_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_gl_colorspace_display_p3_passthrough" supported="egl">
<require>
<enum name="EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_image_dma_buf_import" supported="egl"> <extension name="EGL_EXT_image_dma_buf_import" supported="egl">
<require> <require>
<enum name="EGL_LINUX_DMA_BUF_EXT"/> <enum name="EGL_LINUX_DMA_BUF_EXT"/>
@ -2091,6 +2417,12 @@
<command name="eglQueryDmaBufModifiersEXT"/> <command name="eglQueryDmaBufModifiersEXT"/>
</require> </require>
</extension> </extension>
<extension name="EGL_EXT_image_gl_colorspace" supported="egl">
<require>
<enum name="EGL_GL_COLORSPACE"/>
<enum name="EGL_GL_COLORSPACE_DEFAULT_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_multiview_window" supported="egl"> <extension name="EGL_EXT_multiview_window" supported="egl">
<require> <require>
<enum name="EGL_MULTIVIEW_VIEW_COUNT_EXT"/> <enum name="EGL_MULTIVIEW_VIEW_COUNT_EXT"/>
@ -2185,6 +2517,7 @@
<enum name="EGL_SMPTE2086_WHITE_POINT_Y_EXT"/> <enum name="EGL_SMPTE2086_WHITE_POINT_Y_EXT"/>
<enum name="EGL_SMPTE2086_MAX_LUMINANCE_EXT"/> <enum name="EGL_SMPTE2086_MAX_LUMINANCE_EXT"/>
<enum name="EGL_SMPTE2086_MIN_LUMINANCE_EXT"/> <enum name="EGL_SMPTE2086_MIN_LUMINANCE_EXT"/>
<enum name="EGL_METADATA_SCALING_EXT"/>
</require> </require>
</extension> </extension>
<extension name="EGL_EXT_swap_buffers_with_damage" supported="egl"> <extension name="EGL_EXT_swap_buffers_with_damage" supported="egl">
@ -2192,6 +2525,11 @@
<command name="eglSwapBuffersWithDamageEXT"/> <command name="eglSwapBuffersWithDamageEXT"/>
</require> </require>
</extension> </extension>
<extension name="EGL_EXT_sync_reuse" supported="egl">
<require>
<command name="eglUnsignalSyncEXT"/>
</require>
</extension>
<extension name="EGL_EXT_yuv_surface" supported="egl"> <extension name="EGL_EXT_yuv_surface" supported="egl">
<require> <require>
<enum name="EGL_YUV_ORDER_EXT"/> <enum name="EGL_YUV_ORDER_EXT"/>
@ -2324,6 +2662,12 @@
<command name="eglLabelObjectKHR"/> <command name="eglLabelObjectKHR"/>
</require> </require>
</extension> </extension>
<extension name="EGL_KHR_display_reference" supported="egl">
<require>
<enum name="EGL_TRACK_REFERENCES_KHR"/>
<command name="eglQueryDisplayAttribKHR"/>
</require>
</extension>
<extension name="EGL_KHR_fence_sync" protect="KHRONOS_SUPPORT_INT64" supported="egl"> <extension name="EGL_KHR_fence_sync" protect="KHRONOS_SUPPORT_INT64" supported="egl">
<require> <require>
<!-- Most interfaces also defined by EGL_KHR_reusable sync --> <!-- Most interfaces also defined by EGL_KHR_reusable sync -->
@ -2600,6 +2944,7 @@
<enum name="EGL_DRM_BUFFER_STRIDE_MESA"/> <enum name="EGL_DRM_BUFFER_STRIDE_MESA"/>
<enum name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/> <enum name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/>
<enum name="EGL_DRM_BUFFER_USE_SHARE_MESA"/> <enum name="EGL_DRM_BUFFER_USE_SHARE_MESA"/>
<enum name="EGL_DRM_BUFFER_USE_CURSOR_MESA"/>
<command name="eglCreateDRMImageMESA"/> <command name="eglCreateDRMImageMESA"/>
<command name="eglExportDRMImageMESA"/> <command name="eglExportDRMImageMESA"/>
</require> </require>
@ -2621,6 +2966,12 @@
<enum name="EGL_PLATFORM_SURFACELESS_MESA"/> <enum name="EGL_PLATFORM_SURFACELESS_MESA"/>
</require> </require>
</extension> </extension>
<extension name="EGL_MESA_query_driver" supported="egl">
<require>
<command name="eglGetDisplayDriverConfig"/>
<command name="eglGetDisplayDriverName"/>
</require>
</extension>
<extension name="EGL_NOK_swap_region" supported="egl"> <extension name="EGL_NOK_swap_region" supported="egl">
<require> <require>
<command name="eglSwapBuffersRegionNOK"/> <command name="eglSwapBuffersRegionNOK"/>
@ -2647,6 +2998,11 @@
<enum name="EGL_COVERAGE_SAMPLES_NV"/> <enum name="EGL_COVERAGE_SAMPLES_NV"/>
</require> </require>
</extension> </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"> <extension name="EGL_NV_coverage_sample_resolve" supported="egl">
<require> <require>
<enum name="EGL_COVERAGE_SAMPLE_RESOLVE_NV"/> <enum name="EGL_COVERAGE_SAMPLE_RESOLVE_NV"/>
@ -2690,6 +3046,11 @@
<command name="eglPostSubBufferNV"/> <command name="eglPostSubBufferNV"/>
</require> </require>
</extension> </extension>
<extension name="EGL_NV_quadruple_buffer" supported="egl">
<require>
<enum name="EGL_QUADRUPLE_BUFFER_NV"/>
</require>
</extension>
<extension name="EGL_NV_robustness_video_memory_purge" supported="egl"> <extension name="EGL_NV_robustness_video_memory_purge" supported="egl">
<require> <require>
<enum name="EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV"/> <enum name="EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV"/>
@ -2730,6 +3091,12 @@
<enum name="EGL_STREAM_CROSS_SYSTEM_NV"/> <enum name="EGL_STREAM_CROSS_SYSTEM_NV"/>
</require> </require>
</extension> </extension>
<extension name="EGL_NV_stream_dma" supported="egl">
<require>
<enum name="EGL_STREAM_DMA_NV"/>
<enum name="EGL_STREAM_DMA_SERVER_NV"/>
</require>
</extension>
<extension name="EGL_NV_stream_fifo_next" supported="egl"> <extension name="EGL_NV_stream_fifo_next" supported="egl">
<require> <require>
<enum name="EGL_PENDING_FRAME_NV"/> <enum name="EGL_PENDING_FRAME_NV"/>
@ -2741,6 +3108,11 @@
<enum name="EGL_STREAM_FIFO_SYNCHRONOUS_NV"/> <enum name="EGL_STREAM_FIFO_SYNCHRONOUS_NV"/>
</require> </require>
</extension> </extension>
<extension name="EGL_NV_stream_flush" supported="egl">
<require>
<command name="eglStreamFlushNV"/>
</require>
</extension>
<extension name="EGL_NV_stream_frame_limits" supported="egl"> <extension name="EGL_NV_stream_frame_limits" supported="egl">
<require> <require>
<enum name="EGL_PRODUCER_MAX_FRAME_HINT_NV"/> <enum name="EGL_PRODUCER_MAX_FRAME_HINT_NV"/>
@ -2842,6 +3214,11 @@
<command name="eglGetSystemTimeNV"/> <command name="eglGetSystemTimeNV"/>
</require> </require>
</extension> </extension>
<extension name="EGL_NV_triple_buffer" supported="egl">
<require>
<enum name="EGL_TRIPLE_BUFFER_NV"/>
</require>
</extension>
<extension name="EGL_TIZEN_image_native_buffer" supported="egl"> <extension name="EGL_TIZEN_image_native_buffer" supported="egl">
<require> <require>
<enum name="EGL_NATIVE_BUFFER_TIZEN"/> <enum name="EGL_NATIVE_BUFFER_TIZEN"/>
@ -2852,5 +3229,54 @@
<enum name="EGL_NATIVE_SURFACE_TIZEN"/> <enum name="EGL_NATIVE_SURFACE_TIZEN"/>
</require> </require>
</extension> </extension>
<extension name="EGL_EXT_compositor" supported="egl">
<require>
<enum name="EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT"/>
<enum name="EGL_EXTERNAL_REF_ID_EXT"/>
<enum name="EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT"/>
<enum name="EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT"/>
<command name="eglCompositorSetContextListEXT"/>
<command name="eglCompositorSetContextAttributesEXT"/>
<command name="eglCompositorSetWindowListEXT"/>
<command name="eglCompositorSetWindowAttributesEXT"/>
<command name="eglCompositorBindTexWindowEXT"/>
<command name="eglCompositorSetSizeEXT"/>
<command name="eglCompositorSwapPolicyEXT"/>
</require>
</extension>
<extension name="EGL_EXT_surface_CTA861_3_metadata" supported="egl">
<require>
<enum name="EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT"/>
<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>
<extension name="EGL_NV_stream_origin" supported="egl">
<require>
<enum name="EGL_STREAM_FRAME_ORIGIN_X_NV"/>
<enum name="EGL_STREAM_FRAME_ORIGIN_Y_NV"/>
<enum name="EGL_STREAM_FRAME_MAJOR_AXIS_NV"/>
<enum name="EGL_CONSUMER_AUTO_ORIENTATION_NV"/>
<enum name="EGL_PRODUCER_AUTO_ORIENTATION_NV"/>
<enum name="EGL_LEFT_NV"/>
<enum name="EGL_RIGHT_NV"/>
<enum name="EGL_TOP_NV"/>
<enum name="EGL_BOTTOM_NV"/>
<enum name="EGL_X_AXIS_NV"/>
<enum name="EGL_Y_AXIS_NV"/>
</require>
</extension>
</extensions> </extensions>
</registry> </registry>

File diff suppressed because it is too large Load Diff

@ -1,36 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<registry> <registry>
<!-- <comment>
Copyright (c) 2013-2016 The Khronos Group Inc. Copyright (c) 2013-2018 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a Licensed under the Apache License, Version 2.0 (the "License");
copy of this software and/or associated documentation files (the you may not use this file except in compliance with the License.
"Materials"), to deal in the Materials without restriction, including You may obtain a copy of the License at
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Materials, and to http://www.apache.org/licenses/LICENSE-2.0
permit persons to whom the Materials are furnished to do so, subject to
the following conditions: Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
The above copyright notice and this permission notice shall be included WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
in all copies or substantial portions of the Materials. See the License for the specific language governing permissions and
limitations under the License.
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 This file, glx.xml, is the GLX API Registry. The canonical version of the
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, registry, together with documentation, schema, and Python generator scripts
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE used to generate C header files for GLX, can always be found in the Khronos
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. Registry at
--> https://github.com/KhronosGroup/OpenGL-Registry
<!-- </comment>
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/
-->
<!-- SECTION: GLX type definitions. Does not include X or GL types. --> <!-- SECTION: GLX type definitions. Does not include X or GL types. -->
<types> <types>
@ -470,6 +462,17 @@ typedef unsigned __int64 uint64_t;
<unused start="0x21A9" end="0x21AF"/> <unused start="0x21A9" end="0x21AF"/>
</enums> </enums>
<enums namespace="GLX" start="0x3100" end="0x3103" vendor="EXT" comment="Shared with EGL_IMG_context_priority">
<enum value="0x3100" name="GLX_CONTEXT_PRIORITY_LEVEL_EXT"/>
<enum value="0x3101" name="GLX_CONTEXT_PRIORITY_HIGH_EXT"/>
<enum value="0x3102" name="GLX_CONTEXT_PRIORITY_MEDIUM_EXT"/>
<enum value="0x3103" name="GLX_CONTEXT_PRIORITY_LOW_EXT"/>
</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"> <enums namespace="GLX" start="0x8000" end="0x804F" vendor="ARB">
<enum value="0x8000" name="GLX_NONE" comment="Attribute value"/> <enum value="0x8000" name="GLX_NONE" comment="Attribute value"/>
<enum value="0x8001" name="GLX_SLOW_CONFIG" comment="CONFIG_CAVEAT attribute value"/> <enum value="0x8001" name="GLX_SLOW_CONFIG" comment="CONFIG_CAVEAT attribute value"/>
@ -587,8 +590,7 @@ typedef unsigned __int64 uint64_t;
<enum value="0x818B" name="GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA"/> <enum value="0x818B" name="GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA"/>
<enum value="0x818C" name="GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA"/> <enum value="0x818C" name="GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA"/>
<enum value="0x818D" name="GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA"/> <enum value="0x818D" name="GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA"/>
<enum value="0x818E" name="GLX_RENDERER_ID_MESA"/> <unused start="0x818E" end="0x818F"/>
<unused start="0x818F"/>
</enums> </enums>
<!-- Please remember that new enumerant allocations must be obtained by <!-- Please remember that new enumerant allocations must be obtained by
@ -1075,6 +1077,9 @@ typedef unsigned __int64 uint64_t;
<param><ptype>GLXDrawable</ptype> <name>drawable</name></param> <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
<param>unsigned long *<name>mask</name></param> <param>unsigned long *<name>mask</name></param>
</command> </command>
<command>
<proto>int <name>glXGetSwapIntervalMESA</name></proto>
</command>
<command> <command>
<proto><ptype>Bool</ptype> <name>glXGetSyncValuesOML</name></proto> <proto><ptype>Bool</ptype> <name>glXGetSyncValuesOML</name></proto>
<param><ptype>Display</ptype> *<name>dpy</name></param> <param><ptype>Display</ptype> *<name>dpy</name></param>
@ -1088,7 +1093,7 @@ typedef unsigned __int64 uint64_t;
<param><ptype>Display</ptype> *<name>dpy</name></param> <param><ptype>Display</ptype> *<name>dpy</name></param>
<param><ptype>Window</ptype> <name>overlay</name></param> <param><ptype>Window</ptype> <name>overlay</name></param>
<param><ptype>Window</ptype> <name>underlay</name></param> <param><ptype>Window</ptype> <name>underlay</name></param>
<param>long *<name>pTransparentIndex</name></param> <param>unsigned long *<name>pTransparentIndex</name></param>
</command> </command>
<command> <command>
<proto>int <name>glXGetVideoDeviceNV</name></proto> <proto>int <name>glXGetVideoDeviceNV</name></proto>
@ -1254,7 +1259,7 @@ typedef unsigned __int64 uint64_t;
<param><ptype>GLuint</ptype> *<name>count</name></param> <param><ptype>GLuint</ptype> *<name>count</name></param>
</command> </command>
<command> <command>
<proto>int <name>glXQueryGLXPbufferSGIX</name></proto> <proto>void <name>glXQueryGLXPbufferSGIX</name></proto>
<param><ptype>Display</ptype> *<name>dpy</name></param> <param><ptype>Display</ptype> *<name>dpy</name></param>
<param><ptype>GLXPbufferSGIX</ptype> <name>pbuf</name></param> <param><ptype>GLXPbufferSGIX</ptype> <name>pbuf</name></param>
<param>int <name>attribute</name></param> <param>int <name>attribute</name></param>
@ -1395,8 +1400,8 @@ typedef unsigned __int64 uint64_t;
<param><ptype>GLboolean</ptype> <name>bBlock</name></param> <param><ptype>GLboolean</ptype> <name>bBlock</name></param>
</command> </command>
<command> <command>
<proto><ptype>Bool</ptype> <name>glXSet3DfxModeMESA</name></proto> <proto><ptype>GLboolean</ptype> <name>glXSet3DfxModeMESA</name></proto>
<param>int <name>mode</name></param> <param>GLint <name>mode</name></param>
</command> </command>
<command> <command>
<proto>void <name>glXSwapBuffers</name></proto> <proto>void <name>glXSwapBuffers</name></proto>
@ -1411,6 +1416,10 @@ typedef unsigned __int64 uint64_t;
<param><ptype>int64_t</ptype> <name>divisor</name></param> <param><ptype>int64_t</ptype> <name>divisor</name></param>
<param><ptype>int64_t</ptype> <name>remainder</name></param> <param><ptype>int64_t</ptype> <name>remainder</name></param>
</command> </command>
<command>
<proto>int <name>glXSwapIntervalMESA</name></proto>
<param>unsigned int <name>interval</name></param>
</command>
<command> <command>
<proto>void <name>glXSwapIntervalEXT</name></proto> <proto>void <name>glXSwapIntervalEXT</name></proto>
<param><ptype>Display</ptype> *<name>dpy</name></param> <param><ptype>Display</ptype> *<name>dpy</name></param>
@ -1670,6 +1679,11 @@ typedef unsigned __int64 uint64_t;
<command name="glXCreateContextAttribsARB"/> <command name="glXCreateContextAttribsARB"/>
</require> </require>
</extension> </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"> <extension name="GLX_ARB_create_context_profile" supported="glx">
<require> <require>
<enum name="GLX_CONTEXT_CORE_PROFILE_BIT_ARB"/> <enum name="GLX_CONTEXT_CORE_PROFILE_BIT_ARB"/>
@ -1727,6 +1741,14 @@ typedef unsigned __int64 uint64_t;
<enum name="GLX_BACK_BUFFER_AGE_EXT"/> <enum name="GLX_BACK_BUFFER_AGE_EXT"/>
</require> </require>
</extension> </extension>
<extension name="GLX_EXT_context_priority" supported="glx">
<require>
<enum name="GLX_CONTEXT_PRIORITY_LEVEL_EXT"/>
<enum name="GLX_CONTEXT_PRIORITY_HIGH_EXT"/>
<enum name="GLX_CONTEXT_PRIORITY_MEDIUM_EXT"/>
<enum name="GLX_CONTEXT_PRIORITY_LOW_EXT"/>
</require>
</extension>
<extension name="GLX_EXT_create_context_es_profile" supported="glx"> <extension name="GLX_EXT_create_context_es_profile" supported="glx">
<require> <require>
<enum name="GLX_CONTEXT_ES_PROFILE_BIT_EXT"/> <enum name="GLX_CONTEXT_ES_PROFILE_BIT_EXT"/>
@ -1765,6 +1787,8 @@ typedef unsigned __int64 uint64_t;
<enum name="GLX_VENDOR_NAMES_EXT"/> <enum name="GLX_VENDOR_NAMES_EXT"/>
</require> </require>
</extension> </extension>
<extension name="GLX_EXT_no_config_context" supported="glx">
</extension>
<extension name="GLX_EXT_stereo_tree" supported="glx"> <extension name="GLX_EXT_stereo_tree" supported="glx">
<require> <require>
<type name="GLXStereoNotifyEventEXT"/> <type name="GLXStereoNotifyEventEXT"/>
@ -1888,7 +1912,6 @@ typedef unsigned __int64 uint64_t;
<enum name="GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA"/> <enum name="GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA"/>
<enum name="GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA"/> <enum name="GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA"/>
<enum name="GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA"/> <enum name="GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA"/>
<enum name="GLX_RENDERER_ID_MESA"/>
<command name="glXQueryCurrentRendererIntegerMESA"/> <command name="glXQueryCurrentRendererIntegerMESA"/>
<command name="glXQueryCurrentRendererStringMESA"/> <command name="glXQueryCurrentRendererStringMESA"/>
<command name="glXQueryRendererIntegerMESA"/> <command name="glXQueryRendererIntegerMESA"/>
@ -1907,6 +1930,12 @@ typedef unsigned __int64 uint64_t;
<command name="glXSet3DfxModeMESA"/> <command name="glXSet3DfxModeMESA"/>
</require> </require>
</extension> </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"> <extension name="GLX_NV_copy_buffer" supported="glx">
<require> <require>
<command name="glXCopyBufferSubDataNV"/> <command name="glXCopyBufferSubDataNV"/>

@ -1,36 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<registry> <registry>
<!-- <comment>
Copyright (c) 2013-2016 The Khronos Group Inc. Copyright (c) 2013-2018 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a Licensed under the Apache License, Version 2.0 (the "License");
copy of this software and/or associated documentation files (the you may not use this file except in compliance with the License.
"Materials"), to deal in the Materials without restriction, including You may obtain a copy of the License at
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 http://www.apache.org/licenses/LICENSE-2.0
in all copies or substantial portions of the Materials.
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, Unless required by applicable law or agreed to in writing, software
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF distributed under the License is distributed on an "AS IS" BASIS,
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY See the License for the specific language governing permissions and
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, limitations under the License.
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
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
format has been retired and will no longer be updated with new extensions and API versions. The canonical version of the registry,
extensions and API versions. The canonical version of the registry, together with documentation, schema, and Python generator scripts used
together with documentation, schema, and Python generator scripts used to generate C header files for WGL, can always be found in the Khronos
to generate C header files for WGL, can always be found in the Khronos Registry at
Registry at https://github.com/KhronosGroup/OpenGL-Registry
http://www.opengl.org/registry/ </comment>
-->
<!-- SECTION: WGL type definitions. Does not include base Windows types. --> <!-- SECTION: WGL type definitions. Does not include base Windows types. -->
@ -390,7 +384,12 @@
<enum value="0x20A8" name="WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT"/> <enum value="0x20A8" name="WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT"/>
<enum value="0x20A9" name="WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB"/> <enum value="0x20A9" name="WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB"/>
<enum value="0x20A9" name="WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT"/> <enum value="0x20A9" name="WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT"/>
<unused start="0x20AA" end="0x20AF"/> <enum value="0x20AA" name="WGL_CONTEXT_MULTIGPU_ATTRIB_NV"/>
<enum value="0x20AB" name="WGL_CONTEXT_MULTIGPU_ATTRIB_SINGLE_NV"/>
<enum value="0x20AC" name="WGL_CONTEXT_MULTIGPU_ATTRIB_AFR_NV"/>
<enum value="0x20AD" name="WGL_CONTEXT_MULTIGPU_ATTRIB_MULTICAST_NV"/>
<enum value="0x20AE" name="WGL_CONTEXT_MULTIGPU_ATTRIB_MULTI_DISPLAY_MULTICAST_NV"/>
<unused start="0x20AF" end="0x20AF"/>
<enum value="0x20B0" name="WGL_FLOAT_COMPONENTS_NV"/> <enum value="0x20B0" name="WGL_FLOAT_COMPONENTS_NV"/>
<enum value="0x20B1" name="WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV"/> <enum value="0x20B1" name="WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV"/>
<enum value="0x20B2" name="WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV"/> <enum value="0x20B2" name="WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV"/>
@ -433,6 +432,7 @@
<enum value="0x21A3" name="WGL_GPU_RAM_AMD"/> <enum value="0x21A3" name="WGL_GPU_RAM_AMD"/>
<enum value="0x21A4" name="WGL_GPU_CLOCK_AMD"/> <enum value="0x21A4" name="WGL_GPU_CLOCK_AMD"/>
<enum value="0x21A5" name="WGL_GPU_NUM_PIPES_AMD"/> <enum value="0x21A5" name="WGL_GPU_NUM_PIPES_AMD"/>
<enum value="0x21A5" name="WGL_TEXTURE_RECTANGLE_ATI" comment="Duplicates unrelated WGL_GPU_NUM_PIPES_AMD"/>
<enum value="0x21A6" name="WGL_GPU_NUM_SIMD_AMD"/> <enum value="0x21A6" name="WGL_GPU_NUM_SIMD_AMD"/>
<enum value="0x21A7" name="WGL_GPU_NUM_RB_AMD"/> <enum value="0x21A7" name="WGL_GPU_NUM_RB_AMD"/>
<enum value="0x21A8" name="WGL_GPU_NUM_SPI_AMD"/> <enum value="0x21A8" name="WGL_GPU_NUM_SPI_AMD"/>
@ -457,11 +457,15 @@
</enums> </enums>
<enums namespace="EGL" start="0x3080" end="0x30AF" vendor="KHR" comment="Values shared with EGL. Do not allocate additional values in this range."> <enums namespace="EGL" start="0x3080" end="0x30AF" vendor="KHR" comment="Values shared with EGL. Do not allocate additional values in this range.">
<enum value="0x3087" name="WGL_COLORSPACE_EXT"/> <enum value="0x309D" name="WGL_COLORSPACE_EXT"/>
<enum value="0x3089" name="WGL_COLORSPACE_SRGB_EXT"/> <enum value="0x3089" name="WGL_COLORSPACE_SRGB_EXT"/>
<enum value="0x308A" name="WGL_COLORSPACE_LINEAR_EXT"/> <enum value="0x308A" name="WGL_COLORSPACE_LINEAR_EXT"/>
</enums> </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."> <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="0x8252" name="WGL_LOSE_CONTEXT_ON_RESET_ARB"/>
<enum value="0x8256" name="WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"/> <enum value="0x8256" name="WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"/>
@ -539,7 +543,7 @@
</command> </command>
<command> <command>
<proto><ptype>BOOL</ptype> <name>wglBindVideoDeviceNV</name></proto> <proto><ptype>BOOL</ptype> <name>wglBindVideoDeviceNV</name></proto>
<param><ptype>HDC</ptype> <name>hDC</name></param> <param><ptype>HDC</ptype> <name>hDc</name></param>
<param>unsigned int <name>uVideoSlot</name></param> <param>unsigned int <name>uVideoSlot</name></param>
<param><ptype>HVIDEOOUTPUTDEVICENV</ptype> <name>hVideoDevice</name></param> <param><ptype>HVIDEOOUTPUTDEVICENV</ptype> <name>hVideoDevice</name></param>
<param>const int *<name>piAttribList</name></param> <param>const int *<name>piAttribList</name></param>
@ -782,7 +786,7 @@
</command> </command>
<command> <command>
<proto>int <name>wglEnumerateVideoDevicesNV</name></proto> <proto>int <name>wglEnumerateVideoDevicesNV</name></proto>
<param><ptype>HDC</ptype> <name>hDC</name></param> <param><ptype>HDC</ptype> <name>hDc</name></param>
<param><ptype>HVIDEOOUTPUTDEVICENV</ptype> *<name>phDeviceList</name></param> <param><ptype>HVIDEOOUTPUTDEVICENV</ptype> *<name>phDeviceList</name></param>
</command> </command>
<command> <command>
@ -913,7 +917,7 @@
<command> <command>
<proto><ptype>INT</ptype> <name>wglGetGPUInfoAMD</name></proto> <proto><ptype>INT</ptype> <name>wglGetGPUInfoAMD</name></proto>
<param><ptype>UINT</ptype> <name>id</name></param> <param><ptype>UINT</ptype> <name>id</name></param>
<param>int <name>property</name></param> <param><ptype>INT</ptype> <name>property</name></param>
<param><ptype>GLenum</ptype> <name>dataType</name></param> <param><ptype>GLenum</ptype> <name>dataType</name></param>
<param><ptype>UINT</ptype> <name>size</name></param> <param><ptype>UINT</ptype> <name>size</name></param>
<param>void *<name>data</name></param> <param>void *<name>data</name></param>
@ -1236,7 +1240,7 @@
<command> <command>
<proto><ptype>INT64</ptype> <name>wglSwapLayerBuffersMscOML</name></proto> <proto><ptype>INT64</ptype> <name>wglSwapLayerBuffersMscOML</name></proto>
<param><ptype>HDC</ptype> <name>hdc</name></param> <param><ptype>HDC</ptype> <name>hdc</name></param>
<param>int <name>fuPlanes</name></param> <param><ptype>INT</ptype> <name>fuPlanes</name></param>
<param><ptype>INT64</ptype> <name>target_msc</name></param> <param><ptype>INT64</ptype> <name>target_msc</name></param>
<param><ptype>INT64</ptype> <name>divisor</name></param> <param><ptype>INT64</ptype> <name>divisor</name></param>
<param><ptype>INT64</ptype> <name>remainder</name></param> <param><ptype>INT64</ptype> <name>remainder</name></param>
@ -1451,6 +1455,11 @@
<command name="wglCreateContextAttribsARB"/> <command name="wglCreateContextAttribsARB"/>
</require> </require>
</extension> </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"> <extension name="WGL_ARB_create_context_profile" supported="wgl">
<require> <require>
<enum name="WGL_CONTEXT_PROFILE_MASK_ARB"/> <enum name="WGL_CONTEXT_PROFILE_MASK_ARB"/>
@ -1624,6 +1633,11 @@
<enum name="WGL_TYPE_RGBA_FLOAT_ATI"/> <enum name="WGL_TYPE_RGBA_FLOAT_ATI"/>
</require> </require>
</extension> </extension>
<extension name="WGL_ATI_render_texture_rectangle" supported="wgl">
<require>
<enum name="WGL_TEXTURE_RECTANGLE_ATI"/>
</require>
</extension>
<extension name="WGL_EXT_colorspace" supported="wgl"> <extension name="WGL_EXT_colorspace" supported="wgl">
<require> <require>
<enum name="WGL_COLORSPACE_EXT"/> <enum name="WGL_COLORSPACE_EXT"/>
@ -1976,5 +1990,14 @@
<command name="wglWaitForSbcOML"/> <command name="wglWaitForSbcOML"/>
</require> </require>
</extension> </extension>
<extension name="WGL_NV_multigpu_context" supported="wgl">
<require>
<enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_NV"/>
<enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_SINGLE_NV"/>
<enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_AFR_NV"/>
<enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_MULTICAST_NV"/>
<enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_MULTI_DISPLAY_MULTICAST_NV"/>
</require>
</extension>
</extensions> </extensions>
</registry> </registry>

Loading…
Cancel
Save