From: Joogab Yun Date: Tue, 6 Feb 2018 07:28:13 +0000 (+0900) Subject: [4.0] For underlay video playback, we also need to set the alpha value of the X-Git-Tag: accepted/tizen/4.0/unified/20180327.144913~7 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=cc89f3382c8dd392c59e336b60151f2bf28262d5 [4.0] For underlay video playback, we also need to set the alpha value of the 24/32bit window. Change-Id: I16bb95f01ffd2238ffb02b6ceece84acc5dfd407 --- diff --git a/adaptors/common/gl/egl-implementation.cpp b/adaptors/common/gl/egl-implementation.cpp old mode 100644 new mode 100755 index c6b179d..f14b234 --- a/adaptors/common/gl/egl-implementation.cpp +++ b/adaptors/common/gl/egl-implementation.cpp @@ -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