Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Very slow GraphicsImportDraw on MacOS 9.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very slow GraphicsImportDraw on MacOS 9.1



At 03:17 PM 9/21/2001 -0700, you wrote:
I have found that my JPEG drawing code is extremely slow and after much research I have found that the slow down began with MacOS 9.1.

I wrote a very simple (about 120 lines of code) application that loads a JPEG and draws it 100 times. On the same machine (iMac 266MHz) I ran my test running MacOS 9.0.4, and it takes 266 ticks to call GraphicsImportDraw 100 times. If I ran my test with macOS 9.1 it takes 733 ticks.

On my PB G4, running the same application it takes 775 ticks if I draw to an offscreen GWorld. If I change the application to draw directly on the screen it only takes 166 ticks to draw the JPEG 100 times.

If I change any parameters to the graphics importer, like the BoundsRect or DestRect then it will take 755 ticks to draw onto the main window, which is visible and on screen.


I guess that quickdraw uses videomemory acceleration ?
What if you create a GWorld in VRAM ?

I find quicktime picture decompression very slow too, but i never thought of running tests...

patrice


References: 
 >Very slow GraphicsImportDraw on MacOS 9.1 (From: David Fichou <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.