| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |