Re: [common PATCH 8/8 v3] ppc: Fix alpha state checking and clearing on BE machines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Lukas Venhoda

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]