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

Method setup

src/cinder/app/android/AppImplAndroid.cpp:105–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void AppImplAndroid::setup()
106{
107 mApp->privateSetup__();
108 mSetupHasBeenCalled = true;
109
110 // issue initial app activation event
111 mApp->emitDidBecomeActive();
112
113 for( auto &window : mWindows ) {
114 window->resize();
115 }
116
117 // initialize our next frame time
118 mNextFrameTime = getElapsedSeconds();
119
120 // enable event processing
121 mCanProcessEvents = true;
122}
123
124void AppImplAndroid::sleepUntilNextFrame()
125{

Callers 6

WindowImplMswMethod · 0.45
createWindowMethod · 0.45
WindowImplAndroidMethod · 0.45
launchMethod · 0.45
WindowImplLinuxMethod · 0.45
WindowImplLinuxMethod · 0.45

Calls 4

privateSetup__Method · 0.80
emitDidBecomeActiveMethod · 0.80
getElapsedSecondsFunction · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected