Jogamp
changes due to BufferFactory -> Buffers renaming in gluegen.
authorMichael Bien <mbien@fh-landshut.de>
Mon, 29 Mar 2010 02:14:25 +0000 (04:14 +0200)
committerMichael Bien <mbien@fh-landshut.de>
Mon, 29 Mar 2010 02:14:25 +0000 (04:14 +0200)
src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java
src/com/mbien/opencl/demos/julia3d/structs/Camera.java
src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
src/com/mbien/opencl/demos/julia3d/structs/Vec.java

index f47cd6f..c7fd23d 100644 (file)
@@ -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.*;
index 2263a2c..a160986 100644 (file)
@@ -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) {
index d488dce..0f29bc7 100644 (file)
@@ -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) {
index be2efc7..89a79dd 100644 (file)
@@ -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) {
http://JogAmp.org git info: FAQ, tutorial and man pages.