Path: utzoo!attcan!uunet!wuarchive!julius.cs.uiuc.edu!apple!sun-barr!newstop!exodus!prisoner.Eng.Sun.COM!zellers From: zellers@prisoner.Eng.Sun.COM (Steve Zellers) Newsgroups: comp.sys.mac.programmer Subject: Re: How to call the QuickDraw Bottlenecks from custom bottlenecks? Message-ID: <1562@exodus.Eng.Sun.COM> Date: 19 Oct 90 22:26:31 GMT References: <117652@tiger.oxy.edu> Sender: news@exodus.Eng.Sun.COM Organization: SixHeads Lines: 23 In article <117652@tiger.oxy.edu> wirehead@oxy.edu (David J. Harr) writes: >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. What do you mean, plugging your own bottlenecks in for speed? Is your code to render a line on the framebuffer FASTER than apples? Re-read it again, I don't think you're doing quite what you think you are. Bottleneck plugging is most useful when you want to examine each individual object - if you then want this to be rendered, you should proceed to call StdLine, etc. If you don't want it rendered, you don't need to daisy chain it. -- ------------------------------------------------------------------------ Steve Zellers zellers@prisoner.sun.com "All you slimy fruitcakes in San Fransisco are going to find out how to get to 180 and the letter 'G'. I repeat, there is No Other Possibility."