Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/vk/
DGrVkBuffer.cpp206 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()
DGrVkGpu.cpp425 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 …]
DGrVkGpu.h211 GrBuffer* transferBuffer, size_t offset, size_t rowBytes) override;
/external/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.cpp536 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, &region); 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 …]
DGrVkGpu.h283 sk_sp<GrGpuBuffer> transferBuffer, size_t offset,
287 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override;
/external/skia/src/gpu/
DGrGpu.cpp461 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()
DGrGpu.h304 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/
DGrMockGpu.h108 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/
DGrMtlGpu.mm490 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 …]
DGrMtlGpu.h233 GrColorType dstColorType, id<MTLBuffer> transferBuffer, size_t offset,
/external/skqp/src/gpu/
DGrGpu.cpp306 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()
DGrGpu.h220 GrColorType bufferColorType, GrBuffer* transferBuffer, size_t offset,
483 GrColorType colorType, GrBuffer* transferBuffer, size_t offset,
/external/skia/src/gpu/dawn/
DGrDawnGpu.h174 sk_sp<GrGpuBuffer> transferBuffer, size_t offset,
179 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override;
DGrDawnGpu.cpp199 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/
DGrD3DGpu.h179 sk_sp<GrGpuBuffer> transferBuffer, size_t offset, in onTransferPixelsTo() argument
185 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override { in onTransferPixelsFrom() argument
DGrD3DGpu.cpp611 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/
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()
/external/skqp/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()
/external/skqp/src/gpu/mock/
DGrMockGpu.h89 GrBuffer* transferBuffer, size_t offset, size_t rowBytes) override { in onTransferPixels() argument
/external/skia/src/gpu/gl/
DGrGLGpu.h309 sk_sp<GrGpuBuffer> transferBuffer, size_t offset,
313 sk_sp<GrGpuBuffer> transferBuffer, size_t offset) override;
DGrGLGpu.cpp856 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/
DGrMtlGpu.mm788 id<MTLBuffer> transferBuffer = [fDevice newBufferWithLength: transBufferImageBytes
797 toBuffer: transferBuffer
804 const void* mappedMemory = transferBuffer.contents;
/external/skqp/src/gpu/gl/
DGrGLGpu.h236 GrBuffer* transferBuffer, size_t offset, size_t rowBytes) override;
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp2754 …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()

12