Search code examples
androidairhardware-acceleration

Air - How to choose the right hardware acceleration mode?


I'm building an Android note taking app with Adobe Air 3.6 that is only vector based. Which hardware acceleration mode is recommended for such an app? There are three modes to choose from:

1. None 
2. Direct 
3. GPU

Solution

  • For purely vector based (display list) app, Direct mode won't be of help, because it is intended for use with Direct3D. GPU mode will enable some graphics offloading to the GPU (mainly blitting and compositing, I believe), which could be beneficial, especially if you use cacheAsBitmap and cacheAsBitmapMatrix where appropriate.

    In any case, you should do some testing before you settle on a solution. Potential benefits greatly depend on what the app is actually displaying.