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

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: 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
Index: cc/layer_tree_impl.h
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h
index 62e01354f5530c084edfa56935937613c834b9bc..4e8ded7fe00ee602f011d5aee52a9e4834329f16 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* ActiveTreeLayerById(int id);
nduca 2012/12/14 02:18:43 Get or FindActiveTreeLayerByBlah
enne (OOO) 2012/12/14 17:30:53 Ok, sure. FindActiveTreeLayerByBlah, it is.
+ LayerImpl* PendingTreeLayerById(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') | cc/picture_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698