From: Eric Anholt Date: Thu, 10 Jan 2008 22:50:06 +0000 (-0800) Subject: [intel] Remove gratuitous (batchbuffer) flush before doing buffer clears. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bf91229257c8b26710a23795ae1094aa98db8a8;p=mesa.git [intel] Remove gratuitous (batchbuffer) flush before doing buffer clears. Increases OA performance by about 3%. --- diff --git a/src/mesa/drivers/dri/intel/intel_buffers.c b/src/mesa/drivers/dri/intel/intel_buffers.c index 10d282ec6b4..a77e498b863 100644 --- a/src/mesa/drivers/dri/intel/intel_buffers.c +++ b/src/mesa/drivers/dri/intel/intel_buffers.c @@ -570,8 +570,6 @@ intelClear(GLcontext *ctx, GLbitfield mask) } } - intelFlush(ctx); /* XXX intelClearWithBlit also does this */ - if (blit_mask) { if (INTEL_DEBUG & DEBUG_BLIT) { DBG("blit clear:");