You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For testing, it would be nice to have a WebVR/XR implementation that renders to the current window. Firefox has such a thing behind a dom.vr.test.enabled pref.
I do something like that for Firefox Reality + Servo. WebVR content is rendered directly on the screen. But it's not something that's on the Servo side.
Yes, I had a look at the mock VR implementation, but it's very mock. For example, we'd need something that returned the right values for the render with and height, and related display parameters.
Activity
asajeffrey commentedon Jan 31, 2019
The code for this is also the code needed to support immersive mode on VR devices that don't have an external display, e.g. the magicleap (#22402).
paulrouget commentedon Feb 1, 2019
I do something like that for Firefox Reality + Servo. WebVR content is rendered directly on the screen. But it's not something that's on the Servo side.
Have you looked at the mock webvr implementation: https://github.com/servo/rust-webvr/tree/master/rust-webvr/src/api/mock
Would that help?
asajeffrey commentedon Feb 1, 2019
Yes, I had a look at the mock VR implementation, but it's very mock. For example, we'd need something that returned the right values for the render with and height, and related display parameters.
asajeffrey commentedon Feb 1, 2019
With this in place, we could start writing WebVR/XR reftests.
Auto merge of #22953 - asajeffrey:webvr-glwindow, r=paulrouget
Auto merge of #22953 - asajeffrey:webvr-glwindow, r=paulrouget
Auto merge of #22953 - asajeffrey:webvr-glwindow, r=paulrouget
Auto merge of #22953 - asajeffrey:webvr-glwindow, r=paulrouget