qxl: properly handle upright and non-shared surfaces
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 27 Feb 2012 10:05:09 +0000 (11:05 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 28 Feb 2012 16:22:30 +0000 (17:22 +0100)
commite2efc0a3267811a2b9459116b2310325ef011f6e
tree54d593fbb1d76fd56510e44ea99a3c11fea849ee
parent35c633291439185d3bbf84da23db1572498e0d5d
qxl: properly handle upright and non-shared surfaces

Although qxl creates a shared displaysurface when the qxl surface is
upright and doesn't need to be flipped there is no guarantee that the
surface doesn't become unshared for some reason.  Rename qxl_flip to
qxl_blit and fix it to handle both flip and non-flip cases.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl-render.c