shared opencl/gl mem object acquire/release interface.