diff options
author | Sven Gothel <[email protected]> | 2013-01-26 07:43:08 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-01-26 07:43:08 +0100 |
commit | 07fb6ebb3fa95e8d722505883a13c62e13c7f953 (patch) | |
tree | 6adee4edc60f46368a291efa19787a7e54ce6d43 /src/jogl/classes/javax/media/opengl/GLDrawable.java | |
parent | 176d2c68842587b55117dbe0df2fbd2932d0cd10 (diff) |
Refine GL[Auto]Drawable 'realized' state in API doc, and relax it's realized requirement in GL[Offscreen]AutoDrawableDelegate*
Compatible w/ 'before'.
TODO: Contemplate about GLDrawableFactory.createOffscreenAutoDrawable(..) whether it:
- should better return an unrealized [auto]drawable
- or adding another API method for such case
Goal: Allow passing vector of [device/context/..] for use cases
such as re-using an onscreen destructed surface and on-/offscreen hopping.
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLDrawable.java')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLDrawable.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLDrawable.java b/src/jogl/classes/javax/media/opengl/GLDrawable.java index c0910eb0f..95c314a48 100644 --- a/src/jogl/classes/javax/media/opengl/GLDrawable.java +++ b/src/jogl/classes/javax/media/opengl/GLDrawable.java @@ -126,7 +126,12 @@ public interface GLDrawable { */ public void setRealized(boolean realized); - /** @return true if this drawable is realized, otherwise false */ + /** + * Returns <code>true</code> if this drawable is realized, otherwise <code>true</code>. + * <p> + * A drawable can be realized and unrealized via {@link #setRealized(boolean)}. + * </p> + */ public boolean isRealized(); /** Returns the current width of this GLDrawable. */ |