class SnapshotDump
Defined at line 35 of file ../../src/ui/scenic/lib/view_tree/snapshot_dump.h
Snapshot dump helps in dumping out the necessary information of the snapshot view tree
to the console. This information gets printed whenever a new frame is loaded.
Eg:- if the view tree is of the form
A(1)
|
B(2)
The dump printed would be
|[Node 1] Parent 0
|[Node 2] Parent 1
Hit tester#: ${No of hit testers}
Unconnected views: ${space separated koids of view nodes}
Public Methods
void OnNewViewTreeSnapshot (std::shared_ptr<const Snapshot> snapshot)
Defined at line 14 of file ../../src/ui/scenic/lib/view_tree/snapshot_dump.cc
LogDump DumpSnapshotInfo (std::shared_ptr<const Snapshot> snapshot)
Generates the log string to be dumped using dfs traversal of the view tree
Defined at line 23 of file ../../src/ui/scenic/lib/view_tree/snapshot_dump.cc