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

Unified Diff: cc/layers/layer.h

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase error. Created 5 years 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 | « cc/blink/web_layer_impl.cc ('k') | 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 c4c490c582270c5efcbced254b5caf5f79cd1fd7..a64e04e16a81bdece430b2d816b52e0029319db0 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -546,6 +546,12 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
return num_layer_or_descendants_with_copy_request_;
}
+ void SetElementId(uint64_t id);
+ uint64_t element_id() const { return element_id_; }
+
+ void SetMutableProperties(uint32_t properties);
+ uint32_t mutable_properties() const { return mutable_properties_; }
+
void set_visited(bool visited);
bool visited();
void set_layer_or_descendant_is_drawn(bool layer_or_descendant_is_drawn);
@@ -707,6 +713,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
int clip_tree_index_;
int property_tree_sequence_number_;
int num_layer_or_descendants_with_copy_request_;
+ uint64_t element_id_;
+ uint32_t mutable_properties_;
gfx::Vector2dF offset_to_transform_parent_;
bool should_flatten_transform_from_property_tree_ : 1;
bool should_scroll_on_main_thread_ : 1;
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698