Skip to content

Support a test WebVR/XR display #22795

Closed

Description

@asajeffrey

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.

Activity

  1. asajeffrey commented on Jan 31, 2019

    @asajeffrey
    ContributorAuthor

    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).

  2. paulrouget commented on Feb 1, 2019

    @paulrouget
    Contributor

    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?

  3. asajeffrey commented on Feb 1, 2019

    @asajeffrey
    ContributorAuthor

    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.

  4. asajeffrey commented on Feb 1, 2019

    @asajeffrey
    ContributorAuthor

    With this in place, we could start writing WebVR/XR reftests.

  5. added 4 commits that reference this issue on Mar 5, 2019
    66de1e5
    b4366e0
    ac913a6
    55347aa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions