servo/components
bors-servo ffa03380ca Auto merge of #18580 - MortimerGoro:webgl_active_texture, r=jdm
Associate WebGL textures with texture units

<!-- Please describe your changes on the following line: -->

Currently `bound_texture_2d` and `bound_texture_cube_map` fields are used to restore texture states and to get the current bindings in GetParams(...). But as soon as active texture is changed all the values can become dirty, leading to broken textures in some demos or invalid getParam(...) call results.

This PR implements the texture binding association with the texture units.

---
<!-- 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/18580)
<!-- Reviewable:end -->
2017-09-28 14:12:06 -05:00
..
atoms Do not NIH queueing a task to fire an event in htmlmediaelement 2017-09-04 16:14:04 +02:00
bluetooth Use BluetoohAdapter mock when bluetooth is disabled 2017-09-17 12:15:00 +02:00
bluetooth_traits
canvas Improve Webrender<->WebGL synchronization 2017-09-20 11:48:11 +02:00
canvas_traits Improve Webrender<->WebGL synchronization 2017-09-20 11:48:11 +02:00
compositing Update WR (workaround a mac GL driver bug). 2017-09-22 14:46:40 +10:00
config enable antialiasing by default 2017-08-29 17:50:26 +02:00
constellation Auto merge of #17083 - danielj41:javascript-url-global-3, r=jdm 2017-09-09 04:39:43 -05:00
debugger
deny_public_fields
devtools Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
devtools_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
dom_struct Use the better TokenStream API in dom_struct 2017-09-01 12:15:12 +02:00
domobject_derive Fix quote dependency version 2017-08-23 18:35:42 +02:00
fallible Bug 1398593 - stylo: mitigate performance impact of fallible allocation on stylist rebuilds. r=emilio. 2017-09-12 15:18:49 +02:00
geometry
gfx Auto merge of #18598 - glennw:update-wr-driver-bug, r=emilio 2017-09-24 16:13:47 -05:00
gfx_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
hashglobe Bug 1398593 - stylo: mitigate performance impact of fallible allocation on stylist rebuilds. r=emilio. 2017-09-12 15:18:49 +02:00
jstraceable_derive Fix quote dependency version 2017-08-23 18:35:42 +02:00
layout Rename LayoutJS<T> to LayoutDom<T> 2017-09-26 09:49:04 +02:00
layout_thread style: Lazily tweak the traversal root to account for sibling invalidations. 2017-09-26 13:09:03 +02:00
layout_traits WR multi-document update 2017-07-28 22:28:11 -04:00
lru_cache Hoist lookup() into lru_cache. 2017-09-20 23:22:33 -07:00
malloc_size_of Remove some use statements in malloc_size_of. 2017-09-26 19:05:23 +10:00
malloc_size_of_derive Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
metrics Add paint metrics to Performance Timeline API 2017-08-23 17:30:13 +02:00
msg Made PipelineId non-zero, so optional ids take no more space. 2017-09-18 15:49:38 -05:00
net Update some dependencies to fix some warnings 2017-09-20 11:50:39 +02:00
net_traits Update WR (workaround a mac GL driver bug). 2017-09-22 14:46:40 +10:00
profile Make Performance Timeline API work in Workers 2017-09-05 17:07:15 +02:00
profile_traits Make Performance Timeline API work in Workers 2017-09-05 17:07:15 +02:00
rand
range order derivable traits lists 2017-08-23 21:38:44 +02:00
remutex order derivable traits lists 2017-08-23 21:38:44 +02:00
script Auto merge of #18580 - MortimerGoro:webgl_active_texture, r=jdm 2017-09-28 14:12:06 -05:00
script_layout_interface Rename LayoutJS<T> to LayoutDom<T> 2017-09-26 09:49:04 +02:00
script_plugins Associate bound WebGLTextures with texture units. 2017-09-28 18:52:29 +02:00
script_traits Introduce MainThreadScriptMsg::RegisterPaintWorklet 2017-09-17 10:19:59 +02:00
selectors selectors: Remove unused crate. 2017-09-25 02:01:55 +02:00
servo Improve Webrender<->WebGL synchronization 2017-09-20 11:48:11 +02:00
servo_arc style: Share user agent cascade data across documents. 2017-09-15 09:26:23 +02:00
size_of_test
style Auto merge of #18660 - upsuper:var-sub-inherit, r=emilio 2017-09-28 09:06:48 -05:00
style_derive style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
style_traits style: Remove UnsafeNode. 2017-09-25 01:58:52 +02:00
url order derivable traits lists 2017-08-23 21:38:44 +02:00
webdriver_server Update WR (workaround a mac GL driver bug). 2017-09-22 14:46:40 +10:00
webvr Update rust-webvr to 0.8 2017-08-31 01:24:54 +02:00
webvr_traits Update rust-webvr to 0.8 2017-08-31 01:24:54 +02:00