-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] fix plus blend mode in porterduff shader. #51792
Conversation
impeller/entity/entity_unittests.cc
Outdated
@@ -1446,6 +1446,45 @@ TEST_P(EntityTest, DrawAtlasNoColor) { | |||
ASSERT_TRUE(OpenPlaygroundHere(std::move(e))); | |||
} | |||
|
|||
TEST_P(EntityTest, F16WideGamutDrawAtlasPlus) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't going to be wide gamut, the name of the test has to end with "WideGamut". Can you add an assert that it is applied like the other ones please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
impeller/entity/entity_unittests.cc
Outdated
@@ -1446,6 +1446,48 @@ TEST_P(EntityTest, DrawAtlasNoColor) { | |||
ASSERT_TRUE(OpenPlaygroundHere(std::move(e))); | |||
} | |||
|
|||
TEST_P(EntityTest, DrawAtlasPlusWideGamut) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did I need to opt this into a golden somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aiks unittests are the only ones that generate goldens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh duh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
…146157) flutter/engine@5bf8b94...c60b00a 2024-04-02 [email protected] Allow creating slimpeller engine variants. (flutter/engine#51824) 2024-04-02 [email protected] [Impeller] fix plus blend mode in porterduff shader. (flutter/engine#51792) 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
DrawAtlas already has the optimization in #51778 and so it is still rendering incorrectly with wide gamut.