Commit Graph
97 Commits
Author SHA1 Message Date
Patrick Nicolas 00a4562625 Pack UDP send in tracking thread 2024-10-02 18:39:40 +02:00
Guillaume Meunier 07e7cdcfa3 Check if __cpp_lib_smart_ptr_for_overwrite is defined before using it 2024-10-01 23:04:33 +02:00
Guillaume Meunier cf7651e781 Define vulkan headers as system 2024-10-01 23:04:19 +02:00
Guillaume Meunier 5e6512d825 Fix various warnings 2024-10-01 23:04:19 +02:00
Guillaume Meunier 674343c74f Use cmakedefine01 instead of cmakedefine 2024-10-01 21:46:41 +02:00
galister eea2208ec0 solarxr support 2024-10-01 21:03:33 +02:00
Guillaume Meunier 9774d8c1d1 Define enum for exit codes 2024-09-27 19:25:57 +02:00
Guillaume Meunier d0850e819c Add dbus server 2024-09-27 19:25:57 +02:00
Patrick Nicolas 824e8d464d Serialize structures in chunks when possible
When a structure has consecutive trivially serializable packed fields,
group them together in a single write call. This effectively splits
structures with a mix of trivial and non trivial fields into chunks.
Also splits when there is padding.
2024-09-24 15:57:49 +02:00
Patrick Nicolas e3c7338c35 Remove some copies in serialization 2024-09-24 15:57:49 +02:00
galister 28c93c3fb8 steamvr_lh support 2024-09-06 21:39:08 +02:00
galister 2141c66c6e switch to stage tracking on client 2024-09-05 13:46:00 +02:00
Patrick Nicolas 96bbfa1a23 Put not requested tracking on standby 2024-09-03 23:34:23 +02:00
Patrick Nicolas a34b8ba928 Send supported codecs on init 2024-08-31 22:07:56 +02:00
Patrick Nicolas 7a42691269 AV1 support 2024-08-31 22:07:56 +02:00
Patrick Nicolas 5a394da2cd Remove read_index in deserialization packet 2024-08-31 14:34:36 +02:00
Patrick Nicolas 4e62854fb8 Use recvmmsg for UDP socket 2024-08-31 14:34:36 +02:00
Patrick Nicolas ca1f478299 Receive larger buffers for TCP socket 2024-08-31 14:34:36 +02:00
Patrick Nicolas 0aa5284165 Replace std::vector with shared_ptr in deserialization 2024-08-31 14:34:36 +02:00
Guillaume Meunier faca68844a Merge branch 'feat/flatpak' 2024-08-31 13:39:24 +02:00
galister 8503e3480b eye-tracked foveation 2024-08-30 11:24:36 +02:00
Patrick Nicolas bb22403f7e Show encoding time in plots 2024-08-30 08:19:33 +02:00
galister e6f3ae0113 passthru FB_face_tracking2 2024-08-19 16:35:26 +02:00
Patrick Nicolas b253ce0485 Replace resize + memcpy by insert in serialization 2024-08-18 14:00:29 +02:00
Patrick Nicolas 895b546d25 Optimize trivially serializable structs/arrays 2024-08-18 14:00:29 +02:00
Patrick Nicolas 8cffc4d3cb Avoid allocations during serialization 2024-08-18 09:59:38 +02:00
Guillaume Meunier 6da658bcfb Allow using glib instead of sd-bus to get the pretty hostname 2024-08-16 14:45:03 +02:00
galister 225bf9d30f expose battery on hmd xdev 2024-08-10 22:54:41 +02:00
galister f0ca7ff8da passthru EXT_eye_gaze_interaction 2024-08-01 12:08:05 +02:00
Guillaume Meunier 55ccb0d34b Add localization support in client 2024-06-08 21:24:06 +02:00
Patrick Nicolas 111afd4737 Allow operations using only TCP 2024-05-16 15:19:56 +02:00
Patrick Nicolas d06c96df68 Skip reprojection if runtime does it correctly 2024-05-05 18:41:57 +02:00
Patrick Nicolas 641e2cb182 Optimize away a few memory allocations 2024-05-04 16:29:26 +02:00
Patrick Nicolas 2bfe49764a Lock TCP socket a little less 2024-04-14 15:17:39 +02:00
Patrick Nicolas c9301332dd Avoid hand tracking packet fragmentation 2024-04-07 10:25:30 +02:00
Patrick Nicolas f4b999f9fc Prevent excessive audio output latency 2024-04-05 12:05:46 +02:00
Patrick Nicolas 63f4028d83 Select image to display based on predicted display time 2024-04-04 17:42:14 +02:00
Patrick Nicolas 7658f427e6 Request tracking extrapolation on client
Add the timestamp where data was requested, use this to compute how far
in the future the application is requesting samples.
With this information, client requests 2 tracking samples: one at the
current time and one in the future.
Server now keeps track of actual samples + one predicted sample, and is
most of the time in the interpolation use case.
2024-04-04 13:41:36 +02:00
Patrick Nicolas 7aa85dfa64 Reuse buffers to send network data 2024-04-02 10:45:42 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Guillaume Meunier 99a5685c34 When the runtime does not track the hands:
- Hide them in the lobby
- Don't send tracking data in the stream
2024-03-30 13:44:51 +01:00
Patrick Nicolas 8e3979cc8c Use XrTime for all time data 2024-03-24 14:01:44 +01:00
Patrick Nicolas de3bf50975 Prepare for pipewire audio backend 2024-03-23 20:24:23 +01:00
Patrick Nicolas 00f50fb86f Use callback-based method for Android audio out 2024-03-16 13:36:07 +01:00
Patrick Nicolas d8048c392a Use vulkan types for encoder range and color model 2024-03-05 10:05:02 +01:00
Patrick Nicolas 842fae3b27 Encode TCP size on 16 bits 2024-03-05 09:25:15 +01:00
Patrick Nicolas 82ca58cbea Drop std::pair support in serialization 2024-03-05 09:23:27 +01:00
Patrick Nicolas 5adbeef2cd Drop unused data from feedback packets 2024-03-05 09:23:27 +01:00
Guillaume Meunier 1ec1f23862 Serialize string length on 16 bits 2024-03-05 09:23:27 +01:00
Patrick Nicolas 5cbaa76ad6 Blit images with one render pass per eye 2024-03-02 16:51:05 +01:00