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

Conversation

@gaaclarke
Copy link
Member

@gaaclarke gaaclarke commented Dec 11, 2023

This also adds a new mechanism of override the device capabilities.

fixes flutter/flutter#139773

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 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.

@gaaclarke gaaclarke changed the title [Impeller] Made the new test work on devices without the decal address mode [Impeller] Made the new blur work on devices without the decal address mode Dec 11, 2023
@gaaclarke gaaclarke force-pushed the gaussian-blur-decal-fallback branch from c00223f to 307184e Compare December 12, 2023 00:06
@gaaclarke gaaclarke marked this pull request as ready for review December 12, 2023 01:04
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

Noting that there is already code in the gaussian blur contents to ensure that the decal sampler mode isn't selected, this patch adds selection of the correct pipeline + testing.

@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #48899 at sha 1b9a3ad

@gaaclarke
Copy link
Member Author

fyi, I switched the test to use an image filter since that would demonstrate better decal problems.

@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #48899 at sha f134312

@gaaclarke
Copy link
Member Author

Screenshot 2023-12-13 at 10 49 42 AM The golden image isn't quite right. It doesn't match what I'm seeing in the playgrounds renders. It looks like it's being scaled about 2x.

@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #48899 at sha 80b3cd5

@gaaclarke
Copy link
Member Author

Okay, the golden does what we expect now. I think the output looks a wee bit wonky, but this is the old blur filter. This isn't actually rendering anything new, so landing it to keep track of it for when we turn the new blur on.

@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 13, 2023
@auto-submit auto-submit bot merged commit 9f7004e into flutter:main Dec 13, 2023
zanderso pushed a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 13, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Dec 13, 2023
…140090)

flutter/engine@fc32677...9f7004e

2023-12-13 [email protected] [Impeller] Made the new blur work on devices without the decal address mode (flutter/engine#48899)
2023-12-13 [email protected] Allow tests to run on macOS 13 (flutter/engine#48894)
2023-12-13 [email protected] [Impeller] Compute ContextContentOptions key via bit manipulating (instead of hashing each property). (flutter/engine#48902)
2023-12-13 [email protected] Roll Skia from f3401c6186c1 to 69c02c9d56b2 (1 revision) (flutter/engine#48992)

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

autosubmit Merge PR when tree becomes green via auto submit App e: impeller will affect goldens

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

[Impeller] new blur doesn't support decal tile mode on devices without decal sampler address mode

3 participants