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

Comments

Projects
None yet
1 participant
@aseemk
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