backend/drm: Add async page flip support to legacy

Atomic doesn't support such flags yet.
This commit is contained in:
vaxerski 2023-09-28 17:21:22 +01:00 committed by Simon Zeni
parent 5dec1c8bcb
commit c2aa7fd965
5 changed files with 30 additions and 2 deletions

View file

@ -665,6 +665,9 @@ static bool output_basic_test(struct wlr_output *output,
wlr_log(WLR_DEBUG, "Primary buffer size mismatch");
return false;
}
} else if (state->tearing_page_flip) {
wlr_log(WLR_ERROR, "Trying to commit a tearing page flip without a buffer?");
return false;
}
if (state->committed & WLR_OUTPUT_STATE_RENDER_FORMAT) {