Subject: Re: rasops "attr"
To: None <M.Drochner@fz-juelich.de>
From: Michael <macallan18@earthlink.net>
List: tech-kern
Date: 05/23/2005 13:45:10
--Signature_Mon__23_May_2005_13_45_10_-0400_1FhxevTW.RKhmX5X
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> This is not just the "rasops" library, but part of the
> wsdisplay interface. The reason is that there might be
> more complex display adapters where more than a bitmask
> is needed to represent a color, or perhaps some dynamic
> ressource allocation is needed. In that case, a pointer
> could be used as handle.
> "rasops" is free to use a 32-bit type internally for
> calculations. Well, as long no display with a color
> depth >32 shows up.

Isn't that what ri_devcmap is for? The attributes usually don't need to
store anything besides indexes in ri_devcmap and probably a handful of
flags. Anyway, the attribute type should be the same size on all
architectures.

have fun
Michael

--Signature_Mon__23_May_2005_13_45_10_-0400_1FhxevTW.RKhmX5X
Content-Type: application/pgp-signature

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

iQEVAwUBQpIWpspnzkX8Yg2nAQJNiQf/RoVnAZ63JtZu2M2T1jpuOUC3xGXNErMM
QPZgCd9WSFcdXIopUemFzCyyPtveE6Eu1Enlte2VSG5I44EbeYd4cZ81gPtZ5vFN
aOgUz9Ioc9/IBEnpkK/MMmGGNgEydz/VAEwQiEl1Ekws4BTxYqE6JZXPMkFOWoCV
Q6OfpYrLePNkiAsY641WX5k8wdjN2hUK7IkhFQIMzO5/+4C33t/kmjczWWLz7y7l
gf1YynM8V6CeUarTnK4Y7nb3SxYnKxlvJXK+7dlTThXYsJSpapQgyGAJ/oiCB6FS
mu1zf8uUrBbrFMCIJFSPVy+AFhlP95dyKTHZw7RAP3P/L4ocJ3BAhQ==
=dQOe
-----END PGP SIGNATURE-----

--Signature_Mon__23_May_2005_13_45_10_-0400_1FhxevTW.RKhmX5X--