Searched refs:fTransferBuffer (Results 1 – 7 of 7) sorted by relevance
239 if (info.fTransferBuffer) { in transferToRecording()241 info.fTransferBuffer->unmap(); in transferToRecording()244 std::move(info.fTransferBuffer), info.fBuffer)); in transferToRecording()278 SkASSERT(!info->fTransferBuffer || info->fBuffer->size() == info->fTransferBuffer->size()); in prepareBindBuffer()279 fUsedBuffers.emplace_back(std::move(info->fBuffer), std::move(info->fTransferBuffer)); in prepareBindBuffer()294 if (useTransferBuffer && !info->fTransferBuffer) { in prepareBindBuffer()295 info->fTransferBuffer = fResourceProvider->findOrCreateBuffer( in prepareBindBuffer()299 SkASSERT(info->fBuffer->size() == info->fTransferBuffer->size()); in prepareBindBuffer()301 if (!info->fTransferBuffer) { in prepareBindBuffer()
76 sk_sp<Buffer> fTransferBuffer{};80 return fTransferBuffer ? fTransferBuffer.get() : fBuffer.get(); in getMappableBuffer()
204 if (!transferResult.fTransferBuffer) { in asyncReadPixels()304 result.fTransferBuffer = std::move(buffer); in transferPixels()
149 SkASSERT(!result.fTransferBuffer->isMapped()); in addTransferResult()150 const void* mappedData = result.fTransferBuffer->map(); in addTransferResult()159 result.fTransferBuffer->unmap(); in addTransferResult()161 manager->insert(result.fTransferBuffer); in addTransferResult()162 this->addMappedPlane(mappedData, rowBytes, std::move(result.fTransferBuffer)); in addTransferResult()
131 sk_sp<Buffer> fTransferBuffer; member
647 if (!transferResult.fTransferBuffer) { in asyncReadPixels()828 if (!yTransfer.fTransferBuffer) { in asyncRescaleAndReadPixelsYUV420()853 if (!uTransfer.fTransferBuffer) { in asyncRescaleAndReadPixelsYUV420()877 if (!vTransfer.fTransferBuffer) { in asyncRescaleAndReadPixelsYUV420()1280 result.fTransferBuffer = std::move(buffer); in transferPixels()
194 sk_sp<GrGpuBuffer> fTransferBuffer; member