Remove Tizen 5.5 dependent code from native-render-surface 26/208526/1
authorJiyun Yang <ji.yang@samsung.com>
Tue, 25 Jun 2019 12:06:03 +0000 (21:06 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Tue, 25 Jun 2019 12:06:03 +0000 (21:06 +0900)
Change-Id: Ie71de8205f5dbfe9fe1b72a303960259ae5bfea0
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp

index 56fc04a..dd35dcb 100644 (file)
@@ -51,40 +51,6 @@ namespace
 Debug::Filter* gNativeSurfaceLogFilter = Debug::Filter::New(Debug::Verbose, false, "LOG_NATIVE_RENDER_SURFACE");
 #endif
 
-inline void PrintTBMSurfaceQueueError( int errorCode )
-{
-  switch( errorCode )
-  {
-    case TBM_SURFACE_QUEUE_ERROR_EMPTY:
-      DALI_LOG_ERROR( "TBM_SURFACE_QUEUE_ERROR_EMPTY" );
-      break;
-    case TBM_SURFACE_QUEUE_ERROR_INVALID_QUEUE:
-      DALI_LOG_ERROR( "TBM_SURFACE_QUEUE_ERROR_INVALID_QUEUE" );
-      break;
-    case TBM_SURFACE_QUEUE_ERROR_INVALID_SURFACE:
-      DALI_LOG_ERROR( "TBM_SURFACE_QUEUE_ERROR_INVALID_SURFACE" );
-      break;
-    case TBM_SURFACE_QUEUE_ERROR_SURFACE_ALLOC_FAILED:
-      DALI_LOG_ERROR( "TBM_SURFACE_QUEUE_ERROR_SURFACE_ALLOC_FAILED" );
-      break;
-    case TBM_SURFACE_QUEUE_ERROR_ALREADY_EXIST:
-      DALI_LOG_ERROR( "TBM_SURFACE_QUEUE_ERROR_ALREADY_EXIST" );
-      break;
-    case TBM_SURFACE_QUEUE_ERROR_UNKNOWN_SURFACE:
-      DALI_LOG_ERROR( "TBM_SURFACE_QUEUE_ERROR_UNKNOWN_SURFACE" );
-      break;
-    case TBM_SURFACE_QUEUE_ERROR_INVALID_SEQUENCE:
-      DALI_LOG_ERROR( "TBM_SURFACE_QUEUE_ERROR_INVALID_SEQUENCE" );
-      break;
-    case TBM_SURFACE_QUEUE_ERROR_TIMEOUT:
-      DALI_LOG_ERROR( "TBM_SURFACE_QUEUE_ERROR_TIMEOUT" );
-      break;
-    default:
-      DALI_LOG_ERROR( "TBM_SURFACE_QUEUE_ERROR_UNKNOWN" );
-      break;
-  }
-}
-
 } // unnamed namespace
 
 NativeRenderSurfaceEcoreWl::NativeRenderSurfaceEcoreWl( Dali::PositionSize positionSize, bool isTransparent )
@@ -236,8 +202,6 @@ void NativeRenderSurfaceEcoreWl::MoveResize( Dali::PositionSize positionSize )
   if( error != TBM_SURFACE_QUEUE_ERROR_NONE )
   {
     DALI_LOG_ERROR( "Failed to resize tbm_surface_queue" );
-
-    PrintTBMSurfaceQueueError( error );
   }
 
   mPosition = positionSize;