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: 01/18/2005 11:02:00
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

>> There's WSDISPLAYIO_GINFO, maybe it should be extended a little.
>
> I'm afraid we can't change existing ioctls for backward binary
> compatibility.
True.

> Maybe a new ioctl should have (mostly similar with rasops_info):
> - width per pixels
> - height per pixels
> - depth in bits
> - stride in bytes
> - ptr for mmap()
> - number of bits for red (for 15/16/24/32 bits per pel)
> - number of bits for green
> - number of bits for blue
> - which bit red starts at
> - which bit green starts at
> - which bit blue starts at
> - some bitblt functions (copy, fill etc.?)
> and more?
VRAM size would be interesting, so we know how much off-screen memory 
we can use. This would only make sense with bitblt functionality of 
course. Simple screen-screen copying and rectangle filling would be 
nice to have ( and easy to emulate in software ).

have fun
Michael

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

iQEVAwUBQe0y+MpnzkX8Yg2nAQLESQf8C5YJpF5IufUSU5lUSdEXPGWxCTkcqdMe
bXCL/m9PWgGopL7BuGwaWyMfEuARuBP5YnRC59+MS/Muf3q18IkG/aCz5AdvkzlK
5WuDpDbf+kxguyleIuKJvUMBp8jpLupFwPSGVjOH01EychU+I7CkuRXFQSFtDEcw
bLCVpupv93PXymFIDH8J81Kft/tx9+xXNrf/ka/bHTH4TQED36HT4oxZv73nqM7o
ydqdmny3Aj/BOrXkyLN4oy/BXv6t5ODAX3/acme+5aeuJunGwxJzAnqjV7SmKcsy
d3rUBhqlEfgUB1dkY2SFWb5PVoTZ82GMjo0ctSodTIHTLHnD712bmQ==
=8Hu7
-----END PGP SIGNATURE-----