diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-01-09 09:31:58 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-01-19 13:33:26 +0100 |
commit | 0002a51889101a818c1b8328b2a95f284caa030f (patch) | |
tree | bf30a637e622df80380e27cf5d8a2ff4b47f38cb /ui | |
parent | 34da30afa473b9fc12161f53f4b3fd83b8ba5ce8 (diff) | |
download | qemu-0002a51889101a818c1b8328b2a95f284caa030f.zip qemu-0002a51889101a818c1b8328b2a95f284caa030f.tar.gz qemu-0002a51889101a818c1b8328b2a95f284caa030f.tar.bz2 |
ui/spice: Support shared surface for most pixman formats
Just hook up qemu_pixman_check_format.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/spice-display.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ui/spice-display.c b/ui/spice-display.c index d2e3793..8c87212 100644 --- a/ui/spice-display.c +++ b/ui/spice-display.c @@ -760,12 +760,13 @@ static void display_mouse_define(DisplayChangeListener *dcl, } static const DisplayChangeListenerOps display_listener_ops = { - .dpy_name = "spice", - .dpy_gfx_update = display_update, - .dpy_gfx_switch = display_switch, - .dpy_refresh = display_refresh, - .dpy_mouse_set = display_mouse_set, - .dpy_cursor_define = display_mouse_define, + .dpy_name = "spice", + .dpy_gfx_update = display_update, + .dpy_gfx_switch = display_switch, + .dpy_gfx_check_format = qemu_pixman_check_format, + .dpy_refresh = display_refresh, + .dpy_mouse_set = display_mouse_set, + .dpy_cursor_define = display_mouse_define, }; static void qemu_spice_display_init_one(QemuConsole *con) |