summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLGLContext.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-02-24 02:06:34 +0100
committerMichael Bien <[email protected]>2010-02-24 02:06:34 +0100
commit01775d5597d6d1ef4fff195f572c1a6528438f66 (patch)
tree5868fed2cce5addd388bffb729590b28b94d0196 /src/com/mbien/opencl/CLGLContext.java
parentd78faf0ef678cc87f5220d2cb8eccbe173449541 (diff)
code review. Fixed typos in javadoc and fixed some warnings.
Diffstat (limited to 'src/com/mbien/opencl/CLGLContext.java')
-rw-r--r--src/com/mbien/opencl/CLGLContext.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/mbien/opencl/CLGLContext.java b/src/com/mbien/opencl/CLGLContext.java
index 46f0dea3..e10ae6e7 100644
--- a/src/com/mbien/opencl/CLGLContext.java
+++ b/src/com/mbien/opencl/CLGLContext.java
@@ -28,7 +28,7 @@ public final class CLGLContext extends CLContext {
/**
* Creates a shared context on all available devices (CL_DEVICE_TYPE_ALL).
*/
- public static final CLGLContext create(GLContext glContext) {
+ public static CLGLContext create(GLContext glContext) {
return create(glContext, (CLPlatform)null, CLDevice.Type.ALL);
}
@@ -51,7 +51,7 @@ public final class CLGLContext extends CLContext {
* Creates a shared context on the specified devices.
* The platform to be used is implementation dependent.
*/
- public static final CLGLContext create(GLContext glContext, CLDevice... devices) {
+ public static CLGLContext create(GLContext glContext, CLDevice... devices) {
return create(glContext, null, devices);
}
@@ -59,7 +59,7 @@ public final class CLGLContext extends CLContext {
* Creates a shared context on the specified platform and with the specified
* device types.
*/
- public static final CLGLContext create(GLContext glContext, CLPlatform platform, CLDevice.Type... deviceTypes) {
+ public static CLGLContext create(GLContext glContext, CLPlatform platform, CLDevice.Type... deviceTypes) {
if(platform == null) {
platform = CLPlatform.getDefault();
@@ -77,7 +77,7 @@ public final class CLGLContext extends CLContext {
* Creates a shared context on the specified platform and with the specified
* devices.
*/
- public static final CLGLContext create(GLContext glContext, CLPlatform platform, CLDevice... devices) {
+ public static CLGLContext create(GLContext glContext, CLPlatform platform, CLDevice... devices) {
if(platform == null) {
platform = CLPlatform.getDefault();
@@ -97,7 +97,7 @@ public final class CLGLContext extends CLContext {
}
- private static final PointerBuffer setupContextProperties(CLPlatform platform, GLContext glContext, long[] glID) {
+ private static PointerBuffer setupContextProperties(CLPlatform platform, GLContext glContext, long[] glID) {
if(platform == null) {
throw new RuntimeException("no OpenCL installation found");