• Home
  • Raw
  • Download

Lines Matching refs:swapchain_create_info

579     VkSwapchainCreateInfoKHR swapchain_create_info = {};  in InitSwapchain()  local
580 swapchain_create_info.sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR; in InitSwapchain()
581 swapchain_create_info.pNext = 0; in InitSwapchain()
582 swapchain_create_info.surface = surface; in InitSwapchain()
583 swapchain_create_info.minImageCount = capabilities.minImageCount; in InitSwapchain()
584 swapchain_create_info.imageFormat = formats[0].format; in InitSwapchain()
585 swapchain_create_info.imageColorSpace = formats[0].colorSpace; in InitSwapchain()
586swapchain_create_info.imageExtent = {capabilities.minImageExtent.width, capabilities.minImageExten… in InitSwapchain()
587 swapchain_create_info.imageArrayLayers = capabilities.maxImageArrayLayers; in InitSwapchain()
588 swapchain_create_info.imageUsage = imageUsage; in InitSwapchain()
589 swapchain_create_info.imageSharingMode = VK_SHARING_MODE_EXCLUSIVE; in InitSwapchain()
590 swapchain_create_info.preTransform = preTransform; in InitSwapchain()
592 swapchain_create_info.compositeAlpha = VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR; in InitSwapchain()
594 swapchain_create_info.compositeAlpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR; in InitSwapchain()
596 swapchain_create_info.presentMode = present_modes[0]; in InitSwapchain()
597 swapchain_create_info.clipped = VK_FALSE; in InitSwapchain()
598 swapchain_create_info.oldSwapchain = 0; in InitSwapchain()
600 VkResult err = vkCreateSwapchainKHR(device(), &swapchain_create_info, nullptr, &m_swapchain); in InitSwapchain()