Skip to content

Provide a GrContextOptions::PersistentCache to Skia #14028

Closed
@chinmaygarde

Description

@chinmaygarde

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.

Metadata

Metadata

Assignees

Labels

c: performanceRelates to speed or footprint issues (see "perf:" labels)engineflutter/engine repository. See also e: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions