Home
last modified time | relevance | path

Searched refs:imageMemory (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndVkSnapshotImageTests.cpp71 auto imageMemory = device->allocateMemoryUnique(imageMemoryAllocateInfo).value; in TEST_P() local
72 ASSERT_THAT(imageMemory, IsValidHandle()); in TEST_P()
76 ASSERT_THAT(device->bindImageMemory(*image, *imageMemory, 0), IsVkSuccess()); in TEST_P()
153 auto imageMemory = device->allocateMemoryUnique(imageMemoryAllocateInfo).value; in TEST_P() local
154 ASSERT_THAT(imageMemory, IsValidHandle()); in TEST_P()
156 ASSERT_THAT(device->bindImageMemory(*image, *imageMemory, 0), IsVkSuccess()); in TEST_P()
200 auto imageMemory = device->allocateMemoryUnique(imageMemoryAllocateInfo).value; in TEST_P() local
201 ASSERT_THAT(imageMemory, IsValidHandle()); in TEST_P()
203 ASSERT_THAT(device->bindImageMemory(*image, *imageMemory, 0), IsVkSuccess()); in TEST_P()
275 auto imageMemory = device->allocateMemoryUnique(imageMemoryAllocateInfo).value; in TEST_P() local
[all …]
DGfxstreamEnd2EndVkTests.cpp98 auto imageMemory = device->allocateMemoryUnique(imageMemoryAllocateInfo).value; in DoAcquireImageAndroidWithSync() local
99 ASSERT_THAT(imageMemory, IsValidHandle()); in DoAcquireImageAndroidWithSync()
100 ASSERT_THAT(device->bindImageMemory(*image, *imageMemory, 0), IsVkSuccess()); in DoAcquireImageAndroidWithSync()
178 auto imageMemory = device->allocateMemoryUnique(imageMemoryAllocateInfo).value; in TEST_P() local
179 ASSERT_THAT(imageMemory, IsValidHandle()); in TEST_P()
180 ASSERT_THAT(device->bindImageMemory(*image, *imageMemory, 0), IsVkSuccess()); in TEST_P()
/hardware/google/gfxstream/host/vulkan/emulated_textures/testing/
DComputePipelineRestoration_integrationtest.cpp65 vk->vkFreeMemory(device, imageMemory, nullptr); in TearDown()
100 VK_CHECK(vk->vkAllocateMemory(device, &allocInfo, nullptr, &imageMemory)); in createImage()
101 VK_CHECK(vk->vkBindImageMemory(device, image, imageMemory, 0)); in createImage()
123 VkDeviceMemory imageMemory = VK_NULL_HANDLE; member in goldfish_vk::testing::__anonbc3419c60111::ComputePipelineRestorationTest
/hardware/google/gfxstream/host/vulkan/
DVkAndroidNativeBuffer.cpp200 &out->imageMemory)) { in prepareAndroidNativeBufferImage()
206 if (!importExternalMemory(vk, device, &memInfo, &out->imageMemory)) { in prepareAndroidNativeBufferImage()
254 if (VK_SUCCESS != vk->vkAllocateMemory(device, &allocInfo, nullptr, &out->imageMemory)) { in prepareAndroidNativeBufferImage()
264 if (VK_SUCCESS != vk->vkBindImageMemory(device, out->image, out->imageMemory, bindOffset)) { in prepareAndroidNativeBufferImage()
368 auto imageMemory = anbInfo->imageMemory; in teardownAndroidNativeBufferImage() local
375 if (imageMemory) vk->vkFreeMemory(device, imageMemory, nullptr); in teardownAndroidNativeBufferImage()
391 anbInfo->imageMemory = VK_NULL_HANDLE; in teardownAndroidNativeBufferImage()
DVkAndroidNativeBuffer.h72 VkDeviceMemory imageMemory = VK_NULL_HANDLE; member
DCompositorVk.cpp590 VkDeviceMemory imageMemory = VK_NULL_HANDLE; in setUpDefaultImage() local
592 m_vk.vkAllocateMemory(m_vkDevice, &imageMemoryAllocInfo, nullptr, &imageMemory), in setUpDefaultImage()
595 VK_CHECK(m_vk.vkBindImageMemory(m_vkDevice, image, imageMemory, 0)); in setUpDefaultImage()
725 m_defaultImage.m_vkImageMemory = imageMemory; in setUpDefaultImage()
/hardware/google/gfxstream/common/detector/
DVulkan.cpp335 auto imageMemory = VK_EXPECT_RV(mDevice->allocateMemoryUnique(imageMemoryAllocateInfo)); in CreateImage() local
337 mDevice->bindImageMemory(*image, *imageMemory, 0); in CreateImage()
391 .imageMemory = std::move(imageMemory), in CreateImage()
583 auto imageMemory = VK_EXPECT_RV(mDevice->allocateMemoryUnique(imageMemoryAllocateInfo)); in CreateYuvImage() local
585 mDevice->bindImageMemory(*image, *imageMemory, 0); in CreateYuvImage()
641 .imageMemory = std::move(imageMemory), in CreateYuvImage()
DVulkan.h125 vkhpp::UniqueDeviceMemory imageMemory; member
146 vkhpp::UniqueDeviceMemory imageMemory; member