Closed
Description
Implement GrContextOptions::PersistentCache
and provide it to Skia GrContextOptions.fPersistentCache
. 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.