Home
last modified time | relevance | path

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

/external/skia/include/private/
DGrSurfaceProxy.h55 SkASSERT(fPendingReads >= 0); in validate()
57 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 1); in validate()
64 SkASSERT(fTarget->fPendingReads >= fPendingReads); in validate()
76 GrIORefProxy() : fTarget(nullptr), fRefCnt(1), fPendingReads(0), fPendingWrites(0) {} in GrIORefProxy()
77 GrIORefProxy(sk_sp<GrSurface> surface) : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { in GrIORefProxy()
94 fTarget->fPendingReads += fPendingReads; in transferRefs()
103 return SkToBool(fPendingWrites | fPendingReads); in internalHasPendingIO()
126 ++fPendingReads; in addPendingRead()
139 --fPendingReads; in completedRead()
164 if (0 == fPendingReads && 0 == fPendingWrites && 0 == fRefCnt) { in didRemoveRefOrPendingIO()
[all …]
/external/skia/include/gpu/
DGrGpuResource.h72 SkASSERT(fPendingReads >= 0); in validate()
74 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 0); in validate()
79 GrIORef() : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { } in GrIORef()
89 bool internalHasPendingRead() const { return SkToBool(fPendingReads); } in internalHasPendingRead()
91 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/
DProxyRefTest.cpp35 return fTarget->fPendingReads; in getPendingReadCnt_TestOnly()
38 return fPendingReads; in getPendingReadCnt_TestOnly()
DProcessorTest.cpp135 *readCnt = resource->fPendingReads; in testingOnly_getIORefCnts()