On Wed, 15 Jun 2011 22:47:44 +1000, Graham Cox said:

>On 15/06/2011, at 10:30 PM, Wolfgang Kundrus wrote:
>
>> We have to update a lot of small onscreen objects and performance is
>way better, when we travers them outside the Cocoa view tree. If we
>would use invalidating, we would have to go thru our complete view tree
>and check for overlaps with the update rect.
>>
>
>Does each object have its own view?

If so, you might also get better performance (on >= 10.6) using 'concurrent 
view drawing', see the AppKit release notes:

<http://developer.apple.com/library/mac/#releasenotes/Cocoa/AppKit.html>

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

Reply via email to