Subject: Sun CG6, X11 and so on
To: None <port-sparc@netbsd.org>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 04/28/2005 11:10:26
--Signature_Thu__28_Apr_2005_11_10_26_-0400_UBtY3Fn6qkNl/tQT
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

I've been hacking the cgsix driver again ( added proper ANSI colour
support and virtual consoles, so now it should be on par with machfb
and pnozz now, although pnozz isn't official yet either ) - in its
current state this would break compatibility with RASTERCONSOLE  (
but the old code without acceleration should still work, fixing
RASTERCONSOLE isn't hard, depends if we really need it - at least
sparc64 is switching to wscons already, what about sparc? )=20
Anyway, what I'm getting at is - the driver only accelerates
screen-to-screen blits and solid fills. I'm sure the CG6 can do a lot
more, at least mono->8bit colour expansion would be nice, I can't really
imagine Sun not adding a CPU-to-screen blitter interface, these things
are especially useful on machines with strict alignment requirements (
like SPARC... ) because then the host wouldn't have to worry about that
and could just hand over image data in longword chunks without any
shifting ( pnozz and machfb do just that to draw characters )

So - is there any halfway decent CG6 documentation out there? The X11
sources weren't overly helpful since the code is ridden with loads of
macros to make it hard to figure out what /exactly/ it's doing.

Right now I could add some basic acceleration to XFree86's suncg6
driver, although it's already pretty usable, even without acceleration
( at least it has a hardware cursor ).


have fun
Michael

--Signature_Thu__28_Apr_2005_11_10_26_-0400_UBtY3Fn6qkNl/tQT
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQnD84spnzkX8Yg2nAQJlagf/cqt1wqgPeKhRWCGm5i4IRURsE6P/3j1I
wegotkOCtaHrncm5RAhLt3FLFWUEOiKNUfs+Y/SdFBfGyqgkeqCFOI+vZoM+56dO
3rVYSwp/OIo+p2E3rUEHOCS3DJh0gzUDL7zCzy9CFquihbSbRE+ex4iclUZpRwxZ
72Wc876QwePHBRcGgyYRZrT4gQnYDHv669HI012zIOu9UsrFKoomH8+z32pRR8TU
q1jP4sEi8CvXpcm+QY86T6O6h0BPaF/OLJS8DlQH2Ko9071QSsCctoAnOVGqaK0Q
mrJxv+lG7OJ9j2RKQ0lJCv1x+CWmluGjWj+vr2HbycSEnoH5oW+rsw==
=P664
-----END PGP SIGNATURE-----

--Signature_Thu__28_Apr_2005_11_10_26_-0400_UBtY3Fn6qkNl/tQT--