Re: Offscreen rendering - performance issue
Posted by
gouessej on
Mar 12, 2020; 3:27pm
URL: https://forum.jogamp.org/Re-Offscreen-rendering-performance-issue-tp4040432p4040436.html
Yes, why not? GLCanvas is an heavyweight AWT canvas after all, it should work, it depends on what you do in these listeners.
Your previous approach was a dead end because the performance mainly depended on Java2D and not on JOGL. You could have used the internal NIO buffer of the BufferedImage to transfer the content from JOGL to Java2D or you could have used the source code of GLJPanel as a source of inspiration but it would have been a lot more cumbersome than my suggestion.