Commit e021698744a340763cd9f1e4ef74e287e3361b35

Igor Nazarov 2025-03-04T16:44:31

Preserve window format when resizing on Android On some devices acquiring next swapchain image after window format change (without resize) does not return VK_ERROR_OUT_OF_DATE_KHR. Further rendering into the acquired image and/or presenting that image may produce undefined results. Try to preserve current window format to avoid such problem. Note, window format is automatically set after swapchain create based on the create info imageFormat. Bug: angleproject:397848903 Bug: angleproject:42260362 Change-Id: Ibada10befd2938f1bcf018c399ce8cc015541e60 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6322789 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Igor Nazarov <i.nazarov@samsung.com>