Commit graph

5677 commits

Author SHA1 Message Date
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
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
Jakob Bornecrantz 9a7056fafe a/vk: Add enumerators for two surface properties 2024-01-04 15:49:55 +00:00
Jakob Bornecrantz f7356d7d7b d/sample: Improve helper message in update_inputs [NFC] 2024-01-04 12:47:49 +00:00
Jakob Bornecrantz 9149352c55 d/all: Standardize use of get_view_poses helper 2024-01-04 12:47:49 +00:00
Jakob Bornecrantz 1254e5041c d/all: Use u_device_noop_update_inputs helper 2024-01-04 12:47:49 +00:00
Jakob Bornecrantz 45f1a2d230 u/device: Improve comment on u_device_get_view_poses 2024-01-04 12:47:49 +00:00
Jakob Bornecrantz 5d49486a8b u/device: Add default, no-op and not implemented function helpers 2024-01-04 12:47:49 +00:00
Jakob Bornecrantz c24bb53dbf xrt: Add XRT_ERROR_DEVICE_FUNCTION_NOT_IMPLEMENTED error 2024-01-04 12:47:49 +00:00
Jakob Bornecrantz e051549668 c/util: Refactor how arguments are given 2024-01-04 11:39:39 +00:00
Jakob Bornecrantz df69c9da50 c/main: Tidy and make dispatch code more uniform 2024-01-04 11:39:39 +00:00
Jakob Bornecrantz 83297c9ce5 c/main: Add enum to select FoV source 2024-01-04 11:39:35 +00:00
Niharika Challapalli 428c511924 u/space_overseer: Make it possible set root as unbounded 2024-01-03 20:43:15 +00:00
Niharika Challapalli 613d08ebbc xrt: Document using unbounded pose 2024-01-03 20:43:15 +00:00
Jakob Bornecrantz 18d21fab70 t/libmonado: Update Python example
* Use new device properties.
* Remove device ID it's deprecated because it's not stable.
2024-01-02 23:10:09 +00:00
Jakob Bornecrantz 00f68ea8c4 t/libmonado: Add property enum and getters for devices 2024-01-02 23:10:09 +00:00
Jakob Bornecrantz 1f60853d6e t/libmonado: Tidy mnd_root_get_device_from_role [NFC]
Tidy both documentation and code.
2024-01-02 23:10:09 +00:00
Jakob Bornecrantz a462afb767 c/render: Remove old code from removed layers 2024-01-02 22:35:29 +00:00
Niharika Challapalli 6588c345ae st/oxr: Fix typo 2024-01-02 22:00:00 +00:00
Niharika Challapalli fb01dce94a ipc: Fix typo 2024-01-02 21:57:14 +00:00
Jakob Bornecrantz 38b7f28205 d/simulated: Support reference space usage printing 2024-01-02 21:34:29 +00:00
Jakob Bornecrantz b30f41bd2d u/space_overseer: Notify the device about reference space usage 2024-01-02 21:34:29 +00:00
Jakob Bornecrantz b7e7aa5d4c xrt: Add xrt_device::ref_space_usage function 2024-01-02 21:34:29 +00:00
Jakob Bornecrantz 6a1788c941 a/vk: Pass create mutable format bit if usage flag is set 2024-01-02 21:31:23 +00:00
Jakob Bornecrantz d2f5103db7 a/vk: Improve format list handling
This fixes scope error on struct and combines the format list on Android.
2024-01-02 21:31:23 +00:00
Jakob Bornecrantz a6ec2c1aa8 a/vk: Helper function static [NFC] 2024-01-02 21:31:06 +00:00
Jakob Bornecrantz f644be460d ipc: Make service a little bit more chatty
Set default logging level to INFO.
2024-01-02 12:19:43 +00:00
Jakob Bornecrantz 94a619bf1b ipc: Print end-user information on Linux
Including how to gathering logs on Linux, and that the service has started.
2024-01-02 12:19:43 +00:00
Jakob Bornecrantz 774c3177c7 ipc: Log shutdown return code with IPC log level 2024-01-02 12:19:43 +00:00
Jakob Bornecrantz 7c5a04c7d0 ipc: Some comments [NFC] 2024-01-02 12:19:43 +00:00
Jakob Bornecrantz 34e9080b8c t/cli: Add info command for problem reporting 2024-01-02 12:18:06 +00:00
Jakob Bornecrantz 301a6e1720 xrt: Make it possible to control where dump goes 2024-01-02 12:18:06 +00:00
Jakob Bornecrantz 32ce9f342f xrt: Make it possible to get builders from prober 2024-01-02 12:18:06 +00:00
plyshka 2ac8587675 st/steamvr_drv: Fill HMD properties for games and apps to recognize it correctly 2023-12-31 18:30:37 +00:00
jialz e51ecede4f st/oxr: Add extension XR_FB_composition_layer_alpha_blend 2023-12-26 12:36:58 +00:00
Jakob Bornecrantz 6bdfb1556c st/oxr: Unify FB extension define names 2023-12-26 12:34:38 +00:00
Jakob Bornecrantz c123c10a05 st/oxr: Mix tidy [NFC] 2023-12-26 12:22:52 +00:00
AP\shuaxia 0a6e3dfd49 st/oxr: Add extension XR_FB_composition_layer_settings 2023-12-26 11:15:02 +00:00
Jakob Bornecrantz c6b14de7f8 ipc: Re-order process handle functions [NFC] 2023-12-25 10:46:38 +00:00
Jakob Bornecrantz fc356393c2 ipc: Re-order init functions [NFC] 2023-12-25 10:46:33 +00:00
Jakob Bornecrantz 6a21775761 ipc: Tidy debug gui init and error path 2023-12-23 16:30:28 +00:00
Jakob Bornecrantz d1d89cf8e5 ipc: Don't call teardown if mutex fails to be created 2023-12-23 16:26:59 +00:00
Jakob Bornecrantz 9e691de583 ipc: Pass in log_level to init function 2023-12-23 16:25:01 +00:00
Jakob Bornecrantz c7b63a9786 ipc: Use correct log define error message 2023-12-23 16:20:17 +00:00
Jakob Bornecrantz 019343f3fc ipc: Print more client info 2023-12-23 16:19:07 +00:00
Jakob Bornecrantz 37938dc3af ipc: Silence warning [NFC] 2023-12-23 16:04:30 +00:00
Jakob Bornecrantz b38aece060 u/pp: Add xrt_reference_space_type printing 2023-12-21 21:51:00 +00:00
Jakob Bornecrantz 6a4d8530a6 u/pp: Tidy and add more enums 2023-12-21 21:50:52 +00:00
Jakob Bornecrantz 5d31fa7fe1 xrt: Move xrt_reference_space_type to xrt_defines.h 2023-12-21 21:50:45 +00:00
quic_yaommo 0bf275da3f xrt: Set runtime descriptions from CMake 2023-12-21 12:33:26 +00:00
Rylie Pavlik cd384f1f01 a/util: Document lack of thread safety in the bare HistoryBuffer class 2023-12-20 10:44:13 +00:00
Rylie Pavlik 93a1d58820 a/math: Mention thread safety of m_relation_history 2023-12-20 10:44:13 +00:00
Hui Xu d113f83f53 st/oxr: Support XR_FB_composition_layer_image_layout 2023-12-20 10:38:31 +00:00
Rylie Pavlik 960e723394 xrt: Fix outdated name/email address 2023-12-18 14:29:02 -06:00
yuloliu 8919463008 a/vk: Use the defines to manually unref android buffers
The import does not consume them

