Commit Graph
696 Commits
Author SHA1 Message Date
Guillaume Meunier 52be025d51 Wait 3s when the session is not running before calling on_unfocused 2025-10-23 21:39:12 +02:00
Guillaume Meunier e584d9607f Fix the reset when the lobby is unfocused 2025-10-23 21:39:12 +02:00
Guillaume Meunier aad1bb6a1b Misc renderer improvements:
- Reuse renderer and gltf loader between scenes
- Use puish descriptors to simplify the management of descriptor sets in the scene renderer
- Don't keep the imgui swapchain in the scene classes
- Fix alpha blending, add alpha masking
- Fix mipmaps not being used in renderer
- Add cache when loading images and models
- Only premultiply the colours if required
- Add support for gltTF animations

Allow removing an object and its descendants from the scene, allow loading from a memory buffer
2025-10-23 21:39:12 +02:00
Patrick Nicolas 1f6ea0d4ca Allow enumerate with tuples (structure chains) 2025-10-23 21:39:12 +02:00
Guillaume Meunier e526d572c2 Update ImGui to 1.92.3 2025-10-23 21:39:12 +02:00
Guillaume Meunier e0ff42800f Update fastgltf to 0.9.0 2025-10-23 21:39:12 +02:00
Guillaume Meunier be6028982e Update libktx to 4.4.0
- Use UASTC textures instead of ASTC, transcode to ASTC or BC7 at load time
- Add cmake helpers to generate assets, optimize controller models
- Textures are resized to 512x512 and compressed in UASTC
- Always use libktx
2025-10-23 21:39:12 +02:00
Guillaume Meunier 8854b1b548 Add helper for starting an activity on Android 2025-10-23 21:39:12 +02:00
Guillaume Meunier fb509361b6 Silence spurious OpenXR validation error 2025-10-23 21:39:12 +02:00
Guillaume Meunier 60226e5346 Remove empty files 2025-10-23 21:39:12 +02:00
Guillaume Meunier a90ee6a018 Fix path for default_icon.png 2025-10-23 21:39:12 +02:00
Patrick Nicolas 19d46db554 Skip broken OpenXR 1.1 support on HTC 2025-10-08 16:29:59 +02:00
Patrick Nicolas 39b7c6c45a Move default port into wivrn_config.h 2025-10-05 20:26:07 +02:00
Patrick Nicolas a5bb9c2678 Fix imgui error for duplicate app name 2025-09-27 17:11:17 +02:00
Patrick Nicolas 1667065084 Add app launcher in stream gui 2025-09-27 16:57:23 +02:00
Patrick Nicolas 67918b7fe7 Move app launcher out of lobby_gui 2025-09-27 16:53:25 +02:00
Patrick Nicolas f03c460aa6 Return to last screen on thumbstick press 2025-09-27 16:28:59 +02:00
Patrick Nicolas e7c69e9464 Support stopping application 2025-09-27 16:28:59 +02:00
Patrick Nicolas 6e64dd03b3 Select active application from stream GUI 2025-09-27 10:08:51 +02:00
Patrick Nicolas 7fb8f4c1a8 List running applications 2025-09-27 10:08:51 +02:00
Patrick Nicolas 4e5eca204f Disable fragment shading rate
Causes artifacts due to triangle edges, the performance gain is not
worth it
2025-09-26 16:33:01 +02:00
Patrick Nicolas 6932f9461d Add support for raw video 2025-09-26 16:33:01 +02:00
Patrick Nicolas a193b4084c Fix null byte written in json file 2025-09-23 18:01:33 +02:00
Patrick Nicolas 98347fc832 Request again OpenXR 1.1 2025-09-19 19:27:22 +02:00
Patrick Nicolas b411afb946 Add option to manually set language 2025-09-18 15:50:08 +02:00
Patrick Nicolas 509311604c Fix off-by-one in imgui call 2025-09-15 14:36:52 +02:00
Patrick Nicolas ea54031627 Don't try OpenXR 1.1
The promoted extension mechanism is flawed: it should use the new names
for FB interaction profiles, but keep the BD ones with the original name
2025-09-13 18:15:30 +02:00
Patrick Nicolas 8b9beb272d Silence cmake warning for unused variable 2025-09-12 19:30:45 +02:00
Patrick Nicolas 891a087ccc Correctly handle larger swapchains 2025-09-10 22:23:02 +02:00
Patrick Nicolas adc07e8f50 Fix alpha channel in no-blit path 2025-09-10 22:21:48 +02:00
Patrick Nicolas 200586a0af Remove Snapdragon Game Super Resolution 2025-09-10 21:44:22 +02:00
Patrick Nicolas 3c08a3de2f Fix defoveation for low scale values
The effective image size may be different from the size in description,
we have to only consider the useful size
2025-09-09 19:00:08 +02:00
Patrick Nicolas ccf430d26a Fix width/height typo 2025-09-09 18:08:38 +02:00
Patrick Nicolas 6b99cf4cc3 Use inheritance for decoder implementations 2025-09-04 17:15:29 +02:00
Patrick Nicolas cc5990a513 Run spirv-opt when compiling shaders 2025-09-04 17:06:19 +02:00
Patrick Nicolas c80ba550eb Fix defoveator descriptor pool size 2025-09-04 13:54:26 +02:00
Patrick Nicolas 9186bafd28 Pack shading rate in position variable 2025-09-04 10:43:44 +02:00
Patrick Nicolas 633f7feeb1 Skip blit when possible 2025-09-02 15:24:04 +02:00
Patrick Nicolas 435c2be127 Add renderdoc support in stream scene 2025-09-02 15:24:04 +02:00
Patrick Nicolas f97c241f9f Don't request promoted extensions 2025-08-27 19:36:13 +02:00
Patrick Nicolas 8f8e583eb6 Remove imageviews from xr::swapchain 2025-08-24 21:13:56 +02:00
Patrick Nicolas 05c8de4733 Don't abort on runtime's validation errors 2025-08-24 21:13:16 +02:00
Patrick Nicolas 90fa63a8fb Update vulkan validation layers 2025-08-24 21:05:47 +02:00
Patrick Nicolas cdd6064f2f Update validation layers 2025-08-24 19:42:06 +02:00
Patrick Nicolas dd7bd8469e Fix shader fragment rate vulkan validation error 2025-08-24 14:22:48 +02:00
Patrick Nicolas 211922ea02 Remove all AUTO options in cmake 2025-08-22 13:42:46 +02:00
Patrick Nicolas 959661c830 Fix const char* comparison 2025-08-21 20:46:49 +02:00
Patrick Nicolas 4a2c83a70d Use variable shading rate if supported by headset 2025-08-21 20:46:49 +02:00
Patrick Nicolas b5e5586ef6 Fix HTC face tracker
The tracker must be created precisely between the session creation and
session begin, or else it would fail when we access it with
XR_RUNTIME_FAILURE.
As it is not possible to recreate one later, disable the destroy and
store the handles in static variables so we can access them later,
behaving as if we were actually destroying and recreating one.
2025-08-20 22:11:43 +02:00
Patrick Nicolas 87b68aaa7b Prevent negative deltatime in imgui 2025-08-20 22:11:43 +02:00