summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-05-10 20:36:10 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2011-05-30 00:26:04 +0100
commit345fcfc04f4b910c4c10ff0faa8a3097005bb9fc (patch)
tree1bb29fbd46bf1629a203866524bd0099afa8f035
parentc546e88540290d9fcea5b49f2f5f4c1ab897b13f (diff)
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> (cherry picked from commit 0b4ca9313cc7eb4845cf7f4e87c869c0c6d6ff0d) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
-rw-r--r--src/intel_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel_video.c b/src/intel_video.c
index b516a318..7de8d2b4 100644
--- a/src/intel_video.c
+++ b/src/intel_video.c
@@ -2490,6 +2490,7 @@ I830PutImageTextured(ScrnInfoPtr scrn,
pixmap);
}
+ intel_get_screen_private(scrn)->needs_flush = TRUE;
DamageDamageRegion(drawable, clipBoxes);
return Success;