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

Unified Diff: cc/layers/layer_impl.cc

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.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 245b929cc906d5fa9d1fd2616910e370c1df75d3..8f48791b95b0a92e11e1d8c0ac1f78bbb8a1c839 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -424,6 +424,10 @@ bool LayerImpl::LayerPropertyChanged() const {
return false;
}
+bool LayerImpl::LayerPropertyChangedNotFromPropertyTrees() const {
+ return layer_property_changed_;
+}
+
void LayerImpl::NoteLayerPropertyChanged() {
layer_property_changed_ = true;
layer_tree_impl()->set_needs_update_draw_properties();

Powered by Google App Engine
This is Rietveld 408576698