I do not know is i choose the rigth place to post it. I am new ;))
I would like to be able to share Image betwwen java OpenGL ES and C++ OpenCL. I fact there is no problem sending data from C++ to Java Opengl ES but the opposite way seems not to be working cause of Java OpenGL Context not shared or very slow using MakeCurrent.
So i thought about using Vulkan to make a bridge between both. But it is just an idea. So before starting i think that asking a question about the faesability i not a bad idea.
So the question is :
does anyone could tell me if the bridge option could be possible to implement. And what could be the approch of the problem. Some other idea are of course welcomed ;))
My approch would be to mix java openGL ES and java vulkan and send the buufer adresse of the Image to C++ to preform OpenCL work. So traitement could be done in Opencl then send to OpenGL shader and back to OpenCL.
I know taht it could be easyer to do everithing in C++ directly. But I have a game motor already running in Java and i do not want to rewrite it in C++. Java IDE is very much easyer to practice than C++ code. And i am using VR in JAva already. So it is a lot of work going back to pure C or C++.
Thanks in advance for the help.
Regards herve terrolle from Paris ;))