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

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

Issue 2148383005: cc: Use sublayer scale from effect tree (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 5 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 10
(...skipping 17 matching lines...) Expand all
28 28
29 int id; 29 int id;
30 int parent_id; 30 int parent_id;
31 int owner_id; 31 int owner_id;
32 32
33 float opacity; 33 float opacity;
34 float screen_space_opacity; 34 float screen_space_opacity;
35 35
36 FilterOperations background_filters; 36 FilterOperations background_filters;
37 37
38 gfx::Vector2dF sublayer_scale; 38 gfx::Vector2dF surface_contents_scale;
39 39
40 bool has_render_surface; 40 bool has_render_surface;
41 RenderSurfaceImpl* render_surface; 41 RenderSurfaceImpl* render_surface;
42 bool has_copy_request; 42 bool has_copy_request;
43 bool hidden_by_backface_visibility; 43 bool hidden_by_backface_visibility;
44 bool double_sided; 44 bool double_sided;
45 bool is_drawn; 45 bool is_drawn;
46 // TODO(jaydasika) : Delete this after implementation of 46 // TODO(jaydasika) : Delete this after implementation of
47 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843) 47 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843)
48 bool subtree_hidden; 48 bool subtree_hidden;
(...skipping 15 matching lines...) Expand all
64 bool operator==(const EffectNode& other) const; 64 bool operator==(const EffectNode& other) const;
65 65
66 void ToProtobuf(proto::TreeNode* proto) const; 66 void ToProtobuf(proto::TreeNode* proto) const;
67 void FromProtobuf(const proto::TreeNode& proto); 67 void FromProtobuf(const proto::TreeNode& proto);
68 void AsValueInto(base::trace_event::TracedValue* value) const; 68 void AsValueInto(base::trace_event::TracedValue* value) const;
69 }; 69 };
70 70
71 } // namespace cc 71 } // namespace cc
72 72
73 #endif // CC_TREES_EFFECT_NODE_H_ 73 #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