mPostRendering( FALSE ),
mSurfaceResized( FALSE ),
mForceClear( FALSE ),
- mUploadWithoutRendering( FALSE )
+ mUploadWithoutRendering( FALSE ),
+ mFirstFrameAfterResume( FALSE )
{
LOG_EVENT_TRACE;
mRunning = TRUE;
mForceClear = TRUE;
+ mFirstFrameAfterResume = TRUE;
DALI_LOG_RELEASE_INFO( "CombinedUpdateRenderController::Resume\n" );
}
eglImpl.MakeContextCurrent( EGL_NO_SURFACE, eglImpl.GetContext() );
}
- if( timeToSleepUntil == 0 )
+ if( mFirstFrameAfterResume )
{
- // timeToSleepUntil is set to 0 when the thread is initalized or resumed
+ // mFirstFrameAfterResume is set to true when the thread is resumed
// Let eglImplementation know the first frame after thread initialized or resumed.
eglImpl.SetFirstFrameAfterResume();
+ mFirstFrameAfterResume = FALSE;
}
Integration::RenderStatus renderStatus;
volatile unsigned int mForceClear; ///< Will be set to clear forcibly
volatile unsigned int mUploadWithoutRendering; ///< Will be set to upload the resource only (with no rendering)
+
+ volatile unsigned int mFirstFrameAfterResume; ///< Will be set to check the first frame after resume (for log)
};
} // namespace Adaptor