Bug 264925

Summary: [WebXR] Correct WebGL content over camera feed
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: WebXRAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Dan Glastonbury 2023-11-15 22:49:21 PST
Bug 262774 introduced rendering for WebGL content over ARKit provided camera
feed using a CAMetalLayer hosted swap chain. It was intended that the
MTLSharedEvent active.completionEvent would be used to pace the frames and delay
the present until the frame has been rendered in the GPUP. This didn't work and
would lead to Metal preventing from processing our content for misbehaving.
Comment 1 Radar WebKit Bug Importer 2023-11-15 22:49:32 PST
<rdar://problem/118494318>
Comment 2 Dan Glastonbury 2023-11-15 22:57:14 PST
Pull request: https://github.com/WebKit/WebKit/pull/20590
Comment 3 EWS 2023-11-16 14:59:53 PST
Committed 270848@main (88d7c41f6d42): <https://commits.webkit.org/270848@main>

Reviewed commits have been landed. Closing PR #20590 and removing active labels.