Home
last modified time | relevance | path

Searched refs:wsiType (Results 1 – 25 of 35) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiTests.cpp47 void createTypeSpecificTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) in createTypeSpecificTests() argument
49 addTestGroup(testGroup, "surface", "VkSurface Tests", createSurfaceTests, wsiType); in createTypeSpecificTests()
50 …addTestGroup(testGroup, "swapchain", "VkSwapchain Tests", createSwapchainTests, wsiType in createTypeSpecificTests()
51 …, "incremental_present", "Incremental present tests", createIncrementalPresentTests, wsiType); in createTypeSpecificTests()
52 …p(testGroup, "display_timing", "Display Timing Tests", createDisplayTimingTests, wsiType); in createTypeSpecificTests()
53 …table_image", "VK_KHR_shared_presentable_image tests", createSharedPresentableImageTests, wsiType); in createTypeSpecificTests()
54 …TestGroup(testGroup, "colorspace", "ColorSpace tests", createColorSpaceTests, wsiType); in createTypeSpecificTests()
55 …up, "colorspace_compare", "ColorSpace compare tests", createColorspaceCompareTests, wsiType); in createTypeSpecificTests()
56 …creen_exclusive", "VK_EXT_full_screen_exclusive tests", createFullScreenExclusiveTests, wsiType); in createTypeSpecificTests()
57 …oup, "present_id_wait", "VK_KHR_present_(id|wait) tests", createPresentIdWaitTests, wsiType); in createTypeSpecificTests()
[all …]
DvktWsiSurfaceTests.cpp175 Type wsiType, in createInstanceWithWsi() argument
183 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi()
204 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper()
208 wsiType, in InstanceHelper()
214 …InstanceHelper (Context& context, Type wsiType, const vector<string>& extensions, const VkAllocati… in InstanceHelper()
218 wsiType, in InstanceHelper()
225 tcu::TestStatus createSurfaceTest (Context& context, Type wsiType) in createSurfaceTest() argument
227 const InstanceHelper instHelper (context, wsiType); in createSurfaceTest()
228 const NativeObjects native (context, instHelper.supportedExtensions, wsiType); in createSurfaceTest()
229 …const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, instHelper.instance, wsiType, n… in createSurfaceTest()
[all …]
DvktWsiPresentIdWaitTests.cpp95 …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()
127 vk::wsi::Type wsiType, in createInstanceWithWsi() argument
131 const auto requiredExtensions = getRequiredInstanceExtensions(wsiType); in createInstanceWithWsi()
149 …InstanceHelper (Context& context, vk::wsi::Type wsiType, const vk::VkAllocationCallbacks* pAllocat… in InstanceHelper()
151 , instance (createInstanceWithWsi(context, wsiType, pAllocator)) in InstanceHelper()
239 vk::VkSwapchainCreateInfoKHR getBasicSwapchainParameters (vk::wsi::Type wsiType, in getBasicSwapchainParameters() argument
252 const vk::wsi::PlatformProperties& platformProperties = vk::wsi::getPlatformProperties(wsiType); in getBasicSwapchainParameters()
432 …PresentIdWaitSimpleInstance(Context& context, vk::wsi::Type wsiType, const vector<PresentAndWaitOp… in PresentIdWaitSimpleInstance() argument
[all …]
DvktWsiColorSpaceTests.cpp99 Type wsiType, in createInstanceWithWsi() argument
105 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi()
186 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper()
191 wsiType, in InstanceHelper()
244 Type wsiType; member
248 : wsiType (wsiType_) in TestParameters()
253 : wsiType (TYPE_LAST) in TestParameters()
262 Type wsiType; member
266 : wsiType (wsiType_) in GroupParameters()
271 : wsiType (TYPE_LAST) in GroupParameters()
[all …]
DvktWsiSwapchainTests.cpp100 Type wsiType, in createInstanceWithWsi() argument
107 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi()
229 InstanceHelper (Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper()
234 wsiType, in InstanceHelper()
240 …InstanceHelper (Context& context, Type wsiType, const vector<string>& extensions, const VkAllocati… in InstanceHelper()
245 wsiType, in InstanceHelper()
377 Type wsiType; member
381 : wsiType (wsiType_) in TestParameters()
386 : wsiType (TYPE_LAST) in TestParameters()
393 Type wsiType, in generateSwapchainParameterCases() argument
[all …]
DvktWsiFullScreenExclusiveTests.cpp65 vk::wsi::Type wsiType; member
83 Type wsiType, in createInstanceWithWsi() argument
89 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi()
163 Type wsiType, in InstanceHelper()
169 wsiType, in InstanceHelper()
206 Type wsiType) in createDisplay() argument
210 return de::MovePtr<Display>(platform.createWsiDisplay(wsiType)); in createDisplay()
214 if (isExtensionSupported(supportedExtensions, RequiredExtension(getExtensionName(wsiType))) && in createDisplay()
215 platform.hasDisplay(wsiType)) in createDisplay()
249 Type wsiType) in NativeObjectsFS()
[all …]
DvktNativeObjectsUtil.cpp40 vk::wsi::Type wsiType) in createDisplay() argument
44 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay()
48 …tensionSupported(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()
DvktWsiColorSpaceTests.hpp35 void createColorSpaceTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType);
36 void createColorspaceCompareTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType);
DvktWsiSharedPresentableImageTests.cpp85 vk::wsi::Type wsiType) in createInstanceWithWsi() argument
97 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi()
165 vk::wsi::Type wsiType) in createDisplay() argument
169 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay()
173 if (isExtensionSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType))) && in createDisplay()
174 platform.hasDisplay(wsiType)) in createDisplay()
199 bool wsiTypeSupportsScaling (vk::wsi::Type wsiType) in wsiTypeSupportsScaling() argument
201 …return vk::wsi::getPlatformProperties(wsiType).swapchainExtent == vk::wsi::PlatformProperties::SWA… in wsiTypeSupportsScaling()
519 vk::wsi::Type wsiType; member
714 , m_instance (createInstanceWithWsi(context, m_instanceExtensions, testConfig.wsiType)) in SharedPresentableImageTestInstance()
[all …]
DvktNativeObjectsUtil.hpp47 vk::wsi::Type wsiType,
61 vk::wsi::Type wsiType);
DvktWsiIncrementalPresentTests.cpp85 vk::wsi::Type wsiType) in createInstanceWithWsi() argument
90 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi()
158 vk::wsi::Type wsiType) in createDisplay() argument
162 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay()
166 if (isExtensionSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType))) && in createDisplay()
167 platform.hasDisplay(wsiType)) in createDisplay()
605 vk::wsi::Type wsiType; member
802 , m_instance (createInstanceWithWsi(context, m_instanceExtensions, testConfig.wsiType)) in IncrementalPresentTestInstance()
805 …text.getTestContext().getPlatform().getVulkanPlatform(), m_instanceExtensions, testConfig.wsiType)) in IncrementalPresentTestInstance()
807 …, m_surface (vk::wsi::createSurface(m_vki, m_instance, testConfig.wsiType, *m_nativeDisplay, *… in IncrementalPresentTestInstance()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp83 vk::wsi::Type wsiType) in getRequiredWsiExtensions() argument
88 extensions.push_back(getExtensionName(wsiType)); in getRequiredWsiExtensions()
121 vk::wsi::Type wsiType) in createDisplay() argument
125 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay()
129 if (isExtensionSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType))) && in createDisplay()
130 platform.hasDisplay(wsiType)) in createDisplay()
162 vk::wsi::Type wsiType, in NativeObjects()
164 …eDisplay(context.getTestContext().getPlatform().getVulkanPlatform(), supportedExtensions, wsiType)) in NativeObjects()
205 vk::wsi::Type wsiType; member
209 : wsiType (wsiType_) in TestParameters()
[all …]
DvktProtectedMemContext.cpp48 vk::wsi::Type wsiType, in ProtectedContext() argument
58 , m_surface (vk::wsi::createSurface(m_vki, m_instance, wsiType, display, window)) in ProtectedContext()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkWsiUtil.hpp62 const char* getName (Type wsiType);
63 const char* getExtensionName (Type wsiType);
65 const PlatformProperties& getPlatformProperties (Type wsiType);
69 Type wsiType,
77 Type wsiType,
90 Type wsiType,
128 tcu::UVec2 getFullScreenSize (const vk::wsi::Type wsiType,
DvkWsiUtil.cpp64 const char* getName (Type wsiType) in getName() argument
76 return de::getSizedArrayElement<TYPE_LAST>(s_names, wsiType); in getName()
79 const char* getExtensionName (Type wsiType) in getExtensionName() argument
91 return de::getSizedArrayElement<TYPE_LAST>(s_extNames, wsiType); in getExtensionName()
94 const PlatformProperties& getPlatformProperties (Type wsiType) in getPlatformProperties() argument
157 return de::getSizedArrayElement<TYPE_LAST>(s_properties, wsiType); in getPlatformProperties()
162 Type wsiType, in createSurface() argument
171 switch (wsiType) in createSurface()
285 Type wsiType, in createSurface() argument
291 VK_CHECK(createSurface(vki, instance, wsiType, nativeDisplay, nativeWindow, pAllocator, &object)); in createSurface()
[all …]
DvkPlatform.hpp147 virtual wsi::Display* createWsiDisplay (wsi::Type wsiType) const;
148 virtual bool hasDisplay (wsi::Type wsiType) const;
/third_party/vk-gl-cts/framework/platform/osx/
DtcuOSXVulkanPlatform.cpp107 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()
DtcuOSXVulkanPlatform.hpp39 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
41 bool hasDisplay (vk::wsi::Type wsiType) const;
/third_party/vk-gl-cts/framework/platform/lnx/
DtcuLnxVulkanPlatform.hpp40 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
42 bool hasDisplay (vk::wsi::Type wsiType) const;
DtcuLnxVulkanPlatform.cpp250 vk::wsi::Display* VulkanPlatform::createWsiDisplay (vk::wsi::Type wsiType) const in createWsiDisplay()
252 if (!hasDisplay(wsiType)) in createWsiDisplay()
257 switch(wsiType) in createWsiDisplay()
281 bool VulkanPlatform::hasDisplay (vk::wsi::Type wsiType) const in hasDisplay()
283 switch(wsiType) in hasDisplay()
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWin32VulkanPlatform.hpp42 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
43 bool hasDisplay (vk::wsi::Type wsiType) const;
DtcuWin32VulkanPlatform.cpp297 vk::wsi::Display* VulkanPlatform::createWsiDisplay (vk::wsi::Type wsiType) const in createWsiDisplay()
299 if (wsiType != vk::wsi::TYPE_WIN32) in createWsiDisplay()
305 bool VulkanPlatform::hasDisplay (vk::wsi::Type wsiType) const in hasDisplay()
307 if (wsiType != vk::wsi::TYPE_WIN32) in hasDisplay()
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidPlatform.hpp57 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
58 bool hasDisplay (vk::wsi::Type wsiType) const;
DtcuAndroidPlatform.cpp354 vk::wsi::Display* Platform::createWsiDisplay (vk::wsi::Type wsiType) const in createWsiDisplay()
356 if (wsiType == vk::wsi::TYPE_ANDROID) in createWsiDisplay()
362 bool Platform::hasDisplay (vk::wsi::Type wsiType) const in hasDisplay()
364 if (wsiType == vk::wsi::TYPE_ANDROID) in hasDisplay()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp115 Type wsiType; member
1806 Type wsiType, in createInstanceWithWsi() argument
1812 extensions.push_back(getExtensionName(wsiType)); in createInstanceWithWsi()
1888 InstanceHelper(Context& context, Type wsiType, const VkAllocationCallbacks* pAllocator = DE_NULL) in InstanceHelper()
1893 wsiType, in InstanceHelper()
1931 Type wsiType) in createDisplay() argument
1935 return MovePtr<Display>(platform.createWsiDisplay(wsiType)); in createDisplay()
1939 if (isExtensionSupported(supportedExtensions, RequiredExtension(getExtensionName(wsiType))) && in createDisplay()
1940 platform.hasDisplay(wsiType)) in createDisplay()
1972 Type wsiType, in NativeObjects()
[all …]

12