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

Reverts "fix: mask disappeared when having nested mask filter on Flutter web HTML (#45166)" #53725

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

auto-submit[bot]
Copy link
Contributor

@auto-submit auto-submit bot commented Jul 4, 2024

Reverts: #45166

Initiated by: jiahaog

Reason for reverting: #45166 (comment)

Original PR Author: Kingtous

Reviewed By: {yjbanov, harryterkelsen}

This change reverts the following previous change:
Hi from Dora team, which powers web developers to build their 3d websites in just a few seconds.

This PR fixes: flutter/flutter#133443, related: flutter/flutter#58546

The original codes attempts to cache the css string but it causes bugs when encountering nested the same mask filter blur. We should also set filter properties when currentFilter == incoming mask filter using the cached css string, not just ignore it.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@auto-submit auto-submit bot added the revert of Bot Only: Tracking label for bot. Tracks new revert of pull requests. label Jul 4, 2024
@github-actions github-actions bot added the platform-web Code specifically for the web engine label Jul 4, 2024
@auto-submit auto-submit bot merged commit 2b6bb51 into main Jul 4, 2024
6 checks passed
@auto-submit auto-submit bot deleted the revert_c90aa9a512c8b4d2f33ca3a981ed3acc4ebc6c5d branch July 4, 2024 07:04
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 4, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 4, 2024
…151299)

flutter/engine@8e2d05f...2b6bb51

2024-07-04 98614782+auto-submit[bot]@users.noreply.github.com Reverts "fix: mask disappeared when having nested mask filter on Flutter web HTML (#45166)" (flutter/engine#53725)
2024-07-04 [email protected] [Impeller] mark the end of a frame boundary for system compositor interop. (flutter/engine#53722)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
TahaTesser pushed a commit to TahaTesser/flutter that referenced this pull request Jul 8, 2024
…lutter#151299)

flutter/engine@8e2d05f...2b6bb51

2024-07-04 98614782+auto-submit[bot]@users.noreply.github.com Reverts "fix: mask disappeared when having nested mask filter on Flutter web HTML (flutter#45166)" (flutter/engine#53725)
2024-07-04 [email protected] [Impeller] mark the end of a frame boundary for system compositor interop. (flutter/engine#53722)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request Jul 8, 2024
…lutter#151299)

flutter/engine@8e2d05f...2b6bb51

2024-07-04 98614782+auto-submit[bot]@users.noreply.github.com Reverts "fix: mask disappeared when having nested mask filter on Flutter web HTML (flutter#45166)" (flutter/engine#53725)
2024-07-04 [email protected] [Impeller] mark the end of a frame boundary for system compositor interop. (flutter/engine#53722)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform-web Code specifically for the web engine revert of Bot Only: Tracking label for bot. Tracks new revert of pull requests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Flutter Web] Incorrect render result when having the nested same mask-filter
2 participants