Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.h64 class ResourceAccess; variable
65 ResourceAccess resourceAccess();
297 class GrResourceCache::ResourceAccess {
299 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() function
300 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() function
301 ResourceAccess& operator=(const ResourceAccess&); // unimpl
367 const ResourceAccess* operator&() const;
368 ResourceAccess* operator&();
376 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
377 return ResourceAccess(this); in resourceAccess()
DGrGpuResource.cpp120 GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyAllCntsAreZero()
132 GrResourceCache::ResourceAccess::kRefCntReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
134 flags |= GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
DGrResourceCache.cpp348 if (SkToBool(ResourceAccess::kRefCntReachedZero_RefNotificationFlag & flags)) { in notifyCntReachedZero()
361 if (!SkToBool(ResourceAccess::kAllCntsReachedZero_RefNotificationFlag & flags)) { in notifyCntReachedZero()