From 5a6520db82ea91cda4630ad82c63ebf1cf44ce7f Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Mon, 29 Mar 2010 04:14:25 +0200 Subject: changes due to BufferFactory -> Buffers renaming in gluegen. --- src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java | 2 +- src/com/mbien/opencl/demos/julia3d/structs/Camera.java | 2 +- src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java | 2 +- src/com/mbien/opencl/demos/julia3d/structs/Vec.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/com') 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) { -- cgit v1.2.3