Re: CALayer drawing efficiency

2011-03-14 Thread David Duncan
On Mar 13, 2011, at 10:33 PM, Martin Hewitson wrote: > I'm working on an app which will show a grid of CALayers (a few hundred in > total), each layer is constrained so that its size scales up and down with > the super layer. The super layer is then hosted by a view and resizes with > the view.

CALayer drawing efficiency

2011-03-13 Thread Martin Hewitson
Dear list, I'm working on an app which will show a grid of CALayers (a few hundred in total), each layer is constrained so that its size scales up and down with the super layer. The super layer is then hosted by a view and resizes with the view. Each of the grid layers then has sublayers showin

Re: Drawing Efficiency

2009-02-15 Thread Michael Ash
On Sun, Feb 15, 2009 at 4:32 AM, Alejandro Rodriguez wrote: > Hi, > > I have a NSView which hosts a list of NSViews (like an NSTableView with > views instead of cells). It works perfectly except when the list starts to > grow. When I get too many items resizing become sluggish, and after checking

Drawing Efficiency

2009-02-15 Thread Alejandro Rodriguez
Hi, I have a NSView which hosts a list of NSViews (like an NSTableView with views instead of cells). It works perfectly except when the list starts to grow. When I get too many items resizing become sluggish, and after checking I think it is because it is drawing all the views all the tim