[Bug 111097] Can not detect VK_ERROR_OUT_OF_DATE_KHR or VK_SUBOPTIMAL_KHR when window resizing
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jul 21 17:31:55 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111097
Eric Engestrom <fdo-bugs at engestrom.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Eric Engestrom <fdo-bugs at engestrom.ch> ---
Fixed by:
commit 6f880f128f9862a047a5ba543c2843e14517b1e6
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Mon Jul 15 09:01:20 2019 +0300
vulkan/wsi: update swapchain status on vkQueuePresent
With the following chain of events :
vkQueuePresent()
<- Surface resize
vkQueuePresent()
We should be able to report SUBOPTIMAL or OUT_OF_DATE on the second
vkQueuePresent() call. Currently we only look at X11 events in the
vkAcquireNextImage() path so we're not able to report this.
This change checks the queue of events and process any available ones
to update the swapchain status.
v2: Be consistent about reporting the current error state of the
swapchain (Jason)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111097
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190721/870e1d8f/attachment.html>
More information about the intel-3d-bugs
mailing list