Squeezing out bytes of the jogl jars: GL4bcImpl

Posted by toffegast on
URL: https://forum.jogamp.org/Squeezing-out-bytes-of-the-jogl-jars-GL4bcImpl-tp4025532.html


Hi guys,

I'm trying to make the (atomic) jogl jars as small as possible for speedy startup of my applet. I managed to gain space by removing the Ubuntu fonts, a dll for mobile platforms and some unused util classes.

Now I'm looking at GL4bcImpl.class. It is huge, and I think I don't need it since I use only GL2. I tried to delete it from the jar but then JOGL says there are no profiles available at all.

Am I right in thinking I don't need it? Is there a way to remove it (and perhaps all GL>2 classes)?

thanks in advance,
Geert.