diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-16 04:53:10 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-16 04:53:10 +0000 |
commit | f117a4cc7c6cae265071109a9133ff5f853a06f1 (patch) | |
tree | 57eba0519d44af2d0d4f6b30b0492160c86c21c0 /cc/layer_tree_impl.h | |
parent | 344e58d0497d68437f9653fcfc3788d85f3f8450 (diff) | |
download | chromium_src-f117a4cc7c6cae265071109a9133ff5f853a06f1.zip chromium_src-f117a4cc7c6cae265071109a9133ff5f853a06f1.tar.gz chromium_src-f117a4cc7c6cae265071109a9133ff5f853a06f1.tar.bz2 |
cc: Add some more infrastructure for two trees
PictureLayerImpl gets the ability to sync a tiling from active
to pending tree when it gets created so that layers can share tiles.
A few functions are added to make this possible.
BUG=155209
Review URL: https://chromiumcodereview.appspot.com/11574026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173366 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_tree_impl.h')
-rw-r--r-- | cc/layer_tree_impl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h index 62e0135..8b7c925 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. // --------------------------------------------------------------------------- |