diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-05-10 20:36:10 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-05-10 20:36:18 +0100 |
commit | 0b4ca9313cc7eb4845cf7f4e87c869c0c6d6ff0d (patch) | |
tree | 89e7db5bca4f0f6816ae8d4346ff309eb8401aed /src/intel_video.c | |
parent | bb8bf2a28bcb5e838bf4bb7e80ce220d28540719 (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>
Diffstat (limited to 'src/intel_video.c')
-rw-r--r-- | src/intel_video.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |