Lines Matching refs:GrGpuResource
23 GrGpuResource::GrGpuResource(GrGpu* gpu, LifeCycle lifeCycle) in GrGpuResource() function in GrGpuResource
31 void GrGpuResource::registerWithCache() { in registerWithCache()
35 GrGpuResource::~GrGpuResource() { in ~GrGpuResource()
40 void GrGpuResource::release() { in release()
48 void GrGpuResource::abandon() { in abandon()
59 void GrGpuResource::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
76 const SkData* GrGpuResource::setCustomData(const SkData* data) { in setCustomData()
82 const GrContext* GrGpuResource::getContext() const { in getContext()
90 GrContext* GrGpuResource::getContext() { in getContext()
98 void GrGpuResource::didChangeGpuMemorySize() const { in didChangeGpuMemorySize()
109 void GrGpuResource::removeUniqueKey() { in removeUniqueKey()
117 void GrGpuResource::setUniqueKey(const GrUniqueKey& key) { in setUniqueKey()
133 void GrGpuResource::notifyAllCntsAreZero(CntType lastCntTypeToReachZero) const { in notifyAllCntsAreZero()
143 GrGpuResource* mutableThis = const_cast<GrGpuResource*>(this); in notifyAllCntsAreZero()
149 bool GrGpuResource::notifyRefCountIsZero() const { in notifyRefCountIsZero()
155 GrGpuResource* mutableThis = const_cast<GrGpuResource*>(this); in notifyRefCountIsZero()
168 void GrGpuResource::setScratchKey(const GrScratchKey& scratchKey) { in setScratchKey()
178 void GrGpuResource::removeScratchKey() { in removeScratchKey()
185 void GrGpuResource::makeBudgeted() { in makeBudgeted()
186 if (!this->wasDestroyed() && GrGpuResource::kUncached_LifeCycle == fLifeCycle) { in makeBudgeted()
192 void GrGpuResource::makeUnbudgeted() { in makeUnbudgeted()
193 if (!this->wasDestroyed() && GrGpuResource::kCached_LifeCycle == fLifeCycle && in makeUnbudgeted()
200 uint32_t GrGpuResource::CreateUniqueID() { in CreateUniqueID()