Skip to content

Enable OpenXR backend from the WebXR crate - #32817

Merged
jdm merged 3 commits into
servo:mainfrom
msub2:webxr
Jul 20, 2024
Merged

jdm merged 3 commits into
servo:mainfrom
msub2:webxr

Conversation

@msub2

@msub2 msub2 commented Jul 20, 2024

Copy link
Copy Markdown
Member

This enables the OpenXR backend from the WebXR crate, allowing Servo to display WebXR content on actual headsets as opposed to just the GL window. For now it is gated by a pref and the GL window remains the default.


  • There are tests for these changes OR
  • These changes do not require tests because they involve rendering to external devices, which I have verified is working as expected.

@jdm jdm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jdm
jdm enabled auto-merge July 20, 2024 03:01
@msub2

msub2 commented Jul 20, 2024

Copy link
Copy Markdown
Member Author

Ah think I missed a couple cfg statements for the OpenXR imports, lemme fix that first

@jdm
jdm disabled auto-merge July 20, 2024 03:06
Signed-off-by: Daniel Adams <[email protected]>
@jdm
jdm added this pull request to the merge queue Jul 20, 2024
Merged via the queue into servo:main with commit 9212ed2 Jul 20, 2024
Gae24 pushed a commit to Gae24/servo that referenced this pull request Jul 26, 2024
* Enable OpenXR backend from the WebXR crate

Signed-off-by: Daniel Adams <[email protected]>

* Ensure openxr feature is only included on windows

Signed-off-by: Daniel Adams <[email protected]>

* Add cfgs for OpenXR usages

Signed-off-by: Daniel Adams <[email protected]>

---------

Signed-off-by: Daniel Adams <[email protected]>
@msub2
msub2 deleted the webxr branch August 6, 2024 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enabling WebXR OpenXR backend in servoshell

2 participants