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: Pelle Johansson <email@hidden>
- Date: Tue, 9 Mar 2004 22:12:44 +0100
2004-03-09 kl. 21.06 skrev Eric Boucher:
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 ?
I haven't tried it, but if a nonportable solution is ok you should be
able to use CGDisplayWaitForBeamPositionOutsideLines() or
CGDisplayBeamPosition() in the CoreGraphics framework for this effect.
HTH
--
Pelle Johansson
<email@hidden>
_______________________________________________
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.