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

Unified Diff: cc/layer_tree_host_impl.h

Issue 11574026: cc: Add some more infrastructure for two trees (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layer_tree_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.h
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
index 9943da20e7d4b1a8e663b2b9e40199ad9e656f17..79c26c02fb5ae982552c968edf152cfa2d758678 100644
--- a/cc/layer_tree_host_impl.h
+++ b/cc/layer_tree_host_impl.h
@@ -204,6 +204,7 @@ public:
void readback(void* pixels, const gfx::Rect&);
LayerTreeImpl* activeTree() { return m_activeTree.get(); }
+ LayerTreeImpl* pendingTree() { return m_pendingTree.get(); }
// TODO(nduca): Remove these in favor of LayerTreeImpl.
void setRootLayer(scoped_ptr<LayerImpl>);
@@ -354,6 +355,7 @@ private:
scoped_ptr<Renderer> m_renderer;
scoped_ptr<TileManager> m_tileManager;
+ scoped_ptr<LayerTreeImpl> m_pendingTree;
scoped_ptr<LayerTreeImpl> m_activeTree;
bool m_scrollDeltaIsInViewportSpace;
« no previous file with comments | « no previous file | cc/layer_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698