diff options
author | Wade Walker <[email protected]> | 2015-10-04 14:08:22 -0500 |
---|---|---|
committer | Wade Walker <[email protected]> | 2015-11-08 14:05:31 -0600 |
commit | 0135df38d6ccdf17283a26c9c56adb08a0e6d30e (patch) | |
tree | 5dc9c2b4cee919684cbff454860052fadded2705 /src/com/jogamp/opencl/CLCommandQueue.java | |
parent | 37c656e3290ff855e1752f9b8a4b830da3000b85 (diff) |
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.
Diffstat (limited to 'src/com/jogamp/opencl/CLCommandQueue.java')
-rw-r--r-- | src/com/jogamp/opencl/CLCommandQueue.java | 9 |
1 files changed, 2 insertions, 7 deletions
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); |