Add timing for SDL_GL_SwapBuffers