In the process of creating a game for android, I stumbled into a bit of uncertainty. When creating the drawing of the graphics for the game, would it be best practice to implement explicit calls to rendering the graphics (using OpenGL ES) in the gameloop?
Calling setRenderMode()
with the RENDERMODE_WHEN_DIRTY
constant, will in my understanding disable the auto rendering of content, enabling control over skipping frames etc. But is this only advised for creating apps, giving no performance gain in games and is mostly just suited for apps with graphics content not necessarily updated each frame?
Is there any answer to this or will it come down to the implemention and discussion?
I should also mention that the game is developed for the ouya giving me only one point of reference in terms of hardware (As of now).