Lines Matching refs:CacheAccess
16 class GrTextureProxy::CacheAccess {
26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {}
28 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); }
43 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readability-const-return-type)
44 return CacheAccess(const_cast<GrTextureProxy*>(this));