video: Flush the batch on the next blockhandler after queuing
In order to avoid video lag and jerky playback we need to ensure that
any queued video is flushed before we go to sleep.
Fixes regression from 6f104189bb.
Reported-and-tested-by: Edward Sheldrake <ejsheldrake@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37068
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
bb8bf2a28b
commit
0b4ca9313c
|
|
@ -1599,6 +1599,7 @@ I830PutImageTextured(ScrnInfoPtr scrn,
|
|||
pixmap);
|
||||
}
|
||||
|
||||
intel_get_screen_private(scrn)->needs_flush = TRUE;
|
||||
DamageDamageRegion(drawable, clipBoxes);
|
||||
|
||||
return Success;
|
||||
|
|
|
|||
Loading…
Reference in New Issue