Asier Goikoetxea Yanci ([EMAIL PROTECTED]):

> I have writen an application to scroll a text on a window (just like
> kbanner screen saver but on a window). I provide different texts and
> the program scrolls them one after the other quite smoothly.

  Cool, I've been working on the same thing.

> However, there is an issue that I didn't manage to solve, flickering.
> I've been searching and I found that the flickering is caused because
> the print is not synchronised with the vertical frecuency/signal (or
> at least is what I understood). It seems that printing the text on the
> screen/window when vblank is happening solves the problem of
> flickering. And it seems that I have to use SYNC extension in order to
> solve this problem. Am I right? Correct me please if I am wrong.

  I'm writing a paper on this topic where I discuss methods of refresh
sync and polling the refresh when the application intends to draw at the
refresh rate of the monitor, or close to it:

  http://scanline.ca/smooth/

  If you want to email me off-list I can send you my code
(headlines-0.2.tar.gz in that dir is an ok start, but I have some more
generalized stuff I haven't yet released) and also discuss the methods
in more detail.  It would help me finish that paper :)

> Well, the thing is that I have not clue on how to use SYNC extension,
> not even if it would solve my problem. Any suggestion is wellcome.

  The SYNC extension as it currently exists won't help you.

  -Billy
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to