On 04/26/2013 11:43 PM, Martin Hegedus [via jogamp] wrote:
> In the past version of JOGL I used Screenshot to get a BufferedImage that I
> would then pass to graphics.drawImage(...) for printing. However, in the
> latest version of JOGL, Screenshot has been deprecated. Does anyone know the
> process of obtaining a BufferedImage (or another format) from one of the
> methods of GLReadBufferUtil,
http://jogamp.org/git/?p=jogl.git;a=commit;h=587ec1437ed762ed8cdfcbf27f940ab83813f4a5http://jogamp.org/git/?p=jogl.git;a=commit;h=4d35eaa766071fd8dedab8b6e2ee53710831c567Added abstraction supporting a custom PixelBufferProvider,
used in GLReadBufferUtil.
Thx to your request, this also lead to complete GLContext* in regards
to the default format/type.
+++
Long abstraction, short user impact: You may use AWTGLReadBufferUtil,
see last commit 4d35eaa766071fd8dedab8b6e2ee53710831c567.
~Sven