Commit graph

6939 commits

Author SHA1 Message Date
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
utzcoz 7e7e011b1b doc: Document !2111
Signed-off-by: utzcoz <utzcoz@outlook.com>
2024-01-07 18:03:56 +00:00
Jakob Bornecrantz 2dfb2986fc st/oxr: Switch to use new loader header 2024-01-07 18:00:11 +00:00
utzcoz 98cb76a644 ext/openxr: Bump OpenXR headers to 1.0.33
1. Download and unzip from
   https://github.com/KhronosGroup/OpenXR-SDK/releases/tag/release-1.0.33.
2. Copy all header files in include directory to
   src/external/openxr_includes/openxr.

Signed-off-by: utzcoz <utzcoz@outlook.com>
2024-01-07 14:21:04 +00:00
Jakob Bornecrantz 0d662607e4 doc: Document !793 2024-01-06 14:07:49 +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
Jakob Bornecrantz d1498da63a doc: Document !2090 2024-01-05 00:46:59 +00:00
Jakob Bornecrantz f6c90ccf61 tests: Make sure we can make a double from a string 2024-01-05 00:44:43 +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 a91233cf56 doc: Document !2068 2024-01-04 23:54:09 +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
Jakob Bornecrantz ad6f7de04b doc: Document !1988 2024-01-04 23:39:43 +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
Jakob Bornecrantz 878d48a43e doc: Document !1936 2024-01-04 23:09:54 +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 921a373352 doc: Document !2109 2024-01-04 22:23:07 +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 170131bd2b doc: Document !2108 2024-01-04 20:09:21 +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
Jakob Bornecrantz cd2274b370 doc: Document !2106 2024-01-04 16:32:36 +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 a1f385eb0d doc: Document !2103 2024-01-04 16:23:28 +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 39c0b46eb2 doc: Document !2104 2024-01-04 15:49:55 +00:00
Jakob Bornecrantz dbd6504beb c/main: Improve swapchain creation 2024-01-04 15:49:55 +00:00
Jakob Bornecrantz b3dc8ca17e c/main: Use vk_enumerate_swapchain_images helper 2024-01-04 15:49:55 +00:00
Jakob Bornecrantz 07be73afbc a/vk: Tidy surface info function 2024-01-04 15:49:55 +00:00
Jakob Bornecrantz ca43f81322 a/vk: Add vk_enumerate_swapchain_images 2024-01-04 15:49:55 +00:00