diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-06-18 09:00:00 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-05 13:27:11 +0200 |
commit | a93a3af9ec44710b2f7de8eb1c36f93ee3ec0d10 (patch) | |
tree | 62ede671edfca6054d21d4a0f97a45ab5e9b52d8 /include/ui | |
parent | fd884c07658d02a96a882b8457d6d7a5cd71a407 (diff) | |
download | qemu-a93a3af9ec44710b2f7de8eb1c36f93ee3ec0d10.tar.gz qemu-a93a3af9ec44710b2f7de8eb1c36f93ee3ec0d10.tar.bz2 qemu-a93a3af9ec44710b2f7de8eb1c36f93ee3ec0d10.zip |
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>
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/qemu-pixman.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h index ba970f813b..090a3e2e8f 100644 --- a/include/ui/qemu-pixman.h +++ b/include/ui/qemu-pixman.h @@ -33,6 +33,7 @@ /* -------------------------------------------------------------------- */ +PixelFormat qemu_pixelformat_from_pixman(pixman_format_code_t format); int qemu_pixman_get_type(int rshift, int gshift, int bshift); pixman_format_code_t qemu_pixman_get_format(PixelFormat *pf); |