r200: make use of DMA buffers for Elts a lot better.
authorDave Airlie <airlied@redhat.com>
Fri, 26 Jun 2009 05:05:02 +0000 (15:05 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 26 Jun 2009 05:09:12 +0000 (15:09 +1000)
commit0952645fe04a27968565ea4d913500c23b1b11e3
tree6e84f9610987d0ec0ddb2bd7bb8965f64e899e61
parentdb545796289abe4b771b3ee23a4559674bebe37a
r200: make use of DMA buffers for Elts a lot better.

This allows us to return the unused portion of the dma buffer
to the allocator instead of wasting nearly 16k a pop.
src/mesa/drivers/dri/r200/r200_cmdbuf.c
src/mesa/drivers/dri/radeon/radeon_dma.c
src/mesa/drivers/dri/radeon/radeon_dma.h