Re: Most efficient way to "merge" CA layers
Re: Most efficient way to "merge" CA layers
- Subject: Re: Most efficient way to "merge" CA layers
- From: Brian Christensen <email@hidden>
- Date: Wed, 11 Jun 2008 23:39:18 -0400
On Jun 11, 2008, at 6:34 , Huibert Aalbers wrote:
I am writing an app that uses multiple layers to display objects
that move
over a static background (which is drawn in its own layer). After the
animation completes, I do no longer need all those layers and I
guess that
it would be more efficient to "merge" all these layers into a single
one.
Does anyone have an opinion on what would be the most efficient way to
perform such an operation?
Are you actually seeing a performance hit during profiling (ie. in
Instruments) by keeping the extra layers around? How many layers are
we talking about? I would not necessarily assume that merging the
layers would be any more efficient. And if profiling doesn't indicate
a performance issue, I wouldn't waste my time on it.
/brian
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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