On 17 Jun 2011, at 00:18, Uli Kusterer wrote:

On 17.06.2011, at 03:08, Ken Tozier wrote:
On Jun 16, 2011, at 12:34 PM, Stephen Blinkhorn wrote:
A quick test on a 2GHz iMac takes at least twice as long 4.5 seconds to generate a 10,000 X 10,000 CGLayer of noise.

Stephen

Thanks. Difference could just be the processor. My laptop has a 2.4 GHz core i5

Might also be the GPU. After all, CoreImage's whole point is that it runs on the GPU preferably, and frees the CPU up for other uses.

This is great for my purposes as I want to keep as much CPU power available for the main processing (audio app) and not consume it all in the GUI.

Saying that, I've found that the CPU requirements of the raw drawing code (even with relatively fast refresh rates of 20-25 FPS) pales into insignificance when compared to the objective-c messaging overhead of co-ordinating the redrawing. Cocoa seems to need to do a lot of leg work with respect to view drawing.

Anyway, glad I learnt all about CIImage!

Thanks,
Stephen



Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://groups.yahoo.com/group/mac-gui-dev/



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/stephen%40audiospillage.com

This email sent to step...@audiospillage.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to