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

Conversation

@flar
Copy link
Contributor

@flar flar commented Dec 21, 2023

This change removes the last usages of the Rect internal fields from outside the class, allowing the removal of a friend declaration and paving the way to reimplement the Rect methods with ltrb fields.

@flar
Copy link
Contributor Author

flar commented Dec 21, 2023

All of the changes were basically just replacing field references with Getters (to local variables). The changes to the RoundRect code were a little more extensive so I added a new golden test that verifies the output of PathBuilder.AddRoundRect.

Copy link
Contributor

@dnfield dnfield 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 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 #49334 at sha 94cb5c7

@flar flar force-pushed the impeller-pathbuilder-hide-rect-origin-size branch from 94cb5c7 to 8d2acb0 Compare December 21, 2023 22:08
@flutter-dashboard
Copy link

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

Changes reported for pull request #49334 at sha 8d2acb0

@flar flar added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 21, 2023
@auto-submit auto-submit bot merged commit 6f77dc7 into flutter:main Dec 21, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 22, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 22, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Dec 22, 2023
…140531)

flutter/engine@737e6f8...1ba8fc0

2023-12-22 [email protected] Fix GetImpellerContext for ShellTestPlatformViewGL (flutter/engine#49337)
2023-12-21 [email protected] [Impeller] Remove use of private Rect fields from PathBuilder (flutter/engine#49334)
2023-12-21 [email protected] [Impeller] Do not skip rendering when mask blur is zero (flutter/engine#49342)
2023-12-21 [email protected] [Windows] Fix incorrect surface manager comment (flutter/engine#49335)

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
CoderDake pushed a commit to CoderDake/flutter that referenced this pull request Dec 28, 2023
…lutter#140531)

flutter/engine@737e6f8...1ba8fc0

2023-12-22 [email protected] Fix GetImpellerContext for ShellTestPlatformViewGL (flutter/engine#49337)
2023-12-21 [email protected] [Impeller] Remove use of private Rect fields from PathBuilder (flutter/engine#49334)
2023-12-21 [email protected] [Impeller] Do not skip rendering when mask blur is zero (flutter/engine#49342)
2023-12-21 [email protected] [Windows] Fix incorrect surface manager comment (flutter/engine#49335)

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
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.

2 participants