diff options
author | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-15 15:19:05 +0000 |
---|---|---|
committer | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-15 15:19:05 +0000 |
commit | 97ada322de9f492e3f0d1741ac117fc42599451b (patch) | |
tree | a1fe627d1050bfeaf5b0b5496894186a3126e206 /cc/layers | |
parent | 7d20c7c2b5998f46b1bc564f2d3a4bbcc37977ab (diff) | |
download | chromium_src-97ada322de9f492e3f0d1741ac117fc42599451b.zip chromium_src-97ada322de9f492e3f0d1741ac117fc42599451b.tar.gz chromium_src-97ada322de9f492e3f0d1741ac117fc42599451b.tar.bz2 |
Revert "Allow clipping by scroll parents." and "Improve perf of CalculateDrawPropertiesInternal when there are no scroll parents."
Speculative revert to see if this affects SVG perf.
This reverts commit 7d148876b818e079b85821b702dd9dbe592127f5.
Conflicts:
cc/trees/layer_tree_host_common.cc
Revert "Improve perf of CalculateDrawPropertiesInternal when there are no scroll parents."
This reverts commit 1cdf6668b7665cbc984d1f7eb75548ec4b8af3b0.
TBR=vollick@chromium.org
BUG=306926
Review URL: https://codereview.chromium.org/27341002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layers')
-rw-r--r-- | cc/layers/draw_properties.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h index b81bec7..06c8834 100644 --- a/cc/layers/draw_properties.h +++ b/cc/layers/draw_properties.h @@ -29,13 +29,7 @@ struct CC_EXPORT DrawProperties { num_descendants_that_draw_content(0), num_unclipped_descendants(0), can_draw_directly_to_backbuffer(false), - layer_or_descendant_has_copy_request(false), - has_child_with_a_scroll_parent(false), - sorted_for_recursion(false), - index_of_first_descendants_addition(0), - num_descendants_added(0), - index_of_first_render_surface_layer_list_addition(0), - num_render_surfaces_added(0) {} + layer_or_descendant_has_copy_request(false) {} // Transforms objects from content space to target surface space, where // this layer would be drawn. @@ -103,24 +97,6 @@ struct CC_EXPORT DrawProperties { // If true, the layer or some layer in its sub-tree has a CopyOutputRequest // present on it. bool layer_or_descendant_has_copy_request; - - // This is true if the layer has any direct child that has a scroll parent. - // This layer will not be the scroll parent in this case. This information - // lets us avoid work in CalculateDrawPropertiesInternal -- if none of our - // children have scroll parents, we will not need to recur out of order. - bool has_child_with_a_scroll_parent; - - // This is true if the order (wrt to its siblings in the tree) in which the - // layer will be visited while computing draw properties has been determined. - bool sorted_for_recursion; - - // If this layer is visited out of order, its contribution to the descendant - // and render surface layer lists will be put aside in a temporary list. - // These values will allow for an efficient reordering of these additions. - size_t index_of_first_descendants_addition; - size_t num_descendants_added; - size_t index_of_first_render_surface_layer_list_addition; - size_t num_render_surfaces_added; }; } // namespace cc |