Commit graph

7440 commits

Author SHA1 Message Date
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
Jarvis Huang a86db1307d xrt: Add xrt_application_info
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-21 11:20:09 -05:00
Rylie Pavlik 31947810ec scripts: Do not try to format Gradle-generated files
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
2024-08-21 11:20:09 -05:00
Rylie Pavlik ec6e9c8b7f ipc/android: Be sure to catch destructor exceptions, if any.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2308>
2024-08-21 10:58:26 -05:00
Rylie Pavlik 8a7415eaea ipc: Improve android
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2308>
2024-08-21 10:57:45 -05:00
Jarvis Huang 9e46d56c03 st/oxr,a/android,ipc/android: Move Android looper trick into the IPC client.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2308>
2024-08-21 10:57:37 -05:00
Arnav Singh 2685fb1dc6 aux/os/ble_dbus: Don't require power management characteristic to be notifiable.
At least the SteamVR 2.0 lighthouses have a power management characteristic
that does not have the "notify" flag, only "write". So before this change,
the command would not find any valid characteristics to write to and be
a no-op. The power management code path does not require it to be notifiable
in the first place, so this change just ignores that flag.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2269>
2024-08-19 13:12:41 +00:00
Rylie Pavlik bdd61330f7 doc: Document !2272
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:34:41 -05:00
Simon Zeni 4da8066140 st/prober: use RS_SOURCE_INDEX only if XRT_HAVE_OPENCV and XRT_BUILD_DRIVER_REALSENSE are defined
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:31:36 -05:00
Simon Zeni 6f32def5f9 tests: fix warnings in tests_id_ringbuffer.cpp
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:31:36 -05:00
Simon Zeni 7cbcf92c3b aux/ogl: always return false in ogl_import_from_native for AHardwareBuffer
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:31:36 -05:00
Simon Zeni 967847c742 d/*: fix format modifiers for 32 bits
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:31:36 -05:00
Simon Zeni 39535666a4 xrt: add inttypes.h to xrt_compiler.h
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:31:36 -05:00
Simon Zeni 6847183cb2 st/prober: fix format modifier in print_system_devices
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:31:36 -05:00
Simon Zeni 128f20df7c aux/vk: fix vulkan handle type format modifier
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:31:36 -05:00
Simon Zeni 66a5b36bd5 ci: add more dependencies to install-cross.sh, and bump CI image
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:31:28 -05:00
Simon Zeni 748d6bc5e7 aux/vk: properly handle vulkan handle type in vk_name_object
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
2024-08-16 17:30:26 -05:00