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

Conversation

@bdero
Copy link
Member

@bdero bdero commented May 23, 2023

Attaches a minimum coverage hint to all rendered entities. This makes ImageFilter blurs do less work when clipped. We can utilize this in a number of other filters as well.

Screenshot 2023-05-23 at 3 16 49 PM

The test I added also demonstrates a sampling issue in the gaussian blur that I'm trying to work out. Here it is without any clipping. This coverage hint change does not introduce the issue:

Screenshot 2023-05-23 at 3 08 15 PM

@bdero bdero requested review from jonahwilliams and zanderso May 23, 2023 22:19
@bdero bdero self-assigned this May 23, 2023
@bdero bdero requested a review from chinmaygarde May 23, 2023 22:28
@bdero
Copy link
Member Author

bdero commented May 23, 2023

In most Flutter apps, the 2-pass blur gets used for images and backdrops -- the vast majority of standalone blurs are SolidColor mask blurs on Rects/RRects/Circles, which we don't render using the 2-pass blur. I suspect that's why no one's reported this yet.

@flutter-dashboard
Copy link

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.

Changes reported for pull request #42264 at sha baa70b4

Copy link
Member

@zanderso zanderso left a comment

Choose a reason for hiding this comment

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

@bdero please triage/accept the new golden images

@bdero bdero added the autosubmit Merge PR when tree becomes green via auto submit App label May 24, 2023
@auto-submit auto-submit bot merged commit 0c41b02 into flutter:main May 24, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller will affect goldens

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants