Closed Bug 1954803 Opened 1 month ago Closed 24 days ago

Use webrender for view transition's "old" snapshots.

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [viewtransitions:m1])

Attachments

(2 files)

No description provided.
Whiteboard: [viewtransitions:triage]

This seems to do what I'd expect on the Gecko side, but the snapshots
still don't show up without this change.

Also adds some logging infrastructure.

Attachment #9472783 - Attachment description: Bug 1954803 - Enable the webrender "old snapshot" code path. r=nical → Bug 1954803 - Hook view transitions "old snapshot" code path to webrender as well. r=nical,#vt

Nical, any idea why this doesn't seem to work? The snapshots of the old content almost never show up. The fact that's "almost never" kinda hints at something going wrong on the WR side... Maybe another frame arrives and thus we never actually take the snapshot?

Flags: needinfo?(nical.bugzilla)

(Note that I wrote this behind a pref, you need to turn the pref on to see the bug)

If I turn on missing-snapshot-panic then it well, panics. But interestingly the missing-snapshot-pink pref doesn't seem to work.

missing-snapshot-panic should panic here. If it panics here it means that we have created a snapshot image key but for some reason it didn't get rendered. If the panic happens elsewhere, the issue is likely that the image key wasn't created in the first place. As we discussed earlier that could be caused by a transaction not being rendered. I filed bug 1955005 to address that particular concern.

missing-snapshot-pink also only affects snapshot image keys that were created but not rendered.

Flags: needinfo?(nical.bugzilla)
Status: NEW → ASSIGNED
Whiteboard: [viewtransitions:triage] → [viewtransitions:m1]

Test expectation updates incoming.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fc8468453de2 Hook view transitions "old snapshot" code path to webrender as well. r=nical
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e39769e47f14 Pass current ASR to avoid debug-only asserts.
Status: ASSIGNED → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c515e7a5c79 Enable using WR for old captures. r=view-transitions-reviewers,boris
Pushed by amarc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f8dc7310705 Update test expectations for old-content-inline-with-offset-from-containing-block-clipped.html CLOSED TREE
Status: REOPENED → RESOLVED
Closed: 25 days ago24 days ago
Resolution: --- → FIXED
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/a6944d14565f Annotate a few tests that now pass on windows, and another flake.
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c79d40512b18 Another round of annotations for frequent oranges. a=test-only
Regressions: 1957056
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: