servo/components/canvas_traits
bors-servo 3209d22968 Auto merge of #18592 - MortimerGoro:dom_texture, r=jdm
Implement DOM to texture

<!-- Please describe your changes on the following line: -->

This is a prototype of the WebGL DOMToTexture feature. The API should be fine as a privileged extension for now due to security concerns. The working group has been investigating the viability of unprivileged usage but the spec is not ready yet.

Demo video: https://www.youtube.com/watch?v=hpZqEM5hPao

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18592)
<!-- Reviewable:end -->
2017-10-16 15:36:42 -05:00
..
webgl_channel Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox" 2017-08-16 23:23:18 +02:00
canvas.rs Implement Ellipse Canvas 2D API 2017-09-01 16:04:06 -07:00
Cargo.toml Update WR (details below): 2017-10-16 16:33:24 +10:00
lib.rs Use wrappers in the nonzero crate so users don’t need unstable features 2017-10-13 11:11:05 +02:00
webgl.rs Implement DOM to texture 2017-10-16 20:56:53 +02:00