| 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 } | 850 } |
| 851 | 851 |
| 852 TileManager* LayerTreeImpl::tile_manager() const { | 852 TileManager* LayerTreeImpl::tile_manager() const { |
| 853 return layer_tree_host_impl_->tile_manager(); | 853 return layer_tree_host_impl_->tile_manager(); |
| 854 } | 854 } |
| 855 | 855 |
| 856 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const { | 856 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const { |
| 857 return layer_tree_host_impl_->fps_counter(); | 857 return layer_tree_host_impl_->fps_counter(); |
| 858 } | 858 } |
| 859 | 859 |
| 860 PaintTimeCounter* LayerTreeImpl::paint_time_counter() const { | |
| 861 return layer_tree_host_impl_->paint_time_counter(); | |
| 862 } | |
| 863 | |
| 864 MemoryHistory* LayerTreeImpl::memory_history() const { | 860 MemoryHistory* LayerTreeImpl::memory_history() const { |
| 865 return layer_tree_host_impl_->memory_history(); | 861 return layer_tree_host_impl_->memory_history(); |
| 866 } | 862 } |
| 867 | 863 |
| 868 gfx::Size LayerTreeImpl::device_viewport_size() const { | 864 gfx::Size LayerTreeImpl::device_viewport_size() const { |
| 869 return layer_tree_host_impl_->device_viewport_size(); | 865 return layer_tree_host_impl_->device_viewport_size(); |
| 870 } | 866 } |
| 871 | 867 |
| 872 float LayerTreeImpl::device_scale_factor() const { | 868 float LayerTreeImpl::device_scale_factor() const { |
| 873 return layer_tree_host_impl_->device_scale_factor(); | 869 return layer_tree_host_impl_->device_scale_factor(); |
| (...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1766 const gfx::BoxF& box, | 1762 const gfx::BoxF& box, |
| 1767 gfx::BoxF* bounds) const { | 1763 gfx::BoxF* bounds) const { |
| 1768 *bounds = gfx::BoxF(); | 1764 *bounds = gfx::BoxF(); |
| 1769 return layer_tree_host_impl_->animation_host() | 1765 return layer_tree_host_impl_->animation_host() |
| 1770 ? layer_tree_host_impl_->animation_host() | 1766 ? layer_tree_host_impl_->animation_host() |
| 1771 ->TransformAnimationBoundsForBox(layer->id(), box, bounds) | 1767 ->TransformAnimationBoundsForBox(layer->id(), box, bounds) |
| 1772 : true; | 1768 : true; |
| 1773 } | 1769 } |
| 1774 | 1770 |
| 1775 } // namespace cc | 1771 } // namespace cc |
| OLD | NEW |