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

Unified Diff: cc/layers/layer_impl.h

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Reduce unneeded code in surface aggregator and add more test. 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 57c5c6d71aaa720253bd18970f3d6730f9feb9e8..a77a0da4e280aabe882c2b9946ef9563b3648f7e 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();

Powered by Google App Engine
This is Rietveld 408576698