aliguori d85d0d3883 Fix hardware accelerated video to video copy on Cirrus VGA (Brian Kress)
cirrus_do_copy() in hw/cirrus_vga.c seems to make some incorrect assumptions
about video memory layout.  It tries to convert addresses to coordinates
assuming that one row of data is (width * depth) bytes long.  The correct way
seems to be to use the pitch fields in the CirrusVGAState structure instead.

Without this patch, I get lots of screen corruption when I try to drag a window
under X as it's passing the wrong coordinates to the display surface for the
copy.  With this patch I can drag a window with no screen corruption.

Signed-off-by: Brian Kress <kressb@moose.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6622 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-16 14:59:35 +00:00
..
2009-02-06 00:49:42 +00:00
2009-01-18 12:16:26 +00:00
2009-01-14 14:47:56 +00:00
2009-02-06 00:15:19 +00:00
2009-01-16 21:38:58 +00:00
2009-01-16 21:38:58 +00:00
2009-01-30 20:39:32 +00:00
2009-02-07 10:48:26 +00:00
2009-01-16 21:13:58 +00:00
2009-01-20 04:15:47 +00:00
2009-02-07 10:48:26 +00:00
2009-02-11 18:04:12 +00:00
2009-02-07 15:18:47 +00:00
2009-02-07 15:19:40 +00:00
2009-02-08 16:01:38 +00:00
2009-01-16 19:07:10 +00:00