aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_thread.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-02-25 02:52:45 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-02-25 02:52:45 +0530
commit7f8c34ce8ed6e5758d2723a2c736107f9765aa24 (patch)
tree32c3ec17ef667b628bf3041134ece1e221384e69 /components/layout/layout_thread.rs
parent09e987b559688caeef75aecd265c68f8d2b5c7e2 (diff)
parent630a9d4255c3fa0eecb69229be97df2d04e36f0a (diff)
downloadservo-7f8c34ce8ed6e5758d2723a2c736107f9765aa24.tar.gz
servo-7f8c34ce8ed6e5758d2723a2c736107f9765aa24.zip
Auto merge of #9706 - mrobinson:remove-parallel-display-list-building, r=pcwalton
Remove parallel display list construction Parallel display list construction hasn't been shown to give any performance gains. It is also incompatible with the current flat display list implementation. Once flat display lists have landed, we can explore possible benefits of parallel construction once again. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9706) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout/layout_thread.rs')
-rw-r--r--components/layout/layout_thread.rs14
1 files changed, 1 insertions, 13 deletions
diff --git a/components/layout/layout_thread.rs b/components/layout/layout_thread.rs
index e1e163acb39..b574e2d62fd 100644
--- a/components/layout/layout_thread.rs
+++ b/components/layout/layout_thread.rs
@@ -860,19 +860,7 @@ impl LayoutThread {
flow::mut_base(flow_ref::deref_mut(layout_root)).clip =
ClippingRegion::from_rect(&data.page_clip_rect);
- match (&mut self.parallel_traversal, opts::get().parallel_display_list_building) {
- (&mut Some(ref mut traversal), true) => {
- parallel::build_display_list_for_subtree(layout_root,
- metadata,
- sender,
- shared_layout_context,
- traversal);
- }
- _ => {
- sequential::build_display_list_for_subtree(layout_root,
- shared_layout_context);
- }
- }
+ sequential::build_display_list_for_subtree(layout_root, shared_layout_context);
if data.goal == ReflowGoal::ForDisplay {
debug!("Done building display list.");