Login  Register

Re: Texture compression

Posted by gouessej on Oct 18, 2015; 11:16am
URL: https://forum.jogamp.org/Texture-compression-tp4032185p4035502.html

Separating the AWT-free classes from the classes depending on AWT is necessary as JOGL works under Android (=no AWT) and the compact profiles (since Java 1.8) don't contain AWT. Separating the classes that require a current OpenGL context from those that don't is important too, in order not to prevent some actions from being performed on a thread which isn't the thread dedicated to OpenGL operations. The texture sequence is used in the video API. In my humble opinion, the four classes you mentioned shouldn't be removed.

However, there is probably something to clean in the class named ***Image. The test case at the end of SGIImage should be removed. JPEGImage is already quite slim.
Julien Gouesse | Personal blog | Website