Commit 34da30af authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Gerd Hoffmann
Browse files

ui/vnc: Support shared surface for most pixman formats



At least all the ones I've tested. We make the assumption that
pixman is going to be better at conversion than we are.

Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>

[ kraxel: just hook up qemu_pixman_check_format ]

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 8cd996f4
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -2947,6 +2947,7 @@ static const DisplayChangeListenerOps dcl_ops = {
    .dpy_gfx_copy         = vnc_dpy_copy,
    .dpy_gfx_update       = vnc_dpy_update,
    .dpy_gfx_switch       = vnc_dpy_switch,
    .dpy_gfx_check_format = qemu_pixman_check_format,
    .dpy_mouse_set        = vnc_mouse_set,
    .dpy_cursor_define    = vnc_dpy_cursor_define,
};