aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Implementation/Lifecycle.txt
blob: 3bdeafb65653ceee8c4092afa411e69cf8a7220a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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