c/multi: Add stub set thread hint function

This commit is contained in:
Jakob Bornecrantz 2023-09-13 20:02:09 +01:00
parent 81a094f990
commit 54017f6b3e

View file

@ -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;