ui: refactor using a common qemu_pixman_shareable
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 8 Oct 2024 12:50:27 +0000 (16:50 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 14 Oct 2024 13:34:09 +0000 (17:34 +0400)
commit1ff788db9781615be745671ebdb2eb82c137c5b8
tree85b092cc9ac20e344f99259a81bc2741740317f3
parent5f899c34af1dbb0f621287faf9bcfb60fa237543
ui: refactor using a common qemu_pixman_shareable

Use a common shareable type for win32 & unix, and helper functions.
This simplify the code as it avoids a lot of #ifdef'ery.

Note: if it helps review, commits could be reordered to introduce the
common type before introducing shareable memory for unix.

Suggested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-ID: <20241008125028.1177932-19-marcandre.lureau@redhat.com>
hw/display/virtio-gpu.c
include/hw/virtio/virtio-gpu.h
include/ui/qemu-pixman.h
include/ui/surface.h
ui/console.c
ui/dbus-listener.c
ui/qemu-pixman.c