Home
last modified time | relevance | path

Searched refs:fTransferBuffer (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/graphite/
DBufferManager.cpp239 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()
DBufferManager.h76 sk_sp<Buffer> fTransferBuffer{};
80 return fTransferBuffer ? fTransferBuffer.get() : fBuffer.get(); in getMappableBuffer()
DContext.cpp204 if (!transferResult.fTransferBuffer) { in asyncReadPixels()
304 result.fTransferBuffer = std::move(buffer); in transferPixels()
/external/skia/src/gpu/
DAsyncReadTypes.h149 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()
/external/skia/include/gpu/graphite/
DContext.h131 sk_sp<Buffer> fTransferBuffer; member
/external/skia/src/gpu/ganesh/
DSurfaceContext.cpp647 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()
DSurfaceContext.h194 sk_sp<GrGpuBuffer> fTransferBuffer; member