Searched refs:fNumUnrefs (Results 1 – 4 of 4) sorted by relevance
78 : fResource(resource), fNumUnrefs(1) {} in ResourceAwaitingUnref()82 fNumUnrefs = skstd::exchange(that.fNumUnrefs, 0); in ResourceAwaitingUnref()88 fNumUnrefs = skstd::exchange(that.fNumUnrefs, 0); in operator =()94 for (int i = 0; i < fNumUnrefs; ++i) { in ~ResourceAwaitingUnref()100 inline void GrResourceCache::ResourceAwaitingUnref::addRef() { ++fNumUnrefs; } in addRef()103 SkASSERT(fNumUnrefs > 0); in unref()105 --fNumUnrefs; in unref()108 inline bool GrResourceCache::ResourceAwaitingUnref::finished() { return !fNumUnrefs; } in finished()
325 int fNumUnrefs = 0; variable
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()