• 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: Core Image performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Image performance


  • Subject: Re: Core Image performance
  • From: Eric Blanpied <email@hidden>
  • Date: Thu, 26 Oct 2006 13:29:18 -0700

So this would be instead of doing it on drawRect:?

-e


On Oct 26, 2006, at 12:38 pm, Rosyna wrote:

You might want to look at CVDisplayLink() which I've found very CPU non-intensive and quite lovely all around. It only asks you to render/draw when the display is being refreshed (or 60 FPS for LCDs). It's great at limiting CPU usage.

Ack, at 10/26/06, Eric Blanpied said:

I've got an app that's doing a full screen transition between images via a Core Image Filter, and I'm surprised to find that the performance is pretty bad. All I've heard about CI seemed to say that it took care of the hooks to the graphics hardware automatically. I guess I'm wrong.

My basic approach is to put up a full screen borderless window with a custom view. The custom view uses the CIDissolveTransition, and has an NSTimer which repeatedly triggers a method that bumps the time value on the transition along.

It's nice and smooth at maybe half screen, but any bigger and it just can't keep up.

Could it be that all the Cocoa stuff involved with the NSTimer is really inefficient? Is it a bad idea to try and stick it in a window like that? I need it to remain a basic cocoa window because I've got to stick another window on top of it with various controls.

Any advice would be great. If there's a better place to get help on this, that would be good to know, too. I hesitate to go to the Quartz dev list, since my feeling is that conversation would quickly leave the realm of Cocoa, where I'd like to stay, if possible.

--


Sincerely, Rosyna Keller Technical Support/Carbon troll/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Core Image performance
      • From: Rosyna <email@hidden>
References: 
 >Core Image performance (From: Eric Blanpied <email@hidden>)
 >Re: Core Image performance (From: Rosyna <email@hidden>)

  • Prev by Date: Re: Core Image performance
  • Next by Date: Re: Core Image performance
  • Previous by thread: Re: Core Image performance
  • Next by thread: Re: Core Image performance
  • Index(es):
    • Date
    • Thread