-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Linear to sRGB Gamma filter implementation. #35388
Conversation
|
This needs to be rebased as |
4dd5ea1 to
4490c9d
Compare
683a182 to
314f889
Compare
|
Just realized this is a separate PR to #35441. I don't think these need to be landed as totally distinct filters given the only difference between the two should be the fragment shader (and the fragment shader should require the exact same uniform/varying layout). I recommend renaming this filter to |
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, thanks! Since these work, we should definitely land them. These conversions can be combined later in follow-ups.
The changes proposed in this PR implement the Linear Gamma to sRGB 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#109738.
writing and running engine tests.
///).