[ozone/x11] Enabled X11-specific timeout in Vulkan swap chain. On Linux/X11, the Vulkan swap chain may hang in certain normal use cases such as screen turned off. To work around that, we set a timeout when calling vkAcquireNextImageKHR so it returns an error in those use cases. This CL enables that logic for Ozone/X11 by extracting the timeout to the level of VulkanSurface, where it can be set by platform implementations. Bug: 1098237 Change-Id: Icaa7ca7884680bf4255b9b0ab47dc1958f79f014 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2705382 Reviewed-by: Peng Huang <penghuang@chromium.org> Commit-Queue: Alexander Dunaev <adunaev@igalia.com> Cr-Commit-Position: refs/heads/master@{#855713}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.