Commit graph

6955 commits

Author SHA1 Message Date
dengkail c066774dca ipc: Add support for XR_FB_passthrough 2024-02-29 11:16:17 +08:00
dengkail 6c03327253 c/client: Implement XR_FB_passthrough APIs in client side 2024-02-29 11:15:59 +08:00
dengkail c57976c2af st/oxr: Add extension XR_FB_passthrough 2024-02-29 11:15:37 +08:00
Jarvis Huang 6876de1da6 doc: document !2151 2024-02-28 22:33:34 +08:00
Jarvis Huang 039ef1ed90 st/oxr: Getting vendor id/name from server 2024-02-28 22:25:45 +08:00
utzcoz 42047ef157 doc: Document !2148
Signed-off-by: utzcoz <utzcoz@outlook.com>
2024-02-26 14:32:25 +00:00
utzcoz a3085de032 ext/openxr: Bump OpenXR headers to 1.0.34
1. Download and unzip from
   https://github.com/KhronosGroup/OpenXR-SDK/releases/tag/release-1.0.34.
2. Copy all header files in include/openxr directory to
   src/external/openxr_includes/openxr.

Signed-off-by: utzcoz <utzcoz@outlook.com>
2024-02-26 14:32:25 +00:00
Korcan Hussein 55a681174e doc: document !458 2024-02-26 11:35:15 +00:00
Ryan Pavlik fe19760eaf st/oxr: Factor out more of action state updating, in a different way.
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2024-02-26 10:41:31 +00:00
Ryan Pavlik d73d5655f2 st/oxr: Use factored-out helpers to determine if action state has changed. 2024-02-21 10:38:49 -06:00
Ryan Pavlik 4d8622728f st/oxr: Add helper functions for action state. 2024-02-21 10:38:14 -06:00
Ryan Pavlik 4516ed9b22 st/oxr: More strictly verify xrSyncActions input in advance. 2024-02-21 10:38:14 -06:00
Ryan Pavlik f7e8a6f9f9 st/oxr: Use subaction_paths helper function 2024-02-21 10:38:14 -06:00
Ryan Pavlik 771808f589 st/oxr: Keep track of the union of each action set's action sub-action paths 2024-02-21 10:38:14 -06:00
Ryan Pavlik 2fbab42772 st/oxr: Add some oxr_subaction_paths helpers. 2024-02-21 10:38:14 -06:00
Rylie Pavlik 4ade7e8e55 misc: Update git blame ignore revs 2024-02-21 10:38:14 -06:00
BabbleBones 82f3264d88 doc: document !2147 2024-02-20 01:33:10 -05:00
BabbleBones 962c623df5 aux/debug_ui: raise gl version to 4.5 2024-02-20 01:20:39 -05:00
Korcan Hussein b1118a62ff doc: document !2146 2024-02-19 12:41:08 +00:00
Korcan Hussein f6dd897297 st/oxr: Fix uninitialized/invalid timestamps for action_caches 2024-02-19 12:32:25 +00:00
Simon Zeni 1daa7abc4c doc: document !2141 2024-02-18 23:47:46 +00:00
Simon Zeni e5c8dbd2aa cmake: add wayland include dirs to comp_main 2024-02-18 23:47:46 +00:00
sdegrande e884e038af doc: Document !2144 2024-02-15 16:15:22 +01:00
sdegrande 43da008cd5 t/slam: Only turn on the SLAM feature on Linux
Currently, the VIT loader uses calls to libdl, a Linux only library.
It could be adapted to Windows, but could not be easily tested until
the support of headsets on Windows.
Meanwhile, the SLAM feature is forced to be off.
2024-02-15 12:03:56 +01:00
Simon Zeni 0d046f0a6c doc: document !2143 2024-02-12 12:07:22 -05:00
Simon Zeni 99c938a1df t/common: fix valve index hand tracker crash when SLAM tracking is not enabled 2024-02-12 12:05:18 -05:00
Mateo de Mayo ed618ad979 doc: Document !2131
And fix codespell fixes in other changelog fragments
2024-02-09 19:26:51 +00:00
Mateo de Mayo 6b323209b2 t/vit: Return success from vit_get_proc
Closes #322
2024-02-09 19:26:51 +00:00
Mateo de Mayo d80a41f34f external/vit: Update to 1.0.1 and remove unused cpp helper 2024-02-09 19:26:51 +00:00
Mateo de Mayo a10644c873 d/wmr: Properly compute hand tracking boundary circle 2024-02-09 19:26:51 +00:00
Mateo de Mayo a9b85c99c6 d/vive: Use raw imu samples for slam 2024-02-09 19:26:51 +00:00
Mateo de Mayo 6afed4dc4a d/{rift_s,vive,ns}: Share hand bounding box with head tracker 2024-02-09 19:26:51 +00:00
Mateo de Mayo eadc592c04 t/slam: Push hand masks to tracker 2024-02-09 19:26:51 +00:00
Mateo de Mayo e79d2d395f h/mercury: Push hand rect masks to the SLAM tracker sinks 2024-02-09 19:26:51 +00:00
Mateo de Mayo 4cfe58a5e9 t/slam: Add hand_masks sink 2024-02-09 19:26:51 +00:00
Mateo de Mayo 717336fa88 t/slam: Print VIT error numbers 2024-02-09 19:26:51 +00:00
Mateo de Mayo db40cc2e73 t/slam: Make default of VIT_SYSTEM_LIBRARY_PATH consistent with other envvar defaults 2024-02-09 19:26:51 +00:00
Korcan Hussein 65531043cf doc: Document !2133 2024-02-08 15:52:37 +00:00
Korcan Hussein d9ef028df9 a/util,st/oxr: Fixes crash bug with XR_EXT_dpad_binding
Crash occurs after multiple session runs with clients using
`XR_EXT_dpad_binding`, this is was caused be not full deep cloning of
interaction profiles with dpad_state
2024-02-08 15:52:37 +00:00
Korcan Hussein cfa545b43c st/oxr: Fixes getting current interaction profile paths
oxr_session's active profile paths where not being cleared on attachments/
updates, causing calls to `xrGetCurrentInteractionPath` to return valid
paths of particular hand that where previously bound and became unbound.
2024-02-08 15:52:37 +00:00
Korcan Hussein a40599d315 a/math: Fix const-correctness in m_relation_history 2024-02-08 15:52:37 +00:00
Korcan Hussein 59b8d3a955 st/oxr: Separate out dynamic roles and associated profiles
Separates the role xdev indices and associated interaction
profile (names) from dynamic roles so that interaction profiles
can be method active and have action (set) attachements updated
without bindings and no requirement for an xrt-device for
a particular hand.

