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 Jun 13, 2024

Resolves flutter/flutter#142014
Resolves flutter/flutter#150114

This is a combination of:

  1. @gaaclarke's 2-pass blur fix, and
  2. a fix for text mask blurs by supporting the "respect_ctm" flag given by DlMaskBlurFilter (thanks to @jonahwilliams for recalling this bug).

Let's see those goldens.

Skia

Screenshot 2024-06-12 at 8 36 41 PM

Impeller

Screenshot 2024-06-12 at 8 24 41 PM

Play/DlGoldenTest.GaussianVsRRectBlur/Metal

image

…b entity scale when rendering the 2-pass blur input.
@flutter-dashboard

This comment was marked as outdated.

@bdero
Copy link
Member Author

bdero commented Jun 13, 2024

@gaaclarke I'm pushing this PR to see those goldens, but if you want to take this over or add some more testing stuff feel free to just push a new PR and we can merge that. : )

}

namespace {
Vector2 ExtractScale(const Matrix& matrix) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can use Matrix::Decompose for this

@jonahwilliams
Copy link
Contributor

Respect

@gaaclarke
Copy link
Member

I cherry-picked Brandon's respect_ctm fix from this pr into this pr: #53377

I'll add some tests and update the coverage tests/math then send it out for review. Thanks so much brandon and jonah for hunting that flag down.

@gaaclarke
Copy link
Member

Oh yea, and I think the gaussian blur is long overdue a comments refresh. I think we are stabilizing enough to build the docs out.

@bdero
Copy link
Member Author

bdero commented Jun 13, 2024

Okie dokie, closing this out. 👍

@bdero bdero closed this Jun 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text shadows now appear broken on iOS [Impeller] MaskBlur does not honor setting the "respect_ctm" flag to false

3 participants