1From 0fc0b609631e9d67f7a51015e0cdc070335448e8 Mon Sep 17 00:00:00 2001 2From: Jeffy Chen <jeffy.chen@rock-chips.com> 3Date: Tue, 30 May 2023 11:23:57 +0800 4Subject: [PATCH 93/95] pixman-renderer: Honor alpha channel for shadow 5 6Use AR2 instead of XR24 for gbm format with alpha channel. 7 8Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 9--- 10 libweston/pixman-renderer.c | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13diff --git a/libweston/pixman-renderer.c b/libweston/pixman-renderer.c 14index 7678587..60cb7a1 100644 15--- a/libweston/pixman-renderer.c 16+++ b/libweston/pixman-renderer.c 17@@ -1492,7 +1492,7 @@ pixman_renderer_output_create(struct weston_output *output, 18 h = output->current_mode->height; 19 20 po->shadow_image = 21- pixman_image_create_bits_no_clear(PIXMAN_x8r8g8b8, 22+ pixman_image_create_bits_no_clear(PIXMAN_a8r8g8b8, 23 w, h, NULL, 0); 24 25 if (!po->shadow_image) { 26-- 272.20.1 28 29