summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/gl/CLGLObject.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-04-26 03:58:02 +0200
committerMichael Bien <[email protected]>2011-04-26 03:58:02 +0200
commit315427ee632ada16ec48174f55f59588f95cd2b0 (patch)
tree6eb442ed8312892fd79abac4045fe95173a012bf /src/com/jogamp/opencl/gl/CLGLObject.java
parent557a0a94f42cb2d3d1fa77933af19a422d2f681c (diff)
more acquire/releaseGLObject methods, made CLGLObject interface public.
Diffstat (limited to 'src/com/jogamp/opencl/gl/CLGLObject.java')
-rw-r--r--src/com/jogamp/opencl/gl/CLGLObject.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/gl/CLGLObject.java b/src/com/jogamp/opencl/gl/CLGLObject.java
index f0081ce5..a9bad53d 100644
--- a/src/com/jogamp/opencl/gl/CLGLObject.java
+++ b/src/com/jogamp/opencl/gl/CLGLObject.java
@@ -38,7 +38,7 @@ import javax.media.opengl.GLContext;
*
* @author Michael Bien
*/
-interface CLGLObject {
+public interface CLGLObject {
/**
* Returns the OpenGL object id of this shared object.
@@ -46,6 +46,11 @@ interface CLGLObject {
public int getGLObjectID();
/**
+ * Returns the OpenCL object handle
+ */
+ public long getID();
+
+ /**
* Returns the OpenGL buffer type of this shared object.
*/
public GLObjectType getGLObjectType();