Bug 277

Summary: Documentation enhancement
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
URL: http://download.java.net/media/jogl/builds/nightly/javadoc_public/com/sun/opengl/util/Screenshot.html
Type: FEATURE SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:50:08 CET


---- Reported by moorej 2007-02-23 12:04:02 ----

The screenshot utility classes do not specify from which buffer it will read. 
More specifically it needs to mention that whatever the last assigned read
buffer from a call to glReadBuffer is the buffer for which a screenshot is made.

If no call has been made, then the OpenGL rules apply: the OpenGL default buffer
is initially GL_FRONT in single-buffered configurations, and GL_BACK in
double-buffered configurations.

Another option may be to add another method which accepts from which buffer to
read.



---- Additional Comments From kbr 2007-02-27 14:19:15 ----

Added text to Screenshot class's methods indicating which read buffer is used.



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:50 EDT  ---

This bug was previously known as _bug_ 277 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=277