ui: add pixman-minimal.h

This is a tiny subset of PIXMAN API that is used pervasively in QEMU
codebase to manage images and identify the underlying format.

It doesn't seems worth to wrap this in a QEMU-specific API.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Marc-André Lureau 2023-10-25 16:15:24 +04:00
parent b3ec48cf92
commit 79a1f32559
2 changed files with 197 additions and 0 deletions

View file

@ -8,6 +8,8 @@
#ifdef CONFIG_PIXMAN
#include <pixman.h>
#else
#include "pixman-minimal.h"
#endif
/*