GPU vs CPU render mode Adobe AIR

夙愿已清 提交于 2019-12-13 04:34:33

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!