fix(gpu-arm2d): fix a blending issue in blend-normal-with-mask-and-opa (#5163)

This commit is contained in:
Gabriel Wang
2024-01-03 09:24:27 +00:00
committed by GitHub
parent e277114631
commit f2c103260f

View File

@@ -877,12 +877,11 @@ static bool LV_ATTRIBUTE_FAST_MEM arm_2d_copy_normal(lv_color_t * dest_buf,
} }
/*Handle opa and mask values too*/ /*Handle opa and mask values too*/
else { else {
__arm_2d_impl_gray8_alpha_blending((uint8_t *)mask, __arm_2d_impl_gray8_colour_filling_with_opacity((uint8_t *)mask,
mask_stride, mask_stride,
(uint8_t *)mask, &copy_size,
mask_stride, 0x00,
&copy_size, 255 - opa);
opa);
__arm_2d_impl_src_msk_copy((color_int *)src_buf, __arm_2d_impl_src_msk_copy((color_int *)src_buf,
src_stride, src_stride,