Hi, im trying to do a 3D engine. I want to do most of the engine math on the GPU, so im using openCL. The problem im having is, how to get the image from video memory on my screen? Copying to host memory is too slow to get atleast 60fps. OpenCL does not seem to have any direct drawing functions. I found something about sharing a texture with OpenGL and then let OpenGL draw it. But after exploring OpenGL a bit .. that is really not the way I would like to do it(too complicated as my knowledge of OpenGL is close to 0). Also I couldnt find any simple tutorial on how to do it. All tutorials have 500-2000 lines of code, multiple source code files.. and do a lot of other stuff I dont need/understand.
So is there actualy any simple solution .. or a simple tutorial for C++ or Java on how to do it?.