---- Reported by kbr 2007-05-29 11:13:20 ----
It would be better to use a GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV pixel format
and type in conjunction with a TYPE_INT_ARGB BufferedImage in the Screenshot
class if OpenGL 1.2 is available. This is a more optimized code path through
most vendors' OpenGL drivers. See the above forum posting.
--- Bug imported by email@example.com 2010-03-24 07:50 EDT ---
This bug was previously known as _bug_ 303 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=303
Look at src/junit/com/jogamp/test/junit/jogl/offscreen/Surface2File.java,
which uses offscreen/pbuffer rendering,
reads pixel to a texture and uses TextureIO to save it to a file.
The user is free to handle it the way she wants.