-
Peng Huang authored
With NVidia GPU, the Xserver crashing and vkCreateSwapchainKHR() returning errors happen at same time. Not sure if Xserver crashes cause the vkCreateSwapchainKHR() call fail, or Chrome crashes after vkCreateSwapchainKHR() returning errors cause Xserver crash. So with this change, Chrome GPU process will not crash when vkCreateSwapchainKHR() return errors. Instead chrome GPU process will handle the error, and consider it as context lost, and then try to tear down everything, and then restart the GPU process. Bug: 1149673 Change-Id: I9f5e5ca5aaf3f17107e1f9de31fa7837e6489d23 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2587073 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by:
Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#836137}
cb20be56