Subject: Re: XF86 wsfb driver and wscons ioctl
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Michael <macallan18@earthlink.net>
List: tech-x11
Date: 03/24/2005 11:24:13
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

>> I think it should be possible for the client to get away without 
>> having
>> to deal with bit-offsets in pixel values directly on 8bit displays,
>> even if these do less than 8 bit colour.
>
> If all FBs which have less depth number than bpp use bits from
> LSB in its bpp, bit-offset isn't needed. But I just wonder whether
> there is mono framebuffer which uses MSB in bytes (or bits in 2 or 4 
> bpp).
Good question, all 2 or 4bit displays I've ever seen either use 
separate 1bit planes or packed pixels ( 2 or 4 pixels in one byte ). 
There's a 4bit catseye-like framebuffer for hp300 if I remember 
correctly, but it should use 8bit pixels.
I /seem/ to remember some mono-in-8bit framebuffer that wanted 0xff for 
a white pixel and everything else for a black one ( which ended up as 0 
when read back ), but that could be my flaky memory.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBQkLprcpnzkX8Yg2nAQJp9wf+JZQwbsAwEGThAbye4HHHBEN0uAYu1S8y
fPP//v1Og+3kldCZ+vOYtiFa4jXNUsZcnV4V0HAePb7PkBVF22pblIahWO3QDIK2
3pyHKxlWDsyXIABKp+ixrnJndLZy+mo655hdrdVy8K29IRksowKuB3cUwHZkLRSu
8VGPBp954bxVbANFsAtO5znLfN+aK7s5srTeqKfEkPlfX/TT0Q1MCNDIVi0K/Fmy
utLF9ry+LChhSoWLKfSdGjDl+n7+ni0+vVcyzcb14MPhFeSo/xW5g3pLAdIqr88w
0JmBmaWTAv7N4U+k/ZVxIomepHGH2EfIoHQ9FCv/h0WW/BRpjLN7rg==
=q3Jv
-----END PGP SIGNATURE-----