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

Conversation

@jonahwilliams
Copy link
Contributor

The Impeller blur is scaling down about twice as fast as the Skia Blur. Instead adopt their approximate constant values, which results in less shaking as the blur gets bigger.

FYI @gaaclarke

@jonahwilliams jonahwilliams marked this pull request as ready for review November 28, 2023 17:18
@jonahwilliams
Copy link
Contributor Author

From some napkin math, on the wonderous app the current scale down was going down to a sigma of ~2, where the Skia scaling curve never scales below 4.

Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

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

LGTM, thanks. I wonder if we are still happy with the performance 🤞

@jonahwilliams
Copy link
Contributor Author

I think that we could further adjust the scale down - we just need to do so in a way that keeps the sigma from getting smaller than 4-ish, because that is when things start getting jittery.

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 28, 2023
@auto-submit auto-submit bot merged commit 65776df into flutter:main Nov 28, 2023
@jonahwilliams jonahwilliams deleted the scaledown_less branch November 28, 2023 18:53
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 28, 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

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants