intel: Pack dynamic draws together
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 Feb 2011 20:01:10 +0000 (20:01 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Feb 2011 12:59:34 +0000 (12:59 +0000)
commite476e122207e6195a16a8c7d2cab90eeba227934
tree7c1a5f31a6078ffd7174f6a04816968f6fc3a382
parentd0809d7b15ba58c05bb0b63128c9cf7042304cd2
intel: Pack dynamic draws together

Dynamic arrays have the tendency to be small and so allocating a bo for
each one is overkill and we can exploit many efficiency gains by packing
them together.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_buffer_objects.h
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_pixel_read.c
src/mesa/drivers/dri/intel/intel_tex_image.c