Making redundant OpenGL calls

后端 未结 2 628
孤城傲影
孤城傲影 2021-01-13 00:17

I was wondering if it is recommended to eliminate all redundant opengl calls.

For instance, should I be doing something like (wrapped in a function):



        
2条回答
  •  梦谈多话
    2021-01-13 00:43

    I've just been eliminating many such calls from an Android application, so I can tell you first-hand that it matters on that platform (on that specific OS version and hardware). It increased the framerate by a few fps, I'd say about 5-10% profit.

提交回复
热议问题