i965: emit one vb packet per vbo
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Feb 2011 14:45:10 +0000 (14:45 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Feb 2011 12:59:35 +0000 (12:59 +0000)
commit559435d9152acc7162e4e60aae6591c7c6c8274b
tree54711a96b0a3e252e28b21b7ca06de8aecf0df20
parentabb51097566c401344b22a7ee9d699f002a1977f
i965: emit one vb packet per vbo

Track reuse of the vertex buffer objects and so minimise the number of
vertex buffers used by the hardware (and their relocations).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_draw_upload.c