Speed of visual effect under iOS

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Fri Oct 12 18:41:08 CDT 2012


Hi Chris,

thanks for your suggestions. I noticed this delay on an iphone 4 and iphone 3, not an ipad 3. I will check my preopencard handler. Maybe i can move something to the opencard handler.

Regards,

Matthias
--
Matthias Rebbe
matthias (at) rebbe.tk
Tel +49.5741.310000
Tel +49.160.5504462
--
"Life is too short for boring code"







Am 11.10.2012 um 17:09 schrieb Chris Sheffield <cmsheffield at me.com>:

> Matthias,
> 
> Are you running on an iPad 3 by chance?
> 
> I'm not sure there's really much you can do. I've run into this same problem. If it's iPad 3, the LC engine has to work extra hard to update the screen, and that's what's causing the delay. It's my understanding that LiveCode does not yet take advantage of the new graphics processor in the iPad 3, and that's why visual effects like this appear to be slower. Hopefully sometime soon we'll see an update that takes advantage of the new hardware. Until then, one thing you could try would be to keep your code in preOpenCard as minimal as possible. Move everything you possibly can to openCard instead. This has actually helped me in some cases.
> 
> Good luck!
> 
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> 
> 
> On Oct 11, 2012, at 8:54 AM, Matthias Rebbe <matthias_livecode_150811 at m-r-d.de> wrote:
> 
>> Hi,
>> 
>> i am using visual effects when going from one card to an other.
>> 
>> e.g.
>> lock screen for visual effects
>> go card "settings"
>> unlock screen with visual effect push up very fast
>> 
>> Without using visual effects the performance is good. But with using visual effects there is a delay of 1 to 2 seconds before 
>> the visual effed takes place. So the user first thinks nothing would happen.
>> 
>> Any idea if i can speed up this. Or should i show a busy indicator until the "move" to the next card is completed.
>> 
>> Regards,
>> 
>> Matthias	
>> 
>> 
>> 
>> --
>> Matthias Rebbe
>> matthias (at) rebbe.tk
>> Tel +49.5741.310000
>> Tel +49.160.5504462
>> --
>> "Life is too short for boring code"
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list