| 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 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1274 } | 1274 } |
| 1275 | 1275 |
| 1276 ResourceProvider* LayerTreeImpl::resource_provider() const { | 1276 ResourceProvider* LayerTreeImpl::resource_provider() const { |
| 1277 return layer_tree_host_impl_->resource_provider(); | 1277 return layer_tree_host_impl_->resource_provider(); |
| 1278 } | 1278 } |
| 1279 | 1279 |
| 1280 TileManager* LayerTreeImpl::tile_manager() const { | 1280 TileManager* LayerTreeImpl::tile_manager() const { |
| 1281 return layer_tree_host_impl_->tile_manager(); | 1281 return layer_tree_host_impl_->tile_manager(); |
| 1282 } | 1282 } |
| 1283 | 1283 |
| 1284 ImageDecodeController* LayerTreeImpl::image_decode_controller() const { | 1284 ImageDecodeCache* LayerTreeImpl::image_decode_cache() const { |
| 1285 return layer_tree_host_impl_->image_decode_controller(); | 1285 return layer_tree_host_impl_->image_decode_cache(); |
| 1286 } | 1286 } |
| 1287 | 1287 |
| 1288 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const { | 1288 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const { |
| 1289 return layer_tree_host_impl_->fps_counter(); | 1289 return layer_tree_host_impl_->fps_counter(); |
| 1290 } | 1290 } |
| 1291 | 1291 |
| 1292 MemoryHistory* LayerTreeImpl::memory_history() const { | 1292 MemoryHistory* LayerTreeImpl::memory_history() const { |
| 1293 return layer_tree_host_impl_->memory_history(); | 1293 return layer_tree_host_impl_->memory_history(); |
| 1294 } | 1294 } |
| 1295 | 1295 |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2072 | 2072 |
| 2073 void LayerTreeImpl::ResetAllChangeTracking() { | 2073 void LayerTreeImpl::ResetAllChangeTracking() { |
| 2074 layers_that_should_push_properties_.clear(); | 2074 layers_that_should_push_properties_.clear(); |
| 2075 // Iterate over all layers, including masks. | 2075 // Iterate over all layers, including masks. |
| 2076 for (auto& layer : *layers_) | 2076 for (auto& layer : *layers_) |
| 2077 layer->ResetChangeTracking(); | 2077 layer->ResetChangeTracking(); |
| 2078 property_trees_.ResetAllChangeTracking(); | 2078 property_trees_.ResetAllChangeTracking(); |
| 2079 } | 2079 } |
| 2080 | 2080 |
| 2081 } // namespace cc | 2081 } // namespace cc |
| OLD | NEW |