From 1ae3a25642759d2e6d7e9c401bd57b47391909b2 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Mon, 10 May 2021 11:39:08 +0300 Subject: [PATCH] libweston: choose only monotonic software presentation clocks This drops the software presentation clocks that could jump backwards. See the previous commit "libweston: assert frame times never go backwards" for the rationale. Signed-off-by: Pekka Paalanen --- libweston/compositor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libweston/compositor.c b/libweston/compositor.c index 89f438a2..3a96dea3 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -7652,8 +7652,6 @@ weston_compositor_set_presentation_clock_software( CLOCK_MONOTONIC_RAW, /* no jumps, no crawling */ CLOCK_MONOTONIC_COARSE, /* no jumps, may crawl, fast & coarse */ CLOCK_MONOTONIC, /* no jumps, may crawl */ - CLOCK_REALTIME_COARSE, /* may jump and crawl, fast & coarse */ - CLOCK_REALTIME /* may jump and crawl */ }; unsigned i;