Jakob Bornecrantz
201c81813d
st/gui: Add helper to draw sink to background
2023-07-14 13:54:06 +01:00
Jakob Bornecrantz
a8dd070951
st/gui: Add code to draw gui_window_record to background
2023-07-14 13:54:06 +01:00
Jakob Bornecrantz
c3b741d4fd
st/gui: Refactor debug_record creation into helper
2023-07-14 13:54:06 +01:00
Jakob Bornecrantz
d38fb165ce
st/gui: Refactor out more multi-line gui elements
2023-07-14 13:54:06 +01:00
Jakob Bornecrantz
32b878e196
st/gui: Refactor and tidy helper functions
2023-07-14 13:54:06 +01:00
Jakob Bornecrantz
ea13c373c5
st/gui: Reshuffle and document debug gui struct
2023-07-14 13:54:06 +01:00
Jakob Bornecrantz
ff9f68bc96
st/gui: Remove unused priv_tuple struct
2023-07-14 13:54:06 +01:00
Jakob Bornecrantz
ea77386887
u/var: Use a struct to carry information in root object callbacks
2023-07-14 13:53:36 +01:00
Korcan Hussein
b6b5610c05
xrt|ipc|st/oxr: Adds support for XR_EXT_hand_interaction
profile.
2023-07-12 14:14:08 +01:00
utzcoz
25d9437924
st/oxr: Remove non-reachable return for oxr_xrPathToString
...
The OXR_TWO_CALL_HELPER returns whenever succeed or failed.
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-07-08 11:42:57 +08:00
Korcan Hussein
0b410a7119
a/bindings: Interaction profile inheritance
...
A requirement of interaction profile (extensions) specify that some/all
actions must be supported by all other profiles. This commit
modifies the binding generation to support data-inheritance in bindings.json:
* Adds support for profiles in bindings.json to inherit & override other profiles
* Adds a new concept of virtual profiles for profile like extensions
(e.g. `XR_EXT_palm_pose`) which do not define a profile themselves but
require their newly defined actions to be supported by all profiles.
* Generates verify bindings functions which only check extensions actions
only if the extension is enabled.
2023-07-04 13:31:32 +00:00
Korcan Hussein
18e367300c
st/oxr: Add disabled XR_MSFT_hand_intertaction
...
The binding code has support for this extenstion, but the bindings are not
used in any of the drivers so totally untested and would lead to the wrong
expectations of the applications.
2023-07-04 13:31:32 +00:00
Korcan Hussein
ba6c35e605
st/oxr: Add disabled XR_EXT_palm_pose
...
Disabled because no driver implements the needed pose.
2023-07-04 13:31:32 +00:00
Jakob Bornecrantz
bf0015b8ab
st/oxr: Send logging to OutputDebugStringA even if we aren't printing to stderr
...
This was intended all along, it's worse on Windows since we
don't by default print to stderr, so we never printed there.
2023-07-04 12:25:33 +00:00
Korcan Hussein
2aed9184e6
st/oxr: Add disabled XR_HTCX_vive_tracker defines
...
Useful for various compiletime checks.
2023-06-29 00:50:26 +01:00
Korcan Hussein
a8c5be8f5c
st/oxr: Fix up Monado experimental extensions
2023-06-29 00:32:01 +01:00
Korcan Hussein
8865baafee
xrt: Plumbs enabled ext state for XR_EXT_eye_gaze_interaction
2023-06-29 00:31:58 +01:00
Christoph Haag
e61adde115
st/oxr: Check argument validity in time conversion function
...
Affected OpenXR functions: xrConvertWin32PerformanceCounterToTime
2023-06-22 20:12:08 +01:00
Jakob Bornecrantz
e466551db0
st/oxr: Use common helper versions of truncating Xprintf
2023-06-21 22:05:14 +00:00
utzcoz
0224e97532
st/oxr: Fix simple typo for comments [NFC]
...
grahpics->graphics
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-06-17 12:51:33 +01:00
Ryan Pavlik
3f644f9f88
st/oxr: clang-tidy fixes
2023-06-17 11:46:14 +01:00
Ryan Pavlik
a97b9a5990
st/oxr: Less obvious warning fixes
...
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2023-06-17 11:46:01 +01:00
Ryan Pavlik
ae16cb4f13
st/oxr: Obvious warning fixes
2023-06-17 11:46:01 +01:00
Jakob Bornecrantz
6176db87e1
st/oxr: Add EXT_eye_gaze_interaction to generation script [NFC]
...
Missed this in 9f1cf952c6
/ !1836 , closes #269 .
2023-06-15 17:32:52 +01:00
BabbleBones
5787fd260f
xrt: Add XRT_DEVICE_VIVE_TRACKER_{GEN3,TUNDRA} defines
...
Tundra enumeration changes
2023-06-14 01:02:07 +00:00
Drew Chien (Te-Ju)
9f1cf952c6
st/oxr: Add eye gaze support
2023-06-13 01:37:50 +01:00
Drew Chien (Te-Ju)
96c88f488e
xrt: Add eye gaze defines and role
2023-06-13 01:31:11 +01:00
Andrei Aristarkhov
eace6e310d
c/util: prevent sporadic xrAcquireSwapchainImage failure under high GPU load
2023-06-08 17:01:12 +01:00
Robbie Bridgewater
c91928f39e
st/oxr: Use CMake-derived version constants for OpenXR runtime version
2023-06-07 15:22:32 -05:00
Korcan Hussein
17d8e010c8
xrt: App enabled extension state
...
Adds support for passing through which extensions an OpenXR client
has enabled to server for drivers/compositors to be able to query.
2023-05-25 23:20:38 +01:00
Jakob Bornecrantz
c19fbce8c3
st/gui: Make it possible to inhibit sinks gui headers
2023-05-19 20:43:06 +00:00
Jakob Bornecrantz
17b8a979e5
st/gui: Make debug sinks be opened by default
2023-05-19 20:43:06 +00:00
Jakob Bornecrantz
e21c3a7afe
st/gui: Add some tracing
2023-05-19 18:32:20 +01:00
Jakob Bornecrantz
66a9131dd9
st/oxr: Guard against xsysc being NULL
2023-05-18 12:22:57 +01:00
Jakob Bornecrantz
d79678aeec
st/oxr: Always create the system compositor
...
Some apps will enable headless and vulkan, then use Vulkan.
2023-05-18 12:22:57 +01:00
Ryan Pavlik
ae6b0ad445
st/p,t/common: Protect tracker-creation calls
2023-05-16 22:04:53 +00:00
Jakob Bornecrantz
5e19ae6a5b
st/oxr: Refactor wait frame function to avoid setting state before we should
...
We would leak frame_id and active_wait_frames increment that would cause bad
states where we hadn't fully waited but would allow xrBeginFrame to complete.
Also improve error handling so that on error conditions the semaphore is
properly decremented and the application can call xrWaitFrame again.
This was caused by unreal doing something like this:
* xrBeginFrame <-- Error
* xrWaitFrame
* xrBeginFrame
* xrEndFrame
* Called at the same time:
* xrWaitFrame
* xrBeginFrame <-- Would get state from non-completed xrWaitFrame
2023-05-03 16:18:10 +01:00
Jakob Bornecrantz
cb6201f297
st/oxr: Set extensions earlier
2023-05-01 14:03:41 +01:00
Jakob Bornecrantz
ce5669aabb
st/oxr: Handle LOCAL_FLOOR enums
2023-05-01 14:03:41 +01:00
Jakob Bornecrantz
05792ff150
st/oxr: Refactor OXR_NO_PRINTING env vars
2023-04-18 22:28:53 +01:00
Jakob Bornecrantz
fa0b3ad73c
st/oxr: Refactor logging functions and use OutputDebugStringA on Windows
...
The OXR logging functions are not called during normal opperation so it's okay
to always copy into a full buffer.
2023-04-18 22:28:53 +01:00
Jakob Bornecrantz
45fe1d6ed0
st/oxr: Refactor swapchains to use explicit transitions
2023-04-18 14:31:55 +01:00
Jakob Bornecrantz
6415480f1c
st/oxr: Tidy includes [NFC]
2023-04-18 14:21:10 +01:00
Jakob Bornecrantz
b49cd74114
st/oxr: Rename and document common swapchain creation function [NFC]
2023-04-18 14:21:10 +01:00
Jakob Bornecrantz
9055b9d2ec
st/oxr: Remove unneeded prefixes on functions [NFC]
2023-04-18 14:21:10 +01:00
Jakob Bornecrantz
52f790289d
st/oxr: Swapchain destroy was the same for all APIs
2023-04-18 14:21:10 +01:00
Jakob Bornecrantz
a56caf762e
st/oxr: Refactor swapchain functions a bit
2023-04-18 14:21:10 +01:00
Moshi Turner
ec59e97bda
st/gui: Use IMU in EuRoC recorder scene
2023-04-12 16:43:20 -05:00
Moshi Turner
c05c5d5c2e
st/gui: Add EuRoC recorder for DepthAI cameras
2023-04-12 12:19:13 +00:00
Moshi Turner
51ff80e802
st/gui: Lazily create debug sinks so that they can be created at any time
...
Useful for deferred-creation compositors, and for repositories submoduling Monado.
2023-04-11 19:50:41 -05:00