Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/common/
DMemoryBuffer.cpp94 ScratchBuffer::ScratchBuffer(uint32_t lifetime) : mLifetime(lifetime), mResetCounter(lifetime) {} in ScratchBuffer()
106 std::swap(mResetCounter, other.mResetCounter); in operator =()
129 mResetCounter = mLifetime; in getImpl()
145 mResetCounter = mLifetime; in getImpl()
160 if (mResetCounter > 0) in tick()
162 --mResetCounter; in tick()
163 if (mResetCounter == 0) in tick()
172 mResetCounter = mLifetime; in clear()
DMemoryBuffer.h87 uint32_t mResetCounter; variable
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DMemoryBuffer.cpp81 ScratchBuffer::ScratchBuffer(uint32_t lifetime) : mLifetime(lifetime), mResetCounter(lifetime) {} in ScratchBuffer()
103 mResetCounter = mLifetime; in getImpl()
113 if (mResetCounter == 0 || mScratchMemory.size() < requestedSize) in getImpl()
120 mResetCounter = mLifetime; in getImpl()
135 if (mResetCounter > 0) in tick()
137 --mResetCounter; in tick()
143 mResetCounter = mLifetime; in clear()
DMemoryBuffer.h83 uint32_t mResetCounter; variable