servo/components/gfx
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
..
display_list Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00
platform Stop using int in font_list. 2015-04-08 19:00:58 +02:00
text Remove unneeded assert (code below handles it) and a warning. Fixes #5230. 2015-04-10 09:55:59 +10:00
buffer_map.rs Remove int_uint feature from gfx. 2015-04-07 11:58:28 -04:00
Cargo.toml Split out shared networking code into net_traits crate 2015-04-03 13:38:10 -04:00
color.rs Renaming the color function to just *transparent*, 2015-04-22 14:51:39 -07:00
filters.rs Implementing Blur filter. 2015-04-15 16:15:21 -07:00
font.rs Remove int_uint feature from gfx. 2015-04-07 11:58:28 -04:00
font_cache_task.rs Split out shared networking code into net_traits crate 2015-04-03 13:38:10 -04:00
font_context.rs Warning patrol. 2015-04-01 12:59:51 -04:00
font_template.rs gfx: Perform more aggressive caching in 2015-04-01 08:58:16 -07:00
lib.rs Remove int_uint feature from gfx. 2015-04-07 11:58:28 -04:00
paint_context.rs Renaming the color function to just *transparent*, 2015-04-22 14:51:39 -07:00
paint_task.rs Refactored image cache task - details below. 2015-04-23 09:40:24 +10:00