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

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

Issue 2612883002: Rename cc property tree node owner_id to owning_layer_id. (Closed)
Patch Set: Created 3 years, 11 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/trees/draw_property_utils.cc ('k') | cc/trees/effect_node.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_EFFECT_NODE_H_ 5 #ifndef CC_TREES_EFFECT_NODE_H_
6 #define CC_TREES_EFFECT_NODE_H_ 6 #define CC_TREES_EFFECT_NODE_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "cc/output/filter_operations.h" 9 #include "cc/output/filter_operations.h"
10 #include "third_party/skia/include/core/SkBlendMode.h" 10 #include "third_party/skia/include/core/SkBlendMode.h"
11 #include "ui/gfx/geometry/point_f.h" 11 #include "ui/gfx/geometry/point_f.h"
12 #include "ui/gfx/geometry/size_f.h" 12 #include "ui/gfx/geometry/size_f.h"
13 13
14 namespace base { 14 namespace base {
15 namespace trace_event { 15 namespace trace_event {
16 class TracedValue; 16 class TracedValue;
17 } // namespace trace_event 17 } // namespace trace_event
18 } // namespace base 18 } // namespace base
19 19
20 namespace cc { 20 namespace cc {
21 21
22 class RenderSurfaceImpl; 22 class RenderSurfaceImpl;
23 23
24 struct CC_EXPORT EffectNode { 24 struct CC_EXPORT EffectNode {
25 EffectNode(); 25 EffectNode();
26 EffectNode(const EffectNode& other); 26 EffectNode(const EffectNode& other);
27 27
28 // The node index of this node in the effect tree node vector.
28 int id; 29 int id;
30 // The node index of the parent node in the effect tree node vector.
29 int parent_id; 31 int parent_id;
30 int owner_id; 32 // The layer id of the layer that owns this node.
33 int owning_layer_id;
31 34
32 float opacity; 35 float opacity;
33 float screen_space_opacity; 36 float screen_space_opacity;
34 37
35 FilterOperations filters; 38 FilterOperations filters;
36 FilterOperations background_filters; 39 FilterOperations background_filters;
37 gfx::PointF filters_origin; 40 gfx::PointF filters_origin;
38 41
39 SkBlendMode blend_mode; 42 SkBlendMode blend_mode;
40 43
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 int mask_layer_id; 77 int mask_layer_id;
75 78
76 bool operator==(const EffectNode& other) const; 79 bool operator==(const EffectNode& other) const;
77 80
78 void AsValueInto(base::trace_event::TracedValue* value) const; 81 void AsValueInto(base::trace_event::TracedValue* value) const;
79 }; 82 };
80 83
81 } // namespace cc 84 } // namespace cc
82 85
83 #endif // CC_TREES_EFFECT_NODE_H_ 86 #endif // CC_TREES_EFFECT_NODE_H_
OLDNEW
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | cc/trees/effect_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698