summary refs log tree commit diff stats
path: root/ui/qemu-pixman.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-08-30 13:37:36 +0400
committerPatchew Applier <no-reply@patchew.org>2023-09-01 17:21:04 +0000
commit426749a7b79cf735dcd9bd4d134af5224fcf8210 (patch)
tree0570be0bee0ff6109a5f8253d313ef120f6f7ce6 /ui/qemu-pixman.c
parent90da7d552fbcb19d1fbf68b2051f0f168b8a48f9 (diff)
downloadfocaccia-qemu-426749a7b79cf735dcd9bd4d134af5224fcf8210.tar.gz
focaccia-qemu-426749a7b79cf735dcd9bd4d134af5224fcf8210.zip
ui: remove qemu_pixman_linebuf_copy()
Since commit 43c7d8bd449 ("console: add qemu_pixman_linebuf_copy"), it
seems it was never used.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-3-marcandre.lureau@redhat.com>
Diffstat (limited to 'ui/qemu-pixman.c')
-rw-r--r--ui/qemu-pixman.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/qemu-pixman.c b/ui/qemu-pixman.c
index c5053cd326..be00a96340 100644
--- a/ui/qemu-pixman.c
+++ b/ui/qemu-pixman.c
@@ -200,14 +200,6 @@ void qemu_pixman_linebuf_fill(pixman_image_t *linebuf, pixman_image_t *fb,
                            x, y, 0, 0, 0, 0, width, 1);
 }
 
-/* copy linebuf to framebuffer */
-void qemu_pixman_linebuf_copy(pixman_image_t *fb, int width, int x, int y,
-                              pixman_image_t *linebuf)
-{
-    pixman_image_composite(PIXMAN_OP_SRC, linebuf, NULL, fb,
-                           0, 0, 0, 0, x, y, width, 1);
-}
-
 pixman_image_t *qemu_pixman_mirror_create(pixman_format_code_t format,
                                           pixman_image_t *image)
 {