diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-02-03 06:59:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-03 06:59:11 -0800 |
commit | 536c0d74994bf8b5eaef3f64247753d75ba7baab (patch) | |
tree | 4256a2d1a92c579816c4ca8e8085236c09ea0de7 /components/script/lib.rs | |
parent | f0e21d0bbe38774e6fb2c756a7302f79a86ae717 (diff) | |
parent | fcef92f5ba308af3ab6b1ebafd6425995fabe834 (diff) | |
download | servo-536c0d74994bf8b5eaef3f64247753d75ba7baab.tar.gz servo-536c0d74994bf8b5eaef3f64247753d75ba7baab.zip |
Auto merge of #15122 - anholt:webgl-premultiply, r=emilio
webgl: premultiplication, y flipping, and format conversion
<!-- Please describe your changes on the following line: -->
This series implements a bunch of the texture unpack path features for WebGL. There are known issues with big-endian systems noted in the comments, but I don't know of a clean way to cast from `Vec<u16>` to `Vec<u8>` (which, if we had one, would make this code much cleaner anyway).
---
<!-- 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/15122)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index 15d1d2d322b..8c85efb489f 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -32,6 +32,7 @@ extern crate audio_video_metadata; #[macro_use] extern crate bitflags; extern crate bluetooth_traits; +extern crate byteorder; extern crate canvas_traits; extern crate caseless; extern crate cookie as cookie_rs; |