• Home
  • Raw
  • Download

Lines Matching refs:GrGpuResource

24 GrGpuResource::GrGpuResource(GrGpu* gpu) : fGpu(gpu), fUniqueID(CreateUniqueID()) {  in GrGpuResource()  function in GrGpuResource
32 void GrGpuResource::registerWithCache(SkBudgeted budgeted) { in registerWithCache()
40 void GrGpuResource::registerWithCacheWrapped(GrWrapCacheable wrapType) { in registerWithCacheWrapped()
49 GrGpuResource::~GrGpuResource() { in ~GrGpuResource()
54 void GrGpuResource::release() { in release()
67 void GrGpuResource::abandon() { in abandon()
78 void GrGpuResource::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
87 void GrGpuResource::dumpMemoryStatisticsPriv(SkTraceMemoryDump* traceMemoryDump, in dumpMemoryStatisticsPriv()
108 bool GrGpuResource::isPurgeable() const { in isPurgeable()
116 bool GrGpuResource::hasRef() const { return this->internalHasRef(); } in hasRef()
118 bool GrGpuResource::hasNoCommandBufferUsages() const { in hasNoCommandBufferUsages()
122 SkString GrGpuResource::getResourceName() const { in getResourceName()
129 const GrDirectContext* GrGpuResource::getContext() const { in getContext()
137 GrDirectContext* GrGpuResource::getContext() { in getContext()
145 void GrGpuResource::removeUniqueKey() { in removeUniqueKey()
153 void GrGpuResource::setUniqueKey(const GrUniqueKey& key) { in setUniqueKey()
173 void GrGpuResource::notifyARefCntIsZero(LastRemovedRef removedRef) const { in notifyARefCntIsZero()
182 GrGpuResource* mutableThis = const_cast<GrGpuResource*>(this); in notifyARefCntIsZero()
187 void GrGpuResource::removeScratchKey() { in removeScratchKey()
194 void GrGpuResource::makeBudgeted() { in makeBudgeted()
206 void GrGpuResource::makeUnbudgeted() { in makeUnbudgeted()
214 void GrGpuResource::userRegisterResource() in userRegisterResource()
227 uint32_t GrGpuResource::CreateUniqueID() { in CreateUniqueID()
238 void GrGpuResource::ProxyAccess::ref(GrResourceCache* cache) { in ref()