Searched refs:getScratchKey (Results 1 – 4 of 4) sorted by relevance
149 if (resource->resourcePriv().getScratchKey().isValid()) { in insertResource()151 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource()177 if (resource->resourcePriv().getScratchKey().isValid()) { in removeResource()178 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource()282 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey()283 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey()312 if (!old->resourcePriv().getScratchKey().isValid() && old->isPurgeable()) { in changeUniqueKey()381 resource->resourcePriv().getScratchKey().isValid()) { in notifyCntReachedZero()392 bool noKey = !resource->resourcePriv().getScratchKey().isValid() && in notifyCntReachedZero()664 SkASSERT(fScratchMap->countForKey(resource->resourcePriv().getScratchKey())); in validate()[all …]
58 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey() function
282 return r.resourcePriv().getScratchKey(); in GetKey()
571 REPORTER_ASSERT(reporter, resource->resourcePriv().getScratchKey() == key); in test_unbudgeted_to_scratch()588 REPORTER_ASSERT(reporter, resource->resourcePriv().getScratchKey() == key); in test_unbudgeted_to_scratch()603 REPORTER_ASSERT(reporter, !resource->resourcePriv().getScratchKey().isValid()); in test_unbudgeted_to_scratch()1287 resource->resourcePriv().getScratchKey(); in test_abandoned()