For CALayer.shadowPath “Specifying the path explicitly using this property will usually improve rendering performance”. When does it not?
Conversation
If the path is extremely complicated, it'd take more time to rasterize than the offscreen drawing pass.
1
2
6
thanks and a related follow up, is there any benefit if the view is a simple opaque square?
2
1
Replying to
Oh, wait, I totally lied. Square-with-corner-radius is not on a special fast path for shadows; just for masking. Sorry!


