Commit graph

5512 commits

Author SHA1 Message Date
Jakob Bornecrantz 33498dc6b2 st/oxr: Make misc extensions a build time option 2023-11-15 13:16:50 +00:00
Jakob Bornecrantz b7299ead15 st/oxr: Make interaction profiles a build time option 2023-11-15 13:16:50 +00:00
Jakob Bornecrantz 179c10c399 st/oxr: Properly guard misc extensions with ifdefs 2023-11-15 13:16:50 +00:00
Jakob Bornecrantz 60df8b60ba st/oxr: Properly guard interaction extensions access with ifdefs 2023-11-15 13:16:50 +00:00
Jakob Bornecrantz d71082b5e1 st/oxr: Properly check all extension interaction profiles 2023-11-15 13:16:50 +00:00
Simon Zeni 818e519f50 xrt: make get_visibility_mask return xrt_return_t 2023-11-15 12:51:04 +00:00
Christoph Haag 7cd151484e st/oxr: Add forgotten newline to quirks output [NFC] 2023-11-15 12:38:59 +00:00
Jakob Bornecrantz 6e8a40112b st/oxr: Handle view index for visibility mask 2023-11-15 12:03:06 +00:00
Jakob Bornecrantz 9a09d7956d xrt: Add view_index to visibility mask getter
And add helper caller function.
2023-11-15 12:02:08 +00:00
Jakob Bornecrantz 6123deaa75 u/mask: Scale output to FoV of the view 2023-11-15 12:02:08 +00:00
Jakob Bornecrantz 0064d16f47 u/mask: Tidy function 2023-11-15 12:02:08 +00:00
Jakob Bornecrantz 8bdc2f1edf ipc: Fix visibility mask leak 2023-11-15 12:02:08 +00:00
Zhongwang Zhang bb6e8eb9f8 st/oxr: Handle the XR_SESSION_NOT_FOCUSED case for XRInput 2023-11-15 11:47:32 +00:00
Jakob Bornecrantz 88cf637e95 ipc: Check return of ipc_call_space_create_semantic_ids 2023-11-14 20:27:15 +00:00
Jakob Bornecrantz 7c96a23325 ipc: Tidy ipc_generated_protocol.h generator function 2023-11-14 19:38:05 +00:00
Jakob Bornecrantz 195d45d960 ipc: Protect ipc_generated_protocol.h with cpp header guard 2023-11-14 19:24:13 +00:00
Simon Zeni 96be7675ed st/oxr: Implement XR_KHR_visibility_mask 2023-11-14 17:02:24 +00:00
Simon Zeni c1ce722d6d st/oxr: Add view index verify helper 2023-11-14 17:02:24 +00:00
Simon Zeni 5656f86c47 ipc: Add get_visibility_mask 2023-11-14 17:02:24 +00:00
Simon Zeni 1ec26ded40 u/mask: Introduce u_visibility_mask 2023-11-14 17:02:24 +00:00
Jakob Bornecrantz 69afb62742 xrt: Add visibility mask interface 2023-11-14 10:49:46 -05:00
Jakob Bornecrantz 2d79fb1a3f st/oxr: Enable XR_MSFT_unbounded_reference_space 2023-11-14 12:51:28 +00:00
Jakob Bornecrantz 72a68cf54b st/oxr: Enable XR_EXT_local_floor 2023-11-14 12:51:28 +00:00
Jakob Bornecrantz 0c2f1e83e0 st/oxr: Expose unbounded if extension enabled and space is supported 2023-11-14 12:51:28 +00:00
Jakob Bornecrantz c2c74b8b85 st/oxr: Expose local_floor if extension enabled and space is supported 2023-11-14 12:51:28 +00:00
Jakob Bornecrantz 2fbe588f66 st/oxr: Validate XrReferenceSpaceType in common code
Also deal with the different types of error code returns that the CTS expects.
2023-11-14 12:51:28 +00:00
Jakob Bornecrantz 6cb275803c st/oxr: Make reference space type support per system
Let's systems support different sets of references spaces.
2023-11-14 12:51:28 +00:00
Jakob Bornecrantz 1b80d7182e ipc: Add support for local_floor 2023-11-14 12:43:58 +00:00
Jakob Bornecrantz f11c1fa699 u/space: Add support for local_floor 2023-11-14 12:43:58 +00:00
Jakob Bornecrantz c5b800b324 d/remote: Add support for local_floor 2023-11-14 12:43:58 +00:00
Jakob Bornecrantz 050db98b7d xrt: Add local_floor to xrt_space_overseer
Used to implement XR_EXT_local_floor.
2023-11-14 12:43:58 +00:00
Jakob Bornecrantz 83b77285bd ipc: Use check helpers in other client code as well 2023-11-14 01:20:51 +00:00
Jakob Bornecrantz bfaf615d4f ipc: Replace IPC_CHK_CALL macro with other helper 2023-11-14 01:20:51 +00:00
Jakob Bornecrantz 8d61577081 ipc: Add xrt check return helpers 2023-11-14 01:20:51 +00:00
Jakob Bornecrantz 440b1f2660 ipc: Add ipc_print_result helper 2023-11-14 01:20:51 +00:00
Jakob Bornecrantz 3de7bab023 c/util: Fix synchronisation errors with scratch images on gfx path 2023-11-13 23:09:43 +00:00
Christoph Haag 7efd580a70 st/oxr: CTS fix: return XR_SUCCESS for no action sets synced 2023-11-13 17:11:57 +00:00
Weijie Wang 86c3e217cc c/main,a/android,external: Add argument to specify display mode id for surface creation 2023-11-13 16:09:11 +00:00
Jakob Bornecrantz 4a8400538c ipc: Use message channel's log_level in client 2023-11-13 12:47:12 +00:00
Jakob Bornecrantz 2d7041c797 ipc: Move ipc_message_channel functions to own files
What actually happened:

  copy src/xrt/ipc/shared/{ipc_utils.h => ipc_message_channel.h} (95%)
  rename src/xrt/ipc/shared/{ipc_utils_unix.c => ipc_message_channel_unix.c} (99%)
  rename src/xrt/ipc/shared/{ipc_utils_windows.cpp => ipc_message_channel_windows.cpp} (99%)
  rewrite src/xrt/ipc/shared/ipc_utils.h (94%)
