Update Monado
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
# Keep in sync with CMakeLists.txt monado rev
|
||||
rev = lib.strings.trim (builtins.readFile ./monado-rev);
|
||||
# Nix will output the correct hash when it doesn't match
|
||||
hash = "sha256-Q8yciIwQrRNUCQ5tRUdL67w+5ddbdX/zFtxtLEZ014c=";
|
||||
hash = "sha256-sz8scctqPxYcZL5fEVu/YSNPhW62swHncU0W2j+KMUs=";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
c399c3a15cdafc3af19331f1fc2edd7339436847
|
||||
317b480450257e2ba24643000b1a2c1505012cf7
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From cdc149ced7ae13d7b8601ab5af532f3e7739df2c Mon Sep 17 00:00:00 2001
|
||||
From 19832bb0ff8394ee577978ee22980cdb593a2791 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 22 Oct 2024 15:23:19 +0200
|
||||
Subject: [PATCH 01/10] c/multi: early wake of compositor
|
||||
Subject: [PATCH 01/11] c/multi: early wake of compositor
|
||||
|
||||
---
|
||||
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
|
||||
@@ -128,5 +128,5 @@ index 4db923457..80cbbbc26 100644
|
||||
//! @todo Make the clients not go from IDLE to READY before we have completed a first frame.
|
||||
// Make sure there is at least some sort of valid frame data here.
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 418da3425889c5577b4099c089de326ef066e655 Mon Sep 17 00:00:00 2001
|
||||
From 722eac50d86482cf5974a60d721deb158dedb255 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 8 Oct 2024 22:13:15 +0200
|
||||
Subject: [PATCH 02/10] Use extern socket fd
|
||||
Subject: [PATCH 02/11] Use extern socket fd
|
||||
|
||||
---
|
||||
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++
|
||||
@@ -34,5 +34,5 @@ index 36bf3e31d..e40447bb2 100644
|
||||
// We may have been launched with socket activation
|
||||
int num_fds = sd_listen_fds(0);
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From b75d0230a7f2380ed05ec87e24c61dcbbd66c1b5 Mon Sep 17 00:00:00 2001
|
||||
From 52d939fa1dc9709b3d7773653c2663cb9d14b82b Mon Sep 17 00:00:00 2001
|
||||
From: galister <85970-galister@users.noreply.gitlab.freedesktop.org>
|
||||
Date: Sat, 23 Nov 2024 02:42:12 +0900
|
||||
Subject: [PATCH 03/10] change environment blend mode selection logic
|
||||
Subject: [PATCH 03/11] change environment blend mode selection logic
|
||||
|
||||
---
|
||||
src/xrt/compositor/multi/comp_multi_system.c | 26 +++++++++++++-------
|
||||
@@ -53,5 +53,5 @@ index 80cbbbc26..4a397d7ec 100644
|
||||
}
|
||||
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 1fed94d509b7e0b7c6ef89118e646338d88f5a9c Mon Sep 17 00:00:00 2001
|
||||
From 1f6b04eb3feb14ca332e0bdfc2ff0fd73c564049 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Sat, 15 Mar 2025 22:19:48 +0100
|
||||
Subject: [PATCH 04/10] st/oxr: forward 0 refresh rate
|
||||
Subject: [PATCH 04/11] st/oxr: forward 0 refresh rate
|
||||
|
||||
---
|
||||
src/xrt/compositor/main/comp_compositor.c | 2 +-
|
||||
@@ -9,10 +9,10 @@ Subject: [PATCH 04/10] st/oxr: forward 0 refresh rate
|
||||
2 files changed, 2 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/main/comp_compositor.c b/src/xrt/compositor/main/comp_compositor.c
|
||||
index 41dfe48bc..e29795e42 100644
|
||||
index b6c4947bf..0e8ed02b7 100644
|
||||
--- a/src/xrt/compositor/main/comp_compositor.c
|
||||
+++ b/src/xrt/compositor/main/comp_compositor.c
|
||||
@@ -368,7 +368,7 @@ compositor_request_display_refresh_rate(struct xrt_compositor *xc, float display
|
||||
@@ -372,7 +372,7 @@ compositor_request_display_refresh_rate(struct xrt_compositor *xc, float display
|
||||
if (c->target && c->target->request_refresh_rate) {
|
||||
xrt_result_t result = comp_target_request_refresh_rate(c->target, display_refresh_rate_hz);
|
||||
// Assume refresh rate change is immediate
|
||||
@@ -22,10 +22,10 @@ index 41dfe48bc..e29795e42 100644
|
||||
return result;
|
||||
}
|
||||
diff --git a/src/xrt/state_trackers/oxr/oxr_api_session.c b/src/xrt/state_trackers/oxr/oxr_api_session.c
|
||||
index f58bdac52..556e12100 100644
|
||||
index 587cdf28f..b1f96df54 100644
|
||||
--- a/src/xrt/state_trackers/oxr/oxr_api_session.c
|
||||
+++ b/src/xrt/state_trackers/oxr/oxr_api_session.c
|
||||
@@ -454,15 +454,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate)
|
||||
@@ -455,15 +455,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate)
|
||||
OXR_VERIFY_SESSION_AND_INIT_LOG(&log, session, sess, "xrRequestDisplayRefreshRateFB");
|
||||
OXR_VERIFY_SESSION_NOT_LOST(&log, sess);
|
||||
|
||||
@@ -43,5 +43,5 @@ index f58bdac52..556e12100 100644
|
||||
if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) {
|
||||
found = true;
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 405df0e880a8fff52a01992eb96fa634cc795ba6 Mon Sep 17 00:00:00 2001
|
||||
From 9bc7706f3fcd7fdaf31da2f305d6939a49817797 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Wed, 11 Sep 2024 22:56:29 +0200
|
||||
Subject: [PATCH 05/10] Replace distortion with foveation
|
||||
Subject: [PATCH 05/11] Replace distortion with foveation
|
||||
|
||||
---
|
||||
src/xrt/compositor/main/comp_renderer.c | 6 +-
|
||||
@@ -20,10 +20,10 @@ Subject: [PATCH 05/10] Replace distortion with foveation
|
||||
13 files changed, 356 insertions(+), 592 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c
|
||||
index 16c16fd7a..40b219cef 100644
|
||||
index f6c403015..ff9728a59 100644
|
||||
--- a/src/xrt/compositor/main/comp_renderer.c
|
||||
+++ b/src/xrt/compositor/main/comp_renderer.c
|
||||
@@ -1005,7 +1005,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
@@ -983,7 +983,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
|
||||
// Target Vulkan resources..
|
||||
VkImage target_image = r->c->target->images[r->acquired_buffer].handle;
|
||||
@@ -33,7 +33,7 @@ index 16c16fd7a..40b219cef 100644
|
||||
|
||||
// Target view information.
|
||||
struct render_viewport_data target_viewport_datas[XRT_MAX_VIEWS];
|
||||
@@ -1022,7 +1023,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
@@ -1000,7 +1001,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
eye_poses, //
|
||||
fovs, //
|
||||
target_image, //
|
||||
@@ -44,7 +44,7 @@ index 16c16fd7a..40b219cef 100644
|
||||
|
||||
// Everything is ready, submit to the queue.
|
||||
diff --git a/src/xrt/compositor/main/comp_target.h b/src/xrt/compositor/main/comp_target.h
|
||||
index 2122f46e7..53dcd631b 100644
|
||||
index 953052155..68ca15cb9 100644
|
||||
--- a/src/xrt/compositor/main/comp_target.h
|
||||
+++ b/src/xrt/compositor/main/comp_target.h
|
||||
@@ -62,7 +62,8 @@ enum comp_target_display_timing_usage
|
||||
@@ -647,7 +647,7 @@ index 62d7138b9..44c3f0aee 100644
|
||||
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.image = target_image,
|
||||
diff --git a/src/xrt/compositor/render/render_interface.h b/src/xrt/compositor/render/render_interface.h
|
||||
index 8ca26704a..b7d1d96a8 100644
|
||||
index 2b7893881..3c59645dc 100644
|
||||
--- a/src/xrt/compositor/render/render_interface.h
|
||||
+++ b/src/xrt/compositor/render/render_interface.h
|
||||
@@ -82,12 +82,8 @@ extern "C" {
|
||||
@@ -720,7 +720,7 @@ index 8ca26704a..b7d1d96a8 100644
|
||||
} distortion;
|
||||
};
|
||||
|
||||
@@ -1254,6 +1236,7 @@ struct render_compute_layer_ubo_data
|
||||
@@ -1262,6 +1244,7 @@ struct render_compute_layer_ubo_data
|
||||
//! Timewarp matrices
|
||||
struct xrt_matrix_4x4 transforms_timewarp[RENDER_MAX_LAYERS];
|
||||
|
||||
@@ -728,7 +728,7 @@ index 8ca26704a..b7d1d96a8 100644
|
||||
/*!
|
||||
* For quad layers
|
||||
*/
|
||||
@@ -1293,6 +1276,14 @@ struct render_compute_distortion_ubo_data
|
||||
@@ -1307,6 +1290,14 @@ struct render_compute_distortion_ubo_data
|
||||
struct xrt_matrix_4x4 transform_timewarp_scanout_end[XRT_MAX_VIEWS];
|
||||
};
|
||||
|
||||
@@ -743,7 +743,7 @@ index 8ca26704a..b7d1d96a8 100644
|
||||
/*!
|
||||
* Init struct and create resources needed for compute rendering.
|
||||
*
|
||||
@@ -1346,7 +1337,8 @@ render_compute_layers(struct render_compute *render,
|
||||
@@ -1360,7 +1351,8 @@ render_compute_layers(struct render_compute *render,
|
||||
VkSampler src_samplers[RENDER_MAX_IMAGES_SIZE],
|
||||
VkImageView src_image_views[RENDER_MAX_IMAGES_SIZE],
|
||||
uint32_t num_srcs,
|
||||
@@ -753,7 +753,7 @@ index 8ca26704a..b7d1d96a8 100644
|
||||
const struct render_viewport_data *view,
|
||||
bool timewarp);
|
||||
|
||||
@@ -1354,44 +1346,14 @@ render_compute_layers(struct render_compute *render,
|
||||
@@ -1368,44 +1360,14 @@ render_compute_layers(struct render_compute *render,
|
||||
* @public @memberof render_compute
|
||||
*/
|
||||
void
|
||||
@@ -806,7 +806,7 @@ index 8ca26704a..b7d1d96a8 100644
|
||||
|
||||
/*!
|
||||
* @public @memberof render_compute
|
||||
@@ -1399,7 +1361,8 @@ render_compute_projection_no_timewarp(struct render_compute *render,
|
||||
@@ -1413,7 +1375,8 @@ render_compute_projection_no_timewarp(struct render_compute *render,
|
||||
void
|
||||
render_compute_clear(struct render_compute *render,
|
||||
VkImage target_image,
|
||||
@@ -1415,7 +1415,7 @@ index bd7ab2957..c2b95d68d 100644
|
||||
bool do_timewarp);
|
||||
|
||||
diff --git a/src/xrt/compositor/util/comp_render_cs.c b/src/xrt/compositor/util/comp_render_cs.c
|
||||
index a0cc735a1..f75efddf4 100644
|
||||
index 6e93eabe8..4a304c6f7 100644
|
||||
--- a/src/xrt/compositor/util/comp_render_cs.c
|
||||
+++ b/src/xrt/compositor/util/comp_render_cs.c
|
||||
@@ -370,7 +370,8 @@ crc_clear_output(struct render_compute *render, const struct comp_render_dispatc
|
||||
@@ -1621,7 +1621,7 @@ index a0cc735a1..f75efddf4 100644
|
||||
view_index, // view_index
|
||||
cur_layer, // cur_layer
|
||||
cur_image, // cur_image
|
||||
@@ -713,7 +663,8 @@ comp_render_cs_layer(struct render_compute *render,
|
||||
@@ -716,7 +666,8 @@ comp_render_cs_layer(struct render_compute *render,
|
||||
src_samplers, //
|
||||
src_image_views, //
|
||||
cur_image, //
|
||||
@@ -1631,7 +1631,7 @@ index a0cc735a1..f75efddf4 100644
|
||||
target_view, //
|
||||
do_timewarp); //
|
||||
}
|
||||
@@ -750,6 +701,7 @@ comp_render_cs_layers(struct render_compute *render,
|
||||
@@ -753,6 +704,7 @@ comp_render_cs_layers(struct render_compute *render,
|
||||
&view->eye_pose, //
|
||||
view->squash.image, //
|
||||
view->squash.cs.storage_view, //
|
||||
@@ -1640,5 +1640,5 @@ index a0cc735a1..f75efddf4 100644
|
||||
d->do_timewarp); //
|
||||
}
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
From e642d6e1ed14dfaed47417043fe40cc9ed46eccc Mon Sep 17 00:00:00 2001
|
||||
From 25660f30f1fffeeeec864e66280619a0fb127859 Mon Sep 17 00:00:00 2001
|
||||
From: no name <git-am@invalid>
|
||||
Date: Sun, 28 Sep 2025 11:33:10 +0200
|
||||
Subject: [PATCH 06/10] d/steamvr_lh: prevent crash on vive pro2/WiVRn
|
||||
Subject: [PATCH 06/11] d/steamvr_lh: prevent crash on vive pro2/WiVRn
|
||||
|
||||
---
|
||||
src/xrt/drivers/steamvr_lh/steamvr_lh.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
|
||||
index 111a4d225..cdc06d0a7 100644
|
||||
index 25c68a0ea..86baa9fd4 100644
|
||||
--- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
|
||||
+++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
|
||||
@@ -895,7 +895,7 @@ steamvr_lh_create_devices(struct xrt_prober *xp, struct xrt_system_devices **out
|
||||
@@ -913,7 +913,7 @@ steamvr_lh_create_devices(struct xrt_prober *xp, struct xrt_system_devices **out
|
||||
|
||||
// Include the HMD
|
||||
if (svrs->ctx->hmd) {
|
||||
@@ -21,5 +21,5 @@ index 111a4d225..cdc06d0a7 100644
|
||||
}
|
||||
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,35 +1,40 @@
|
||||
From ab48560e8e94c11d10ade2543faae3102bb90732 Mon Sep 17 00:00:00 2001
|
||||
From 6d9977658df239ae367db0ace23ae5e3744899b5 Mon Sep 17 00:00:00 2001
|
||||
From: Sapphire <imsapphire0@gmail.com>
|
||||
Date: Fri, 7 Nov 2025 20:41:16 -0600
|
||||
Subject: [PATCH 07/10] st/oxr: push XrEventDataInteractionProfileChanged when
|
||||
Subject: [PATCH 07/11] st/oxr: push XrEventDataInteractionProfileChanged when
|
||||
profile changes to NULL
|
||||
|
||||
---
|
||||
src/xrt/state_trackers/oxr/oxr_input.c | 15 +++++++++++----
|
||||
1 file changed, 11 insertions(+), 4 deletions(-)
|
||||
src/xrt/state_trackers/oxr/oxr_input.c | 15 +++++----------
|
||||
1 file changed, 5 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/state_trackers/oxr/oxr_input.c b/src/xrt/state_trackers/oxr/oxr_input.c
|
||||
index a319e044d..cd1cd4bd9 100644
|
||||
index 388a37d9d..8e3bd9513 100644
|
||||
--- a/src/xrt/state_trackers/oxr/oxr_input.c
|
||||
+++ b/src/xrt/state_trackers/oxr/oxr_input.c
|
||||
@@ -1882,15 +1882,22 @@ oxr_session_update_action_bindings(struct oxr_logger *log, struct oxr_session *s
|
||||
@@ -1881,26 +1881,21 @@ oxr_session_update_action_bindings(struct oxr_logger *log, struct oxr_session *s
|
||||
}
|
||||
}
|
||||
|
||||
- /*
|
||||
- * This code will only send events (and update the bindings) if there
|
||||
- * is a profile mapped to the subaction path. Meaning it won't update
|
||||
- * the cache or generate events when a controller goes away, basically
|
||||
- * latching the interaction profile to the last active device.
|
||||
- */
|
||||
+ bool any_profile_changed = false;
|
||||
+
|
||||
#define POPULATE_PROFILE(X) \
|
||||
- sess->X = XR_NULL_PATH; \
|
||||
- if (profiles.X != NULL) { \
|
||||
- sess->X = profiles.X->path; \
|
||||
- oxr_event_push_XrEventDataInteractionProfileChanged(log, sess); \
|
||||
+ { \
|
||||
+ const XrPath new_path = profiles.X ? profiles.X->path : XR_NULL_PATH; \
|
||||
+ if (sess->X != new_path) { \
|
||||
+ sess->X = new_path; \
|
||||
do { \
|
||||
XrPath path = profiles.X != NULL ? profiles.X->path : XR_NULL_PATH; \
|
||||
- if (path == XR_NULL_PATH) { \
|
||||
- break; /* Only update on "active" interaction profiles per sub-action path. */ \
|
||||
- } \
|
||||
if (sess->X != path) { \
|
||||
sess->X = path; \
|
||||
- oxr_event_push_XrEventDataInteractionProfileChanged(log, sess); \
|
||||
+ any_profile_changed = true; \
|
||||
+ } \
|
||||
}
|
||||
} \
|
||||
} while (false);
|
||||
OXR_FOR_EACH_VALID_SUBACTION_PATH(POPULATE_PROFILE)
|
||||
#undef POPULATE_PROFILE
|
||||
|
||||
@@ -40,5 +45,5 @@ index a319e044d..cd1cd4bd9 100644
|
||||
}
|
||||
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 8c1184b92396ea927f639b9a068307c81123fbf6 Mon Sep 17 00:00:00 2001
|
||||
From 8a05785464f1f8d1ba8f947b57ebf88d37177954 Mon Sep 17 00:00:00 2001
|
||||
From: rcelyte <rcelyte@battletrains.org>
|
||||
Date: Mon, 8 Dec 2025 19:29:28 +0000
|
||||
Subject: [PATCH 08/10] d/solarxr: Fix flatpak socket path
|
||||
Subject: [PATCH 08/11] d/solarxr: Fix flatpak socket path
|
||||
|
||||
---
|
||||
src/xrt/drivers/solarxr/solarxr_ipc_socket.c | 2 +-
|
||||
@@ -21,5 +21,5 @@ index d50d30310..8a958ad8c 100644
|
||||
memcpy(&addr.sun_path[runtime_dir_len], flatpak_runtime_dir, sizeof(flatpak_runtime_dir) - 1);
|
||||
memcpy(&addr.sun_path[runtime_dir_len + (sizeof(flatpak_runtime_dir) - 1)], filename, filename_len + 1);
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 4c35c93877ba26f43190a80ec9d8f551ecd0b022 Mon Sep 17 00:00:00 2001
|
||||
From 677fcc118afabccb285c2b4f83c41ef7d3dbfa93 Mon Sep 17 00:00:00 2001
|
||||
From: rcelyte <rcelyte@battletrains.org>
|
||||
Date: Fri, 14 Nov 2025 19:48:59 +0000
|
||||
Subject: [PATCH 09/10] d/solarxr: Sync at fixed rate This improves tracking
|
||||
Subject: [PATCH 09/11] d/solarxr: Sync at fixed rate This improves tracking
|
||||
latency by allowing SlimeVR to synchronize updates with its processing loop.
|
||||
|
||||
---
|
||||
@@ -522,5 +522,5 @@ index ec5444b2a..29c0f9716 100644
|
||||
out_xdevs[0] = &device->base;
|
||||
for (uint32_t i = 0; i < trackers_len; ++i) {
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 0d7ea2766bbb7d3c729e0e1af703a19b87bf6497 Mon Sep 17 00:00:00 2001
|
||||
From 13b8bff84a6bddb7cbf961985575af5aaea09838 Mon Sep 17 00:00:00 2001
|
||||
From: rcelyte <rcelyte@battletrains.org>
|
||||
Date: Mon, 15 Sep 2025 22:46:15 +0000
|
||||
Subject: [PATCH 10/10] d/solarxr: Feed device poses to server
|
||||
Subject: [PATCH 10/11] d/solarxr: Feed device poses to server
|
||||
|
||||
---
|
||||
src/xrt/drivers/CMakeLists.txt | 2 +
|
||||
@@ -15,10 +15,10 @@ Subject: [PATCH 10/10] d/solarxr: Feed device poses to server
|
||||
create mode 100644 src/xrt/drivers/solarxr/feeder.h
|
||||
|
||||
diff --git a/src/xrt/drivers/CMakeLists.txt b/src/xrt/drivers/CMakeLists.txt
|
||||
index bd31b3374..f8406e0f3 100644
|
||||
index b44617e1a..040bd76b7 100644
|
||||
--- a/src/xrt/drivers/CMakeLists.txt
|
||||
+++ b/src/xrt/drivers/CMakeLists.txt
|
||||
@@ -529,6 +529,8 @@ endif()
|
||||
@@ -543,6 +543,8 @@ endif()
|
||||
if(XRT_BUILD_DRIVER_SOLARXR)
|
||||
add_library(
|
||||
drv_solarxr STATIC
|
||||
@@ -862,5 +862,5 @@ index c56bb15b1..209345f79 100644
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
From 38b1b5dbeff17e65e136af337a1385e9e14f8723 Mon Sep 17 00:00:00 2001
|
||||
From fe9b669d6d023db39409fb60e66eb498d0610732 Mon Sep 17 00:00:00 2001
|
||||
From: no name <git-am@invalid>
|
||||
Date: Thu, 15 Jan 2026 12:13:06 +0100
|
||||
Subject: [PATCH] Don't get pose data for fast path
|
||||
Subject: [PATCH 11/11] Don't get pose data for fast path
|
||||
|
||||
---
|
||||
src/xrt/compositor/main/comp_renderer.c | 17 +++++++++--------
|
||||
1 file changed, 9 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c
|
||||
index 40b219cef..febd35faa 100644
|
||||
index ff9728a59..08cdef540 100644
|
||||
--- a/src/xrt/compositor/main/comp_renderer.c
|
||||
+++ b/src/xrt/compositor/main/comp_renderer.c
|
||||
@@ -994,14 +994,15 @@ dispatch_compute(struct comp_renderer *r,
|
||||
@@ -972,14 +972,15 @@ dispatch_compute(struct comp_renderer *r,
|
||||
struct xrt_pose world_poses_scanout_begin[XRT_MAX_VIEWS];
|
||||
struct xrt_pose world_poses_scanout_end[XRT_MAX_VIEWS];
|
||||
struct xrt_pose eye_poses[XRT_MAX_VIEWS];
|
||||
@@ -36,5 +36,5 @@ index 40b219cef..febd35faa 100644
|
||||
// Target Vulkan resources..
|
||||
VkImage target_image = r->c->target->images[r->acquired_buffer].handle;
|
||||
--
|
||||
2.52.0
|
||||
2.53.0
|
||||
|
||||
|
||||
@@ -392,8 +392,11 @@ static void target_init_semaphores(struct wivrn_comp_target * cn)
|
||||
}
|
||||
}
|
||||
|
||||
static void comp_wivrn_create_images(struct comp_target * ct, const struct comp_target_create_images_info * create_info)
|
||||
static void comp_wivrn_create_images(struct comp_target * ct, const struct comp_target_create_images_info * create_info, struct vk_bundle_queue * present_queue)
|
||||
{
|
||||
assert(present_queue != NULL);
|
||||
(void)present_queue;
|
||||
|
||||
struct wivrn_comp_target * cn = (struct wivrn_comp_target *)ct;
|
||||
|
||||
// Free old images.
|
||||
@@ -509,12 +512,15 @@ static void comp_wivrn_present_thread(std::stop_token stop_token, wivrn_comp_tar
|
||||
}
|
||||
|
||||
static VkResult comp_wivrn_present(struct comp_target * ct,
|
||||
VkQueue queue_,
|
||||
struct vk_bundle_queue * present_queue,
|
||||
uint32_t index,
|
||||
uint64_t timeline_semaphore_value,
|
||||
int64_t desired_present_time_ns,
|
||||
int64_t present_slop_ns)
|
||||
{
|
||||
assert(present_queue != NULL);
|
||||
(void)present_queue;
|
||||
|
||||
struct wivrn_comp_target * cn = (struct wivrn_comp_target *)ct;
|
||||
|
||||
assert(index < cn->image_count);
|
||||
|
||||
Reference in New Issue
Block a user