This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Icons [in Server Test 87]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]