From d18954ba10e559bfed559a7b4670f5f4f173993d Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Wed, 1 Feb 2023 09:16:30 +0100
Subject: [PATCH] backend-vnc: stop using pixman shadow buffer
Since neatvnc frame buffers are in system memory, using a shadow
buffer just causes an unnecessary copy in the pixman renderer.
Stop using the shadow buffer.
Signed-off-by: Philipp Zabel
---
libweston/backend-vnc/vnc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libweston/backend-vnc/vnc.c b/libweston/backend-vnc/vnc.c
index 662c511c..5b2d7784 100644
--- a/libweston/backend-vnc/vnc.c
+++ b/libweston/backend-vnc/vnc.c
@@ -583,7 +583,6 @@ vnc_output_enable(struct weston_output *base)
struct vnc_backend *backend;
struct wl_event_loop *loop;
const struct pixman_renderer_output_options options = {
- .use_shadow = true,
.fb_size = {
.width = output->base.width,
.height = output->base.height,