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

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

Issue 2323423002: cc: Add SwapPromiseManager and SurfaceSequenceGenerator. (Closed)
Patch Set: tests Created 4 years, 3 months 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.h ('k') | cc/trees/layer_tree_host.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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.h" 5 #include "cc/trees/layer_tree.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "cc/animation/animation_host.h" 9 #include "cc/animation/animation_host.h"
10 #include "cc/input/page_scale_animation.h" 10 #include "cc/input/page_scale_animation.h"
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 713
714 LayerListReverseIterator<Layer> LayerTree::rend() { 714 LayerListReverseIterator<Layer> LayerTree::rend() {
715 return LayerListReverseIterator<Layer>(nullptr); 715 return LayerListReverseIterator<Layer>(nullptr);
716 } 716 }
717 717
718 void LayerTree::SetNeedsDisplayOnAllLayers() { 718 void LayerTree::SetNeedsDisplayOnAllLayers() {
719 for (auto* layer : *this) 719 for (auto* layer : *this)
720 layer->SetNeedsDisplay(); 720 layer->SetNeedsDisplay();
721 } 721 }
722 722
723 UIResourceManager* LayerTree::GetUIResourceManager() const {
724 return layer_tree_host_->GetUIResourceManager();
725 }
726
727 const LayerTreeSettings& LayerTree::GetSettings() const {
728 return layer_tree_host_->GetSettings();
729 }
730
731 } // namespace cc 723 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698