2023-11-13 12:47:12 +00:00
Jakob Bornecrantz 850e57a002 ipc: Move non-channel functions to utils [NFC] 2023-11-13 12:47:12 +00:00
Jakob Bornecrantz 5dfdab9e80 ipc: Split UNIX and Windows utils implementations more 2023-11-13 12:47:12 +00:00
Jakob Bornecrantz 5e92df460d ipc: Tidy Windows utils file [NFC] 2023-11-13 12:47:12 +00:00
Jakob Bornecrantz f0c2167fb8 ipc: Tidy UNIX utils files [NFC] 2023-11-13 12:47:12 +00:00
Jakob Bornecrantz a339d7adf4 ipc: Remove unused function [NFC] 2023-11-13 12:47:12 +00:00
Michael Graham 255b62e892 d/wmr: Add Dell Visor support to WMR driver 2023-11-13 11:56:13 +00:00
Jakob Bornecrantz cec787ba0f ipc: Add variable number of views get function 2023-11-09 18:37:47 +00:00
Jakob Bornecrantz 7251417569 ipc: Add functions to lock/unlock the client connection 2023-11-09 17:56:27 +00:00
Jakob Bornecrantz e576424995 ipc: Add ability to do variable length calls 2023-11-09 17:56:27 +00:00
Jakob Bornecrantz 6d990ba480 ipc: Refactor proto generation a little bit 2023-11-09 17:49:35 +00:00