Home
last modified time | relevance | path

Searched refs:ResourceAccess (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.h66 class ResourceAccess; variable
67 ResourceAccess resourceAccess();
357 class GrResourceCache::ResourceAccess {
359 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() function
360 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() function
361 ResourceAccess& operator=(const ResourceAccess&); // unimpl
427 const ResourceAccess* operator&() const;
428 ResourceAccess* operator&();
436 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
437 return ResourceAccess(this); in resourceAccess()
DGrGpuResource.cpp145 GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyAllCntsAreZero()
157 GrResourceCache::ResourceAccess::kRefCntReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
159 flags |= GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
DGrResourceCache.cpp356 if (SkToBool(ResourceAccess::kRefCntReachedZero_RefNotificationFlag & flags)) { in notifyCntReachedZero()
369 if (!SkToBool(ResourceAccess::kAllCntsReachedZero_RefNotificationFlag & flags)) { in notifyCntReachedZero()