Searched refs:fPendingReads (Results 1 – 4 of 4) sorted by relevance
56 SkASSERT(fRefCnt >= 0 && fPendingWrites >= 0 && fPendingReads >= 0); in isUnique_debugOnly()57 return 1 == fRefCnt + fPendingWrites + fPendingReads; in isUnique_debugOnly()64 SkASSERT(0 == fPendingReads); in release()82 SkASSERT(fPendingReads >= 0); in validate()84 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 1); in validate()91 SkASSERT(fTarget->fPendingReads >= fPendingReads); in validate()104 ++fPendingReads; in addPendingRead()117 --fPendingReads; in completedRead()142 GrIORefProxy() : fTarget(nullptr), fRefCnt(1), fPendingReads(0), fPendingWrites(0) {} in GrIORefProxy()143 GrIORefProxy(sk_sp<GrSurface> surface) : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { in GrIORefProxy()[all …]
73 SkASSERT(fPendingReads >= 0); in validate()75 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 0); in validate()80 GrIORef() : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { } in GrIORef()88 bool internalHasPendingRead() const { return SkToBool(fPendingReads); } in internalHasPendingRead()90 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); } in internalHasPendingIO()103 ++fPendingReads; in addPendingRead()108 --fPendingReads; in completedRead()125 if (0 == fPendingReads && 0 == fPendingWrites && 0 == fRefCnt) { in didRemoveRefOrPendingIO()131 mutable int32_t fPendingReads; variable
31 return fTarget->fPendingReads; in getPendingReadCnt_TestOnly()34 return fPendingReads; in getPendingReadCnt_TestOnly()
145 *readCnt = resource->fPendingReads; in testingOnly_getIORefCnts()