/external/skqp/src/gpu/vk/ |
D | GrVkBuffer.cpp | 206 sk_sp<GrVkTransferBuffer> transferBuffer = in internalUnmap() local 208 if (!transferBuffer) { in internalUnmap() 212 char* buffer = (char*) transferBuffer->map(); in internalUnmap() 214 transferBuffer->unmap(); in internalUnmap() 216 gpu->copyBuffer(transferBuffer.get(), this, 0, this->offset(), size); in internalUnmap()
|
D | GrVkGpu.cpp | 425 GrColorType bufferColorType, GrBuffer* transferBuffer, in onTransferPixels() argument 438 GrVkTransferBuffer* vkBuffer = static_cast<GrVkTransferBuffer*>(transferBuffer); in onTransferPixels() 675 sk_sp<GrVkTransferBuffer> transferBuffer = in uploadTexDataOptimal() local 677 if (!transferBuffer) { in uploadTexDataOptimal() 728 char* buffer = (char*) transferBuffer->map(); in uploadTexDataOptimal() 749 region.bufferOffset = transferBuffer->offset() + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal() 762 transferBuffer->unmap(); in uploadTexDataOptimal() 773 transferBuffer.get(), in uploadTexDataOptimal() 852 sk_sp<GrVkTransferBuffer> transferBuffer = in uploadTexDataCompressed() local 854 if (!transferBuffer) { in uploadTexDataCompressed() [all …]
|
D | GrVkGpu.h | 211 GrBuffer* transferBuffer, size_t offset, size_t rowBytes) override;
|
/external/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 210 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()
|
D | GrVkGpu.cpp | 536 sk_sp<GrGpuBuffer> transferBuffer, size_t bufferOffset, in onTransferPixelsTo() argument 561 if (!transferBuffer) { in onTransferPixelsTo() 593 const GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onTransferPixelsTo() 602 this->currentCommandBuffer()->addGrBuffer(std::move(transferBuffer)); in onTransferPixelsTo() 610 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) { in onTransferPixelsFrom() argument 615 SkASSERT(transferBuffer); in onTransferPixelsFrom() 661 transferBuffer, 1, ®ion); in onTransferPixelsFrom() 663 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onTransferPixelsFrom() 2394 sk_sp<GrGpuBuffer> transferBuffer = resourceProvider->createBuffer( in onReadPixels() local 2398 if (!transferBuffer) { in onReadPixels() [all …]
|
D | GrVkGpu.h | 283 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, 287 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override;
|
/external/skia/src/gpu/ |
D | GrGpu.cpp | 461 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, size_t rowBytes) { in transferPixelsTo() argument 464 SkASSERT(transferBuffer); in transferPixelsTo() 493 bufferColorType, std::move(transferBuffer), offset, rowBytes)) { in transferPixelsTo() 505 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) { in transferPixelsFrom() argument 508 SkASSERT(transferBuffer); in transferPixelsFrom() 527 bufferColorType, std::move(transferBuffer), offset)) { in transferPixelsFrom()
|
D | GrGpu.h | 304 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, size_t rowBytes); 329 sk_sp<GrGpuBuffer> transferBuffer, size_t offset); 732 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, 737 sk_sp<GrGpuBuffer> transferBuffer,
|
/external/skia/src/gpu/mock/ |
D | GrMockGpu.h | 108 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, in onTransferPixelsTo() argument 114 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override { in onTransferPixelsFrom() argument
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 490 id<MTLBuffer> transferBuffer = [fDevice newBufferWithLength: combinedBufferSize 492 if (nil == transferBuffer) { 502 [blitCmdEncoder fillBuffer: transferBuffer 514 [blitCmdEncoder copyFromBuffer: transferBuffer 1307 sk_sp<GrGpuBuffer> transferBuffer = resourceProvider->createBuffer( 1311 if (!transferBuffer) { 1315 GrMtlBuffer* grMtlBuffer = static_cast<GrMtlBuffer*>(transferBuffer.get()); 1332 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, 1335 SkASSERT(transferBuffer); 1344 GrMtlBuffer* grMtlBuffer = static_cast<GrMtlBuffer*>(transferBuffer.get()); [all …]
|
D | GrMtlGpu.h | 233 GrColorType dstColorType, id<MTLBuffer> transferBuffer, size_t offset,
|
/external/skqp/src/gpu/ |
D | GrGpu.cpp | 306 GrColorType bufferColorType, GrBuffer* transferBuffer, size_t offset, in transferPixels() argument 309 SkASSERT(transferBuffer); in transferPixels() 323 if (this->onTransferPixels(texture, left, top, width, height, bufferColorType, transferBuffer, in transferPixels()
|
D | GrGpu.h | 220 GrColorType bufferColorType, GrBuffer* transferBuffer, size_t offset, 483 GrColorType colorType, GrBuffer* transferBuffer, size_t offset,
|
/external/skia/src/gpu/dawn/ |
D | GrDawnGpu.h | 174 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, 179 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override;
|
D | GrDawnGpu.cpp | 199 sk_sp<GrGpuBuffer> transferBuffer, size_t bufferOffset, in onTransferPixelsTo() argument 207 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) { in onTransferPixelsFrom() argument
|
/external/skia/src/gpu/d3d/ |
D | GrD3DGpu.h | 179 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, in onTransferPixelsTo() argument 185 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override { in onTransferPixelsFrom() argument
|
D | GrD3DGpu.cpp | 611 sk_sp<GrGpuBuffer> transferBuffer = this->createBuffer(transferTotalBytes, in onReadPixels() local 614 GrD3DBuffer* d3dBuf = static_cast<GrD3DBuffer*>(transferBuffer.get()); in onReadPixels() 620 fCurrentDirectCommandList->copyTextureRegionToBuffer(transferBuffer, &dstLocation, 0, 0, in onReadPixels() 625 const void* mappedMemory = transferBuffer->map(); in onReadPixels() 630 transferBuffer->unmap(); in onReadPixels()
|
/external/skia/src/codec/ |
D | SkRawCodec.cpp | 189 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()
|
/external/skqp/src/codec/ |
D | SkRawCodec.cpp | 189 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()
|
/external/skqp/src/gpu/mock/ |
D | GrMockGpu.h | 89 GrBuffer* transferBuffer, size_t offset, size_t rowBytes) override { in onTransferPixels() argument
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.h | 309 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, 313 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override;
|
D | GrGLGpu.cpp | 856 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, in onTransferPixelsTo() argument 874 SkASSERT(!transferBuffer->isMapped()); in onTransferPixelsTo() 875 SkASSERT(!transferBuffer->isCpuBuffer()); in onTransferPixelsTo() 876 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(transferBuffer.get()); in onTransferPixelsTo() 928 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) { in onTransferPixelsFrom() argument 929 auto* glBuffer = static_cast<GrGLBuffer*>(transferBuffer.get()); in onTransferPixelsFrom()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.mm | 788 id<MTLBuffer> transferBuffer = [fDevice newBufferWithLength: transBufferImageBytes 797 toBuffer: transferBuffer 804 const void* mappedMemory = transferBuffer.contents;
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.h | 236 GrBuffer* transferBuffer, size_t offset, size_t rowBytes) override;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushConstantTests.cpp | 2754 …BufferWithMemory transferBuffer (vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisi… in iterate() local 2878 …cmdBuffer, storageImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, transferBuffer.get(), 1u, &co… in iterate() 2880 …MemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, transferBuffer.get(), 0ull, b… in iterate() 2887 auto& bufferAlloc = transferBuffer.getAllocation(); in iterate()
|