Lines Matching refs:mNextAllocationOffset
1943 mNextAllocationOffset(0), in DynamicBuffer()
1956 mNextAllocationOffset(other.mNextAllocationOffset), in DynamicBuffer()
2048 angle::base::CheckedNumeric<size_t> checkedNextWriteOffset = mNextAllocationOffset; in allocateFromCurrentBuffer()
2060 *ptrOut = mBuffer->getMappedMemory() + mNextAllocationOffset; in allocateFromCurrentBuffer()
2061 *offsetOut = static_cast<VkDeviceSize>(mNextAllocationOffset); in allocateFromCurrentBuffer()
2063 mNextAllocationOffset += static_cast<uint32_t>(sizeToAllocate); in allocateFromCurrentBuffer()
2075 mNextAllocationOffset = in allocateWithAlignment()
2076 roundUp<uint32_t>(mNextAllocationOffset, static_cast<uint32_t>(alignment)); in allocateWithAlignment()
2079 angle::base::CheckedNumeric<size_t> checkedNextWriteOffset = mNextAllocationOffset; in allocateWithAlignment()
2119 mNextAllocationOffset = 0; in allocateWithAlignment()
2145 *ptrOut = mappedMemory + mNextAllocationOffset; in allocateWithAlignment()
2150 *offsetOut = static_cast<VkDeviceSize>(mNextAllocationOffset); in allocateWithAlignment()
2153 mNextAllocationOffset += static_cast<uint32_t>(sizeToAllocate); in allocateWithAlignment()
2159 if (mHostVisible && (mNextAllocationOffset > mLastFlushOrInvalidateOffset)) in flush()
2163 mNextAllocationOffset - mLastFlushOrInvalidateOffset)); in flush()
2164 mLastFlushOrInvalidateOffset = mNextAllocationOffset; in flush()
2171 if (mHostVisible && (mNextAllocationOffset > mLastFlushOrInvalidateOffset)) in invalidate()
2175 mNextAllocationOffset - mLastFlushOrInvalidateOffset)); in invalidate()
2176 mLastFlushOrInvalidateOffset = mNextAllocationOffset; in invalidate()
2286 mNextAllocationOffset = roundUp(mNextAllocationOffset, static_cast<uint32_t>(alignment)); in requireAlignment()
2304 mNextAllocationOffset = 0; in reset()