diff options
author | Eric Anholt <[email protected]> | 2012-12-28 12:19:42 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-08-30 11:30:44 -0700 |
commit | bbdc83bca9cd0a72f4729dd15f0054b3b9b902cf (patch) | |
tree | 1a36a45f6117cdac0e40d06e82485c8ba651d4c2 | |
parent | 6404fcb266753a2fd8243210b3553bfe846ce104 (diff) |
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 <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |