diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-03-13 11:40:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 11:40:43 -0400 |
commit | 13a349603d986f969f522a676f356702aa69d5ac (patch) | |
tree | 179012d890cf4105b5c87adebe67385daf9ecbf2 /components/script/dom/webglrenderbuffer.rs | |
parent | 63a5807540892a3b0bf6ce5e27de23ca1a1b127b (diff) | |
parent | 1b4a3d8987077ce003ab0755b33663bda7f31935 (diff) | |
download | servo-13a349603d986f969f522a676f356702aa69d5ac.tar.gz servo-13a349603d986f969f522a676f356702aa69d5ac.zip |
Auto merge of #25959 - jdm:webgl_vertex_array, r=jdm
Add VertexArrayObject support for WebGL2
The implementation was already in place for OpenGL ES.
My approach with this patch is to add support for WebGL2 by
sharing the implementation between the WebGL2 and GLES.
Sadly I couldn't manage to place the WebGL2 and OpenGL ES variant to the same slot in `WebGLRenderingContext`, therefore I had to do same code duplication.
Fixes #25956.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/webglrenderbuffer.rs')
0 files changed, 0 insertions, 0 deletions