I have created a little program that runs openGL ES 1.1; I also used Log to print my fps. There is something strange though, when i check the log the fps counter says that each frame i got more than 2000 fps. How is that even possible? If i am not mistake vsync automatically cap your upper frame limit to 60. Thanks in advance.
public class FPSCounter {
long startTime = System.nanoTime();
int frames = 0;
public void logFrame() {
frames++;
if(System.nanoTime() - startTime >= 1000000000) {
Log.d("FPSCounter", "fps: " + frames);
startTime = System.nanoTime();
}
}
}