qemu-e2k/include/ui
Gerd Hoffmann ca58b45fbe ui/virtio-gpu: add and use qemu_create_displaysurface_pixman
Add a the new qemu_create_displaysurface_pixman function, to create
a DisplaySurface backed by an existing pixman image.  In that case
there is no need to create a new pixman image pointing to the same
backing storage.  We can just use the existing image directly.

This does not only simplify things a bit, but most importantly it
gets the reference counting right, so the backing storage for the
pixman image wouldn't be released underneath us.

Use new function in virtio-gpu, where using it actually fixes
use-after-free crashes.

Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1459499240-742-1-git-send-email-kraxel@redhat.com
2016-04-11 12:32:01 +02:00
..
console.h ui/virtio-gpu: add and use qemu_create_displaysurface_pixman 2016-04-11 12:32:01 +02:00
egl-context.h
egl-helpers.h egl-helpers: add functions for render nodes and dma-buf passing 2016-02-23 12:04:39 +01:00
gtk.h
input.h input: linux evdev support 2016-03-08 12:20:11 +01:00
pixel_ops.h
qemu-pixman.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
qemu-spice.h include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
sdl2.h sdl: shorten the GUI refresh interval when mouse or keyboard is active 2016-02-02 14:05:07 +01:00
shader.h
spice-display.h spice/gl: Enable dmabuf only for spice >= 0.13.1 2016-02-29 10:54:32 +01:00