From 6faf5118589abe462779429fc12ea6be6dc00235 Mon Sep 17 00:00:00 2001 From: taeyoon Date: Wed, 30 Dec 2015 11:32:29 +0900 Subject: [PATCH] Revert "[3.0] Set alpha to wayland window by Application::New(..., OPAQUE or Transparent)" This reverts commit 521a3533dc5975737e880706b579d1ec8e6d10e5. Change-Id: I2225162b16e5aa2af1e18df3fffc40495b7ced47 --- adaptors/wayland/window-render-surface-wl.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/adaptors/wayland/window-render-surface-wl.cpp b/adaptors/wayland/window-render-surface-wl.cpp index 2c6884c..7eb0dc8 100644 --- a/adaptors/wayland/window-render-surface-wl.cpp +++ b/adaptors/wayland/window-render-surface-wl.cpp @@ -108,15 +108,6 @@ void WindowRenderSurface::CreateEglSurface( EglInterface& eglIf ) Internal::Adaptor::EglImplementation& eglImpl = static_cast( 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( egl ); -- 2.7.4