diff options
author | Sven Gothel <[email protected]> | 2011-12-01 21:40:12 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-12-01 21:40:12 +0100 |
commit | b6aa455d21fbcfc256ae8f8f4d66493c17e23f4c (patch) | |
tree | 373c8a31d6ce9ac98cd290e8c6872ec6145f0c7e /doc | |
parent | 919aabb77250cb0e272dac228388592d08bf98f5 (diff) |
New GLProfile.ShutdownType: SHARED_ONLY / COMPLETE - Enhance/Fix Lifecycle Management
- Leave Platform, .. TempJarCache untouched.
- GLDrawableFactoryImpl*: Leave DynamicLibraryBundle(lib-binding) untouched,
for NativeLibrary, JNILibLoaderBase (JNI libs), .. consistency.
- SHARED_ONLY: shutdown shared GLDrawableFactoryImpl* resources and NativeWindowFactory
- COMPLETE: additionally shutdown GLContext*
Clear all cached GL/GLX proc-address and device/context mappings.
- Use new "GLProfile.shutdown(GLProfile.ShutdownType.SHARED_ONLY)" in Applets
- X11GLXDrawableFactory Shutdown: Uncomment close/destroy of shared resources.
- JAWTWindow.destroy(): Close the delegated device.
In case it's X11 this closes the exclusive opened X11 Display.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Implementation/Lifecycle.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/Implementation/Lifecycle.txt b/doc/Implementation/Lifecycle.txt new file mode 100644 index 000000000..3bdeafb65 --- /dev/null +++ b/doc/Implementation/Lifecycle.txt @@ -0,0 +1,41 @@ + +Persistent Resources - JVM Lifetime (1) +======================================== + +- Platform + +- JNILibLoaderBase + Contains a set of loaded JNI libraries via System.load(..) + +- JVMUtil + Only issues JVM startup initialization + +- TempJarCache + Contains a TempFileCache for all cached JarFile, + referenced by URL + +Initialization Sequence: +========================== + +Deinitialization is reverse ofc. + +- GLProfile + - Platform (1) + - JVMUtil (1) + - JNILibLoaderBase (1) + - TempJarCache (1) + + - NativeWindowFactory + - X11Util + + - GLDrawableFactory / GLDrawableFactoryImpl + - X11GLXDrawableFactory, EGLDrawableFactory, ... (all platforms) + - *DynamicLookupHelper .. + - NativeLibrary .. + + - GLContext + - proc-address-tables (GL, GLX..) + - context version mapping + + + |