Skip to content

Strengthen animation listener iteration patterns #7537

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

Merged
merged 1 commit into from
Jan 19, 2017

Conversation

abarth
Copy link
Contributor

@abarth abarth commented Jan 19, 2017

This patch aligns the iteration patterns used by animations and
ChangeNotifier. They now both respect re-entrant removal of listeners
and coalesce duplication registrations. (Also, ChangeNotifier
notification is no longer N^2).

Fixes #7533

This patch aligns the iteration patterns used by animations and
ChangeNotifier. They now both respect re-entrant removal of listeners
and coalesce duplication registrations. (Also, ChangeNotifier
notification is no longer N^2).

Fixes flutter#7533
@abarth
Copy link
Contributor Author

abarth commented Jan 19, 2017

@Hixie @HansMuller

@Hixie
Copy link
Contributor

Hixie commented Jan 19, 2017

LGTM

@abarth abarth merged commit 3312af7 into flutter:master Jan 19, 2017
@abarth abarth deleted the animation_iteration_patterns branch January 19, 2017 06:17
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 9, 2019
engine-flutter-autoroll added a commit that referenced this pull request Feb 9, 2019
flutter/engine@7c70240...90569e8

git log 7c70240..90569e8 --no-merges --oneline
90569e8 Provide public api to allow FlutterEngine related context to be destoryed (flutter/engine#7610)
693645e Revert "Add mock capability to PerformanceOverlayLayer (#7537)" (flutter/engine#7765)
d130f15 Add x bit to some python scripts (flutter/engine#7764)
2146cde Roll src/third_party/skia 706a7cd1e826..87461aad7285 (1 commits) (flutter/engine#7763)
2a648b9 Roll src/third_party/skia be39f713e530..706a7cd1e826 (4 commits) (flutter/engine#7761)
68396ae Throttle picture raster cache (flutter/engine#7759)
a6753b0 Roll src/third_party/dart 52f5e34dbf..174d6fec3d (12 commits)
f9252e7 allow specifying out directory root (flutter/engine#7753)
12d0b95 Don't call OnAnimatorNotifyIdle if a frame is scheduled (flutter/engine#7746)
5f3f3bd Add mock capability to PerformanceOverlayLayer (flutter/engine#7537)
7d97afd Roll src/third_party/skia 37064c1739f3..be39f713e530 (7 commits) (flutter/engine#7757)
3bfd265 Add flutter config to macOS targets (flutter/engine#7756)
4d3a112 Document GPUSurfaceGLDelegate methods and move it to its own file. (flutter/engine#7755)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.
kangwang1988 pushed a commit to XianyuTech/flutter that referenced this pull request Feb 12, 2019
flutter/engine@7c70240...90569e8

git log 7c70240..90569e8 --no-merges --oneline
90569e8 Provide public api to allow FlutterEngine related context to be destoryed (flutter/engine#7610)
693645e Revert &flutter#34;Add mock capability to PerformanceOverlayLayer (flutter#7537)&flutter#34; (flutter/engine#7765)
d130f15 Add x bit to some python scripts (flutter/engine#7764)
2146cde Roll src/third_party/skia 706a7cd1e826..87461aad7285 (1 commits) (flutter/engine#7763)
2a648b9 Roll src/third_party/skia be39f713e530..706a7cd1e826 (4 commits) (flutter/engine#7761)
68396ae Throttle picture raster cache (flutter/engine#7759)
a6753b0 Roll src/third_party/dart 52f5e34dbf..174d6fec3d (12 commits)
f9252e7 allow specifying out directory root (flutter/engine#7753)
12d0b95 Don&flutter#39;t call OnAnimatorNotifyIdle if a frame is scheduled (flutter/engine#7746)
5f3f3bd Add mock capability to PerformanceOverlayLayer (flutter/engine#7537)
7d97afd Roll src/third_party/skia 37064c1739f3..be39f713e530 (7 commits) (flutter/engine#7757)
3bfd265 Add flutter config to macOS targets (flutter/engine#7756)
4d3a112 Document GPUSurfaceGLDelegate methods and move it to its own file. (flutter/engine#7755)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AnimationController notifies listeners removed during iteration
3 participants