E.g. driver can make left & right with a paritcular profile (name) and
have either both not have an xrt-device ready/unassigned but OpenXR apps
can still sync/query actions states on the not read/unassigned hands,
this also fixes CTS action tests when the hand is constrained to certain
hand, in particular the right hand.

Co-authored-by: Robbie Bridgewater <ebridgewater@magicleap.com>
2024-02-08 15:52:37 +00:00
Korcan Hussein 36d5d4224c st/oxr: reset any_pose_subaction_path before update 2024-02-08 15:52:37 +00:00
Robbie Bridgewater fd9795b4de ipc/server: Allow skipping epoll of stdin via env variable 2024-02-08 15:52:37 +00:00
Christoph Haag 2f5da783cc ipc: forward result of xrWaitSwapchainImage
Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
2024-02-08 15:52:37 +00:00
Julian Petrov 2f3a6e13bc ipc: Set timeBeginPeriod(1) globally on Windows
Monado upstream sets timeBeginPeriod(1) on calls to sleep, we
have seen that it helps with things inside of the NVIDIA driver.
2024-02-08 15:52:37 +00:00
Rylie Pavlik 88e221c8a6 doc: Document !2135 2024-02-07 13:36:38 -06:00
Rylie Pavlik 46c443baa0 a/math: Clarify comments in relation history 2024-02-07 13:36:38 -06:00
Rylie Pavlik 328b9c7c5d c/null: Simplify and improve 2024-02-07 13:36:38 -06:00
Rylie Pavlik 33000bbd2c d/simulated: Use more generic variable names 2024-02-07 13:36:38 -06:00