Limit GPU rendering?
Hello fellow developers,
I'm using GPU rendering on a game for the appStore built with Flash CS5.5. It consumes a hell of a lot of RAM (>100) and I've been running tests for weeks to minimize the usage.
What I have discovered when I ran these tests is that it seems as everything that gets animated also gets uploaded to the GPU, an animation within a Movie Clip definetly gets uploaded. Also vector graphics within a MovieClip gets cached even though the "cache as bitmap" or "export as bitmap" options are off. Have anyone else encountered this problem? EVERYTHING gets cached when using GPU rendering, is it supposed to be like this? I am no optimizing expert as this is my first project ever for mobile devices.
Even vector graphics on the main timeline gets cached and kept there. I've been kickstarting the Garbage Collector with the method explained here by Sean Christmann (http://www.craftymind.com/2008/04/09/kick-starting-the-garbage-collector-in-actionscript-3-with-air/) but it only clears a fraction of what needs to be cleared. What I need is to strictly limit what is beeing cached and what not so that I can choose certain elements that I really need to have cached. Is this possible?
Anything that could help is greatly appreciated!
Thanks in advance,
Daani