There seems to be a method to convert OpenGL renderings (from the video buffer) to an OpenCL cl_mem (clEnqueueAcquireGLObjects). It is then also possible to transfer the cl_mem images to OpenCV UMats using
cv::ocl::convertFromImage
Is there a shortcut for GL to CV direct?
I know OpenCV has the cv::ogl capability, however I have some complicated renderings with 2 different shaders (GLSL) being used, I haven't found too much discussion of cv::ogl and shaders.
Thanks!