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

[Impeller] handle fill polylines with zero area. #51945

Merged

Conversation

jonahwilliams
Copy link
Member

Fixes flutter/flutter#146362

Sometimes we can have effectively zero area in a way that doesn't seem to register with the Skia bounding box logic we're using. Add a sanity check for zero points in the polyline.

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 5, 2024
@auto-submit auto-submit bot merged commit af13dd7 into flutter:main Apr 5, 2024
@jonahwilliams jonahwilliams deleted the early_return_empty_polyline branch April 5, 2024 21:13
@jonahwilliams jonahwilliams added the cp: beta cherry pick to the beta release candidate branch label Apr 5, 2024
flutteractionsbot pushed a commit to flutteractionsbot/engine that referenced this pull request Apr 5, 2024
Fixes flutter/flutter#146362

Sometimes we can have effectively zero area in a way that doesn't seem to register with the Skia bounding box logic we're using. Add a sanity check for zero points in the polyline.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 5, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 5, 2024
…146370)

flutter/engine@48604df...b503915

2024-04-05 [email protected] Roll Skia from d596d9e4cb4f to d0f229153ae7 (2 revisions) (flutter/engine#51946)
2024-04-05 [email protected] [Impeller] handle fill polylines with zero area. (flutter/engine#51945)
2024-04-05 [email protected] [Windows] Move EGL surface creation (flutter/engine#51920)

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
gilnobrega pushed a commit to gilnobrega/flutter that referenced this pull request Apr 22, 2024
…lutter#146370)

flutter/engine@48604df...b503915

2024-04-05 [email protected] Roll Skia from d596d9e4cb4f to d0f229153ae7 (2 revisions) (flutter/engine#51946)
2024-04-05 [email protected] [Impeller] handle fill polylines with zero area. (flutter/engine#51945)
2024-04-05 [email protected] [Windows] Move EGL surface creation (flutter/engine#51920)

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
@jonahwilliams jonahwilliams added the cp: stable cherry pick to the stable release candidate branch label Jun 5, 2024
@jonahwilliams
Copy link
Member Author

I think this is the one we missed

@flutteractionsbot
Copy link

Failed to create CP due to merge conflicts.
You will need to create the PR manually. See the cherrypick wiki for more info.

@jonahwilliams
Copy link
Member Author

nope not this one.

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 cp: beta cherry pick to the beta release candidate branch cp: stable cherry pick to the stable release candidate branch e: impeller
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Canvas.moveTo + moveRelativeTo crashes
3 participants