From 0135df38d6ccdf17283a26c9c56adb08a0e6d30e Mon Sep 17 00:00:00 2001 From: Wade Walker Date: Sun, 4 Oct 2015 14:08:22 -0500 Subject: Remove CLGL interface This removes the last sub-interface that would have to be separately versioned for future versions of OpenCL. After this, new OpenCL versions will only create one new interface and one new implementation. --- src/com/jogamp/opencl/CLCommandQueue.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/com/jogamp/opencl/CLCommandQueue.java') diff --git a/src/com/jogamp/opencl/CLCommandQueue.java b/src/com/jogamp/opencl/CLCommandQueue.java index 5dda0946..f95576b6 100644 --- a/src/com/jogamp/opencl/CLCommandQueue.java +++ b/src/com/jogamp/opencl/CLCommandQueue.java @@ -47,7 +47,6 @@ import com.jogamp.common.nio.CachedBufferFactory; import com.jogamp.common.nio.PointerBuffer; import com.jogamp.opencl.gl.CLGLObject; import com.jogamp.opencl.llb.CL; -import com.jogamp.opencl.llb.gl.CLGL; /** * The command queue is used to queue a set of operations for a specific {@link CLDevice}. @@ -1701,9 +1700,7 @@ public class CLCommandQueue extends CLObjectResource { conditions = condition.size; } - final CLGL xl = (CLGL) cl; - - final int ret = xl.clEnqueueAcquireGLObjects(ID, glObjectIDs.remaining(), glObjectIDs, + final int ret = cl.clEnqueueAcquireGLObjects(ID, glObjectIDs.remaining(), glObjectIDs, conditions, conditionIDs, events==null ? null : events.IDs); @@ -1770,9 +1767,7 @@ public class CLCommandQueue extends CLObjectResource { conditions = condition.size; } - final CLGL xl = (CLGL) cl; - - final int ret = xl.clEnqueueReleaseGLObjects(ID, glObjectIDs.remaining(), glObjectIDs, + final int ret = cl.clEnqueueReleaseGLObjects(ID, glObjectIDs.remaining(), glObjectIDs, conditions, conditionIDs, events==null ? null : events.IDs); -- cgit v1.2.3