MCPcopy Create free account
hub / github.com/cinder/Cinder / Initialize

Method Initialize

src/cinder/android/JniHelper.cpp:281–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281void JniHelper::Initialize( ANativeActivity* nativeActivity )
282{
283dbg_app_fn_enter( __PRETTY_FUNCTION__ );
284 if( JniHelper::sInstance ) {
285 return;
286 }
287
288 JvmHelper_InitOnce( nativeActivity->vm );
289 JniHelper::sInstance = std::unique_ptr<JniHelper>( new JniHelper( nativeActivity ) );
290dbg_app_fn_exit( __PRETTY_FUNCTION__ );
291}
292
293void JniHelper::Destroy()
294{

Callers 1

tryInitMethod · 0.45

Calls 3

dbg_app_fn_enterFunction · 0.85
JvmHelper_InitOnceFunction · 0.85
dbg_app_fn_exitFunction · 0.85

Tested by

no test coverage detected