Skip to content
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

DisplayList DlMaskFilter objects #31535

Merged
merged 3 commits into from
Feb 18, 2022

Conversation

flar
Copy link
Contributor

@flar flar commented Feb 18, 2022

Fixes flutter/flutter#98714

This PR is similar to #31491 which created a DisplayList-specific, inspectable object to hold all of our color filters. This PR does the same for our mask filter.


class DlBlurMaskFilter;

// The DisplayList MaskFilter class. This class was designed to be:
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it make sense to have an abstract class with this documentation on it, and have these classes implement it?

For example, it might specify a virtual type, size, shared, skia_shared or something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's an idea. I might go for that on the next attribute I convert.

@flar flar force-pushed the displaylist-maskfilter-objects branch from 68275d4 to 3a99bfb Compare February 18, 2022 09:57
@flar flar added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Feb 18, 2022
@fluttergithubbot fluttergithubbot merged commit d1fbb63 into flutter:main Feb 18, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 18, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 18, 2022
@flar flar mentioned this pull request Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create a DisplayList MaskFilter object
3 participants