• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Most efficient way to "merge" CA layers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Most efficient way to "merge" CA layers (From: "Huibert Aalbers" <email@hidden>)

  • Prev by Date: [Moderator] List Guidelines (updated with Snow Leopard information)
  • Next by Date: Re: CALayer scale transform
  • Previous by thread: Most efficient way to "merge" CA layers
  • Next by thread: Unvending a distributed object
  • Index(es):
    • Date
    • Thread