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

Binary-compatible fixes #283

Merged
merged 2 commits into from
Jul 24, 2019
Merged

Binary-compatible fixes #283

merged 2 commits into from
Jul 24, 2019

Conversation

stohrendorf
Copy link
Contributor

  • Add GL_COLOR_ATTACHMENT* members to DrawBufferMode
  • Add GL_RGB32F to InternalFormat
  • Add enum CopyImageSubDataTarget, using it for glCopyImageSubData instead of CopyBufferSubDataTarget
  • Use DrawBufferMode instead of DrawBufferModeATI for glDrawBuffers
  • Use GLenum instead of GLint for glTexImage2D internalformat parameter

@oddhack
Copy link
Collaborator

oddhack commented Jun 21, 2019

Mostly this looks OK to me - want to run it by the rest of the working group first - but TexImage2D cannot be GLenum, because in the compatibility profile it accepts the integer values 1-4.

@oddhack
Copy link
Collaborator

oddhack commented Jun 21, 2019

Also I just accepted some other PRs which merged duplicate enum groups and caused some conflicts, so this will need to be rebased. I think if you just revert the TexImage2D change after rebasing, this will be uncontroversial.

* Add GL_COLOR_ATTACHMENT* members to DrawBufferMode
* Add GL_RGB32F to InternalFormat
* Add enum CopyImageSubDataTarget, using it for glCopyImageSubData instead of CopyBufferSubDataTarget
* Use DrawBufferMode instead of DrawBufferModeATI for glDrawBuffers
* Use GLenum instead of GLint for glTexImage2D internalformat parameter
@stohrendorf
Copy link
Contributor Author

Rebased and reverted GLint/GLenum change.

@stohrendorf
Copy link
Contributor Author

Also includes a few more fixes for enums referencing non-existing constants (missing underscores in names).

@oddhack oddhack requested a review from pdaniell-nv June 22, 2019 05:05
@oddhack
Copy link
Collaborator

oddhack commented Jun 22, 2019

@pdaniell-nv if you will sign off on this I'll merge it. The only questionable bit was reverted, so this is just modifying the enum groups and doesn't affect the headers at all.

@pdaniell-nv
Copy link
Contributor

@oddhack approved to merge.

@oddhack oddhack merged commit 32b4e7f into KhronosGroup:master Jul 24, 2019
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

Successfully merging this pull request may close these issues.

3 participants