Subject: Re: hardware cursor acceleration in wsdisplay....
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Michael <macallan1888@gmail.com>
List: tech-kern
Date: 04/28/2006 13:40:38
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

>> That doesn't have much to do with the image format used by the DAC or
>> graphics controller.
>> And on such a display you'd use black/white + mask. Sorry, I've yet to
>> see any hardware that really uses only 1 bit cursor data and no mask.
>
> I've not seen any either.
>
> But imagine a simple mask, with a global bit indicating whether the 
> mask
> represents on or off bits (basically mask + 1-bit color map).  I'm
> imagining embedded hardware here, like what could be used e.g. for a
> cell phone or Newton-type PDA.  I don't know that anyone has ever done
> such simple controllers before.

Sounds plausible but then these devices probably wouldn't have hardware 
sprite support at all. Anyway, nothing worth losing any sleep over I 
guess.

>>>>>>     4) various alpha blended formats...
>>>>>
>>>>> Yes, bitmap + alpha makes sense. Well, in a way bitmap+mask is a 1 
>>>>> bit
>>>>> bitmap and a 1 bit alpha channel ;)
>>>>
>>>> Yeah.  Radeon can do better, but I'm not implementing right now...
>>
>> None of mine does anything like that as far as I know ( the voodoo3
>> might though ) but we definitely should keep it in mind.
>
> The Radeon X driver looks like it uses the alpha blending stuff for the
> cursor.  I've not tested it myself, because I don't have a suitable
> combination of Radeon + hardware +OS where I can test XFree86/Xorg.
>
> That could change soon though.

Hmm, I need to check that. There's a radeon on my iBook's mainboard.

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

iQEVAwUBRFJTl8pnzkX8Yg2nAQJoSgf/V1GkWHFB4YhS9Yzhd3yfzVElI89WzRBZ
lnBiHVyXWBnJqUr1sMt1JOpaXN5/pTK/yEGJWsULwNApdTs4Am8OJKWdY6pJemne
hTaeMXPdV9aQoO7NRrltjTARiPVA1TT56Ggf27hPOs1ANBaUp/q37heGm/5RPlLT
LYW+kSG8MdXIqPeNoOnwma7NDf6Nm+6IiaqnHbyBZhZYERuEqhj/VXMgFb0Xmc+A
y5EOZN8V+YWmKYg+z4ZpoQFtoXRfEJBXs+xI4X8TqYjyM3i6yhyro6qFLIWTpygd
G2JGewVrG712gS5o8U0uouz+G/vuD9Z3GYMxzx6aGhHRK6IbzAGIHQ==
=fwGh
-----END PGP SIGNATURE-----