/*
- * 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.
// EXTERNAL INCLUDES
#include <dali/integration-api/debug.h>
-#include <dali/public-api/common/dali-common.h>
+
#include <dali/public-api/common/dali-vector.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/internal/graphics/gles20/gl-implementation.h>
#include <dali/internal/graphics/gles20/egl-debug.h>
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