Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!gate.oxy.edu!oxy!wirehead From: wirehead@oxy.edu (David J. Harr) Newsgroups: comp.sys.mac.programmer Subject: How to call the QuickDraw Bottlenecks from custom bottlenecks? Message-ID: <117652@tiger.oxy.edu> Date: 19 Oct 90 19:56:41 GMT Organization: Occidental College, Los Angeles, CA 90041 Lines: 24 I am doing some graphics programming, and I am replacing some of the QuickDraw bottlenecks to get increased performance. Taking a look at issue #3 of d e v e l o p, there is an article by Guillermo Ortiz on the 8.24 GC, he states that whenever possible, if the bottlenecks are replaced that the application that replaced the bottlenecks should call the originals through the trap dispatcher to ensure compatibility. Now, I am missing something here. If I replace the bottlenecks to increase speed, don't I just shoot myself in the foot by calling the very routine that I am trying to speed up when I am finished doing my speedy drawing? I want to support the accelerator cards and ensure that the people who buy them are not hurt by my replacing the routines, but I'd also like to run faster on those machines without acceleration. If anybody can tell me exactly what Mr. Ortiz is referring to or can direct me to more specific literature on replacing QuickDraw bottlenecks, I'd be appreciative (I already know about IM I, I have read everything about bottlenecks in there several times.) advaTHANKSnce David The preceding has been another fine product of the warped mind of wirehead@oxy.edu