Initial deob and project structure

This commit is contained in:
Pazaz 2022-04-19 04:51:51 -04:00
commit e2d5c0a1e0
671 changed files with 108157 additions and 0 deletions

View file

@ -0,0 +1,28 @@
package javax.media.opengl;
import com.sun.opengl.impl.macosx.MacOSXGLDrawableFactory;
import com.sun.opengl.impl.windows.WindowsGLDrawableFactory;
import com.sun.opengl.impl.x11.X11GLDrawableFactory;
public abstract class GLDrawableFactory {
private static GLDrawableFactory factory;
public static GLDrawableFactory getFactory() {
if (factory == null) {
String var0 = System.getProperty("os.name").toLowerCase();
if (var0.startsWith("win")) {
factory = new WindowsGLDrawableFactory();
}
if (var0.startsWith("mac")) {
factory = new MacOSXGLDrawableFactory();
}
if (var0.startsWith("linux") || var0.startsWith("sunos")) {
factory = new X11GLDrawableFactory();
}
}
return factory;
}
public abstract GLDrawable getGLDrawable(Object arg0, GLCapabilities arg1, GLCapabilitiesChooser arg2) throws IllegalArgumentException, GLException;
}