Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.cpp180 fUniqueHash.remove(resource->getUniqueKey()); in removeResource()
201 SkASSERT(!fUniqueHash.count()); in abandonAll()
225 SkASSERT(!fUniqueHash.count()); in releaseAll()
282 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in removeUniqueKey()
283 fUniqueHash.remove(resource->getUniqueKey()); in removeUniqueKey()
295 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in changeUniqueKey()
296 fUniqueHash.remove(resource->getUniqueKey()); in changeUniqueKey()
297 SkASSERT(NULL == fUniqueHash.find(resource->getUniqueKey())); in changeUniqueKey()
302 if (GrGpuResource* old = fUniqueHash.find(newKey)) { in changeUniqueKey()
310 fUniqueHash.remove(newKey); in changeUniqueKey()
[all …]
DGrResourceCache.h142 GrGpuResource* resource = fUniqueHash.find(key); in findAndRefUniqueResource()
153 return SkToBool(fUniqueHash.find(key)); in hasUniqueKey()
260 UniqueHash fUniqueHash; variable