i965/copy_image: Re-implement the blitter path with emit_miptree_blit
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 1 Dec 2016 03:08:51 +0000 (19:08 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 5 Dec 2016 22:00:35 +0000 (14:00 -0800)
commit06d864921ee6cfd083ac3782d4434d91ec652eea
tree5ff03a4553f1fad2edce8657277addb541e73fbb
parent6c74e7f492b526f16b6ae59b16eb30df14f793c8
i965/copy_image: Re-implement the blitter path with emit_miptree_blit

By using emit_miptree_blit which does chunking, this fixes the blitter path
for the case where the image is too tall to blit normally.  We also pull it
into intel_blit as intel_miptree_copy.  This matches the naming of the
blorp blit and copy functions brw_blorp_blit and brw_blorp_copy.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Cc: "13.0" <mesa-dev@lists.freedesktop.org>
src/mesa/drivers/dri/i965/intel_blit.c
src/mesa/drivers/dri/i965/intel_blit.h
src/mesa/drivers/dri/i965/intel_copy_image.c