Home
last modified time | relevance | path

Searched refs:invalidKeyMsgs (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp525 SkTArray<GrUniqueKeyInvalidatedMessage> invalidKeyMsgs; in purgeAsNeeded() local
526 fInvalidUniqueKeyInbox.poll(&invalidKeyMsgs); in purgeAsNeeded()
527 if (invalidKeyMsgs.count()) { in purgeAsNeeded()
530 for (int i = 0; i < invalidKeyMsgs.count(); ++i) { in purgeAsNeeded()
531 if (invalidKeyMsgs[i].inThreadSafeCache()) { in purgeAsNeeded()
532 fThreadSafeCache->remove(invalidKeyMsgs[i].key()); in purgeAsNeeded()
533 SkASSERT(!fThreadSafeCache->has(invalidKeyMsgs[i].key())); in purgeAsNeeded()
536 invalidKeyMsgs[i].key(), nullptr, in purgeAsNeeded()
538 SkASSERT(!this->findAndRefUniqueResource(invalidKeyMsgs[i].key())); in purgeAsNeeded()
/external/skqp/src/gpu/
DGrResourceCache.cpp491 SkTArray<GrUniqueKeyInvalidatedMessage> invalidKeyMsgs; in purgeAsNeeded() local
492 fInvalidUniqueKeyInbox.poll(&invalidKeyMsgs); in purgeAsNeeded()
493 if (invalidKeyMsgs.count()) { in purgeAsNeeded()
496 for (int i = 0; i < invalidKeyMsgs.count(); ++i) { in purgeAsNeeded()
497 fProxyProvider->processInvalidUniqueKey(invalidKeyMsgs[i].key(), nullptr, in purgeAsNeeded()
499 SkASSERT(!this->findAndRefUniqueResource(invalidKeyMsgs[i].key())); in purgeAsNeeded()