creating shared opencl context from render interface.