nouveau: potentially delay buffer destruction
authorBen Skeggs <skeggsb@gmail.com>
Fri, 21 Mar 2008 06:40:01 +0000 (17:40 +1100)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 21 Mar 2008 06:40:01 +0000 (17:40 +1100)
commit735ecf5de8587f8e52fe6ffc7f3f17403d140e23
tree0ba8004860d081ce27f770bca2e1d158515e2e3c
parent5d2577e576635559da202d0d062601e404843b2c
nouveau: potentially delay buffer destruction

Rather than spinning waiting for the GPU to finish with the buffer,
add a callback on the buffer's fence object instead.  Gives a sizable
performance increase in OA.
src/gallium/winsys/dri/nouveau/nouveau_bo.c