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

Hardware accelerate on iOS! #3

Open
aseemk opened this issue Feb 25, 2011 · 0 comments
Open

Hardware accelerate on iOS! #3

aseemk opened this issue Feb 25, 2011 · 0 comments
Labels

Comments

@aseemk
Copy link
Owner

aseemk commented Feb 25, 2011

iOS Mobile Safari hardware accelerates CSS transitions on CSS transforms and opacity. We should experiment with one or both of these instead of using <canvas> like we do currently.

The good news is that the code already has support for using CSS transforms (used in Chrome), and one-frame-long CSS transitions on those transforms exactly for this purpose. It used to cause tile flickering, so we turned it off, but that tile flickering may be the same bug we fixed in the v0.8.9 update!

Either way, we should also use CSS transitions on opacity to blend the tiles. We will likely have to use the same one-frame length hack since we remove/re-add tiles from the DOM each frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant