diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-11-28 12:06:30 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-19 08:31:30 +0100 |
commit | 28ecbaeecb139a214f019207402a35d7b58aec0f (patch) | |
tree | 6facaf7ff899eefbb94cfba88e84cad88ea0d0a3 /qemu-pixman.h | |
parent | 2870dc3456c9c02debb63b0a99b3dcbbf74a1048 (diff) |
ui: move files to ui/ and include/ui/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-pixman.h')
-rw-r--r-- | qemu-pixman.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/qemu-pixman.h b/qemu-pixman.h deleted file mode 100644 index 3c05c83a7c..0000000000 --- a/qemu-pixman.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. - */ - -#ifndef QEMU_PIXMAN_H -#define QEMU_PIXMAN_H - -#include <pixman.h> - -#include "console.h" - -/* - * pixman image formats are defined to be native endian, - * that means host byte order on qemu. So we go define - * fixed formats here for cases where it is needed, like - * feeding libjpeg / libpng and writing screenshots. - */ - -#ifdef HOST_WORDS_BIGENDIAN -# define PIXMAN_BE_r8g8b8 PIXMAN_r8g8b8 -#else -# define PIXMAN_BE_r8g8b8 PIXMAN_b8g8r8 -#endif - -/* -------------------------------------------------------------------- */ - -int qemu_pixman_get_type(int rshift, int gshift, int bshift); -pixman_format_code_t qemu_pixman_get_format(PixelFormat *pf); - -pixman_image_t *qemu_pixman_linebuf_create(pixman_format_code_t format, - int width); -void qemu_pixman_linebuf_fill(pixman_image_t *linebuf, pixman_image_t *fb, - int width, int x, int y); -pixman_image_t *qemu_pixman_mirror_create(pixman_format_code_t format, - pixman_image_t *image); -void qemu_pixman_image_unref(pixman_image_t *image); - -#endif /* QEMU_PIXMAN_H */ |