Re: Speed problems using NSImage. Solution?
Re: Speed problems using NSImage. Solution?
- Subject: Re: Speed problems using NSImage. Solution?
- From: Andrew Farmer <email@hidden>
- Date: Sat, 6 Jan 2007 20:23:51 -0800
On 06 Jan 07, at 19:42, Matt R wrote:
<snip: arcade game using NSImage>
Can anyone offer any advice or explain why this is so slow?
Have you tried running your application under Shark yet? This will
often tell you where the bottlenecks are in your code.
It's pretty much a given, though, that you'll get *much* better
performance with OpenGL. AppKit isn't really optimized for game-type
graphics; it's primarily designed for user interface work. If you're
planning on doing any more game design in the future, I'd strongly
recommend learning OpenGL.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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