Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/WSI/
DVkSurfaceKHR.cpp28 static const VkPresentModeKHR presentModes[] = { variable
123 return static_cast<uint32_t>(sizeof(presentModes) / sizeof(presentModes[0])); in getPresentModeCount()
133 pPresentModes[i] = presentModes[i]; in getPresentModes()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiDisplayTimingTests.cpp611 const vector<vk::VkPresentModeKHR>& presentModes, in createSwapchainConfig() argument
629 for (presentModeNdx = 0; presentModeNdx < presentModes.size(); presentModeNdx++) in createSwapchainConfig()
631 if (presentModes[presentModeNdx] == presentMode) in createSwapchainConfig()
635 if (presentModeNdx == presentModes.size()) in createSwapchainConfig()
1175 } presentModes[] = in createDisplayTimingTests() local
1183 …for (size_t presentModeNdx = 0; presentModeNdx < DE_LENGTH_OF_ARRAY(presentModes); presentModeNdx+… in createDisplayTimingTests()
1185 …(new tcu::TestCaseGroup(testGroup->getTestContext(), presentModes[presentModeNdx].name, presentMod… in createDisplayTimingTests()
1195 config.presentMode = presentModes[presentModeNdx].mode; in createDisplayTimingTests()
DvktWsiIncrementalPresentTests.cpp687 const vector<vk::VkPresentModeKHR>& presentModes, in generateSwapchainConfigs() argument
720 for (presentModeNdx = 0; presentModeNdx < presentModes.size(); presentModeNdx++) in generateSwapchainConfigs()
722 if (presentModes[presentModeNdx] == presentMode) in generateSwapchainConfigs()
726 if (presentModeNdx == presentModes.size()) in generateSwapchainConfigs()
1160 } presentModes[] = in createIncrementalPresentTests() local
1207 …for (size_t presentModeNdx = 0; presentModeNdx < DE_LENGTH_OF_ARRAY(presentModes); presentModeNdx+… in createIncrementalPresentTests()
1209 …(new tcu::TestCaseGroup(testGroup->getTestContext(), presentModes[presentModeNdx].name, presentMod… in createIncrementalPresentTests()
1228 config.presentMode = presentModes[presentModeNdx].mode; in createIncrementalPresentTests()
DvktWsiSharedPresentableImageTests.cpp596 const vector<vk::VkPresentModeKHR>& presentModes, in generateSwapchainConfigs() argument
629 for (presentModeNdx = 0; presentModeNdx < presentModes.size(); presentModeNdx++) in generateSwapchainConfigs()
631 if (presentModes[presentModeNdx] == presentMode) in generateSwapchainConfigs()
635 if (presentModeNdx == presentModes.size()) in generateSwapchainConfigs()
1086 } presentModes[] = in createSharedPresentableImageTests() local
1133 …for (size_t presentModeNdx = 0; presentModeNdx < DE_LENGTH_OF_ARRAY(presentModes); presentModeNdx+… in createSharedPresentableImageTests()
1135 const char* const name = presentModes[presentModeNdx].name; in createSharedPresentableImageTests()
1143 config.presentMode = presentModes[presentModeNdx].mode; in createSharedPresentableImageTests()
DvktWsiDisplayControlTests.cpp576 const vector<VkPresentModeKHR>& presentModes, in createSwapchainConfig() argument
595 if (std::find(presentModes.begin(), presentModes.end(), presentMode) == presentModes.end()) in createSwapchainConfig()
DvktWsiSwapchainTests.cpp397 const vector<VkPresentModeKHR>& presentModes) in generateSwapchainParameterCases() argument
578 …r (vector<VkPresentModeKHR>::const_iterator curMode = presentModes.begin(); curMode != presentMode… in generateSwapchainParameterCases()
627 const vector<VkPresentModeKHR> presentModes = getPhysicalDeviceSurfacePresentModes(vki, in generateSwapchainParameterCases() local
631 …pchainParameterCases(vki, physicalDevice, wsiType, dimension, capabilities, formats, presentModes); in generateSwapchainParameterCases()
/third_party/skia/tools/sk_app/
DVulkanWindowContext.cpp182 VkPresentModeKHR* presentModes = (VkPresentModeKHR*)presentModeAlloc.get(); in createSwapchain() local
184 presentModes); in createSwapchain()
274 if (VK_PRESENT_MODE_MAILBOX_KHR == presentModes[i]) { in createSwapchain()
277 if (VK_PRESENT_MODE_IMMEDIATE_KHR == presentModes[i]) { in createSwapchain()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanInfo.h76 std::vector<VkPresentModeKHR> presentModes; member
DVulkanInfo.cpp323 info.presentModes.resize(count); in GatherSurfaceInfo()
325 physicalDevice, surface, &count, info.presentModes.data()), in GatherSurfaceInfo()
DNativeSwapChainImplVk.cpp48 if (!chooseSwapPresentMode(info.presentModes, turnOffVsync, &presentMode)) { in ChooseSurfaceConfig()
DSwapChainVk.cpp355 while (!HasPresentMode(surfaceInfo.presentModes, kPresentModeFallbacks[modeIndex])) { in ChooseConfig()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp239 const std::vector<vk::VkPresentModeKHR>& presentModes) in generateSwapchainParameterCases() argument
659 …ector<vk::VkPresentModeKHR>::const_iterator curMode = presentModes.begin(); curMode != presentMode… in generateSwapchainParameterCases()
700 …const std::vector<vk::VkPresentModeKHR> presentModes = vk::wsi::getPhysicalDeviceSurfacePresentMo… in generateSwapchainParameterCases() local
704 … generateSwapchainParameterCases(wsiType, dimension, context, capabilities, formats, presentModes); in generateSwapchainParameterCases()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp813 VkPresentModeKHR *presentModes = in init_swap_chain() local
815 ASSERT(presentModes); in init_swap_chain()
817 presentModes); in init_swap_chain()
858 if (presentModes[presentModeIndex] == VK_PRESENT_MODE_IMMEDIATE_KHR) in init_swap_chain()
978 if (NULL != presentModes) in init_swap_chain()
980 free(presentModes); in init_swap_chain()
/third_party/glfw/tests/
Dvulkan.c704 VkPresentModeKHR *presentModes = in demo_prepare_buffers() local
706 assert(presentModes); in demo_prepare_buffers()
708 demo->gpu, demo->surface, &presentModeCount, presentModes); in demo_prepare_buffers()
838 if (NULL != presentModes) { in demo_prepare_buffers()
839 free(presentModes); in demo_prepare_buffers()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSurfaceVk.cpp47 VkPresentModeKHR GetDesiredPresentMode(const std::vector<VkPresentModeKHR> &presentModes, in GetDesiredPresentMode() argument
50 ASSERT(!presentModes.empty()); in GetDesiredPresentMode()
69 for (VkPresentModeKHR presentMode : presentModes) in GetDesiredPresentMode()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_funcs.hpp7118 std::vector<PresentModeKHR, PresentModeKHRAllocator> presentModes; in getSurfacePresentModesKHR() local
7127 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
7132 … reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ) ); in getSurfacePresentModesKHR()
7133 VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); in getSurfacePresentModesKHR()
7136 if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) in getSurfacePresentModesKHR()
7138 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
7141 … result, presentModes, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfacePresentModesKHR" ); in getSurfacePresentModesKHR()
7155 std::vector<PresentModeKHR, PresentModeKHRAllocator> presentModes( presentModeKHRAllocator ); in getSurfacePresentModesKHR() local
7164 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
7169 … reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ) ); in getSurfacePresentModesKHR()
[all …]
Dvulkan_raii.hpp11002 std::vector<VULKAN_HPP_NAMESPACE::PresentModeKHR> presentModes; in getSurfacePresentModesKHR() local
11014 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
11020 reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ) ); in getSurfacePresentModesKHR()
11021 VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); in getSurfacePresentModesKHR()
11024 … result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) in getSurfacePresentModesKHR()
11026 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
11032 return presentModes; in getSurfacePresentModesKHR()
15028 std::vector<VULKAN_HPP_NAMESPACE::PresentModeKHR> presentModes; in getSurfacePresentModes2EXT() local
15040 presentModes.resize( presentModeCount ); in getSurfacePresentModes2EXT()
15046 reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ) ); in getSurfacePresentModes2EXT()
[all …]
/third_party/vulkan-headers/include/vulkan/
Dvulkan_funcs.hpp7625 std::vector<VULKAN_HPP_NAMESPACE::PresentModeKHR, PresentModeKHRAllocator> presentModes; in getSurfacePresentModesKHR() local
7633 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
7635 …eKHR>( surface ), &presentModeCount, reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ); in getSurfacePresentModesKHR()
7639 VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); in getSurfacePresentModesKHR()
7640 if ( presentModeCount < presentModes.size() ) in getSurfacePresentModesKHR()
7642 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
7644 … return createResultValueType( static_cast<VULKAN_HPP_NAMESPACE::Result>( result ), presentModes ); in getSurfacePresentModesKHR()
7658 …std::vector<VULKAN_HPP_NAMESPACE::PresentModeKHR, PresentModeKHRAllocator> presentModes( presentMo… in getSurfacePresentModesKHR() local
7666 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
7668 …eKHR>( surface ), &presentModeCount, reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ); in getSurfacePresentModesKHR()
[all …]
Dvulkan_raii.hpp13988 std::vector<VULKAN_HPP_NAMESPACE::PresentModeKHR> presentModes; in getSurfacePresentModesKHR() local
13997 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
14001 … reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ); in getSurfacePresentModesKHR()
14005 VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); in getSurfacePresentModesKHR()
14006 if ( presentModeCount < presentModes.size() ) in getSurfacePresentModesKHR()
14008 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
14010 return presentModes; in getSurfacePresentModesKHR()
17748 std::vector<VULKAN_HPP_NAMESPACE::PresentModeKHR> presentModes; in getSurfacePresentModes2EXT() local
17759 presentModes.resize( presentModeCount ); in getSurfacePresentModes2EXT()
17763 … reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ); in getSurfacePresentModes2EXT()
[all …]