Re: How to make screenshot on SWT
Posted by
gouessej on
Jun 09, 2015; 10:01am
URL: https://forum.jogamp.org/How-to-make-screenshot-on-SWT-tp4033448p4034623.html
Sorry but mixing the obsolete and unmaintained (its maintenance was stopped in 2006, i.e 9 years ago) SWT OpenGL mapping with JOGL is a really bad idea. Moreover, if you abuse of making context current and releasing it, you'll get very bad performance.
Edit.: You can use the AWT GLCanvas with the SWT/AWT bridge (SWT_AWT), the SWT GLCanvas or the NEWT SWT canvas NewtCanvasSWT instead of the obsolete SWT OpenGL canvas provided by SWT.