Page 1 of 1
Enhancing performance in multi touch events.
Posted: Tue Oct 04, 2011 11:56 pm
by FireWorx
Hi does anyone have any ideas how one would go about enhancing the performance of multi touch pinch, zoom and drag operations in the IOSUIWebviewer displaying PDF's?
For normal operations its not bad but when you really need to zoom in the refresh rate and depth of zoom is not nearly as good as Adobe I books.
Unfortunately freeze ups and delays will kill this application. Does anyone have any idea if an external could be written to assist in this? Or ideas about buffering? If iPad went retina perhaps? Converting to a PNG or a GIF gets to blurry. I don't have any experience in languages other than livecode but might be willing to hire out for a fix.
Dave
V 5 Enhancing performance in multi touch events.
Posted: Sat Oct 15, 2011 8:15 pm
by FireWorx
Would appreciate some feed back from the guru's and or moderators.
Do you think setting the layerMode of the UIWebbrowser group to "scrolling" could improve performance redrawing the screen after zooms and scrolls? Will it only make a difference on the machine or will it be noticeable on the simulator as well?
From release notes v5.0
set the layerMode of group "my group" to "static|dynamic"
This property is (currently) one of:
• 'static' : the object will not be cached individually and only as part of the background
whenever possible.
• 'dynamic' : the object will be cached independently from all others.
• 'scrolling': applies to groups only and is used where the group contains contents to scroll.
In general, any objects which do not move/resize/change or do so very rarely should be set to be 'static'; and any object which moves/changes/resizes frequently (i.e. every frame) should be set to 'dynamic'. In particular, the only cost involved in moving a dynamic object is that of re-compositing the scene - which is vastly cheaper (computationally) than redrawing.
And then I guess "set the compositorCacheLimit of stack "my stack" to 16 * 1024 * 1024" ?
And I guess "set the compositorTileSize of stack "my stack" to 16|32|64|128|256"
Will this specifically help the redraw zooms and scrolls in the browser group which displays PDF's from disk or am I just wasting my time? Anybody out there?
Dave
Re: Enhancing performance in multi touch events.
Posted: Fri Oct 21, 2011 5:04 am
by FireWorx
Great zooming and re fresh rates in the upgraded Safari browser on IOS 5 ! I can zoom in much deeper on a PDF loaded into the browser than i was getting in IOS 4.6! Very Happy about that. I Still haven't tried any of the other ideas I mentioned above and I may not need to. Perhaps those claims of 10 x faster are true! Hope So !
DAVE