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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 } | 816 } |
817 | 817 |
818 void LayerTreeImpl::DidAnimateScrollOffset() { | 818 void LayerTreeImpl::DidAnimateScrollOffset() { |
819 layer_tree_host_impl_->DidAnimateScrollOffset(); | 819 layer_tree_host_impl_->DidAnimateScrollOffset(); |
820 } | 820 } |
821 | 821 |
822 bool LayerTreeImpl::use_gpu_rasterization() const { | 822 bool LayerTreeImpl::use_gpu_rasterization() const { |
823 return layer_tree_host_impl_->use_gpu_rasterization(); | 823 return layer_tree_host_impl_->use_gpu_rasterization(); |
824 } | 824 } |
825 | 825 |
| 826 GpuRasterizationStatus LayerTreeImpl::GetGpuRasterizationStatus() const { |
| 827 return layer_tree_host_impl_->gpu_rasterization_status(); |
| 828 } |
| 829 |
826 bool LayerTreeImpl::create_low_res_tiling() const { | 830 bool LayerTreeImpl::create_low_res_tiling() const { |
827 return layer_tree_host_impl_->create_low_res_tiling(); | 831 return layer_tree_host_impl_->create_low_res_tiling(); |
828 } | 832 } |
829 | 833 |
830 void LayerTreeImpl::SetNeedsRedraw() { | 834 void LayerTreeImpl::SetNeedsRedraw() { |
831 layer_tree_host_impl_->SetNeedsRedraw(); | 835 layer_tree_host_impl_->SetNeedsRedraw(); |
832 } | 836 } |
833 | 837 |
834 const LayerTreeDebugState& LayerTreeImpl::debug_state() const { | 838 const LayerTreeDebugState& LayerTreeImpl::debug_state() const { |
835 return layer_tree_host_impl_->debug_state(); | 839 return layer_tree_host_impl_->debug_state(); |
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1488 scoped_ptr<PendingPageScaleAnimation> pending_animation) { | 1492 scoped_ptr<PendingPageScaleAnimation> pending_animation) { |
1489 pending_page_scale_animation_ = pending_animation.Pass(); | 1493 pending_page_scale_animation_ = pending_animation.Pass(); |
1490 } | 1494 } |
1491 | 1495 |
1492 scoped_ptr<PendingPageScaleAnimation> | 1496 scoped_ptr<PendingPageScaleAnimation> |
1493 LayerTreeImpl::TakePendingPageScaleAnimation() { | 1497 LayerTreeImpl::TakePendingPageScaleAnimation() { |
1494 return pending_page_scale_animation_.Pass(); | 1498 return pending_page_scale_animation_.Pass(); |
1495 } | 1499 } |
1496 | 1500 |
1497 } // namespace cc | 1501 } // namespace cc |
OLD | NEW |