I'm rewriting an old 3D editor with the goal to make it faster and easier to use. I noticed the following method takes over one second to run. It's called in the app's initialization on the main thread.
According to online resources, initSingleton() initializes the OpenGL context on the current thread. I know I need to make a GLContext on the thread that will be calling all the OGL functions (the main thread in this case), so I can't just call it in a different thread while Swing is loading.
Is there any other way I can initialize OpenGL?