Co-authored-by: Rylie Pavlik <rylie.pavlik@collabora.com>
2023-12-18 14:24:03 -06:00
Rylie Pavlik c763a1cb86 xrt: Add XRT_GRAPHICS_BUFFER_HANDLE_CONSUMED_BY_VULKAN_IMPORT and friends 2023-12-18 14:23:54 -06:00
Jakob Bornecrantz 699bdf1b11 u/pacing: Fix logic error for selecting min frame period 2023-12-18 10:26:11 +00:00
Jakob Bornecrantz edd77ede44 st/oxr: Missed changes from swapchain format list
These where missed in the swapchain format list changes.
2023-12-17 19:37:56 +00:00
Jakob Bornecrantz 02d0a22aea st/oxr: Use correct define to test for extension support 2023-12-15 23:28:19 +00:00
Weijie Wang fa85b5e98a st/oxr: Add extension XR_KHR_composition_layer_color_scale_bias 2023-12-15 23:11:53 +00:00
Shawn Wallace 24b13de593 d/qwerty: Fix input timestamps 2023-12-15 22:33:59 +00:00
Jakob Bornecrantz ba79c268b1 u/space_overseer: Use broadcast event sink for reference space changes
Generates xrt_session_event_reference_space_change_pending events.
2023-12-14 16:22:09 +00:00
Jakob Bornecrantz 9a22d029a4 u/builder: Pass in broadcast to legacy space overseer helper 2023-12-14 16:22:09 +00:00
Jakob Bornecrantz 223b212ba3 d/remote: Take broadcast event sink to create devices 2023-12-14 16:22:09 +00:00
Jakob Bornecrantz 6f60116fa9 t/sdl_test: Move system init earlier 2023-12-14 16:22:09 +00:00
Jakob Bornecrantz 7dd45db8ea st/oxr: Support XrEventDataReferenceSpaceChangePending events 2023-12-14 16:22:09 +00:00
Jakob Bornecrantz 21f7ce976e xrt: Pass down broadcast sink to prober and builder when creating system 2023-12-14 16:22:09 +00:00
Jakob Bornecrantz 7017e5ed2d xrt: Add reference space change pending event 2023-12-14 16:22:09 +00:00