gtk: add support for surface conversion

Enterprise / Virtualization / QEMU - Gerd Hoffmann [redhat.com] - 28 June 2013 14:03 UTC

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.


- @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)

f087553 gtk: add support for surface conversion
ui/gtk.c | 63 +++++++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 40 insertions(+), 23 deletions(-)

Upstream: git.qemu.org


  • Share