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 Apr 19, 2023

Makes it much easier to work out where things are going wrong in filter chains.

For example, when capturing the app in flutter/flutter#124956, the chain of RenderPasses gets labeled as follows:

  1. Contents to ForegroundPorterDuffBlend Filter Snapshot
  2. Contents to GaussianBlur Filter Snapshot
  3. Directional Gaussian Blur Filter
  4. Directional Gaussian Blur Filter

...and so it's easy to see that the filter chain is ForegroundPorterDuffBlend->DirectionalGaussianBlur->DirectionalGaussianBlur, and the former two are triggering a non-collapsed snapshot of their inputs.

@bdero bdero self-assigned this Apr 19, 2023
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

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

Awesome.

@bdero bdero force-pushed the bdero/snapshot-labeling branch from 5523c78 to a657541 Compare April 19, 2023 17:53
@bdero bdero added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 19, 2023
@bdero bdero merged commit d726345 into flutter:main Apr 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 19, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 19, 2023
flutter/engine@0a53cf6...d726345

2023-04-19 [email protected] [Impeller] Comprehensively label snapshots (flutter/engine#41325)
2023-04-19 [email protected] [Impeller] Fix transform regressions for chained filters (flutter/engine#41332)

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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

autosubmit Merge PR when tree becomes green via auto submit App e: impeller needs tests

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants