xf86-video-intel: src/sna/sna_dri2.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Aug 3 07:09:40 UTC 2016
src/sna/sna_dri2.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit a77397a315db5402f4775ce8e15a5f60c5c43400
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Aug 3 08:07:00 2016 +0100
sna/dri2: Flush rendering to a reused front buffer before reporting
When the client calls DRI2GetBuffers it expects the buffer to be
coherent, that is all X rendering to it flushed to hardware for it to be
able to read back.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 47bd2ed..2c3a3ed 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -643,6 +643,7 @@ sna_dri2_create_buffer(DrawablePtr draw,
assert(private->bo->pitch == buffer->pitch);
assert(private->bo->active_scanout);
+ kgem_bo_submit(&sna->kgem, private->bo);
private->refcnt++;
return buffer;
}
More information about the xorg-commit
mailing list