diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-02 20:48:37 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-02 20:49:54 +0000 |
commit | 98e11210367c950e3f932419d2a4722cf971885d (patch) | |
tree | 790b08dc9a2c66efe9db59717fe4abc65f520563 /src/i965_render.c | |
parent | 57336c26f1fb90d43851ddcf78539585b67d86d9 (diff) |
Remove flush parameter from intel_batch_flush()
There is only a single caller that wishes to forcibly append a flush
into the batch: intel_sync(). So move the logic there.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i965_render.c')
-rw-r--r-- | src/i965_render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index cb057d77..a6a0d6b9 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -1627,7 +1627,7 @@ i965_prepare_composite(int op, PicturePtr source_picture, } if (!i965_composite_check_aperture(scrn)) { - intel_batch_flush(scrn, FALSE); + intel_batch_flush(scrn); if (!i965_composite_check_aperture(scrn)) { intel_debug_fallback(scrn, "Couldn't fit render operation " @@ -1805,7 +1805,7 @@ i965_composite(PixmapPtr dest, int srcX, int srcY, int maskX, int maskY, drm_intel_bo_subdata(vb_bo, render_state->vb_offset * 4, i * 4, vb); if (!i965_composite_check_aperture(scrn)) - intel_batch_flush(scrn, FALSE); + intel_batch_flush(scrn); intel_batch_start_atomic(scrn, 200); if (intel->needs_render_state_emit) |