/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
{
#if defined(DEBUG_ENABLED)
-Debug::Filter* gRenderSurfaceLogFilter = Debug::Filter::New(Debug::Verbose, false, "LOG_ECORE_X_RENDER_SURFACE");
+Debug::Filter* gRenderSurfaceLogFilter = Debug::Filter::New(Debug::Verbose, false, "LOG_ECORE_WL_RENDER_SURFACE");
#endif
namespace ECore
Any surface,
const std::string& name,
bool isTransparent)
-: mPosition(positionSize),
- mTitle(name),
- mRenderNotification(NULL),
- mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24),
- mOwnSurface(false)
+: mPositionSize( positionSize ),
+ mTitle( name ),
+ mRenderNotification( NULL ),
+ mColorDepth( isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24 ),
+ mOwnSurface( false )
{
}
#ifdef DEBUG_ENABLED
// prints out 'INFO: DALI: new EcoreWlRenderSurface, created display xx, used existing surface xx
// we can not use LOG_INFO because the surface can be created before Dali Core is created.
+ // TODO: Overy tizen 3.0, we don't use X anymore. Change this for Tizen 3.0
+ /*
printf( "INFO: DALI: new EcoreWlRenderSurface, %s %s surface %X \n",
mOwnSurface?"created":"used existing",
Dali::RenderSurface::PIXMAP==mType?" pixmap" :"window",
AnyCast<Ecore_X_Drawable>( GetSurface() ) );
+ */
#endif
}
PositionSize EcoreWlRenderSurface::GetPositionSize() const
{
- return mPosition;
+ return mPositionSize;
}
void EcoreWlRenderSurface::MoveResize( Dali::PositionSize positionSize )