Skip to content

Commit

Permalink
files: updates to latest specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav1dde committed Sep 29, 2024
1 parent f62a12a commit b3a6c5c
Show file tree
Hide file tree
Showing 3 changed files with 1,654 additions and 438 deletions.
27 changes: 24 additions & 3 deletions glad/files/egl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,8 @@
<enum value="0x3376" name="EGL_STREAM_IMAGE_AVAILABLE_NV"/>
<enum value="0x3377" name="EGL_DRM_RENDER_NODE_FILE_EXT"/>
<enum value="0x3378" name="EGL_STREAM_CONSUMER_IMAGE_USE_SCANOUT_NV" />
<unused start="0x3379" end="0x339F"/>
<enum value="0x3379" name="EGL_ALLOC_NEW_DISPLAY_EXT"/>
<unused start="0x337A" end="0x339F"/>
</enums>

<enums namespace="EGL" start="0x33A0" end="0x33AF" vendor="ANGLE" comment="Reserved for Shannon Woods (Bug 13175)">
Expand Down Expand Up @@ -1089,6 +1090,11 @@
<unused start="0x3560" end="0x356F"/>
</enums>

<enums namespace="EGL" start="0x3570" end="0x357F" vendor="Google" comment="Reserved for Tom Murphy (EGL-Registry pull #204)">
<enum value="0x3570" name="EGL_TELEMETRY_HINT_ANDROID"/>
<unused start="0x3571" end="0x357F"/>
</enums>

<!-- Please remember that new enumerant allocations must be obtained by
request to the Khronos API registrar (see comments at the top of this
file) File requests in the Khronos Bugzilla, EGL project, Registry
Expand All @@ -1098,8 +1104,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="0x3570" end="0x3FFF" vendor="KHR" comment="Reserved for future use">
<unused start="0x3570" end="0x3FFF"/>
<enums namespace="EGL" start="0x3580" end="0x3FFF" vendor="KHR" comment="Reserved for future use">
<unused start="0x3580" end="0x3FFF"/>
</enums>

<enums namespace="EGL" start="0x8F70" end="0x8F7F" vendor="HI" comment="For Mark Callow, Khronos bug 4055. Shared with GL.">
Expand Down Expand Up @@ -2062,6 +2068,10 @@
<param>void *<name>value</name></param>
<param>EGLint *<name>size</name></param>
</command>
<command>
<proto><ptype>EGLBoolean</ptype> <name>eglDestroyDisplayEXT</name></proto>
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
</command>
</commands>

<!-- SECTION: EGL API interface definitions. -->
Expand Down Expand Up @@ -2407,6 +2417,11 @@
</require>
</extension>
<extension name="EGL_ANDROID_GLES_layers" supported="egl"/>
<extension name="EGL_ANDROID_telemetry_hint" supported="egl">
<require>
<enum name="EGL_TELEMETRY_HINT_ANDROID"/>
</require>
</extension>
<extension name="EGL_ANGLE_d3d_share_handle_client_buffer" supported="egl">
<require>
<enum name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/>
Expand Down Expand Up @@ -3570,5 +3585,11 @@
<enum name="EGL_NATIVE_BUFFER_QNX"/>
</require>
</extension>
<extension name="EGL_EXT_display_alloc" supported="egl">
<require>
<enum name="EGL_ALLOC_NEW_DISPLAY_EXT"/>
<command name="eglDestroyDisplayEXT"/>
</require>
</extension>
</extensions>
</registry>
42 changes: 35 additions & 7 deletions glad/files/gl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6928,9 +6928,9 @@ typedef unsigned int GLhandleARB;
<unused start="0x9690" end="0x969F" vendor="ANGLE"/>
</enums>

<enums namespace="GL" start="0x96A0" end="0x96AF" vendor="Qualcomm" comment="contact Jeff Leger">
<enums namespace="GL" start="0x96A0" end="0x96AF" vendor="QCOM" comment="contact Jeff Leger">
<enum value="0x96A0" name="GL_TEXTURE_FOVEATED_CUTOFF_DENSITY_QCOM" group="TextureParameterName"/>
<unused start="0x96A1" end="0x96A1" vendor="Qualcomm"/>
<unused start="0x96A1" end="0x96A1" vendor="QCOM"/>
<enum value="0x96A2" name="GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM" group="GetPName,EnableCap"/>
<enum value="0x96A3" name="GL_VALIDATE_SHADER_BINARY_QCOM"/>
<enum value="0x96A4" name="GL_SHADING_RATE_QCOM" group="GetPName"/>
Expand All @@ -6953,10 +6953,10 @@ typedef unsigned int GLhandleARB;
<enum value="0x96AC" name="GL_SHADING_RATE_4X2_PIXELS_EXT" alias="GL_SHADING_RATE_4X2_PIXELS_QCOM" group="ShadingRate"/>
<enum value="0x96AD" name="GL_SHADING_RATE_2X4_PIXELS_EXT" alias="GL_SHADING_RATE_2X4_PIXELS_QCOM" group="ShadingRate"/>
<enum value="0x96AE" name="GL_SHADING_RATE_4X4_PIXELS_EXT" alias="GL_SHADING_RATE_4X4_PIXELS_QCOM" group="ShadingRate"/>
<unused start="0x96AF" end="0x96AF" vendor="Qualcomm"/>
<unused start="0x96AF" end="0x96AF" vendor="QCOM"/>
</enums>

