intel: Move more of the PBO blit upload logic into that function.
authorEric Anholt <eric@anholt.net>
Wed, 21 Sep 2011 16:32:57 +0000 (09:32 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 22 Sep 2011 18:03:20 +0000 (11:03 -0700)
commit0ba23909475c085d81a5b181744c167ccbe53482
treeb58392fe4fb0cedc7e69ef207486d74b987d0341
parentd58a3182b1e680105731897fe2d84928daf89fce
intel: Move more of the PBO blit upload logic into that function.

This also improves the debugging output in the failure paths so you
get more than just "failed", and don't get spammed with "failed" when
you didn't even have a PBO to try.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/intel/intel_tex_image.c