-
Notifications
You must be signed in to change notification settings - Fork 6k
Run Flutter on iOS and Android with color correct Skia #3743
Conversation
mattsarett
commented
Jun 6, 2017
***Turns on color correct rendering for Android and iOS ***Communicates dst color space to raster cache ***Turns on color space aware image decoding Test: ***color_testing_demo on Pixel XL ***flutter_gallery on iPad Mini and iPad Pro (haven't figured out how to run manual_tests on iOS) TODO: I needed to split up this CL somewhere. These are follow-up tasks. ***Make desktop backends color correct ***Make debugging tools (ex: encoding frames to png) preserve color space ***Investigate using UIKit API to allow iOS to fine tune color space of rendered content
|
Alright let's try this again :). I've added a null check for canvas in layer_tree, I think this should fix the crash in the software rasterizer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. Before we land this though, our buildbots will need to be ready with iOS 10. This is being tracked by @cbracken in flutter/flutter#10510.
|
Ahh ok, thanks for the update. |
|
I've prepared another branch that handles some of cases I left as TODOs: I think it makes sense to consider this as a follow-up (since this CL is already not small), but we also have the option to include it in this PR. |
|
Just an update. Steady progress is being on flutter/flutter#10510 to enable this patch to be built by our buildbots. |
|
Thanks! I appreciate your and Chris' help with this. |
|
FYI flutter/flutter#10510 is now resolved: engine builds, framework with the new engine builds and passes. You should be good to land this. Thanks for your patience! :) |
|
This patch is being reverted in #3775. It caused a device hard crash on the flutter_gallery_ios__transition_perf benchmark on certain iOS devices (notably iPod Touch 6th gen with iOS 10.3.1 and iPhone 6 with iOS 10.3.2). We suspect it also caused a high-profile regression with Android emulators (flutter/flutter#10617). |
flutter#3743)" (flutter#3775)" This reverts commit cfe70e0.