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

Unified Diff: cc/layer_tree_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 | « cc/layer_tree_host_impl.h ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_impl.h
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h
index 62e01354f5530c084edfa56935937613c834b9bc..8b7c925339ebf1a9e51f2f1eed7cdbfb04202299 100644
--- a/cc/layer_tree_impl.h
+++ b/cc/layer_tree_impl.h
@@ -40,13 +40,17 @@ class CC_EXPORT LayerTreeImpl {
}
virtual ~LayerTreeImpl();
- // Methods called by the layer tree that pass-through to LHTI.
+ // Methods called by the layer tree that pass-through or access LTHI.
// ---------------------------------------------------------------------------
const LayerTreeSettings& settings() const;
OutputSurface* output_surface() const;
ResourceProvider* resource_provider() const;
TileManager* tile_manager() const;
FrameRateCounter* frame_rate_counter() const;
+ bool IsActiveTree() const;
+ bool IsPendingTree() const;
+ LayerImpl* FindActiveTreeLayerById(int id);
+ LayerImpl* FindPendingTreeLayerById(int id);
// Tree specific methods exposed to layer-impl tree.
// ---------------------------------------------------------------------------
« no previous file with comments | « cc/layer_tree_host_impl.h ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698