summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/spi
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/opencl/spi')
-rw-r--r--src/com/jogamp/opencl/spi/CLAccessorFactory.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/spi/CLAccessorFactory.java b/src/com/jogamp/opencl/spi/CLAccessorFactory.java
new file mode 100644
index 00000000..6239bb37
--- /dev/null
+++ b/src/com/jogamp/opencl/spi/CLAccessorFactory.java
@@ -0,0 +1,18 @@
+/*
+ * Created on Wednesday, May 25 2011 00:53
+ */
+package com.jogamp.opencl.spi;
+
+import com.jogamp.opencl.CL;
+
+/**
+ * Implementations of this interface are factories responsible for creating CLAccessors.
+ * @author Michael Bien
+ */
+public interface CLAccessorFactory {
+
+ CLInfoAccessor createDeviceInfoAccessor(CL cl, long id);
+
+ CLPlatformInfoAccessor createPlatformInfoAccessor(CL cl, long id);
+
+}