问题
I had the following question: BitmapData lock and unlock not working on android
Now, encountering that issue, reading about render mode, I'm very confused how a script that simple fails in GPU mode,but is very fast on CPU mode.
So the question is, how GPU mode works and how CPU mode works for adobe air? And why on GPU most of the stuff works better, but not that script
Note: Base bitmap size should be bigger than 1400x1400
回答1:
There are some limitations on GPU
render mode.
Adobe recommends direct
render mode. See following lines from Adobe help,
Note: In order to leverage GPU acceleration of Flash content with AIR for mobile platforms, Adobe recommends that you use renderMode="direct" (that is, Stage3D) rather than renderMode="gpu".
For more info see Adobe GPU render mode
来源:https://stackoverflow.com/questions/21827049/gpu-vs-cpu-render-mode-adobe-air