mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
backend/drm: Add async page flip support to legacy
Atomic doesn't support such flags yet.
This commit is contained in:
parent
5dec1c8bcb
commit
c2aa7fd965
5 changed files with 30 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue