i915g: Optimize batchbuffer sizes
authorStéphane Marchesin <marcheu@chromium.org>
Sun, 5 May 2013 01:59:35 +0000 (18:59 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Wed, 8 May 2013 09:06:56 +0000 (02:06 -0700)
commitfc24c7aedeff6639e9438dbe7b91ca3775511223
treede0b578dd79afa5704a2951e397f62d79ddab188
parent7f7c7fda83eced002a4dbff483cded2e31313acd
i915g: Optimize batchbuffer sizes

Now that we don't throttle at every batchbuffer, we can shrink
the size of batchbuffers to achieve early flushing. This gives
a significant speed boost in a lot of games (on the order of
20%).
src/gallium/drivers/i915/i915_prim_vbuf.c
src/gallium/winsys/i915/drm/i915_drm_winsys.c