-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[impeller] switches gaussian blur to a "source space" calculation (#5…
…3261) fixes flutter/flutter#149781 fixes flutter/flutter#149458 fixes flutter/flutter#140890 This works by performing the blur in the axis aligned "source space" (as opposed to "global space"). The rotation and scaling then is applied to the result of the gaussian blur. Previously the differences between rrect_blur and gaussian blur were "fixed" in #53130 which worked for blurring content that had no signal. This addresses that same problem but in a more correct way that is less prone to artifacts when translating a blur since the blur happens in "source space". [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
- Loading branch information
Showing
4 changed files
with
78 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters