servo/components
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
..
atoms Allow 'decimal' and 'none' in <counter-style-name> 2017-04-26 13:04:27 +09:00
bluetooth Use servo_config::opts only on linux target. 2017-03-21 15:55:45 +01:00
bluetooth_traits
canvas Update to cssparser 0.13 2017-04-25 01:45:33 +02:00
canvas_traits Update to cssparser 0.13 2017-04-25 01:45:33 +02:00
compositing Auto merge of #15794 - paulrouget:head_parsed_url, r=asajeffrey 2017-04-25 14:14:31 -05:00
config Android life cycle improvements and Gradle integration 2017-04-21 18:24:10 +02:00
constellation Auto merge of #15794 - paulrouget:head_parsed_url, r=asajeffrey 2017-04-25 14:14:31 -05:00
debugger Enable the debugger on Android 2017-03-17 16:36:06 +01:00
deny_public_fields
devtools Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
devtools_traits Update Hyper and OpenSSL 2017-03-31 16:32:21 +02:00
dom_struct
domobject_derive
geometry
gfx Use NativeFontHandle instead of CGFont 2017-04-21 13:21:25 +10:00
gfx_traits Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
jstraceable_derive
layout Parse interpolation hints (fixes #15166) 2017-04-27 15:04:36 +02:00
layout_thread Propagate quirks mode all the way to ParserContext 2017-04-27 10:41:55 +02:00
layout_traits Make ImageCacheImpl have a single Mutex<ImageCacheStore> and use ImageDecoderRunnable 2017-03-27 19:54:15 +02:00
msg Update to cssparser 0.13 2017-04-25 01:45:33 +02:00
net Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
net_traits Auto merge of #16288 - nox:net, r=jdm 2017-04-07 05:53:31 -05:00
profile Remove servo feature from servo_config 2017-04-07 17:44:22 +10:00
profile_traits
rand
range
remutex
script Auto merge of #16590 - MortimerGoro:texture_rgb, r=emilio 2017-04-28 07:12:05 -05:00
script_layout_interface Make Stylist::quirks_mode hold a QuirksMode 2017-04-26 17:30:28 +02:00
script_plugins Update rustc to 1.18.0-nightly (b0a4074c5 2017-04-26) 2017-04-26 17:34:34 +02:00
script_traits added origin to globalscope 2017-04-24 13:15:42 +01:00
selectors Bug 1360399: Don't deduplicate revalidation selectors. r=bholley 2017-04-28 02:57:54 +02:00
servo Make image cache per-document rather than global 2017-03-27 19:54:13 +02:00
style Auto merge of #16610 - Manishearth:fixup-overflow, r=emilio 2017-04-28 06:19:00 -05:00
style_traits Update to cssparser 0.13 2017-04-25 01:45:33 +02:00
url Remove servo feature from servo_url 2017-04-07 17:51:49 +10:00
webdriver_server Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
webvr Update WR (new groove/ridge border path, mix-blend-mode optimizations) 2017-04-26 14:34:07 +10:00
webvr_traits Implement Gamepad API 2017-04-12 15:43:14 +02:00