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

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

Issue 1884613005: cc : Simplify layer skipping logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | cc/trees/draw_property_utils.cc » ('j') | cc/trees/draw_property_utils.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21 matching lines...) Expand all
32 // that |transform_tree| has been updated via |ComputeTransforms|. 32 // that |transform_tree| has been updated via |ComputeTransforms|.
33 void CC_EXPORT ComputeClips(ClipTree* clip_tree, 33 void CC_EXPORT ComputeClips(ClipTree* clip_tree,
34 const TransformTree& transform_tree, 34 const TransformTree& transform_tree,
35 bool non_root_surfaces_enabled); 35 bool non_root_surfaces_enabled);
36 36
37 // Computes combined (screen space) transforms for every node in the transform 37 // Computes combined (screen space) transforms for every node in the transform
38 // tree. This must be done prior to calling |ComputeClips|. 38 // tree. This must be done prior to calling |ComputeClips|.
39 void CC_EXPORT ComputeTransforms(TransformTree* transform_tree); 39 void CC_EXPORT ComputeTransforms(TransformTree* transform_tree);
40 40
41 // Computes screen space opacity for every node in the opacity tree. 41 // Computes screen space opacity for every node in the opacity tree.
42 void CC_EXPORT ComputeEffects(EffectTree* effect_tree); 42 bool CC_EXPORT ComputeEffects(EffectTree* effect_tree);
43 43
44 void CC_EXPORT BuildPropertyTreesAndComputeVisibleRects( 44 void CC_EXPORT BuildPropertyTreesAndComputeVisibleRects(
45 LayerImpl* root_layer, 45 LayerImpl* root_layer,
46 const LayerImpl* page_scale_layer, 46 const LayerImpl* page_scale_layer,
47 const LayerImpl* inner_viewport_scroll_layer, 47 const LayerImpl* inner_viewport_scroll_layer,
48 const LayerImpl* outer_viewport_scroll_layer, 48 const LayerImpl* outer_viewport_scroll_layer,
49 const LayerImpl* overscroll_elasticity_layer, 49 const LayerImpl* overscroll_elasticity_layer,
50 const gfx::Vector2dF& elastic_overscroll, 50 const gfx::Vector2dF& elastic_overscroll,
51 float page_scale_factor, 51 float page_scale_factor,
52 float device_scale_factor, 52 float device_scale_factor,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 void CC_EXPORT 127 void CC_EXPORT
128 UpdateElasticOverscroll(PropertyTrees* property_trees, 128 UpdateElasticOverscroll(PropertyTrees* property_trees,
129 const Layer* overscroll_elasticity_layer, 129 const Layer* overscroll_elasticity_layer,
130 const gfx::Vector2dF& elastic_overscroll); 130 const gfx::Vector2dF& elastic_overscroll);
131 131
132 } // namespace draw_property_utils 132 } // namespace draw_property_utils
133 } // namespace cc 133 } // namespace cc
134 134
135 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 135 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/draw_property_utils.cc » ('j') | cc/trees/draw_property_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698