MCPcopy Create free account
hub / github.com/Tencent/tgfx / InList

Method InList

src/gpu/ResourceCache.cpp:212–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212bool ResourceCache::InList(const std::list<Resource*>& list, tgfx::Resource* resource) {
213 return resource->cachedList == &list;
214}
215
216void ResourceCache::changeUniqueKey(Resource* resource, const UniqueKey& uniqueKey) {
217 auto result = uniqueKeyMap.find(uniqueKey);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected