/hardware/google/gfxstream/host/vulkan/ |
D | VkDecoderSnapshotUtils.cpp | 356 VkBuffer stagingBuffer; in loadImageContent() local 358 dispatch->vkCreateBuffer(stateBlock->device, &bufferCreateInfo, nullptr, &stagingBuffer)); in loadImageContent() 361 dispatch->vkGetBufferMemoryRequirements(stateBlock->device, stagingBuffer, in loadImageContent() 379 dispatch->vkBindBufferMemory(stateBlock->device, stagingBuffer, stagingMemory, 0)); in loadImageContent() 442 dispatch->vkCmdCopyBufferToImage(commandBuffer, stagingBuffer, image, in loadImageContent() 471 dispatch->vkDestroyBuffer(stateBlock->device, stagingBuffer, nullptr); in loadImageContent() 607 VkBuffer stagingBuffer; in loadBufferContent() local 609 dispatch->vkCreateBuffer(stateBlock->device, &bufferCreateInfo, nullptr, &stagingBuffer)); in loadBufferContent() 612 dispatch->vkGetBufferMemoryRequirements(stateBlock->device, stagingBuffer, in loadBufferContent() 629 dispatch->vkBindBufferMemory(stateBlock->device, stagingBuffer, stagingMemory, 0)); in loadBufferContent() [all …]
|
D | VkAndroidNativeBuffer.cpp | 294 vk->vkCreateBuffer(device, &stagingBufferCreateInfo, nullptr, &out->stagingBuffer)) { in prepareAndroidNativeBufferImage() 303 vk->vkGetBufferMemoryRequirements(device, out->stagingBuffer, &stagingMemReqs); in prepareAndroidNativeBufferImage() 340 vk->vkBindBufferMemory(device, out->stagingBuffer, out->stagingMemory, 0)) { in prepareAndroidNativeBufferImage() 370 auto stagingBuffer = anbInfo->stagingBuffer; in teardownAndroidNativeBufferImage() local 376 if (stagingBuffer) vk->vkDestroyBuffer(device, stagingBuffer, nullptr); in teardownAndroidNativeBufferImage() 392 anbInfo->stagingBuffer = VK_NULL_HANDLE; in teardownAndroidNativeBufferImage() 731 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, anbInfo->stagingBuffer, 1, in syncImageToColorBuffer()
|
D | VkAndroidNativeBuffer.h | 75 VkBuffer stagingBuffer = VK_NULL_HANDLE; member
|
D | CompositorVk.cpp | 629 VkBuffer stagingBuffer = VK_NULL_HANDLE; in setUpDefaultImage() local 631 std::tie(stagingBuffer, stagingBufferMemory) = in setUpDefaultImage() 687 m_vk.vkCmdCopyBufferToImage(cmdBuff, stagingBuffer, image, in setUpDefaultImage() 720 m_vk.vkDestroyBuffer(m_vkDevice, stagingBuffer, nullptr); in setUpDefaultImage() 838 auto [stagingBuffer, stagingBufferMemory] = in createStagingBufferWithData() 846 return std::make_tuple(stagingBuffer, stagingBufferMemory); in createStagingBufferWithData()
|
/hardware/google/gfxstream/common/end2end/ |
D | GfxstreamEnd2EndVkSnapshotBufferTests.cpp | 50 auto stagingBuffer = device->createBufferUnique(stagingBufferCreateInfo).value; in TEST_P() local 51 ASSERT_THAT(stagingBuffer, IsValidHandle()); in TEST_P() 54 device->getBufferMemoryRequirements(*stagingBuffer, &stagingBufferMemoryRequirements); in TEST_P() 67 ASSERT_THAT(device->bindBufferMemory(*stagingBuffer, *stagingBufferMemory, 0), IsVkSuccess()); in TEST_P() 138 commandBuffer->copyBuffer(*stagingBuffer, *vertexBuffer, 1, &bufferCopy); in TEST_P()
|
D | GfxstreamEnd2EndVkSnapshotImageTests.cpp | 371 auto stagingBuffer = device->createBufferUnique(bufferCreateInfo).value; in TEST_P() local 372 ASSERT_THAT(stagingBuffer, IsValidHandle()); in TEST_P() 375 device->getBufferMemoryRequirements(*stagingBuffer, &stagingBufferMemoryRequirements); in TEST_P() 388 ASSERT_THAT(device->bindBufferMemory(*stagingBuffer, *stagingBufferMemory, 0), IsVkSuccess()); in TEST_P() 497 commandBuffer->copyBufferToImage(*stagingBuffer, *image, in TEST_P()
|
D | GfxstreamEnd2EndVkTests.cpp | 188 auto stagingBuffer = device->createBufferUnique(bufferCreateInfo).value; in TEST_P() local 189 ASSERT_THAT(stagingBuffer, IsValidHandle()); in TEST_P() 192 device->getBufferMemoryRequirements(*stagingBuffer, &stagingBufferMemoryRequirements); in TEST_P() 204 ASSERT_THAT(device->bindBufferMemory(*stagingBuffer, *stagingBufferMemory, 0), IsVkSuccess()); in TEST_P()
|
/hardware/google/gfxstream/common/detector/ |
D | Vulkan.h | 191 vkhpp::UniqueBuffer stagingBuffer, in Vk() argument 201 mStagingBuffer(std::move(stagingBuffer)), in Vk()
|
D | Vulkan.cpp | 239 auto stagingBuffer = in Load() local 254 std::move(stagingBuffer.buffer), in Load() 255 std::move(stagingBuffer.bufferMemory)); in Load()
|