General sluggishness on iPhone

For Apple specific issues

General sluggishness on iPhone

Postby zamrate » Tue Jun 07, 2011 9:39 am

I noticed that whatever is drawn in JUCE on my iPhone, and no matter how big it is, there always seems to be a kind of lag while redrawing.

Example: When you move the "slide to unlock" slider when the iPhone is locked, you can see that it follows the finger very quickly & smoothly, you feel its responsiveness. When you move the slider in a JUCE app or whatever control that follows the finger's movement, you can feel that the repainting is by far not as quick and constant as it is with the "slide to unlock" slider.

I don't think it has anything to do with the rendering time itself, because I've checked in an example I did, and the rendering time was so high that it allowed about 80fps. Furthermore, even in big apps like Safari, the scrolling is still much faster than anything in JUCE.

Why is that, and how can I make it better? From the source codes I couldn't immediately see the reason.
User avatar
zamrate
JUCE UberWeenie
 
Posts: 1082
Joined: Mon Sep 24, 2007 5:33 pm

Re: General sluggishness on iPhone

Postby zamrate » Fri Jun 10, 2011 9:33 am

bump
User avatar
zamrate
JUCE UberWeenie
 
Posts: 1082
Joined: Mon Sep 24, 2007 5:33 pm

Re: General sluggishness on iPhone

Postby jules » Fri Jun 10, 2011 9:49 am

Unless there's a secret trick that I don't know about, the rendering all happens as efficiently as possible..
User avatar
jules
Fearless Leader
 
Posts: 17371
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: General sluggishness on iPhone

Postby cuiffo » Thu Jul 19, 2012 8:57 pm

I know this post is old but this has been bothering me a bit too-- could using the ComponentAnimator to the value you slide to fix this problem? (also deleting the old animations every time a new value is entered) I'm probably going to test that soon, just figured I'd mention it in this old post, haha.
cuiffo
JUCE Weenie
 
Posts: 1
Joined: Thu Jul 19, 2012 8:52 pm


Return to MacOSX and iOS

Who is online

Users browsing this forum: No registered users and 2 guests