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

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

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