Fernando Velazquez Innella
b29776fa1e
c/util: Fix double free when failing to import non-Vulkan swapchain
2024-04-17 11:24:05 -04:00
Fernando Velazquez Innella
20ac197a6f
c/util: Fix double free when failing to initialize Vulkan swapchain
2024-04-17 11:23:50 -04:00
Yu Li
6f35a3a51d
st/oxr: Implement xrGetReferenceSpaceBoundsRect
2024-04-17 12:49:20 +00:00
Yu Li
143ff5a0ac
ipc: Add support for get bounds rect function
2024-04-17 12:49:20 +00:00
Yu Li
e8d3b875f0
xrt: Add get bounds rect function
2024-04-17 12:49:20 +00:00
zhz
c5cf26f385
c/client: Replace glTextureStorageMem2DEXT
with glTexStorageMem2DEXT
2024-04-16 13:44:39 +00:00
zhz
d232e73587
xrt: Add a macro for Android platform to select vulkan memory to create swapchain.
...
Increases compatibility. AHardwareBuffer path left available and enabled
by default.
2024-04-16 13:44:39 +00:00
0y8w1x
0cc05bc300
d/ulv5: added joint orientation
2024-04-15 00:24:01 +02:00
Rylie Pavlik
19a8dfb8c8
st/oxr: Fix codespell error.
2024-04-12 14:08:37 +00:00
Rylie Pavlik
481ef3d7b3
st/gui: Fix codespell error.
2024-04-12 14:08:37 +00:00
Rylie Pavlik
3e744131c5
xrt: Fix codespell errors.
2024-04-12 14:08:37 +00:00
Rylie Pavlik
60996cd9de
drivers: Fix codespell errors.
2024-04-12 14:08:37 +00:00
Rylie Pavlik
c0be8f2478
comp: Fix codespell errors.
2024-04-12 14:08:37 +00:00
Rylie Pavlik
dd82b04ab5
a/vk: Fix codespell errors.
2024-04-12 14:08:37 +00:00
Rylie Pavlik
ae88c4c18f
a/util: : Fix codespell errors.
2024-04-12 14:08:37 +00:00
Rylie Pavlik
80e0b4499e
a/tracking: Fix codespell errors.
2024-04-12 14:08:37 +00:00
Christoph Haag
cada51db56
u/space_overseer: skip actually locating space in itself
...
It is always going to be identity. Keep calculating the offsets though.
2024-04-12 14:07:19 +00:00
Christoph Haag
7a387e4087
u/space_overseer: Relation chain with 0 steps has valid velocities = 0
2024-04-12 14:07:19 +00:00
zhislv
0387e8f15c
add getPackageName() for Context, add getSignature() for PackageInfo
2024-04-10 15:32:48 +00:00
Zhongwang Zhang
099df066c6
st/oxr: Avoid calling oxr_action_cache_stop_output every time when xrSyncActions is called
2024-04-08 05:43:25 +00:00
Christoph Haag
3fd69da828
st/oxr: Fix projection layer viewCount validation
2024-04-04 15:27:17 +00:00
Christoph Haag
9b0bf725bd
oxr/st: Fix EPPO->OPPO typo in error message
2024-04-04 14:15:47 +00:00
Christoph Haag
60b6fb8eed
a/bindings: Don't add dpad paths to all paths in script
...
They can not be distinguished from core paths there, but they need to be
gated by EXT_dpad_binding
2024-04-04 14:15:47 +00:00
Christoph Haag
7100faf868
a/bindings: Remove palm_pose and hand_interaction from eye gaze
...
The spec has a note for most interaction extension that these paths are
added, but the XR_EXT_eye_gaze_interaction does not.
It makes sense: Where do you render a hand model with eye gaze?
2024-04-04 14:15:47 +00:00
Christoph Haag
78c4a239b0
a/bindings: Add extension and palm_pose/hand_interaction to oppo
2024-04-04 14:15:47 +00:00
Christoph Haag
46e57b9d38
a/bindings: Add heartrate to bindings schema
2024-04-04 14:15:47 +00:00
Christoph Haag
c622709411
a/windows: Fix warning
2024-04-04 14:15:47 +00:00
Christoph Haag
574b3c1d28
ipc: Fix no newline at end of file warning
2024-04-04 14:15:47 +00:00
Christoph Haag
c477ec3304
u/pp: Generate u_pp_xrt_input_name from XRT_INPUT_LIST macro
2024-04-04 16:06:36 +02:00
Christoph Haag
deddf40f7d
xrt: Make enum xrt_input_name generated by a macro
2024-04-04 16:06:36 +02:00
Christoph Haag
fc3bf65727
m/space: Refactor apply_relation
...
Before, apply_relation had unclear semantics and "upgraded" relation flags
to valid if either one of the relations had them. Most likely this was
because poses were considered to be not tracked and not having a velocity.
But OpenXR behavior says that something that is just an offset to something
else, for example local stage in stage space should have tracked flags, and
probably velocity valid flags.
The only time when something is not tracked in OpenXR is when the path
through the space graph passes through a space that actually tracks
something with a tracking system that currently can not track that something.
(Or when two spaces are in disjunct partitions of the space graph).
Therefore, insert poses as fully tracked relations with zero velocities
into the relation chain and remove all the "upgrade" behavior.
2024-03-29 20:15:38 +01:00
korejan
159f22e403
c/main: Fix incorrect surface format matching
2024-03-26 21:40:42 +00:00
Commenter
c8ca7797a0
xrt: Fix compile error in t_imu.cpp
2024-03-25 09:28:08 -05:00
korejan
d3e87d784b
a/util: Fixes missing windows lib for mercury_streamvr_driver
2024-03-24 12:44:39 +00:00
Fernando Velazquez Innella
a462235e2a
a/vk: Fix build with Vulkan SDK's older than 1.3
2024-03-19 12:22:46 -04:00
Fernando Velazquez Innella
3984bf4d8d
u/var: Protect tracker access with a mutex.
...
Solves a race condition that may crash the debug gui if objects are removed using u_var_remove_root
2024-03-18 14:16:05 -04:00
Christoph Haag
795360a511
d/steamvr_lh: Set view_count = 2
...
Drivers that do not use u_device_allocate must set view_count themselves.
2024-03-18 00:00:32 +01:00
Christoph Haag
f4c3e9ed2c
st/prober: fix view_count printing in PH() macro
2024-03-18 00:00:32 +01:00
Christoph Haag
b2c4134113
c/main: Check xdev view_count early and add error message
2024-03-17 22:36:55 +01:00
Meng Jiao
e154fd4513
mono: depth layer supporting mono
2024-03-15 01:48:38 +00:00
Meng Jiao
a802960684
driver/simulated: Handling when the view count is 1 or 2.
2024-03-15 01:48:38 +00:00
Meng Jiao
368a3842fb
d/remote: Get view count from json config
2024-03-15 01:48:38 +00:00
Meng Jiao
8a74798c0b
a/util: Device helpers and distortion handling for when the view count is equal to 1 or 2
2024-03-15 01:48:38 +00:00
Meng Jiao
105577730f
a/util: Make distortion utils compatible with view count equal to 1.
2024-03-15 01:48:38 +00:00
Meng Jiao
95331593e2
mono: projection layer supporting mono
2024-03-15 01:48:38 +00:00
Mateo de Mayo
a8eb098e14
drivers: don't initialize masks_sink if slam is disabled
...
Co-authored-by: Simon Zeni <simon.zeni@collabora.com>
2024-03-14 01:56:38 +00:00
sdegrande
a806903765
d/remote: Fix warnings reported by clang (17) about some wrong printf formats.
2024-03-13 11:40:32 +01:00
sdegrande
2e43c7b895
d/remote: Add and use a multi-os r_socket_t typedef
...
On Linux, a socket descriptor as an int, while on Windows it is a
SOCKET (aka an unsigned long long).
This patch introduces a r_socket_t typedef set depending on the OS,
and uses it where needed.
The patch also reorders some header inclusions, to ensure that
winsock2.h is included before windows.h, or else the winsock API is
defined instead of the winsock2 API and a warning is emitted during
compilation.
Also, the "#pragma comment(lib, 'ws2_32.lib')" directive used in r_hub.c
is a VC++-ism, not compatible wth Mingw64 (gcc or clang toolchains).
This patch replaces the pragma with a cmake link directive.
2024-03-13 11:40:32 +01:00
Fernando Velazquez Innella
24de6f9edf
c/util: Expand on swapchain import error codes
...
This allows the CTS in Direct3D12 to not fail when attempting to import sRGB swapchains with flags such as XR_SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT
2024-03-12 10:57:25 -04:00
Korcan Hussein
ca3cbf7ce8
st/oxr: Bug fix XR_HTC_facial_tracking system support check
...
Fixes system support check for XR_HTC_facial_tracking not setting
lip support flag.
2024-03-11 19:48:51 +00:00