projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5ce78
)
i915g: Don't flush empty batchbuffers
author
Jakob Bornecrantz
<wallbraker@gmail.com>
Sat, 3 Jul 2010 11:30:46 +0000
(12:30 +0100)
committer
Jakob Bornecrantz
<wallbraker@gmail.com>
Sun, 4 Jul 2010 12:32:01 +0000
(13:32 +0100)
src/gallium/drivers/i915/i915_flush.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915/i915_flush.c
b/src/gallium/drivers/i915/i915_flush.c
index 967146479d163f66643d6e223917904c51c6c1be..482d28eb96aaa99b7e7ef80d624717b1fcbd0489 100644
(file)
--- 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:
*/