diff --git a/present/present_priv.h b/present/present_priv.h index 3fba10d73..5e1bc3c3f 100644 --- a/present/present_priv.h +++ b/present/present_priv.h @@ -79,6 +79,7 @@ struct present_vblank { Bool requeue; /* on queue, but target_msc has changed */ Bool flip; /* planning on using flip */ Bool flip_ready; /* wants to flip, but waiting for previous flip or unflip */ + Bool flip_idler; /* driver explicitly permitted idling */ Bool sync_flip; /* do flip synchronous to vblank */ Bool abort_flip; /* aborting this flip */ PresentFlipReason reason; /* reason for which flip is not possible */ diff --git a/present/present_vblank.c b/present/present_vblank.c index 6265dffa5..fac639b22 100644 --- a/present/present_vblank.c +++ b/present/present_vblank.c @@ -106,6 +106,7 @@ present_vblank_create(WindowPtr window, vblank->notifies = notifies; vblank->num_notifies = num_notifies; vblank->has_suboptimal = (options & PresentOptionSuboptimal); + vblank->flip_idler = FALSE; if (pixmap != NULL && !(options & PresentOptionCopy) &&