Closed Bug 1561367 Opened 6 years ago Closed 5 years ago

WR capture multiple frames

Categories

(Core :: Graphics: WebRender, enhancement, P3)

66 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: kvark, Assigned: aosmond)

References

Details

Attachments

(1 file)

Currently WR captures only a single frame. In some cases, it's difficult to catch a visual issue. Capturing a sequence of frames would help.

Priority: -- → P3

I'm currently looking at this. It would help greatly with debugging issues such as bug 1526298 and bug 1596460, and no doubt issues in the future.

Assignee: nobody → aosmond

This patch adds support for the capture and replaying of multiple frames
during normal operation of Firefox. Ctrl + Shift + 6 starts capturing
and Ctrl + Shift + 7 stops capturing. It attempts to capture the minimum
amount of data required to replay a sequence for debugging purposes.

There are several known limitations, particularly surrounding replaying
when transitioning between snapshots of the resource cache. These will
be resolved with time, and the current implementation should be workable
to at least capture/debug most animated issues with some effort.

It also adds support for loading dynamic properties which is necessary
for accurate replaying of a captured frame (sequence or individual)
which are in the middle of an animation.

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/419be9960357 Implement initial support for capturing multiple frames. r=kvark
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1eb600c29550 Implement initial support for capturing multiple frames. r=kvark
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Flags: needinfo?(aosmond)
Regressions: 1632457
Regressions: 1676091
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: