-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Servo should support using OpenXR on Linux via Monado #192
Comments
I agree this would be a good improvement. It will require some way of indicating the desired backend (D3D or GL) when creating the OpenXrDiscovery struct, and restructuring some of the code like this to support non-windows platforms. |
For what it's worth, https://github.com/Ralith/openxrs supports Monado and it looks like the author of that lib is actively in the Monado Discord. |
Currently working on this right now, any advice? |
What kind of advice are you looking for? |
really just any ideas, tips, tricks... you know this codebase better than I
do, I just know Rust and OpenXR and OpenXRs...
…On Thu, Nov 10, 2022 at 11:49 PM Josh Matthews ***@***.***> wrote:
What kind of advice are you looking for?
—
Reply to this email directly, view it on GitHub
<#192 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCU4EDNQ5XQLYYMVP2YAYDWHWC2DANCNFSM4SRAIG3Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I think it generally requires the following:
|
Okay just as I thought then, thanks so much for confirming that those are
the 2 spots to focus on!
…On Fri, Nov 11, 2022 at 3:39 AM Josh Matthews ***@***.***> wrote:
I think it generally requires the following:
- make the openxr backend of the webxr crate support linux (see all
uses of d3d in
https://github.com/servo/webxr/blob/master/webxr/openxr/mod.rs)
- integrate the openxr backend into linux builds in
https://github.com/servo/servo/blob/aa427dd4122359901b5d7b613bc54f64fdb94364/ports/libsimpleservo/api/src/lib.rs#L827-L897
—
Reply to this email directly, view it on GitHub
<#192 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCU4EEKES3MNSJ72PUFN6LWHW5W3ANCNFSM4SRAIG3Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Also if you need some examples of OpenXR usage on real browsers for inspiration you can check Chromium's implementation and also Wolvic's implementation |
There's a growing community of OpenXR projects building on Linux around monado.
It would be nice if Servo supported this so that people could easily experiment with WebXR on Linux based systems compared to the closed source Windows/Mac/Oculus environments.
The text was updated successfully, but these errors were encountered: