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

Reduce memory usage for RotSprite #691

Closed
dacap opened this issue Jun 2, 2015 · 1 comment
Closed

Reduce memory usage for RotSprite #691

dacap opened this issue Jun 2, 2015 · 1 comment
Assignees
Labels
feature Feature request, or something should be improved
Milestone

Comments

@dacap
Copy link
Member

dacap commented Jun 2, 2015

Even when we are rotating small parts of an huge sprite, we're allocating memory for the whole sprite area instead of the small rotated portion. We should calculate the maximum size required for the rotated image and use that dimensions for temporal memory.

@dacap dacap added the feature Feature request, or something should be improved label Jun 2, 2015
@dacap dacap added this to the v1.1 milestone Jun 2, 2015
@dacap dacap self-assigned this Jun 20, 2015
@dacap
Copy link
Member Author

dacap commented Jun 20, 2015

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request, or something should be improved
Projects
None yet
Development

No branches or pull requests

1 participant