AnsweredAssumed Answered

OpenGLES and OpenCL Together

Question asked by bcompter on Jul 16, 2013
Latest reply on Aug 15, 2013 by Sébastien Taylor
Branched to a new discussion

I'm working with an imx6 chip and I have been able to compile and run both OpenGLES and OpenCL demonstration programs on my target device without difficulty.

 

My area of interest is in image processing for a display. I would like to be able to perform pre-processing using OpenCL and then pass that data into OpenGLES textures to be displayed on the screen.  Each works fine by itself but when I combine the applications my screen goes blank.

 

I initialize OpenGL first and them OpenCL.  I suspect that when I initialize OpenCL I am taking over resources from OpenGLES.  Is it possible to run these two on the same system within the same application?  It seems to me that this should be possible.

 

Thanks,

Brian

Outcomes