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

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

Issue 2762043005: cc : Delete target id and content target id from transform nodes (Closed)
Patch Set: blink changes Created 3 years, 9 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') | 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
11 namespace gfx { 11 namespace gfx {
12 class Transform; 12 class Transform;
13 class Vector2dF; 13 class Vector2dF;
14 } // namespace gfx 14 } // namespace gfx
15 15
16 namespace cc { 16 namespace cc {
17 17
18 class Layer; 18 class Layer;
19 class LayerImpl; 19 class LayerImpl;
20 class LayerTreeHost; 20 class LayerTreeHost;
21 class LayerTreeImpl; 21 class LayerTreeImpl;
22 class RenderSurfaceImpl; 22 class RenderSurfaceImpl;
23 class EffectTree; 23 class EffectTree;
24 class TransformTree; 24 class TransformTree;
25 class PropertyTrees; 25 class PropertyTrees;
26 struct EffectNode; 26 struct EffectNode;
27 27
28 namespace draw_property_utils { 28 namespace draw_property_utils {
29 29
30 void CC_EXPORT PostConcatSurfaceContentsScale(const EffectNode* effect_node,
31 gfx::Transform* transform);
32
33 void CC_EXPORT ConcatInverseSurfaceContentsScale(const EffectNode* effect_node, 30 void CC_EXPORT ConcatInverseSurfaceContentsScale(const EffectNode* effect_node,
34 gfx::Transform* transform); 31 gfx::Transform* transform);
35 32
36 // Computes combined (screen space) transforms for every node in the transform 33 // Computes combined (screen space) transforms for every node in the transform
37 // tree. This must be done prior to calling |ComputeClips|. 34 // tree. This must be done prior to calling |ComputeClips|.
38 void CC_EXPORT ComputeTransforms(TransformTree* transform_tree); 35 void CC_EXPORT ComputeTransforms(TransformTree* transform_tree);
39 36
40 // Computes screen space opacity for every node in the opacity tree. 37 // Computes screen space opacity for every node in the opacity tree.
41 void CC_EXPORT ComputeEffects(EffectTree* effect_tree); 38 void CC_EXPORT ComputeEffects(EffectTree* effect_tree);
42 39
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 108
112 void CC_EXPORT 109 void CC_EXPORT
113 UpdateElasticOverscroll(PropertyTrees* property_trees, 110 UpdateElasticOverscroll(PropertyTrees* property_trees,
114 const Layer* overscroll_elasticity_layer, 111 const Layer* overscroll_elasticity_layer,
115 const gfx::Vector2dF& elastic_overscroll); 112 const gfx::Vector2dF& elastic_overscroll);
116 113
117 } // namespace draw_property_utils 114 } // namespace draw_property_utils
118 } // namespace cc 115 } // namespace cc
119 116
120 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 117 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698