-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
[WIP] Add openXR support #291
base: Multiloader-1.20.4
Are you sure you want to change the base?
Conversation
Add first attempt OpenXR support TODO - Test on all different OpenXR platforms - Figure out key binding system - Verify all functionality Co-authored-by: The Judge <[email protected]> Co-authored-by: fayer3 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OpenXR Conformance issues,
common/src/main/java/org/vivecraft/client_vr/provider/openxr/MCOpenXR.java
Outdated
Show resolved
Hide resolved
|
||
session = new XrSession(sessionPtr.get(0), instance); | ||
|
||
XrSessionBeginInfo sessionBeginInfo = XrSessionBeginInfo.calloc(stack); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results in XR_ERROR_SESSION_NOT_READY as you did not wait for the runtime signal.
|
||
error = XR10.xrBeginSession(session, sessionBeginInfo); | ||
logError(error, "xrBeginSession", ""); | ||
this.isActive = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this to after line 698.
Co-authored-by: ferriarnus <[email protected]> Co-authored-by: The Judge <[email protected]>
* Fix Conformance Issues Co-Authored-By: ferriarnus <[email protected]> Co-Authored-By: The Judge <[email protected]> * Create DeviceCompat for QuestCraft Co-Authored-By: The Judge <[email protected]> * fix lwjgl openxr version * Use Custom OpenXR Library * Switch to OpenXR 1.0.40 * Log Device Platform * Remove Discord from repo list --------- Co-authored-by: ferriarnus <[email protected]> Co-authored-by: The Judge <[email protected]> Co-authored-by: fayer3 <[email protected]>
Add OpenXR support
TODO