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 <limits> | 7 #include <limits> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 } | 737 } |
738 | 738 |
739 int LayerTreeImpl::MaxTextureSize() const { | 739 int LayerTreeImpl::MaxTextureSize() const { |
740 return layer_tree_host_impl_->GetRendererCapabilities().max_texture_size; | 740 return layer_tree_host_impl_->GetRendererCapabilities().max_texture_size; |
741 } | 741 } |
742 | 742 |
743 bool LayerTreeImpl::PinchGestureActive() const { | 743 bool LayerTreeImpl::PinchGestureActive() const { |
744 return layer_tree_host_impl_->pinch_gesture_active(); | 744 return layer_tree_host_impl_->pinch_gesture_active(); |
745 } | 745 } |
746 | 746 |
747 base::TimeTicks LayerTreeImpl::CurrentFrameTimeTicks() const { | 747 BeginFrameArgs LayerTreeImpl::CurrentBeginFrameArgs() const { |
748 return layer_tree_host_impl_->CurrentFrameTimeTicks(); | 748 return layer_tree_host_impl_->CurrentBeginFrameArgs(); |
749 } | 749 } |
750 | 750 |
751 base::TimeDelta LayerTreeImpl::begin_impl_frame_interval() const { | 751 base::TimeDelta LayerTreeImpl::begin_impl_frame_interval() const { |
752 return layer_tree_host_impl_->begin_impl_frame_interval(); | 752 return layer_tree_host_impl_->begin_impl_frame_interval(); |
753 } | 753 } |
754 | 754 |
755 void LayerTreeImpl::SetNeedsCommit() { | 755 void LayerTreeImpl::SetNeedsCommit() { |
756 layer_tree_host_impl_->SetNeedsCommit(); | 756 layer_tree_host_impl_->SetNeedsCommit(); |
757 } | 757 } |
758 | 758 |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1396 | 1396 |
1397 void LayerTreeImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) { | 1397 void LayerTreeImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) { |
1398 layer_tree_host_impl_->UnregisterPictureLayerImpl(layer); | 1398 layer_tree_host_impl_->UnregisterPictureLayerImpl(layer); |
1399 } | 1399 } |
1400 | 1400 |
1401 void LayerTreeImpl::InputScrollAnimationFinished() { | 1401 void LayerTreeImpl::InputScrollAnimationFinished() { |
1402 layer_tree_host_impl_->ScrollEnd(); | 1402 layer_tree_host_impl_->ScrollEnd(); |
1403 } | 1403 } |
1404 | 1404 |
1405 } // namespace cc | 1405 } // namespace cc |
OLD | NEW |