From bbdc83bca9cd0a72f4729dd15f0054b3b9b902cf Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 28 Dec 2012 12:19:42 -0800 Subject: intel: Add a batch flush between front-buffer downsample and X protocol. This was already happening because blorp happens to flush at the end of every call, but we have been talking about removing that at some point, and this would surely get overlooked. v2 (Kenneth Graunke): Rebase on latest master. Note that we did remove the other flush, and this change actually did get overlooked! Reviewed-by: Kenneth Graunke Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/intel_context.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c index 9a089bf0261..0f1639f0b47 100644 --- a/src/mesa/drivers/dri/i965/intel_context.c +++ b/src/mesa/drivers/dri/i965/intel_context.c @@ -144,6 +144,7 @@ intel_flush_front(struct gl_context *ctx) * performance. */ intel_resolve_for_dri2_flush(brw, driDrawable); + intel_batchbuffer_flush(brw); screen->dri2.loader->flushFrontBuffer(driDrawable, driDrawable->loaderPrivate); -- cgit v1.2.3