nvfx: new 2D: rewrite transfer code to use staging transfers
authorLuca Barbieri <luca@luca-barbieri.com>
Tue, 3 Aug 2010 19:32:42 +0000 (21:32 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Sat, 21 Aug 2010 18:42:14 +0000 (20:42 +0200)
commit23639dc046435716042b68359ac6208d99be82f4
treef1c7b2a4cf779da67682ccf99f30d2dc75716f80
parented2930e7e2c064458da33089cff902574008bf30
nvfx: new 2D: rewrite transfer code to use staging transfers

This greatly simplifies the code, and avoids ad-hoc copy code.

Also, these new transfers work for buffers too, even though they
are still used for miptrees only.
src/gallium/drivers/nvfx/nvfx_miptree.c
src/gallium/drivers/nvfx/nvfx_transfer.c
src/gallium/drivers/nvfx/nvfx_transfer.h