mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
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>
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user