There's a long discussion on this thread: http://forum.jogamp.org/JOCL-texture-generation-td4031853.html Write a JUnit test for this so we can test on all our platforms.
Test created in branch https://github.com/WadeWalker/jocl/tree/bug_1003_add_texture_interop_test in the file https://github.com/WadeWalker/jocl/blob/bug_1003_add_texture_interop_test/test/com/jogamp/opencl/gl/CLGLTest.java. Waiting for Jenkins to be restarted so I can test in the cluster (works on my 3 video cards, though).
Test pushed to master. Fails texel value comparison on linux-x86_32-nvidia and linux-x86_64-nvidia, but works fine everywhere else.