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 #ifndef CC_TREES_LAYER_TREE_HOST_COMMON_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_COMMON_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <limits> | 10 #include <limits> |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 const gfx::Size& device_viewport_size, | 111 const gfx::Size& device_viewport_size, |
112 const gfx::Transform& device_transform, | 112 const gfx::Transform& device_transform, |
113 LayerImplList* render_surface_layer_list, | 113 LayerImplList* render_surface_layer_list, |
114 int current_render_surface_layer_list_id); | 114 int current_render_surface_layer_list_id); |
115 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, | 115 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, |
116 const gfx::Size& device_viewport_size, | 116 const gfx::Size& device_viewport_size, |
117 LayerImplList* render_surface_layer_list, | 117 LayerImplList* render_surface_layer_list, |
118 int current_render_surface_layer_list_id); | 118 int current_render_surface_layer_list_id); |
119 }; | 119 }; |
120 | 120 |
121 static int CalculateFrameJitter(LayerImpl* scrolling_layer); | 121 static int CalculateLayerJitter(LayerImpl* scrolling_layer); |
122 static void CalculateDrawProperties(CalcDrawPropsMainInputs* inputs); | 122 static void CalculateDrawProperties(CalcDrawPropsMainInputs* inputs); |
123 static void PreCalculateMetaInformation(Layer* root_layer); | 123 static void PreCalculateMetaInformation(Layer* root_layer); |
124 static void PreCalculateMetaInformationForTesting(LayerImpl* root_layer); | 124 static void PreCalculateMetaInformationForTesting(LayerImpl* root_layer); |
125 static void PreCalculateMetaInformationForTesting(Layer* root_layer); | 125 static void PreCalculateMetaInformationForTesting(Layer* root_layer); |
126 | 126 |
127 static void CalculateDrawProperties(CalcDrawPropsImplInputs* inputs); | 127 static void CalculateDrawProperties(CalcDrawPropsImplInputs* inputs); |
128 static void CalculateDrawProperties( | 128 static void CalculateDrawProperties( |
129 CalcDrawPropsImplInputsForTesting* inputs); | 129 CalcDrawPropsImplInputsForTesting* inputs); |
130 | 130 |
131 template <typename LayerType> | 131 template <typename LayerType> |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 function); | 211 function); |
212 } | 212 } |
213 } | 213 } |
214 | 214 |
215 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer); | 215 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer); |
216 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer); | 216 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer); |
217 | 217 |
218 } // namespace cc | 218 } // namespace cc |
219 | 219 |
220 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ | 220 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ |
OLD | NEW |