Mesa (master): i915g: Don't flush empty batchbuffers
Jakob Bornecrantz
wallbraker at kemper.freedesktop.org
Sun Jul 4 12:38:37 UTC 2010
Module: Mesa
Branch: master
Commit: 62bcf2e6ad7f74affa4e1240c2ea41339a4c95db
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=62bcf2e6ad7f74affa4e1240c2ea41339a4c95db
Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date: Sat Jul 3 12:30:46 2010 +0100
i915g: Don't flush empty batchbuffers
---
src/gallium/drivers/i915/i915_flush.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/i915/i915_flush.c b/src/gallium/drivers/i915/i915_flush.c
index 9671464..482d28e 100644
--- a/src/gallium/drivers/i915/i915_flush.c
+++ b/src/gallium/drivers/i915/i915_flush.c
@@ -67,11 +67,9 @@ static void i915_flush( struct pipe_context *pipe,
}
#endif
-#if 0
if (i915->batch->map == i915->batch->ptr) {
return;
}
-#endif
/* If there are no flags, just flush pending commands to hardware:
*/
More information about the mesa-commit
mailing list