spice: add cursor_dmabuf support
commitb153f9019b5fcf7c085de688b123eb34f924f870
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 8 Mar 2018 09:06:17 +0000 (8 10:06 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 12 Mar 2018 08:01:56 +0000 (12 09:01 +0100)
treeada675512adad927e1b64232bcdbb33f3563fb44
parentcd2452b279b217d7e6ee48478d6bb3109f388fcb
spice: add cursor_dmabuf support

Add support for cursor dmabufs.  qemu has to render the cursor for
that, so in case a cursor is present qemu allocates a new dmabuf, blits
the scanout, blends in the pointer and passes on the new dmabuf to
spice-server.  Without cursor qemu continues to simply pass on the
scanout dmabuf as-is.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20180308090618.30147-4-kraxel@redhat.com
include/ui/spice-display.h
ui/spice-display.c
ui/trace-events