Re: The fastest way to render bitmaps to screen in Cocoa on Snow Leopard?
Re: The fastest way to render bitmaps to screen in Cocoa on Snow Leopard?
- Subject: Re: The fastest way to render bitmaps to screen in Cocoa on Snow Leopard?
- From: Ariel Feinerman <email@hidden>
- Date: Fri, 26 Mar 2010 01:02:43 +0200
Hi Oleg,
did you look for in Mac Reference Library?
http://developer.apple.com/mac/library/documentation/GraphicsImaging/Reference/QuartzCoreFramework/Classes/CIImage_Class/Reference/Reference.html
http://developer.apple.com/mac/library/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_intro/ci_intro.html
Maybe it is what you need:
http://developer.apple.com/mac/library/samplecode/CoreImageGLTextureFBO/index.html
2010/3/24 Oleg Krupnov <email@hidden>
> Hi,
>
> I need to open a bitmap file, perhaps do some filtering, and render it
> to the screen with the maximum possible performance.
>
> I am allowed to assume Snow Leopard.
>
> Now I am a bit confused what technology (-ies) I should use to achieve
> this in the fastest and easiest, and the most up-to-date way,
>
> (As always, it's difficult for a newbie to understand what is new and
> what is old, what is built on top of what, and what is the latest
> trend).
>
> It seems that I need to use Core Image (CIImage) to do the fastest
> filtering.
>
> How do I render this to screen? Do I need to use NSOpenGLView for
> this, or a custom NSView will do, what is more efficient?
>
> Obviously, Core Image is built on top of OpenGL, so that I don't seem
> to have to go down to OpenGL when I use Core Image, if I want optimal
> performance. But I am unsure about drawing the result to the screen.
> Will it somehow slow things down when I use good old NSGraphicContext
> to draw a CIImage?
>
> Thanks.
> _______________________________________________
>
> 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
>
--
best regards
Ariel
_______________________________________________
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