On 15/06/2011, at 7:16 PM, Wolfgang Kundrus wrote: > This did not influence it in a positive way. [NSWindow display] makes it > worth and takes down the performance of the whole application. > > > Is there anyway, I can inform the window that graphics need to be flushed ? > > Have you tried [NSWindow displayIfNeeded] (or just [... display])? >
Well, the question has to be asked: why are you drawing outside of drawRect: using lockFocus/unlockFocus anyway? Why not just schedule the animation using -setNeedsDisplay: and handle the actual rendering conventionally? Getting 60fps is no problem. --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com