Hi
On Mon, Oct 26, 2015 at 2:19 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
On Thu, Oct 22, 2015 at 05:02:54PM +0200, Lukas Venhoda wrote:
> When checking, whether we use alpha channel, we need to compare color
> format with constant with the same byte order.
>
> When clearing alpha channel, we must clear in proper byte order.
Regarding cleanup of alpha channel, there is clear_dest_alpha() in
sw_canvas.c, is it all fine with respect to endianness handling?
Christophe
Just tried this, and clear_dest_alpha() is endianess safe.
It is clearing the alpha before LE to BE conversion,
so it stays the same on BE machine.
so it stays the same on BE machine.
Lukas Venhoda
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel