Bug Description

This code is not using any eglSwapInterval call. This is wrong since the EGL doc doesn't mention any default setting.
On Tegra2 libs, default setting is eglSwapInterval = 1, meaning wait for vsync, which is stupid for a benchmark (seriously.).
I don't know much of EGL, so I don't know where the eglSwapInterval(egl_display, 0); is supposed to be placed, but for my tests I putted it in sdlgles in SwapBuffer function.
I guess this might also be a SDL_gles bug.

> On Tegra2 libs, default setting is eglSwapInterval = 1, meaning wait for vsync, which is stupid for a benchmark (seriously.).

Indeed. Note, however, that none of the drivers on the platforms I have available (omap4, imx51, radeon/gallium) actually respect this (they are not locked to VSync by default and seem to ignore the eglSwapInterval() value).

In any case, we should explicitly set this to ensure correct behavior on all platforms (and comply with the standard!).

This is fixed in trunk rev. 79. Can you please validate the fix on Tegra2?