r600g/radeonsi: Use caching buffer manager for textures as well
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 10 Apr 2014 09:15:55 +0000 (18:15 +0900)
committerMichel Dänzer <michel@daenzer.net>
Tue, 15 Apr 2014 02:34:56 +0000 (11:34 +0900)
commit313104e8d58002ad00d297e1b229ecd984d79298
tree682f97eadeb0e47a9086f15004b92e942f1cb27c
parent24c773fb0685e85d9b838e3e956e4b7ad6e71251
r600g/radeonsi: Use caching buffer manager for textures as well

Significantly reduces BO allocation / destruction overhead for transfers,
e.g. measurable via x11perf -shm{ge,pu}t* with glamor.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_texture.c