Searched refs:fPendingWrites (Results 1 – 8 of 8) sorted by relevance
/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() 67 SkASSERT(0 == fPendingWrites); in release() 85 SkASSERT(fPendingWrites >= 0); in validate() 86 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 1); in validate() 94 SkASSERT(fTarget->fPendingWrites >= fPendingWrites); in validate() 126 ++fPendingWrites; in addPendingWrite() 139 --fPendingWrites; in completedWrite() 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() 65 SkASSERT(0 == fPendingWrites); in release() 83 SkASSERT(fPendingWrites >= 0); in validate() 84 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 1); in validate() 92 SkASSERT(fTarget->fPendingWrites >= fPendingWrites); in validate() 124 ++fPendingWrites; in addPendingWrite() 137 --fPendingWrites; in completedWrite() 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/skia/include/gpu/ |
D | GrGpuResource.h | 82 SkASSERT(fPendingWrites >= 0); in validate() 83 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 0); in validate() 88 GrIORef() : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { } in GrIORef() 97 bool internalHasPendingWrite() const { return SkToBool(fPendingWrites); } in internalHasPendingWrite() 98 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); } in internalHasPendingIO() 115 if (fPendingReads == 1 && !fPendingWrites && !fRefCnt) { in completedRead() 124 ++fPendingWrites; in addPendingWrite() 129 if (fPendingWrites == 1 && !fPendingReads && !fRefCnt) { in completedWrite() 132 --fPendingWrites; in completedWrite() 137 if (0 == fPendingReads && 0 == fPendingWrites && 0 == fRefCnt) { in didRemoveRefOrPendingIO() [all …]
|
/external/skqp/include/gpu/ |
D | GrGpuResource.h | 74 SkASSERT(fPendingWrites >= 0); in validate() 75 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 0); in validate() 80 GrIORef() : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { } in GrIORef() 89 bool internalHasPendingWrite() const { return SkToBool(fPendingWrites); } in internalHasPendingWrite() 90 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); } in internalHasPendingIO() 114 ++fPendingWrites; in addPendingWrite() 119 --fPendingWrites; in completedWrite() 125 if (0 == fPendingReads && 0 == fPendingWrites && 0 == fRefCnt) { in didRemoveRefOrPendingIO() 132 mutable int32_t fPendingWrites; variable
|
/external/skia/tests/ |
D | ProxyRefTest.cpp | 39 return fTarget->fPendingWrites; in getPendingWriteCnt_TestOnly() 42 return fPendingWrites; in getPendingWriteCnt_TestOnly()
|
D | ProcessorTest.cpp | 150 *writeCnt = resource->fPendingWrites; in testingOnly_getIORefCnts()
|
/external/skqp/tests/ |
D | ProxyRefTest.cpp | 39 return fTarget->fPendingWrites; in getPendingWriteCnt_TestOnly() 42 return fPendingWrites; in getPendingWriteCnt_TestOnly()
|
D | ProcessorTest.cpp | 146 *writeCnt = resource->fPendingWrites; in testingOnly_getIORefCnts()
|