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

Unified Diff: cc/layers/layer_proto_converter.h

Issue 1808373002: cc : Make tree synchronization independent of layer tree hierarchy (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « cc/layers/layer.cc ('k') | cc/layers/layer_proto_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_proto_converter.h
diff --git a/cc/layers/layer_proto_converter.h b/cc/layers/layer_proto_converter.h
index b0af34af6bdd60800678dc855aa62655b4c30c5e..92a4b544ca5857fbe000cba315cd8da7e74f2d43 100644
--- a/cc/layers/layer_proto_converter.h
+++ b/cc/layers/layer_proto_converter.h
@@ -35,11 +35,11 @@ class CC_EXPORT LayerProtoConverter {
const scoped_refptr<Layer> existing_root,
const proto::LayerNode& root_node);
- // Starting at |root_layer|, serializes the properties of all the dirty nodes
- // in the Layer hierarchy. The proto::LayerUpdate will contain all nodes that
- // either are dirty or have dirty descendants. Only nodes that are dirty will
- // contain the list of dirty properties.
- static void SerializeLayerProperties(Layer* root_layer,
+ // Serializes the properties of all the dirty nodes in the Layer hierarchy.
+ // The proto::LayerUpdate will contain all nodes that are dirty. These nodes
+ // will contain the list of dirty properties. This function also resets the
+ // layers that need push properties set.
+ static void SerializeLayerProperties(LayerTreeHost* host,
proto::LayerUpdate* layer_update);
// Iterate over all updated layers from the LayerUpdate, and update the
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_proto_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698