Home
last modified time | relevance | path

Searched refs:CacheAccess (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/gpu/
DGrTextureProxyCacheAccess.h16 class GrTextureProxy::CacheAccess {
26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess() function
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); } in cacheAccess()
43 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readabili… in cacheAccess()
44 return CacheAccess(const_cast<GrTextureProxy*>(this)); in cacheAccess()
DGrGpuResourceCacheAccess.h21 class GrGpuResource::CacheAccess {
89 CacheAccess(GrGpuResource* resource) : fResource(resource) {} in CacheAccess() function
90 CacheAccess(const CacheAccess& that) : fResource(that.fResource) {} in CacheAccess() function
91 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()
DGrGpuResource.h266 class CacheAccess; variable
267 inline CacheAccess cacheAccess();
268 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
429 const CacheAccess* operator&() const = delete;
430 CacheAccess* operator&() = delete;
DGrTextureProxy.h94 class CacheAccess; variable
95 inline CacheAccess cacheAccess();
96 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
DGrGpuResourcePriv.h81 ResourcePriv& operator=(const CacheAccess&) = delete;