Mesa (master): intel: Add a batch flush between front-buffer downsample and X protocol.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Aug 30 18:31:28 UTC 2013
Module: Mesa
Branch: master
Commit: bbdc83bca9cd0a72f4729dd15f0054b3b9b902cf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbdc83bca9cd0a72f4729dd15f0054b3b9b902cf
Author: Eric Anholt <eric at anholt.net>
Date: Fri Dec 28 12:19:42 2012 -0800
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 <kenneth at whitecape.org>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
---
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 9a089bf..0f1639f 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);
More information about the mesa-commit
mailing list