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

support for WEBGL_draw_buffers? #142

Closed
robertleeplummerjr opened this issue Jan 25, 2019 · 3 comments
Closed

support for WEBGL_draw_buffers? #142

robertleeplummerjr opened this issue Jan 25, 2019 · 3 comments

Comments

@robertleeplummerjr
Copy link
Collaborator

How hard would it be to get the https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers extension working?

@dhritzkiv
Copy link
Member

Without peeking into this, it should be possible by: checking if the extension is in the getSupportedExtensions list and returning a truthy value; by defining the relevant constants; and by handling any special cases in the draw calls.

Tests might be a different problem as they may or may not pass, even if the implementation is sound. Though, likely the current conformance suite should handle it.

@robertleeplummerjr
Copy link
Collaborator Author

I've checked on my newer build of angle with headless-gl, and the extension is there, seemingly by default. So I'm adding the bindings for it.

@robertleeplummerjr
Copy link
Collaborator Author

This is essentially my patch, but it isn't outputting anything to the textures, so opening an issue with Google Angle: https://gist.github.com/robertleeplummerjr/cce00202e08954cf8df512eed838de66

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

2 participants