| 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 #include "base/trace_event/trace_event_argument.h" | 5 #include "base/trace_event/trace_event_argument.h" |
| 6 #include "cc/proto/gfx_conversions.h" | 6 #include "cc/proto/gfx_conversions.h" |
| 7 #include "cc/proto/property_tree.pb.h" | 7 #include "cc/proto/property_tree.pb.h" |
| 8 #include "cc/proto/skia_conversions.h" | 8 #include "cc/proto/skia_conversions.h" |
| 9 #include "cc/trees/effect_node.h" | 9 #include "cc/trees/effect_node.h" |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 EffectNode::EffectNode(const EffectNode& other) = default; | 41 EffectNode::EffectNode(const EffectNode& other) = default; |
| 42 | 42 |
| 43 bool EffectNode::operator==(const EffectNode& other) const { | 43 bool EffectNode::operator==(const EffectNode& other) const { |
| 44 return id == other.id && parent_id == other.parent_id && | 44 return id == other.id && parent_id == other.parent_id && |
| 45 owner_id == other.owner_id && opacity == other.opacity && | 45 owner_id == other.owner_id && opacity == other.opacity && |
| 46 screen_space_opacity == other.screen_space_opacity && | 46 screen_space_opacity == other.screen_space_opacity && |
| 47 has_render_surface == other.has_render_surface && | 47 has_render_surface == other.has_render_surface && |
| 48 has_copy_request == other.has_copy_request && | 48 has_copy_request == other.has_copy_request && |
| 49 filters == other.filters && | 49 filters == other.filters && |
| 50 background_filters == other.background_filters && | 50 background_filters == other.background_filters && |
| 51 filters_origin == other.filters_origin && |
| 51 blend_mode == other.blend_mode && | 52 blend_mode == other.blend_mode && |
| 52 surface_contents_scale == other.surface_contents_scale && | 53 surface_contents_scale == other.surface_contents_scale && |
| 53 unscaled_mask_target_size == other.unscaled_mask_target_size && | 54 unscaled_mask_target_size == other.unscaled_mask_target_size && |
| 54 hidden_by_backface_visibility == other.hidden_by_backface_visibility && | 55 hidden_by_backface_visibility == other.hidden_by_backface_visibility && |
| 55 double_sided == other.double_sided && is_drawn == other.is_drawn && | 56 double_sided == other.double_sided && is_drawn == other.is_drawn && |
| 56 subtree_hidden == other.subtree_hidden && | 57 subtree_hidden == other.subtree_hidden && |
| 57 has_potential_filter_animation == | 58 has_potential_filter_animation == |
| 58 other.has_potential_filter_animation && | 59 other.has_potential_filter_animation && |
| 59 has_potential_opacity_animation == | 60 has_potential_opacity_animation == |
| 60 other.has_potential_opacity_animation && | 61 other.has_potential_opacity_animation && |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 num_copy_requests_in_subtree); | 155 num_copy_requests_in_subtree); |
| 155 value->SetInteger("transform_id", transform_id); | 156 value->SetInteger("transform_id", transform_id); |
| 156 value->SetInteger("clip_id", clip_id); | 157 value->SetInteger("clip_id", clip_id); |
| 157 value->SetInteger("target_id", target_id); | 158 value->SetInteger("target_id", target_id); |
| 158 value->SetInteger("mask_layer_id", mask_layer_id); | 159 value->SetInteger("mask_layer_id", mask_layer_id); |
| 159 value->SetInteger("replica_layer_id", replica_layer_id); | 160 value->SetInteger("replica_layer_id", replica_layer_id); |
| 160 value->SetInteger("replica_mask_layer_id", replica_mask_layer_id); | 161 value->SetInteger("replica_mask_layer_id", replica_mask_layer_id); |
| 161 } | 162 } |
| 162 | 163 |
| 163 } // namespace cc | 164 } // namespace cc |
| OLD | NEW |