Here is my situation.
1. Process A(cpp) operates a Image Pixel Data & performs various processing's & leaves the image on GPU
2. Process B(say java/cpp) Needs to pick up this Image & Render it on Screen.
Key Performance Criteria : Reading Image Back to CPU & Passing to Process B needs to be avoided.
1. Is there any mechanism currently available to share texture/image pixel data across processes ?
2. If not ? What would be the most optimized method the share the image without affecting the Performance criteria.
The mechanisim can be OpenCL , OpenGL or CUDA.