/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSurfaceTests.cpp | 175 Type wsiType, in createInstanceWithWsi() argument 183 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 184 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 206 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper() 210 wsiType, in InstanceHelper() 216 …InstanceHelper (Context& context, Type wsiType, const vector<string>& extensions, const VkAllocati… in InstanceHelper() 220 wsiType, in InstanceHelper() 227 tcu::TestStatus createSurfaceTest (Context& context, Type wsiType) in createSurfaceTest() argument 229 const InstanceHelper instHelper (context, wsiType); in createSurfaceTest() 230 const NativeObjects native (context, instHelper.supportedExtensions, wsiType); in createSurfaceTest() [all …]
|
D | vktWsiTests.cpp | 48 void createTypeSpecificTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) in createTypeSpecificTests() argument 50 addTestGroup(testGroup, "surface", "VkSurface Tests", createSurfaceTests, wsiType); in createTypeSpecificTests() 51 …addTestGroup(testGroup, "swapchain", "VkSwapchain Tests", createSwapchainTests, wsiType… in createTypeSpecificTests() 52 …, "incremental_present", "Incremental present tests", createIncrementalPresentTests, wsiType); in createTypeSpecificTests() 53 …p(testGroup, "display_timing", "Display Timing Tests", createDisplayTimingTests, wsiType); in createTypeSpecificTests() 54 …table_image", "VK_KHR_shared_presentable_image tests", createSharedPresentableImageTests, wsiType); in createTypeSpecificTests() 55 …TestGroup(testGroup, "colorspace", "ColorSpace tests", createColorSpaceTests, wsiType); in createTypeSpecificTests() 56 …up, "colorspace_compare", "ColorSpace compare tests", createColorspaceCompareTests, wsiType); in createTypeSpecificTests() 57 …creen_exclusive", "VK_EXT_full_screen_exclusive tests", createFullScreenExclusiveTests, wsiType); in createTypeSpecificTests() 58 …oup, "present_id_wait", "VK_KHR_present_(id|wait) tests", createPresentIdWaitTests, wsiType); in createTypeSpecificTests() [all …]
|
D | vktWsiColorSpaceTests.cpp | 99 Type wsiType, in createInstanceWithWsi() argument 105 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 106 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 188 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper() 193 wsiType, in InstanceHelper() 246 Type wsiType; member 250 : wsiType (wsiType_) in TestParameters() 255 : wsiType (TYPE_LAST) in TestParameters() 264 Type wsiType; member 268 : wsiType (wsiType_) in GroupParameters() [all …]
|
D | vktWsiSwapchainTests.cpp | 100 Type wsiType, in createInstanceWithWsi() argument 107 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 108 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 231 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper() 236 wsiType, in InstanceHelper() 242 …InstanceHelper (Context& context, Type wsiType, const vector<string>& extensions, const VkAllocati… in InstanceHelper() 247 wsiType, in InstanceHelper() 379 Type wsiType; member 383 : wsiType (wsiType_) in TestParameters() 388 : wsiType (TYPE_LAST) in TestParameters() [all …]
|
D | vktWsiPresentIdWaitTests.cpp | 95 …entIdWaitInstance (Context& context, vk::wsi::Type wsiType) : TestInstance(context), m_wsiType(wsi… in PresentIdWaitInstance() argument 118 vector<const char*> getRequiredInstanceExtensions (vk::wsi::Type wsiType) in getRequiredInstanceExtensions() argument 122 extensions.push_back(getExtensionName(wsiType)); in getRequiredInstanceExtensions() 123 if (isDisplaySurface(wsiType)) in getRequiredInstanceExtensions() 129 vk::wsi::Type wsiType, in createInstanceWithWsi() argument 133 const auto requiredExtensions = getRequiredInstanceExtensions(wsiType); in createInstanceWithWsi() 151 …InstanceHelper (Context& context, vk::wsi::Type wsiType, const vk::VkAllocationCallbacks* pAllocat… in InstanceHelper() 153 , instance (createInstanceWithWsi(context, wsiType, pAllocator)) in InstanceHelper() 262 vk::VkSwapchainCreateInfoKHR getBasicSwapchainParameters (vk::wsi::Type wsiType, in getBasicSwapchainParameters() argument 275 const vk::wsi::PlatformProperties& platformProperties = vk::wsi::getPlatformProperties(wsiType); in getBasicSwapchainParameters() [all …]
|
D | vktWsiFullScreenExclusiveTests.cpp | 65 vk::wsi::Type wsiType; member 83 Type wsiType, in createInstanceWithWsi() argument 89 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 90 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 165 Type wsiType, in InstanceHelper() 171 wsiType, in InstanceHelper() 208 Type wsiType) in createDisplay() argument 212 return de::MovePtr<Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 216 …if (isExtensionStructSupported(supportedExtensions, RequiredExtension(getExtensionName(wsiType))) … in createDisplay() 217 platform.hasDisplay(wsiType)) in createDisplay() [all …]
|
D | vktNativeObjectsUtil.cpp | 40 vk::wsi::Type wsiType) in createDisplay() argument 44 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 48 …nStructSupported(supportedExtensions, vk::RequiredExtension(vk::wsi::getExtensionName(wsiType))) && in createDisplay() 49 platform.hasDisplay(wsiType)) in createDisplay() 76 vk::wsi::Type wsiType, in NativeObjects() argument 79 …eDisplay(context.getTestContext().getPlatform().getVulkanPlatform(), supportedExtensions, wsiType)) in NativeObjects()
|
D | vktWsiSharedPresentableImageTests.cpp | 85 vk::wsi::Type wsiType) in createInstanceWithWsi() argument 97 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 98 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 167 vk::wsi::Type wsiType) in createDisplay() argument 171 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 175 …sExtensionStructSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType))) && in createDisplay() 176 platform.hasDisplay(wsiType)) in createDisplay() 201 bool wsiTypeSupportsScaling (vk::wsi::Type wsiType) in wsiTypeSupportsScaling() argument 203 …return vk::wsi::getPlatformProperties(wsiType).swapchainExtent == vk::wsi::PlatformProperties::SWA… in wsiTypeSupportsScaling() 521 vk::wsi::Type wsiType; member [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
D | vktWsiSurfaceTests.cpp | 175 Type wsiType, in createInstanceWithWsi() argument 183 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 184 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 206 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper() 210 wsiType, in InstanceHelper() 216 …InstanceHelper (Context& context, Type wsiType, const vector<string>& extensions, const VkAllocati… in InstanceHelper() 220 wsiType, in InstanceHelper() 227 tcu::TestStatus createSurfaceTest (Context& context, Type wsiType) in createSurfaceTest() argument 229 const InstanceHelper instHelper (context, wsiType); in createSurfaceTest() 230 const NativeObjects native (context, instHelper.supportedExtensions, wsiType); in createSurfaceTest() [all …]
|
D | vktWsiTests.cpp | 48 void createTypeSpecificTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) in createTypeSpecificTests() argument 50 addTestGroup(testGroup, "surface", "VkSurface Tests", createSurfaceTests, wsiType); in createTypeSpecificTests() 51 …addTestGroup(testGroup, "swapchain", "VkSwapchain Tests", createSwapchainTests, wsiType… in createTypeSpecificTests() 52 …, "incremental_present", "Incremental present tests", createIncrementalPresentTests, wsiType); in createTypeSpecificTests() 53 …p(testGroup, "display_timing", "Display Timing Tests", createDisplayTimingTests, wsiType); in createTypeSpecificTests() 54 …table_image", "VK_KHR_shared_presentable_image tests", createSharedPresentableImageTests, wsiType); in createTypeSpecificTests() 55 …TestGroup(testGroup, "colorspace", "ColorSpace tests", createColorSpaceTests, wsiType); in createTypeSpecificTests() 56 …up, "colorspace_compare", "ColorSpace compare tests", createColorspaceCompareTests, wsiType); in createTypeSpecificTests() 57 …creen_exclusive", "VK_EXT_full_screen_exclusive tests", createFullScreenExclusiveTests, wsiType); in createTypeSpecificTests() 58 …oup, "present_id_wait", "VK_KHR_present_(id|wait) tests", createPresentIdWaitTests, wsiType); in createTypeSpecificTests() [all …]
|
D | vktWsiColorSpaceTests.cpp | 99 Type wsiType, in createInstanceWithWsi() argument 105 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 106 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 188 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper() 193 wsiType, in InstanceHelper() 246 Type wsiType; member 250 : wsiType (wsiType_) in TestParameters() 255 : wsiType (TYPE_LAST) in TestParameters() 264 Type wsiType; member 268 : wsiType (wsiType_) in GroupParameters() [all …]
|
D | vktWsiSwapchainTests.cpp | 100 Type wsiType, in createInstanceWithWsi() argument 107 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 108 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 231 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper() 236 wsiType, in InstanceHelper() 242 …InstanceHelper (Context& context, Type wsiType, const vector<string>& extensions, const VkAllocati… in InstanceHelper() 247 wsiType, in InstanceHelper() 379 Type wsiType; member 383 : wsiType (wsiType_) in TestParameters() 388 : wsiType (TYPE_LAST) in TestParameters() [all …]
|
D | vktWsiPresentIdWaitTests.cpp | 95 …entIdWaitInstance (Context& context, vk::wsi::Type wsiType) : TestInstance(context), m_wsiType(wsi… in PresentIdWaitInstance() argument 118 vector<const char*> getRequiredInstanceExtensions (vk::wsi::Type wsiType) in getRequiredInstanceExtensions() argument 122 extensions.push_back(getExtensionName(wsiType)); in getRequiredInstanceExtensions() 123 if (isDisplaySurface(wsiType)) in getRequiredInstanceExtensions() 129 vk::wsi::Type wsiType, in createInstanceWithWsi() argument 133 const auto requiredExtensions = getRequiredInstanceExtensions(wsiType); in createInstanceWithWsi() 151 …InstanceHelper (Context& context, vk::wsi::Type wsiType, const vk::VkAllocationCallbacks* pAllocat… in InstanceHelper() 153 , instance (createInstanceWithWsi(context, wsiType, pAllocator)) in InstanceHelper() 262 vk::VkSwapchainCreateInfoKHR getBasicSwapchainParameters (vk::wsi::Type wsiType, in getBasicSwapchainParameters() argument 275 const vk::wsi::PlatformProperties& platformProperties = vk::wsi::getPlatformProperties(wsiType); in getBasicSwapchainParameters() [all …]
|
D | vktWsiFullScreenExclusiveTests.cpp | 65 vk::wsi::Type wsiType; member 83 Type wsiType, in createInstanceWithWsi() argument 89 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 90 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 165 Type wsiType, in InstanceHelper() 171 wsiType, in InstanceHelper() 208 Type wsiType) in createDisplay() argument 212 return de::MovePtr<Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 216 …if (isExtensionStructSupported(supportedExtensions, RequiredExtension(getExtensionName(wsiType))) … in createDisplay() 217 platform.hasDisplay(wsiType)) in createDisplay() [all …]
|
D | vktNativeObjectsUtil.cpp | 40 vk::wsi::Type wsiType) in createDisplay() argument 44 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 48 …nStructSupported(supportedExtensions, vk::RequiredExtension(vk::wsi::getExtensionName(wsiType))) && in createDisplay() 49 platform.hasDisplay(wsiType)) in createDisplay() 76 vk::wsi::Type wsiType, in NativeObjects() argument 79 …eDisplay(context.getTestContext().getPlatform().getVulkanPlatform(), supportedExtensions, wsiType)) in NativeObjects()
|
D | vktWsiSharedPresentableImageTests.cpp | 85 vk::wsi::Type wsiType) in createInstanceWithWsi() argument 97 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 98 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 167 vk::wsi::Type wsiType) in createDisplay() argument 171 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 175 …sExtensionStructSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType))) && in createDisplay() 176 platform.hasDisplay(wsiType)) in createDisplay() 201 bool wsiTypeSupportsScaling (vk::wsi::Type wsiType) in wsiTypeSupportsScaling() argument 203 …return vk::wsi::getPlatformProperties(wsiType).swapchainExtent == vk::wsi::PlatformProperties::SWA… in wsiTypeSupportsScaling() 521 vk::wsi::Type wsiType; member [all …]
|
D | vktWsiIncrementalPresentTests.cpp | 85 vk::wsi::Type wsiType) in createInstanceWithWsi() argument 90 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 91 if (isDisplaySurface(wsiType)) in createInstanceWithWsi() 160 vk::wsi::Type wsiType) in createDisplay() argument 164 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 168 …sExtensionStructSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType))) && in createDisplay() 169 platform.hasDisplay(wsiType)) in createDisplay() 607 vk::wsi::Type wsiType; member 804 , m_instance (createInstanceWithWsi(context, m_instanceExtensions, testConfig.wsiType)) in IncrementalPresentTestInstance() 807 …text.getTestContext().getPlatform().getVulkanPlatform(), m_instanceExtensions, testConfig.wsiType)) in IncrementalPresentTestInstance() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 83 vk::wsi::Type wsiType) in getRequiredWsiExtensions() argument 88 extensions.push_back(getExtensionName(wsiType)); in getRequiredWsiExtensions() 89 if (isDisplaySurface(wsiType)) in getRequiredWsiExtensions() 123 vk::wsi::Type wsiType) in createDisplay() argument 127 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 131 …sExtensionStructSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType))) && in createDisplay() 132 platform.hasDisplay(wsiType)) in createDisplay() 164 vk::wsi::Type wsiType, in NativeObjects() 166 …eDisplay(context.getTestContext().getPlatform().getVulkanPlatform(), supportedExtensions, wsiType)) in NativeObjects() 207 vk::wsi::Type wsiType; member [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 83 vk::wsi::Type wsiType) in getRequiredWsiExtensions() argument 88 extensions.push_back(getExtensionName(wsiType)); in getRequiredWsiExtensions() 89 if (isDisplaySurface(wsiType)) in getRequiredWsiExtensions() 123 vk::wsi::Type wsiType) in createDisplay() argument 127 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 131 …sExtensionStructSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType))) && in createDisplay() 132 platform.hasDisplay(wsiType)) in createDisplay() 164 vk::wsi::Type wsiType, in NativeObjects() 166 …eDisplay(context.getTestContext().getPlatform().getVulkanPlatform(), supportedExtensions, wsiType)) in NativeObjects() 207 vk::wsi::Type wsiType; member [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkWsiUtil.hpp | 63 const char* getName (Type wsiType); 64 const char* getExtensionName (Type wsiType); 66 const PlatformProperties& getPlatformProperties (Type wsiType); 70 Type wsiType, 79 Type wsiType, 93 Type wsiType, 131 tcu::UVec2 getFullScreenSize (const vk::wsi::Type wsiType, 136 VkBool32 isDisplaySurface (Type wsiType);
|
D | vkWsiUtil.cpp | 65 const char* getName (Type wsiType) in getName() argument 79 return de::getSizedArrayElement<TYPE_LAST>(s_names, wsiType); in getName() 82 const char* getExtensionName (Type wsiType) in getExtensionName() argument 96 return de::getSizedArrayElement<TYPE_LAST>(s_extNames, wsiType); in getExtensionName() 99 const PlatformProperties& getPlatformProperties (Type wsiType) in getPlatformProperties() argument 176 return de::getSizedArrayElement<TYPE_LAST>(s_properties, wsiType); in getPlatformProperties() 251 Type wsiType, in createSurface() argument 264 DE_UNREF(wsiType); in createSurface() 273 switch (wsiType) in createSurface() 409 Type wsiType, in createSurface() argument [all …]
|
/third_party/vk-gl-cts/framework/platform/osx/ |
D | tcuOSXVulkanPlatform.cpp | 107 vk::wsi::Display* VulkanPlatform::createWsiDisplay (vk::wsi::Type wsiType) const in createWsiDisplay() 109 if (wsiType != vk::wsi::TYPE_MACOS) in createWsiDisplay() 115 bool VulkanPlatform::hasDisplay (vk::wsi::Type wsiType) const in hasDisplay() 117 if (wsiType != vk::wsi::TYPE_MACOS) in hasDisplay()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiImageCompressionControlTests.cpp | 77 Type wsiType; member 486 CustomInstance createInstanceWithWsi(Context& context, Type wsiType, const vector<string> extraExte… in createInstanceWithWsi() argument 493 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 514 InstanceHelper(Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper() 516 , instance(createInstanceWithWsi(context, wsiType, vector<string>(), pAllocator)) in InstanceHelper() 521 InstanceHelper(Context& context, Type wsiType, const vector<string>& extensions, in InstanceHelper() 524 , instance(createInstanceWithWsi(context, wsiType, extensions, pAllocator)) in InstanceHelper() 621 const InstanceHelper instHelper(context, testParams.wsiType); in swapchainCreateTest() 622 const wsi::NativeObjects native(context, instHelper.supportedExtensions, testParams.wsiType); in swapchainCreateTest() 637 …Unique<VkSurfaceKHR> surface(createSurface(instHelper.vki, instHelper.instance, testParams.wsiType, in swapchainCreateTest() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageCompressionControlTests.cpp | 77 Type wsiType; member 486 CustomInstance createInstanceWithWsi(Context& context, Type wsiType, const vector<string> extraExte… in createInstanceWithWsi() argument 493 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi() 514 InstanceHelper(Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper() 516 , instance(createInstanceWithWsi(context, wsiType, vector<string>(), pAllocator)) in InstanceHelper() 521 InstanceHelper(Context& context, Type wsiType, const vector<string>& extensions, in InstanceHelper() 524 , instance(createInstanceWithWsi(context, wsiType, extensions, pAllocator)) in InstanceHelper() 621 const InstanceHelper instHelper(context, testParams.wsiType); in swapchainCreateTest() 622 const wsi::NativeObjects native(context, instHelper.supportedExtensions, testParams.wsiType); in swapchainCreateTest() 637 …Unique<VkSurfaceKHR> surface(createSurface(instHelper.vki, instHelper.instance, testParams.wsiType, in swapchainCreateTest() [all …]
|
/third_party/vk-gl-cts/framework/platform/ohos/ |
D | tcuOhosPlatform.cpp | 114 vk::wsi::Display* OhosPlatform::createWsiDisplay(vk::wsi::Type wsiType) const in createWsiDisplay() 116 if(wsiType == vk::wsi::TYPE_OHOS){ in createWsiDisplay() 129 bool OhosPlatform::hasDisplay(vk::wsi::Type wsiType) const in hasDisplay() 131 if (wsiType == vk::wsi::TYPE_OHOS) in hasDisplay()
|