The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/multi: Make sure there are at least some predicted data

To avoid asserts in non-service mode.

+8
+2
doc/changes/compositor/mr.864.md
··· 1 + multi: Make sure there are at least some predicted data, to avoid asserts in 2 + non-service mode.
+6
src/xrt/compositor/multi/comp_multi_system.c
··· 516 516 msc->base.info = *xsci; 517 517 msc->xcn = xcn; 518 518 519 + //! @todo Make the clients not go from IDLE to READY before we have completed a first frame. 520 + // Make sure there is at least some sort of valid frame data here. 521 + msc->last_timings.predicted_display_time_ns = os_monotonic_get_ns(); // As good as any time. 522 + msc->last_timings.predicted_display_period_ns = U_TIME_1MS_IN_NS * 16; // Just a wild guess. 523 + msc->last_timings.diff_ns = U_TIME_1MS_IN_NS * 5; // Make sure it's not zero at least. 524 + 519 525 int ret = os_thread_helper_init(&msc->oth); 520 526 if (ret < 0) { 521 527 return XRT_ERROR_THREADING_INIT_FAILURE;