-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Instrument Image and Picture for leak tracking. #35274
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
eb5cc0e
Update painting.dart
polina-c 401a169
Update painting.dart
polina-c d6df6b8
-
polina-c eaf2ec8
-
polina-c 3e17cd1
Update image_test.dart
polina-c b47c31e
-
polina-c 427592e
Update painting.dart
polina-c dbe4eaf
Merge branch 'flutter:main' into painting
polina-c 804d542
Merge branch 'main' of github.com:flutter/engine into painting
polina-c 1434af9
Update painting.dart
polina-c 60a95a0
Update image_test.dart
polina-c e2a1f76
-
polina-c ca99635
Update image_dispose_test.dart
polina-c 1f85ecf
Update image_test.dart
polina-c 4a3d810
Merge branch 'painting' of github.com:polina-c/engine into painting
polina-c b577107
-
polina-c 1e902a1
Update picture_test.dart
polina-c b6ff393
-
polina-c f03e228
Update image_test.dart
polina-c 6832d11
Update picture_test.dart
polina-c 2ef20d0
Update image_test.dart
polina-c 932932f
Update image_test.dart
polina-c 4ea889e
-
polina-c 0f53a5b
-
polina-c c9df53e
Update image_test.dart
polina-c 3f258cd
Update image_test.dart
polina-c f951116
Update picture_test.dart
polina-c 7940b1e
Update image_test.dart
polina-c cc9912f
-
polina-c 5ae80a6
Update painting.dart
polina-c ba7d0a5
-
polina-c 7fec23d
-
polina-c 9a8de06
-
polina-c 22babb6
Create image_test.dart
polina-c fca82fe
Merge branch 'master' of github.com:flutter/engine into painting
polina-c 41754ed
-
polina-c 4b24628
-
polina-c 59cb250
Update image_test.dart
polina-c 0efa9c8
Update BUILD.gn
polina-c 62431c1
-
polina-c a958c1d
Update painting.dart
polina-c 20cd6d9
Update api_conform_test.dart
polina-c 76f096e
Update painting.dart
polina-c 6f949a2
Update painting.dart
polina-c f87653e
Update canvas.dart
polina-c 99ae37d
addressed comments
polina-c 360ff2a
Update painting.dart
polina-c 0da0e31
Merge branch 'flutter:main' into painting
polina-c e972fd8
Merge branch 'flutter:main' into painting
polina-c bf75813
Merge branch 'flutter:main' into painting
polina-c File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here and elsewhere: can we guard calling these so it's compiled out of release mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I know there is no compile time flags (like bool.fromEnvironment('flutter.memory_allocations')) in engine.
And 'normal' flags will not be more efficient both from performance perspective and code size perspective, than comparison to null. So there is no point in such guarding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed offline - any flag we put in here would be at best a runtime check that's probably no faster than the null check here.