aboutsummaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-09-26 15:20:05 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-11-01 14:00:04 +0100
commit69c7777720c18d8afca7d9685c6dced1aae3a056 (patch)
tree8473f54e15b6c23422515e73de22f0537be7bd38 /console.h
parentd2ec7e24a270ba72a151b506ac57c6cd21e3c587 (diff)
downloadqemu-69c7777720c18d8afca7d9685c6dced1aae3a056.zip
qemu-69c7777720c18d8afca7d9685c6dced1aae3a056.tar.gz
qemu-69c7777720c18d8afca7d9685c6dced1aae3a056.tar.bz2
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/console.h b/console.h
index 6be880a..f19e6a4 100644
--- a/console.h
+++ b/console.h
@@ -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;