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

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

Issue 2838033002: cc : Don't draw animating layers with singular screen space transform (Closed)
Patch Set: . Created 3 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/layers/picture_layer_impl.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/cc_export.h" 8 #include "cc/cc_export.h"
9 #include "cc/layers/layer_collections.h" 9 #include "cc/layers/layer_collections.h"
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void CC_EXPORT 60 void CC_EXPORT
61 ComputeDrawPropertiesOfVisibleLayers(const LayerImplList* layer_list, 61 ComputeDrawPropertiesOfVisibleLayers(const LayerImplList* layer_list,
62 PropertyTrees* property_trees); 62 PropertyTrees* property_trees);
63 63
64 void CC_EXPORT ComputeMaskDrawProperties(LayerImpl* mask_layer, 64 void CC_EXPORT ComputeMaskDrawProperties(LayerImpl* mask_layer,
65 const PropertyTrees* property_trees); 65 const PropertyTrees* property_trees);
66 66
67 void CC_EXPORT ComputeSurfaceDrawProperties(PropertyTrees* property_trees, 67 void CC_EXPORT ComputeSurfaceDrawProperties(PropertyTrees* property_trees,
68 RenderSurfaceImpl* render_surface); 68 RenderSurfaceImpl* render_surface);
69 69
70 bool CC_EXPORT LayerShouldBeSkipped(LayerImpl* layer, 70 bool CC_EXPORT LayerShouldBeSkippedForDrawPropertiesComputation(
71 const TransformTree& transform_tree, 71 LayerImpl* layer,
72 const EffectTree& effect_tree); 72 const TransformTree& transform_tree,
73 const EffectTree& effect_tree);
73 74
74 bool CC_EXPORT LayerNeedsUpdate(Layer* layer, 75 bool CC_EXPORT LayerNeedsUpdate(Layer* layer,
75 bool layer_is_drawn, 76 bool layer_is_drawn,
76 const PropertyTrees* property_trees); 77 const PropertyTrees* property_trees);
77 78
78 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer, 79 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer,
79 bool layer_is_drawn, 80 bool layer_is_drawn,
80 const PropertyTrees* property_trees); 81 const PropertyTrees* property_trees);
81 82
82 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, 83 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer,
(...skipping 25 matching lines...) Expand all
108 109
109 void CC_EXPORT 110 void CC_EXPORT
110 UpdateElasticOverscroll(PropertyTrees* property_trees, 111 UpdateElasticOverscroll(PropertyTrees* property_trees,
111 const Layer* overscroll_elasticity_layer, 112 const Layer* overscroll_elasticity_layer,
112 const gfx::Vector2dF& elastic_overscroll); 113 const gfx::Vector2dF& elastic_overscroll);
113 114
114 } // namespace draw_property_utils 115 } // namespace draw_property_utils
115 } // namespace cc 116 } // namespace cc
116 117
117 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 118 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698