]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk.c
gtk: add support for surface conversion
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 25 Jun 2013 08:48:54 +0000 (10:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 28 Jun 2013 19:03:14 +0000 (14:03 -0500)
commitf087553653152fdae16ed7066d238677734e4902
treed071309bcc2d87351a65326d84d9146ef6efbcd0
parent12b7f57e2cfcd665cf5a21b4ae3c23b9361c5c05
gtk: add support for surface conversion

Also use CAIRO_FORMAT_RGB24 unconditionally.  DisplaySurfaces will never
ever see 8bpp surfaces.  And using CAIRO_FORMAT_RGB16_565 for the 16bpp
case doesn't seem to be a good idea too.

<quote src="/usr/include/cairo/cairo.h">
 * @CAIRO_FORMAT_RGB16_565: This format value is deprecated. It has
 *   never been properly implemented in cairo and should not be used
 *   by applications. (since 1.2)
</quote>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1372150134-8590-1-git-send-email-kraxel@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/gtk.c