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

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

Issue 2048723002: cc: Compute mask draw properties directly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 LayerList* visible_layer_list); 70 LayerList* visible_layer_list);
71 71
72 void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer, 72 void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer,
73 PropertyTrees* property_trees, 73 PropertyTrees* property_trees,
74 bool can_render_to_separate_surface, 74 bool can_render_to_separate_surface,
75 LayerImplList* visible_layer_list); 75 LayerImplList* visible_layer_list);
76 76
77 void CC_EXPORT ComputeLayerDrawProperties(LayerImpl* layer, 77 void CC_EXPORT ComputeLayerDrawProperties(LayerImpl* layer,
78 const PropertyTrees* property_trees); 78 const PropertyTrees* property_trees);
79 79
80 void CC_EXPORT ComputeMaskDrawProperties(LayerImpl* mask_layer,
81 const PropertyTrees* property_trees);
82
80 void CC_EXPORT ComputeSurfaceDrawProperties(const PropertyTrees* property_trees, 83 void CC_EXPORT ComputeSurfaceDrawProperties(const PropertyTrees* property_trees,
81 RenderSurfaceImpl* render_surface); 84 RenderSurfaceImpl* render_surface);
82 85
83 bool CC_EXPORT LayerShouldBeSkipped(LayerImpl* layer, 86 bool CC_EXPORT LayerShouldBeSkipped(LayerImpl* layer,
84 bool layer_is_drawn, 87 bool layer_is_drawn,
85 const TransformTree& transform_tree, 88 const TransformTree& transform_tree,
86 const EffectTree& effect_tree); 89 const EffectTree& effect_tree);
87 90
88 bool CC_EXPORT LayerNeedsUpdate(Layer* layer, 91 bool CC_EXPORT LayerNeedsUpdate(Layer* layer,
89 bool layer_is_drawn, 92 bool layer_is_drawn,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 127
125 void CC_EXPORT 128 void CC_EXPORT
126 UpdateElasticOverscroll(PropertyTrees* property_trees, 129 UpdateElasticOverscroll(PropertyTrees* property_trees,
127 const Layer* overscroll_elasticity_layer, 130 const Layer* overscroll_elasticity_layer,
128 const gfx::Vector2dF& elastic_overscroll); 131 const gfx::Vector2dF& elastic_overscroll);
129 132
130 } // namespace draw_property_utils 133 } // namespace draw_property_utils
131 } // namespace cc 134 } // namespace cc
132 135
133 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 136 #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