intel: Replace the bo for a complete update
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 Feb 2011 10:00:09 +0000 (10:00 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Feb 2011 12:59:34 +0000 (12:59 +0000)
commit40ee15407ab626f466a12c239fc39cb872bec804
treea769cb4fa2132c0c8b13f0033f4c3954dd1ebd86
parentabb37861d9f3310fe2d16194d893682092f41087
intel: Replace the bo for a complete update

Rather than performing a blit to completely overwrite a busy bo, simply
discard it and create a new one with the fresh data.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/intel/intel_buffer_objects.c