OLD | NEW |
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 <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/trace_event/trace_event.h" | 9 #include "base/trace_event/trace_event.h" |
10 #include "cc/base/math_util.h" | 10 #include "cc/base/math_util.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 NULL, | 120 NULL, |
121 NULL, | 121 NULL, |
122 gfx::Vector2dF(), | 122 gfx::Vector2dF(), |
123 NULL, | 123 NULL, |
124 std::numeric_limits<int>::max() / 2, | 124 std::numeric_limits<int>::max() / 2, |
125 false, | 125 false, |
126 false, | 126 false, |
127 true, | 127 true, |
128 false, | 128 false, |
129 true, | 129 true, |
130 true, | 130 false, |
131 render_surface_layer_list, | 131 render_surface_layer_list, |
132 0, | 132 0, |
133 GetPropertyTrees(root_layer)) { | 133 GetPropertyTrees(root_layer)) { |
134 DCHECK(root_layer); | 134 DCHECK(root_layer); |
135 DCHECK(render_surface_layer_list); | 135 DCHECK(render_surface_layer_list); |
136 } | 136 } |
137 | 137 |
138 LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting:: | 138 LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting:: |
139 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, | 139 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, |
140 const gfx::Size& device_viewport_size, | 140 const gfx::Size& device_viewport_size, |
(...skipping 2732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2873 | 2873 |
2874 PropertyTrees* GetPropertyTrees(Layer* layer) { | 2874 PropertyTrees* GetPropertyTrees(Layer* layer) { |
2875 return layer->layer_tree_host()->property_trees(); | 2875 return layer->layer_tree_host()->property_trees(); |
2876 } | 2876 } |
2877 | 2877 |
2878 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { | 2878 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { |
2879 return layer->layer_tree_impl()->property_trees(); | 2879 return layer->layer_tree_impl()->property_trees(); |
2880 } | 2880 } |
2881 | 2881 |
2882 } // namespace cc | 2882 } // namespace cc |
OLD | NEW |