when i create OpenGL context then OpenCL context with enabled interoperability will it work with multiple GL context? |
OpenCL context is associated to a single context.
can i use shared buffers across all OpenGL context? |
If your OS allows OpenGL object sharing across multiple contexts, you can do that. But, it has nothing to do with OpenCL, beacuse you are sharing OpenGL objects and not OpenCL.
what happend if i delete first GL context which was used in creation OpenCL context? |
Context deletion can cause undefined behavior becuase OpenCL objects are valid as long as OpenGL objects are valid.