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

Unified Diff: cc/layers/layer.h

Issue 1688563002: cc :: Move some tracking of layer_property_changed to main thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 7c0697d25cb7ad36e01f225902cab4787f8b515c..2aa81dfaf919d76232155829b481c37344025915 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -540,6 +540,9 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
return has_render_surface_;
}
+ void SetSubtreePropertyChanged();
+ bool subtree_property_changed() const { return subtree_property_changed_; }
+
// Sets new frame timing requests for this layer.
void SetFrameTimingRequests(const std::vector<FrameTimingRequest>& requests);
@@ -743,6 +746,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
bool force_render_surface_ : 1;
bool transform_is_invertible_ : 1;
bool has_render_surface_ : 1;
+ bool subtree_property_changed_ : 1;
Region non_fast_scrollable_region_;
Region touch_event_handler_region_;
gfx::PointF position_;
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698