[SDL] Re: extension for 2D with DRI

Pierre Phaneuf pp at ludusdesign.com
Thu Apr 13 20:37:39 PDT 2000

Dan Maas wrote:

> LOL... Actually, this brings up another point- how would one synchronize
> video playback to run precisely at say, 30fps? I presume it's impossible to
> guarantee a locked framerate on a non-realtime OS, but many Windows apps do
> quite a good job of it...

You probably need to use a proper sequence of accelerated blits and
finish/syncronize calls to the accelerator. If you use accelerated
blits, keeping up 30 fps is rather easy on modern systems.

Pierre Phaneuf

More information about the SDL mailing list