My CMP app stutters on first launch on iOS then be...
# multiplatform
e
My CMP app stutters on first launch on iOS then becomes smooth after a few interactions. Fable is telling me this has something to do with Skia compiling Metal shaders lazily on first draw, cached per install. Flutter fixed this with SkSL warm-up, then Impeller. Any equivalent in Skiko?
p
I think what you want to keep an eye on is skia graphite. My very limited understanding is that it is basically all of the benefits of impeller in upstream skia. I don't think CMP is using it yet though
e
Thanks that looks interesting. I hope they get to bring it to CMP. I resorted to rendering the animations and expensive UI during the landing screen under a solid background (had to be two rects instead of just big one because CMP just ignored elements under one big solid rect) to trigger the OS Metal cache. This made it smooth from the get go from a user's perspective.
😯 1