Searched refs:fPendingReads (Results 1 – 1 of 1) sorted by relevance
83 SkASSERT(fPendingReads >= 0); in validate()85 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 0); in validate()91 int32_t testingOnly_getPendingReads() const { return fPendingReads; } in testingOnly_getPendingReads()96 GrIORef() : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { } in GrIORef()104 bool internalHasPendingRead() const { return SkToBool(fPendingReads); } in internalHasPendingRead()106 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); } in internalHasPendingIO()120 ++fPendingReads; in addPendingRead()125 if (fPendingReads == 1 && !fPendingWrites && !fRefCnt) { in completedRead()128 --fPendingReads; in completedRead()139 if (fPendingWrites == 1 && !fPendingReads && !fRefCnt) { in completedWrite()[all …]