diff options
author | Michael Bien <[email protected]> | 2010-09-02 23:45:05 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-09-02 23:45:05 +0200 |
commit | bc4e1521cc2ccc91a033998847dc35e1a8c8687b (patch) | |
tree | ebd2a6e94b69519afc5aed07ebf49b03b80fbaea /src/com/jogamp/opencl/impl/CLMemObjectDestructorCallback.java | |
parent | 048f09aafe49e4eaddfe25ec4b302268510bc27b (diff) |
CLMemObjectDestructorCallback for HLB and LLB.
Diffstat (limited to 'src/com/jogamp/opencl/impl/CLMemObjectDestructorCallback.java')
-rw-r--r-- | src/com/jogamp/opencl/impl/CLMemObjectDestructorCallback.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/impl/CLMemObjectDestructorCallback.java b/src/com/jogamp/opencl/impl/CLMemObjectDestructorCallback.java new file mode 100644 index 00000000..df6f18f6 --- /dev/null +++ b/src/com/jogamp/opencl/impl/CLMemObjectDestructorCallback.java @@ -0,0 +1,19 @@ +/* + * Created on Thursday, September 02 2010 23:09 + */ + +package com.jogamp.opencl.impl; + +/** + * A callback which is invoked by the OpenCL implementation when the memory + * object is deleted and its resources freed. + * @author Michael Bien + */ +public interface CLMemObjectDestructorCallback { + + /** + * + */ + public void memoryDeallocated(long memObjID); + +} |