summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-01-10 14:50:06 -0800
committerEric Anholt <eric@anholt.net>2008-01-10 14:51:02 -0800
commit9bf91229257c8b26710a23795ae1094aa98db8a8 (patch)
treece333300e20cbb0a3b7132a5161236698aa9828e
parent3d273ae44e85480fcd7798c7b5b75f949906a78e (diff)
[intel] Remove gratuitous (batchbuffer) flush before doing buffer clears.
Increases OA performance by about 3%.
-rw-r--r--src/mesa/drivers/dri/intel/intel_buffers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_buffers.c b/src/mesa/drivers/dri/intel/intel_buffers.c
index 10d282ec6b..a77e498b86 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:");