jogamp.nativewindow.ToolkitProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl-all Show documentation
Show all versions of jogl-all Show documentation
Java™ Binding for the OpenGL® API
package jogamp.nativewindow;
import javax.media.nativewindow.NativeWindowFactory;
/**
* Marker interface.
*
* Implementation requires to provide static methods:
*
public static void initSingleton() {}
public static void shutdown() {}
public static boolean requiresToolkitLock() {}
public static boolean hasThreadingIssues() {}
*
* Above static methods are invoked by {@link NativeWindowFactory#initSingleton()},
* or {@link NativeWindowFactory#shutdown()} via reflection.
*
*/
public interface ToolkitProperties {
/**
* Called by {@link NativeWindowFactory#initSingleton()}
*/
// void initSingleton();
/**
* Cleanup resources.
*
* Called by {@link NativeWindowFactory#shutdown()}
*
*/
// void shutdown();
/**
* Called by {@link NativeWindowFactory#initSingleton()}
*/
// boolean requiresToolkitLock();
/**
* Called by {@link NativeWindowFactory#initSingleton()}
*/
// boolean hasThreadingIssues();
}