saa, vmwgfx: Fix saa_copy_composite
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 14 Dec 2011 11:38:27 +0000 (12:38 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 15 Dec 2011 07:32:14 +0000 (08:32 +0100)
commit5748c33535bc7d3009b9758653885e6ae0e73002
tree311799a48c3d1f7c55f79aa8f8f4fa3fe758fba2
parentf664e31d73bd31594e069d8bcca872687b84d8d9
saa, vmwgfx: Fix saa_copy_composite

The traditional accelerated copy methods aren't format aware.
Make saa copy format aware,and pass formats on to the driver copy function
if available. If the driver can't handle format conversions it needs to
return FALSE.

This fixes format confusion in the copy composite fastpath.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
saa/saa.h
saa/saa_render.c
vmwgfx/vmwgfx_saa.c