| 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/filter_operations.h" | 8 #include "cc/base/filter_operations.h" |
| 9 #include "cc/cc_export.h" | 9 #include "cc/cc_export.h" |
| 10 #include "third_party/skia/include/core/SkBlendMode.h" | 10 #include "third_party/skia/include/core/SkBlendMode.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 FilterOperations background_filters; | 37 FilterOperations background_filters; |
| 38 gfx::PointF filters_origin; | 38 gfx::PointF filters_origin; |
| 39 | 39 |
| 40 SkBlendMode blend_mode; | 40 SkBlendMode blend_mode; |
| 41 | 41 |
| 42 gfx::Vector2dF surface_contents_scale; | 42 gfx::Vector2dF surface_contents_scale; |
| 43 | 43 |
| 44 gfx::Size unscaled_mask_target_size; | 44 gfx::Size unscaled_mask_target_size; |
| 45 | 45 |
| 46 bool has_render_surface : 1; | 46 bool has_render_surface : 1; |
| 47 bool force_render_surface : 1; |
| 47 bool has_copy_request : 1; | 48 bool has_copy_request : 1; |
| 48 bool hidden_by_backface_visibility : 1; | 49 bool hidden_by_backface_visibility : 1; |
| 49 bool double_sided : 1; | 50 bool double_sided : 1; |
| 50 bool is_drawn : 1; | 51 bool is_drawn : 1; |
| 51 // TODO(jaydasika) : Delete this after implementation of | 52 // TODO(jaydasika) : Delete this after implementation of |
| 52 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843) | 53 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843) |
| 53 bool subtree_hidden : 1; | 54 bool subtree_hidden : 1; |
| 54 // Whether this node has a potentially running (i.e., irrespective | 55 // Whether this node has a potentially running (i.e., irrespective |
| 55 // of exact timeline) filter animation. | 56 // of exact timeline) filter animation. |
| 56 bool has_potential_filter_animation : 1; | 57 bool has_potential_filter_animation : 1; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 81 int closest_ancestor_with_copy_request_id; | 82 int closest_ancestor_with_copy_request_id; |
| 82 | 83 |
| 83 bool operator==(const EffectNode& other) const; | 84 bool operator==(const EffectNode& other) const; |
| 84 | 85 |
| 85 void AsValueInto(base::trace_event::TracedValue* value) const; | 86 void AsValueInto(base::trace_event::TracedValue* value) const; |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 } // namespace cc | 89 } // namespace cc |
| 89 | 90 |
| 90 #endif // CC_TREES_EFFECT_NODE_H_ | 91 #endif // CC_TREES_EFFECT_NODE_H_ |
| OLD | NEW |