Re: How do I sync output changes to vertical retrace?

Mark Vojkovich <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Mon, 13 Feb 2006, Barry Scott wrote:

> I have a text scrolling app that is not playing smoothly.
>
> Attempting to update the windows on a timer is not keeping my changes in
> sync with the monitors refresh. This is causing visual glitches.
>
> What mechanisms can I use to lock my changes to the monitor refresh rate?

  The only mechanism I know of is OpenGL.  Most OpenGL drivers have
a mechanism to allow buffer swapping at vblank.

> If I use DBE is it going to change the screen in the vertical blanking
> interval?
>

   No, it won't.  At least not in the XFree86/X.org implementations.


		Mark.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.