winex11.drv: Support GdiAlphaBlend with blendfn.AlphaFormat == 0 (2nd try, fixes bug #9262)

Alexandre Julliard julliard at winehq.org
Thu Aug 30 05:37:25 CDT 2007


"Mikolaj Zalewski" <mikolajz at google.com> writes:

> I'm not sure if I understood how it's supposed to look like. Is
> something like this good? It adds an 'if' in the inner loop, but it's
> an 'if' that is easy to predict and this version makes less memory
> reads so maybe it will be better.

You should put the if outside the loops, and keep the existing fast
case with the memcpys and add a separate slower way for when alpha
needs patching.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list