diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2009-02-22 15:38:59 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2009-02-22 15:47:15 +1000 |
commit | e5e255a4062bd96390a3eaa3c83aa40001b6de95 (patch) | |
tree | aab2ebf8177171dd489ba09de10b056da772624e /src/gallium/auxiliary/pipebuffer/pb_bufmgr_ondemand.c | |
parent | 487a55af7864a3b16531af5481aab7f585622e4a (diff) |
nv50: delay uploads until transfer object is destroyed
It's possible a state tracker will map/unmap a transfer object many times.
Delaying upload until the object is destroyed will prevent unnecessary
uploads to the GPU.
Also fixing a typo here, was unmapping the wrong buffer on transfer_unmap!
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_bufmgr_ondemand.c')
0 files changed, 0 insertions, 0 deletions