Skip to content

Commit

Permalink
commit by vaiorabbit via GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vaiorabbit committed May 19, 2024
1 parent 743c4ff commit c384877
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 5 deletions.
32 changes: 27 additions & 5 deletions generator/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,7 +6953,7 @@ 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">
Expand Down Expand Up @@ -7013,6 +7013,16 @@ typedef unsigned int GLhandleARB;
<unused start="0x96F7" end="0x96FF" vendor="ARM"/>
</enums>

<enums namespace="GL" start="0x9700" end="0x970F" vendor="Samsung" comment="Reserved for Jeff Vigil">
<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="TextureParameter,GetTextureParameter"/>
<enum value="0x9711" name="GL_TEXTURE_CBCR_DEGAMMA_QCOM" group="TextureParameter,GetTextureParameter"/>
<unused start="0x9712" end="0x971F" vendor="QCOM"/>
</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 @@ -7022,8 +7032,8 @@ typedef unsigned int GLhandleARB;
file) File requests in the Khronos Bugzilla, OpenGL project, Registry
component. -->

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

<!-- Historical large block allocations, all unused except (in older days) by IBM -->
Expand Down Expand Up @@ -19367,6 +19377,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 @@ -46575,6 +46594,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
11 changes: 11 additions & 0 deletions lib/opengl_es_ext_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8748,11 +8748,22 @@ def self.FramebufferTextureMultiviewOVR(_target_, _attachment_, _texture_, _leve
GL_FUNCTIONS_MAP[:glFramebufferTextureMultiviewOVR].call(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
end
SRC

GL::GL_FUNCTION_SYMBOLS << :glNamedFramebufferTextureMultiviewOVR
GL::GL_FUNCTIONS_ARGS_MAP[:glNamedFramebufferTextureMultiviewOVR] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
GL::GL_FUNCTIONS_RETVAL_MAP[:glNamedFramebufferTextureMultiviewOVR] = Fiddle::TYPE_VOID
GL.bind_command(:glNamedFramebufferTextureMultiviewOVR)
GL.module_eval(<<-SRC)
def self.NamedFramebufferTextureMultiviewOVR(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
GL_FUNCTIONS_MAP[:glNamedFramebufferTextureMultiviewOVR].call(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
end
SRC
end # self.define_ext_command_GL_OVR_multiview

def self.get_ext_command_GL_OVR_multiview
[
'glFramebufferTextureMultiviewOVR',
'glNamedFramebufferTextureMultiviewOVR',
]
end # self.get_ext_command_GL_OVR_multiview

Expand Down
11 changes: 11 additions & 0 deletions lib/opengl_ext_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31269,11 +31269,22 @@ def self.FramebufferTextureMultiviewOVR(_target_, _attachment_, _texture_, _leve
GL_FUNCTIONS_MAP[:glFramebufferTextureMultiviewOVR].call(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
end
SRC

GL::GL_FUNCTION_SYMBOLS << :glNamedFramebufferTextureMultiviewOVR
GL::GL_FUNCTIONS_ARGS_MAP[:glNamedFramebufferTextureMultiviewOVR] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
GL::GL_FUNCTIONS_RETVAL_MAP[:glNamedFramebufferTextureMultiviewOVR] = Fiddle::TYPE_VOID
GL.bind_command(:glNamedFramebufferTextureMultiviewOVR)
GL.module_eval(<<-SRC)
def self.NamedFramebufferTextureMultiviewOVR(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
GL_FUNCTIONS_MAP[:glNamedFramebufferTextureMultiviewOVR].call(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
end
SRC
end # self.define_ext_command_GL_OVR_multiview

def self.get_ext_command_GL_OVR_multiview
[
'glFramebufferTextureMultiviewOVR',
'glNamedFramebufferTextureMultiviewOVR',
]
end # self.get_ext_command_GL_OVR_multiview

Expand Down

0 comments on commit c384877

Please sign in to comment.