On Sun, Feb 10, 2002 at 04:43:39PM -0800, Nicolas Cottaris wrote: > Hello, > > I am interested in developing a real-time graphics > application that will update the contents > of the framebuffer every 10 msec. > It is absolutely mandatory that this refresh rate is > kept steady with absolutely no frames dropped. > I was thinking of using SDL under RTLinux. > > 1. Has anyone tried this? > 2. Is there any other solution to guaranteeing a fixed > framebuffer refresh rate in SDL?
Broadly speaking, no. SDL is great, and you can garauntee that your samples can be taken at time limits [currently down to ~ 10usec, as far as I know]. You can then plot them out with SDL as and when you please... With a seriously dirty hack that /will/ explode in your face, you can update the framebuffer. Don't do it. Has it occurred to you that if this is all to be seen by a normal person, then they won't notice updates if they're that fast, anyways? A well-written SDL proggie will update faster-than-you-can-see, with 10msec being a reasonable speed to expect... but with no real-time constraints. Gary (-; -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/