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

Control event dispatch exhibits bad performance on iOS #7

Open
starbugs opened this issue Sep 11, 2012 · 1 comment
Open

Control event dispatch exhibits bad performance on iOS #7

starbugs opened this issue Sep 11, 2012 · 1 comment
Labels

Comments

@starbugs
Copy link
Owner

ICTouchEventDispatcher performs hit tests on each touchesMoved: event received, which results in bad performance when dragging over ICControl-based nodes. A draggable control will receive touchesMoved: events too late on iOS devices, resulting in a serious lag when dragging over the touch display.

@starbugs
Copy link
Owner Author

The issue has been fixed partially by avoiding processing multiple touchesMoved: events per frame in control event dispatch on iOS. This allows for acceptable performance in a simple test environment where a single touch is processed. However, even for a single touch (continuously moving) the framerate drops from 60 FPS to about 40 FPS on an iPhone 4S. Further optimizations for the iOS platform are required to improve this.

This fix may cause problems in configurations using on demand frame updates. This will be fixed as soon as extensive testing is done.

@github-staff github-staff deleted a comment May 12, 2024
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