diff options
author | Eric Anholt <[email protected]> | 2009-03-05 17:18:49 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-03-05 19:42:18 -0800 |
commit | 40bc2748c2781600c748e546160bcc2aab637825 (patch) | |
tree | 3a01e7fa087e096760a6dccc3aae0cc70758e265 /src/mesa/drivers/dri/i965/brw_draw.c | |
parent | f3687284c12f34268172b9c60e2effd697162129 (diff) |
intel: Add always_flush_batch driconf option for making small batchbuffers.
This can improve debugging with INTEL_DEBUG=batch,sync by giving smaller
batchbuffers.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 715236d3dbd..5342622a737 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -411,6 +411,8 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx, retval = GL_TRUE; } + if (intel->always_flush_batch) + intel_batchbuffer_flush(intel->batch); out: UNLOCK_HARDWARE(intel); |