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:
Chris Wilson 2011-05-10 20:36:10 +01:00
parent bb8bf2a28b
commit 0b4ca9313c
1 changed files with 1 additions and 0 deletions

View File

@ -1599,6 +1599,7 @@ I830PutImageTextured(ScrnInfoPtr scrn,
pixmap);
}
intel_get_screen_private(scrn)->needs_flush = TRUE;
DamageDamageRegion(drawable, clipBoxes);
return Success;