mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-02 03:15:52 +00:00
present: Add flip_idler vblank property
Introduce vblank property for flip modes, that demand explicite allowance by the driver for vblanks to become idle. Signed-off-by: Roman Gilg <subdiff@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
84e47f3fe6
commit
92b91b8cf3
2 changed files with 2 additions and 0 deletions
|
|
@ -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) &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue