Flutter Engine
The Flutter Engine
|
Classes | |
struct | ShaderMetadata |
Functions | |
int | GetCurrentVersion () |
sk_sp< SkData > | PackCachedShaders (SkFourByteTag shaderType, const std::string shaders[], const SkSL::Program::Interface interfaces[], int numInterfaces, const ShaderMetadata *meta) |
SkFourByteTag | GetType (SkReadBuffer *reader) |
bool | UnpackCachedShaders (SkReadBuffer *reader, std::string shaders[], SkSL::Program::Interface interfaces[], int numInterfaces, ShaderMetadata *meta) |
Variables | |
static constexpr int | kCurrentVersion = 12 |
int GrPersistentCacheUtils::GetCurrentVersion | ( | ) |
Definition at line 19 of file GrPersistentCacheUtils.cpp.
SkFourByteTag GrPersistentCacheUtils::GetType | ( | SkReadBuffer * | reader | ) |
Definition at line 75 of file GrPersistentCacheUtils.cpp.
sk_sp< SkData > GrPersistentCacheUtils::PackCachedShaders | ( | SkFourByteTag | shaderType, |
const std::string | shaders[], | ||
const SkSL::Program::Interface | interfaces[], | ||
int | numInterfaces, | ||
const ShaderMetadata * | meta | ||
) |
Definition at line 34 of file GrPersistentCacheUtils.cpp.
bool GrPersistentCacheUtils::UnpackCachedShaders | ( | SkReadBuffer * | reader, |
std::string | shaders[], | ||
SkSL::Program::Interface | interfaces[], | ||
int | numInterfaces, | ||
ShaderMetadata * | meta | ||
) |
Definition at line 82 of file GrPersistentCacheUtils.cpp.
|
staticconstexpr |
Definition at line 17 of file GrPersistentCacheUtils.cpp.