diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-08 10:06:17 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-12 09:01:56 +0100 |
commit | b153f9019b5fcf7c085de688b123eb34f924f870 (patch) | |
tree | ada675512adad927e1b64232bcdbb33f3563fb44 /ui/trace-events | |
parent | cd2452b279b217d7e6ee48478d6bb3109f388fcb (diff) | |
download | qemu-b153f9019b5fcf7c085de688b123eb34f924f870.zip qemu-b153f9019b5fcf7c085de688b123eb34f924f870.tar.gz qemu-b153f9019b5fcf7c085de688b123eb34f924f870.tar.bz2 |
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
Diffstat (limited to 'ui/trace-events')
-rw-r--r-- | ui/trace-events | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/trace-events b/ui/trace-events index 518e950..a957f36 100644 --- a/ui/trace-events +++ b/ui/trace-events @@ -83,6 +83,9 @@ qemu_spice_ui_info(int qid, uint32_t width, uint32_t height) "%d %dx%d" qemu_spice_gl_surface(int qid, uint32_t w, uint32_t h, uint32_t fourcc) "%d %dx%d, fourcc 0x%x" qemu_spice_gl_scanout_disable(int qid) "%d" qemu_spice_gl_scanout_texture(int qid, uint32_t w, uint32_t h, uint32_t fourcc) "%d %dx%d, fourcc 0x%x" +qemu_spice_gl_cursor(int qid, bool enabled, bool hotspot) "%d enabled %d, hotspot %d" +qemu_spice_gl_forward_dmabuf(int qid, uint32_t width, uint32_t height) "%d %dx%d" +qemu_spice_gl_render_dmabuf(int qid, uint32_t width, uint32_t height) "%d %dx%d" qemu_spice_gl_update(int qid, uint32_t x, uint32_t y, uint32_t w, uint32_t h) "%d +%d+%d %dx%d" # ui/keymaps.c |