From 0b4ca9313cc7eb4845cf7f4e87c869c0c6d6ff0d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 10 May 2011 20:36:10 +0100 Subject: 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 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37068 Signed-off-by: Chris Wilson --- src/intel_video.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/intel_video.c') diff --git a/src/intel_video.c b/src/intel_video.c index 499614f0..021ca5fe 100644 --- a/src/intel_video.c +++ b/src/intel_video.c @@ -1599,6 +1599,7 @@ I830PutImageTextured(ScrnInfoPtr scrn, pixmap); } + intel_get_screen_private(scrn)->needs_flush = TRUE; DamageDamageRegion(drawable, clipBoxes); return Success; -- cgit v1.2.3