From e53b41f2632af26c79c4f7ed5b0fdb86a1feb602 Mon Sep 17 00:00:00 2001 From: Stéphane Marchesin Date: Wed, 6 Jul 2011 02:19:48 -0700 Subject: i915g: Improve flushing using heuristics. --- src/gallium/drivers/i915/i915_context.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/i915/i915_context.h') diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h index c964208fedd..84862351ffe 100644 --- a/src/gallium/drivers/i915/i915_context.h +++ b/src/gallium/drivers/i915/i915_context.h @@ -264,6 +264,8 @@ struct i915_context { struct util_slab_mempool transfer_pool; struct util_slab_mempool texture_transfer_pool; + int vertices_since_last_flush; + /** blitter/hw-clear */ struct blitter_context* blitter; -- cgit v1.2.3