]> git.proxmox.com Git - mirror_qemu.git/commit - ui/console.c
console: stop using PixelFormat
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 18 Jun 2014 09:03:15 +0000 (11:03 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Sep 2014 11:27:11 +0000 (13:27 +0200)
commit30f1e661b640de58ba1e8178f7f2290179a7e01c
treedc373a0d374386bc793e67a9e185dbc5ecdfc8f1
parent56bd9ea1a37395012adecca8b9c4762da15b01e7
console: stop using PixelFormat

With this patch the qemu console core stops using PixelFormat and pixman
format codes side-by-side, pixman format code is the primary way to
specify the DisplaySurface format:

 * DisplaySurface stops carrying a PixelFormat field.
 * qemu_create_displaysurface_from() expects a pixman format now.

Functions to convert PixelFormat to pixman_format_code_t (and back)
exist for those who still use PixelFormat.   As PixelFormat allows
easy access to masks and shifts it will probably continue to exist.

[ xenfb added by Benjamin Herrenschmidt ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/qxl-render.c
hw/display/vga.c
hw/display/vmware_vga.c
hw/display/xenfb.c
include/ui/console.h
trace-events
ui/console.c
ui/sdl.c