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

Side by Side Diff: cc/trees/draw_property_utils.h

Issue 1864183002: cc: Main thread skip single layers instead of subtrees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the dependency problem Created 4 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
OLDNEW
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 bool can_render_to_separate_surface, 54 bool can_render_to_separate_surface,
55 PropertyTrees* property_trees, 55 PropertyTrees* property_trees,
56 LayerImplList* visible_layer_list); 56 LayerImplList* visible_layer_list);
57 57
58 void CC_EXPORT UpdateRenderSurfaces(Layer* root_layer, 58 void CC_EXPORT UpdateRenderSurfaces(Layer* root_layer,
59 PropertyTrees* property_trees); 59 PropertyTrees* property_trees);
60 60
61 void CC_EXPORT UpdatePropertyTrees(PropertyTrees* property_trees, 61 void CC_EXPORT UpdatePropertyTrees(PropertyTrees* property_trees,
62 bool can_render_to_separate_surface); 62 bool can_render_to_separate_surface);
63 63
64 void CC_EXPORT FindLayersThatNeedUpdates(Layer* layer, 64 void CC_EXPORT FindLayersThatNeedUpdates(Layer* root_layer,
ajuma 2016/04/06 19:49:28 This should take a LayerTreeHost instead of a Laye
sunxd 2016/04/07 15:37:13 Done.
65 const TransformTree& transform_tree, 65 const TransformTree& transform_tree,
66 const EffectTree& effect_tree, 66 const EffectTree& effect_tree,
67 LayerList* update_layer_list); 67 LayerList* update_layer_list);
68 68
69 void CC_EXPORT 69 void CC_EXPORT
70 ComputeVisibleRectsForTesting(PropertyTrees* property_trees, 70 ComputeVisibleRectsForTesting(PropertyTrees* property_trees,
71 bool can_render_to_separate_surface, 71 bool can_render_to_separate_surface,
72 LayerList* visible_layer_list); 72 LayerList* visible_layer_list);
73 73
74 void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer, 74 void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 void CC_EXPORT 125 void CC_EXPORT
126 UpdateElasticOverscroll(PropertyTrees* property_trees, 126 UpdateElasticOverscroll(PropertyTrees* property_trees,
127 const Layer* overscroll_elasticity_layer, 127 const Layer* overscroll_elasticity_layer,
128 const gfx::Vector2dF& elastic_overscroll); 128 const gfx::Vector2dF& elastic_overscroll);
129 129
130 } // namespace draw_property_utils 130 } // namespace draw_property_utils
131 } // namespace cc 131 } // namespace cc
132 132
133 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 133 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698