servo / webxr

Bindings for WebXR
Mozilla Public License 2.0
81 stars 23 forks source link

Servo should support using OpenXR on Linux via Monado #192

Open RangerMauve opened 3 years ago

RangerMauve commented 3 years ago

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.

jdm commented 3 years ago

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.

RangerMauve commented 3 years ago

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.

technobaboo commented 1 year ago

Currently working on this right now, any advice?

jdm commented 1 year ago

What kind of advice are you looking for?

technobaboo commented 1 year ago

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 https://github.com/servo/webxr/issues/192#issuecomment-1311051181, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCU4EDNQ5XQLYYMVP2YAYDWHWC2DANCNFSM4SRAIG3Q . You are receiving this because you commented.Message ID: @.***>

jdm commented 1 year ago

I think it generally requires the following:

technobaboo commented 1 year ago

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:

— Reply to this email directly, view it on GitHub https://github.com/servo/webxr/issues/192#issuecomment-1311191970, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCU4EEKES3MNSJ72PUFN6LWHW5W3ANCNFSM4SRAIG3Q . You are receiving this because you commented.Message ID: @.***>

svillar commented 5 months ago

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