• 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: Better late than never! OpenCL Example (mostly)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Better late than never! OpenCL Example (mostly)


  • Subject: Re: Better late than never! OpenCL Example (mostly)
  • From: Darrin Cardani <email@hidden>
  • Date: Tue, 8 Sep 2009 10:02:10 -0700


On Sep 8, 2009, at 9:56 AM, Brian Gardner wrote:

What happens when an FxPlug that uses OpenCL
is run on an earlier OS that doesn't have OpenCL?

And is there a recommended way to test test for
that and handle it properly?


I believe that the plugin won't load since it has to be linked against the OpenCL framework.

If you want to handle loading OpenCL conditionally yourself, there's probably a way to do that. I know that at one time I wrote a plugin that had to work on OS 9 and OS X, and under OS X, I would manually load the Core Graphics library using CFBundleLoadExecutable () (I think), and then load individual function pointers using CFBundleGetFunctionPointerForName (). I'm not sure if that's the modern way of doing things or not, though. You might ask on the mac- opengl list how best to handle that. You can add yourself to the list here:

<http://lists.apple.com/mailman/listinfo/mac-opengl>

Darrin
--
Darrin Cardani
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Better late than never! OpenCL Example (mostly) (From: Darrin Cardani <email@hidden>)
 >Re: Better late than never! OpenCL Example (mostly) (From: Brian Gardner <email@hidden>)
 >Re: Better late than never! OpenCL Example (mostly) (From: Paul Schneider <email@hidden>)
 >Re: Better late than never! OpenCL Example (mostly) (From: Brian Gardner <email@hidden>)
 >Re: Better late than never! OpenCL Example (mostly) (From: Darrin Cardani <email@hidden>)
 >Re: Better late than never! OpenCL Example (mostly) (From: Brian Gardner <email@hidden>)

  • Prev by Date: Re: Better late than never! OpenCL Example (mostly)
  • Next by Date: Re: FCP, plugins and time/date format
  • Previous by thread: Re: Better late than never! OpenCL Example (mostly)
  • Next by thread: FCP, plugins and time/date format
  • Index(es):
    • Date
    • Thread