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 28, 2023

Resolves flutter/flutter#128606.

All CPU blends now match the behavior of Impeller's GPU blends, which (after #43283) closely matches Skia's blends! Now we can finally use these.

Screen.Recording.2023-06-27.at.6.15.14.PM.mov

@bdero bdero self-assigned this Jun 28, 2023
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!

@bdero bdero force-pushed the bdero/advanced-cpu-blends branch from 0620264 to 2744527 Compare June 28, 2023 18:30
@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 #43294 at sha 2744527

@bdero bdero added autosubmit Merge PR when tree becomes green via auto submit App and removed autosubmit Merge PR when tree becomes green via auto submit App labels Jun 28, 2023
@bdero bdero force-pushed the bdero/advanced-cpu-blends branch from 2744527 to dd53557 Compare June 28, 2023 20:07
@bdero bdero added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 28, 2023
@bdero
Copy link
Member Author

bdero commented Jun 28, 2023

I refactored this to replace the internal blend applicator lambdas with inlined functions because they were permanently capturing values between invocations of Color::Blend on a subset of targets. Really wacky stuff.

@auto-submit auto-submit bot merged commit cfe70a7 into flutter:main Jun 28, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 29, 2023
jonahwilliams pushed a commit to flutter/flutter that referenced this pull request Jun 29, 2023
…129750)

flutter/engine@4e49b9d...d5c25ea

2023-06-29 [email protected] [Impeller] Add a
missing method to the Context mock (flutter/engine#43326)
2023-06-29 [email protected] [Impeller]
Collapse DrawRects into clear colors optimization (flutter/engine#43168)
2023-06-29 [email protected] [Impeller] Add trace events to Vulkan
texture and buffer lifecycle events. (flutter/engine#43321)
2023-06-29 [email protected] Roll Dart SDK from
5a59cd06e49d to a7151d73b88d (2 revisions) (flutter/engine#43318)
2023-06-28 [email protected] [Impeller] Fix advanced CPU blend modes
(flutter/engine#43294)
2023-06-28 [email protected] Roll Fuchsia Linux SDK from
10hNrVMjnCypybnz2... to fxCNy4QivAngZXkvM... (flutter/engine#43314)
2023-06-28 [email protected] Roll Skia from 0b4f472a8c44 to
26fa4b343fd3 (2 revisions) (flutter/engine#43306)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from 10hNrVMjnCyp to fxCNy4QivAng

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
kjlubick pushed a commit to kjlubick/engine that referenced this pull request Jul 14, 2023
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] Color::Blend appears to have bugs and only be used in tests

2 participants