Commit graph

5646 commits

Author SHA1 Message Date
Simon Zeni 0cb96a1643 aux/tracking: remove MatFrame class from t_tracker_slam 2024-01-17 15:15:03 -05:00
Simon Zeni 1264f385b0 external: remove old slam_tracker interface 2024-01-17 15:15:03 -05:00
Simon Zeni b14612e48a d/*: pose correction for VIT system 2024-01-17 15:15:03 -05:00
Simon Zeni 170d38978e cmake: remove XRT_HAVE_BASALT & XRT_HAVE_KIMERA 2024-01-17 15:15:03 -05:00
Simon Zeni 2f9d3b2e47 aux/tracking: use VIT interface in slam tracker 2024-01-17 15:15:03 -05:00
Simon Zeni 66027fc989 aux/tracking: introduce VIT loader 2024-01-17 15:15:03 -05:00
Bailey Morgan 20cb556f6d cmake: Remove unused ffmpeg dependency 2024-01-16 16:43:35 -05:00
Jakob Bornecrantz 57e9373839 c/main: Refactor how surface formats are handled 2024-01-16 11:43:41 -05:00
Jakob Bornecrantz a6e9893f99 c/main: Refactor arguments to comp_target::create_images 2024-01-16 11:43:41 -05:00
Christoph Haag a0f3fa2c4f d/remote,steamvr_lh,survive_driver: Add stage_supported implementation 2024-01-16 03:11:42 +01:00
Christoph Haag 05db9e9b99 u/space_overseer: Create STAGE as pose space when stage_supported on head 2024-01-16 03:10:35 +01:00
Christoph Haag 22314ca14b xrt: Add stage_supported to xrt_device 2024-01-16 03:10:35 +01:00
Sefa Eyeoglu 0df6f9606b
xrt: prevent systemd from starting Monado quickly
If an OpenXR client starts Monado using socket activation, but Monado
crashes during its startup, systemd will try to start the service for
each subsequent IPC message, which causes both units to enter a failed
state.

By enabling
[`FlushPending`](https://www.freedesktop.org/software/systemd/man/latest/systemd.socket.html#FlushPending=),
systemd will flush pending messages and close the connection to the IPC
client, preventing restarts in quick succession.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-01-12 11:39:31 +01:00
Christoph Haag ceae41a7bd d/steamvr_lh: Add vive and index bindings 2024-01-10 13:55:20 +01:00
Christoph Haag bdb390b497 d/steamvr_lh: Choose the first tracking universe that is found
lighthousedb.json may contain many more tracking universes than are
actually configured in chaperone_info.vrchap.
2024-01-10 12:50:49 +01:00
Jakob Bornecrantz 4156ea07a5 st/gui: Add infinitely fast trigger finger in remote UI
Makes it easier to pass interactive action CTS test.
2024-01-08 18:56:58 +00:00
Jakob Bornecrantz cb1b20871f c/main: Let sub-classed targets override compositor extents 2024-01-08 16:59:51 +00:00
Jakob Bornecrantz 141046585d c/main: Don't use list of display if we fail to allocate it 2024-01-08 16:59:51 +00:00
Jakob Bornecrantz 4a2eebdc69 c/main: Tidy target code [NFC] 2024-01-08 16:59:51 +00:00
Jakob Bornecrantz 2dfb2986fc st/oxr: Switch to use new loader header 2024-01-07 18:00:11 +00:00
Jakob Bornecrantz 80d733c869 d/vive: Document conversion value 2024-01-06 14:07:49 +00:00
Christoph Haag ea65f00198 d/vive: Refactor how acceleration and gyro is scaled and biased
Results are the same.
2024-01-06 14:07:49 +00:00
Christoph Haag 638666100d d/vive: Use double for imu ranges 2024-01-06 13:42:25 +00:00
Christoph Haag 0f34fea864 d/vive: Clarify variant from config comment 2024-01-06 13:42:25 +00:00
Christoph Haag 721897f59d d/vive: Remove old print 2024-01-06 12:21:02 +00:00
rcelyte 4e1a3e1afa d/steamvr_lh: Simplify coordinate space conversion
This is mathematically equivalent, but should be easier to reason about.
2024-01-05 00:44:06 +00:00
meng.jiao 7e22fa5744 u/frame_times_widget: Optimize FPS calculation
Do so using precomputed frame timings.
2024-01-04 23:54:09 +00:00
Christoph Haag 18d863c179 d/wmr: Add WMR_[LEFT|RIGHT]_DISPLAY_VIEW_Y_OFFSET env variables 2024-01-04 23:37:26 +00:00
huanchen 774b3d23a5 st/oxr: Implement XR_EXT_performance_settings 2024-01-04 23:03:20 +00:00
huanchen 1f658ba2be ipc: Implement performance settings interface
Used to implement XR_EXT_performance_settings.
2024-01-04 23:03:20 +00:00
huanchen 3d5c16fdba xrt: Add performance settings interface
Used to implement XR_EXT_performance_settings.
2024-01-04 23:03:13 +00:00
Jakob Bornecrantz 63f7e3c84f st/oxr: Up max bindings per action
The CTS has more then 16. The limit is just during binding, not actually after.
2024-01-04 21:24:41 +00:00
Jakob Bornecrantz ef6e07508a st/oxr: Change num to binding_count [NFC] 2024-01-04 21:21:28 +00:00
Jakob Bornecrantz 0f9147c6de st/oxr: Do not crash on too many bindings to an action 2024-01-04 21:19:59 +00:00
Jakob Bornecrantz 03457a8c40 u/pacing: Do live stats tracking in fake pacer 2024-01-04 19:54:05 +00:00
Jakob Bornecrantz f1c8843b7d u/pacing: Keep track of frame times in fake pacer 2024-01-04 19:54:05 +00:00
Jakob Bornecrantz 479973e68f u/pacing: Split submit timing into begin and end 2024-01-04 19:54:05 +00:00
Jakob Bornecrantz abe783d2a4 c/main: Split submit timing into begin and end 2024-01-04 19:51:30 +00:00
Jakob Bornecrantz 40534011e8 u/live_stats: Add helper to do live statistics on nano-seconds durations 2024-01-04 19:49:32 +00:00
Jan Schmidt 3d534bcc1d a/math: Refactor m_clock_offset_a2b
Avoid limited precision float operations on large 64-bit
integers. The clock averaging was basically not working
once the clock values got large
2024-01-04 16:32:15 +00:00
Jakob Bornecrantz 03c8a1a14e c/main: Use new debuggable scratch images 2024-01-04 16:23:28 +00:00
Jakob Bornecrantz e7d8cc0310 c/util: Add scratch buffer helpers 2024-01-04 16:23:28 +00:00
Jakob Bornecrantz 45a9ef295a c/render: Tweak alpha blending 2024-01-04 16:23:28 +00:00
Jakob Bornecrantz 1de99e4ce7 st/gui: Integrate new preview views into end-user UI 2024-01-04 16:23:28 +00:00
Jakob Bornecrantz dbd8a5b323 st/gui: Integrate gui_widget_native_images into debug gui 2024-01-04 16:23:28 +00:00
Jakob Bornecrantz f586a5ae6a st/gui: Add gui_widget_native_images 2024-01-04 16:23:28 +00:00
Jakob Bornecrantz 92f5b0c1a6 u/var: Add u_native_images_debug 2024-01-04 16:04:40 +00:00
Jakob Bornecrantz 3e76d43c30 u/native_images_debug: Add helper struct to debug xrt_image_native content 2024-01-04 16:04:40 +00:00
Jakob Bornecrantz b743efe0bb a/vk: Return flag for XRT_SWAPCHAIN_USAGE_UNORDERED_ACCESS 2024-01-04 16:04:40 +00:00
Jakob Bornecrantz dbd6504beb c/main: Improve swapchain creation 2024-01-04 15:49:55 +00:00