/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiTests.cpp | 42 void createTypeSpecificTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) argument 44 addTestGroup(testGroup, "surface", "VkSurface Tests", createSurfaceTests, wsiType); 45 addTestGroup(testGroup, "swapchain", "VkSwapchain Tests", createSwapchainTests, wsiType); 46 addTestGroup(testGroup, "incremental_present", "Incremental present tests", createIncrementalPresentTests, wsiType); 47 addTestGroup(testGroup, "display_timing", "Display Timing Tests", createDisplayTimingTests, wsiType); 48 addTestGroup(testGroup, "shared_presentable_image", "VK_KHR_shared_presentable_image tests", createSharedPresentableImageTests, wsiType); 55 const vk::wsi::Type wsiType = (vk::wsi::Type)typeNdx; local 57 addTestGroup(apiTests, getName(wsiType), "", createTypeSpecificTests, wsiType);
|
H A D | vktWsiSurfaceTests.cpp | 177 Type wsiType, 184 extensions.push_back(getExtensionName(wsiType)); 197 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) argument 202 wsiType, 208 InstanceHelper (Context& context, Type wsiType, const vector<string>& extensions, const VkAllocationCallbacks* pAllocator = DE_NULL) argument 213 wsiType, 222 Type wsiType) 226 return MovePtr<Display>(platform.createWsiDisplay(wsiType)); 230 if (isExtensionSupported(supportedExtensions, RequiredExtension(getExtensionName(wsiType)))) 262 Type wsiType, 175 createInstanceWithWsi(const PlatformInterface& vkp, const Extensions& supportedExtensions, Type wsiType, const vector<string> extraExtensions, const VkAllocationCallbacks* pAllocator = DE_NULL) argument 220 createDisplay(const vk::Platform& platform, const Extensions& supportedExtensions, Type wsiType) argument 260 NativeObjects(Context& context, const Extensions& supportedExtensions, Type wsiType, const Maybe<UVec2>& initialWindowSize = tcu::nothing<UVec2>()) argument 269 createSurfaceTest(Context& context, Type wsiType) argument 278 createSurfaceCustomAllocatorTest(Context& context, Type wsiType) argument 309 createSurfaceSimulateOOMTest(Context& context, Type wsiType) argument 377 querySurfaceSupportTest(Context& context, Type wsiType) argument 472 querySurfaceCapabilitiesTest(Context& context, Type wsiType) argument 500 querySurfaceCapabilities2Test(Context& context, Type wsiType) argument 558 validateSurfaceFormats(tcu::ResultCollector& results, Type wsiType, const vector<VkSurfaceFormatKHR>& formats) argument 592 querySurfaceFormatsTest(Context& context, Type wsiType) argument 621 querySurfaceFormats2Test(Context& context, Type wsiType) argument 714 validateSurfacePresentModes(tcu::ResultCollector& results, Type wsiType, const vector<VkPresentModeKHR>& modes) argument 724 querySurfacePresentModesTest(Context& context, Type wsiType) argument 751 createSurfaceInitialSizeTest(Context& context, Type wsiType) argument 795 resizeSurfaceTest(Context& context, Type wsiType) argument 850 destroyNullHandleSurfaceTest(Context& context, Type wsiType) argument 873 createSurfaceTests(tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) argument [all...] |
H A D | vktWsiDisplayTimingTests.cpp | 123 vk::wsi::Type wsiType) 128 extensions.push_back(getExtensionName(wsiType)); 226 vk::wsi::Type wsiType) 230 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); 234 if (isExtensionSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType)))) 813 vk::wsi::Type wsiType; member in struct:vkt::wsi::__anon4044::TestConfig 978 , m_instance (createInstanceWithWsi(m_vkp, m_instanceExtensions, testConfig.wsiType)) 981 , m_nativeDisplay (createDisplay(context.getTestContext().getPlatform().getVulkanPlatform(), m_instanceExtensions, testConfig.wsiType)) 983 , m_surface (vk::wsi::createSurface(m_vki, *m_instance, testConfig.wsiType, *m_nativeDisplay, *m_nativeWindow)) 1452 void createDisplayTimingTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) argument 121 createInstanceWithWsi(const vk::PlatformInterface& vkp, const Extensions& supportedExtensions, vk::wsi::Type wsiType) argument 224 createDisplay(const vk::Platform& platform, const Extensions& supportedExtensions, vk::wsi::Type wsiType) argument [all...] |
H A D | vktWsiIncrementalPresentTests.cpp | 80 vk::wsi::Type wsiType) 85 extensions.push_back(getExtensionName(wsiType)); 183 vk::wsi::Type wsiType) 187 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); 191 if (isExtensionSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType)))) 888 vk::wsi::Type wsiType; member in struct:vkt::wsi::__anon4046::TestConfig 1056 , m_instance (createInstanceWithWsi(m_vkp, m_instanceExtensions, testConfig.wsiType)) 1059 , m_nativeDisplay (createDisplay(context.getTestContext().getPlatform().getVulkanPlatform(), m_instanceExtensions, testConfig.wsiType)) 1061 , m_surface (vk::wsi::createSurface(m_vki, *m_instance, testConfig.wsiType, *m_nativeDisplay, *m_nativeWindow)) 1395 void createIncrementalPresentTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) argument 78 createInstanceWithWsi(const vk::PlatformInterface& vkp, const Extensions& supportedExtensions, vk::wsi::Type wsiType) argument 181 createDisplay(const vk::Platform& platform, const Extensions& supportedExtensions, vk::wsi::Type wsiType) argument [all...] |
H A D | vktWsiSharedPresentableImageTests.cpp | 80 vk::wsi::Type wsiType) 89 extensions.push_back(getExtensionName(wsiType)); 187 vk::wsi::Type wsiType) 191 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); 195 if (isExtensionSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType)))) 220 bool wsiTypeSupportsScaling (vk::wsi::Type wsiType) argument 222 return vk::wsi::getPlatformProperties(wsiType).swapchainExtent == vk::wsi::PlatformProperties::SWAPCHAIN_EXTENT_SCALED_TO_WINDOW_SIZE; 763 vk::wsi::Type wsiType; member in struct:vkt::wsi::__anon4049::TestConfig 957 , m_instance (createInstanceWithWsi(m_vkp, m_instanceExtensions, testConfig.wsiType)) 960 , m_nativeDisplay (createDisplay(context.getTestContext().getPlatform().getVulkanPlatform(), m_instanceExtensions, testConfig.wsiType)) 78 createInstanceWithWsi(const vk::PlatformInterface& vkp, const Extensions& supportedExtensions, vk::wsi::Type wsiType) argument 185 createDisplay(const vk::Platform& platform, const Extensions& supportedExtensions, vk::wsi::Type wsiType) argument 1319 createSharedPresentableImageTests(tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) argument [all...] |
H A D | vktWsiSwapchainTests.cpp | 91 Type wsiType, 97 extensions.push_back(getExtensionName(wsiType)); 206 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) argument 211 wsiType, 252 Type wsiType) 256 return MovePtr<Display>(platform.createWsiDisplay(wsiType)); 260 if (isExtensionSupported(supportedExtensions, RequiredExtension(getExtensionName(wsiType)))) 292 Type wsiType, 294 : display (createDisplay(context.getTestContext().getPlatform().getVulkanPlatform(), supportedExtensions, wsiType)) 335 Type wsiType; member in struct:vkt::wsi::__anon4054::TestParameters 89 createInstanceWithWsi(const PlatformInterface& vkp, const Extensions& supportedExtensions, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) argument 250 createDisplay(const vk::Platform& platform, const Extensions& supportedExtensions, Type wsiType) argument 290 NativeObjects(Context& context, const Extensions& supportedExtensions, Type wsiType, const Maybe<UVec2>& initialWindowSize = tcu::nothing<UVec2>()) argument 349 generateSwapchainParameterCases(Type wsiType, TestDimension dimension, const VkSurfaceCapabilitiesKHR& capabilities, const vector<VkSurfaceFormatKHR>& formats, const vector<VkPresentModeKHR>& presentModes) argument 548 generateSwapchainParameterCases(Type wsiType, TestDimension dimension, const InstanceInterface& vki, VkPhysicalDevice physicalDevice, VkSurfaceKHR surface) argument 678 Type wsiType; member in struct:vkt::wsi::__anon4054::GroupParameters 702 getBasicSwapchainParameters(Type wsiType, const InstanceInterface& vki, VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, const tcu::UVec2& desiredSize, deUint32 desiredImageCount) argument 1397 basicRenderTest(Context& context, Type wsiType) argument 1530 resizeSwapchainTest(Context& context, Type wsiType) argument 1666 getImagesIncompleteResultTest(Context& context, Type wsiType) argument 1690 destroyNullHandleSwapchainTest(Context& context, Type wsiType) argument 1719 populateRenderGroup(tcu::TestCaseGroup* testGroup, Type wsiType) argument 1724 populateGetImagesGroup(tcu::TestCaseGroup* testGroup, Type wsiType) argument 1729 populateModifyGroup(tcu::TestCaseGroup* testGroup, Type wsiType) argument 1741 populateDestroyGroup(tcu::TestCaseGroup* testGroup, Type wsiType) argument 1748 createSwapchainTests(tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) argument [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkWsiUtil.cpp | 36 const char* getName (Type wsiType) argument 47 return de::getSizedArrayElement<TYPE_LAST>(s_names, wsiType); 50 const char* getExtensionName (Type wsiType) argument 61 return de::getSizedArrayElement<TYPE_LAST>(s_extNames, wsiType); 64 const PlatformProperties& getPlatformProperties (Type wsiType) argument 120 return de::getSizedArrayElement<TYPE_LAST>(s_properties, wsiType); 125 Type wsiType, 134 switch (wsiType) 238 Type wsiType, 244 VK_CHECK(createSurface(vki, instance, wsiType, nativeDispla 123 createSurface(const InstanceInterface& vki, VkInstance instance, Type wsiType, const Display& nativeDisplay, const Window& nativeWindow, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) argument 236 createSurface(const InstanceInterface& vki, VkInstance instance, Type wsiType, const Display& nativeDisplay, const Window& nativeWindow, const VkAllocationCallbacks* pAllocator) argument [all...] |