android - 什么时候应该在 Flash 中使用 CPU 或 GPU 编译器选项?

标签 android flash actionscript-3 actionscript air

我已通读 this section Adobe 的优秀 10.1 optimization tips .我发现下面的陈述非常有帮助。还有什么需要注意的吗?简单的区别只是:将 GPU 用于栅格图形,将 CPU 用于矢量图形吗?

The GPU is only effective for bitmaps, solid shapes, and display objects that have the cacheAsBitmap and cacheAsBitmapMatrix set. When the GPU is used in tandem for other display objects and this generally results in poor rendering performance.

最佳答案

请注意,您希望通过 Manifest.xml 中的这一行在 GPU 而不是 CPU 中运行

<renderMode>gpu</renderMode>

关于android - 什么时候应该在 Flash 中使用 CPU 或 GPU 编译器选项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5234079/

相关文章:

actionscript-3 - 我可以在 AS3 中录制声道吗?

专注于来电的 Android 电话应用程序

android - ObservableScrollView 中的自定义 ViewPager 无法正确测量高度

android - ActionBar.OnNavigationListener 弃用

xml - Flash AS2 中的 JSON 与 XML 解析速度

actionscript-3 - Flex 4.6 中心图像

flash - Flash 可以在没有服务器端帮助的情况下保存内容吗?

html - HTML Loader 中的输入元素在 adobe AIR 中是只读的

flash - ActionScript 2.0 和 ActionScript 3.0 项目

android - 如何在 Android OpenGL ES 中应用拖放和缩放