[Mesa-dev] [PATCH 3/7] intel: Add a batch flush between front-buffer downsample and X protocol.

Eric Anholt eric at anholt.net
Wed Jan 9 12:42:23 PST 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.
---
 src/mesa/drivers/dri/intel/intel_context.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index f3f9983..d1340df 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -292,6 +292,7 @@ intel_flush_front(struct gl_context *ctx)
           * performance.
           */
          intel_downsample_for_dri2_flush(intel, driDrawable);
+         intel_flush(ctx);
 
          screen->dri2.loader->flushFrontBuffer(driDrawable,
                                                driDrawable->loaderPrivate);
-- 
1.7.10.4



More information about the mesa-dev mailing list