-
Notifications
You must be signed in to change notification settings - Fork 280
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
Memory on using animation.KeyframeAnimation #94
Comments
(All this info is just guesses, didn't test actual data) The difference between 1 and 2 is most likely because Lime slices up the image and puts every part to a separate canvas. This is needed for the repeating to work separately for every slice. In I have no idea about the difference between 2 and 3. Possibly just Javascript objects or something gets put to a separate layer. 3 and 4 is some Chrome optimization. For example the textures you send to the graphics card can only be on certain sizes(power of 2) so every image is actually made larger. Or some overhead on hidden objects that keep references to the images. |
You mentioned there is some optimization in no-dom branch in new canvas creation. Do you like to merge this optimization into the main branch? |
Sorry. The no-dom branch is not feature complete. There are some issues with the label fonts and I think some edge cases with frame fills are not handled. I could rebase it though so it also gets the latest bugfixes from the master if that helps. |
That will help. Thank you for doing this. |
@qyapps I think there are too many dependencies on other changes to safely move these features. But if you do it, test it and make a PR then I'll surely merge them to master. |
We did the following tests for the same animation behaviour:
Any suggestion?
The text was updated successfully, but these errors were encountered: