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

Method prepareNextFrame

src/rendering/caches/RenderCache.cpp:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void RenderCache::prepareNextFrame() {
121#ifndef PAG_BUILD_FOR_WEB
122 for (auto& item : usedSequences) {
123 for (auto& map : item.second) {
124 map.second->prepareNextImage();
125 }
126 }
127#endif
128}
129
130void RenderCache::clearExpiredSequences() {
131 std::vector<ID> expiredSequences = {};

Callers

nothing calls this directly

Calls 1

prepareNextImageMethod · 0.80

Tested by

no test coverage detected