/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | DynamicUploader.cpp | 26 void DynamicUploader::ReleaseStagingBuffer(std::unique_ptr<StagingBufferBase> stagingBuffer) { in ReleaseStagingBuffer() argument 27 mReleasedStagingBuffers.Enqueue(std::move(stagingBuffer), in ReleaseStagingBuffer() 35 std::unique_ptr<StagingBufferBase> stagingBuffer; in AllocateInternal() local 36 DAWN_TRY_ASSIGN(stagingBuffer, mDevice->CreateStagingBuffer(allocationSize)); in AllocateInternal() 39 uploadHandle.mappedBuffer = static_cast<uint8_t*>(stagingBuffer->GetMappedPointer()); in AllocateInternal() 40 uploadHandle.stagingBuffer = stagingBuffer.get(); in AllocateInternal() 42 ReleaseStagingBuffer(std::move(stagingBuffer)); in AllocateInternal() 81 std::unique_ptr<StagingBufferBase> stagingBuffer; in AllocateInternal() local 82 DAWN_TRY_ASSIGN(stagingBuffer, in AllocateInternal() 84 targetRingBuffer->mStagingBuffer = std::move(stagingBuffer); in AllocateInternal() [all …]
|
D | DynamicUploader.h | 30 StagingBufferBase* stagingBuffer = nullptr; member 42 void ReleaseStagingBuffer(std::unique_ptr<StagingBufferBase> stagingBuffer);
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | DynamicUploader.cpp | 26 std::unique_ptr<StagingBufferBase> stagingBuffer; in CreateStagingBuffer() local 27 DAWN_TRY_ASSIGN(stagingBuffer, mDevice->CreateStagingBuffer(size)); in CreateStagingBuffer() 28 DAWN_TRY(stagingBuffer->Initialize()); in CreateStagingBuffer() 29 return stagingBuffer; in CreateStagingBuffer() 32 void DynamicUploader::ReleaseStagingBuffer(std::unique_ptr<StagingBufferBase> stagingBuffer) { in ReleaseStagingBuffer() argument 33 mReleasedStagingBuffers.Enqueue(std::move(stagingBuffer), in ReleaseStagingBuffer() 68 uploadHandle.stagingBuffer = largestRingBuffer->GetStagingBuffer(); in Allocate()
|
D | DynamicUploader.h | 35 void ReleaseStagingBuffer(std::unique_ptr<StagingBufferBase> stagingBuffer);
|
D | RingBuffer.h | 29 StagingBufferBase* stagingBuffer = nullptr; member
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | BufferVk.cpp | 302 vk::StagingBuffer stagingBuffer; in setDataImpl() local 303 ANGLE_TRY(stagingBuffer.init(contextVk, static_cast<VkDeviceSize>(size), in setDataImpl() 308 stagingBuffer.getDeviceMemory().map(device, 0, size, 0, &mapPointer)); in setDataImpl() 312 stagingBuffer.getDeviceMemory().unmap(device); in setDataImpl() 316 ANGLE_TRY(mBuffer.copyFromBuffer(contextVk, stagingBuffer.getBuffer(), in setDataImpl() 320 contextVk->releaseObject(contextVk->getCurrentQueueSerial(), &stagingBuffer); in setDataImpl()
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnTexture.cpp | 166 dawn::Buffer stagingBuffer = device.CreateBuffer(&desc); in upload() local 169 stagingBuffer.SetSubData(0, size, in upload() 179 stagingBuffer.SetSubData(0, size, in upload() 185 srcBuffer.buffer = stagingBuffer; in upload()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | BufferVk.cpp | 959 vk::DynamicBuffer *stagingBuffer = nullptr; in stagedUpdate() local 963 ANGLE_TRY(allocMappedStagingBuffer(contextVk, size, &stagingBuffer, &stagingBufferOffset, in stagedUpdate() 967 flushMappedStagingBuffer(contextVk, stagingBuffer, stagingBufferOffset, size, offset)); in stagedUpdate() 974 vk::DynamicBuffer **stagingBuffer, in allocMappedStagingBuffer() argument 980 ASSERT(stagingBuffer); in allocMappedStagingBuffer() 982 *stagingBuffer = contextVk->getStagingBuffer(); in allocMappedStagingBuffer() 984 ASSERT(*stagingBuffer); in allocMappedStagingBuffer() 987 (*stagingBuffer)->allocate(contextVk, size, mapPtr, nullptr, stagingBufferOffset, nullptr)); in allocMappedStagingBuffer() 994 vk::DynamicBuffer *stagingBuffer, in flushMappedStagingBuffer() argument 999 ANGLE_TRY(stagingBuffer->flush(contextVk)); in flushMappedStagingBuffer() [all …]
|
D | BufferVk.h | 171 vk::DynamicBuffer **stagingBuffer, 175 vk::DynamicBuffer *stagingBuffer,
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | TextureZeroInitTests.cpp | 171 dawn::Buffer stagingBuffer = utils::CreateBufferFromData( in TEST_P() local 174 dawn::BufferCopyView bufferCopyView = utils::CreateBufferCopyView(stagingBuffer, 0, 0, 0); in TEST_P() 199 dawn::Buffer stagingBuffer = utils::CreateBufferFromData( in TEST_P() local 202 dawn::BufferCopyView bufferCopyView = utils::CreateBufferCopyView(stagingBuffer, 0, 0, 0); in TEST_P() 264 dawn::Buffer stagingBuffer = utils::CreateBufferFromData( in TEST_P() local 266 dawn::BufferCopyView bufferCopyView = utils::CreateBufferCopyView(stagingBuffer, 0, 0, 0); in TEST_P()
|
D | SamplerTests.cpp | 104 dawn::Buffer stagingBuffer = in SetUp() local 106 dawn::BufferCopyView bufferCopyView = utils::CreateBufferCopyView(stagingBuffer, 0, 256, 0); in SetUp()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | VulkanHelper.cpp | 957 VkBuffer stagingBuffer = VK_NULL_HANDLE; in readPixels() local 958 VkResult result = vkCreateBuffer(mDevice, &bufferCreateInfo, nullptr, &stagingBuffer); in readPixels() 963 vkGetBufferMemoryRequirements(mDevice, stagingBuffer, &memoryRequirements); in readPixels() 973 /* .buffer = */ stagingBuffer, in readPixels() 986 result = vkBindBufferMemory(mDevice, stagingBuffer, deviceMemory, 0 /* memoryOffset */); in readPixels() 1057 vkCmdCopyImageToBuffer(commandBuffers[0], srcImage, srcImageLayout, stagingBuffer, in readPixels() 1119 vkDestroyBuffer(mDevice, stagingBuffer, nullptr); in readPixels()
|
/third_party/skia/third_party/externals/dawn/examples/ |
D | CppHelloTriangle.cpp | 74 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in initTextures() local 77 utils::CreateImageCopyBuffer(stagingBuffer, 0, 4 * 1024); in initTextures()
|
/third_party/flutter/skia/third_party/externals/dawn/examples/ |
D | CppHelloTriangle.cpp | 73 dawn::Buffer stagingBuffer = utils::CreateBufferFromData( in initTextures() local 75 dawn::BufferCopyView bufferCopyView = utils::CreateBufferCopyView(stagingBuffer, 0, 0, 0); in initTextures()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | SamplerTests.cpp | 104 wgpu::Buffer stagingBuffer = in SetUp() local 106 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer(stagingBuffer, 0, 256); in SetUp()
|
D | TextureZeroInitTests.cpp | 280 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in TEST_P() local 284 utils::CreateImageCopyBuffer(stagingBuffer, 0, kSize * sizeof(uint32_t)); in TEST_P() 312 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in TEST_P() local 316 utils::CreateImageCopyBuffer(stagingBuffer, 0, kSize * sizeof(uint16_t)); in TEST_P() 346 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in TEST_P() local 350 utils::CreateImageCopyBuffer(stagingBuffer, 0, kSize * kFormatBlockByteSize, kSize); in TEST_P() 422 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in TEST_P() local 425 utils::CreateImageCopyBuffer(stagingBuffer, 0, kSize * kFormatBlockByteSize); in TEST_P() 1140 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in TEST_P() local 1143 utils::CreateImageCopyBuffer(stagingBuffer, 0, kSize * kFormatBlockByteSize); in TEST_P() [all …]
|
D | SamplerFilterAnisotropicTests.cpp | 126 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in InitTexture() local 129 utils::CreateImageCopyBuffer(stagingBuffer, 0, kTextureBytesPerRowAlignment); in InitTexture()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | TextureMtl.mm | 276 mtl::BufferRef stagingBuffer; 277 ANGLE_TRY(mtl::Buffer::MakeBuffer(contextMtl, stagingBufferSize, nullptr, &stagingBuffer)); 279 uint8_t *pdst = stagingBuffer->map(contextMtl); 285 stagingBuffer->unmap(contextMtl); 287 *bufferOut = stagingBuffer; 308 mtl::BufferRef stagingBuffer; 309 ANGLE_TRY(mtl::Buffer::MakeBuffer(contextMtl, stagingBufferSize, nullptr, &stagingBuffer)); 311 uint8_t *pdst = stagingBuffer->map(contextMtl); 315 stagingBuffer->unmap(contextMtl); 317 *bufferOut = stagingBuffer; [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/ |
D | DeviceNull.cpp | 177 std::unique_ptr<StagingBufferBase> stagingBuffer = in CreateStagingBuffer() local 179 DAWN_TRY(stagingBuffer->Initialize()); in CreateStagingBuffer() 180 return std::move(stagingBuffer); in CreateStagingBuffer()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | DeviceD3D12.cpp | 288 CopyFromStagingToBufferImpl(commandContext, uploadHandle.stagingBuffer, in ClearBufferToZero() 452 std::unique_ptr<StagingBufferBase> stagingBuffer = in CreateStagingBuffer() local 454 DAWN_TRY(stagingBuffer->Initialize()); in CreateStagingBuffer() 455 return std::move(stagingBuffer); in CreateStagingBuffer()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | DeviceD3D12.cpp | 305 std::unique_ptr<StagingBufferBase> stagingBuffer = in CreateStagingBuffer() local 307 return std::move(stagingBuffer); in CreateStagingBuffer()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/null/ |
D | DeviceNull.cpp | 145 std::unique_ptr<StagingBufferBase> stagingBuffer = in CreateStagingBuffer() local 147 return std::move(stagingBuffer); in CreateStagingBuffer()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.cpp | 411 GrStagingBufferManager::Slice stagingBuffer = in onClearBackendTexture() local 414 memcpy(stagingBuffer.fOffsetMapPtr, defaultStorage.get(), size); in onClearBackendTexture() 417 char* dst = static_cast<char*>(stagingBuffer.fOffsetMapPtr); in onClearBackendTexture() 425 srcBuffer.buffer = static_cast<GrDawnBuffer*>(stagingBuffer.fBuffer)->get(); in onClearBackendTexture() 426 srcBuffer.layout.offset = stagingBuffer.fOffset; in onClearBackendTexture()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemUtils.cpp | 696 de::UniquePtr<vk::BufferWithMemory> stagingBuffer (makeBuffer(ctx, in uploadImage() local 705 …const tcu::PixelBufferAccess destAccess (access.getFormat(), access.getSize(), stagingBuffer->get… in uploadImage() 709 flushAlloc(vk, device, stagingBuffer->getAllocation()); in uploadImage() 775 …vk.cmdCopyBufferToImage(*cmdBuffer, **stagingBuffer, image, vk::VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIM… in uploadImage()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | DeviceMTL.mm | 230 std::unique_ptr<StagingBufferBase> stagingBuffer = 232 return std::move(stagingBuffer);
|