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

Unified Diff: cc/layers/layer_impl.h

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Improve with comment in patch 18. Created 3 years, 5 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/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 5751294ed1d1a42713c049c8aa0362268f22caec..ce20a52b5a79790ec032408e622f25e3cff909d2 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -343,7 +343,12 @@ class CC_EXPORT LayerImpl {
virtual std::unique_ptr<base::DictionaryValue> LayerTreeAsJson();
+ // This includes |layer_property_changed_| and property_trees changes.
bool LayerPropertyChanged() const;
+ // Only checks |layer_property_changed_|. Used in damage_tracker to determine
+ // if there is a contributing content damage not from property_trees changes
+ // in animaiton.
+ bool LayerPropertyChangedNotFromPropertyTrees() const;
void ResetChangeTracking();
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | cc/trees/damage_tracker_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698