From 9bf91229257c8b26710a23795ae1094aa98db8a8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 10 Jan 2008 14:50:06 -0800 Subject: [PATCH] [intel] Remove gratuitous (batchbuffer) flush before doing buffer clears. Increases OA performance by about 3%. --- src/mesa/drivers/dri/intel/intel_buffers.c | 2 -- 1 file changed, 2 deletions(-) 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:"); -- 2.30.2