i915: Emit a single relocation per vbo
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 25 Nov 2010 15:41:37 +0000 (15:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Feb 2011 13:04:46 +0000 (13:04 +0000)
commit2c6793fb6bc89df16c23f727bcb072a157ab8d10
treeef6ab3dfa931a84b8ab84259d45346c2a1dee622
parent298ebb78de8a6b6edf0aa0fe8d784d00bbc2930e
i915: Emit a single relocation per vbo

Reducing the number of relocations has lots of nice knock-on effects,
not least including reducing batch buffer size, auxilliary array sizes
(vmalloced and copied into the kernel), processing of uncached
relocations etc.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i915/i915_context.h
src/mesa/drivers/dri/i915/i915_fragprog.c
src/mesa/drivers/dri/i915/i915_reg.h
src/mesa/drivers/dri/i915/i915_vtbl.c
src/mesa/drivers/dri/i915/intel_tris.c