> Christoph Egger <[EMAIL PROTECTED]> wrote:
> 
> > GGI_DISPLAY="tile:0,0,640,480,(X)"      red      green   blue      white
> > GGI_DISPLAY="tile:0,0,640,480,(Xlib)"   black    blue    green   light
blue
> 
> O.K. - that sounds like an alignment mismatch in 32 bit wide 24 bit
> displays. If the application thinks a pixel looks like RGB-, while
> the hardware thinks it looks like -BGR, that is exactly what is to
> be expected. Look
> 
> Application: red => FF 00 00 ?? (with ?? probably being set to 00)
> Hardware:    FF 00 00 00 => R=00,G=00,B=00 => black
> 
> App: green: 00 FF 00 00 => R=00,G=00,B=FF => blue
> App: blue : 00 00 FF 00 => R=00,G=FF,B=00 => green
> App: white: FF FF FF 00 => R=00,G=FF,B=FF => light cyan

Ahhh! - I see.

So - IMO - Xlib should autodetect this to handle this case right.
The question is, _how_ Xlib should autodetect the case to handle...

-- 
CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Reply via email to