i915g: Don't flush after blit
authorJakob Bornecrantz <wallbraker@gmail.com>
Sun, 4 Jul 2010 08:54:20 +0000 (09:54 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sun, 4 Jul 2010 12:32:01 +0000 (13:32 +0100)
src/gallium/drivers/i915/i915_blit.c

index 0a1b3e0d66bb37a3dfe3a4a0aa7938eeea52a7e9..cdf20c0055a73e124e34c746d55ea369d59350ff 100644 (file)
@@ -76,7 +76,6 @@ i915_fill_blit(struct i915_context *i915,
    OUT_BATCH(((y + h) << 16) | (x + w));
    OUT_RELOC(dst_buffer, I915_USAGE_2D_TARGET, dst_offset);
    OUT_BATCH(color);
-   FLUSH_BATCH(NULL);
 }
 
 void
@@ -143,5 +142,4 @@ i915_copy_blit(struct i915_context *i915,
    OUT_BATCH((src_y << 16) | src_x);
    OUT_BATCH(((int) src_pitch & 0xffff));
    OUT_RELOC(src_buffer, I915_USAGE_2D_SOURCE, src_offset);
-   FLUSH_BATCH(NULL);
 }