Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gl.xml] Functions using raw GLenum without group #318

Open
tsuoranta opened this issue Oct 12, 2019 · 8 comments
Open

[gl.xml] Functions using raw GLenum without group #318

tsuoranta opened this issue Oct 12, 2019 · 8 comments

Comments

@tsuoranta
Copy link
Contributor

tsuoranta commented Oct 12, 2019

Functions which use raw GLenum directly, without enum group:

Introduced in GL_VERSION_3_1:

  • glGetIntegeri_v()

Introduced in GL_VERSION_3_2:

  • glGetInteger64i_v()

Introduced in GL_VERSION_4_1:

  • glGetDoublei_v()
  • glGetFloati_v()
  • glGetProgramBinary()
  • glProgramBinary()
  • glShaderBinary()

Introduced in GL_ES_VERSION_2_0:

  • glShaderBinary()

Introduced in GL_ES_VERSION_3_0:

  • glGetInteger64i_v()
  • glGetIntegeri_v()
  • glGetProgramBinary()
  • glProgramBinary()

Introduced in GL_OES_texture_3D:

  • glCopyTexSubImage3DOES()

Introduced in GL_OES_get_program_binary:

  • glGetProgramBinaryOES()

Introduced in GL_EXT_debug_label:

  • glLabelObjectEXT()

Introduced in GL_OES_get_program_binary:

  • glProgramBinaryOES()

Introduced in GL_EXT_debug_label:

  • glGetObjectLabelEXT()

I might create pull requests to fix at least some of these, either by applying existing enum group, or creating new enum groups.

@pdaniell-nv pdaniell-nv added this to the Needs Action/PR milestone Oct 16, 2019
@Perksey
Copy link
Contributor

Perksey commented Nov 15, 2019

This will probably need to be done by members of the community, as the groupings are essentially "deprecated" and aren't maintained by Khronos as much as they used to.

@frederikja163
Copy link
Contributor

frederikja163 commented Jan 8, 2020

might be relevant to #335,

@Perksey
Copy link
Contributor

Perksey commented Jan 17, 2020

Discard the file that Fred previously attached as there was a bug in GLSpecTools. Here's an updated copy:
ungrouped_enums.master.txt

@pdaniell-nv
Copy link
Contributor

Is this issue still relevant now that #335 is being addressed?

@SunSerega
Copy link
Contributor

I think commands of non-depricated features and extensions should all have group for every GLenum and GLbitfield.
This fact isn't affected by how group are specified.

@Perksey
Copy link
Contributor

Perksey commented Jan 30, 2020

There isn't a lot of engineering effort going into the groups due to them not being used at all for Khronos purposes, bar Google's ANGLE project which is the only usage I've seen by a member of Khronos. As such, all group improvements need to be done by community members. I am currently the volunteering group maintainer as it were, and I do intend to improve the groupings as part of my Silk.NET project (dotnet/Silk.NET#106), but I don't have a lot of time right now.

Improvements to the groups will happen over time - the way I see it now that all the big modifications are done you just need to give it some time to heal. If what you're after is some sort of requirement for groupings, I'm sorry but that will just never happen as there are no benefits for Khronos.

@SunSerega
Copy link
Contributor

Strong requirement isn't really possible, at least because there are some extensions which aren't even properly documented, so no one can know which enums can be passed in that extension's commands.

I'm only talking about keeping this issue open until someone like you and me would find time to create groups for all non-deprecated commands.

@Perksey
Copy link
Contributor

Perksey commented Jan 31, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@pdaniell-nv @Perksey @frederikja163 @SunSerega @tsuoranta and others