compositor: Don't pass a time to weston_output_repaint()

Nothing does anything with this.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2025-07-23 15:07:55 -05:00 committed by Marius Vlad
parent 28bdcb46be
commit f132462df7

View file

@ -3755,7 +3755,7 @@ output_assign_planes(struct weston_output *output)
}
static int
weston_output_repaint(struct weston_output *output, struct timespec *now)
weston_output_repaint(struct weston_output *output)
{
WESTON_TRACE_FUNC();
struct weston_compositor *ec = output->compositor;
@ -3884,10 +3884,8 @@ weston_output_repaint(struct weston_output *output, struct timespec *now)
/* If repaint fails, we aren't going to get weston_output_finish_frame
* to trigger a new repaint, so drop it from repaint and hope
* something schedules a successful repaint later. As repainting may
* take some time, re-read our clock as a courtesy to the next
* output. */
weston_compositor_read_presentation_clock(ec, now);
* something schedules a successful repaint later.
*/
if (r != 0)
weston_output_schedule_repaint_reset(output);
@ -4123,7 +4121,7 @@ output_repaint_timer_handler(void *data)
if (!output->will_repaint)
continue;
ret = weston_output_repaint(output, &now);
ret = weston_output_repaint(output);
if (ret)
break;
}