For the record, it looks like this is fixed in the Vista version of the driver, as the output I'm getting is t1: 3ms t2: 0 ms
Another plus for the OGL rewrite from ATI it seems [smile]
Flipping buffers takes unreasonably much time.
Quote:Original post by PureW
Someone was right, it was the ati drivers.
I tried it on my new computer, with an Nvidia 6800le card, and I could
render twice that amount, 12000 bugs in 11 ms, with the flip taking 0 ms.
Thank you all!
I tried glFinish() this morning and something strange surfaced.
Without glFinish, flipping buffers took some time, but when I added
glFinish as is seed below, flipping buffers took 0ms.
xTimer t(1); glClear( GL_COLOR_BUFFER_BIT ); glLoadIdentity(); keepOn = events.checkEvents(); draw(); std::cout << "t1: " << (int)t.Elapsedms() << " ms.\t"; glFinish(); xTimer t2(1); SDL_GL_SwapBuffers(); std::cout << "t2: " << (int)t2.Elapsedms() << " ms.\n";
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement