• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CVDisplayLink slows down execution of independent NSTimer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: where do I find the files of the media templates on my harddisk?
  • Next by Date: Re: Synthesize getter in a NSThread
  • Previous by thread: Re: where do I find the files of the media templates on my harddisk?
  • Next by thread: How to start a Dashboard widget as soon as the user logs in?
  • Index(es):
    • Date
    • Thread