Lines Matching refs:spaceNeeded
1517 const unsigned int spaceNeeded = in drawLineLoop() local
1519 ANGLE_TRY(mLineLoopIB->reserveBufferSpace(context, spaceNeeded, in drawLineLoop()
1524 ANGLE_TRY(mLineLoopIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawLineLoop()
1584 const unsigned int spaceNeeded = in drawLineLoop() local
1586 ANGLE_TRY(mLineLoopIB->reserveBufferSpace(context, spaceNeeded, in drawLineLoop()
1591 ANGLE_TRY(mLineLoopIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawLineLoop()
1689 const unsigned int spaceNeeded = static_cast<unsigned int>(count) * sizeof(unsigned short); in getCountingIB() local
1691 if (!mCountingIB || mCountingIB->getBufferSize() < spaceNeeded) in getCountingIB()
1695 ANGLE_TRY(mCountingIB->reserveBufferSpace(context, spaceNeeded, in getCountingIB()
1699 ANGLE_TRY(mCountingIB->mapBuffer(context, spaceNeeded, &mappedMemory, nullptr)); in getCountingIB()
1712 const unsigned int spaceNeeded = static_cast<unsigned int>(count) * sizeof(unsigned int); in getCountingIB() local
1714 if (!mCountingIB || mCountingIB->getBufferSize() < spaceNeeded) in getCountingIB()
1718 ANGLE_TRY(mCountingIB->reserveBufferSpace(context, spaceNeeded, in getCountingIB()
1722 ANGLE_TRY(mCountingIB->mapBuffer(context, spaceNeeded, &mappedMemory, nullptr)); in getCountingIB()