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

Unified Diff: cc/proto/property_tree.proto

Issue 2035863003: cc: Add mask and replica layer ids to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 6 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/render_surface_impl_unittest.cc ('k') | cc/test/layer_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/property_tree.proto
diff --git a/cc/proto/property_tree.proto b/cc/proto/property_tree.proto
index 38cd5a946098606e0fe143141ec07e72da4f3418..889068e65a4dd7f4fa1a89502b6387f76486512f 100644
--- a/cc/proto/property_tree.proto
+++ b/cc/proto/property_tree.proto
@@ -89,7 +89,7 @@ message ClipNodeData {
}
// Proto for struct EffectNodeData.
-// NEXT ID: 17
+// NEXT ID: 20
message EffectNodeData {
optional float opacity = 1;
optional float screen_space_opacity = 2;
@@ -107,6 +107,9 @@ message EffectNodeData {
optional int64 transform_id = 9;
optional int64 clip_id = 10;
optional int64 target_id = 12;
+ optional int64 mask_layer_id = 17;
+ optional int64 replica_layer_id = 18;
+ optional int64 replica_mask_layer_id = 19;
}
// Proto for struct ScrollNodeData
@@ -166,6 +169,7 @@ message PropertyTree {
// of this property tree.
optional TransformTreeData transform_tree_data = 1000;
optional ScrollTreeData scroll_tree_data = 1001;
+ optional EffectTreeData effect_tree_data = 1002;
}
message ScrollOffsetMapEntry {
@@ -192,6 +196,11 @@ message TransformTreeData {
repeated TransformCachedNodeData cached_data = 9;
}
+// Proto for data members of class EffectTree.
+message EffectTreeData {
+ repeated int64 mask_replica_layer_ids = 1 [packed = true];
+}
+
// Proto for class PropertyTrees.
// NEXT ID: 16
message PropertyTrees {
« no previous file with comments | « cc/layers/render_surface_impl_unittest.cc ('k') | cc/test/layer_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698