Home
last modified time | relevance | path

Searched refs:cacheAccess (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/src/gpu/
H A DGrResourceCache.cpp638 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource()
676 SkASSERT(!resource->cacheAccess().isUsableAsScratch()); in insertResource()
730 if (resource->cacheAccess().isUsableAsScratch()) { in removeResource()
749 back->cacheAccess().abandon(); in abandonAll()
755 top->cacheAccess().abandon(); in abandonAll()
792 back->cacheAccess().release(); in releaseAll()
798 top->cacheAccess().release(); in releaseAll()
841 resource->cacheAccess().release(); in releaseByTag()
920 if (resource->cacheAccess().hasRef()) { in refResource()
958 if (resource->cacheAccess() in willRemoveScratchKey()
[all...]
H A DGrTextureProxyCacheAccess.h41 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess() function in GrTextureProxy
43 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readability-const-return-type) in cacheAccess() function in GrTextureProxy
H A DGrGpuResourceCacheAccess.h105 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function in GrGpuResource
107 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { // NOLINT(readability-const-return-type) in cacheAccess() function in GrGpuResource
H A DGrTextureProxy.h95 inline CacheAccess cacheAccess();
96 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
H A DGrResourceCache.h271 if (resource->cacheAccess().isScratch()) { in update()
489 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()
493 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
H A DGrGpuResource.h273 inline CacheAccess cacheAccess();
274 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
H A DGrProxyProvider.cpp78 proxy->cacheAccess().setUniqueKey(this, key); in assignUniqueKeyToProxy()
98 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface()
912 proxy->cacheAccess().clearUniqueKey(); in processInvalidUniqueKeyImpl()
/third_party/skia/tests/
H A DResourceCacheTest.cpp746 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
766 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
783 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()

Completed in 12 milliseconds