<p dir="auto">Implement <code class="notranslate">GrContextOptions::PersistentCache</code> and provide it to Skia <code class="notranslate">GrContextOptions.fPersistentCache</code>. This allows Skia to cache shaders compilations to persistent storage. Even if platforms cache shader bytecode, Skia still has to do some non-trivial amount of work to generate the shader source in the first place. Using the persistent cache allows Skia to avoid repeating this work.</p>
<p dir="auto">On some apps, the first time you run a "big" animation (like a hero transition), there appears to be some jitter/jank. After the animation is warmed up, it appears to become smoother.</p>
<p dir="auto">This is a tracking issue to investigate and solve.</p>