Home
last modified time | relevance | path

Searched refs:k_vk (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/host/tests/
DSwapChainStateVk_unittest.cpp14 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 …]
DDisplayVk_unittest.cpp23 static void SetUpTestCase() { k_vk = vkDispatch(false); } in SetUpTestCase()
30 ASSERT_NE(k_vk, nullptr); in SetUp()
37 k_vk->vkGetDeviceQueue(m_vkDevice, m_compositorQueueFamilyIndex, 0, &m_compositorVkQueue); in SetUp()
39 k_vk->vkGetDeviceQueue(m_vkDevice, m_swapChainQueueFamilyIndex, 0, &m_swapChainVkQueue); in SetUp()
44 ASSERT_EQ(k_vk->vkCreateCommandPool(m_vkDevice, &commandPoolCi, nullptr, &m_vkCommandPool), in SetUp()
47 *k_vk, m_vkPhysicalDevice, m_swapChainQueueFamilyIndex, m_compositorQueueFamilyIndex, in SetUp()
52 DisplaySurfaceVk::create(*k_vk, m_vkInstance, m_window->getNativeWindow())); in SetUp()
59 ASSERT_EQ(k_vk->vkQueueWaitIdle(m_compositorVkQueue), VK_SUCCESS); in TearDown()
60 ASSERT_EQ(k_vk->vkQueueWaitIdle(m_swapChainVkQueue), VK_SUCCESS); in TearDown()
63 k_vk->vkDestroyCommandPool(m_vkDevice, m_vkCommandPool, nullptr); in TearDown()
[all …]
DCompositorVk_unittest.cpp42 static void SetUpTestCase() { k_vk = vkDispatch(false); } in SetUpTestCase()
48 ASSERT_NE(k_vk, nullptr); in SetUp()
66 ASSERT_EQ(k_vk->vkCreateCommandPool(m_vkDevice, &commandPoolCi, nullptr, &m_vkCommandPool), in SetUp()
69 k_vk->vkGetDeviceQueue(m_vkDevice, m_compositorQueueFamilyIndex, 0, &m_compositorVkQueue); in SetUp()
80 k_vk->vkDestroyCommandPool(m_vkDevice, m_vkCommandPool, nullptr); in TearDown()
81 k_vk->vkDestroyDevice(m_vkDevice, nullptr); in TearDown()
83 k_vk->vkDestroyInstance(m_vkInstance, nullptr); in TearDown()
88 return CompositorVk::create(*k_vk, m_vkDevice, m_vkPhysicalDevice, m_compositorVkQueue, in createCompositor()
98 SourceOrTargetImage::create(*k_vk, m_vkDevice, m_vkPhysicalDevice, m_compositorVkQueue, in createImageWithColor()
121 SourceImage::create(*k_vk, m_vkDevice, m_vkPhysicalDevice, m_compositorVkQueue, in createSourceImageFromPng()
[all …]