Home
last modified time | relevance | path

Searched refs:stagingBufferMemory (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndVkSnapshotBufferTests.cpp65 auto stagingBufferMemory = device->allocateMemoryUnique(stagingBufferMemoryAllocateInfo).value; in TEST_P() local
66 ASSERT_THAT(stagingBufferMemory, IsValidHandle()); in TEST_P()
67 ASSERT_THAT(device->bindBufferMemory(*stagingBuffer, *stagingBufferMemory, 0), IsVkSuccess()); in TEST_P()
72 device->mapMemory(*stagingBufferMemory, 0, VK_WHOLE_SIZE, vkhpp::MemoryMapFlags{}, &mapped); in TEST_P()
80 .memory = *stagingBufferMemory, in TEST_P()
84 device->unmapMemory(*stagingBufferMemory); in TEST_P()
DGfxstreamEnd2EndVkSnapshotImageTests.cpp386 auto stagingBufferMemory = device->allocateMemoryUnique(stagingBufferMemoryAllocateInfo).value; in TEST_P() local
387 ASSERT_THAT(stagingBufferMemory, IsValidHandle()); in TEST_P()
388 ASSERT_THAT(device->bindBufferMemory(*stagingBuffer, *stagingBufferMemory, 0), IsVkSuccess()); in TEST_P()
393 device->mapMemory(*stagingBufferMemory, 0, VK_WHOLE_SIZE, vkhpp::MemoryMapFlags{}, &mapped); in TEST_P()
401 .memory = *stagingBufferMemory, in TEST_P()
405 device->unmapMemory(*stagingBufferMemory); in TEST_P()
DGfxstreamEnd2EndVkTests.cpp202 auto stagingBufferMemory = device->allocateMemoryUnique(stagingBufferMemoryAllocateInfo).value; in TEST_P() local
203 ASSERT_THAT(stagingBufferMemory, IsValidHandle()); in TEST_P()
204 ASSERT_THAT(device->bindBufferMemory(*stagingBuffer, *stagingBufferMemory, 0), IsVkSuccess()); in TEST_P()
211 ASSERT_THAT(stagingBufferMemory, IsValidHandle()); in TEST_P()
/hardware/google/gfxstream/common/detector/
DVulkan.h192 vkhpp::UniqueDeviceMemory stagingBufferMemory) in Vk() argument
202 mStagingBufferMemory(std::move(stagingBufferMemory)) {} in Vk()
/hardware/google/gfxstream/host/vulkan/
DCompositorVk.cpp630 VkDeviceMemory stagingBufferMemory = VK_NULL_HANDLE; in setUpDefaultImage() local
631 std::tie(stagingBuffer, stagingBufferMemory) = in setUpDefaultImage()
721 m_vk.vkFreeMemory(m_vkDevice, stagingBufferMemory, nullptr); in setUpDefaultImage()
838 auto [stagingBuffer, stagingBufferMemory] = in createStagingBufferWithData()
843 VK_CHECK(m_vk.vkMapMemory(m_vkDevice, stagingBufferMemory, 0, size, 0, &data)); in createStagingBufferWithData()
845 m_vk.vkUnmapMemory(m_vkDevice, stagingBufferMemory); in createStagingBufferWithData()
846 return std::make_tuple(stagingBuffer, stagingBufferMemory); in createStagingBufferWithData()