Home
last modified time | relevance | path

Searched refs:transferBuffer (Results 1 – 25 of 35) sorted by relevance

12

/third_party/flutter/skia/src/gpu/gl/
DGrGLGpuCommandBuffer.h29 GrColorType bufferColorType, GrGpuBuffer* transferBuffer, in transferFrom() argument
33 transferBuffer, offset); in transferFrom()
75 GrColorType bufferColorType, GrGpuBuffer* transferBuffer, in transferFrom() argument
79 transferBuffer, offset); in transferFrom()
/third_party/flutter/skia/src/gpu/vk/
DGrVkBuffer.cpp197 sk_sp<GrVkTransferBuffer> transferBuffer = in copyCpuDataToGpuBuffer() local
199 if (!transferBuffer) { in copyCpuDataToGpuBuffer()
203 char* buffer = (char*) transferBuffer->map(); in copyCpuDataToGpuBuffer()
205 transferBuffer->unmap(); in copyCpuDataToGpuBuffer()
207 gpu->copyBuffer(transferBuffer.get(), this, 0, this->offset(), size); in copyCpuDataToGpuBuffer()
DGrVkGpu.cpp465 GrGpuBuffer* transferBuffer, size_t bufferOffset, in onTransferPixelsTo() argument
479 GrVkTransferBuffer* vkBuffer = static_cast<GrVkTransferBuffer*>(transferBuffer); in onTransferPixelsTo()
522 GrGpuBuffer* transferBuffer, size_t offset) { in onTransferPixelsFrom() argument
524 SkASSERT(transferBuffer); in onTransferPixelsFrom()
529 GrVkTransferBuffer* vkBuffer = static_cast<GrVkTransferBuffer*>(transferBuffer); in onTransferPixelsFrom()
769 sk_sp<GrVkTransferBuffer> transferBuffer = in uploadTexDataOptimal() local
771 if (!transferBuffer) { in uploadTexDataOptimal()
818 char* buffer = (char*) transferBuffer->map(); in uploadTexDataOptimal()
837 region.bufferOffset = transferBuffer->offset() + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal()
850 transferBuffer->unmap(); in uploadTexDataOptimal()
[all …]
DGrVkGpuCommandBuffer.h50 GrColorType bufferColorType, GrGpuBuffer* transferBuffer,
108 GrColorType bufferColorType, GrGpuBuffer* transferBuffer,
DGrVkGpuCommandBuffer.cpp70 GrGpuBuffer* transferBuffer, size_t offset) in TransferFrom() argument
71 : fTransferBuffer(sk_ref_sp(transferBuffer)) in TransferFrom()
103 GrGpuBuffer* transferBuffer, size_t offset) { in transferFrom() argument
104 fTasks.emplace<TransferFrom>(srcRect, surfaceColorType, bufferColorType, transferBuffer, in transferFrom()
617 GrColorType bufferColorType, GrGpuBuffer* transferBuffer, in transferFrom() argument
624 transferBuffer, offset); in transferFrom()
DGrVkGpu.h235 GrGpuBuffer* transferBuffer, size_t offset, size_t rowBytes) override;
238 GrGpuBuffer* transferBuffer, size_t offset) override;
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpu.mm241 id<MTLBuffer> transferBuffer = this->resourceProvider().getDynamicBuffer(combinedBufferSize,
243 if (!transferBuffer) {
246 char* buffer = (char*) transferBuffer.contents + bufferOffset;
265 [blitCmdEncoder copyFromBuffer: transferBuffer
280 [transferBuffer didModifyRange: NSMakeRange(bufferOffset, combinedBufferSize)];
332 id<MTLBuffer> transferBuffer = [fDevice newBufferWithLength: combinedBufferSize
334 if (nil == transferBuffer) {
343 [blitCmdEncoder fillBuffer: transferBuffer
355 [blitCmdEncoder copyFromBuffer: transferBuffer
732 id<MTLBuffer> transferBuffer = [fDevice newBufferWithLength: combinedBufferSize
[all …]
DGrMtlGpuCommandBuffer.h36 GrColorType bufferColorType, GrGpuBuffer* transferBuffer, in transferFrom() argument
40 transferBuffer, offset); in transferFrom()
71 GrColorType bufferColorType, GrGpuBuffer* transferBuffer,
/third_party/flutter/skia/src/gpu/mock/
DGrMockGpuCommandBuffer.h24 GrColorType bufferColorType, GrGpuBuffer* transferBuffer, in transferFrom() argument
46 GrColorType bufferColorType, GrGpuBuffer* transferBuffer, in transferFrom() argument
DGrMockGpu.h108 GrGpuBuffer* transferBuffer, size_t offset, size_t rowBytes) override { in onTransferPixelsTo() argument
113 GrGpuBuffer* transferBuffer, size_t offset) override { in onTransferPixelsFrom() argument
/third_party/skia/src/gpu/d3d/
DGrD3DGpu.cpp591 sk_sp<GrGpuBuffer> transferBuffer = this->createBuffer(transferTotalBytes, in onReadPixels() local
595 this->readOrTransferPixels(texResource, rect, transferBuffer, placedFootprint); in onReadPixels()
605 const void* mappedMemory = transferBuffer->map(); in onReadPixels()
614 transferBuffer->unmap(); in onReadPixels()
621 sk_sp<GrGpuBuffer> transferBuffer, in readOrTransferPixels() argument
642 GrD3DBuffer* d3dBuf = static_cast<GrD3DBuffer*>(transferBuffer.get()); in readOrTransferPixels()
648 fCurrentDirectCommandList->copyTextureRegionToBuffer(transferBuffer, &dstLocation, 0, 0, in readOrTransferPixels()
785 sk_sp<GrGpuBuffer> transferBuffer, in onTransferPixelsTo() argument
792 if (!transferBuffer) { in onTransferPixelsTo()
836 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(transferBuffer.get())->d3dResource(); in onTransferPixelsTo()
[all …]
/third_party/flutter/skia/src/gpu/
DGrGpu.cpp445 GrGpuBuffer* transferBuffer, size_t offset, size_t rowBytes) { in transferPixelsTo() argument
448 SkASSERT(transferBuffer); in transferPixelsTo()
479 bufferColorType, transferBuffer, offset, rowBytes)) { in transferPixelsTo()
491 GrGpuBuffer* transferBuffer, size_t offset) { in transferPixelsFrom() argument
494 SkASSERT(transferBuffer); in transferPixelsFrom()
513 bufferColorType, transferBuffer, offset)) { in transferPixelsFrom()
DGrGpu.h271 GrGpuBuffer* transferBuffer, size_t offset, size_t rowBytes);
296 GrGpuBuffer* transferBuffer, size_t offset);
592 GrGpuBuffer* transferBuffer, size_t offset,
597 GrGpuBuffer* transferBuffer, size_t offset) = 0;
DGrGpuCommandBuffer.h38 GrColorType bufferColorType, GrGpuBuffer* transferBuffer,
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpuCommandBuffer.h29 GrColorType bufferColorType, GrGpuBuffer* transferBuffer,
54 GrColorType bufferColorType, GrGpuBuffer* transferBuffer,
DGrDawnGpu.h127 GrGpuBuffer* transferBuffer, size_t offset, size_t rowBytes) override;
131 GrGpuBuffer* transferBuffer, size_t offset) override;
DGrDawnGpuCommandBuffer.cpp69 GrGpuBuffer* transferBuffer, in transferFrom() argument
72 srcRect.height(), surfaceColorType, bufferColorType, transferBuffer, in transferFrom()
174 GrGpuBuffer* transferBuffer, size_t offset) { in transferFrom() argument
176 srcRect.height(), surfaceColorType, bufferColorType, transferBuffer, in transferFrom()
/third_party/skia/src/gpu/vk/
DGrVkBuffer.cpp210 sk_sp<GrGpuBuffer> transferBuffer = resourceProvider->createBuffer( in copyCpuDataToGpuBuffer() local
212 if (!transferBuffer) { in copyCpuDataToGpuBuffer()
216 gpu->copyBuffer(std::move(transferBuffer), sk_ref_sp(this), /*srcOffset=*/0, in copyCpuDataToGpuBuffer()
DGrVkGpu.cpp547 sk_sp<GrGpuBuffer> transferBuffer, in onTransferPixelsTo() argument
573 if (!transferBuffer) { in onTransferPixelsTo()
601 const GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onTransferPixelsTo()
610 this->currentCommandBuffer()->addGrBuffer(std::move(transferBuffer)); in onTransferPixelsTo()
620 sk_sp<GrGpuBuffer> transferBuffer, in onTransferPixelsFrom() argument
626 SkASSERT(transferBuffer); in onTransferPixelsFrom()
672 transferBuffer, 1, &region); in onTransferPixelsFrom()
674 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onTransferPixelsFrom()
2443 sk_sp<GrGpuBuffer> transferBuffer = resourceProvider->createBuffer( in onReadPixels() local
2447 if (!transferBuffer) { in onReadPixels()
[all …]
/third_party/skia/src/gpu/
DGrGpu.cpp496 sk_sp<GrGpuBuffer> transferBuffer, in transferPixelsTo() argument
501 SkASSERT(transferBuffer); in transferPixelsTo()
531 std::move(transferBuffer), in transferPixelsTo()
546 sk_sp<GrGpuBuffer> transferBuffer, in transferPixelsFrom() argument
550 SkASSERT(transferBuffer); in transferPixelsFrom()
571 std::move(transferBuffer), in transferPixelsFrom()
DGrGpu.h323 sk_sp<GrGpuBuffer> transferBuffer,
349 sk_sp<GrGpuBuffer> transferBuffer,
763 sk_sp<GrGpuBuffer> transferBuffer,
772 sk_sp<GrGpuBuffer> transferBuffer,
/third_party/skia/src/gpu/mtl/
DGrMtlBuffer.mm116 id<MTLBuffer> transferBuffer = mtlBuffer->mtlBuffer();
117 [blitCmdEncoder copyFromBuffer: transferBuffer
DGrMtlGpu.mm466 id<MTLBuffer> transferBuffer = mtlBuffer->mtlBuffer();
480 [blitCmdEncoder fillBuffer: transferBuffer
492 [blitCmdEncoder copyFromBuffer: transferBuffer
1356 sk_sp<GrGpuBuffer> transferBuffer = resourceProvider->createBuffer(
1360 if (!transferBuffer) {
1364 GrMtlBuffer* grMtlBuffer = static_cast<GrMtlBuffer*>(transferBuffer.get());
1392 sk_sp<GrGpuBuffer> transferBuffer,
1396 SkASSERT(transferBuffer);
1405 GrMtlBuffer* grMtlBuffer = static_cast<GrMtlBuffer*>(transferBuffer.get());
1447 sk_sp<GrGpuBuffer> transferBuffer,
[all …]
/third_party/skia/src/codec/
DSkRawCodec.cpp189 virtual std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) = 0;
248 std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) override { in transferBuffer() function in SkRawBufferedStream
352 std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) override { in transferBuffer() function in SkRawAssetStream
656 auto memoryStream = rawStream->transferBuffer(imageData.preview.offset, in MakeFromStream()
/third_party/flutter/skia/src/codec/
DSkRawCodec.cpp189 virtual std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) = 0;
248 std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) override { in transferBuffer() function in SkRawBufferedStream
352 std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) override { in transferBuffer() function in SkRawAssetStream
656 auto memoryStream = rawStream->transferBuffer(imageData.preview.offset, in MakeFromStream()

12