diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-26 15:20:05 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-01 14:00:04 +0100 |
commit | 69c7777720c18d8afca7d9685c6dced1aae3a056 (patch) | |
tree | 8473f54e15b6c23422515e73de22f0537be7bd38 /console.h | |
parent | d2ec7e24a270ba72a151b506ac57c6cd21e3c587 (diff) |
pixman: add pixman image to DisplaySurface
Surfaces are now allocated using pixman. DisplaySurface gets new
struct fields with pixman image and data. DisplayChangeListeners
can easily start using pixman now.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,7 @@ #define CONSOLE_H #include "qemu-char.h" +#include "qemu-pixman.h" #include "qdict.h" #include "notify.h" #include "monitor.h" @@ -119,6 +120,8 @@ struct PixelFormat { }; struct DisplaySurface { + pixman_format_code_t format; + pixman_image_t *image; uint8_t flags; int width; int height; |