[4.0] For underlay video playback, we also need to set the alpha value of the 25/171525/3
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 6 Feb 2018 07:28:13 +0000 (16:28 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 6 Mar 2018 07:34:03 +0000 (07:34 +0000)
24/32bit window.

Change-Id: I16bb95f01ffd2238ffb02b6ceece84acc5dfd407

adaptors/common/gl/egl-implementation.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index c6b179d..f14b234
@@ -327,7 +327,8 @@ void EglImplementation::ChooseConfig( bool isWindowType, ColorDepth depth )
 
   configAttribs.PushBack( EGL_ALPHA_SIZE );
 #ifdef _ARCH_ARM_
-  configAttribs.PushBack( (depth == COLOR_DEPTH_32) ? 8 : 0 );
+  // For underlay video playback, we also need to set the alpha value of the 24/32bit window.
+  configAttribs.PushBack( 8 );
 #else
   // There is a bug in the desktop emulator
   // setting EGL_ALPHA_SIZE to 8 results in eglChooseConfig failing