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

Render calculations outside the main thread and animation caching #40

Open
overw opened this issue Jan 15, 2013 · 1 comment
Open

Render calculations outside the main thread and animation caching #40

overw opened this issue Jan 15, 2013 · 1 comment

Comments

@overw
Copy link

overw commented Jan 15, 2013

Hello,

I have two questions:
First. It takes some time between user tapped "curl" button and the view starts to curl with the animation. Is it possible to take this rendering calculations outside the main thread, so the UI won't froze?

Second. I noticed, that when animation performed for the first time in the app, it's sometimes have lower performance, than in next times. I guess, it's because it already cached when it performs for the next time. I wonder if it's possible to force-cache it before the real animation, so it would always worked smooth when it's curled for the first time.

Thanks.

@xissburg
Copy link
Owner

First: it's possible to move all the OpenGL stuff into another thread. That might increase the UI performance. This would be a quite big change to the project that should be performed very carefully.

Second: I also noticed this issue and I have no idea why that happens. Sometimes it happens once more, not only on the first time. However, I just tested it in my iPhone4S and there were no slow downs.

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

No branches or pull requests

2 participants