I'm creating an OpenFX plugin to do some image processing for a VR system.
As both our existing processing code, and the host the plugin is intended for, are based on OpenCL, the host developers have given me an extension to OFX to share the OpenCL environment.
However - our code uses the C++ API (cl::Context), and the extension they've provided gives me a pointer to a C cl_context.
Is there any way for me to create a cl::Context from a cl_context, without taking ownership of the latter? (and the same for the cl::CommandQueue from cl_command_queue). The API docs online suggest that both the copy constructor and assignment operator take ownership.