servo/components/script
bors-servo 3b516af783 Auto merge of #16590 - MortimerGoro:texture_rgb, r=emilio
Fix WebGL premultiplied alpha. Fix texImage2D calls with RGB images.

Fix WebGL premultiplied alpha testcases.

Fix broken textures in some WebGL demos (e.g. Three.js). This was caused by WebGL::texImage2D calls with RGB formats. Alpha must be removed from the rgba8 pixel vector before submitting the data to the GPU.

---
<!-- 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/16590)
<!-- Reviewable:end -->
2017-04-28 07:12:05 -05:00
..
docs
dom Auto merge of #16590 - MortimerGoro:texture_rgb, r=emilio 2017-04-28 07:12:05 -05:00
task_source
body.rs
build.rs
Cargo.toml Update to cssparser 0.13 2017-04-25 01:45:33 +02:00
clipboard_provider.rs
CMakeLists.txt
devtools.rs Added some same-origin-domain checks. 2017-03-14 14:36:03 -05:00
document_loader.rs
fetch.rs Remove all internal mutability from Request 2017-04-03 12:39:07 +02:00
layout_image.rs Make image cache per-document rather than global 2017-03-27 19:54:13 +02:00
layout_wrapper.rs Bug 1331047: Implement the new traversal semantics for stylo. r=bholley,hiro 2017-04-27 14:26:48 +02:00
lib.rs Auto merge of #15666 - clementmiao:keyboard_shortcuts, r=asajeffrey 2017-04-12 03:01:16 -05:00
mem.rs
microtask.rs
network_listener.rs
script_runtime.rs Update rust-mozjs to master. 2017-03-31 14:40:38 -04:00
script_thread.rs added origin to globalscope 2017-04-24 13:15:42 +01:00
serviceworker_manager.rs
serviceworkerjob.rs
stylesheet_loader.rs Propagate quirks mode all the way to ParserContext 2017-04-27 10:41:55 +02:00
test.rs
textinput.rs Auto merge of #15822 - charlesvdv:unicode-panic, r=emilio 2017-04-16 15:08:59 -05:00
timers.rs Terminate timer scheduler thread during shutdown 2017-03-30 14:27:40 +02:00
unpremultiplytable.rs
webdriver_handlers.rs Update Hyper and OpenSSL 2017-03-31 16:32:21 +02:00