From 54017f6b3ebfcbe6c24b7e46ecef6f6d090df474 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 13 Sep 2023 20:02:09 +0100 Subject: [PATCH] c/multi: Add stub set thread hint function --- src/xrt/compositor/multi/comp_multi_compositor.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/xrt/compositor/multi/comp_multi_compositor.c b/src/xrt/compositor/multi/comp_multi_compositor.c index 9d4b42e9b..0a829f232 100644 --- a/src/xrt/compositor/multi/comp_multi_compositor.c +++ b/src/xrt/compositor/multi/comp_multi_compositor.c @@ -875,6 +875,13 @@ multi_compositor_poll_events(struct xrt_compositor *xc, union xrt_compositor_eve return XRT_SUCCESS; } +static xrt_result_t +multi_compositor_set_thread_hint(struct xrt_compositor *xc, enum xrt_thread_hint hint, uint32_t thread_id) +{ + // No-op + return XRT_SUCCESS; +} + static void multi_compositor_destroy(struct xrt_compositor *xc) { @@ -1002,6 +1009,7 @@ multi_compositor_create(struct multi_system_compositor *msc, mc->base.base.layer_commit_with_semaphore = multi_compositor_layer_commit_with_semaphore; mc->base.base.destroy = multi_compositor_destroy; mc->base.base.poll_events = multi_compositor_poll_events; + mc->base.base.set_thread_hint = multi_compositor_set_thread_hint; mc->msc = msc; mc->xsi = *xsi;