i965: Refactor intel_set_texture_image_bo() to create_mt_for_dri_image()
authorKristian Høgsberg Kristensen <krh@bitplanet.net>
Tue, 10 May 2016 05:53:47 +0000 (22:53 -0700)
committerKristian Høgsberg Kristensen <krh@bitplanet.net>
Tue, 24 May 2016 17:14:57 +0000 (10:14 -0700)
commit6eede8763121f6d197cf2fcf0d6c30d304cd065c
tree4a22db09da8361e694effbdef4b0cd69456a9622
parent8ceb7c7d9bc2443c84069a8441b97b8beea4f922
i965: Refactor intel_set_texture_image_bo() to create_mt_for_dri_image()

This function now only creates the mt and we then call
intel_set_texture_image_mt() in intel_image_target_texture_2d() to set
it for the texture image.

Reviewed-by: Chad Versace <chad.versace@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/intel_tex_image.c