Home
last modified time | relevance | path

Searched refs:mScratchMemory (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/common/
DMemoryBuffer.cpp107 std::swap(mScratchMemory, other.mScratchMemory); in operator =()
127 if (mScratchMemory.size() == requestedSize) in getImpl()
130 *memoryBufferOut = &mScratchMemory; in getImpl()
134 if (mScratchMemory.size() > requestedSize) in getImpl()
139 if (mScratchMemory.size() < requestedSize) in getImpl()
141 if (!mScratchMemory.resize(requestedSize)) in getImpl()
148 mScratchMemory.fill(initValue.value()); in getImpl()
152 ASSERT(mScratchMemory.size() >= requestedSize); in getImpl()
154 *memoryBufferOut = &mScratchMemory; in getImpl()
173 if (mScratchMemory.size() > 0) in clear()
[all …]
DMemoryBuffer.h88 MemoryBuffer mScratchMemory; variable