OSDN Git Service

intel: Make a wrapper for intelEmitCopyBlit using miptrees.
authorEric Anholt <eric@anholt.net>
Mon, 4 Feb 2013 22:24:09 +0000 (14:24 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 28 May 2013 19:40:25 +0000 (12:40 -0700)
commit6a7c27786c72f3fffc4a9cb8568fd5c6bcee2f5f
tree862ba38c3b8bd6f8229b2d030812bcd045cc9442
parent0ae294bf7c885aa587c7bde54fd4f9bf70af02d4
intel: Make a wrapper for intelEmitCopyBlit using miptrees.

I had previously asserted that it was hard to write a useful, simpler
blit function, but I think this might be it.

This has the side effect of extending the 32k pitch check to a few more
places that were missing it.

v2: Update comment for being moved inside intel_miptree_blit().

Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/intel/intel_blit.c
src/mesa/drivers/dri/intel/intel_blit.h
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_pixel_copy.c
src/mesa/drivers/dri/intel/intel_tex_copy.c