forked from firka/flutter
83b6fa4ff7a1de52b2ebc5a3bcdaa4b97f83a5c8
Fixes https://github.com/flutter/flutter/issues/126878 This disables device private upload on iOS when backgrounded, and disables mipmap generation when backgrounded. We don't have a good way to test the core problem in this repo because it only reproduces on physical iOS hardware - simulators don't really care if you do this stuff in the background. I'll write a devicelab test in the framework to capture this. In the mean time it can be reviewed. We could consider making the IOManager a shared_ptr instead of having an fml::WeakPtr and that'd clean up some of the extra arguments to engine construction - or we could consider vending the sync switch from impeller::Context unconditionally, but it's pretty iOS specific...
[Impeller] Avoid encoding metal commands while the GPU is unavailable when decoding images. (flutter/engine#42349)
Description
No description provided
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%