Skip to content

Support creating OpenXRSessionHandles in Python#81

Merged
hougantc-nvda merged 1 commit intomainfrom
hougantc/construct-python-sessionhandles
Feb 3, 2026
Merged

Support creating OpenXRSessionHandles in Python#81
hougantc-nvda merged 1 commit intomainfrom
hougantc/construct-python-sessionhandles

Conversation

@hougantc-nvda
Copy link
Contributor

Support creating OpenXRSessionHandles in Python.
Also, add querying of proc_addr from handles in Python.

@aristarkhovNV
Copy link
Collaborator

What is the use case?

@jiwenc-nv
Copy link
Collaborator

What is the use case?

That's for the OpenXR session sharing with Kit

@nvddr I thought we had this already, but probably only in a private branch that I had...

@aristarkhovNV
Copy link
Collaborator

What is the use case?

That's for the OpenXR session sharing with Kit

@nvddr I thought we had this already, but probably only in a private branch that I had...

Looks like a hack honestly. But if Kit operates raw handles in python this way I suppose we don't have a better choice?

@hougantc-nvda
Copy link
Contributor Author

What is the use case?

That's for the OpenXR session sharing with Kit
@nvddr I thought we had this already, but probably only in a private branch that I had...

Looks like a hack honestly. But if Kit operates raw handles in python this way I suppose we don't have a better choice?

This would be the case where you want to do session sharing and pass the handle to deviceio in python. IsaacLab has much of it's code in python so that is how we would operate on deviceio

@nvddr
Copy link
Contributor

nvddr commented Feb 3, 2026

What is the use case?

That's for the OpenXR session sharing with Kit

@nvddr I thought we had this already, but probably only in a private branch that I had...

I don't think we had a way to take raw ints and create openxr session handles, likely an oversight. We had ways to get the "openxrsessionhandles" from c++ code directly, and share it with another session we create, but not from a "true" external session that just gave raw handles.

@jiwenc-nv
Copy link
Collaborator

Indeed an oversight. I had it a a PR from 3 months ago, never checked it in...

@hougantc-nvda hougantc-nvda merged commit 997ac60 into main Feb 3, 2026
5 of 7 checks passed
@hougantc-nvda hougantc-nvda deleted the hougantc/construct-python-sessionhandles branch February 3, 2026 15:29
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.

4 participants