intel: Move XRGB->ARGB blit logic into intel_miptree_blit(). 39/7039/1
authorEric Anholt <eric@anholt.net>
Tue, 4 Jun 2013 05:55:39 +0000 (22:55 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 17 Jun 2013 22:43:23 +0000 (15:43 -0700)
commit815dce92822ebb2ed25f8e3a3f87a62c115cb0d0
treebfbe4ae685886bb5378a3cd4fe3e5b4564689ff7
parent04a5e940c9842aca3048a7797179d4ea9f782a76
intel: Move XRGB->ARGB blit logic into intel_miptree_blit().

Now any caller (such as glCopyPixels()) can benefit from it, and it only
changes the correct subset of the destination instead of a whole teximage.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-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_pixel_copy.c
src/mesa/drivers/dri/intel/intel_tex_copy.c