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 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 } | 855 } |
856 | 856 |
857 TileManager* LayerTreeImpl::tile_manager() const { | 857 TileManager* LayerTreeImpl::tile_manager() const { |
858 return layer_tree_host_impl_->tile_manager(); | 858 return layer_tree_host_impl_->tile_manager(); |
859 } | 859 } |
860 | 860 |
861 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const { | 861 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const { |
862 return layer_tree_host_impl_->fps_counter(); | 862 return layer_tree_host_impl_->fps_counter(); |
863 } | 863 } |
864 | 864 |
865 PaintTimeCounter* LayerTreeImpl::paint_time_counter() const { | |
866 return layer_tree_host_impl_->paint_time_counter(); | |
867 } | |
868 | |
869 MemoryHistory* LayerTreeImpl::memory_history() const { | 865 MemoryHistory* LayerTreeImpl::memory_history() const { |
870 return layer_tree_host_impl_->memory_history(); | 866 return layer_tree_host_impl_->memory_history(); |
871 } | 867 } |
872 | 868 |
873 gfx::Size LayerTreeImpl::device_viewport_size() const { | 869 gfx::Size LayerTreeImpl::device_viewport_size() const { |
874 return layer_tree_host_impl_->device_viewport_size(); | 870 return layer_tree_host_impl_->device_viewport_size(); |
875 } | 871 } |
876 | 872 |
877 float LayerTreeImpl::device_scale_factor() const { | 873 float LayerTreeImpl::device_scale_factor() const { |
878 return layer_tree_host_impl_->device_scale_factor(); | 874 return layer_tree_host_impl_->device_scale_factor(); |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1754 const gfx::BoxF& box, | 1750 const gfx::BoxF& box, |
1755 gfx::BoxF* bounds) const { | 1751 gfx::BoxF* bounds) const { |
1756 *bounds = gfx::BoxF(); | 1752 *bounds = gfx::BoxF(); |
1757 return layer_tree_host_impl_->animation_host() | 1753 return layer_tree_host_impl_->animation_host() |
1758 ? layer_tree_host_impl_->animation_host() | 1754 ? layer_tree_host_impl_->animation_host() |
1759 ->TransformAnimationBoundsForBox(layer->id(), box, bounds) | 1755 ->TransformAnimationBoundsForBox(layer->id(), box, bounds) |
1760 : true; | 1756 : true; |
1761 } | 1757 } |
1762 | 1758 |
1763 } // namespace cc | 1759 } // namespace cc |
OLD | NEW |