[Mesa-dev] [PATCH 2/8] intel: Add a batch flush between front-buffer downsample and X protocol.
Eric Anholt
eric at anholt.net
Tue Aug 27 15:21:11 PDT 2013
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>
---
src/mesa/drivers/dri/i965/intel_context.c | 1 +
1 file changed, 1 insertion(+)
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);
--
1.8.4.rc3
More information about the mesa-dev
mailing list