Commit Graph
6721 Commits
Author SHA1 Message Date
Korcan Hussein 69ea033996 st/oxr: Fix hand joint location flags not cleared when inactive
Consolidate error/inactive paths in oxr_session_hand_joints() to
ensure joint location and velocity flags are always properly cleared
when hand-tracking is not active.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2653>
2025-12-02 13:26:48 +00:00
Beyley Cardellio d2704fab42 a/util,st/gui: Add RO_VEC2_F32 to u_var
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2649>
2025-12-02 12:46:57 +00:00
Beyley Cardellio c988ae68c0 a/math: Add default eye tracking parameters for one euro filter
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2649>
2025-12-02 12:46:57 +00:00
Beyley Cardellio 255e4abc06 xrt: Add little endian float types
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2649>
2025-12-02 12:46:57 +00:00
Beyley CardellioandKorcan Hussein 69c94b49eb a/util: Add eye and face tracking to the builder roles helper
Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2649>
2025-12-02 12:46:53 +00:00
Beyley CardellioandKorcan Hussein 5bd99503ef xrt,st/oxr: Implement face tracking device feature for FB and HTC extensions
Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2649>
2025-12-02 12:40:08 +00:00
Beyley CardellioandKorcan Hussein c19a92a86f st/oxr: Enable eye tracking feature when any eye gaze space is created
Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2649>
2025-12-02 12:39:11 +00:00
Torge Matthies c62c727de5 u/pacing: Correct calculation of gpu done time with immediate wait frame return.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2650>
2025-12-01 16:45:18 +00:00
Torge Matthies 147159178c u/pacing: Add option to align predicted display time to app period.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2650>
2025-12-01 16:45:18 +00:00
Torge Matthies 83359040f0 u/pacing: Correct calculation of predicted display time.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2650>
2025-12-01 16:45:17 +00:00
Torge Matthies 5f3d4495e9 u/pacing: Move calculation of display_period_ns out of calc_period.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2650>
2025-12-01 16:45:17 +00:00
Torge Matthies 91c34f6f68 u/pacing: Move handling of use_min_frame_period option to calc_period.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2650>
2025-12-01 16:45:17 +00:00
Torge Matthies 185ea45c1d u/pacing: Rename period_ns to app_period_ns.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2650>
2025-12-01 16:45:17 +00:00
Torge Matthies c28cb4d89b u/pacing: Rename base_period_ns to display_period_ns.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2650>
2025-12-01 16:45:17 +00:00
Torge Matthies 4c42fe53b4 u/pacing: Rename min_period to display_period.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2650>
2025-12-01 16:45:17 +00:00
Beyley Cardellio eb9e8bb85f ipc: Implement get_compositor_info
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2617>
2025-11-29 18:47:52 -08:00
Beyley Cardellio 56648de419 xrt + c/main: Add xrt_device function to get compositor info for a display mode
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2617>
2025-11-29 18:47:52 -08:00
Beyley Cardellio 49365a15af a/vive: Add function to get scanout information for a device variant
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2617>
2025-11-29 18:19:25 -08:00
Beyley Cardellio c597b209f9 a/math: Add macros for degree/radian conversion
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2648>
2025-11-28 22:33:49 -05:00
Korcan Hussein 49fb44026c st/oxr: codespell comment fix-up
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2646>
2025-11-28 22:10:13 +00:00
Christoph Haag 91dd8633db xrt: Send compositor state change timestamp with event
Currently unused.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2647>
2025-11-28 00:10:55 +00:00
Christoph Haag 2c18167f16 st/oxr: Set session state change event time
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2647>
2025-11-28 00:10:55 +00:00
Christoph Haag 1f6da6770f st/oxr: Turn compositor create macro into function
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2647>
2025-11-28 00:10:55 +00:00
galister c842075ede ipc: bump max clients to 32
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2644>
2025-11-27 10:12:58 +09:00
Andrew Sumsion 962a2863ab st/gui: Fixed winsock incompatibility in remote driver gui controls
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2642>
2025-11-26 11:39:50 -07:00
Korcan Hussein aec911a942 xrt: implements xrt/ipc plumbing for XR_ANDROID_face_tracking
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2605>
2025-11-26 14:32:32 +00:00
Korcan Hussein b47759c3db oxr/st: add oxr/state tracker stubs for XR_ANDROID_face_tracking
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2605>
2025-11-26 14:32:32 +00:00
Korcan Hussein 9bd59cf46b st/oxr: rename htc face tracking filenames
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2605>
2025-11-26 14:32:32 +00:00
Korcan Hussein ca54e5465a xrt: build plumbing for XR_ANDROID_face_tracking
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2605>
2025-11-26 14:32:29 +00:00
Jakob Bornecrantz 90217d6124 xrt: Add attachable device spaces
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2627>
2025-11-25 17:23:47 +00:00
Jakob Bornecrantz 1f16fdb63e xrt: Add add_device function to space overseer
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2627>
2025-11-25 17:22:32 +00:00
Jakob Bornecrantz 00e8419723 st/oxr: Improve input binding to better support asymetrical controller buttons
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2632>
2025-11-25 15:48:14 +00:00
Jakob Bornecrantz 5bde33f856 ipc: Split protocol json into separate files
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2635>
2025-11-25 15:36:48 +00:00
Jakob Bornecrantz 8ed36f9133 ipc: Always build the ipc-struct.txt file in the build root
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2635>
2025-11-25 15:36:48 +00:00
Korcan Hussein 24adc0e7dd xrt: fix not defined XRT_OS_ANDROID macros in xrt_limits.h
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2641>
2025-11-25 14:57:29 +00:00
Korcan Hussein 9e81ef207c xrt: use different values for XRT_MAX_LAYERS on Android
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2639>
2025-11-25 11:08:57 +00:00
Korcan Hussein 139e7b62c1 c/render: cap max layers to physical device limits
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2639>
2025-11-25 11:08:44 +00:00
Korcan Hussein 6c0c7268fb a/vk: expose more vk physical device limits
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2639>
2025-11-25 10:23:03 +00:00
Korcan Hussein cd362691b8 a/vk: move vulkan limits into dedicated vulkan anonymous-struct
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2639>
2025-11-25 10:23:01 +00:00
Korcan Hussein 9fba293963 c/render: fix semantically incorrect cs max image size calculation
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2639>
2025-11-25 10:20:55 +00:00
Jakob Bornecrantz 8fbc390762 drivers: Use the new helper to set functions
This adds the helper to some of the drivers,
but not all that can be done as a follow up.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2634>
2025-11-23 11:49:49 +00:00
Jakob Bornecrantz 95598839e5 ipc: Use the new helper to set device functions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2634>
2025-11-23 11:49:49 +00:00
Jakob Bornecrantz 9618af59a4 u/device: Add helper function to populate all functions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2634>
2025-11-23 11:49:49 +00:00
Jakob Bornecrantz 4afe286236 u/device: Break out not implemented functions into own file
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2634>
2025-11-23 11:49:49 +00:00
Beyley Cardellio 457a678181 a/math: Cleanup motion estimation API and gracefully handle zero dt
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2613>
2025-11-23 01:58:14 -05:00
Beyley Cardellio a5d8548984 ipc: Initialize debug GUI after system
If we initialize the debug GUI first, then it will attempt to access a NULL system and fail.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2638>
2025-11-21 10:50:58 +00:00
Jakob Bornecrantz e2180b93e7 ipc: Change order of fields to be more standard [NFC]
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2636>
2025-11-21 10:40:18 +00:00
Jakob Bornecrantz ef3f9d68e3 ipc: Remove device io_active flag
Nothing used this feature, so removing it.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2636>
2025-11-21 10:40:18 +00:00
Jakob Bornecrantz d886e0e57b ipc: Refactor xrt_hmd_parts handling
Now also handles there not being a head device.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2636>
2025-11-21 10:40:18 +00:00
Jakob Bornecrantz 57a269a1ac a/bindings: Remove xrt_[input|output]_name_string functions
These were buggy anyways as inputs and outputs not referred to by the
json wouldn't be listed, for instance all the PS Sense inputs. Replace
usage with u_str_xrt_input_name instead.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2633>
2025-11-21 10:29:39 +00:00