]> www.infradead.org Git - users/dwmw2/qemu.git/commit
ui+display: rename is_buffer_shared() -> surface_is_allocated()
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Jun 2024 13:14:43 +0000 (15:14 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 19 Jun 2024 10:42:03 +0000 (12:42 +0200)
commitabd749b517827b3da38230f50a82a94fccfaddac
tree963712e195e1d932a6f7bc4415ae90675d735982
parent9badf12ac20df80542f642d3dab7b2f1a95b20f5
ui+display: rename is_buffer_shared() -> surface_is_allocated()

Boolean return value is reversed, to align with QEMU_ALLOCATED_FLAG, so
all callers must be adapted.  Also rename share_surface variable in
vga_draw_graphic() to reduce confusion.

No functional change.

Suggested-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20240605131444.797896-4-kraxel@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/display/qxl-render.c
hw/display/vga.c
hw/display/xenfb.c
include/ui/surface.h
ui/console.c