#include <dali/integration-api/debug.h>
// INTERNAL HEADERS
-#include <native-source-render-surface.h>
+#include <native-render-surface.h>
namespace Dali
{
}
DisplayConnection::DisplayConnection()
+: mDisplay( NULL ),
+ mSurfaceType( RenderSurface::ECORE_RENDER_SURFACE )
{
}
DisplayConnection::~DisplayConnection()
{
- if( mSurfaceType == RenderSurface::NATIVE_SOURCE_RENDER_SURFACE )
+ if( mSurfaceType == RenderSurface::NATIVE_RENDER_SURFACE )
{
- ReleaseNativeSourceDisplay();
+ ReleaseNativeDisplay();
}
}
if( !eglImpl.InitializeGles( mDisplay ) )
{
- DALI_LOG_ERROR("Failed to initialize GLES.");
+ DALI_LOG_ERROR("Failed to initialize GLES.\n");
return false;
}
{
mSurfaceType = type;
- if( mSurfaceType == RenderSurface::NATIVE_SOURCE_RENDER_SURFACE )
+ if( mSurfaceType == RenderSurface::NATIVE_RENDER_SURFACE )
{
- mDisplay = GetNativeSourceDisplay();
+ mDisplay = GetNativeDisplay();
}
else
{