| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 "cc/trees/layer_tree_impl.h" | 5 #include "cc/trees/layer_tree_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "cc/input/page_scale_animation.h" | 26 #include "cc/input/page_scale_animation.h" |
| 27 #include "cc/input/scrollbar_animation_controller.h" | 27 #include "cc/input/scrollbar_animation_controller.h" |
| 28 #include "cc/input/scrollbar_animation_controller_linear_fade.h" | 28 #include "cc/input/scrollbar_animation_controller_linear_fade.h" |
| 29 #include "cc/input/scrollbar_animation_controller_thinning.h" | 29 #include "cc/input/scrollbar_animation_controller_thinning.h" |
| 30 #include "cc/layers/heads_up_display_layer_impl.h" | 30 #include "cc/layers/heads_up_display_layer_impl.h" |
| 31 #include "cc/layers/layer.h" | 31 #include "cc/layers/layer.h" |
| 32 #include "cc/layers/layer_iterator.h" | 32 #include "cc/layers/layer_iterator.h" |
| 33 #include "cc/layers/layer_list_iterator.h" | 33 #include "cc/layers/layer_list_iterator.h" |
| 34 #include "cc/layers/render_surface_impl.h" | 34 #include "cc/layers/render_surface_impl.h" |
| 35 #include "cc/layers/scrollbar_layer_impl_base.h" | 35 #include "cc/layers/scrollbar_layer_impl_base.h" |
| 36 #include "cc/output/compositor_frame_sink.h" |
| 36 #include "cc/resources/ui_resource_request.h" | 37 #include "cc/resources/ui_resource_request.h" |
| 37 #include "cc/trees/clip_node.h" | 38 #include "cc/trees/clip_node.h" |
| 38 #include "cc/trees/draw_property_utils.h" | 39 #include "cc/trees/draw_property_utils.h" |
| 39 #include "cc/trees/effect_node.h" | 40 #include "cc/trees/effect_node.h" |
| 40 #include "cc/trees/layer_tree_host_common.h" | 41 #include "cc/trees/layer_tree_host_common.h" |
| 41 #include "cc/trees/layer_tree_host_impl.h" | 42 #include "cc/trees/layer_tree_host_impl.h" |
| 42 #include "cc/trees/occlusion_tracker.h" | 43 #include "cc/trees/occlusion_tracker.h" |
| 43 #include "cc/trees/property_tree.h" | 44 #include "cc/trees/property_tree.h" |
| 44 #include "cc/trees/property_tree_builder.h" | 45 #include "cc/trees/property_tree_builder.h" |
| 45 #include "cc/trees/scroll_node.h" | 46 #include "cc/trees/scroll_node.h" |
| (...skipping 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2072 | 2073 |
| 2073 void LayerTreeImpl::ResetAllChangeTracking() { | 2074 void LayerTreeImpl::ResetAllChangeTracking() { |
| 2074 layers_that_should_push_properties_.clear(); | 2075 layers_that_should_push_properties_.clear(); |
| 2075 // Iterate over all layers, including masks and replicas. | 2076 // Iterate over all layers, including masks and replicas. |
| 2076 for (auto& layer : *layers_) | 2077 for (auto& layer : *layers_) |
| 2077 layer->ResetChangeTracking(); | 2078 layer->ResetChangeTracking(); |
| 2078 property_trees_.ResetAllChangeTracking(); | 2079 property_trees_.ResetAllChangeTracking(); |
| 2079 } | 2080 } |
| 2080 | 2081 |
| 2081 } // namespace cc | 2082 } // namespace cc |
| OLD | NEW |