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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 NULL, | 121 NULL, |
122 NULL, | 122 NULL, |
123 gfx::Vector2dF(), | 123 gfx::Vector2dF(), |
124 NULL, | 124 NULL, |
125 std::numeric_limits<int>::max() / 2, | 125 std::numeric_limits<int>::max() / 2, |
126 false, | 126 false, |
127 false, | 127 false, |
128 true, | 128 true, |
129 false, | 129 false, |
130 true, | 130 true, |
131 false, | 131 true, |
132 render_surface_layer_list, | 132 render_surface_layer_list, |
133 current_render_surface_layer_list_id, | 133 current_render_surface_layer_list_id, |
134 GetPropertyTrees(root_layer)) { | 134 GetPropertyTrees(root_layer)) { |
135 DCHECK(root_layer); | 135 DCHECK(root_layer); |
136 DCHECK(render_surface_layer_list); | 136 DCHECK(render_surface_layer_list); |
137 } | 137 } |
138 | 138 |
139 LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting:: | 139 LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting:: |
140 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, | 140 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, |
141 const gfx::Size& device_viewport_size, | 141 const gfx::Size& device_viewport_size, |
(...skipping 2744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2886 | 2886 |
2887 PropertyTrees* GetPropertyTrees(Layer* layer) { | 2887 PropertyTrees* GetPropertyTrees(Layer* layer) { |
2888 return layer->layer_tree_host()->property_trees(); | 2888 return layer->layer_tree_host()->property_trees(); |
2889 } | 2889 } |
2890 | 2890 |
2891 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { | 2891 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { |
2892 return layer->layer_tree_impl()->property_trees(); | 2892 return layer->layer_tree_impl()->property_trees(); |
2893 } | 2893 } |
2894 | 2894 |
2895 } // namespace cc | 2895 } // namespace cc |
OLD | NEW |