On Fri, 30 May 2003 11:05:10 -0500 Billy Biggs <[EMAIL PROTECTED]> babbled:
> Carsten Haitzler ([EMAIL PROTECTED]): > > > On Fri, 30 May 2003 13:16:54 +0100 Asier Goikoetxea Yanci > > <[EMAIL PROTECTED]> babbled: > > > > > Hi there, > > > > > > 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. > > > > > > 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. > > > > > > Well, the thing is that I have not clue on how to use SYNC extension, not > > > even > > > > that still wont solve the problem. use double buffering. draw to a > > pixmap - then when drawing is done copy it to the window. > > That will solve flickering, won't solve tearing. I'd argue that both > are pretty important. :) flickering is MUCH worse than tearing. the pixmap solution works everywhere, everytime. no extensions needed. :) also u cant avoid tearing if u 1. cant page flip and 2. copying from pixmap to window is slower than the screen scan. :) > > -Billy > > > > > > if it would solve my problem. Any suggestion is wellcome. > > > > > > Thank you. > > > > > > Asier > > > _______________________________________________ > > > Devel mailing list > > > [EMAIL PROTECTED] > > > http://XFree86.Org/mailman/listinfo/devel > > > > > > -- > > --------------- Codito, ergo sum - "I code, therefore I am" > > -------------------- The Rasterman (Carsten Haitzler) > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > Mobile Phone: +61 (0)413 451 899 Home Phone: 02 9698 8615 > > _______________________________________________ > > Devel mailing list > > [EMAIL PROTECTED] > > http://XFree86.Org/mailman/listinfo/devel > _______________________________________________ > Devel mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/devel -- --------------- Codito, ergo sum - "I code, therefore I am" -------------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] [EMAIL PROTECTED] Mobile Phone: +61 (0)413 451 899 Home Phone: 02 9698 8615 _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
