From 8cd996f493d4fc10844bd13bde4b9c9c5e38cc3a Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 9 Jan 2015 08:49:20 +0100 Subject: ui/pixman: add qemu_pixman_check_format Convinience check_format function for UIs using pixman. Signed-off-by: Gerd Hoffmann --- include/ui/qemu-pixman.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ui/qemu-pixman.h') diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h index 381969d97b..3dee5761cc 100644 --- a/include/ui/qemu-pixman.h +++ b/include/ui/qemu-pixman.h @@ -37,6 +37,8 @@ PixelFormat qemu_pixelformat_from_pixman(pixman_format_code_t format); pixman_format_code_t qemu_default_pixman_format(int bpp, bool native_endian); int qemu_pixman_get_type(int rshift, int gshift, int bshift); pixman_format_code_t qemu_pixman_get_format(PixelFormat *pf); +bool qemu_pixman_check_format(DisplayChangeListener *dcl, + pixman_format_code_t format); pixman_image_t *qemu_pixman_linebuf_create(pixman_format_code_t format, int width); -- cgit v1.2.3