Home
last modified time | relevance | path

Searched refs:presentModes (Results 1 – 8 of 8) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp838 const vector<vk::VkPresentModeKHR>& presentModes, in generateSwapchainConfigs() argument
866 for (presentModeNdx = 0; presentModeNdx < presentModes.size(); presentModeNdx++) in generateSwapchainConfigs()
868 if (presentModes[presentModeNdx] == presentMode) in generateSwapchainConfigs()
872 if (presentModeNdx == presentModes.size()) in generateSwapchainConfigs()
1335 } presentModes[] = in createSharedPresentableImageTests() local
1347 …for (size_t presentModeNdx = 0; presentModeNdx < DE_LENGTH_OF_ARRAY(presentModes); presentModeNdx+… in createSharedPresentableImageTests()
1350 const char* const name = presentModes[presentModeNdx].name; in createSharedPresentableImageTests()
1356 config.presentMode = presentModes[presentModeNdx].mode; in createSharedPresentableImageTests()
DvktWsiIncrementalPresentTests.cpp967 const vector<vk::VkPresentModeKHR>& presentModes, in generateSwapchainConfigs() argument
994 for (presentModeNdx = 0; presentModeNdx < presentModes.size(); presentModeNdx++) in generateSwapchainConfigs()
996 if (presentModes[presentModeNdx] == presentMode) in generateSwapchainConfigs()
1000 if (presentModeNdx == presentModes.size()) in generateSwapchainConfigs()
1411 } presentModes[] = in createIncrementalPresentTests() local
1431 …for (size_t presentModeNdx = 0; presentModeNdx < DE_LENGTH_OF_ARRAY(presentModes); presentModeNdx+… in createIncrementalPresentTests()
1433 …(new tcu::TestCaseGroup(testGroup->getTestContext(), presentModes[presentModeNdx].name, presentMod… in createIncrementalPresentTests()
1444 config.presentMode = presentModes[presentModeNdx].mode; in createIncrementalPresentTests()
DvktWsiDisplayTimingTests.cpp898 const vector<vk::VkPresentModeKHR>& presentModes, in createSwapchainConfig() argument
916 for (presentModeNdx = 0; presentModeNdx < presentModes.size(); presentModeNdx++) in createSwapchainConfig()
918 if (presentModes[presentModeNdx] == presentMode) in createSwapchainConfig()
922 if (presentModeNdx == presentModes.size()) in createSwapchainConfig()
1458 } presentModes[] = in createDisplayTimingTests() local
1466 …for (size_t presentModeNdx = 0; presentModeNdx < DE_LENGTH_OF_ARRAY(presentModes); presentModeNdx+… in createDisplayTimingTests()
1468 …(new tcu::TestCaseGroup(testGroup->getTestContext(), presentModes[presentModeNdx].name, presentMod… in createDisplayTimingTests()
1478 config.presentMode = presentModes[presentModeNdx].mode; in createDisplayTimingTests()
DvktWsiSwapchainTests.cpp353 const vector<VkPresentModeKHR>& presentModes) in generateSwapchainParameterCases() argument
520 …r (vector<VkPresentModeKHR>::const_iterator curMode = presentModes.begin(); curMode != presentMode… in generateSwapchainParameterCases()
560 const vector<VkPresentModeKHR> presentModes = getPhysicalDeviceSurfacePresentModes(vki, in generateSwapchainParameterCases() local
564 return generateSwapchainParameterCases(wsiType, dimension, capabilities, formats, presentModes); in generateSwapchainParameterCases()
/external/skia/tools/viewer/sk_app/
DVulkanWindowContext.cpp124 VkPresentModeKHR* presentModes = (VkPresentModeKHR*)presentModeAlloc.get(); in createSwapchain() local
126 &presentModeCount, presentModes); in createSwapchain()
199 if (VK_PRESENT_MODE_MAILBOX_KHR == presentModes[i]) { in createSwapchain()
200 mode = presentModes[i]; in createSwapchain()
/external/vulkan-validation-layers/demos/
Dcube.c883 VkPresentModeKHR *presentModes = in demo_prepare_buffers() local
885 assert(presentModes); in demo_prepare_buffers()
887 demo->gpu, demo->surface, &presentModeCount, presentModes); in demo_prepare_buffers()
940 if (presentModes[i] == VK_PRESENT_MODE_IMMEDIATE_KHR) { in demo_prepare_buffers()
952 if (presentModes[i] == VK_PRESENT_MODE_MAILBOX_KHR) { in demo_prepare_buffers()
964 if (presentModes[i] == VK_PRESENT_MODE_MAILBOX_KHR) { in demo_prepare_buffers()
1073 if (NULL != presentModes) { in demo_prepare_buffers()
1074 free(presentModes); in demo_prepare_buffers()
Dcube.cpp1270 std::unique_ptr<vk::PresentModeKHR[]> presentModes( in prepare_buffers() local
1273 presentModes.get()); in prepare_buffers()
1315 if (presentModes[i] == vk::PresentModeKHR::eImmediate) { in prepare_buffers()
1329 if (presentModes[i] == vk::PresentModeKHR::eMailbox) { in prepare_buffers()
1343 if (presentModes[i] == vk::PresentModeKHR::eFifoRelaxed) { in prepare_buffers()
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.hpp18157 std::vector<PresentModeKHR,Allocator> presentModes; in getSurfacePresentModesKHR() local
18165 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
18166 …KHR>( surface ), &presentModeCount, reinterpret_cast<VkPresentModeKHR*>( presentModes.data() ) ) ); in getSurfacePresentModesKHR()
18169 assert( presentModeCount <= presentModes.size() ); in getSurfacePresentModesKHR()
18170 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
18171 … return createResultValue( result, presentModes, "vk::PhysicalDevice::getSurfacePresentModesKHR" ); in getSurfacePresentModesKHR()