I would like to save a call to clFinish() in OpenCL before using cl_command_queue result in OpenGL (I have a shared image/texture used in OpenCL/GL).
I found in the book "OpenCL Programming by Example" (p. 243) that creating a GLsync from an OpenCL event using glCreateSyncFromCLeventARB is the way to do this.
The problem is that this function seems to be unsupported on Apple platform.
I'm aware that Apple has their own way to implement OpenGL/OpenCL interoperability using GCD. However, I understand that this would require me to completely change my code and use a non standard OpenCL API for everything, and I want my code to be cross-platform (except minor adaptations where necessary).
Any other alternative to glCreateSyncFromCLEventARGB?