summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_surface.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-02-22 15:38:59 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-02-22 15:47:15 +1000
commite5e255a4062bd96390a3eaa3c83aa40001b6de95 (patch)
treeaab2ebf8177171dd489ba09de10b056da772624e /src/gallium/drivers/nv50/nv50_surface.c
parent487a55af7864a3b16531af5481aab7f585622e4a (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/drivers/nv50/nv50_surface.c')
0 files changed, 0 insertions, 0 deletions