Change-Id: I23eeb8f834dd1e39f66c77d9379d9e734d690483
Internal::Adaptor::EglImplementation& eglImpl = static_cast<Internal::Adaptor::EglImplementation&>( egl );
eglImpl.SwapBuffers();
+ if( mImpl->mThreadSynchronization )
+ {
+ mImpl->mThreadSynchronization->PostRenderStarted();
+ }
+
{
ConditionalWait::ScopedLock lock( mImpl->mTbmSurfaceCondition );
// Tell the event-thread to render the tbm_surface
mImpl->mRenderNotification->Trigger();
}
+
+ if( mImpl->mThreadSynchronization )
+ {
+ mImpl->mThreadSynchronization->PostRenderWaitForCompletion();
+ }
}
void NativeRenderSurface::StopRender()