Lines Matching refs:fRefCnt
21 GrNonAtomicRef() : fRefCnt(1) {} in GrNonAtomicRef()
26 SkASSERT((0 == fRefCnt || 1 == fRefCnt)); in ~GrNonAtomicRef()
28 fRefCnt = -10; in ~GrNonAtomicRef()
32 bool unique() const { return 1 == fRefCnt; } in unique()
36 int refCnt() const { return fRefCnt; } in refCnt()
40 SkASSERT(fRefCnt > 0); in ref()
41 ++fRefCnt; in ref()
45 SkASSERT(fRefCnt > 0); in unref()
46 --fRefCnt; in unref()
47 if (0 == fRefCnt) { in unref()
54 mutable int32_t fRefCnt;