Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!stjhmc!p88.f15.n300.z1.fidonet.org!Lawson.English From: Lawson.English@p88.f15.n300.z1.fidonet.org (Lawson English) Newsgroups: comp.sys.mac.programmer Subject: Re: How to access frame buffer on Mac II? Message-ID: <2074.27B62531@stjhmc.fidonet.org> Date: 10 Feb 91 07:27:03 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:300/15.88 - Tucson Apple Core, Tucson AZ Lines: 29 Jennifer S Lanham writes in a message to All JSL> Sorry, I should have stated that QuickDraw is too slow for what JSL> I am trying to do. I WANT to get around its slowness by drawing JSL> directly to the frame buffer. I can do it on a plus. Does anyone JSL> know how to draw directly to the frame buffer on a Mac II? Any JSL> suggestions welcome and appreciated. Sorry, I have problems with E_Mail, but I'd like to point out that QD can be speeded up through various means:\ 1) bypass the trap dispatcher; if you are doing lots of pixel manipulation, the 100+ cycles-per-trap-call overhead can kill you. Use NGetTrapAddress to jump directly to where you need to go. 2) offscreen bit/pixel maps can speep things up amazingly as you don't need to worry about clipRgns, etc whilest drawing. 3) I seem to recall that FillRect can actually be faster than LineTo for drawing lines... Just some suggestions for keeping withing Apple guidelines. Lawson -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!300!15.88!Lawson.English Internet: Lawson.English@p88.f15.n300.z1.fidonet.org