From 007603858fb502e0ac77d7f7b501e51deaae7874 Mon Sep 17 00:00:00 2001 From: Joogab Yun Date: Mon, 12 Aug 2019 13:40:23 +0900 Subject: [PATCH] Revert "[Tizen] Log patch to show first swapbuffers call after resume" This reverts commit 9dc39f26205bc0ce68d6041e52f2b3f9b9ee743d. --- .../adaptor/common/combined-update-render-controller.cpp | 5 ----- dali/internal/graphics/gles/egl-implementation.cpp | 13 +------------ dali/internal/graphics/gles/egl-implementation.h | 7 ------- 3 files changed, 1 insertion(+), 24 deletions(-) diff --git a/dali/internal/adaptor/common/combined-update-render-controller.cpp b/dali/internal/adaptor/common/combined-update-render-controller.cpp index 66f32d5..94693d2 100644 --- a/dali/internal/adaptor/common/combined-update-render-controller.cpp +++ b/dali/internal/adaptor/common/combined-update-render-controller.cpp @@ -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 ); diff --git a/dali/internal/graphics/gles/egl-implementation.cpp b/dali/internal/graphics/gles/egl-implementation.cpp index ae95d25..3885134 100755 --- a/dali/internal/graphics/gles/egl-implementation.cpp +++ b/dali/internal/graphics/gles/egl-implementation.cpp @@ -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; diff --git a/dali/internal/graphics/gles/egl-implementation.h b/dali/internal/graphics/gles/egl-implementation.h index c0cf433..1c9cab3 100644 --- a/dali/internal/graphics/gles/egl-implementation.h +++ b/dali/internal/graphics/gles/egl-implementation.h @@ -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 -- 2.7.4