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

Method StartGraphics

endless-tunnel/app/src/main/cpp/scene_manager.cpp:91–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void SceneManager::StartGraphics() {
92 if (!mHasGraphics) {
93 LOGD("SceneManager: starting graphics.");
94 mHasGraphics = true;
95 if (mCurScene) {
96 LOGD("SceneManager: calling mCurScene->OnStartGraphics.");
97 mCurScene->OnStartGraphics();
98 }
99 }
100}
101
102void SceneManager::SetScreenSize(int width, int height) {
103 if (mScreenWidth != width || mScreenHeight != height) {

Callers 2

OnStartGraphicsMethod · 0.45
InitGLObjectsMethod · 0.45

Calls 1

OnStartGraphicsMethod · 0.45

Tested by

no test coverage detected