Home
last modified time | relevance | path

Searched refs:presentRegions (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_2d/frameworks/vulkan_layers/test/unittest/
H A Dvulkan_loader_unit_test.cpp1016 VkPresentRegionsKHR presentRegions; in HWTEST_F() local
1017 presentRegions.sType = VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR; in HWTEST_F()
1018 presentRegions.pNext = NULL; in HWTEST_F()
1019 presentRegions.swapchainCount = 1; in HWTEST_F()
1020 presentRegions.pRegions = pRegions.data(); in HWTEST_F()
1031 presentInfo.pNext = &presentRegions; in HWTEST_F()
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/
H A Dswapchain_layer.cpp1092 const VkPresentRegionsKHR* presentRegions = nullptr; in GetPresentRegions() local
1096 presentRegions = nextRegions; in GetPresentRegions()
1101 if (presentRegions == nullptr) { in GetPresentRegions()
1104 if (presentRegions->swapchainCount != presentInfo->swapchainCount) { in GetPresentRegions()
1107 return presentRegions->pRegions; in GetPresentRegions()

Completed in 6 milliseconds