Closed Bug 1580258 Opened 5 years ago Closed 3 years ago

WebGLContext.MakeXRCompatible needs to switch to the device connected to the XR hardware

Categories

(Core :: WebVR, task, P2)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: kip, Unassigned)

References

(Blocks 1 open bug)

Details

The WebXR Specification requires WebGLContext.MakeXRCompatible to ensure that the WebGLContext is ready for use with an XR session:

https://www.w3.org/TR/webxr/#dom-webglrenderingcontextbase-makexrcompatible

In some cases, the GL context will need to be dropped and re-created for a GPU that is connected to the XR display.

This proof-of-concept for fxrpc could inform how to address this bug on Windows:
https://github.com/MozillaReality/gecko-dev/commit/e905914618b3065e44c01ed47aa07e6dacb1a47e

The bug assignee didn't login in Bugzilla in the last 7 months.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: kearwood → nobody
Flags: needinfo?(jmathies)
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(jmathies)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.