On Thu, Jan 30, 2003 at 11:14:13PM +1100, etienne deleflie wrote: > > thanks for your reply. I'm not sure that we are talking about the same > thing though. > > I want to be able to control the refresh rate programatically..... for a > piece of software used in live video performance. > > I dont know if my software is going to be spitting out 25 fps or 22.341 > fps (depending on how much processing i am trying to do)..... so I want > to make a call to the graphics card myself, to tell it to refresh > exactly after each frame has been drawn. That kind of control is simply not possible. Graphics controllers run on a continuous clock, feeding pixels out in a continuous stream. Further, because of the way you specify the clock divisors to the clock generator PLLs, you generally cannot get more than 2 digits of accuracy anyway.
No, you will need to adapt yourself to the graphics chip, not vice versa. You can do that in xvideo by using double-buffering, so that you're drawing into buffer 2 while buffer 1 is being displayed. -- - Tim Roberts, [EMAIL PROTECTED] Providenza & Boeklheide, Inc. _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel