[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 10d282ec6b43d01ce99741301b03fc6cabb128bb..a77e498b863449987df6e0c788184fe775c9f6bf 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:");