tags:

views:

36

answers:

1

I've discovered CADisplayLink for IOS 3.1+ which triggers events when the display has been refreshed, effectively allowing you to synchronise with display updates without having to use NSTimer.

Is there an equivalent for timing when writing opengl applications under macos/cocoa?

+2  A: 

CVDisplayLink.

Ahruman
hah that was easy. :) I think I ignored a lot of things that came up in google as they all seemed iOS related.
Nick Sonneveld