Hi the list, Using CATiledLayer lately, which works great except for one thing.
:::Main Thread::: [tiledLayer setNeedsDisplay] [model change] [tiledLayer setNeedsDisplay]; // not all tiles have been drawn at this point :::Tiled Layer Thread::: [delegate drawLayer...] Invoking second setNeedsDisplay marks all the tiles as dirty except the one being drawn at that time. I believe this is not a correct behavior in CATiledLayer. Or is it, but please explain? I made the [delegate drawLayer:...] and the [model change] atomic, but this is not sufficient to get it right all the time (synchronization should be in the callers). What I sometimes get is one of the tiles that is not correctly drawn. (and no way of redrawing only that one) Any thought on this? Thank you, Raphael _______________________________________________ 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