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

ui/gtk: 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 0002a518
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -1657,6 +1657,7 @@ static const DisplayChangeListenerOps dcl_ops = {
    .dpy_name             = "gtk",
    .dpy_gfx_update       = gd_update,
    .dpy_gfx_switch       = gd_switch,
    .dpy_gfx_check_format = qemu_pixman_check_format,
    .dpy_refresh          = gd_refresh,
    .dpy_mouse_set        = gd_mouse_set,
    .dpy_cursor_define    = gd_cursor_define,