Re: 2ND TRY: Double buffer and sync to vblank
Re: 2ND TRY: Double buffer and sync to vblank
- Subject: Re: 2ND TRY: Double buffer and sync to vblank
- From: John Harper <email@hidden>
- Date: Tue, 9 Mar 2004 13:45:09 -0800
On Mar 9, 2004, at 12:06 PM, Eric Boucher wrote:
I have an X11 double buffer (DBE) client that does animation using the
Mac OS 10 XFree86 Xserver. The buffer swapping on Mac oubviously does
not sync with vblank as I can see tearing effects in the application
window. (The same application works fine on Solaris Sparc where the
buffer swapping sync with vblank is done at the graphics card driver
level.)
My question:
On Mac OS 10, is there a way I can sync my application to the vertical
retrace of the screen in order to suppress these tearing effects ?
The system used is a 17-in Aluminum Powerbook, 1.33GHz processor speed.
The OS is Mac OS X 10.3.2
As far as I know, double buffering is implemented by having two pixmaps
and drawing them into the window when swapped. All normal window
updates are beam-synced on Mac OS X, so X11 shouldn't need to do
anything special here. It's possible that beam syncing may be broken on
your OS/hardware combination, is it possible for you to try another
system with a different graphics card? (e.g. Nvidia instead of ATI) Do
you have a test program that shows the tearing?
John
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.