Searched refs:CacheAccess (Results 1 – 5 of 5) sorted by relevance
16 class GrTextureProxy::CacheAccess {26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess() function28 CacheAccess(const CacheAccess&) = default;29 CacheAccess& operator=(const CacheAccess&) = delete;32 const CacheAccess* operator&() const;33 CacheAccess* operator&();41 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess()43 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readabili… in cacheAccess()44 return CacheAccess(const_cast<GrTextureProxy*>(this)); in cacheAccess()
21 class GrGpuResource::CacheAccess {89 CacheAccess(GrGpuResource* resource) : fResource(resource) {} in CacheAccess() function90 CacheAccess(const CacheAccess& that) : fResource(that.fResource) {} in CacheAccess() function91 CacheAccess& operator=(const CacheAccess&) = delete;94 const CacheAccess* operator&() const = delete;95 CacheAccess* operator&() = delete;104 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess()106 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { // NOLINT(readability… in cacheAccess()107 return CacheAccess(const_cast<GrGpuResource*>(this)); in cacheAccess()
266 class CacheAccess; variable267 inline CacheAccess cacheAccess();268 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)429 const CacheAccess* operator&() const = delete;430 CacheAccess* operator&() = delete;
94 class CacheAccess; variable95 inline CacheAccess cacheAccess();96 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
81 ResourcePriv& operator=(const CacheAccess&) = delete;