I d'like to draw as many frames as possible with OpenGL on Mac OS X to measure the performance on different scenes. What I've tried so far:
Using a
CVDisplayLinkthat hasNSOpenGLCPSwapIntervalset to 0, so it does not sync with the Display. But with that it's still stuck at max 60FPSUsing normal -drawRect: with a timer that fires 1/1000sec and calls
-setNeedsDisplay:Still not more than 60FPSSame as 2. but I call -display in the timer callback. With that I get the FPS above 60, but it still stops at 100-110 FPS. Although the frame rate should easily be at 10times more.
Andy idea how I can really draw as many frames as possible?