Re: CALayer renderInContext changes zPosition of some child layers

2013-01-17 Thread Thomas Bunch
On Jan 5, 2013, at 7:29 AM, David Duncan wrote: > On Jan 3, 2013, at 12:46 AM, Markus Spoettl wrote: > >> […] >> I've been debugging this one for quite a while until I realized that missing >> layers are not missing but somehow their zPosition got messed up so they >> ended up below another

Re: CALayer renderInContext changes zPosition of some child layers

2013-01-05 Thread Markus Spoettl
Hello, On 1/5/13 4:29 PM, David Duncan wrote: >> On Jan 3, 2013, at 12:46 AM, Markus Spoettl wrote: I've been debugging this one for quite a while until I realized that missing layers are not missing but somehow their zPosition got messed up so they ended up below another sibling layer. My be

Re: CALayer renderInContext changes zPosition of some child layers

2013-01-05 Thread David Duncan
On Jan 3, 2013, at 12:46 AM, Markus Spoettl wrote: > Hello, > > I'm having a hard time understanding a problem with CALayer's > -renderInContext: > > I have a custom UIView with custom delegate-drawn sublayers. Almost > everything renders correctly when I do this: > > [[view layer] renderIn

CALayer renderInContext changes zPosition of some child layers

2013-01-03 Thread Markus Spoettl
Hello, I'm having a hard time understanding a problem with CALayer's -renderInContext: I have a custom UIView with custom delegate-drawn sublayers. Almost everything renders correctly when I do this: [[view layer] renderInContext:aContext]; (the context is set up correctly and produces t