Commit graph

5985 commits

Author SHA1 Message Date
Jakob Bornecrantz b6cec9b94a doc: Document !1907 2023-07-18 11:47:09 +01:00
Jakob Bornecrantz bb1aa17626 xrt: Trailing comma on all enums [NFC]
Makes changes adding new entires have less lines changed.
2023-07-18 11:45:08 +01:00
Jakob Bornecrantz ab965deb65 a/android: Reflow code for prettier layout [NFC] 2023-07-18 11:45:08 +01:00
Jakob Bornecrantz 9a17faa59d a/android: Add warning when not getting refresh rate and returning 60hz [NFC] 2023-07-18 11:45:04 +01:00
Jakob Bornecrantz 416f031329 doc: Document !1904 2023-07-17 10:57:05 +01:00
quic_zhozhan 6aea10f57b st/oxr: Add XR_OPPO_controller_interaction extension 2023-07-17 10:53:32 +01:00
quic_zhozhan 191e7d6269 xrt: Add OPPO MR controller 2023-07-17 14:13:00 +08:00
Jakob Bornecrantz e0a54c98ae doc: Document !1902 2023-07-14 14:13:34 +01:00
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 cd7e921a03 u/var: Expose root object raw name 2023-07-14 13:54:03 +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
Jakob Bornecrantz 7ef4007196 u/var: Improve doc comments [NFC] 2023-07-13 23:31:51 +01:00
Jakob Bornecrantz 04298976da u/var: Rename suffix_with_number argument [NFC]
Clearer, and frees up the number name inside of the function.
2023-07-13 23:31:51 +01:00
Jakob Bornecrantz 6208a8f1a5 c/main: Set sequence to be the frame id on mirror window 2023-07-13 23:31:51 +01:00
Korcan Hussein 9ad98815bb doc: Document !1901 2023-07-12 16:19:07 +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
Jakob Bornecrantz eaa7017217 doc: Document !1900 2023-07-11 16:33:56 +01:00
Jakob Bornecrantz f65ea4e6b1 ext/openxr: Update headers to 1.0.28 2023-07-11 16:31:51 +01:00
utzcoz 4c12589aeb Document !1899
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-07-08 11:47:25 +08: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
Jakob Bornecrantz 75814f01b2 doc: Document !1898 2023-07-05 19:23:07 +01:00
Gabriele Musco 1c415d9e9b u/logging: Add json logging behind XRT_JSON_LOG env var 2023-07-05 19:21:21 +01:00
Korcan Hussein b694ca2d31 doc: Document !1896 2023-07-04 13:31:32 +00: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 258357489c xrt: Add XRT_INPUT_GENERIC_PALM_POSE for XR_EXT_palm_pose 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 9cb2671f51 doc: Document !1889 2023-07-04 12:25:33 +00:00
Jakob Bornecrantz 1624ae3278 doc: Document !1785 2023-07-04 12:25:33 +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
Jakob Bornecrantz bd4b93968a doc: Document !1874 2023-07-03 18:53:01 +00:00
Jarvis Huang a8df7dcb54 u/debug: Use system property on Android for debug settings
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2023-07-03 18:53:01 +00:00
Jakob Bornecrantz 2f3f533082 u/debug: Use getenv_s on Windows for debug settings 2023-07-03 18:53:01 +00:00
Jakob Bornecrantz 9a8d80c14d u/debug: Do not save pointer returned from getenv 2023-07-03 18:53:01 +00:00
Jakob Bornecrantz 8c8356840a u/debug: Tidy file and export more converters 2023-07-03 18:53:01 +00:00
Jakob Bornecrantz 35e1346290 doc: Document !1893 2023-07-01 18:09:29 +01:00
Jakob Bornecrantz 8a303927b7 t/hand: Add env variables to control prediction 2023-07-01 16:40:35 +01:00
Jakob Bornecrantz 0a679fe3fd t/hand: Remove stale comment 2023-07-01 16:40:35 +01:00
Jakob Bornecrantz c78cc7f0ae t/hand: Tidy async file 2023-07-01 16:40:35 +01:00
Jakob Bornecrantz ca3631875c t/hand: Make all internal functions static 2023-07-01 16:40:35 +01:00
Jakob Bornecrantz c00ea720ff t/hand: Rename new user hand estimation switch 2023-07-01 16:40:35 +01:00
Jakob Bornecrantz 6bff970bcd tracking: Remove unused destroy function 2023-07-01 16:40:35 +01:00
Jakob Bornecrantz c6dda533d4 c/main: Add NorthStar to listed displays 2023-07-01 16:40:35 +01:00
Jakob Bornecrantz e8e9b99db4 c/main: Only wait on the main queue when drawing the frame
Do not wait on the full GPU.
2023-07-01 16:40:35 +01:00