servo/components/layout
Bobby Holley c5f01fe3b8 Introduce and use Scoped TLS.
It turns out that it's problematic to embed ThreadLocalStyleContext within
LayoutContext, because parameterizing the former on TElement (which we do
in the next patch) infects all the traversal stuff with the trait parameters,
which we don't really want.

In general, it probably makes sense to use separate scoped TLS types for
the separate DOM and Flow tree passes, so we can add a different ScopedTLS
type for the Flow pass if we ever need it.

We also reorder the |scope| and |shared| parameters in parallel.rs, because
it aligns more with the order in style/parallel.rs. I did this when I was
adding a TLS parameter to all these functions, which I realized we don't need
for now.
2016-12-21 11:10:39 -08:00
..
animation.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
block.rs Make the DomTraversalContext own the SharedStyleContext and share it immutably across the traversal. 2016-12-16 10:57:27 -08:00
Cargo.toml Upgrade to rayon 0.6. 2016-12-21 10:57:37 -08:00
construct.rs Removed util. 2016-12-14 18:04:37 -06:00
context.rs Introduce and use Scoped TLS. 2016-12-21 11:10:39 -08:00
data.rs Move children_to_process to layout. 2016-10-08 18:20:45 -07:00
display_list_builder.rs Auto merge of #14598 - DominoTree:master, r=canaltinova 2016-12-16 15:11:29 -08:00
flex.rs Make the DomTraversalContext own the SharedStyleContext and share it immutably across the traversal. 2016-12-16 10:57:27 -08:00
floats.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
flow.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
flow_list.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
flow_ref.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
fragment.rs Various fixes 2016-12-12 18:10:39 +08:00
generated_content.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
incremental.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
inline.rs Make the DomTraversalContext own the SharedStyleContext and share it immutably across the traversal. 2016-12-16 10:57:27 -08:00
layout_debug.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
lib.rs Removed util. 2016-12-14 18:04:37 -06:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Remove unused replaced size calculation methods 2016-12-12 18:10:36 +08:00
model.rs Add new methods to Fragment for size calculation of replaced element 2016-12-12 15:37:12 +08:00
multicol.rs Make the DomTraversalContext own the SharedStyleContext and share it immutably across the traversal. 2016-12-16 10:57:27 -08:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Introduce and use Scoped TLS. 2016-12-21 11:10:39 -08:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Introduce and use Scoped TLS. 2016-12-21 11:10:39 -08:00
sequential.rs Introduce and use Scoped TLS. 2016-12-21 11:10:39 -08:00
table.rs Remove unnecessary Flow::column_sizes methods 2016-11-30 09:38:27 -08:00
table_caption.rs Use a new id type for tracking scrolling areas 2016-10-30 21:10:04 +01:00
table_cell.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
table_colgroup.rs Use a new id type for tracking scrolling areas 2016-10-30 21:10:04 +01:00
table_row.rs Remove unnecessary Flow::column_sizes methods 2016-11-30 09:38:27 -08:00
table_rowgroup.rs Remove unnecessary Flow::column_sizes methods 2016-11-30 09:38:27 -08:00
table_wrapper.rs Remove unnecessary Flow::column_sizes methods 2016-11-30 09:38:27 -08:00
text.rs Use word-break to decide how glyph runs should be created 2016-09-27 11:25:21 +02:00
traversal.rs Introduce and use Scoped TLS. 2016-12-21 11:10:39 -08:00
webrender_helpers.rs Update WR (typed units, glyph cache, various features). 2016-12-15 12:11:51 +10:00
wrapper.rs Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. 2016-11-24 17:07:38 -08:00