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

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

Issue 2693703010: cc: Remove support for disabling non-root render surfaces. (Closed)
Patch Set: softwaredraw-remove-no-surfaces: rebase 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/output/bsp_tree_perftest.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 19 matching lines...) Expand all
30 void CC_EXPORT ConcatInverseSurfaceContentsScale(const EffectNode* effect_node, 30 void CC_EXPORT ConcatInverseSurfaceContentsScale(const EffectNode* effect_node,
31 gfx::Transform* transform); 31 gfx::Transform* transform);
32 32
33 // Computes combined (screen space) transforms for every node in the transform 33 // Computes combined (screen space) transforms for every node in the transform
34 // tree. This must be done prior to calling |ComputeClips|. 34 // tree. This must be done prior to calling |ComputeClips|.
35 void CC_EXPORT ComputeTransforms(TransformTree* transform_tree); 35 void CC_EXPORT ComputeTransforms(TransformTree* transform_tree);
36 36
37 // Computes screen space opacity for every node in the opacity tree. 37 // Computes screen space opacity for every node in the opacity tree.
38 void CC_EXPORT ComputeEffects(EffectTree* effect_tree); 38 void CC_EXPORT ComputeEffects(EffectTree* effect_tree);
39 39
40
41 void CC_EXPORT UpdatePropertyTrees(LayerTreeHost* layer_tree_host, 40 void CC_EXPORT UpdatePropertyTrees(LayerTreeHost* layer_tree_host,
42 PropertyTrees* property_trees, 41 PropertyTrees* property_trees);
43 bool can_render_to_separate_surface);
44 42
45 void CC_EXPORT 43 void CC_EXPORT
46 UpdatePropertyTreesAndRenderSurfaces(LayerImpl* root_layer, 44 UpdatePropertyTreesAndRenderSurfaces(LayerImpl* root_layer,
47 PropertyTrees* property_trees, 45 PropertyTrees* property_trees,
48 bool can_render_to_separate_surface,
49 bool can_adjust_raster_scales); 46 bool can_adjust_raster_scales);
50 47
51 void CC_EXPORT FindLayersThatNeedUpdates(LayerTreeHost* layer_tree_host, 48 void CC_EXPORT FindLayersThatNeedUpdates(LayerTreeHost* layer_tree_host,
52 const PropertyTrees* property_trees, 49 const PropertyTrees* property_trees,
53 LayerList* update_layer_list); 50 LayerList* update_layer_list);
54 51
55 void CC_EXPORT 52 void CC_EXPORT
56 FindLayersThatNeedUpdates(LayerTreeImpl* layer_tree_impl, 53 FindLayersThatNeedUpdates(LayerTreeImpl* layer_tree_impl,
57 const PropertyTrees* property_trees, 54 const PropertyTrees* property_trees,
58 std::vector<LayerImpl*>* visible_layer_list); 55 std::vector<LayerImpl*>* visible_layer_list);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 106
110 void CC_EXPORT 107 void CC_EXPORT
111 UpdateElasticOverscroll(PropertyTrees* property_trees, 108 UpdateElasticOverscroll(PropertyTrees* property_trees,
112 const Layer* overscroll_elasticity_layer, 109 const Layer* overscroll_elasticity_layer,
113 const gfx::Vector2dF& elastic_overscroll); 110 const gfx::Vector2dF& elastic_overscroll);
114 111
115 } // namespace draw_property_utils 112 } // namespace draw_property_utils
116 } // namespace cc 113 } // namespace cc
117 114
118 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 115 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_
OLDNEW
« no previous file with comments | « cc/output/bsp_tree_perftest.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698