Lines Matching refs:swapchainCreateInfo

205     VkSwapchainCreateInfoKHR swapchainCreateInfo;  in createSwapchain()  local
206 memset(&swapchainCreateInfo, 0, sizeof(VkSwapchainCreateInfoKHR)); in createSwapchain()
207 swapchainCreateInfo.sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR; in createSwapchain()
208 swapchainCreateInfo.surface = fSurface; in createSwapchain()
209 swapchainCreateInfo.minImageCount = imageCount; in createSwapchain()
210 swapchainCreateInfo.imageFormat = surfaceFormat; in createSwapchain()
211 swapchainCreateInfo.imageColorSpace = colorSpace; in createSwapchain()
212 swapchainCreateInfo.imageExtent = extent; in createSwapchain()
213 swapchainCreateInfo.imageArrayLayers = 1; in createSwapchain()
214 swapchainCreateInfo.imageUsage = usageFlags; in createSwapchain()
218 swapchainCreateInfo.imageSharingMode = VK_SHARING_MODE_CONCURRENT; in createSwapchain()
219 swapchainCreateInfo.queueFamilyIndexCount = 2; in createSwapchain()
220 swapchainCreateInfo.pQueueFamilyIndices = queueFamilies; in createSwapchain()
222 swapchainCreateInfo.imageSharingMode = VK_SHARING_MODE_EXCLUSIVE; in createSwapchain()
223 swapchainCreateInfo.queueFamilyIndexCount = 0; in createSwapchain()
224 swapchainCreateInfo.pQueueFamilyIndices = nullptr; in createSwapchain()
227 swapchainCreateInfo.preTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR; in createSwapchain()
228 swapchainCreateInfo.compositeAlpha = composite_alpha; in createSwapchain()
229 swapchainCreateInfo.presentMode = mode; in createSwapchain()
230 swapchainCreateInfo.clipped = true; in createSwapchain()
231 swapchainCreateInfo.oldSwapchain = fSwapchain; in createSwapchain()
233 res = fCreateSwapchainKHR(fBackendContext->fDevice, &swapchainCreateInfo, nullptr, &fSwapchain); in createSwapchain()
239 if (swapchainCreateInfo.oldSwapchain != VK_NULL_HANDLE) { in createSwapchain()
244 fDestroySwapchainKHR(fBackendContext->fDevice, swapchainCreateInfo.oldSwapchain, nullptr); in createSwapchain()
247 this->createBuffers(swapchainCreateInfo.imageFormat); in createSwapchain()