I've got an application that uses a CVDisplayLink to drive a QCRenderer (patterned basically off of the Quartz Composer Performer example app). However, there are occasions where the output exhibits some tearing (or shearing), as though the display link isn't quite synchronized with vsync.

This happens on my primary display with no additional display plugged in, and also happens when the visual is on the secondary display (perhaps somewhat more pronounced, but it's difficult to measure this kind of thing :). I'm receiving the NSWindowDidMoveNotification notification as outlined in the CoreVideo programming guide, and it's executing as the document describes (though this only applies to multi- display setups).

Here are some sample screen captures that demonstrate the shearing (the background images show it, not the text since it's stationary):
http://softpixel.com/~cwright/images/TearingCVDisplayLink01.jpg
http://softpixel.com/~cwright/images/TearingCVDisplayLink02.jpg
http://softpixel.com/~cwright/images/TearingCVDisplayLink03.jpg
http://softpixel.com/~cwright/images/TearingCVDisplayLink04.jpg
(safe for work, but boring)

What should I start looking into to resolve this? Are there any typical mistakes that would lead to this behaviour?

--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to