X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fgraphics%2Fgles20%2Fegl-implementation.cpp;h=647087ba8a90b8eeb1128bb376aa9deacdf51596;hb=783e17c94e8adc4bd624031af599922c9eb1e0c6;hp=390fdc3925cc3f8f86ec1f6992f9aea987296d0c;hpb=761f75cd51351b7a4e072130f4a2ad0b3e3231bb;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/graphics/gles20/egl-implementation.cpp b/dali/internal/graphics/gles20/egl-implementation.cpp old mode 100644 new mode 100755 index 390fdc3..647087b --- a/dali/internal/graphics/gles20/egl-implementation.cpp +++ b/dali/internal/graphics/gles20/egl-implementation.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,10 +21,11 @@ // EXTERNAL INCLUDES #include -#include + #include // INTERNAL INCLUDES +#include #include #include @@ -327,7 +328,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