Thanks to visit codestin.com
Credit goes to github.com

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 Mar 20, 2022

Fixes flutter/flutter#100433

The DlComposeImageFilter and DlColorFilterImageFilter can be made to be inlined in the DL records, but that effort can be delayed for higher priority work since these filter types are rarely used. See (flutter/flutter#100434).

@flar flar changed the title Add dlImageFilter objects Add DlImageFilter objects Mar 20, 2022
@flar flar requested review from bdero, chinmaygarde and dnfield March 21, 2022 19:47
new (pod) DlMatrixImageFilter(matrix_filter);
break;
}
case DlImageFilterType::kComposeFilter:
Copy link
Member

Choose a reason for hiding this comment

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

There ought to be a break here right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The fall-through is intentional. Both compose and colorfilter need to be instantiated as the "SharedImageFilter" op because they both contain shared_ptr's in their bodies. I have an issue filed to address that as mentioned in the description above: flutter/flutter#100434

@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 Mar 21, 2022
@fluttergithubbot fluttergithubbot merged commit 3f2750c into flutter:main Mar 21, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 21, 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 ImageFilter object

3 participants