Searched refs:fPendingReads (Results 1 – 8 of 8) sorted by relevance
/external/skia/include/gpu/ |
D | GrGpuResource.h | 81 SkASSERT(fPendingReads >= 0); in validate() 83 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 0); in validate() 88 GrIORef() : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { } in GrIORef() 96 bool internalHasPendingRead() const { return SkToBool(fPendingReads); } in internalHasPendingRead() 98 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); } in internalHasPendingIO() 110 ++fPendingReads; in addPendingRead() 115 if (fPendingReads == 1 && !fPendingWrites && !fRefCnt) { in completedRead() 118 --fPendingReads; in completedRead() 129 if (fPendingWrites == 1 && !fPendingReads && !fRefCnt) { in completedWrite() 137 if (0 == fPendingReads && 0 == fPendingWrites && 0 == fRefCnt) { in didRemoveRefOrPendingIO() [all …]
|
/external/skia/include/private/ |
D | GrSurfaceProxy.h | 58 SkASSERT(fRefCnt >= 0 && fPendingWrites >= 0 && fPendingReads >= 0); in isUnique_debugOnly() 59 return 1 == fRefCnt + fPendingWrites + fPendingReads; in isUnique_debugOnly() 66 SkASSERT(0 == fPendingReads); in release() 84 SkASSERT(fPendingReads >= 0); in validate() 86 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 1); in validate() 93 SkASSERT(fTarget->fPendingReads >= fPendingReads); in validate() 106 ++fPendingReads; in addPendingRead() 119 --fPendingReads; in completedRead() 144 GrIORefProxy() : fTarget(nullptr), fRefCnt(1), fPendingReads(0), fPendingWrites(0) {} in GrIORefProxy() 145 GrIORefProxy(sk_sp<GrSurface> surface) : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { in GrIORefProxy() [all …]
|
/external/skqp/include/private/ |
D | GrSurfaceProxy.h | 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 …]
|
/external/skqp/include/gpu/ |
D | GrGpuResource.h | 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
|
/external/skia/tests/ |
D | ProxyRefTest.cpp | 31 return fTarget->fPendingReads; in getPendingReadCnt_TestOnly() 34 return fPendingReads; in getPendingReadCnt_TestOnly()
|
D | ProcessorTest.cpp | 149 *readCnt = resource->fPendingReads; in testingOnly_getIORefCnts()
|
/external/skqp/tests/ |
D | ProxyRefTest.cpp | 31 return fTarget->fPendingReads; in getPendingReadCnt_TestOnly() 34 return fPendingReads; in getPendingReadCnt_TestOnly()
|
D | ProcessorTest.cpp | 145 *readCnt = resource->fPendingReads; in testingOnly_getIORefCnts()
|