diff options
author | Gerd Hoffmann | 2016-05-30 10:40:55 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2016-06-03 09:05:28 +0200 |
commit | fa06e5cb7b10230e241477b13cb0beefa0d0c91e (patch) | |
tree | 4b8c33e5f5c6768d5ee47af941073861bbd7ed77 /hw/display/vmware_vga.c | |
parent | Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into st... (diff) | |
download | qemu-fa06e5cb7b10230e241477b13cb0beefa0d0c91e.tar.gz qemu-fa06e5cb7b10230e241477b13cb0beefa0d0c91e.tar.xz qemu-fa06e5cb7b10230e241477b13cb0beefa0d0c91e.zip |
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 <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 1464597655-26341-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'hw/display/vmware_vga.c')
0 files changed, 0 insertions, 0 deletions