Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Vindicus999
2025-06-10 17:38:56 +00:00
27 changed files with 114 additions and 92 deletions
@@ -1,4 +1,4 @@
From 75d2fe061edd2a268ea9f5fbedc90efd8ffea519 Mon Sep 17 00:00:00 2001
From 4c22024929342b69b4a1c7d30334b994ea8c78c1 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/11] c/multi: early wake of compositor
@@ -51,7 +51,7 @@ index 3351defa4..e8f0c8295 100644
{
int64_t predicted_display_time_ns;
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
index b06b03a58..249e07d7d 100644
index a0bd04e08..9d7610d02 100644
--- a/src/xrt/compositor/multi/comp_multi_system.c
+++ b/src/xrt/compositor/multi/comp_multi_system.c
@@ -23,6 +23,8 @@
@@ -93,7 +93,7 @@ index b06b03a58..249e07d7d 100644
}
static void
@@ -525,10 +534,13 @@ multi_main_loop(struct multi_system_compositor *msc)
@@ -526,10 +535,13 @@ multi_main_loop(struct multi_system_compositor *msc)
broadcast_timings_to_clients(msc, predicted_display_time_ns);
// Now we can wait.
@@ -109,7 +109,7 @@ index b06b03a58..249e07d7d 100644
// Now we know the diff, broadcast to pacers.
broadcast_timings_to_pacers(msc, predicted_display_time_ns, predicted_display_period_ns, diff_ns);
@@ -705,6 +717,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
@@ -706,6 +718,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
xrt_comp_native_destroy(&msc->xcn);
os_mutex_destroy(&msc->list_and_timing_lock);
@@ -118,7 +118,7 @@ index b06b03a58..249e07d7d 100644
free(msc);
}
@@ -759,6 +773,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
@@ -760,6 +774,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
msc->sessions.state = do_warm_start ? MULTI_SYSTEM_STATE_INIT_WARM_START : MULTI_SYSTEM_STATE_STOPPED;
os_mutex_init(&msc->list_and_timing_lock);
@@ -1,4 +1,4 @@
From 3a8d64c0f569425e2f07b4c2a7803c9bfbc224df Mon Sep 17 00:00:00 2001
From dab0f39ec43bd1eb7d17d3bc32d1a2404cfa3702 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 2 Apr 2024 17:14:42 +0200
Subject: [PATCH 02/11] ipc/server: Always listen to stdin
@@ -1,4 +1,4 @@
From 1a8f4aada945314ac852b19ce20c2ed0345f5bb2 Mon Sep 17 00:00:00 2001
From 4abefae5f0c3bfbe959368d2708384e4cb503ef5 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 8 Oct 2024 22:13:15 +0200
Subject: [PATCH 03/11] Use extern socket fd
@@ -1,4 +1,4 @@
From 2f38475c9b51f2d2e92f2fd3d51dcef6d7a53e83 Mon Sep 17 00:00:00 2001
From da5a76a27abe3b9b44bc0dd432eb273c89cd4575 Mon Sep 17 00:00:00 2001
From: galister <3123227-galister@users.noreply.gitlab.com>
Date: Mon, 19 Aug 2024 18:51:45 +0900
Subject: [PATCH 04/11] c/render: Add storage usage to distortion mesh
@@ -1,4 +1,4 @@
From 15eec19c226eb78cb9bc7ebd0021ab226402245a Mon Sep 17 00:00:00 2001
From 322b8b36d52afe7f5b57f5785c8b07bc37d315e8 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 05/11] change environment blend mode selection logic
@@ -8,7 +8,7 @@ Subject: [PATCH 05/11] change environment blend mode selection logic
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
index 249e07d7d..12c8fc455 100644
index 9d7610d02..f3131e810 100644
--- a/src/xrt/compositor/multi/comp_multi_system.c
+++ b/src/xrt/compositor/multi/comp_multi_system.c
@@ -232,23 +232,31 @@ find_active_blend_mode(struct multi_compositor **overlay_sorted_clients, size_t
@@ -1,4 +1,4 @@
From 06497b57fc56d48611ffc9b6f1bd431141097174 Mon Sep 17 00:00:00 2001
From 52417118d51d284ab5c0cd3d2c9a93c487b66f5f Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Wed, 11 Sep 2024 22:56:29 +0200
Subject: [PATCH 06/11] Convert to YCbCr in Monado
@@ -1,4 +1,4 @@
From 2be6264cd7091d593cfec71b7952ff2409ceae4d Mon Sep 17 00:00:00 2001
From 40c05c4cae8af77048580a83631aa51b0f48dfec Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sun, 3 Nov 2024 13:40:00 +0100
Subject: [PATCH 07/11] store alpha channel in layer 1
@@ -1,4 +1,4 @@
From f5f2fafe497c688170e176ee4e47b9d9dce8ab7b Mon Sep 17 00:00:00 2001
From e92fb94901fc652bde712af1e90c14237ea26f8f Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Wed, 19 Feb 2025 10:13:36 +0100
Subject: [PATCH 08/11] st/oxr: bind to dynamic role's profile
@@ -8,10 +8,10 @@ Subject: [PATCH 08/11] st/oxr: bind to dynamic role's profile
1 file changed, 17 insertions(+)
diff --git a/src/xrt/state_trackers/oxr/oxr_binding.c b/src/xrt/state_trackers/oxr/oxr_binding.c
index 07378d7b3..83a7b241d 100644
index ce4c0cca1..8ba94dc55 100644
--- a/src/xrt/state_trackers/oxr/oxr_binding.c
+++ b/src/xrt/state_trackers/oxr/oxr_binding.c
@@ -380,6 +380,23 @@ oxr_find_profile_for_device(struct oxr_logger *log,
@@ -488,6 +488,23 @@ oxr_find_profile_for_device(struct oxr_logger *log,
return;
}
@@ -1,4 +1,4 @@
From a906c4d2bc48306a60cd38ceef7dda9d3c7ab0ab Mon Sep 17 00:00:00 2001
From 685e9804eb0abe3fcd6da67ffbc180db35ca4e1d Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Thu, 27 Feb 2025 22:45:36 +0100
Subject: [PATCH 09/11] c/main: allow custom pacing app factory
@@ -1,4 +1,4 @@
From aab3a63932eafc7781d6ebbcbb3e825beb0ef4de Mon Sep 17 00:00:00 2001
From cbb5662aacc68f28e6628c9fda86a156b08d63a9 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sat, 15 Mar 2025 22:19:48 +0100
Subject: [PATCH 10/11] st/oxr: forward 0 refresh rate
@@ -8,7 +8,7 @@ Subject: [PATCH 10/11] st/oxr: forward 0 refresh rate
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/xrt/state_trackers/oxr/oxr_api_session.c b/src/xrt/state_trackers/oxr/oxr_api_session.c
index df8ec96b7..cbc542130 100644
index b3dac8c8a..27d80be9a 100644
--- a/src/xrt/state_trackers/oxr/oxr_api_session.c
+++ b/src/xrt/state_trackers/oxr/oxr_api_session.c
@@ -645,15 +645,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate)
@@ -1,4 +1,4 @@
From e3efcbec31cfc515be3316d51d9e65bd51f4fe07 Mon Sep 17 00:00:00 2001
From b659d6c6034b8714a014fc6a5819bb2556c6f0bb Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Mon, 2 Jun 2025 14:51:11 +0200
Subject: [PATCH 11/11] Replace distortion with pixel-aligned foveation