Home
last modified time | relevance | path

Searched refs:swapchainInfo (Results 1 - 17 of 17) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiImageCompressionControlTests.cpp671 VkSwapchainCreateInfoKHR swapchainInfo = initVulkanStructure(); in swapchainCreateTest() local
672 swapchainInfo.surface = surface.get(); in swapchainCreateTest()
673 swapchainInfo.minImageCount = caps.surfaceCapabilities.minImageCount; in swapchainCreateTest()
674 swapchainInfo.imageFormat = format.surfaceFormat.format; in swapchainCreateTest()
675 swapchainInfo.imageColorSpace = format.surfaceFormat.colorSpace; in swapchainCreateTest()
676 swapchainInfo.imageExtent = extent2d; in swapchainCreateTest()
677 swapchainInfo.imageArrayLayers = 1; in swapchainCreateTest()
678 swapchainInfo.imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in swapchainCreateTest()
679 swapchainInfo.imageSharingMode = VK_SHARING_MODE_EXCLUSIVE; in swapchainCreateTest()
680 swapchainInfo in swapchainCreateTest()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiImageCompressionControlTests.cpp845 VkSwapchainCreateInfoKHR swapchainInfo = initVulkanStructure(); in swapchainCreateTest() local
846 swapchainInfo.surface = surface.get(); in swapchainCreateTest()
847 swapchainInfo.minImageCount = caps.surfaceCapabilities.minImageCount; in swapchainCreateTest()
848 swapchainInfo.imageFormat = format.surfaceFormat.format; in swapchainCreateTest()
849 swapchainInfo.imageColorSpace = format.surfaceFormat.colorSpace; in swapchainCreateTest()
850 swapchainInfo.imageExtent = extent2d; in swapchainCreateTest()
851 swapchainInfo.imageArrayLayers = 1; in swapchainCreateTest()
852 swapchainInfo.imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in swapchainCreateTest()
853 swapchainInfo.imageSharingMode = VK_SHARING_MODE_EXCLUSIVE; in swapchainCreateTest()
854 swapchainInfo in swapchainCreateTest()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
H A DvktWsiSwapchainTests.cpp1000 const VkSwapchainCreateInfoKHR swapchainInfo = in testImageSwapchainCreateInfo() local
1023 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &swapchainInfo)); in testImageSwapchainCreateInfo()
1317 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); in basicRenderTest() local
1318 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in basicRenderTest()
1332 swapchainInfo.imageFormat, in basicRenderTest()
1333 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in basicRenderTest()
1551 vector<VkSwapchainCreateInfoKHR> swapchainInfo; in multiSwapchainRenderTest() local
1557 swapchainInfo.emplace_back(getBasicSwapchainParameters(params.wsiType, instHelper.vki, devHelper.physicalDevice, *surface[i], desiredSize, 2)); in multiSwapchainRenderTest()
1558 swapchain.emplace_back(createSwapchainKHR(vkd, device, &swapchainInfo in multiSwapchainRenderTest()
1752 VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, deviceGroupRenderTest() local
1992 const VkSwapchainCreateInfoKHR swapchainInfo = deviceGroupRenderTest2() local
2323 VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, sizes[sizeNdx], 2); resizeSwapchainTest() local
2439 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); getImagesIncompleteResultTest() local
2463 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); getImagesResultsCountTest() local
2519 VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); destroyOldSwapchainTest() local
2544 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); acquireTooManyTest() local
2582 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); acquireTooManyTimeoutTest() local
[all...]
H A DvktWsiColorSpaceTests.cpp501 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(params.wsiType, in colorspaceCompareTest() local
509 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in colorspaceCompareTest()
520 swapchainInfo.imageFormat, in colorspaceCompareTest()
521 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in colorspaceCompareTest()
635 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, surface, curFmt, desiredSize, 2); in surfaceFormatRenderTest() local
636 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in surfaceFormatRenderTest()
650 swapchainInfo.imageFormat, in surfaceFormatRenderTest()
651 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo in surfaceFormatRenderTest()
[all...]
H A DvktWsiFullScreenExclusiveTests.cpp420 VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(testParams.wsiType, instHelper.vki, devHelper.physicalDevice, *surface, surfaceFormats[0], native.windowSize, 2); in fullScreenExclusiveTest()
422 swapchainInfo.pNext = &fseInfo; in fullScreenExclusiveTest()
434 VkResult result = vkd.createSwapchainKHR(device, &swapchainInfo, DE_NULL, &object); in fullScreenExclusiveTest()
458 swapchainInfo.imageFormat, in fullScreenExclusiveTest()
459 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in fullScreenExclusiveTest()
H A DvktWsiMaintenance1Tests.cpp792 std::vector<VkSwapchainCreateInfoKHR> swapchainInfo; in presentFenceTest() local
807 swapchainInfo.push_back(getBasicSwapchainParameters(*surfaces[i], surfaceFormats[0], native.windowSize, testParams.modes[i], transform, isSharedPresentMode[i] ? 1 : capabilities.minImageCount, testParams.deferMemoryAllocation)); in presentFenceTest()
822 swapchainInfo.back().pNext = &compatibleModesCreateInfo; in presentFenceTest()
825 swapchains.push_back(createSwapchainKHR(vkd, device, &swapchainInfo.back())); in presentFenceTest()
841 bimImages.push_back(bindImageMemory(vkd, device, *swapchains.back(), swapchainInfo.back())); in presentFenceTest()
925 bimImages[j][imageIndex[j]] = bindSingleImageMemory(vkd, device, *swapchains[j], swapchainInfo[j], imageIndex[j]); in presentFenceTest()
1585 VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(*surface, surfaceFormats[0], swapchainSize, testParams.mode, transform, capabilities.minImageCount, false); in scalingTest() local
1595 swapchainInfo.pNext = &scalingInfo; in scalingTest()
1597 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in scalingTest()
2039 VkSwapchainCreateInfoKHR swapchainInfo in releaseImagesTest() local
[all...]
H A DvktWsiPresentIdWaitTests.cpp401 const vk::VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(m_wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); in iterate() local
402 const vk::Unique<vk::VkSwapchainKHR> swapchain (vk::createSwapchainKHR(vkd, device, &swapchainInfo)); in iterate()
412 swapchainInfo.imageFormat, in iterate()
413 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
H A DvktWsiSwapchainTests.cpp984 const VkSwapchainCreateInfoKHR swapchainInfo = in testImageSwapchainCreateInfo() local
1007 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &swapchainInfo)); in testImageSwapchainCreateInfo()
1301 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); in basicRenderTest() local
1302 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in basicRenderTest()
1316 swapchainInfo.imageFormat, in basicRenderTest()
1317 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in basicRenderTest()
1535 vector<VkSwapchainCreateInfoKHR> swapchainInfo; in multiSwapchainRenderTest() local
1541 swapchainInfo.emplace_back(getBasicSwapchainParameters(params.wsiType, instHelper.vki, devHelper.physicalDevice, *surface[i], desiredSize, 2)); in multiSwapchainRenderTest()
1542 swapchain.emplace_back(createSwapchainKHR(vkd, device, &swapchainInfo in multiSwapchainRenderTest()
1736 VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, deviceGroupRenderTest() local
1976 const VkSwapchainCreateInfoKHR swapchainInfo = deviceGroupRenderTest2() local
2307 VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, sizes[sizeNdx], 2); resizeSwapchainTest() local
2423 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); getImagesIncompleteResultTest() local
2447 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); getImagesResultsCountTest() local
2503 VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); destroyOldSwapchainTest() local
2528 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); acquireTooManyTest() local
2566 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); acquireTooManyTimeoutTest() local
[all...]
H A DvktWsiColorSpaceTests.cpp501 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(params.wsiType, in colorspaceCompareTest() local
509 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in colorspaceCompareTest()
520 swapchainInfo.imageFormat, in colorspaceCompareTest()
521 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in colorspaceCompareTest()
635 const VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, surface, curFmt, desiredSize, 2); in surfaceFormatRenderTest() local
636 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in surfaceFormatRenderTest()
650 swapchainInfo.imageFormat, in surfaceFormatRenderTest()
651 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo in surfaceFormatRenderTest()
[all...]
H A DvktWsiFullScreenExclusiveTests.cpp420 VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(testParams.wsiType, instHelper.vki, devHelper.physicalDevice, *surface, surfaceFormats[0], native.windowSize, 2); in fullScreenExclusiveTest()
422 swapchainInfo.pNext = &fseInfo; in fullScreenExclusiveTest()
434 VkResult result = vkd.createSwapchainKHR(device, &swapchainInfo, DE_NULL, &object); in fullScreenExclusiveTest()
458 swapchainInfo.imageFormat, in fullScreenExclusiveTest()
459 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in fullScreenExclusiveTest()
H A DvktWsiPresentIdWaitTests.cpp401 const vk::VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(m_wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2); in iterate() local
402 const vk::Unique<vk::VkSwapchainKHR> swapchain (vk::createSwapchainKHR(vkd, device, &swapchainInfo)); in iterate()
412 swapchainInfo.imageFormat, in iterate()
413 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DSurfaceVk.cpp1119 VkSwapchainCreateInfoKHR swapchainInfo = {}; in createSwapChain() local
1120 swapchainInfo.sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR; in createSwapChain()
1121 swapchainInfo.flags = mState.hasProtectedContent() ? VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR : 0; in createSwapChain()
1122 swapchainInfo.surface = mSurface; in createSwapChain()
1123 swapchainInfo.minImageCount = mMinImageCount; in createSwapChain()
1124 swapchainInfo.imageFormat = vk::GetVkFormatFromFormatID(actualFormatID); in createSwapChain()
1125 swapchainInfo.imageColorSpace = MapEglColorSpaceToVkColorSpace( in createSwapChain()
1128 swapchainInfo.imageExtent.width = std::max(rotatedExtents.width, 1); in createSwapChain()
1129 swapchainInfo.imageExtent.height = std::max(rotatedExtents.height, 1); in createSwapChain()
1130 swapchainInfo in createSwapChain()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemWsiSwapchainTests.cpp1315 const vk::VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, in basicRenderTest() local
1321 const vk::Unique<vk::VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in basicRenderTest()
1327 swapchainInfo.imageFormat, in basicRenderTest()
1328 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in basicRenderTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemWsiSwapchainTests.cpp1136 const vk::VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(wsiType, in basicRenderTest() local
1142 const vk::Unique<vk::VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in basicRenderTest()
1148 swapchainInfo.imageFormat, in basicRenderTest()
1149 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in basicRenderTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMutableTests.cpp2027 const VkSwapchainCreateInfoKHR swapchainInfo = in makeSwapchain() local
2050 return createSwapchainKHR(vk, device, &swapchainInfo); in makeSwapchain()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMutableTests.cpp2027 const VkSwapchainCreateInfoKHR swapchainInfo = in makeSwapchain() local
2050 return createSwapchainKHR(vk, device, &swapchainInfo); in makeSwapchain()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DlibVulkan.cpp3024 auto swapchainInfo = reinterpret_cast<VkBindImageMemorySwapchainInfoKHR const *>(extInfo); in vkBindImageMemory2() local
3025 memory = vk::Cast(swapchainInfo->swapchain)->getImage(swapchainInfo->imageIndex).getImageMemory(); in vkBindImageMemory2()

Completed in 42 milliseconds