Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: cc/trees/layer_tree_impl.cc

Issue 774413002: Update from https://crrev.com/306724 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | crypto/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | crypto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698