Re: Better late than never! OpenCL Example (mostly)
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