• 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
Scalability of CALayers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scalability of CALayers


  • Subject: Scalability of CALayers
  • From: Graham Cox <email@hidden>
  • Date: Fri, 26 Oct 2012 11:18:58 +1100

I'm wondering how scalable the Core Animation layer model is.

When a region of a layer-backed view is updated, does the CA system have a way to quickly identify layers for update, e.g. some sort of spatial hash, or does it simply traverse the whole tree looking for intersections? If the latter I would expect that not to scale so well to thousands of layers.

Some sort of indication about this would be a key decision point about whether to base a substantial update of DrawKit on CALayer or whether to stick to "rolling my own". There are lots of compelling advantages to CALayer, but scalability is vital.

--Graham




_______________________________________________

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

  • Follow-Ups:
    • Re: Scalability of CALayers
      • From: Richard Somers <email@hidden>
  • Prev by Date: Re: App rejection due to app-sandboxing invalid entitlement
  • Next by Date: Re: Why does a custom CALayer property work differently from a standard one?
  • Previous by thread: Re: Object not being drawn in Cmd + N window. Why?
  • Next by thread: Re: Scalability of CALayers
  • Index(es):
    • Date
    • Thread