Home
last modified time | relevance | path

Searched refs:getScratchKey (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp131 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 …]
DGrGpuResourcePriv.h64 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey() function
DGrResourceAllocator.h87 return s.resourcePriv().getScratchKey(); in GetKey()
DGrResourceCache.h301 return r.resourcePriv().getScratchKey(); in GetKey()
DGrResourceAllocator.cpp141 const GrScratchKey &key = surface->resourcePriv().getScratchKey(); in freeUpSurface()
DGrResourceProvider.cpp290 SkASSERT(!buffer->resourcePriv().getScratchKey().isValid()); in findOrMakeStaticBuffer()
/external/skqp/src/gpu/
DGrResourceCache.cpp131 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 …]
DGrGpuResourcePriv.h64 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey() function
DGrResourceAllocator.h87 return s.resourcePriv().getScratchKey(); in GetKey()
DGrResourceAllocator.cpp136 const GrScratchKey &key = surface->resourcePriv().getScratchKey(); in freeUpSurface()
DGrResourceCache.h296 return r.resourcePriv().getScratchKey(); in GetKey()
DGrResourceProvider.cpp298 SkASSERT(!buffer->resourcePriv().getScratchKey().isValid()); in findOrMakeStaticBuffer()
/external/skqp/tests/
DResourceCacheTest.cpp612 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/
DResourceCacheTest.cpp682 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()