Hi!
I want to do a fast, fluent animation with XFree86.
To avoid tearing effects, I need to do two things:
1) Use some sort of double-buffering technique DONE
(I use Xdbe or a pixmap+XCopyArea for that)
2) Synchronize the swapping of the buffers with TBD
the vertical retrace of the screen.
The second point gives me serious headaches. I tried the following things:
2a) Use the SYNC-Extension.
That does not work because my Xserver does not offer
a server counter for synchronizing with the CRT.
(My Xserver only offers one server counter, 'SERVERTIME')
2b) Use the XF86VidMode-Extension.
I hoped that setting the viewport would force synchronization with
the screen. At first, everything seemed to work fine. Then I found
out that some Xservers (Matrox, nvidia2) apparently sync with the
vertical retrace of the screen. Others, however, do not sync (ATI).
2c) Rely on DBE to do the synchronization.
Apparently, DBE does not synchronize with the screen with
performing a request 'XdbeSwapBuffers' (at least with XFree86-4.x).
You can find the various tests that I did on:
http://www.complang.tuwien.ac.at/skral/download/eyefriendly_xfree86/
Any kind of help is appreciated!
Best Regards,
Stefan Kral
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert