]> Git Repo - qemu.git/commit
virtio-gpu: fix scanout rectangles
authorGerd Hoffmann <[email protected]>
Mon, 30 May 2016 08:40:55 +0000 (10:40 +0200)
committerGerd Hoffmann <[email protected]>
Fri, 3 Jun 2016 07:05:28 +0000 (09:05 +0200)
commitfa06e5cb7b10230e241477b13cb0beefa0d0c91e
tree4b8c33e5f5c6768d5ee47af941073861bbd7ed77
parent2c107d7684f9e3c4db4780d0756bbf35b06aec07
virtio-gpu: fix scanout rectangles

Commit "ca58b45 ui/virtio-gpu: add and use qemu_create_displaysurface_pixman"
breaks scanouts which use a region of the underlying resource only.

So, we need another way to handle the underlying issue.  Lets create a
new pixman image, grab a reference on the pixman providing the
underlying storage, hook up a destroy callback which releases the
reference.  That way regions work again and releasing the backing
storage should still be impossible thanks to the extra reference we are
holding.

Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
Message-id: 1464597655[email protected]
hw/display/virtio-gpu.c
This page took 0.026542 seconds and 4 git commands to generate.