Searched refs:cacheAccess (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 142 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource() 163 SkASSERT(!resource->cacheAccess().isUsableAsScratch()); in insertResource() 189 if (resource->cacheAccess().isUsableAsScratch()) { in removeResource() 208 back->cacheAccess().abandon(); in abandonAll() 214 top->cacheAccess().abandon(); in abandonAll() 251 back->cacheAccess().release(); in releaseAll() 257 top->cacheAccess().release(); in releaseAll() 274 if (resource->cacheAccess().hasRef()) { in refResource() 308 if (resource->cacheAccess().isUsableAsScratch()) { in willRemoveScratchKey() 321 resource->cacheAccess().removeUniqueKey(); in removeUniqueKey() [all …]
|
D | GrTextureProxyCacheAccess.h | 40 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess() function 42 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readabili… in cacheAccess() function
|
D | GrGpuResourceCacheAccess.h | 104 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function 106 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { // NOLINT(readability… in cacheAccess() function
|
D | GrResourceCache.h | 220 if (resource->cacheAccess().isScratch()) { in update() 331 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp() 335 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
|
D | GrTextureProxy.h | 94 inline CacheAccess cacheAccess(); 95 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
|
D | GrGpuResource.h | 181 inline CacheAccess cacheAccess(); 182 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
|
D | GrProxyProvider.cpp | 75 proxy->cacheAccess().setUniqueKey(this, key); in assignUniqueKeyToProxy() 83 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 857 proxy->cacheAccess().clearUniqueKey(); in processInvalidUniqueKeyImpl()
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 117 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource() 183 fResourcesWaitingForFreeMsg[i]->cacheAccess().abandon(); in abandonAll() 190 back->cacheAccess().abandon(); in abandonAll() 196 top->cacheAccess().abandon(); in abandonAll() 230 back->cacheAccess().release(); in releaseAll() 236 top->cacheAccess().release(); in releaseAll() 257 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()() 315 resource->cacheAccess().removeUniqueKey(); in removeUniqueKey() 338 old->cacheAccess().release(); in changeUniqueKey() 359 resource->cacheAccess().setUniqueKey(newKey); in changeUniqueKey() [all …]
|
D | GrTextureProxyCacheAccess.h | 40 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess() function 42 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { in cacheAccess() function
|
D | GrResourceCache.h | 222 if (resource->cacheAccess().isScratch()) { in update() 306 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp() 310 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
|
D | GrGpuResourceCacheAccess.h | 91 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function 93 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { in cacheAccess() function
|
D | GrProxyProvider.cpp | 92 proxy->cacheAccess().setUniqueKey(this, key); in assignUniqueKeyToProxy() 100 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 752 proxy->cacheAccess().clearUniqueKey(); in processInvalidUniqueKey()
|
/external/skqp/include/private/ |
D | GrTextureProxy.h | 77 inline CacheAccess cacheAccess(); 78 inline const CacheAccess cacheAccess() const;
|
/external/skqp/include/gpu/ |
D | GrGpuResource.h | 221 inline CacheAccess cacheAccess(); 222 inline const CacheAccess cacheAccess() const;
|
/external/skqp/tests/ |
D | ResourceCacheTest.cpp | 705 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch() 725 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch() 742 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 746 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()
|