197 Commits
Author SHA1 Message Date
Guillaume Meunier bb660cfb3f Use XR_KHR_loader_init_android if it is present 2024-03-30 13:47:04 +01:00
Guillaume Meunier 2c0b08e089 Select the closest hand to the GUI as active when tracking hands 2024-03-30 13:44:51 +01:00
Guillaume Meunier 4fa63b3cf5 Support hands in GUI 2024-03-30 13:44:51 +01:00
Guillaume Meunier 6a553b218a Hide the hand model if the controller is tracked 2024-03-30 13:44:51 +01:00
Guillaume Meunier f11ddb14ce Make apply_visual_response static 2024-03-30 13:44:51 +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
Guillaume Meunier f49dd88b77 Handle visibility flag correctly in the scene renderer 2024-03-30 13:44:51 +01:00
Guillaume Meunier 889f1ad5e6 Show hand models, refactor the scene renderer 2024-03-30 13:44:49 +01:00
Patrick Nicolas cf054dda64 Fix GPU time display in lobby 2024-03-30 13:37:08 +01:00
Patrick Nicolas 1aa49bb44f Force channel count = 1 for microphone 2024-03-26 21:49:38 +01:00
Patrick Nicolas cd16b45270 Create swapchains in stream render method
Swapchains were created in the network thread, and when interleaved with
lobby render method and using passthrough, this would cause crashes on
HTC headsets.
2024-03-24 21:07:43 +01:00
Patrick Nicolas 56eb783305 Fix race condition with Vulkan validation layers 2024-03-24 20:53:41 +01:00
Patrick Nicolas 2cc267f8d4 Improve stream stalled detection 2024-03-24 17:24:03 +01:00
Patrick Nicolas 94e6014861 Release passthrough resources when lobby is not focused 2024-03-24 17:24:03 +01:00
Patrick Nicolas bf555f0fdb Force process exit on Android 2024-03-24 14:59:58 +01:00
Patrick Nicolas 8e3979cc8c Use XrTime for all time data 2024-03-24 14:01:44 +01:00
Patrick Nicolas faa4560d46 Use callback API for microphone as well 2024-03-23 20:24:23 +01:00
Patrick Nicolas c15f2b9149 Fix microphone (had callback set) 2024-03-16 21:57:39 +01:00
Patrick Nicolas 4d50e35200 Add padding in settings 2024-03-16 20:07:36 +01:00
Guillaume Meunier 7dcb19f4db Log OpenXR system properties before initializing Vulkan 2024-03-16 20:05:57 +01:00
Guillaume Meunier 3a02198156 Automatically enable passthrough if color passthrough is supported 2024-03-16 20:05:57 +01:00
Guillaume Meunier b60c1f7b61 Optionally download the OpenXR SDK for the Linux client 2024-03-16 20:05:57 +01:00
Guillaume Meunier 6f5a00cdd3 Add support for passthrough in lobby 2024-03-16 20:05:57 +01:00
Patrick Nicolas 9646675188 Don't log on missing audio 2024-03-16 17:14:39 +01:00
Patrick Nicolas 00f50fb86f Use callback-based method for Android audio out 2024-03-16 13:36:07 +01:00
Patrick Nicolas 7278a522b8 Force a safe minimum audio buffer size 2024-03-15 20:00:07 +01:00
Patrick Nicolas 2afd2ff86a Staturate haptics amplitude to 1.0 2024-03-15 18:55:39 +01:00
Patrick Nicolas f2dc24c316 Enable microphone support 2024-03-15 15:17:35 +01:00
Patrick Nicolas c006e6c31b Remove useless framebuffer clear in reprojection 2024-03-14 21:15:53 +01:00
Patrick Nicolas 5dc5117441 Don't accumulate delay if tracking is slow on client 2024-03-14 19:58:31 +01:00
Patrick Nicolas d479ae9786 Set clear color to opaque black in reprojection.
Fixes black output in HTC headsets
2024-03-14 18:25:53 +01:00
Patrick Nicolas 1be10f8065 Merge GPU plots, network plots 2024-03-08 17:33:22 +01:00
Patrick Nicolas a2b8955c12 Store 3 decoded frames for more robust stitching 2024-03-05 10:37:06 +01:00
Patrick Nicolas a7f9ac2d74 release swapchain image when done submitting commands 2024-03-04 16:09:40 +01:00
Guillaume Meunier aa194a1213 Fix hand tracker construction 2024-03-03 15:28:28 +01:00
Patrick Nicolas 5cbaa76ad6 Blit images with one render pass per eye 2024-03-02 16:51:05 +01:00
Guillaume Meunier 06811201bd Remove unused shaders 2024-03-02 16:37:31 +01:00
Guillaume Meunier a2271d486a Add hand tracking 2024-02-25 16:09:32 +01:00
Guillaume Meunier 5ec14dc916 Per vertex reprojection 2024-02-23 22:07:10 +01:00
Patrick Nicolas 4843f22ad5 Correctly transition to color attachment layout 2024-02-22 16:37:39 +01:00
Patrick Nicolas 47c9e32a65 Use general image layout for images from decoder 2024-02-22 12:41:35 +01:00
Guillaume Meunier 9efe3852f4 Set the current active runtime when a headset connects 2024-02-19 23:36:28 +01:00
Guillaume Meunier a5a1ad1cbd Make sure the logger is created only once 2024-02-19 23:34:58 +01:00
Guillaume Meunier de515534e6 Add haptic feedback on refresh rate setting 2024-02-19 19:17:57 +01:00
Patrick Nicolas 7cf7cb7f81 Add refresh rate selection in settings 2024-02-19 10:40:39 +01:00
Patrick Nicolas 9dcee4ee26 Update compatible status if changed 2024-02-19 10:40:39 +01:00
Patrick Nicolas 2a7014ded9 Oversample for reprojection 2024-02-19 09:58:42 +01:00
Patrick Nicolas fa29e16b13 Increase tracking frequency to 1000Hz 2024-02-18 15:41:47 +01:00
Patrick Nicolas ba898560e9 Prefer consecutive frames when possible 2024-02-18 15:41:47 +01:00
Guillaume Meunier d3e0fb36a8 Remove useless debug logs 2024-02-18 14:45:11 +01:00