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

[Android] Reuse Paint instances #13258

Closed
Tracked by #8597
MartinZikmund opened this issue Aug 15, 2023 · 0 comments · Fixed by #13259
Closed
Tracked by #8597

[Android] Reuse Paint instances #13258

MartinZikmund opened this issue Aug 15, 2023 · 0 comments · Fixed by #13259
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification

Comments

@MartinZikmund
Copy link
Member

MartinZikmund commented Aug 15, 2023

What would you like to be added:

Currently brushes and other Android code creates a new instance of Paint each time it is needed and immediately disposes of it, which definitely hinders performance.

Why is this needed:

Performance

For which Platform:

Android

@MartinZikmund MartinZikmund added kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant