On Mon, 2008-05-05 at 15:43 +0100, Samuel Thibault wrote:> Michel Dänzer, le Mon 05 May 2008 10:22:19 +0200, a écrit :> > On Sun, 2008-05-04 at 20:06 +0200, Johan Walles wrote:> > > > > > I would like to wait for vertical retrace in an X application. How> > > can I do that?> > > > > > The point would be to avoid flicker in my app by using double> > > buffering and update the on-screen image during vertical retrace.> > > > There's no mechanism for this yet in X. Your best bet is probably to use> > OpenGL, e.g. the GLX_SGI_swap_control extension.> > Isn't there a more simple double buffering X extension? You mean DOUBLE-BUFFER? I'm not really familiar with it, but I know thatat this time it can't synchronize buffer swaps to the refresh. -- Earthling Michel Dänzer | http://tungstengraphics.comLibre software enthusiast | Debian, X and DRI developer _______________________________________________xorg mailing listxorg@xxxxxxxxxxxxxxxxxxxxxxxxx://lists.freedesktop.org/mailman/listinfo/xorg