summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-26 03:11:15 +0200
committerMichael Bien <[email protected]>2010-04-26 03:11:15 +0200
commit552a8d5d570a50829c7361dddcd35b2fe230c44e (patch)
treee9f4b17d68c1c7d00e3f75df7b7bce2311d9d7c8 /src
parent22cf865f702cac07a5059f45baace1d1caf5dfdb (diff)
continued with callbacks.
- started with context error callback - finished build program callback
Diffstat (limited to 'src')
-rw-r--r--src/com/jogamp/opencl/BuildProgramCallback.java2
-rw-r--r--src/com/jogamp/opencl/CreateContextCallback.java3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/BuildProgramCallback.java b/src/com/jogamp/opencl/BuildProgramCallback.java
index 9969c918..c37891ec 100644
--- a/src/com/jogamp/opencl/BuildProgramCallback.java
+++ b/src/com/jogamp/opencl/BuildProgramCallback.java
@@ -14,6 +14,6 @@ public interface BuildProgramCallback {
* Called when the program executable
* has been built (successfully or unsuccessfully).
*/
- public void buildProgramCallback(long cl_program);
+ public void buildFinished(long cl_program);
}
diff --git a/src/com/jogamp/opencl/CreateContextCallback.java b/src/com/jogamp/opencl/CreateContextCallback.java
index a73b6298..7a502134 100644
--- a/src/com/jogamp/opencl/CreateContextCallback.java
+++ b/src/com/jogamp/opencl/CreateContextCallback.java
@@ -6,9 +6,8 @@ import java.nio.ByteBuffer;
*
* @author Michael Bien
*/
-// TODO implement callbacks
public interface CreateContextCallback {
- public void createContextCallback(String errinfo, ByteBuffer private_info, long cb);
+ public void onError(String errinfo, ByteBuffer private_info, long cb);
}