This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] sRGB to Linear Gamma filter implementation. #35441
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bdero
reviewed
Aug 17, 2022
Member
bdero
left a comment
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.
Great! Just a few comments about the recent snapshot changes and respecting the transform. I noticed these problems are also present in the color matrix filter and there's a patch for it here: #35448
impeller/entity/contents/filters/srgb_to_linear_filter_contents.cc
Outdated
Show resolved
Hide resolved
impeller/entity/contents/filters/srgb_to_linear_filter_contents.cc
Outdated
Show resolved
Hide resolved
0a3a1a6 to
d62a91e
Compare
8 tasks
bdero
approved these changes
Aug 17, 2022
Member
bdero
left a comment
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! As mentioned in #35388 (comment), these conversions can be combined later.
Member
|
The infra issues are being tracked in the sheriff chat. But, this will have to be rebased as well since there are merge conflicts. |
Contributor
|
12e22c0 to
88f23a3
Compare
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Aug 19, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The changes proposed in this PR implement the sRGB to Linear Gamma filter in Impeller alongside accompanying tests.
Below is a screenshot of the playground. The image on the left is the unfiltered image and the one on the right is the filtered one.
Solves flutter/flutter#109737.
writing and running engine tests.
///).