Revert "[3.0] Set alpha to wayland window by Application::New(..., OPAQUE or Transpar... 61/55861/2
authortaeyoon <taeyoon0.lee@samsung.com>
Wed, 30 Dec 2015 02:32:29 +0000 (11:32 +0900)
committertaeyoon <taeyoon0.lee@samsung.com>
Fri, 15 Jan 2016 02:27:47 +0000 (11:27 +0900)
This reverts commit 521a3533dc5975737e880706b579d1ec8e6d10e5.

Change-Id: I2225162b16e5aa2af1e18df3fffc40495b7ced47

adaptors/wayland/window-render-surface-wl.cpp

index 2c6884c..7eb0dc8 100644 (file)
@@ -108,15 +108,6 @@ void WindowRenderSurface::CreateEglSurface( EglInterface& eglIf )
 
   Internal::Adaptor::EglImplementation& eglImpl = static_cast<Internal::Adaptor::EglImplementation&>( eglIf );
 
-  if( mColorDepth == COLOR_DEPTH_32 )
-  {
-    ecore_wl_window_alpha_set( mWlWindow, true );
-  }
-  else
-  {
-    ecore_wl_window_alpha_set( mWlWindow, false );
-  }
-
   // create the EGL surface
   mWlSurface = ecore_wl_window_surface_create(mWlWindow);
   mEglWindow = wl_egl_window_create(ecore_wl_window_surface_get(mWlWindow), mPosition.width, mPosition.height);
@@ -141,15 +132,6 @@ bool WindowRenderSurface::ReplaceEGLSurface( EglInterface& egl )
     mEglWindow = NULL;
   }
 
-  if( mColorDepth == COLOR_DEPTH_32 )
-  {
-    ecore_wl_window_alpha_set( mWlWindow, true );
-  }
-  else
-  {
-    ecore_wl_window_alpha_set( mWlWindow, false );
-  }
-
   mEglWindow = wl_egl_window_create(ecore_wl_window_surface_get(mWlWindow), mPosition.width, mPosition.height);
 
   Internal::Adaptor::EglImplementation& eglImpl = static_cast<Internal::Adaptor::EglImplementation&>( egl );