TIL that iOS7's drawViewHierarchyInRect method is _much_ slower than renderInContext (and far too slow to use in FXBlurView, sorry).
Conversation
what? That doesn’t make sense, they promised that it was orders of magnitude faster?
2
I though the same thing. Do you have ongoing animations or something (where renderInContext fails to render correctly)?
1
here's the project. I look forward to you pointing out my schoolboy error :-) charcoaldesign.co.uk/resources/fxbl
1
I was expecting the vImage code to be the bottleneck, but no :-/
1
yeah. And of course it's the one part that has to be done on the main thread.
1
Replying to
You don’t want to define the layer’s drawing routine in terms of snapshots. Then it’s recursive!
Replying to
I tried removing that method altogether (it's not used for dynamic updates) and it made no difference.
Replying to
note that the blurview is hidden prior to the snapshot anyway, so shouldn't affect the snapshot time.



