-
Notifications
You must be signed in to change notification settings - Fork 29.8k
[Impeller][DisplayList] Consolidate BlendMode definitions #165450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Impeller][DisplayList] Consolidate BlendMode definitions #165450
Conversation
e15a6ac to
10a5b5d
Compare
|
It looks like google testing has identified some new failures, but they are in web tests - not sure how this PR could be the cause. |
|
@gaaclarke I had to do something to restore the naming on the golden tests for blurs so the goldens would get matched right. We could also just let the goldens get renamed, but it was a simple fix to have them use the legacy naming. |
|
Thoughts on the idea of including a |
jonahwilliams
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.
I think it would be good to keep a kDefaultMode, but otherwise LGTM
keeping the goldens matching is good but if they update names in this PR its not a huge deal.
|
Now that we know the golden tests pass with no diffs, I went ahead and allowed them to be renamed. There will be a bunch of "new goldens" to approve on this latest run... |
|
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
…5450) The 2 enum classes `impeller::BlendMode` and `flutter::DlBlendMode` were essentially identical so they were merged. The names were consolidated to the ui.BlendMode/DlBlendMode versions and the implementation is shared from Impeller to DisplayList via a `using` directive. No conversion is needed any more to describe blend modes between DisplayList and Impeller.
…5450) The 2 enum classes `impeller::BlendMode` and `flutter::DlBlendMode` were essentially identical so they were merged. The names were consolidated to the ui.BlendMode/DlBlendMode versions and the implementation is shared from Impeller to DisplayList via a `using` directive. No conversion is needed any more to describe blend modes between DisplayList and Impeller.
Fixes: #165412
The 2 enum classes
impeller::BlendModeandflutter::DlBlendModewere essentially identical so they were merged.The names were consolidated to the ui.BlendMode/DlBlendMode versions and the implementation is shared from Impeller to DisplayList via a
usingdirective. No conversion is needed any more to describe blend modes between DisplayList and Impeller.