Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@mattsarett
Copy link
Contributor

***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 (Does iOS simulator run on one of these?)
***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

CCing @brianosman @liyuqian so more skia people are in the loop.

@mattsarett
Copy link
Contributor Author

@chinmaygarde Can you take a look at this?

Also, which backend is used by the iOS simulator? Is it important to update that in this PR as well?

Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow. Sorry for late response. I am not sure how I missed the GitHub notification. My bad.

LGTM. iOS uses the software backend on the emulators (

sk_surface_ = SkSurface::MakeRasterN32Premul(size.fWidth, size.fHeight,
). You may update it in this patch or a later one if you wish.

Thanks again for helping out on this.

@mattsarett
Copy link
Contributor Author

Thanks Chinmay! I'll follow up on iOS simulator in a separate CL. I was having some trouble getting the simulator to run with a local engine build before.

@mattsarett mattsarett merged commit fe82757 into flutter:master Jun 5, 2017
chinmaygarde added a commit that referenced this pull request Jun 5, 2017
mattsarett added a commit to mattsarett/engine that referenced this pull request 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
mattsarett added a commit that referenced this pull request Jun 9, 2017
* Run Flutter on iOS and Android with color correct Skia (#3716)

***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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants