summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLPlatform.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-05-28 13:51:04 +0200
committerMichael Bien <[email protected]>2011-05-28 13:51:04 +0200
commitc06bdd44da347a55d69cc764ecbe698e80db99be (patch)
tree06d3fca6f4969718a77b5aa406984c1d9d2151f1 /src/com/jogamp/opencl/CLPlatform.java
parent098144aa185f396933c52af6c59201add4978b21 (diff)
CLContext uses now CLContextBinding interface.
Diffstat (limited to 'src/com/jogamp/opencl/CLPlatform.java')
-rw-r--r--src/com/jogamp/opencl/CLPlatform.java55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/CLPlatform.java b/src/com/jogamp/opencl/CLPlatform.java
index a494edcb..3b65b41f 100644
--- a/src/com/jogamp/opencl/CLPlatform.java
+++ b/src/com/jogamp/opencl/CLPlatform.java
@@ -28,6 +28,11 @@
package com.jogamp.opencl;
+import com.jogamp.opencl.llb.CLPlatformBinding;
+import com.jogamp.opencl.llb.CLProgramBinding;
+import com.jogamp.opencl.llb.CLSamplerBinding;
+import com.jogamp.opencl.llb.CLKernelBinding;
+import com.jogamp.opencl.llb.CLImageBinding;
import com.jogamp.opencl.llb.CL;
import com.jogamp.opencl.impl.CLTLAccessorFactory;
import com.jogamp.common.nio.Buffers;
@@ -36,6 +41,12 @@ import com.jogamp.common.JogampRuntimeException;
import com.jogamp.common.os.NativeLibrary;
import com.jogamp.common.nio.NativeSizeBuffer;
import com.jogamp.gluegen.runtime.FunctionAddressResolver;
+import com.jogamp.opencl.llb.CLBufferBinding;
+import com.jogamp.opencl.llb.CLCommandQueueBinding;
+import com.jogamp.opencl.llb.CLContextBinding;
+import com.jogamp.opencl.llb.CLDeviceBinding;
+import com.jogamp.opencl.llb.CLEventBinding;
+import com.jogamp.opencl.llb.CLMemObjBinding;
import com.jogamp.opencl.spi.CLPlatformInfoAccessor;
import com.jogamp.opencl.util.CLUtil;
import com.jogamp.opencl.llb.impl.CLImpl;
@@ -539,6 +550,50 @@ public class CLPlatform {
return info;
}
+ protected CLBufferBinding getBufferBinding() {
+ return cl;
+ }
+
+ protected CLCommandQueueBinding getCommandQueueBinding() {
+ return cl;
+ }
+
+ protected CLContextBinding getContextBinding() {
+ return cl;
+ }
+
+ protected CLDeviceBinding getDeviceBinding() {
+ return cl;
+ }
+
+ protected CLEventBinding getEventBinding() {
+ return cl;
+ }
+
+ protected CLImageBinding getImageBinding() {
+ return cl;
+ }
+
+ protected CLKernelBinding getKernelBinding() {
+ return cl;
+ }
+
+ protected CLMemObjBinding getMemObjectBinding() {
+ return cl;
+ }
+
+ protected CLPlatformBinding getPlatformBinding() {
+ return cl;
+ }
+
+ protected CLProgramBinding getProgramBinding() {
+ return cl;
+ }
+
+ protected CLSamplerBinding getSamplerBinding() {
+ return cl;
+ }
+
@Override
public String toString() {
return "CLPlatform [name: " + getName()