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
Simon Zeni
641e456736
aux/vk: fix VK_ERROR_UNKNOWN warning from vk_result_string
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:30:25 -05:00
Simon Zeni
ee7ed5d395
aux/util: remove ignore warning diagnostics in u_trace_marker.h
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:30:25 -05:00
Rylie Pavlik
5375d366cb
a/android: Fix warnings
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2307 >
2024-08-15 15:45:47 -05:00
Rylie Pavlik
da5d1c05b1
d/android: Fix warnings
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2307 >
2024-08-15 11:46:56 -05:00
Jan Schmidt
ecaab0f63e
d/wmr: Fix controller status report waiting
...
For Reverb G2 and Odyssey, check if controller status reports
were already seen before proceeding to wait, or the driver
might not get woken again.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
34377371ba
a/math: Introduce minimum skew clock tracker.
...
Add m_clock_windowed_skew_tracker that uses a windowed
minimum skew tracker with exponential smoothing to
do more accurate remote to local clock offset estimation.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
8a535d0a87
a/tracking: add t_camera_models_undistort()
...
Add a method to convert distorted image points to
undistorted homogeneous points like cv::undistortPoints()
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
ed67c9c95b
a/tracking: Make t_camera_models usable from C
...
Remove C++-isms in the t_camera_models.h header and wrap it
in conditional extern "C" markers.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
5098695a1a
a/math: Add math_quat_decompose_swing_twist()
...
Decomposes a quaternion into two orthogonal rotations that
consist of the swing perpendicular to an axis and the
rotation (twist) around that axis.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
1bfd5ed0cd
a/math: Add m_vec3_inverse()
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
ab5b21de8e
a/math: Add math_quat_dot()
...
Add a function to compute the dot product of 2 quaternions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
36eaad6419
a/math: Add math_quat_from_vec_a_to_vec_b()
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
4555f5e7f9
aux/gst: Support odd I420/GRAY8 frame widths and heights
...
Add padding for odd width/height I420 and GRAY8 video frames
using videobox, and add warnings for corner cases where that
won't work.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
eb4d2cd922
u/sink: Make sink_queue drop the oldest frame when full
...
Instead of discarding the incoming frame when the queue is
at capacity, drop the oldest frame possible. I can't
think of a situation where it would be better to work on
stale data in preference to fresh data. If there is, we
can easily add a flag to choose behaviour.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
8b0f9e228b
a/math: Fix description typo in m_imu_pre_filter_part
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
32e496ab90
u/sink: Fix description of u_sink_simple_queue
...
Update the comment describing the u_sink_simple_queue to
explain that it buffers a single frame to a new thread,
replacing it as new frames come in if it hasn't been consumed
yet.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
galister
30ae628b83
st/oxr: fix XrFacialTrackerHTC validation
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2306 >
2024-08-13 01:19:41 +09:00
galister
2d3978b1b0
doc: Document !2299
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2299 >
2024-08-12 15:02:59 +00:00