radeon/r200/r300/r600: add check_blit vtbl function
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 3 Mar 2010 21:12:22 +0000 (16:12 -0500)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 3 Mar 2010 21:14:17 +0000 (16:14 -0500)
commit3594bf233d16ceb21e97fcdfb57ea45cb0c5e41b
tree0311e41747d16d7c13b169f473090047cdaa9c4b
parent21cc53c2bc1dbd2ddd8510f68215497ed3c2088e
radeon/r200/r300/r600: add check_blit vtbl function

Check if the native blit formats are supported, if not,
attempt to use an alternate format.

Skip 3, >4 bpp as per comments from mcencora on irc.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
14 files changed:
src/mesa/drivers/dri/r200/r200_blit.c
src/mesa/drivers/dri/r200/r200_blit.h
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/r300/r300_blit.c
src/mesa/drivers/dri/r300/r300_blit.h
src/mesa/drivers/dri/r300/r300_context.c
src/mesa/drivers/dri/r600/r600_blit.c
src/mesa/drivers/dri/r600/r600_blit.h
src/mesa/drivers/dri/r600/r600_context.c
src/mesa/drivers/dri/radeon/radeon_blit.c
src/mesa/drivers/dri/radeon/radeon_blit.h
src/mesa/drivers/dri/radeon/radeon_common_context.h
src/mesa/drivers/dri/radeon/radeon_context.c
src/mesa/drivers/dri/radeon/radeon_tex_copy.c