servo/components/compositing
bors-servo ac0645c236 Auto merge of #5767 - glennw:image-cache, r=larsbergstrom,jdm
* Simpler image cache API for clients to use.
 * Significantly fewer threads.
   * One thread for image cache task (multiplexes commands, decoder threads and async resource requests).
   * 4 threads for decoder worker tasks.
 * Removed ReflowEvent hacks in script and layout tasks.
   * Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe.
   * Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow.
 * Add reflow batching for when multiple images load quickly.
   * Reduces the number of paints loading wikipedia from ~95 to ~35.
 * Reasonably simple to add proper prefetch support in a follow up PR.
 * Async loaded images always construct Image fragments now, instead of generic.
   * Image fragments support the image not being present.
 * Simpler implementation of synchronous image loading for reftests.
 * Removed image holder.
 * image.onload support.
 * image NaturalWidth and NaturalHeight support.
 * Updated WPT expectations.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5767)
<!-- Reviewable:end -->
2015-04-22 19:16:46 -05:00
..
Cargo.toml Moved clipboard integration from textinput to constellation, to facilitate sandboxing. 2015-04-21 09:31:20 -04:00
compositor.rs Renaming the color function to just *transparent*, 2015-04-22 14:51:39 -07:00
compositor_layer.rs Only send unused buffers messages if there are actually any buffers 2015-04-07 17:52:42 +02:00
compositor_task.rs compositing: Keep the event loop awake when scrolling. 2015-04-10 10:39:50 -07:00
constellation.rs Refactored image cache task - details below. 2015-04-23 09:40:24 +10:00
headless.rs compositing: Keep the event loop awake when scrolling. 2015-04-10 10:39:50 -07:00
lib.rs Moved clipboard integration from textinput to constellation, to facilitate sandboxing. 2015-04-21 09:31:20 -04:00
pipeline.rs Split out shared networking code into net_traits crate 2015-04-03 13:38:10 -04:00
scrolling.md Add documentation about the scrolling model 2014-10-10 09:26:43 -07:00
scrolling.rs Fix more warnings everywhere. 2015-03-18 22:11:20 +01:00
windowing.rs Introduce a MouseButton enum. 2015-04-03 01:24:33 +02:00