aboutsummaryrefslogtreecommitdiff
path: root/layers/param_checker.cpp
diff options
context:
space:
mode:
authorIan Elliott <ian@lunarg.com>2015-10-16 18:02:43 -0600
committerIan Elliott <ian@lunarg.com>2015-10-27 10:35:20 -0600
commitcf074d32ffaafac83f2ff2051c3a9a91bfbfa606 (patch)
treed7e6f895abaf8ddd3d6664dae0999435d26573ed /layers/param_checker.cpp
parent606f608da0b7a2d85946e564605982ebd75e9b6d (diff)
downloadusermoji-cf074d32ffaafac83f2ff2051c3a9a91bfbfa606.tar.xz
tri/cube: Handle window resizes (from WSI or XCB).
If either vkAcquireNextImageKHR() or vkQueuePresentKHR() return VK_ERROR_OUT_OF_DATE, a new demo_resize() function is called, that replaces the current state, command buffers, swapchain, etc, with new ones that reflect the new size of the window. As part of this, the app picks up the window size from vkGetSurfacePropertiesKHR(). The same occurs if the application receives an XCB_CONFIGURE_NOTIFY event, with a changed window size.
Diffstat (limited to 'layers/param_checker.cpp')
0 files changed, 0 insertions, 0 deletions