MCPcopy Create free account
hub / github.com/Tencent/libpag / generateCacheKey

Method generateCacheKey

src/rendering/PAGDecoder.cpp:278–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278std::string PAGDecoder::generateCacheKey(std::shared_ptr<PAGComposition> composition) {
279 return cacheKeyGeneratorFun == nullptr ? DefaultCacheKeyGeneratorFunc(this, composition)
280 : cacheKeyGeneratorFun(this, composition);
281}
282
283std::shared_ptr<PAGComposition> PAGDecoder::getComposition() {
284 if (container->numChildren() == 1) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected