Skip to content

locate_views calls xrLocateViews twice #35491

Open
@jdm

Description

@jdm

The openxr crate uses the get_arr_init helper in locate_views. This means that it calls it first to determine how many views there are, then it calls it again with a vector of the right size to receive the view information. The XR sample app preallocates the right number of views an only calls it once every frame. We should look into whether we can do the same by dipping down into the system openxr crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-webxrIssues dealing with Servo's WebXR implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions