WIP: Replace TTM buffer pool manager with a simplified interface.
authorEric Anholt <eric@anholt.net>
Wed, 16 May 2007 22:14:20 +0000 (15:14 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 16 May 2007 22:14:20 +0000 (15:14 -0700)
commit7b971a50088caeeb2d66d99dbf6bef580a01c5d9
treef3a0159a6e041110d1e5e4cdf9531b5b8b30b2cf
parent64700be4e11ff735f0530812f6f319628e4b33c5
WIP: Replace TTM buffer pool manager with a simplified interface.

The interface is not solid yet (some simplification to do still, and
adjustment for 0-copy), and the drivers are not converted.  However, the new
interface allows using the same calls to support either a TTM or a classic
static allocation backend, with the static backend allowing a more limited
feature set.
src/mesa/drivers/dri/Makefile.template
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/common/dri_bufmgr_fake.c [new file with mode: 0644]
src/mesa/drivers/dri/common/dri_bufmgr_ttm.c [new file with mode: 0644]
src/mesa/drivers/dri/common/dri_bufpool.h [deleted file]
src/mesa/drivers/dri/common/dri_drmpool.c [deleted file]