Premultiplied alpha handle for driver

Jonathan Morton jonathan.morton at movial.com
Fri Jun 4 02:44:03 PDT 2010


>        If the src is a RGB565, and mask is a A8, dest is a RGB565, how to do the rendering?
>        My thought is:
>                1) convert the src to  ARGB
>                2) then the same as routine.
>        Is it correct?

The overall formula remains the same, yes.  You would need to convert
the result back to RGB565 after calculating.

Most graphics hardware I'm aware of is fairly format-agnostic, but I
get the impression that Geode is a rather simple device.

 - Jonathan Morton


More information about the xorg-devel mailing list