Re: Faster alternative to NSImage draw/composite?
Re: Faster alternative to NSImage draw/composite?
- Subject: Re: Faster alternative to NSImage draw/composite?
- From: Charles Steinman <email@hidden>
- Date: Sat, 2 Aug 2008 15:01:35 -0700 (PDT)
--- On Sat, 8/2/08, Matt R <email@hidden> wrote:
> I have read through Apple's drawing optimization guide
> and have been
> searching for a way of speeding these operations up, they
> are unacceptably
> slow. I have several 72dpi PNG image files (about 1024x768
> each) which I
> need to draw repeatedly into a standard NSView subclass
> over time. I would
> like to avoid using OpenGL directly if possible, it seems
> like there should
> be a faster way of drawing these other than NSImage's
> draw or composite
> methods.
You might try a CGLayer. It's designed for fast repeated drawing.
Cheers,
Chuck
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden