Closed
Bug 1643706
Opened 5 years ago
Closed 5 years ago
Make WR tree printing more android-friendly
Categories
(Core :: Graphics: WebRender, task, P3)
Tracking
()
RESOLVED
FIXED
mozilla79
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(1 file, 1 obsolete file)
Right now doing e.g. spatial_tree.print()
sends the tree-printed output to stdout which is totally useless on Android. On Android we instead want to send to logcat. In theory there's some hocus-pocus you can do to redirect stdout to logcat but I've never gotten that to work, so this is always a bit of a pain point for me when debugging WR on android.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Instead of using the default TreePrinter implementation which sends output
to stdout, collect it into a Vec<u8> and use the debug! macro to log it,
which sends it to a more useful destination (logcat) on Android.
Depends on D78536
Updated•5 years ago
|
Attachment #9154580 -
Attachment is obsolete: true
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4e89164de2d6
Make spatial_tree.print() work on Android too. r=kvark
Comment 5•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox79:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in
before you can comment on or make changes to this bug.
Description
•