|
|
cc : Compute subtree has copy requests before property tree building
To determine if we can skip creating effect nodes for hidden subtrees
during property tree building, we need to know if the subtree has any
copy requests. So, moving this computation to happen before property
tree building. After this CL, we can stop creating effect nodes for
hidden subtrees and also stop pushing these layers to compositor thread
at commit.
BUG= 595843
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2822303003
Cr-Commit-Position: refs/heads/master@{#466745}
Committed: https://chromium.googlesource.com/chromium/src/+/ebc9428960482240e8a1114b7b795cabf42a6b82
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+105 lines, -70 lines) |
Patch |
 |
M |
cc/layers/layer.h
|
View
|
1
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer.cc
|
View
|
1
|
3 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl_test_properties.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl_test_properties.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/draw_property_utils.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
4 comments
|
Download
|
 |
M |
cc/trees/effect_node.h
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
 |
M |
cc/trees/effect_node.cc
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host.h
|
View
|
1
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_unittest.cc
|
View
|
|
4 chunks |
+12 lines, -19 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/property_tree.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/property_tree_builder.cc
|
View
|
1
|
11 chunks |
+45 lines, -33 lines |
2 comments
|
Download
|
Total messages: 20 (11 generated)
|