Skip navigation.
 
mlCoreAnimation efficiency
FROM : Half Activist
DATE : Thu Mar 06 11:43:15 2008

Hello All,

   As I'm investigating on which drawing techniques to use for a 
software I'm planing to create,
   imagine a kind of vector drawing program (that's not really that but 
a somewhat similar).
   In its actual version, all drawing relies on NSBezierPath/Quartz 
primitives and is really fast.
   Now, I'd like to use CALayers and CoreAnimation extensively, so my 
questions are the following:

   - Should I take care of not using too much Layers like with NSView 
(currently I have 1 view that draws all). By too much, in the worst 
case scenario I could use tens of thousands of layers (or more!) 
(actually ~one per object drawn)
   - Is there a performance slowdown if I use too many of them?
   - Would it take quite a lot of memory?
   - etc.

Regards.

Related mailsAuthorDate
mlCoreAnimation efficiency Half Activist Mar 6, 11:43
mlRe: CoreAnimation efficiency Chris Ryland Mar 6, 18:35
mlRe: CoreAnimation efficiency Jens Alfke Mar 6, 22:16