Descriptioncc: Make LayerTreeImpl dump layer list to FrameViewer and Devtools
As compositor will no longer know tree hierarchy information, it is
expected to dump a layer list instead of a layer tree to chrome tracing.
The value root_layer is also deleted because it is used to judge whether
the dumped layer_tree_impl has a list or not on the FrameViewer side.
Chrome://tracing will show a layer_tree_impl without depth, this is
expected.
This CL is blocked by Issue 1947553002, and potentially influenced by
the LayerTreeImpl's JSON issue.
Devtools need to deal with the new format information. On the devtools
side, we make the first drawsContent layer "contentRoot" and treat all
other layers as the contentRoot's child.
BUG=605940
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/3971e0b42893122987ca9647055a079eb1e01e3d
Cr-Commit-Position: refs/heads/master@{#397744}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove const prefix of LayerTreeImpl iterator #Patch Set 3 : Make devtools work without layer tree hierarchy #
Total comments: 2
Patch Set 4 : Force drawsContent for layout test #
Total comments: 5
Patch Set 5 : Dump every layer in layout test and rebaseline the expectations #
Total comments: 7
Patch Set 6 : Resolve comments #
Messages
Total messages: 32 (12 generated)
|