Jonah Williams 8b6c071526 [Impeller] Treat SubOptimalKHR as rotated. (flutter/engine#43214)
If we don't follow the guidelines at https://developer.android.com/games/optimize/vulkan-prerotation , then any presentations while the screen is rotated will result in suboptimalKHR. Use a change in state across presentations from sucess -> suboptimal or suboptimal -> sucess to detect whether the swapchain needs to be recreated.

Fixes https://github.com/flutter/flutter/issues/129459 (mostly)
2023-06-26 21:34:54 +00:00
Languages
Dart 75%
C++ 16.5%
Objective-C++ 2.9%
Java 2.8%
Objective-C 0.7%
Other 1.9%