Re: Can I get AppKit to draw this faster ?
Re: Can I get AppKit to draw this faster ?
- Subject: Re: Can I get AppKit to draw this faster ?
- From: Marcel Weiher <email@hidden>
- Date: Tue, 8 Oct 2002 23:59:23 +0200
On Tuesday, October 8, 2002, at 11:41 Uhr, Nat! wrote:
[drawing lots of images]
A good tip, but unfortunately my intended effect very much depends on
scaling.
Have you tried the "Quartz Extreme" trick? Setting the bitmap up as an
OpenGL texture and then just scaling the polygon used to draw it?
Should then take essentially no time.
60MB/s would be sweet indeed, alas it's only 2000 lines/s -> 2000 *
128 * 4 = 1MB/s. Just a ballpark figure of course.
Looking some more at the Sampler.app output it seems that the AppKit
and CoreGraphics is more busy locking internal resources, than
actually drawing. I suspect there is no way for me to escalate these
locks, outside of my drawing loop ?
#1 advice, at least back in NS/OS days: don't use NSImage.
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.