• 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: CIImage slower than NSImage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CIImage slower than NSImage?


  • Subject: Re: CIImage slower than NSImage?
  • From: Kenny Leung <email@hidden>
  • Date: Tue, 22 Nov 2005 12:02:44 -0800

You're right! Now I feel like a dope. My PowerBook has an ATI Mobility Radeon 9600, which is not on Apple's CoreImage page. (The regular 9600 is) I just tried it on another PowerBook with an nVidia GeForce Go 5200, and performance is similar.

I did find, however, that you must use the CIContext API for the final drawing. If you use the AppKit convenience API and transform the current graphics context, you get even slower behaviour.

Thanks!

-Kenny


On Nov 22, 2005, at 11:11 AM, John Stiles wrote:

Um, honestly I wouldn't be so sure. What GPU does it have?

On Nov 22, 2005, at 11:00 AM, Kenny Leung wrote:

I have an original 15" aluminum powerbook. I'm pretty sure it's CoreImage compatible.

-Kenny


On Nov 22, 2005, at 10:37 AM, John Stiles wrote:

Is it possible that you're running your CoreImage tests on a Mac which doesn't have a CoreImage-compatible GPU?
The "compatibility" path for CoreImage uses the software OpenGL renderer; in honesty, it's kind of amazing that it works as fast as it does, but it's not going to be as fast as a custom hand- rolled routine that does scaling/rotation.



On Nov 22, 2005, at 9:54 AM, Kenny Leung wrote:

Also, the 128-bit floating point version of an image performs better than the 32-bit integer version!

-Kenny


On Nov 22, 2005, at 9:27 AM, Milton Sagen wrote:

I can't shed any light on it, but I found this to be true of scaling also, by about a factor of three. However, that was on the original PB 17". I haven't tried it on a newer machine with a newer graphics card. Maybe that's where the problem lies. Then again maybe CoreImage is at this point in time simply slower for these relatively simple operations and its power lies elsewhere.

Milt

On Nov 22, 2005, at 09:00, Kenny Leung wrote:

Hi All.

I am using CoreImage in my application, and I'm finding that geometric operations, particularly rotation, are much slower with CIImage than NSImage. In fact, rotating an NSImage causes no noticeable slowdown while rotating a CIImage causes a very noticeable slowdown.

Also, applying a transform to a CIImage as a filter yields different results than when the transform is applied to the current graphics context.

Can someone shed some light on this?

Thanks!

-Kenny

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to email@hidden



_______________________________________________ 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: CIImage slower than NSImage?
      • From: Kenny Leung <email@hidden>
References: 
 >CIImage slower than NSImage? (From: Kenny Leung <email@hidden>)
 >Re: CIImage slower than NSImage? (From: Milton Sagen <email@hidden>)
 >Re: CIImage slower than NSImage? (From: Kenny Leung <email@hidden>)
 >Re: CIImage slower than NSImage? (From: John Stiles <email@hidden>)
 >Re: CIImage slower than NSImage? (From: Kenny Leung <email@hidden>)
 >Re: CIImage slower than NSImage? (From: John Stiles <email@hidden>)

  • Prev by Date: Re: CIImage slower than NSImage?
  • Next by Date: Re: CIImage slower than NSImage?
  • Previous by thread: Re: CIImage slower than NSImage?
  • Next by thread: Re: CIImage slower than NSImage?
  • Index(es):
    • Date
    • Thread