OSDN Git Service

console: add qemu_pixelformat_from_pixman
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 18 Jun 2014 07:00:00 +0000 (09:00 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Sep 2014 11:27:11 +0000 (13:27 +0200)
commita93a3af9ec44710b2f7de8eb1c36f93ee3ec0d10
tree62ede671edfca6054d21d4a0f97a45ab5e9b52d8
parentfd884c07658d02a96a882b8457d6d7a5cd71a407
console: add qemu_pixelformat_from_pixman

Function to convert pixman format codes to qemu PixelFormat.

[ Benjamin Herrenschmidt: fix BGRA+RGBA shifts ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/qemu-pixman.h
ui/qemu-pixman.c