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

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

Issue 1800923002: cc: Directly use property trees to calculate clip rect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix perftests compile by not verify clip tree calc there Created 4 years, 7 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 | « cc/tiles/tile_manager_unittest.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const EffectTree& effect_tree); 91 const EffectTree& effect_tree);
92 92
93 bool CC_EXPORT LayerNeedsUpdate(Layer* layer, 93 bool CC_EXPORT LayerNeedsUpdate(Layer* layer,
94 bool layer_is_drawn, 94 bool layer_is_drawn,
95 const TransformTree& tree); 95 const TransformTree& tree);
96 96
97 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer, 97 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer,
98 bool layer_is_drawn, 98 bool layer_is_drawn,
99 const TransformTree& tree); 99 const TransformTree& tree);
100 100
101 void CC_EXPORT VerifyClipTreeCalculations(const LayerImplList& layer_list,
102 PropertyTrees* property_trees);
103
101 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, 104 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer,
102 const TransformTree& tree); 105 const TransformTree& tree);
103 106
104 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer, 107 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer,
105 const TransformTree& tree); 108 const TransformTree& tree);
106 109
107 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer, 110 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer,
108 const TransformTree& tree); 111 const TransformTree& tree);
109 112
110 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees, 113 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees,
(...skipping 15 matching lines...) Expand all
126 129
127 void CC_EXPORT 130 void CC_EXPORT
128 UpdateElasticOverscroll(PropertyTrees* property_trees, 131 UpdateElasticOverscroll(PropertyTrees* property_trees,
129 const Layer* overscroll_elasticity_layer, 132 const Layer* overscroll_elasticity_layer,
130 const gfx::Vector2dF& elastic_overscroll); 133 const gfx::Vector2dF& elastic_overscroll);
131 134
132 } // namespace draw_property_utils 135 } // namespace draw_property_utils
133 } // namespace cc 136 } // namespace cc
134 137
135 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 138 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_
OLDNEW
« no previous file with comments | « cc/tiles/tile_manager_unittest.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698