From dd56549ebb7400f40f973473760b5f53a8609cd0 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 6 Dec 2014 20:24:26 +0100 Subject: Minor Cleanup (FBObject, GLBase) FBObject: Remove redudant case GLBase: Add API doc reference to GLContext implementation --- src/jogl/classes/javax/media/opengl/GLBase.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/jogl/classes/javax/media/opengl') diff --git a/src/jogl/classes/javax/media/opengl/GLBase.java b/src/jogl/classes/javax/media/opengl/GLBase.java index 48455c525..802da3b6c 100644 --- a/src/jogl/classes/javax/media/opengl/GLBase.java +++ b/src/jogl/classes/javax/media/opengl/GLBase.java @@ -584,6 +584,9 @@ public interface GLBase { /** * Return the framebuffer name bound to this context, * see {@link GL#glBindFramebuffer(int, int)}. + *

+ * Calls {@link GLContext#getBoundFramebuffer(int)}. + *

*/ public int getBoundFramebuffer(int target); @@ -594,6 +597,9 @@ public interface GLBase { * in case an framebuffer object ({@link com.jogamp.opengl.FBObject}) based drawable * is being used. *

+ *

+ * Calls {@link GLContext#getDefaultDrawFramebuffer()}. + *

*/ public int getDefaultDrawFramebuffer(); @@ -604,6 +610,9 @@ public interface GLBase { * in case an framebuffer object ({@link com.jogamp.opengl.FBObject}) based drawable * is being used. *

+ *

+ * Calls {@link GLContext#getDefaultReadFramebuffer()}. + *

*/ public int getDefaultReadFramebuffer(); @@ -628,6 +637,9 @@ public interface GLBase { * Note-3: See {@link com.jogamp.opengl.util.GLDrawableUtil#swapBuffersBeforeRead(GLCapabilitiesImmutable) swapBuffersBeforeRead} * for read-pixels and swap-buffers implications. *

+ *

+ * Calls {@link GLContext#getDefaultReadBuffer()}. + *

*/ public int getDefaultReadBuffer(); } -- cgit v1.2.3