D | SwapChainStateVk_unittest.cpp | 14 static void SetUpTestCase() { k_vk = vkDispatch(false); } in SetUpTestCase() 21 ASSERT_NE(k_vk, nullptr); in SetUp() 31 k_vk->vkDestroyDevice(m_vkDevice, nullptr); in TearDown() 32 k_vk->vkDestroySurfaceKHR(m_vkInstance, m_vkSurface, nullptr); in TearDown() 33 k_vk->vkDestroyInstance(m_vkInstance, nullptr); in TearDown() 37 static VulkanDispatch* k_vk; member in gfxstream::vk::__anon4e0f9d3b0111::SwapChainStateVkTest 64 ASSERT_EQ(k_vk->vkCreateInstance(&instanceCi, nullptr, &m_vkInstance), in createInstance() 77 ASSERT_EQ(k_vk->vkCreateWin32SurfaceKHR(m_vkInstance, &surfaceCi, in createWindowAndSurface() 87 ASSERT_EQ(k_vk->vkCreateXcbSurfaceKHR(m_vkInstance, &surfaceCi, in createWindowAndSurface() 98 ASSERT_EQ(k_vk->vkCreateMetalSurfaceEXT(m_vkInstance, &surfaceCi, in createWindowAndSurface() [all …]
|