intel: Support glCopyTexImage() from XRGB8888 to ARGB8888.
authorEric Anholt <eric@anholt.net>
Wed, 15 Dec 2010 20:10:03 +0000 (12:10 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 16 Dec 2010 18:48:19 +0000 (10:48 -0800)
commit290a1141bc561cbd8fd2bbbb0a7c24d1b6abe0b4
treec4da5621d0c2a94979566edbfb08c561d05fcde5
parentec03b316b4dc5d56b8510cc5aeb0f71a4fdada18
intel: Support glCopyTexImage() from XRGB8888 to ARGB8888.

The only mismatch between the two is that we have to clear the
destination's alpha to 1.0.  Fixes WOW performance on my Ironlake,
from a few frames a second to almost playable.
src/mesa/drivers/dri/intel/intel_blit.c
src/mesa/drivers/dri/intel/intel_blit.h
src/mesa/drivers/dri/intel/intel_tex_copy.c