optimizing iPhone OpenGL ES fill rate

前端 未结 7 999

I have an Open GL ES game on the iPhone. My framerate is pretty sucky, ~20fps. Using the Xcode OpenGL ES performance tool on an iPhone 3G, it shows:

Renderer Utilization

7条回答
  •  半阙折子戏
    2021-01-31 22:43

    The biggest performance killer on the iPhone platform is the number of draw calls and state changes. If you're doing more than 20ish draw calls or state changes, you're going to run into a performance wall.

    Batching and texture atlases are your friend.

提交回复
热议问题