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

Unified Diff: cc/layer_tree_impl.h

Issue 11886091: cc: Fix resource eviction with impl-side painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months 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 e83647b57f4a9cc5bd137f636da1731309cf047c..71f8c9bebb5ef78bed5a41dd45790e2eb84211bc 100644
--- a/cc/layer_tree_impl.h
+++ b/cc/layer_tree_impl.h
@@ -137,6 +137,10 @@ class CC_EXPORT LayerTreeImpl {
void DidBecomeActive();
+ bool ContentsTexturesPurged() const;
+ void SetContentsTexturesPurged();
+ void ResetContentsTexturesPurged();
+
protected:
LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl);
@@ -159,6 +163,8 @@ protected:
// rendering and input event hit testing.
LayerList render_surface_layer_list_;
+ bool contents_textures_purged_;
+
DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
};

Powered by Google App Engine
This is Rietveld 408576698