Icons [in Server Test 87]

Colin Harrison colin.harrison@virgin.net
Fri May 30 17:45:00 GMT 2003


Hi Earle,

I thought we were OK at 32bpp (1280x1024) until I looked again!

Device dependence maybe, I'm got an old ATI Rage Pro card (don't ask why?).
It's the black and white icon's images that's are going wrong not the masks.
The black (0) is rendered transparent.

I've just started a trace on this one:-

On xclock I get

6 calls on winScaleXBitmapToWindows

effBPP=32 effXBPP=1 effXDepth=1
effBPP=1 effXBPP=1 effXDepth=1
effBPP=32 effXBPP=1 effXDepth=1
   repeat
effBPP=32 effXBPP=1 effXDepth=1
effBPP=1 effXBPP=1 effXDepth=1
effBPP=32 effXBPP=1 effXDepth=1

The 1st and 4th are the image passes.
If I nobble these passes (effXBPP=1 and effBPP=32) (leaving the 3rd and 6th
mask pass unchanged) and
bodge in say 127 to case32 outPtr's (4 times the same to the break) instead
of the original 4x0 fall through; I get
white and 'grey' (i.e. the outline and hands are no longer transparent!).

I'm just a born hacker and can't resist mucking about in someone else's
algoryrhymes!

Some endian problem perhaps?

I've got to go out soon so will leave it 'in the air' for a few hours.

Colin



More information about the Cygwin-xfree mailing list