Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/frameworks/vulkan_layers/test/unittest/
H A Dvulkan_loader_unit_test.cpp1020 VkPresentRegionsKHR presentRegions; variable
1021 presentRegions.sType = VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR;
1022 presentRegions.pNext = NULL;
1023 presentRegions.swapchainCount = 1;
1024 presentRegions.pRegions = pRegions.data();
1035 presentInfo.pNext = &presentRegions;
/ohos5.0/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/
H A Dswapchain_layer.cpp1093 const VkPresentRegionsKHR* presentRegions = nullptr; in GetPresentRegions() local
1097 presentRegions = nextRegions; in GetPresentRegions()
1102 if (presentRegions == nullptr) { in GetPresentRegions()
1105 if (presentRegions->swapchainCount != presentInfo->swapchainCount) { in GetPresentRegions()
1108 return presentRegions->pRegions; in GetPresentRegions()