servo/components/layout
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
..
css Adding cmdling argument for disabling style share cache, fix #5581 2015-04-09 21:42:41 -04:00
animation.rs Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00
block.rs Don't link to specific WHATWG multipage page 2015-04-16 22:39:25 -04:00
Cargo.toml Split out shared networking code into net_traits crate 2015-04-03 13:38:10 -04:00
construct.rs Refactored image cache task - details below. 2015-04-23 09:40:24 +10:00
context.rs Refactored image cache task - details below. 2015-04-23 09:40:24 +10:00
data.rs Replace unsafe_blocks by unsafe_code. 2015-03-21 10:27:32 +01:00
display_list_builder.rs Auto merge of #5767 - glennw:image-cache, r=larsbergstrom,jdm 2015-04-22 19:16:46 -05:00
floats.rs layout: During inline layout, make place_between_floats use the same 2015-04-09 14:23:08 -07:00
flow.rs Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00
flow_list.rs Use usize in flow_list. 2015-03-29 12:43:44 +02:00
flow_ref.rs Replace unsafe_blocks by unsafe_code. 2015-03-21 10:27:32 +01:00
fragment.rs Refactored image cache task - details below. 2015-04-23 09:40:24 +10:00
generated_content.rs Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00
incremental.rs layout: Implement ordered lists, CSS counters, and quotes per CSS 2.1 2015-03-09 17:13:45 -07:00
inline.rs Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00
layout_debug.rs Remove old_path usage from layout. 2015-03-25 22:36:01 +01:00
layout_task.rs Auto merge of #5767 - glennw:image-cache, r=larsbergstrom,jdm 2015-04-22 19:16:46 -05:00
lib.rs Split out shared networking code into net_traits crate 2015-04-03 13:38:10 -04:00
list_item.rs layout: Position and size list images properly in the block direction. 2015-04-07 15:42:52 -07:00
model.rs layout: Use the same code path for computing static positions of regular 2015-04-14 13:00:10 -07:00
opaque_node.rs Replace unsafe_blocks by unsafe_code. 2015-03-21 10:27:32 +01:00
parallel.rs Use isize with children_count members. 2015-04-02 14:50:15 +02:00
sequential.rs layout: Implement ordered lists, CSS counters, and quotes per CSS 2.1 2015-03-09 17:13:45 -07:00
table.rs Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00
table_caption.rs Replace unsafe_blocks by unsafe_code. 2015-03-21 10:27:32 +01:00
table_cell.rs Replace unsafe_blocks by unsafe_code. 2015-03-21 10:27:32 +01:00
table_colgroup.rs Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00
table_row.rs Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00
table_rowgroup.rs Replace unsafe_blocks by unsafe_code. 2015-03-21 10:27:32 +01:00
table_wrapper.rs layout: Minor stylistic cleanup. 2015-04-14 13:00:11 -07:00
text.rs layout: Simplify and improve the correctness of whitespace stripping in 2015-04-08 14:29:23 -07:00
traversal.rs Stop using u/i suffixes in layout. 2015-04-02 15:14:09 +02:00
wrapper.rs Auto merge of #5767 - glennw:image-cache, r=larsbergstrom,jdm 2015-04-22 19:16:46 -05:00