<enums namespace="GL" start="0x96B0" end="0x96BF" vendor="ANGLE" comment="github pull request">
<enums namespace="GL" start="0x96B0" end="0x96BF" vendor="ANGLE" comment="github pull request 311">
<unused start="0x96B0" end="0x96BF" vendor="ANGLE"/>
</enums>

Expand Down Expand Up @@ -6998,7 +6998,7 @@ typedef unsigned int GLhandleARB;
<enum value="0x96DF" name="GL_FRAGMENT_SHADING_RATE_ATTACHMENT_WITH_DEFAULT_FRAMEBUFFER_SUPPORTED_EXT" group="GetPName"/>
</enums>

<enums namespace="GL" start="0x96E0" end="0x96EF" vendor="ANGLE" comment="Reserved for Ken Russell - ANGLE (via github pull request)">
<enums namespace="GL" start="0x96E0" end="0x96EF" vendor="ANGLE" comment="Reserved for Ken Russell - ANGLE (github pull request 493)">
<unused start="0x96E0" end="0x96EF" vendor="ANGLE"/>
</enums>

Expand All @@ -7017,6 +7017,16 @@ typedef unsigned int GLhandleARB;
<unused start="0x9700" end="0x970F" vendor="Samsung"/>
</enums>

<enums namespace="GL" start="0x9710" end="0x971F" vendor="QCOM" comment="Reserved for Ashish Mathur">
<enum value="0x9710" name="GL_TEXTURE_Y_DEGAMMA_QCOM" group="TextureParameterName,GetTextureParameter"/>
<enum value="0x9711" name="GL_TEXTURE_CBCR_DEGAMMA_QCOM" group="TextureParameterName,GetTextureParameter"/>
<unused start="0x9712" end="0x971F" vendor="QCOM"/>
</enums>

<enums namespace="GL" start="0x9720" end="0x973F" vendor="ANGLE" comment="github pull request 626">
<unused start="0x9720" end="0x973F" vendor="ANGLE"/>
</enums>

<!-- Enums reservable for future use. To reserve a new range, allocate one
or more multiples of 16 starting at the lowest available point in this
block and note it in a new <enums> block immediately above.
Expand All @@ -7026,8 +7036,8 @@ typedef unsigned int GLhandleARB;
file) File requests in the Khronos Bugzilla, OpenGL project, Registry
component. -->

<enums namespace="GL" start="0x9710" end="99999" vendor="ARB" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS">
<unused start="0x9710" end="99999" comment="RESERVED"/>
<enums namespace="GL" start="0x9740" end="99999" vendor="ARB" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS">
<unused start="0x9740" end="99999" comment="RESERVED"/>
</enums>

<!-- Historical large block allocations, all unused except (in older days) by IBM -->
Expand Down Expand Up @@ -19371,6 +19381,15 @@ typedef unsigned int GLhandleARB;
<param kind="CheckedInt32"><ptype>GLint</ptype> <name>level</name></param>
<param kind="CheckedInt32"><ptype>GLint</ptype> <name>layer</name></param>
</command>
<command>
<proto>void <name>glNamedFramebufferTextureMultiviewOVR</name></proto>
<param class="framebuffer"><ptype>GLuint</ptype> <name>framebuffer</name></param>
<param group="FramebufferAttachment"><ptype>GLenum</ptype> <name>attachment</name></param>
<param class="texture"><ptype>GLuint</ptype> <name>texture</name></param>
<param kind="CheckedInt32"><ptype>GLint</ptype> <name>level</name></param>
<param><ptype>GLint</ptype> <name>baseViewIndex</name></param>
<param><ptype>GLsizei</ptype> <name>numViews</name></param>
</command>
<command>
<proto>void <name>glNamedProgramLocalParameter4dEXT</name></proto>
<param class="program"><ptype>GLuint</ptype> <name>program</name></param>
Expand Down Expand Up @@ -46579,6 +46598,9 @@ typedef unsigned int GLhandleARB;
<enum name="GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR"/>
<command name="glFramebufferTextureMultiviewOVR"/>
</require>
<require comment="Supported only if ARB_direct_state_access or OpenGL 4.5 is supported">
<command name="glNamedFramebufferTextureMultiviewOVR"/>
</require>
</extension>
<extension name="GL_OVR_multiview2" supported="gl|glcore|gles2"/>
<extension name="GL_OVR_multiview_multisampled_render_to_texture" supported="gles2">
Expand Down Expand Up @@ -46739,6 +46761,12 @@ typedef unsigned int GLhandleARB;
<enum name="GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM"/>
</require>
</extension>
<extension name="GL_QCOM_ycbcr_degamma" supported="gles2">
<require>
<enum name="GL_TEXTURE_Y_DEGAMMA_QCOM"/>
<enum name="GL_TEXTURE_CBCR_DEGAMMA_QCOM"/>
</require>
</extension>
<extension name="GL_QCOM_texture_lod_bias" supported="gles2">
<require>
<enum name="GL_TEXTURE_LOD_BIAS_QCOM"/>
Expand Down
Loading

0 comments on commit b3a6c5c

Please sign in to comment.