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

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

Issue 2112973003: cc: Add verify transform tree calculations to LayerTreeSettings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "TODO" Created 4 years, 5 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 bool layer_is_drawn, 92 bool layer_is_drawn,
93 const TransformTree& tree); 93 const TransformTree& tree);
94 94
95 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer, 95 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer,
96 bool layer_is_drawn, 96 bool layer_is_drawn,
97 const TransformTree& tree); 97 const TransformTree& tree);
98 98
99 void CC_EXPORT VerifyClipTreeCalculations(const LayerImplList& layer_list, 99 void CC_EXPORT VerifyClipTreeCalculations(const LayerImplList& layer_list,
100 PropertyTrees* property_trees); 100 PropertyTrees* property_trees);
101 101
102 void CC_EXPORT VerifyTransformTreeCalculations(const LayerImplList& layer_list,
103 PropertyTrees* property_trees);
104
102 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, 105 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer,
103 const TransformTree& tree); 106 const TransformTree& tree);
104 107
105 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer, 108 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer,
106 const TransformTree& tree); 109 const TransformTree& tree);
107 110
108 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer, 111 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer,
109 const TransformTree& tree); 112 const TransformTree& tree);
110 113
111 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees, 114 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees,
(...skipping 15 matching lines...) Expand all
127 130
128 void CC_EXPORT 131 void CC_EXPORT
129 UpdateElasticOverscroll(PropertyTrees* property_trees, 132 UpdateElasticOverscroll(PropertyTrees* property_trees,
130 const Layer* overscroll_elasticity_layer, 133 const Layer* overscroll_elasticity_layer,
131 const gfx::Vector2dF& elastic_overscroll); 134 const gfx::Vector2dF& elastic_overscroll);
132 135
133 } // namespace draw_property_utils 136 } // namespace draw_property_utils
134 } // namespace cc 137 } // namespace cc
135 138
136 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 139 #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