output: add presentation refresh prediction

This commit is contained in:
emersion 2018-10-02 12:11:09 +02:00
parent abd3e995ab
commit eac7c2ad2f
9 changed files with 47 additions and 23 deletions

View file

@ -72,7 +72,7 @@ static bool output_swap_buffers(struct wlr_output *wlr_output,
}
// TODO: if available, use the presentation-time protocol
wlr_output_send_present(wlr_output, NULL, 0, 0);
wlr_output_send_present(wlr_output, NULL);
return true;
}