| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DRAW_PROPERTY_UTILS_H_ | 5 #ifndef CC_TREES_DRAW_PROPERTY_UTILS_H_ |
| 6 #define CC_TREES_DRAW_PROPERTY_UTILS_H_ | 6 #define CC_TREES_DRAW_PROPERTY_UTILS_H_ |
| 7 | 7 |
| 8 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
| 9 #include "cc/layers/layer_collections.h" | 9 #include "cc/layers/layer_collections.h" |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 const LayerImpl* overscroll_elasticity_layer, | 52 const LayerImpl* overscroll_elasticity_layer, |
| 53 const gfx::Vector2dF& elastic_overscroll, | 53 const gfx::Vector2dF& elastic_overscroll, |
| 54 float page_scale_factor, | 54 float page_scale_factor, |
| 55 float device_scale_factor, | 55 float device_scale_factor, |
| 56 const gfx::Rect& viewport, | 56 const gfx::Rect& viewport, |
| 57 const gfx::Transform& device_transform, | 57 const gfx::Transform& device_transform, |
| 58 bool can_render_to_separate_surface, | 58 bool can_render_to_separate_surface, |
| 59 PropertyTrees* property_trees, | 59 PropertyTrees* property_trees, |
| 60 LayerImplList* visible_layer_list); | 60 LayerImplList* visible_layer_list); |
| 61 | 61 |
| 62 void CC_EXPORT UpdatePropertyTrees(PropertyTrees* property_trees, | 62 void CC_EXPORT UpdatePropertyTrees(LayerTreeHost* layer_tree_host, |
| 63 PropertyTrees* property_trees, |
| 63 bool can_render_to_separate_surface); | 64 bool can_render_to_separate_surface); |
| 64 | 65 |
| 65 void CC_EXPORT FindLayersThatNeedUpdates(LayerTreeHost* layer_tree_host, | 66 void CC_EXPORT FindLayersThatNeedUpdates(LayerTreeHost* layer_tree_host, |
| 66 const PropertyTrees* property_trees, | 67 const PropertyTrees* property_trees, |
| 67 LayerList* update_layer_list); | 68 LayerList* update_layer_list); |
| 68 | 69 |
| 69 void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer, | 70 void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer, |
| 70 PropertyTrees* property_trees, | 71 PropertyTrees* property_trees, |
| 71 bool can_render_to_separate_surface, | 72 bool can_render_to_separate_surface, |
| 72 LayerImplList* visible_layer_list); | 73 LayerImplList* visible_layer_list); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 132 |
| 132 void CC_EXPORT | 133 void CC_EXPORT |
| 133 UpdateElasticOverscroll(PropertyTrees* property_trees, | 134 UpdateElasticOverscroll(PropertyTrees* property_trees, |
| 134 const Layer* overscroll_elasticity_layer, | 135 const Layer* overscroll_elasticity_layer, |
| 135 const gfx::Vector2dF& elastic_overscroll); | 136 const gfx::Vector2dF& elastic_overscroll); |
| 136 | 137 |
| 137 } // namespace draw_property_utils | 138 } // namespace draw_property_utils |
| 138 } // namespace cc | 139 } // namespace cc |
| 139 | 140 |
| 140 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ | 141 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ |
| OLD | NEW |