servo/components/layout
bors-servo ca08271345 Auto merge of #18704 - mrobinson:wr-hit-testing, r=jdm,glennw,mbrubeck
Switch to using WebRender hit testing

This trades quite a bit of complicated code in Servo for few more
messages and a significant performance improvement. In particular,
WebRender can search the entire display list at once instead of
ping-ponging down the pipeline tree. This allows us to send mouse
events to the correct pipeline immediately.

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

---
<!-- 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: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they should not change behavior.

<!-- 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/18704)
<!-- Reviewable:end -->
2017-10-17 17:09:25 -05:00
..
animation.rs stylo: Remove a lot of the restyle damage related complexity. 2017-08-20 13:59:46 +02:00
block.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
Cargo.toml Update WR (details below): 2017-10-16 16:33:24 +10:00
construct.rs Remove usage of unstable box syntax, except in the script crate 2017-10-12 12:10:56 +02:00
context.rs Speculatively evaluate paint functions during style. 2017-07-31 13:02:28 -05:00
data.rs layout: Stop doing unsafe transmutes between refcell references. 2017-05-25 10:31:40 +02:00
display_list_builder.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
flex.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
floats.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
flow.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
flow_list.rs Remove usage of unstable feature conservative_impl_trait in layout 2017-10-13 11:11:06 +02:00
flow_ref.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
fragment.rs Remove usage of unstable feature box_patterns 2017-10-13 11:11:08 +02:00
generated_content.rs Remove usage of unstable box syntax, except in the script crate 2017-10-12 12:10:56 +02:00
incremental.rs Force reflow in the sequential fallback of block format context 2017-04-23 08:32:25 +08:00
inline.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
layout_debug.rs Remove usage of unstable box syntax, except in the script crate 2017-10-12 12:10:56 +02:00
lib.rs Use pointer casts instead of tramsutes to raw::TraitObject 2017-10-13 21:55:11 +02:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
model.rs style: Make border-spacing serialization consistent, and move it to precomputed_type. 2017-09-17 21:33:17 +02:00
multicol.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Use raw pointers instead of transmute for UnsafeFlow 2017-10-04 20:00:31 -07:00
persistent_list.rs Make tidy aware of Rust multiline strings 2017-09-21 17:17:47 -04:00
query.rs Auto merge of #18704 - mrobinson:wr-hit-testing, r=jdm,glennw,mbrubeck 2017-10-17 17:09:25 -05:00
sequential.rs Separate stacking context collection and display list building state 2017-09-12 17:15:06 +02:00
table.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_caption.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_cell.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_colgroup.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_row.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_rowgroup.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_wrapper.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
text.rs Remove usage of unstable box syntax, except in the script crate 2017-10-12 12:10:56 +02:00
traversal.rs Eliminate RestyleData entirely. 2017-09-12 10:33:51 -07:00
webrender_helpers.rs Switch to using WebRender hit testing 2017-10-17 23:33:13 +02:00
wrapper.rs Rename LayoutJS<T> to LayoutDom<T> 2017-09-26 09:49:04 +02:00