[SDL] SDL_Flip performance
tony at sonowise.com
Thu Jul 11 19:40:01 PDT 2002
The only way for SDL to get around the VSync problem is using the SDL_Flip. It works fine
except the performance is terrible. Seems to me that the driver uses polling method to detect
the Vertical retrace. It calls the kernel function too often so it eats up a lot of CPU time. Put the
SDL_Flip in a thread doesn't help at all because it also slows down other tasks.
Does anyone have a better way to detect the Vertical retrace?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL