Searched refs:neededSize (Results 1 – 3 of 3) sorted by relevance
21 uint8_t* AlternatingImageStorage::getRotatingScratchBuffer(std::size_t neededSize, in getRotatingScratchBuffer() argument23 std::size_t totalNeededSize = neededSize * kNumScratchBufferPieces; in getRotatingScratchBuffer()29 std::size_t bufferOffset = bufferIndex * neededSize; in getRotatingScratchBuffer()33 uint8_t* AlternatingImageStorage::getSpecialScratchBuffer(size_t neededSize) { in getSpecialScratchBuffer() argument34 if (mSpecialScratchBuffer.size() < neededSize) { in getSpecialScratchBuffer()35 mSpecialScratchBuffer.resize(neededSize); in getSpecialScratchBuffer()
36 uint8_t* getRotatingScratchBuffer(std::size_t neededSize, std::uint32_t imageIndex);38 uint8_t* getSpecialScratchBuffer(std::size_t neededSize);
995 uint32_t neededSize = dst_stride_bytes * srcHeight; in composeLayerInto() local1008 compositionIntermediateStorage.getSpecialScratchBuffer(neededSize); in composeLayerInto()