diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-12-01 03:04:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-01 03:04:49 -0800 |
commit | 94eefc4001e0998fcea5a35943da73624ea82b13 (patch) | |
tree | f3f89f11b11473c6cd86e7eefaebcaa4547906ab /components/script/dom/element.rs | |
parent | 0d896a8d820e31037d536f133b5a8b8c43c2e1a2 (diff) | |
parent | 8ba75c0545f26b7577a70aff71aa619128dc870b (diff) | |
download | servo-94eefc4001e0998fcea5a35943da73624ea82b13.tar.gz servo-94eefc4001e0998fcea5a35943da73624ea82b13.zip |
Auto merge of #14075 - MortimerGoro:webgl-resize, r=MortimerGoro
Implement WebGLContext resize
<!-- Please describe your changes on the following line: -->
Related PR: https://github.com/servo/webrender/pull/519
Implement WebGLContext resize (canvas.width & canvas.height). I have tested:
- Fixes WebGL apps that initialize canvas size after calling canvas.getContext("webgl")
- Support WebGL apps that change the canvas size & viewport on window.onresize
---
<!-- 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 _____
<!-- 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/14075)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/element.rs')
0 files changed, 0 insertions, 0 deletions