views:

33

answers:

1

I'm wondering about providing an user selected option to lower the framerate in my opengl based game to conserve battery life, and in general detect parts of the game where no movement occurs and lower the framerate there as well (when saying framerate I actually mean the number of times per second the entire screen is redrawn using opengl commands)

The opengl app is made pretty much the same way as the opengl template that comes with xcode.

Did anyone check if this has any significant impact on battery life?

A: 

Sure framerate have impact on battery life. It need cpu/gpu cycles to render each frame. But how much impact on battery life depends on what are you rendering. Btw, you might want to give users ability to dimmer the backlight as well (that have impact too, huge).

VOX
Hm, I thought you can only dim the backlight programatically on a jailbroken phone?
sinsro
Hm. I'm sorry. Testing developments on jb phones made me forgot the official SDK. Yes, you're right, it is not available to iPhone SDK. However, the answer is still correct.
VOX