Revert "[Tizen] Log patch to show first swapbuffers call after resume"
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 10 Sep 2019 09:15:33 +0000 (18:15 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 10 Sep 2019 09:15:33 +0000 (18:15 +0900)
This reverts commit 8f169330ddafe21eb18be6370f8256651c932d67.

dali/internal/adaptor/common/combined-update-render-controller.cpp
dali/internal/graphics/gles/egl-implementation.cpp
dali/internal/graphics/gles/egl-implementation.h

index 66f32d5..94693d2 100644 (file)
@@ -633,11 +633,6 @@ void CombinedUpdateRenderController::UpdateRenderThread()
       eglImpl.MakeContextCurrent( EGL_NO_SURFACE, eglImpl.GetContext() );
     }
 
-    if( timeToSleepUntil == 0 )
-    {
-      eglImpl.SetFirstFrameAfterResume();
-    }
-
     Integration::RenderStatus renderStatus;
 
     AddPerformanceMarker( PerformanceInterface::RENDER_START );
index ae95d25..3885134 100755 (executable)
@@ -81,8 +81,7 @@ EglImplementation::EglImplementation( int multiSamplingLevel,
   mDepthBufferRequired( depthBufferRequired == Integration::DepthBufferAvailable::TRUE ),
   mStencilBufferRequired( stencilBufferRequired == Integration::StencilBufferAvailable::TRUE ),
   mIsSurfacelessContextSupported( false ),
-  mIsKhrCreateContextSupported( false ),
-  mIsFirstFrameAfterResume( false )
+  mIsKhrCreateContextSupported( false )
 {
 }
 
@@ -311,11 +310,6 @@ void EglImplementation::SwapBuffers( EGLSurface& eglSurface )
 {
   if ( eglSurface != EGL_NO_SURFACE ) // skip if using surfaceless context
   {
-    if( mIsFirstFrameAfterResume )
-    {
-      DALI_LOG_RELEASE_INFO( "EglImplementation::SwapBuffers: First SwapBuffers call.\n" );
-      mIsFirstFrameAfterResume = false;
-    }
     eglSwapBuffers( mEglDisplay, eglSurface );
   }
 }
@@ -542,11 +536,6 @@ void EglImplementation::SetGlesVersion( const int32_t glesVersion )
   mGlesVersion = glesVersion;
 }
 
-void EglImplementation::SetFirstFrameAfterResume()
-{
-  mIsFirstFrameAfterResume = true;
-}
-
 EGLDisplay EglImplementation::GetDisplay() const
 {
   return mEglDisplay;
index c0cf433..1c9cab3 100644 (file)
@@ -182,11 +182,6 @@ public:
   void SetGlesVersion( const int32_t glesVersion );
 
   /**
-   * Sets Whether the frame is the first after Resume.
-   */
-  void SetFirstFrameAfterResume();
-
-  /**
    * returns the display with which this object was initialized
    * @return the EGL Display.
    */
@@ -250,8 +245,6 @@ private:
   bool                 mStencilBufferRequired;
   bool                 mIsSurfacelessContextSupported;
   bool                 mIsKhrCreateContextSupported;
-
-  bool                 mIsFirstFrameAfterResume;
 };
 
 } // namespace Adaptor