Closed Bug 1505375 Opened 6 years ago Closed 6 years ago

Make WR display list dumping go to logcat on android

Categories

(Core :: Graphics: WebRender, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: kats, Assigned: kats)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

Attachments

(2 files)

While working on bug 1503616 I found that the WR display list dumping goes to stderr, and doesn't get copied to logcat on android. It's useful to have it in logcat so this bug is to fix that. I have a hacky fix locally that will need cleaning up.
For proper android support we need to dump this to logcat instead of
stderr, so it seems better to just have a function to return the dumped
string and we can send it wherever we want in the embedding application.
This also changes the print_display_list back to the original semantics
(prior to servo/webrender#2893) where it just dumps the whole display
list to stdout.
Using the gfx.webrender.dl.dump-* prefs is supposed to print a display
list dump with the gecko and WR display items appropriately interleaved.
However on Android the gecko items get sent to logcat via printf_stderr,
and the WR display items get sent to stderr, and so get lost. This makes
the WR items also go to logcat so that they show up properly.

Depends on D11195
Fixed by 1505862
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: