Subject: Re: XF86 wsfb driver and wscons ioctl
To: None <macallan18@earthlink.net>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 01/19/2005 00:40:16
In article <032B40D2-6884-11D9-9BD9-000A95E95CCE@earthlink.net>
macallan18@earthlink.net wrote:

> There's WSDISPLAYIO_GINFO, maybe it should be extended a little.

I'm afraid we can't change existing ioctls for backward binary
compatibility.

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?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp