diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-04-26 21:28:35 -0500 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-04-26 21:28:35 -0500 |
commit | 9f2ad9376eaf598898387ea2c26f48c3ceb0330d (patch) | |
tree | 34216d0c75ff570ffbdf2d2699391e286a9e9225 /components/script/dom/htmlelement.rs | |
parent | ea00e949a45ca2e8842882b1b8a6ad7970890c00 (diff) | |
parent | 79a5dae1702916c724e7c9e08ead44a1b90cdedb (diff) | |
download | servo-9f2ad9376eaf598898387ea2c26f48c3ceb0330d.tar.gz servo-9f2ad9376eaf598898387ea2c26f48c3ceb0330d.zip |
Auto merge of #5863 - ecoal95:webgl-refactor, r=jdm
GitHub doesn't allow me to reopen #5769, so I created this.
Sorry about the merge fail, my bad :/
cc/ @jdm @dmarcos
---
This PR uses customized GL context creation code, right now only working under Linux, so I expect the clearcolor test to fail on other platforms.
It addresses some other problems:
* Propagates context creation error to the top, returning null if not found.
* Uses GLContextAttributes, which will allow us to write WebGLContextAttributes easily.
* Doesn't allow a 2d context and a WebGL context coexist.
* Panics when resizing the context to larger dimensions (to be fixed soon, but better than blindly allowing it).
Removes some unused dependencies
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5863)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlelement.rs')
0 files changed, 0 insertions, 0 deletions