Searched refs:mResetCounter (Results 1 – 4 of 4) sorted by relevance
94 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()
87 uint32_t mResetCounter; variable
81 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()
83 uint32_t mResetCounter; variable