i965: Make intel_set_texture_region just take a BO and pitch.
authorEric Anholt <eric@anholt.net>
Fri, 25 Apr 2014 20:18:48 +0000 (13:18 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 1 May 2014 22:12:27 +0000 (15:12 -0700)
commit8435b60a3577d2d905eae189cd7e770500177e99
treea29a30ae89cb8ad3da67704a73cff5ad81fae72f
parentc0bf5a7eff6e556cf1ecfed213cf70d9f3bd676d
i965: Make intel_set_texture_region just take a BO and pitch.

I want to do this to get the region removed from DRI images.  However, it
does mean that we won't share the intel_region between the rb and the
texture for texture_from_pixmap.  I think that's fine.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/intel_tex_image.c