Home
last modified time | relevance | path

Searched refs:fPendingWrites (Results 1 – 4 of 4) sorted by relevance

/external/skqp/include/private/
DGrSurfaceProxy.h56 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/skqp/include/gpu/
DGrGpuResource.h74 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/skqp/tests/
DProxyRefTest.cpp39 return fTarget->fPendingWrites; in getPendingWriteCnt_TestOnly()
42 return fPendingWrites; in getPendingWriteCnt_TestOnly()
DProcessorTest.cpp146 *writeCnt = resource->fPendingWrites; in testingOnly_getIORefCnts()