Lines Matching refs:swapchainExtent
890 VkExtent2D swapchainExtent; in demo_prepare_buffers() local
896 swapchainExtent.width = demo->width; in demo_prepare_buffers()
897 swapchainExtent.height = demo->height; in demo_prepare_buffers()
899 if (swapchainExtent.width < surfCapabilities.minImageExtent.width) { in demo_prepare_buffers()
900 swapchainExtent.width = surfCapabilities.minImageExtent.width; in demo_prepare_buffers()
901 } else if (swapchainExtent.width > surfCapabilities.maxImageExtent.width) { in demo_prepare_buffers()
902 swapchainExtent.width = surfCapabilities.maxImageExtent.width; in demo_prepare_buffers()
905 if (swapchainExtent.height < surfCapabilities.minImageExtent.height) { in demo_prepare_buffers()
906 swapchainExtent.height = surfCapabilities.minImageExtent.height; in demo_prepare_buffers()
907 } else if (swapchainExtent.height > surfCapabilities.maxImageExtent.height) { in demo_prepare_buffers()
908 swapchainExtent.height = surfCapabilities.maxImageExtent.height; in demo_prepare_buffers()
912 swapchainExtent = surfCapabilities.currentExtent; in demo_prepare_buffers()
1000 .width = swapchainExtent.width, .height = swapchainExtent.height, in demo_prepare_buffers()