Hi,

i was curious to see whether the vsynch that is default on all devices
is actually a hardware limitation of a software limitation. For this i
first tried to get EGL_MIN_SWAP_INTERVAL. Neither EGL10 nor EGL11
expose that constant. Fair enough, the official EGL headers show me
the constant value. I was surprised to find that my Hero has a
EGL_MIN_SWAP_INTERVAL of 0. So you could in fact disable vsynch.

For that you need eglSwapInterval. Only problem is that it's not
exposed in the Java interface. It is however in the latest r5 release
of the NDK, the first one to expose EGL functionality on the native
side of things. Is there any way to backport this to to native code
for say a 1.5 device? Or a 2.1 device?

I know that turning of vsynch is probably a bad idea on a battery
powered device. But i'd still like to have complete control if at all
possible. The LG Star (Optimus 2X) featuring that shiny Tegra chip
seems to have vsynch disabled by default, running at higher framerates
than the display is capable of handling (a lot more than 60Hz).

Ciao,
Mario

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to