The slowdown came from scrollRect function, if it's executed I have the speed drop. But the interesting thing is that I have the slowdown also if I call scrollRect only 1 time in the code, it seems that calling scrollRect activate a "slow rendering mode" in the flash player. Unfortunately I have the possibility to test only in linux with ATI radeon graphic cards, but I think the problem came from the ATI graphic driver and flash player in linux.
On Oct 27, 4:45 pm, "Rob Bateman" <[EMAIL PROTECTED]> wrote: > Rechecking the test_render.as example in ConteZero's code, i do not see the > speed drop described. Hwever, I am testing on a mac so this may still be > apparent on a pc. commenting the code suggested does nothing for the > reported speed either. If you are experiencing a performance drop with 2.2, > there may be another as yet undiscovered issue causing it - so any code you > can supply that reproduces what you are seeing would be invaluable for > debugging > > cheers > > Rob > > > > On Mon, Oct 27, 2008 at 1:06 PM, Jensa <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I just switched a project to using the HEAD version and I have a major > > speed drop. This thread describes the problem: > > >http://groups.google.com/group/away3d-dev/browse_thread/thread/b73a7c... > > > I've gone from 30fps to 21fps in a spherical panorama viewer project > > I'm working on. I have 3 questions: > > > 1. Is the official advice to modify the code as outlined by @ConteZero > > or to stick to the old code? > > 2. What side effects would commenting the clipping have other than > > increasing the render speed? > > 3. I've noticed that if I use the trunk code and then add a clipping > > rect, I'll loose even more speed (another 4fps). Could it be that > > there's some conflict here? > > > J > > -- > Rob Bateman > Flash Development & Consultancy > > [EMAIL PROTECTED]
