Searched refs:fNumUnrefs (Results 1 – 2 of 2) sorted by relevance
78 : fTexture(texture), fNumUnrefs(1) {} in TextureAwaitingUnref()82 fNumUnrefs = std::exchange(that.fNumUnrefs, 0); in TextureAwaitingUnref()88 fNumUnrefs = std::exchange(that.fNumUnrefs, 0); in operator =()94 for (int i = 0; i < fNumUnrefs; ++i) { in ~TextureAwaitingUnref()100 inline void GrResourceCache::TextureAwaitingUnref::TextureAwaitingUnref::addRef() { ++fNumUnrefs; } in addRef()103 SkASSERT(fNumUnrefs > 0); in unref()105 --fNumUnrefs; in unref()108 inline bool GrResourceCache::TextureAwaitingUnref::finished() { return !fNumUnrefs; } in finished()
326 int fNumUnrefs = 0; variable