CVDisplayLink slows down execution of independent NSTimer
CVDisplayLink slows down execution of independent NSTimer
- Subject: CVDisplayLink slows down execution of independent NSTimer
- From: Travis Kirton <email@hidden>
- Date: Sun, 22 May 2011 02:25:56 +0200
Hi,
I am playing around with CVDisplayLink, I have it set up and running
properly.
I also have another method called update, which I am trying to run using a
timer set to 60.0 frames per second.
When I run the application without starting the CVDisplayLink, the update
function runs very near to 60.0 fps...
BUT, when the displaylink is running, the speed of the update drops to
somewhere between 12 and 14 fps...
I didn't expect such a drop.
Also, I am running this in an NSOpenGLView, and call [self setNeedsDisplay]
every time the displaylink triggers.
Any thoughts on the performance issue?
Cheers,
T
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden