Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.h67 class ResourceAccess; variable
68 ResourceAccess resourceAccess();
367 class GrResourceCache::ResourceAccess {
369 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() function
370 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() function
371 ResourceAccess& operator=(const ResourceAccess&); // unimpl
437 const ResourceAccess* operator&() const;
438 ResourceAccess* operator&();
446 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
447 return ResourceAccess(this); in resourceAccess()
DGrGpuResource.cpp153 GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyAllCntsAreZero()
164 uint32_t flags = GrResourceCache::ResourceAccess::kRefCntReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
166 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()