aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-09-23 01:32:54 +0200
committerMichael Bien <[email protected]>2009-09-23 01:32:54 +0200
commit0ac4a12fb74de16f41ee9ad46e917b45523bbac4 (patch)
treed9072115c60805c0f50df2ae4cd90227e6c10cea /src/com/mbien/opencl
parent8ba956a7df1b98ed2957a932debfce4c6d4cb848 (diff)
splitted binding in core (CL) and CL-GL interop. (CLGLI)
began with custom impl. for functions with c -> java callbacks added an utility which uncomments function parameter names in headers
Diffstat (limited to 'src/com/mbien/opencl')
-rw-r--r--src/com/mbien/opencl/CreateContextCallback.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/CreateContextCallback.java b/src/com/mbien/opencl/CreateContextCallback.java
new file mode 100644
index 00000000..b25c05fd
--- /dev/null
+++ b/src/com/mbien/opencl/CreateContextCallback.java
@@ -0,0 +1,13 @@
+package com.mbien.opencl;
+
+import java.nio.ByteBuffer;
+
+/**
+ *
+ * @author Michael Bien
+ */
+public interface CreateContextCallback {
+
+ public void createContextCallback(String errinfo, ByteBuffer private_info, long cb, Object user_data);
+
+}