Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: cc/trees/layer_tree_host_common.cc

Issue 2751783002: cc: Replace LayerIterator with iterator that walks layer list and effect tree (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/layer_tree_host_common.h" 5 #include "cc/trees/layer_tree_host_common.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/containers/adapters.h" 11 #include "base/containers/adapters.h"
12 #include "base/trace_event/trace_event.h" 12 #include "base/trace_event/trace_event.h"
13 #include "cc/base/math_util.h" 13 #include "cc/base/math_util.h"
14 #include "cc/layers/heads_up_display_layer_impl.h" 14 #include "cc/layers/heads_up_display_layer_impl.h"
15 #include "cc/layers/layer.h" 15 #include "cc/layers/layer.h"
16 #include "cc/layers/layer_impl.h" 16 #include "cc/layers/layer_impl.h"
17 #include "cc/layers/layer_iterator.h"
18 #include "cc/trees/draw_property_utils.h" 17 #include "cc/trees/draw_property_utils.h"
19 #include "cc/trees/effect_node.h" 18 #include "cc/trees/effect_node.h"
20 #include "cc/trees/layer_tree_host.h" 19 #include "cc/trees/layer_tree_host.h"
21 #include "cc/trees/layer_tree_impl.h" 20 #include "cc/trees/layer_tree_impl.h"
22 #include "cc/trees/property_tree_builder.h" 21 #include "cc/trees/property_tree_builder.h"
23 #include "cc/trees/scroll_node.h" 22 #include "cc/trees/scroll_node.h"
24 #include "ui/gfx/geometry/rect_conversions.h" 23 #include "ui/gfx/geometry/rect_conversions.h"
25 #include "ui/gfx/geometry/vector2d_conversions.h" 24 #include "ui/gfx/geometry/vector2d_conversions.h"
26 #include "ui/gfx/transform.h" 25 #include "ui/gfx/transform.h"
27 #include "ui/gfx/transform_util.h" 26 #include "ui/gfx/transform_util.h"
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 645
647 PropertyTrees* GetPropertyTrees(Layer* layer) { 646 PropertyTrees* GetPropertyTrees(Layer* layer) {
648 return layer->layer_tree_host()->property_trees(); 647 return layer->layer_tree_host()->property_trees();
649 } 648 }
650 649
651 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { 650 PropertyTrees* GetPropertyTrees(LayerImpl* layer) {
652 return layer->layer_tree_impl()->property_trees(); 651 return layer->layer_tree_impl()->property_trees();
653 } 652 }
654 653
655 } // namespace cc 654 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698