diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-02 09:12:49 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-05 11:54:49 +0100 |
commit | d9a86569ca3617a495ffb352e9a390747eaa6b24 (patch) | |
tree | ea4d14aa946fa8274d8639fdb047af5036a4b709 /console.h | |
parent | e32c25b5f2452c7fed4dbe8962f4a9f4831fbe24 (diff) |
spice: switch to pixman
Switch over spice-display.c to use the pixman library
instead of the home-grown pflib bits.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -377,6 +377,11 @@ static inline pixman_format_code_t ds_get_format(DisplayState *ds) return ds->surface->format; } +static inline pixman_image_t *ds_get_image(DisplayState *ds) +{ + return ds->surface->image; +} + static inline int ds_get_depth(DisplayState *ds) { return ds->surface->pf.depth; |