From d9fe5c4aee7547bb89571c19c89ad173b63a4598 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 12 Mar 2015 13:18:02 +0100 Subject: Fix API Doc: GLBufferObjectTracker / GLBufferStorage --- .../classes/com/jogamp/opengl/GLBufferStorage.java | 19 +++++++++++++------ .../classes/jogamp/opengl/GLBufferObjectTracker.java | 15 +++++++++------ 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/jogl/classes/com/jogamp/opengl/GLBufferStorage.java b/src/jogl/classes/com/jogamp/opengl/GLBufferStorage.java index 35ecf8799..d027e36d7 100644 --- a/src/jogl/classes/com/jogamp/opengl/GLBufferStorage.java +++ b/src/jogl/classes/com/jogamp/opengl/GLBufferStorage.java @@ -42,7 +42,8 @@ import java.nio.IntBuffer; * Buffer storage is created via: * @@ -54,7 +55,8 @@ import java.nio.IntBuffer; * @@ -62,21 +64,26 @@ import java.nio.IntBuffer; *

* GL buffer storage is mapped via *

*

*

* GL buffer storage is unmapped via *

*

*/ diff --git a/src/jogl/classes/jogamp/opengl/GLBufferObjectTracker.java b/src/jogl/classes/jogamp/opengl/GLBufferObjectTracker.java index 89b23139f..717ee2cab 100644 --- a/src/jogl/classes/jogamp/opengl/GLBufferObjectTracker.java +++ b/src/jogl/classes/jogamp/opengl/GLBufferObjectTracker.java @@ -33,7 +33,6 @@ import java.nio.ByteBuffer; import java.nio.IntBuffer; import com.jogamp.opengl.*; - import com.jogamp.common.ExceptionUtils; import com.jogamp.common.nio.Buffers; import com.jogamp.common.util.IntObjectHashMap; @@ -48,7 +47,8 @@ import com.jogamp.common.util.PropertyAccess; * Buffer storage is created via * @@ -60,7 +60,8 @@ import com.jogamp.common.util.PropertyAccess; * @@ -191,7 +192,9 @@ public class GLBufferObjectTracker { } /** - * Must be called when [re]creating the GL buffer object via {@link GL2#glNamedBufferData(int, long, java.nio.Buffer, int)} + * Must be called when [re]creating the GL buffer object + * via {@link GL2#glNamedBufferDataEXT(int, long, java.nio.Buffer, int) glNamedBufferDataEXT}, + * {@link GL4#glNamedBufferData(int, long, java.nio.Buffer, int) glNamedBufferData}, * and {@link GL4#glNamedBufferStorage(int, long, Buffer, int)}, * i.e. implies destruction of the buffer. * @@ -318,7 +321,7 @@ public class GLBufferObjectTracker { return this.mapBufferImpl(bufferStateTracker, caller, target, true /* useRange */, offset, length, access, dispatch); } /** - * Must be called when mapping GL buffer objects via {@link GL2#mapNamedBuffer(int, int)}. + * Must be called when mapping GL buffer objects via {@link GL2#mapNamedBufferEXT(int, int)}. * @throws GLException if buffer is not tracked * @throws GLException if buffer is already mapped * @throws GLException if buffer has invalid store size, i.e. less-than zero @@ -327,7 +330,7 @@ public class GLBufferObjectTracker { return this.mapBufferImpl(0 /* target */, bufferName, true /* isNamedBuffer */, false /* useRange */, 0 /* offset */, 0 /* length */, access, dispatch); } /** - * Must be called when mapping GL buffer objects via {@link GL2#mapNamedBufferRange(int, long, long, int)}. + * Must be called when mapping GL buffer objects via {@link GL2#mapNamedBufferRangeEXT(int, long, long, int)}. * @throws GLException if buffer is not tracked * @throws GLException if buffer is already mapped * @throws GLException if buffer has invalid store size, i.e. less-than zero -- cgit v1.2.3