diff options
author | sunxd <sunxd@chromium.org> | 2016-01-11 13:01:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-11 21:02:26 +0000 |
commit | ed58688e7629fa3c56470a241bc758fb5fabf081 (patch) | |
tree | f6ff71f020fca9532faa6c66548894fa126cd900 /cc/proto | |
parent | 41a523c0dbdf29bf1353036e35004cb35c345b17 (diff) | |
download | chromium_src-ed58688e7629fa3c56470a241bc758fb5fabf081.zip chromium_src-ed58688e7629fa3c56470a241bc758fb5fabf081.tar.gz chromium_src-ed58688e7629fa3c56470a241bc758fb5fabf081.tar.bz2 |
cc: Use effect tree to track the number of copy requests
Move num_layer_or_descendants_with_copy_requestfrom layer_tree to
effect_tree.
This update introduces false positives to the variable:
if a layer owns no effect node, it returns the value of its nearest
ancestor who owns a effect node.
BUG=574192
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1566913004
Cr-Commit-Position: refs/heads/master@{#368664}
Diffstat (limited to 'cc/proto')
-rw-r--r-- | cc/proto/property_tree.proto | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/proto/property_tree.proto b/cc/proto/property_tree.proto index 972c0c9..7f1b996 100644 --- a/cc/proto/property_tree.proto +++ b/cc/proto/property_tree.proto @@ -81,8 +81,9 @@ message EffectNodeData { optional float opacity = 1; optional float screen_space_opacity = 2; optional bool has_render_surface = 3; - optional int64 transform_id = 4; - optional int64 clip_id = 5; + optional int64 num_copy_requests_in_subtree = 4; + optional int64 transform_id = 5; + optional int64 clip_id = 6; } // This defines the proto used for all types of struct TreeNode. |