-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] move aiks text tests to DL. #54293
[Impeller] move aiks text tests to DL. #54293
Conversation
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. |
Golden file changes are available for triage from new commit, Click here to view. |
Golden file changes are available for triage from new commit, Click here to view. |
I'm looking at an issue with SiblingSaveLayerBoundsAreRespected . It looks like the saveLayer bounds are always treated as tight with aiks, but are advisory in display list - leading to the saveLayer expanding instead of clipping. Since this is the current behavior this PR isn't breaking anything there, but perhaps I should disable/remove the test as it doesn't actually demonstrate what the expected rendering is? |
Golden file changes are available for triage from new commit, Click here to view. |
The intent is to include the tight bounds with the user bounds as a clip: engine/display_list/dl_builder.cc Line 617 in 206e86e
|
TEST_P(AiksTest, SiblingSaveLayerBoundsAreRespected) { | ||
DisplayListBuilder builder; | ||
DlPaint paint; | ||
SkRect rect = SkRect::MakeXYWH(0, 0, 1000, 1000); |
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.
I don't remember where it caused a problem but in some tool I've used to look at goldens a transparent background with black stuff drawn on it just looks like a giant field of black, so I usually paint a background color in my tests...
Ahh found the bug! |
Golden file changes are available for triage from new commit, Click here to view. |
The rrect changes are a bit odd too, but I think the Skia RRect constructor must be different from the impeller version. Otherwise ready for review, I've left the untriaged goldens. |
Golden file changes are available for triage from new commit, Click here to view. |
Friendly ping @flar :) |
Sorry, I was still looking at why the goldens changed. I don't trust that. |
Is there any way to load up the changed goldens again? |
Hmm, not that I know of. Perhaps you can create a revert PR (but not submit it) to show the reverse change to introspect. |
…153132) flutter/engine@ef820aa...0520889 2024-08-08 1961493+harryterkelsen@users.noreply.github.com [canvaskit] Detect animated WebP images (flutter/engine#54418) 2024-08-08 skia-flutter-autoroll@skia.org Roll Dart SDK from 067c7cfcbc8c to ff0404c72fc5 (1 revision) (flutter/engine#54455) 2024-08-08 jonahwilliams@google.com [Impeller] move aiks text tests to DL. (flutter/engine#54293) 2024-08-08 skia-flutter-autoroll@skia.org Roll Skia from 0c6dd1e6ff8e to 4cff580721cf (20 revisions) (flutter/engine#54454) 2024-08-08 robert.ancell@canonical.com Add a precision to the fragment shader (flutter/engine#54109) 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 jsimmons@google.com,rmistry@google.com,zra@google.com 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
…lutter#153132) flutter/engine@ef820aa...0520889 2024-08-08 1961493+harryterkelsen@users.noreply.github.com [canvaskit] Detect animated WebP images (flutter/engine#54418) 2024-08-08 skia-flutter-autoroll@skia.org Roll Dart SDK from 067c7cfcbc8c to ff0404c72fc5 (1 revision) (flutter/engine#54455) 2024-08-08 jonahwilliams@google.com [Impeller] move aiks text tests to DL. (flutter/engine#54293) 2024-08-08 skia-flutter-autoroll@skia.org Roll Skia from 0c6dd1e6ff8e to 4cff580721cf (20 revisions) (flutter/engine#54454) 2024-08-08 robert.ancell@canonical.com Add a precision to the fragment shader (flutter/engine#54109) 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 jsimmons@google.com,rmistry@google.com,zra@google.com 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
…lutter#153132) flutter/engine@ef820aa...0520889 2024-08-08 1961493+harryterkelsen@users.noreply.github.com [canvaskit] Detect animated WebP images (flutter/engine#54418) 2024-08-08 skia-flutter-autoroll@skia.org Roll Dart SDK from 067c7cfcbc8c to ff0404c72fc5 (1 revision) (flutter/engine#54455) 2024-08-08 jonahwilliams@google.com [Impeller] move aiks text tests to DL. (flutter/engine#54293) 2024-08-08 skia-flutter-autoroll@skia.org Roll Skia from 0c6dd1e6ff8e to 4cff580721cf (20 revisions) (flutter/engine#54454) 2024-08-08 robert.ancell@canonical.com Add a precision to the fragment shader (flutter/engine#54109) 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 jsimmons@google.com,rmistry@google.com,zra@google.com 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
Part of flutter/flutter#142054