Bug 295526
| Summary: | [WebXR][OpenXR] XR_ERROR_SESSION_NOT_RUNNING issued sometimes when starting XR sessions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sergio Villar Senin <svillar> |
| Component: | New Bugs | Assignee: | Sergio Villar Senin <svillar> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 208988 | ||
Sergio Villar Senin
We're getting XR_ERROR_SESSION_NOT_RUNNING sometimes when trying to start WebXR sessions. The problem is that there is nothing that prevents the render loop to call xrWaitFrame() and the rest of the methods before the session is actually started.
WebXR code can properly setup the frame update callback before the OpenXR session begins, and thus the render loop would try to call xrWaitFrame()->xrBeginFrame()->xrEndFrame() on a session that hasn't started yet.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sergio Villar Senin
Pull request: https://github.com/WebKit/WebKit/pull/47666
EWS
Committed 297102@main (c2db6f72f6cd): <https://commits.webkit.org/297102@main>
Reviewed commits have been landed. Closing PR #47666 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/155306528>