| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 EffectNodeData::EffectNodeData() | 435 EffectNodeData::EffectNodeData() |
| 436 : opacity(1.f), | 436 : opacity(1.f), |
| 437 screen_space_opacity(1.f), | 437 screen_space_opacity(1.f), |
| 438 has_render_surface(false), | 438 has_render_surface(false), |
| 439 has_copy_request(false), | 439 has_copy_request(false), |
| 440 has_background_filters(false), | 440 has_background_filters(false), |
| 441 is_drawn(true), | 441 is_drawn(true), |
| 442 has_animated_opacity(false), | 442 has_animated_opacity(false), |
| 443 effect_changed(false), | 443 effect_changed(false), |
| 444 num_copy_requests_in_subtree(0), | 444 num_copy_requests_in_subtree(0), |
| 445 has_unclipped_descendants(false), |
| 445 transform_id(0), | 446 transform_id(0), |
| 446 clip_id(0) {} | 447 clip_id(0), |
| 448 target_id(0) {} |
| 447 | 449 |
| 448 EffectNodeData::EffectNodeData(const EffectNodeData& other) = default; | 450 EffectNodeData::EffectNodeData(const EffectNodeData& other) = default; |
| 449 | 451 |
| 450 bool EffectNodeData::operator==(const EffectNodeData& other) const { | 452 bool EffectNodeData::operator==(const EffectNodeData& other) const { |
| 451 return opacity == other.opacity && | 453 return opacity == other.opacity && |
| 452 screen_space_opacity == other.screen_space_opacity && | 454 screen_space_opacity == other.screen_space_opacity && |
| 453 has_render_surface == other.has_render_surface && | 455 has_render_surface == other.has_render_surface && |
| 454 has_copy_request == other.has_copy_request && | 456 has_copy_request == other.has_copy_request && |
| 455 has_background_filters == other.has_background_filters && | 457 has_background_filters == other.has_background_filters && |
| 456 is_drawn == other.is_drawn && | 458 is_drawn == other.is_drawn && |
| (...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 break; | 1852 break; |
| 1851 case ALL_TREES: | 1853 case ALL_TREES: |
| 1852 transform_tree.ResetChangeTracking(); | 1854 transform_tree.ResetChangeTracking(); |
| 1853 effect_tree.ResetChangeTracking(); | 1855 effect_tree.ResetChangeTracking(); |
| 1854 } | 1856 } |
| 1855 changed = false; | 1857 changed = false; |
| 1856 full_tree_damaged = false; | 1858 full_tree_damaged = false; |
| 1857 } | 1859 } |
| 1858 | 1860 |
| 1859 } // namespace cc | 1861 } // namespace cc |
| OLD | NEW |