Home
last modified time | relevance | path

Searched refs:cacheAccess (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp142 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 …]
DGrTextureProxyCacheAccess.h40 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess() function
42 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readabili… in cacheAccess() function
DGrGpuResourceCacheAccess.h104 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function
106 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { // NOLINT(readability… in cacheAccess() function
DGrResourceCache.h220 if (resource->cacheAccess().isScratch()) { in update()
331 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()
335 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
DGrTextureProxy.h94 inline CacheAccess cacheAccess();
95 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
DGrGpuResource.h181 inline CacheAccess cacheAccess();
182 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
DGrProxyProvider.cpp75 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/
DGrResourceCache.cpp117 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 …]
DGrTextureProxyCacheAccess.h40 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess() function
42 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { in cacheAccess() function
DGrResourceCache.h222 if (resource->cacheAccess().isScratch()) { in update()
306 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()
310 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
DGrGpuResourceCacheAccess.h91 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function
93 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { in cacheAccess() function
DGrProxyProvider.cpp92 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/
DGrTextureProxy.h77 inline CacheAccess cacheAccess();
78 inline const CacheAccess cacheAccess() const;
/external/skqp/include/gpu/
DGrGpuResource.h221 inline CacheAccess cacheAccess();
222 inline const CacheAccess cacheAccess() const;
/external/skqp/tests/
DResourceCacheTest.cpp705 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/
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()