Skip to content

Instantly share code, notes, and snippets.

@CartBlanche
Created June 21, 2012 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CartBlanche/c0848affc08e0aae0d8d to your computer and use it in GitHub Desktop.
Save CartBlanche/c0848affc08e0aae0d8d to your computer and use it in GitHub Desktop.
Initialisation order
Order of initialisation...
Without <uses-sdk android:minSdkVersion="15"/> meaning the tags are auto-generated and added before the application tag in the AndroidManifest.xml
Loaded assembly: System.dll [External]
I/dalvikvm-heap( 1510): Grow heap (frag case) to 10.061MB for 1248012-byte allocation
D/libEGL ( 1510): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 1510): loaded /system/lib/egl/libEGL_emulation.so
D/ ( 1510): HostConnection::get() New Host Connection established 0x86e15f8, tid 1510
D/libEGL ( 1510): loaded /system/lib/egl/libGLESv1_CM_emulation.so
D/libEGL ( 1510): loaded /system/lib/egl/libGLESv2_emulation.so
W/EGL_emulation( 1510): eglSurfaceAttrib not implemented
D/OpenGLRenderer( 1510): Enabling debug mode 0
V/TexturedCube( 1510): Loading with default settings <-- CreateFrameBuffer()
The above does NOT work.
With <uses-sdk android:minSdkVersion="15"/>, meaning they are set in the IDE and therefore added after the application tag in the AndroidManifest.xml
Loaded assembly: System.dll [External]
I/dalvikvm-heap( 1871): Grow heap (frag case) to 10.061MB for 1248012-byte allocation
V/TexturedCube( 1871): Loading with default settings <-- CreateFrameBuffer()
D/libEGL ( 1871): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 1871): loaded /system/lib/egl/libEGL_emulation.so
D/ ( 1871): HostConnection::get() New Host Connection established 0x86e6ac8, tid 1871
D/libEGL ( 1871): loaded /system/lib/egl/libGLESv1_CM_emulation.so
D/libEGL ( 1871): loaded /system/lib/egl/libGLESv2_emulation.so
The above DOES work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment