aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/gl/CLGLObject.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-05-18 03:51:10 +0200
committerSven Gothel <[email protected]>2011-05-18 03:51:10 +0200
commit773060662ef81707f70c447b71e664635ac45e2a (patch)
treef52c9e24b80902b08422005192df5b525f85489b /src/com/jogamp/opencl/gl/CLGLObject.java
parenteceed6e10c7d6cb19e8ad3c1bf5ea20450d6fae1 (diff)
parentf12e3a9d7ac644abc98a51dc51786cf7c5b67851 (diff)
resolve conflicts
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();