[Webkit-unassigned] [Bug 284204] New: [visionOS] speed-up transition from fullscreen to docked environment

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 6 16:25:26 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=284204

            Bug ID: 284204
           Summary: [visionOS] speed-up transition from fullscreen to
                    docked environment
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jean-yves.avenard at apple.com
                CC: webkit-bug-importer at group.apple.com

When moving to docked environment on a Vision Pro, we create a new AVSampleBufferVideoRenderer and enqueue frames to it before presenting it. Once docked, we delete the previous AVSampleBufferDisplayLayer.

To present that first video frame, the AVSampleBufferVideoRenderer needs to first decode all the video frames from the previous keyframe all the way to currentTime. This takes a not so small amount of time before the AVSBVR signals "ready to display.

What we could do instead is grab the current pixel buffer of the currently presented AVSBDL and push it immediately to the new AVSBVR so it immediately moves to ready to display.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241207/f9fc9531/attachment.htm>


More information about the webkit-unassigned mailing list