Bug 297140

Summary: [WebXR][OpenXR] Add EGL fences for WebGL content
Product: WebKit Reporter: Sergio Villar Senin <svillar>
Component: WebXRAssignee: Sergio Villar Senin <svillar>
Status: RESOLVED FIXED    
Severity: Normal CC: djg, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 208988    

Sergio Villar Senin
Reported 2025-08-08 14:03:46 PDT
Currently there is no guarantee that the WebXR WebGL frames are completely rendered before they're submitted to the OpenXR compositor. That's why the WebXROpaqueFramebuffer does a glFinish() before returning from endFrame. It'd be however much better to just create a fence, export it to the UI process and let it wait for the fence signaling if required instead of blocking the WP in the glFinish() call.
Attachments
Sergio Villar Senin
Comment 1 2025-08-08 14:13:14 PDT
Radar WebKit Bug Importer
Comment 2 2025-08-15 14:04:14 PDT
EWS
Comment 3 2025-08-26 02:51:24 PDT
Committed 299154@main (b50c48fd07c7): <https://commits.webkit.org/299154@main> Reviewed commits have been landed. Closing PR #49147 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.