diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-06-21 21:45:04 +0100 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2010-06-21 22:38:59 +0100 |
commit | e54b989fe98325338ef6601db21d5b1f7875eeb2 (patch) | |
tree | f32e563e1988d43168f79a711242e173a988cdce /src/i830_accel.c | |
parent | f1c431099cab48213a8b2257004f85564e33a23f (diff) |
Emit the flush after a potential draw from the BlockHandler.
As the batch submit may not trigger further drawing through flushing the
vertices, pass the requirement to emit the flush down to the submission
routine so that the flush can be appended after the final commands.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from c942585098ac84ae461821cbb8f52dedce7a0da1)
Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/i830_accel.c')
-rw-r--r-- | src/i830_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c index 74808fd8..df4f58db 100644 --- a/src/i830_accel.c +++ b/src/i830_accel.c @@ -59,7 +59,7 @@ void i830_debug_flush(ScrnInfoPtr scrn) intel_batch_emit_flush(scrn); if (intel->debug_flush & DEBUG_FLUSH_BATCHES) - intel_batch_submit(scrn); + intel_batch_submit(scrn, FALSE); } /* The following function sets up the supported acceleration. Call it |