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

Conversation

dnfield
Copy link
Contributor

@dnfield dnfield commented May 15, 2023

Fixes flutter/flutter#126739

When we're sampling from the texture, we need to sample from its origin regardless of how much offset the stroke width gives to the path.

@flutter-dashboard

This comment was marked as outdated.

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

@flutter-dashboard
Copy link

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

Changes reported for pull request #42052 at sha f6b6054

@dnfield
Copy link
Contributor Author

dnfield commented May 15, 2023

Need to figure out what's changing in the goldens...

Copy link
Member

@bdero bdero left a comment

Choose a reason for hiding this comment

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

LGTM.

I'd recommend adding a golden that draws a stroke with TiledTextureContents as the color source. There are a bunch of combinations not covered by goldens yet.

@dnfield
Copy link
Contributor Author

dnfield commented May 16, 2023

LGTM.

I'd recommend adding a golden that draws a stroke with TiledTextureContents as the color source. There are a bunch of combinations not covered by goldens yet.

I updated the goldens to draw both a stroke and a fill over the same area and make sure they match. I'm confused though about why some of them are changing. I'm going to be out today but will try to look tomorrow.

@dnfield
Copy link
Contributor Author

dnfield commented May 17, 2023

Ok, verified locally the golden updates are because I'm not placing the stroke exactly on top of the fill in some cases. Rather than try to figure that out I'm going to approve them. This would still catch regressions.

@dnfield dnfield added the autosubmit Merge PR when tree becomes green via auto submit App label May 17, 2023
@auto-submit auto-submit bot merged commit d880a0c into flutter:main May 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 17, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 17, 2023
…127043)

flutter/engine@47fd496...0ae3719

2023-05-17 dnfield@google.com Report displays for macOS (flutter/engine#41998)
2023-05-17 dnfield@google.com Fix bounds when painting style is stroke width for image shaders (flutter/engine#42052)

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 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://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
@dnfield dnfield deleted the stroke_image_shader branch May 18, 2023 16:28
dnfield added a commit to dnfield/engine that referenced this pull request May 18, 2023
…tter#42052)

Fixes flutter/flutter#126739

When we're sampling from the texture, we need to sample from its origin regardless of how much offset the stroke width gives to the path.
CaseyHillers pushed a commit that referenced this pull request May 18, 2023
…age shaders (#42052) (#42129)

Fixes flutter/flutter#126739

When we're sampling from the texture, we need to sample from its origin
regardless of how much offset the stroke width gives to the path.
CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request May 24, 2023
…lutter#127043)

flutter/engine@47fd496...0ae3719

2023-05-17 dnfield@google.com Report displays for macOS (flutter/engine#41998)
2023-05-17 dnfield@google.com Fix bounds when painting style is stroke width for image shaders (flutter/engine#42052)

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 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://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 will affect goldens
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Impeller] ImageShader align is different for different PaintingStyle
3 participants