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

Added hardware-accelerated rotations support #41

Merged
merged 1 commit into from
Oct 6, 2012

Conversation

simianarmy
Copy link
Contributor

Use rotate3d() for hardware-accelerated devices

Support rotate3d for hardware-acceleration
simianarmy added a commit that referenced this pull request Oct 6, 2012
Added hardware-accelerated rotations support
@simianarmy simianarmy merged commit 0a89caa into digitalfruit:master Oct 6, 2012
@simianarmy
Copy link
Contributor Author

Enables much better rotation performance for some Android devices but breaks on some others (possibly due to need for perspective css property). It should only be used on a per-node basis and should be limited to known working devices after testing.

@simianarmy
Copy link
Contributor Author

3D transforms should be false by default (see Node's allow3DCSSTransform_ property.) You have to call setAllow3DCSSTransforms(true) on a node in order to enable it. Pull #41 is about using 3d rotations if it has been enabled explicitly.

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

Successfully merging this pull request may close these issues.

1 participant