On Thu, Sep 26, 2024 at 07:38:23AM +0200, Ahmad Fatoum wrote:
> On 25.09.24 16:34, Sascha Hauer wrote:
> > When we have a background image we want the background to actually shine
> > through, so set the alpha value of the background to transparent and not
> > opaque.
> > 
> > Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de>
> 
> Reviewed-by: Ahmad Fatoum <a.fat...@pengutronix.de>
> 
> I wonder if this could cause a slow down for framebuffers with no alpha 
> channel,
> because it will read the framebuffer on every pixel write for alpha blending
> purposes, even if ultimately unnecessary?

A pixel is drawn with gu_set_pixel() which doesn't read at all.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to