[ros-dev] [ros-diffs] [tkreuzer] 50942: [WIN32K] Do raster operation on 4 bytes instead of only 3. Fixes ... maybe noone has noticed yet ; -)

Timo Kreuzer timo.kreuzer at web.de
Tue Mar 1 11:22:45 UTC 2011


Am 01.03.2011 11:16, schrieb Colin Finck:
> tkreuzer at svn.reactos.org wrote:
> > Do raster operation on 4 bytes instead of only 3.
>
> Quoting jgardou's commit before:
> >   - When applying raster operation, do so only on 24 bits, we don't
> >     support alpha channel in win32k
>
> I have no idea about DIB code, but just from the commit message I 
> presume that this change to 24 bits has happened deliberately.

Probably, but that doesn't make it correct ;-)

The MaskBlt tests show that we should apply the operation on all 32 bits.
Also it will be applied on the bits of mono bitmaps, which can lead to 
undesired results if 3/4 of the pixels are simply black. Please have a 
look at 2nd stage installer (disabled buttons)

Timo




More information about the Ros-dev mailing list