home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!psuvax1!rutgers!cbmvax!jesup
- From: jesup@cbmvax.commodore.com (Randell Jesup)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ClearEOL and SetAPen
- Message-ID: <34853@cbmvax.commodore.com>
- Date: 2 Sep 92 20:42:11 GMT
- References: <paulk.1av8@terapin.com> <52752@dime.cs.umass.edu> <65079@cup.portal.com> <34841@cbmvax.commodore.com>
- Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
- Organization: Commodore, West Chester, PA
- Lines: 21
-
- chrisg@cbmvax.commodore.com (Chris Green) writes:
- >In article <65079@cup.portal.com> Lee_Robert_Willis@cup.portal.com writes:
- >>Out of curiousity: _Why_ is SetAPen() slow? What is involved in changing
- >>the pen color besides simply storing the new value?
- >>
- > SetAPen figures out new minterms for the blitter, based on the DraMod
- >and BPen.
- > Reports of its slowness are greatly exaggerated (at least under >2.0).
-
- For a comparison, in 1.3 SetAPen (et al) took roughly 1400 68000
- cycles to do. In 2.0, if I remember correctly, they take ~200-700 cycles
- depending on drawmode/etc. (I did the first cut at optimization of them
- back in the early 1.4 days, later redone by Bart for a few more cycles.)
-
- --
- "Rev on the redline, you're on your own; seems like a lifetime, but soon it's
- gone..." Foreigner
- -
- Randell Jesup, Jack-of-quite-a-few-trades, Commodore Engineering.
- {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com BIX: rjesup
- Disclaimer: Nothing I say is anything other than my personal opinion.
-