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

Implement WebGL2RenderingContext.texImage3D #26511

Open
jdm opened this issue May 13, 2020 · 1 comment
Open

Implement WebGL2RenderingContext.texImage3D #26511

jdm opened this issue May 13, 2020 · 1 comment

Comments

@jdm
Copy link
Member

@jdm jdm commented May 13, 2020

@jdm
Copy link
Member Author

@jdm jdm commented May 20, 2020

Extremely rough implementation at https://github.com/jdm/servo/tree/teximage3d, which is enough to get http://webglsamples.org/WebGL2Samples/#texture_2d_array and http://webglsamples.org/WebGL2Samples/#texture_3d running. Next steps include:

  • actually trying to implement the 3d texture/2d texture array validation checks, instead of relying on some hacks in the 2d texture validation
  • implementing the other webidl entrypoints for TexImageSource
  • figuring out how to merge the existing tex_image_2d/TexImage2D implementations with the duplicated 3d texture code
  • running tests
@jdm jdm added the C-has-patch label May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.