• 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
Re: Frame rate check
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frame rate check


  • Subject: Re: Frame rate check
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 4 Jun 2008 07:43:14 -0700

On Tue, Jun 3, 2008 at 11:38 PM, Davide Scheriani
<email@hidden> wrote:
> yes I was looking just to see the times draawREct get called.
> is it a weay to set a limit framerate as well? mean 25fps or to
> ask from the cpu/gpu 120fps?

When you are asked to draw (drawRect:) you really must draw what is asked.

If you want to reduce how much you draw consider either caching what
you render in someway and only composite/blit what is asked or ensure
that calls to setNeedsDisplay:, etc. only happen periodically (NSTimer
firing at 25 HZ for example.) assuming you are trying to do some type
of animation.

-Shawn
_______________________________________________

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

References: 
 >Frame rate check (From: Davide Scheriani <email@hidden>)
 >Re: Frame rate check (From: Graham Cox <email@hidden>)
 >Re: Frame rate check (From: Davide Scheriani <email@hidden>)

  • Prev by Date: Re: How to implement window fade-in fade-out effects
  • Next by Date: Re: How to implement window fade-in fade-out effects
  • Previous by thread: Re: Frame rate check
  • Next by thread: Re: Frame rate check
  • Index(es):
    • Date
    • Thread