mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-15 08:22:07 -04:00
Add frame scheduler interface
This commit is contained in:
parent
c66a910753
commit
98cbf09f8a
5 changed files with 240 additions and 0 deletions
|
|
@ -863,6 +863,7 @@ void wlr_output_schedule_frame(struct wlr_output *output) {
|
|||
// Make sure the compositor commits a new frame. This is necessary to make
|
||||
// clients which ask for frame callbacks without submitting a new buffer
|
||||
// work.
|
||||
// TODO(rose): figure out why
|
||||
wlr_output_update_needs_frame(output);
|
||||
|
||||
if (output->frame_pending || output->idle_frame != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue