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

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: 80 columns /o\ 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') | cc/layer_tree_impl.h » ('J')
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 6fab629744978c64cc71946d1cec8a1bfa005ebc..c73f42805c9d3171bf9ad892e5f227c112b55975 100644
--- a/cc/layer_tree_host_impl.h
+++ b/cc/layer_tree_host_impl.h
@@ -203,6 +203,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>);
@@ -351,6 +352,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') | cc/layer_tree_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698