iphone - 启用 Alpha 混合是否会影响 iPhone 上的性能(填充率)?

标签 iphone performance

尤其是 2G 和 3G 型号?

最佳答案

是的。绝对地。 (但它仍然不像 alpha 测试那么昂贵。)

From the OpenGL ES Programming Guide (for the non-3GS PowerVR SGX) :

Another advantage of deferred rendering is that it allows the GPU to perform hidden surface removal before fragments are processed. Pixels that are not visible are discarded without sampling textures or performing fragment processing, significantly reducing the calculations that the GPU must perform to render the scene. To gain the most benefit from this feature, you should try to draw as much of the scene with opaque content as possible and minimize use of blending, alpha testing, and the discard instruction in GLSL shaders. Because the hardware performs hidden surface removal, it is not necessary for your application to sort its geometry from front to back.

关于iphone - 启用 Alpha 混合是否会影响 iPhone 上的性能(填充率)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2841242/

相关文章:

iphone - glDrawArrays 在每一帧上分配内存

ios - 无法弄清楚雅虎天气应用程序中使用的 uiview 转换

iphone - 旋转图像时图像边缘呈锯齿状

performance - Kotlin:coroutineScope 比 GlobalScope 慢

javascript - 如何在 ng-grid 中使用 bindonce 指令?

PHP:脚本大小限制

iphone - 在工具栏中添加自定义标签不起作用

iphone - 使用已撤销分发证书的私钥提交 ios 应用程序

css - Chrome 配置文件中神秘的 CSS 选择器

java - 什么会导致 Hibernate 性能以不确定的方式波动?