Article View: comp.sys.mac
Article #46477QuickDraw performance boosting
From: Prof. Peter Welcher
Date: Sun, 18 Feb 1990 15:53
Date: Sun, 18 Feb 1990 15:53
26 lines
1532 bytes
1532 bytes
I've got a program where my chief performance problem is writing to the screen. (Any others are pure coding problems.) It seems like QuickDraw bottleneck procedures are aptly named. Various people have suggested using off-screen bitmaps. Benchmarking seems to refute the theory that this produces faster results: you have the drawing cost *plus* the CopyBits cost. Am I missing something ? I'd appreciate it if anyone could share folk-wisdom on fast screen drawing (lines & text). I don't need gory details, just a sketch or a fresh idea. The program involves a spreadsheet-like display. I've found that drawing lines around cells is much worse than drawing a grid, presumably because many more lines are being clipped. There are other, fairly obvvious, improvements I've been able to make. What I'm looking for is things like off-screen bitmaps: whole approaches to fast drawing that I might not have thought of. Tricks of the trade, etc. Since I read the news groups irregularly, and mayy lose a reply in the clutter, I'd appreciate email responses: pjw@sma.usna.navy.mil Thanks !
Technical Details
Message-ID:
<368@usna.MIL>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!wuarchive!uunet!usna!pjwShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!wuarchive!uunet!usna!pjw From: pjw@usna.MIL (Prof. Peter Welcher) Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: QuickDraw performance boosting Keywords: quickdraw, performance Message-ID: <368@usna.MIL> Date: 18 Feb 90 15:53:47 GMT Followup-To: poster Distribution: usa Organization: U.S. Naval Academy, Annapolis, MD Lines: 26