Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Impeller] Deprecate the exposed Rect fields #47592

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

flar
Copy link
Contributor

@flar flar commented Nov 2, 2023

The exposed Rect fields prevent future optimizations which will depend on changing the internal storage format.

@flar flar requested a review from bdero November 2, 2023 17:08
@flar flar force-pushed the impeller-deprecate-Rect-fields branch 2 times, most recently from 84f7872 to 15dff54 Compare November 2, 2023 19:54
@flar
Copy link
Contributor Author

flar commented Nov 2, 2023

Note that I tried adding [[deprecated]] to these fields and it compiled and linted just fine on my Mac, but failed a lot of lint tasks on other platforms when I pushed it.

@flar
Copy link
Contributor Author

flar commented Nov 2, 2023

In the end these fields should be made private within a few days so the warning is just to prevent new accesses from entering the code base in the meantime.

@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 #47592 at sha 15dff54

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

@flar flar added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 2, 2023
@auto-submit auto-submit bot merged commit dd620fc into flutter:main Nov 2, 2023
26 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 2, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 2, 2023
…137803)

flutter/engine@d9b6245...dd620fc

2023-11-02 flar@google.com [Impeller] Deprecate the exposed Rect fields (flutter/engine#47592)
2023-11-02 skia-flutter-autoroll@skia.org Manual roll Dart SDK from e6df03a57636 to 3c45f68cd7c2 (4 revisions) (flutter/engine#47620)

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://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 join this conversation on GitHub. Already have an account? Sign in to comment
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