Hi Colin, thank you for your response.
In my app, there are some animations in front of the object that I will use for the background. I was thinking of having a series of tiles in the background like maybe 200 so that only a few tiles are redrawn each frame. If I have a single tile and scale it up to the entire stage size, will the entire tile be redrawn each frame?
I don't know much about the underpinnings of flash and gpu so I am a bit lost with this.
Thank you,
Justin
I believe that Flash takes the 100% sized version of the bitmap and sends that over to the GPU. The GPU then scales it to the desired size. One way we use that ability is with Retina graphics, we'll have a 1024 wide stage with a movieclip at 50% size, and inside is a bitmap that is 2048 wide. On Retina screens you get the full quality, not a doubled up 50% version.
As for redraws, you'll only get a hit if the symbol that was sent to the GPU changes. Your scaled or tiled background won't have changed, and so won't have to reload, even if things are moving around on top of it.
If you did tile a bitmap that would take up a little bit more RAM, but not more GPU memory. So, if it's a flat color backdrop it shouldn't matter whether it's scaled or tiled, and if the background has some texture, then a repeating tile would be the better option.
If you haven't played with it yet you should give Scout a try. One thing it can show you is which areas of the screen are having to be reloaded.
Adobe Scout on the App Store on iTunes
and
Free Scout CC | Download Adobe Scout free trial