Skip to content
  • Gerd Hoffmann's avatar
    console: stop using PixelFormat · 30f1e661
    Gerd Hoffmann authored
    
    
    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: default avatarGerd Hoffmann <kraxel@redhat.com>
    30f1e661