Lines Matching refs:fRefCnt
46 SkASSERT((0 == fRefCnt || 1 == fRefCnt) && 0 == fPendingExecutions); in ~GrProgramElement()
48 SkDEBUGCODE(fRefCnt = fPendingExecutions = -10;) in ~GrProgramElement()
54 SkASSERT(fRefCnt > 0); in ref()
55 ++fRefCnt; in ref()
61 --fRefCnt; in unref()
62 if (0 == fRefCnt) { in unref()
76 SkASSERT(fRefCnt >= 0); in validate()
78 SkASSERT(fRefCnt + fPendingExecutions > 0); in validate()
83 GrProgramElement() : fRefCnt(1), fPendingExecutions(0) {} in GrProgramElement()
98 if (0 == fRefCnt) { in completedExecution()
113 mutable int32_t fRefCnt; variable