Searched refs:getScratchKey (Results 1 – 14 of 14) sorted by relevance
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 131 if (resource->resourcePriv().getScratchKey().isValid() && in insertResource() 134 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource() 161 if (resource->resourcePriv().getScratchKey().isValid() && in removeResource() 163 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource() 234 resource->resourcePriv().getScratchKey().isValid()); in operator ()() 278 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey() 280 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey() 293 if (resource->resourcePriv().getScratchKey().isValid()) { in removeUniqueKey() 294 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in removeUniqueKey() 308 if (!old->resourcePriv().getScratchKey().isValid() && old->isPurgeable()) { in changeUniqueKey() [all …]
|
D | GrGpuResourcePriv.h | 64 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey() function
|
D | GrResourceAllocator.h | 87 return s.resourcePriv().getScratchKey(); in GetKey()
|
D | GrResourceCache.h | 301 return r.resourcePriv().getScratchKey(); in GetKey()
|
D | GrResourceAllocator.cpp | 141 const GrScratchKey &key = surface->resourcePriv().getScratchKey(); in freeUpSurface()
|
D | GrResourceProvider.cpp | 290 SkASSERT(!buffer->resourcePriv().getScratchKey().isValid()); in findOrMakeStaticBuffer()
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 131 if (resource->resourcePriv().getScratchKey().isValid() && in insertResource() 134 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource() 161 if (resource->resourcePriv().getScratchKey().isValid() && in removeResource() 163 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource() 234 resource->resourcePriv().getScratchKey().isValid()); in operator ()() 278 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey() 280 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey() 293 if (resource->resourcePriv().getScratchKey().isValid()) { in removeUniqueKey() 294 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in removeUniqueKey() 308 if (!old->resourcePriv().getScratchKey().isValid() && old->isPurgeable()) { in changeUniqueKey() [all …]
|
D | GrGpuResourcePriv.h | 64 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey() function
|
D | GrResourceAllocator.h | 87 return s.resourcePriv().getScratchKey(); in GetKey()
|
D | GrResourceAllocator.cpp | 136 const GrScratchKey &key = surface->resourcePriv().getScratchKey(); in freeUpSurface()
|
D | GrResourceCache.h | 296 return r.resourcePriv().getScratchKey(); in GetKey()
|
D | GrResourceProvider.cpp | 298 SkASSERT(!buffer->resourcePriv().getScratchKey().isValid()); in findOrMakeStaticBuffer()
|
/external/skqp/tests/ |
D | ResourceCacheTest.cpp | 612 REPORTER_ASSERT(reporter, resource->resourcePriv().getScratchKey() == key); in test_unbudgeted_to_scratch() 631 REPORTER_ASSERT(reporter, resource->resourcePriv().getScratchKey() == key); in test_unbudgeted_to_scratch() 647 REPORTER_ASSERT(reporter, !resource->resourcePriv().getScratchKey().isValid()); in test_unbudgeted_to_scratch() 1570 resource->resourcePriv().getScratchKey(); in test_abandoned()
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 682 REPORTER_ASSERT(reporter, resource->resourcePriv().getScratchKey() == key); in test_unbudgeted_to_scratch() 701 REPORTER_ASSERT(reporter, resource->resourcePriv().getScratchKey() == key); in test_unbudgeted_to_scratch() 717 REPORTER_ASSERT(reporter, !resource->resourcePriv().getScratchKey().isValid()); in test_unbudgeted_to_scratch() 1640 resource->resourcePriv().getScratchKey(); in test_abandoned()
|