[intel] Remove gratuitous (batchbuffer) flush before doing buffer clears.
authorEric Anholt <eric@anholt.net>
Thu, 10 Jan 2008 22:50:06 +0000 (14:50 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 10 Jan 2008 22:51:02 +0000 (14:51 -0800)
Increases OA performance by about 3%.

src/mesa/drivers/dri/intel/intel_buffers.c

index 10d282e..a77e498 100644 (file)
@@ -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:");