<div dir="ltr">Hi<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 2:19 PM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Thu, Oct 22, 2015 at 05:02:54PM +0200, Lukas Venhoda wrote:<br>
> When checking, whether we use alpha channel, we need to compare color<br>
> format with constant with the same byte order.<br>
><br>
> When clearing alpha channel, we must clear in proper byte order.<br>
<br>
</span>Regarding cleanup of alpha channel, there is clear_dest_alpha() in<br>
sw_canvas.c, is it all fine with respect to endianness handling?<br>
<span class=""><font color="#888888"><br>
Christophe<br></font></span></blockquote><div><br></div><div>Just tried this, and clear_dest_alpha() is endianess safe.<br></div><div>It is clearing the alpha before LE to BE conversion,<br>so it stays the same on BE machine.<br><br></div><div>Lukas Venhoda<br></div></div><br></div></div>