MCPcopy Create free account
hub / github.com/android/ndk-samples / InitGLObjects

Method InitGLObjects

endless-tunnel/app/src/main/cpp/native_engine.cpp:570–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568android_app* NativeEngine::GetAndroidApp() { return mApp; }
569
570bool NativeEngine::InitGLObjects() {
571 if (!mHasGLObjects) {
572 SceneManager* mgr = SceneManager::GetInstance();
573 mgr->StartGraphics();
574 _log_opengl_error(glGetError());
575 mHasGLObjects = true;
576 }
577 return true;
578}

Callers

nothing calls this directly

Calls 2

_log_opengl_errorFunction · 0.85
StartGraphicsMethod · 0.45

Tested by

no test coverage detected