Slow screen lock/unlock
Jim Hurley
jhurley at infostations.com
Thu Mar 17 05:20:07 EST 2005
>
>Message: 16
>Date: Thu, 17 Mar 2005 08:59:06 +1100
>From: "Michael J. Lew" <michaell at unimelb.edu.au>
>Subject: Slow screen lock/unlock
>To: use-revolution at lists.runrev.com
>Message-ID: <p05200f48be5e5ad4ff5f@[128.250.229.137]>
>Content-Type: text/plain; charset="us-ascii" ; format="flowed"
>
>It takes about 260 milliseconds to lock and unlock the screen (OS X
>10.3, slowish G4). Here is my test script that takes 2680
>milliseconds to run:
>
>on mouseUp
> put the milliseconds into startTime
> repeat 10
> lock screen
> unlock screen
> end repeat
> put the milliseconds-startTime
>end mouseUp
>
>If I comment out either the lock screen or the unlock screen then the
>whole thing takes 2 milliseconds and if I comment out the unlock
>screen line then it takes less than one millisecond.
>
>Is it slow on other systems?
>Is this some Quartz "feature"?
>Is there something wrong with the way that Rev does screen locking or
>unlocking?
>How can I get around slow screen updates for animating lots of points?
>
>Regards,
>--
>Michael J. Lew
Michael,
Your problem is probably related to the problem I have with RR on OS
X. See "Trouble with graphics display in OS X" in the list archives.
Or check out
go url "http://home.infostations.net/jhurley/DisplayProblems.rev"
RR does not do a screen refresh after a "set the loc of ...." in OS X
and so an "Unlock screen" command is required. This slows the OS X
performance.
Jim
More information about the use-livecode
mailing list