Home
last modified time | relevance | path

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

/external/skia/include/gpu/
DGrGpuResource.h81 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/
DGrSurfaceProxy.h58 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/
DGrSurfaceProxy.h56 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/
DGrGpuResource.h73 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/
DProxyRefTest.cpp31 return fTarget->fPendingReads; in getPendingReadCnt_TestOnly()
34 return fPendingReads; in getPendingReadCnt_TestOnly()
DProcessorTest.cpp149 *readCnt = resource->fPendingReads; in testingOnly_getIORefCnts()
/external/skqp/tests/
DProxyRefTest.cpp31 return fTarget->fPendingReads; in getPendingReadCnt_TestOnly()
34 return fPendingReads; in getPendingReadCnt_TestOnly()
DProcessorTest.cpp145 *readCnt = resource->fPendingReads; in testingOnly_getIORefCnts()