Commit graph

6909 commits

Author SHA1 Message Date
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 56a7e60374 doc: Document !2167 2024-03-12 11:04:49 -04: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 4660d18199 doc: Document !2166 2024-03-11 20:05:58 +00: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
Korcan Hussein 24f206441c doc: Document !2163 2024-03-11 10:30:39 +00:00
Korcan Hussein 50f3816cf2 xrt: Adds support for XR_HTC_facial_tracking xrt-devices 2024-03-11 10:30:39 +00:00
Korcan Hussein 1a6c444a42 xrt: Adds framework for face-tracking xrt-devices 2024-03-11 10:30:39 +00:00
Meng Jiao b622ba0979 doc: Document !2164 2024-03-08 19:06:22 -06:00
Meng Jiao fec1d42139 a/util: Read config files in binary mode to fix on Windows 2024-03-08 19:01:54 -06:00
Fernando Velazquez Innella 6fddf3103d doc: Document !2161 2024-03-07 08:16:40 -05:00
Fernando Velazquez Innella 13ea0ab546 c/client: Run D3D12 swapchain initial barriers after all possible points of failure. 2024-03-06 11:09:00 -05:00
TheJackiMonster 4b3f7bba95 doc: document !2150
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2024-03-05 23:53:48 +00:00
TheJackiMonster 9f4f2541a6 d/xreal_air: Rename nreal air to xreal air in driver, support xreal air 2 and xreal air 2 pro 2024-03-05 23:53:48 +00:00
Patrick Nicolas ffb71af26f doc: document !2134 2024-03-05 08:49:33 +01:00
Patrick Nicolas d63b9f4518 a/vk: Enable synchronization2 feature 2024-03-05 08:49:33 +01:00
Patrick Nicolas 11fc8d5629 a/vk: Add possibility to create video encode queue 2024-03-05 08:49:33 +01:00
Patrick Nicolas c8195a8fbc a:vk: Make find_compute_queue_family more generic 2024-03-05 08:49:33 +01:00
Patrick Nicolas c5230c075c c/main: Compositor targets can set more parameters
Allow compositor targets to require a minimum Vulkan version, and
additional optional device extensions.
2024-03-05 08:49:33 +01:00
dengkail 8df4d0eb96 doc: Document !2124 2024-02-29 11:16:32 +08:00
dengkail c066774dca ipc: Add support for XR_FB_passthrough 2024-02-29 11:16:17 +08:00
dengkail 6c03327253 c/client: Implement XR_FB_passthrough APIs in client side 2024-02-29 11:15:59 +08:00
dengkail c57976c2af st/oxr: Add extension XR_FB_passthrough 2024-02-29 11:15:37 +08:00
Jarvis Huang 6876de1da6 doc: document !2151 2024-02-28 22:33:34 +08:00
Jarvis Huang 039ef1ed90 st/oxr: Getting vendor id/name from server 2024-02-28 22:25:45 +08:00
utzcoz 42047ef157 doc: Document !2148
Signed-off-by: utzcoz <utzcoz@outlook.com>
2024-02-26 14:32:25 +00:00
utzcoz a3085de032 ext/openxr: Bump OpenXR headers to 1.0.34
1. Download and unzip from
   https://github.com/KhronosGroup/OpenXR-SDK/releases/tag/release-1.0.34.
2. Copy all header files in include/openxr directory to
   src/external/openxr_includes/openxr.

Signed-off-by: utzcoz <utzcoz@outlook.com>
2024-02-26 14:32:25 +00:00
Korcan Hussein 55a681174e doc: document !458 2024-02-26 11:35:15 +00:00
Ryan Pavlik fe19760eaf st/oxr: Factor out more of action state updating, in a different way.
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2024-02-26 10:41:31 +00:00
Ryan Pavlik d73d5655f2 st/oxr: Use factored-out helpers to determine if action state has changed. 2024-02-21 10:38:49 -06:00
Ryan Pavlik 4d8622728f st/oxr: Add helper functions for action state. 2024-02-21 10:38:14 -06:00
Ryan Pavlik 4516ed9b22 st/oxr: More strictly verify xrSyncActions input in advance. 2024-02-21 10:38:14 -06:00
Ryan Pavlik f7e8a6f9f9 st/oxr: Use subaction_paths helper function 2024-02-21 10:38:14 -06:00
Ryan Pavlik 771808f589 st/oxr: Keep track of the union of each action set's action sub-action paths 2024-02-21 10:38:14 -06:00
Ryan Pavlik 2fbab42772 st/oxr: Add some oxr_subaction_paths helpers. 2024-02-21 10:38:14 -06:00
Rylie Pavlik 4ade7e8e55 misc: Update git blame ignore revs 2024-02-21 10:38:14 -06:00
BabbleBones 82f3264d88 doc: document !2147 2024-02-20 01:33:10 -05:00
BabbleBones 962c623df5 aux/debug_ui: raise gl version to 4.5 2024-02-20 01:20:39 -05:00
Korcan Hussein b1118a62ff doc: document !2146 2024-02-19 12:41:08 +00:00
Korcan Hussein f6dd897297 st/oxr: Fix uninitialized/invalid timestamps for action_caches 2024-02-19 12:32:25 +00:00
Simon Zeni 1daa7abc4c doc: document !2141 2024-02-18 23:47:46 +00:00
Simon Zeni e5c8dbd2aa cmake: add wayland include dirs to comp_main 2024-02-18 23:47:46 +00:00
sdegrande e884e038af doc: Document !2144 2024-02-15 16:15:22 +01:00
sdegrande 43da008cd5 t/slam: Only turn on the SLAM feature on Linux
Currently, the VIT loader uses calls to libdl, a Linux only library.
It could be adapted to Windows, but could not be easily tested until
the support of headsets on Windows.
Meanwhile, the SLAM feature is forced to be off.
2024-02-15 12:03:56 +01:00
Simon Zeni 0d046f0a6c doc: document !2143 2024-02-12 12:07:22 -05:00
Simon Zeni 99c938a1df t/common: fix valve index hand tracker crash when SLAM tracking is not enabled 2024-02-12 12:05:18 -05:00
Mateo de Mayo ed618ad979 doc: Document !2131
And fix codespell fixes in other changelog fragments
2024-02-09 19:26:51 +00:00
Mateo de Mayo 6b323209b2 t/vit: Return success from vit_get_proc
Closes #322
2024-02-09 19:26:51 +00:00
Mateo de Mayo d80a41f34f external/vit: Update to 1.0.1 and remove unused cpp helper 2024-02-09 19:26:51 +00:00