aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/mbien
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-29 04:14:25 +0200
committerMichael Bien <[email protected]>2010-03-29 04:14:25 +0200
commit5a6520db82ea91cda4630ad82c63ebf1cf44ce7f (patch)
tree5d109d384278fee5451691a4c476f8767c4a8c97 /src/com/mbien
parentbc5b61753267d3f9be27fc7f869b7ac7f5fa3197 (diff)
changes due to BufferFactory -> Buffers renaming in gluegen.
Diffstat (limited to 'src/com/mbien')
-rw-r--r--src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java2
-rw-r--r--src/com/mbien/opencl/demos/julia3d/structs/Camera.java2
-rw-r--r--src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java2
-rw-r--r--src/com/mbien/opencl/demos/julia3d/structs/Vec.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java b/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java
index f47cd6f..c7fd23d 100644
--- a/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java
+++ b/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java
@@ -38,7 +38,7 @@ import javax.media.opengl.awt.GLCanvas;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
-import static com.jogamp.gluegen.runtime.BufferFactory.*;
+import static com.jogamp.gluegen.runtime.Buffers.*;
import static javax.media.opengl.GL2.*;
import static com.mbien.opencl.CLMemory.Mem.*;
import static com.mbien.opencl.CLEvent.ProfilingCommand.*;
diff --git a/src/com/mbien/opencl/demos/julia3d/structs/Camera.java b/src/com/mbien/opencl/demos/julia3d/structs/Camera.java
index 2263a2c..a160986 100644
--- a/src/com/mbien/opencl/demos/julia3d/structs/Camera.java
+++ b/src/com/mbien/opencl/demos/julia3d/structs/Camera.java
@@ -21,7 +21,7 @@ public abstract class Camera {
}
public static Camera create() {
- return create(BufferFactory.newDirectByteBuffer(size()));
+ return create(Buffers.newDirectByteBuffer(size()));
}
public static Camera create(java.nio.ByteBuffer buf) {
diff --git a/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java b/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
index d488dce..0f29bc7 100644
--- a/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
+++ b/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
@@ -21,7 +21,7 @@ public abstract class RenderingConfig {
}
public static RenderingConfig create() {
- return create(BufferFactory.newDirectByteBuffer(size()));
+ return create(Buffers.newDirectByteBuffer(size()));
}
public static RenderingConfig create(java.nio.ByteBuffer buf) {
diff --git a/src/com/mbien/opencl/demos/julia3d/structs/Vec.java b/src/com/mbien/opencl/demos/julia3d/structs/Vec.java
index be2efc7..89a79dd 100644
--- a/src/com/mbien/opencl/demos/julia3d/structs/Vec.java
+++ b/src/com/mbien/opencl/demos/julia3d/structs/Vec.java
@@ -21,7 +21,7 @@ public abstract class Vec {
}
public static Vec create() {
- return create(BufferFactory.newDirectByteBuffer(size()));
+ return create(Buffers.newDirectByteBuffer(size()));
}
public static Vec create(java.nio.ByteBuffer buf) {