Commit graph

7406 commits

Author SHA1 Message Date
Fernando Velazquez Innella 44179cd190 st/gui: draw gui_widget_native_images with header, scale slider and rotation checkbox
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2303>
2024-09-10 13:24:58 +00:00
Christoph Haag 3eabdc7713 d/steamvr_lh: Fix crash on shutdown
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2324>
2024-09-09 01:22:30 +02:00
Christoph Haag 4bd1290c5e doc: Document !2312
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2312>
2024-09-06 19:40:00 +00:00
Christoph Haag d1f4099a3f st/oxr: Add view rotation difference to fov angles with parallel views
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2312>
2024-09-06 19:40:00 +00:00
Christoph Haag 71b5d37e7e a/math: Add math_quat_to_euler_angles
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2312>
2024-09-06 19:40:00 +00:00
Christoph Haag 7150279e2b st/oxr: Log all quirks
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2312>
2024-09-06 19:40:00 +00:00
Christoph Haag f672227153 st/oxr: Add OXR_PARALLEL_VIEWS debug var
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2312>
2024-09-06 19:40:00 +00:00
Rylie Pavlik 338d85543b c/util: Extract comp_layer_accum, formerly comp_layer_slot, and reduce coupling.
The "secret" the implementation is hiding is how calls and layers
turn into a single structure. Not a great secret but functionality
that is needed.

c/util: Use comp_layer_accum in comp_base and derived implmentations.

c/util: zero the other swapchains.

c/util: Inline two functions.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2317>
2024-09-06 19:22:21 +00:00
Simon Zeni 9f6f6c6df7 xrt/compositor: use int64_t for timestamps
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni f88705a307 aux/util: use int64_t for timestamps in u_pacing
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni 8cf2e4bd2b xrt: use int64_t for timestamps in get_body_joints
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni 68ca582362 xrt: use int64_t for timestamps in get_view_poses
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni ae7dca3107 aux/math: use int64_t for timestamps in m_relation_history
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni e298244516 xrt: use int64_t for timestamp in get_hand_tracking
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni d5ba6eec5b xrt: use int64_t for timestamp in get_tracked_pose
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni 8976e677b2 xrt/tracking: use int64_t to represent timestamps
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni d67ab7845f xrt/space: use int64_t to represent timestamps
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni af5cf402bf xrt: use int64_t to represent timestamps
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:48:14 -05:00
Simon Zeni bc131e651a aux/util: use int64_t to represent timestamps in u_time
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:47:57 -05:00
Simon Zeni 54fe2c0e4e aux/os: use int64_t to represent timestamps
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
2024-09-06 10:47:57 -05:00
Patrick Nicolas 825de0ec09 cmake: Fix building in dir with whitespace
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2319>
2024-09-06 10:18:51 -05:00
galister 6db9d570d8 t/libmonado: add tracking-related device properties
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2313>
2024-09-05 13:19:33 +00:00
Bones 235cc78e6a d/steamvr_lh: refactor driver
Co-authored-by: galister <galister@librevr.org>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2297>
2024-09-04 13:54:21 +00:00
Korcan Hussein 30d8e29ee1 gradle: make debug apk builds debuggable
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2320>
2024-08-29 15:02:40 +01:00
Simon Zeni 738acfbcf7 st/oxr: add more checks around xrBeginSession and xrEndSession
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2162>
2024-08-28 16:00:13 -05:00
Rylie Pavlik 511efda748 scripts: pytest-based Android device testing
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2311>
2024-08-23 15:05:07 +00:00
Rylie Pavlik f30e5265f9 a/vk: Fix validation error on Android
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
2024-08-23 14:04:37 +00:00
Rylie Pavlik 58369ec1fa st/oxr: Use extension-decorated name for Vulkan functions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
2024-08-23 14:04:37 +00:00
Rylie Pavlik 9bd2f7c201 st/oxr: Require dependency Android Vulkan extensions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
2024-08-23 14:04:37 +00:00
Rylie Pavlik 2170409faf c/main: Require dependency Android Vulkan extensions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
2024-08-23 14:04:37 +00:00
Rylie Pavlik 2265984cb1 t/sdltest: Require dependency Android Vulkan extensions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
2024-08-23 14:04:37 +00:00
Rylie Pavlik 909dabf44b c/client: Require dependency Android Vulkan extensions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
2024-08-23 14:04:37 +00:00
Rylie Pavlik c439f289d4 c/null: Require dependency Android Vulkan extensions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
2024-08-23 14:04:37 +00:00
Rylie Pavlik 646950dc27 tests: Require dependency Android Vulkan extensions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
2024-08-23 14:04:37 +00:00
Rylie Pavlik 182d87015f scripts, a/vk: Fix calling functions using their Vulkan 1.0 name rather than promoted name
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
2024-08-23 14:04:37 +00:00
Jarvis Huang 764263d171 st/oxr: Combine Android activity lifecycle with session lifecycle
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 15:27:53 -05:00
Rylie Pavlik 13e023955c ipc: Create android_instance_base if required.
Co-authored-by: Jarvis Huang <quic_jarvhuan@quicinc.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 15:27:53 -05:00
Rylie Pavlik bc6a42441c t/common: Create android_instance_base if required.
Co-authored-by: Jarvis Huang <quic_jarvhuan@quicinc.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 12:59:45 -05:00
Rylie Pavlik 28ec3246eb a/android: Base implementation of xrt_instance_android
Co-authored-by: Jarvis Huang <quic_jarvhuan@quicinc.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 10:30:18 -05:00
Jarvis Huang 3a7e98a51b a/android: Hook android_lifecycle_callbacks with Java class
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 10:30:18 -05:00
Jarvis Huang 84efd4d6fb a/android: Add ActivityLifecycleListener class
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 10:30:18 -05:00
Rylie Pavlik 449016be51 xrt: Add missing doc comments.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 10:30:18 -05:00
Jarvis Huang 30c067db7f xrt: Add XRT_ERROR_ANDROID
Co-authored-by: Rylie Pavlik <rylie.pavlik@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 10:30:18 -05:00
Rylie Pavlik 77bdc1a80e xrt: Add Android-specific features to xrt_instance.
Describe Android lifecycle callbacks

Co-authored-By: Jarvis Huang <quic_jarvhuan@quicinc.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 10:30:18 -05:00
Rylie Pavlik 78717c2c38 xrt: Add xrt_android header with info about Android lifecycle callbacks
Co-authored-By: Jarvis Huang <quic_jarvhuan@quicinc.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 09:06:36 -05:00
Rylie Pavlik 8cf94c20a9 aux/android: Add lifecycle callback container.
Co-Authored-By: Jarvis Huang <quic_jarvhuan@quicinc.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 09:06:36 -05:00
Jarvis Huang 31ee231f20 ipc/client: Get Java fields out of instance info.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 09:06:36 -05:00
Jarvis Huang 83bea591f1 st/oxr: Populate xrt_platform_info on Android
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 09:06:36 -05:00
Jarvis Huang 5ede35c71d xrt: Add xrt_platform_info
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-22 09:06:36 -05:00
Rylie Pavlik 24117123f5 ipc: Constify
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-21 11:20:09 -05:00